Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: client/samples/logo/logo.dart.js

Issue 9226025: New dart.js bootstrap script for apps (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // ********** Library dart:core **************
2 // ********** Natives dart:core **************
3 Object.defineProperty(Object.prototype, '$typeNameOf', { value: function() {
4 if ((typeof(window) != 'undefined' && window.constructor.name == 'DOMWindow')
5 || typeof(process) != 'undefined') { // fast-path for Chrome and Node
6 return this.constructor.name;
7 }
8 var str = Object.prototype.toString.call(this);
9 str = str.substring(8, str.length - 1);
10 if (str == 'Window') {
11 str = 'DOMWindow';
12 } else if (str == 'Document') {
13 str = 'HTMLDocument';
14 }
15 return str;
16 }, enumerable: false, writable: true, configurable: true});
17 function $throw(e) {
18 // If e is not a value, we can use V8's captureStackTrace utility method.
19 // TODO(jmesserly): capture the stack trace on other JS engines.
20 if (e && (typeof e == 'object') && Error.captureStackTrace) {
21 // TODO(jmesserly): this will clobber the e.stack property
22 Error.captureStackTrace(e, $throw);
23 }
24 throw e;
25 }
26 Object.defineProperty(Object.prototype, '$index', { value: function(i) {
27 var proto = Object.getPrototypeOf(this);
28 if (proto !== Object) {
29 proto.$index = function(i) { return this[i]; }
30 }
31 return this[i];
32 }, enumerable: false, writable: true, configurable: true});
33 Object.defineProperty(Array.prototype, '$index', { value: function(i) {
34 return this[i];
35 }, enumerable: false, writable: true, configurable: true});
36 Object.defineProperty(String.prototype, '$index', { value: function(i) {
37 return this[i];
38 }, enumerable: false, writable: true, configurable: true});
39 Object.defineProperty(Object.prototype, '$setindex', { value: function(i, value) {
40 var proto = Object.getPrototypeOf(this);
41 if (proto !== Object) {
42 proto.$setindex = function(i, value) { return this[i] = value; }
43 }
44 return this[i] = value;
45 }, enumerable: false, writable: true, configurable: true});
46 Object.defineProperty(Array.prototype, '$setindex', { value: function(i, value) {
47 return this[i] = value; }, enumerable: false, writable: true,
48 configurable: true});
49 function $wrap_call$1(fn) { return fn; }
50 function $add(x, y) {
51 return ((typeof(x) == 'number' && typeof(y) == 'number') ||
52 (typeof(x) == 'string'))
53 ? x + y : x.$add(y);
54 }
55 function $eq(x, y) {
56 if (x == null) return y == null;
57 return (typeof(x) == 'number' && typeof(y) == 'number') ||
58 (typeof(x) == 'boolean' && typeof(y) == 'boolean') ||
59 (typeof(x) == 'string' && typeof(y) == 'string')
60 ? x == y : x.$eq(y);
61 }
62 // TODO(jimhug): Should this or should it not match equals?
63 Object.defineProperty(Object.prototype, '$eq', { value: function(other) {
64 return this === other;
65 }, enumerable: false, writable: true, configurable: true });
66 function $mod(x, y) {
67 if (typeof(x) == 'number' && typeof(y) == 'number') {
68 var result = x % y;
69 if (result == 0) {
70 return 0; // Make sure we don't return -0.0.
71 } else if (result < 0) {
72 if (y < 0) {
73 return result - y;
74 } else {
75 return result + y;
76 }
77 }
78 return result;
79 } else {
80 return x.$mod(y);
81 }
82 }
83 function $truncdiv(x, y) {
84 if (typeof(x) == 'number' && typeof(y) == 'number') {
85 if (y == 0) $throw(new IntegerDivisionByZeroException());
86 var tmp = x / y;
87 return (tmp < 0) ? Math.ceil(tmp) : Math.floor(tmp);
88 } else {
89 return x.$truncdiv(y);
90 }
91 }
92 Object.defineProperty(Object.prototype, "get$typeName", { value: Object.prototyp e.$typeNameOf, enumerable: false, writable: true, configurable: true});
93 // ********** Code for Object **************
94 Object.defineProperty(Object.prototype, "get$dynamic", { value: function() {
95 "use strict"; return this;
96 }, enumerable: false, writable: true, configurable: true });
97 Object.defineProperty(Object.prototype, "noSuchMethod", { value: function(name, args) {
98 $throw(new NoSuchMethodException(this, name, args));
99 }, enumerable: false, writable: true, configurable: true });
100 Object.defineProperty(Object.prototype, "_asNonSentinelEntry$0", { value: functi on() {
101 return this.noSuchMethod$2("_asNonSentinelEntry", []);
102 }, enumerable: false, writable: true, configurable: true });
103 Object.defineProperty(Object.prototype, "add$1", { value: function($0) {
104 return this.noSuchMethod$2("add", [$0]);
105 }, enumerable: false, writable: true, configurable: true });
106 Object.defineProperty(Object.prototype, "addAll$1", { value: function($0) {
107 return this.noSuchMethod$2("addAll", [$0]);
108 }, enumerable: false, writable: true, configurable: true });
109 Object.defineProperty(Object.prototype, "addEventListener$3", { value: function( $0, $1, $2) {
110 return this.noSuchMethod$2("addEventListener", [$0, $1, $2]);
111 }, enumerable: false, writable: true, configurable: true });
112 Object.defineProperty(Object.prototype, "appendChild$1", { value: function($0) {
113 return this.noSuchMethod$2("appendChild", [$0]);
114 }, enumerable: false, writable: true, configurable: true });
115 Object.defineProperty(Object.prototype, "clear$0", { value: function() {
116 return this.noSuchMethod$2("clear", []);
117 }, enumerable: false, writable: true, configurable: true });
118 Object.defineProperty(Object.prototype, "dup$0", { value: function() {
119 return this.noSuchMethod$2("dup", []);
120 }, enumerable: false, writable: true, configurable: true });
121 Object.defineProperty(Object.prototype, "filter$1", { value: function($0) {
122 return this.noSuchMethod$2("filter", [$0]);
123 }, enumerable: false, writable: true, configurable: true });
124 Object.defineProperty(Object.prototype, "getAttribute$1", { value: function($0) {
125 return this.noSuchMethod$2("getAttribute", [$0]);
126 }, enumerable: false, writable: true, configurable: true });
127 Object.defineProperty(Object.prototype, "getPropertyValue$1", { value: function( $0) {
128 return this.noSuchMethod$2("getPropertyValue", [$0]);
129 }, enumerable: false, writable: true, configurable: true });
130 Object.defineProperty(Object.prototype, "group$1", { value: function($0) {
131 return this.noSuchMethod$2("group", [$0]);
132 }, enumerable: false, writable: true, configurable: true });
133 Object.defineProperty(Object.prototype, "hasAttribute$1", { value: function($0) {
134 return this.noSuchMethod$2("hasAttribute", [$0]);
135 }, enumerable: false, writable: true, configurable: true });
136 Object.defineProperty(Object.prototype, "hasNext$0", { value: function() {
137 return this.noSuchMethod$2("hasNext", []);
138 }, enumerable: false, writable: true, configurable: true });
139 Object.defineProperty(Object.prototype, "hashCode$0", { value: function() {
140 return this.noSuchMethod$2("hashCode", []);
141 }, enumerable: false, writable: true, configurable: true });
142 Object.defineProperty(Object.prototype, "is$html_html_Element", { value: functio n() {
143 return false;
144 }, enumerable: false, writable: true, configurable: true });
145 Object.defineProperty(Object.prototype, "item$1", { value: function($0) {
146 return this.noSuchMethod$2("item", [$0]);
147 }, enumerable: false, writable: true, configurable: true });
148 Object.defineProperty(Object.prototype, "iterator$0", { value: function() {
149 return this.noSuchMethod$2("iterator", []);
150 }, enumerable: false, writable: true, configurable: true });
151 Object.defineProperty(Object.prototype, "next$0", { value: function() {
152 return this.noSuchMethod$2("next", []);
153 }, enumerable: false, writable: true, configurable: true });
154 Object.defineProperty(Object.prototype, "noSuchMethod$2", { value: function($0, $1) {
155 return this.noSuchMethod($0, $1);
156 }, enumerable: false, writable: true, configurable: true });
157 Object.defineProperty(Object.prototype, "putIfAbsent$2", { value: function($0, $ 1) {
158 return this.noSuchMethod$2("putIfAbsent", [$0, $1]);
159 }, enumerable: false, writable: true, configurable: true });
160 Object.defineProperty(Object.prototype, "querySelector$1", { value: function($0) {
161 return this.noSuchMethod$2("querySelector", [$0]);
162 }, enumerable: false, writable: true, configurable: true });
163 Object.defineProperty(Object.prototype, "querySelectorAll$1", { value: function( $0) {
164 return this.noSuchMethod$2("querySelectorAll", [$0]);
165 }, enumerable: false, writable: true, configurable: true });
166 Object.defineProperty(Object.prototype, "removeAttribute$1", { value: function($ 0) {
167 return this.noSuchMethod$2("removeAttribute", [$0]);
168 }, enumerable: false, writable: true, configurable: true });
169 Object.defineProperty(Object.prototype, "replaceChild$2", { value: function($0, $1) {
170 return this.noSuchMethod$2("replaceChild", [$0, $1]);
171 }, enumerable: false, writable: true, configurable: true });
172 Object.defineProperty(Object.prototype, "setAttribute$2", { value: function($0, $1) {
173 return this.noSuchMethod$2("setAttribute", [$0, $1]);
174 }, enumerable: false, writable: true, configurable: true });
175 Object.defineProperty(Object.prototype, "setProperty$2", { value: function($0, $ 1) {
176 return this.noSuchMethod$2("setProperty", [$0, $1]);
177 }, enumerable: false, writable: true, configurable: true });
178 Object.defineProperty(Object.prototype, "setProperty$3", { value: function($0, $ 1, $2) {
179 return this.noSuchMethod$2("setProperty", [$0, $1, $2]);
180 }, enumerable: false, writable: true, configurable: true });
181 Object.defineProperty(Object.prototype, "toLowerCase$0", { value: function() {
182 return this.noSuchMethod$2("toLowerCase", []);
183 }, enumerable: false, writable: true, configurable: true });
184 Object.defineProperty(Object.prototype, "toString$0", { value: function() {
185 return this.toString();
186 }, enumerable: false, writable: true, configurable: true });
187 // ********** Code for IllegalAccessException **************
188 function IllegalAccessException() {
189
190 }
191 IllegalAccessException.prototype.toString = function() {
192 return "Attempt to modify an immutable object";
193 }
194 IllegalAccessException.prototype.toString$0 = IllegalAccessException.prototype.t oString;
195 // ********** Code for NoSuchMethodException **************
196 function NoSuchMethodException(_receiver, _functionName, _arguments) {
197 this._receiver = _receiver;
198 this._functionName = _functionName;
199 this._arguments = _arguments;
200 }
201 NoSuchMethodException.prototype.toString = function() {
202 var sb = new StringBufferImpl("");
203 for (var i = (0);
204 i < this._arguments.get$length(); i++) {
205 if (i > (0)) {
206 sb.add(", ");
207 }
208 sb.add(this._arguments.$index(i));
209 }
210 sb.add("]");
211 return ("NoSuchMethodException - receiver: '" + this._receiver + "' ") + ("fun ction name: '" + this._functionName + "' arguments: [" + sb + "]");
212 }
213 NoSuchMethodException.prototype.toString$0 = NoSuchMethodException.prototype.toS tring;
214 // ********** Code for ClosureArgumentMismatchException **************
215 function ClosureArgumentMismatchException() {
216
217 }
218 ClosureArgumentMismatchException.prototype.toString = function() {
219 return "Closure argument mismatch";
220 }
221 ClosureArgumentMismatchException.prototype.toString$0 = ClosureArgumentMismatchE xception.prototype.toString;
222 // ********** Code for ObjectNotClosureException **************
223 function ObjectNotClosureException() {
224
225 }
226 ObjectNotClosureException.prototype.toString = function() {
227 return "Object is not closure";
228 }
229 ObjectNotClosureException.prototype.toString$0 = ObjectNotClosureException.proto type.toString;
230 // ********** Code for IllegalArgumentException **************
231 function IllegalArgumentException(args) {
232 this._args = args;
233 }
234 IllegalArgumentException.prototype.toString = function() {
235 return ("Illegal argument(s): " + this._args);
236 }
237 IllegalArgumentException.prototype.toString$0 = IllegalArgumentException.prototy pe.toString;
238 // ********** Code for StackOverflowException **************
239 function StackOverflowException() {
240
241 }
242 StackOverflowException.prototype.toString = function() {
243 return "Stack Overflow";
244 }
245 StackOverflowException.prototype.toString$0 = StackOverflowException.prototype.t oString;
246 // ********** Code for BadNumberFormatException **************
247 function BadNumberFormatException(_s) {
248 this._s = _s;
249 }
250 BadNumberFormatException.prototype.toString = function() {
251 return ("BadNumberFormatException: '" + this._s + "'");
252 }
253 BadNumberFormatException.prototype.toString$0 = BadNumberFormatException.prototy pe.toString;
254 // ********** Code for NullPointerException **************
255 function NullPointerException() {
256
257 }
258 NullPointerException.prototype.toString = function() {
259 return "NullPointerException";
260 }
261 NullPointerException.prototype.toString$0 = NullPointerException.prototype.toStr ing;
262 // ********** Code for NoMoreElementsException **************
263 function NoMoreElementsException() {
264
265 }
266 NoMoreElementsException.prototype.toString = function() {
267 return "NoMoreElementsException";
268 }
269 NoMoreElementsException.prototype.toString$0 = NoMoreElementsException.prototype .toString;
270 // ********** Code for EmptyQueueException **************
271 function EmptyQueueException() {
272
273 }
274 EmptyQueueException.prototype.toString = function() {
275 return "EmptyQueueException";
276 }
277 EmptyQueueException.prototype.toString$0 = EmptyQueueException.prototype.toStrin g;
278 // ********** Code for UnsupportedOperationException **************
279 function UnsupportedOperationException(_message) {
280 this._message = _message;
281 }
282 UnsupportedOperationException.prototype.toString = function() {
283 return ("UnsupportedOperationException: " + this._message);
284 }
285 UnsupportedOperationException.prototype.toString$0 = UnsupportedOperationExcepti on.prototype.toString;
286 // ********** Code for dart_core_Function **************
287 Function.prototype.to$call$0 = function() {
288 this.call$0 = this._genStub(0);
289 this.to$call$0 = function() { return this.call$0; };
290 return this.call$0;
291 };
292 Function.prototype.call$0 = function() {
293 return this.to$call$0()();
294 };
295 function to$call$0(f) { return f && f.to$call$0(); }
296 Function.prototype.to$call$1 = function() {
297 this.call$1 = this._genStub(1);
298 this.to$call$1 = function() { return this.call$1; };
299 return this.call$1;
300 };
301 Function.prototype.call$1 = function($0) {
302 return this.to$call$1()($0);
303 };
304 function to$call$1(f) { return f && f.to$call$1(); }
305 Function.prototype.to$call$2 = function() {
306 this.call$2 = this._genStub(2);
307 this.to$call$2 = function() { return this.call$2; };
308 return this.call$2;
309 };
310 Function.prototype.call$2 = function($0, $1) {
311 return this.to$call$2()($0, $1);
312 };
313 function to$call$2(f) { return f && f.to$call$2(); }
314 // ********** Code for Math **************
315 Math.parseInt = function(str) {
316 var ret = parseInt(str);
317 if (isNaN(ret)) $throw(new BadNumberFormatException(str));
318 return ret;
319 }
320 Math.min = function(a, b) {
321 if (a == b) return a;
322 if (a < b) {
323 if (isNaN(b)) return b;
324 else return a;
325 }
326 if (isNaN(a)) return a;
327 else return b;
328 }
329 Math.max = function(a, b) {
330 return (a >= b) ? a : b;
331 }
332 // ********** Code for Strings **************
333 function Strings() {}
334 Strings.join = function(strings, separator) {
335 return StringBase.join(strings, separator);
336 }
337 // ********** Code for top level **************
338 function _toDartException(e) {
339 function attachStack(dartEx) {
340 // TODO(jmesserly): setting the stack property is not a long term solution.
341 var stack = e.stack;
342 // The stack contains the error message, and the stack is all that is
343 // printed (the exception's toString() is never called). Make the Dart
344 // exception's toString() be the dominant message.
345 if (typeof stack == 'string') {
346 var message = dartEx.toString();
347 if (/^(Type|Range)Error:/.test(stack)) {
348 // Indent JS message (it can be helpful) so new message stands out.
349 stack = ' (' + stack.substring(0, stack.indexOf('\n')) + ')\n' +
350 stack.substring(stack.indexOf('\n') + 1);
351 }
352 stack = message + '\n' + stack;
353 }
354 dartEx.stack = stack;
355 return dartEx;
356 }
357
358 if (e instanceof TypeError) {
359 switch(e.type) {
360 case 'property_not_function':
361 case 'called_non_callable':
362 if (e.arguments[0] == null) {
363 return attachStack(new NullPointerException());
364 } else {
365 return attachStack(new ObjectNotClosureException());
366 }
367 break;
368 case 'non_object_property_call':
369 case 'non_object_property_load':
370 return attachStack(new NullPointerException());
371 break;
372 case 'undefined_method':
373 var mname = e.arguments[0];
374 if (typeof(mname) == 'string' && (mname.indexOf('call$') == 0
375 || mname == 'call' || mname == 'apply')) {
376 return attachStack(new ObjectNotClosureException());
377 } else {
378 // TODO(jmesserly): fix noSuchMethod on operators so we don't hit this
379 return attachStack(new NoSuchMethodException('', e.arguments[0], []));
380 }
381 break;
382 }
383 } else if (e instanceof RangeError) {
384 if (e.message.indexOf('call stack') >= 0) {
385 return attachStack(new StackOverflowException());
386 }
387 }
388 return e;
389 }
390 // ********** Library dart:coreimpl **************
391 // ********** Code for ListFactory **************
392 ListFactory = Array;
393 ListFactory.ListFactory$from$factory = function(other) {
394 var list = [];
395 for (var $$i = other.iterator$0(); $$i.hasNext$0(); ) {
396 var e = $$i.next$0();
397 list.add$1(e);
398 }
399 return list;
400 }
401 Object.defineProperty(ListFactory.prototype, "get$length", { value: function() { return this.length; }, enumerable: false, writable: true, configurable: true }) ;
402 Object.defineProperty(ListFactory.prototype, "set$length", { value: function(val ue) { return this.length = value; }, enumerable: false, writable: true, configur able: true });
403 Object.defineProperty(ListFactory.prototype, "add", { value: function(value) {
404 this.push(value);
405 }, enumerable: false, writable: true, configurable: true });
406 Object.defineProperty(ListFactory.prototype, "addAll", { value: function(collect ion) {
407 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
408 var item = $$i.next$0();
409 this.add(item);
410 }
411 }, enumerable: false, writable: true, configurable: true });
412 Object.defineProperty(ListFactory.prototype, "clear", { value: function() {
413 this.set$length((0));
414 }, enumerable: false, writable: true, configurable: true });
415 Object.defineProperty(ListFactory.prototype, "get$clear", { value: function() {
416 return this.clear.bind(this);
417 }, enumerable: false, writable: true, configurable: true });
418 Object.defineProperty(ListFactory.prototype, "iterator", { value: function() {
419 return new ListIterator(this);
420 }, enumerable: false, writable: true, configurable: true });
421 Object.defineProperty(ListFactory.prototype, "add$1", { value: ListFactory.proto type.add, enumerable: false, writable: true, configurable: true });
422 Object.defineProperty(ListFactory.prototype, "addAll$1", { value: ListFactory.pr ototype.addAll, enumerable: false, writable: true, configurable: true });
423 Object.defineProperty(ListFactory.prototype, "clear$0", { value: ListFactory.pro totype.clear, enumerable: false, writable: true, configurable: true });
424 Object.defineProperty(ListFactory.prototype, "filter$1", { value: function($0) {
425 return this.filter(to$call$1($0));
426 }, enumerable: false, writable: true, configurable: true });
427 Object.defineProperty(ListFactory.prototype, "iterator$0", { value: ListFactory. prototype.iterator, enumerable: false, writable: true, configurable: true });
428 ListFactory_E = ListFactory;
429 ListFactory_dart_core_String = ListFactory;
430 ListFactory_V = ListFactory;
431 ListFactory__EventListenerWrapper = ListFactory;
432 ListFactory_int = ListFactory;
433 // ********** Code for ListIterator **************
434 function ListIterator(array) {
435 this._array = array;
436 this._pos = (0);
437 }
438 ListIterator.prototype.hasNext = function() {
439 return this._array.get$length() > this._pos;
440 }
441 ListIterator.prototype.next = function() {
442 if (!this.hasNext()) {
443 $throw(const$0005);
444 }
445 return this._array.$index(this._pos++);
446 }
447 ListIterator.prototype.hasNext$0 = ListIterator.prototype.hasNext;
448 ListIterator.prototype.next$0 = ListIterator.prototype.next;
449 // ********** Code for ImmutableMap **************
450 function ImmutableMap(keyValuePairs) {
451 this._internal = _map(keyValuePairs);
452 }
453 ImmutableMap.prototype.$index = function(key) {
454 return this._internal.$index(key);
455 }
456 ImmutableMap.prototype.get$length = function() {
457 return this._internal.get$length();
458 }
459 ImmutableMap.prototype.containsKey = function(key) {
460 return this._internal.containsKey(key);
461 }
462 ImmutableMap.prototype.$setindex = function(key, value) {
463 $throw(const$0002);
464 }
465 ImmutableMap.prototype.putIfAbsent = function(key, ifAbsent) {
466 $throw(const$0002);
467 }
468 ImmutableMap.prototype.clear = function() {
469 $throw(const$0002);
470 }
471 ImmutableMap.prototype.get$clear = function() {
472 return this.clear.bind(this);
473 }
474 ImmutableMap.prototype.clear$0 = ImmutableMap.prototype.clear;
475 ImmutableMap.prototype.putIfAbsent$2 = function($0, $1) {
476 return this.putIfAbsent($0, to$call$0($1));
477 };
478 // ********** Code for JSSyntaxRegExp **************
479 function JSSyntaxRegExp(pattern, multiLine, ignoreCase) {
480 JSSyntaxRegExp._create$ctor.call(this, pattern, ($eq(multiLine, true) ? "m" : "") + ($eq(ignoreCase, true) ? "i" : ""));
481 }
482 JSSyntaxRegExp._create$ctor = function(pattern, flags) {
483 this.re = new RegExp(pattern, flags);
484 this.pattern = pattern;
485 this.multiLine = this.re.multiline;
486 this.ignoreCase = this.re.ignoreCase;
487 }
488 JSSyntaxRegExp._create$ctor.prototype = JSSyntaxRegExp.prototype;
489 JSSyntaxRegExp.prototype.firstMatch = function(str) {
490 var m = this._exec(str);
491 return m == null ? null : new MatchImplementation(this.pattern, str, this._mat chStart(m), this.get$_lastIndex(), m);
492 }
493 JSSyntaxRegExp.prototype._exec = function(str) {
494 return this.re.exec(str);
495 }
496 JSSyntaxRegExp.prototype._matchStart = function(m) {
497 return m.index;
498 }
499 JSSyntaxRegExp.prototype.get$_lastIndex = function() {
500 return this.re.lastIndex;
501 }
502 // ********** Code for MatchImplementation **************
503 function MatchImplementation(pattern, str, _start, _end, _groups) {
504 this.str = str;
505 this._start = _start;
506 this._groups = _groups;
507 this.pattern = pattern;
508 this._end = _end;
509 }
510 MatchImplementation.prototype.group = function(group) {
511 return this._groups.$index(group);
512 }
513 MatchImplementation.prototype.$index = function(group) {
514 return this._groups.$index(group);
515 }
516 MatchImplementation.prototype.group$1 = MatchImplementation.prototype.group;
517 // ********** Code for NumImplementation **************
518 NumImplementation = Number;
519 NumImplementation.prototype.round = function() {
520 'use strict'; return Math.round(this);
521 }
522 NumImplementation.prototype.hashCode = function() {
523 'use strict'; return this & 0x1FFFFFFF;
524 }
525 NumImplementation.prototype.toInt = function() {
526 'use strict';
527 if (isNaN(this)) $throw(new BadNumberFormatException("NaN"));
528 if ((this == Infinity) || (this == -Infinity)) {
529 $throw(new BadNumberFormatException("Infinity"));
530 }
531 var truncated = (this < 0) ? Math.ceil(this) : Math.floor(this);
532 if (truncated == -0.0) return 0;
533 return truncated;
534 }
535 NumImplementation.prototype.toRadixString = function(radix) {
536 'use strict'; return this.toString(radix)
537 }
538 NumImplementation.prototype.hashCode$0 = NumImplementation.prototype.hashCode;
539 // ********** Code for HashMapImplementation **************
540 function HashMapImplementation() {
541 this._numberOfEntries = (0);
542 this._numberOfDeleted = (0);
543 this._loadLimit = HashMapImplementation._computeLoadLimit((8));
544 this._keys = new Array((8));
545 this._values = new Array((8));
546 }
547 HashMapImplementation._computeLoadLimit = function(capacity) {
548 return $truncdiv((capacity * (3)), (4));
549 }
550 HashMapImplementation._firstProbe = function(hashCode, length) {
551 return hashCode & (length - (1));
552 }
553 HashMapImplementation._nextProbe = function(currentProbe, numberOfProbes, length ) {
554 return (currentProbe + numberOfProbes) & (length - (1));
555 }
556 HashMapImplementation.prototype._probeForAdding = function(key) {
557 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
558 var numberOfProbes = (1);
559 var initialHash = hash;
560 var insertionIndex = (-1);
561 while (true) {
562 var existingKey = this._keys.$index(hash);
563 if (existingKey == null) {
564 if (insertionIndex < (0)) return hash;
565 return insertionIndex;
566 }
567 else if ($eq(existingKey, key)) {
568 return hash;
569 }
570 else if ((insertionIndex < (0)) && (const$0000 == existingKey)) {
571 insertionIndex = hash;
572 }
573 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
574 }
575 }
576 HashMapImplementation.prototype._probeForLookup = function(key) {
577 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
578 var numberOfProbes = (1);
579 var initialHash = hash;
580 while (true) {
581 var existingKey = this._keys.$index(hash);
582 if (existingKey == null) return (-1);
583 if ($eq(existingKey, key)) return hash;
584 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
585 }
586 }
587 HashMapImplementation.prototype._ensureCapacity = function() {
588 var newNumberOfEntries = this._numberOfEntries + (1);
589 if (newNumberOfEntries >= this._loadLimit) {
590 this._grow(this._keys.get$length() * (2));
591 return;
592 }
593 var capacity = this._keys.get$length();
594 var numberOfFreeOrDeleted = capacity - newNumberOfEntries;
595 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted;
596 if (this._numberOfDeleted > numberOfFree) {
597 this._grow(this._keys.get$length());
598 }
599 }
600 HashMapImplementation._isPowerOfTwo = function(x) {
601 return ((x & (x - (1))) == (0));
602 }
603 HashMapImplementation.prototype._grow = function(newCapacity) {
604 var capacity = this._keys.get$length();
605 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity);
606 var oldKeys = this._keys;
607 var oldValues = this._values;
608 this._keys = new Array(newCapacity);
609 this._values = new Array(newCapacity);
610 for (var i = (0);
611 i < capacity; i++) {
612 var key = oldKeys.$index(i);
613 if (key == null || key == const$0000) {
614 continue;
615 }
616 var value = oldValues.$index(i);
617 var newIndex = this._probeForAdding(key);
618 this._keys.$setindex(newIndex, key);
619 this._values.$setindex(newIndex, value);
620 }
621 this._numberOfDeleted = (0);
622 }
623 HashMapImplementation.prototype.clear = function() {
624 this._numberOfEntries = (0);
625 this._numberOfDeleted = (0);
626 var length = this._keys.get$length();
627 for (var i = (0);
628 i < length; i++) {
629 this._keys.$setindex(i);
630 this._values.$setindex(i);
631 }
632 }
633 HashMapImplementation.prototype.get$clear = function() {
634 return this.clear.bind(this);
635 }
636 HashMapImplementation.prototype.$setindex = function(key, value) {
637 this._ensureCapacity();
638 var index = this._probeForAdding(key);
639 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0 000)) {
640 this._numberOfEntries++;
641 }
642 this._keys.$setindex(index, key);
643 this._values.$setindex(index, value);
644 }
645 HashMapImplementation.prototype.$index = function(key) {
646 var index = this._probeForLookup(key);
647 if (index < (0)) return null;
648 return this._values.$index(index);
649 }
650 HashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) {
651 var index = this._probeForLookup(key);
652 if (index >= (0)) return this._values.$index(index);
653 var value = ifAbsent.call$0();
654 this.$setindex(key, value);
655 return value;
656 }
657 HashMapImplementation.prototype.get$length = function() {
658 return this._numberOfEntries;
659 }
660 HashMapImplementation.prototype.forEach = function(f) {
661 var length = this._keys.get$length();
662 for (var i = (0);
663 i < length; i++) {
664 var key = this._keys.$index(i);
665 if ((key != null) && (key != const$0000)) {
666 f.call$2(key, this._values.$index(i));
667 }
668 }
669 }
670 HashMapImplementation.prototype.containsKey = function(key) {
671 return (this._probeForLookup(key) != (-1));
672 }
673 HashMapImplementation.prototype.clear$0 = HashMapImplementation.prototype.clear;
674 HashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) {
675 return this.putIfAbsent($0, to$call$0($1));
676 };
677 // ********** Code for HashMapImplementation_E$E **************
678 /** Implements extends for Dart classes on JavaScript prototypes. */
679 function $inherits(child, parent) {
680 if (child.prototype.__proto__) {
681 child.prototype.__proto__ = parent.prototype;
682 } else {
683 function tmp() {};
684 tmp.prototype = parent.prototype;
685 child.prototype = new tmp();
686 child.prototype.constructor = child;
687 }
688 }
689 $inherits(HashMapImplementation_E$E, HashMapImplementation);
690 function HashMapImplementation_E$E() {
691 this._numberOfEntries = (0);
692 this._numberOfDeleted = (0);
693 this._loadLimit = HashMapImplementation._computeLoadLimit((8));
694 this._keys = new Array((8));
695 this._values = new Array((8));
696 }
697 HashMapImplementation_E$E._computeLoadLimit = function(capacity) {
698 return $truncdiv((capacity * (3)), (4));
699 }
700 HashMapImplementation_E$E._firstProbe = function(hashCode, length) {
701 return hashCode & (length - (1));
702 }
703 HashMapImplementation_E$E._nextProbe = function(currentProbe, numberOfProbes, le ngth) {
704 return (currentProbe + numberOfProbes) & (length - (1));
705 }
706 HashMapImplementation_E$E.prototype._probeForAdding = function(key) {
707 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
708 var numberOfProbes = (1);
709 var initialHash = hash;
710 var insertionIndex = (-1);
711 while (true) {
712 var existingKey = this._keys.$index(hash);
713 if (existingKey == null) {
714 if (insertionIndex < (0)) return hash;
715 return insertionIndex;
716 }
717 else if ($eq(existingKey, key)) {
718 return hash;
719 }
720 else if ((insertionIndex < (0)) && (const$0000 == existingKey)) {
721 insertionIndex = hash;
722 }
723 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
724 }
725 }
726 HashMapImplementation_E$E.prototype._ensureCapacity = function() {
727 var newNumberOfEntries = this._numberOfEntries + (1);
728 if (newNumberOfEntries >= this._loadLimit) {
729 this._grow(this._keys.get$length() * (2));
730 return;
731 }
732 var capacity = this._keys.get$length();
733 var numberOfFreeOrDeleted = capacity - newNumberOfEntries;
734 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted;
735 if (this._numberOfDeleted > numberOfFree) {
736 this._grow(this._keys.get$length());
737 }
738 }
739 HashMapImplementation_E$E._isPowerOfTwo = function(x) {
740 return ((x & (x - (1))) == (0));
741 }
742 HashMapImplementation_E$E.prototype._grow = function(newCapacity) {
743 var capacity = this._keys.get$length();
744 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity);
745 var oldKeys = this._keys;
746 var oldValues = this._values;
747 this._keys = new Array(newCapacity);
748 this._values = new Array(newCapacity);
749 for (var i = (0);
750 i < capacity; i++) {
751 var key = oldKeys.$index(i);
752 if (key == null || key == const$0000) {
753 continue;
754 }
755 var value = oldValues.$index(i);
756 var newIndex = this._probeForAdding(key);
757 this._keys.$setindex(newIndex, key);
758 this._values.$setindex(newIndex, value);
759 }
760 this._numberOfDeleted = (0);
761 }
762 HashMapImplementation_E$E.prototype.clear = function() {
763 this._numberOfEntries = (0);
764 this._numberOfDeleted = (0);
765 var length = this._keys.get$length();
766 for (var i = (0);
767 i < length; i++) {
768 this._keys.$setindex(i);
769 this._values.$setindex(i);
770 }
771 }
772 HashMapImplementation_E$E.prototype.$setindex = function(key, value) {
773 this._ensureCapacity();
774 var index = this._probeForAdding(key);
775 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0 000)) {
776 this._numberOfEntries++;
777 }
778 this._keys.$setindex(index, key);
779 this._values.$setindex(index, value);
780 }
781 HashMapImplementation_E$E.prototype.forEach = function(f) {
782 var length = this._keys.get$length();
783 for (var i = (0);
784 i < length; i++) {
785 var key = this._keys.$index(i);
786 if ((key != null) && (key != const$0000)) {
787 f.call$2(key, this._values.$index(i));
788 }
789 }
790 }
791 // ********** Code for HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePa ir_K$V **************
792 $inherits(HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V, HashM apImplementation);
793 function HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V() {}
794 // ********** Code for HashSetImplementation **************
795 function HashSetImplementation() {
796 this._backingMap = new HashMapImplementation_E$E();
797 }
798 HashSetImplementation.prototype.clear = function() {
799 this._backingMap.clear();
800 }
801 HashSetImplementation.prototype.get$clear = function() {
802 return this.clear.bind(this);
803 }
804 HashSetImplementation.prototype.add = function(value) {
805 this._backingMap.$setindex(value, value);
806 }
807 HashSetImplementation.prototype.addAll = function(collection) {
808 var $this = this; // closure support
809 collection.forEach(function _(value) {
810 $this.add(value);
811 }
812 );
813 }
814 HashSetImplementation.prototype.forEach = function(f) {
815 this._backingMap.forEach(function _(key, value) {
816 f.call$1(key);
817 }
818 );
819 }
820 HashSetImplementation.prototype.filter = function(f) {
821 var result = new HashSetImplementation();
822 this._backingMap.forEach(function _(key, value) {
823 if (f.call$1(key)) result.add(key);
824 }
825 );
826 return result;
827 }
828 HashSetImplementation.prototype.get$length = function() {
829 return this._backingMap.get$length();
830 }
831 HashSetImplementation.prototype.iterator = function() {
832 return new HashSetIterator_E(this);
833 }
834 HashSetImplementation.prototype.add$1 = HashSetImplementation.prototype.add;
835 HashSetImplementation.prototype.addAll$1 = HashSetImplementation.prototype.addAl l;
836 HashSetImplementation.prototype.clear$0 = HashSetImplementation.prototype.clear;
837 HashSetImplementation.prototype.filter$1 = function($0) {
838 return this.filter(to$call$1($0));
839 };
840 HashSetImplementation.prototype.iterator$0 = HashSetImplementation.prototype.ite rator;
841 // ********** Code for HashSetImplementation_E **************
842 $inherits(HashSetImplementation_E, HashSetImplementation);
843 function HashSetImplementation_E() {}
844 // ********** Code for HashSetImplementation_dart_core_String **************
845 $inherits(HashSetImplementation_dart_core_String, HashSetImplementation);
846 function HashSetImplementation_dart_core_String() {}
847 // ********** Code for HashSetIterator **************
848 function HashSetIterator(set_) {
849 this._entries = set_._backingMap._keys;
850 this._nextValidIndex = (-1);
851 this._advance();
852 }
853 HashSetIterator.prototype.hasNext = function() {
854 if (this._nextValidIndex >= this._entries.get$length()) return false;
855 if (this._entries.$index(this._nextValidIndex) == const$0000) {
856 this._advance();
857 }
858 return this._nextValidIndex < this._entries.get$length();
859 }
860 HashSetIterator.prototype.next = function() {
861 if (!this.hasNext()) {
862 $throw(const$0005);
863 }
864 var res = this._entries.$index(this._nextValidIndex);
865 this._advance();
866 return res;
867 }
868 HashSetIterator.prototype._advance = function() {
869 var length = this._entries.get$length();
870 var entry;
871 var deletedKey = const$0000;
872 do {
873 if (++this._nextValidIndex >= length) break;
874 entry = this._entries.$index(this._nextValidIndex);
875 }
876 while ((entry == null) || (entry == deletedKey))
877 }
878 HashSetIterator.prototype.hasNext$0 = HashSetIterator.prototype.hasNext;
879 HashSetIterator.prototype.next$0 = HashSetIterator.prototype.next;
880 // ********** Code for HashSetIterator_E **************
881 $inherits(HashSetIterator_E, HashSetIterator);
882 function HashSetIterator_E(set_) {
883 this._nextValidIndex = (-1);
884 this._entries = set_._backingMap._keys;
885 this._advance();
886 }
887 HashSetIterator_E.prototype._advance = function() {
888 var length = this._entries.get$length();
889 var entry;
890 var deletedKey = const$0000;
891 do {
892 if (++this._nextValidIndex >= length) break;
893 entry = this._entries.$index(this._nextValidIndex);
894 }
895 while ((entry == null) || (entry == deletedKey))
896 }
897 // ********** Code for _DeletedKeySentinel **************
898 function _DeletedKeySentinel() {
899
900 }
901 // ********** Code for KeyValuePair **************
902 function KeyValuePair(key, value) {
903 this.value = value;
904 this.key = key;
905 }
906 KeyValuePair.prototype.get$value = function() { return this.value; };
907 KeyValuePair.prototype.set$value = function(value) { return this.value = value; };
908 // ********** Code for KeyValuePair_K$V **************
909 $inherits(KeyValuePair_K$V, KeyValuePair);
910 function KeyValuePair_K$V(key, value) {
911 this.key = key;
912 this.value = value;
913 }
914 // ********** Code for LinkedHashMapImplementation **************
915 function LinkedHashMapImplementation() {
916 this._map = new HashMapImplementation();
917 this._list = new DoubleLinkedQueue_KeyValuePair_K$V();
918 }
919 LinkedHashMapImplementation.prototype.$setindex = function(key, value) {
920 if (this._map.containsKey(key)) {
921 this._map.$index(key).get$element().set$value(value);
922 }
923 else {
924 this._list.addLast(new KeyValuePair_K$V(key, value));
925 this._map.$setindex(key, this._list.lastEntry());
926 }
927 }
928 LinkedHashMapImplementation.prototype.$index = function(key) {
929 var entry = this._map.$index(key);
930 if (entry == null) return null;
931 return entry.get$element().get$value();
932 }
933 LinkedHashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) {
934 var value = this.$index(key);
935 if ((this.$index(key) == null) && !(this.containsKey(key))) {
936 value = ifAbsent.call$0();
937 this.$setindex(key, value);
938 }
939 return value;
940 }
941 LinkedHashMapImplementation.prototype.containsKey = function(key) {
942 return this._map.containsKey(key);
943 }
944 LinkedHashMapImplementation.prototype.get$length = function() {
945 return this._map.get$length();
946 }
947 LinkedHashMapImplementation.prototype.clear = function() {
948 this._map.clear();
949 this._list.clear();
950 }
951 LinkedHashMapImplementation.prototype.get$clear = function() {
952 return this.clear.bind(this);
953 }
954 LinkedHashMapImplementation.prototype.clear$0 = LinkedHashMapImplementation.prot otype.clear;
955 LinkedHashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) {
956 return this.putIfAbsent($0, to$call$0($1));
957 };
958 // ********** Code for DoubleLinkedQueueEntry **************
959 function DoubleLinkedQueueEntry(e) {
960 this._element = e;
961 }
962 DoubleLinkedQueueEntry.prototype._link = function(p, n) {
963 this._next = n;
964 this._previous = p;
965 p._next = this;
966 n._previous = this;
967 }
968 DoubleLinkedQueueEntry.prototype.prepend = function(e) {
969 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this);
970 }
971 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry = function() {
972 return this;
973 }
974 DoubleLinkedQueueEntry.prototype.previousEntry = function() {
975 return this._previous._asNonSentinelEntry();
976 }
977 DoubleLinkedQueueEntry.prototype.get$element = function() {
978 return this._element;
979 }
980 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry$0 = DoubleLinkedQueueEntry. prototype._asNonSentinelEntry;
981 // ********** Code for DoubleLinkedQueueEntry_E **************
982 $inherits(DoubleLinkedQueueEntry_E, DoubleLinkedQueueEntry);
983 function DoubleLinkedQueueEntry_E(e) {
984 this._element = e;
985 }
986 DoubleLinkedQueueEntry_E.prototype._link = function(p, n) {
987 this._next = n;
988 this._previous = p;
989 p._next = this;
990 n._previous = this;
991 }
992 DoubleLinkedQueueEntry_E.prototype.prepend = function(e) {
993 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this);
994 }
995 DoubleLinkedQueueEntry_E.prototype._asNonSentinelEntry = function() {
996 return this;
997 }
998 DoubleLinkedQueueEntry_E.prototype.previousEntry = function() {
999 return this._previous._asNonSentinelEntry();
1000 }
1001 // ********** Code for DoubleLinkedQueueEntry_KeyValuePair_K$V **************
1002 $inherits(DoubleLinkedQueueEntry_KeyValuePair_K$V, DoubleLinkedQueueEntry);
1003 function DoubleLinkedQueueEntry_KeyValuePair_K$V(e) {
1004 this._element = e;
1005 }
1006 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._link = function(p, n) {
1007 this._next = n;
1008 this._previous = p;
1009 p._next = this;
1010 n._previous = this;
1011 }
1012 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.prepend = function(e) {
1013 new DoubleLinkedQueueEntry_KeyValuePair_K$V(e)._link(this._previous, this);
1014 }
1015 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._asNonSentinelEntry = function () {
1016 return this;
1017 }
1018 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.previousEntry = function() {
1019 return this._previous._asNonSentinelEntry$0();
1020 }
1021 // ********** Code for _DoubleLinkedQueueEntrySentinel **************
1022 $inherits(_DoubleLinkedQueueEntrySentinel, DoubleLinkedQueueEntry_E);
1023 function _DoubleLinkedQueueEntrySentinel() {
1024 DoubleLinkedQueueEntry_E.call(this, null);
1025 this._link(this, this);
1026 }
1027 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry = function() {
1028 return null;
1029 }
1030 _DoubleLinkedQueueEntrySentinel.prototype.get$element = function() {
1031 $throw(const$0003);
1032 }
1033 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry$0 = _DoubleLinkedQ ueueEntrySentinel.prototype._asNonSentinelEntry;
1034 // ********** Code for _DoubleLinkedQueueEntrySentinel_E **************
1035 $inherits(_DoubleLinkedQueueEntrySentinel_E, _DoubleLinkedQueueEntrySentinel);
1036 function _DoubleLinkedQueueEntrySentinel_E() {
1037 DoubleLinkedQueueEntry_E.call(this, null);
1038 this._link(this, this);
1039 }
1040 // ********** Code for _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V ******** ******
1041 $inherits(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, _DoubleLinkedQueueEn trySentinel);
1042 function _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V() {
1043 DoubleLinkedQueueEntry_KeyValuePair_K$V.call(this, null);
1044 this._link(this, this);
1045 }
1046 // ********** Code for DoubleLinkedQueue **************
1047 function DoubleLinkedQueue() {
1048 this._sentinel = new _DoubleLinkedQueueEntrySentinel_E();
1049 }
1050 DoubleLinkedQueue.prototype.addLast = function(value) {
1051 this._sentinel.prepend(value);
1052 }
1053 DoubleLinkedQueue.prototype.add = function(value) {
1054 this.addLast(value);
1055 }
1056 DoubleLinkedQueue.prototype.addAll = function(collection) {
1057 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
1058 var e = $$i.next$0();
1059 this.add(e);
1060 }
1061 }
1062 DoubleLinkedQueue.prototype.first = function() {
1063 return this._sentinel._next.get$element();
1064 }
1065 DoubleLinkedQueue.prototype.get$first = function() {
1066 return this.first.bind(this);
1067 }
1068 DoubleLinkedQueue.prototype.lastEntry = function() {
1069 return this._sentinel.previousEntry();
1070 }
1071 DoubleLinkedQueue.prototype.get$length = function() {
1072 var counter = (0);
1073 this.forEach(function _(element) {
1074 counter++;
1075 }
1076 );
1077 return counter;
1078 }
1079 DoubleLinkedQueue.prototype.clear = function() {
1080 this._sentinel._next = this._sentinel;
1081 this._sentinel._previous = this._sentinel;
1082 }
1083 DoubleLinkedQueue.prototype.get$clear = function() {
1084 return this.clear.bind(this);
1085 }
1086 DoubleLinkedQueue.prototype.forEach = function(f) {
1087 var entry = this._sentinel._next;
1088 while (entry != this._sentinel) {
1089 var nextEntry = entry._next;
1090 f.call$1(entry._element);
1091 entry = nextEntry;
1092 }
1093 }
1094 DoubleLinkedQueue.prototype.filter = function(f) {
1095 var other = new DoubleLinkedQueue();
1096 var entry = this._sentinel._next;
1097 while (entry != this._sentinel) {
1098 var nextEntry = entry._next;
1099 if (f.call$1(entry._element)) other.addLast(entry._element);
1100 entry = nextEntry;
1101 }
1102 return other;
1103 }
1104 DoubleLinkedQueue.prototype.iterator = function() {
1105 return new _DoubleLinkedQueueIterator_E(this._sentinel);
1106 }
1107 DoubleLinkedQueue.prototype.add$1 = DoubleLinkedQueue.prototype.add;
1108 DoubleLinkedQueue.prototype.addAll$1 = DoubleLinkedQueue.prototype.addAll;
1109 DoubleLinkedQueue.prototype.clear$0 = DoubleLinkedQueue.prototype.clear;
1110 DoubleLinkedQueue.prototype.filter$1 = function($0) {
1111 return this.filter(to$call$1($0));
1112 };
1113 DoubleLinkedQueue.prototype.iterator$0 = DoubleLinkedQueue.prototype.iterator;
1114 // ********** Code for DoubleLinkedQueue_E **************
1115 $inherits(DoubleLinkedQueue_E, DoubleLinkedQueue);
1116 function DoubleLinkedQueue_E() {}
1117 // ********** Code for DoubleLinkedQueue_KeyValuePair_K$V **************
1118 $inherits(DoubleLinkedQueue_KeyValuePair_K$V, DoubleLinkedQueue);
1119 function DoubleLinkedQueue_KeyValuePair_K$V() {
1120 this._sentinel = new _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V();
1121 }
1122 DoubleLinkedQueue_KeyValuePair_K$V.prototype.addLast = function(value) {
1123 this._sentinel.prepend(value);
1124 }
1125 DoubleLinkedQueue_KeyValuePair_K$V.prototype.lastEntry = function() {
1126 return this._sentinel.previousEntry();
1127 }
1128 DoubleLinkedQueue_KeyValuePair_K$V.prototype.clear = function() {
1129 this._sentinel._next = this._sentinel;
1130 this._sentinel._previous = this._sentinel;
1131 }
1132 // ********** Code for _DoubleLinkedQueueIterator **************
1133 function _DoubleLinkedQueueIterator(_sentinel) {
1134 this._sentinel = _sentinel;
1135 this._currentEntry = this._sentinel;
1136 }
1137 _DoubleLinkedQueueIterator.prototype.hasNext = function() {
1138 return this._currentEntry._next != this._sentinel;
1139 }
1140 _DoubleLinkedQueueIterator.prototype.next = function() {
1141 if (!this.hasNext()) {
1142 $throw(const$0005);
1143 }
1144 this._currentEntry = this._currentEntry._next;
1145 return this._currentEntry.get$element();
1146 }
1147 _DoubleLinkedQueueIterator.prototype.hasNext$0 = _DoubleLinkedQueueIterator.prot otype.hasNext;
1148 _DoubleLinkedQueueIterator.prototype.next$0 = _DoubleLinkedQueueIterator.prototy pe.next;
1149 // ********** Code for _DoubleLinkedQueueIterator_E **************
1150 $inherits(_DoubleLinkedQueueIterator_E, _DoubleLinkedQueueIterator);
1151 function _DoubleLinkedQueueIterator_E(_sentinel) {
1152 this._sentinel = _sentinel;
1153 this._currentEntry = this._sentinel;
1154 }
1155 // ********** Code for StringBufferImpl **************
1156 function StringBufferImpl(content) {
1157 this.clear();
1158 this.add(content);
1159 }
1160 StringBufferImpl.prototype.get$length = function() {
1161 return this._length;
1162 }
1163 StringBufferImpl.prototype.add = function(obj) {
1164 var str = obj.toString$0();
1165 if (str == null || str.isEmpty()) return this;
1166 this._buffer.add$1(str);
1167 this._length = this._length + str.length;
1168 return this;
1169 }
1170 StringBufferImpl.prototype.addAll = function(objects) {
1171 for (var $$i = objects.iterator$0(); $$i.hasNext$0(); ) {
1172 var obj = $$i.next$0();
1173 this.add(obj);
1174 }
1175 return this;
1176 }
1177 StringBufferImpl.prototype.clear = function() {
1178 this._buffer = new Array();
1179 this._length = (0);
1180 return this;
1181 }
1182 StringBufferImpl.prototype.get$clear = function() {
1183 return this.clear.bind(this);
1184 }
1185 StringBufferImpl.prototype.toString = function() {
1186 if (this._buffer.get$length() == (0)) return "";
1187 if (this._buffer.get$length() == (1)) return this._buffer.$index((0));
1188 var result = StringBase.concatAll(this._buffer);
1189 this._buffer.clear$0();
1190 this._buffer.add$1(result);
1191 return result;
1192 }
1193 StringBufferImpl.prototype.add$1 = StringBufferImpl.prototype.add;
1194 StringBufferImpl.prototype.addAll$1 = StringBufferImpl.prototype.addAll;
1195 StringBufferImpl.prototype.clear$0 = StringBufferImpl.prototype.clear;
1196 StringBufferImpl.prototype.toString$0 = StringBufferImpl.prototype.toString;
1197 // ********** Code for StringBase **************
1198 function StringBase() {}
1199 StringBase.join = function(strings, separator) {
1200 if (strings.get$length() == (0)) return "";
1201 var s = strings.$index((0));
1202 for (var i = (1);
1203 i < strings.get$length(); i++) {
1204 s = s + separator + strings.$index(i);
1205 }
1206 return s;
1207 }
1208 StringBase.concatAll = function(strings) {
1209 return StringBase.join(strings, "");
1210 }
1211 // ********** Code for StringImplementation **************
1212 StringImplementation = String;
1213 StringImplementation.prototype.get$length = function() { return this.length; };
1214 StringImplementation.prototype.isEmpty = function() {
1215 return this.length == (0);
1216 }
1217 StringImplementation.prototype.contains = function(pattern, startIndex) {
1218 'use strict'; return this.indexOf(pattern, startIndex) >= 0;
1219 }
1220 StringImplementation.prototype.charCodes = function() {
1221 var len = this.length;
1222 var result = new Array(len);
1223 for (var i = (0);
1224 i < len; i++) {
1225 result.$setindex(i, this.charCodeAt(i));
1226 }
1227 return result;
1228 }
1229 StringImplementation.prototype.hashCode = function() {
1230 'use strict';
1231 var hash = 0;
1232 for (var i = 0; i < this.length; i++) {
1233 hash = 0x1fffffff & (hash + this.charCodeAt(i));
1234 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
1235 hash ^= hash >> 6;
1236 }
1237
1238 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
1239 hash ^= hash >> 11;
1240 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
1241 }
1242 StringImplementation.prototype.hashCode$0 = StringImplementation.prototype.hashC ode;
1243 StringImplementation.prototype.toLowerCase$0 = StringImplementation.prototype.to LowerCase;
1244 // ********** Code for _Worker **************
1245 function $dynamic(name) {
1246 var f = Object.prototype[name];
1247 if (f && f.methods) return f.methods;
1248
1249 var methods = {};
1250 if (f) methods.Object = f;
1251 function $dynamicBind() {
1252 // Find the target method
1253 var obj = this;
1254 var tag = obj.$typeNameOf();
1255 var method = methods[tag];
1256 if (!method) {
1257 var table = $dynamicMetadata;
1258 for (var i = 0; i < table.length; i++) {
1259 var entry = table[i];
1260 if (entry.map.hasOwnProperty(tag)) {
1261 method = methods[entry.tag];
1262 if (method) break;
1263 }
1264 }
1265 }
1266 method = method || methods.Object;
1267 var proto = Object.getPrototypeOf(obj);
1268 if (!proto.hasOwnProperty(name)) {
1269 Object.defineProperty(proto, name,
1270 { value: method, enumerable: false, writable: true,
1271 configurable: true });
1272 }
1273
1274 return method.apply(this, Array.prototype.slice.call(arguments));
1275 };
1276 $dynamicBind.methods = methods;
1277 Object.defineProperty(Object.prototype, name, { value: $dynamicBind,
1278 enumerable: false, writable: true, configurable: true});
1279 return methods;
1280 }
1281 if (typeof $dynamicMetadata == 'undefined') $dynamicMetadata = [];
1282
1283 function $dynamicSetMetadata(inputTable) {
1284 // TODO: Deal with light isolates.
1285 var table = [];
1286 for (var i = 0; i < inputTable.length; i++) {
1287 var tag = inputTable[i][0];
1288 var tags = inputTable[i][1];
1289 var map = {};
1290 var tagNames = tags.split('|');
1291 for (var j = 0; j < tagNames.length; j++) {
1292 map[tagNames[j]] = true;
1293 }
1294 table.push({tag: tag, tags: tags, map: map});
1295 }
1296 $dynamicMetadata = table;
1297 }
1298 $dynamic("get$id").Worker = function() {
1299 return this.id;
1300 }
1301 // ********** Code for _ArgumentMismatchException **************
1302 $inherits(_ArgumentMismatchException, ClosureArgumentMismatchException);
1303 function _ArgumentMismatchException(_message) {
1304 this._dart_coreimpl_message = _message;
1305 ClosureArgumentMismatchException.call(this);
1306 }
1307 _ArgumentMismatchException.prototype.toString = function() {
1308 return ("Closure argument mismatch: " + this._dart_coreimpl_message);
1309 }
1310 _ArgumentMismatchException.prototype.toString$0 = _ArgumentMismatchException.pro totype.toString;
1311 // ********** Code for _FunctionImplementation **************
1312 _FunctionImplementation = Function;
1313 _FunctionImplementation.prototype._genStub = function(argsLength, names) {
1314 // Fast path #1: if no named arguments and arg count matches
1315 if (this.length == argsLength && !names) {
1316 return this;
1317 }
1318
1319 var paramsNamed = this.$optional ? (this.$optional.length / 2) : 0;
1320 var paramsBare = this.length - paramsNamed;
1321 var argsNamed = names ? names.length : 0;
1322 var argsBare = argsLength - argsNamed;
1323
1324 // Check we got the right number of arguments
1325 if (argsBare < paramsBare || argsLength > this.length ||
1326 argsNamed > paramsNamed) {
1327 return function() {
1328 $throw(new _ArgumentMismatchException(
1329 'Wrong number of arguments to function. Expected ' + paramsBare +
1330 ' positional arguments and at most ' + paramsNamed +
1331 ' named arguments, but got ' + argsBare +
1332 ' positional arguments and ' + argsNamed + ' named arguments.'));
1333 };
1334 }
1335
1336 // First, fill in all of the default values
1337 var p = new Array(paramsBare);
1338 if (paramsNamed) {
1339 p = p.concat(this.$optional.slice(paramsNamed));
1340 }
1341 // Fill in positional args
1342 var a = new Array(argsLength);
1343 for (var i = 0; i < argsBare; i++) {
1344 p[i] = a[i] = '$' + i;
1345 }
1346 // Then overwrite with supplied values for optional args
1347 var lastParameterIndex;
1348 var namesInOrder = true;
1349 for (var i = 0; i < argsNamed; i++) {
1350 var name = names[i];
1351 a[i + argsBare] = name;
1352 var j = this.$optional.indexOf(name);
1353 if (j < 0 || j >= paramsNamed) {
1354 return function() {
1355 $throw(new _ArgumentMismatchException(
1356 'Named argument "' + name + '" was not expected by function.' +
1357 ' Did you forget to mark the function parameter [optional]?'));
1358 };
1359 } else if (lastParameterIndex && lastParameterIndex > j) {
1360 namesInOrder = false;
1361 }
1362 p[j + paramsBare] = name;
1363 lastParameterIndex = j;
1364 }
1365
1366 if (this.length == argsLength && namesInOrder) {
1367 // Fast path #2: named arguments, but they're in order and all supplied.
1368 return this;
1369 }
1370
1371 // Note: using Function instead of 'eval' to get a clean scope.
1372 // TODO(jmesserly): evaluate the performance of these stubs.
1373 var f = 'function(' + a.join(',') + '){return $f(' + p.join(',') + ');}';
1374 return new Function('$f', 'return ' + f + '').call(null, this);
1375
1376 }
1377 // ********** Code for top level **************
1378 function _map(itemsAndKeys) {
1379 var ret = new LinkedHashMapImplementation();
1380 for (var i = (0);
1381 i < itemsAndKeys.get$length(); ) {
1382 ret.$setindex(itemsAndKeys.$index(i++), itemsAndKeys.$index(i++));
1383 }
1384 return ret;
1385 }
1386 function _constMap(itemsAndKeys) {
1387 return new ImmutableMap(itemsAndKeys);
1388 }
1389 // ********** Library dom **************
1390 // ********** Code for Window **************
1391 // ********** Code for AbstractWorker **************
1392 $dynamic("get$dartObjectLocalStorage").AbstractWorker = function() { return this .dartObjectLocalStorage; };
1393 $dynamic("set$dartObjectLocalStorage").AbstractWorker = function(value) { return this.dartObjectLocalStorage = value; };
1394 $dynamic("addEventListener$3").AbstractWorker = function($0, $1, $2) {
1395 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1396 };
1397 // ********** Code for ArrayBuffer **************
1398 $dynamic("get$dartObjectLocalStorage").ArrayBuffer = function() { return this.da rtObjectLocalStorage; };
1399 $dynamic("set$dartObjectLocalStorage").ArrayBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
1400 // ********** Code for ArrayBufferView **************
1401 $dynamic("get$dartObjectLocalStorage").ArrayBufferView = function() { return thi s.dartObjectLocalStorage; };
1402 $dynamic("set$dartObjectLocalStorage").ArrayBufferView = function(value) { retur n this.dartObjectLocalStorage = value; };
1403 // ********** Code for dom_Attr **************
1404 $dynamic("get$name").Attr = function() { return this.name; };
1405 $dynamic("set$name").Attr = function(value) { return this.name = value; };
1406 $dynamic("get$value").Attr = function() { return this.value; };
1407 $dynamic("set$value").Attr = function(value) { return this.value = value; };
1408 // ********** Code for AudioBuffer **************
1409 $dynamic("get$length").AudioBuffer = function() { return this.length; };
1410 $dynamic("set$length").AudioBuffer = function(value) { return this.length = valu e; };
1411 $dynamic("get$dartObjectLocalStorage").AudioBuffer = function() { return this.da rtObjectLocalStorage; };
1412 $dynamic("set$dartObjectLocalStorage").AudioBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
1413 // ********** Code for AudioBufferSourceNode **************
1414 // ********** Code for AudioChannelMerger **************
1415 // ********** Code for AudioChannelSplitter **************
1416 // ********** Code for AudioContext **************
1417 $dynamic("get$dartObjectLocalStorage").AudioContext = function() { return this.d artObjectLocalStorage; };
1418 $dynamic("set$dartObjectLocalStorage").AudioContext = function(value) { return t his.dartObjectLocalStorage = value; };
1419 // ********** Code for AudioDestinationNode **************
1420 // ********** Code for AudioGain **************
1421 // ********** Code for AudioGainNode **************
1422 // ********** Code for AudioListener **************
1423 $dynamic("get$dartObjectLocalStorage").AudioListener = function() { return this. dartObjectLocalStorage; };
1424 $dynamic("set$dartObjectLocalStorage").AudioListener = function(value) { return this.dartObjectLocalStorage = value; };
1425 // ********** Code for AudioNode **************
1426 $dynamic("get$dartObjectLocalStorage").AudioNode = function() { return this.dart ObjectLocalStorage; };
1427 $dynamic("set$dartObjectLocalStorage").AudioNode = function(value) { return this .dartObjectLocalStorage = value; };
1428 // ********** Code for AudioPannerNode **************
1429 // ********** Code for AudioParam **************
1430 $dynamic("get$name").AudioParam = function() { return this.name; };
1431 $dynamic("set$name").AudioParam = function(value) { return this.name = value; };
1432 $dynamic("get$value").AudioParam = function() { return this.value; };
1433 $dynamic("set$value").AudioParam = function(value) { return this.value = value; };
1434 $dynamic("get$dartObjectLocalStorage").AudioParam = function() { return this.dar tObjectLocalStorage; };
1435 $dynamic("set$dartObjectLocalStorage").AudioParam = function(value) { return thi s.dartObjectLocalStorage = value; };
1436 // ********** Code for AudioProcessingEvent **************
1437 // ********** Code for AudioSourceNode **************
1438 // ********** Code for BarInfo **************
1439 $dynamic("get$dartObjectLocalStorage").BarInfo = function() { return this.dartOb jectLocalStorage; };
1440 $dynamic("set$dartObjectLocalStorage").BarInfo = function(value) { return this.d artObjectLocalStorage = value; };
1441 // ********** Code for BeforeLoadEvent **************
1442 // ********** Code for BiquadFilterNode **************
1443 // ********** Code for Blob **************
1444 $dynamic("get$dartObjectLocalStorage").Blob = function() { return this.dartObjec tLocalStorage; };
1445 $dynamic("set$dartObjectLocalStorage").Blob = function(value) { return this.dart ObjectLocalStorage = value; };
1446 // ********** Code for CDATASection **************
1447 // ********** Code for CSSCharsetRule **************
1448 // ********** Code for CSSFontFaceRule **************
1449 $dynamic("get$style").CSSFontFaceRule = function() { return this.style; };
1450 $dynamic("set$style").CSSFontFaceRule = function(value) { return this.style = va lue; };
1451 // ********** Code for CSSImportRule **************
1452 // ********** Code for CSSMediaRule **************
1453 // ********** Code for CSSPageRule **************
1454 $dynamic("get$style").CSSPageRule = function() { return this.style; };
1455 $dynamic("set$style").CSSPageRule = function(value) { return this.style = value; };
1456 // ********** Code for CSSPrimitiveValue **************
1457 // ********** Code for CSSRule **************
1458 $dynamic("get$dartObjectLocalStorage").CSSRule = function() { return this.dartOb jectLocalStorage; };
1459 $dynamic("set$dartObjectLocalStorage").CSSRule = function(value) { return this.d artObjectLocalStorage = value; };
1460 // ********** Code for CSSRuleList **************
1461 $dynamic("get$length").CSSRuleList = function() { return this.length; };
1462 $dynamic("set$length").CSSRuleList = function(value) { return this.length = valu e; };
1463 $dynamic("get$dartObjectLocalStorage").CSSRuleList = function() { return this.da rtObjectLocalStorage; };
1464 $dynamic("set$dartObjectLocalStorage").CSSRuleList = function(value) { return th is.dartObjectLocalStorage = value; };
1465 $dynamic("item$1").CSSRuleList = function($0) {
1466 return this.item($0);
1467 };
1468 // ********** Code for CSSStyleDeclaration **************
1469 $dynamic("get$length").CSSStyleDeclaration = function() { return this.length; };
1470 $dynamic("set$length").CSSStyleDeclaration = function(value) { return this.lengt h = value; };
1471 $dynamic("get$dartObjectLocalStorage").CSSStyleDeclaration = function() { return this.dartObjectLocalStorage; };
1472 $dynamic("set$dartObjectLocalStorage").CSSStyleDeclaration = function(value) { r eturn this.dartObjectLocalStorage = value; };
1473 $dynamic("getPropertyValue$1").CSSStyleDeclaration = function($0) {
1474 return this.getPropertyValue($0);
1475 };
1476 $dynamic("item$1").CSSStyleDeclaration = function($0) {
1477 return this.item($0);
1478 };
1479 $dynamic("setProperty$2").CSSStyleDeclaration = function($0, $1) {
1480 return this.setProperty($0, $1);
1481 };
1482 $dynamic("setProperty$3").CSSStyleDeclaration = function($0, $1, $2) {
1483 return this.setProperty($0, $1, $2);
1484 };
1485 // ********** Code for CSSStyleRule **************
1486 $dynamic("get$style").CSSStyleRule = function() { return this.style; };
1487 $dynamic("set$style").CSSStyleRule = function(value) { return this.style = value ; };
1488 // ********** Code for CSSStyleSheet **************
1489 // ********** Code for CSSUnknownRule **************
1490 // ********** Code for CSSValue **************
1491 $dynamic("get$dartObjectLocalStorage").CSSValue = function() { return this.dartO bjectLocalStorage; };
1492 $dynamic("set$dartObjectLocalStorage").CSSValue = function(value) { return this. dartObjectLocalStorage = value; };
1493 // ********** Code for CSSValueList **************
1494 $dynamic("get$length").CSSValueList = function() { return this.length; };
1495 $dynamic("set$length").CSSValueList = function(value) { return this.length = val ue; };
1496 $dynamic("item$1").CSSValueList = function($0) {
1497 return this.item($0);
1498 };
1499 // ********** Code for CanvasGradient **************
1500 $dynamic("get$dartObjectLocalStorage").CanvasGradient = function() { return this .dartObjectLocalStorage; };
1501 $dynamic("set$dartObjectLocalStorage").CanvasGradient = function(value) { return this.dartObjectLocalStorage = value; };
1502 // ********** Code for CanvasPattern **************
1503 $dynamic("get$dartObjectLocalStorage").CanvasPattern = function() { return this. dartObjectLocalStorage; };
1504 $dynamic("set$dartObjectLocalStorage").CanvasPattern = function(value) { return this.dartObjectLocalStorage = value; };
1505 // ********** Code for CanvasPixelArray **************
1506 $dynamic("get$length").CanvasPixelArray = function() { return this.length; };
1507 $dynamic("set$length").CanvasPixelArray = function(value) { return this.length = value; };
1508 $dynamic("get$dartObjectLocalStorage").CanvasPixelArray = function() { return th is.dartObjectLocalStorage; };
1509 $dynamic("set$dartObjectLocalStorage").CanvasPixelArray = function(value) { retu rn this.dartObjectLocalStorage = value; };
1510 // ********** Code for CanvasRenderingContext **************
1511 $dynamic("get$dartObjectLocalStorage").CanvasRenderingContext = function() { ret urn this.dartObjectLocalStorage; };
1512 $dynamic("set$dartObjectLocalStorage").CanvasRenderingContext = function(value) { return this.dartObjectLocalStorage = value; };
1513 // ********** Code for CanvasRenderingContext2D **************
1514 // ********** Code for CharacterData **************
1515 $dynamic("get$length").CharacterData = function() { return this.length; };
1516 $dynamic("set$length").CharacterData = function(value) { return this.length = va lue; };
1517 // ********** Code for ClientRect **************
1518 $dynamic("get$dartObjectLocalStorage").ClientRect = function() { return this.dar tObjectLocalStorage; };
1519 $dynamic("set$dartObjectLocalStorage").ClientRect = function(value) { return thi s.dartObjectLocalStorage = value; };
1520 // ********** Code for ClientRectList **************
1521 $dynamic("get$length").ClientRectList = function() { return this.length; };
1522 $dynamic("set$length").ClientRectList = function(value) { return this.length = v alue; };
1523 $dynamic("get$dartObjectLocalStorage").ClientRectList = function() { return this .dartObjectLocalStorage; };
1524 $dynamic("set$dartObjectLocalStorage").ClientRectList = function(value) { return this.dartObjectLocalStorage = value; };
1525 $dynamic("item$1").ClientRectList = function($0) {
1526 return this.item($0);
1527 };
1528 // ********** Code for Clipboard **************
1529 $dynamic("get$dartObjectLocalStorage").Clipboard = function() { return this.dart ObjectLocalStorage; };
1530 $dynamic("set$dartObjectLocalStorage").Clipboard = function(value) { return this .dartObjectLocalStorage = value; };
1531 // ********** Code for CloseEvent **************
1532 // ********** Code for Comment **************
1533 // ********** Code for CompositionEvent **************
1534 // ********** Code for Console **************
1535 Console = (typeof console == 'undefined' ? {} : console);
1536 Console.get$dartObjectLocalStorage = function() { return this.dartObjectLocalSto rage; };
1537 Console.set$dartObjectLocalStorage = function(value) { return this.dartObjectLoc alStorage = value; };
1538 // ********** Code for ConvolverNode **************
1539 // ********** Code for Coordinates **************
1540 $dynamic("get$dartObjectLocalStorage").Coordinates = function() { return this.da rtObjectLocalStorage; };
1541 $dynamic("set$dartObjectLocalStorage").Coordinates = function(value) { return th is.dartObjectLocalStorage = value; };
1542 // ********** Code for Counter **************
1543 $dynamic("get$dartObjectLocalStorage").Counter = function() { return this.dartOb jectLocalStorage; };
1544 $dynamic("set$dartObjectLocalStorage").Counter = function(value) { return this.d artObjectLocalStorage = value; };
1545 // ********** Code for Crypto **************
1546 $dynamic("get$dartObjectLocalStorage").Crypto = function() { return this.dartObj ectLocalStorage; };
1547 $dynamic("set$dartObjectLocalStorage").Crypto = function(value) { return this.da rtObjectLocalStorage = value; };
1548 // ********** Code for CustomEvent **************
1549 // ********** Code for DOMApplicationCache **************
1550 $dynamic("get$dartObjectLocalStorage").DOMApplicationCache = function() { return this.dartObjectLocalStorage; };
1551 $dynamic("set$dartObjectLocalStorage").DOMApplicationCache = function(value) { r eturn this.dartObjectLocalStorage = value; };
1552 $dynamic("addEventListener$3").DOMApplicationCache = function($0, $1, $2) {
1553 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1554 };
1555 // ********** Code for DOMException **************
1556 $dynamic("get$name").DOMException = function() { return this.name; };
1557 $dynamic("set$name").DOMException = function(value) { return this.name = value; };
1558 $dynamic("get$dartObjectLocalStorage").DOMException = function() { return this.d artObjectLocalStorage; };
1559 $dynamic("set$dartObjectLocalStorage").DOMException = function(value) { return t his.dartObjectLocalStorage = value; };
1560 $dynamic("toString$0").DOMException = function() {
1561 return this.toString();
1562 };
1563 // ********** Code for DOMFileSystem **************
1564 $dynamic("get$name").DOMFileSystem = function() { return this.name; };
1565 $dynamic("set$name").DOMFileSystem = function(value) { return this.name = value; };
1566 $dynamic("get$dartObjectLocalStorage").DOMFileSystem = function() { return this. dartObjectLocalStorage; };
1567 $dynamic("set$dartObjectLocalStorage").DOMFileSystem = function(value) { return this.dartObjectLocalStorage = value; };
1568 // ********** Code for DOMFileSystemSync **************
1569 $dynamic("get$name").DOMFileSystemSync = function() { return this.name; };
1570 $dynamic("set$name").DOMFileSystemSync = function(value) { return this.name = va lue; };
1571 $dynamic("get$dartObjectLocalStorage").DOMFileSystemSync = function() { return t his.dartObjectLocalStorage; };
1572 $dynamic("set$dartObjectLocalStorage").DOMFileSystemSync = function(value) { ret urn this.dartObjectLocalStorage = value; };
1573 // ********** Code for DOMFormData **************
1574 $dynamic("get$dartObjectLocalStorage").DOMFormData = function() { return this.da rtObjectLocalStorage; };
1575 $dynamic("set$dartObjectLocalStorage").DOMFormData = function(value) { return th is.dartObjectLocalStorage = value; };
1576 // ********** Code for dom_DOMImplementation **************
1577 $dynamic("get$dartObjectLocalStorage").DOMImplementation = function() { return t his.dartObjectLocalStorage; };
1578 $dynamic("set$dartObjectLocalStorage").DOMImplementation = function(value) { ret urn this.dartObjectLocalStorage = value; };
1579 // ********** Code for DOMMimeType **************
1580 $dynamic("get$dartObjectLocalStorage").DOMMimeType = function() { return this.da rtObjectLocalStorage; };
1581 $dynamic("set$dartObjectLocalStorage").DOMMimeType = function(value) { return th is.dartObjectLocalStorage = value; };
1582 // ********** Code for DOMMimeTypeArray **************
1583 $dynamic("get$length").DOMMimeTypeArray = function() { return this.length; };
1584 $dynamic("set$length").DOMMimeTypeArray = function(value) { return this.length = value; };
1585 $dynamic("get$dartObjectLocalStorage").DOMMimeTypeArray = function() { return th is.dartObjectLocalStorage; };
1586 $dynamic("set$dartObjectLocalStorage").DOMMimeTypeArray = function(value) { retu rn this.dartObjectLocalStorage = value; };
1587 $dynamic("item$1").DOMMimeTypeArray = function($0) {
1588 return this.item($0);
1589 };
1590 // ********** Code for DOMParser **************
1591 $dynamic("get$dartObjectLocalStorage").DOMParser = function() { return this.dart ObjectLocalStorage; };
1592 $dynamic("set$dartObjectLocalStorage").DOMParser = function(value) { return this .dartObjectLocalStorage = value; };
1593 // ********** Code for DOMPlugin **************
1594 $dynamic("get$length").DOMPlugin = function() { return this.length; };
1595 $dynamic("set$length").DOMPlugin = function(value) { return this.length = value; };
1596 $dynamic("get$name").DOMPlugin = function() { return this.name; };
1597 $dynamic("set$name").DOMPlugin = function(value) { return this.name = value; };
1598 $dynamic("get$dartObjectLocalStorage").DOMPlugin = function() { return this.dart ObjectLocalStorage; };
1599 $dynamic("set$dartObjectLocalStorage").DOMPlugin = function(value) { return this .dartObjectLocalStorage = value; };
1600 $dynamic("item$1").DOMPlugin = function($0) {
1601 return this.item($0);
1602 };
1603 // ********** Code for DOMPluginArray **************
1604 $dynamic("get$length").DOMPluginArray = function() { return this.length; };
1605 $dynamic("set$length").DOMPluginArray = function(value) { return this.length = v alue; };
1606 $dynamic("get$dartObjectLocalStorage").DOMPluginArray = function() { return this .dartObjectLocalStorage; };
1607 $dynamic("set$dartObjectLocalStorage").DOMPluginArray = function(value) { return this.dartObjectLocalStorage = value; };
1608 $dynamic("item$1").DOMPluginArray = function($0) {
1609 return this.item($0);
1610 };
1611 // ********** Code for DOMSelection **************
1612 $dynamic("get$dartObjectLocalStorage").DOMSelection = function() { return this.d artObjectLocalStorage; };
1613 $dynamic("set$dartObjectLocalStorage").DOMSelection = function(value) { return t his.dartObjectLocalStorage = value; };
1614 $dynamic("toString$0").DOMSelection = function() {
1615 return this.toString();
1616 };
1617 // ********** Code for DOMSettableTokenList **************
1618 $dynamic("get$value").DOMSettableTokenList = function() { return this.value; };
1619 $dynamic("set$value").DOMSettableTokenList = function(value) { return this.value = value; };
1620 // ********** Code for DOMTokenList **************
1621 $dynamic("get$length").DOMTokenList = function() { return this.length; };
1622 $dynamic("set$length").DOMTokenList = function(value) { return this.length = val ue; };
1623 $dynamic("get$dartObjectLocalStorage").DOMTokenList = function() { return this.d artObjectLocalStorage; };
1624 $dynamic("set$dartObjectLocalStorage").DOMTokenList = function(value) { return t his.dartObjectLocalStorage = value; };
1625 $dynamic("add$1").DOMTokenList = function($0) {
1626 return this.add($0);
1627 };
1628 $dynamic("item$1").DOMTokenList = function($0) {
1629 return this.item($0);
1630 };
1631 $dynamic("toString$0").DOMTokenList = function() {
1632 return this.toString();
1633 };
1634 // ********** Code for DOMURL **************
1635 $dynamic("get$dartObjectLocalStorage").DOMURL = function() { return this.dartObj ectLocalStorage; };
1636 $dynamic("set$dartObjectLocalStorage").DOMURL = function(value) { return this.da rtObjectLocalStorage = value; };
1637 // ********** Code for dom_DOMWindow **************
1638 $dynamic("get$length").DOMWindow = function() { return this.length; };
1639 $dynamic("set$length").DOMWindow = function(value) { return this.length = value; };
1640 $dynamic("get$name").DOMWindow = function() { return this.name; };
1641 $dynamic("set$name").DOMWindow = function(value) { return this.name = value; };
1642 $dynamic("get$dartObjectLocalStorage").DOMWindow = function() { return this.dart ObjectLocalStorage; };
1643 $dynamic("set$dartObjectLocalStorage").DOMWindow = function(value) { return this .dartObjectLocalStorage = value; };
1644 $dynamic("addEventListener$3").DOMWindow = function($0, $1, $2) {
1645 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1646 };
1647 // ********** Code for DataTransferItem **************
1648 $dynamic("get$dartObjectLocalStorage").DataTransferItem = function() { return th is.dartObjectLocalStorage; };
1649 $dynamic("set$dartObjectLocalStorage").DataTransferItem = function(value) { retu rn this.dartObjectLocalStorage = value; };
1650 // ********** Code for DataTransferItemList **************
1651 $dynamic("get$length").DataTransferItemList = function() { return this.length; } ;
1652 $dynamic("set$length").DataTransferItemList = function(value) { return this.leng th = value; };
1653 $dynamic("get$clear").DataTransferItemList = function() {
1654 return this.clear.bind(this);
1655 }
1656 $dynamic("get$dartObjectLocalStorage").DataTransferItemList = function() { retur n this.dartObjectLocalStorage; };
1657 $dynamic("set$dartObjectLocalStorage").DataTransferItemList = function(value) { return this.dartObjectLocalStorage = value; };
1658 $dynamic("clear$0").DataTransferItemList = function() {
1659 return this.clear();
1660 };
1661 $dynamic("item$1").DataTransferItemList = function($0) {
1662 return this.item($0);
1663 };
1664 // ********** Code for DataView **************
1665 // ********** Code for dom_Database **************
1666 $dynamic("get$dartObjectLocalStorage").Database = function() { return this.dartO bjectLocalStorage; };
1667 $dynamic("set$dartObjectLocalStorage").Database = function(value) { return this. dartObjectLocalStorage = value; };
1668 // ********** Code for dom_DatabaseSync **************
1669 $dynamic("get$dartObjectLocalStorage").DatabaseSync = function() { return this.d artObjectLocalStorage; };
1670 $dynamic("set$dartObjectLocalStorage").DatabaseSync = function(value) { return t his.dartObjectLocalStorage = value; };
1671 // ********** Code for dom_DedicatedWorkerContext **************
1672 // ********** Code for DelayNode **************
1673 // ********** Code for DeviceMotionEvent **************
1674 // ********** Code for DeviceOrientationEvent **************
1675 // ********** Code for DirectoryEntry **************
1676 // ********** Code for DirectoryEntrySync **************
1677 // ********** Code for DirectoryReader **************
1678 $dynamic("get$dartObjectLocalStorage").DirectoryReader = function() { return thi s.dartObjectLocalStorage; };
1679 $dynamic("set$dartObjectLocalStorage").DirectoryReader = function(value) { retur n this.dartObjectLocalStorage = value; };
1680 // ********** Code for DirectoryReaderSync **************
1681 $dynamic("get$dartObjectLocalStorage").DirectoryReaderSync = function() { return this.dartObjectLocalStorage; };
1682 $dynamic("set$dartObjectLocalStorage").DirectoryReaderSync = function(value) { r eturn this.dartObjectLocalStorage = value; };
1683 // ********** Code for Document **************
1684 $dynamic("get$documentElement").Document = function() { return this.documentElem ent; };
1685 $dynamic("set$documentElement").Document = function(value) { return this.documen tElement = value; };
1686 $dynamic("querySelector$1").Document = function($0) {
1687 return this.querySelector($0);
1688 };
1689 $dynamic("querySelectorAll$1").Document = function($0) {
1690 return this.querySelectorAll($0);
1691 };
1692 // ********** Code for DocumentFragment **************
1693 $dynamic("querySelector$1").DocumentFragment = function($0) {
1694 return this.querySelector($0);
1695 };
1696 $dynamic("querySelectorAll$1").DocumentFragment = function($0) {
1697 return this.querySelectorAll($0);
1698 };
1699 // ********** Code for dom_DocumentType **************
1700 $dynamic("get$name").DocumentType = function() { return this.name; };
1701 $dynamic("set$name").DocumentType = function(value) { return this.name = value; };
1702 // ********** Code for DynamicsCompressorNode **************
1703 // ********** Code for Element **************
1704 $dynamic("get$firstElementChild").Element = function() { return this.firstElemen tChild; };
1705 $dynamic("set$firstElementChild").Element = function(value) { return this.firstE lementChild = value; };
1706 $dynamic("get$style").Element = function() { return this.style; };
1707 $dynamic("set$style").Element = function(value) { return this.style = value; };
1708 $dynamic("getAttribute$1").Element = function($0) {
1709 return this.getAttribute($0);
1710 };
1711 $dynamic("hasAttribute$1").Element = function($0) {
1712 return this.hasAttribute($0);
1713 };
1714 $dynamic("querySelector$1").Element = function($0) {
1715 return this.querySelector($0);
1716 };
1717 $dynamic("querySelectorAll$1").Element = function($0) {
1718 return this.querySelectorAll($0);
1719 };
1720 $dynamic("removeAttribute$1").Element = function($0) {
1721 return this.removeAttribute($0);
1722 };
1723 $dynamic("setAttribute$2").Element = function($0, $1) {
1724 return this.setAttribute($0, $1);
1725 };
1726 // ********** Code for ElementTimeControl **************
1727 $dynamic("get$dartObjectLocalStorage").ElementTimeControl = function() { return this.dartObjectLocalStorage; };
1728 $dynamic("set$dartObjectLocalStorage").ElementTimeControl = function(value) { re turn this.dartObjectLocalStorage = value; };
1729 // ********** Code for dom_ElementTraversal **************
1730 $dynamic("get$firstElementChild").ElementTraversal = function() { return this.fi rstElementChild; };
1731 $dynamic("set$firstElementChild").ElementTraversal = function(value) { return th is.firstElementChild = value; };
1732 $dynamic("get$dartObjectLocalStorage").ElementTraversal = function() { return th is.dartObjectLocalStorage; };
1733 $dynamic("set$dartObjectLocalStorage").ElementTraversal = function(value) { retu rn this.dartObjectLocalStorage = value; };
1734 // ********** Code for Entity **************
1735 // ********** Code for EntityReference **************
1736 // ********** Code for Entry **************
1737 $dynamic("get$name").Entry = function() { return this.name; };
1738 $dynamic("set$name").Entry = function(value) { return this.name = value; };
1739 $dynamic("get$dartObjectLocalStorage").Entry = function() { return this.dartObje ctLocalStorage; };
1740 $dynamic("set$dartObjectLocalStorage").Entry = function(value) { return this.dar tObjectLocalStorage = value; };
1741 // ********** Code for EntryArray **************
1742 $dynamic("get$length").EntryArray = function() { return this.length; };
1743 $dynamic("set$length").EntryArray = function(value) { return this.length = value ; };
1744 $dynamic("get$dartObjectLocalStorage").EntryArray = function() { return this.dar tObjectLocalStorage; };
1745 $dynamic("set$dartObjectLocalStorage").EntryArray = function(value) { return thi s.dartObjectLocalStorage = value; };
1746 $dynamic("item$1").EntryArray = function($0) {
1747 return this.item($0);
1748 };
1749 // ********** Code for EntryArraySync **************
1750 $dynamic("get$length").EntryArraySync = function() { return this.length; };
1751 $dynamic("set$length").EntryArraySync = function(value) { return this.length = v alue; };
1752 $dynamic("get$dartObjectLocalStorage").EntryArraySync = function() { return this .dartObjectLocalStorage; };
1753 $dynamic("set$dartObjectLocalStorage").EntryArraySync = function(value) { return this.dartObjectLocalStorage = value; };
1754 $dynamic("item$1").EntryArraySync = function($0) {
1755 return this.item($0);
1756 };
1757 // ********** Code for EntrySync **************
1758 $dynamic("get$name").EntrySync = function() { return this.name; };
1759 $dynamic("set$name").EntrySync = function(value) { return this.name = value; };
1760 $dynamic("get$dartObjectLocalStorage").EntrySync = function() { return this.dart ObjectLocalStorage; };
1761 $dynamic("set$dartObjectLocalStorage").EntrySync = function(value) { return this .dartObjectLocalStorage = value; };
1762 // ********** Code for ErrorEvent **************
1763 // ********** Code for Event **************
1764 $dynamic("get$target").Event = function() { return this.target; };
1765 $dynamic("set$target").Event = function(value) { return this.target = value; };
1766 $dynamic("get$dartObjectLocalStorage").Event = function() { return this.dartObje ctLocalStorage; };
1767 $dynamic("set$dartObjectLocalStorage").Event = function(value) { return this.dar tObjectLocalStorage = value; };
1768 // ********** Code for EventException **************
1769 $dynamic("get$name").EventException = function() { return this.name; };
1770 $dynamic("set$name").EventException = function(value) { return this.name = value ; };
1771 $dynamic("get$dartObjectLocalStorage").EventException = function() { return this .dartObjectLocalStorage; };
1772 $dynamic("set$dartObjectLocalStorage").EventException = function(value) { return this.dartObjectLocalStorage = value; };
1773 $dynamic("toString$0").EventException = function() {
1774 return this.toString();
1775 };
1776 // ********** Code for EventSource **************
1777 $dynamic("get$dartObjectLocalStorage").EventSource = function() { return this.da rtObjectLocalStorage; };
1778 $dynamic("set$dartObjectLocalStorage").EventSource = function(value) { return th is.dartObjectLocalStorage = value; };
1779 $dynamic("addEventListener$3").EventSource = function($0, $1, $2) {
1780 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1781 };
1782 // ********** Code for EventTarget **************
1783 $dynamic("get$dartObjectLocalStorage").EventTarget = function() { return this.da rtObjectLocalStorage; };
1784 $dynamic("set$dartObjectLocalStorage").EventTarget = function(value) { return th is.dartObjectLocalStorage = value; };
1785 $dynamic("addEventListener$3").EventTarget = function($0, $1, $2) {
1786 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1787 };
1788 // ********** Code for File **************
1789 $dynamic("get$name").File = function() { return this.name; };
1790 $dynamic("set$name").File = function(value) { return this.name = value; };
1791 // ********** Code for FileEntry **************
1792 // ********** Code for FileEntrySync **************
1793 // ********** Code for FileError **************
1794 $dynamic("get$dartObjectLocalStorage").FileError = function() { return this.dart ObjectLocalStorage; };
1795 $dynamic("set$dartObjectLocalStorage").FileError = function(value) { return this .dartObjectLocalStorage = value; };
1796 // ********** Code for FileException **************
1797 $dynamic("get$name").FileException = function() { return this.name; };
1798 $dynamic("set$name").FileException = function(value) { return this.name = value; };
1799 $dynamic("get$dartObjectLocalStorage").FileException = function() { return this. dartObjectLocalStorage; };
1800 $dynamic("set$dartObjectLocalStorage").FileException = function(value) { return this.dartObjectLocalStorage = value; };
1801 $dynamic("toString$0").FileException = function() {
1802 return this.toString();
1803 };
1804 // ********** Code for FileList **************
1805 $dynamic("get$length").FileList = function() { return this.length; };
1806 $dynamic("set$length").FileList = function(value) { return this.length = value; };
1807 $dynamic("get$dartObjectLocalStorage").FileList = function() { return this.dartO bjectLocalStorage; };
1808 $dynamic("set$dartObjectLocalStorage").FileList = function(value) { return this. dartObjectLocalStorage = value; };
1809 $dynamic("item$1").FileList = function($0) {
1810 return this.item($0);
1811 };
1812 // ********** Code for FileReader **************
1813 $dynamic("get$dartObjectLocalStorage").FileReader = function() { return this.dar tObjectLocalStorage; };
1814 $dynamic("set$dartObjectLocalStorage").FileReader = function(value) { return thi s.dartObjectLocalStorage = value; };
1815 $dynamic("addEventListener$3").FileReader = function($0, $1, $2) {
1816 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1817 };
1818 // ********** Code for FileReaderSync **************
1819 $dynamic("get$dartObjectLocalStorage").FileReaderSync = function() { return this .dartObjectLocalStorage; };
1820 $dynamic("set$dartObjectLocalStorage").FileReaderSync = function(value) { return this.dartObjectLocalStorage = value; };
1821 // ********** Code for FileWriter **************
1822 $dynamic("get$length").FileWriter = function() { return this.length; };
1823 $dynamic("set$length").FileWriter = function(value) { return this.length = value ; };
1824 $dynamic("get$dartObjectLocalStorage").FileWriter = function() { return this.dar tObjectLocalStorage; };
1825 $dynamic("set$dartObjectLocalStorage").FileWriter = function(value) { return thi s.dartObjectLocalStorage = value; };
1826 // ********** Code for FileWriterSync **************
1827 $dynamic("get$length").FileWriterSync = function() { return this.length; };
1828 $dynamic("set$length").FileWriterSync = function(value) { return this.length = v alue; };
1829 $dynamic("get$dartObjectLocalStorage").FileWriterSync = function() { return this .dartObjectLocalStorage; };
1830 $dynamic("set$dartObjectLocalStorage").FileWriterSync = function(value) { return this.dartObjectLocalStorage = value; };
1831 // ********** Code for Float32Array **************
1832 $dynamic("get$length").Float32Array = function() { return this.length; };
1833 $dynamic("set$length").Float32Array = function(value) { return this.length = val ue; };
1834 // ********** Code for Float64Array **************
1835 $dynamic("get$length").Float64Array = function() { return this.length; };
1836 $dynamic("set$length").Float64Array = function(value) { return this.length = val ue; };
1837 // ********** Code for Geolocation **************
1838 $dynamic("get$dartObjectLocalStorage").Geolocation = function() { return this.da rtObjectLocalStorage; };
1839 $dynamic("set$dartObjectLocalStorage").Geolocation = function(value) { return th is.dartObjectLocalStorage = value; };
1840 // ********** Code for Geoposition **************
1841 $dynamic("get$dartObjectLocalStorage").Geoposition = function() { return this.da rtObjectLocalStorage; };
1842 $dynamic("set$dartObjectLocalStorage").Geoposition = function(value) { return th is.dartObjectLocalStorage = value; };
1843 // ********** Code for HTMLAllCollection **************
1844 $dynamic("get$length").HTMLAllCollection = function() { return this.length; };
1845 $dynamic("set$length").HTMLAllCollection = function(value) { return this.length = value; };
1846 $dynamic("get$dartObjectLocalStorage").HTMLAllCollection = function() { return t his.dartObjectLocalStorage; };
1847 $dynamic("set$dartObjectLocalStorage").HTMLAllCollection = function(value) { ret urn this.dartObjectLocalStorage = value; };
1848 $dynamic("item$1").HTMLAllCollection = function($0) {
1849 return this.item($0);
1850 };
1851 // ********** Code for dom_HTMLAnchorElement **************
1852 $dynamic("get$name").HTMLAnchorElement = function() { return this.name; };
1853 $dynamic("set$name").HTMLAnchorElement = function(value) { return this.name = va lue; };
1854 $dynamic("get$target").HTMLAnchorElement = function() { return this.target; };
1855 $dynamic("set$target").HTMLAnchorElement = function(value) { return this.target = value; };
1856 $dynamic("toString$0").HTMLAnchorElement = function() {
1857 return this.toString();
1858 };
1859 // ********** Code for dom_HTMLAppletElement **************
1860 $dynamic("get$name").HTMLAppletElement = function() { return this.name; };
1861 $dynamic("set$name").HTMLAppletElement = function(value) { return this.name = va lue; };
1862 // ********** Code for dom_HTMLAreaElement **************
1863 $dynamic("get$target").HTMLAreaElement = function() { return this.target; };
1864 $dynamic("set$target").HTMLAreaElement = function(value) { return this.target = value; };
1865 // ********** Code for dom_HTMLAudioElement **************
1866 // ********** Code for dom_HTMLBRElement **************
1867 $dynamic("get$clear").HTMLBRElement = function() { return this.clear; };
1868 $dynamic("set$clear").HTMLBRElement = function(value) { return this.clear = valu e; };
1869 $dynamic("clear$0").HTMLBRElement = function() {
1870 return this.clear.call$0();
1871 };
1872 // ********** Code for dom_HTMLBaseElement **************
1873 $dynamic("get$target").HTMLBaseElement = function() { return this.target; };
1874 $dynamic("set$target").HTMLBaseElement = function(value) { return this.target = value; };
1875 // ********** Code for dom_HTMLBaseFontElement **************
1876 // ********** Code for dom_HTMLBodyElement **************
1877 // ********** Code for dom_HTMLButtonElement **************
1878 $dynamic("get$name").HTMLButtonElement = function() { return this.name; };
1879 $dynamic("set$name").HTMLButtonElement = function(value) { return this.name = va lue; };
1880 $dynamic("get$value").HTMLButtonElement = function() { return this.value; };
1881 $dynamic("set$value").HTMLButtonElement = function(value) { return this.value = value; };
1882 // ********** Code for dom_HTMLCanvasElement **************
1883 // ********** Code for dom_HTMLCollection **************
1884 $dynamic("get$length").HTMLCollection = function() { return this.length; };
1885 $dynamic("set$length").HTMLCollection = function(value) { return this.length = v alue; };
1886 $dynamic("$setindex").HTMLCollection = function(index, value) {
1887 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
1888 }
1889 $dynamic("get$dartObjectLocalStorage").HTMLCollection = function() { return this .dartObjectLocalStorage; };
1890 $dynamic("set$dartObjectLocalStorage").HTMLCollection = function(value) { return this.dartObjectLocalStorage = value; };
1891 $dynamic("item$1").HTMLCollection = function($0) {
1892 if (Object.getPrototypeOf(this).hasOwnProperty("item$1")) {
1893 return this.item($0);
1894 }
1895 return Object.prototype.item$1.call(this, $0);
1896 };
1897 // ********** Code for dom_HTMLDListElement **************
1898 // ********** Code for dom_HTMLDataListElement **************
1899 // ********** Code for dom_HTMLDetailsElement **************
1900 // ********** Code for dom_HTMLDirectoryElement **************
1901 // ********** Code for dom_HTMLDivElement **************
1902 // ********** Code for dom_HTMLDocument **************
1903 $dynamic("get$clear").HTMLDocument = function() {
1904 return this.clear.bind(this);
1905 }
1906 $dynamic("clear$0").HTMLDocument = function() {
1907 return this.clear();
1908 };
1909 // ********** Code for dom_HTMLElement **************
1910 $dynamic("get$children").HTMLElement = function() { return this.children; };
1911 $dynamic("set$children").HTMLElement = function(value) { return this.children = value; };
1912 $dynamic("get$className").HTMLElement = function() { return this.className; };
1913 $dynamic("set$className").HTMLElement = function(value) { return this.className = value; };
1914 $dynamic("get$id").HTMLElement = function() { return this.id; };
1915 $dynamic("set$id").HTMLElement = function(value) { return this.id = value; };
1916 $dynamic("get$innerHTML").HTMLElement = function() { return this.innerHTML; };
1917 $dynamic("set$innerHTML").HTMLElement = function(value) { return this.innerHTML = value; };
1918 // ********** Code for dom_HTMLEmbedElement **************
1919 $dynamic("get$name").HTMLEmbedElement = function() { return this.name; };
1920 $dynamic("set$name").HTMLEmbedElement = function(value) { return this.name = val ue; };
1921 // ********** Code for dom_HTMLFieldSetElement **************
1922 // ********** Code for dom_HTMLFontElement **************
1923 // ********** Code for dom_HTMLFormElement **************
1924 $dynamic("get$elements").HTMLFormElement = function() { return this.elements; };
1925 $dynamic("set$elements").HTMLFormElement = function(value) { return this.element s = value; };
1926 $dynamic("get$length").HTMLFormElement = function() { return this.length; };
1927 $dynamic("set$length").HTMLFormElement = function(value) { return this.length = value; };
1928 $dynamic("get$name").HTMLFormElement = function() { return this.name; };
1929 $dynamic("set$name").HTMLFormElement = function(value) { return this.name = valu e; };
1930 $dynamic("get$target").HTMLFormElement = function() { return this.target; };
1931 $dynamic("set$target").HTMLFormElement = function(value) { return this.target = value; };
1932 // ********** Code for dom_HTMLFrameElement **************
1933 $dynamic("get$name").HTMLFrameElement = function() { return this.name; };
1934 $dynamic("set$name").HTMLFrameElement = function(value) { return this.name = val ue; };
1935 // ********** Code for dom_HTMLFrameSetElement **************
1936 // ********** Code for dom_HTMLHRElement **************
1937 // ********** Code for dom_HTMLHeadElement **************
1938 // ********** Code for dom_HTMLHeadingElement **************
1939 // ********** Code for dom_HTMLHtmlElement **************
1940 // ********** Code for dom_HTMLIFrameElement **************
1941 $dynamic("get$name").HTMLIFrameElement = function() { return this.name; };
1942 $dynamic("set$name").HTMLIFrameElement = function(value) { return this.name = va lue; };
1943 // ********** Code for dom_HTMLImageElement **************
1944 $dynamic("get$name").HTMLImageElement = function() { return this.name; };
1945 $dynamic("set$name").HTMLImageElement = function(value) { return this.name = val ue; };
1946 // ********** Code for dom_HTMLInputElement **************
1947 $dynamic("get$checked").HTMLInputElement = function() { return this.checked; };
1948 $dynamic("set$checked").HTMLInputElement = function(value) { return this.checked = value; };
1949 $dynamic("get$name").HTMLInputElement = function() { return this.name; };
1950 $dynamic("set$name").HTMLInputElement = function(value) { return this.name = val ue; };
1951 $dynamic("get$value").HTMLInputElement = function() { return this.value; };
1952 $dynamic("set$value").HTMLInputElement = function(value) { return this.value = v alue; };
1953 // ********** Code for dom_HTMLIsIndexElement **************
1954 // ********** Code for dom_HTMLKeygenElement **************
1955 $dynamic("get$name").HTMLKeygenElement = function() { return this.name; };
1956 $dynamic("set$name").HTMLKeygenElement = function(value) { return this.name = va lue; };
1957 // ********** Code for dom_HTMLLIElement **************
1958 $dynamic("get$value").HTMLLIElement = function() { return this.value; };
1959 $dynamic("set$value").HTMLLIElement = function(value) { return this.value = valu e; };
1960 // ********** Code for dom_HTMLLabelElement **************
1961 // ********** Code for dom_HTMLLegendElement **************
1962 // ********** Code for dom_HTMLLinkElement **************
1963 $dynamic("get$target").HTMLLinkElement = function() { return this.target; };
1964 $dynamic("set$target").HTMLLinkElement = function(value) { return this.target = value; };
1965 // ********** Code for dom_HTMLMapElement **************
1966 $dynamic("get$name").HTMLMapElement = function() { return this.name; };
1967 $dynamic("set$name").HTMLMapElement = function(value) { return this.name = value ; };
1968 // ********** Code for dom_HTMLMarqueeElement **************
1969 // ********** Code for dom_HTMLMediaElement **************
1970 // ********** Code for dom_HTMLMenuElement **************
1971 // ********** Code for dom_HTMLMetaElement **************
1972 $dynamic("get$name").HTMLMetaElement = function() { return this.name; };
1973 $dynamic("set$name").HTMLMetaElement = function(value) { return this.name = valu e; };
1974 // ********** Code for dom_HTMLMeterElement **************
1975 $dynamic("get$value").HTMLMeterElement = function() { return this.value; };
1976 $dynamic("set$value").HTMLMeterElement = function(value) { return this.value = v alue; };
1977 // ********** Code for dom_HTMLModElement **************
1978 // ********** Code for dom_HTMLOListElement **************
1979 // ********** Code for dom_HTMLObjectElement **************
1980 $dynamic("get$name").HTMLObjectElement = function() { return this.name; };
1981 $dynamic("set$name").HTMLObjectElement = function(value) { return this.name = va lue; };
1982 // ********** Code for dom_HTMLOptGroupElement **************
1983 // ********** Code for dom_HTMLOptionElement **************
1984 $dynamic("get$value").HTMLOptionElement = function() { return this.value; };
1985 $dynamic("set$value").HTMLOptionElement = function(value) { return this.value = value; };
1986 // ********** Code for dom_HTMLOptionsCollection **************
1987 $dynamic("get$length").HTMLOptionsCollection = function() { return this.length; };
1988 $dynamic("set$length").HTMLOptionsCollection = function(value) { return this.len gth = value; };
1989 // ********** Code for dom_HTMLOutputElement **************
1990 $dynamic("get$name").HTMLOutputElement = function() { return this.name; };
1991 $dynamic("set$name").HTMLOutputElement = function(value) { return this.name = va lue; };
1992 $dynamic("get$value").HTMLOutputElement = function() { return this.value; };
1993 $dynamic("set$value").HTMLOutputElement = function(value) { return this.value = value; };
1994 // ********** Code for dom_HTMLParagraphElement **************
1995 // ********** Code for dom_HTMLParamElement **************
1996 $dynamic("get$name").HTMLParamElement = function() { return this.name; };
1997 $dynamic("set$name").HTMLParamElement = function(value) { return this.name = val ue; };
1998 $dynamic("get$value").HTMLParamElement = function() { return this.value; };
1999 $dynamic("set$value").HTMLParamElement = function(value) { return this.value = v alue; };
2000 // ********** Code for dom_HTMLPreElement **************
2001 // ********** Code for dom_HTMLProgressElement **************
2002 $dynamic("get$value").HTMLProgressElement = function() { return this.value; };
2003 $dynamic("set$value").HTMLProgressElement = function(value) { return this.value = value; };
2004 // ********** Code for dom_HTMLPropertiesCollection **************
2005 $dynamic("get$length").HTMLPropertiesCollection = function() { return this.lengt h; };
2006 $dynamic("set$length").HTMLPropertiesCollection = function(value) { return this. length = value; };
2007 $dynamic("item$1").HTMLPropertiesCollection = function($0) {
2008 return this.item($0);
2009 };
2010 // ********** Code for dom_HTMLQuoteElement **************
2011 // ********** Code for dom_HTMLScriptElement **************
2012 // ********** Code for dom_HTMLSelectElement **************
2013 $dynamic("get$length").HTMLSelectElement = function() { return this.length; };
2014 $dynamic("set$length").HTMLSelectElement = function(value) { return this.length = value; };
2015 $dynamic("get$name").HTMLSelectElement = function() { return this.name; };
2016 $dynamic("set$name").HTMLSelectElement = function(value) { return this.name = va lue; };
2017 $dynamic("get$value").HTMLSelectElement = function() { return this.value; };
2018 $dynamic("set$value").HTMLSelectElement = function(value) { return this.value = value; };
2019 $dynamic("item$1").HTMLSelectElement = function($0) {
2020 return this.item($0);
2021 };
2022 // ********** Code for dom_HTMLSourceElement **************
2023 // ********** Code for dom_HTMLSpanElement **************
2024 // ********** Code for dom_HTMLStyleElement **************
2025 // ********** Code for dom_HTMLTableCaptionElement **************
2026 // ********** Code for dom_HTMLTableCellElement **************
2027 // ********** Code for dom_HTMLTableColElement **************
2028 // ********** Code for dom_HTMLTableElement **************
2029 // ********** Code for dom_HTMLTableRowElement **************
2030 // ********** Code for dom_HTMLTableSectionElement **************
2031 // ********** Code for dom_HTMLTextAreaElement **************
2032 $dynamic("get$name").HTMLTextAreaElement = function() { return this.name; };
2033 $dynamic("set$name").HTMLTextAreaElement = function(value) { return this.name = value; };
2034 $dynamic("get$value").HTMLTextAreaElement = function() { return this.value; };
2035 $dynamic("set$value").HTMLTextAreaElement = function(value) { return this.value = value; };
2036 // ********** Code for dom_HTMLTitleElement **************
2037 // ********** Code for dom_HTMLTrackElement **************
2038 // ********** Code for dom_HTMLUListElement **************
2039 // ********** Code for dom_HTMLUnknownElement **************
2040 // ********** Code for dom_HTMLVideoElement **************
2041 // ********** Code for HashChangeEvent **************
2042 // ********** Code for HighPass2FilterNode **************
2043 // ********** Code for History **************
2044 $dynamic("get$length").History = function() { return this.length; };
2045 $dynamic("set$length").History = function(value) { return this.length = value; } ;
2046 $dynamic("get$dartObjectLocalStorage").History = function() { return this.dartOb jectLocalStorage; };
2047 $dynamic("set$dartObjectLocalStorage").History = function(value) { return this.d artObjectLocalStorage = value; };
2048 // ********** Code for IDBAny **************
2049 $dynamic("get$dartObjectLocalStorage").IDBAny = function() { return this.dartObj ectLocalStorage; };
2050 $dynamic("set$dartObjectLocalStorage").IDBAny = function(value) { return this.da rtObjectLocalStorage = value; };
2051 // ********** Code for IDBCursor **************
2052 $dynamic("get$dartObjectLocalStorage").IDBCursor = function() { return this.dart ObjectLocalStorage; };
2053 $dynamic("set$dartObjectLocalStorage").IDBCursor = function(value) { return this .dartObjectLocalStorage = value; };
2054 // ********** Code for IDBCursorWithValue **************
2055 $dynamic("get$value").IDBCursorWithValue = function() { return this.value; };
2056 $dynamic("set$value").IDBCursorWithValue = function(value) { return this.value = value; };
2057 // ********** Code for IDBDatabase **************
2058 $dynamic("get$name").IDBDatabase = function() { return this.name; };
2059 $dynamic("set$name").IDBDatabase = function(value) { return this.name = value; } ;
2060 $dynamic("get$dartObjectLocalStorage").IDBDatabase = function() { return this.da rtObjectLocalStorage; };
2061 $dynamic("set$dartObjectLocalStorage").IDBDatabase = function(value) { return th is.dartObjectLocalStorage = value; };
2062 $dynamic("addEventListener$3").IDBDatabase = function($0, $1, $2) {
2063 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2064 };
2065 // ********** Code for IDBDatabaseError **************
2066 $dynamic("get$dartObjectLocalStorage").IDBDatabaseError = function() { return th is.dartObjectLocalStorage; };
2067 $dynamic("set$dartObjectLocalStorage").IDBDatabaseError = function(value) { retu rn this.dartObjectLocalStorage = value; };
2068 // ********** Code for IDBDatabaseException **************
2069 $dynamic("get$name").IDBDatabaseException = function() { return this.name; };
2070 $dynamic("set$name").IDBDatabaseException = function(value) { return this.name = value; };
2071 $dynamic("get$dartObjectLocalStorage").IDBDatabaseException = function() { retur n this.dartObjectLocalStorage; };
2072 $dynamic("set$dartObjectLocalStorage").IDBDatabaseException = function(value) { return this.dartObjectLocalStorage = value; };
2073 $dynamic("toString$0").IDBDatabaseException = function() {
2074 return this.toString();
2075 };
2076 // ********** Code for IDBFactory **************
2077 $dynamic("get$dartObjectLocalStorage").IDBFactory = function() { return this.dar tObjectLocalStorage; };
2078 $dynamic("set$dartObjectLocalStorage").IDBFactory = function(value) { return thi s.dartObjectLocalStorage = value; };
2079 // ********** Code for IDBIndex **************
2080 $dynamic("get$name").IDBIndex = function() { return this.name; };
2081 $dynamic("set$name").IDBIndex = function(value) { return this.name = value; };
2082 $dynamic("get$dartObjectLocalStorage").IDBIndex = function() { return this.dartO bjectLocalStorage; };
2083 $dynamic("set$dartObjectLocalStorage").IDBIndex = function(value) { return this. dartObjectLocalStorage = value; };
2084 // ********** Code for IDBKey **************
2085 $dynamic("get$dartObjectLocalStorage").IDBKey = function() { return this.dartObj ectLocalStorage; };
2086 $dynamic("set$dartObjectLocalStorage").IDBKey = function(value) { return this.da rtObjectLocalStorage = value; };
2087 // ********** Code for IDBKeyRange **************
2088 $dynamic("get$dartObjectLocalStorage").IDBKeyRange = function() { return this.da rtObjectLocalStorage; };
2089 $dynamic("set$dartObjectLocalStorage").IDBKeyRange = function(value) { return th is.dartObjectLocalStorage = value; };
2090 // ********** Code for IDBObjectStore **************
2091 $dynamic("get$name").IDBObjectStore = function() { return this.name; };
2092 $dynamic("set$name").IDBObjectStore = function(value) { return this.name = value ; };
2093 $dynamic("get$clear").IDBObjectStore = function() {
2094 return this.clear.bind(this);
2095 }
2096 $dynamic("get$dartObjectLocalStorage").IDBObjectStore = function() { return this .dartObjectLocalStorage; };
2097 $dynamic("set$dartObjectLocalStorage").IDBObjectStore = function(value) { return this.dartObjectLocalStorage = value; };
2098 $dynamic("add$1").IDBObjectStore = function($0) {
2099 return this.add($0);
2100 };
2101 $dynamic("clear$0").IDBObjectStore = function() {
2102 return this.clear();
2103 };
2104 // ********** Code for IDBRequest **************
2105 $dynamic("get$dartObjectLocalStorage").IDBRequest = function() { return this.dar tObjectLocalStorage; };
2106 $dynamic("set$dartObjectLocalStorage").IDBRequest = function(value) { return thi s.dartObjectLocalStorage = value; };
2107 $dynamic("addEventListener$3").IDBRequest = function($0, $1, $2) {
2108 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2109 };
2110 // ********** Code for IDBTransaction **************
2111 $dynamic("get$dartObjectLocalStorage").IDBTransaction = function() { return this .dartObjectLocalStorage; };
2112 $dynamic("set$dartObjectLocalStorage").IDBTransaction = function(value) { return this.dartObjectLocalStorage = value; };
2113 $dynamic("addEventListener$3").IDBTransaction = function($0, $1, $2) {
2114 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2115 };
2116 // ********** Code for IDBVersionChangeEvent **************
2117 // ********** Code for IDBVersionChangeRequest **************
2118 // ********** Code for ImageData **************
2119 $dynamic("get$dartObjectLocalStorage").ImageData = function() { return this.dart ObjectLocalStorage; };
2120 $dynamic("set$dartObjectLocalStorage").ImageData = function(value) { return this .dartObjectLocalStorage = value; };
2121 // ********** Code for dom_InjectedScriptHost **************
2122 $dynamic("get$dartObjectLocalStorage").InjectedScriptHost = function() { return this.dartObjectLocalStorage; };
2123 $dynamic("set$dartObjectLocalStorage").InjectedScriptHost = function(value) { re turn this.dartObjectLocalStorage = value; };
2124 // ********** Code for dom_InspectorFrontendHost **************
2125 $dynamic("get$dartObjectLocalStorage").InspectorFrontendHost = function() { retu rn this.dartObjectLocalStorage; };
2126 $dynamic("set$dartObjectLocalStorage").InspectorFrontendHost = function(value) { return this.dartObjectLocalStorage = value; };
2127 // ********** Code for Int16Array **************
2128 $dynamic("get$length").Int16Array = function() { return this.length; };
2129 $dynamic("set$length").Int16Array = function(value) { return this.length = value ; };
2130 // ********** Code for Int32Array **************
2131 $dynamic("get$length").Int32Array = function() { return this.length; };
2132 $dynamic("set$length").Int32Array = function(value) { return this.length = value ; };
2133 // ********** Code for Int8Array **************
2134 $dynamic("get$length").Int8Array = function() { return this.length; };
2135 $dynamic("set$length").Int8Array = function(value) { return this.length = value; };
2136 // ********** Code for JavaScriptAudioNode **************
2137 // ********** Code for dom_JavaScriptCallFrame **************
2138 $dynamic("get$dartObjectLocalStorage").JavaScriptCallFrame = function() { return this.dartObjectLocalStorage; };
2139 $dynamic("set$dartObjectLocalStorage").JavaScriptCallFrame = function(value) { r eturn this.dartObjectLocalStorage = value; };
2140 // ********** Code for KeyboardEvent **************
2141 // ********** Code for Location **************
2142 $dynamic("get$dartObjectLocalStorage").Location = function() { return this.dartO bjectLocalStorage; };
2143 $dynamic("set$dartObjectLocalStorage").Location = function(value) { return this. dartObjectLocalStorage = value; };
2144 $dynamic("toString$0").Location = function() {
2145 return this.toString();
2146 };
2147 // ********** Code for LowPass2FilterNode **************
2148 // ********** Code for dom_MediaController **************
2149 $dynamic("get$dartObjectLocalStorage").MediaController = function() { return thi s.dartObjectLocalStorage; };
2150 $dynamic("set$dartObjectLocalStorage").MediaController = function(value) { retur n this.dartObjectLocalStorage = value; };
2151 $dynamic("addEventListener$3").MediaController = function($0, $1, $2) {
2152 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2153 };
2154 // ********** Code for MediaElementAudioSourceNode **************
2155 // ********** Code for MediaError **************
2156 $dynamic("get$dartObjectLocalStorage").MediaError = function() { return this.dar tObjectLocalStorage; };
2157 $dynamic("set$dartObjectLocalStorage").MediaError = function(value) { return thi s.dartObjectLocalStorage = value; };
2158 // ********** Code for MediaList **************
2159 $dynamic("get$length").MediaList = function() { return this.length; };
2160 $dynamic("set$length").MediaList = function(value) { return this.length = value; };
2161 $dynamic("$setindex").MediaList = function(index, value) {
2162 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2163 }
2164 $dynamic("get$dartObjectLocalStorage").MediaList = function() { return this.dart ObjectLocalStorage; };
2165 $dynamic("set$dartObjectLocalStorage").MediaList = function(value) { return this .dartObjectLocalStorage = value; };
2166 $dynamic("item$1").MediaList = function($0) {
2167 return this.item($0);
2168 };
2169 // ********** Code for MediaQueryList **************
2170 $dynamic("get$dartObjectLocalStorage").MediaQueryList = function() { return this .dartObjectLocalStorage; };
2171 $dynamic("set$dartObjectLocalStorage").MediaQueryList = function(value) { return this.dartObjectLocalStorage = value; };
2172 // ********** Code for MediaQueryListListener **************
2173 $dynamic("get$dartObjectLocalStorage").MediaQueryListListener = function() { ret urn this.dartObjectLocalStorage; };
2174 $dynamic("set$dartObjectLocalStorage").MediaQueryListListener = function(value) { return this.dartObjectLocalStorage = value; };
2175 // ********** Code for dom_MemoryInfo **************
2176 $dynamic("get$dartObjectLocalStorage").MemoryInfo = function() { return this.dar tObjectLocalStorage; };
2177 $dynamic("set$dartObjectLocalStorage").MemoryInfo = function(value) { return thi s.dartObjectLocalStorage = value; };
2178 // ********** Code for MessageChannel **************
2179 $dynamic("get$dartObjectLocalStorage").MessageChannel = function() { return this .dartObjectLocalStorage; };
2180 $dynamic("set$dartObjectLocalStorage").MessageChannel = function(value) { return this.dartObjectLocalStorage = value; };
2181 // ********** Code for MessageEvent **************
2182 // ********** Code for MessagePort **************
2183 $dynamic("get$dartObjectLocalStorage").MessagePort = function() { return this.da rtObjectLocalStorage; };
2184 $dynamic("set$dartObjectLocalStorage").MessagePort = function(value) { return th is.dartObjectLocalStorage = value; };
2185 $dynamic("addEventListener$3").MessagePort = function($0, $1, $2) {
2186 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2187 };
2188 // ********** Code for Metadata **************
2189 $dynamic("get$dartObjectLocalStorage").Metadata = function() { return this.dartO bjectLocalStorage; };
2190 $dynamic("set$dartObjectLocalStorage").Metadata = function(value) { return this. dartObjectLocalStorage = value; };
2191 // ********** Code for MouseEvent **************
2192 // ********** Code for MutationCallback **************
2193 $dynamic("get$dartObjectLocalStorage").MutationCallback = function() { return th is.dartObjectLocalStorage; };
2194 $dynamic("set$dartObjectLocalStorage").MutationCallback = function(value) { retu rn this.dartObjectLocalStorage = value; };
2195 // ********** Code for MutationEvent **************
2196 // ********** Code for MutationRecord **************
2197 $dynamic("get$target").MutationRecord = function() { return this.target; };
2198 $dynamic("set$target").MutationRecord = function(value) { return this.target = v alue; };
2199 $dynamic("get$dartObjectLocalStorage").MutationRecord = function() { return this .dartObjectLocalStorage; };
2200 $dynamic("set$dartObjectLocalStorage").MutationRecord = function(value) { return this.dartObjectLocalStorage = value; };
2201 // ********** Code for dom_NamedNodeMap **************
2202 $dynamic("get$length").NamedNodeMap = function() { return this.length; };
2203 $dynamic("set$length").NamedNodeMap = function(value) { return this.length = val ue; };
2204 $dynamic("$setindex").NamedNodeMap = function(index, value) {
2205 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2206 }
2207 $dynamic("get$dartObjectLocalStorage").NamedNodeMap = function() { return this.d artObjectLocalStorage; };
2208 $dynamic("set$dartObjectLocalStorage").NamedNodeMap = function(value) { return t his.dartObjectLocalStorage = value; };
2209 $dynamic("item$1").NamedNodeMap = function($0) {
2210 return this.item($0);
2211 };
2212 // ********** Code for Navigator **************
2213 $dynamic("get$dartObjectLocalStorage").Navigator = function() { return this.dart ObjectLocalStorage; };
2214 $dynamic("set$dartObjectLocalStorage").Navigator = function(value) { return this .dartObjectLocalStorage = value; };
2215 // ********** Code for Node **************
2216 $dynamic("get$attributes").Node = function() { return this.attributes; };
2217 $dynamic("set$attributes").Node = function(value) { return this.attributes = val ue; };
2218 $dynamic("get$childNodes").Node = function() { return this.childNodes; };
2219 $dynamic("set$childNodes").Node = function(value) { return this.childNodes = val ue; };
2220 $dynamic("get$firstChild").Node = function() { return this.firstChild; };
2221 $dynamic("set$firstChild").Node = function(value) { return this.firstChild = val ue; };
2222 $dynamic("get$parentNode").Node = function() { return this.parentNode; };
2223 $dynamic("set$parentNode").Node = function(value) { return this.parentNode = val ue; };
2224 $dynamic("get$textContent").Node = function() { return this.textContent; };
2225 $dynamic("set$textContent").Node = function(value) { return this.textContent = v alue; };
2226 $dynamic("get$dartObjectLocalStorage").Node = function() { return this.dartObjec tLocalStorage; };
2227 $dynamic("set$dartObjectLocalStorage").Node = function(value) { return this.dart ObjectLocalStorage = value; };
2228 $dynamic("addEventListener$3").Node = function($0, $1, $2) {
2229 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2230 };
2231 $dynamic("appendChild$1").Node = function($0) {
2232 return this.appendChild($0);
2233 };
2234 $dynamic("replaceChild$2").Node = function($0, $1) {
2235 return this.replaceChild($0, $1);
2236 };
2237 // ********** Code for dom_NodeFilter **************
2238 $dynamic("get$dartObjectLocalStorage").NodeFilter = function() { return this.dar tObjectLocalStorage; };
2239 $dynamic("set$dartObjectLocalStorage").NodeFilter = function(value) { return thi s.dartObjectLocalStorage = value; };
2240 // ********** Code for dom_NodeIterator **************
2241 $dynamic("get$dartObjectLocalStorage").NodeIterator = function() { return this.d artObjectLocalStorage; };
2242 $dynamic("set$dartObjectLocalStorage").NodeIterator = function(value) { return t his.dartObjectLocalStorage = value; };
2243 $dynamic("filter$1").NodeIterator = function($0) {
2244 return this.filter.call$1($0);
2245 };
2246 // ********** Code for NodeList **************
2247 $dynamic("get$length").NodeList = function() { return this.length; };
2248 $dynamic("set$length").NodeList = function(value) { return this.length = value; };
2249 $dynamic("$setindex").NodeList = function(index, value) {
2250 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2251 }
2252 $dynamic("get$dartObjectLocalStorage").NodeList = function() { return this.dartO bjectLocalStorage; };
2253 $dynamic("set$dartObjectLocalStorage").NodeList = function(value) { return this. dartObjectLocalStorage = value; };
2254 $dynamic("item$1").NodeList = function($0) {
2255 return this.item($0);
2256 };
2257 // ********** Code for dom_NodeSelector **************
2258 $dynamic("get$dartObjectLocalStorage").NodeSelector = function() { return this.d artObjectLocalStorage; };
2259 $dynamic("set$dartObjectLocalStorage").NodeSelector = function(value) { return t his.dartObjectLocalStorage = value; };
2260 $dynamic("querySelector$1").NodeSelector = function($0) {
2261 return this.querySelector($0);
2262 };
2263 $dynamic("querySelectorAll$1").NodeSelector = function($0) {
2264 return this.querySelectorAll($0);
2265 };
2266 // ********** Code for Notation **************
2267 // ********** Code for Notification **************
2268 $dynamic("get$dartObjectLocalStorage").Notification = function() { return this.d artObjectLocalStorage; };
2269 $dynamic("set$dartObjectLocalStorage").Notification = function(value) { return t his.dartObjectLocalStorage = value; };
2270 $dynamic("addEventListener$3").Notification = function($0, $1, $2) {
2271 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2272 };
2273 // ********** Code for NotificationCenter **************
2274 $dynamic("get$dartObjectLocalStorage").NotificationCenter = function() { return this.dartObjectLocalStorage; };
2275 $dynamic("set$dartObjectLocalStorage").NotificationCenter = function(value) { re turn this.dartObjectLocalStorage = value; };
2276 // ********** Code for OESStandardDerivatives **************
2277 $dynamic("get$dartObjectLocalStorage").OESStandardDerivatives = function() { ret urn this.dartObjectLocalStorage; };
2278 $dynamic("set$dartObjectLocalStorage").OESStandardDerivatives = function(value) { return this.dartObjectLocalStorage = value; };
2279 // ********** Code for OESTextureFloat **************
2280 $dynamic("get$dartObjectLocalStorage").OESTextureFloat = function() { return thi s.dartObjectLocalStorage; };
2281 $dynamic("set$dartObjectLocalStorage").OESTextureFloat = function(value) { retur n this.dartObjectLocalStorage = value; };
2282 // ********** Code for OESVertexArrayObject **************
2283 $dynamic("get$dartObjectLocalStorage").OESVertexArrayObject = function() { retur n this.dartObjectLocalStorage; };
2284 $dynamic("set$dartObjectLocalStorage").OESVertexArrayObject = function(value) { return this.dartObjectLocalStorage = value; };
2285 // ********** Code for OfflineAudioCompletionEvent **************
2286 // ********** Code for OperationNotAllowedException **************
2287 $dynamic("get$name").OperationNotAllowedException = function() { return this.nam e; };
2288 $dynamic("set$name").OperationNotAllowedException = function(value) { return thi s.name = value; };
2289 $dynamic("get$dartObjectLocalStorage").OperationNotAllowedException = function() { return this.dartObjectLocalStorage; };
2290 $dynamic("set$dartObjectLocalStorage").OperationNotAllowedException = function(v alue) { return this.dartObjectLocalStorage = value; };
2291 $dynamic("toString$0").OperationNotAllowedException = function() {
2292 return this.toString();
2293 };
2294 // ********** Code for OverflowEvent **************
2295 // ********** Code for PageTransitionEvent **************
2296 // ********** Code for dom_Performance **************
2297 $dynamic("get$dartObjectLocalStorage").Performance = function() { return this.da rtObjectLocalStorage; };
2298 $dynamic("set$dartObjectLocalStorage").Performance = function(value) { return th is.dartObjectLocalStorage = value; };
2299 // ********** Code for dom_PerformanceNavigation **************
2300 $dynamic("get$dartObjectLocalStorage").PerformanceNavigation = function() { retu rn this.dartObjectLocalStorage; };
2301 $dynamic("set$dartObjectLocalStorage").PerformanceNavigation = function(value) { return this.dartObjectLocalStorage = value; };
2302 // ********** Code for dom_PerformanceTiming **************
2303 $dynamic("get$dartObjectLocalStorage").PerformanceTiming = function() { return t his.dartObjectLocalStorage; };
2304 $dynamic("set$dartObjectLocalStorage").PerformanceTiming = function(value) { ret urn this.dartObjectLocalStorage = value; };
2305 // ********** Code for dom_PointerLock **************
2306 $dynamic("get$dartObjectLocalStorage").PointerLock = function() { return this.da rtObjectLocalStorage; };
2307 $dynamic("set$dartObjectLocalStorage").PointerLock = function(value) { return th is.dartObjectLocalStorage = value; };
2308 // ********** Code for PopStateEvent **************
2309 // ********** Code for PositionError **************
2310 $dynamic("get$dartObjectLocalStorage").PositionError = function() { return this. dartObjectLocalStorage; };
2311 $dynamic("set$dartObjectLocalStorage").PositionError = function(value) { return this.dartObjectLocalStorage = value; };
2312 // ********** Code for ProcessingInstruction **************
2313 $dynamic("get$target").ProcessingInstruction = function() { return this.target; };
2314 $dynamic("set$target").ProcessingInstruction = function(value) { return this.tar get = value; };
2315 // ********** Code for ProgressEvent **************
2316 // ********** Code for RGBColor **************
2317 $dynamic("get$dartObjectLocalStorage").RGBColor = function() { return this.dartO bjectLocalStorage; };
2318 $dynamic("set$dartObjectLocalStorage").RGBColor = function(value) { return this. dartObjectLocalStorage = value; };
2319 // ********** Code for Range **************
2320 $dynamic("get$dartObjectLocalStorage").Range = function() { return this.dartObje ctLocalStorage; };
2321 $dynamic("set$dartObjectLocalStorage").Range = function(value) { return this.dar tObjectLocalStorage = value; };
2322 $dynamic("toString$0").Range = function() {
2323 return this.toString();
2324 };
2325 // ********** Code for RangeException **************
2326 $dynamic("get$name").RangeException = function() { return this.name; };
2327 $dynamic("set$name").RangeException = function(value) { return this.name = value ; };
2328 $dynamic("get$dartObjectLocalStorage").RangeException = function() { return this .dartObjectLocalStorage; };
2329 $dynamic("set$dartObjectLocalStorage").RangeException = function(value) { return this.dartObjectLocalStorage = value; };
2330 $dynamic("toString$0").RangeException = function() {
2331 return this.toString();
2332 };
2333 // ********** Code for RealtimeAnalyserNode **************
2334 // ********** Code for Rect **************
2335 $dynamic("get$dartObjectLocalStorage").Rect = function() { return this.dartObjec tLocalStorage; };
2336 $dynamic("set$dartObjectLocalStorage").Rect = function(value) { return this.dart ObjectLocalStorage = value; };
2337 // ********** Code for dom_SQLError **************
2338 $dynamic("get$dartObjectLocalStorage").SQLError = function() { return this.dartO bjectLocalStorage; };
2339 $dynamic("set$dartObjectLocalStorage").SQLError = function(value) { return this. dartObjectLocalStorage = value; };
2340 // ********** Code for dom_SQLException **************
2341 $dynamic("get$dartObjectLocalStorage").SQLException = function() { return this.d artObjectLocalStorage; };
2342 $dynamic("set$dartObjectLocalStorage").SQLException = function(value) { return t his.dartObjectLocalStorage = value; };
2343 // ********** Code for dom_SQLResultSet **************
2344 $dynamic("get$dartObjectLocalStorage").SQLResultSet = function() { return this.d artObjectLocalStorage; };
2345 $dynamic("set$dartObjectLocalStorage").SQLResultSet = function(value) { return t his.dartObjectLocalStorage = value; };
2346 // ********** Code for dom_SQLResultSetRowList **************
2347 $dynamic("get$length").SQLResultSetRowList = function() { return this.length; };
2348 $dynamic("set$length").SQLResultSetRowList = function(value) { return this.lengt h = value; };
2349 $dynamic("get$dartObjectLocalStorage").SQLResultSetRowList = function() { return this.dartObjectLocalStorage; };
2350 $dynamic("set$dartObjectLocalStorage").SQLResultSetRowList = function(value) { r eturn this.dartObjectLocalStorage = value; };
2351 $dynamic("item$1").SQLResultSetRowList = function($0) {
2352 return this.item($0);
2353 };
2354 // ********** Code for dom_SQLTransaction **************
2355 $dynamic("get$dartObjectLocalStorage").SQLTransaction = function() { return this .dartObjectLocalStorage; };
2356 $dynamic("set$dartObjectLocalStorage").SQLTransaction = function(value) { return this.dartObjectLocalStorage = value; };
2357 // ********** Code for dom_SQLTransactionSync **************
2358 $dynamic("get$dartObjectLocalStorage").SQLTransactionSync = function() { return this.dartObjectLocalStorage; };
2359 $dynamic("set$dartObjectLocalStorage").SQLTransactionSync = function(value) { re turn this.dartObjectLocalStorage = value; };
2360 // ********** Code for SVGAElement **************
2361 $dynamic("get$target").SVGAElement = function() { return this.target; };
2362 $dynamic("set$target").SVGAElement = function(value) { return this.target = valu e; };
2363 $dynamic("get$className").SVGAElement = function() { return this.className; };
2364 $dynamic("set$className").SVGAElement = function(value) { return this.className = value; };
2365 $dynamic("get$style").SVGAElement = function() { return this.style; };
2366 $dynamic("set$style").SVGAElement = function(value) { return this.style = value; };
2367 // ********** Code for SVGAltGlyphDefElement **************
2368 // ********** Code for SVGAltGlyphElement **************
2369 // ********** Code for SVGAltGlyphItemElement **************
2370 // ********** Code for SVGAngle **************
2371 $dynamic("get$value").SVGAngle = function() { return this.value; };
2372 $dynamic("set$value").SVGAngle = function(value) { return this.value = value; };
2373 $dynamic("get$dartObjectLocalStorage").SVGAngle = function() { return this.dartO bjectLocalStorage; };
2374 $dynamic("set$dartObjectLocalStorage").SVGAngle = function(value) { return this. dartObjectLocalStorage = value; };
2375 // ********** Code for SVGAnimateColorElement **************
2376 // ********** Code for SVGAnimateElement **************
2377 // ********** Code for SVGAnimateMotionElement **************
2378 // ********** Code for SVGAnimateTransformElement **************
2379 // ********** Code for SVGAnimatedAngle **************
2380 $dynamic("get$baseVal").SVGAnimatedAngle = function() { return this.baseVal; };
2381 $dynamic("set$baseVal").SVGAnimatedAngle = function(value) { return this.baseVal = value; };
2382 $dynamic("get$dartObjectLocalStorage").SVGAnimatedAngle = function() { return th is.dartObjectLocalStorage; };
2383 $dynamic("set$dartObjectLocalStorage").SVGAnimatedAngle = function(value) { retu rn this.dartObjectLocalStorage = value; };
2384 // ********** Code for SVGAnimatedBoolean **************
2385 $dynamic("get$baseVal").SVGAnimatedBoolean = function() { return this.baseVal; } ;
2386 $dynamic("set$baseVal").SVGAnimatedBoolean = function(value) { return this.baseV al = value; };
2387 $dynamic("get$dartObjectLocalStorage").SVGAnimatedBoolean = function() { return this.dartObjectLocalStorage; };
2388 $dynamic("set$dartObjectLocalStorage").SVGAnimatedBoolean = function(value) { re turn this.dartObjectLocalStorage = value; };
2389 // ********** Code for SVGAnimatedEnumeration **************
2390 $dynamic("get$baseVal").SVGAnimatedEnumeration = function() { return this.baseVa l; };
2391 $dynamic("set$baseVal").SVGAnimatedEnumeration = function(value) { return this.b aseVal = value; };
2392 $dynamic("get$dartObjectLocalStorage").SVGAnimatedEnumeration = function() { ret urn this.dartObjectLocalStorage; };
2393 $dynamic("set$dartObjectLocalStorage").SVGAnimatedEnumeration = function(value) { return this.dartObjectLocalStorage = value; };
2394 // ********** Code for SVGAnimatedInteger **************
2395 $dynamic("get$baseVal").SVGAnimatedInteger = function() { return this.baseVal; } ;
2396 $dynamic("set$baseVal").SVGAnimatedInteger = function(value) { return this.baseV al = value; };
2397 $dynamic("get$dartObjectLocalStorage").SVGAnimatedInteger = function() { return this.dartObjectLocalStorage; };
2398 $dynamic("set$dartObjectLocalStorage").SVGAnimatedInteger = function(value) { re turn this.dartObjectLocalStorage = value; };
2399 // ********** Code for SVGAnimatedLength **************
2400 $dynamic("get$baseVal").SVGAnimatedLength = function() { return this.baseVal; };
2401 $dynamic("set$baseVal").SVGAnimatedLength = function(value) { return this.baseVa l = value; };
2402 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLength = function() { return t his.dartObjectLocalStorage; };
2403 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLength = function(value) { ret urn this.dartObjectLocalStorage = value; };
2404 // ********** Code for SVGAnimatedLengthList **************
2405 $dynamic("get$baseVal").SVGAnimatedLengthList = function() { return this.baseVal ; };
2406 $dynamic("set$baseVal").SVGAnimatedLengthList = function(value) { return this.ba seVal = value; };
2407 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLengthList = function() { retu rn this.dartObjectLocalStorage; };
2408 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLengthList = function(value) { return this.dartObjectLocalStorage = value; };
2409 // ********** Code for SVGAnimatedNumber **************
2410 $dynamic("get$baseVal").SVGAnimatedNumber = function() { return this.baseVal; };
2411 $dynamic("set$baseVal").SVGAnimatedNumber = function(value) { return this.baseVa l = value; };
2412 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumber = function() { return t his.dartObjectLocalStorage; };
2413 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumber = function(value) { ret urn this.dartObjectLocalStorage = value; };
2414 // ********** Code for SVGAnimatedNumberList **************
2415 $dynamic("get$baseVal").SVGAnimatedNumberList = function() { return this.baseVal ; };
2416 $dynamic("set$baseVal").SVGAnimatedNumberList = function(value) { return this.ba seVal = value; };
2417 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumberList = function() { retu rn this.dartObjectLocalStorage; };
2418 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumberList = function(value) { return this.dartObjectLocalStorage = value; };
2419 // ********** Code for SVGAnimatedPreserveAspectRatio **************
2420 $dynamic("get$baseVal").SVGAnimatedPreserveAspectRatio = function() { return thi s.baseVal; };
2421 $dynamic("set$baseVal").SVGAnimatedPreserveAspectRatio = function(value) { retur n this.baseVal = value; };
2422 $dynamic("get$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function () { return this.dartObjectLocalStorage; };
2423 $dynamic("set$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function (value) { return this.dartObjectLocalStorage = value; };
2424 // ********** Code for SVGAnimatedRect **************
2425 $dynamic("get$baseVal").SVGAnimatedRect = function() { return this.baseVal; };
2426 $dynamic("set$baseVal").SVGAnimatedRect = function(value) { return this.baseVal = value; };
2427 $dynamic("get$dartObjectLocalStorage").SVGAnimatedRect = function() { return thi s.dartObjectLocalStorage; };
2428 $dynamic("set$dartObjectLocalStorage").SVGAnimatedRect = function(value) { retur n this.dartObjectLocalStorage = value; };
2429 // ********** Code for SVGAnimatedString **************
2430 $dynamic("get$baseVal").SVGAnimatedString = function() { return this.baseVal; };
2431 $dynamic("set$baseVal").SVGAnimatedString = function(value) { return this.baseVa l = value; };
2432 $dynamic("get$dartObjectLocalStorage").SVGAnimatedString = function() { return t his.dartObjectLocalStorage; };
2433 $dynamic("set$dartObjectLocalStorage").SVGAnimatedString = function(value) { ret urn this.dartObjectLocalStorage = value; };
2434 // ********** Code for SVGAnimatedTransformList **************
2435 $dynamic("get$baseVal").SVGAnimatedTransformList = function() { return this.base Val; };
2436 $dynamic("set$baseVal").SVGAnimatedTransformList = function(value) { return this .baseVal = value; };
2437 $dynamic("get$dartObjectLocalStorage").SVGAnimatedTransformList = function() { r eturn this.dartObjectLocalStorage; };
2438 $dynamic("set$dartObjectLocalStorage").SVGAnimatedTransformList = function(value ) { return this.dartObjectLocalStorage = value; };
2439 // ********** Code for SVGAnimationElement **************
2440 // ********** Code for SVGCircleElement **************
2441 $dynamic("get$className").SVGCircleElement = function() { return this.className; };
2442 $dynamic("set$className").SVGCircleElement = function(value) { return this.class Name = value; };
2443 $dynamic("get$style").SVGCircleElement = function() { return this.style; };
2444 $dynamic("set$style").SVGCircleElement = function(value) { return this.style = v alue; };
2445 // ********** Code for SVGClipPathElement **************
2446 $dynamic("get$className").SVGClipPathElement = function() { return this.classNam e; };
2447 $dynamic("set$className").SVGClipPathElement = function(value) { return this.cla ssName = value; };
2448 $dynamic("get$style").SVGClipPathElement = function() { return this.style; };
2449 $dynamic("set$style").SVGClipPathElement = function(value) { return this.style = value; };
2450 // ********** Code for SVGColor **************
2451 // ********** Code for SVGComponentTransferFunctionElement **************
2452 // ********** Code for SVGCursorElement **************
2453 // ********** Code for SVGDefsElement **************
2454 $dynamic("get$className").SVGDefsElement = function() { return this.className; } ;
2455 $dynamic("set$className").SVGDefsElement = function(value) { return this.classNa me = value; };
2456 $dynamic("get$style").SVGDefsElement = function() { return this.style; };
2457 $dynamic("set$style").SVGDefsElement = function(value) { return this.style = val ue; };
2458 // ********** Code for SVGDescElement **************
2459 $dynamic("get$className").SVGDescElement = function() { return this.className; } ;
2460 $dynamic("set$className").SVGDescElement = function(value) { return this.classNa me = value; };
2461 $dynamic("get$style").SVGDescElement = function() { return this.style; };
2462 $dynamic("set$style").SVGDescElement = function(value) { return this.style = val ue; };
2463 // ********** Code for SVGDocument **************
2464 // ********** Code for SVGElement **************
2465 $dynamic("get$id").SVGElement = function() { return this.id; };
2466 $dynamic("set$id").SVGElement = function(value) { return this.id = value; };
2467 // ********** Code for SVGElementInstance **************
2468 $dynamic("get$childNodes").SVGElementInstance = function() { return this.childNo des; };
2469 $dynamic("set$childNodes").SVGElementInstance = function(value) { return this.ch ildNodes = value; };
2470 $dynamic("get$firstChild").SVGElementInstance = function() { return this.firstCh ild; };
2471 $dynamic("set$firstChild").SVGElementInstance = function(value) { return this.fi rstChild = value; };
2472 $dynamic("get$parentNode").SVGElementInstance = function() { return this.parentN ode; };
2473 $dynamic("set$parentNode").SVGElementInstance = function(value) { return this.pa rentNode = value; };
2474 $dynamic("get$dartObjectLocalStorage").SVGElementInstance = function() { return this.dartObjectLocalStorage; };
2475 $dynamic("set$dartObjectLocalStorage").SVGElementInstance = function(value) { re turn this.dartObjectLocalStorage = value; };
2476 $dynamic("addEventListener$3").SVGElementInstance = function($0, $1, $2) {
2477 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2478 };
2479 // ********** Code for SVGElementInstanceList **************
2480 $dynamic("get$length").SVGElementInstanceList = function() { return this.length; };
2481 $dynamic("set$length").SVGElementInstanceList = function(value) { return this.le ngth = value; };
2482 $dynamic("get$dartObjectLocalStorage").SVGElementInstanceList = function() { ret urn this.dartObjectLocalStorage; };
2483 $dynamic("set$dartObjectLocalStorage").SVGElementInstanceList = function(value) { return this.dartObjectLocalStorage = value; };
2484 $dynamic("item$1").SVGElementInstanceList = function($0) {
2485 return this.item($0);
2486 };
2487 // ********** Code for SVGEllipseElement **************
2488 $dynamic("get$className").SVGEllipseElement = function() { return this.className ; };
2489 $dynamic("set$className").SVGEllipseElement = function(value) { return this.clas sName = value; };
2490 $dynamic("get$style").SVGEllipseElement = function() { return this.style; };
2491 $dynamic("set$style").SVGEllipseElement = function(value) { return this.style = value; };
2492 // ********** Code for SVGException **************
2493 $dynamic("get$name").SVGException = function() { return this.name; };
2494 $dynamic("set$name").SVGException = function(value) { return this.name = value; };
2495 $dynamic("get$dartObjectLocalStorage").SVGException = function() { return this.d artObjectLocalStorage; };
2496 $dynamic("set$dartObjectLocalStorage").SVGException = function(value) { return t his.dartObjectLocalStorage = value; };
2497 $dynamic("toString$0").SVGException = function() {
2498 return this.toString();
2499 };
2500 // ********** Code for SVGExternalResourcesRequired **************
2501 $dynamic("get$dartObjectLocalStorage").SVGExternalResourcesRequired = function() { return this.dartObjectLocalStorage; };
2502 $dynamic("set$dartObjectLocalStorage").SVGExternalResourcesRequired = function(v alue) { return this.dartObjectLocalStorage = value; };
2503 // ********** Code for SVGFEBlendElement **************
2504 $dynamic("get$className").SVGFEBlendElement = function() { return this.className ; };
2505 $dynamic("set$className").SVGFEBlendElement = function(value) { return this.clas sName = value; };
2506 $dynamic("get$style").SVGFEBlendElement = function() { return this.style; };
2507 $dynamic("set$style").SVGFEBlendElement = function(value) { return this.style = value; };
2508 // ********** Code for SVGFEColorMatrixElement **************
2509 $dynamic("get$className").SVGFEColorMatrixElement = function() { return this.cla ssName; };
2510 $dynamic("set$className").SVGFEColorMatrixElement = function(value) { return thi s.className = value; };
2511 $dynamic("get$style").SVGFEColorMatrixElement = function() { return this.style; };
2512 $dynamic("set$style").SVGFEColorMatrixElement = function(value) { return this.st yle = value; };
2513 // ********** Code for SVGFEComponentTransferElement **************
2514 $dynamic("get$className").SVGFEComponentTransferElement = function() { return th is.className; };
2515 $dynamic("set$className").SVGFEComponentTransferElement = function(value) { retu rn this.className = value; };
2516 $dynamic("get$style").SVGFEComponentTransferElement = function() { return this.s tyle; };
2517 $dynamic("set$style").SVGFEComponentTransferElement = function(value) { return t his.style = value; };
2518 // ********** Code for dom_SVGFECompositeElement **************
2519 $dynamic("get$className").SVGFECompositeElement = function() { return this.class Name; };
2520 $dynamic("set$className").SVGFECompositeElement = function(value) { return this. className = value; };
2521 $dynamic("get$style").SVGFECompositeElement = function() { return this.style; };
2522 $dynamic("set$style").SVGFECompositeElement = function(value) { return this.styl e = value; };
2523 // ********** Code for SVGFEConvolveMatrixElement **************
2524 $dynamic("get$className").SVGFEConvolveMatrixElement = function() { return this. className; };
2525 $dynamic("set$className").SVGFEConvolveMatrixElement = function(value) { return this.className = value; };
2526 $dynamic("get$style").SVGFEConvolveMatrixElement = function() { return this.styl e; };
2527 $dynamic("set$style").SVGFEConvolveMatrixElement = function(value) { return this .style = value; };
2528 // ********** Code for SVGFEDiffuseLightingElement **************
2529 $dynamic("get$className").SVGFEDiffuseLightingElement = function() { return this .className; };
2530 $dynamic("set$className").SVGFEDiffuseLightingElement = function(value) { return this.className = value; };
2531 $dynamic("get$style").SVGFEDiffuseLightingElement = function() { return this.sty le; };
2532 $dynamic("set$style").SVGFEDiffuseLightingElement = function(value) { return thi s.style = value; };
2533 // ********** Code for SVGFEDisplacementMapElement **************
2534 $dynamic("get$className").SVGFEDisplacementMapElement = function() { return this .className; };
2535 $dynamic("set$className").SVGFEDisplacementMapElement = function(value) { return this.className = value; };
2536 $dynamic("get$style").SVGFEDisplacementMapElement = function() { return this.sty le; };
2537 $dynamic("set$style").SVGFEDisplacementMapElement = function(value) { return thi s.style = value; };
2538 // ********** Code for SVGFEDistantLightElement **************
2539 // ********** Code for SVGFEDropShadowElement **************
2540 $dynamic("get$className").SVGFEDropShadowElement = function() { return this.clas sName; };
2541 $dynamic("set$className").SVGFEDropShadowElement = function(value) { return this .className = value; };
2542 $dynamic("get$style").SVGFEDropShadowElement = function() { return this.style; } ;
2543 $dynamic("set$style").SVGFEDropShadowElement = function(value) { return this.sty le = value; };
2544 // ********** Code for SVGFEFloodElement **************
2545 $dynamic("get$className").SVGFEFloodElement = function() { return this.className ; };
2546 $dynamic("set$className").SVGFEFloodElement = function(value) { return this.clas sName = value; };
2547 $dynamic("get$style").SVGFEFloodElement = function() { return this.style; };
2548 $dynamic("set$style").SVGFEFloodElement = function(value) { return this.style = value; };
2549 // ********** Code for SVGFEFuncAElement **************
2550 // ********** Code for SVGFEFuncBElement **************
2551 // ********** Code for SVGFEFuncGElement **************
2552 // ********** Code for SVGFEFuncRElement **************
2553 // ********** Code for SVGFEGaussianBlurElement **************
2554 $dynamic("get$className").SVGFEGaussianBlurElement = function() { return this.cl assName; };
2555 $dynamic("set$className").SVGFEGaussianBlurElement = function(value) { return th is.className = value; };
2556 $dynamic("get$style").SVGFEGaussianBlurElement = function() { return this.style; };
2557 $dynamic("set$style").SVGFEGaussianBlurElement = function(value) { return this.s tyle = value; };
2558 // ********** Code for SVGFEImageElement **************
2559 $dynamic("get$className").SVGFEImageElement = function() { return this.className ; };
2560 $dynamic("set$className").SVGFEImageElement = function(value) { return this.clas sName = value; };
2561 $dynamic("get$style").SVGFEImageElement = function() { return this.style; };
2562 $dynamic("set$style").SVGFEImageElement = function(value) { return this.style = value; };
2563 // ********** Code for SVGFEMergeElement **************
2564 $dynamic("get$className").SVGFEMergeElement = function() { return this.className ; };
2565 $dynamic("set$className").SVGFEMergeElement = function(value) { return this.clas sName = value; };
2566 $dynamic("get$style").SVGFEMergeElement = function() { return this.style; };
2567 $dynamic("set$style").SVGFEMergeElement = function(value) { return this.style = value; };
2568 // ********** Code for SVGFEMergeNodeElement **************
2569 // ********** Code for dom_SVGFEMorphologyElement **************
2570 $dynamic("get$className").SVGFEMorphologyElement = function() { return this.clas sName; };
2571 $dynamic("set$className").SVGFEMorphologyElement = function(value) { return this .className = value; };
2572 $dynamic("get$style").SVGFEMorphologyElement = function() { return this.style; } ;
2573 $dynamic("set$style").SVGFEMorphologyElement = function(value) { return this.sty le = value; };
2574 // ********** Code for SVGFEOffsetElement **************
2575 $dynamic("get$className").SVGFEOffsetElement = function() { return this.classNam e; };
2576 $dynamic("set$className").SVGFEOffsetElement = function(value) { return this.cla ssName = value; };
2577 $dynamic("get$style").SVGFEOffsetElement = function() { return this.style; };
2578 $dynamic("set$style").SVGFEOffsetElement = function(value) { return this.style = value; };
2579 // ********** Code for SVGFEPointLightElement **************
2580 // ********** Code for SVGFESpecularLightingElement **************
2581 $dynamic("get$className").SVGFESpecularLightingElement = function() { return thi s.className; };
2582 $dynamic("set$className").SVGFESpecularLightingElement = function(value) { retur n this.className = value; };
2583 $dynamic("get$style").SVGFESpecularLightingElement = function() { return this.st yle; };
2584 $dynamic("set$style").SVGFESpecularLightingElement = function(value) { return th is.style = value; };
2585 // ********** Code for SVGFESpotLightElement **************
2586 // ********** Code for SVGFETileElement **************
2587 $dynamic("get$className").SVGFETileElement = function() { return this.className; };
2588 $dynamic("set$className").SVGFETileElement = function(value) { return this.class Name = value; };
2589 $dynamic("get$style").SVGFETileElement = function() { return this.style; };
2590 $dynamic("set$style").SVGFETileElement = function(value) { return this.style = v alue; };
2591 // ********** Code for SVGFETurbulenceElement **************
2592 $dynamic("get$className").SVGFETurbulenceElement = function() { return this.clas sName; };
2593 $dynamic("set$className").SVGFETurbulenceElement = function(value) { return this .className = value; };
2594 $dynamic("get$style").SVGFETurbulenceElement = function() { return this.style; } ;
2595 $dynamic("set$style").SVGFETurbulenceElement = function(value) { return this.sty le = value; };
2596 // ********** Code for SVGFilterElement **************
2597 $dynamic("get$className").SVGFilterElement = function() { return this.className; };
2598 $dynamic("set$className").SVGFilterElement = function(value) { return this.class Name = value; };
2599 $dynamic("get$style").SVGFilterElement = function() { return this.style; };
2600 $dynamic("set$style").SVGFilterElement = function(value) { return this.style = v alue; };
2601 // ********** Code for SVGFilterPrimitiveStandardAttributes **************
2602 // ********** Code for SVGFitToViewBox **************
2603 $dynamic("get$dartObjectLocalStorage").SVGFitToViewBox = function() { return thi s.dartObjectLocalStorage; };
2604 $dynamic("set$dartObjectLocalStorage").SVGFitToViewBox = function(value) { retur n this.dartObjectLocalStorage = value; };
2605 // ********** Code for SVGFontElement **************
2606 // ********** Code for SVGFontFaceElement **************
2607 // ********** Code for SVGFontFaceFormatElement **************
2608 // ********** Code for SVGFontFaceNameElement **************
2609 // ********** Code for SVGFontFaceSrcElement **************
2610 // ********** Code for SVGFontFaceUriElement **************
2611 // ********** Code for SVGForeignObjectElement **************
2612 $dynamic("get$className").SVGForeignObjectElement = function() { return this.cla ssName; };
2613 $dynamic("set$className").SVGForeignObjectElement = function(value) { return thi s.className = value; };
2614 $dynamic("get$style").SVGForeignObjectElement = function() { return this.style; };
2615 $dynamic("set$style").SVGForeignObjectElement = function(value) { return this.st yle = value; };
2616 // ********** Code for SVGGElement **************
2617 $dynamic("get$className").SVGGElement = function() { return this.className; };
2618 $dynamic("set$className").SVGGElement = function(value) { return this.className = value; };
2619 $dynamic("get$style").SVGGElement = function() { return this.style; };
2620 $dynamic("set$style").SVGGElement = function(value) { return this.style = value; };
2621 // ********** Code for SVGGlyphElement **************
2622 // ********** Code for SVGGlyphRefElement **************
2623 $dynamic("get$className").SVGGlyphRefElement = function() { return this.classNam e; };
2624 $dynamic("set$className").SVGGlyphRefElement = function(value) { return this.cla ssName = value; };
2625 $dynamic("get$style").SVGGlyphRefElement = function() { return this.style; };
2626 $dynamic("set$style").SVGGlyphRefElement = function(value) { return this.style = value; };
2627 // ********** Code for SVGGradientElement **************
2628 $dynamic("get$className").SVGGradientElement = function() { return this.classNam e; };
2629 $dynamic("set$className").SVGGradientElement = function(value) { return this.cla ssName = value; };
2630 $dynamic("get$style").SVGGradientElement = function() { return this.style; };
2631 $dynamic("set$style").SVGGradientElement = function(value) { return this.style = value; };
2632 // ********** Code for SVGHKernElement **************
2633 // ********** Code for SVGImageElement **************
2634 $dynamic("get$className").SVGImageElement = function() { return this.className; };
2635 $dynamic("set$className").SVGImageElement = function(value) { return this.classN ame = value; };
2636 $dynamic("get$style").SVGImageElement = function() { return this.style; };
2637 $dynamic("set$style").SVGImageElement = function(value) { return this.style = va lue; };
2638 // ********** Code for SVGLangSpace **************
2639 $dynamic("get$dartObjectLocalStorage").SVGLangSpace = function() { return this.d artObjectLocalStorage; };
2640 $dynamic("set$dartObjectLocalStorage").SVGLangSpace = function(value) { return t his.dartObjectLocalStorage = value; };
2641 // ********** Code for SVGLength **************
2642 $dynamic("get$value").SVGLength = function() { return this.value; };
2643 $dynamic("set$value").SVGLength = function(value) { return this.value = value; } ;
2644 $dynamic("get$dartObjectLocalStorage").SVGLength = function() { return this.dart ObjectLocalStorage; };
2645 $dynamic("set$dartObjectLocalStorage").SVGLength = function(value) { return this .dartObjectLocalStorage = value; };
2646 // ********** Code for SVGLengthList **************
2647 $dynamic("get$clear").SVGLengthList = function() {
2648 return this.clear.bind(this);
2649 }
2650 $dynamic("get$dartObjectLocalStorage").SVGLengthList = function() { return this. dartObjectLocalStorage; };
2651 $dynamic("set$dartObjectLocalStorage").SVGLengthList = function(value) { return this.dartObjectLocalStorage = value; };
2652 $dynamic("clear$0").SVGLengthList = function() {
2653 return this.clear();
2654 };
2655 // ********** Code for SVGLineElement **************
2656 $dynamic("get$className").SVGLineElement = function() { return this.className; } ;
2657 $dynamic("set$className").SVGLineElement = function(value) { return this.classNa me = value; };
2658 $dynamic("get$style").SVGLineElement = function() { return this.style; };
2659 $dynamic("set$style").SVGLineElement = function(value) { return this.style = val ue; };
2660 // ********** Code for SVGLinearGradientElement **************
2661 // ********** Code for SVGLocatable **************
2662 $dynamic("get$dartObjectLocalStorage").SVGLocatable = function() { return this.d artObjectLocalStorage; };
2663 $dynamic("set$dartObjectLocalStorage").SVGLocatable = function(value) { return t his.dartObjectLocalStorage = value; };
2664 // ********** Code for SVGMPathElement **************
2665 // ********** Code for SVGMarkerElement **************
2666 $dynamic("get$className").SVGMarkerElement = function() { return this.className; };
2667 $dynamic("set$className").SVGMarkerElement = function(value) { return this.class Name = value; };
2668 $dynamic("get$style").SVGMarkerElement = function() { return this.style; };
2669 $dynamic("set$style").SVGMarkerElement = function(value) { return this.style = v alue; };
2670 // ********** Code for SVGMaskElement **************
2671 $dynamic("get$className").SVGMaskElement = function() { return this.className; } ;
2672 $dynamic("set$className").SVGMaskElement = function(value) { return this.classNa me = value; };
2673 $dynamic("get$style").SVGMaskElement = function() { return this.style; };
2674 $dynamic("set$style").SVGMaskElement = function(value) { return this.style = val ue; };
2675 // ********** Code for SVGMatrix **************
2676 $dynamic("get$dartObjectLocalStorage").SVGMatrix = function() { return this.dart ObjectLocalStorage; };
2677 $dynamic("set$dartObjectLocalStorage").SVGMatrix = function(value) { return this .dartObjectLocalStorage = value; };
2678 // ********** Code for SVGMetadataElement **************
2679 // ********** Code for SVGMissingGlyphElement **************
2680 // ********** Code for SVGNumber **************
2681 $dynamic("get$value").SVGNumber = function() { return this.value; };
2682 $dynamic("set$value").SVGNumber = function(value) { return this.value = value; } ;
2683 $dynamic("get$dartObjectLocalStorage").SVGNumber = function() { return this.dart ObjectLocalStorage; };
2684 $dynamic("set$dartObjectLocalStorage").SVGNumber = function(value) { return this .dartObjectLocalStorage = value; };
2685 // ********** Code for SVGNumberList **************
2686 $dynamic("get$clear").SVGNumberList = function() {
2687 return this.clear.bind(this);
2688 }
2689 $dynamic("get$dartObjectLocalStorage").SVGNumberList = function() { return this. dartObjectLocalStorage; };
2690 $dynamic("set$dartObjectLocalStorage").SVGNumberList = function(value) { return this.dartObjectLocalStorage = value; };
2691 $dynamic("clear$0").SVGNumberList = function() {
2692 return this.clear();
2693 };
2694 // ********** Code for SVGPaint **************
2695 // ********** Code for SVGPathElement **************
2696 $dynamic("get$className").SVGPathElement = function() { return this.className; } ;
2697 $dynamic("set$className").SVGPathElement = function(value) { return this.classNa me = value; };
2698 $dynamic("get$style").SVGPathElement = function() { return this.style; };
2699 $dynamic("set$style").SVGPathElement = function(value) { return this.style = val ue; };
2700 // ********** Code for SVGPathSeg **************
2701 $dynamic("get$dartObjectLocalStorage").SVGPathSeg = function() { return this.dar tObjectLocalStorage; };
2702 $dynamic("set$dartObjectLocalStorage").SVGPathSeg = function(value) { return thi s.dartObjectLocalStorage = value; };
2703 // ********** Code for SVGPathSegArcAbs **************
2704 // ********** Code for SVGPathSegArcRel **************
2705 // ********** Code for SVGPathSegClosePath **************
2706 // ********** Code for SVGPathSegCurvetoCubicAbs **************
2707 // ********** Code for SVGPathSegCurvetoCubicRel **************
2708 // ********** Code for SVGPathSegCurvetoCubicSmoothAbs **************
2709 // ********** Code for SVGPathSegCurvetoCubicSmoothRel **************
2710 // ********** Code for SVGPathSegCurvetoQuadraticAbs **************
2711 // ********** Code for SVGPathSegCurvetoQuadraticRel **************
2712 // ********** Code for SVGPathSegCurvetoQuadraticSmoothAbs **************
2713 // ********** Code for SVGPathSegCurvetoQuadraticSmoothRel **************
2714 // ********** Code for SVGPathSegLinetoAbs **************
2715 // ********** Code for SVGPathSegLinetoHorizontalAbs **************
2716 // ********** Code for SVGPathSegLinetoHorizontalRel **************
2717 // ********** Code for SVGPathSegLinetoRel **************
2718 // ********** Code for SVGPathSegLinetoVerticalAbs **************
2719 // ********** Code for SVGPathSegLinetoVerticalRel **************
2720 // ********** Code for SVGPathSegList **************
2721 $dynamic("get$clear").SVGPathSegList = function() {
2722 return this.clear.bind(this);
2723 }
2724 $dynamic("get$dartObjectLocalStorage").SVGPathSegList = function() { return this .dartObjectLocalStorage; };
2725 $dynamic("set$dartObjectLocalStorage").SVGPathSegList = function(value) { return this.dartObjectLocalStorage = value; };
2726 $dynamic("clear$0").SVGPathSegList = function() {
2727 return this.clear();
2728 };
2729 // ********** Code for SVGPathSegMovetoAbs **************
2730 // ********** Code for SVGPathSegMovetoRel **************
2731 // ********** Code for SVGPatternElement **************
2732 $dynamic("get$className").SVGPatternElement = function() { return this.className ; };
2733 $dynamic("set$className").SVGPatternElement = function(value) { return this.clas sName = value; };
2734 $dynamic("get$style").SVGPatternElement = function() { return this.style; };
2735 $dynamic("set$style").SVGPatternElement = function(value) { return this.style = value; };
2736 // ********** Code for SVGPoint **************
2737 $dynamic("get$dartObjectLocalStorage").SVGPoint = function() { return this.dartO bjectLocalStorage; };
2738 $dynamic("set$dartObjectLocalStorage").SVGPoint = function(value) { return this. dartObjectLocalStorage = value; };
2739 // ********** Code for SVGPointList **************
2740 $dynamic("get$clear").SVGPointList = function() {
2741 return this.clear.bind(this);
2742 }
2743 $dynamic("get$dartObjectLocalStorage").SVGPointList = function() { return this.d artObjectLocalStorage; };
2744 $dynamic("set$dartObjectLocalStorage").SVGPointList = function(value) { return t his.dartObjectLocalStorage = value; };
2745 $dynamic("clear$0").SVGPointList = function() {
2746 return this.clear();
2747 };
2748 // ********** Code for SVGPolygonElement **************
2749 $dynamic("get$className").SVGPolygonElement = function() { return this.className ; };
2750 $dynamic("set$className").SVGPolygonElement = function(value) { return this.clas sName = value; };
2751 $dynamic("get$style").SVGPolygonElement = function() { return this.style; };
2752 $dynamic("set$style").SVGPolygonElement = function(value) { return this.style = value; };
2753 // ********** Code for SVGPolylineElement **************
2754 $dynamic("get$className").SVGPolylineElement = function() { return this.classNam e; };
2755 $dynamic("set$className").SVGPolylineElement = function(value) { return this.cla ssName = value; };
2756 $dynamic("get$style").SVGPolylineElement = function() { return this.style; };
2757 $dynamic("set$style").SVGPolylineElement = function(value) { return this.style = value; };
2758 // ********** Code for SVGPreserveAspectRatio **************
2759 $dynamic("get$dartObjectLocalStorage").SVGPreserveAspectRatio = function() { ret urn this.dartObjectLocalStorage; };
2760 $dynamic("set$dartObjectLocalStorage").SVGPreserveAspectRatio = function(value) { return this.dartObjectLocalStorage = value; };
2761 // ********** Code for SVGRadialGradientElement **************
2762 // ********** Code for SVGRect **************
2763 $dynamic("get$dartObjectLocalStorage").SVGRect = function() { return this.dartOb jectLocalStorage; };
2764 $dynamic("set$dartObjectLocalStorage").SVGRect = function(value) { return this.d artObjectLocalStorage = value; };
2765 // ********** Code for SVGRectElement **************
2766 $dynamic("get$className").SVGRectElement = function() { return this.className; } ;
2767 $dynamic("set$className").SVGRectElement = function(value) { return this.classNa me = value; };
2768 $dynamic("get$style").SVGRectElement = function() { return this.style; };
2769 $dynamic("set$style").SVGRectElement = function(value) { return this.style = val ue; };
2770 // ********** Code for SVGRenderingIntent **************
2771 $dynamic("get$dartObjectLocalStorage").SVGRenderingIntent = function() { return this.dartObjectLocalStorage; };
2772 $dynamic("set$dartObjectLocalStorage").SVGRenderingIntent = function(value) { re turn this.dartObjectLocalStorage = value; };
2773 // ********** Code for SVGSVGElement **************
2774 $dynamic("get$className").SVGSVGElement = function() { return this.className; };
2775 $dynamic("set$className").SVGSVGElement = function(value) { return this.classNam e = value; };
2776 $dynamic("get$style").SVGSVGElement = function() { return this.style; };
2777 $dynamic("set$style").SVGSVGElement = function(value) { return this.style = valu e; };
2778 // ********** Code for SVGScriptElement **************
2779 // ********** Code for SVGSetElement **************
2780 // ********** Code for SVGStopElement **************
2781 $dynamic("get$className").SVGStopElement = function() { return this.className; } ;
2782 $dynamic("set$className").SVGStopElement = function(value) { return this.classNa me = value; };
2783 $dynamic("get$style").SVGStopElement = function() { return this.style; };
2784 $dynamic("set$style").SVGStopElement = function(value) { return this.style = val ue; };
2785 // ********** Code for SVGStringList **************
2786 $dynamic("get$clear").SVGStringList = function() {
2787 return this.clear.bind(this);
2788 }
2789 $dynamic("get$dartObjectLocalStorage").SVGStringList = function() { return this. dartObjectLocalStorage; };
2790 $dynamic("set$dartObjectLocalStorage").SVGStringList = function(value) { return this.dartObjectLocalStorage = value; };
2791 $dynamic("clear$0").SVGStringList = function() {
2792 return this.clear();
2793 };
2794 // ********** Code for SVGStylable **************
2795 $dynamic("get$className").SVGStylable = function() { return this.className; };
2796 $dynamic("set$className").SVGStylable = function(value) { return this.className = value; };
2797 $dynamic("get$style").SVGStylable = function() { return this.style; };
2798 $dynamic("set$style").SVGStylable = function(value) { return this.style = value; };
2799 $dynamic("get$dartObjectLocalStorage").SVGStylable = function() { return this.da rtObjectLocalStorage; };
2800 $dynamic("set$dartObjectLocalStorage").SVGStylable = function(value) { return th is.dartObjectLocalStorage = value; };
2801 // ********** Code for SVGStyleElement **************
2802 // ********** Code for SVGSwitchElement **************
2803 $dynamic("get$className").SVGSwitchElement = function() { return this.className; };
2804 $dynamic("set$className").SVGSwitchElement = function(value) { return this.class Name = value; };
2805 $dynamic("get$style").SVGSwitchElement = function() { return this.style; };
2806 $dynamic("set$style").SVGSwitchElement = function(value) { return this.style = v alue; };
2807 // ********** Code for SVGSymbolElement **************
2808 $dynamic("get$className").SVGSymbolElement = function() { return this.className; };
2809 $dynamic("set$className").SVGSymbolElement = function(value) { return this.class Name = value; };
2810 $dynamic("get$style").SVGSymbolElement = function() { return this.style; };
2811 $dynamic("set$style").SVGSymbolElement = function(value) { return this.style = v alue; };
2812 // ********** Code for SVGTRefElement **************
2813 // ********** Code for SVGTSpanElement **************
2814 // ********** Code for SVGTests **************
2815 $dynamic("get$dartObjectLocalStorage").SVGTests = function() { return this.dartO bjectLocalStorage; };
2816 $dynamic("set$dartObjectLocalStorage").SVGTests = function(value) { return this. dartObjectLocalStorage = value; };
2817 // ********** Code for SVGTextContentElement **************
2818 $dynamic("get$className").SVGTextContentElement = function() { return this.class Name; };
2819 $dynamic("set$className").SVGTextContentElement = function(value) { return this. className = value; };
2820 $dynamic("get$style").SVGTextContentElement = function() { return this.style; };
2821 $dynamic("set$style").SVGTextContentElement = function(value) { return this.styl e = value; };
2822 // ********** Code for SVGTextElement **************
2823 // ********** Code for SVGTextPathElement **************
2824 // ********** Code for SVGTextPositioningElement **************
2825 // ********** Code for SVGTitleElement **************
2826 $dynamic("get$className").SVGTitleElement = function() { return this.className; };
2827 $dynamic("set$className").SVGTitleElement = function(value) { return this.classN ame = value; };
2828 $dynamic("get$style").SVGTitleElement = function() { return this.style; };
2829 $dynamic("set$style").SVGTitleElement = function(value) { return this.style = va lue; };
2830 // ********** Code for SVGTransform **************
2831 $dynamic("get$dartObjectLocalStorage").SVGTransform = function() { return this.d artObjectLocalStorage; };
2832 $dynamic("set$dartObjectLocalStorage").SVGTransform = function(value) { return t his.dartObjectLocalStorage = value; };
2833 // ********** Code for SVGTransformList **************
2834 $dynamic("get$clear").SVGTransformList = function() {
2835 return this.clear.bind(this);
2836 }
2837 $dynamic("get$dartObjectLocalStorage").SVGTransformList = function() { return th is.dartObjectLocalStorage; };
2838 $dynamic("set$dartObjectLocalStorage").SVGTransformList = function(value) { retu rn this.dartObjectLocalStorage = value; };
2839 $dynamic("clear$0").SVGTransformList = function() {
2840 return this.clear();
2841 };
2842 // ********** Code for SVGTransformable **************
2843 // ********** Code for SVGURIReference **************
2844 $dynamic("get$dartObjectLocalStorage").SVGURIReference = function() { return thi s.dartObjectLocalStorage; };
2845 $dynamic("set$dartObjectLocalStorage").SVGURIReference = function(value) { retur n this.dartObjectLocalStorage = value; };
2846 // ********** Code for SVGUnitTypes **************
2847 $dynamic("get$dartObjectLocalStorage").SVGUnitTypes = function() { return this.d artObjectLocalStorage; };
2848 $dynamic("set$dartObjectLocalStorage").SVGUnitTypes = function(value) { return t his.dartObjectLocalStorage = value; };
2849 // ********** Code for SVGUseElement **************
2850 $dynamic("get$className").SVGUseElement = function() { return this.className; };
2851 $dynamic("set$className").SVGUseElement = function(value) { return this.classNam e = value; };
2852 $dynamic("get$style").SVGUseElement = function() { return this.style; };
2853 $dynamic("set$style").SVGUseElement = function(value) { return this.style = valu e; };
2854 // ********** Code for SVGVKernElement **************
2855 // ********** Code for SVGViewElement **************
2856 // ********** Code for SVGViewSpec **************
2857 // ********** Code for SVGZoomAndPan **************
2858 $dynamic("get$dartObjectLocalStorage").SVGZoomAndPan = function() { return this. dartObjectLocalStorage; };
2859 $dynamic("set$dartObjectLocalStorage").SVGZoomAndPan = function(value) { return this.dartObjectLocalStorage = value; };
2860 // ********** Code for SVGZoomEvent **************
2861 // ********** Code for Screen **************
2862 $dynamic("get$dartObjectLocalStorage").Screen = function() { return this.dartObj ectLocalStorage; };
2863 $dynamic("set$dartObjectLocalStorage").Screen = function(value) { return this.da rtObjectLocalStorage = value; };
2864 // ********** Code for dom_ScriptProfile **************
2865 $dynamic("get$dartObjectLocalStorage").ScriptProfile = function() { return this. dartObjectLocalStorage; };
2866 $dynamic("set$dartObjectLocalStorage").ScriptProfile = function(value) { return this.dartObjectLocalStorage = value; };
2867 // ********** Code for dom_ScriptProfileNode **************
2868 $dynamic("get$children").ScriptProfileNode = function() { return this.children; };
2869 $dynamic("set$children").ScriptProfileNode = function(value) { return this.child ren = value; };
2870 $dynamic("get$dartObjectLocalStorage").ScriptProfileNode = function() { return t his.dartObjectLocalStorage; };
2871 $dynamic("set$dartObjectLocalStorage").ScriptProfileNode = function(value) { ret urn this.dartObjectLocalStorage = value; };
2872 // ********** Code for SharedWorker **************
2873 // ********** Code for dom_SharedWorkercontext **************
2874 $dynamic("get$name").SharedWorkercontext = function() { return this.name; };
2875 $dynamic("set$name").SharedWorkercontext = function(value) { return this.name = value; };
2876 // ********** Code for SpeechInputEvent **************
2877 // ********** Code for SpeechInputResult **************
2878 $dynamic("get$dartObjectLocalStorage").SpeechInputResult = function() { return t his.dartObjectLocalStorage; };
2879 $dynamic("set$dartObjectLocalStorage").SpeechInputResult = function(value) { ret urn this.dartObjectLocalStorage = value; };
2880 // ********** Code for SpeechInputResultList **************
2881 $dynamic("get$length").SpeechInputResultList = function() { return this.length; };
2882 $dynamic("set$length").SpeechInputResultList = function(value) { return this.len gth = value; };
2883 $dynamic("get$dartObjectLocalStorage").SpeechInputResultList = function() { retu rn this.dartObjectLocalStorage; };
2884 $dynamic("set$dartObjectLocalStorage").SpeechInputResultList = function(value) { return this.dartObjectLocalStorage = value; };
2885 $dynamic("item$1").SpeechInputResultList = function($0) {
2886 return this.item($0);
2887 };
2888 // ********** Code for Storage **************
2889 $dynamic("get$length").Storage = function() { return this.length; };
2890 $dynamic("set$length").Storage = function(value) { return this.length = value; } ;
2891 $dynamic("get$clear").Storage = function() {
2892 return this.clear.bind(this);
2893 }
2894 $dynamic("get$dartObjectLocalStorage").Storage = function() {
2895
2896 if (this === window.localStorage)
2897 return window._dartLocalStorageLocalStorage;
2898 else if (this === window.sessionStorage)
2899 return window._dartSessionStorageLocalStorage;
2900 else
2901 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f or unknown Storage object.');
2902
2903 }
2904 $dynamic("set$dartObjectLocalStorage").Storage = function(value) {
2905
2906 if (this === window.localStorage)
2907 window._dartLocalStorageLocalStorage = value;
2908 else if (this === window.sessionStorage)
2909 window._dartSessionStorageLocalStorage = value;
2910 else
2911 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f or unknown Storage object.');
2912
2913 }
2914 $dynamic("clear$0").Storage = function() {
2915 return this.clear();
2916 };
2917 // ********** Code for StorageEvent **************
2918 // ********** Code for StorageInfo **************
2919 $dynamic("get$dartObjectLocalStorage").StorageInfo = function() { return this.da rtObjectLocalStorage; };
2920 $dynamic("set$dartObjectLocalStorage").StorageInfo = function(value) { return th is.dartObjectLocalStorage = value; };
2921 // ********** Code for StyleMedia **************
2922 $dynamic("get$dartObjectLocalStorage").StyleMedia = function() { return this.dar tObjectLocalStorage; };
2923 $dynamic("set$dartObjectLocalStorage").StyleMedia = function(value) { return thi s.dartObjectLocalStorage = value; };
2924 // ********** Code for StyleSheet **************
2925 $dynamic("get$dartObjectLocalStorage").StyleSheet = function() { return this.dar tObjectLocalStorage; };
2926 $dynamic("set$dartObjectLocalStorage").StyleSheet = function(value) { return thi s.dartObjectLocalStorage = value; };
2927 // ********** Code for StyleSheetList **************
2928 $dynamic("get$length").StyleSheetList = function() { return this.length; };
2929 $dynamic("set$length").StyleSheetList = function(value) { return this.length = v alue; };
2930 $dynamic("$setindex").StyleSheetList = function(index, value) {
2931 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2932 }
2933 $dynamic("get$dartObjectLocalStorage").StyleSheetList = function() { return this .dartObjectLocalStorage; };
2934 $dynamic("set$dartObjectLocalStorage").StyleSheetList = function(value) { return this.dartObjectLocalStorage = value; };
2935 $dynamic("item$1").StyleSheetList = function($0) {
2936 return this.item($0);
2937 };
2938 // ********** Code for Text **************
2939 // ********** Code for TextEvent **************
2940 // ********** Code for TextMetrics **************
2941 $dynamic("get$dartObjectLocalStorage").TextMetrics = function() { return this.da rtObjectLocalStorage; };
2942 $dynamic("set$dartObjectLocalStorage").TextMetrics = function(value) { return th is.dartObjectLocalStorage = value; };
2943 // ********** Code for TextTrack **************
2944 $dynamic("get$dartObjectLocalStorage").TextTrack = function() { return this.dart ObjectLocalStorage; };
2945 $dynamic("set$dartObjectLocalStorage").TextTrack = function(value) { return this .dartObjectLocalStorage = value; };
2946 $dynamic("addEventListener$3").TextTrack = function($0, $1, $2) {
2947 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2948 };
2949 // ********** Code for TextTrackCue **************
2950 $dynamic("get$id").TextTrackCue = function() { return this.id; };
2951 $dynamic("set$id").TextTrackCue = function(value) { return this.id = value; };
2952 $dynamic("get$dartObjectLocalStorage").TextTrackCue = function() { return this.d artObjectLocalStorage; };
2953 $dynamic("set$dartObjectLocalStorage").TextTrackCue = function(value) { return t his.dartObjectLocalStorage = value; };
2954 $dynamic("addEventListener$3").TextTrackCue = function($0, $1, $2) {
2955 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2956 };
2957 // ********** Code for TextTrackCueList **************
2958 $dynamic("get$length").TextTrackCueList = function() { return this.length; };
2959 $dynamic("set$length").TextTrackCueList = function(value) { return this.length = value; };
2960 $dynamic("get$dartObjectLocalStorage").TextTrackCueList = function() { return th is.dartObjectLocalStorage; };
2961 $dynamic("set$dartObjectLocalStorage").TextTrackCueList = function(value) { retu rn this.dartObjectLocalStorage = value; };
2962 $dynamic("item$1").TextTrackCueList = function($0) {
2963 return this.item($0);
2964 };
2965 // ********** Code for dom_TextTrackList **************
2966 $dynamic("get$length").TextTrackList = function() { return this.length; };
2967 $dynamic("set$length").TextTrackList = function(value) { return this.length = va lue; };
2968 $dynamic("get$dartObjectLocalStorage").TextTrackList = function() { return this. dartObjectLocalStorage; };
2969 $dynamic("set$dartObjectLocalStorage").TextTrackList = function(value) { return this.dartObjectLocalStorage = value; };
2970 $dynamic("addEventListener$3").TextTrackList = function($0, $1, $2) {
2971 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2972 };
2973 $dynamic("item$1").TextTrackList = function($0) {
2974 return this.item($0);
2975 };
2976 // ********** Code for TimeRanges **************
2977 $dynamic("get$length").TimeRanges = function() { return this.length; };
2978 $dynamic("set$length").TimeRanges = function(value) { return this.length = value ; };
2979 $dynamic("get$dartObjectLocalStorage").TimeRanges = function() { return this.dar tObjectLocalStorage; };
2980 $dynamic("set$dartObjectLocalStorage").TimeRanges = function(value) { return thi s.dartObjectLocalStorage = value; };
2981 // ********** Code for Touch **************
2982 $dynamic("get$target").Touch = function() { return this.target; };
2983 $dynamic("set$target").Touch = function(value) { return this.target = value; };
2984 $dynamic("get$dartObjectLocalStorage").Touch = function() { return this.dartObje ctLocalStorage; };
2985 $dynamic("set$dartObjectLocalStorage").Touch = function(value) { return this.dar tObjectLocalStorage = value; };
2986 // ********** Code for TouchEvent **************
2987 // ********** Code for TouchList **************
2988 $dynamic("get$length").TouchList = function() { return this.length; };
2989 $dynamic("set$length").TouchList = function(value) { return this.length = value; };
2990 $dynamic("$setindex").TouchList = function(index, value) {
2991 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2992 }
2993 $dynamic("get$dartObjectLocalStorage").TouchList = function() { return this.dart ObjectLocalStorage; };
2994 $dynamic("set$dartObjectLocalStorage").TouchList = function(value) { return this .dartObjectLocalStorage = value; };
2995 $dynamic("item$1").TouchList = function($0) {
2996 return this.item($0);
2997 };
2998 // ********** Code for dom_TrackEvent **************
2999 // ********** Code for dom_TreeWalker **************
3000 $dynamic("get$firstChild").TreeWalker = function() {
3001 return this.firstChild.bind(this);
3002 }
3003 $dynamic("get$parentNode").TreeWalker = function() {
3004 return this.parentNode.bind(this);
3005 }
3006 $dynamic("get$dartObjectLocalStorage").TreeWalker = function() { return this.dar tObjectLocalStorage; };
3007 $dynamic("set$dartObjectLocalStorage").TreeWalker = function(value) { return thi s.dartObjectLocalStorage = value; };
3008 $dynamic("filter$1").TreeWalker = function($0) {
3009 return this.filter.call$1($0);
3010 };
3011 // ********** Code for UIEvent **************
3012 // ********** Code for Uint16Array **************
3013 $dynamic("get$length").Uint16Array = function() { return this.length; };
3014 $dynamic("set$length").Uint16Array = function(value) { return this.length = valu e; };
3015 // ********** Code for Uint32Array **************
3016 $dynamic("get$length").Uint32Array = function() { return this.length; };
3017 $dynamic("set$length").Uint32Array = function(value) { return this.length = valu e; };
3018 // ********** Code for Uint8Array **************
3019 $dynamic("get$length").Uint8Array = function() { return this.length; };
3020 $dynamic("set$length").Uint8Array = function(value) { return this.length = value ; };
3021 // ********** Code for ValidityState **************
3022 $dynamic("get$dartObjectLocalStorage").ValidityState = function() { return this. dartObjectLocalStorage; };
3023 $dynamic("set$dartObjectLocalStorage").ValidityState = function(value) { return this.dartObjectLocalStorage = value; };
3024 // ********** Code for WaveShaperNode **************
3025 // ********** Code for WebGLActiveInfo **************
3026 $dynamic("get$name").WebGLActiveInfo = function() { return this.name; };
3027 $dynamic("set$name").WebGLActiveInfo = function(value) { return this.name = valu e; };
3028 $dynamic("get$dartObjectLocalStorage").WebGLActiveInfo = function() { return thi s.dartObjectLocalStorage; };
3029 $dynamic("set$dartObjectLocalStorage").WebGLActiveInfo = function(value) { retur n this.dartObjectLocalStorage = value; };
3030 // ********** Code for WebGLBuffer **************
3031 $dynamic("get$dartObjectLocalStorage").WebGLBuffer = function() { return this.da rtObjectLocalStorage; };
3032 $dynamic("set$dartObjectLocalStorage").WebGLBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
3033 // ********** Code for dom_WebGLCompressedTextures **************
3034 $dynamic("get$dartObjectLocalStorage").WebGLCompressedTextures = function() { re turn this.dartObjectLocalStorage; };
3035 $dynamic("set$dartObjectLocalStorage").WebGLCompressedTextures = function(value) { return this.dartObjectLocalStorage = value; };
3036 // ********** Code for WebGLContextAttributes **************
3037 $dynamic("get$dartObjectLocalStorage").WebGLContextAttributes = function() { ret urn this.dartObjectLocalStorage; };
3038 $dynamic("set$dartObjectLocalStorage").WebGLContextAttributes = function(value) { return this.dartObjectLocalStorage = value; };
3039 // ********** Code for WebGLContextEvent **************
3040 // ********** Code for WebGLDebugRendererInfo **************
3041 $dynamic("get$dartObjectLocalStorage").WebGLDebugRendererInfo = function() { ret urn this.dartObjectLocalStorage; };
3042 $dynamic("set$dartObjectLocalStorage").WebGLDebugRendererInfo = function(value) { return this.dartObjectLocalStorage = value; };
3043 // ********** Code for WebGLDebugShaders **************
3044 $dynamic("get$dartObjectLocalStorage").WebGLDebugShaders = function() { return t his.dartObjectLocalStorage; };
3045 $dynamic("set$dartObjectLocalStorage").WebGLDebugShaders = function(value) { ret urn this.dartObjectLocalStorage = value; };
3046 // ********** Code for WebGLFramebuffer **************
3047 $dynamic("get$dartObjectLocalStorage").WebGLFramebuffer = function() { return th is.dartObjectLocalStorage; };
3048 $dynamic("set$dartObjectLocalStorage").WebGLFramebuffer = function(value) { retu rn this.dartObjectLocalStorage = value; };
3049 // ********** Code for dom_WebGLLoseContext **************
3050 $dynamic("get$dartObjectLocalStorage").WebGLLoseContext = function() { return th is.dartObjectLocalStorage; };
3051 $dynamic("set$dartObjectLocalStorage").WebGLLoseContext = function(value) { retu rn this.dartObjectLocalStorage = value; };
3052 // ********** Code for WebGLProgram **************
3053 $dynamic("get$dartObjectLocalStorage").WebGLProgram = function() { return this.d artObjectLocalStorage; };
3054 $dynamic("set$dartObjectLocalStorage").WebGLProgram = function(value) { return t his.dartObjectLocalStorage = value; };
3055 // ********** Code for WebGLRenderbuffer **************
3056 $dynamic("get$dartObjectLocalStorage").WebGLRenderbuffer = function() { return t his.dartObjectLocalStorage; };
3057 $dynamic("set$dartObjectLocalStorage").WebGLRenderbuffer = function(value) { ret urn this.dartObjectLocalStorage = value; };
3058 // ********** Code for WebGLRenderingContext **************
3059 $dynamic("get$clear").WebGLRenderingContext = function() {
3060 return this.clear.bind(this);
3061 }
3062 // ********** Code for WebGLShader **************
3063 $dynamic("get$dartObjectLocalStorage").WebGLShader = function() { return this.da rtObjectLocalStorage; };
3064 $dynamic("set$dartObjectLocalStorage").WebGLShader = function(value) { return th is.dartObjectLocalStorage = value; };
3065 // ********** Code for WebGLTexture **************
3066 $dynamic("get$dartObjectLocalStorage").WebGLTexture = function() { return this.d artObjectLocalStorage; };
3067 $dynamic("set$dartObjectLocalStorage").WebGLTexture = function(value) { return t his.dartObjectLocalStorage = value; };
3068 // ********** Code for WebGLUniformLocation **************
3069 $dynamic("get$dartObjectLocalStorage").WebGLUniformLocation = function() { retur n this.dartObjectLocalStorage; };
3070 $dynamic("set$dartObjectLocalStorage").WebGLUniformLocation = function(value) { return this.dartObjectLocalStorage = value; };
3071 // ********** Code for WebGLVertexArrayObjectOES **************
3072 $dynamic("get$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function() { return this.dartObjectLocalStorage; };
3073 $dynamic("set$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function(valu e) { return this.dartObjectLocalStorage = value; };
3074 // ********** Code for dom_WebKitAnimation **************
3075 $dynamic("get$name").WebKitAnimation = function() { return this.name; };
3076 $dynamic("set$name").WebKitAnimation = function(value) { return this.name = valu e; };
3077 $dynamic("get$dartObjectLocalStorage").WebKitAnimation = function() { return thi s.dartObjectLocalStorage; };
3078 $dynamic("set$dartObjectLocalStorage").WebKitAnimation = function(value) { retur n this.dartObjectLocalStorage = value; };
3079 // ********** Code for dom_WebKitAnimationEvent **************
3080 // ********** Code for dom_WebKitAnimationList **************
3081 $dynamic("get$length").WebKitAnimationList = function() { return this.length; };
3082 $dynamic("set$length").WebKitAnimationList = function(value) { return this.lengt h = value; };
3083 $dynamic("get$dartObjectLocalStorage").WebKitAnimationList = function() { return this.dartObjectLocalStorage; };
3084 $dynamic("set$dartObjectLocalStorage").WebKitAnimationList = function(value) { r eturn this.dartObjectLocalStorage = value; };
3085 $dynamic("item$1").WebKitAnimationList = function($0) {
3086 return this.item($0);
3087 };
3088 // ********** Code for dom_WebKitBlobBuilder **************
3089 $dynamic("get$dartObjectLocalStorage").WebKitBlobBuilder = function() { return t his.dartObjectLocalStorage; };
3090 $dynamic("set$dartObjectLocalStorage").WebKitBlobBuilder = function(value) { ret urn this.dartObjectLocalStorage = value; };
3091 // ********** Code for WebKitCSSFilterValue **************
3092 // ********** Code for dom_WebKitCSSKeyframeRule **************
3093 $dynamic("get$style").WebKitCSSKeyframeRule = function() { return this.style; };
3094 $dynamic("set$style").WebKitCSSKeyframeRule = function(value) { return this.styl e = value; };
3095 // ********** Code for dom_WebKitCSSKeyframesRule **************
3096 $dynamic("get$name").WebKitCSSKeyframesRule = function() { return this.name; };
3097 $dynamic("set$name").WebKitCSSKeyframesRule = function(value) { return this.name = value; };
3098 // ********** Code for dom_WebKitCSSMatrix **************
3099 $dynamic("get$dartObjectLocalStorage").WebKitCSSMatrix = function() { return thi s.dartObjectLocalStorage; };
3100 $dynamic("set$dartObjectLocalStorage").WebKitCSSMatrix = function(value) { retur n this.dartObjectLocalStorage = value; };
3101 $dynamic("toString$0").WebKitCSSMatrix = function() {
3102 return this.toString();
3103 };
3104 // ********** Code for dom_WebKitCSSTransformValue **************
3105 // ********** Code for WebKitMutationObserver **************
3106 $dynamic("get$dartObjectLocalStorage").WebKitMutationObserver = function() { ret urn this.dartObjectLocalStorage; };
3107 $dynamic("set$dartObjectLocalStorage").WebKitMutationObserver = function(value) { return this.dartObjectLocalStorage = value; };
3108 // ********** Code for dom_WebKitNamedFlow **************
3109 $dynamic("get$dartObjectLocalStorage").WebKitNamedFlow = function() { return thi s.dartObjectLocalStorage; };
3110 $dynamic("set$dartObjectLocalStorage").WebKitNamedFlow = function(value) { retur n this.dartObjectLocalStorage = value; };
3111 // ********** Code for dom_WebKitPoint **************
3112 $dynamic("get$dartObjectLocalStorage").WebKitPoint = function() { return this.da rtObjectLocalStorage; };
3113 $dynamic("set$dartObjectLocalStorage").WebKitPoint = function(value) { return th is.dartObjectLocalStorage = value; };
3114 // ********** Code for dom_WebKitTransitionEvent **************
3115 // ********** Code for WebSocket **************
3116 $dynamic("get$dartObjectLocalStorage").WebSocket = function() { return this.dart ObjectLocalStorage; };
3117 $dynamic("set$dartObjectLocalStorage").WebSocket = function(value) { return this .dartObjectLocalStorage = value; };
3118 $dynamic("addEventListener$3").WebSocket = function($0, $1, $2) {
3119 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3120 };
3121 // ********** Code for WheelEvent **************
3122 // ********** Code for Worker **************
3123 // ********** Code for dom_WorkerContext **************
3124 $dynamic("get$dartObjectLocalStorage").WorkerContext = function() { return this. dartObjectLocalStorage; };
3125 $dynamic("set$dartObjectLocalStorage").WorkerContext = function(value) { return this.dartObjectLocalStorage = value; };
3126 $dynamic("addEventListener$3").WorkerContext = function($0, $1, $2) {
3127 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3128 };
3129 // ********** Code for dom_WorkerLocation **************
3130 $dynamic("get$dartObjectLocalStorage").WorkerLocation = function() { return this .dartObjectLocalStorage; };
3131 $dynamic("set$dartObjectLocalStorage").WorkerLocation = function(value) { return this.dartObjectLocalStorage = value; };
3132 $dynamic("toString$0").WorkerLocation = function() {
3133 return this.toString();
3134 };
3135 // ********** Code for dom_WorkerNavigator **************
3136 $dynamic("get$dartObjectLocalStorage").WorkerNavigator = function() { return thi s.dartObjectLocalStorage; };
3137 $dynamic("set$dartObjectLocalStorage").WorkerNavigator = function(value) { retur n this.dartObjectLocalStorage = value; };
3138 // ********** Code for XMLHttpRequest **************
3139 $dynamic("get$dartObjectLocalStorage").XMLHttpRequest = function() { return this .dartObjectLocalStorage; };
3140 $dynamic("set$dartObjectLocalStorage").XMLHttpRequest = function(value) { return this.dartObjectLocalStorage = value; };
3141 $dynamic("addEventListener$3").XMLHttpRequest = function($0, $1, $2) {
3142 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3143 };
3144 // ********** Code for XMLHttpRequestException **************
3145 $dynamic("get$name").XMLHttpRequestException = function() { return this.name; };
3146 $dynamic("set$name").XMLHttpRequestException = function(value) { return this.nam e = value; };
3147 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestException = function() { re turn this.dartObjectLocalStorage; };
3148 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestException = function(value) { return this.dartObjectLocalStorage = value; };
3149 $dynamic("toString$0").XMLHttpRequestException = function() {
3150 return this.toString();
3151 };
3152 // ********** Code for XMLHttpRequestProgressEvent **************
3153 // ********** Code for XMLHttpRequestUpload **************
3154 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestUpload = function() { retur n this.dartObjectLocalStorage; };
3155 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestUpload = function(value) { return this.dartObjectLocalStorage = value; };
3156 $dynamic("addEventListener$3").XMLHttpRequestUpload = function($0, $1, $2) {
3157 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3158 };
3159 // ********** Code for dom_XMLSerializer **************
3160 $dynamic("get$dartObjectLocalStorage").XMLSerializer = function() { return this. dartObjectLocalStorage; };
3161 $dynamic("set$dartObjectLocalStorage").XMLSerializer = function(value) { return this.dartObjectLocalStorage = value; };
3162 // ********** Code for dom_XPathEvaluator **************
3163 $dynamic("get$dartObjectLocalStorage").XPathEvaluator = function() { return this .dartObjectLocalStorage; };
3164 $dynamic("set$dartObjectLocalStorage").XPathEvaluator = function(value) { return this.dartObjectLocalStorage = value; };
3165 // ********** Code for dom_XPathException **************
3166 $dynamic("get$name").XPathException = function() { return this.name; };
3167 $dynamic("set$name").XPathException = function(value) { return this.name = value ; };
3168 $dynamic("get$dartObjectLocalStorage").XPathException = function() { return this .dartObjectLocalStorage; };
3169 $dynamic("set$dartObjectLocalStorage").XPathException = function(value) { return this.dartObjectLocalStorage = value; };
3170 $dynamic("toString$0").XPathException = function() {
3171 return this.toString();
3172 };
3173 // ********** Code for dom_XPathExpression **************
3174 $dynamic("get$dartObjectLocalStorage").XPathExpression = function() { return thi s.dartObjectLocalStorage; };
3175 $dynamic("set$dartObjectLocalStorage").XPathExpression = function(value) { retur n this.dartObjectLocalStorage = value; };
3176 // ********** Code for dom_XPathNSResolver **************
3177 $dynamic("get$dartObjectLocalStorage").XPathNSResolver = function() { return thi s.dartObjectLocalStorage; };
3178 $dynamic("set$dartObjectLocalStorage").XPathNSResolver = function(value) { retur n this.dartObjectLocalStorage = value; };
3179 // ********** Code for dom_XPathResult **************
3180 $dynamic("get$dartObjectLocalStorage").XPathResult = function() { return this.da rtObjectLocalStorage; };
3181 $dynamic("set$dartObjectLocalStorage").XPathResult = function(value) { return th is.dartObjectLocalStorage = value; };
3182 // ********** Code for dom_XSLTProcessor **************
3183 $dynamic("get$dartObjectLocalStorage").XSLTProcessor = function() { return this. dartObjectLocalStorage; };
3184 $dynamic("set$dartObjectLocalStorage").XSLTProcessor = function(value) { return this.dartObjectLocalStorage = value; };
3185 // ********** Code for dom__Collections **************
3186 function dom__Collections() {}
3187 // ********** Code for _VariableSizeListIterator_T **************
3188 $inherits(_VariableSizeListIterator_T, dom__VariableSizeListIterator);
3189 function _VariableSizeListIterator_T() {}
3190 // ********** Code for dom__FixedSizeListIterator **************
3191 $inherits(dom__FixedSizeListIterator, _VariableSizeListIterator_T);
3192 function dom__FixedSizeListIterator() {}
3193 dom__FixedSizeListIterator.prototype.hasNext = function() {
3194 return this._dom_length > this._dom_pos;
3195 }
3196 dom__FixedSizeListIterator.prototype.hasNext$0 = dom__FixedSizeListIterator.prot otype.hasNext;
3197 // ********** Code for dom__VariableSizeListIterator **************
3198 function dom__VariableSizeListIterator() {}
3199 dom__VariableSizeListIterator.prototype.hasNext = function() {
3200 return this._dom_array.get$length() > this._dom_pos;
3201 }
3202 dom__VariableSizeListIterator.prototype.next = function() {
3203 if (!this.hasNext()) {
3204 $throw(const$0005);
3205 }
3206 return this._dom_array.$index(this._dom_pos++);
3207 }
3208 dom__VariableSizeListIterator.prototype.hasNext$0 = dom__VariableSizeListIterato r.prototype.hasNext;
3209 dom__VariableSizeListIterator.prototype.next$0 = dom__VariableSizeListIterator.p rototype.next;
3210 // ********** Code for _Lists **************
3211 function _Lists() {}
3212 // ********** Code for top level **************
3213 function get$window() {
3214 return window;
3215 }
3216 function get$document() {
3217 return window.document;
3218 }
3219 // ********** Library htmlimpl **************
3220 // ********** Code for DOMWrapperBase **************
3221 function DOMWrapperBase() {}
3222 DOMWrapperBase._wrap$ctor = function(_ptr) {
3223 this._ptr = _ptr;
3224 this._ptr.set$dartObjectLocalStorage(this);
3225 }
3226 DOMWrapperBase._wrap$ctor.prototype = DOMWrapperBase.prototype;
3227 DOMWrapperBase.prototype.get$_ptr = function() { return this._ptr; };
3228 // ********** Code for EventTargetWrappingImplementation **************
3229 $inherits(EventTargetWrappingImplementation, DOMWrapperBase);
3230 function EventTargetWrappingImplementation() {}
3231 EventTargetWrappingImplementation._wrap$ctor = function(ptr) {
3232 DOMWrapperBase._wrap$ctor.call(this, ptr);
3233 }
3234 EventTargetWrappingImplementation._wrap$ctor.prototype = EventTargetWrappingImpl ementation.prototype;
3235 // ********** Code for NodeWrappingImplementation **************
3236 $inherits(NodeWrappingImplementation, EventTargetWrappingImplementation);
3237 function NodeWrappingImplementation() {}
3238 NodeWrappingImplementation._wrap$ctor = function(ptr) {
3239 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
3240 }
3241 NodeWrappingImplementation._wrap$ctor.prototype = NodeWrappingImplementation.pro totype;
3242 NodeWrappingImplementation.prototype.get$nodes = function() {
3243 if (this._nodes == null) {
3244 this._nodes = new _ChildrenNodeList._wrap$ctor(this._ptr);
3245 }
3246 return this._nodes;
3247 }
3248 NodeWrappingImplementation.prototype.replaceWith = function(otherNode) {
3249 try {
3250 this._ptr.get$parentNode().replaceChild$2(LevelDom.unwrap(otherNode), this._ ptr);
3251 } catch (e) {
3252 e = _toDartException(e);
3253 }
3254 return this;
3255 }
3256 // ********** Code for ElementWrappingImplementation **************
3257 $inherits(ElementWrappingImplementation, NodeWrappingImplementation);
3258 function ElementWrappingImplementation() {}
3259 ElementWrappingImplementation._wrap$ctor = function(ptr) {
3260 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3261 }
3262 ElementWrappingImplementation._wrap$ctor.prototype = ElementWrappingImplementati on.prototype;
3263 ElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
3264 ElementWrappingImplementation.ElementWrappingImplementation$tag$factory = functi on(tag) {
3265 return LevelDom.wrapElement(get$document().createElement(tag));
3266 }
3267 ElementWrappingImplementation.prototype.get$attributes = function() {
3268 if (this._elementAttributeMap == null) {
3269 this._elementAttributeMap = new ElementAttributeMap._wrap$ctor(this._ptr);
3270 }
3271 return this._elementAttributeMap;
3272 }
3273 ElementWrappingImplementation.prototype.get$elements = function() {
3274 if (this._elements == null) {
3275 this._elements = new _ChildrenElementList._wrap$ctor(this._ptr);
3276 }
3277 return this._elements;
3278 }
3279 ElementWrappingImplementation.prototype.get$classes = function() {
3280 if (this._cssClassSet == null) {
3281 this._cssClassSet = new _CssClassSet(this._ptr);
3282 }
3283 return this._cssClassSet;
3284 }
3285 ElementWrappingImplementation.prototype.set$classes = function(value) {
3286 var classSet = this.get$classes();
3287 classSet.clear();
3288 classSet.addAll(value);
3289 }
3290 ElementWrappingImplementation.prototype.get$firstElementChild = function() {
3291 return LevelDom.wrapElement(this._ptr.get$firstElementChild());
3292 }
3293 ElementWrappingImplementation.prototype.get$id = function() {
3294 return this._ptr.get$id();
3295 }
3296 ElementWrappingImplementation.prototype.set$innerHTML = function(value) {
3297 this._ptr.set$innerHTML(value);
3298 }
3299 ElementWrappingImplementation.prototype.get$style = function() {
3300 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
3301 }
3302 ElementWrappingImplementation.prototype.query = function(selectors) {
3303 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors));
3304 }
3305 ElementWrappingImplementation.prototype.queryAll = function(selectors) {
3306 return new FrozenElementList._wrap$ctor(this._ptr.querySelectorAll$1(selectors ));
3307 }
3308 ElementWrappingImplementation.prototype.get$on = function() {
3309 if (this._on == null) {
3310 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr);
3311 }
3312 return this._on;
3313 }
3314 // ********** Code for AnchorElementWrappingImplementation **************
3315 $inherits(AnchorElementWrappingImplementation, ElementWrappingImplementation);
3316 function AnchorElementWrappingImplementation() {}
3317 AnchorElementWrappingImplementation._wrap$ctor = function(ptr) {
3318 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3319 }
3320 AnchorElementWrappingImplementation._wrap$ctor.prototype = AnchorElementWrapping Implementation.prototype;
3321 AnchorElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3322 AnchorElementWrappingImplementation.prototype.get$name = function() {
3323 return this._ptr.get$name();
3324 }
3325 AnchorElementWrappingImplementation.prototype.get$target = function() {
3326 return this._ptr.get$target();
3327 }
3328 AnchorElementWrappingImplementation.prototype.toString = function() {
3329 return this._ptr.toString$0();
3330 }
3331 AnchorElementWrappingImplementation.prototype.toString$0 = AnchorElementWrapping Implementation.prototype.toString;
3332 // ********** Code for AreaElementWrappingImplementation **************
3333 $inherits(AreaElementWrappingImplementation, ElementWrappingImplementation);
3334 function AreaElementWrappingImplementation() {}
3335 AreaElementWrappingImplementation._wrap$ctor = function(ptr) {
3336 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3337 }
3338 AreaElementWrappingImplementation._wrap$ctor.prototype = AreaElementWrappingImpl ementation.prototype;
3339 AreaElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3340 AreaElementWrappingImplementation.prototype.get$target = function() {
3341 return this._ptr.get$target();
3342 }
3343 // ********** Code for MediaElementWrappingImplementation **************
3344 $inherits(MediaElementWrappingImplementation, ElementWrappingImplementation);
3345 function MediaElementWrappingImplementation() {}
3346 MediaElementWrappingImplementation._wrap$ctor = function(ptr) {
3347 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3348 }
3349 MediaElementWrappingImplementation._wrap$ctor.prototype = MediaElementWrappingIm plementation.prototype;
3350 MediaElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3351 // ********** Code for AudioElementWrappingImplementation **************
3352 $inherits(AudioElementWrappingImplementation, MediaElementWrappingImplementation );
3353 function AudioElementWrappingImplementation() {}
3354 AudioElementWrappingImplementation._wrap$ctor = function(ptr) {
3355 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
3356 }
3357 AudioElementWrappingImplementation._wrap$ctor.prototype = AudioElementWrappingIm plementation.prototype;
3358 AudioElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3359 // ********** Code for EventWrappingImplementation **************
3360 $inherits(EventWrappingImplementation, DOMWrapperBase);
3361 function EventWrappingImplementation() {}
3362 EventWrappingImplementation._wrap$ctor = function(ptr) {
3363 DOMWrapperBase._wrap$ctor.call(this, ptr);
3364 }
3365 EventWrappingImplementation._wrap$ctor.prototype = EventWrappingImplementation.p rototype;
3366 EventWrappingImplementation.prototype.get$target = function() {
3367 return LevelDom.wrapEventTarget(this._ptr.get$target());
3368 }
3369 // ********** Code for AudioProcessingEventWrappingImplementation **************
3370 $inherits(AudioProcessingEventWrappingImplementation, EventWrappingImplementatio n);
3371 function AudioProcessingEventWrappingImplementation() {}
3372 AudioProcessingEventWrappingImplementation._wrap$ctor = function(ptr) {
3373 EventWrappingImplementation._wrap$ctor.call(this, ptr);
3374 }
3375 AudioProcessingEventWrappingImplementation._wrap$ctor.prototype = AudioProcessin gEventWrappingImplementation.prototype;
3376 // ********** Code for BRElementWrappingImplementation **************
3377 $inherits(BRElementWrappingImplementation, ElementWrappingImplementation);
3378 function BRElementWrappingImplementation() {}
3379 BRElementWrappingImplementation._wrap$ctor = function(ptr) {
3380 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3381 }
3382 BRElementWrappingImplementation._wrap$ctor.prototype = BRElementWrappingImplemen tation.prototype;
3383 BRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
3384 BRElementWrappingImplementation.prototype.get$clear = function() {
3385 return this._ptr.get$clear();
3386 }
3387 BRElementWrappingImplementation.prototype.clear$0 = function() {
3388 return this.get$clear().call$0();
3389 };
3390 // ********** Code for BaseElementWrappingImplementation **************
3391 $inherits(BaseElementWrappingImplementation, ElementWrappingImplementation);
3392 function BaseElementWrappingImplementation() {}
3393 BaseElementWrappingImplementation._wrap$ctor = function(ptr) {
3394 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3395 }
3396 BaseElementWrappingImplementation._wrap$ctor.prototype = BaseElementWrappingImpl ementation.prototype;
3397 BaseElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3398 BaseElementWrappingImplementation.prototype.get$target = function() {
3399 return this._ptr.get$target();
3400 }
3401 // ********** Code for ButtonElementWrappingImplementation **************
3402 $inherits(ButtonElementWrappingImplementation, ElementWrappingImplementation);
3403 function ButtonElementWrappingImplementation() {}
3404 ButtonElementWrappingImplementation._wrap$ctor = function(ptr) {
3405 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3406 }
3407 ButtonElementWrappingImplementation._wrap$ctor.prototype = ButtonElementWrapping Implementation.prototype;
3408 ButtonElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3409 ButtonElementWrappingImplementation.prototype.get$name = function() {
3410 return this._ptr.get$name();
3411 }
3412 ButtonElementWrappingImplementation.prototype.get$value = function() {
3413 return this._ptr.get$value();
3414 }
3415 ButtonElementWrappingImplementation.prototype.set$value = function(value) {
3416 this._ptr.set$value(value);
3417 }
3418 // ********** Code for CharacterDataWrappingImplementation **************
3419 $inherits(CharacterDataWrappingImplementation, NodeWrappingImplementation);
3420 function CharacterDataWrappingImplementation() {}
3421 CharacterDataWrappingImplementation._wrap$ctor = function(ptr) {
3422 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3423 }
3424 CharacterDataWrappingImplementation._wrap$ctor.prototype = CharacterDataWrapping Implementation.prototype;
3425 CharacterDataWrappingImplementation.prototype.get$length = function() {
3426 return this._ptr.get$length();
3427 }
3428 // ********** Code for TextWrappingImplementation **************
3429 $inherits(TextWrappingImplementation, CharacterDataWrappingImplementation);
3430 function TextWrappingImplementation() {}
3431 TextWrappingImplementation._wrap$ctor = function(ptr) {
3432 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
3433 }
3434 TextWrappingImplementation._wrap$ctor.prototype = TextWrappingImplementation.pro totype;
3435 // ********** Code for CDATASectionWrappingImplementation **************
3436 $inherits(CDATASectionWrappingImplementation, TextWrappingImplementation);
3437 function CDATASectionWrappingImplementation() {}
3438 CDATASectionWrappingImplementation._wrap$ctor = function(ptr) {
3439 TextWrappingImplementation._wrap$ctor.call(this, ptr);
3440 }
3441 CDATASectionWrappingImplementation._wrap$ctor.prototype = CDATASectionWrappingIm plementation.prototype;
3442 // ********** Code for CanvasElementWrappingImplementation **************
3443 $inherits(CanvasElementWrappingImplementation, ElementWrappingImplementation);
3444 function CanvasElementWrappingImplementation() {}
3445 CanvasElementWrappingImplementation._wrap$ctor = function(ptr) {
3446 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3447 }
3448 CanvasElementWrappingImplementation._wrap$ctor.prototype = CanvasElementWrapping Implementation.prototype;
3449 CanvasElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3450 // ********** Code for CommentWrappingImplementation **************
3451 $inherits(CommentWrappingImplementation, CharacterDataWrappingImplementation);
3452 function CommentWrappingImplementation() {}
3453 CommentWrappingImplementation._wrap$ctor = function(ptr) {
3454 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
3455 }
3456 CommentWrappingImplementation._wrap$ctor.prototype = CommentWrappingImplementati on.prototype;
3457 // ********** Code for DListElementWrappingImplementation **************
3458 $inherits(DListElementWrappingImplementation, ElementWrappingImplementation);
3459 function DListElementWrappingImplementation() {}
3460 DListElementWrappingImplementation._wrap$ctor = function(ptr) {
3461 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3462 }
3463 DListElementWrappingImplementation._wrap$ctor.prototype = DListElementWrappingIm plementation.prototype;
3464 DListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3465 // ********** Code for DataListElementWrappingImplementation **************
3466 $inherits(DataListElementWrappingImplementation, ElementWrappingImplementation);
3467 function DataListElementWrappingImplementation() {}
3468 DataListElementWrappingImplementation._wrap$ctor = function(ptr) {
3469 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3470 }
3471 DataListElementWrappingImplementation._wrap$ctor.prototype = DataListElementWrap pingImplementation.prototype;
3472 DataListElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3473 // ********** Code for DetailsElementWrappingImplementation **************
3474 $inherits(DetailsElementWrappingImplementation, ElementWrappingImplementation);
3475 function DetailsElementWrappingImplementation() {}
3476 DetailsElementWrappingImplementation._wrap$ctor = function(ptr) {
3477 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3478 }
3479 DetailsElementWrappingImplementation._wrap$ctor.prototype = DetailsElementWrappi ngImplementation.prototype;
3480 DetailsElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
3481 // ********** Code for DivElementWrappingImplementation **************
3482 $inherits(DivElementWrappingImplementation, ElementWrappingImplementation);
3483 function DivElementWrappingImplementation() {}
3484 DivElementWrappingImplementation._wrap$ctor = function(ptr) {
3485 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3486 }
3487 DivElementWrappingImplementation._wrap$ctor.prototype = DivElementWrappingImplem entation.prototype;
3488 DivElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3489 // ********** Code for EmbedElementWrappingImplementation **************
3490 $inherits(EmbedElementWrappingImplementation, ElementWrappingImplementation);
3491 function EmbedElementWrappingImplementation() {}
3492 EmbedElementWrappingImplementation._wrap$ctor = function(ptr) {
3493 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3494 }
3495 EmbedElementWrappingImplementation._wrap$ctor.prototype = EmbedElementWrappingIm plementation.prototype;
3496 EmbedElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3497 EmbedElementWrappingImplementation.prototype.get$name = function() {
3498 return this._ptr.get$name();
3499 }
3500 // ********** Code for EntityReferenceWrappingImplementation **************
3501 $inherits(EntityReferenceWrappingImplementation, NodeWrappingImplementation);
3502 function EntityReferenceWrappingImplementation() {}
3503 EntityReferenceWrappingImplementation._wrap$ctor = function(ptr) {
3504 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3505 }
3506 EntityReferenceWrappingImplementation._wrap$ctor.prototype = EntityReferenceWrap pingImplementation.prototype;
3507 // ********** Code for EntityWrappingImplementation **************
3508 $inherits(EntityWrappingImplementation, NodeWrappingImplementation);
3509 function EntityWrappingImplementation() {}
3510 EntityWrappingImplementation._wrap$ctor = function(ptr) {
3511 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3512 }
3513 EntityWrappingImplementation._wrap$ctor.prototype = EntityWrappingImplementation .prototype;
3514 // ********** Code for FieldSetElementWrappingImplementation **************
3515 $inherits(FieldSetElementWrappingImplementation, ElementWrappingImplementation);
3516 function FieldSetElementWrappingImplementation() {}
3517 FieldSetElementWrappingImplementation._wrap$ctor = function(ptr) {
3518 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3519 }
3520 FieldSetElementWrappingImplementation._wrap$ctor.prototype = FieldSetElementWrap pingImplementation.prototype;
3521 FieldSetElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3522 // ********** Code for FontElementWrappingImplementation **************
3523 $inherits(FontElementWrappingImplementation, ElementWrappingImplementation);
3524 function FontElementWrappingImplementation() {}
3525 FontElementWrappingImplementation._wrap$ctor = function(ptr) {
3526 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3527 }
3528 FontElementWrappingImplementation._wrap$ctor.prototype = FontElementWrappingImpl ementation.prototype;
3529 FontElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3530 // ********** Code for FormElementWrappingImplementation **************
3531 $inherits(FormElementWrappingImplementation, ElementWrappingImplementation);
3532 function FormElementWrappingImplementation() {}
3533 FormElementWrappingImplementation._wrap$ctor = function(ptr) {
3534 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3535 }
3536 FormElementWrappingImplementation._wrap$ctor.prototype = FormElementWrappingImpl ementation.prototype;
3537 FormElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3538 FormElementWrappingImplementation.prototype.get$length = function() {
3539 return this._ptr.get$length();
3540 }
3541 FormElementWrappingImplementation.prototype.get$name = function() {
3542 return this._ptr.get$name();
3543 }
3544 FormElementWrappingImplementation.prototype.get$target = function() {
3545 return this._ptr.get$target();
3546 }
3547 // ********** Code for HRElementWrappingImplementation **************
3548 $inherits(HRElementWrappingImplementation, ElementWrappingImplementation);
3549 function HRElementWrappingImplementation() {}
3550 HRElementWrappingImplementation._wrap$ctor = function(ptr) {
3551 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3552 }
3553 HRElementWrappingImplementation._wrap$ctor.prototype = HRElementWrappingImplemen tation.prototype;
3554 HRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
3555 // ********** Code for HeadElementWrappingImplementation **************
3556 $inherits(HeadElementWrappingImplementation, ElementWrappingImplementation);
3557 function HeadElementWrappingImplementation() {}
3558 HeadElementWrappingImplementation._wrap$ctor = function(ptr) {
3559 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3560 }
3561 HeadElementWrappingImplementation._wrap$ctor.prototype = HeadElementWrappingImpl ementation.prototype;
3562 HeadElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3563 // ********** Code for HeadingElementWrappingImplementation **************
3564 $inherits(HeadingElementWrappingImplementation, ElementWrappingImplementation);
3565 function HeadingElementWrappingImplementation() {}
3566 HeadingElementWrappingImplementation._wrap$ctor = function(ptr) {
3567 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3568 }
3569 HeadingElementWrappingImplementation._wrap$ctor.prototype = HeadingElementWrappi ngImplementation.prototype;
3570 HeadingElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
3571 // ********** Code for IDBVersionChangeEventWrappingImplementation ************* *
3572 $inherits(IDBVersionChangeEventWrappingImplementation, EventWrappingImplementati on);
3573 function IDBVersionChangeEventWrappingImplementation() {}
3574 IDBVersionChangeEventWrappingImplementation._wrap$ctor = function(ptr) {
3575 EventWrappingImplementation._wrap$ctor.call(this, ptr);
3576 }
3577 IDBVersionChangeEventWrappingImplementation._wrap$ctor.prototype = IDBVersionCha ngeEventWrappingImplementation.prototype;
3578 // ********** Code for IFrameElementWrappingImplementation **************
3579 $inherits(IFrameElementWrappingImplementation, ElementWrappingImplementation);
3580 function IFrameElementWrappingImplementation() {}
3581 IFrameElementWrappingImplementation._wrap$ctor = function(ptr) {
3582 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3583 }
3584 IFrameElementWrappingImplementation._wrap$ctor.prototype = IFrameElementWrapping Implementation.prototype;
3585 IFrameElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3586 IFrameElementWrappingImplementation.prototype.get$name = function() {
3587 return this._ptr.get$name();
3588 }
3589 // ********** Code for ImageElementWrappingImplementation **************
3590 $inherits(ImageElementWrappingImplementation, ElementWrappingImplementation);
3591 function ImageElementWrappingImplementation() {}
3592 ImageElementWrappingImplementation._wrap$ctor = function(ptr) {
3593 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3594 }
3595 ImageElementWrappingImplementation._wrap$ctor.prototype = ImageElementWrappingIm plementation.prototype;
3596 ImageElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3597 ImageElementWrappingImplementation.prototype.get$name = function() {
3598 return this._ptr.get$name();
3599 }
3600 // ********** Code for InputElementWrappingImplementation **************
3601 $inherits(InputElementWrappingImplementation, ElementWrappingImplementation);
3602 function InputElementWrappingImplementation() {}
3603 InputElementWrappingImplementation._wrap$ctor = function(ptr) {
3604 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3605 }
3606 InputElementWrappingImplementation._wrap$ctor.prototype = InputElementWrappingIm plementation.prototype;
3607 InputElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3608 InputElementWrappingImplementation.prototype.get$checked = function() {
3609 return this._ptr.get$checked();
3610 }
3611 InputElementWrappingImplementation.prototype.get$name = function() {
3612 return this._ptr.get$name();
3613 }
3614 InputElementWrappingImplementation.prototype.get$value = function() {
3615 return this._ptr.get$value();
3616 }
3617 InputElementWrappingImplementation.prototype.set$value = function(value) {
3618 this._ptr.set$value(value);
3619 }
3620 // ********** Code for KeygenElementWrappingImplementation **************
3621 $inherits(KeygenElementWrappingImplementation, ElementWrappingImplementation);
3622 function KeygenElementWrappingImplementation() {}
3623 KeygenElementWrappingImplementation._wrap$ctor = function(ptr) {
3624 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3625 }
3626 KeygenElementWrappingImplementation._wrap$ctor.prototype = KeygenElementWrapping Implementation.prototype;
3627 KeygenElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3628 KeygenElementWrappingImplementation.prototype.get$name = function() {
3629 return this._ptr.get$name();
3630 }
3631 // ********** Code for LIElementWrappingImplementation **************
3632 $inherits(LIElementWrappingImplementation, ElementWrappingImplementation);
3633 function LIElementWrappingImplementation() {}
3634 LIElementWrappingImplementation._wrap$ctor = function(ptr) {
3635 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3636 }
3637 LIElementWrappingImplementation._wrap$ctor.prototype = LIElementWrappingImplemen tation.prototype;
3638 LIElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
3639 LIElementWrappingImplementation.prototype.get$value = function() {
3640 return this._ptr.get$value();
3641 }
3642 LIElementWrappingImplementation.prototype.set$value = function(value) {
3643 this._ptr.set$value(value);
3644 }
3645 // ********** Code for LabelElementWrappingImplementation **************
3646 $inherits(LabelElementWrappingImplementation, ElementWrappingImplementation);
3647 function LabelElementWrappingImplementation() {}
3648 LabelElementWrappingImplementation._wrap$ctor = function(ptr) {
3649 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3650 }
3651 LabelElementWrappingImplementation._wrap$ctor.prototype = LabelElementWrappingIm plementation.prototype;
3652 LabelElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3653 // ********** Code for LegendElementWrappingImplementation **************
3654 $inherits(LegendElementWrappingImplementation, ElementWrappingImplementation);
3655 function LegendElementWrappingImplementation() {}
3656 LegendElementWrappingImplementation._wrap$ctor = function(ptr) {
3657 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3658 }
3659 LegendElementWrappingImplementation._wrap$ctor.prototype = LegendElementWrapping Implementation.prototype;
3660 LegendElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3661 // ********** Code for LinkElementWrappingImplementation **************
3662 $inherits(LinkElementWrappingImplementation, ElementWrappingImplementation);
3663 function LinkElementWrappingImplementation() {}
3664 LinkElementWrappingImplementation._wrap$ctor = function(ptr) {
3665 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3666 }
3667 LinkElementWrappingImplementation._wrap$ctor.prototype = LinkElementWrappingImpl ementation.prototype;
3668 LinkElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3669 LinkElementWrappingImplementation.prototype.get$target = function() {
3670 return this._ptr.get$target();
3671 }
3672 // ********** Code for MapElementWrappingImplementation **************
3673 $inherits(MapElementWrappingImplementation, ElementWrappingImplementation);
3674 function MapElementWrappingImplementation() {}
3675 MapElementWrappingImplementation._wrap$ctor = function(ptr) {
3676 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3677 }
3678 MapElementWrappingImplementation._wrap$ctor.prototype = MapElementWrappingImplem entation.prototype;
3679 MapElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3680 MapElementWrappingImplementation.prototype.get$name = function() {
3681 return this._ptr.get$name();
3682 }
3683 // ********** Code for MarqueeElementWrappingImplementation **************
3684 $inherits(MarqueeElementWrappingImplementation, ElementWrappingImplementation);
3685 function MarqueeElementWrappingImplementation() {}
3686 MarqueeElementWrappingImplementation._wrap$ctor = function(ptr) {
3687 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3688 }
3689 MarqueeElementWrappingImplementation._wrap$ctor.prototype = MarqueeElementWrappi ngImplementation.prototype;
3690 MarqueeElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
3691 // ********** Code for MenuElementWrappingImplementation **************
3692 $inherits(MenuElementWrappingImplementation, ElementWrappingImplementation);
3693 function MenuElementWrappingImplementation() {}
3694 MenuElementWrappingImplementation._wrap$ctor = function(ptr) {
3695 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3696 }
3697 MenuElementWrappingImplementation._wrap$ctor.prototype = MenuElementWrappingImpl ementation.prototype;
3698 MenuElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3699 // ********** Code for MetaElementWrappingImplementation **************
3700 $inherits(MetaElementWrappingImplementation, ElementWrappingImplementation);
3701 function MetaElementWrappingImplementation() {}
3702 MetaElementWrappingImplementation._wrap$ctor = function(ptr) {
3703 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3704 }
3705 MetaElementWrappingImplementation._wrap$ctor.prototype = MetaElementWrappingImpl ementation.prototype;
3706 MetaElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3707 MetaElementWrappingImplementation.prototype.get$name = function() {
3708 return this._ptr.get$name();
3709 }
3710 // ********** Code for MeterElementWrappingImplementation **************
3711 $inherits(MeterElementWrappingImplementation, ElementWrappingImplementation);
3712 function MeterElementWrappingImplementation() {}
3713 MeterElementWrappingImplementation._wrap$ctor = function(ptr) {
3714 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3715 }
3716 MeterElementWrappingImplementation._wrap$ctor.prototype = MeterElementWrappingIm plementation.prototype;
3717 MeterElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3718 MeterElementWrappingImplementation.prototype.get$value = function() {
3719 return this._ptr.get$value();
3720 }
3721 MeterElementWrappingImplementation.prototype.set$value = function(value) {
3722 this._ptr.set$value(value);
3723 }
3724 // ********** Code for ModElementWrappingImplementation **************
3725 $inherits(ModElementWrappingImplementation, ElementWrappingImplementation);
3726 function ModElementWrappingImplementation() {}
3727 ModElementWrappingImplementation._wrap$ctor = function(ptr) {
3728 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3729 }
3730 ModElementWrappingImplementation._wrap$ctor.prototype = ModElementWrappingImplem entation.prototype;
3731 ModElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3732 // ********** Code for NotationWrappingImplementation **************
3733 $inherits(NotationWrappingImplementation, NodeWrappingImplementation);
3734 function NotationWrappingImplementation() {}
3735 NotationWrappingImplementation._wrap$ctor = function(ptr) {
3736 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3737 }
3738 NotationWrappingImplementation._wrap$ctor.prototype = NotationWrappingImplementa tion.prototype;
3739 // ********** Code for OListElementWrappingImplementation **************
3740 $inherits(OListElementWrappingImplementation, ElementWrappingImplementation);
3741 function OListElementWrappingImplementation() {}
3742 OListElementWrappingImplementation._wrap$ctor = function(ptr) {
3743 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3744 }
3745 OListElementWrappingImplementation._wrap$ctor.prototype = OListElementWrappingIm plementation.prototype;
3746 OListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3747 // ********** Code for OfflineAudioCompletionEventWrappingImplementation ******* *******
3748 $inherits(OfflineAudioCompletionEventWrappingImplementation, EventWrappingImplem entation);
3749 function OfflineAudioCompletionEventWrappingImplementation() {}
3750 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor = function(ptr) {
3751 EventWrappingImplementation._wrap$ctor.call(this, ptr);
3752 }
3753 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor.prototype = Offline AudioCompletionEventWrappingImplementation.prototype;
3754 // ********** Code for OptGroupElementWrappingImplementation **************
3755 $inherits(OptGroupElementWrappingImplementation, ElementWrappingImplementation);
3756 function OptGroupElementWrappingImplementation() {}
3757 OptGroupElementWrappingImplementation._wrap$ctor = function(ptr) {
3758 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3759 }
3760 OptGroupElementWrappingImplementation._wrap$ctor.prototype = OptGroupElementWrap pingImplementation.prototype;
3761 OptGroupElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3762 // ********** Code for OptionElementWrappingImplementation **************
3763 $inherits(OptionElementWrappingImplementation, ElementWrappingImplementation);
3764 function OptionElementWrappingImplementation() {}
3765 OptionElementWrappingImplementation._wrap$ctor = function(ptr) {
3766 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3767 }
3768 OptionElementWrappingImplementation._wrap$ctor.prototype = OptionElementWrapping Implementation.prototype;
3769 OptionElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3770 OptionElementWrappingImplementation.prototype.get$value = function() {
3771 return this._ptr.get$value();
3772 }
3773 OptionElementWrappingImplementation.prototype.set$value = function(value) {
3774 this._ptr.set$value(value);
3775 }
3776 // ********** Code for OutputElementWrappingImplementation **************
3777 $inherits(OutputElementWrappingImplementation, ElementWrappingImplementation);
3778 function OutputElementWrappingImplementation() {}
3779 OutputElementWrappingImplementation._wrap$ctor = function(ptr) {
3780 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3781 }
3782 OutputElementWrappingImplementation._wrap$ctor.prototype = OutputElementWrapping Implementation.prototype;
3783 OutputElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3784 OutputElementWrappingImplementation.prototype.get$name = function() {
3785 return this._ptr.get$name();
3786 }
3787 OutputElementWrappingImplementation.prototype.get$value = function() {
3788 return this._ptr.get$value();
3789 }
3790 OutputElementWrappingImplementation.prototype.set$value = function(value) {
3791 this._ptr.set$value(value);
3792 }
3793 // ********** Code for ParagraphElementWrappingImplementation **************
3794 $inherits(ParagraphElementWrappingImplementation, ElementWrappingImplementation) ;
3795 function ParagraphElementWrappingImplementation() {}
3796 ParagraphElementWrappingImplementation._wrap$ctor = function(ptr) {
3797 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3798 }
3799 ParagraphElementWrappingImplementation._wrap$ctor.prototype = ParagraphElementWr appingImplementation.prototype;
3800 ParagraphElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
3801 // ********** Code for ParamElementWrappingImplementation **************
3802 $inherits(ParamElementWrappingImplementation, ElementWrappingImplementation);
3803 function ParamElementWrappingImplementation() {}
3804 ParamElementWrappingImplementation._wrap$ctor = function(ptr) {
3805 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3806 }
3807 ParamElementWrappingImplementation._wrap$ctor.prototype = ParamElementWrappingIm plementation.prototype;
3808 ParamElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3809 ParamElementWrappingImplementation.prototype.get$name = function() {
3810 return this._ptr.get$name();
3811 }
3812 ParamElementWrappingImplementation.prototype.get$value = function() {
3813 return this._ptr.get$value();
3814 }
3815 ParamElementWrappingImplementation.prototype.set$value = function(value) {
3816 this._ptr.set$value(value);
3817 }
3818 // ********** Code for PreElementWrappingImplementation **************
3819 $inherits(PreElementWrappingImplementation, ElementWrappingImplementation);
3820 function PreElementWrappingImplementation() {}
3821 PreElementWrappingImplementation._wrap$ctor = function(ptr) {
3822 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3823 }
3824 PreElementWrappingImplementation._wrap$ctor.prototype = PreElementWrappingImplem entation.prototype;
3825 PreElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3826 // ********** Code for ProcessingInstructionWrappingImplementation ************* *
3827 $inherits(ProcessingInstructionWrappingImplementation, NodeWrappingImplementatio n);
3828 function ProcessingInstructionWrappingImplementation() {}
3829 ProcessingInstructionWrappingImplementation._wrap$ctor = function(ptr) {
3830 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3831 }
3832 ProcessingInstructionWrappingImplementation._wrap$ctor.prototype = ProcessingIns tructionWrappingImplementation.prototype;
3833 ProcessingInstructionWrappingImplementation.prototype.get$target = function() {
3834 return this._ptr.get$target();
3835 }
3836 // ********** Code for ProgressElementWrappingImplementation **************
3837 $inherits(ProgressElementWrappingImplementation, ElementWrappingImplementation);
3838 function ProgressElementWrappingImplementation() {}
3839 ProgressElementWrappingImplementation._wrap$ctor = function(ptr) {
3840 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3841 }
3842 ProgressElementWrappingImplementation._wrap$ctor.prototype = ProgressElementWrap pingImplementation.prototype;
3843 ProgressElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3844 ProgressElementWrappingImplementation.prototype.get$value = function() {
3845 return this._ptr.get$value();
3846 }
3847 ProgressElementWrappingImplementation.prototype.set$value = function(value) {
3848 this._ptr.set$value(value);
3849 }
3850 // ********** Code for QuoteElementWrappingImplementation **************
3851 $inherits(QuoteElementWrappingImplementation, ElementWrappingImplementation);
3852 function QuoteElementWrappingImplementation() {}
3853 QuoteElementWrappingImplementation._wrap$ctor = function(ptr) {
3854 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3855 }
3856 QuoteElementWrappingImplementation._wrap$ctor.prototype = QuoteElementWrappingIm plementation.prototype;
3857 QuoteElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3858 // ********** Code for SVGElementWrappingImplementation **************
3859 $inherits(SVGElementWrappingImplementation, ElementWrappingImplementation);
3860 function SVGElementWrappingImplementation() {}
3861 SVGElementWrappingImplementation._wrap$ctor = function(ptr) {
3862 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3863 }
3864 SVGElementWrappingImplementation._wrap$ctor.prototype = SVGElementWrappingImplem entation.prototype;
3865 SVGElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3866 SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory = function(tag) {
3867 return LevelDom.wrapSVGElement(get$document().createElementNS("http://www.w3.o rg/2000/svg", tag));
3868 }
3869 SVGElementWrappingImplementation.SVGElementWrappingImplementation$svg$factory = function(svg) {
3870 var parentTag;
3871 var match = const$0001.firstMatch(svg);
3872 if (match != null && $eq(match.group$1((1)).toLowerCase$0(), "svg")) {
3873 parentTag = ElementWrappingImplementation.ElementWrappingImplementation$tag$ factory("div");
3874 }
3875 else {
3876 parentTag = SVGSVGElementWrappingImplementation.SVGSVGElementWrappingImpleme ntation$factory();
3877 }
3878 parentTag.set$innerHTML(svg);
3879 if (parentTag.get$elements().get$length() == (1)) return parentTag.get$element s().$index((0));
3880 $throw(new IllegalArgumentException(("SVG had " + parentTag.get$elements().get $length() + " ") + "top-level elements but 1 expected"));
3881 }
3882 SVGElementWrappingImplementation.prototype.get$classes = function() {
3883 if (this._cssClassSet == null) {
3884 this._cssClassSet = new _SVGClassSet(this._ptr);
3885 }
3886 return this._cssClassSet;
3887 }
3888 ElementWrappingImplementation.prototype.set$classes = function(value) {
3889 var classSet = this.get$classes();
3890 classSet.clear();
3891 classSet.addAll(value);
3892 }
3893 SVGElementWrappingImplementation.prototype.get$id = function() {
3894 return this._ptr.get$id();
3895 }
3896 SVGElementWrappingImplementation.prototype.get$elements = function() {
3897 if (this._elements == null) {
3898 this._elements = new FilteredElementList(this);
3899 }
3900 return this._elements;
3901 }
3902 SVGElementWrappingImplementation.prototype.set$elements = function(value) {
3903 var elements = this.get$elements();
3904 elements.clear$0();
3905 elements.addAll$1(value);
3906 }
3907 SVGElementWrappingImplementation.prototype.set$innerHTML = function(svg) {
3908 var container = ElementWrappingImplementation.ElementWrappingImplementation$ta g$factory("div");
3909 container.set$innerHTML(("<svg version=\"1.1\">" + svg + "</svg>"));
3910 this.set$elements(container.get$elements().get$first().get$elements());
3911 }
3912 // ********** Code for SVGAElementWrappingImplementation **************
3913 $inherits(SVGAElementWrappingImplementation, SVGElementWrappingImplementation);
3914 function SVGAElementWrappingImplementation() {}
3915 SVGAElementWrappingImplementation._wrap$ctor = function(ptr) {
3916 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
3917 }
3918 SVGAElementWrappingImplementation._wrap$ctor.prototype = SVGAElementWrappingImpl ementation.prototype;
3919 SVGAElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3920 SVGAElementWrappingImplementation.prototype.get$target = function() {
3921 return LevelDom.wrapSVGAnimatedString(this._ptr.get$target());
3922 }
3923 SVGAElementWrappingImplementation.prototype.get$className = function() {
3924 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
3925 }
3926 SVGAElementWrappingImplementation.prototype.get$style = function() {
3927 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
3928 }
3929 // ********** Code for SVGAltGlyphDefElementWrappingImplementation ************* *
3930 $inherits(SVGAltGlyphDefElementWrappingImplementation, SVGElementWrappingImpleme ntation);
3931 function SVGAltGlyphDefElementWrappingImplementation() {}
3932 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor = function(ptr) {
3933 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
3934 }
3935 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphDe fElementWrappingImplementation.prototype;
3936 SVGAltGlyphDefElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
3937 // ********** Code for SVGTextContentElementWrappingImplementation ************* *
3938 $inherits(SVGTextContentElementWrappingImplementation, SVGElementWrappingImpleme ntation);
3939 function SVGTextContentElementWrappingImplementation() {}
3940 SVGTextContentElementWrappingImplementation._wrap$ctor = function(ptr) {
3941 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
3942 }
3943 SVGTextContentElementWrappingImplementation._wrap$ctor.prototype = SVGTextConten tElementWrappingImplementation.prototype;
3944 SVGTextContentElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
3945 SVGTextContentElementWrappingImplementation.prototype.get$className = function() {
3946 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
3947 }
3948 SVGTextContentElementWrappingImplementation.prototype.get$style = function() {
3949 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
3950 }
3951 // ********** Code for SVGTextPositioningElementWrappingImplementation ********* *****
3952 $inherits(SVGTextPositioningElementWrappingImplementation, SVGTextContentElement WrappingImplementation);
3953 function SVGTextPositioningElementWrappingImplementation() {}
3954 SVGTextPositioningElementWrappingImplementation._wrap$ctor = function(ptr) {
3955 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
3956 }
3957 SVGTextPositioningElementWrappingImplementation._wrap$ctor.prototype = SVGTextPo sitioningElementWrappingImplementation.prototype;
3958 SVGTextPositioningElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
3959 // ********** Code for SVGAltGlyphElementWrappingImplementation **************
3960 $inherits(SVGAltGlyphElementWrappingImplementation, SVGTextPositioningElementWra ppingImplementation);
3961 function SVGAltGlyphElementWrappingImplementation() {}
3962 SVGAltGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
3963 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
3964 }
3965 SVGAltGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphEleme ntWrappingImplementation.prototype;
3966 SVGAltGlyphElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
3967 // ********** Code for SVGAltGlyphItemElementWrappingImplementation ************ **
3968 $inherits(SVGAltGlyphItemElementWrappingImplementation, SVGElementWrappingImplem entation);
3969 function SVGAltGlyphItemElementWrappingImplementation() {}
3970 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor = function(ptr) {
3971 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
3972 }
3973 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphI temElementWrappingImplementation.prototype;
3974 SVGAltGlyphItemElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
3975 // ********** Code for SVGAnimationElementWrappingImplementation **************
3976 $inherits(SVGAnimationElementWrappingImplementation, SVGElementWrappingImplement ation);
3977 function SVGAnimationElementWrappingImplementation() {}
3978 SVGAnimationElementWrappingImplementation._wrap$ctor = function(ptr) {
3979 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
3980 }
3981 SVGAnimationElementWrappingImplementation._wrap$ctor.prototype = SVGAnimationEle mentWrappingImplementation.prototype;
3982 SVGAnimationElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
3983 // ********** Code for SVGAnimateColorElementWrappingImplementation ************ **
3984 $inherits(SVGAnimateColorElementWrappingImplementation, SVGAnimationElementWrapp ingImplementation);
3985 function SVGAnimateColorElementWrappingImplementation() {}
3986 SVGAnimateColorElementWrappingImplementation._wrap$ctor = function(ptr) {
3987 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
3988 }
3989 SVGAnimateColorElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateCo lorElementWrappingImplementation.prototype;
3990 SVGAnimateColorElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
3991 // ********** Code for SVGAnimateElementWrappingImplementation **************
3992 $inherits(SVGAnimateElementWrappingImplementation, SVGAnimationElementWrappingIm plementation);
3993 function SVGAnimateElementWrappingImplementation() {}
3994 SVGAnimateElementWrappingImplementation._wrap$ctor = function(ptr) {
3995 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
3996 }
3997 SVGAnimateElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateElement WrappingImplementation.prototype;
3998 SVGAnimateElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
3999 // ********** Code for SVGAnimateMotionElementWrappingImplementation *********** ***
4000 $inherits(SVGAnimateMotionElementWrappingImplementation, SVGAnimationElementWrap pingImplementation);
4001 function SVGAnimateMotionElementWrappingImplementation() {}
4002 SVGAnimateMotionElementWrappingImplementation._wrap$ctor = function(ptr) {
4003 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4004 }
4005 SVGAnimateMotionElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateM otionElementWrappingImplementation.prototype;
4006 SVGAnimateMotionElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4007 // ********** Code for SVGAnimateTransformElementWrappingImplementation ******** ******
4008 $inherits(SVGAnimateTransformElementWrappingImplementation, SVGAnimationElementW rappingImplementation);
4009 function SVGAnimateTransformElementWrappingImplementation() {}
4010 SVGAnimateTransformElementWrappingImplementation._wrap$ctor = function(ptr) {
4011 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4012 }
4013 SVGAnimateTransformElementWrappingImplementation._wrap$ctor.prototype = SVGAnima teTransformElementWrappingImplementation.prototype;
4014 SVGAnimateTransformElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4015 // ********** Code for SVGAnimatedStringWrappingImplementation **************
4016 $inherits(SVGAnimatedStringWrappingImplementation, DOMWrapperBase);
4017 function SVGAnimatedStringWrappingImplementation() {}
4018 SVGAnimatedStringWrappingImplementation._wrap$ctor = function(ptr) {
4019 DOMWrapperBase._wrap$ctor.call(this, ptr);
4020 }
4021 SVGAnimatedStringWrappingImplementation._wrap$ctor.prototype = SVGAnimatedString WrappingImplementation.prototype;
4022 SVGAnimatedStringWrappingImplementation.prototype.get$baseVal = function() {
4023 return this._ptr.get$baseVal();
4024 }
4025 SVGAnimatedStringWrappingImplementation.prototype.set$baseVal = function(value) {
4026 this._ptr.set$baseVal(value);
4027 }
4028 // ********** Code for SVGCircleElementWrappingImplementation **************
4029 $inherits(SVGCircleElementWrappingImplementation, SVGElementWrappingImplementati on);
4030 function SVGCircleElementWrappingImplementation() {}
4031 SVGCircleElementWrappingImplementation._wrap$ctor = function(ptr) {
4032 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4033 }
4034 SVGCircleElementWrappingImplementation._wrap$ctor.prototype = SVGCircleElementWr appingImplementation.prototype;
4035 SVGCircleElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4036 SVGCircleElementWrappingImplementation.prototype.get$className = function() {
4037 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4038 }
4039 SVGCircleElementWrappingImplementation.prototype.get$style = function() {
4040 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4041 }
4042 // ********** Code for SVGClipPathElementWrappingImplementation **************
4043 $inherits(SVGClipPathElementWrappingImplementation, SVGElementWrappingImplementa tion);
4044 function SVGClipPathElementWrappingImplementation() {}
4045 SVGClipPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4046 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4047 }
4048 SVGClipPathElementWrappingImplementation._wrap$ctor.prototype = SVGClipPathEleme ntWrappingImplementation.prototype;
4049 SVGClipPathElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4050 SVGClipPathElementWrappingImplementation.prototype.get$className = function() {
4051 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4052 }
4053 SVGClipPathElementWrappingImplementation.prototype.get$style = function() {
4054 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4055 }
4056 // ********** Code for SVGComponentTransferFunctionElementWrappingImplementation **************
4057 $inherits(SVGComponentTransferFunctionElementWrappingImplementation, SVGElementW rappingImplementation);
4058 function SVGComponentTransferFunctionElementWrappingImplementation() {}
4059 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor = function( ptr) {
4060 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4061 }
4062 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.prototype = SVGComponentTransferFunctionElementWrappingImplementation.prototype;
4063 SVGComponentTransferFunctionElementWrappingImplementation.prototype.is$html_html _Element = function(){return true};
4064 // ********** Code for SVGCursorElementWrappingImplementation **************
4065 $inherits(SVGCursorElementWrappingImplementation, SVGElementWrappingImplementati on);
4066 function SVGCursorElementWrappingImplementation() {}
4067 SVGCursorElementWrappingImplementation._wrap$ctor = function(ptr) {
4068 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4069 }
4070 SVGCursorElementWrappingImplementation._wrap$ctor.prototype = SVGCursorElementWr appingImplementation.prototype;
4071 SVGCursorElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4072 // ********** Code for SVGDefsElementWrappingImplementation **************
4073 $inherits(SVGDefsElementWrappingImplementation, SVGElementWrappingImplementation );
4074 function SVGDefsElementWrappingImplementation() {}
4075 SVGDefsElementWrappingImplementation._wrap$ctor = function(ptr) {
4076 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4077 }
4078 SVGDefsElementWrappingImplementation._wrap$ctor.prototype = SVGDefsElementWrappi ngImplementation.prototype;
4079 SVGDefsElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4080 SVGDefsElementWrappingImplementation.prototype.get$className = function() {
4081 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4082 }
4083 SVGDefsElementWrappingImplementation.prototype.get$style = function() {
4084 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4085 }
4086 // ********** Code for SVGDescElementWrappingImplementation **************
4087 $inherits(SVGDescElementWrappingImplementation, SVGElementWrappingImplementation );
4088 function SVGDescElementWrappingImplementation() {}
4089 SVGDescElementWrappingImplementation._wrap$ctor = function(ptr) {
4090 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4091 }
4092 SVGDescElementWrappingImplementation._wrap$ctor.prototype = SVGDescElementWrappi ngImplementation.prototype;
4093 SVGDescElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4094 SVGDescElementWrappingImplementation.prototype.get$className = function() {
4095 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4096 }
4097 SVGDescElementWrappingImplementation.prototype.get$style = function() {
4098 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4099 }
4100 // ********** Code for SVGElementInstanceListWrappingImplementation ************ **
4101 $inherits(SVGElementInstanceListWrappingImplementation, DOMWrapperBase);
4102 function SVGElementInstanceListWrappingImplementation() {}
4103 SVGElementInstanceListWrappingImplementation._wrap$ctor = function(ptr) {
4104 DOMWrapperBase._wrap$ctor.call(this, ptr);
4105 }
4106 SVGElementInstanceListWrappingImplementation._wrap$ctor.prototype = SVGElementIn stanceListWrappingImplementation.prototype;
4107 SVGElementInstanceListWrappingImplementation.prototype.get$length = function() {
4108 return this._ptr.get$length();
4109 }
4110 SVGElementInstanceListWrappingImplementation.prototype.item = function(index) {
4111 return LevelDom.wrapSVGElementInstance(this._ptr.item$1(index));
4112 }
4113 SVGElementInstanceListWrappingImplementation.prototype.item$1 = SVGElementInstan ceListWrappingImplementation.prototype.item;
4114 // ********** Code for SVGEllipseElementWrappingImplementation **************
4115 $inherits(SVGEllipseElementWrappingImplementation, SVGElementWrappingImplementat ion);
4116 function SVGEllipseElementWrappingImplementation() {}
4117 SVGEllipseElementWrappingImplementation._wrap$ctor = function(ptr) {
4118 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4119 }
4120 SVGEllipseElementWrappingImplementation._wrap$ctor.prototype = SVGEllipseElement WrappingImplementation.prototype;
4121 SVGEllipseElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4122 SVGEllipseElementWrappingImplementation.prototype.get$className = function() {
4123 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4124 }
4125 SVGEllipseElementWrappingImplementation.prototype.get$style = function() {
4126 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4127 }
4128 // ********** Code for SVGFEBlendElementWrappingImplementation **************
4129 $inherits(SVGFEBlendElementWrappingImplementation, SVGElementWrappingImplementat ion);
4130 function SVGFEBlendElementWrappingImplementation() {}
4131 SVGFEBlendElementWrappingImplementation._wrap$ctor = function(ptr) {
4132 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4133 }
4134 SVGFEBlendElementWrappingImplementation._wrap$ctor.prototype = SVGFEBlendElement WrappingImplementation.prototype;
4135 SVGFEBlendElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4136 SVGFEBlendElementWrappingImplementation.prototype.get$className = function() {
4137 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4138 }
4139 SVGFEBlendElementWrappingImplementation.prototype.get$style = function() {
4140 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4141 }
4142 // ********** Code for SVGFEColorMatrixElementWrappingImplementation *********** ***
4143 $inherits(SVGFEColorMatrixElementWrappingImplementation, SVGElementWrappingImple mentation);
4144 function SVGFEColorMatrixElementWrappingImplementation() {}
4145 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
4146 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4147 }
4148 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFEColorM atrixElementWrappingImplementation.prototype;
4149 SVGFEColorMatrixElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4150 SVGFEColorMatrixElementWrappingImplementation.prototype.get$className = function () {
4151 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4152 }
4153 SVGFEColorMatrixElementWrappingImplementation.prototype.get$style = function() {
4154 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4155 }
4156 // ********** Code for SVGFEComponentTransferElementWrappingImplementation ***** *********
4157 $inherits(SVGFEComponentTransferElementWrappingImplementation, SVGElementWrappin gImplementation);
4158 function SVGFEComponentTransferElementWrappingImplementation() {}
4159 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor = function(ptr) {
4160 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4161 }
4162 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor.prototype = SVGFE ComponentTransferElementWrappingImplementation.prototype;
4163 SVGFEComponentTransferElementWrappingImplementation.prototype.is$html_html_Eleme nt = function(){return true};
4164 SVGFEComponentTransferElementWrappingImplementation.prototype.get$className = fu nction() {
4165 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4166 }
4167 SVGFEComponentTransferElementWrappingImplementation.prototype.get$style = functi on() {
4168 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4169 }
4170 // ********** Code for SVGFEConvolveMatrixElementWrappingImplementation ******** ******
4171 $inherits(SVGFEConvolveMatrixElementWrappingImplementation, SVGElementWrappingIm plementation);
4172 function SVGFEConvolveMatrixElementWrappingImplementation() {}
4173 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
4174 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4175 }
4176 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFECon volveMatrixElementWrappingImplementation.prototype;
4177 SVGFEConvolveMatrixElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4178 SVGFEConvolveMatrixElementWrappingImplementation.prototype.get$className = funct ion() {
4179 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4180 }
4181 SVGFEConvolveMatrixElementWrappingImplementation.prototype.get$style = function( ) {
4182 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4183 }
4184 // ********** Code for SVGFEDiffuseLightingElementWrappingImplementation ******* *******
4185 $inherits(SVGFEDiffuseLightingElementWrappingImplementation, SVGElementWrappingI mplementation);
4186 function SVGFEDiffuseLightingElementWrappingImplementation() {}
4187 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
4188 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4189 }
4190 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi ffuseLightingElementWrappingImplementation.prototype;
4191 SVGFEDiffuseLightingElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4192 SVGFEDiffuseLightingElementWrappingImplementation.prototype.get$className = func tion() {
4193 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4194 }
4195 SVGFEDiffuseLightingElementWrappingImplementation.prototype.get$style = function () {
4196 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4197 }
4198 // ********** Code for SVGFEDisplacementMapElementWrappingImplementation ******* *******
4199 $inherits(SVGFEDisplacementMapElementWrappingImplementation, SVGElementWrappingI mplementation);
4200 function SVGFEDisplacementMapElementWrappingImplementation() {}
4201 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor = function(ptr) {
4202 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4203 }
4204 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi splacementMapElementWrappingImplementation.prototype;
4205 SVGFEDisplacementMapElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4206 SVGFEDisplacementMapElementWrappingImplementation.prototype.get$className = func tion() {
4207 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4208 }
4209 SVGFEDisplacementMapElementWrappingImplementation.prototype.get$style = function () {
4210 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4211 }
4212 // ********** Code for SVGFEDistantLightElementWrappingImplementation ********** ****
4213 $inherits(SVGFEDistantLightElementWrappingImplementation, SVGElementWrappingImpl ementation);
4214 function SVGFEDistantLightElementWrappingImplementation() {}
4215 SVGFEDistantLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4216 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4217 }
4218 SVGFEDistantLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEDista ntLightElementWrappingImplementation.prototype;
4219 SVGFEDistantLightElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4220 // ********** Code for SVGFEDropShadowElementWrappingImplementation ************ **
4221 $inherits(SVGFEDropShadowElementWrappingImplementation, SVGElementWrappingImplem entation);
4222 function SVGFEDropShadowElementWrappingImplementation() {}
4223 SVGFEDropShadowElementWrappingImplementation._wrap$ctor = function(ptr) {
4224 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4225 }
4226 SVGFEDropShadowElementWrappingImplementation._wrap$ctor.prototype = SVGFEDropSha dowElementWrappingImplementation.prototype;
4227 SVGFEDropShadowElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4228 SVGFEDropShadowElementWrappingImplementation.prototype.get$className = function( ) {
4229 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4230 }
4231 SVGFEDropShadowElementWrappingImplementation.prototype.get$style = function() {
4232 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4233 }
4234 // ********** Code for SVGFEFloodElementWrappingImplementation **************
4235 $inherits(SVGFEFloodElementWrappingImplementation, SVGElementWrappingImplementat ion);
4236 function SVGFEFloodElementWrappingImplementation() {}
4237 SVGFEFloodElementWrappingImplementation._wrap$ctor = function(ptr) {
4238 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4239 }
4240 SVGFEFloodElementWrappingImplementation._wrap$ctor.prototype = SVGFEFloodElement WrappingImplementation.prototype;
4241 SVGFEFloodElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4242 SVGFEFloodElementWrappingImplementation.prototype.get$className = function() {
4243 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4244 }
4245 SVGFEFloodElementWrappingImplementation.prototype.get$style = function() {
4246 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4247 }
4248 // ********** Code for SVGFEFuncAElementWrappingImplementation **************
4249 $inherits(SVGFEFuncAElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4250 function SVGFEFuncAElementWrappingImplementation() {}
4251 SVGFEFuncAElementWrappingImplementation._wrap$ctor = function(ptr) {
4252 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4253 }
4254 SVGFEFuncAElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncAElement WrappingImplementation.prototype;
4255 SVGFEFuncAElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4256 // ********** Code for SVGFEFuncBElementWrappingImplementation **************
4257 $inherits(SVGFEFuncBElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4258 function SVGFEFuncBElementWrappingImplementation() {}
4259 SVGFEFuncBElementWrappingImplementation._wrap$ctor = function(ptr) {
4260 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4261 }
4262 SVGFEFuncBElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncBElement WrappingImplementation.prototype;
4263 SVGFEFuncBElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4264 // ********** Code for SVGFEFuncGElementWrappingImplementation **************
4265 $inherits(SVGFEFuncGElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4266 function SVGFEFuncGElementWrappingImplementation() {}
4267 SVGFEFuncGElementWrappingImplementation._wrap$ctor = function(ptr) {
4268 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4269 }
4270 SVGFEFuncGElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncGElement WrappingImplementation.prototype;
4271 SVGFEFuncGElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4272 // ********** Code for SVGFEFuncRElementWrappingImplementation **************
4273 $inherits(SVGFEFuncRElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4274 function SVGFEFuncRElementWrappingImplementation() {}
4275 SVGFEFuncRElementWrappingImplementation._wrap$ctor = function(ptr) {
4276 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4277 }
4278 SVGFEFuncRElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncRElement WrappingImplementation.prototype;
4279 SVGFEFuncRElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4280 // ********** Code for SVGFEGaussianBlurElementWrappingImplementation ********** ****
4281 $inherits(SVGFEGaussianBlurElementWrappingImplementation, SVGElementWrappingImpl ementation);
4282 function SVGFEGaussianBlurElementWrappingImplementation() {}
4283 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor = function(ptr) {
4284 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4285 }
4286 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor.prototype = SVGFEGauss ianBlurElementWrappingImplementation.prototype;
4287 SVGFEGaussianBlurElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4288 SVGFEGaussianBlurElementWrappingImplementation.prototype.get$className = functio n() {
4289 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4290 }
4291 SVGFEGaussianBlurElementWrappingImplementation.prototype.get$style = function() {
4292 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4293 }
4294 // ********** Code for SVGFEImageElementWrappingImplementation **************
4295 $inherits(SVGFEImageElementWrappingImplementation, SVGElementWrappingImplementat ion);
4296 function SVGFEImageElementWrappingImplementation() {}
4297 SVGFEImageElementWrappingImplementation._wrap$ctor = function(ptr) {
4298 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4299 }
4300 SVGFEImageElementWrappingImplementation._wrap$ctor.prototype = SVGFEImageElement WrappingImplementation.prototype;
4301 SVGFEImageElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4302 SVGFEImageElementWrappingImplementation.prototype.get$className = function() {
4303 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4304 }
4305 SVGFEImageElementWrappingImplementation.prototype.get$style = function() {
4306 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4307 }
4308 // ********** Code for SVGFEMergeElementWrappingImplementation **************
4309 $inherits(SVGFEMergeElementWrappingImplementation, SVGElementWrappingImplementat ion);
4310 function SVGFEMergeElementWrappingImplementation() {}
4311 SVGFEMergeElementWrappingImplementation._wrap$ctor = function(ptr) {
4312 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4313 }
4314 SVGFEMergeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeElement WrappingImplementation.prototype;
4315 SVGFEMergeElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4316 SVGFEMergeElementWrappingImplementation.prototype.get$className = function() {
4317 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4318 }
4319 SVGFEMergeElementWrappingImplementation.prototype.get$style = function() {
4320 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4321 }
4322 // ********** Code for SVGFEMergeNodeElementWrappingImplementation ************* *
4323 $inherits(SVGFEMergeNodeElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4324 function SVGFEMergeNodeElementWrappingImplementation() {}
4325 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor = function(ptr) {
4326 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4327 }
4328 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeNod eElementWrappingImplementation.prototype;
4329 SVGFEMergeNodeElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4330 // ********** Code for SVGFEOffsetElementWrappingImplementation **************
4331 $inherits(SVGFEOffsetElementWrappingImplementation, SVGElementWrappingImplementa tion);
4332 function SVGFEOffsetElementWrappingImplementation() {}
4333 SVGFEOffsetElementWrappingImplementation._wrap$ctor = function(ptr) {
4334 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4335 }
4336 SVGFEOffsetElementWrappingImplementation._wrap$ctor.prototype = SVGFEOffsetEleme ntWrappingImplementation.prototype;
4337 SVGFEOffsetElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4338 SVGFEOffsetElementWrappingImplementation.prototype.get$className = function() {
4339 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4340 }
4341 SVGFEOffsetElementWrappingImplementation.prototype.get$style = function() {
4342 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4343 }
4344 // ********** Code for SVGFEPointLightElementWrappingImplementation ************ **
4345 $inherits(SVGFEPointLightElementWrappingImplementation, SVGElementWrappingImplem entation);
4346 function SVGFEPointLightElementWrappingImplementation() {}
4347 SVGFEPointLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4348 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4349 }
4350 SVGFEPointLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEPointLi ghtElementWrappingImplementation.prototype;
4351 SVGFEPointLightElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4352 // ********** Code for SVGFESpecularLightingElementWrappingImplementation ****** ********
4353 $inherits(SVGFESpecularLightingElementWrappingImplementation, SVGElementWrapping Implementation);
4354 function SVGFESpecularLightingElementWrappingImplementation() {}
4355 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
4356 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4357 }
4358 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFES pecularLightingElementWrappingImplementation.prototype;
4359 SVGFESpecularLightingElementWrappingImplementation.prototype.is$html_html_Elemen t = function(){return true};
4360 SVGFESpecularLightingElementWrappingImplementation.prototype.get$className = fun ction() {
4361 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4362 }
4363 SVGFESpecularLightingElementWrappingImplementation.prototype.get$style = functio n() {
4364 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4365 }
4366 // ********** Code for SVGFESpotLightElementWrappingImplementation ************* *
4367 $inherits(SVGFESpotLightElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4368 function SVGFESpotLightElementWrappingImplementation() {}
4369 SVGFESpotLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4370 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4371 }
4372 SVGFESpotLightElementWrappingImplementation._wrap$ctor.prototype = SVGFESpotLigh tElementWrappingImplementation.prototype;
4373 SVGFESpotLightElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4374 // ********** Code for SVGFETileElementWrappingImplementation **************
4375 $inherits(SVGFETileElementWrappingImplementation, SVGElementWrappingImplementati on);
4376 function SVGFETileElementWrappingImplementation() {}
4377 SVGFETileElementWrappingImplementation._wrap$ctor = function(ptr) {
4378 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4379 }
4380 SVGFETileElementWrappingImplementation._wrap$ctor.prototype = SVGFETileElementWr appingImplementation.prototype;
4381 SVGFETileElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4382 SVGFETileElementWrappingImplementation.prototype.get$className = function() {
4383 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4384 }
4385 SVGFETileElementWrappingImplementation.prototype.get$style = function() {
4386 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4387 }
4388 // ********** Code for SVGFETurbulenceElementWrappingImplementation ************ **
4389 $inherits(SVGFETurbulenceElementWrappingImplementation, SVGElementWrappingImplem entation);
4390 function SVGFETurbulenceElementWrappingImplementation() {}
4391 SVGFETurbulenceElementWrappingImplementation._wrap$ctor = function(ptr) {
4392 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4393 }
4394 SVGFETurbulenceElementWrappingImplementation._wrap$ctor.prototype = SVGFETurbule nceElementWrappingImplementation.prototype;
4395 SVGFETurbulenceElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4396 SVGFETurbulenceElementWrappingImplementation.prototype.get$className = function( ) {
4397 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4398 }
4399 SVGFETurbulenceElementWrappingImplementation.prototype.get$style = function() {
4400 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4401 }
4402 // ********** Code for SVGFilterElementWrappingImplementation **************
4403 $inherits(SVGFilterElementWrappingImplementation, SVGElementWrappingImplementati on);
4404 function SVGFilterElementWrappingImplementation() {}
4405 SVGFilterElementWrappingImplementation._wrap$ctor = function(ptr) {
4406 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4407 }
4408 SVGFilterElementWrappingImplementation._wrap$ctor.prototype = SVGFilterElementWr appingImplementation.prototype;
4409 SVGFilterElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4410 SVGFilterElementWrappingImplementation.prototype.get$className = function() {
4411 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4412 }
4413 SVGFilterElementWrappingImplementation.prototype.get$style = function() {
4414 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4415 }
4416 // ********** Code for SVGFontElementWrappingImplementation **************
4417 $inherits(SVGFontElementWrappingImplementation, SVGElementWrappingImplementation );
4418 function SVGFontElementWrappingImplementation() {}
4419 SVGFontElementWrappingImplementation._wrap$ctor = function(ptr) {
4420 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4421 }
4422 SVGFontElementWrappingImplementation._wrap$ctor.prototype = SVGFontElementWrappi ngImplementation.prototype;
4423 SVGFontElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4424 // ********** Code for SVGFontFaceElementWrappingImplementation **************
4425 $inherits(SVGFontFaceElementWrappingImplementation, SVGElementWrappingImplementa tion);
4426 function SVGFontFaceElementWrappingImplementation() {}
4427 SVGFontFaceElementWrappingImplementation._wrap$ctor = function(ptr) {
4428 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4429 }
4430 SVGFontFaceElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceEleme ntWrappingImplementation.prototype;
4431 SVGFontFaceElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4432 // ********** Code for SVGFontFaceFormatElementWrappingImplementation ********** ****
4433 $inherits(SVGFontFaceFormatElementWrappingImplementation, SVGElementWrappingImpl ementation);
4434 function SVGFontFaceFormatElementWrappingImplementation() {}
4435 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor = function(ptr) {
4436 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4437 }
4438 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor.prototype = SVGFontFac eFormatElementWrappingImplementation.prototype;
4439 SVGFontFaceFormatElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4440 // ********** Code for SVGFontFaceNameElementWrappingImplementation ************ **
4441 $inherits(SVGFontFaceNameElementWrappingImplementation, SVGElementWrappingImplem entation);
4442 function SVGFontFaceNameElementWrappingImplementation() {}
4443 SVGFontFaceNameElementWrappingImplementation._wrap$ctor = function(ptr) {
4444 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4445 }
4446 SVGFontFaceNameElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceN ameElementWrappingImplementation.prototype;
4447 SVGFontFaceNameElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4448 // ********** Code for SVGFontFaceSrcElementWrappingImplementation ************* *
4449 $inherits(SVGFontFaceSrcElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4450 function SVGFontFaceSrcElementWrappingImplementation() {}
4451 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor = function(ptr) {
4452 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4453 }
4454 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceSr cElementWrappingImplementation.prototype;
4455 SVGFontFaceSrcElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4456 // ********** Code for SVGFontFaceUriElementWrappingImplementation ************* *
4457 $inherits(SVGFontFaceUriElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4458 function SVGFontFaceUriElementWrappingImplementation() {}
4459 SVGFontFaceUriElementWrappingImplementation._wrap$ctor = function(ptr) {
4460 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4461 }
4462 SVGFontFaceUriElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceUr iElementWrappingImplementation.prototype;
4463 SVGFontFaceUriElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4464 // ********** Code for SVGForeignObjectElementWrappingImplementation *********** ***
4465 $inherits(SVGForeignObjectElementWrappingImplementation, SVGElementWrappingImple mentation);
4466 function SVGForeignObjectElementWrappingImplementation() {}
4467 SVGForeignObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
4468 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4469 }
4470 SVGForeignObjectElementWrappingImplementation._wrap$ctor.prototype = SVGForeignO bjectElementWrappingImplementation.prototype;
4471 SVGForeignObjectElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4472 SVGForeignObjectElementWrappingImplementation.prototype.get$className = function () {
4473 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4474 }
4475 SVGForeignObjectElementWrappingImplementation.prototype.get$style = function() {
4476 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4477 }
4478 // ********** Code for SVGGElementWrappingImplementation **************
4479 $inherits(SVGGElementWrappingImplementation, SVGElementWrappingImplementation);
4480 function SVGGElementWrappingImplementation() {}
4481 SVGGElementWrappingImplementation._wrap$ctor = function(ptr) {
4482 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4483 }
4484 SVGGElementWrappingImplementation._wrap$ctor.prototype = SVGGElementWrappingImpl ementation.prototype;
4485 SVGGElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4486 SVGGElementWrappingImplementation.prototype.get$className = function() {
4487 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4488 }
4489 SVGGElementWrappingImplementation.prototype.get$style = function() {
4490 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4491 }
4492 // ********** Code for SVGGlyphElementWrappingImplementation **************
4493 $inherits(SVGGlyphElementWrappingImplementation, SVGElementWrappingImplementatio n);
4494 function SVGGlyphElementWrappingImplementation() {}
4495 SVGGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
4496 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4497 }
4498 SVGGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphElementWrap pingImplementation.prototype;
4499 SVGGlyphElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4500 // ********** Code for SVGGlyphRefElementWrappingImplementation **************
4501 $inherits(SVGGlyphRefElementWrappingImplementation, SVGElementWrappingImplementa tion);
4502 function SVGGlyphRefElementWrappingImplementation() {}
4503 SVGGlyphRefElementWrappingImplementation._wrap$ctor = function(ptr) {
4504 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4505 }
4506 SVGGlyphRefElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphRefEleme ntWrappingImplementation.prototype;
4507 SVGGlyphRefElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4508 SVGGlyphRefElementWrappingImplementation.prototype.get$className = function() {
4509 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4510 }
4511 SVGGlyphRefElementWrappingImplementation.prototype.get$style = function() {
4512 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4513 }
4514 // ********** Code for SVGGradientElementWrappingImplementation **************
4515 $inherits(SVGGradientElementWrappingImplementation, SVGElementWrappingImplementa tion);
4516 function SVGGradientElementWrappingImplementation() {}
4517 SVGGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
4518 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4519 }
4520 SVGGradientElementWrappingImplementation._wrap$ctor.prototype = SVGGradientEleme ntWrappingImplementation.prototype;
4521 SVGGradientElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4522 SVGGradientElementWrappingImplementation.prototype.get$className = function() {
4523 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4524 }
4525 SVGGradientElementWrappingImplementation.prototype.get$style = function() {
4526 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4527 }
4528 // ********** Code for SVGHKernElementWrappingImplementation **************
4529 $inherits(SVGHKernElementWrappingImplementation, SVGElementWrappingImplementatio n);
4530 function SVGHKernElementWrappingImplementation() {}
4531 SVGHKernElementWrappingImplementation._wrap$ctor = function(ptr) {
4532 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4533 }
4534 SVGHKernElementWrappingImplementation._wrap$ctor.prototype = SVGHKernElementWrap pingImplementation.prototype;
4535 SVGHKernElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4536 // ********** Code for SVGImageElementWrappingImplementation **************
4537 $inherits(SVGImageElementWrappingImplementation, SVGElementWrappingImplementatio n);
4538 function SVGImageElementWrappingImplementation() {}
4539 SVGImageElementWrappingImplementation._wrap$ctor = function(ptr) {
4540 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4541 }
4542 SVGImageElementWrappingImplementation._wrap$ctor.prototype = SVGImageElementWrap pingImplementation.prototype;
4543 SVGImageElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4544 SVGImageElementWrappingImplementation.prototype.get$className = function() {
4545 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4546 }
4547 SVGImageElementWrappingImplementation.prototype.get$style = function() {
4548 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4549 }
4550 // ********** Code for SVGLineElementWrappingImplementation **************
4551 $inherits(SVGLineElementWrappingImplementation, SVGElementWrappingImplementation );
4552 function SVGLineElementWrappingImplementation() {}
4553 SVGLineElementWrappingImplementation._wrap$ctor = function(ptr) {
4554 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4555 }
4556 SVGLineElementWrappingImplementation._wrap$ctor.prototype = SVGLineElementWrappi ngImplementation.prototype;
4557 SVGLineElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4558 SVGLineElementWrappingImplementation.prototype.get$className = function() {
4559 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4560 }
4561 SVGLineElementWrappingImplementation.prototype.get$style = function() {
4562 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4563 }
4564 // ********** Code for SVGLinearGradientElementWrappingImplementation ********** ****
4565 $inherits(SVGLinearGradientElementWrappingImplementation, SVGGradientElementWrap pingImplementation);
4566 function SVGLinearGradientElementWrappingImplementation() {}
4567 SVGLinearGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
4568 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
4569 }
4570 SVGLinearGradientElementWrappingImplementation._wrap$ctor.prototype = SVGLinearG radientElementWrappingImplementation.prototype;
4571 SVGLinearGradientElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4572 // ********** Code for SVGMPathElementWrappingImplementation **************
4573 $inherits(SVGMPathElementWrappingImplementation, SVGElementWrappingImplementatio n);
4574 function SVGMPathElementWrappingImplementation() {}
4575 SVGMPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4576 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4577 }
4578 SVGMPathElementWrappingImplementation._wrap$ctor.prototype = SVGMPathElementWrap pingImplementation.prototype;
4579 SVGMPathElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4580 // ********** Code for SVGMarkerElementWrappingImplementation **************
4581 $inherits(SVGMarkerElementWrappingImplementation, SVGElementWrappingImplementati on);
4582 function SVGMarkerElementWrappingImplementation() {}
4583 SVGMarkerElementWrappingImplementation._wrap$ctor = function(ptr) {
4584 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4585 }
4586 SVGMarkerElementWrappingImplementation._wrap$ctor.prototype = SVGMarkerElementWr appingImplementation.prototype;
4587 SVGMarkerElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4588 SVGMarkerElementWrappingImplementation.prototype.get$className = function() {
4589 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4590 }
4591 SVGMarkerElementWrappingImplementation.prototype.get$style = function() {
4592 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4593 }
4594 // ********** Code for SVGMaskElementWrappingImplementation **************
4595 $inherits(SVGMaskElementWrappingImplementation, SVGElementWrappingImplementation );
4596 function SVGMaskElementWrappingImplementation() {}
4597 SVGMaskElementWrappingImplementation._wrap$ctor = function(ptr) {
4598 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4599 }
4600 SVGMaskElementWrappingImplementation._wrap$ctor.prototype = SVGMaskElementWrappi ngImplementation.prototype;
4601 SVGMaskElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4602 SVGMaskElementWrappingImplementation.prototype.get$className = function() {
4603 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4604 }
4605 SVGMaskElementWrappingImplementation.prototype.get$style = function() {
4606 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4607 }
4608 // ********** Code for SVGMetadataElementWrappingImplementation **************
4609 $inherits(SVGMetadataElementWrappingImplementation, SVGElementWrappingImplementa tion);
4610 function SVGMetadataElementWrappingImplementation() {}
4611 SVGMetadataElementWrappingImplementation._wrap$ctor = function(ptr) {
4612 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4613 }
4614 SVGMetadataElementWrappingImplementation._wrap$ctor.prototype = SVGMetadataEleme ntWrappingImplementation.prototype;
4615 SVGMetadataElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4616 // ********** Code for SVGMissingGlyphElementWrappingImplementation ************ **
4617 $inherits(SVGMissingGlyphElementWrappingImplementation, SVGElementWrappingImplem entation);
4618 function SVGMissingGlyphElementWrappingImplementation() {}
4619 SVGMissingGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
4620 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4621 }
4622 SVGMissingGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGMissingGl yphElementWrappingImplementation.prototype;
4623 SVGMissingGlyphElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4624 // ********** Code for SVGPathElementWrappingImplementation **************
4625 $inherits(SVGPathElementWrappingImplementation, SVGElementWrappingImplementation );
4626 function SVGPathElementWrappingImplementation() {}
4627 SVGPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4628 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4629 }
4630 SVGPathElementWrappingImplementation._wrap$ctor.prototype = SVGPathElementWrappi ngImplementation.prototype;
4631 SVGPathElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4632 SVGPathElementWrappingImplementation.prototype.get$className = function() {
4633 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4634 }
4635 SVGPathElementWrappingImplementation.prototype.get$style = function() {
4636 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4637 }
4638 // ********** Code for SVGPatternElementWrappingImplementation **************
4639 $inherits(SVGPatternElementWrappingImplementation, SVGElementWrappingImplementat ion);
4640 function SVGPatternElementWrappingImplementation() {}
4641 SVGPatternElementWrappingImplementation._wrap$ctor = function(ptr) {
4642 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4643 }
4644 SVGPatternElementWrappingImplementation._wrap$ctor.prototype = SVGPatternElement WrappingImplementation.prototype;
4645 SVGPatternElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4646 SVGPatternElementWrappingImplementation.prototype.get$className = function() {
4647 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4648 }
4649 SVGPatternElementWrappingImplementation.prototype.get$style = function() {
4650 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4651 }
4652 // ********** Code for SVGPolygonElementWrappingImplementation **************
4653 $inherits(SVGPolygonElementWrappingImplementation, SVGElementWrappingImplementat ion);
4654 function SVGPolygonElementWrappingImplementation() {}
4655 SVGPolygonElementWrappingImplementation._wrap$ctor = function(ptr) {
4656 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4657 }
4658 SVGPolygonElementWrappingImplementation._wrap$ctor.prototype = SVGPolygonElement WrappingImplementation.prototype;
4659 SVGPolygonElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4660 SVGPolygonElementWrappingImplementation.prototype.get$className = function() {
4661 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4662 }
4663 SVGPolygonElementWrappingImplementation.prototype.get$style = function() {
4664 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4665 }
4666 // ********** Code for SVGPolylineElementWrappingImplementation **************
4667 $inherits(SVGPolylineElementWrappingImplementation, SVGElementWrappingImplementa tion);
4668 function SVGPolylineElementWrappingImplementation() {}
4669 SVGPolylineElementWrappingImplementation._wrap$ctor = function(ptr) {
4670 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4671 }
4672 SVGPolylineElementWrappingImplementation._wrap$ctor.prototype = SVGPolylineEleme ntWrappingImplementation.prototype;
4673 SVGPolylineElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4674 SVGPolylineElementWrappingImplementation.prototype.get$className = function() {
4675 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4676 }
4677 SVGPolylineElementWrappingImplementation.prototype.get$style = function() {
4678 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4679 }
4680 // ********** Code for SVGRadialGradientElementWrappingImplementation ********** ****
4681 $inherits(SVGRadialGradientElementWrappingImplementation, SVGGradientElementWrap pingImplementation);
4682 function SVGRadialGradientElementWrappingImplementation() {}
4683 SVGRadialGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
4684 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
4685 }
4686 SVGRadialGradientElementWrappingImplementation._wrap$ctor.prototype = SVGRadialG radientElementWrappingImplementation.prototype;
4687 SVGRadialGradientElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4688 // ********** Code for SVGRectElementWrappingImplementation **************
4689 $inherits(SVGRectElementWrappingImplementation, SVGElementWrappingImplementation );
4690 function SVGRectElementWrappingImplementation() {}
4691 SVGRectElementWrappingImplementation._wrap$ctor = function(ptr) {
4692 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4693 }
4694 SVGRectElementWrappingImplementation._wrap$ctor.prototype = SVGRectElementWrappi ngImplementation.prototype;
4695 SVGRectElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4696 SVGRectElementWrappingImplementation.prototype.get$className = function() {
4697 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4698 }
4699 SVGRectElementWrappingImplementation.prototype.get$style = function() {
4700 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4701 }
4702 // ********** Code for SVGScriptElementWrappingImplementation **************
4703 $inherits(SVGScriptElementWrappingImplementation, SVGElementWrappingImplementati on);
4704 function SVGScriptElementWrappingImplementation() {}
4705 SVGScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
4706 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4707 }
4708 SVGScriptElementWrappingImplementation._wrap$ctor.prototype = SVGScriptElementWr appingImplementation.prototype;
4709 SVGScriptElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4710 // ********** Code for SVGSetElementWrappingImplementation **************
4711 $inherits(SVGSetElementWrappingImplementation, SVGAnimationElementWrappingImplem entation);
4712 function SVGSetElementWrappingImplementation() {}
4713 SVGSetElementWrappingImplementation._wrap$ctor = function(ptr) {
4714 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4715 }
4716 SVGSetElementWrappingImplementation._wrap$ctor.prototype = SVGSetElementWrapping Implementation.prototype;
4717 SVGSetElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4718 // ********** Code for SVGStopElementWrappingImplementation **************
4719 $inherits(SVGStopElementWrappingImplementation, SVGElementWrappingImplementation );
4720 function SVGStopElementWrappingImplementation() {}
4721 SVGStopElementWrappingImplementation._wrap$ctor = function(ptr) {
4722 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4723 }
4724 SVGStopElementWrappingImplementation._wrap$ctor.prototype = SVGStopElementWrappi ngImplementation.prototype;
4725 SVGStopElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4726 SVGStopElementWrappingImplementation.prototype.get$className = function() {
4727 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4728 }
4729 SVGStopElementWrappingImplementation.prototype.get$style = function() {
4730 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4731 }
4732 // ********** Code for SVGStyleElementWrappingImplementation **************
4733 $inherits(SVGStyleElementWrappingImplementation, SVGElementWrappingImplementatio n);
4734 function SVGStyleElementWrappingImplementation() {}
4735 SVGStyleElementWrappingImplementation._wrap$ctor = function(ptr) {
4736 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4737 }
4738 SVGStyleElementWrappingImplementation._wrap$ctor.prototype = SVGStyleElementWrap pingImplementation.prototype;
4739 SVGStyleElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4740 // ********** Code for SVGSwitchElementWrappingImplementation **************
4741 $inherits(SVGSwitchElementWrappingImplementation, SVGElementWrappingImplementati on);
4742 function SVGSwitchElementWrappingImplementation() {}
4743 SVGSwitchElementWrappingImplementation._wrap$ctor = function(ptr) {
4744 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4745 }
4746 SVGSwitchElementWrappingImplementation._wrap$ctor.prototype = SVGSwitchElementWr appingImplementation.prototype;
4747 SVGSwitchElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4748 SVGSwitchElementWrappingImplementation.prototype.get$className = function() {
4749 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4750 }
4751 SVGSwitchElementWrappingImplementation.prototype.get$style = function() {
4752 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4753 }
4754 // ********** Code for SVGSymbolElementWrappingImplementation **************
4755 $inherits(SVGSymbolElementWrappingImplementation, SVGElementWrappingImplementati on);
4756 function SVGSymbolElementWrappingImplementation() {}
4757 SVGSymbolElementWrappingImplementation._wrap$ctor = function(ptr) {
4758 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4759 }
4760 SVGSymbolElementWrappingImplementation._wrap$ctor.prototype = SVGSymbolElementWr appingImplementation.prototype;
4761 SVGSymbolElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4762 SVGSymbolElementWrappingImplementation.prototype.get$className = function() {
4763 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4764 }
4765 SVGSymbolElementWrappingImplementation.prototype.get$style = function() {
4766 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4767 }
4768 // ********** Code for SVGTRefElementWrappingImplementation **************
4769 $inherits(SVGTRefElementWrappingImplementation, SVGTextPositioningElementWrappin gImplementation);
4770 function SVGTRefElementWrappingImplementation() {}
4771 SVGTRefElementWrappingImplementation._wrap$ctor = function(ptr) {
4772 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
4773 }
4774 SVGTRefElementWrappingImplementation._wrap$ctor.prototype = SVGTRefElementWrappi ngImplementation.prototype;
4775 SVGTRefElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4776 // ********** Code for SVGTSpanElementWrappingImplementation **************
4777 $inherits(SVGTSpanElementWrappingImplementation, SVGTextPositioningElementWrappi ngImplementation);
4778 function SVGTSpanElementWrappingImplementation() {}
4779 SVGTSpanElementWrappingImplementation._wrap$ctor = function(ptr) {
4780 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
4781 }
4782 SVGTSpanElementWrappingImplementation._wrap$ctor.prototype = SVGTSpanElementWrap pingImplementation.prototype;
4783 SVGTSpanElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4784 // ********** Code for SVGTextElementWrappingImplementation **************
4785 $inherits(SVGTextElementWrappingImplementation, SVGTextPositioningElementWrappin gImplementation);
4786 function SVGTextElementWrappingImplementation() {}
4787 SVGTextElementWrappingImplementation._wrap$ctor = function(ptr) {
4788 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
4789 }
4790 SVGTextElementWrappingImplementation._wrap$ctor.prototype = SVGTextElementWrappi ngImplementation.prototype;
4791 SVGTextElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4792 // ********** Code for SVGTextPathElementWrappingImplementation **************
4793 $inherits(SVGTextPathElementWrappingImplementation, SVGTextContentElementWrappin gImplementation);
4794 function SVGTextPathElementWrappingImplementation() {}
4795 SVGTextPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4796 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
4797 }
4798 SVGTextPathElementWrappingImplementation._wrap$ctor.prototype = SVGTextPathEleme ntWrappingImplementation.prototype;
4799 SVGTextPathElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4800 // ********** Code for SVGTitleElementWrappingImplementation **************
4801 $inherits(SVGTitleElementWrappingImplementation, SVGElementWrappingImplementatio n);
4802 function SVGTitleElementWrappingImplementation() {}
4803 SVGTitleElementWrappingImplementation._wrap$ctor = function(ptr) {
4804 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4805 }
4806 SVGTitleElementWrappingImplementation._wrap$ctor.prototype = SVGTitleElementWrap pingImplementation.prototype;
4807 SVGTitleElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4808 SVGTitleElementWrappingImplementation.prototype.get$className = function() {
4809 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4810 }
4811 SVGTitleElementWrappingImplementation.prototype.get$style = function() {
4812 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4813 }
4814 // ********** Code for SVGUseElementWrappingImplementation **************
4815 $inherits(SVGUseElementWrappingImplementation, SVGElementWrappingImplementation) ;
4816 function SVGUseElementWrappingImplementation() {}
4817 SVGUseElementWrappingImplementation._wrap$ctor = function(ptr) {
4818 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4819 }
4820 SVGUseElementWrappingImplementation._wrap$ctor.prototype = SVGUseElementWrapping Implementation.prototype;
4821 SVGUseElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4822 SVGUseElementWrappingImplementation.prototype.get$className = function() {
4823 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4824 }
4825 SVGUseElementWrappingImplementation.prototype.get$style = function() {
4826 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4827 }
4828 // ********** Code for SVGVKernElementWrappingImplementation **************
4829 $inherits(SVGVKernElementWrappingImplementation, SVGElementWrappingImplementatio n);
4830 function SVGVKernElementWrappingImplementation() {}
4831 SVGVKernElementWrappingImplementation._wrap$ctor = function(ptr) {
4832 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4833 }
4834 SVGVKernElementWrappingImplementation._wrap$ctor.prototype = SVGVKernElementWrap pingImplementation.prototype;
4835 SVGVKernElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4836 // ********** Code for SVGViewElementWrappingImplementation **************
4837 $inherits(SVGViewElementWrappingImplementation, SVGElementWrappingImplementation );
4838 function SVGViewElementWrappingImplementation() {}
4839 SVGViewElementWrappingImplementation._wrap$ctor = function(ptr) {
4840 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4841 }
4842 SVGViewElementWrappingImplementation._wrap$ctor.prototype = SVGViewElementWrappi ngImplementation.prototype;
4843 SVGViewElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4844 // ********** Code for UIEventWrappingImplementation **************
4845 $inherits(UIEventWrappingImplementation, EventWrappingImplementation);
4846 function UIEventWrappingImplementation() {}
4847 UIEventWrappingImplementation._wrap$ctor = function(ptr) {
4848 EventWrappingImplementation._wrap$ctor.call(this, ptr);
4849 }
4850 UIEventWrappingImplementation._wrap$ctor.prototype = UIEventWrappingImplementati on.prototype;
4851 // ********** Code for SVGZoomEventWrappingImplementation **************
4852 $inherits(SVGZoomEventWrappingImplementation, UIEventWrappingImplementation);
4853 function SVGZoomEventWrappingImplementation() {}
4854 SVGZoomEventWrappingImplementation._wrap$ctor = function(ptr) {
4855 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
4856 }
4857 SVGZoomEventWrappingImplementation._wrap$ctor.prototype = SVGZoomEventWrappingIm plementation.prototype;
4858 // ********** Code for ScriptElementWrappingImplementation **************
4859 $inherits(ScriptElementWrappingImplementation, ElementWrappingImplementation);
4860 function ScriptElementWrappingImplementation() {}
4861 ScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
4862 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4863 }
4864 ScriptElementWrappingImplementation._wrap$ctor.prototype = ScriptElementWrapping Implementation.prototype;
4865 ScriptElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4866 // ********** Code for SelectElementWrappingImplementation **************
4867 $inherits(SelectElementWrappingImplementation, ElementWrappingImplementation);
4868 function SelectElementWrappingImplementation() {}
4869 SelectElementWrappingImplementation._wrap$ctor = function(ptr) {
4870 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4871 }
4872 SelectElementWrappingImplementation._wrap$ctor.prototype = SelectElementWrapping Implementation.prototype;
4873 SelectElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4874 SelectElementWrappingImplementation.prototype.get$length = function() {
4875 return this._ptr.get$length();
4876 }
4877 SelectElementWrappingImplementation.prototype.get$name = function() {
4878 return this._ptr.get$name();
4879 }
4880 SelectElementWrappingImplementation.prototype.get$value = function() {
4881 return this._ptr.get$value();
4882 }
4883 SelectElementWrappingImplementation.prototype.set$value = function(value) {
4884 this._ptr.set$value(value);
4885 }
4886 SelectElementWrappingImplementation.prototype.item = function(index) {
4887 return LevelDom.wrapNode(this._ptr.item$1(index));
4888 }
4889 SelectElementWrappingImplementation.prototype.item$1 = SelectElementWrappingImpl ementation.prototype.item;
4890 // ********** Code for SourceElementWrappingImplementation **************
4891 $inherits(SourceElementWrappingImplementation, ElementWrappingImplementation);
4892 function SourceElementWrappingImplementation() {}
4893 SourceElementWrappingImplementation._wrap$ctor = function(ptr) {
4894 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4895 }
4896 SourceElementWrappingImplementation._wrap$ctor.prototype = SourceElementWrapping Implementation.prototype;
4897 SourceElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4898 // ********** Code for SpanElementWrappingImplementation **************
4899 $inherits(SpanElementWrappingImplementation, ElementWrappingImplementation);
4900 function SpanElementWrappingImplementation() {}
4901 SpanElementWrappingImplementation._wrap$ctor = function(ptr) {
4902 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4903 }
4904 SpanElementWrappingImplementation._wrap$ctor.prototype = SpanElementWrappingImpl ementation.prototype;
4905 SpanElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4906 // ********** Code for SpeechInputEventWrappingImplementation **************
4907 $inherits(SpeechInputEventWrappingImplementation, EventWrappingImplementation);
4908 function SpeechInputEventWrappingImplementation() {}
4909 SpeechInputEventWrappingImplementation._wrap$ctor = function(ptr) {
4910 EventWrappingImplementation._wrap$ctor.call(this, ptr);
4911 }
4912 SpeechInputEventWrappingImplementation._wrap$ctor.prototype = SpeechInputEventWr appingImplementation.prototype;
4913 // ********** Code for StyleElementWrappingImplementation **************
4914 $inherits(StyleElementWrappingImplementation, ElementWrappingImplementation);
4915 function StyleElementWrappingImplementation() {}
4916 StyleElementWrappingImplementation._wrap$ctor = function(ptr) {
4917 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4918 }
4919 StyleElementWrappingImplementation._wrap$ctor.prototype = StyleElementWrappingIm plementation.prototype;
4920 StyleElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4921 // ********** Code for TableCaptionElementWrappingImplementation **************
4922 $inherits(TableCaptionElementWrappingImplementation, ElementWrappingImplementati on);
4923 function TableCaptionElementWrappingImplementation() {}
4924 TableCaptionElementWrappingImplementation._wrap$ctor = function(ptr) {
4925 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4926 }
4927 TableCaptionElementWrappingImplementation._wrap$ctor.prototype = TableCaptionEle mentWrappingImplementation.prototype;
4928 TableCaptionElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
4929 // ********** Code for TableCellElementWrappingImplementation **************
4930 $inherits(TableCellElementWrappingImplementation, ElementWrappingImplementation) ;
4931 function TableCellElementWrappingImplementation() {}
4932 TableCellElementWrappingImplementation._wrap$ctor = function(ptr) {
4933 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4934 }
4935 TableCellElementWrappingImplementation._wrap$ctor.prototype = TableCellElementWr appingImplementation.prototype;
4936 TableCellElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4937 // ********** Code for TableColElementWrappingImplementation **************
4938 $inherits(TableColElementWrappingImplementation, ElementWrappingImplementation);
4939 function TableColElementWrappingImplementation() {}
4940 TableColElementWrappingImplementation._wrap$ctor = function(ptr) {
4941 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4942 }
4943 TableColElementWrappingImplementation._wrap$ctor.prototype = TableColElementWrap pingImplementation.prototype;
4944 TableColElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4945 // ********** Code for TableElementWrappingImplementation **************
4946 $inherits(TableElementWrappingImplementation, ElementWrappingImplementation);
4947 function TableElementWrappingImplementation() {}
4948 TableElementWrappingImplementation._wrap$ctor = function(ptr) {
4949 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4950 }
4951 TableElementWrappingImplementation._wrap$ctor.prototype = TableElementWrappingIm plementation.prototype;
4952 TableElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4953 // ********** Code for TableRowElementWrappingImplementation **************
4954 $inherits(TableRowElementWrappingImplementation, ElementWrappingImplementation);
4955 function TableRowElementWrappingImplementation() {}
4956 TableRowElementWrappingImplementation._wrap$ctor = function(ptr) {
4957 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4958 }
4959 TableRowElementWrappingImplementation._wrap$ctor.prototype = TableRowElementWrap pingImplementation.prototype;
4960 TableRowElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4961 // ********** Code for TableSectionElementWrappingImplementation **************
4962 $inherits(TableSectionElementWrappingImplementation, ElementWrappingImplementati on);
4963 function TableSectionElementWrappingImplementation() {}
4964 TableSectionElementWrappingImplementation._wrap$ctor = function(ptr) {
4965 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4966 }
4967 TableSectionElementWrappingImplementation._wrap$ctor.prototype = TableSectionEle mentWrappingImplementation.prototype;
4968 TableSectionElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
4969 // ********** Code for TextAreaElementWrappingImplementation **************
4970 $inherits(TextAreaElementWrappingImplementation, ElementWrappingImplementation);
4971 function TextAreaElementWrappingImplementation() {}
4972 TextAreaElementWrappingImplementation._wrap$ctor = function(ptr) {
4973 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4974 }
4975 TextAreaElementWrappingImplementation._wrap$ctor.prototype = TextAreaElementWrap pingImplementation.prototype;
4976 TextAreaElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4977 TextAreaElementWrappingImplementation.prototype.get$name = function() {
4978 return this._ptr.get$name();
4979 }
4980 TextAreaElementWrappingImplementation.prototype.get$value = function() {
4981 return this._ptr.get$value();
4982 }
4983 TextAreaElementWrappingImplementation.prototype.set$value = function(value) {
4984 this._ptr.set$value(value);
4985 }
4986 // ********** Code for TitleElementWrappingImplementation **************
4987 $inherits(TitleElementWrappingImplementation, ElementWrappingImplementation);
4988 function TitleElementWrappingImplementation() {}
4989 TitleElementWrappingImplementation._wrap$ctor = function(ptr) {
4990 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4991 }
4992 TitleElementWrappingImplementation._wrap$ctor.prototype = TitleElementWrappingIm plementation.prototype;
4993 TitleElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4994 // ********** Code for TrackElementWrappingImplementation **************
4995 $inherits(TrackElementWrappingImplementation, ElementWrappingImplementation);
4996 function TrackElementWrappingImplementation() {}
4997 TrackElementWrappingImplementation._wrap$ctor = function(ptr) {
4998 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4999 }
5000 TrackElementWrappingImplementation._wrap$ctor.prototype = TrackElementWrappingIm plementation.prototype;
5001 TrackElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5002 // ********** Code for UListElementWrappingImplementation **************
5003 $inherits(UListElementWrappingImplementation, ElementWrappingImplementation);
5004 function UListElementWrappingImplementation() {}
5005 UListElementWrappingImplementation._wrap$ctor = function(ptr) {
5006 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5007 }
5008 UListElementWrappingImplementation._wrap$ctor.prototype = UListElementWrappingIm plementation.prototype;
5009 UListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5010 // ********** Code for UnknownElementWrappingImplementation **************
5011 $inherits(UnknownElementWrappingImplementation, ElementWrappingImplementation);
5012 function UnknownElementWrappingImplementation() {}
5013 UnknownElementWrappingImplementation._wrap$ctor = function(ptr) {
5014 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5015 }
5016 UnknownElementWrappingImplementation._wrap$ctor.prototype = UnknownElementWrappi ngImplementation.prototype;
5017 UnknownElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5018 // ********** Code for VideoElementWrappingImplementation **************
5019 $inherits(VideoElementWrappingImplementation, MediaElementWrappingImplementation );
5020 function VideoElementWrappingImplementation() {}
5021 VideoElementWrappingImplementation._wrap$ctor = function(ptr) {
5022 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
5023 }
5024 VideoElementWrappingImplementation._wrap$ctor.prototype = VideoElementWrappingIm plementation.prototype;
5025 VideoElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5026 // ********** Code for WebGLContextEventWrappingImplementation **************
5027 $inherits(WebGLContextEventWrappingImplementation, EventWrappingImplementation);
5028 function WebGLContextEventWrappingImplementation() {}
5029 WebGLContextEventWrappingImplementation._wrap$ctor = function(ptr) {
5030 EventWrappingImplementation._wrap$ctor.call(this, ptr);
5031 }
5032 WebGLContextEventWrappingImplementation._wrap$ctor.prototype = WebGLContextEvent WrappingImplementation.prototype;
5033 // ********** Code for LevelDom **************
5034 function LevelDom() {}
5035 LevelDom.wrapCSSStyleDeclaration = function(raw) {
5036 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new CSSStyleDeclarationWrappingImplementation._wrap$ ctor(raw);
5037 }
5038 LevelDom.wrapDocument = function(raw) {
5039 if (raw == null) {
5040 return null;
5041 }
5042 if (raw.get$dartObjectLocalStorage() != null) {
5043 return raw.get$dartObjectLocalStorage();
5044 }
5045 switch (raw.get$typeName()) {
5046 case "HTMLDocument":
5047
5048 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
5049
5050 case "SVGDocument":
5051
5052 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
5053
5054 default:
5055
5056 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
5057
5058 }
5059 }
5060 LevelDom.wrapElement = function(raw) {
5061 if (raw == null) {
5062 return null;
5063 }
5064 if (raw.get$dartObjectLocalStorage() != null) {
5065 return raw.get$dartObjectLocalStorage();
5066 }
5067 switch (raw.get$typeName()) {
5068 case "HTMLAnchorElement":
5069
5070 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
5071
5072 case "HTMLAreaElement":
5073
5074 return new AreaElementWrappingImplementation._wrap$ctor(raw);
5075
5076 case "HTMLAudioElement":
5077
5078 return new AudioElementWrappingImplementation._wrap$ctor(raw);
5079
5080 case "HTMLBRElement":
5081
5082 return new BRElementWrappingImplementation._wrap$ctor(raw);
5083
5084 case "HTMLBaseElement":
5085
5086 return new BaseElementWrappingImplementation._wrap$ctor(raw);
5087
5088 case "HTMLBodyElement":
5089
5090 return new BodyElementWrappingImplementation._wrap$ctor(raw);
5091
5092 case "HTMLButtonElement":
5093
5094 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
5095
5096 case "HTMLCanvasElement":
5097
5098 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
5099
5100 case "HTMLDListElement":
5101
5102 return new DListElementWrappingImplementation._wrap$ctor(raw);
5103
5104 case "HTMLDataListElement":
5105
5106 return new DataListElementWrappingImplementation._wrap$ctor(raw);
5107
5108 case "HTMLDetailsElement":
5109
5110 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
5111
5112 case "HTMLDivElement":
5113
5114 return new DivElementWrappingImplementation._wrap$ctor(raw);
5115
5116 case "HTMLElement":
5117
5118 return new ElementWrappingImplementation._wrap$ctor(raw);
5119
5120 case "HTMLEmbedElement":
5121
5122 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
5123
5124 case "HTMLFieldSetElement":
5125
5126 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
5127
5128 case "HTMLFontElement":
5129
5130 return new FontElementWrappingImplementation._wrap$ctor(raw);
5131
5132 case "HTMLFormElement":
5133
5134 return new FormElementWrappingImplementation._wrap$ctor(raw);
5135
5136 case "HTMLHRElement":
5137
5138 return new HRElementWrappingImplementation._wrap$ctor(raw);
5139
5140 case "HTMLHeadElement":
5141
5142 return new HeadElementWrappingImplementation._wrap$ctor(raw);
5143
5144 case "HTMLHeadingElement":
5145
5146 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
5147
5148 case "HTMLHtmlElement":
5149
5150 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
5151
5152 case "HTMLIFrameElement":
5153
5154 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
5155
5156 case "HTMLImageElement":
5157
5158 return new ImageElementWrappingImplementation._wrap$ctor(raw);
5159
5160 case "HTMLInputElement":
5161
5162 return new InputElementWrappingImplementation._wrap$ctor(raw);
5163
5164 case "HTMLKeygenElement":
5165
5166 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
5167
5168 case "HTMLLIElement":
5169
5170 return new LIElementWrappingImplementation._wrap$ctor(raw);
5171
5172 case "HTMLLabelElement":
5173
5174 return new LabelElementWrappingImplementation._wrap$ctor(raw);
5175
5176 case "HTMLLegendElement":
5177
5178 return new LegendElementWrappingImplementation._wrap$ctor(raw);
5179
5180 case "HTMLLinkElement":
5181
5182 return new LinkElementWrappingImplementation._wrap$ctor(raw);
5183
5184 case "HTMLMapElement":
5185
5186 return new MapElementWrappingImplementation._wrap$ctor(raw);
5187
5188 case "HTMLMarqueeElement":
5189
5190 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
5191
5192 case "HTMLMediaElement":
5193
5194 return new MediaElementWrappingImplementation._wrap$ctor(raw);
5195
5196 case "HTMLMenuElement":
5197
5198 return new MenuElementWrappingImplementation._wrap$ctor(raw);
5199
5200 case "HTMLMetaElement":
5201
5202 return new MetaElementWrappingImplementation._wrap$ctor(raw);
5203
5204 case "HTMLMeterElement":
5205
5206 return new MeterElementWrappingImplementation._wrap$ctor(raw);
5207
5208 case "HTMLModElement":
5209
5210 return new ModElementWrappingImplementation._wrap$ctor(raw);
5211
5212 case "HTMLOListElement":
5213
5214 return new OListElementWrappingImplementation._wrap$ctor(raw);
5215
5216 case "HTMLObjectElement":
5217
5218 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
5219
5220 case "HTMLOptGroupElement":
5221
5222 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
5223
5224 case "HTMLOptionElement":
5225
5226 return new OptionElementWrappingImplementation._wrap$ctor(raw);
5227
5228 case "HTMLOutputElement":
5229
5230 return new OutputElementWrappingImplementation._wrap$ctor(raw);
5231
5232 case "HTMLParagraphElement":
5233
5234 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
5235
5236 case "HTMLParamElement":
5237
5238 return new ParamElementWrappingImplementation._wrap$ctor(raw);
5239
5240 case "HTMLPreElement":
5241
5242 return new PreElementWrappingImplementation._wrap$ctor(raw);
5243
5244 case "HTMLProgressElement":
5245
5246 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
5247
5248 case "HTMLQuoteElement":
5249
5250 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
5251
5252 case "SVGAElement":
5253
5254 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
5255
5256 case "SVGAltGlyphDefElement":
5257
5258 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
5259
5260 case "SVGAltGlyphElement":
5261
5262 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
5263
5264 case "SVGAltGlyphItemElement":
5265
5266 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
5267
5268 case "SVGAnimateColorElement":
5269
5270 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
5271
5272 case "SVGAnimateElement":
5273
5274 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
5275
5276 case "SVGAnimateMotionElement":
5277
5278 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
5279
5280 case "SVGAnimateTransformElement":
5281
5282 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
5283
5284 case "SVGAnimationElement":
5285
5286 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
5287
5288 case "SVGCircleElement":
5289
5290 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
5291
5292 case "SVGClipPathElement":
5293
5294 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
5295
5296 case "SVGComponentTransferFunctionElement":
5297
5298 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
5299
5300 case "SVGCursorElement":
5301
5302 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
5303
5304 case "SVGDefsElement":
5305
5306 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
5307
5308 case "SVGDescElement":
5309
5310 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
5311
5312 case "SVGElement":
5313
5314 return new SVGElementWrappingImplementation._wrap$ctor(raw);
5315
5316 case "SVGEllipseElement":
5317
5318 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
5319
5320 case "SVGFEBlendElement":
5321
5322 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
5323
5324 case "SVGFEColorMatrixElement":
5325
5326 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
5327
5328 case "SVGFEComponentTransferElement":
5329
5330 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
5331
5332 case "SVGFEConvolveMatrixElement":
5333
5334 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
5335
5336 case "SVGFEDiffuseLightingElement":
5337
5338 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
5339
5340 case "SVGFEDisplacementMapElement":
5341
5342 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
5343
5344 case "SVGFEDistantLightElement":
5345
5346 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
5347
5348 case "SVGFEDropShadowElement":
5349
5350 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
5351
5352 case "SVGFEFloodElement":
5353
5354 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
5355
5356 case "SVGFEFuncAElement":
5357
5358 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
5359
5360 case "SVGFEFuncBElement":
5361
5362 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
5363
5364 case "SVGFEFuncGElement":
5365
5366 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
5367
5368 case "SVGFEFuncRElement":
5369
5370 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
5371
5372 case "SVGFEGaussianBlurElement":
5373
5374 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
5375
5376 case "SVGFEImageElement":
5377
5378 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
5379
5380 case "SVGFEMergeElement":
5381
5382 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
5383
5384 case "SVGFEMergeNodeElement":
5385
5386 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
5387
5388 case "SVGFEOffsetElement":
5389
5390 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
5391
5392 case "SVGFEPointLightElement":
5393
5394 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
5395
5396 case "SVGFESpecularLightingElement":
5397
5398 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
5399
5400 case "SVGFESpotLightElement":
5401
5402 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
5403
5404 case "SVGFETileElement":
5405
5406 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
5407
5408 case "SVGFETurbulenceElement":
5409
5410 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
5411
5412 case "SVGFilterElement":
5413
5414 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
5415
5416 case "SVGFontElement":
5417
5418 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
5419
5420 case "SVGFontFaceElement":
5421
5422 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
5423
5424 case "SVGFontFaceFormatElement":
5425
5426 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
5427
5428 case "SVGFontFaceNameElement":
5429
5430 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
5431
5432 case "SVGFontFaceSrcElement":
5433
5434 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
5435
5436 case "SVGFontFaceUriElement":
5437
5438 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
5439
5440 case "SVGForeignObjectElement":
5441
5442 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
5443
5444 case "SVGGElement":
5445
5446 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
5447
5448 case "SVGGlyphElement":
5449
5450 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
5451
5452 case "SVGGlyphRefElement":
5453
5454 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
5455
5456 case "SVGGradientElement":
5457
5458 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
5459
5460 case "SVGHKernElement":
5461
5462 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
5463
5464 case "SVGImageElement":
5465
5466 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
5467
5468 case "SVGLineElement":
5469
5470 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
5471
5472 case "SVGLinearGradientElement":
5473
5474 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
5475
5476 case "SVGMPathElement":
5477
5478 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
5479
5480 case "SVGMarkerElement":
5481
5482 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
5483
5484 case "SVGMaskElement":
5485
5486 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
5487
5488 case "SVGMetadataElement":
5489
5490 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
5491
5492 case "SVGMissingGlyphElement":
5493
5494 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
5495
5496 case "SVGPathElement":
5497
5498 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
5499
5500 case "SVGPatternElement":
5501
5502 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
5503
5504 case "SVGPolygonElement":
5505
5506 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
5507
5508 case "SVGPolylineElement":
5509
5510 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
5511
5512 case "SVGRadialGradientElement":
5513
5514 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
5515
5516 case "SVGRectElement":
5517
5518 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
5519
5520 case "SVGSVGElement":
5521
5522 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
5523
5524 case "SVGScriptElement":
5525
5526 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
5527
5528 case "SVGSetElement":
5529
5530 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
5531
5532 case "SVGStopElement":
5533
5534 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
5535
5536 case "SVGStyleElement":
5537
5538 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
5539
5540 case "SVGSwitchElement":
5541
5542 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
5543
5544 case "SVGSymbolElement":
5545
5546 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
5547
5548 case "SVGTRefElement":
5549
5550 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
5551
5552 case "SVGTSpanElement":
5553
5554 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
5555
5556 case "SVGTextContentElement":
5557
5558 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
5559
5560 case "SVGTextElement":
5561
5562 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
5563
5564 case "SVGTextPathElement":
5565
5566 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
5567
5568 case "SVGTextPositioningElement":
5569
5570 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
5571
5572 case "SVGTitleElement":
5573
5574 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
5575
5576 case "SVGUseElement":
5577
5578 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
5579
5580 case "SVGVKernElement":
5581
5582 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
5583
5584 case "SVGViewElement":
5585
5586 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
5587
5588 case "HTMLScriptElement":
5589
5590 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
5591
5592 case "HTMLSelectElement":
5593
5594 return new SelectElementWrappingImplementation._wrap$ctor(raw);
5595
5596 case "HTMLSourceElement":
5597
5598 return new SourceElementWrappingImplementation._wrap$ctor(raw);
5599
5600 case "HTMLSpanElement":
5601
5602 return new SpanElementWrappingImplementation._wrap$ctor(raw);
5603
5604 case "HTMLStyleElement":
5605
5606 return new StyleElementWrappingImplementation._wrap$ctor(raw);
5607
5608 case "HTMLTableCaptionElement":
5609
5610 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
5611
5612 case "HTMLTableCellElement":
5613
5614 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
5615
5616 case "HTMLTableColElement":
5617
5618 return new TableColElementWrappingImplementation._wrap$ctor(raw);
5619
5620 case "HTMLTableElement":
5621
5622 return new TableElementWrappingImplementation._wrap$ctor(raw);
5623
5624 case "HTMLTableRowElement":
5625
5626 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
5627
5628 case "HTMLTableSectionElement":
5629
5630 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
5631
5632 case "HTMLTextAreaElement":
5633
5634 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
5635
5636 case "HTMLTitleElement":
5637
5638 return new TitleElementWrappingImplementation._wrap$ctor(raw);
5639
5640 case "HTMLTrackElement":
5641
5642 return new TrackElementWrappingImplementation._wrap$ctor(raw);
5643
5644 case "HTMLUListElement":
5645
5646 return new UListElementWrappingImplementation._wrap$ctor(raw);
5647
5648 case "HTMLUnknownElement":
5649
5650 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
5651
5652 case "HTMLVideoElement":
5653
5654 return new VideoElementWrappingImplementation._wrap$ctor(raw);
5655
5656 default:
5657
5658 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
5659
5660 }
5661 }
5662 LevelDom.wrapElementList = function(raw) {
5663 return raw == null ? null : new FrozenElementList._wrap$ctor(raw);
5664 }
5665 LevelDom.wrapEvent = function(raw) {
5666 if (raw == null) {
5667 return null;
5668 }
5669 if (raw.get$dartObjectLocalStorage() != null) {
5670 return raw.get$dartObjectLocalStorage();
5671 }
5672 switch (raw.get$typeName()) {
5673 case "WebKitAnimationEvent":
5674
5675 return new AnimationEventWrappingImplementation._wrap$ctor(raw);
5676
5677 case "AudioProcessingEvent":
5678
5679 return new AudioProcessingEventWrappingImplementation._wrap$ctor(raw);
5680
5681 case "BeforeLoadEvent":
5682
5683 return new BeforeLoadEventWrappingImplementation._wrap$ctor(raw);
5684
5685 case "CloseEvent":
5686
5687 return new CloseEventWrappingImplementation._wrap$ctor(raw);
5688
5689 case "CompositionEvent":
5690
5691 return new CompositionEventWrappingImplementation._wrap$ctor(raw);
5692
5693 case "CustomEvent":
5694
5695 return new CustomEventWrappingImplementation._wrap$ctor(raw);
5696
5697 case "DeviceMotionEvent":
5698
5699 return new DeviceMotionEventWrappingImplementation._wrap$ctor(raw);
5700
5701 case "DeviceOrientationEvent":
5702
5703 return new DeviceOrientationEventWrappingImplementation._wrap$ctor(raw);
5704
5705 case "ErrorEvent":
5706
5707 return new ErrorEventWrappingImplementation._wrap$ctor(raw);
5708
5709 case "Event":
5710
5711 return new EventWrappingImplementation._wrap$ctor(raw);
5712
5713 case "HashChangeEvent":
5714
5715 return new HashChangeEventWrappingImplementation._wrap$ctor(raw);
5716
5717 case "IDBVersionChangeEvent":
5718
5719 return new IDBVersionChangeEventWrappingImplementation._wrap$ctor(raw);
5720
5721 case "KeyboardEvent":
5722
5723 return new KeyboardEventWrappingImplementation._wrap$ctor(raw);
5724
5725 case "MessageEvent":
5726
5727 return new MessageEventWrappingImplementation._wrap$ctor(raw);
5728
5729 case "MouseEvent":
5730
5731 return new MouseEventWrappingImplementation._wrap$ctor(raw);
5732
5733 case "MutationEvent":
5734
5735 return new MutationEventWrappingImplementation._wrap$ctor(raw);
5736
5737 case "OfflineAudioCompletionEvent":
5738
5739 return new OfflineAudioCompletionEventWrappingImplementation._wrap$ctor(ra w);
5740
5741 case "OverflowEvent":
5742
5743 return new OverflowEventWrappingImplementation._wrap$ctor(raw);
5744
5745 case "PageTransitionEvent":
5746
5747 return new PageTransitionEventWrappingImplementation._wrap$ctor(raw);
5748
5749 case "PopStateEvent":
5750
5751 return new PopStateEventWrappingImplementation._wrap$ctor(raw);
5752
5753 case "ProgressEvent":
5754
5755 return new ProgressEventWrappingImplementation._wrap$ctor(raw);
5756
5757 case "SVGZoomEvent":
5758
5759 return new SVGZoomEventWrappingImplementation._wrap$ctor(raw);
5760
5761 case "SpeechInputEvent":
5762
5763 return new SpeechInputEventWrappingImplementation._wrap$ctor(raw);
5764
5765 case "StorageEvent":
5766
5767 return new StorageEventWrappingImplementation._wrap$ctor(raw);
5768
5769 case "TextEvent":
5770
5771 return new TextEventWrappingImplementation._wrap$ctor(raw);
5772
5773 case "TouchEvent":
5774
5775 return new TouchEventWrappingImplementation._wrap$ctor(raw);
5776
5777 case "WebKitTransitionEvent":
5778
5779 return new TransitionEventWrappingImplementation._wrap$ctor(raw);
5780
5781 case "UIEvent":
5782
5783 return new UIEventWrappingImplementation._wrap$ctor(raw);
5784
5785 case "WebGLContextEvent":
5786
5787 return new WebGLContextEventWrappingImplementation._wrap$ctor(raw);
5788
5789 case "WheelEvent":
5790
5791 return new WheelEventWrappingImplementation._wrap$ctor(raw);
5792
5793 case "XMLHttpRequestProgressEvent":
5794
5795 return new XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor(ra w);
5796
5797 default:
5798
5799 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
5800
5801 }
5802 }
5803 LevelDom.wrapEventTarget = function(raw) {
5804 if (raw == null) {
5805 return null;
5806 }
5807 if (raw.get$dartObjectLocalStorage() != null) {
5808 return raw.get$dartObjectLocalStorage();
5809 }
5810 switch (raw.get$typeName()) {
5811 case "HTMLAnchorElement":
5812
5813 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
5814
5815 case "HTMLAreaElement":
5816
5817 return new AreaElementWrappingImplementation._wrap$ctor(raw);
5818
5819 case "HTMLAudioElement":
5820
5821 return new AudioElementWrappingImplementation._wrap$ctor(raw);
5822
5823 case "HTMLBRElement":
5824
5825 return new BRElementWrappingImplementation._wrap$ctor(raw);
5826
5827 case "HTMLBaseElement":
5828
5829 return new BaseElementWrappingImplementation._wrap$ctor(raw);
5830
5831 case "HTMLBodyElement":
5832
5833 return new BodyElementWrappingImplementation._wrap$ctor(raw);
5834
5835 case "HTMLButtonElement":
5836
5837 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
5838
5839 case "CDATASection":
5840
5841 return new CDATASectionWrappingImplementation._wrap$ctor(raw);
5842
5843 case "HTMLCanvasElement":
5844
5845 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
5846
5847 case "CharacterData":
5848
5849 return new CharacterDataWrappingImplementation._wrap$ctor(raw);
5850
5851 case "Comment":
5852
5853 return new CommentWrappingImplementation._wrap$ctor(raw);
5854
5855 case "HTMLDListElement":
5856
5857 return new DListElementWrappingImplementation._wrap$ctor(raw);
5858
5859 case "DOMApplicationCache":
5860
5861 return new DOMApplicationCacheWrappingImplementation._wrap$ctor(raw);
5862
5863 case "HTMLDataListElement":
5864
5865 return new DataListElementWrappingImplementation._wrap$ctor(raw);
5866
5867 case "HTMLDetailsElement":
5868
5869 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
5870
5871 case "HTMLDivElement":
5872
5873 return new DivElementWrappingImplementation._wrap$ctor(raw);
5874
5875 case "HTMLDocument":
5876
5877 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
5878
5879 case "DocumentFragment":
5880
5881 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw);
5882
5883 case "HTMLElement":
5884
5885 return new ElementWrappingImplementation._wrap$ctor(raw);
5886
5887 case "HTMLEmbedElement":
5888
5889 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
5890
5891 case "Entity":
5892
5893 return new EntityWrappingImplementation._wrap$ctor(raw);
5894
5895 case "EntityReference":
5896
5897 return new EntityReferenceWrappingImplementation._wrap$ctor(raw);
5898
5899 case "EventSource":
5900
5901 return new EventSourceWrappingImplementation._wrap$ctor(raw);
5902
5903 case "EventTarget":
5904
5905 return new EventTargetWrappingImplementation._wrap$ctor(raw);
5906
5907 case "HTMLFieldSetElement":
5908
5909 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
5910
5911 case "HTMLFontElement":
5912
5913 return new FontElementWrappingImplementation._wrap$ctor(raw);
5914
5915 case "HTMLFormElement":
5916
5917 return new FormElementWrappingImplementation._wrap$ctor(raw);
5918
5919 case "HTMLHRElement":
5920
5921 return new HRElementWrappingImplementation._wrap$ctor(raw);
5922
5923 case "HTMLHeadElement":
5924
5925 return new HeadElementWrappingImplementation._wrap$ctor(raw);
5926
5927 case "HTMLHeadingElement":
5928
5929 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
5930
5931 case "HTMLHtmlElement":
5932
5933 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
5934
5935 case "HTMLIFrameElement":
5936
5937 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
5938
5939 case "HTMLImageElement":
5940
5941 return new ImageElementWrappingImplementation._wrap$ctor(raw);
5942
5943 case "HTMLInputElement":
5944
5945 return new InputElementWrappingImplementation._wrap$ctor(raw);
5946
5947 case "HTMLKeygenElement":
5948
5949 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
5950
5951 case "HTMLLIElement":
5952
5953 return new LIElementWrappingImplementation._wrap$ctor(raw);
5954
5955 case "HTMLLabelElement":
5956
5957 return new LabelElementWrappingImplementation._wrap$ctor(raw);
5958
5959 case "HTMLLegendElement":
5960
5961 return new LegendElementWrappingImplementation._wrap$ctor(raw);
5962
5963 case "HTMLLinkElement":
5964
5965 return new LinkElementWrappingImplementation._wrap$ctor(raw);
5966
5967 case "HTMLMapElement":
5968
5969 return new MapElementWrappingImplementation._wrap$ctor(raw);
5970
5971 case "HTMLMarqueeElement":
5972
5973 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
5974
5975 case "HTMLMediaElement":
5976
5977 return new MediaElementWrappingImplementation._wrap$ctor(raw);
5978
5979 case "HTMLMenuElement":
5980
5981 return new MenuElementWrappingImplementation._wrap$ctor(raw);
5982
5983 case "MessagePort":
5984
5985 return new MessagePortWrappingImplementation._wrap$ctor(raw);
5986
5987 case "HTMLMetaElement":
5988
5989 return new MetaElementWrappingImplementation._wrap$ctor(raw);
5990
5991 case "HTMLMeterElement":
5992
5993 return new MeterElementWrappingImplementation._wrap$ctor(raw);
5994
5995 case "HTMLModElement":
5996
5997 return new ModElementWrappingImplementation._wrap$ctor(raw);
5998
5999 case "Node":
6000
6001 return new NodeWrappingImplementation._wrap$ctor(raw);
6002
6003 case "Notation":
6004
6005 return new NotationWrappingImplementation._wrap$ctor(raw);
6006
6007 case "Notification":
6008
6009 return new NotificationWrappingImplementation._wrap$ctor(raw);
6010
6011 case "HTMLOListElement":
6012
6013 return new OListElementWrappingImplementation._wrap$ctor(raw);
6014
6015 case "HTMLObjectElement":
6016
6017 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
6018
6019 case "HTMLOptGroupElement":
6020
6021 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
6022
6023 case "HTMLOptionElement":
6024
6025 return new OptionElementWrappingImplementation._wrap$ctor(raw);
6026
6027 case "HTMLOutputElement":
6028
6029 return new OutputElementWrappingImplementation._wrap$ctor(raw);
6030
6031 case "HTMLParagraphElement":
6032
6033 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
6034
6035 case "HTMLParamElement":
6036
6037 return new ParamElementWrappingImplementation._wrap$ctor(raw);
6038
6039 case "HTMLPreElement":
6040
6041 return new PreElementWrappingImplementation._wrap$ctor(raw);
6042
6043 case "ProcessingInstruction":
6044
6045 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw);
6046
6047 case "HTMLProgressElement":
6048
6049 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
6050
6051 case "HTMLQuoteElement":
6052
6053 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
6054
6055 case "SVGAElement":
6056
6057 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
6058
6059 case "SVGAltGlyphDefElement":
6060
6061 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
6062
6063 case "SVGAltGlyphElement":
6064
6065 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
6066
6067 case "SVGAltGlyphItemElement":
6068
6069 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
6070
6071 case "SVGAnimateColorElement":
6072
6073 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
6074
6075 case "SVGAnimateElement":
6076
6077 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
6078
6079 case "SVGAnimateMotionElement":
6080
6081 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
6082
6083 case "SVGAnimateTransformElement":
6084
6085 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
6086
6087 case "SVGAnimationElement":
6088
6089 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
6090
6091 case "SVGCircleElement":
6092
6093 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
6094
6095 case "SVGClipPathElement":
6096
6097 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
6098
6099 case "SVGComponentTransferFunctionElement":
6100
6101 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
6102
6103 case "SVGCursorElement":
6104
6105 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
6106
6107 case "SVGDefsElement":
6108
6109 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
6110
6111 case "SVGDescElement":
6112
6113 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
6114
6115 case "SVGDocument":
6116
6117 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
6118
6119 case "SVGElement":
6120
6121 return new SVGElementWrappingImplementation._wrap$ctor(raw);
6122
6123 case "SVGElementInstance":
6124
6125 return new SVGElementInstanceWrappingImplementation._wrap$ctor(raw);
6126
6127 case "SVGEllipseElement":
6128
6129 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
6130
6131 case "SVGFEBlendElement":
6132
6133 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
6134
6135 case "SVGFEColorMatrixElement":
6136
6137 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
6138
6139 case "SVGFEComponentTransferElement":
6140
6141 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
6142
6143 case "SVGFEConvolveMatrixElement":
6144
6145 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
6146
6147 case "SVGFEDiffuseLightingElement":
6148
6149 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
6150
6151 case "SVGFEDisplacementMapElement":
6152
6153 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
6154
6155 case "SVGFEDistantLightElement":
6156
6157 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
6158
6159 case "SVGFEDropShadowElement":
6160
6161 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
6162
6163 case "SVGFEFloodElement":
6164
6165 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
6166
6167 case "SVGFEFuncAElement":
6168
6169 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
6170
6171 case "SVGFEFuncBElement":
6172
6173 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
6174
6175 case "SVGFEFuncGElement":
6176
6177 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
6178
6179 case "SVGFEFuncRElement":
6180
6181 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
6182
6183 case "SVGFEGaussianBlurElement":
6184
6185 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
6186
6187 case "SVGFEImageElement":
6188
6189 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
6190
6191 case "SVGFEMergeElement":
6192
6193 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
6194
6195 case "SVGFEMergeNodeElement":
6196
6197 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
6198
6199 case "SVGFEOffsetElement":
6200
6201 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
6202
6203 case "SVGFEPointLightElement":
6204
6205 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
6206
6207 case "SVGFESpecularLightingElement":
6208
6209 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
6210
6211 case "SVGFESpotLightElement":
6212
6213 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
6214
6215 case "SVGFETileElement":
6216
6217 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
6218
6219 case "SVGFETurbulenceElement":
6220
6221 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
6222
6223 case "SVGFilterElement":
6224
6225 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
6226
6227 case "SVGFontElement":
6228
6229 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
6230
6231 case "SVGFontFaceElement":
6232
6233 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
6234
6235 case "SVGFontFaceFormatElement":
6236
6237 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
6238
6239 case "SVGFontFaceNameElement":
6240
6241 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
6242
6243 case "SVGFontFaceSrcElement":
6244
6245 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
6246
6247 case "SVGFontFaceUriElement":
6248
6249 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
6250
6251 case "SVGForeignObjectElement":
6252
6253 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
6254
6255 case "SVGGElement":
6256
6257 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
6258
6259 case "SVGGlyphElement":
6260
6261 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
6262
6263 case "SVGGlyphRefElement":
6264
6265 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
6266
6267 case "SVGGradientElement":
6268
6269 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
6270
6271 case "SVGHKernElement":
6272
6273 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
6274
6275 case "SVGImageElement":
6276
6277 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
6278
6279 case "SVGLineElement":
6280
6281 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
6282
6283 case "SVGLinearGradientElement":
6284
6285 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
6286
6287 case "SVGMPathElement":
6288
6289 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
6290
6291 case "SVGMarkerElement":
6292
6293 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
6294
6295 case "SVGMaskElement":
6296
6297 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
6298
6299 case "SVGMetadataElement":
6300
6301 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
6302
6303 case "SVGMissingGlyphElement":
6304
6305 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
6306
6307 case "SVGPathElement":
6308
6309 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
6310
6311 case "SVGPatternElement":
6312
6313 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
6314
6315 case "SVGPolygonElement":
6316
6317 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
6318
6319 case "SVGPolylineElement":
6320
6321 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
6322
6323 case "SVGRadialGradientElement":
6324
6325 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
6326
6327 case "SVGRectElement":
6328
6329 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
6330
6331 case "SVGSVGElement":
6332
6333 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
6334
6335 case "SVGScriptElement":
6336
6337 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
6338
6339 case "SVGSetElement":
6340
6341 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
6342
6343 case "SVGStopElement":
6344
6345 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
6346
6347 case "SVGStyleElement":
6348
6349 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
6350
6351 case "SVGSwitchElement":
6352
6353 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
6354
6355 case "SVGSymbolElement":
6356
6357 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
6358
6359 case "SVGTRefElement":
6360
6361 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
6362
6363 case "SVGTSpanElement":
6364
6365 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
6366
6367 case "SVGTextContentElement":
6368
6369 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
6370
6371 case "SVGTextElement":
6372
6373 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
6374
6375 case "SVGTextPathElement":
6376
6377 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
6378
6379 case "SVGTextPositioningElement":
6380
6381 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
6382
6383 case "SVGTitleElement":
6384
6385 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
6386
6387 case "SVGUseElement":
6388
6389 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
6390
6391 case "SVGVKernElement":
6392
6393 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
6394
6395 case "SVGViewElement":
6396
6397 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
6398
6399 case "HTMLScriptElement":
6400
6401 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
6402
6403 case "HTMLSelectElement":
6404
6405 return new SelectElementWrappingImplementation._wrap$ctor(raw);
6406
6407 case "SharedWorker":
6408
6409 return new SharedWorkerWrappingImplementation._wrap$ctor(raw);
6410
6411 case "HTMLSourceElement":
6412
6413 return new SourceElementWrappingImplementation._wrap$ctor(raw);
6414
6415 case "HTMLSpanElement":
6416
6417 return new SpanElementWrappingImplementation._wrap$ctor(raw);
6418
6419 case "HTMLStyleElement":
6420
6421 return new StyleElementWrappingImplementation._wrap$ctor(raw);
6422
6423 case "HTMLTableCaptionElement":
6424
6425 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
6426
6427 case "HTMLTableCellElement":
6428
6429 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
6430
6431 case "HTMLTableColElement":
6432
6433 return new TableColElementWrappingImplementation._wrap$ctor(raw);
6434
6435 case "HTMLTableElement":
6436
6437 return new TableElementWrappingImplementation._wrap$ctor(raw);
6438
6439 case "HTMLTableRowElement":
6440
6441 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
6442
6443 case "HTMLTableSectionElement":
6444
6445 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
6446
6447 case "Text":
6448
6449 return new TextWrappingImplementation._wrap$ctor(raw);
6450
6451 case "HTMLTextAreaElement":
6452
6453 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
6454
6455 case "HTMLTitleElement":
6456
6457 return new TitleElementWrappingImplementation._wrap$ctor(raw);
6458
6459 case "HTMLTrackElement":
6460
6461 return new TrackElementWrappingImplementation._wrap$ctor(raw);
6462
6463 case "HTMLUListElement":
6464
6465 return new UListElementWrappingImplementation._wrap$ctor(raw);
6466
6467 case "HTMLUnknownElement":
6468
6469 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
6470
6471 case "HTMLVideoElement":
6472
6473 return new VideoElementWrappingImplementation._wrap$ctor(raw);
6474
6475 case "WebSocket":
6476
6477 return new WebSocketWrappingImplementation._wrap$ctor(raw);
6478
6479 case "Window":
6480
6481 return new WindowWrappingImplementation._wrap$ctor(raw);
6482
6483 case "Worker":
6484
6485 return new WorkerWrappingImplementation._wrap$ctor(raw);
6486
6487 case "XMLHttpRequest":
6488
6489 return new XMLHttpRequestWrappingImplementation._wrap$ctor(raw);
6490
6491 case "XMLHttpRequestUpload":
6492
6493 return new XMLHttpRequestUploadWrappingImplementation._wrap$ctor(raw);
6494
6495 default:
6496
6497 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
6498
6499 }
6500 }
6501 LevelDom.wrapNode = function(raw) {
6502 if (raw == null) {
6503 return null;
6504 }
6505 if (raw.get$dartObjectLocalStorage() != null) {
6506 return raw.get$dartObjectLocalStorage();
6507 }
6508 switch (raw.get$typeName()) {
6509 case "HTMLAnchorElement":
6510
6511 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
6512
6513 case "HTMLAreaElement":
6514
6515 return new AreaElementWrappingImplementation._wrap$ctor(raw);
6516
6517 case "HTMLAudioElement":
6518
6519 return new AudioElementWrappingImplementation._wrap$ctor(raw);
6520
6521 case "HTMLBRElement":
6522
6523 return new BRElementWrappingImplementation._wrap$ctor(raw);
6524
6525 case "HTMLBaseElement":
6526
6527 return new BaseElementWrappingImplementation._wrap$ctor(raw);
6528
6529 case "HTMLBodyElement":
6530
6531 return new BodyElementWrappingImplementation._wrap$ctor(raw);
6532
6533 case "HTMLButtonElement":
6534
6535 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
6536
6537 case "CDATASection":
6538
6539 return new CDATASectionWrappingImplementation._wrap$ctor(raw);
6540
6541 case "HTMLCanvasElement":
6542
6543 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
6544
6545 case "CharacterData":
6546
6547 return new CharacterDataWrappingImplementation._wrap$ctor(raw);
6548
6549 case "Comment":
6550
6551 return new CommentWrappingImplementation._wrap$ctor(raw);
6552
6553 case "HTMLDListElement":
6554
6555 return new DListElementWrappingImplementation._wrap$ctor(raw);
6556
6557 case "HTMLDataListElement":
6558
6559 return new DataListElementWrappingImplementation._wrap$ctor(raw);
6560
6561 case "HTMLDetailsElement":
6562
6563 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
6564
6565 case "HTMLDivElement":
6566
6567 return new DivElementWrappingImplementation._wrap$ctor(raw);
6568
6569 case "HTMLDocument":
6570
6571 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
6572
6573 case "DocumentFragment":
6574
6575 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw);
6576
6577 case "HTMLElement":
6578
6579 return new ElementWrappingImplementation._wrap$ctor(raw);
6580
6581 case "HTMLEmbedElement":
6582
6583 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
6584
6585 case "Entity":
6586
6587 return new EntityWrappingImplementation._wrap$ctor(raw);
6588
6589 case "EntityReference":
6590
6591 return new EntityReferenceWrappingImplementation._wrap$ctor(raw);
6592
6593 case "HTMLFieldSetElement":
6594
6595 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
6596
6597 case "HTMLFontElement":
6598
6599 return new FontElementWrappingImplementation._wrap$ctor(raw);
6600
6601 case "HTMLFormElement":
6602
6603 return new FormElementWrappingImplementation._wrap$ctor(raw);
6604
6605 case "HTMLHRElement":
6606
6607 return new HRElementWrappingImplementation._wrap$ctor(raw);
6608
6609 case "HTMLHeadElement":
6610
6611 return new HeadElementWrappingImplementation._wrap$ctor(raw);
6612
6613 case "HTMLHeadingElement":
6614
6615 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
6616
6617 case "HTMLHtmlElement":
6618
6619 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
6620
6621 case "HTMLIFrameElement":
6622
6623 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
6624
6625 case "HTMLImageElement":
6626
6627 return new ImageElementWrappingImplementation._wrap$ctor(raw);
6628
6629 case "HTMLInputElement":
6630
6631 return new InputElementWrappingImplementation._wrap$ctor(raw);
6632
6633 case "HTMLKeygenElement":
6634
6635 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
6636
6637 case "HTMLLIElement":
6638
6639 return new LIElementWrappingImplementation._wrap$ctor(raw);
6640
6641 case "HTMLLabelElement":
6642
6643 return new LabelElementWrappingImplementation._wrap$ctor(raw);
6644
6645 case "HTMLLegendElement":
6646
6647 return new LegendElementWrappingImplementation._wrap$ctor(raw);
6648
6649 case "HTMLLinkElement":
6650
6651 return new LinkElementWrappingImplementation._wrap$ctor(raw);
6652
6653 case "HTMLMapElement":
6654
6655 return new MapElementWrappingImplementation._wrap$ctor(raw);
6656
6657 case "HTMLMarqueeElement":
6658
6659 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
6660
6661 case "HTMLMediaElement":
6662
6663 return new MediaElementWrappingImplementation._wrap$ctor(raw);
6664
6665 case "HTMLMenuElement":
6666
6667 return new MenuElementWrappingImplementation._wrap$ctor(raw);
6668
6669 case "HTMLMetaElement":
6670
6671 return new MetaElementWrappingImplementation._wrap$ctor(raw);
6672
6673 case "HTMLMeterElement":
6674
6675 return new MeterElementWrappingImplementation._wrap$ctor(raw);
6676
6677 case "HTMLModElement":
6678
6679 return new ModElementWrappingImplementation._wrap$ctor(raw);
6680
6681 case "Node":
6682
6683 return new NodeWrappingImplementation._wrap$ctor(raw);
6684
6685 case "Notation":
6686
6687 return new NotationWrappingImplementation._wrap$ctor(raw);
6688
6689 case "HTMLOListElement":
6690
6691 return new OListElementWrappingImplementation._wrap$ctor(raw);
6692
6693 case "HTMLObjectElement":
6694
6695 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
6696
6697 case "HTMLOptGroupElement":
6698
6699 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
6700
6701 case "HTMLOptionElement":
6702
6703 return new OptionElementWrappingImplementation._wrap$ctor(raw);
6704
6705 case "HTMLOutputElement":
6706
6707 return new OutputElementWrappingImplementation._wrap$ctor(raw);
6708
6709 case "HTMLParagraphElement":
6710
6711 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
6712
6713 case "HTMLParamElement":
6714
6715 return new ParamElementWrappingImplementation._wrap$ctor(raw);
6716
6717 case "HTMLPreElement":
6718
6719 return new PreElementWrappingImplementation._wrap$ctor(raw);
6720
6721 case "ProcessingInstruction":
6722
6723 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw);
6724
6725 case "HTMLProgressElement":
6726
6727 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
6728
6729 case "HTMLQuoteElement":
6730
6731 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
6732
6733 case "SVGAElement":
6734
6735 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
6736
6737 case "SVGAltGlyphDefElement":
6738
6739 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
6740
6741 case "SVGAltGlyphElement":
6742
6743 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
6744
6745 case "SVGAltGlyphItemElement":
6746
6747 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
6748
6749 case "SVGAnimateColorElement":
6750
6751 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
6752
6753 case "SVGAnimateElement":
6754
6755 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
6756
6757 case "SVGAnimateMotionElement":
6758
6759 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
6760
6761 case "SVGAnimateTransformElement":
6762
6763 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
6764
6765 case "SVGAnimationElement":
6766
6767 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
6768
6769 case "SVGCircleElement":
6770
6771 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
6772
6773 case "SVGClipPathElement":
6774
6775 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
6776
6777 case "SVGComponentTransferFunctionElement":
6778
6779 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
6780
6781 case "SVGCursorElement":
6782
6783 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
6784
6785 case "SVGDefsElement":
6786
6787 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
6788
6789 case "SVGDescElement":
6790
6791 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
6792
6793 case "SVGDocument":
6794
6795 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
6796
6797 case "SVGElement":
6798
6799 return new SVGElementWrappingImplementation._wrap$ctor(raw);
6800
6801 case "SVGEllipseElement":
6802
6803 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
6804
6805 case "SVGFEBlendElement":
6806
6807 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
6808
6809 case "SVGFEColorMatrixElement":
6810
6811 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
6812
6813 case "SVGFEComponentTransferElement":
6814
6815 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
6816
6817 case "SVGFEConvolveMatrixElement":
6818
6819 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
6820
6821 case "SVGFEDiffuseLightingElement":
6822
6823 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
6824
6825 case "SVGFEDisplacementMapElement":
6826
6827 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
6828
6829 case "SVGFEDistantLightElement":
6830
6831 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
6832
6833 case "SVGFEDropShadowElement":
6834
6835 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
6836
6837 case "SVGFEFloodElement":
6838
6839 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
6840
6841 case "SVGFEFuncAElement":
6842
6843 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
6844
6845 case "SVGFEFuncBElement":
6846
6847 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
6848
6849 case "SVGFEFuncGElement":
6850
6851 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
6852
6853 case "SVGFEFuncRElement":
6854
6855 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
6856
6857 case "SVGFEGaussianBlurElement":
6858
6859 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
6860
6861 case "SVGFEImageElement":
6862
6863 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
6864
6865 case "SVGFEMergeElement":
6866
6867 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
6868
6869 case "SVGFEMergeNodeElement":
6870
6871 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
6872
6873 case "SVGFEOffsetElement":
6874
6875 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
6876
6877 case "SVGFEPointLightElement":
6878
6879 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
6880
6881 case "SVGFESpecularLightingElement":
6882
6883 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
6884
6885 case "SVGFESpotLightElement":
6886
6887 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
6888
6889 case "SVGFETileElement":
6890
6891 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
6892
6893 case "SVGFETurbulenceElement":
6894
6895 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
6896
6897 case "SVGFilterElement":
6898
6899 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
6900
6901 case "SVGFontElement":
6902
6903 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
6904
6905 case "SVGFontFaceElement":
6906
6907 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
6908
6909 case "SVGFontFaceFormatElement":
6910
6911 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
6912
6913 case "SVGFontFaceNameElement":
6914
6915 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
6916
6917 case "SVGFontFaceSrcElement":
6918
6919 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
6920
6921 case "SVGFontFaceUriElement":
6922
6923 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
6924
6925 case "SVGForeignObjectElement":
6926
6927 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
6928
6929 case "SVGGElement":
6930
6931 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
6932
6933 case "SVGGlyphElement":
6934
6935 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
6936
6937 case "SVGGlyphRefElement":
6938
6939 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
6940
6941 case "SVGGradientElement":
6942
6943 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
6944
6945 case "SVGHKernElement":
6946
6947 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
6948
6949 case "SVGImageElement":
6950
6951 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
6952
6953 case "SVGLineElement":
6954
6955 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
6956
6957 case "SVGLinearGradientElement":
6958
6959 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
6960
6961 case "SVGMPathElement":
6962
6963 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
6964
6965 case "SVGMarkerElement":
6966
6967 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
6968
6969 case "SVGMaskElement":
6970
6971 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
6972
6973 case "SVGMetadataElement":
6974
6975 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
6976
6977 case "SVGMissingGlyphElement":
6978
6979 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
6980
6981 case "SVGPathElement":
6982
6983 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
6984
6985 case "SVGPatternElement":
6986
6987 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
6988
6989 case "SVGPolygonElement":
6990
6991 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
6992
6993 case "SVGPolylineElement":
6994
6995 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
6996
6997 case "SVGRadialGradientElement":
6998
6999 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
7000
7001 case "SVGRectElement":
7002
7003 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
7004
7005 case "SVGSVGElement":
7006
7007 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
7008
7009 case "SVGScriptElement":
7010
7011 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
7012
7013 case "SVGSetElement":
7014
7015 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
7016
7017 case "SVGStopElement":
7018
7019 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
7020
7021 case "SVGStyleElement":
7022
7023 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
7024
7025 case "SVGSwitchElement":
7026
7027 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
7028
7029 case "SVGSymbolElement":
7030
7031 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
7032
7033 case "SVGTRefElement":
7034
7035 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
7036
7037 case "SVGTSpanElement":
7038
7039 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
7040
7041 case "SVGTextContentElement":
7042
7043 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
7044
7045 case "SVGTextElement":
7046
7047 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
7048
7049 case "SVGTextPathElement":
7050
7051 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
7052
7053 case "SVGTextPositioningElement":
7054
7055 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
7056
7057 case "SVGTitleElement":
7058
7059 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
7060
7061 case "SVGUseElement":
7062
7063 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
7064
7065 case "SVGVKernElement":
7066
7067 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
7068
7069 case "SVGViewElement":
7070
7071 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
7072
7073 case "HTMLScriptElement":
7074
7075 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
7076
7077 case "HTMLSelectElement":
7078
7079 return new SelectElementWrappingImplementation._wrap$ctor(raw);
7080
7081 case "HTMLSourceElement":
7082
7083 return new SourceElementWrappingImplementation._wrap$ctor(raw);
7084
7085 case "HTMLSpanElement":
7086
7087 return new SpanElementWrappingImplementation._wrap$ctor(raw);
7088
7089 case "HTMLStyleElement":
7090
7091 return new StyleElementWrappingImplementation._wrap$ctor(raw);
7092
7093 case "HTMLTableCaptionElement":
7094
7095 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
7096
7097 case "HTMLTableCellElement":
7098
7099 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
7100
7101 case "HTMLTableColElement":
7102
7103 return new TableColElementWrappingImplementation._wrap$ctor(raw);
7104
7105 case "HTMLTableElement":
7106
7107 return new TableElementWrappingImplementation._wrap$ctor(raw);
7108
7109 case "HTMLTableRowElement":
7110
7111 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
7112
7113 case "HTMLTableSectionElement":
7114
7115 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
7116
7117 case "Text":
7118
7119 return new TextWrappingImplementation._wrap$ctor(raw);
7120
7121 case "HTMLTextAreaElement":
7122
7123 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
7124
7125 case "HTMLTitleElement":
7126
7127 return new TitleElementWrappingImplementation._wrap$ctor(raw);
7128
7129 case "HTMLTrackElement":
7130
7131 return new TrackElementWrappingImplementation._wrap$ctor(raw);
7132
7133 case "HTMLUListElement":
7134
7135 return new UListElementWrappingImplementation._wrap$ctor(raw);
7136
7137 case "HTMLUnknownElement":
7138
7139 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
7140
7141 case "HTMLVideoElement":
7142
7143 return new VideoElementWrappingImplementation._wrap$ctor(raw);
7144
7145 default:
7146
7147 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
7148
7149 }
7150 }
7151 LevelDom.wrapSVGAnimatedString = function(raw) {
7152 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGAnimatedStringWrappingImplementation._wrap$ct or(raw);
7153 }
7154 LevelDom.wrapSVGElement = function(raw) {
7155 if (raw == null) {
7156 return null;
7157 }
7158 if (raw.get$dartObjectLocalStorage() != null) {
7159 return raw.get$dartObjectLocalStorage();
7160 }
7161 switch (raw.get$typeName()) {
7162 case "SVGAElement":
7163
7164 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
7165
7166 case "SVGAltGlyphDefElement":
7167
7168 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
7169
7170 case "SVGAltGlyphElement":
7171
7172 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
7173
7174 case "SVGAltGlyphItemElement":
7175
7176 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
7177
7178 case "SVGAnimateColorElement":
7179
7180 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
7181
7182 case "SVGAnimateElement":
7183
7184 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
7185
7186 case "SVGAnimateMotionElement":
7187
7188 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
7189
7190 case "SVGAnimateTransformElement":
7191
7192 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
7193
7194 case "SVGAnimationElement":
7195
7196 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
7197
7198 case "SVGCircleElement":
7199
7200 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
7201
7202 case "SVGClipPathElement":
7203
7204 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
7205
7206 case "SVGComponentTransferFunctionElement":
7207
7208 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
7209
7210 case "SVGCursorElement":
7211
7212 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
7213
7214 case "SVGDefsElement":
7215
7216 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
7217
7218 case "SVGDescElement":
7219
7220 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
7221
7222 case "SVGElement":
7223
7224 return new SVGElementWrappingImplementation._wrap$ctor(raw);
7225
7226 case "SVGEllipseElement":
7227
7228 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
7229
7230 case "SVGFEBlendElement":
7231
7232 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
7233
7234 case "SVGFEColorMatrixElement":
7235
7236 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
7237
7238 case "SVGFEComponentTransferElement":
7239
7240 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
7241
7242 case "SVGFEConvolveMatrixElement":
7243
7244 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
7245
7246 case "SVGFEDiffuseLightingElement":
7247
7248 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
7249
7250 case "SVGFEDisplacementMapElement":
7251
7252 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
7253
7254 case "SVGFEDistantLightElement":
7255
7256 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
7257
7258 case "SVGFEDropShadowElement":
7259
7260 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
7261
7262 case "SVGFEFloodElement":
7263
7264 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
7265
7266 case "SVGFEFuncAElement":
7267
7268 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
7269
7270 case "SVGFEFuncBElement":
7271
7272 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
7273
7274 case "SVGFEFuncGElement":
7275
7276 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
7277
7278 case "SVGFEFuncRElement":
7279
7280 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
7281
7282 case "SVGFEGaussianBlurElement":
7283
7284 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
7285
7286 case "SVGFEImageElement":
7287
7288 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
7289
7290 case "SVGFEMergeElement":
7291
7292 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
7293
7294 case "SVGFEMergeNodeElement":
7295
7296 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
7297
7298 case "SVGFEOffsetElement":
7299
7300 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
7301
7302 case "SVGFEPointLightElement":
7303
7304 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
7305
7306 case "SVGFESpecularLightingElement":
7307
7308 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
7309
7310 case "SVGFESpotLightElement":
7311
7312 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
7313
7314 case "SVGFETileElement":
7315
7316 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
7317
7318 case "SVGFETurbulenceElement":
7319
7320 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
7321
7322 case "SVGFilterElement":
7323
7324 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
7325
7326 case "SVGFontElement":
7327
7328 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
7329
7330 case "SVGFontFaceElement":
7331
7332 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
7333
7334 case "SVGFontFaceFormatElement":
7335
7336 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
7337
7338 case "SVGFontFaceNameElement":
7339
7340 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
7341
7342 case "SVGFontFaceSrcElement":
7343
7344 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
7345
7346 case "SVGFontFaceUriElement":
7347
7348 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
7349
7350 case "SVGForeignObjectElement":
7351
7352 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
7353
7354 case "SVGGElement":
7355
7356 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
7357
7358 case "SVGGlyphElement":
7359
7360 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
7361
7362 case "SVGGlyphRefElement":
7363
7364 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
7365
7366 case "SVGGradientElement":
7367
7368 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
7369
7370 case "SVGHKernElement":
7371
7372 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
7373
7374 case "SVGImageElement":
7375
7376 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
7377
7378 case "SVGLineElement":
7379
7380 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
7381
7382 case "SVGLinearGradientElement":
7383
7384 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
7385
7386 case "SVGMPathElement":
7387
7388 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
7389
7390 case "SVGMarkerElement":
7391
7392 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
7393
7394 case "SVGMaskElement":
7395
7396 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
7397
7398 case "SVGMetadataElement":
7399
7400 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
7401
7402 case "SVGMissingGlyphElement":
7403
7404 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
7405
7406 case "SVGPathElement":
7407
7408 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
7409
7410 case "SVGPatternElement":
7411
7412 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
7413
7414 case "SVGPolygonElement":
7415
7416 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
7417
7418 case "SVGPolylineElement":
7419
7420 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
7421
7422 case "SVGRadialGradientElement":
7423
7424 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
7425
7426 case "SVGRectElement":
7427
7428 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
7429
7430 case "SVGSVGElement":
7431
7432 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
7433
7434 case "SVGScriptElement":
7435
7436 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
7437
7438 case "SVGSetElement":
7439
7440 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
7441
7442 case "SVGStopElement":
7443
7444 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
7445
7446 case "SVGStyleElement":
7447
7448 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
7449
7450 case "SVGSwitchElement":
7451
7452 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
7453
7454 case "SVGSymbolElement":
7455
7456 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
7457
7458 case "SVGTRefElement":
7459
7460 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
7461
7462 case "SVGTSpanElement":
7463
7464 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
7465
7466 case "SVGTextContentElement":
7467
7468 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
7469
7470 case "SVGTextElement":
7471
7472 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
7473
7474 case "SVGTextPathElement":
7475
7476 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
7477
7478 case "SVGTextPositioningElement":
7479
7480 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
7481
7482 case "SVGTitleElement":
7483
7484 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
7485
7486 case "SVGUseElement":
7487
7488 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
7489
7490 case "SVGVKernElement":
7491
7492 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
7493
7494 case "SVGViewElement":
7495
7496 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
7497
7498 default:
7499
7500 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
7501
7502 }
7503 }
7504 LevelDom.wrapSVGElementInstance = function(raw) {
7505 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGElementInstanceWrappingImplementation._wrap$c tor(raw);
7506 }
7507 LevelDom.wrapSVGElementInstanceList = function(raw) {
7508 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGElementInstanceListWrappingImplementation._wr ap$ctor(raw);
7509 }
7510 LevelDom.wrapWindow = function(raw) {
7511 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new WindowWrappingImplementation._wrap$ctor(raw);
7512 }
7513 LevelDom.unwrap = function(raw) {
7514 return raw == null ? null : raw.get$_ptr();
7515 }
7516 LevelDom.initialize = function() {
7517 $globals.secretWindow = LevelDom.wrapWindow(get$window());
7518 $globals.secretDocument = LevelDom.wrapDocument(get$document());
7519 }
7520 // ********** Code for AbstractWorkerWrappingImplementation **************
7521 $inherits(AbstractWorkerWrappingImplementation, EventTargetWrappingImplementatio n);
7522 function AbstractWorkerWrappingImplementation() {}
7523 AbstractWorkerWrappingImplementation._wrap$ctor = function(ptr) {
7524 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
7525 }
7526 AbstractWorkerWrappingImplementation._wrap$ctor.prototype = AbstractWorkerWrappi ngImplementation.prototype;
7527 // ********** Code for AnimationEventWrappingImplementation **************
7528 $inherits(AnimationEventWrappingImplementation, EventWrappingImplementation);
7529 function AnimationEventWrappingImplementation() {}
7530 AnimationEventWrappingImplementation._wrap$ctor = function(ptr) {
7531 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7532 }
7533 AnimationEventWrappingImplementation._wrap$ctor.prototype = AnimationEventWrappi ngImplementation.prototype;
7534 // ********** Code for BeforeLoadEventWrappingImplementation **************
7535 $inherits(BeforeLoadEventWrappingImplementation, EventWrappingImplementation);
7536 function BeforeLoadEventWrappingImplementation() {}
7537 BeforeLoadEventWrappingImplementation._wrap$ctor = function(ptr) {
7538 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7539 }
7540 BeforeLoadEventWrappingImplementation._wrap$ctor.prototype = BeforeLoadEventWrap pingImplementation.prototype;
7541 // ********** Code for EventsImplementation **************
7542 function EventsImplementation() {}
7543 EventsImplementation._wrap$ctor = function(_ptr) {
7544 this._ptr = _ptr;
7545 this._listenerMap = new HashMapImplementation();
7546 }
7547 EventsImplementation._wrap$ctor.prototype = EventsImplementation.prototype;
7548 EventsImplementation.prototype.get$_ptr = function() { return this._ptr; };
7549 EventsImplementation.prototype.set$_ptr = function(value) { return this._ptr = v alue; };
7550 EventsImplementation.prototype.$index = function(type) {
7551 return this._get(type.toLowerCase());
7552 }
7553 EventsImplementation.prototype._get = function(type) {
7554 var $this = this; // closure support
7555 return this._listenerMap.putIfAbsent$2(type, (function () {
7556 return new EventListenerListImplementation($this._ptr, type);
7557 })
7558 );
7559 }
7560 // ********** Code for ElementEventsImplementation **************
7561 $inherits(ElementEventsImplementation, EventsImplementation);
7562 function ElementEventsImplementation() {}
7563 ElementEventsImplementation._wrap$ctor = function(_ptr) {
7564 EventsImplementation._wrap$ctor.call(this, _ptr);
7565 }
7566 ElementEventsImplementation._wrap$ctor.prototype = ElementEventsImplementation.p rototype;
7567 ElementEventsImplementation.prototype.get$change = function() {
7568 return this._get("change");
7569 }
7570 // ********** Code for BodyElementEventsImplementation **************
7571 $inherits(BodyElementEventsImplementation, ElementEventsImplementation);
7572 function BodyElementEventsImplementation() {}
7573 BodyElementEventsImplementation._wrap$ctor = function(_ptr) {
7574 ElementEventsImplementation._wrap$ctor.call(this, _ptr);
7575 }
7576 BodyElementEventsImplementation._wrap$ctor.prototype = BodyElementEventsImplemen tation.prototype;
7577 // ********** Code for BodyElementWrappingImplementation **************
7578 $inherits(BodyElementWrappingImplementation, ElementWrappingImplementation);
7579 function BodyElementWrappingImplementation() {}
7580 BodyElementWrappingImplementation._wrap$ctor = function(ptr) {
7581 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
7582 }
7583 BodyElementWrappingImplementation._wrap$ctor.prototype = BodyElementWrappingImpl ementation.prototype;
7584 BodyElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
7585 BodyElementWrappingImplementation.prototype.get$on = function() {
7586 if (this._on == null) {
7587 this._on = new BodyElementEventsImplementation._wrap$ctor(this._ptr);
7588 }
7589 return this._on;
7590 }
7591 // ********** Code for CloseEventWrappingImplementation **************
7592 $inherits(CloseEventWrappingImplementation, EventWrappingImplementation);
7593 function CloseEventWrappingImplementation() {}
7594 CloseEventWrappingImplementation._wrap$ctor = function(ptr) {
7595 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7596 }
7597 CloseEventWrappingImplementation._wrap$ctor.prototype = CloseEventWrappingImplem entation.prototype;
7598 // ********** Code for CompositionEventWrappingImplementation **************
7599 $inherits(CompositionEventWrappingImplementation, UIEventWrappingImplementation) ;
7600 function CompositionEventWrappingImplementation() {}
7601 CompositionEventWrappingImplementation._wrap$ctor = function(ptr) {
7602 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
7603 }
7604 CompositionEventWrappingImplementation._wrap$ctor.prototype = CompositionEventWr appingImplementation.prototype;
7605 // ********** Code for _CssClassSet **************
7606 function _CssClassSet(_element) {
7607 this._htmlimpl_element = _element;
7608 }
7609 _CssClassSet.prototype.toString = function() {
7610 return this._formatSet(this._read());
7611 }
7612 _CssClassSet.prototype.iterator = function() {
7613 return this._read().iterator$0();
7614 }
7615 _CssClassSet.prototype.forEach = function(f) {
7616 this._read().forEach(f);
7617 }
7618 _CssClassSet.prototype.filter = function(f) {
7619 return this._read().filter$1(f);
7620 }
7621 _CssClassSet.prototype.get$length = function() {
7622 return this._read().get$length();
7623 }
7624 _CssClassSet.prototype.add = function(value) {
7625 this._modify((function (s) {
7626 return s.add$1(value);
7627 })
7628 );
7629 }
7630 _CssClassSet.prototype.addAll = function(collection) {
7631 this._modify((function (s) {
7632 return s.addAll$1(collection);
7633 })
7634 );
7635 }
7636 _CssClassSet.prototype.clear = function() {
7637 this._modify((function (s) {
7638 return s.clear$0();
7639 })
7640 );
7641 }
7642 _CssClassSet.prototype.get$clear = function() {
7643 return this.clear.bind(this);
7644 }
7645 _CssClassSet.prototype._modify = function(f) {
7646 var s = this._read();
7647 f.call$1(s);
7648 this._write(s);
7649 }
7650 _CssClassSet.prototype._read = function() {
7651 var s = new HashSetImplementation();
7652 var $$list = this._className().split(" ");
7653 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
7654 var name = $$list.$index($$i);
7655 var trimmed = name.trim();
7656 if (!trimmed.isEmpty()) {
7657 s.add(trimmed);
7658 }
7659 }
7660 return s;
7661 }
7662 _CssClassSet.prototype._className = function() {
7663 return this._htmlimpl_element.get$className();
7664 }
7665 _CssClassSet.prototype._write = function(s) {
7666 this._htmlimpl_element.set$className(this._formatSet(s));
7667 }
7668 _CssClassSet.prototype._formatSet = function(s) {
7669 var list = ListFactory.ListFactory$from$factory(s);
7670 return Strings.join(list, " ");
7671 }
7672 _CssClassSet.prototype.add$1 = _CssClassSet.prototype.add;
7673 _CssClassSet.prototype.addAll$1 = _CssClassSet.prototype.addAll;
7674 _CssClassSet.prototype.clear$0 = _CssClassSet.prototype.clear;
7675 _CssClassSet.prototype.filter$1 = function($0) {
7676 return this.filter(to$call$1($0));
7677 };
7678 _CssClassSet.prototype.iterator$0 = _CssClassSet.prototype.iterator;
7679 _CssClassSet.prototype.toString$0 = _CssClassSet.prototype.toString;
7680 // ********** Code for CSSStyleDeclarationWrappingImplementation **************
7681 $inherits(CSSStyleDeclarationWrappingImplementation, DOMWrapperBase);
7682 function CSSStyleDeclarationWrappingImplementation() {}
7683 CSSStyleDeclarationWrappingImplementation._wrap$ctor = function(ptr) {
7684 DOMWrapperBase._wrap$ctor.call(this, ptr);
7685 }
7686 CSSStyleDeclarationWrappingImplementation._wrap$ctor.prototype = CSSStyleDeclara tionWrappingImplementation.prototype;
7687 CSSStyleDeclarationWrappingImplementation.get$_browserPrefix = function() {
7688 if ($globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix == null) {
7689 if (_Device.get$isFirefox()) {
7690 $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix = "-moz-";
7691 }
7692 else {
7693 $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix = "-webkit-";
7694 }
7695 }
7696 return $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix ;
7697 }
7698 CSSStyleDeclarationWrappingImplementation.prototype.get$length = function() {
7699 return this._ptr.get$length();
7700 }
7701 CSSStyleDeclarationWrappingImplementation.prototype.getPropertyValue = function( propertyName) {
7702 return this._ptr.getPropertyValue$1(propertyName);
7703 }
7704 CSSStyleDeclarationWrappingImplementation.prototype.item = function(index) {
7705 return this._ptr.item$1(index);
7706 }
7707 CSSStyleDeclarationWrappingImplementation.prototype.setProperty = function(prope rtyName, value, priority) {
7708 this._ptr.setProperty$3(propertyName, ("" + value), priority);
7709 }
7710 CSSStyleDeclarationWrappingImplementation.prototype.get$typeName = function() {
7711 return "CSSStyleDeclaration";
7712 }
7713 CSSStyleDeclarationWrappingImplementation.prototype.get$clear = function() {
7714 return this.getPropertyValue("clear");
7715 }
7716 CSSStyleDeclarationWrappingImplementation.prototype.get$filter = function() {
7717 return this.getPropertyValue(("" + CSSStyleDeclarationWrappingImplementation.g et$_browserPrefix() + "filter"));
7718 }
7719 CSSStyleDeclarationWrappingImplementation.prototype.clear$0 = function() {
7720 return this.get$clear().call$0();
7721 };
7722 CSSStyleDeclarationWrappingImplementation.prototype.filter$1 = function($0) {
7723 return this.get$filter().call$1($0);
7724 };
7725 CSSStyleDeclarationWrappingImplementation.prototype.getPropertyValue$1 = CSSStyl eDeclarationWrappingImplementation.prototype.getPropertyValue;
7726 CSSStyleDeclarationWrappingImplementation.prototype.item$1 = CSSStyleDeclaration WrappingImplementation.prototype.item;
7727 CSSStyleDeclarationWrappingImplementation.prototype.setProperty$2 = function($0, $1) {
7728 return this.setProperty($0, $1, "");
7729 };
7730 CSSStyleDeclarationWrappingImplementation.prototype.setProperty$3 = CSSStyleDecl arationWrappingImplementation.prototype.setProperty;
7731 // ********** Code for CustomEventWrappingImplementation **************
7732 $inherits(CustomEventWrappingImplementation, EventWrappingImplementation);
7733 function CustomEventWrappingImplementation() {}
7734 CustomEventWrappingImplementation._wrap$ctor = function(ptr) {
7735 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7736 }
7737 CustomEventWrappingImplementation._wrap$ctor.prototype = CustomEventWrappingImpl ementation.prototype;
7738 // ********** Code for _Device **************
7739 function _Device() {}
7740 _Device.get$userAgent = function() {
7741 return get$window().navigator.userAgent;
7742 }
7743 _Device.get$isFirefox = function() {
7744 return _Device.get$userAgent().contains("Firefox", (0));
7745 }
7746 // ********** Code for DeviceMotionEventWrappingImplementation **************
7747 $inherits(DeviceMotionEventWrappingImplementation, EventWrappingImplementation);
7748 function DeviceMotionEventWrappingImplementation() {}
7749 DeviceMotionEventWrappingImplementation._wrap$ctor = function(ptr) {
7750 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7751 }
7752 DeviceMotionEventWrappingImplementation._wrap$ctor.prototype = DeviceMotionEvent WrappingImplementation.prototype;
7753 // ********** Code for DeviceOrientationEventWrappingImplementation ************ **
7754 $inherits(DeviceOrientationEventWrappingImplementation, EventWrappingImplementat ion);
7755 function DeviceOrientationEventWrappingImplementation() {}
7756 DeviceOrientationEventWrappingImplementation._wrap$ctor = function(ptr) {
7757 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7758 }
7759 DeviceOrientationEventWrappingImplementation._wrap$ctor.prototype = DeviceOrient ationEventWrappingImplementation.prototype;
7760 // ********** Code for FilteredElementList **************
7761 function FilteredElementList(node) {
7762 this._node = node;
7763 this._childNodes = node.get$nodes();
7764 }
7765 FilteredElementList.prototype.get$_filtered = function() {
7766 return ListFactory.ListFactory$from$factory(this._childNodes.filter$1((functio n (n) {
7767 return !!(n && n.is$html_html_Element());
7768 })
7769 ));
7770 }
7771 FilteredElementList.prototype.get$first = function() {
7772 var $$list = this._childNodes;
7773 for (var $$i = $$list.iterator$0(); $$i.hasNext$0(); ) {
7774 var node = $$i.next$0();
7775 if (!!(node && node.is$html_html_Element())) {
7776 return node;
7777 }
7778 }
7779 return null;
7780 }
7781 FilteredElementList.prototype.forEach = function(f) {
7782 this.get$_filtered().forEach(f);
7783 }
7784 FilteredElementList.prototype.$setindex = function(index, value) {
7785 this.$index(index).replaceWith(value);
7786 }
7787 FilteredElementList.prototype.add = function(value) {
7788 this._childNodes.add$1(value);
7789 }
7790 FilteredElementList.prototype.get$add = function() {
7791 return this.add.bind(this);
7792 }
7793 FilteredElementList.prototype.addAll = function(collection) {
7794 collection.forEach(this.get$add());
7795 }
7796 FilteredElementList.prototype.clear = function() {
7797 this._childNodes.clear$0();
7798 }
7799 FilteredElementList.prototype.get$clear = function() {
7800 return this.clear.bind(this);
7801 }
7802 FilteredElementList.prototype.filter = function(f) {
7803 return this.get$_filtered().filter$1(f);
7804 }
7805 FilteredElementList.prototype.get$length = function() {
7806 return this.get$_filtered().get$length();
7807 }
7808 FilteredElementList.prototype.$index = function(index) {
7809 return this.get$_filtered().$index(index);
7810 }
7811 FilteredElementList.prototype.iterator = function() {
7812 return this.get$_filtered().iterator$0();
7813 }
7814 FilteredElementList.prototype.add$1 = FilteredElementList.prototype.add;
7815 FilteredElementList.prototype.addAll$1 = FilteredElementList.prototype.addAll;
7816 FilteredElementList.prototype.clear$0 = FilteredElementList.prototype.clear;
7817 FilteredElementList.prototype.filter$1 = function($0) {
7818 return this.filter(to$call$1($0));
7819 };
7820 FilteredElementList.prototype.iterator$0 = FilteredElementList.prototype.iterato r;
7821 // ********** Code for EmptyStyleDeclaration **************
7822 $inherits(EmptyStyleDeclaration, CSSStyleDeclarationWrappingImplementation);
7823 function EmptyStyleDeclaration() {
7824 CSSStyleDeclarationWrappingImplementation._wrap$ctor.call(this, get$document() .createElement("div").style);
7825 }
7826 EmptyStyleDeclaration.prototype.setProperty = function(propertyName, value, prio rity) {
7827 $throw(new UnsupportedOperationException("Can't modify a frozen style declarat ion."));
7828 }
7829 EmptyStyleDeclaration.prototype.setProperty$2 = EmptyStyleDeclaration.prototype. setProperty;
7830 EmptyStyleDeclaration.prototype.setProperty$3 = EmptyStyleDeclaration.prototype. setProperty;
7831 // ********** Code for DocumentFragmentWrappingImplementation **************
7832 $inherits(DocumentFragmentWrappingImplementation, NodeWrappingImplementation);
7833 function DocumentFragmentWrappingImplementation() {}
7834 DocumentFragmentWrappingImplementation._wrap$ctor = function(ptr) {
7835 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
7836 }
7837 DocumentFragmentWrappingImplementation._wrap$ctor.prototype = DocumentFragmentWr appingImplementation.prototype;
7838 DocumentFragmentWrappingImplementation.prototype.is$html_html_Element = function (){return true};
7839 DocumentFragmentWrappingImplementation.prototype.get$elements = function() {
7840 if (this._elements == null) {
7841 this._elements = new FilteredElementList(this);
7842 }
7843 return this._elements;
7844 }
7845 DocumentFragmentWrappingImplementation.prototype.set$innerHTML = function(value) {
7846 this.get$nodes().clear$0();
7847 var e = ElementWrappingImplementation.ElementWrappingImplementation$tag$factor y("div");
7848 e.set$innerHTML(value);
7849 var nodes = ListFactory.ListFactory$from$factory(e.get$nodes());
7850 this.get$nodes().addAll(nodes);
7851 }
7852 DocumentFragmentWrappingImplementation.prototype.get$on = function() {
7853 if (this._on == null) {
7854 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr);
7855 }
7856 return this._on;
7857 }
7858 DocumentFragmentWrappingImplementation.prototype.query = function(selectors) {
7859 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors));
7860 }
7861 DocumentFragmentWrappingImplementation.prototype.queryAll = function(selectors) {
7862 return LevelDom.wrapElementList(this._ptr.querySelectorAll$1(selectors));
7863 }
7864 DocumentFragmentWrappingImplementation.prototype.get$id = function() {
7865 return "";
7866 }
7867 DocumentFragmentWrappingImplementation.prototype.get$firstElementChild = functio n() {
7868 return this.get$elements().get$first().call$0();
7869 }
7870 DocumentFragmentWrappingImplementation.prototype.get$attributes = function() {
7871 return const$0004;
7872 }
7873 DocumentFragmentWrappingImplementation.prototype.set$classes = function(value) {
7874 $throw(new UnsupportedOperationException("Classes can't be set for document fr agments."));
7875 }
7876 DocumentFragmentWrappingImplementation.prototype.get$style = function() {
7877 return new EmptyStyleDeclaration();
7878 }
7879 // ********** Code for DocumentEventsImplementation **************
7880 $inherits(DocumentEventsImplementation, ElementEventsImplementation);
7881 function DocumentEventsImplementation() {}
7882 DocumentEventsImplementation._wrap$ctor = function(_ptr) {
7883 ElementEventsImplementation._wrap$ctor.call(this, _ptr);
7884 }
7885 DocumentEventsImplementation._wrap$ctor.prototype = DocumentEventsImplementation .prototype;
7886 // ********** Code for DocumentWrappingImplementation **************
7887 $inherits(DocumentWrappingImplementation, ElementWrappingImplementation);
7888 function DocumentWrappingImplementation() {}
7889 DocumentWrappingImplementation._wrap$ctor = function(_documentPtr, ptr) {
7890 this._documentPtr = _documentPtr;
7891 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
7892 this._documentPtr.get$dynamic().set$dartObjectLocalStorage(this);
7893 }
7894 DocumentWrappingImplementation._wrap$ctor.prototype = DocumentWrappingImplementa tion.prototype;
7895 DocumentWrappingImplementation.prototype.is$html_html_Element = function(){retur n true};
7896 DocumentWrappingImplementation.prototype.get$on = function() {
7897 if (this._on == null) {
7898 this._on = new DocumentEventsImplementation._wrap$ctor(this._documentPtr);
7899 }
7900 return this._on;
7901 }
7902 // ********** Code for DOMApplicationCacheWrappingImplementation **************
7903 $inherits(DOMApplicationCacheWrappingImplementation, EventTargetWrappingImplemen tation);
7904 function DOMApplicationCacheWrappingImplementation() {}
7905 DOMApplicationCacheWrappingImplementation._wrap$ctor = function(ptr) {
7906 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
7907 }
7908 DOMApplicationCacheWrappingImplementation._wrap$ctor.prototype = DOMApplicationC acheWrappingImplementation.prototype;
7909 // ********** Code for _ChildrenElementList **************
7910 function _ChildrenElementList() {}
7911 _ChildrenElementList._wrap$ctor = function(element) {
7912 this._childElements = element.get$children();
7913 this._element = element;
7914 }
7915 _ChildrenElementList._wrap$ctor.prototype = _ChildrenElementList.prototype;
7916 _ChildrenElementList.prototype._toList = function() {
7917 var output = new Array(this._childElements.get$length());
7918 for (var i = (0), len = this._childElements.get$length();
7919 i < len; i++) {
7920 output.$setindex(i, LevelDom.wrapElement(this._childElements.$index(i)));
7921 }
7922 return output;
7923 }
7924 _ChildrenElementList.prototype.get$first = function() {
7925 return LevelDom.wrapElement(this._element.get$firstElementChild());
7926 }
7927 _ChildrenElementList.prototype.forEach = function(f) {
7928 return this._toList().forEach(f);
7929 }
7930 _ChildrenElementList.prototype.filter = function(f) {
7931 return this._toList().filter$1(f);
7932 }
7933 _ChildrenElementList.prototype.get$length = function() {
7934 return this._childElements.get$length();
7935 }
7936 _ChildrenElementList.prototype.$index = function(index) {
7937 return LevelDom.wrapElement(this._childElements.$index(index));
7938 }
7939 _ChildrenElementList.prototype.$setindex = function(index, value) {
7940 this._element.replaceChild$2(LevelDom.unwrap(value), this._childElements.item$ 1(index));
7941 }
7942 _ChildrenElementList.prototype.add = function(value) {
7943 this._element.appendChild$1(LevelDom.unwrap(value));
7944 return value;
7945 }
7946 _ChildrenElementList.prototype.iterator = function() {
7947 return this._toList().iterator$0();
7948 }
7949 _ChildrenElementList.prototype.addAll = function(collection) {
7950 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
7951 var element = $$i.next$0();
7952 this._element.appendChild$1(LevelDom.unwrap(element));
7953 }
7954 }
7955 _ChildrenElementList.prototype.clear = function() {
7956 this._element.set$textContent("");
7957 }
7958 _ChildrenElementList.prototype.get$clear = function() {
7959 return this.clear.bind(this);
7960 }
7961 _ChildrenElementList.prototype.add$1 = _ChildrenElementList.prototype.add;
7962 _ChildrenElementList.prototype.addAll$1 = _ChildrenElementList.prototype.addAll;
7963 _ChildrenElementList.prototype.clear$0 = _ChildrenElementList.prototype.clear;
7964 _ChildrenElementList.prototype.filter$1 = function($0) {
7965 return this.filter(to$call$1($0));
7966 };
7967 _ChildrenElementList.prototype.iterator$0 = _ChildrenElementList.prototype.itera tor;
7968 // ********** Code for FrozenElementList **************
7969 function FrozenElementList() {}
7970 FrozenElementList._wrap$ctor = function(_ptr) {
7971 this._ptr = _ptr;
7972 }
7973 FrozenElementList._wrap$ctor.prototype = FrozenElementList.prototype;
7974 FrozenElementList.prototype.get$_ptr = function() { return this._ptr; };
7975 FrozenElementList.prototype.get$first = function() {
7976 return this.$index((0));
7977 }
7978 FrozenElementList.prototype.forEach = function(f) {
7979 var length = this._ptr.get$length();
7980 for (var i = (0);
7981 i < length; i = $add(i, (1))) {
7982 f.call$1(LevelDom.wrapElement(this._ptr.$index(i)));
7983 }
7984 }
7985 FrozenElementList.prototype.filter = function(f) {
7986 $throw("Not implemented yet.");
7987 }
7988 FrozenElementList.prototype.get$length = function() {
7989 return this._ptr.get$length();
7990 }
7991 FrozenElementList.prototype.$index = function(index) {
7992 return LevelDom.wrapElement(this._ptr.$index(index));
7993 }
7994 FrozenElementList.prototype.$setindex = function(index, value) {
7995 $throw(const$0006);
7996 }
7997 FrozenElementList.prototype.add = function(value) {
7998 $throw(const$0006);
7999 }
8000 FrozenElementList.prototype.iterator = function() {
8001 return new FrozenElementListIterator(this);
8002 }
8003 FrozenElementList.prototype.addAll = function(collection) {
8004 $throw(const$0006);
8005 }
8006 FrozenElementList.prototype.clear = function() {
8007 $throw("Not impl yet. todo(jacobr)");
8008 }
8009 FrozenElementList.prototype.get$clear = function() {
8010 return this.clear.bind(this);
8011 }
8012 FrozenElementList.prototype.add$1 = FrozenElementList.prototype.add;
8013 FrozenElementList.prototype.addAll$1 = FrozenElementList.prototype.addAll;
8014 FrozenElementList.prototype.clear$0 = FrozenElementList.prototype.clear;
8015 FrozenElementList.prototype.filter$1 = function($0) {
8016 return this.filter(to$call$1($0));
8017 };
8018 FrozenElementList.prototype.iterator$0 = FrozenElementList.prototype.iterator;
8019 // ********** Code for FrozenElementListIterator **************
8020 function FrozenElementListIterator(_list) {
8021 this._htmlimpl_index = (0);
8022 this._list = _list;
8023 }
8024 FrozenElementListIterator.prototype.next = function() {
8025 if (!this.hasNext()) {
8026 $throw(const$0005);
8027 }
8028 return this._list.$index(this._htmlimpl_index++);
8029 }
8030 FrozenElementListIterator.prototype.hasNext = function() {
8031 return this._htmlimpl_index < this._list.get$length();
8032 }
8033 FrozenElementListIterator.prototype.hasNext$0 = FrozenElementListIterator.protot ype.hasNext;
8034 FrozenElementListIterator.prototype.next$0 = FrozenElementListIterator.prototype .next;
8035 // ********** Code for ElementAttributeMap **************
8036 function ElementAttributeMap() {}
8037 ElementAttributeMap._wrap$ctor = function(_element) {
8038 this._element = _element;
8039 }
8040 ElementAttributeMap._wrap$ctor.prototype = ElementAttributeMap.prototype;
8041 ElementAttributeMap.prototype.containsKey = function(key) {
8042 return this._element.hasAttribute$1(key);
8043 }
8044 ElementAttributeMap.prototype.$index = function(key) {
8045 return this._element.getAttribute$1(key);
8046 }
8047 ElementAttributeMap.prototype.$setindex = function(key, value) {
8048 this._element.setAttribute$2(key, value);
8049 }
8050 ElementAttributeMap.prototype.putIfAbsent = function(key, ifAbsent) {
8051 if (!this.containsKey(key)) {
8052 this.$setindex(key, ifAbsent.call$0());
8053 }
8054 }
8055 ElementAttributeMap.prototype.clear = function() {
8056 var attributes = this._element.get$attributes();
8057 for (var i = attributes.get$length() - (1);
8058 i >= (0); i--) {
8059 this._element.removeAttribute$1(attributes.item$1(i).get$name());
8060 }
8061 }
8062 ElementAttributeMap.prototype.get$clear = function() {
8063 return this.clear.bind(this);
8064 }
8065 ElementAttributeMap.prototype.get$length = function() {
8066 return this._element.get$attributes().get$length();
8067 }
8068 ElementAttributeMap.prototype.clear$0 = ElementAttributeMap.prototype.clear;
8069 ElementAttributeMap.prototype.putIfAbsent$2 = function($0, $1) {
8070 return this.putIfAbsent($0, to$call$0($1));
8071 };
8072 // ********** Code for ErrorEventWrappingImplementation **************
8073 $inherits(ErrorEventWrappingImplementation, EventWrappingImplementation);
8074 function ErrorEventWrappingImplementation() {}
8075 ErrorEventWrappingImplementation._wrap$ctor = function(ptr) {
8076 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8077 }
8078 ErrorEventWrappingImplementation._wrap$ctor.prototype = ErrorEventWrappingImplem entation.prototype;
8079 // ********** Code for EventSourceWrappingImplementation **************
8080 $inherits(EventSourceWrappingImplementation, EventTargetWrappingImplementation);
8081 function EventSourceWrappingImplementation() {}
8082 EventSourceWrappingImplementation._wrap$ctor = function(ptr) {
8083 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8084 }
8085 EventSourceWrappingImplementation._wrap$ctor.prototype = EventSourceWrappingImpl ementation.prototype;
8086 // ********** Code for _EventListenerWrapper **************
8087 function _EventListenerWrapper(raw, wrapped, useCapture) {
8088 this.wrapped = wrapped;
8089 this.useCapture = useCapture;
8090 this.raw = raw;
8091 }
8092 // ********** Code for EventListenerListImplementation **************
8093 function EventListenerListImplementation(_ptr, _type) {
8094 this._ptr = _ptr;
8095 this._type = _type;
8096 this._wrappers = new Array();
8097 }
8098 EventListenerListImplementation.prototype.get$_ptr = function() { return this._p tr; };
8099 EventListenerListImplementation.prototype.add = function(listener, useCapture) {
8100 this._add(listener, useCapture);
8101 return this;
8102 }
8103 EventListenerListImplementation.prototype._add = function(listener, useCapture) {
8104 this._ptr.addEventListener$3(this._type, this._findOrAddWrapper(listener, useC apture), useCapture);
8105 }
8106 EventListenerListImplementation.prototype._findOrAddWrapper = function(listener, useCapture) {
8107 if (this._wrappers == null) {
8108 this._wrappers = [];
8109 }
8110 else {
8111 var $$list = this._wrappers;
8112 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
8113 var wrapper = $$list.$index($$i);
8114 if (wrapper.raw == listener && $eq(wrapper.useCapture, useCapture)) {
8115 return wrapper.wrapped;
8116 }
8117 }
8118 }
8119 var wrapped = (function (e) {
8120 listener.call$1(LevelDom.wrapEvent(e));
8121 })
8122 ;
8123 this._wrappers.add$1(new _EventListenerWrapper(listener, wrapped, useCapture)) ;
8124 return wrapped;
8125 }
8126 EventListenerListImplementation.prototype.add$1 = function($0) {
8127 return this.add(to$call$1($0), false);
8128 };
8129 // ********** Code for HashChangeEventWrappingImplementation **************
8130 $inherits(HashChangeEventWrappingImplementation, EventWrappingImplementation);
8131 function HashChangeEventWrappingImplementation() {}
8132 HashChangeEventWrappingImplementation._wrap$ctor = function(ptr) {
8133 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8134 }
8135 HashChangeEventWrappingImplementation._wrap$ctor.prototype = HashChangeEventWrap pingImplementation.prototype;
8136 // ********** Code for KeyboardEventWrappingImplementation **************
8137 $inherits(KeyboardEventWrappingImplementation, UIEventWrappingImplementation);
8138 function KeyboardEventWrappingImplementation() {}
8139 KeyboardEventWrappingImplementation._wrap$ctor = function(ptr) {
8140 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8141 }
8142 KeyboardEventWrappingImplementation._wrap$ctor.prototype = KeyboardEventWrapping Implementation.prototype;
8143 // ********** Code for MessageEventWrappingImplementation **************
8144 $inherits(MessageEventWrappingImplementation, EventWrappingImplementation);
8145 function MessageEventWrappingImplementation() {}
8146 MessageEventWrappingImplementation._wrap$ctor = function(ptr) {
8147 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8148 }
8149 MessageEventWrappingImplementation._wrap$ctor.prototype = MessageEventWrappingIm plementation.prototype;
8150 // ********** Code for MessagePortWrappingImplementation **************
8151 $inherits(MessagePortWrappingImplementation, EventTargetWrappingImplementation);
8152 function MessagePortWrappingImplementation() {}
8153 MessagePortWrappingImplementation._wrap$ctor = function(ptr) {
8154 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8155 }
8156 MessagePortWrappingImplementation._wrap$ctor.prototype = MessagePortWrappingImpl ementation.prototype;
8157 // ********** Code for MouseEventWrappingImplementation **************
8158 $inherits(MouseEventWrappingImplementation, UIEventWrappingImplementation);
8159 function MouseEventWrappingImplementation() {}
8160 MouseEventWrappingImplementation._wrap$ctor = function(ptr) {
8161 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8162 }
8163 MouseEventWrappingImplementation._wrap$ctor.prototype = MouseEventWrappingImplem entation.prototype;
8164 // ********** Code for MutationEventWrappingImplementation **************
8165 $inherits(MutationEventWrappingImplementation, EventWrappingImplementation);
8166 function MutationEventWrappingImplementation() {}
8167 MutationEventWrappingImplementation._wrap$ctor = function(ptr) {
8168 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8169 }
8170 MutationEventWrappingImplementation._wrap$ctor.prototype = MutationEventWrapping Implementation.prototype;
8171 // ********** Code for _ChildrenNodeList **************
8172 function _ChildrenNodeList() {}
8173 _ChildrenNodeList._wrap$ctor = function(node) {
8174 this._node = node;
8175 this._childNodes = node.get$childNodes();
8176 }
8177 _ChildrenNodeList._wrap$ctor.prototype = _ChildrenNodeList.prototype;
8178 _ChildrenNodeList.prototype._toList = function() {
8179 var output = new Array(this._childNodes.get$length());
8180 for (var i = (0), len = this._childNodes.get$length();
8181 i < len; i++) {
8182 output.$setindex(i, LevelDom.wrapNode(this._childNodes.$index(i)));
8183 }
8184 return output;
8185 }
8186 _ChildrenNodeList.prototype.get$first = function() {
8187 return LevelDom.wrapNode(this._node.get$firstChild());
8188 }
8189 _ChildrenNodeList.prototype.forEach = function(f) {
8190 return this._toList().forEach(f);
8191 }
8192 _ChildrenNodeList.prototype.filter = function(f) {
8193 return this._toList().filter$1(f);
8194 }
8195 _ChildrenNodeList.prototype.get$length = function() {
8196 return this._childNodes.get$length();
8197 }
8198 _ChildrenNodeList.prototype.$index = function(index) {
8199 return LevelDom.wrapNode(this._childNodes.$index(index));
8200 }
8201 _ChildrenNodeList.prototype.$setindex = function(index, value) {
8202 this._node.replaceChild$2(LevelDom.unwrap(value), this._childNodes.$index(inde x));
8203 }
8204 _ChildrenNodeList.prototype.add = function(value) {
8205 this._node.appendChild$1(LevelDom.unwrap(value));
8206 return value;
8207 }
8208 _ChildrenNodeList.prototype.iterator = function() {
8209 return this._toList().iterator$0();
8210 }
8211 _ChildrenNodeList.prototype.addAll = function(collection) {
8212 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
8213 var node = $$i.next$0();
8214 this._node.appendChild$1(LevelDom.unwrap(node));
8215 }
8216 }
8217 _ChildrenNodeList.prototype.clear = function() {
8218 this._node.set$textContent("");
8219 }
8220 _ChildrenNodeList.prototype.get$clear = function() {
8221 return this.clear.bind(this);
8222 }
8223 _ChildrenNodeList.prototype.add$1 = _ChildrenNodeList.prototype.add;
8224 _ChildrenNodeList.prototype.addAll$1 = _ChildrenNodeList.prototype.addAll;
8225 _ChildrenNodeList.prototype.clear$0 = _ChildrenNodeList.prototype.clear;
8226 _ChildrenNodeList.prototype.filter$1 = function($0) {
8227 return this.filter(to$call$1($0));
8228 };
8229 _ChildrenNodeList.prototype.iterator$0 = _ChildrenNodeList.prototype.iterator;
8230 // ********** Code for NotificationWrappingImplementation **************
8231 $inherits(NotificationWrappingImplementation, EventTargetWrappingImplementation) ;
8232 function NotificationWrappingImplementation() {}
8233 NotificationWrappingImplementation._wrap$ctor = function(ptr) {
8234 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8235 }
8236 NotificationWrappingImplementation._wrap$ctor.prototype = NotificationWrappingIm plementation.prototype;
8237 NotificationWrappingImplementation.prototype.get$typeName = function() {
8238 return "Notification";
8239 }
8240 // ********** Code for ObjectElementWrappingImplementation **************
8241 $inherits(ObjectElementWrappingImplementation, ElementWrappingImplementation);
8242 function ObjectElementWrappingImplementation() {}
8243 ObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
8244 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
8245 }
8246 ObjectElementWrappingImplementation._wrap$ctor.prototype = ObjectElementWrapping Implementation.prototype;
8247 ObjectElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
8248 ObjectElementWrappingImplementation.prototype.get$name = function() {
8249 return this._ptr.get$name();
8250 }
8251 // ********** Code for OverflowEventWrappingImplementation **************
8252 $inherits(OverflowEventWrappingImplementation, EventWrappingImplementation);
8253 function OverflowEventWrappingImplementation() {}
8254 OverflowEventWrappingImplementation._wrap$ctor = function(ptr) {
8255 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8256 }
8257 OverflowEventWrappingImplementation._wrap$ctor.prototype = OverflowEventWrapping Implementation.prototype;
8258 // ********** Code for PageTransitionEventWrappingImplementation **************
8259 $inherits(PageTransitionEventWrappingImplementation, EventWrappingImplementation );
8260 function PageTransitionEventWrappingImplementation() {}
8261 PageTransitionEventWrappingImplementation._wrap$ctor = function(ptr) {
8262 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8263 }
8264 PageTransitionEventWrappingImplementation._wrap$ctor.prototype = PageTransitionE ventWrappingImplementation.prototype;
8265 // ********** Code for PopStateEventWrappingImplementation **************
8266 $inherits(PopStateEventWrappingImplementation, EventWrappingImplementation);
8267 function PopStateEventWrappingImplementation() {}
8268 PopStateEventWrappingImplementation._wrap$ctor = function(ptr) {
8269 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8270 }
8271 PopStateEventWrappingImplementation._wrap$ctor.prototype = PopStateEventWrapping Implementation.prototype;
8272 // ********** Code for ProgressEventWrappingImplementation **************
8273 $inherits(ProgressEventWrappingImplementation, EventWrappingImplementation);
8274 function ProgressEventWrappingImplementation() {}
8275 ProgressEventWrappingImplementation._wrap$ctor = function(ptr) {
8276 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8277 }
8278 ProgressEventWrappingImplementation._wrap$ctor.prototype = ProgressEventWrapping Implementation.prototype;
8279 // ********** Code for SharedWorkerWrappingImplementation **************
8280 $inherits(SharedWorkerWrappingImplementation, AbstractWorkerWrappingImplementati on);
8281 function SharedWorkerWrappingImplementation() {}
8282 SharedWorkerWrappingImplementation._wrap$ctor = function(ptr) {
8283 AbstractWorkerWrappingImplementation._wrap$ctor.call(this, ptr);
8284 }
8285 SharedWorkerWrappingImplementation._wrap$ctor.prototype = SharedWorkerWrappingIm plementation.prototype;
8286 // ********** Code for StorageEventWrappingImplementation **************
8287 $inherits(StorageEventWrappingImplementation, EventWrappingImplementation);
8288 function StorageEventWrappingImplementation() {}
8289 StorageEventWrappingImplementation._wrap$ctor = function(ptr) {
8290 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8291 }
8292 StorageEventWrappingImplementation._wrap$ctor.prototype = StorageEventWrappingIm plementation.prototype;
8293 // ********** Code for SVGDocumentWrappingImplementation **************
8294 $inherits(SVGDocumentWrappingImplementation, DocumentWrappingImplementation);
8295 function SVGDocumentWrappingImplementation() {}
8296 SVGDocumentWrappingImplementation._wrap$ctor = function(ptr) {
8297 DocumentWrappingImplementation._wrap$ctor.call(this, ptr, ptr.rootElement);
8298 }
8299 SVGDocumentWrappingImplementation._wrap$ctor.prototype = SVGDocumentWrappingImpl ementation.prototype;
8300 SVGDocumentWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
8301 // ********** Code for _SVGClassSet **************
8302 $inherits(_SVGClassSet, _CssClassSet);
8303 function _SVGClassSet(element) {
8304 _CssClassSet.call(this, element);
8305 }
8306 _SVGClassSet.prototype._className = function() {
8307 return this._htmlimpl_element.get$className().get$baseVal();
8308 }
8309 _SVGClassSet.prototype._write = function(s) {
8310 this._htmlimpl_element.get$className().set$baseVal(this._formatSet(s));
8311 }
8312 // ********** Code for SVGElementInstanceWrappingImplementation **************
8313 $inherits(SVGElementInstanceWrappingImplementation, EventTargetWrappingImplement ation);
8314 function SVGElementInstanceWrappingImplementation() {}
8315 SVGElementInstanceWrappingImplementation._wrap$ctor = function(ptr) {
8316 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8317 }
8318 SVGElementInstanceWrappingImplementation._wrap$ctor.prototype = SVGElementInstan ceWrappingImplementation.prototype;
8319 SVGElementInstanceWrappingImplementation.prototype.get$childNodes = function() {
8320 return LevelDom.wrapSVGElementInstanceList(this._ptr.get$childNodes());
8321 }
8322 SVGElementInstanceWrappingImplementation.prototype.get$firstChild = function() {
8323 return LevelDom.wrapSVGElementInstance(this._ptr.get$firstChild());
8324 }
8325 SVGElementInstanceWrappingImplementation.prototype.get$parentNode = function() {
8326 return LevelDom.wrapSVGElementInstance(this._ptr.get$parentNode());
8327 }
8328 // ********** Code for SVGSVGElementWrappingImplementation **************
8329 $inherits(SVGSVGElementWrappingImplementation, SVGElementWrappingImplementation) ;
8330 function SVGSVGElementWrappingImplementation() {}
8331 SVGSVGElementWrappingImplementation._wrap$ctor = function(ptr) {
8332 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
8333 }
8334 SVGSVGElementWrappingImplementation._wrap$ctor.prototype = SVGSVGElementWrapping Implementation.prototype;
8335 SVGSVGElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
8336 SVGSVGElementWrappingImplementation.SVGSVGElementWrappingImplementation$factory = function() {
8337 var el = SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag $factory("svg");
8338 el.get$attributes().$setindex("version", "1.1");
8339 return el;
8340 }
8341 SVGSVGElementWrappingImplementation.prototype.get$className = function() {
8342 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
8343 }
8344 SVGSVGElementWrappingImplementation.prototype.get$style = function() {
8345 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
8346 }
8347 // ********** Code for TextEventWrappingImplementation **************
8348 $inherits(TextEventWrappingImplementation, UIEventWrappingImplementation);
8349 function TextEventWrappingImplementation() {}
8350 TextEventWrappingImplementation._wrap$ctor = function(ptr) {
8351 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8352 }
8353 TextEventWrappingImplementation._wrap$ctor.prototype = TextEventWrappingImplemen tation.prototype;
8354 // ********** Code for TouchEventWrappingImplementation **************
8355 $inherits(TouchEventWrappingImplementation, UIEventWrappingImplementation);
8356 function TouchEventWrappingImplementation() {}
8357 TouchEventWrappingImplementation._wrap$ctor = function(ptr) {
8358 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8359 }
8360 TouchEventWrappingImplementation._wrap$ctor.prototype = TouchEventWrappingImplem entation.prototype;
8361 // ********** Code for TransitionEventWrappingImplementation **************
8362 $inherits(TransitionEventWrappingImplementation, EventWrappingImplementation);
8363 function TransitionEventWrappingImplementation() {}
8364 TransitionEventWrappingImplementation._wrap$ctor = function(ptr) {
8365 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8366 }
8367 TransitionEventWrappingImplementation._wrap$ctor.prototype = TransitionEventWrap pingImplementation.prototype;
8368 // ********** Code for WebSocketWrappingImplementation **************
8369 $inherits(WebSocketWrappingImplementation, EventTargetWrappingImplementation);
8370 function WebSocketWrappingImplementation() {}
8371 WebSocketWrappingImplementation._wrap$ctor = function(ptr) {
8372 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8373 }
8374 WebSocketWrappingImplementation._wrap$ctor.prototype = WebSocketWrappingImplemen tation.prototype;
8375 WebSocketWrappingImplementation.prototype.get$typeName = function() {
8376 return "WebSocket";
8377 }
8378 // ********** Code for WheelEventWrappingImplementation **************
8379 $inherits(WheelEventWrappingImplementation, UIEventWrappingImplementation);
8380 function WheelEventWrappingImplementation() {}
8381 WheelEventWrappingImplementation._wrap$ctor = function(ptr) {
8382 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8383 }
8384 WheelEventWrappingImplementation._wrap$ctor.prototype = WheelEventWrappingImplem entation.prototype;
8385 // ********** Code for WindowEventsImplementation **************
8386 $inherits(WindowEventsImplementation, EventsImplementation);
8387 function WindowEventsImplementation() {}
8388 WindowEventsImplementation._wrap$ctor = function(_ptr) {
8389 EventsImplementation._wrap$ctor.call(this, _ptr);
8390 }
8391 WindowEventsImplementation._wrap$ctor.prototype = WindowEventsImplementation.pro totype;
8392 WindowEventsImplementation.prototype.get$change = function() {
8393 return this._get("change");
8394 }
8395 WindowEventsImplementation.prototype.get$contentLoaded = function() {
8396 return this._get("DOMContentLoaded");
8397 }
8398 // ********** Code for WindowWrappingImplementation **************
8399 $inherits(WindowWrappingImplementation, EventTargetWrappingImplementation);
8400 function WindowWrappingImplementation() {}
8401 WindowWrappingImplementation._wrap$ctor = function(ptr) {
8402 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8403 }
8404 WindowWrappingImplementation._wrap$ctor.prototype = WindowWrappingImplementation .prototype;
8405 WindowWrappingImplementation.prototype.get$length = function() {
8406 return this._ptr.get$length();
8407 }
8408 WindowWrappingImplementation.prototype.get$name = function() {
8409 return this._ptr.get$name();
8410 }
8411 WindowWrappingImplementation.prototype.get$on = function() {
8412 if (this._on == null) {
8413 this._on = new WindowEventsImplementation._wrap$ctor(this._ptr);
8414 }
8415 return this._on;
8416 }
8417 // ********** Code for WorkerWrappingImplementation **************
8418 $inherits(WorkerWrappingImplementation, EventTargetWrappingImplementation);
8419 function WorkerWrappingImplementation() {}
8420 WorkerWrappingImplementation._wrap$ctor = function(ptr) {
8421 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8422 }
8423 WorkerWrappingImplementation._wrap$ctor.prototype = WorkerWrappingImplementation .prototype;
8424 // ********** Code for XMLHttpRequestProgressEventWrappingImplementation ******* *******
8425 $inherits(XMLHttpRequestProgressEventWrappingImplementation, ProgressEventWrappi ngImplementation);
8426 function XMLHttpRequestProgressEventWrappingImplementation() {}
8427 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor = function(ptr) {
8428 ProgressEventWrappingImplementation._wrap$ctor.call(this, ptr);
8429 }
8430 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor.prototype = XMLHttp RequestProgressEventWrappingImplementation.prototype;
8431 // ********** Code for XMLHttpRequestUploadWrappingImplementation **************
8432 $inherits(XMLHttpRequestUploadWrappingImplementation, EventTargetWrappingImpleme ntation);
8433 function XMLHttpRequestUploadWrappingImplementation() {}
8434 XMLHttpRequestUploadWrappingImplementation._wrap$ctor = function(ptr) {
8435 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8436 }
8437 XMLHttpRequestUploadWrappingImplementation._wrap$ctor.prototype = XMLHttpRequest UploadWrappingImplementation.prototype;
8438 // ********** Code for XMLHttpRequestWrappingImplementation **************
8439 $inherits(XMLHttpRequestWrappingImplementation, EventTargetWrappingImplementatio n);
8440 function XMLHttpRequestWrappingImplementation() {}
8441 XMLHttpRequestWrappingImplementation._wrap$ctor = function(ptr) {
8442 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8443 }
8444 XMLHttpRequestWrappingImplementation._wrap$ctor.prototype = XMLHttpRequestWrappi ngImplementation.prototype;
8445 // ********** Code for top level **************
8446 var _pendingRequests;
8447 var _pendingMeasurementFrameCallbacks;
8448 // ********** Library html **************
8449 // ********** Code for top level **************
8450 var secretWindow;
8451 var secretDocument;
8452 function html_get$window() {
8453 if ($globals.secretWindow == null) {
8454 LevelDom.initialize();
8455 }
8456 return $globals.secretWindow;
8457 }
8458 function html_get$document() {
8459 if ($globals.secretWindow == null) {
8460 LevelDom.initialize();
8461 }
8462 return $globals.secretDocument;
8463 }
8464 // ********** Library logo **************
8465 // ********** Code for Color **************
8466 function Color(hue, saturation, lightness) {
8467 this.hue = hue;
8468 this.lightness = lightness;
8469 this.saturation = saturation;
8470 }
8471 Color.Color$rgb$factory = function(red, green, blue) {
8472 var r = red;
8473 var g = green;
8474 var b = blue;
8475 var max = Math.max(Math.max(r, g), b);
8476 var min = Math.min(Math.min(r, g), b);
8477 var d = max - min;
8478 var h;
8479 if ($eq(max, min)) {
8480 h = (0);
8481 }
8482 else if ($eq(max, r)) {
8483 h = (60) * (g - b) / d;
8484 }
8485 else if ($eq(max, g)) {
8486 h = (60) * (b - r) / d + (120);
8487 }
8488 else {
8489 h = (60) * (r - g) / d + (240);
8490 }
8491 var l = ($add(max, min)) / (2);
8492 var s;
8493 if ($eq(max, min)) {
8494 s = (0);
8495 }
8496 else if (l < (0.5)) {
8497 s = d / ((2) * l);
8498 }
8499 else {
8500 s = d / ((2) - (2) * l);
8501 }
8502 return new Color(($mod(h.round(), (360))).toInt(), s, l);
8503 }
8504 Color.Color$hex$factory = function(hex) {
8505 return Color.Color$rgb$factory(Color._parseHex(hex.substring((1), (3))) / (255 ), Color._parseHex(hex.substring((3), (5))) / (255), Color._parseHex(hex.substri ng((5), (7))) / (255));
8506 }
8507 Color.prototype.get$hue = function() { return this.hue; };
8508 Color.prototype.set$hue = function(value) { return this.hue = value; };
8509 Color.prototype.get$saturation = function() { return this.saturation; };
8510 Color.prototype.set$saturation = function(value) { return this.saturation = valu e; };
8511 Color.prototype.get$lightness = function() { return this.lightness; };
8512 Color.prototype.set$lightness = function(value) { return this.lightness = value; };
8513 Color._parseHex = function(hex) {
8514 var codes = hex.charCodes();
8515 var number = (0);
8516 for (var i = (0);
8517 i < codes.get$length(); i = $add(i, (1))) {
8518 var code = codes.$index(i);
8519 var digit = null;
8520 if (code >= (48) && code <= (57)) {
8521 digit = code - (48);
8522 }
8523 else if (code >= (97) && code <= (102)) {
8524 digit = code - (97) + (10);
8525 }
8526 else {
8527 $throw(("Invalid hex string: '" + hex + "'"));
8528 }
8529 number = number * (16);
8530 number = $add(number, digit);
8531 }
8532 return number;
8533 }
8534 Color.prototype.get$hex = function() {
8535 var h = ($mod(this.hue, (360))) / (360);
8536 var s = this.saturation;
8537 var l = this.lightness;
8538 var m2 = l <= (0.5) ? l * ($add(s, (1))) : $add(l, s) - l * s;
8539 var m1 = l * (2) - m2;
8540 var r = this._hueToRgb(m1, m2, $add(h, (0.3333333333333333)));
8541 var g = this._hueToRgb(m1, m2, h);
8542 var b = this._hueToRgb(m1, m2, h - (0.3333333333333333));
8543 return ("#" + this._hexPair(r) + this._hexPair(g) + this._hexPair(b));
8544 }
8545 Color.prototype.dup = function() {
8546 return new Color(this.hue, this.saturation, this.lightness);
8547 }
8548 Color.prototype._hueToRgb = function(m1, m2, h) {
8549 if (h < (0)) h++;
8550 if (h > (1)) h--;
8551 if (h * (6) < (1)) return m1 + (m2 - m1) * h * (6);
8552 if (h * (2) < (1)) return m2;
8553 if (h * (3) < (2)) return m1 + (m2 - m1) * ((0.6666666666666666) - h) * (6);
8554 return m1;
8555 }
8556 Color.prototype._hexPair = function(color) {
8557 var str = (color * (255)).round().toRadixString((16));
8558 return $eq(str.get$length(), (1)) ? ("0" + str) : str;
8559 ;
8560 }
8561 Color.prototype.dup$0 = Color.prototype.dup;
8562 // ********** Code for top level **************
8563 var logo;
8564 var hue;
8565 var lightness;
8566 var saturation;
8567 var defaultColors;
8568 function onSliderChange(_) {
8569 var hueDelta = Math.parseInt($globals.hue.get$value()) - (180);
8570 var saturationMod = Math.parseInt($globals.saturation.get$value()) / (100);
8571 var lightnessMod = Math.parseInt($globals.lightness.get$value()) / (100);
8572 $globals.logo.queryAll("path").forEach((function (p) {
8573 var color = $globals.defaultColors.$index(p.get$id()).dup$0();
8574 color.set$hue($add(color.get$hue(), hueDelta));
8575 if (saturationMod > (0)) {
8576 color.set$saturation($add(color.get$saturation(), (saturationMod * ((1) - color.get$saturation()))));
8577 }
8578 else {
8579 color.set$saturation($add(color.get$saturation(), (saturationMod * color.g et$saturation())));
8580 }
8581 if (lightnessMod > (0)) {
8582 color.set$lightness($add(color.get$lightness(), (lightnessMod * ((1) - col or.get$lightness()))));
8583 }
8584 else {
8585 color.set$lightness($add(color.get$lightness(), (lightnessMod * color.get$ lightness())));
8586 }
8587 p.get$style().setProperty$2("fill", color.get$hex());
8588 })
8589 );
8590 }
8591 function main() {
8592 $globals.defaultColors = new HashMapImplementation();
8593 html_get$window().get$on().get$contentLoaded().add((function (_) {
8594 $globals.logo = SVGElementWrappingImplementation.SVGElementWrappingImplement ation$svg$factory("<svg xmlns=\"http://www.w3.org/2000/svg\"\n version=\"1.1 \"\n width=\"371.6655\"\n height=\"374.14087\">\n <filter id=\"inverse\ "> \n <feComponentTransfer> \n <feFuncR type=\"table\" tableValues=\ "1 0\"/> \n <feFuncG type=\"table\" tableValues=\"1 0\"/> \n <fe FuncB type=\"table\" tableValues=\"1 0\"/> \n </feComponentTransfer> \n </f ilter>\n <path\n d=\"m 101.86949,101.86487 -24.192001,-24.192004 0.088,174. 807994 0.296,8.164 c 0.12,3.848 0.84,8.18 2.012,12.684 l 191.615991,67.55601 47. 89201,-21.216 0.016,-0.056 -217.728,-217.748 z\"\n id=\"path2900\"\n sty le=\"fill: #31beb2\" />\n <path\n d=\"m 80.073489,273.32486 0.02,0.008 c -0 .02,-0.084 -0.052,-0.168 -0.076,-0.252 0.028,0.084 0.036,0.16 0.056,0.244 z m 23 9.524001,46.28401 m -0.016,0.056 -47.89201,21.216 -191.591991,-67.54801 c 3.656, 14.044 11.764,29.83201 20.476001,38.45601 l 62.52,62.172 139.052,0.18 17.452,-54 .532 -0.016,0.056 z\"\n id=\"path2902\"\n style=\"fill: #75ccc3\" />\n <path\n d=\"M 77.673489,77.668866 3.1974828,190.16487 c -6.192,6.616 -3.1159 9997,20.244 6.8520002,30.276 l 42.996005,43.35199 27.028001,9.528 c -1.172,-4.50 4 -1.892,-8.832 -2.012,-12.684 l -0.296,-8.164 -0.092,-174.803994 0,0 z\"\n id=\"path2904\"\n style=\"fill: #008bc9\" />\n <path\n d=\"m 273.26148, 79.920866 c -4.48,-1.148 -8.808,-1.856 -12.708,-1.98 l -8.64,-0.308 -174.239991, 0.036 241.960001,241.940004 0.02,-0.008 21.24,-47.93601 -67.63201,-191.743994 z\ "\n id=\"path2906\"\n style=\"fill: #0082c4\" />\n <path\n d=\"m 27 3.04948,79.876866 c 0.072,0.02 0.148,0.044 0.22,0.064 l -0.004,-0.02 c -0.076,-0 .02 -0.144,-0.024 -0.216,-0.044 z m 38.66001,20.576004 c -8.792,-8.860004 -24.37 601,-16.912004 -38.44001,-20.512004 l 67.62801,191.727994 -21.24,47.93601 -0.02, 0.008 51.928,-16.592 0.1,-142.368 -59.956,-60.2 z\"\n id=\"path2908\"\n style=\"fill: #008bc9\" />\n <path\n d=\"M 263.78548,53.048866 220.45349,10 .028873 c -10.02,-9.92799955 -23.664,-13.0239996 -30.26,-6.8439996 L 77.677489,7 7.672866 l 174.239991,-0.036 8.64,0.308 c 3.9,0.124 8.228,0.832 12.708,1.98 l -9 .48,-26.876 z m -186.111991,24.62\"\n id=\"path2910\"\n style=\"fill: #7 5ccc3\" />\n</svg>\n");
8595 html_get$document().query("#icon").get$elements().add$1($globals.logo);
8596 $globals.logo.queryAll("path").forEach((function (p) {
8597 $globals.defaultColors.$setindex(p.get$id(), Color.Color$hex$factory(p.get $style().getPropertyValue$1("fill")));
8598 })
8599 );
8600 $globals.hue = html_get$document().query("input[name=hue]");
8601 $globals.hue.get$on().get$change().add$1(onSliderChange);
8602 $globals.saturation = html_get$document().query("input[name=saturation]");
8603 $globals.saturation.get$on().get$change().add$1(onSliderChange);
8604 $globals.lightness = html_get$document().query("input[name=lightness]");
8605 $globals.lightness.get$on().get$change().add$1(onSliderChange);
8606 html_get$document().query("input[name=invert]").get$on().get$change().add$1( (function (e) {
8607 var invert = e.get$target();
8608 if (invert.get$checked()) {
8609 $globals.logo.set$classes(["inverse"]);
8610 }
8611 else {
8612 $globals.logo.set$classes([]);
8613 }
8614 })
8615 );
8616 })
8617 , false);
8618 }
8619 // ********** Generic Type Inheritance **************
8620 /** Implements extends for generic types. */
8621 function $inheritsMembers(child, parent) {
8622 child = child.prototype;
8623 parent = parent.prototype;
8624 Object.getOwnPropertyNames(parent).forEach(function(name) {
8625 if (typeof(child[name]) == 'undefined') child[name] = parent[name];
8626 });
8627 }
8628 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_E, DoubleLinkedQueueEntry_E);
8629 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, DoubleLinkedQ ueueEntry_KeyValuePair_K$V);
8630 // 319 dynamic types.
8631 // 502 types
8632 // 41 !leaf
8633 (function(){
8634 var v0/*CSSValueList*/ = 'CSSValueList|WebKitCSSFilterValue|WebKitCSSTransform Value';
8635 var v1/*HTMLInputElement*/ = 'HTMLInputElement|HTMLIsIndexElement';
8636 var v2/*SVGGradientElement*/ = 'SVGGradientElement|SVGLinearGradientElement|SV GRadialGradientElement';
8637 var v3/*SVGTextContentElement*/ = 'SVGTextContentElement|SVGTextPathElement|SV GTextPositioningElement|SVGAltGlyphElement|SVGTRefElement|SVGTSpanElement|SVGTex tElement';
8638 var v4/*HTMLElement*/ = [v1/*HTMLInputElement*/,'HTMLElement|HTMLAnchorElement |HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBaseElement|HTMLBaseFontEle ment|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement|HTMLDListElement|HTMLDa taListElement|HTMLDetailsElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedEl ement|HTMLFieldSetElement|HTMLFontElement|HTMLFormElement|HTMLFrameElement|HTMLF rameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement| HTMLIFrameElement|HTMLImageElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElem ent|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMedi aElement|HTMLAudioElement|HTMLVideoElement|HTMLMenuElement|HTMLMetaElement|HTMLM eterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElemen t|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTML PreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLSelectElem ent|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|H TMLTableCellElement|HTMLTableColElement|HTMLTableElement|HTMLTableRowElement|HTM LTableSectionElement|HTMLTextAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLU ListElement|HTMLUnknownElement'].join('|');
8639 var v5/*SVGElement*/ = [v2/*SVGGradientElement*/,v3/*SVGTextContentElement*/,' SVGElement|SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimation Element|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnim ateTransformElement|SVGSetElement|SVGCircleElement|SVGClipPathElement|SVGCompone ntTransferFunctionElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement| SVGFEFuncRElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGEllipseEleme nt|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFE CompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDis placementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodEl ement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNod eElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFES pecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceEle ment|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement |SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGForeignOb jectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGHKernElement|SVGIm ageElement|SVGLineElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMet adataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonE lement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGStopE lement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTitleElement|SVGUseE lement|SVGVKernElement|SVGViewElement'].join('|');
8640 var v6/*CharacterData*/ = 'CharacterData|Comment|Text|CDATASection';
8641 var v7/*Document*/ = 'Document|HTMLDocument|SVGDocument';
8642 var v8/*Element*/ = [v4/*HTMLElement*/,v5/*SVGElement*/,'Element'].join('|');
8643 var table = [
8644 // [dynamic-dispatch-tag, tags of classes implementing dynamic-dispatch-tag]
8645 ['AbstractWorker', 'AbstractWorker|SharedWorker|Worker'],
8646 ['ArrayBufferView', 'ArrayBufferView|DataView|Float32Array|Float64Array|Int1 6Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array'],
8647 ['AudioNode', 'AudioNode|AudioChannelMerger|AudioChannelSplitter|AudioDestin ationNode|AudioGainNode|AudioPannerNode|AudioSourceNode|AudioBufferSourceNode|Me diaElementAudioSourceNode|BiquadFilterNode|ConvolverNode|DelayNode|DynamicsCompr essorNode|HighPass2FilterNode|JavaScriptAudioNode|LowPass2FilterNode|RealtimeAna lyserNode|WaveShaperNode'],
8648 ['AudioParam', 'AudioParam|AudioGain'],
8649 ['Blob', 'Blob|File'],
8650 ['CSSRule', 'CSSRule|CSSCharsetRule|CSSFontFaceRule|CSSImportRule|CSSMediaRu le|CSSPageRule|CSSStyleRule|CSSUnknownRule|WebKitCSSKeyframeRule|WebKitCSSKeyfra mesRule'],
8651 ['CSSValueList', v0/*CSSValueList*/],
8652 ['CSSValue', [v0/*CSSValueList*/,'CSSValue|CSSPrimitiveValue|SVGColor|SVGPai nt'].join('|')],
8653 ['CanvasRenderingContext', 'CanvasRenderingContext|CanvasRenderingContext2D| WebGLRenderingContext'],
8654 ['CharacterData', v6/*CharacterData*/],
8655 ['DOMTokenList', 'DOMTokenList|DOMSettableTokenList'],
8656 ['DOMWindow', 'DOMWindow|Window'],
8657 ['Document', v7/*Document*/],
8658 ['HTMLInputElement', v1/*HTMLInputElement*/],
8659 ['HTMLElement', v4/*HTMLElement*/],
8660 ['SVGGradientElement', v2/*SVGGradientElement*/],
8661 ['SVGTextContentElement', v3/*SVGTextContentElement*/],
8662 ['SVGElement', v5/*SVGElement*/],
8663 ['Element', v8/*Element*/],
8664 ['Entry', 'Entry|DirectoryEntry|FileEntry'],
8665 ['EntrySync', 'EntrySync|DirectoryEntrySync|FileEntrySync'],
8666 ['Event', 'Event|AudioProcessingEvent|BeforeLoadEvent|CloseEvent|CustomEvent |DeviceMotionEvent|DeviceOrientationEvent|ErrorEvent|HashChangeEvent|IDBVersionC hangeEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent| PageTransitionEvent|PopStateEvent|ProgressEvent|XMLHttpRequestProgressEvent|Spee chInputEvent|StorageEvent|TrackEvent|UIEvent|CompositionEvent|KeyboardEvent|Mous eEvent|SVGZoomEvent|TextEvent|TouchEvent|WheelEvent|WebGLContextEvent|WebKitAnim ationEvent|WebKitTransitionEvent'],
8667 ['HTMLCollection', 'HTMLCollection|HTMLOptionsCollection|HTMLPropertiesColle ction'],
8668 ['IDBCursor', 'IDBCursor|IDBCursorWithValue'],
8669 ['IDBRequest', 'IDBRequest|IDBVersionChangeRequest'],
8670 ['Node', [v6/*CharacterData*/,v7/*Document*/,v8/*Element*/,'Node|Attr|Docume ntFragment|DocumentType|Entity|EntityReference|Notation|ProcessingInstruction']. join('|')],
8671 ['SVGLocatable', 'SVGLocatable|SVGTransformable'],
8672 ['SVGPathSeg', 'SVGPathSeg|SVGPathSegArcAbs|SVGPathSegArcRel|SVGPathSegClose Path|SVGPathSegCurvetoCubicAbs|SVGPathSegCurvetoCubicRel|SVGPathSegCurvetoCubicS moothAbs|SVGPathSegCurvetoCubicSmoothRel|SVGPathSegCurvetoQuadraticAbs|SVGPathSe gCurvetoQuadraticRel|SVGPathSegCurvetoQuadraticSmoothAbs|SVGPathSegCurvetoQuadra ticSmoothRel|SVGPathSegLinetoAbs|SVGPathSegLinetoHorizontalAbs|SVGPathSegLinetoH orizontalRel|SVGPathSegLinetoRel|SVGPathSegLinetoVerticalAbs|SVGPathSegLinetoVer ticalRel|SVGPathSegMovetoAbs|SVGPathSegMovetoRel'],
8673 ['SVGStylable', 'SVGStylable|SVGFilterPrimitiveStandardAttributes'],
8674 ['SVGZoomAndPan', 'SVGZoomAndPan|SVGViewSpec'],
8675 ['StyleSheet', 'StyleSheet|CSSStyleSheet'],
8676 ['WorkerContext', 'WorkerContext|DedicatedWorkerContext|SharedWorkercontext' ],
8677 ];
8678 $dynamicSetMetadata(table);
8679 })();
8680 // ********** Globals **************
8681 function $static_init(){
8682 }
8683 var const$0000 = Object.create(_DeletedKeySentinel.prototype, {});
8684 var const$0001 = new JSSyntaxRegExp("<(\\w+)");
8685 var const$0002 = Object.create(IllegalAccessException.prototype, {});
8686 var const$0003 = Object.create(EmptyQueueException.prototype, {});
8687 var const$0004 = _constMap([]);
8688 var const$0005 = Object.create(NoMoreElementsException.prototype, {});
8689 var const$0006 = Object.create(UnsupportedOperationException.prototype, {_messag e: {"value": "", writeable: false}, });
8690 var $globals = {};
8691 $static_init();
8692 main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698