2016-09-26 09:28:47 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
require('mootools');
|
2016-09-26 09:28:47 +00:00
|
|
|
|
|
|
|
Vn = module.exports = {
|
2022-05-28 19:27:36 +00:00
|
|
|
Locale : require('./locale')
|
2022-05-30 01:30:33 +00:00
|
|
|
,Enum : require('./enum')
|
|
|
|
,Type : require('./type')
|
2022-05-28 19:27:36 +00:00
|
|
|
,Object : require('./object')
|
2022-05-30 01:30:33 +00:00
|
|
|
,Mutators : require('./mutators')
|
2022-05-28 19:27:36 +00:00
|
|
|
,Browser : require('./browser')
|
|
|
|
,Cookie : require('./cookie')
|
|
|
|
,Date : require('./date')
|
|
|
|
,Value : require('./value')
|
|
|
|
,Url : require('./url')
|
2022-05-30 01:30:33 +00:00
|
|
|
,LotIface : require('./lot-iface')
|
|
|
|
,Lot : require('./lot')
|
|
|
|
,LotQuery : require('./lot-query')
|
2022-05-28 19:27:36 +00:00
|
|
|
,Hash : require('./hash')
|
2022-05-30 01:30:33 +00:00
|
|
|
,ParamIface : require('./param-iface')
|
|
|
|
,Param : require('./param')
|
|
|
|
,Spec : require('./spec')
|
|
|
|
,Model : require('./model')
|
|
|
|
,ModelIface : require('./model-iface')
|
|
|
|
,ModelProxy : require('./model-proxy')
|
|
|
|
,IteratorIface : require('./iterator-iface')
|
|
|
|
,Iterator : require('./iterator')
|
|
|
|
,Form : require('./form')
|
2022-05-28 19:27:36 +00:00
|
|
|
,Node : require('./node')
|
|
|
|
,NodeBuilder : require('./node-builder')
|
2022-06-06 12:49:18 +00:00
|
|
|
,Component : require('./component')
|
2022-05-28 19:27:36 +00:00
|
|
|
,Builder : require('./builder')
|
|
|
|
,JsonException : require('./json-exception')
|
|
|
|
,JsonConnection : require('./json-connection')
|
2016-09-26 09:28:47 +00:00
|
|
|
|
|
|
|
,Config: {}
|
2015-09-25 00:53:59 +00:00
|
|
|
,includes: {}
|
2015-09-11 09:37:16 +00:00
|
|
|
,cssIncludes: {}
|
2015-09-25 13:35:01 +00:00
|
|
|
,currentDeps: []
|
|
|
|
,currentCallback: null
|
2022-05-28 19:27:36 +00:00
|
|
|
,head: document.getElementsByTagName('head')[0]
|
2015-09-11 09:37:16 +00:00
|
|
|
,isMobileCached: null
|
2015-09-25 13:35:01 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,getVersion: function() {
|
|
|
|
if (this._version === undefined) {
|
2016-09-23 22:47:34 +00:00
|
|
|
var re = /[; ]vnVersion=([^\\s;]*)/;
|
2022-05-28 19:27:36 +00:00
|
|
|
var sMatch = (' '+ document.cookie).match(re);
|
|
|
|
this._version = (sMatch) ? '?'+ unescape(sMatch[1]) : '';
|
2015-09-25 13:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return this._version;
|
|
|
|
}
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2015-09-25 00:53:59 +00:00
|
|
|
/**
|
|
|
|
* Includes a new CSS stylesheet in the current document, if the stylesheet
|
|
|
|
* is already included, does nothing.
|
|
|
|
*
|
|
|
|
* @param {string} fileName The stylesheet file name
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,includeCss: function(fileName) {
|
2015-09-25 00:53:59 +00:00
|
|
|
var cssData = this.cssIncludes[fileName];
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (!cssData) {
|
|
|
|
var link = document.createElement('link');
|
2015-09-25 00:53:59 +00:00
|
|
|
link.rel = 'stylesheet';
|
|
|
|
link.type = 'text/css';
|
2022-05-28 19:27:36 +00:00
|
|
|
link.href = fileName + this.getVersion();
|
|
|
|
this.head.appendChild(link);
|
2015-09-25 00:53:59 +00:00
|
|
|
|
|
|
|
this.cssIncludes[fileName] =
|
|
|
|
{
|
|
|
|
included: true
|
|
|
|
,link: link
|
|
|
|
};
|
2022-05-28 19:27:36 +00:00
|
|
|
} else if (!cssData.included) {
|
2015-09-25 00:53:59 +00:00
|
|
|
cssData.link.disabled = false;
|
|
|
|
cssData.included = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Excludes a CSS stylesheet from the current document.
|
|
|
|
*
|
|
|
|
* @param {string} fileName The stylesheet file name
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,excludeCss: function(fileName) {
|
2015-09-25 00:53:59 +00:00
|
|
|
var cssData = this.cssIncludes[fileName];
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (cssData && cssData.included) {
|
2015-09-25 00:53:59 +00:00
|
|
|
cssData.link.disabled = true;
|
|
|
|
cssData.included = false;
|
|
|
|
}
|
|
|
|
}
|
2015-09-25 13:35:01 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_createIncludeData: function(path) {
|
2015-09-25 13:35:01 +00:00
|
|
|
var includeData = {
|
|
|
|
depCount: 0
|
|
|
|
,success: false
|
|
|
|
,loaded: false
|
|
|
|
,callbacks: []
|
|
|
|
,dependants: []
|
|
|
|
};
|
|
|
|
|
|
|
|
this.includes[path] = includeData;
|
|
|
|
return includeData;
|
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_handleCallback: function(includeData, callback) {
|
2015-09-25 13:35:01 +00:00
|
|
|
if (!callback)
|
|
|
|
return;
|
|
|
|
|
|
|
|
if (includeData.success)
|
2022-05-28 19:27:36 +00:00
|
|
|
callback(includeData.loaded);
|
2015-09-25 13:35:01 +00:00
|
|
|
else
|
2022-05-28 19:27:36 +00:00
|
|
|
includeData.callbacks.push(callback);
|
2015-09-25 13:35:01 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_resolveDeps: function(includeData) {
|
2015-09-25 13:35:01 +00:00
|
|
|
includeData.success = true;
|
|
|
|
|
|
|
|
var callbacks = includeData.callbacks;
|
|
|
|
|
2015-12-10 13:48:43 +00:00
|
|
|
if (callbacks)
|
2015-09-25 13:35:01 +00:00
|
|
|
for (var i = 0; i < callbacks.length; i++)
|
2022-05-28 19:27:36 +00:00
|
|
|
callbacks[i](includeData.loaded);
|
2015-09-25 13:35:01 +00:00
|
|
|
|
|
|
|
var dependants = includeData.dependants;
|
|
|
|
|
2015-12-10 13:48:43 +00:00
|
|
|
if (dependants)
|
2022-05-28 19:27:36 +00:00
|
|
|
for (var i = 0; i < dependants.length; i++) {
|
2015-09-25 13:35:01 +00:00
|
|
|
var dependant = dependants[i];
|
|
|
|
dependant.depCount--;
|
|
|
|
|
|
|
|
if (dependant.depCount == 0)
|
2022-05-28 19:27:36 +00:00
|
|
|
this._resolveDeps(dependant);
|
2015-09-25 13:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
delete includeData.callbacks;
|
|
|
|
delete includeData.dependants;
|
|
|
|
delete includeData.depCount;
|
|
|
|
}
|
2015-09-25 00:53:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Initializes the library and calls the passed function when all
|
|
|
|
* includes and its dependencies are resolved.
|
|
|
|
* Should be called on the last statically incuded script.
|
|
|
|
*
|
|
|
|
* @param {Function} callback The main function
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,main: function(callback) {
|
|
|
|
if (this.mainCalled) {
|
|
|
|
Vn.warning("Vn: main method should be called only once");
|
2015-09-25 00:53:59 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
this.mainCalled = true;
|
|
|
|
this.mainCallback = callback;
|
|
|
|
|
2015-09-11 09:37:16 +00:00
|
|
|
var basePath = location.protocol +'//'+ location.host;
|
|
|
|
basePath += location.port ? ':'+ location.port : '';
|
|
|
|
basePath += location.pathname;
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
var scripts = this.head.getElementsByTagName('script');
|
2015-09-25 13:35:01 +00:00
|
|
|
var includes = this.currentDeps;
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
|
|
|
var path = scripts[i].src.substr(basePath.length);
|
|
|
|
path = path.substr(0, path.indexOf('.js')) +'.js';
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
var includeData = this.includes[path];
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (includeData === undefined) {
|
2015-09-25 13:35:01 +00:00
|
|
|
this.currentDeps = includes;
|
2022-05-28 19:27:36 +00:00
|
|
|
var includeData = this._createIncludeData(path);
|
|
|
|
this._onScriptLoad(includeData, true);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
includeData.callbacks.push(this._onMainDepsLoad.bind(this));
|
|
|
|
window.addEventListener('load', this._onWindowLoad.bind(this));
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_onMainDepsLoad: function() {
|
2015-09-25 00:53:59 +00:00
|
|
|
this.mainDepsLoaded = true;
|
2022-05-28 19:27:36 +00:00
|
|
|
this._callMain();
|
2015-09-24 11:50:27 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_onWindowLoad: function() {
|
2015-09-25 00:53:59 +00:00
|
|
|
this.windowReady = true;
|
2022-05-28 19:27:36 +00:00
|
|
|
this._callMain();
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
2015-09-24 11:50:27 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_callMain: function() {
|
2015-09-25 00:53:59 +00:00
|
|
|
if (this.mainCallback && this.windowReady && this.mainDepsLoaded)
|
2022-05-28 19:27:36 +00:00
|
|
|
this.mainCallback();
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Includes a set of javascript files and sets it as dependecies of the
|
|
|
|
* current script.
|
|
|
|
*
|
|
|
|
* @param {...} The list of files as function arguments
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,include: function() {
|
|
|
|
for (var i = 0; i < arguments.length; i++) {
|
|
|
|
var includeData = this._realIncludeJs(arguments[i] +'.js');
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
if (!includeData.success)
|
2022-05-28 19:27:36 +00:00
|
|
|
this.currentDeps.push(includeData);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
2015-09-24 11:50:27 +00:00
|
|
|
}
|
|
|
|
|
2015-09-25 00:53:59 +00:00
|
|
|
/**
|
|
|
|
* Downloads a set of resources and sets it as dependecies of the
|
|
|
|
* current script.
|
|
|
|
*
|
|
|
|
* @param {...} The list of files as function arguments
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,resource: function() {
|
|
|
|
for (var i = 0; i < arguments.length; i++) {
|
|
|
|
var includeData = this._realLoadXml(arguments[i]);
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
if (!includeData.success)
|
2022-05-28 19:27:36 +00:00
|
|
|
this.currentDeps.push(includeData);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
2015-09-24 11:50:27 +00:00
|
|
|
}
|
|
|
|
|
2015-09-25 00:53:59 +00:00
|
|
|
/**
|
|
|
|
* Sets the function that will be called when current script dependencies
|
|
|
|
* are resolved.
|
|
|
|
*
|
|
|
|
* @param {Function} callback The callback function
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,define: function(callback) {
|
2015-09-25 13:35:01 +00:00
|
|
|
this.currentCallback = callback;
|
2015-09-24 11:50:27 +00:00
|
|
|
}
|
|
|
|
|
2015-09-25 00:53:59 +00:00
|
|
|
/**
|
|
|
|
* Includes an entire Javascript library including it's localized file.
|
|
|
|
*
|
|
|
|
* @param {string} libName The folder of the library
|
|
|
|
* @param {Array<string>} files Array with every library file name
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,includeLib: function(libName, files) {
|
|
|
|
Vn.Locale.loadScript('js/'+ libName +'.js');
|
2015-09-25 00:53:59 +00:00
|
|
|
|
|
|
|
for (var i = 0; i < files.length; i++)
|
2022-05-28 19:27:36 +00:00
|
|
|
this.include('js/'+ libName +'/'+ files[i]);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
|
|
|
|
2015-09-11 09:37:16 +00:00
|
|
|
/**
|
|
|
|
* Includes a new Javascript in the current document, if the script
|
|
|
|
* is already included, does nothing and calls the callback.
|
|
|
|
*
|
|
|
|
* @param {string} fileName The script file name
|
|
|
|
* @param {Function} callback The function to call when script is
|
|
|
|
* downloaded and included
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,includeJs: function(fileName, callback, skipVersion) {
|
|
|
|
var includeData = this._realIncludeJs(fileName, skipVersion);
|
|
|
|
this._handleCallback(includeData, callback);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_realIncludeJs: function(fileName, skipVersion) {
|
2015-09-25 00:53:59 +00:00
|
|
|
var includeData = this.includes[fileName];
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (includeData === undefined) {
|
|
|
|
includeData = this._createIncludeData(fileName);
|
2015-09-25 13:35:01 +00:00
|
|
|
|
2015-09-11 09:37:16 +00:00
|
|
|
var src = fileName;
|
|
|
|
|
|
|
|
if (!skipVersion)
|
2022-05-28 19:27:36 +00:00
|
|
|
src = src + this.getVersion();
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
var script = document.createElement('script');
|
2015-09-11 09:37:16 +00:00
|
|
|
script.type = 'text/javascript';
|
|
|
|
script.async = false;
|
|
|
|
script.src = src;
|
|
|
|
|
|
|
|
script.onload =
|
2022-05-28 19:27:36 +00:00
|
|
|
this._onScriptLoad.bind(this, includeData, true);
|
2015-09-11 09:37:16 +00:00
|
|
|
script.onerror =
|
2022-05-28 19:27:36 +00:00
|
|
|
this._onScriptLoad.bind(this, includeData, false);
|
2015-09-11 09:37:16 +00:00
|
|
|
script.onreadystatechange =
|
2022-05-28 19:27:36 +00:00
|
|
|
this._onScriptStateChange.bind(this, includeData, script);
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
this.head.appendChild(script);
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
2015-09-25 00:53:59 +00:00
|
|
|
|
|
|
|
return includeData;
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_onScriptStateChange: function(includeData, script) {
|
2015-09-25 00:53:59 +00:00
|
|
|
if (script.readyState == 'complete')
|
2022-05-28 19:27:36 +00:00
|
|
|
this._onScriptLoad(includeData, true);
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_onScriptLoad: function(includeData, loaded) {
|
2015-09-25 13:35:01 +00:00
|
|
|
includeData.loaded = loaded;
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (loaded) {
|
2015-09-25 13:35:01 +00:00
|
|
|
if (this.currentCallback)
|
2022-05-28 19:27:36 +00:00
|
|
|
includeData.callbacks.unshift(this.currentCallback);
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
var includes = this.currentDeps;
|
2015-09-24 11:50:27 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (includes && includes.length > 0) {
|
2015-09-25 00:53:59 +00:00
|
|
|
includeData.depCount = includes.length;
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2015-09-25 00:53:59 +00:00
|
|
|
for (var i = 0; i < includes.length; i++)
|
2022-05-28 19:27:36 +00:00
|
|
|
includes[i].dependants.push(includeData);
|
|
|
|
} else
|
|
|
|
this._resolveDeps(includeData);
|
|
|
|
} else
|
|
|
|
this._resolveDeps(includeData);
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
this.currentDeps = [];
|
|
|
|
this.currentCallback = null;
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Request an XML file.
|
|
|
|
*
|
|
|
|
* @param {string} path The file path
|
|
|
|
* @param {Function} callback The function to call when file is downloaded
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,loadXml: function(path, callback) {
|
|
|
|
var includeData = this._realLoadXml(path);
|
|
|
|
this._handleCallback(includeData, callback);
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_realLoadXml: function(path) {
|
2015-09-25 00:53:59 +00:00
|
|
|
var includeData = this.includes[path];
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
if (includeData === undefined) {
|
|
|
|
includeData = this._createIncludeData(path);
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
var request = new XMLHttpRequest();
|
2015-09-11 09:37:16 +00:00
|
|
|
request.onreadystatechange =
|
2022-05-28 19:27:36 +00:00
|
|
|
this._onXmlReady.bind(this, includeData, request);
|
|
|
|
request.open('get', path + this.getVersion(), true);
|
|
|
|
request.send();
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
2015-09-25 00:53:59 +00:00
|
|
|
|
|
|
|
return includeData;
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
,_onXmlReady: function(includeData, request) {
|
2015-09-11 09:37:16 +00:00
|
|
|
if (request.readyState != 4)
|
|
|
|
return;
|
2015-09-25 00:53:59 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
includeData.loaded = request.status == 200;
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2015-09-25 13:35:01 +00:00
|
|
|
if (includeData.loaded)
|
2015-09-25 00:53:59 +00:00
|
|
|
includeData.xml = request.responseXML;
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 19:27:36 +00:00
|
|
|
this._resolveDeps(includeData);
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the DOM object from an included XML file.
|
|
|
|
*
|
|
|
|
* @param {string} path The file path
|
|
|
|
* @return {Object} The DOM object
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,getXml: function(path) {
|
2015-09-25 00:53:59 +00:00
|
|
|
var includeData = this.includes[path];
|
|
|
|
|
|
|
|
if (!(includeData && includeData.success))
|
|
|
|
return null;
|
|
|
|
|
|
|
|
return includeData.xml;
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Checks if user is using a mobile browser.
|
|
|
|
*
|
|
|
|
* return {boolean} %true if is mobile, %false otherwise.
|
2022-05-26 06:08:31 +00:00
|
|
|
*/
|
2022-05-28 19:27:36 +00:00
|
|
|
,isMobile: function() {
|
|
|
|
if (this.isMobileCached === null) {
|
2015-09-11 09:37:16 +00:00
|
|
|
var regExp = /(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i;
|
2022-05-28 19:27:36 +00:00
|
|
|
this.isMobileCached = navigator.userAgent.match(regExp);
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return this.isMobileCached;
|
|
|
|
}
|
|
|
|
};
|