Last active
March 11, 2016 11:14
-
-
Save nkt/1fb37684d0df433cf8dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function actor(){ | |
var $wnd_0 = window, $doc_0 = document, gwtOnLoad_0, bodyDone, base = '', metaProps = {}, values = [], providers = [], answers = [], softPermutationId = 0, onLoadErrorFunc, propertyErrorFunc; | |
if (!$wnd_0.__gwt_stylesLoaded) { | |
$wnd_0.__gwt_stylesLoaded = {}; | |
} | |
if (!$wnd_0.__gwt_scriptsLoaded) { | |
$wnd_0.__gwt_scriptsLoaded = {}; | |
} | |
function isHostedMode(){ | |
var result = false; | |
try { | |
var query = $wnd_0.location.search; | |
return (query.indexOf('gwt.codesvr=') != -1 || (query.indexOf('gwt.hosted=') != -1 || $wnd_0.external && $wnd_0.external.gwtOnLoad)) && query.indexOf('gwt.hybrid') == -1; | |
} | |
catch (e) { | |
} | |
isHostedMode = function(){ | |
return result; | |
} | |
; | |
return result; | |
} | |
function maybeStartModule(){ | |
if (gwtOnLoad_0 && bodyDone) { | |
gwtOnLoad_0(onLoadErrorFunc, 'actor', base, softPermutationId); | |
} | |
} | |
function computeScriptBase(){ | |
var thisScript, markerId = '__gwt_marker_actor', markerScript; | |
$doc_0.write('<script id="' + markerId + '"><\/script>'); | |
markerScript = $doc_0.getElementById(markerId); | |
thisScript = markerScript && markerScript.previousSibling; | |
while (thisScript && thisScript.tagName != 'SCRIPT') { | |
thisScript = thisScript.previousSibling; | |
} | |
function getDirectoryOfFile(path){ | |
var hashIndex = path.lastIndexOf('#'); | |
if (hashIndex == -1) { | |
hashIndex = path.length; | |
} | |
var queryIndex = path.indexOf('?'); | |
if (queryIndex == -1) { | |
queryIndex = path.length; | |
} | |
var slashIndex = path.lastIndexOf('/', Math.min(queryIndex, hashIndex)); | |
return slashIndex >= 0?path.substring(0, slashIndex + 1):''; | |
} | |
; | |
if (thisScript && thisScript.src) { | |
base = getDirectoryOfFile(thisScript.src); | |
} | |
if (base == '') { | |
var baseElements = $doc_0.getElementsByTagName('base'); | |
if (baseElements.length > 0) { | |
base = baseElements[baseElements.length - 1].href; | |
} | |
else { | |
base = getDirectoryOfFile($doc_0.location.href); | |
} | |
} | |
else if (base.match(/^\w+:\/\//)) { | |
} | |
else { | |
var img = $doc_0.createElement('img'); | |
img.src = base + 'clear.cache.gif'; | |
base = getDirectoryOfFile(img.src); | |
} | |
if (markerScript) { | |
markerScript.parentNode.removeChild(markerScript); | |
} | |
} | |
function processMetas(){ | |
var metas = document.getElementsByTagName('meta'); | |
for (var i = 0, n = metas.length; i < n; ++i) { | |
var meta = metas[i], name_0 = meta.getAttribute('name'), content_0; | |
if (name_0) { | |
if (name_0 == 'gwt:property') { | |
content_0 = meta.getAttribute('content'); | |
if (content_0) { | |
var value_0, eq = content_0.indexOf('='); | |
if (eq >= 0) { | |
name_0 = content_0.substring(0, eq); | |
value_0 = content_0.substring(eq + 1); | |
} | |
else { | |
name_0 = content_0; | |
value_0 = ''; | |
} | |
metaProps[name_0] = value_0; | |
} | |
} | |
else if (name_0 == 'gwt:onPropertyErrorFn') { | |
content_0 = meta.getAttribute('content'); | |
if (content_0) { | |
try { | |
propertyErrorFunc = eval(content_0); | |
} | |
catch (e) { | |
alert('Bad handler "' + content_0 + '" for "gwt:onPropertyErrorFn"'); | |
} | |
} | |
} | |
else if (name_0 == 'gwt:onLoadErrorFn') { | |
content_0 = meta.getAttribute('content'); | |
if (content_0) { | |
try { | |
onLoadErrorFunc = eval(content_0); | |
} | |
catch (e) { | |
alert('Bad handler "' + content_0 + '" for "gwt:onLoadErrorFn"'); | |
} | |
} | |
} | |
} | |
} | |
} | |
__gwt_isKnownPropertyValue = function(propName, propValue){ | |
return propValue in values[propName]; | |
} | |
; | |
__gwt_getMetaProperty = function(name_0){ | |
var value_0 = metaProps[name_0]; | |
return value_0 == null?null:value_0; | |
} | |
; | |
function unflattenKeylistIntoAnswers(propValArray, value_0){ | |
var answer = answers; | |
for (var i = 0, n = propValArray.length - 1; i < n; ++i) { | |
answer = answer[propValArray[i]] || (answer[propValArray[i]] = []); | |
} | |
answer[propValArray[n]] = value_0; | |
} | |
function computePropValue(propName){ | |
var value_0 = providers[propName](), allowedValuesMap = values[propName]; | |
if (value_0 in allowedValuesMap) { | |
return value_0; | |
} | |
var allowedValuesList = []; | |
for (var k in allowedValuesMap) { | |
allowedValuesList[allowedValuesMap[k]] = k; | |
} | |
if (propertyErrorFunc) { | |
propertyErrorFunc(propName, allowedValuesList, value_0); | |
} | |
throw null; | |
} | |
providers['locale'] = function(){ | |
var locale = null; | |
var rtlocale = 'en'; | |
try { | |
if (!locale) { | |
var queryParam = location.search; | |
var qpStart = queryParam.indexOf('locale='); | |
if (qpStart >= 0) { | |
var value_0 = queryParam.substring(qpStart + 7); | |
var end = queryParam.indexOf('&', qpStart); | |
if (end < 0) { | |
end = queryParam.length; | |
} | |
locale = queryParam.substring(qpStart + 7, end); | |
} | |
} | |
if (!locale) { | |
locale = __gwt_getMetaProperty('locale'); | |
} | |
if (!locale) { | |
var language = navigator.browserLanguage?navigator.browserLanguage:navigator.language; | |
if (language) { | |
var parts = language.split(/[-_]/); | |
if (parts.length > 1) { | |
parts[1] = parts[1].toUpperCase(); | |
} | |
locale = parts.join('_'); | |
} | |
} | |
if (!locale) { | |
locale = $wnd_0['__gwt_Locale']; | |
} | |
if (locale) { | |
rtlocale = locale; | |
} | |
while (locale && !__gwt_isKnownPropertyValue('locale', locale)) { | |
var lastIndex = locale.lastIndexOf('_'); | |
if (lastIndex < 0) { | |
locale = null; | |
break; | |
} | |
locale = locale.substring(0, lastIndex); | |
} | |
} | |
catch (e) { | |
alert('Unexpected exception in locale detection, using default: ' + e); | |
} | |
$wnd_0['__gwt_Locale'] = rtlocale; | |
return locale || 'en'; | |
} | |
; | |
values['locale'] = {ar:0, cn:1, 'default':2, en:3, es:4, pt:5, ru:6}; | |
providers['user.agent'] = function(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc_0.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && (docMode >= 10 && docMode < 11); | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && (docMode >= 9 && docMode < 11); | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && (docMode >= 8 && docMode < 11); | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return ''; | |
} | |
; | |
values['user.agent'] = {gecko1_8:0, ie10:1, ie8:2, ie9:3, safari:4}; | |
actor.onScriptLoad = function(gwtOnLoadFunc){ | |
actor = null; | |
gwtOnLoad_0 = gwtOnLoadFunc; | |
maybeStartModule(); | |
} | |
; | |
if (isHostedMode()) { | |
alert('Single-script hosted mode not yet implemented. See issue ' + 'http://code.google.com/p/google-web-toolkit/issues/detail?id=2079'); | |
return; | |
} | |
computeScriptBase(); | |
processMetas(); | |
try { | |
var strongName; | |
unflattenKeylistIntoAnswers(['ar', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021'); | |
unflattenKeylistIntoAnswers(['ar', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':1'); | |
unflattenKeylistIntoAnswers(['default', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':10'); | |
unflattenKeylistIntoAnswers(['default', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':11'); | |
unflattenKeylistIntoAnswers(['default', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':12'); | |
unflattenKeylistIntoAnswers(['default', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':13'); | |
unflattenKeylistIntoAnswers(['default', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':14'); | |
unflattenKeylistIntoAnswers(['en', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':15'); | |
unflattenKeylistIntoAnswers(['en', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':16'); | |
unflattenKeylistIntoAnswers(['en', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':17'); | |
unflattenKeylistIntoAnswers(['en', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':18'); | |
unflattenKeylistIntoAnswers(['en', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':19'); | |
unflattenKeylistIntoAnswers(['ar', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':2'); | |
unflattenKeylistIntoAnswers(['es', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':20'); | |
unflattenKeylistIntoAnswers(['es', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':21'); | |
unflattenKeylistIntoAnswers(['es', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':22'); | |
unflattenKeylistIntoAnswers(['es', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':23'); | |
unflattenKeylistIntoAnswers(['es', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':24'); | |
unflattenKeylistIntoAnswers(['pt', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':25'); | |
unflattenKeylistIntoAnswers(['pt', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':26'); | |
unflattenKeylistIntoAnswers(['pt', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':27'); | |
unflattenKeylistIntoAnswers(['pt', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':28'); | |
unflattenKeylistIntoAnswers(['pt', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':29'); | |
unflattenKeylistIntoAnswers(['ar', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':3'); | |
unflattenKeylistIntoAnswers(['ru', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':30'); | |
unflattenKeylistIntoAnswers(['ru', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':31'); | |
unflattenKeylistIntoAnswers(['ru', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':32'); | |
unflattenKeylistIntoAnswers(['ru', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':33'); | |
unflattenKeylistIntoAnswers(['ru', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':34'); | |
unflattenKeylistIntoAnswers(['ar', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':4'); | |
unflattenKeylistIntoAnswers(['cn', 'gecko1_8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':5'); | |
unflattenKeylistIntoAnswers(['cn', 'ie10'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':6'); | |
unflattenKeylistIntoAnswers(['cn', 'ie8'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':7'); | |
unflattenKeylistIntoAnswers(['cn', 'ie9'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':8'); | |
unflattenKeylistIntoAnswers(['cn', 'safari'], '251FF9BA5F1D3ACF497407C83AAE3021' + ':9'); | |
strongName = answers[computePropValue('locale')][computePropValue('user.agent')]; | |
var idx = strongName.indexOf(':'); | |
if (idx != -1) { | |
softPermutationId = Number(strongName.substring(idx + 1)); | |
} | |
} | |
catch (e) { | |
return; | |
} | |
var onBodyDoneTimerId; | |
function onBodyDone(){ | |
if (!bodyDone) { | |
bodyDone = true; | |
maybeStartModule(); | |
if ($doc_0.removeEventListener) { | |
$doc_0.removeEventListener('DOMContentLoaded', onBodyDone, false); | |
} | |
if (onBodyDoneTimerId) { | |
clearInterval(onBodyDoneTimerId); | |
} | |
} | |
} | |
if ($doc_0.addEventListener) { | |
$doc_0.addEventListener('DOMContentLoaded', function(){ | |
onBodyDone(); | |
} | |
, false); | |
} | |
var onBodyDoneTimerId = setInterval(function(){ | |
if (/loaded|complete/.test($doc_0.readyState)) { | |
onBodyDone(); | |
} | |
} | |
, 50); | |
} | |
actor(); | |
(function () {var $gwt_version = "2.7.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $stats = $wnd.__gwtStatsEvent ? function(a) {$wnd.__gwtStatsEvent(a)} : null;var $strongName = '251FF9BA5F1D3ACF497407C83AAE3021';var $intern_0 = {3:1, 4:1}, $intern_1 = {3:1}, $intern_2 = 4194303, $intern_3 = 1048575, $intern_4 = 4194304, $intern_5 = 17592186044416, $intern_6 = -9223372036854775808, $intern_7 = {40:1}, $intern_8 = {3:1, 19:1, 41:1}; | |
var _, initFnList_0, prototypesByTypeId_0 = {}, permutationId = -1; | |
function im_actor_core_js_providers_Assets(){ | |
switch (permutationId) { | |
case 25: | |
case 26: | |
case 27: | |
case 28: | |
case 29: | |
return new Assets_pt_InlineClientBundleGenerator; | |
case 15: | |
case 16: | |
case 17: | |
case 18: | |
case 19: | |
return new Assets_en_InlineClientBundleGenerator; | |
case 20: | |
case 21: | |
case 22: | |
case 23: | |
case 24: | |
return new Assets_es_InlineClientBundleGenerator; | |
case 5: | |
case 6: | |
case 7: | |
case 8: | |
case 9: | |
return new Assets_cn_InlineClientBundleGenerator; | |
case 30: | |
case 31: | |
case 32: | |
case 33: | |
case 34: | |
return new Assets_ru_InlineClientBundleGenerator; | |
case 10: | |
case 11: | |
case 12: | |
case 13: | |
case 14: | |
return new Assets_default_InlineClientBundleGenerator; | |
} | |
return new Assets_ar_InlineClientBundleGenerator; | |
} | |
function com_google_gwt_useragent_client_UserAgent(){ | |
switch (permutationId) { | |
case 4: | |
case 9: | |
case 14: | |
case 19: | |
case 24: | |
case 29: | |
case 34: | |
return new UserAgentImplSafari; | |
case 1: | |
case 6: | |
case 11: | |
case 16: | |
case 21: | |
case 26: | |
case 31: | |
return new UserAgentImplIe10; | |
case 3: | |
case 8: | |
case 13: | |
case 18: | |
case 23: | |
case 28: | |
case 33: | |
return new UserAgentImplIe9; | |
case 2: | |
case 7: | |
case 12: | |
case 17: | |
case 22: | |
case 27: | |
case 32: | |
return new UserAgentImplIe8; | |
} | |
return new UserAgentImplGecko1_8; | |
} | |
function com_google_gwt_user_client_impl_WindowImpl(){ | |
switch (permutationId) { | |
case 0: | |
case 5: | |
case 10: | |
case 15: | |
case 20: | |
case 25: | |
case 30: | |
return new WindowImplMozilla; | |
case 4: | |
case 9: | |
case 14: | |
case 19: | |
case 24: | |
case 29: | |
case 34: | |
return new WindowImpl; | |
} | |
return new WindowImplIE; | |
} | |
function typeMarkerFn(){ | |
} | |
function portableObjCreate(obj){ | |
function F(){ | |
} | |
; | |
F.prototype = obj || {}; | |
return new F; | |
} | |
function modernizeBrowser(){ | |
!Array.isArray && (Array.isArray = function(vArg){ | |
return Object.prototype.toString.call(vArg) === '[object Array]'; | |
} | |
); | |
} | |
function maybeGetClassLiteralFromPlaceHolder_0(entry){ | |
return entry instanceof Array?entry[0]:null; | |
} | |
function emptyMethod(){ | |
} | |
function defineClass(typeId, superTypeId, castableTypeMap){ | |
var prototypesByTypeId = prototypesByTypeId_0; | |
var createSubclassPrototype = createSubclassPrototype_0; | |
var maybeGetClassLiteralFromPlaceHolder = maybeGetClassLiteralFromPlaceHolder_0; | |
var prototype_0 = prototypesByTypeId[typeId]; | |
var clazz = maybeGetClassLiteralFromPlaceHolder(prototype_0); | |
if (prototype_0 && !clazz) { | |
_ = prototype_0; | |
} | |
else { | |
_ = prototypesByTypeId[typeId] = !superTypeId?{}:createSubclassPrototype(superTypeId); | |
_.castableTypeMap$ = castableTypeMap; | |
_.constructor = _; | |
!superTypeId && (_.typeMarker$ = typeMarkerFn); | |
} | |
for (var i_0 = 3; i_0 < arguments.length; ++i_0) { | |
arguments[i_0].prototype = _; | |
} | |
clazz && (_.___clazz$ = clazz); | |
} | |
function createSubclassPrototype_0(superTypeId){ | |
var prototypesByTypeId = prototypesByTypeId_0; | |
return portableObjCreate(prototypesByTypeId[superTypeId]); | |
} | |
function setGwtProperty(propertyName, propertyValue){ | |
typeof window === 'object' && typeof window['$gwt'] === 'object' && (window['$gwt'][propertyName] = propertyValue); | |
} | |
function registerEntry(){ | |
return entry_0; | |
} | |
function gwtOnLoad_0(errFn, modName, modBase, softPermutationId){ | |
ensureModuleInit(); | |
var initFnList = initFnList_0; | |
$moduleName = modName; | |
$moduleBase = modBase; | |
permutationId = softPermutationId; | |
function initializeModules(){ | |
for (var i_0 = 0; i_0 < initFnList.length; i_0++) { | |
initFnList[i_0](); | |
} | |
} | |
if (errFn) { | |
try { | |
$entry(initializeModules)(); | |
} | |
catch (e) { | |
errFn(modName, e); | |
} | |
} | |
else { | |
$entry(initializeModules)(); | |
} | |
} | |
function ensureModuleInit(){ | |
initFnList_0 == null && (initFnList_0 = []); | |
} | |
function addInitFunctions(){ | |
ensureModuleInit(); | |
var initFnList = initFnList_0; | |
for (var i_0 = 0; i_0 < arguments.length; i_0++) { | |
initFnList.push(arguments[i_0]); | |
} | |
} | |
function Object_0(){ | |
} | |
function equals_Ljava_lang_Object__Z__devirtual$(this$static, other){ | |
return isJavaString(this$static)?$equals(this$static, other):hasJavaObjectVirtualDispatch(this$static)?this$static.equals$(other):isJavaArray(this$static)?this$static === other:this$static === other; | |
} | |
function getClass__Ljava_lang_Class___devirtual$(this$static){ | |
return isJavaString(this$static)?Ljava_lang_String_2_classLit:hasJavaObjectVirtualDispatch(this$static)?this$static.___clazz$:isJavaArray(this$static)?this$static.___clazz$:Lcom_google_gwt_core_client_JavaScriptObject_2_classLit; | |
} | |
function hashCode__I__devirtual$(this$static){ | |
return isJavaString(this$static)?getHashCode_0(this$static):hasJavaObjectVirtualDispatch(this$static)?this$static.hashCode$():isJavaArray(this$static)?getHashCode(this$static):getHashCode(this$static); | |
} | |
defineClass(1, null, {}, Object_0); | |
_.equals$ = function equals(other){ | |
return this === other; | |
} | |
; | |
_.getClass$ = function getClass_0(){ | |
return this.___clazz$; | |
} | |
; | |
_.hashCode$ = function hashCode_0(){ | |
return getHashCode(this); | |
} | |
; | |
_.toString$ = function toString_0(){ | |
return $getName(getClass__Ljava_lang_Class___devirtual$(this)) + '@' + (hashCode__I__devirtual$(this) >>> 0).toString(16); | |
} | |
; | |
_.toString = function(){ | |
return this.toString$(); | |
} | |
; | |
stringCastMap = {3:1, 146:1, 38:1, 2:1}; | |
modernizeBrowser(); | |
function $ensureNamesAreInitialized(this$static){ | |
if (this$static.typeName != null) { | |
return; | |
} | |
initializeNames(this$static); | |
} | |
function $getName(this$static){ | |
$ensureNamesAreInitialized(this$static); | |
return this$static.typeName; | |
} | |
function Class(){ | |
++nextSequentialId; | |
this.typeName = null; | |
this.simpleName = null; | |
this.packageName = null; | |
this.compoundName = null; | |
this.canonicalName = null; | |
this.typeId = null; | |
this.arrayLiterals = null; | |
} | |
function createClassObject(packageName, compoundClassName){ | |
var clazz; | |
clazz = new Class; | |
clazz.packageName = packageName; | |
clazz.compoundName = compoundClassName; | |
return clazz; | |
} | |
function createForClass(packageName, compoundClassName, typeId, superclass){ | |
var clazz; | |
clazz = createClassObject(packageName, compoundClassName); | |
maybeSetClassLiteral(typeId, clazz); | |
clazz.superclass = superclass; | |
return clazz; | |
} | |
function createForInterface(packageName, compoundClassName){ | |
var clazz; | |
clazz = createClassObject(packageName, compoundClassName); | |
clazz.modifiers = 2; | |
return clazz; | |
} | |
function getClassLiteralForArray_0(leafClass, dimensions){ | |
var arrayLiterals = leafClass.arrayLiterals = leafClass.arrayLiterals || []; | |
return arrayLiterals[dimensions] || (arrayLiterals[dimensions] = leafClass.createClassLiteralForArray(dimensions)); | |
} | |
function getPrototypeForClass(clazz){ | |
if (clazz.isPrimitive()) { | |
return null; | |
} | |
var typeId = clazz.typeId; | |
var prototype_0 = prototypesByTypeId_0[typeId]; | |
return prototype_0; | |
} | |
function initializeNames(clazz){ | |
if (clazz.isArray_0()) { | |
var componentType = clazz.componentType; | |
componentType.isPrimitive()?(clazz.typeName = '[' + componentType.typeId):!componentType.isArray_0()?(clazz.typeName = '[L' + componentType.getName() + ';'):(clazz.typeName = '[' + componentType.getName()); | |
clazz.canonicalName = componentType.getCanonicalName() + '[]'; | |
clazz.simpleName = componentType.getSimpleName() + '[]'; | |
return; | |
} | |
var packageName = clazz.packageName; | |
var compoundName = clazz.compoundName; | |
compoundName = compoundName.split('/'); | |
clazz.typeName = join_0('.', [packageName, join_0('$', compoundName)]); | |
clazz.canonicalName = join_0('.', [packageName, join_0('.', compoundName)]); | |
clazz.simpleName = compoundName[compoundName.length - 1]; | |
} | |
function join_0(separator, strings){ | |
var i_0 = 0; | |
while (!strings[i_0] || strings[i_0] == '') { | |
i_0++; | |
} | |
var result = strings[i_0++]; | |
for (; i_0 < strings.length; i_0++) { | |
if (!strings[i_0] || strings[i_0] == '') { | |
continue; | |
} | |
result += separator + strings[i_0]; | |
} | |
return result; | |
} | |
function maybeSetClassLiteral(typeId, clazz){ | |
var proto; | |
if (!typeId) { | |
return; | |
} | |
clazz.typeId = typeId; | |
var prototype_0 = getPrototypeForClass(clazz); | |
if (!prototype_0) { | |
prototypesByTypeId_0[typeId] = [clazz]; | |
return; | |
} | |
prototype_0.___clazz$ = clazz; | |
} | |
defineClass(42, 1, {}, Class); | |
_.createClassLiteralForArray = function createClassLiteralForArray(dimensions){ | |
var clazz; | |
clazz = new Class; | |
clazz.modifiers = 4; | |
clazz.superclass = Ljava_lang_Object_2_classLit; | |
dimensions > 1?(clazz.componentType = getClassLiteralForArray_0(this, dimensions - 1)):(clazz.componentType = this); | |
return clazz; | |
} | |
; | |
_.getCanonicalName = function getCanonicalName(){ | |
$ensureNamesAreInitialized(this); | |
return this.canonicalName; | |
} | |
; | |
_.getName = function getName(){ | |
return $getName(this); | |
} | |
; | |
_.getSimpleName = function getSimpleName(){ | |
$ensureNamesAreInitialized(this); | |
return this.simpleName; | |
} | |
; | |
_.isArray_0 = function isArray(){ | |
return (this.modifiers & 4) != 0; | |
} | |
; | |
_.isPrimitive = function isPrimitive_0(){ | |
return (this.modifiers & 1) != 0; | |
} | |
; | |
_.toString$ = function toString_4(){ | |
return ((this.modifiers & 2) != 0?'interface ':(this.modifiers & 1) != 0?'':'class ') + ($ensureNamesAreInitialized(this) , this.typeName); | |
} | |
; | |
_.modifiers = 0; | |
var nextSequentialId = 1; | |
var Ljava_lang_Object_2_classLit = createForClass('java.lang', 'Object', 1, null), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptObject$', 0, Ljava_lang_Object_2_classLit), Ljava_lang_Class_2_classLit = createForClass('java.lang', 'Class', 42, Ljava_lang_Object_2_classLit); | |
function Duration(){ | |
this.start_0 = now_1(); | |
} | |
defineClass(111, 1, {}, Duration); | |
_.start_0 = 0; | |
var Lcom_google_gwt_core_client_Duration_2_classLit = createForClass('com.google.gwt.core.client', 'Duration', 111, Ljava_lang_Object_2_classLit); | |
function isScript(){ | |
return true; | |
} | |
function setUncaughtExceptionHandler(handler){ | |
uncaughtExceptionHandler = handler; | |
} | |
var uncaughtExceptionHandler = null; | |
function $fillInStackTrace(this$static){ | |
this$static.stackTrace = null; | |
captureStackTrace(this$static, this$static.detailMessage); | |
return this$static; | |
} | |
function $printStackTrace(this$static, out){ | |
var element, element$array, element$index, element$max, t, stackTrace; | |
for (t = this$static; t; t = t.cause) { | |
t != this$static && $append(out.builder, 'Caused by: '); | |
$append(out.builder, '' + t); | |
$append(out.builder, '\n'); | |
for (element$array = (t.stackTrace == null && (t.stackTrace = ($clinit_StackTraceCreator() , stackTrace = collector.getStackTrace(t) , dropInternalFrames(stackTrace))) , t.stackTrace) , element$index = 0 , element$max = element$array.length; element$index < element$max; ++element$index) { | |
element = element$array[element$index]; | |
$append(out.builder, '\tat ' + element); | |
$append(out.builder, '\n'); | |
} | |
} | |
} | |
defineClass(4, 1, $intern_0); | |
_.getMessage = function getMessage(){ | |
return this.detailMessage; | |
} | |
; | |
_.toString$ = function toString_1(){ | |
var className, msg; | |
className = $getName(this.___clazz$); | |
msg = this.getMessage(); | |
return msg != null?className + ': ' + msg:className; | |
} | |
; | |
var Ljava_lang_Throwable_2_classLit = createForClass('java.lang', 'Throwable', 4, Ljava_lang_Object_2_classLit); | |
defineClass(23, 4, $intern_0); | |
var Ljava_lang_Exception_2_classLit = createForClass('java.lang', 'Exception', 23, Ljava_lang_Throwable_2_classLit); | |
function RuntimeException(){ | |
$fillInStackTrace(this); | |
} | |
function RuntimeException_0(message){ | |
this.detailMessage = message; | |
$fillInStackTrace(this); | |
} | |
defineClass(6, 23, $intern_0, RuntimeException_0); | |
var Ljava_lang_RuntimeException_2_classLit = createForClass('java.lang', 'RuntimeException', 6, Ljava_lang_Exception_2_classLit); | |
defineClass(56, 6, $intern_0); | |
var Lcom_google_gwt_core_client_impl_JavaScriptExceptionBase_2_classLit = createForClass('com.google.gwt.core.client.impl', 'JavaScriptExceptionBase', 56, Ljava_lang_RuntimeException_2_classLit); | |
function $clinit_JavaScriptException(){ | |
$clinit_JavaScriptException = emptyMethod; | |
NOT_SET = new Object_0; | |
} | |
function $ensureInit(this$static){ | |
var exception; | |
if (this$static.message_0 == null) { | |
exception = maskUndefined(this$static.e) === maskUndefined(NOT_SET)?null:this$static.e; | |
this$static.name_0 = exception == null?'null':instanceOfJso(exception)?exception == null?null:exception.name:isJavaString(exception)?'String':$getName(getClass__Ljava_lang_Class___devirtual$(exception)); | |
this$static.description = this$static.description + ': ' + (instanceOfJso(exception)?exception == null?null:exception.message:exception + ''); | |
this$static.message_0 = '(' + this$static.name_0 + ') ' + this$static.description; | |
} | |
} | |
function JavaScriptException(e){ | |
$clinit_JavaScriptException(); | |
this.cause = null; | |
this.detailMessage = null; | |
this.description = ''; | |
this.e = e; | |
this.description = ''; | |
} | |
defineClass(10, 56, {10:1, 3:1, 4:1}, JavaScriptException); | |
_.getMessage = function getMessage_0(){ | |
$ensureInit(this); | |
return this.message_0; | |
} | |
; | |
_.getThrown = function getThrown(){ | |
return maskUndefined(this.e) === maskUndefined(NOT_SET)?null:this.e; | |
} | |
; | |
var NOT_SET; | |
var Lcom_google_gwt_core_client_JavaScriptException_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptException', 10, Lcom_google_gwt_core_client_impl_JavaScriptExceptionBase_2_classLit); | |
function $push(this$static, value_0){ | |
this$static[this$static.length] = value_0; | |
} | |
function create(milliseconds){ | |
return new Date(milliseconds); | |
} | |
function now_1(){ | |
if (Date.now) { | |
return Date.now(); | |
} | |
return (new Date).getTime(); | |
} | |
defineClass(121, 1, {}); | |
var Lcom_google_gwt_core_client_Scheduler_2_classLit = createForClass('com.google.gwt.core.client', 'Scheduler', 121, Ljava_lang_Object_2_classLit); | |
function apply_0(jsFunction, thisObj, args){ | |
return jsFunction.apply(thisObj, args); | |
var __0; | |
} | |
function enter(){ | |
var now_0; | |
if (entryDepth != 0) { | |
now_0 = now_1(); | |
if (now_0 - watchdogEntryDepthLastScheduled > 2000) { | |
watchdogEntryDepthLastScheduled = now_0; | |
watchdogEntryDepthTimerId = $wnd.setTimeout(watchdogEntryDepthRun, 10); | |
} | |
} | |
if (entryDepth++ == 0) { | |
$flushEntryCommands(($clinit_SchedulerImpl() , INSTANCE)); | |
return true; | |
} | |
return false; | |
} | |
function entry_0(jsFunction){ | |
return function(){ | |
if (isScript()) { | |
return entry0(jsFunction, this, arguments); | |
} | |
else { | |
var __0 = entry0(jsFunction, this, arguments); | |
__0 != null && (__0 = __0.val); | |
return __0; | |
} | |
} | |
; | |
} | |
function entry0(jsFunction, thisObj, args){ | |
var initialEntry, t; | |
initialEntry = enter(); | |
try { | |
if (uncaughtExceptionHandler) { | |
try { | |
return apply_0(jsFunction, thisObj, args); | |
} | |
catch ($e0) { | |
$e0 = wrap($e0); | |
if (instanceOf($e0, 4)) { | |
t = $e0; | |
reportUncaughtException(t); | |
return undefined; | |
} | |
else | |
throw unwrap($e0); | |
} | |
} | |
else { | |
return apply_0(jsFunction, thisObj, args); | |
} | |
} | |
finally { | |
exit(initialEntry); | |
} | |
} | |
function exit(initialEntry){ | |
initialEntry && $flushFinallyCommands(($clinit_SchedulerImpl() , INSTANCE)); | |
--entryDepth; | |
if (initialEntry) { | |
if (watchdogEntryDepthTimerId != -1) { | |
watchdogEntryDepthCancel(watchdogEntryDepthTimerId); | |
watchdogEntryDepthTimerId = -1; | |
} | |
} | |
} | |
function getHashCode(o){ | |
return o.$H || (o.$H = ++sNextHashId); | |
} | |
function reportToBrowser(e){ | |
$wnd.setTimeout(function(){ | |
throw e; | |
} | |
, 0); | |
} | |
function reportUncaughtException(e){ | |
var handler; | |
handler = uncaughtExceptionHandler; | |
if (handler) { | |
if (handler == uncaughtExceptionHandlerForTest) { | |
return; | |
} | |
$log_1(handler.val$log2, ($clinit_Level() , e.getMessage()), e); | |
return; | |
} | |
reportToBrowser(instanceOf(e, 10)?e.getThrown():e); | |
} | |
function watchdogEntryDepthCancel(timerId){ | |
$wnd.clearTimeout(timerId); | |
} | |
function watchdogEntryDepthRun(){ | |
entryDepth != 0 && (entryDepth = 0); | |
watchdogEntryDepthTimerId = -1; | |
} | |
var entryDepth = 0, sNextHashId = 0, uncaughtExceptionHandlerForTest, watchdogEntryDepthLastScheduled = 0, watchdogEntryDepthTimerId = -1; | |
function $clinit_SchedulerImpl(){ | |
$clinit_SchedulerImpl = emptyMethod; | |
INSTANCE = new SchedulerImpl; | |
} | |
function $flushEntryCommands(this$static){ | |
var oldQueue, rescheduled; | |
if (this$static.entryCommands) { | |
rescheduled = null; | |
do { | |
oldQueue = this$static.entryCommands; | |
this$static.entryCommands = null; | |
rescheduled = runScheduledTasks(oldQueue, rescheduled); | |
} | |
while (this$static.entryCommands); | |
this$static.entryCommands = rescheduled; | |
} | |
} | |
function $flushFinallyCommands(this$static){ | |
var oldQueue, rescheduled; | |
if (this$static.finallyCommands) { | |
rescheduled = null; | |
do { | |
oldQueue = this$static.finallyCommands; | |
this$static.finallyCommands = null; | |
rescheduled = runScheduledTasks(oldQueue, rescheduled); | |
} | |
while (this$static.finallyCommands); | |
this$static.finallyCommands = rescheduled; | |
} | |
} | |
function $flushPostEventPumpCommands(this$static){ | |
var oldDeferred; | |
if (this$static.deferredCommands) { | |
oldDeferred = this$static.deferredCommands; | |
this$static.deferredCommands = null; | |
!this$static.incrementalCommands && (this$static.incrementalCommands = []); | |
runScheduledTasks(oldDeferred, this$static.incrementalCommands); | |
} | |
!!this$static.incrementalCommands && (this$static.incrementalCommands = $runRepeatingTasks(this$static.incrementalCommands)); | |
} | |
function $isWorkQueued(this$static){ | |
return !!this$static.deferredCommands || !!this$static.incrementalCommands; | |
} | |
function $maybeSchedulePostEventPumpCommands(this$static){ | |
if (!this$static.shouldBeRunning) { | |
this$static.shouldBeRunning = true; | |
!this$static.flusher && (this$static.flusher = new SchedulerImpl$Flusher(this$static)); | |
scheduleFixedDelayImpl(this$static.flusher, 1); | |
!this$static.rescue && (this$static.rescue = new SchedulerImpl$Rescuer(this$static)); | |
scheduleFixedDelayImpl(this$static.rescue, 50); | |
} | |
} | |
function $runRepeatingTasks(tasks){ | |
var canceledSomeTasks, duration, executedSomeTask, i_0, length_0, newTasks, t; | |
length_0 = tasks.length; | |
if (length_0 == 0) { | |
return null; | |
} | |
canceledSomeTasks = false; | |
duration = new Duration; | |
while (now_1() - duration.start_0 < 16) { | |
executedSomeTask = false; | |
for (i_0 = 0; i_0 < length_0; i_0++) { | |
t = tasks[i_0]; | |
if (!t) { | |
continue; | |
} | |
executedSomeTask = true; | |
if (!t[0].execute()) { | |
tasks[i_0] = null; | |
canceledSomeTasks = true; | |
} | |
} | |
if (!executedSomeTask) { | |
break; | |
} | |
} | |
if (canceledSomeTasks) { | |
newTasks = []; | |
for (i_0 = 0; i_0 < length_0; i_0++) { | |
!!tasks[i_0] && $push(newTasks, tasks[i_0]); | |
} | |
return newTasks.length == 0?null:newTasks; | |
} | |
else { | |
return tasks; | |
} | |
} | |
function $scheduleDeferred(this$static, cmd){ | |
this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, false]); | |
$maybeSchedulePostEventPumpCommands(this$static); | |
} | |
function SchedulerImpl(){ | |
} | |
function execute(cmd){ | |
return cmd.execute(); | |
} | |
function push_0(queue, task){ | |
!queue && (queue = []); | |
$push(queue, task); | |
return queue; | |
} | |
function runScheduledTasks(tasks, rescheduled){ | |
var e, i_0, j, t; | |
for (i_0 = 0 , j = tasks.length; i_0 < j; i_0++) { | |
t = tasks[i_0]; | |
try { | |
t[1]?t[0].execute() && (rescheduled = push_0(rescheduled, t)):($wnd.jsAppLoaded && $wnd.jsAppLoaded() , undefined); | |
} | |
catch ($e0) { | |
$e0 = wrap($e0); | |
if (instanceOf($e0, 4)) { | |
e = $e0; | |
reportUncaughtException(e); | |
} | |
else | |
throw unwrap($e0); | |
} | |
} | |
return rescheduled; | |
} | |
function scheduleFixedDelayImpl(cmd, delayMs){ | |
$clinit_SchedulerImpl(); | |
function callback(){ | |
var ret = $entry(execute)(cmd); | |
!isScript() && (ret = ret == true); | |
ret && $wnd.setTimeout(callback, delayMs); | |
} | |
$wnd.setTimeout(callback, delayMs); | |
} | |
defineClass(87, 121, {}, SchedulerImpl); | |
_.flushRunning = false; | |
_.shouldBeRunning = false; | |
var INSTANCE; | |
var Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl', 87, Lcom_google_gwt_core_client_Scheduler_2_classLit); | |
function SchedulerImpl$Flusher(this$0){ | |
this.this$01 = this$0; | |
} | |
defineClass(88, 1, {}, SchedulerImpl$Flusher); | |
_.execute = function execute_0(){ | |
this.this$01.flushRunning = true; | |
$flushPostEventPumpCommands(this.this$01); | |
this.this$01.flushRunning = false; | |
return this.this$01.shouldBeRunning = $isWorkQueued(this.this$01); | |
} | |
; | |
var Lcom_google_gwt_core_client_impl_SchedulerImpl$Flusher_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Flusher', 88, Ljava_lang_Object_2_classLit); | |
function SchedulerImpl$Rescuer(this$0){ | |
this.this$01 = this$0; | |
} | |
defineClass(89, 1, {}, SchedulerImpl$Rescuer); | |
_.execute = function execute_1(){ | |
this.this$01.flushRunning && scheduleFixedDelayImpl(this.this$01.flusher, 1); | |
return this.this$01.shouldBeRunning; | |
} | |
; | |
var Lcom_google_gwt_core_client_impl_SchedulerImpl$Rescuer_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Rescuer', 89, Ljava_lang_Object_2_classLit); | |
function $clinit_StackTraceCreator(){ | |
$clinit_StackTraceCreator = emptyMethod; | |
var c, enforceLegacy; | |
enforceLegacy = !(!!Error.stackTraceLimit || 'stack' in new Error); | |
c = new StackTraceCreator$CollectorModernNoSourceMap; | |
collector = enforceLegacy?new StackTraceCreator$CollectorLegacy:c; | |
} | |
function captureStackTrace(throwable, reference){ | |
$clinit_StackTraceCreator(); | |
collector.collect(throwable, reference); | |
} | |
function dropInternalFrames(stackTrace){ | |
var dropFrameUntilFnName, i_0, numberOfFrameToSearch; | |
dropFrameUntilFnName = 'captureStackTrace'; | |
numberOfFrameToSearch = min_0(stackTrace.length); | |
for (i_0 = 0; i_0 < numberOfFrameToSearch; i_0++) { | |
if ($equals(stackTrace[i_0].methodName, dropFrameUntilFnName)) { | |
return stackTrace.length >= i_0 + 1 && stackTrace.splice(0, i_0 + 1) , stackTrace; | |
} | |
} | |
return stackTrace; | |
} | |
function extractFunctionName(fnName){ | |
var fnRE = /function(?:\s+([\w$]+))?\s*\(/; | |
var match_0 = fnRE.exec(fnName); | |
return match_0 && match_0[1] || 'anonymous'; | |
} | |
function parseInt_0(number){ | |
$clinit_StackTraceCreator(); | |
return parseInt(number) || -1; | |
} | |
var collector; | |
defineClass(132, 1, {}); | |
var Lcom_google_gwt_core_client_impl_StackTraceCreator$Collector_2_classLit = createForClass('com.google.gwt.core.client.impl', 'StackTraceCreator/Collector', 132, Ljava_lang_Object_2_classLit); | |
function StackTraceCreator$CollectorLegacy(){ | |
} | |
defineClass(57, 132, {}, StackTraceCreator$CollectorLegacy); | |
_.collect = function collect(t, thrownIgnored){ | |
var seen = {}, name_1; | |
t.fnStack = []; | |
var callee = arguments.callee.caller; | |
while (callee) { | |
var name_0 = ($clinit_StackTraceCreator() , callee.name || (callee.name = extractFunctionName(callee.toString()))); | |
t.fnStack.push(name_0); | |
var keyName = ':' + name_0; | |
var withThisName = seen[keyName]; | |
if (withThisName) { | |
var i_0, j; | |
for (i_0 = 0 , j = withThisName.length; i_0 < j; i_0++) { | |
if (withThisName[i_0] === callee) { | |
return; | |
} | |
} | |
} | |
(withThisName || (seen[keyName] = [])).push(callee); | |
callee = callee.caller; | |
} | |
} | |
; | |
_.getStackTrace = function getStackTrace(t){ | |
var i_0, length_0, stack_0, stackTrace; | |
stack_0 = ($clinit_StackTraceCreator() , t && t.fnStack && t.fnStack instanceof Array?t.fnStack:[]); | |
length_0 = stack_0.length; | |
stackTrace = initDim(Ljava_lang_StackTraceElement_2_classLit, $intern_1, 8, length_0, 0, 1); | |
for (i_0 = 0; i_0 < length_0; i_0++) { | |
stackTrace[i_0] = new StackTraceElement(stack_0[i_0], null, -1); | |
} | |
return stackTrace; | |
} | |
; | |
var Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorLegacy_2_classLit = createForClass('com.google.gwt.core.client.impl', 'StackTraceCreator/CollectorLegacy', 57, Lcom_google_gwt_core_client_impl_StackTraceCreator$Collector_2_classLit); | |
function $clinit_StackTraceCreator$CollectorModern(){ | |
$clinit_StackTraceCreator$CollectorModern = emptyMethod; | |
Error.stackTraceLimit = 64; | |
} | |
function $parse(this$static, stString){ | |
var closeParen, col, endFileUrlIndex, fileName, index_0, lastColonIndex, line, location_0, toReturn; | |
if (!stString.length) { | |
return this$static.createSte('Unknown', 'anonymous', -1, -1); | |
} | |
toReturn = $trim(stString); | |
$equals(toReturn.substr(0, 3), 'at ') && (toReturn = __substr(toReturn, 3, toReturn.length - 3)); | |
toReturn = toReturn.replace(/\[.*?\]/g, ''); | |
index_0 = toReturn.indexOf('('); | |
if (index_0 == -1) { | |
index_0 = toReturn.indexOf('@'); | |
if (index_0 == -1) { | |
location_0 = toReturn; | |
toReturn = ''; | |
} | |
else { | |
location_0 = $trim(__substr(toReturn, index_0 + 1, toReturn.length - (index_0 + 1))); | |
toReturn = $trim(toReturn.substr(0, index_0)); | |
} | |
} | |
else { | |
closeParen = toReturn.indexOf(')', index_0); | |
location_0 = toReturn.substr(index_0 + 1, closeParen - (index_0 + 1)); | |
toReturn = $trim(toReturn.substr(0, index_0)); | |
} | |
index_0 = $indexOf(toReturn, fromCodePoint(46)); | |
index_0 != -1 && (toReturn = __substr(toReturn, index_0 + 1, toReturn.length - (index_0 + 1))); | |
(!toReturn.length || $equals(toReturn, 'Anonymous function')) && (toReturn = 'anonymous'); | |
lastColonIndex = $lastIndexOf(location_0, fromCodePoint(58)); | |
endFileUrlIndex = $lastIndexOf_0(location_0, fromCodePoint(58), lastColonIndex - 1); | |
line = -1; | |
col = -1; | |
fileName = 'Unknown'; | |
if (lastColonIndex != -1 && endFileUrlIndex != -1) { | |
fileName = location_0.substr(0, endFileUrlIndex); | |
line = parseInt_0(location_0.substr(endFileUrlIndex + 1, lastColonIndex - (endFileUrlIndex + 1))); | |
col = parseInt_0(__substr(location_0, lastColonIndex + 1, location_0.length - (lastColonIndex + 1))); | |
} | |
return this$static.createSte(fileName, toReturn, line, col); | |
} | |
defineClass(133, 132, {}); | |
_.collect = function collect_0(t, jsThrown){ | |
function fixIE(e){ | |
if (!('stack' in e)) { | |
try { | |
throw e; | |
} | |
catch (ignored) { | |
} | |
} | |
return e; | |
} | |
var backingJsError; | |
typeof jsThrown == 'string'?(backingJsError = fixIE(new Error(jsThrown))):jsThrown instanceof Object && 'stack' in jsThrown?(backingJsError = jsThrown):(backingJsError = fixIE(new Error)); | |
t.__gwt$backingJsError = backingJsError; | |
} | |
; | |
_.createSte = function createSte(fileName, method, line, col){ | |
return new StackTraceElement(method, fileName + '@' + col, line < 0?-1:line); | |
} | |
; | |
_.getStackTrace = function getStackTrace_0(t){ | |
var addIndex, i_0, length_0, stack_0, stackTrace, ste, e; | |
stack_0 = ($clinit_StackTraceCreator() , e = t.__gwt$backingJsError , e && e.stack?e.stack.split('\n'):[]); | |
stackTrace = initDim(Ljava_lang_StackTraceElement_2_classLit, $intern_1, 8, 0, 0, 1); | |
addIndex = 0; | |
length_0 = stack_0.length; | |
if (length_0 == 0) { | |
return stackTrace; | |
} | |
ste = $parse(this, stack_0[0]); | |
$equals(ste.methodName, 'anonymous') || (stackTrace[addIndex++] = ste); | |
for (i_0 = 1; i_0 < length_0; i_0++) { | |
stackTrace[addIndex++] = $parse(this, stack_0[i_0]); | |
} | |
return stackTrace; | |
} | |
; | |
var Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorModern_2_classLit = createForClass('com.google.gwt.core.client.impl', 'StackTraceCreator/CollectorModern', 133, Lcom_google_gwt_core_client_impl_StackTraceCreator$Collector_2_classLit); | |
function StackTraceCreator$CollectorModernNoSourceMap(){ | |
$clinit_StackTraceCreator$CollectorModern(); | |
} | |
defineClass(58, 133, {}, StackTraceCreator$CollectorModernNoSourceMap); | |
_.createSte = function createSte_0(fileName, method, line, col){ | |
return new StackTraceElement(method, fileName, -1); | |
} | |
; | |
var Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorModernNoSourceMap_2_classLit = createForClass('com.google.gwt.core.client.impl', 'StackTraceCreator/CollectorModernNoSourceMap', 58, Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorModern_2_classLit); | |
function checkCriticalElement(expression){ | |
if (!expression) { | |
throw new NoSuchElementException; | |
} | |
} | |
function checkElementIndex(index_0, size_0){ | |
if (index_0 < 0 || index_0 >= size_0) { | |
throw new IndexOutOfBoundsException('Index: ' + index_0 + ', Size: ' + size_0); | |
} | |
} | |
function checkNotNull(reference){ | |
if (!reference) { | |
throw new NullPointerException; | |
} | |
return reference; | |
} | |
function checkPositionIndex(index_0, size_0){ | |
if (index_0 < 0 || index_0 > size_0) { | |
throw new IndexOutOfBoundsException('Index: ' + index_0 + ', Size: ' + size_0); | |
} | |
} | |
function throwIfNull(value_0){ | |
if (null == value_0) { | |
throw new NullPointerException_0('encodedURLComponent cannot be null'); | |
} | |
} | |
function getClassLiteralForArray(clazz, dimensions){ | |
return getClassLiteralForArray_0(clazz, dimensions); | |
} | |
function initDim(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions){ | |
var result; | |
result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0); | |
initValues(getClassLiteralForArray(leafClassLiteral, dimensions), castableTypeMap, elementTypeId, elementTypeCategory, result); | |
return result; | |
} | |
function initValues(arrayClass, castableTypeMap, elementTypeId, elementTypeCategory, array){ | |
array.___clazz$ = arrayClass; | |
array.castableTypeMap$ = castableTypeMap; | |
array.typeMarker$ = typeMarkerFn; | |
array.__elementTypeId$ = elementTypeId; | |
array.__elementTypeCategory$ = elementTypeCategory; | |
return array; | |
} | |
function initializeArrayElementsWithDefaults(elementTypeCategory, length_0){ | |
var array = new Array(length_0); | |
var initValue; | |
switch (elementTypeCategory) { | |
case 6: | |
initValue = {l:0, m:0, h:0}; | |
break; | |
case 7: | |
initValue = 0; | |
break; | |
case 8: | |
initValue = false; | |
break; | |
default:return array; | |
} | |
for (var i_0 = 0; i_0 < length_0; ++i_0) { | |
array[i_0] = initValue; | |
} | |
return array; | |
} | |
function hasJavaObjectVirtualDispatch(src_0){ | |
return !instanceofArray(src_0) && hasTypeMarker(src_0); | |
} | |
function instanceOf(src_0, dstId){ | |
return src_0 != null && (isJavaString(src_0) && !!stringCastMap[dstId] || src_0.castableTypeMap$ && !!src_0.castableTypeMap$[dstId]); | |
} | |
function instanceOfJso(src_0){ | |
return src_0 != null && !isJavaString(src_0) && !hasTypeMarker(src_0); | |
} | |
function instanceofArray(src_0){ | |
return Array.isArray(src_0); | |
} | |
function isJavaArray(src_0){ | |
return instanceofArray(src_0) && hasTypeMarker(src_0); | |
} | |
function isJavaString(src_0){ | |
return typeof src_0 === 'string'; | |
} | |
function maskUndefined(src_0){ | |
return src_0 == null?null:src_0; | |
} | |
function round_int(x_0){ | |
return ~~Math.max(Math.min(x_0, 2147483647), -2147483648); | |
} | |
var stringCastMap; | |
function cacheJavaScriptException(e, jse){ | |
if (e && typeof e == 'object') { | |
try { | |
e.__gwt$exception = jse; | |
} | |
catch (ignored) { | |
} | |
} | |
} | |
function unwrap(e){ | |
var jse; | |
if (instanceOf(e, 10)) { | |
jse = e; | |
if (maskUndefined(jse.e) !== maskUndefined(($clinit_JavaScriptException() , NOT_SET))) { | |
return maskUndefined(jse.e) === maskUndefined(NOT_SET)?null:jse.e; | |
} | |
} | |
return e; | |
} | |
function wrap(e){ | |
var jse; | |
if (instanceOf(e, 4)) { | |
return e; | |
} | |
jse = e && e.__gwt$exception; | |
if (!jse) { | |
jse = new JavaScriptException(e); | |
captureStackTrace(jse, e); | |
cacheJavaScriptException(e, jse); | |
} | |
return jse; | |
} | |
function create_0(value_0){ | |
var a0, a1, a2; | |
a0 = value_0 & $intern_2; | |
a1 = value_0 >> 22 & $intern_2; | |
a2 = value_0 < 0?$intern_3:0; | |
return create0(a0, a1, a2); | |
} | |
function create0(l, m, h){ | |
return {l:l, m:m, h:h}; | |
} | |
function toDoubleHelper(a){ | |
return a.l + a.m * $intern_4 + a.h * $intern_5; | |
} | |
function eq(a, b){ | |
return a.l == b.l && a.m == b.m && a.h == b.h; | |
} | |
function fromDouble(value_0){ | |
var a0, a1, a2, negative, result, neg0, neg1, neg2; | |
if (isNaN(value_0)) { | |
return $clinit_LongLib$Const() , ZERO; | |
} | |
if (value_0 < $intern_6) { | |
return $clinit_LongLib$Const() , MIN_VALUE; | |
} | |
if (value_0 >= 9223372036854775807) { | |
return $clinit_LongLib$Const() , MAX_VALUE; | |
} | |
negative = false; | |
if (value_0 < 0) { | |
negative = true; | |
value_0 = -value_0; | |
} | |
a2 = 0; | |
if (value_0 >= $intern_5) { | |
a2 = round_int(value_0 / $intern_5); | |
value_0 -= a2 * $intern_5; | |
} | |
a1 = 0; | |
if (value_0 >= $intern_4) { | |
a1 = round_int(value_0 / $intern_4); | |
value_0 -= a1 * $intern_4; | |
} | |
a0 = round_int(value_0); | |
result = create0(a0, a1, a2); | |
negative && (neg0 = ~result.l + 1 & $intern_2 , neg1 = ~result.m + (neg0 == 0?1:0) & $intern_2 , neg2 = ~result.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_3 , result.l = neg0 , result.m = neg1 , result.h = neg2 , undefined); | |
return result; | |
} | |
function fromInt(value_0){ | |
var rebase, result; | |
if (value_0 > -129 && value_0 < 128) { | |
rebase = value_0 + 128; | |
boxedValues == null && (boxedValues = initDim(Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit, $intern_1, 151, 256, 0, 1)); | |
result = boxedValues[rebase]; | |
!result && (result = boxedValues[rebase] = create_0(value_0)); | |
return result; | |
} | |
return create_0(value_0); | |
} | |
function gte(a, b){ | |
var signa, signb; | |
signa = a.h >> 19; | |
signb = b.h >> 19; | |
return signa == 0?signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l >= b.l:!(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l < b.l); | |
} | |
function shru(a, n){ | |
var a2, res0, res1, res2; | |
n &= 63; | |
a2 = a.h & $intern_3; | |
if (n < 22) { | |
res2 = a2 >>> n; | |
res1 = a.m >> n | a2 << 22 - n; | |
res0 = a.l >> n | a.m << 22 - n; | |
} | |
else if (n < 44) { | |
res2 = 0; | |
res1 = a2 >>> n - 22; | |
res0 = a.m >> n - 22 | a.h << 44 - n; | |
} | |
else { | |
res2 = 0; | |
res1 = 0; | |
res0 = a2 >>> n - 44; | |
} | |
return {l:res0 & $intern_2, m:res1 & $intern_2, h:res2 & $intern_3}; | |
} | |
function toDouble(a){ | |
var neg0, neg1, neg2; | |
if (eq(a, ($clinit_LongLib$Const() , MIN_VALUE))) { | |
return $intern_6; | |
} | |
if (!gte(a, ZERO)) { | |
return -toDoubleHelper((neg0 = ~a.l + 1 & $intern_2 , neg1 = ~a.m + (neg0 == 0?1:0) & $intern_2 , neg2 = ~a.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_3 , create0(neg0, neg1, neg2))); | |
} | |
return a.l + a.m * $intern_4 + a.h * $intern_5; | |
} | |
function toInt(a){ | |
return a.l | a.m << 22; | |
} | |
function xor(a, b){ | |
return {l:a.l ^ b.l, m:a.m ^ b.m, h:a.h ^ b.h}; | |
} | |
var boxedValues; | |
function $clinit_LongLib$Const(){ | |
$clinit_LongLib$Const = emptyMethod; | |
MAX_VALUE = create0($intern_2, $intern_2, 524287); | |
MIN_VALUE = create0(0, 0, 524288); | |
fromInt(1); | |
fromInt(2); | |
ZERO = fromInt(0); | |
} | |
var MAX_VALUE, MIN_VALUE, ZERO; | |
function hasTypeMarker(o){ | |
return o.typeMarker$ === typeMarkerFn; | |
} | |
function init(){ | |
$clinit_ExporterUtil(); | |
new ExportAllExporterImpl; | |
registerBundle(($clinit_Assets() , INSTANCE_0)); | |
registerEntity('Contact', ($clinit_JsContact() , CONVERTER)); | |
registerEntity('Dialog', ($clinit_JsDialog() , CONVERTER_0)); | |
registerEntity('Message', ($clinit_JsMessage() , CONVERTER_1)); | |
registerEntity('Search', ($clinit_JsSearchEntity() , CONVERTER_2)); | |
$scheduleDeferred(($clinit_SchedulerImpl() , INSTANCE), new GwtEntryPoint$1); | |
$wnd.setTimeout($entry(assertCompileTimeUserAgent)); | |
$onModuleLoad_0(); | |
$onModuleLoad($clinit_LogConfiguration()); | |
} | |
function $getLevel(this$static){ | |
if (this$static.level) { | |
return this$static.level; | |
} | |
return $clinit_Level() , ALL; | |
} | |
function $setFormatter(this$static, newFormatter){ | |
this$static.formatter = newFormatter; | |
} | |
function $setLevel(this$static, newLevel){ | |
this$static.level = newLevel; | |
} | |
defineClass(17, 1, {17:1}); | |
var Ljava_util_logging_Handler_2_classLit = createForClass('java.util.logging', 'Handler', 17, Ljava_lang_Object_2_classLit); | |
function ConsoleLogHandler(){ | |
$setFormatter(this, new TextLogFormatter(true)); | |
$setLevel(this, ($clinit_Level() , ALL)); | |
} | |
defineClass(112, 17, {17:1}, ConsoleLogHandler); | |
_.publish = function publish(record){ | |
var msg; | |
if (!window.console || ($getLevel(this) , false)) { | |
return; | |
} | |
msg = $format(this.formatter, record); | |
$clinit_Level(); | |
window.console.error(msg); | |
} | |
; | |
var Lcom_google_gwt_logging_client_ConsoleLogHandler_2_classLit = createForClass('com.google.gwt.logging.client', 'ConsoleLogHandler', 112, Ljava_util_logging_Handler_2_classLit); | |
function DevelopmentModeLogHandler(){ | |
$setFormatter(this, new TextLogFormatter(false)); | |
$setLevel(this, ($clinit_Level() , ALL)); | |
} | |
defineClass(113, 17, {17:1}, DevelopmentModeLogHandler); | |
_.publish = function publish_0(record){ | |
return; | |
} | |
; | |
var Lcom_google_gwt_logging_client_DevelopmentModeLogHandler_2_classLit = createForClass('com.google.gwt.logging.client', 'DevelopmentModeLogHandler', 113, Ljava_util_logging_Handler_2_classLit); | |
function $clinit_LogConfiguration(){ | |
$clinit_LogConfiguration = emptyMethod; | |
impl_0 = new LogConfiguration$LogConfigurationImplRegular; | |
} | |
function $onModuleLoad(){ | |
var log_0; | |
$configureClientSideLogging(impl_0); | |
if (!uncaughtExceptionHandler) { | |
log_0 = getLogger(($ensureNamesAreInitialized(Lcom_google_gwt_logging_client_LogConfiguration_2_classLit) , Lcom_google_gwt_logging_client_LogConfiguration_2_classLit.typeName)); | |
setUncaughtExceptionHandler(new LogConfiguration$1(log_0)); | |
} | |
} | |
var impl_0; | |
var Lcom_google_gwt_logging_client_LogConfiguration_2_classLit = createForClass('com.google.gwt.logging.client', 'LogConfiguration', null, Ljava_lang_Object_2_classLit); | |
function LogConfiguration$1(val$log){ | |
this.val$log2 = val$log; | |
} | |
defineClass(53, 1, {}, LogConfiguration$1); | |
var Lcom_google_gwt_logging_client_LogConfiguration$1_2_classLit = createForClass('com.google.gwt.logging.client', 'LogConfiguration/1', 53, Ljava_lang_Object_2_classLit); | |
function $configureClientSideLogging(this$static){ | |
this$static.root = (new LoggerImplRegular , $ensureLogger(getLogManager(), '')); | |
this$static.root.impl.useParentHandlers = false; | |
$setLevels(this$static.root); | |
$setDefaultHandlers(this$static.root); | |
} | |
function $setDefaultHandlers(l){ | |
var console_0, dev; | |
console_0 = new ConsoleLogHandler; | |
$addHandler(l.impl, console_0); | |
dev = new DevelopmentModeLogHandler; | |
$addHandler(l.impl, dev); | |
} | |
function $setLevels(l){ | |
var level, levelParam, paramsForName; | |
levelParam = (ensureListParameterMap() , paramsForName = listParamMap.get_0('logLevel') , !paramsForName?null:paramsForName.get_1(paramsForName.size_1() - 1)); | |
level = levelParam == null?null:($clinit_Level() , $parse_0(levelParam)); | |
level?$setLevel_0(l.impl, level):$setLevel_1(l, ($clinit_Level() , INFO)); | |
} | |
function LogConfiguration$LogConfigurationImplRegular(){ | |
} | |
defineClass(52, 1, {}, LogConfiguration$LogConfigurationImplRegular); | |
var Lcom_google_gwt_logging_client_LogConfiguration$LogConfigurationImplRegular_2_classLit = createForClass('com.google.gwt.logging.client', 'LogConfiguration/LogConfigurationImplRegular', 52, Ljava_lang_Object_2_classLit); | |
defineClass(144, 1, {}); | |
var Ljava_util_logging_Formatter_2_classLit = createForClass('java.util.logging', 'Formatter', 144, Ljava_lang_Object_2_classLit); | |
defineClass(145, 144, {}); | |
var Lcom_google_gwt_logging_impl_FormatterImpl_2_classLit = createForClass('com.google.gwt.logging.impl', 'FormatterImpl', 145, Ljava_util_logging_Formatter_2_classLit); | |
function $format(this$static, event_0){ | |
var message, date, s; | |
message = new StringBuilder; | |
$append(message, (date = new Date_0(event_0.millis) , s = new StringBuilder , $append(s, $toString_0(date)) , s.string += ' ' , $append(s, event_0.loggerName) , s.string += '\n' , s.string += 'SEVERE' , s.string += ': ' , s.string)); | |
$append(message, event_0.msg); | |
this$static.showStackTraces && !!event_0.thrown && $printStackTrace(event_0.thrown, new StackTracePrintStream(message)); | |
return message.string; | |
} | |
function TextLogFormatter(showStackTraces){ | |
this.showStackTraces = showStackTraces; | |
} | |
defineClass(50, 145, {}, TextLogFormatter); | |
_.showStackTraces = false; | |
var Lcom_google_gwt_logging_client_TextLogFormatter_2_classLit = createForClass('com.google.gwt.logging.client', 'TextLogFormatter', 50, Lcom_google_gwt_logging_impl_FormatterImpl_2_classLit); | |
function $parse_0(name_0){ | |
name_0 = name_0.toUpperCase(); | |
if ($equals(name_0, 'ALL')) { | |
return $clinit_Level() , ALL; | |
} | |
else if ($equals(name_0, 'CONFIG')) { | |
return $clinit_Level() , CONFIG; | |
} | |
else if ($equals(name_0, 'FINE')) { | |
return $clinit_Level() , FINE; | |
} | |
else if ($equals(name_0, 'FINER')) { | |
return $clinit_Level() , FINER; | |
} | |
else if ($equals(name_0, 'FINEST')) { | |
return $clinit_Level() , FINEST; | |
} | |
else if ($equals(name_0, 'INFO')) { | |
return $clinit_Level() , INFO; | |
} | |
else if ($equals(name_0, 'OFF')) { | |
return $clinit_Level() , OFF; | |
} | |
else if ($equals(name_0, 'SEVERE')) { | |
return $clinit_Level() , SEVERE; | |
} | |
else if ($equals(name_0, 'WARNING')) { | |
return $clinit_Level() , WARNING; | |
} | |
throw new IllegalArgumentException('Invalid level "' + name_0 + '"'); | |
} | |
function $addHandler(this$static, handler){ | |
$add(this$static.handlers, handler); | |
} | |
function $getEffectiveLevel(this$static){ | |
var effectiveLevel, logger; | |
if (this$static.level) { | |
return this$static.level; | |
} | |
logger = this$static.parent_0; | |
while (logger) { | |
effectiveLevel = logger.impl.level; | |
if (effectiveLevel) { | |
return effectiveLevel; | |
} | |
logger = logger.impl.parent_0; | |
} | |
return $clinit_Level() , INFO; | |
} | |
function $getHandlers(this$static){ | |
return $toArray(this$static.handlers, initDim(Ljava_util_logging_Handler_2_classLit, $intern_1, 17, this$static.handlers.array.length, 0, 1)); | |
} | |
function $log(this$static, msg, thrown){ | |
var record; | |
if ($getEffectiveLevel(this$static).intValue() <= 1000) { | |
record = new LogRecord(msg); | |
record.thrown = thrown; | |
$setLoggerName(record, this$static.name_0); | |
$log_0(this$static, record); | |
} | |
} | |
function $log_0(this$static, record){ | |
var handler, handler$array, handler$array0, handler$index, handler$index0, handler$max, handler$max0, logger; | |
if ($getEffectiveLevel(this$static).intValue() <= 1000) { | |
for (handler$array0 = $toArray(this$static.handlers, initDim(Ljava_util_logging_Handler_2_classLit, $intern_1, 17, this$static.handlers.array.length, 0, 1)) , handler$index0 = 0 , handler$max0 = handler$array0.length; handler$index0 < handler$max0; ++handler$index0) { | |
handler = handler$array0[handler$index0]; | |
handler.publish(record); | |
} | |
logger = this$static.useParentHandlers?this$static.parent_0:null; | |
while (logger) { | |
for (handler$array = $getHandlers(logger.impl) , handler$index = 0 , handler$max = handler$array.length; handler$index < handler$max; ++handler$index) { | |
handler = handler$array[handler$index]; | |
handler.publish(record); | |
} | |
logger = logger.impl.useParentHandlers?logger.impl.parent_0:null; | |
} | |
} | |
} | |
function $setLevel_0(this$static, newLevel){ | |
this$static.level = newLevel; | |
} | |
function $setName(this$static, newName){ | |
this$static.name_0 = newName; | |
} | |
function $setParent(this$static, newParent){ | |
!!newParent && (this$static.parent_0 = newParent); | |
} | |
function LoggerImplRegular(){ | |
this.useParentHandlers = true; | |
this.handlers = new ArrayList; | |
} | |
defineClass(30, 1, {}, LoggerImplRegular); | |
_.level = null; | |
_.useParentHandlers = false; | |
var Lcom_google_gwt_logging_impl_LoggerImplRegular_2_classLit = createForClass('com.google.gwt.logging.impl', 'LoggerImplRegular', 30, Ljava_lang_Object_2_classLit); | |
defineClass(140, 1, {}); | |
var Ljava_io_OutputStream_2_classLit = createForClass('java.io', 'OutputStream', 140, Ljava_lang_Object_2_classLit); | |
defineClass(141, 140, {}); | |
var Ljava_io_FilterOutputStream_2_classLit = createForClass('java.io', 'FilterOutputStream', 141, Ljava_io_OutputStream_2_classLit); | |
defineClass(142, 141, {}); | |
var Ljava_io_PrintStream_2_classLit = createForClass('java.io', 'PrintStream', 142, Ljava_io_FilterOutputStream_2_classLit); | |
function StackTracePrintStream(builder){ | |
this.builder = builder; | |
} | |
defineClass(115, 142, {}, StackTracePrintStream); | |
var Lcom_google_gwt_logging_impl_StackTracePrintStream_2_classLit = createForClass('com.google.gwt.logging.impl', 'StackTracePrintStream', 115, Ljava_io_PrintStream_2_classLit); | |
function $onModuleLoad_0(){ | |
var allowedModes, currentMode, i_0; | |
currentMode = $doc.compatMode; | |
allowedModes = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_1, 2, 4, ['CSS1Compat']); | |
for (i_0 = 0; i_0 < allowedModes.length; i_0++) { | |
if ($equals(allowedModes[i_0], currentMode)) { | |
return; | |
} | |
} | |
allowedModes.length == 1 && $equals('CSS1Compat', allowedModes[0]) && $equals('BackCompat', currentMode)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using <!doctype html> at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br> <extend-configuration-property name=\"document.compatMode\" value=\"" + currentMode + '"/>':"Your *.gwt.xml module configuration prohibits the use of the current document rendering mode (document.compatMode=' " + currentMode + "').<br>Modify your application's host HTML page doctype, or update your custom " + "'document.compatMode' configuration property settings."; | |
} | |
function $clinit_Window(){ | |
$clinit_Window = emptyMethod; | |
impl_1 = com_google_gwt_user_client_impl_WindowImpl(); | |
} | |
var impl_1; | |
function buildListParamMap(queryString){ | |
var entry, entry$iterator, key, kv, kvPair, kvPair$array, kvPair$index, kvPair$max, out, qs, val, values, regexp; | |
out = new HashMap; | |
if (queryString != null && queryString.length > 1) { | |
qs = __substr(queryString, 1, queryString.length - 1); | |
for (kvPair$array = $split(qs, '&', 0) , kvPair$index = 0 , kvPair$max = kvPair$array.length; kvPair$index < kvPair$max; ++kvPair$index) { | |
kvPair = kvPair$array[kvPair$index]; | |
kv = $split(kvPair, '=', 2); | |
key = kv[0]; | |
if (!key.length) { | |
continue; | |
} | |
val = kv.length > 1?kv[1]:''; | |
try { | |
val = (throwIfNull(val) , regexp = /\+/g , decodeURIComponent(val.replace(regexp, '%20'))); | |
} | |
catch ($e0) { | |
$e0 = wrap($e0); | |
if (!instanceOf($e0, 10)) | |
throw unwrap($e0); | |
} | |
values = out.get_0(key); | |
if (!values) { | |
values = new ArrayList; | |
out.put(key, values); | |
} | |
values.add_1(val); | |
} | |
} | |
for (entry$iterator = out.entrySet_0().iterator(); entry$iterator.hasNext();) { | |
entry = entry$iterator.next(); | |
entry.setValue(unmodifiableList(entry.getValue())); | |
} | |
out = new Collections$UnmodifiableMap(out); | |
return out; | |
} | |
function ensureListParameterMap(){ | |
var currentQueryString; | |
currentQueryString = ($clinit_Window() , impl_1).getQueryString(); | |
if (!listParamMap || !$equals(cachedQueryString, currentQueryString)) { | |
listParamMap = buildListParamMap(currentQueryString); | |
cachedQueryString = currentQueryString; | |
} | |
} | |
var cachedQueryString = '', listParamMap; | |
function WindowImpl(){ | |
} | |
defineClass(116, 1, {}, WindowImpl); | |
_.getQueryString = function getQueryString(){ | |
return $wnd.location.search; | |
} | |
; | |
var Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImpl', 116, Ljava_lang_Object_2_classLit); | |
function WindowImplIE(){ | |
} | |
defineClass(119, 116, {}, WindowImplIE); | |
_.getQueryString = function getQueryString_0(){ | |
var href_0 = $wnd.location.href; | |
var hashLoc = href_0.indexOf('#'); | |
hashLoc >= 0 && (href_0 = href_0.substring(0, hashLoc)); | |
var questionLoc = href_0.indexOf('?'); | |
return questionLoc > 0?href_0.substring(questionLoc):''; | |
} | |
; | |
var Lcom_google_gwt_user_client_impl_WindowImplIE_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplIE', 119, Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit); | |
function WindowImplMozilla(){ | |
} | |
defineClass(120, 116, {}, WindowImplMozilla); | |
var Lcom_google_gwt_user_client_impl_WindowImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplMozilla', 120, Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit); | |
function assertCompileTimeUserAgent(){ | |
var compileTimeValue, impl, runtimeValue; | |
impl = com_google_gwt_useragent_client_UserAgent(); | |
compileTimeValue = impl.getCompileTimeValue(); | |
runtimeValue = impl.getRuntimeValue(); | |
if (!$equals(compileTimeValue, runtimeValue)) { | |
throw new UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue); | |
} | |
} | |
function Error_0(message, cause){ | |
this.cause = cause; | |
this.detailMessage = message; | |
$fillInStackTrace(this); | |
} | |
defineClass(24, 4, $intern_0); | |
var Ljava_lang_Error_2_classLit = createForClass('java.lang', 'Error', 24, Ljava_lang_Throwable_2_classLit); | |
defineClass(5, 24, $intern_0); | |
var Ljava_lang_AssertionError_2_classLit = createForClass('java.lang', 'AssertionError', 5, Ljava_lang_Error_2_classLit); | |
function UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue){ | |
Error_0.call(this, '' + ('Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.'), instanceOf('Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.', 4)?'Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.':null); | |
} | |
defineClass(54, 5, $intern_0, UserAgentAsserter$UserAgentAssertionError); | |
var Lcom_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentAsserter/UserAgentAssertionError', 54, Ljava_lang_AssertionError_2_classLit); | |
function UserAgentImplGecko1_8(){ | |
} | |
defineClass(97, 1, {}, UserAgentImplGecko1_8); | |
_.getCompileTimeValue = function getCompileTimeValue(){ | |
return 'gecko1_8'; | |
} | |
; | |
_.getRuntimeValue = function getRuntimeValue(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return 'unknown'; | |
} | |
; | |
var Lcom_google_gwt_useragent_client_UserAgentImplGecko1_18_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplGecko1_8', 97, Ljava_lang_Object_2_classLit); | |
function UserAgentImplIe10(){ | |
} | |
defineClass(99, 1, {}, UserAgentImplIe10); | |
_.getCompileTimeValue = function getCompileTimeValue_0(){ | |
return 'ie10'; | |
} | |
; | |
_.getRuntimeValue = function getRuntimeValue_0(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return 'unknown'; | |
} | |
; | |
var Lcom_google_gwt_useragent_client_UserAgentImplIe10_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplIe10', 99, Ljava_lang_Object_2_classLit); | |
function UserAgentImplIe8(){ | |
} | |
defineClass(101, 1, {}, UserAgentImplIe8); | |
_.getCompileTimeValue = function getCompileTimeValue_1(){ | |
return 'ie8'; | |
} | |
; | |
_.getRuntimeValue = function getRuntimeValue_1(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return 'unknown'; | |
} | |
; | |
var Lcom_google_gwt_useragent_client_UserAgentImplIe8_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplIe8', 101, Ljava_lang_Object_2_classLit); | |
function UserAgentImplIe9(){ | |
} | |
defineClass(100, 1, {}, UserAgentImplIe9); | |
_.getCompileTimeValue = function getCompileTimeValue_2(){ | |
return 'ie9'; | |
} | |
; | |
_.getRuntimeValue = function getRuntimeValue_2(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return 'unknown'; | |
} | |
; | |
var Lcom_google_gwt_useragent_client_UserAgentImplIe9_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplIe9', 100, Ljava_lang_Object_2_classLit); | |
function UserAgentImplSafari(){ | |
} | |
defineClass(98, 1, {}, UserAgentImplSafari); | |
_.getCompileTimeValue = function getCompileTimeValue_3(){ | |
return 'safari'; | |
} | |
; | |
_.getRuntimeValue = function getRuntimeValue_3(){ | |
var ua = navigator.userAgent.toLowerCase(); | |
var docMode = $doc.documentMode; | |
if (function(){ | |
return ua.indexOf('webkit') != -1; | |
} | |
()) | |
return 'safari'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; | |
} | |
()) | |
return 'ie10'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; | |
} | |
()) | |
return 'ie9'; | |
if (function(){ | |
return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; | |
} | |
()) | |
return 'ie8'; | |
if (function(){ | |
return ua.indexOf('gecko') != -1 || docMode >= 11; | |
} | |
()) | |
return 'gecko1_8'; | |
return 'unknown'; | |
} | |
; | |
var Lcom_google_gwt_useragent_client_UserAgentImplSafari_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplSafari', 98, Ljava_lang_Object_2_classLit); | |
function GwtEntryPoint$1(){ | |
} | |
defineClass(55, 1, {}, GwtEntryPoint$1); | |
var Lim_actor_core_js_GwtEntryPoint$1_2_classLit = createForClass('im.actor.core.js', 'GwtEntryPoint/1', 55, Ljava_lang_Object_2_classLit); | |
var Lim_actor_core_js_entity_JsAuthErrorClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsAuthErrorClosure'); | |
function $export(){ | |
if (!exported) { | |
exported = true; | |
$export0(); | |
} | |
} | |
function $export0(){ | |
var pkg = declarePackage('im.actor.core.js.entity.JsAuthErrorClosure'); | |
var __0; | |
$wnd.im.actor.core.js.entity.JsAuthErrorClosure = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_core_js_entity_JsAuthErrorClosure_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.core.js.entity.JsAuthErrorClosure.prototype = new Object; | |
__0.onError = $entry(function(a0, a1, a2, a3){ | |
this.g.onError_0(a0, a1, a2, a3); | |
} | |
); | |
addTypeMap(Lim_actor_core_js_entity_JsAuthErrorClosure_2_classLit, $wnd.im.actor.core.js.entity.JsAuthErrorClosure); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.core.js.entity.JsAuthErrorClosure[p] === undefined && ($wnd.im.actor.core.js.entity.JsAuthErrorClosure[p] = pkg[p]); | |
} | |
function $invoke(closure, a0, a1, a2, a3){ | |
closure.apply(null, [a0, a1, a2, a3]); | |
} | |
function JsAuthErrorClosureExporterImpl(){ | |
$export(); | |
} | |
defineClass(31, 1, {31:1, 18:1}, JsAuthErrorClosureExporterImpl); | |
_.equals$ = function equals_0(obj){ | |
return obj != null && instanceOf(obj, 31) && null.nullMethod(obj); | |
} | |
; | |
_.onError_0 = function onError(a0, a1, a2, a3){ | |
$invoke(this.jso, a0, a1, a2, a3); | |
} | |
; | |
var exported = false; | |
var Lim_actor_core_js_entity_JsAuthErrorClosureExporterImpl_2_classLit = createForClass('im.actor.core.js.entity', 'JsAuthErrorClosureExporterImpl', 31, Ljava_lang_Object_2_classLit); | |
var Lim_actor_core_js_entity_JsAuthSuccessClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsAuthSuccessClosure'); | |
function $export_0(){ | |
if (!exported_0) { | |
exported_0 = true; | |
$export0_0(); | |
} | |
} | |
function $export0_0(){ | |
var pkg = declarePackage('im.actor.core.js.entity.JsAuthSuccessClosure'); | |
var __0; | |
$wnd.im.actor.core.js.entity.JsAuthSuccessClosure = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_core_js_entity_JsAuthSuccessClosure_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.core.js.entity.JsAuthSuccessClosure.prototype = new Object; | |
__0.onResult = $entry(function(a0){ | |
this.g.onResult_0(a0); | |
} | |
); | |
addTypeMap(Lim_actor_core_js_entity_JsAuthSuccessClosure_2_classLit, $wnd.im.actor.core.js.entity.JsAuthSuccessClosure); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.core.js.entity.JsAuthSuccessClosure[p] === undefined && ($wnd.im.actor.core.js.entity.JsAuthSuccessClosure[p] = pkg[p]); | |
} | |
function $invoke_0(closure, a0){ | |
closure.apply(null, [a0]); | |
} | |
function JsAuthSuccessClosureExporterImpl(){ | |
$export_0(); | |
} | |
defineClass(32, 1, {32:1, 18:1}, JsAuthSuccessClosureExporterImpl); | |
_.equals$ = function equals_1(obj){ | |
return obj != null && instanceOf(obj, 32) && null.nullMethod(obj); | |
} | |
; | |
_.onResult_0 = function onResult(a0){ | |
$invoke_0(this.jso, a0); | |
} | |
; | |
var exported_0 = false; | |
var Lim_actor_core_js_entity_JsAuthSuccessClosureExporterImpl_2_classLit = createForClass('im.actor.core.js.entity', 'JsAuthSuccessClosureExporterImpl', 32, Ljava_lang_Object_2_classLit); | |
function $clinit_JsContact(){ | |
$clinit_JsContact = emptyMethod; | |
CONVERTER = new JsContact$1; | |
} | |
var CONVERTER; | |
function JsContact$1(){ | |
} | |
defineClass(63, 1, {}, JsContact$1); | |
var Lim_actor_core_js_entity_JsContact$1_2_classLit = createForClass('im.actor.core.js.entity', 'JsContact/1', 63, Ljava_lang_Object_2_classLit); | |
function $clinit_JsDialog(){ | |
$clinit_JsDialog = emptyMethod; | |
CONVERTER_0 = new JsDialog$1; | |
} | |
var CONVERTER_0; | |
function JsDialog$1(){ | |
} | |
defineClass(64, 1, {}, JsDialog$1); | |
var Lim_actor_core_js_entity_JsDialog$1_2_classLit = createForClass('im.actor.core.js.entity', 'JsDialog/1', 64, Ljava_lang_Object_2_classLit); | |
var Lim_actor_core_js_entity_JsEventBusCallback_2_classLit = createForInterface('im.actor.core.js.entity', 'JsEventBusCallback'); | |
function $export_1(){ | |
if (!exported_1) { | |
exported_1 = true; | |
$export0_1(); | |
} | |
} | |
function $export0_1(){ | |
var pkg = declarePackage('im.actor.core.js.entity.JsEventBusCallback'); | |
var __0; | |
$wnd.im.actor.core.js.entity.JsEventBusCallback = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_core_js_entity_JsEventBusCallback_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.core.js.entity.JsEventBusCallback.prototype = new Object; | |
__0.onEvent = $entry(function(a0, a1){ | |
this.g.onEvent_0(a0, a1); | |
} | |
); | |
addTypeMap(Lim_actor_core_js_entity_JsEventBusCallback_2_classLit, $wnd.im.actor.core.js.entity.JsEventBusCallback); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.core.js.entity.JsEventBusCallback[p] === undefined && ($wnd.im.actor.core.js.entity.JsEventBusCallback[p] = pkg[p]); | |
} | |
function $invoke_1(closure, a0, a1){ | |
closure.apply(a1, [a0, a1]); | |
} | |
function JsEventBusCallbackExporterImpl(){ | |
$export_1(); | |
} | |
defineClass(33, 1, {33:1, 18:1}, JsEventBusCallbackExporterImpl); | |
_.equals$ = function equals_2(obj){ | |
return obj != null && instanceOf(obj, 33) && null.nullMethod(obj); | |
} | |
; | |
_.onEvent_0 = function onEvent(a0, a1){ | |
$invoke_1(this.jso, a0, a1); | |
} | |
; | |
var exported_1 = false; | |
var Lim_actor_core_js_entity_JsEventBusCallbackExporterImpl_2_classLit = createForClass('im.actor.core.js.entity', 'JsEventBusCallbackExporterImpl', 33, Ljava_lang_Object_2_classLit); | |
function $clinit_JsMessage(){ | |
$clinit_JsMessage = emptyMethod; | |
CONVERTER_1 = new JsMessage$1; | |
} | |
var CONVERTER_1; | |
function JsMessage$1(){ | |
} | |
defineClass(65, 1, {}, JsMessage$1); | |
var Lim_actor_core_js_entity_JsMessage$1_2_classLit = createForClass('im.actor.core.js.entity', 'JsMessage/1', 65, Ljava_lang_Object_2_classLit); | |
var Lim_actor_core_js_entity_JsMessagesBindClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsMessagesBindClosure'); | |
function $export_2(){ | |
if (!exported_2) { | |
exported_2 = true; | |
$export0_2(); | |
} | |
} | |
function $export0_2(){ | |
var pkg = declarePackage('im.actor.core.js.entity.JsMessagesBindClosure'); | |
var __0; | |
$wnd.im.actor.core.js.entity.JsMessagesBindClosure = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_core_js_entity_JsMessagesBindClosure_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.core.js.entity.JsMessagesBindClosure.prototype = new Object; | |
__0.onBind = $entry(function(a0, a1, a2){ | |
this.g.onBind_0(a0, a1, a2); | |
} | |
); | |
addTypeMap(Lim_actor_core_js_entity_JsMessagesBindClosure_2_classLit, $wnd.im.actor.core.js.entity.JsMessagesBindClosure); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.core.js.entity.JsMessagesBindClosure[p] === undefined && ($wnd.im.actor.core.js.entity.JsMessagesBindClosure[p] = pkg[p]); | |
} | |
function $invoke_2(closure, a0, a1, a2){ | |
closure.apply(a0, [a0, a1, a2]); | |
} | |
function JsMessagesBindClosureExporterImpl(){ | |
$export_2(); | |
} | |
defineClass(34, 1, {34:1, 18:1}, JsMessagesBindClosureExporterImpl); | |
_.equals$ = function equals_3(obj){ | |
return obj != null && instanceOf(obj, 34) && null.nullMethod(obj); | |
} | |
; | |
_.onBind_0 = function onBind(a0, a1, a2){ | |
$invoke_2(this.jso, a0, a1, a2); | |
} | |
; | |
var exported_2 = false; | |
var Lim_actor_core_js_entity_JsMessagesBindClosureExporterImpl_2_classLit = createForClass('im.actor.core.js.entity', 'JsMessagesBindClosureExporterImpl', 34, Ljava_lang_Object_2_classLit); | |
function $clinit_JsSearchEntity(){ | |
$clinit_JsSearchEntity = emptyMethod; | |
CONVERTER_2 = new JsSearchEntity$1; | |
} | |
var CONVERTER_2; | |
function JsSearchEntity$1(){ | |
} | |
defineClass(66, 1, {}, JsSearchEntity$1); | |
var Lim_actor_core_js_entity_JsSearchEntity$1_2_classLit = createForClass('im.actor.core.js.entity', 'JsSearchEntity/1', 66, Ljava_lang_Object_2_classLit); | |
var Lim_actor_core_js_modules_JsBindedValueCallback_2_classLit = createForInterface('im.actor.core.js.modules', 'JsBindedValueCallback'); | |
function $export_3(){ | |
if (!exported_3) { | |
exported_3 = true; | |
$export0_3(); | |
} | |
} | |
function $export0_3(){ | |
var pkg = declarePackage('im.actor.core.js.modules.JsBindedValueCallback'); | |
var __0; | |
$wnd.im.actor.core.js.modules.JsBindedValueCallback = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_core_js_modules_JsBindedValueCallback_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.core.js.modules.JsBindedValueCallback.prototype = new Object; | |
__0.onChanged = $entry(function(a0){ | |
runDispatch(this.g, Lim_actor_core_js_modules_JsBindedValueCallback_2_classLit, 0, arguments, false, false)[0]; | |
} | |
); | |
addTypeMap(Lim_actor_core_js_modules_JsBindedValueCallback_2_classLit, $wnd.im.actor.core.js.modules.JsBindedValueCallback); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.core.js.modules.JsBindedValueCallback[p] === undefined && ($wnd.im.actor.core.js.modules.JsBindedValueCallback[p] = pkg[p]); | |
} | |
function JsBindedValueCallbackExporterImpl(){ | |
$export_3(); | |
} | |
defineClass(35, 1, {35:1, 18:1}, JsBindedValueCallbackExporterImpl); | |
_.equals$ = function equals_4(obj){ | |
return obj != null && instanceOf(obj, 35) && null.nullMethod(obj); | |
} | |
; | |
var exported_3 = false; | |
var Lim_actor_core_js_modules_JsBindedValueCallbackExporterImpl_2_classLit = createForClass('im.actor.core.js.modules', 'JsBindedValueCallbackExporterImpl', 35, Ljava_lang_Object_2_classLit); | |
function $clinit_Assets(){ | |
$clinit_Assets = emptyMethod; | |
INSTANCE_0 = im_actor_core_js_providers_Assets(); | |
} | |
var INSTANCE_0; | |
function Assets_ar_InlineClientBundleGenerator(){ | |
} | |
defineClass(81, 1, {}, Assets_ar_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1ar_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_ar_InlineClientBundleGenerator', 81, Ljava_lang_Object_2_classLit); | |
function Assets_cn_InlineClientBundleGenerator(){ | |
} | |
defineClass(84, 1, {}, Assets_cn_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1cn_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_cn_InlineClientBundleGenerator', 84, Ljava_lang_Object_2_classLit); | |
function Assets_default_InlineClientBundleGenerator(){ | |
} | |
defineClass(86, 1, {}, Assets_default_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1default_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_default_InlineClientBundleGenerator', 86, Ljava_lang_Object_2_classLit); | |
function Assets_en_InlineClientBundleGenerator(){ | |
} | |
defineClass(82, 1, {}, Assets_en_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1en_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_en_InlineClientBundleGenerator', 82, Ljava_lang_Object_2_classLit); | |
function Assets_es_InlineClientBundleGenerator(){ | |
} | |
defineClass(83, 1, {}, Assets_es_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1es_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_es_InlineClientBundleGenerator', 83, Ljava_lang_Object_2_classLit); | |
function Assets_pt_InlineClientBundleGenerator(){ | |
} | |
defineClass(80, 1, {}, Assets_pt_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1pt_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_pt_InlineClientBundleGenerator', 80, Ljava_lang_Object_2_classLit); | |
function Assets_ru_InlineClientBundleGenerator(){ | |
} | |
defineClass(85, 1, {}, Assets_ru_InlineClientBundleGenerator); | |
var Lim_actor_core_js_providers_Assets_1ru_1InlineClientBundleGenerator_2_classLit = createForClass('im.actor.core.js.providers', 'Assets_ru_InlineClientBundleGenerator', 85, Ljava_lang_Object_2_classLit); | |
function $clinit_JsAssetsProvider(){ | |
$clinit_JsAssetsProvider = emptyMethod; | |
bundles = new ArrayList; | |
} | |
function registerBundle(bundleWithLookup){ | |
$clinit_JsAssetsProvider(); | |
$add(bundles, bundleWithLookup); | |
} | |
var bundles; | |
function $clinit_JsEngineProvider(){ | |
$clinit_JsEngineProvider = emptyMethod; | |
converters = new HashMap; | |
} | |
function registerEntity(name_0, converter){ | |
$clinit_JsEngineProvider(); | |
$putStringValue(converters, name_0, converter); | |
} | |
var converters; | |
var Lim_actor_runtime_js_mvvm_JsDisplayListCallback_2_classLit = createForInterface('im.actor.runtime.js.mvvm', 'JsDisplayListCallback'); | |
function $export_4(){ | |
if (!exported_4) { | |
exported_4 = true; | |
$export0_4(); | |
} | |
} | |
function $export0_4(){ | |
var pkg = declarePackage('im.actor.runtime.js.mvvm.JsDisplayListCallback'); | |
var __0; | |
$wnd.im.actor.runtime.js.mvvm.JsDisplayListCallback = $entry(function(){ | |
var g, j = this; | |
isAssignableToInstance(Lim_actor_runtime_js_mvvm_JsDisplayListCallback_2_classLit, arguments) && (g = arguments[0]); | |
j.g = g; | |
setWrapper(g, j); | |
return j; | |
} | |
); | |
__0 = $wnd.im.actor.runtime.js.mvvm.JsDisplayListCallback.prototype = new Object; | |
__0.onCollectionChanged = $entry(function(a0, a1){ | |
this.g.onCollectionChanged_0(a0, a1); | |
} | |
); | |
addTypeMap(Lim_actor_runtime_js_mvvm_JsDisplayListCallback_2_classLit, $wnd.im.actor.runtime.js.mvvm.JsDisplayListCallback); | |
if (pkg) | |
for (p in pkg) | |
$wnd.im.actor.runtime.js.mvvm.JsDisplayListCallback[p] === undefined && ($wnd.im.actor.runtime.js.mvvm.JsDisplayListCallback[p] = pkg[p]); | |
} | |
function $invoke_3(closure, a0, a1){ | |
closure.apply(a0, [a0, a1]); | |
} | |
function JsDisplayListCallbackExporterImpl(){ | |
$export_4(); | |
} | |
defineClass(36, 1, {36:1, 18:1}, JsDisplayListCallbackExporterImpl); | |
_.equals$ = function equals_5(obj){ | |
return obj != null && instanceOf(obj, 36) && null.nullMethod(obj); | |
} | |
; | |
_.onCollectionChanged_0 = function onCollectionChanged(a0, a1){ | |
$invoke_3(this.jso, a0, a1); | |
} | |
; | |
var exported_4 = false; | |
var Lim_actor_runtime_js_mvvm_JsDisplayListCallbackExporterImpl_2_classLit = createForClass('im.actor.runtime.js.mvvm', 'JsDisplayListCallbackExporterImpl', 36, Ljava_lang_Object_2_classLit); | |
function AbstractStringBuilder(string){ | |
this.string = string; | |
} | |
defineClass(43, 1, {}); | |
_.toString$ = function toString_2(){ | |
return this.string; | |
} | |
; | |
var Ljava_lang_AbstractStringBuilder_2_classLit = createForClass('java.lang', 'AbstractStringBuilder', 43, Ljava_lang_Object_2_classLit); | |
function $clinit_Boolean(){ | |
$clinit_Boolean = emptyMethod; | |
FALSE = new Boolean_0(false); | |
TRUE = new Boolean_0(true); | |
} | |
function Boolean_0(value_0){ | |
this.value_0 = value_0; | |
} | |
defineClass(21, 1, {3:1, 21:1, 38:1}, Boolean_0); | |
_.equals$ = function equals_6(o){ | |
return instanceOf(o, 21) && o.value_0 == this.value_0; | |
} | |
; | |
_.hashCode$ = function hashCode_1(){ | |
return this.value_0?1231:1237; | |
} | |
; | |
_.toString$ = function toString_3(){ | |
return '' + this.value_0; | |
} | |
; | |
_.value_0 = false; | |
var FALSE, TRUE; | |
var Ljava_lang_Boolean_2_classLit = createForClass('java.lang', 'Boolean', 21, Ljava_lang_Object_2_classLit); | |
defineClass(25, 1, {3:1, 25:1}); | |
var Ljava_lang_Number_2_classLit = createForClass('java.lang', 'Number', 25, Ljava_lang_Object_2_classLit); | |
function Double(value_0){ | |
this.value_0 = value_0; | |
} | |
defineClass(26, 25, {3:1, 38:1, 26:1, 25:1}, Double); | |
_.equals$ = function equals_7(o){ | |
return instanceOf(o, 26) && o.value_0 == this.value_0; | |
} | |
; | |
_.hashCode$ = function hashCode_2(){ | |
return round_int(this.value_0); | |
} | |
; | |
_.toString$ = function toString_5(){ | |
return '' + this.value_0; | |
} | |
; | |
_.value_0 = 0; | |
var Ljava_lang_Double_2_classLit = createForClass('java.lang', 'Double', 26, Ljava_lang_Number_2_classLit); | |
function IllegalArgumentException(message){ | |
RuntimeException_0.call(this, message); | |
} | |
defineClass(45, 6, $intern_0, IllegalArgumentException); | |
var Ljava_lang_IllegalArgumentException_2_classLit = createForClass('java.lang', 'IllegalArgumentException', 45, Ljava_lang_RuntimeException_2_classLit); | |
function IndexOutOfBoundsException(message){ | |
RuntimeException_0.call(this, message); | |
} | |
defineClass(51, 6, $intern_0, IndexOutOfBoundsException); | |
var Ljava_lang_IndexOutOfBoundsException_2_classLit = createForClass('java.lang', 'IndexOutOfBoundsException', 51, Ljava_lang_RuntimeException_2_classLit); | |
function Integer(value_0){ | |
this.value_0 = value_0; | |
} | |
function valueOf(i_0){ | |
var rebase, result; | |
if (i_0 > -129 && i_0 < 128) { | |
rebase = i_0 + 128; | |
result = ($clinit_Integer$BoxedValues() , boxedValues_0)[rebase]; | |
!result && (result = boxedValues_0[rebase] = new Integer(i_0)); | |
return result; | |
} | |
return new Integer(i_0); | |
} | |
defineClass(12, 25, {3:1, 38:1, 12:1, 25:1}, Integer); | |
_.equals$ = function equals_8(o){ | |
return instanceOf(o, 12) && o.value_0 == this.value_0; | |
} | |
; | |
_.hashCode$ = function hashCode_3(){ | |
return this.value_0; | |
} | |
; | |
_.toString$ = function toString_6(){ | |
return '' + this.value_0; | |
} | |
; | |
_.value_0 = 0; | |
var Ljava_lang_Integer_2_classLit = createForClass('java.lang', 'Integer', 12, Ljava_lang_Number_2_classLit); | |
function $clinit_Integer$BoxedValues(){ | |
$clinit_Integer$BoxedValues = emptyMethod; | |
boxedValues_0 = initDim(Ljava_lang_Integer_2_classLit, $intern_1, 12, 256, 0, 1); | |
} | |
var boxedValues_0; | |
function max_0(y_0){ | |
return 0 > y_0?0:y_0; | |
} | |
function min_0(x_0){ | |
return x_0 < 5?x_0:5; | |
} | |
function NullPointerException(){ | |
RuntimeException.call(this); | |
} | |
function NullPointerException_0(message){ | |
RuntimeException_0.call(this, message); | |
} | |
defineClass(27, 6, $intern_0, NullPointerException, NullPointerException_0); | |
var Ljava_lang_NullPointerException_2_classLit = createForClass('java.lang', 'NullPointerException', 27, Ljava_lang_RuntimeException_2_classLit); | |
function StackTraceElement(methodName, fileName, lineNumber){ | |
this.className = 'Unknown'; | |
this.methodName = methodName; | |
this.fileName = fileName; | |
this.lineNumber = lineNumber; | |
} | |
defineClass(8, 1, {3:1, 8:1}, StackTraceElement); | |
_.equals$ = function equals_9(other){ | |
var st; | |
if (instanceOf(other, 8)) { | |
st = other; | |
return this.lineNumber == st.lineNumber && equals_20(this.methodName, st.methodName) && equals_20(this.className, st.className) && equals_20(this.fileName, st.fileName); | |
} | |
return false; | |
} | |
; | |
_.hashCode$ = function hashCode_4(){ | |
return hashCode_10(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_1, 1, 3, [valueOf(this.lineNumber), this.className, this.methodName, this.fileName])); | |
} | |
; | |
_.toString$ = function toString_7(){ | |
return this.className + '.' + this.methodName + '(' + (this.fileName != null?this.fileName:'Unknown Source') + (this.lineNumber >= 0?':' + this.lineNumber:'') + ')'; | |
} | |
; | |
_.lineNumber = 0; | |
var Ljava_lang_StackTraceElement_2_classLit = createForClass('java.lang', 'StackTraceElement', 8, Ljava_lang_Object_2_classLit); | |
function $charAt(this$static, index_0){ | |
return this$static.charCodeAt(index_0); | |
} | |
function $equals(this$static, other){ | |
return this$static === other; | |
} | |
function $indexOf(this$static, str){ | |
return this$static.indexOf(str); | |
} | |
function $lastIndexOf(this$static, str){ | |
return this$static.lastIndexOf(str); | |
} | |
function $lastIndexOf_0(this$static, str, start_0){ | |
return this$static.lastIndexOf(str, start_0); | |
} | |
function $split(this$static, regex, maxMatch){ | |
var compiled = new RegExp(regex, 'g'); | |
var out = []; | |
var count = 0; | |
var trail = this$static; | |
var lastTrail = null; | |
while (true) { | |
var matchObj = compiled.exec(trail); | |
if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) { | |
out[count] = trail; | |
break; | |
} | |
else { | |
out[count] = trail.substring(0, matchObj.index); | |
trail = trail.substring(matchObj.index + matchObj[0].length, trail.length); | |
compiled.lastIndex = 0; | |
if (lastTrail == trail) { | |
out[count] = trail.substring(0, 1); | |
trail = trail.substring(1); | |
} | |
lastTrail = trail; | |
count++; | |
} | |
} | |
if (maxMatch == 0 && this$static.length > 0) { | |
var lastNonEmpty = out.length; | |
while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') { | |
--lastNonEmpty; | |
} | |
lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty); | |
} | |
var jr = __createArray(out.length); | |
for (var i_0 = 0; i_0 < out.length; ++i_0) { | |
jr[i_0] = out[i_0]; | |
} | |
return jr; | |
} | |
function $trim(this$static){ | |
if (this$static.length == 0 || this$static[0] > ' ' && this$static[this$static.length - 1] > ' ') { | |
return this$static; | |
} | |
return this$static.replace(/^[\u0000-\u0020]*|[\u0000-\u0020]*$/g, ''); | |
} | |
function __createArray(numElements){ | |
return initDim(Ljava_lang_String_2_classLit, $intern_1, 2, numElements, 4, 1); | |
} | |
function __substr(str, beginIndex, len){ | |
return str.substr(beginIndex, len); | |
} | |
function fromCodePoint(codePoint){ | |
var hiSurrogate, loSurrogate; | |
if (codePoint >= 65536) { | |
hiSurrogate = 55296 + (codePoint - 65536 >> 10 & 1023) & 65535; | |
loSurrogate = 56320 + (codePoint - 65536 & 1023) & 65535; | |
return valueOf_0(hiSurrogate) + valueOf_0(loSurrogate); | |
} | |
else { | |
return String.fromCharCode(codePoint & 65535); | |
} | |
} | |
function valueOf_0(x_0){ | |
return String.fromCharCode(x_0); | |
} | |
var Ljava_lang_String_2_classLit = createForClass('java.lang', 'String', 2, Ljava_lang_Object_2_classLit); | |
function $clinit_String$HashCache(){ | |
$clinit_String$HashCache = emptyMethod; | |
back_0 = {}; | |
front = {}; | |
} | |
function compute(str){ | |
var hashCode, i_0, n, nBatch; | |
hashCode = 0; | |
n = str.length; | |
nBatch = n - 4; | |
i_0 = 0; | |
while (i_0 < nBatch) { | |
hashCode = str.charCodeAt(i_0 + 3) + 31 * (str.charCodeAt(i_0 + 2) + 31 * (str.charCodeAt(i_0 + 1) + 31 * (str.charCodeAt(i_0) + 31 * hashCode))); | |
hashCode = ~~hashCode; | |
i_0 += 4; | |
} | |
while (i_0 < n) { | |
hashCode = hashCode * 31 + $charAt(str, i_0++); | |
} | |
hashCode = ~~hashCode; | |
return hashCode; | |
} | |
function getHashCode_0(str){ | |
$clinit_String$HashCache(); | |
var key = ':' + str; | |
var result = front[key]; | |
if (result != null) { | |
return result; | |
} | |
result = back_0[key]; | |
result == null && (result = compute(str)); | |
increment(); | |
return front[key] = result; | |
} | |
function increment(){ | |
if (count_0 == 256) { | |
back_0 = front; | |
front = {}; | |
count_0 = 0; | |
} | |
++count_0; | |
} | |
var back_0, count_0 = 0, front; | |
function $append(this$static, x_0){ | |
this$static.string += x_0; | |
return this$static; | |
} | |
function StringBuilder(){ | |
AbstractStringBuilder.call(this, ''); | |
} | |
function StringBuilder_0(s){ | |
AbstractStringBuilder.call(this, s); | |
} | |
defineClass(13, 43, {146:1}, StringBuilder, StringBuilder_0); | |
var Ljava_lang_StringBuilder_2_classLit = createForClass('java.lang', 'StringBuilder', 13, Ljava_lang_AbstractStringBuilder_2_classLit); | |
function UnsupportedOperationException(){ | |
RuntimeException.call(this); | |
} | |
function UnsupportedOperationException_0(message){ | |
RuntimeException_0.call(this, message); | |
} | |
defineClass(15, 6, $intern_0, UnsupportedOperationException, UnsupportedOperationException_0); | |
var Ljava_lang_UnsupportedOperationException_2_classLit = createForClass('java.lang', 'UnsupportedOperationException', 15, Ljava_lang_RuntimeException_2_classLit); | |
function $containsAll(this$static, c){ | |
var e, e$iterator; | |
checkNotNull(c); | |
for (e$iterator = c.iterator(); e$iterator.hasNext();) { | |
e = e$iterator.next(); | |
if (!$contains(this$static, e)) { | |
return false; | |
} | |
} | |
return true; | |
} | |
defineClass(135, 1, {}); | |
_.toString$ = function toString_8(){ | |
var comma, e, e$iterator, sb; | |
sb = new StringBuilder_0('['); | |
comma = false; | |
for (e$iterator = this.iterator(); e$iterator.hasNext();) { | |
e = e$iterator.next(); | |
comma?(sb.string += ', ' , sb):(comma = true); | |
sb.string += e === this?'(this Collection)':'' + e; | |
} | |
sb.string += ']'; | |
return sb.string; | |
} | |
; | |
var Ljava_util_AbstractCollection_2_classLit = createForClass('java.util', 'AbstractCollection', 135, Ljava_lang_Object_2_classLit); | |
function $containsEntry(this$static, entry){ | |
var key, ourValue, value_0; | |
key = entry.getKey(); | |
value_0 = entry.getValue(); | |
ourValue = isJavaString(key)?$getStringValue(this$static, key):getEntryValueOrNull($getEntry(this$static.hashCodeMap, key)); | |
if (!(maskUndefined(value_0) === maskUndefined(ourValue) || value_0 != null && equals_Ljava_lang_Object__Z__devirtual$(value_0, ourValue))) { | |
return false; | |
} | |
if (ourValue == null && !(isJavaString(key)?key == null?!!$getEntry(this$static.hashCodeMap, null):!(this$static.stringMap.get_2(key) === undefined):!!$getEntry(this$static.hashCodeMap, key))) { | |
return false; | |
} | |
return true; | |
} | |
function $implFindEntry(this$static, key){ | |
var entry, iter, k_0; | |
for (iter = new AbstractHashMap$EntrySetIterator((new AbstractHashMap$EntrySet(this$static)).this$01); $hasNext(iter);) { | |
entry = (checkStructuralChange(iter.this$01, iter) , checkCriticalElement($hasNext(iter)) , iter.current.next()); | |
k_0 = entry.getKey(); | |
if (maskUndefined(key) === maskUndefined(k_0) || key != null && equals_Ljava_lang_Object__Z__devirtual$(key, k_0)) { | |
return entry; | |
} | |
} | |
return null; | |
} | |
function $toString(this$static, o){ | |
return o === this$static?'(this Map)':'' + o; | |
} | |
function getEntryValueOrNull(entry){ | |
return !entry?null:entry.getValue(); | |
} | |
defineClass(134, 1, {39:1}); | |
_.equals$ = function equals_10(obj){ | |
var entry, entry$iterator, otherMap; | |
if (obj === this) { | |
return true; | |
} | |
if (!instanceOf(obj, 39)) { | |
return false; | |
} | |
otherMap = obj; | |
if (this.size_0 != otherMap.size_1()) { | |
return false; | |
} | |
for (entry$iterator = otherMap.entrySet_0().iterator(); entry$iterator.hasNext();) { | |
entry = entry$iterator.next(); | |
if (!$containsEntry(this, entry)) { | |
return false; | |
} | |
} | |
return true; | |
} | |
; | |
_.get_0 = function get_0(key){ | |
return getEntryValueOrNull($implFindEntry(this, key)); | |
} | |
; | |
_.hashCode$ = function hashCode_5(){ | |
return hashCode_11(new AbstractHashMap$EntrySet(this)); | |
} | |
; | |
_.put = function put(key, value_0){ | |
throw new UnsupportedOperationException_0('Put not supported on this map'); | |
} | |
; | |
_.size_1 = function size_1(){ | |
return (new AbstractHashMap$EntrySet(this)).this$01.size_0; | |
} | |
; | |
_.toString$ = function toString_9(){ | |
var comma, entry, entry$iterator, sb; | |
sb = new StringBuilder_0('{'); | |
comma = false; | |
for (entry$iterator = new AbstractHashMap$EntrySetIterator((new AbstractHashMap$EntrySet(this)).this$01); $hasNext(entry$iterator);) { | |
entry = (checkStructuralChange(entry$iterator.this$01, entry$iterator) , checkCriticalElement($hasNext(entry$iterator)) , entry$iterator.current.next()); | |
comma?(sb.string += ', ' , sb):(comma = true); | |
$append(sb, $toString(this, entry.getKey())); | |
sb.string += '='; | |
$append(sb, $toString(this, entry.getValue())); | |
} | |
sb.string += '}'; | |
return sb.string; | |
} | |
; | |
var Ljava_util_AbstractMap_2_classLit = createForClass('java.util', 'AbstractMap', 134, Ljava_lang_Object_2_classLit); | |
function $elementAdded(this$static){ | |
++this$static.size_0; | |
structureChanged(this$static); | |
} | |
function $getStringValue(this$static, key){ | |
return key == null?getEntryValueOrNull($getEntry(this$static.hashCodeMap, null)):this$static.stringMap.get_2(key); | |
} | |
function $put(this$static, key, value_0){ | |
return $put_0(this$static.hashCodeMap, key, value_0); | |
} | |
function $putStringValue(this$static, key, value_0){ | |
return key == null?$put_0(this$static.hashCodeMap, null, value_0):this$static.stringMap.put_0(key, value_0); | |
} | |
defineClass(59, 134, {39:1}); | |
_.entrySet_0 = function entrySet(){ | |
return new AbstractHashMap$EntrySet(this); | |
} | |
; | |
_.get_0 = function get_1(key){ | |
return isJavaString(key)?$getStringValue(this, key):getEntryValueOrNull($getEntry(this.hashCodeMap, key)); | |
} | |
; | |
_.put = function put_0(key, value_0){ | |
return $putStringValue(this, key, value_0); | |
} | |
; | |
_.size_1 = function size_2(){ | |
return this.size_0; | |
} | |
; | |
_.size_0 = 0; | |
var Ljava_util_AbstractHashMap_2_classLit = createForClass('java.util', 'AbstractHashMap', 59, Ljava_util_AbstractMap_2_classLit); | |
defineClass(136, 135, $intern_7); | |
_.equals$ = function equals_11(o){ | |
var other; | |
if (o === this) { | |
return true; | |
} | |
if (!instanceOf(o, 40)) { | |
return false; | |
} | |
other = o; | |
if (other.size_1() != this.size_1()) { | |
return false; | |
} | |
return $containsAll(this, other); | |
} | |
; | |
_.hashCode$ = function hashCode_6(){ | |
return hashCode_11(this); | |
} | |
; | |
var Ljava_util_AbstractSet_2_classLit = createForClass('java.util', 'AbstractSet', 136, Ljava_util_AbstractCollection_2_classLit); | |
function $contains(this$static, o){ | |
if (instanceOf(o, 9)) { | |
return $containsEntry(this$static.this$01, o); | |
} | |
return false; | |
} | |
function AbstractHashMap$EntrySet(this$0){ | |
this.this$01 = this$0; | |
} | |
defineClass(14, 136, $intern_7, AbstractHashMap$EntrySet); | |
_.iterator = function iterator_0(){ | |
return new AbstractHashMap$EntrySetIterator(this.this$01); | |
} | |
; | |
_.size_1 = function size_3(){ | |
return this.this$01.size_0; | |
} | |
; | |
var Ljava_util_AbstractHashMap$EntrySet_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySet', 14, Ljava_util_AbstractSet_2_classLit); | |
function $hasNext(this$static){ | |
if (this$static.current.hasNext()) { | |
return true; | |
} | |
if (this$static.current != this$static.stringMapEntries) { | |
return false; | |
} | |
this$static.current = this$static.this$01.hashCodeMap.entries(); | |
return this$static.current.hasNext(); | |
} | |
function AbstractHashMap$EntrySetIterator(this$0){ | |
this.this$01 = this$0; | |
this.stringMapEntries = this.this$01.stringMap.entries(); | |
this.current = this.stringMapEntries; | |
setModCount(this, this$0._gwt_modCount); | |
} | |
defineClass(22, 1, {}, AbstractHashMap$EntrySetIterator); | |
_.hasNext = function hasNext(){ | |
return $hasNext(this); | |
} | |
; | |
_.next = function next(){ | |
return checkStructuralChange(this.this$01, this) , checkCriticalElement($hasNext(this)) , this.current.next(); | |
} | |
; | |
var Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySetIterator', 22, Ljava_lang_Object_2_classLit); | |
defineClass(137, 135, {19:1}); | |
_.add_0 = function add_0(index_0, element){ | |
throw new UnsupportedOperationException_0('Add not supported on this list'); | |
} | |
; | |
_.add_1 = function add_1(obj){ | |
this.add_0(this.size_1(), obj); | |
return true; | |
} | |
; | |
_.equals$ = function equals_12(o){ | |
var elem, elem$iterator, elemOther, iterOther, other; | |
if (o === this) { | |
return true; | |
} | |
if (!instanceOf(o, 19)) { | |
return false; | |
} | |
other = o; | |
if (this.size_1() != other.size_1()) { | |
return false; | |
} | |
iterOther = other.iterator(); | |
for (elem$iterator = new AbstractList$IteratorImpl(this); elem$iterator.i < elem$iterator.this$01.size_1();) { | |
elem = (checkCriticalElement(elem$iterator.i < elem$iterator.this$01.size_1()) , elem$iterator.this$01.get_1(elem$iterator.i++)); | |
elemOther = iterOther.next(); | |
if (!(maskUndefined(elem) === maskUndefined(elemOther) || elem != null && equals_Ljava_lang_Object__Z__devirtual$(elem, elemOther))) { | |
return false; | |
} | |
} | |
return true; | |
} | |
; | |
_.hashCode$ = function hashCode_7(){ | |
return hashCode_12(this); | |
} | |
; | |
_.iterator = function iterator_1(){ | |
return new AbstractList$IteratorImpl(this); | |
} | |
; | |
var Ljava_util_AbstractList_2_classLit = createForClass('java.util', 'AbstractList', 137, Ljava_util_AbstractCollection_2_classLit); | |
function AbstractList$IteratorImpl(this$0){ | |
this.this$01 = this$0; | |
} | |
defineClass(28, 1, {}, AbstractList$IteratorImpl); | |
_.hasNext = function hasNext_0(){ | |
return this.i < this.this$01.size_1(); | |
} | |
; | |
_.next = function next_0(){ | |
return checkCriticalElement(this.i < this.this$01.size_1()) , this.this$01.get_1(this.i++); | |
} | |
; | |
_.i = 0; | |
var Ljava_util_AbstractList$IteratorImpl_2_classLit = createForClass('java.util', 'AbstractList/IteratorImpl', 28, Ljava_lang_Object_2_classLit); | |
defineClass(60, 1, {9:1}); | |
_.equals$ = function equals_13(other){ | |
var entry; | |
if (!instanceOf(other, 9)) { | |
return false; | |
} | |
entry = other; | |
return equals_20(this.key, entry.getKey()) && equals_20(this.value_0, entry.getValue()); | |
} | |
; | |
_.getKey = function getKey(){ | |
return this.key; | |
} | |
; | |
_.getValue = function getValue(){ | |
return this.value_0; | |
} | |
; | |
_.hashCode$ = function hashCode_8(){ | |
return hashCode_18(this.key) ^ hashCode_18(this.value_0); | |
} | |
; | |
_.setValue = function setValue(value_0){ | |
var oldValue; | |
oldValue = this.value_0; | |
this.value_0 = value_0; | |
return oldValue; | |
} | |
; | |
_.toString$ = function toString_10(){ | |
return this.key + '=' + this.value_0; | |
} | |
; | |
var Ljava_util_AbstractMap$AbstractEntry_2_classLit = createForClass('java.util', 'AbstractMap/AbstractEntry', 60, Ljava_lang_Object_2_classLit); | |
function AbstractMap$SimpleEntry(key, value_0){ | |
this.key = key; | |
this.value_0 = value_0; | |
} | |
defineClass(61, 60, {9:1}, AbstractMap$SimpleEntry); | |
var Ljava_util_AbstractMap$SimpleEntry_2_classLit = createForClass('java.util', 'AbstractMap/SimpleEntry', 61, Ljava_util_AbstractMap$AbstractEntry_2_classLit); | |
defineClass(138, 1, {9:1}); | |
_.equals$ = function equals_14(other){ | |
var entry; | |
if (!instanceOf(other, 9)) { | |
return false; | |
} | |
entry = other; | |
return equals_20(this.getKey(), entry.getKey()) && equals_20(this.getValue(), entry.getValue()); | |
} | |
; | |
_.hashCode$ = function hashCode_9(){ | |
return hashCode_18(this.getKey()) ^ hashCode_18(this.getValue()); | |
} | |
; | |
_.toString$ = function toString_11(){ | |
return this.getKey() + '=' + this.getValue(); | |
} | |
; | |
var Ljava_util_AbstractMapEntry_2_classLit = createForClass('java.util', 'AbstractMapEntry', 138, Ljava_lang_Object_2_classLit); | |
function $add(this$static, o){ | |
this$static.array[this$static.array.length] = o; | |
return true; | |
} | |
function $toArray(this$static, out){ | |
var i_0, size_0, result; | |
size_0 = this$static.array.length; | |
out.length < size_0 && (out = (result = initializeArrayElementsWithDefaults(0, size_0) , initValues(getClass__Ljava_lang_Class___devirtual$(out), out.castableTypeMap$, out.__elementTypeId$, out.__elementTypeCategory$, result) , result)); | |
for (i_0 = 0; i_0 < size_0; ++i_0) { | |
out[i_0] = this$static.array[i_0]; | |
} | |
out.length > size_0 && (out[size_0] = null); | |
return out; | |
} | |
function ArrayList(){ | |
this.array = initDim(Ljava_lang_Object_2_classLit, $intern_1, 1, 0, 3, 1); | |
} | |
function splice(array, index_0, deleteCount, value_0){ | |
array.splice(index_0, deleteCount, value_0); | |
} | |
defineClass(16, 137, $intern_8, ArrayList); | |
_.add_0 = function add_2(index_0, o){ | |
checkPositionIndex(index_0, this.array.length); | |
splice(this.array, index_0, 0, o); | |
} | |
; | |
_.add_1 = function add_3(o){ | |
return $add(this, o); | |
} | |
; | |
_.get_1 = function get_2(index_0){ | |
return checkElementIndex(index_0, this.array.length) , this.array[index_0]; | |
} | |
; | |
_.size_1 = function size_4(){ | |
return this.array.length; | |
} | |
; | |
var Ljava_util_ArrayList_2_classLit = createForClass('java.util', 'ArrayList', 16, Ljava_util_AbstractList_2_classLit); | |
function hashCode_10(a){ | |
var e, e$index, e$max, hashCode; | |
hashCode = 1; | |
for (e$index = 0 , e$max = a.length; e$index < e$max; ++e$index) { | |
e = a[e$index]; | |
hashCode = 31 * hashCode + (e != null?hashCode__I__devirtual$(e):0); | |
hashCode = ~~hashCode; | |
} | |
return hashCode; | |
} | |
function hashCode_11(collection){ | |
var e, e$iterator, hashCode; | |
hashCode = 0; | |
for (e$iterator = new AbstractHashMap$EntrySetIterator(collection.this$01); $hasNext(e$iterator);) { | |
e = (checkStructuralChange(e$iterator.this$01, e$iterator) , checkCriticalElement($hasNext(e$iterator)) , e$iterator.current.next()); | |
hashCode = hashCode + (e?e.hashCode$():0); | |
hashCode = ~~hashCode; | |
} | |
return hashCode; | |
} | |
function hashCode_12(list){ | |
var e, e$iterator, hashCode; | |
hashCode = 1; | |
for (e$iterator = new AbstractList$IteratorImpl(list); e$iterator.i < e$iterator.this$01.size_1();) { | |
e = (checkCriticalElement(e$iterator.i < e$iterator.this$01.size_1()) , e$iterator.this$01.get_1(e$iterator.i++)); | |
hashCode = 31 * hashCode + (e != null?hashCode__I__devirtual$(e):0); | |
hashCode = ~~hashCode; | |
} | |
return hashCode; | |
} | |
function unmodifiableList(list){ | |
return instanceOf(list, 41)?new Collections$UnmodifiableRandomAccessList(list):new Collections$UnmodifiableList(list); | |
} | |
function Collections$UnmodifiableCollection(coll){ | |
this.coll = coll; | |
} | |
defineClass(46, 1, {}); | |
_.add_1 = function add_4(o){ | |
throw new UnsupportedOperationException; | |
} | |
; | |
_.iterator = function iterator_2(){ | |
return new Collections$UnmodifiableCollectionIterator(this.coll.iterator()); | |
} | |
; | |
_.size_1 = function size_5(){ | |
return this.coll.size_1(); | |
} | |
; | |
_.toString$ = function toString_12(){ | |
return this.coll.toString$(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableCollection_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollection', 46, Ljava_lang_Object_2_classLit); | |
function Collections$UnmodifiableCollectionIterator(it){ | |
this.it = it; | |
} | |
defineClass(72, 1, {}, Collections$UnmodifiableCollectionIterator); | |
_.hasNext = function hasNext_1(){ | |
return this.it.hasNext(); | |
} | |
; | |
_.next = function next_1(){ | |
return this.it.next(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollectionIterator', 72, Ljava_lang_Object_2_classLit); | |
function Collections$UnmodifiableList(list){ | |
Collections$UnmodifiableCollection.call(this, list); | |
this.list = list; | |
} | |
defineClass(47, 46, {19:1}, Collections$UnmodifiableList); | |
_.equals$ = function equals_15(o){ | |
return this.list.equals$(o); | |
} | |
; | |
_.get_1 = function get_3(index_0){ | |
return this.list.get_1(index_0); | |
} | |
; | |
_.hashCode$ = function hashCode_13(){ | |
return this.list.hashCode$(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableList', 47, Ljava_util_Collections$UnmodifiableCollection_2_classLit); | |
function Collections$UnmodifiableMap(map_0){ | |
this.map_0 = map_0; | |
} | |
defineClass(67, 1, {39:1}, Collections$UnmodifiableMap); | |
_.entrySet_0 = function entrySet_0(){ | |
!this.entrySet && (this.entrySet = new Collections$UnmodifiableMap$UnmodifiableEntrySet(this.map_0.entrySet_0())); | |
return this.entrySet; | |
} | |
; | |
_.equals$ = function equals_16(o){ | |
return this.map_0.equals$(o); | |
} | |
; | |
_.get_0 = function get_4(key){ | |
return this.map_0.get_0(key); | |
} | |
; | |
_.hashCode$ = function hashCode_14(){ | |
return this.map_0.hashCode$(); | |
} | |
; | |
_.put = function put_1(key, value_0){ | |
throw new UnsupportedOperationException; | |
} | |
; | |
_.size_1 = function size_6(){ | |
return this.map_0.size_1(); | |
} | |
; | |
_.toString$ = function toString_13(){ | |
return this.map_0.toString$(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableMap_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap', 67, Ljava_lang_Object_2_classLit); | |
defineClass(68, 46, $intern_7); | |
_.equals$ = function equals_17(o){ | |
return this.coll.equals$(o); | |
} | |
; | |
_.hashCode$ = function hashCode_15(){ | |
return this.coll.hashCode$(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableSet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableSet', 68, Ljava_util_Collections$UnmodifiableCollection_2_classLit); | |
function Collections$UnmodifiableMap$UnmodifiableEntrySet(s){ | |
Collections$UnmodifiableCollection.call(this, s); | |
} | |
defineClass(69, 68, $intern_7, Collections$UnmodifiableMap$UnmodifiableEntrySet); | |
_.iterator = function iterator_3(){ | |
var it; | |
it = this.coll.iterator(); | |
return new Collections$UnmodifiableMap$UnmodifiableEntrySet$1(it); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet', 69, Ljava_util_Collections$UnmodifiableSet_2_classLit); | |
function Collections$UnmodifiableMap$UnmodifiableEntrySet$1(val$it){ | |
this.val$it2 = val$it; | |
} | |
defineClass(73, 1, {}, Collections$UnmodifiableMap$UnmodifiableEntrySet$1); | |
_.hasNext = function hasNext_2(){ | |
return this.val$it2.hasNext(); | |
} | |
; | |
_.next = function next_2(){ | |
return new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(this.val$it2.next()); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/1', 73, Ljava_lang_Object_2_classLit); | |
function Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(entry){ | |
this.entry = entry; | |
} | |
defineClass(70, 1, {9:1}, Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry); | |
_.equals$ = function equals_18(o){ | |
return this.entry.equals$(o); | |
} | |
; | |
_.getKey = function getKey_0(){ | |
return this.entry.getKey(); | |
} | |
; | |
_.getValue = function getValue_0(){ | |
return this.entry.getValue(); | |
} | |
; | |
_.hashCode$ = function hashCode_16(){ | |
return this.entry.hashCode$(); | |
} | |
; | |
_.setValue = function setValue_0(value_0){ | |
throw new UnsupportedOperationException; | |
} | |
; | |
_.toString$ = function toString_14(){ | |
return this.entry.toString$(); | |
} | |
; | |
var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry', 70, Ljava_lang_Object_2_classLit); | |
function Collections$UnmodifiableRandomAccessList(list){ | |
Collections$UnmodifiableList.call(this, list); | |
} | |
defineClass(71, 47, {19:1, 41:1}, Collections$UnmodifiableRandomAccessList); | |
var Ljava_util_Collections$UnmodifiableRandomAccessList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableRandomAccessList', 71, Ljava_util_Collections$UnmodifiableList_2_classLit); | |
function checkStructuralChange(host, iterator){ | |
if (iterator._gwt_modCount != host._gwt_modCount) { | |
throw new ConcurrentModificationException; | |
} | |
} | |
function setModCount(o, modCount){ | |
o._gwt_modCount = modCount; | |
} | |
function structureChanged(map_0){ | |
var modCount; | |
modCount = map_0._gwt_modCount | 0; | |
setModCount(map_0, modCount + 1); | |
} | |
function ConcurrentModificationException(){ | |
RuntimeException.call(this); | |
} | |
defineClass(117, 6, $intern_0, ConcurrentModificationException); | |
var Ljava_util_ConcurrentModificationException_2_classLit = createForClass('java.util', 'ConcurrentModificationException', 117, Ljava_lang_RuntimeException_2_classLit); | |
function $toString_0(this$static){ | |
var hourOffset, minuteOffset, offset; | |
offset = -this$static.jsdate.getTimezoneOffset(); | |
hourOffset = (offset >= 0?'+':'') + ~~(offset / 60); | |
minuteOffset = (offset < 0?-offset:offset) % 60 < 10?'0' + (offset < 0?-offset:offset) % 60:'' + (offset < 0?-offset:offset) % 60; | |
return ($clinit_Date$StringData() , DAYS)[this$static.jsdate.getDay()] + ' ' + MONTHS[this$static.jsdate.getMonth()] + ' ' + padTwo(this$static.jsdate.getDate()) + ' ' + padTwo(this$static.jsdate.getHours()) + ':' + padTwo(this$static.jsdate.getMinutes()) + ':' + padTwo(this$static.jsdate.getSeconds()) + ' GMT' + hourOffset + minuteOffset + ' ' + this$static.jsdate.getFullYear(); | |
} | |
function Date_0(date){ | |
this.jsdate = create(toDouble(date)); | |
} | |
function padTwo(number){ | |
return number < 10?'0' + number:'' + number; | |
} | |
defineClass(37, 1, {3:1, 38:1, 37:1}, Date_0); | |
_.equals$ = function equals_19(obj){ | |
return instanceOf(obj, 37) && eq(fromDouble(this.jsdate.getTime()), fromDouble(obj.jsdate.getTime())); | |
} | |
; | |
_.hashCode$ = function hashCode_17(){ | |
var time; | |
time = fromDouble(this.jsdate.getTime()); | |
return toInt(xor(time, shru(time, 32))); | |
} | |
; | |
_.toString$ = function toString_15(){ | |
return $toString_0(this); | |
} | |
; | |
var Ljava_util_Date_2_classLit = createForClass('java.util', 'Date', 37, Ljava_lang_Object_2_classLit); | |
function $clinit_Date$StringData(){ | |
$clinit_Date$StringData = emptyMethod; | |
DAYS = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_1, 2, 4, ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']); | |
MONTHS = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_1, 2, 4, ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']); | |
} | |
var DAYS, MONTHS; | |
function $equals_0(value1, value2){ | |
return maskUndefined(value1) === maskUndefined(value2) || value1 != null && equals_Ljava_lang_Object__Z__devirtual$(value1, value2); | |
} | |
function $getHashCode(key){ | |
var hashCode; | |
hashCode = hashCode__I__devirtual$(key); | |
return ~~hashCode; | |
} | |
function HashMap(){ | |
$clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory(); | |
this.hashCodeMap = delegate.createJsHashCodeMap(); | |
this.hashCodeMap.host = this; | |
this.stringMap = delegate.createJsStringMap(); | |
this.stringMap.host = this; | |
this.size_0 = 0; | |
structureChanged(this); | |
} | |
defineClass(7, 59, {3:1, 39:1}, HashMap); | |
var Ljava_util_HashMap_2_classLit = createForClass('java.util', 'HashMap', 7, Ljava_util_AbstractHashMap_2_classLit); | |
function $ensureChain(this$static, hashCode){ | |
var map_0 = this$static.backingMap; | |
return map_0[hashCode] || (map_0[hashCode] = []); | |
} | |
function $getChain(this$static, hashCode){ | |
return this$static.backingMap[hashCode]; | |
} | |
function $getChainOrEmpty(this$static, hashCode){ | |
return this$static.backingMap[hashCode] || []; | |
} | |
function $getEntry(this$static, key){ | |
var entry, entry$array, entry$index, entry$max; | |
for (entry$array = $getChainOrEmpty(this$static, key == null?'0':'' + $getHashCode(key)) , entry$index = 0 , entry$max = entry$array.length; entry$index < entry$max; ++entry$index) { | |
entry = entry$array[entry$index]; | |
if ($equals_0(key, entry.getKey())) { | |
return entry; | |
} | |
} | |
return null; | |
} | |
function $keys(this$static){ | |
return Object.getOwnPropertyNames(this$static.backingMap); | |
} | |
function $put_0(this$static, key, value_0){ | |
var chain, entry, entry$index, entry$max; | |
chain = $ensureChain(this$static, !key?'0':'' + $getHashCode(key)); | |
for (entry$index = 0 , entry$max = chain.length; entry$index < entry$max; ++entry$index) { | |
entry = chain[entry$index]; | |
if ($equals_0(key, entry.getKey())) { | |
return entry.setValue(value_0); | |
} | |
} | |
chain[chain.length] = new AbstractMap$SimpleEntry(key, value_0); | |
$elementAdded(this$static.host); | |
return null; | |
} | |
function InternalJsHashCodeMap(){ | |
this.backingMap = this.createMap(); | |
} | |
defineClass(49, 1, {}, InternalJsHashCodeMap); | |
_.createMap = function createMap(){ | |
return Object.create(null); | |
} | |
; | |
_.entries = function entries(){ | |
return new InternalJsHashCodeMap$1(this); | |
} | |
; | |
var Ljava_util_InternalJsHashCodeMap_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap', 49, Ljava_lang_Object_2_classLit); | |
function $hasNext_0(this$static){ | |
if (this$static.itemIndex < this$static.chain.length) { | |
return true; | |
} | |
if (this$static.chainIndex < this$static.keys_0.length - 1) { | |
this$static.chain = $getChain(this$static.this$01, this$static.keys_0[++this$static.chainIndex]); | |
this$static.itemIndex = 0; | |
return true; | |
} | |
return false; | |
} | |
function InternalJsHashCodeMap$1(this$0){ | |
this.this$01 = this$0; | |
this.keys_0 = $keys(this.this$01); | |
this.chain = initDim(Ljava_util_Map$Entry_2_classLit, $intern_1, 9, 0, 0, 1); | |
} | |
defineClass(96, 1, {}, InternalJsHashCodeMap$1); | |
_.hasNext = function hasNext_3(){ | |
return $hasNext_0(this); | |
} | |
; | |
_.next = function next_3(){ | |
return checkCriticalElement($hasNext_0(this)) , this.lastEntry = this.chain[this.itemIndex++] , this.lastEntry; | |
} | |
; | |
_.chainIndex = -1; | |
_.itemIndex = 0; | |
_.lastEntry = null; | |
var Ljava_util_InternalJsHashCodeMap$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/1', 96, Ljava_lang_Object_2_classLit); | |
function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy(){ | |
InternalJsHashCodeMap.call(this); | |
} | |
defineClass(94, 49, {}, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy); | |
_.createMap = function createMap_0(){ | |
return {}; | |
} | |
; | |
_.entries = function entries_0(){ | |
var list = this.newEntryList(); | |
var map_0 = this.backingMap; | |
for (var hashCode in map_0) { | |
if (hashCode == parseInt(hashCode, 10)) { | |
var array = map_0[hashCode]; | |
for (var i_0 = 0, c = array.length; i_0 < c; ++i_0) { | |
list.add_1(array[i_0]); | |
} | |
} | |
} | |
return list.iterator(); | |
} | |
; | |
_.newEntryList = function newEntryList(){ | |
return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1; | |
} | |
; | |
var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy', 94, Ljava_util_InternalJsHashCodeMap_2_classLit); | |
function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1(){ | |
ArrayList.call(this); | |
} | |
defineClass(95, 16, $intern_8, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1); | |
var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy/1', 95, Ljava_util_ArrayList_2_classLit); | |
function InternalJsMapFactory(){ | |
} | |
defineClass(91, 1, {}, InternalJsMapFactory); | |
_.createJsHashCodeMap = function createJsHashCodeMap(){ | |
return new InternalJsHashCodeMap; | |
} | |
; | |
_.createJsStringMap = function createJsStringMap(){ | |
return new InternalJsStringMap; | |
} | |
; | |
var Ljava_util_InternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory', 91, Ljava_lang_Object_2_classLit); | |
function $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory(){ | |
$clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory = emptyMethod; | |
delegate = createFactory(); | |
} | |
function canHandleProto(){ | |
var protoField = '__proto__'; | |
var map_0 = Object.create(null); | |
if (map_0[protoField] !== undefined) { | |
return false; | |
} | |
var keys_0 = Object.getOwnPropertyNames(map_0); | |
if (keys_0.length != 0) { | |
return false; | |
} | |
map_0[protoField] = 42; | |
if (map_0[protoField] !== 42) { | |
return false; | |
} | |
return true; | |
} | |
function createFactory(){ | |
var map_0; | |
if (Object.create && Object.getOwnPropertyNames && canHandleProto()) { | |
return (map_0 = Object.create(null) , map_0['__proto__'] = 42 , Object.getOwnPropertyNames(map_0).length == 0)?new InternalJsMapFactory$KeysWorkaroundJsMapFactory:new InternalJsMapFactory; | |
} | |
return new InternalJsMapFactory$LegacyInternalJsMapFactory; | |
} | |
var delegate; | |
function InternalJsMapFactory$KeysWorkaroundJsMapFactory(){ | |
} | |
defineClass(93, 91, {}, InternalJsMapFactory$KeysWorkaroundJsMapFactory); | |
_.createJsStringMap = function createJsStringMap_0(){ | |
return new InternalJsStringMap$InternalJsStringMapWithKeysWorkaround; | |
} | |
; | |
var Ljava_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/KeysWorkaroundJsMapFactory', 93, Ljava_util_InternalJsMapFactory_2_classLit); | |
function InternalJsMapFactory$LegacyInternalJsMapFactory(){ | |
} | |
defineClass(92, 91, {}, InternalJsMapFactory$LegacyInternalJsMapFactory); | |
_.createJsHashCodeMap = function createJsHashCodeMap_0(){ | |
return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy; | |
} | |
; | |
_.createJsStringMap = function createJsStringMap_1(){ | |
return new InternalJsStringMap$InternalJsStringMapLegacy; | |
} | |
; | |
var Ljava_util_InternalJsMapFactory$LegacyInternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/LegacyInternalJsMapFactory', 92, Ljava_util_InternalJsMapFactory_2_classLit); | |
function $keys_0(this$static){ | |
return Object.getOwnPropertyNames(this$static.backingMap); | |
} | |
function $put_1(this$static, key, value_0){ | |
var oldValue; | |
oldValue = this$static.backingMap[key]; | |
oldValue === undefined && $elementAdded(this$static.host); | |
$set(this$static, key, value_0 === undefined?null:value_0); | |
return oldValue; | |
} | |
function $set(this$static, key, value_0){ | |
this$static.backingMap[key] = value_0; | |
} | |
function InternalJsStringMap(){ | |
this.backingMap = this.createMap_0(); | |
} | |
defineClass(29, 1, {}, InternalJsStringMap); | |
_.createMap_0 = function createMap_1(){ | |
return Object.create(null); | |
} | |
; | |
_.entries = function entries_1(){ | |
var keys_0; | |
keys_0 = this.keys_1(); | |
return new InternalJsStringMap$1(this, keys_0); | |
} | |
; | |
_.get_2 = function get_5(key){ | |
return this.backingMap[key]; | |
} | |
; | |
_.keys_1 = function keys_1(){ | |
return $keys_0(this); | |
} | |
; | |
_.newMapEntry = function newMapEntry(key){ | |
return new InternalJsStringMap$2(this, key); | |
} | |
; | |
_.put_0 = function put_2(key, value_0){ | |
return $put_1(this, key, value_0); | |
} | |
; | |
var Ljava_util_InternalJsStringMap_2_classLit = createForClass('java.util', 'InternalJsStringMap', 29, Ljava_lang_Object_2_classLit); | |
function InternalJsStringMap$1(this$0, val$keys){ | |
this.this$01 = this$0; | |
this.val$keys2 = val$keys; | |
} | |
defineClass(77, 1, {}, InternalJsStringMap$1); | |
_.hasNext = function hasNext_4(){ | |
return this.i < this.val$keys2.length; | |
} | |
; | |
_.next = function next_4(){ | |
return checkCriticalElement(this.i < this.val$keys2.length) , new InternalJsStringMap$2(this.this$01, this.val$keys2[this.i++]); | |
} | |
; | |
_.i = 0; | |
var Ljava_util_InternalJsStringMap$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/1', 77, Ljava_lang_Object_2_classLit); | |
function InternalJsStringMap$2(this$0, val$key){ | |
this.this$01 = this$0; | |
this.val$key2 = val$key; | |
} | |
defineClass(48, 138, {9:1}, InternalJsStringMap$2); | |
_.getKey = function getKey_1(){ | |
return this.val$key2; | |
} | |
; | |
_.getValue = function getValue_1(){ | |
return this.this$01.get_2(this.val$key2); | |
} | |
; | |
_.setValue = function setValue_1(object){ | |
return this.this$01.put_0(this.val$key2, object); | |
} | |
; | |
var Ljava_util_InternalJsStringMap$2_2_classLit = createForClass('java.util', 'InternalJsStringMap/2', 48, Ljava_util_AbstractMapEntry_2_classLit); | |
function InternalJsStringMap$InternalJsStringMapLegacy(){ | |
InternalJsStringMap.call(this); | |
} | |
defineClass(74, 29, {}, InternalJsStringMap$InternalJsStringMapLegacy); | |
_.createMap_0 = function createMap_2(){ | |
return {}; | |
} | |
; | |
_.entries = function entries_2(){ | |
var list = this.newEntryList_0(); | |
for (var key in this.backingMap) { | |
if (key.charCodeAt(0) == 58) { | |
var entry = this.newMapEntry(key.substring(1)); | |
list.add_1(entry); | |
} | |
} | |
return list.iterator(); | |
} | |
; | |
_.get_2 = function get_6(key){ | |
return this.backingMap[':' + key]; | |
} | |
; | |
_.newEntryList_0 = function newEntryList_0(){ | |
return new InternalJsStringMap$InternalJsStringMapLegacy$1; | |
} | |
; | |
_.put_0 = function put_3(key, value_0){ | |
return $put_1(this, ':' + key, value_0); | |
} | |
; | |
var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy', 74, Ljava_util_InternalJsStringMap_2_classLit); | |
function InternalJsStringMap$InternalJsStringMapLegacy$1(){ | |
ArrayList.call(this); | |
} | |
defineClass(76, 16, $intern_8, InternalJsStringMap$InternalJsStringMapLegacy$1); | |
var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy/1', 76, Ljava_util_ArrayList_2_classLit); | |
function InternalJsStringMap$InternalJsStringMapWithKeysWorkaround(){ | |
InternalJsStringMap.call(this); | |
} | |
defineClass(75, 29, {}, InternalJsStringMap$InternalJsStringMapWithKeysWorkaround); | |
_.keys_1 = function keys_2(){ | |
var keys_0; | |
keys_0 = $keys_0(this); | |
!(this.backingMap['__proto__'] === undefined) && (keys_0[keys_0.length] = '__proto__'); | |
return keys_0; | |
} | |
; | |
var Ljava_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapWithKeysWorkaround', 75, Ljava_util_InternalJsStringMap_2_classLit); | |
var Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry'); | |
function NoSuchElementException(){ | |
RuntimeException.call(this); | |
} | |
defineClass(118, 6, $intern_0, NoSuchElementException); | |
var Ljava_util_NoSuchElementException_2_classLit = createForClass('java.util', 'NoSuchElementException', 118, Ljava_lang_RuntimeException_2_classLit); | |
function equals_20(a, b){ | |
return maskUndefined(a) === maskUndefined(b) || a != null && equals_Ljava_lang_Object__Z__devirtual$(a, b); | |
} | |
function hashCode_18(o){ | |
return o != null?hashCode__I__devirtual$(o):0; | |
} | |
function $clinit_Level(){ | |
$clinit_Level = emptyMethod; | |
ALL = new Level$LevelAll; | |
CONFIG = new Level$LevelConfig; | |
FINE = new Level$LevelFine; | |
FINER = new Level$LevelFiner; | |
FINEST = new Level$LevelFinest; | |
INFO = new Level$LevelInfo; | |
OFF = new Level$LevelOff; | |
SEVERE = new Level$LevelSevere; | |
WARNING = new Level$LevelWarning; | |
} | |
defineClass(143, 1, $intern_1); | |
_.getName = function getName_0(){ | |
return 'DUMMY'; | |
} | |
; | |
_.intValue = function intValue(){ | |
return -1; | |
} | |
; | |
_.toString$ = function toString_16(){ | |
return this.getName(); | |
} | |
; | |
var ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING; | |
var Ljava_util_logging_Level_2_classLit = createForClass('java.util.logging', 'Level', 143, Ljava_lang_Object_2_classLit); | |
function Level$LevelAll(){ | |
} | |
defineClass(102, 143, $intern_1, Level$LevelAll); | |
_.getName = function getName_1(){ | |
return 'ALL'; | |
} | |
; | |
_.intValue = function intValue_0(){ | |
return -2147483648; | |
} | |
; | |
var Ljava_util_logging_Level$LevelAll_2_classLit = createForClass('java.util.logging', 'Level/LevelAll', 102, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelConfig(){ | |
} | |
defineClass(103, 143, $intern_1, Level$LevelConfig); | |
_.getName = function getName_2(){ | |
return 'CONFIG'; | |
} | |
; | |
_.intValue = function intValue_1(){ | |
return 700; | |
} | |
; | |
var Ljava_util_logging_Level$LevelConfig_2_classLit = createForClass('java.util.logging', 'Level/LevelConfig', 103, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelFine(){ | |
} | |
defineClass(104, 143, $intern_1, Level$LevelFine); | |
_.getName = function getName_3(){ | |
return 'FINE'; | |
} | |
; | |
_.intValue = function intValue_2(){ | |
return 500; | |
} | |
; | |
var Ljava_util_logging_Level$LevelFine_2_classLit = createForClass('java.util.logging', 'Level/LevelFine', 104, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelFiner(){ | |
} | |
defineClass(105, 143, $intern_1, Level$LevelFiner); | |
_.getName = function getName_4(){ | |
return 'FINER'; | |
} | |
; | |
_.intValue = function intValue_3(){ | |
return 400; | |
} | |
; | |
var Ljava_util_logging_Level$LevelFiner_2_classLit = createForClass('java.util.logging', 'Level/LevelFiner', 105, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelFinest(){ | |
} | |
defineClass(106, 143, $intern_1, Level$LevelFinest); | |
_.getName = function getName_5(){ | |
return 'FINEST'; | |
} | |
; | |
_.intValue = function intValue_4(){ | |
return 300; | |
} | |
; | |
var Ljava_util_logging_Level$LevelFinest_2_classLit = createForClass('java.util.logging', 'Level/LevelFinest', 106, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelInfo(){ | |
} | |
defineClass(107, 143, $intern_1, Level$LevelInfo); | |
_.getName = function getName_6(){ | |
return 'INFO'; | |
} | |
; | |
_.intValue = function intValue_5(){ | |
return 800; | |
} | |
; | |
var Ljava_util_logging_Level$LevelInfo_2_classLit = createForClass('java.util.logging', 'Level/LevelInfo', 107, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelOff(){ | |
} | |
defineClass(108, 143, $intern_1, Level$LevelOff); | |
_.getName = function getName_7(){ | |
return 'OFF'; | |
} | |
; | |
_.intValue = function intValue_6(){ | |
return 2147483647; | |
} | |
; | |
var Ljava_util_logging_Level$LevelOff_2_classLit = createForClass('java.util.logging', 'Level/LevelOff', 108, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelSevere(){ | |
} | |
defineClass(109, 143, $intern_1, Level$LevelSevere); | |
_.getName = function getName_8(){ | |
return 'SEVERE'; | |
} | |
; | |
_.intValue = function intValue_7(){ | |
return 1000; | |
} | |
; | |
var Ljava_util_logging_Level$LevelSevere_2_classLit = createForClass('java.util.logging', 'Level/LevelSevere', 109, Ljava_util_logging_Level_2_classLit); | |
function Level$LevelWarning(){ | |
} | |
defineClass(110, 143, $intern_1, Level$LevelWarning); | |
_.getName = function getName_9(){ | |
return 'WARNING'; | |
} | |
; | |
_.intValue = function intValue_8(){ | |
return 900; | |
} | |
; | |
var Ljava_util_logging_Level$LevelWarning_2_classLit = createForClass('java.util.logging', 'Level/LevelWarning', 110, Ljava_util_logging_Level_2_classLit); | |
function $addLoggerImpl(this$static, logger){ | |
$putStringValue(this$static.loggerMap, logger.impl.name_0, logger); | |
} | |
function $ensureLogger(this$static, name_0){ | |
var logger, newLogger, name_1, parentName; | |
logger = $getStringValue(this$static.loggerMap, name_0); | |
if (!logger) { | |
newLogger = new Logger(name_0); | |
name_1 = newLogger.impl.name_0; | |
parentName = __substr(name_1, 0, max_0($lastIndexOf(name_1, fromCodePoint(46)))); | |
$setParent_0(newLogger, $ensureLogger(this$static, parentName)); | |
$putStringValue(this$static.loggerMap, newLogger.impl.name_0, newLogger); | |
return newLogger; | |
} | |
return logger; | |
} | |
function LogManager(){ | |
this.loggerMap = new HashMap; | |
} | |
function getLogManager(){ | |
var rootLogger; | |
if (!singleton) { | |
singleton = new LogManager; | |
rootLogger = new Logger(''); | |
$setLevel_1(rootLogger, ($clinit_Level() , INFO)); | |
$addLoggerImpl(singleton, rootLogger); | |
} | |
return singleton; | |
} | |
defineClass(90, 1, {}, LogManager); | |
var singleton; | |
var Ljava_util_logging_LogManager_2_classLit = createForClass('java.util.logging', 'LogManager', 90, Ljava_lang_Object_2_classLit); | |
function $setLoggerName(this$static, newName){ | |
this$static.loggerName = newName; | |
} | |
function LogRecord(msg){ | |
this.msg = msg; | |
this.millis = fromDouble(now_1()); | |
} | |
defineClass(114, 1, $intern_1, LogRecord); | |
_.loggerName = ''; | |
_.millis = {l:0, m:0, h:0}; | |
_.thrown = null; | |
var Ljava_util_logging_LogRecord_2_classLit = createForClass('java.util.logging', 'LogRecord', 114, Ljava_lang_Object_2_classLit); | |
function $log_1(this$static, msg, thrown){ | |
$log(this$static.impl, msg, thrown); | |
} | |
function $setLevel_1(this$static, newLevel){ | |
$setLevel_0(this$static.impl, newLevel); | |
} | |
function $setParent_0(this$static, newParent){ | |
$setParent(this$static.impl, newParent); | |
} | |
function Logger(name_0){ | |
this.impl = new LoggerImplRegular; | |
$setName(this.impl, name_0); | |
} | |
function getLogger(name_0){ | |
new LoggerImplRegular; | |
return $ensureLogger(getLogManager(), name_0); | |
} | |
defineClass(44, 1, {}, Logger); | |
var Ljava_util_logging_Logger_2_classLit = createForClass('java.util.logging', 'Logger', 44, Ljava_lang_Object_2_classLit); | |
function ExportAllExporterImpl(){ | |
new JsAuthErrorClosureExporterImpl; | |
new JsAuthSuccessClosureExporterImpl; | |
new JsEventBusCallbackExporterImpl; | |
new JsMessagesBindClosureExporterImpl; | |
new JsBindedValueCallbackExporterImpl; | |
new JsDisplayListCallbackExporterImpl; | |
} | |
defineClass(79, 1, {}, ExportAllExporterImpl); | |
var Lorg_timepedia_exporter_client_ExportAllExporterImpl_2_classLit = createForClass('org.timepedia.exporter.client', 'ExportAllExporterImpl', 79, Ljava_lang_Object_2_classLit); | |
var Lorg_timepedia_exporter_client_Exportable_2_classLit = createForInterface('org.timepedia.exporter.client', 'Exportable'); | |
defineClass(139, 1, {}); | |
var Lorg_timepedia_exporter_client_ExporterBaseImpl_2_classLit = createForClass('org.timepedia.exporter.client', 'ExporterBaseImpl', 139, Ljava_lang_Object_2_classLit); | |
function $addTypeMap(this$static, type_0, exportedConstructor){ | |
$put(this$static.typeMap, type_0, exportedConstructor); | |
} | |
function $computeVarArguments(len, args){ | |
var ret = []; | |
for (i = 0; i < len - 1; i++) | |
ret.push(args[i]); | |
var alen = args.length; | |
var p_0 = len - 1; | |
if (alen >= len && Object.prototype.toString.apply(args[p_0]) === '[object Array]') { | |
ret.push(args[p_0]); | |
} | |
else { | |
var a = []; | |
for (i = p_0; i < alen; i++) | |
a.push(args[i]); | |
ret.push(a); | |
} | |
return ret; | |
} | |
function $declarePackage(qualifiedExportName){ | |
var i_0, l, o, prefix, superPackages; | |
superPackages = $split(qualifiedExportName, '\\.', 0); | |
prefix = $wnd; | |
i_0 = 0; | |
for (l = superPackages.length - 1; i_0 < l; i_0++) { | |
if (!$equals(superPackages[i_0], 'client')) { | |
prefix[superPackages[i_0]] || (prefix[superPackages[i_0]] = {}); | |
prefix = getProp(prefix, superPackages[i_0]); | |
} | |
} | |
o = getProp(prefix, superPackages[i_0]); | |
return o; | |
} | |
function $getMaxArity(jsoMap, meth){ | |
var o = jsoMap[meth]; | |
var r = 0; | |
for (k in o) | |
r = Math.max(r, k); | |
return r; | |
} | |
function $runDispatch(this$static, instance, clazz, meth, arguments_0, isStatic, isVarArgs){ | |
var args, dmap, i_0, l, ret; | |
dmap = isStatic?this$static.staticDispatchMap:this$static.dispatchMap; | |
if (isVarArgs) { | |
for (l = $getMaxArity(getEntryValueOrNull($getEntry(dmap.hashCodeMap, clazz)), meth) , i_0 = l; i_0 >= 1; i_0--) { | |
args = $computeVarArguments(i_0, arguments_0); | |
ret = $runDispatch_0(instance, dmap, clazz, meth, args); | |
if (!ret) { | |
args = $unshift(instance, args); | |
ret = $runDispatch_0(instance, dmap, clazz, meth, args); | |
} | |
if (ret) { | |
return ret; | |
} | |
} | |
} | |
else { | |
ret = $runDispatch_0(instance, dmap, clazz, meth, arguments_0); | |
if (!ret) { | |
arguments_0 = $unshift(instance, arguments_0); | |
ret = $runDispatch_0(instance, dmap, clazz, meth, arguments_0); | |
} | |
if (ret) { | |
return ret; | |
} | |
} | |
throw new RuntimeException_0("Can't find exported method for given arguments: " + meth + ':' + arguments_0.length + '\n' + ''); | |
} | |
function $runDispatch_0(instance, dmap, clazz, meth, arguments_0){ | |
var aFunc, i_0, jFunc, l, r, sig, sigs, wFunc, x_0; | |
sigs = getEntryValueOrNull($getEntry(dmap.hashCodeMap, clazz))[meth][arguments_0.length]; | |
jFunc = null; | |
wFunc = null; | |
aFunc = null; | |
for (i_0 = 0 , l = !sigs?0:sigs.length; i_0 < l; i_0++) { | |
sig = sigs[i_0]; | |
if ($matches(sig, arguments_0)) { | |
jFunc = sig[0]; | |
wFunc = sig[1]; | |
aFunc = sig[2]; | |
break; | |
} | |
} | |
if (!jFunc) { | |
return null; | |
} | |
else { | |
arguments_0 = aFunc?aFunc(instance, arguments_0):arguments_0; | |
r = (x_0 = jFunc.apply(instance, arguments_0) , [wFunc?wFunc(x_0):x_0]); | |
return r; | |
} | |
} | |
function $unshift(o, arr){ | |
var ret = [o]; | |
for (i = 0; i < arr.length; i++) | |
ret.push(arr[i]); | |
return ret; | |
} | |
function ExporterBaseActual(){ | |
this.typeMap = new HashMap; | |
this.dispatchMap = new HashMap; | |
this.staticDispatchMap = new HashMap; | |
} | |
function getProp(jso, key){ | |
return jso != null?jso[key]:null; | |
} | |
function isAssignableToClass(o, clazz){ | |
var sup_0; | |
if (Ljava_lang_Object_2_classLit == clazz) { | |
return true; | |
} | |
if (Lorg_timepedia_exporter_client_Exportable_2_classLit == clazz && instanceOf(o, 18)) { | |
return true; | |
} | |
if (o != null) { | |
for (sup_0 = getClass__Ljava_lang_Class___devirtual$(o); !!sup_0 && sup_0 != Ljava_lang_Object_2_classLit; sup_0 = sup_0.superclass) { | |
if (sup_0 == clazz) { | |
return true; | |
} | |
} | |
} | |
return false; | |
} | |
function putObject(o, index_0, val){ | |
o[index_0] = val; | |
} | |
defineClass(78, 139, {}, ExporterBaseActual); | |
var Lorg_timepedia_exporter_client_ExporterBaseActual_2_classLit = createForClass('org.timepedia.exporter.client', 'ExporterBaseActual', 78, Lorg_timepedia_exporter_client_ExporterBaseImpl_2_classLit); | |
function $matches(this$static, arguments_0){ | |
var argJsType, gwt, i_0, isBoolean, isClass, isNumber, isPrimitive, jsType, l, o; | |
for (i_0 = 0 , l = arguments_0.length; i_0 < l; i_0++) { | |
jsType = this$static[i_0 + 3]; | |
argJsType = typeof_$(arguments_0, i_0); | |
if ($equals(argJsType, jsType)) { | |
continue; | |
} | |
if ($equals('string', jsType) && $equals('null', argJsType)) { | |
continue; | |
} | |
isNumber = $equals('number', argJsType); | |
isBoolean = $equals('boolean', argJsType); | |
if (maskUndefined(Ljava_lang_Object_2_classLit) === maskUndefined(jsType)) { | |
isNumber && putObject(arguments_0, i_0, new Double(arguments_0[i_0])); | |
isBoolean && (arguments_0[i_0] = ($clinit_Boolean() , arguments_0[i_0]?TRUE:FALSE) , undefined); | |
continue; | |
} | |
isPrimitive = isNumber || isBoolean; | |
isClass = !isPrimitive && jsType != null && getClass__Ljava_lang_Class___devirtual$(jsType) == Ljava_lang_Class_2_classLit; | |
if (isClass) { | |
o = arguments_0[i_0]; | |
if (o == null || isAssignableToClass(o, jsType)) { | |
continue; | |
} | |
if (instanceOfJso(o)) { | |
gwt = o && o.g?o.g:null; | |
if (gwt != null) { | |
if (isAssignableToClass(gwt, jsType)) { | |
putObject(arguments_0, i_0, gwt); | |
continue; | |
} | |
} | |
} | |
} | |
if ($equals('object', jsType) && !isNumber && !isBoolean) { | |
continue; | |
} | |
return false; | |
} | |
return true; | |
} | |
function typeof_$(args, i_0){ | |
var o = args[i_0]; | |
var t = o == null?'null':typeof o; | |
if (t == 'object') { | |
return Object.prototype.toString.call(o) == '[object Array]' || typeof o.length == 'number'?'array':t; | |
} | |
return t; | |
} | |
function $clinit_ExporterUtil(){ | |
$clinit_ExporterUtil = emptyMethod; | |
impl_2 = new ExporterBaseActual; | |
} | |
function addTypeMap(type_0, exportedConstructor){ | |
$clinit_ExporterUtil(); | |
$addTypeMap(impl_2, type_0, exportedConstructor); | |
} | |
function declarePackage(qualifiedExportName){ | |
$clinit_ExporterUtil(); | |
return $declarePackage(qualifiedExportName); | |
} | |
function isAssignableToInstance(clazz, args){ | |
var o; | |
$clinit_ExporterUtil(); | |
return o = args && args[0] && (typeof args[0] == 'object' || typeof args[0] == 'function')?args[0]:null , isAssignableToClass(o, clazz); | |
} | |
function runDispatch(instance, clazz, meth, arguments_0, isStatic, isVarArgs){ | |
$clinit_ExporterUtil(); | |
return $runDispatch(impl_2, instance, clazz, meth, arguments_0, isStatic, isVarArgs); | |
} | |
function setWrapper(instance, wrapper){ | |
$clinit_ExporterUtil(); | |
instance['__gwtex_wrap'] = wrapper; | |
} | |
var impl_2; | |
var Lcom_google_gwt_lang_CollapsedPropertyHolder_2_classLit = createForClass('com.google.gwt.lang', 'CollapsedPropertyHolder', 123, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_JavaClassHierarchySetupUtil_2_classLit = createForClass('com.google.gwt.lang', 'JavaClassHierarchySetupUtil', 125, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass('com.google.gwt.lang', 'LongLibBase/LongEmul', null, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_ModuleUtils_2_classLit = createForClass('com.google.gwt.lang', 'ModuleUtils', 128, Ljava_lang_Object_2_classLit), Lorg_timepedia_exporter_client_Exportable_2_classLit = createForInterface('org.timepedia.exporter.client', 'Exportable'), Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry'), Lim_actor_core_js_entity_JsAuthErrorClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsAuthErrorClosure'), Lim_actor_core_js_entity_JsAuthSuccessClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsAuthSuccessClosure'), Lim_actor_core_js_entity_JsEventBusCallback_2_classLit = createForInterface('im.actor.core.js.entity', 'JsEventBusCallback'), Lim_actor_core_js_entity_JsMessagesBindClosure_2_classLit = createForInterface('im.actor.core.js.entity', 'JsMessagesBindClosure'), Lim_actor_core_js_modules_JsBindedValueCallback_2_classLit = createForInterface('im.actor.core.js.modules', 'JsBindedValueCallback'), Lim_actor_runtime_js_mvvm_JsDisplayListCallback_2_classLit = createForInterface('im.actor.runtime.js.mvvm', 'JsDisplayListCallback'); | |
var $entry = registerEntry(); | |
var gwtOnLoad = gwtOnLoad = gwtOnLoad_0; | |
addInitFunctions(init); | |
setGwtProperty('permProps', [[['locale', 'ar'], ['user.agent', 'gecko1_8']], [['locale', 'ar'], ['user.agent', 'ie10']], [['locale', 'ar'], ['user.agent', 'ie8']], [['locale', 'ar'], ['user.agent', 'ie9']], [['locale', 'ar'], ['user.agent', 'safari']], [['locale', 'cn'], ['user.agent', 'gecko1_8']], [['locale', 'cn'], ['user.agent', 'ie10']], [['locale', 'cn'], ['user.agent', 'ie8']], [['locale', 'cn'], ['user.agent', 'ie9']], [['locale', 'cn'], ['user.agent', 'safari']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'ie10']], [['locale', 'default'], ['user.agent', 'ie8']], [['locale', 'default'], ['user.agent', 'ie9']], [['locale', 'default'], ['user.agent', 'safari']], [['locale', 'en'], ['user.agent', 'gecko1_8']], [['locale', 'en'], ['user.agent', 'ie10']], [['locale', 'en'], ['user.agent', 'ie8']], [['locale', 'en'], ['user.agent', 'ie9']], [['locale', 'en'], ['user.agent', 'safari']], [['locale', 'es'], ['user.agent', 'gecko1_8']], [['locale', 'es'], ['user.agent', 'ie10']], [['locale', 'es'], ['user.agent', 'ie8']], [['locale', 'es'], ['user.agent', 'ie9']], [['locale', 'es'], ['user.agent', 'safari']], [['locale', 'pt'], ['user.agent', 'gecko1_8']], [['locale', 'pt'], ['user.agent', 'ie10']], [['locale', 'pt'], ['user.agent', 'ie8']], [['locale', 'pt'], ['user.agent', 'ie9']], [['locale', 'pt'], ['user.agent', 'safari']], [['locale', 'ru'], ['user.agent', 'gecko1_8']], [['locale', 'ru'], ['user.agent', 'ie10']], [['locale', 'ru'], ['user.agent', 'ie8']], [['locale', 'ru'], ['user.agent', 'ie9']], [['locale', 'ru'], ['user.agent', 'safari']]]); | |
if (actor) actor.onScriptLoad(gwtOnLoad);})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment