diff --git a/qxVm_sanbox/z_sanbox/demo_2.js b/qxVm_sanbox/z_sanbox/demo_2.js deleted file mode 100644 index 6bd5198..0000000 --- a/qxVm_sanbox/z_sanbox/demo_2.js +++ /dev/null @@ -1,39109 +0,0 @@ -let qxVm = { - console_log: console.log -}; - -// 限制不能被枚举 -Object.defineProperty(this, 'qxVm', { - value: qxVm, - configurable: true, - enumerable: false, - writable: true -}); -// 限制不能被枚举 -Object.defineProperty(this, 'qxVm_module', { - value: qxVm_module, - configurable: true, - enumerable: false, - writable: true -}); - - -//框架运行内存 -qxVm.memory = { - $createObj_key: 'qxVm', // 只有输入对的密码, 才能创建对象 - private_data: new WeakMap(), // new出来的对象 - timer_map: { 0: null }, // 定时器map - - plugin: {}, - mimeType: {}, - pluginArray: {}, - mimeTypeArray: {}, - - listeners: {}, - eventObj:{}, - - htmlElements: {}, // 保存 createElement 方法创造节点需要用到得类 - runElementList: [], - htmlCollection: [], // 储存 getElementsByTagName, 返回的节点对象 - logs: [] // 日志储存 -}; - -// 默认的环境, 由用户输入的环境, 自定义环境, 只添加动态的值 -qxVm.default_envs = { - canvas: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAAXNSR0IArs4c6QAABGJJREFUeF7t1AEJAAAMAsHZv/RyPNwSyDncOQIECEQEFskpJgECBM5geQICBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAgQdWMQCX4yW9owAAAABJRU5ErkJggg==", - screen: {}, - navigator: { - appCodeName: "Mozilla", - appVersion: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36", - userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44" - }, - location: { - href: "chrome://newtab/" - }, - document: { - cookie: "" - } -} - -// 开关配置, 以及别的配置 -qxVm.config = { - logOpen: false, - proxy: false -}; - -// 打印保存日志功能 -qxVm.print = { - // 动态实现 -}; - -// 算法加解密 -qxVm.encrypt = { - base64: {} -}; - -/* -这里面的方法, 是给开发者自己用的,不直接给用户使用 -*/ - -//去掉所有的空格(中文空格、英文空格都会被替换) -qxVm.compress_jsCode = function (string_js) { - if (string_js.length >= 100) { - let string = string_js.replace(/\r\n/g, ""); - string = string.replace(/\n/g, ""); - return string.replace(/\s/g, "").slice(0, 100) + "......"; - } - return string_js -}; - -// 首字母变大写 -qxVm.titleCase = function (str) { - return str.slice(0, 1).toUpperCase() + str.slice(1).toLowerCase(); -} - -// 将用户设置的属性, 设置为自己的属性 -qxVm.updata_envs = function (user_envs, target_envs) { - const target_envs_keys = Object.keys(target_envs); - - for (const key in user_envs) { - if (target_envs_keys.indexOf(key) > -1) { - target_envs[key] = user_envs[key]; - } - } -}; - -// 判断 -qxVm.inAndHasOwnProperty = function (obj, attribute) { - return (attribute in obj) && (obj.hasOwnProperty(attribute)); - //如果返回true就是在自身上,false则在原型链上 -}; - -// 判断这个参数 WeakMap 对象里面 这个this的参数是不是为空 -qxVm.abs = function (params, value) { - return typeof (params) === "undefined" ? value : params -} - -// 获得 HTML***Element 对象的Symbol.toStringTag -qxVm.htmls_toStringTag = function (obj) { - // HTMLLIElement 实例 - if (obj && obj.__proto__) { - let tag = obj.__proto__[Symbol.toStringTag]; - if (tag === 'HTMLAnchorElement') return 'a'; // 标签比较特殊 - - return tag.replace(/HTML/, '').replace(/Element/, '') - }; - return undefined; -}; - - - -/** - * 去掉所有的空格(中文空格、英文空格都会被替换) - * @param {String} string_js - * @return String - */ - qxVm.compressJsCode = function (stringJs) { - let string_js_length = stringJs.length; - if (string_js_length >= 100) { - let string = stringJs.replace(/\r\n/g, "").replace(/\n/g, "").replace(/\s/g, ""); - return string.slice(0, 70) + "..." + string.slice(-30); - } - return stringJs -}; - -/* - 一些保护性功能方法会放到这里 - */ - -// 保护伪造的函数(Function.toString()) 让其更难被识破 -qxVm.safefunction = (function() { - "use strict"; - const $toString = Function.toString; - const myFunction_toString_symbol = Symbol('('.concat('', ')_', (Math.random() + '').toString(36))); - const myToString = function () { - return typeof this === 'function' && this[myFunction_toString_symbol] || $toString.call(this); - }; - - function buffer_memory(value) { - let d = buffer_memory.d || ( - buffer_memory.d = { - configurable: true, - enumerable: false, - writable: true - } - ); - d.value = value; - return d; - }; - function set_native(func, key, value) { - Object.defineProperty(func, key, buffer_memory(value)) - }; - - Reflect.deleteProperty(Function.prototype, 'toString'); //删除原型链上的toString - set_native(Function.prototype, "toString", myToString); //自己定义个getter方法 - set_native(Function, myFunction_toString_symbol, "function Function() { [native code] }") - set_native(Function, "toString", myToString) - set_native(Function.prototype.toString, myFunction_toString_symbol, "function toString() { [native code] }"); //套个娃 保护一下我们定义的toString 否则就暴露了 - - - /** - * 保护伪造func (Function.toString()) 让其更难被识破 - * @param { Object } func - * @param { String } func_name - 可显示的名称 - * @param { Boolean } defined_func_name - 自定义可显示的名称 - * @returns { undefined } - */ - return function (func, func_name, defined_func_name) { - if (func_name !== undefined && defined_func_name === true) { - set_native(func, myFunction_toString_symbol, `function ${func_name || ''}() { [native code] }`); - } else { - set_native(func, myFunction_toString_symbol, `function ${func.name || func_name || ''}() { [native code] }`); - } - }; -})(); - - -// 保护伪造的对象(Object.toString()) 让其更难被识破 -qxVm.rename = (function () { - function buffer_memory(value) { - let d = buffer_memory.d || ( - buffer_memory.d = { - configurable: true, enumerable: false, writable: false - } - ); - d.value = value; - return d; - }; - - /** - * 保护伪造Object (Object[Symbol.toStringTag]) 让其更难被识破 - * @param { Object } Obj - * @param { String } Objname - 可显示的名称 - * @returns { undefined } - */ - return function (Obj, Objname) { - Object.defineProperties(Obj, { - [Symbol.toStringTag]: buffer_memory(Objname) - }) - }; -})(); - - -// 保护 Object.prototype属性的对象描述符, 并给Object.prototype添加constructor属性 -qxVm.safeDescriptor_addConstructor = (function () { - function buffer_memory_proto(value) { - let d = buffer_memory_proto.d || ( - buffer_memory_proto.d = { - configurable: false, enumerable: false, writable: false - } - ); - d.value = value; - return d; - }; - function buffer_memory(value) { - let d = buffer_memory.d || ( - buffer_memory.d = { - configurable: true, enumerable: false, writable: true - } - ); - d.value = value; - return d; - }; - - /** - * 保护 Object.prototype属性的对象描述符, 并给Object.prototype添加constructor属性 - * @param { Object } Obj - * @returns { undefined } - */ - return function (Obj) { - Object.defineProperty(Obj, 'prototype', buffer_memory_proto(Obj.prototype)) - Object.defineProperty(Obj.prototype, 'constructor', buffer_memory(Obj)); - }; - -})(); - - - -/** - * 保护对象get, set, func 属性的toString 操作 - * @param { Object } Obj - * @param { Array } safe_get_attribute - 需要保护的 get 属性 - * @param { Array } safe_set_attribute - 需要保护的 set 属性 - * @param { Array } safe_func_attribute - 需要保护的 func 属性 - * @param { Boolean } oneself - 给自身添加, 而不是 prototype - * @returns { undefined } - */ -qxVm.safe_Objattribute = function (Obj, safe_get_attribute, safe_set_attribute, safe_func_attribute, oneself) { - /* - Obj: 需要保护的对象, 默认是保护对象的原型对象 - safe_get_attribute: 需要保护的 get 属性 - safe_set_attribute: 需要保护的 set 属性 - safe_func_attribute:需要保护的 func 属性 - oneself: 如果指定了这个参数 为 true,则说明是保护的自身,而不是原型链 - */ - const obj = oneself ? Obj : Obj.prototype; - - // 保护get属性 - for (let key of safe_get_attribute) { - qxVm.safefunction(Object.getOwnPropertyDescriptor(obj, key)['get']); - } - // 保护set属性 - for (let key of safe_set_attribute) { - qxVm.safefunction(Object.getOwnPropertyDescriptor(obj, key)['set']); - } - // 保护func属性 - for (let key of safe_func_attribute) { - qxVm.safefunction(obj[key]); - } -} - - -/** - * 设置 iterator 属性 - * @param { Object } Obj - * @param { Boolean } oneself - 是否给自身添加, 而不是 prototype - * @returns { undefined } - */ -qxVm.set_iterator = function (Obj, oneself) { - const obj = oneself ? Obj : Obj.prototype; - - Object.defineProperties(obj, { - [Symbol.iterator]: { - value: Array.prototype[Symbol.iterator], - configurable: true, - enumerable: false, - writable: true - } - }) -}; - -/* -大写字母的属性, 都是原型以及本身, 都会有一份 -给原型, 以及本身设置属性, 并设置对象描述符 -*/ -qxVm.add_capitalLetter_attribute = (function () { - function buffer_memory(value) { - let d = buffer_memory.d || ( - buffer_memory.d = { - configurable: false, enumerable: true, writable: false - } - ); - d.value = value; - return d; - }; - - /** - * 同时给原型, 以及自身设置属性, 并设置对象描述符 - * @param { Object } Obj - * @param { Array } attributes - * @returns { undefined } - */ - return function (Obj, attributes) { - for (let key in attributes) { - if (attributes.hasOwnProperty(key)) { - const value_obj = buffer_memory(attributes[key]); - Object.defineProperty(Obj, key, value_obj); - Object.defineProperty(Obj.prototype, key, value_obj); - } - }; - }; -})(); - - - - -/* -暴露给用户的 -更改浏览器的某些参数 -在此文件下的代码 必须要框架run方法执行后执行 -*/ - - -//qxVm.z_sanbox.memory.Plugin.new({description:"npAliSSOLogin Plugin",filename:"npalissologin.dll",name:"AliSSOLogin plugin",MimeTypes:[{description: "AliSSOLogin",suffixes: "AliSSOLogin",type: "application/npalissologin"},{description: "AliSSOLogin1",suffixes: "AliSSOLogin",type: "application1/npalissologin"}]}) -qxVm.config_plugin = function (data) { - if (qxVm.memory.pluginArray.temp === undefined) { - qxVm.memory.pluginArray.temp = []; - } - qxVm.memory.pluginArray.temp.push(data); -}; - -// 将用户配置的环境放到自己的内存 -qxVm.config_envs = function(data){ - /* - qxVm.z_sanbox.config_envs({"navigator":{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44"}}) - */ - for (const key in data) { - qxVm.updata_envs(data[key], qxVm.default_envs[key]) - } -} -// ======================================================================================================================== - -//框架日志功能 -qxVm.print.log = function (logType, target, property, value) { - - if (qxVm.config.logOpen) { - //开始保存日志 - if (qxVm.memory.print.length === 111) { - } - qxVm.memory.logs.push({ "类型": logType, "调用者": target, "属性": property, "值": value }); - } -}; - - -qxVm.print.getall = function () { - console.table(qxVm.memory.logs, ["类型", "调用者", "属性", "值"]); -}; - - -qxVm.logAdd = function (logType, target, property, argArray, result) { - let log_str; - - if (logType === 'ProxyGet') { - - log_str = `[${logType}] -> [ ${target}.${property} ] -> [ ${result} ]` - - } else if (logType === 'ProxySet' || logType === 'ProxyHas' || logType === 'ProxyDeleteProperty' || logType === 'ProxyGetOwnPropertyDescriptor' || logType === 'ProxyDefineProperty') { - - log_str = `[${logType}] -> [ ${target}.${property} ] -> [ ${result} ]` - - } else if (logType === 'ProxyDefineProperty') { - - log_str = `[${logType}] -> ${target}.${property} -> [${argArray}] -> [${result}]` - - } else if (logType === 'ProxyGetPrototypeOf' || logType === 'ProxyIsExtensible' || logType === 'ProxyOwnKeys') { - try{ - log_str = `[${logType}] -> [${target}] -> [${result}]` - }catch(e){ - log_str = `[${logType}] -> [${target}] -> [error]` - } - } else if (logType === 'ProxySetPrototypeOf') { - - log_str = `[${logType}] -> [${target}] -> [${result}]` - - } else if (logType === 'ProxyPreventExtensions') { - - log_str = `[${logType}] -> [${target}] -> [${result}]` - - } else if (logType === 'Apply' || logType === 'ProxyApply' || logType === 'ProxyConstruct') { - - log_str = `[${logType}] -> [ ${target}.${property} ] -> [ ${argArray} ] -> [ ${result} ]` - - } else if (logType === 'NodeJs') { - - log_str = `[${logType}] -> [${Array.prototype.slice.call(argArray).join(', ')}]` - - } else if (logType === 'Func') { - let _args = Array.prototype.slice.call(argArray).join(', '); - _args = qxVm.compressJsCode(_args + "") - log_str = `[${logType}] -> [ ${target}.${property} ] -> (${_args}) -> [ ${result} ]` - - } else if (logType === 'Get') { - log_str = `[${logType}] -> [ ${target}.${property} ] -> [ ${result} ]` - } else if (logType === 'Set') { - log_str = `[${logType}] -> [ ${target}.${property} ] -> (${Array.prototype.slice.call(argArray).join(', ')})` - } else if (logType == 'qxVmLog') { - log_str = `[${logType}] -> [${target}]` - } - - if (qxVm.memory.isIframe) log_str = '[iframe]' + log_str; - qxVm.memory.logs.push(log_str); - qxVm.console_log(log_str); -} -// ======================================================================================================================== - -qxVm.proxy = function (obj, objname, type) { - function get_attribute_type(value) { - return Object.prototype.toString.call(value); - } - - function get_method_handler(watchName) { - return { - apply(target, thisArg, argArray) { - let result = Reflect.apply(target, thisArg, argArray); - if (thisArg === console && target.name === "log") { - return result; - }; - if (target.name === "toString") { - return result; - }; - if (qxVm.config.logOpen === true) { - console.log(`[${watchName}] apply function name is [${target.name}], argArray is [${argArray}], result is [${result}].`); - } - return result - - }, - construct(target, argArray, newTarget) { - let result = Reflect.construct(target, argArray, newTarget); - if (qxVm.config.logOpen === true) { - console.log(`[${watchName}] construct function name is [${target.name}], argArray is [${argArray}], result is [${(result)}].`); - } - return result; - } - } - } - - function get_obj_handler(WatchName) { - return { - get(target, propKey, receiver) { - if (qxVm.config.proxy_proto === false && propKey === "__proto__") { - console.log(`getting propKey-> ${WatchName}.${propKey} value-> ${(target[propKey])}`) - return target[propKey] - }; - - let result = Reflect.get(target, propKey, receiver); - let result_type = get_attribute_type(result); - - if (result instanceof Object) { - if (Object.getOwnPropertyDescriptor(target, propKey)?.writable === false) { - console.log(`getting propKey-> ${WatchName}.${propKey} it is non-writable`) - } else { - if (typeof result === "function") { - if (qxVm.config.logOpen === true) { - - console.log(`getting propKey-> ${WatchName}.${propKey} value-> ${qxVm.compress_jsCode(String(result))} typeof-> ${result_type}`); - } - return new Proxy(result, get_method_handler(WatchName)) - } else { - if (qxVm.config.logOpen === true) { - console.log(`\ngetting propKey-> ${WatchName}.${propKey} value-> ${qxVm.compress_jsCode(String(result))} typeof-> ${result_type}`); - } - } - return new Proxy(result, get_obj_handler(`${WatchName}.${propKey}`)) - } - - } - if (typeof (propKey) !== "symbol" && propKey !== "toString") { - try { - if (qxVm.config.logOpen === true) { - console.log(`\ngetting propKey-> ${WatchName}.${propKey?.description ?? propKey} result-> ${result} typeof-> ${result_type}`); - } - } catch (e) { - console.log(`[${WatchName}] getting error`); - } - } - return result; - }, - set(target, propKey, value, receiver) { - let value_type = get_attribute_type(value); - if (value instanceof Object) { - if (qxVm.config.logOpen === true) { - console.log(`\nsetting propKey-> ${WatchName}.${propKey} value-> ${qxVm.compress_jsCode(String(value))} typeof-> ${value_type}`); - } - } else { - if (qxVm.config.logOpen === true) { - console.log(`\nsetting propKey-> ${WatchName}.${propKey} value-> ${qxVm.compress_jsCode(String(value))} typeof-> ${value_type}`); - } - } - return Reflect.set(target, propKey, value, receiver); - }, - has(target, propKey) { - let result = Reflect.has(target, propKey); - if (qxVm.config.logOpen === true) { - console.log(`has propKey-> ${WatchName}.${propKey}, result-> ${result}`); - } - return result; - }, - deleteProperty(target, propKey) { - let result = Reflect.deleteProperty(target, propKey); - if (qxVm.config.logOpen === true) { - console.log(`delete propKey-> ${WatchName}.${propKey}, result-> ${result}`); - } - return result; - }, - getOwnPropertyDescriptor(target, propKey) { - let result = Reflect.getOwnPropertyDescriptor(target, propKey); - if (qxVm.config.logOpen === true) { - try { - console.log(`getOwnPropertyDescriptor propKey-> ${WatchName}.${propKey} result-> ${(String(result))}`); - } catch (error) { } - } - return result; - }, - defineProperty(target, propKey, attributes) { - let result = Reflect.defineProperty(target, propKey, attributes); - try { - if (qxVm.config.logOpen === true) { - console.log(`defineProperty propKey-> ${WatchName}.${propKey} attributes is [${(attributes)}], result is [${result}]`); - } - } catch (e) { - console.log(`[${WatchName}] defineProperty error`) - } - return result; - }, - getPrototypeOf(target) { - let result = Reflect.getPrototypeOf(target); - if (qxVm.config.logOpen === true) { - console.log(`[${WatchName}] getPrototypeOf result is [${(result)}]`); - } - return result; - }, - setPrototypeOf(target, proto) { - let result = Reflect.setPrototypeOf(target, proto); - if (qxVm.config.logOpen === true) { - console.log(`[${WatchName}] setPrototypeOf proto is [${(proto)}], result is [${result}]`); - } - return result; - }, - preventExtensions(target) { - let result = Reflect.preventExtensions(target); - if (qxVm.config.logOpen === true) { - console.log(`[${WatchName}] preventExtensions, result is [${result}]`); - } - return result; - }, - isExtensible(target) { - let result = Reflect.isExtensible(target); - if (qxVm.config.logOpen === true) { - console.log(`[${WatchName}] isExtensible, result is [${result}]`); - } - return result; - }, - ownKeys(target) { - let result = Reflect.ownKeys(target); - if (qxVm.config.logOpen === true) { - try { - console.log(`[${WatchName}] invoke ownkeys, result is [${String((result))}]`); - } catch (error) { - - } - } - return result - } - } - } - - if (qxVm.config.proxy === false) { - return obj - } - - - // if (type === "method") { - if (typeof obj === "function") { - return new Proxy(obj, get_method_handler(objname)); - } - return new Proxy(obj, get_obj_handler(objname)); -}; - -Error.prepareStackTrace = function (error, callSites) { - // 先处理 非法调用 - if (error.name === 'TypeError' && error.message === 'Illegal invocation') { - let stack = callSites.map(callSite => { - let one_stack; - let func_name = callSite.getFunctionName(); - - // 过滤掉node相关的堆栈, 以及 调试的文件名堆栈 - if (func_name && (func_name.includes('Module') || func_name.includes('executeUserEntryPoint'))) { - return - } - - if (!func_name){ - one_stack = ` at :${callSite.getLineNumber()}:${callSite.getColumnNumber()}`; - }else{ - one_stack = ` at ${func_name} (:${callSite.getLineNumber()}:${callSite.getColumnNumber()})`; - } - return one_stack; - }) - stack = stack.filter((item) => { - return item - }); - return `${error.toString()}\n${stack.join('\n')}` - } - // 默认格式 - return error.toString() + '\n' + callSites.map(callSite => { - return ' at ' + callSite.getFunctionName() + ' (' - + callSite.getFileName() + ':' - + callSite.getLineNumber() + ':' - + callSite.getColumnNumber() + ')' - }).join('\n') -}; - - -qxVm.Illegal_error = function Illegal_error(message, stack) { - let e = new TypeError() - if (message) e.message = message - else e.message = "Illegal constructor" - if (stack) e.stack = stack - else e.stack = `"TypeError: Illegal constructor - at snippet:///%E8%84%9A%E6%9C%AC%E4%BB%A3%E7%A0%81%E6%AE%B5%20%2332:2:6"` - throw e -}; - - - -qxVm.default_envs.canvas="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAAXNSR0IArs4c6QAABGJJREFUeF7t1AEJAAAMAsHZv/RyPNwSyDncOQIECEQEFskpJgECBM5geQICBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAAYPlBwgQyAgYrExVghIgYLD8AAECGQGDlalKUAIEDJYfIEAgI2CwMlUJSoCAwfIDBAhkBAxWpipBCRAwWH6AAIGMgMHKVCUoAQIGyw8QIJARMFiZqgQlQMBg+QECBDICBitTlaAECBgsP0CAQEbAYGWqEpQAgQdWMQCX4yW9owAAAABJRU5ErkJggg==" -qxVm.config_envs({"navigator":{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.55"},"location":{},"document":{"referrer":""}}) -qxVm.config_plugin({"description":"Portable Document Format","filename":"internal-pdf-viewer","name":"Chrome PDF Plugin","MimeTypes":[{"description":"Portable Document Format","suffixes":"pdf","type":"application/x-google-chrome-pdf"}]}) -qxVm.config_plugin({"description":"","filename":"mhjfbmdgcfjbbpaeojofohoefgiehjai","name":"Chrome PDF Viewer","MimeTypes":[{"description":"","suffixes":"pdf","type":"application/pdf"}]}) -qxVm.config_plugin({"description":"","filename":"internal-nacl-plugin","name":"Native Client","MimeTypes":[{"description":"Native Client Executable","suffixes":"","type":"application/x-nacl"},{"description":"Portable Native Client Executable","suffixes":"","type":"application/x-pnacl"}]}) - -;(function(){ - let del_attribute = ['global', 'SharedArrayBuffer', 'GLOBAL', 'root', 'VMError', 'Buffer', 'KNBCore']; - del_attribute.forEach(function(item, index){ - delete this[item]; - }) - -})(); - - -/* -Event: - UIEvent: - MouseEvent: - PointerEvent -*/ - -Event = function Event(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Event); - -; (function () { - const $attributes = { - AT_TARGET: 2, - BUBBLING_PHASE: 3, - CAPTURING_PHASE: 1, - NONE: 0 - }; - const $safe_get_attribute = ['bubbles', 'cancelBubble', 'cancelable', 'composed', 'currentTarget', 'defaultPrevented', 'eventPhase', 'path', 'returnValue', 'srcElement', 'target', 'timeStamp', 'type']; - const $safe_set_attribute = ['cancelBubble', 'returnValue']; - const $safe_func_attribute = ['composedPath', 'initEvent', 'preventDefault', 'stopImmediatePropagation', 'stopPropagation']; - - Event.prototype = { - get bubbles() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).bubbles, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'bubbles', arguments, result); - return result; - }, - get cancelBubble() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cancelBubble, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'cancelBubble', arguments, result); - return result; - }, - set cancelBubble(value) { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Event', 'cancelBubble', arguments); - qxVm.memory.private_data.get(this).cancelBubble = value ? true :false; - }, - get cancelable() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cancelable, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'cancelable', arguments, result); - return result; - }, - get composed() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).composed, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'composed', arguments, result); - return result; - }, - composedPath() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Event', 'composedPath', arguments, result); - return result; - }, - get currentTarget() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentTarget, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'currentTarget', arguments, result); - return result; - }, - get defaultPrevented() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).defaultPrevented, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'defaultPrevented', arguments, result); - return result; - }, - get eventPhase() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).eventPhase, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'eventPhase', arguments, result); - return result; - }, - initEvent() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Event', 'initEvent', arguments, result); - return result; - }, - get path() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = [];; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'path', arguments, result); - return result; - }, - preventDefault() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Event', 'preventDefault', arguments, result); - return result; - }, - get returnValue() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).returnValue, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'returnValue', arguments, result); - return result; - }, - set returnValue(value) { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Event', 'returnValue', arguments); - qxVm.memory.private_data.get(this).returnValue = value ? true :false; - }, - get srcElement() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).srcElement, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'srcElement', arguments, result); - return result; - }, - stopImmediatePropagation() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Event', 'stopImmediatePropagation', arguments, result); - return result; - }, - stopPropagation() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Event', 'stopPropagation', arguments, result); - return result; - }, - get target() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).target, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'target', arguments, result); - return result; - }, - get timeStamp() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).timeStamp, 2778.600000023842);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Event', 'timeStamp', arguments, result); - return result; - }, - get type() { - if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).type, ""); - } - }; - - qxVm.rename(Event.prototype, "Event"); - qxVm.add_capitalLetter_attribute(Event, $attributes); - qxVm.safeDescriptor_addConstructor(Event); - qxVm.safe_Objattribute(Event, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - -CustomEvent = function CustomEvent(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CustomEvent); - -; (function () { - const $safe_get_attribute = ['detail']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['initCustomEvent']; - - CustomEvent.prototype = { - get detail() { - if (!CustomEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).detail, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CustomEvent', 'detail', arguments, result); - return result; - }, - initCustomEvent() { - if (!CustomEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CustomEvent', 'initCustomEvent', arguments, result); - return result; - } - }; - qxVm.rename(CustomEvent.prototype, "CustomEvent"); - qxVm.safeDescriptor_addConstructor(CustomEvent); - qxVm.safe_Objattribute(CustomEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(CustomEvent.prototype, Event.prototype); - Object.setPrototypeOf(CustomEvent, Event); - -})(); -MediaEncryptedEvent = function MediaEncryptedEvent(type) { - if(new.target !== MediaEncryptedEvent){ - throw new TypeError(`Failed to construct 'MediaEncryptedEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - if (type === undefined){ - throw new TypeError(`Failed to construct 'MediaEncryptedEvent': 1 argument required, but only 0 present.`) - } - - qxVm.memory.private_data.set(this, {type: type}) -}; qxVm.safefunction(MediaEncryptedEvent); - -; (function () { - const $safe_get_attribute = ['initData', 'initDataType']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - MediaEncryptedEvent.prototype = { - get initData() { - if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).initData, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MediaEncryptedEvent', 'initData', arguments, result); - return result; - }, - get initDataType() { - if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).initDataType, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MediaEncryptedEvent', 'initDataType', arguments, result); - return result; - }, - } - qxVm.rename(MediaEncryptedEvent.prototype, "MediaEncryptedEvent"); - qxVm.safeDescriptor_addConstructor(MediaEncryptedEvent); - qxVm.safe_Objattribute(MediaEncryptedEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(MediaEncryptedEvent.prototype, Event.prototype); - Object.setPrototypeOf(MediaEncryptedEvent, Event); - -})(); - - -UIEvent = function UIEvent(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(UIEvent); - -; (function () { - const $safe_get_attribute = ['detail', 'sourceCapabilities', 'view', 'which']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['initUIEvent']; - - UIEvent.prototype = { - get detail() { - if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).detail, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'UIEvent', 'detail', arguments, result); - return result; - }, - initUIEvent() { - if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'UIEvent', 'initUIEvent', arguments, result); - return result; - }, - get sourceCapabilities() { - if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sourceCapabilities, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'UIEvent', 'sourceCapabilities', arguments, result); - return result; - }, - get view() { - if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).view, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'UIEvent', 'view', arguments, result); - return result; - }, - get which() { - if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).which, ""); - } - } - - qxVm.rename(UIEvent.prototype, "UIEvent"); - qxVm.safeDescriptor_addConstructor(UIEvent); - qxVm.safe_Objattribute(UIEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(UIEvent.prototype, Event.prototype); - Object.setPrototypeOf(UIEvent, Event); - -})(); - - -KeyboardEvent = function KeyboardEvent(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(KeyboardEvent); - -; (function () { - - const $attributes = { - DOM_KEY_LOCATION_LEFT: 1, - DOM_KEY_LOCATION_NUMPAD: 3, - DOM_KEY_LOCATION_RIGHT: 2, - DOM_KEY_LOCATION_STANDARD: 0 - } - - const $safe_get_attribute = ['altKey', 'charCode', 'code', 'ctrlKey', 'isComposing', 'key', 'keyCode', 'location', 'metaKey', 'repeat', 'shiftKey']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getModifierState', 'initKeyboardEvent']; - - KeyboardEvent.prototype = { - get altKey() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).altKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'altKey', arguments, result); - return result; - }, - get charCode() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).charCode, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'charCode', arguments, result); - return result; - }, - get code() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).code, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'code', arguments, result); - return result; - }, - get ctrlKey() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ctrlKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'ctrlKey', arguments, result); - return result; - }, - getModifierState() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'KeyboardEvent', 'getModifierState', arguments, result); - return result; - }, - initKeyboardEvent() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'KeyboardEvent', 'initKeyboardEvent', arguments, result); - return result; - }, - get isComposing() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isComposing, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'isComposing', arguments, result); - return result; - }, - get key() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).key, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'key', arguments, result); - return result; - }, - get keyCode() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).keyCode, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'keyCode', arguments, result); - return result; - }, - get location() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).location, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'location', arguments, result); - return result; - }, - get metaKey() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).metaKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'metaKey', arguments, result); - return result; - }, - get repeat() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).repeat, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'KeyboardEvent', 'repeat', arguments, result); - return result; - }, - get shiftKey() { - if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).shiftKey, ""); - } - }; - qxVm.rename(KeyboardEvent.prototype, "KeyboardEvent"); - qxVm.safeDescriptor_addConstructor(KeyboardEvent); - qxVm.safe_Objattribute(KeyboardEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - qxVm.add_capitalLetter_attribute(KeyboardEvent, $attributes); - - Object.setPrototypeOf(KeyboardEvent.prototype, UIEvent.prototype); - Object.setPrototypeOf(KeyboardEvent, UIEvent); -})(); - - -TextEvent = function TextEvent(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(TextEvent); - -; (function () { - const $safe_get_attribute = ['data']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['initTextEvent']; - - TextEvent.prototype = { - get data() { - if (!TextEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).data, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'TextEvent', 'data', arguments, result); - return result; - }, - initTextEvent() { - if (!TextEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TextEvent', 'initTextEvent', arguments, result); - return result; - }, - } - qxVm.rename(TextEvent.prototype, "TextEvent"); - qxVm.safeDescriptor_addConstructor(TextEvent); - qxVm.safe_Objattribute(TextEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(TextEvent.prototype, UIEvent.prototype); - Object.setPrototypeOf(TextEvent, UIEvent); -})(); - - -MouseEvent = function MouseEvent(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(MouseEvent); - -; (function () { - const $safe_get_attribute = [ - 'altKey', 'button', 'buttons', 'clientX', 'clientY', 'ctrlKey', 'fromElement', 'layerX', 'layerY', 'metaKey', 'movementX', 'movementY', 'offsetX', 'offsetY', 'pageX', 'pageY', - 'relatedTarget', 'screenX', 'screenY', 'shiftKey', 'toElement', 'x', 'y' - ]; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getModifierState', 'initMouseEvent']; - - MouseEvent.prototype = { - get altKey() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).altKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'altKey', arguments, result); - return result; - }, - get button() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).button, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'button', arguments, result); - return result; - }, - get buttons() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).buttons, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'buttons', arguments, result); - return result; - }, - get clientX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).clientX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'clientX', arguments, result); - return result; - }, - get clientY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).clientY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'clientY', arguments, result); - return result; - }, - get ctrlKey() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ctrlKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'ctrlKey', arguments, result); - return result; - }, - get fromElement() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).fromElement, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'fromElement', arguments, result); - return result; - }, - getModifierState() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MouseEvent', 'getModifierState', arguments, result); - return result; - }, - initMouseEvent() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MouseEvent', 'initMouseEvent', arguments, result); - return result; - }, - get layerX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).layerX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'layerX', arguments, result); - return result; - }, - get layerY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).layerY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'layerY', arguments, result); - return result; - }, - get metaKey() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).metaKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'metaKey', arguments, result); - return result; - }, - get movementX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).movementX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'movementX', arguments, result); - return result; - }, - get movementY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).movementY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'movementY', arguments, result); - return result; - }, - get offsetX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).offsetX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'offsetX', arguments, result); - return result; - }, - get offsetY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).offsetY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'offsetY', arguments, result); - return result; - }, - get pageX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pageX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'pageX', arguments, result); - return result; - }, - get pageY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pageY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'pageY', arguments, result); - return result; - }, - get relatedTarget() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).relatedTarget, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'relatedTarget', arguments, result); - return result; - }, - get screenX() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).screenX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'screenX', arguments, result); - return result; - }, - get screenY() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).screenY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'screenY', arguments, result); - return result; - }, - get shiftKey() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shiftKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'shiftKey', arguments, result); - return result; - }, - get toElement() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).toElement, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'toElement', arguments, result); - return result; - }, - get x() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).x, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MouseEvent', 'x', arguments, result); - return result; - }, - get y() { - if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).y, ""); - } - } - - qxVm.rename(MouseEvent.prototype, "MouseEvent"); - qxVm.safeDescriptor_addConstructor(MouseEvent); - qxVm.safe_Objattribute(MouseEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(MouseEvent.prototype, UIEvent.prototype); - Object.setPrototypeOf(MouseEvent, UIEvent); - -})(); - - -PointerEvent = function PointerEvent(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(PointerEvent); - -; (function () { - const $safe_get_attribute = ['altitudeAngle', 'azimuthAngle', 'height', 'isPrimary', 'pointerId', 'pointerType', 'pressure', 'tangentialPressure', 'tiltX', 'tiltY', 'twist', 'width']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getCoalescedEvents', 'getPredictedEvents']; - - PointerEvent.prototype = { - get altitudeAngle() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).altitudeAngle, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'altitudeAngle', arguments, result); - return result; - }, - get azimuthAngle() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).azimuthAngle, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'azimuthAngle', arguments, result); - return result; - }, - getCoalescedEvents() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PointerEvent', 'getCoalescedEvents', arguments, result); - return result; - }, - getPredictedEvents() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PointerEvent', 'getPredictedEvents', arguments, result); - return result; - }, - get height() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).height, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'height', arguments, result); - return result; - }, - get isPrimary() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isPrimary, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'isPrimary', arguments, result); - return result; - }, - get pointerId() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pointerId, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'pointerId', arguments, result); - return result; - }, - get pointerType() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pointerType, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'pointerType', arguments, result); - return result; - }, - get pressure() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pressure, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'pressure', arguments, result); - return result; - }, - get tangentialPressure() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tangentialPressure, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'tangentialPressure', arguments, result); - return result; - }, - get tiltX() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tiltX, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'tiltX', arguments, result); - return result; - }, - get tiltY() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tiltY, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'tiltY', arguments, result); - return result; - }, - get twist() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).twist, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'twist', arguments, result); - return result; - }, - get width() { - if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).width, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PointerEvent', 'width', arguments, result); - return result; - }, - } - - qxVm.rename(PointerEvent.prototype, "PointerEvent"); - qxVm.safeDescriptor_addConstructor(PointerEvent); - qxVm.safe_Objattribute(PointerEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(PointerEvent.prototype, MouseEvent.prototype); - Object.setPrototypeOf(PointerEvent, MouseEvent); -})(); - - -MutationEvent = function MutationEvent(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(MutationEvent); - -; (function () { - const $attributes = { - ADDITION: 2, - MODIFICATION: 1, - REMOVAL: 3 - } - - const $safe_get_attribute = ['attrChange', 'attrName', 'newValue', 'prevValue', 'relatedNode']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['initMutationEvent']; - - MutationEvent.prototype = { - get attrChange() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MutationEvent', 'attrChange', arguments, result); - return result; - }, - get attrName() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MutationEvent', 'attrName', arguments, result); - return result; - }, - initMutationEvent() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MutationEvent', 'initMutationEvent', arguments, result); - return result; - }, - get newValue() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MutationEvent', 'newValue', arguments, result); - return result; - }, - get prevValue() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MutationEvent', 'prevValue', arguments, result); - return result; - }, - get relatedNode() { - if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MutationEvent', 'relatedNode', arguments, result); - return result; - }, - } - qxVm.rename(MutationEvent.prototype, "MutationEvent"); - qxVm.add_capitalLetter_attribute(MutationEvent, $attributes); - qxVm.safeDescriptor_addConstructor(MutationEvent); - qxVm.safe_Objattribute(MutationEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - Object.setPrototypeOf(MutationEvent.prototype, Event.prototype); - Object.setPrototypeOf(MutationEvent, Event); - -})(); - - - -EventTarget = function EventTarget() { //构造函数 -}; qxVm.safefunction(EventTarget); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['addEventListener', 'dispatchEvent', 'removeEventListener']; - - EventTarget.prototype = { - addEventListener(type, callback) { - if (!(type in qxVm.memory.listeners)) { - qxVm.memory.listeners[type] = []; - } - qxVm.memory.eventObj[type] = callback; - qxVm.memory.listeners[type].push(callback); - }, - dispatchEvent(event_) { - if (event_.type === undefined || event_.type === "") { - return; - } - if (qxVm.memory.listeners[event_.type] != undefined) { - return; - } - - let stack = qxVm.memory.listeners[event_.type]; - for (var i = 0; stack.length > i; i++) { - stack[i].apply(this, event_); - } - - }, - removeEventListener(type, callback) { - if (!(type in qxVm.memory.listeners)) { - return; - } - var stack = qxVm.memory.listeners[type]; - for (var i = 0; stack.length > i; i++) { - if (stack[i] === callback) { - stack.splice(i, 1); - let result = this.removeEventListener(type, callback);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'EventTarget', 'if ', arguments, result); - return result; - } - } - - } - }; - qxVm.rename(EventTarget.prototype, "EventTarget"); - qxVm.safeDescriptor_addConstructor(EventTarget); - qxVm.safe_Objattribute(EventTarget, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -Bluetooth = function Bluetooth(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Bluetooth); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getAvailability', 'requestDevice']; - - Bluetooth.prototype = { - getAvailability() { - if (!Bluetooth.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Bluetooth', 'getAvailability', arguments, result); - return result; - }, - requestDevice() { - if (!Bluetooth.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Bluetooth', 'requestDevice', arguments, result); - return result; - }, - } - qxVm.rename(Bluetooth.prototype, "Bluetooth"); - qxVm.safeDescriptor_addConstructor(Bluetooth); - qxVm.safe_Objattribute(Bluetooth, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(Bluetooth.prototype, EventTarget.prototype); - Object.setPrototypeOf(Bluetooth, EventTarget); - -})(); -Clipboard = function Clipboard(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Clipboard); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['read', 'readText', 'write', 'writeText']; - - Clipboard.prototype = { - read() { - if (!Clipboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Clipboard', 'read', arguments, result); - return result; - }, - readText() { - if (!Clipboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Clipboard', 'readText', arguments, result); - return result; - }, - write() { - if (!Clipboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Clipboard', 'write', arguments, result); - return result; - }, - writeText() { - if (!Clipboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Clipboard', 'writeText', arguments, result); - return result; - }, - } - qxVm.rename(Clipboard.prototype, "Clipboard"); - qxVm.safeDescriptor_addConstructor(Clipboard); - qxVm.safe_Objattribute(Clipboard, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(Clipboard.prototype, EventTarget.prototype); - Object.setPrototypeOf(Clipboard, EventTarget); -})(); - - -CookieStore = function CookieStore(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CookieStore); - -; (function () { - const $safe_get_attribute = ['onchange']; - const $safe_set_attribute = ['onchange']; - const $safe_func_attribute = ['delete', 'get', 'getAll', 'set']; - - CookieStore.prototype = { - delete() { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CookieStore', 'delete', arguments, result); - return result; - }, - get() { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CookieStore', 'get', arguments, result); - return result; - }, - getAll() { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CookieStore', 'getAll', arguments, result); - return result; - }, - get onchange() { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CookieStore', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CookieStore', 'onchange', arguments); - qxVm.memory.private_data.get(this).onchange = value + ""; - }, - set() { - if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CookieStore', 'set', arguments, result); - return result; - }, - } - qxVm.rename(CookieStore.prototype, "CookieStore"); - qxVm.safeDescriptor_addConstructor(CookieStore); - qxVm.safe_Objattribute(CookieStore, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(CookieStore.prototype, EventTarget.prototype); - Object.setPrototypeOf(CookieStore, EventTarget); -})(); -cookieStore = new CookieStore(qxVm.memory.$createObj_key); - - -HID = function HID(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HID); - -; (function () { - const $safe_get_attribute = ['onconnect', 'ondisconnect']; - const $safe_set_attribute = ['onconnect', 'ondisconnect']; - const $safe_func_attribute = ['getDevices', 'requestDevice']; - - HID.prototype = { - getDevices() { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HID', 'getDevices', arguments, result); - return result; - }, - get onconnect() { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HID', 'onconnect', arguments, result); - return result; - }, - set onconnect(value) { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HID', 'onconnect', arguments); - qxVm.memory.private_data.get(this).onconnect = value + ""; - }, - get ondisconnect() { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondisconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HID', 'ondisconnect', arguments, result); - return result; - }, - set ondisconnect(value) { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HID', 'ondisconnect', arguments); - qxVm.memory.private_data.get(this).ondisconnect = value + ""; - }, - requestDevice() { - if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HID', 'requestDevice', arguments, result); - return result; - }, - } - qxVm.rename(HID.prototype, "HID"); - qxVm.safeDescriptor_addConstructor(HID); - qxVm.safe_Objattribute(HID, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HID.prototype, EventTarget.prototype); - Object.setPrototypeOf(HID, EventTarget); - -})(); - - -IDBDatabase = function IDBDatabase(createObj_key, name, version) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - name: name, - version: version || 1 - }) -}; qxVm.safefunction(IDBDatabase); - -; (function () { - const $safe_get_attribute = ['name', 'objectStoreNames', 'onabort', 'onclose', 'onerror', 'onversionchange', 'version']; - const $safe_set_attribute = ['onabort', 'onclose', 'onerror', 'onversionchange']; - const $safe_func_attribute = ['close', 'createObjectStore', 'deleteObjectStore', 'transaction']; - - IDBDatabase.prototype = { - close() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBDatabase', 'close', arguments, result); - return result; - }, - createObjectStore() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBDatabase', 'createObjectStore', arguments, result); - return result; - }, - deleteObjectStore() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBDatabase', 'deleteObjectStore', arguments, result); - return result; - }, - get name() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).name;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'name', arguments, result); - return result; - }, - get objectStoreNames() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).objectStoreNames, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'objectStoreNames', arguments, result); - return result; - }, - get onabort() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onabort, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBDatabase', 'onabort', arguments); - qxVm.memory.private_data.get(this).onabort = value; - }, - get onclose() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclose);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'onclose', arguments, result); - return result; - }, - set onclose(value) { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBDatabase', 'onclose', arguments); - qxVm.memory.private_data.get(this).onclose = value; - }, - get onerror() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBDatabase', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value; - }, - get onversionchange() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onversionchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBDatabase', 'onversionchange', arguments, result); - return result; - }, - set onversionchange(value) { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBDatabase', 'onversionchange', arguments); - qxVm.memory.private_data.get(this).onversionchange = value; - }, - transaction() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBDatabase', 'transaction', arguments, result); - return result; - }, - get version() { - if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.memory.private_data.get(this).version; - } - } - qxVm.rename(IDBDatabase.prototype, "IDBDatabase"); - qxVm.safeDescriptor_addConstructor(IDBDatabase); - qxVm.safe_Objattribute(IDBDatabase, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(IDBDatabase.prototype, EventTarget.prototype); - Object.setPrototypeOf(IDBDatabase, EventTarget); -})(); - - -IDBRequest = function IDBRequest(createObj_key, name, version) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - name:name, - version: version || 1 - }) -}; qxVm.safefunction(IDBRequest); - -; (function () { - const $safe_get_attribute = ['error', 'onerror', 'onsuccess', 'readyState', 'result', 'source', 'transaction']; - const $safe_set_attribute = ['onerror', 'onsuccess']; - const $safe_func_attribute = []; - - IDBRequest.prototype = { - get error() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).error, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'error', arguments, result); - return result; - }, - get onerror() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBRequest', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value; - }, - get onsuccess() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsuccess, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'onsuccess', arguments, result); - return result; - }, - set onsuccess(value) { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBRequest', 'onsuccess', arguments); - qxVm.memory.private_data.get(this).onsuccess = value; - }, - get readyState() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).readyState, "done");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'readyState', arguments, result); - return result; - }, - get result() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let info = qxVm.memory.private_data.get(this); - let name = info.name, version = info.version; - - let result = new IDBDatabase(qxVm.memory.$createObj_key, name, version);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'result', arguments, result); - return result; - }, - get source() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).source, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBRequest', 'source', arguments, result); - return result; - }, - get transaction() { - if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).transaction, null); - } - } - qxVm.rename(IDBRequest.prototype, "IDBRequest"); - qxVm.safeDescriptor_addConstructor(IDBRequest); - qxVm.safe_Objattribute(IDBRequest, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(IDBRequest.prototype, EventTarget.prototype); - Object.setPrototypeOf(IDBRequest, EventTarget); -})(); - - -MediaDevices = function MediaDevices(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(MediaDevices); - -; (function () { - const $safe_get_attribute = ['ondevicechange']; - const $safe_set_attribute = ['ondevicechange']; - const $safe_func_attribute = ['enumerateDevices', 'getDisplayMedia', 'getSupportedConstraints', 'getUserMedia']; - - MediaDevices.prototype = { - enumerateDevices() { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaDevices', 'enumerateDevices', arguments, result); - return result; - }, - getDisplayMedia() { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaDevices', 'getDisplayMedia', arguments, result); - return result; - }, - getSupportedConstraints() { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaDevices', 'getSupportedConstraints', arguments, result); - return result; - }, - getUserMedia() { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaDevices', 'getUserMedia', arguments, result); - return result; - }, - get ondevicechange() { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondevicechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MediaDevices', 'ondevicechange', arguments, result); - return result; - }, - set ondevicechange(value) { - if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'MediaDevices', 'ondevicechange', arguments); - qxVm.memory.private_data.get(this).ondevicechange = value + ""; - }, - } - qxVm.rename(MediaDevices.prototype, "MediaDevices"); - qxVm.safeDescriptor_addConstructor(MediaDevices); - qxVm.safe_Objattribute(MediaDevices, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(MediaDevices.prototype, EventTarget.prototype); - Object.setPrototypeOf(MediaDevices, EventTarget); - -})(); -NavigatorManagedData = function NavigatorManagedData(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(NavigatorManagedData); - -; (function () { - const $safe_get_attribute = ['onmanagedconfigurationchange']; - const $safe_set_attribute = ['onmanagedconfigurationchange']; - const $safe_func_attribute = ['getManagedConfiguration']; - - NavigatorManagedData.prototype = { - getManagedConfiguration() { - if (!NavigatorManagedData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NavigatorManagedData', 'getManagedConfiguration', arguments, result); - return result; - }, - get onmanagedconfigurationchange() { - if (!NavigatorManagedData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmanagedconfigurationchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NavigatorManagedData', 'onmanagedconfigurationchange', arguments, result); - return result; - }, - set onmanagedconfigurationchange(value) { - if (!NavigatorManagedData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'NavigatorManagedData', 'onmanagedconfigurationchange', arguments); - qxVm.memory.private_data.get(this).onmanagedconfigurationchange = value + ""; - }, - } - qxVm.rename(NavigatorManagedData.prototype, "NavigatorManagedData"); - qxVm.safeDescriptor_addConstructor(NavigatorManagedData); - qxVm.safe_Objattribute(NavigatorManagedData, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(NavigatorManagedData.prototype, EventTarget.prototype); - Object.setPrototypeOf(NavigatorManagedData, EventTarget); - -})(); -NetworkInformation = function NetworkInformation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(NetworkInformation); - -; (function () { - const $safe_get_attribute = ['downlink', 'effectiveType', 'onchange', 'rtt', 'saveData']; - const $safe_set_attribute = ['onchange']; - const $safe_func_attribute = []; - - NetworkInformation.prototype = { - get downlink() { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0.4;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NetworkInformation', 'downlink', arguments, result); - return result; - }, - get effectiveType() { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "4g";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NetworkInformation', 'effectiveType', arguments, result); - return result; - }, - get onchange() { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NetworkInformation', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'NetworkInformation', 'onchange', arguments); - qxVm.memory.private_data.get(this).onchange = value + ""; - }, - get rtt() { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 250;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NetworkInformation', 'rtt', arguments, result); - return result; - }, - get saveData() { - if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = false;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NetworkInformation', 'saveData', arguments, result); - return result; - }, - } - qxVm.rename(NetworkInformation.prototype, "NetworkInformation"); - qxVm.safeDescriptor_addConstructor(NetworkInformation); - qxVm.safe_Objattribute(NetworkInformation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(NetworkInformation.prototype, EventTarget.prototype); - Object.setPrototypeOf(NetworkInformation, EventTarget); - -})(); -RTCSctpTransport = function RTCSctpTransport(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(RTCSctpTransport); - -; (function () { - const $safe_get_attribute = ['maxChannels', 'maxMessageSize', 'onstatechange', 'state', 'transport']; - const $safe_set_attribute = ['onstatechange']; - const $safe_func_attribute = []; - - RTCSctpTransport.prototype = { - get maxChannels() { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).maxChannels, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSctpTransport', 'maxChannels', arguments, result); - return result; - }, - get maxMessageSize() { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).maxMessageSize, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSctpTransport', 'maxMessageSize', arguments, result); - return result; - }, - get onstatechange() { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstatechange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSctpTransport', 'onstatechange', arguments, result); - return result; - }, - set onstatechange(value) { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCSctpTransport', 'onstatechange', arguments); - qxVm.memory.private_data.get(this).onstatechange = value + ""; - }, - get state() { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).state, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSctpTransport', 'state', arguments, result); - return result; - }, - get transport() { - if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).transport, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSctpTransport', 'transport', arguments, result); - return result; - }, - } - qxVm.rename(RTCSctpTransport.prototype, "RTCSctpTransport"); - qxVm.safeDescriptor_addConstructor(RTCSctpTransport); - qxVm.safe_Objattribute(RTCSctpTransport, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(RTCSctpTransport.prototype, EventTarget.prototype); - Object.setPrototypeOf(RTCSctpTransport, EventTarget); - -})(); -ScreenOrientation = function ScreenOrientation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(ScreenOrientation); - -; (function () { - const $safe_get_attribute = ['angle', 'onchange', 'type']; - const $safe_set_attribute = ['onchange']; - const $safe_func_attribute = ['lock', 'unlock']; - - ScreenOrientation.prototype = { - get angle() { - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ScreenOrientation', 'angle', arguments, result); - return result; - }, - lock() { - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ScreenOrientation', 'lock', arguments, result); - return result; - }, - get onchange() { - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ScreenOrientation', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - // debugger; - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get type() { - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "landscape-primary";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ScreenOrientation', 'type', arguments, result); - return result; - }, - unlock() { - if (!ScreenOrientation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ScreenOrientation', 'unlock', arguments, result); - return result; - } - } - qxVm.rename(ScreenOrientation.prototype, "ScreenOrientation"); - qxVm.safeDescriptor_addConstructor(ScreenOrientation); - qxVm.safe_Objattribute(ScreenOrientation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(ScreenOrientation.prototype, EventTarget.prototype); - Object.setPrototypeOf(ScreenOrientation, EventTarget); - -})(); - - -Serial = function Serial(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Serial); - -; (function () { - const $safe_get_attribute = ['onconnect', 'ondisconnect']; - const $safe_set_attribute = ['onconnect', 'ondisconnect']; - const $safe_func_attribute = ['getPorts', 'requestPort']; - - Serial.prototype = { - getPorts() { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Serial', 'getPorts', arguments, result); - return result; - }, - get onconnect() { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Serial', 'onconnect', arguments, result); - return result; - }, - set onconnect(value) { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Serial', 'onconnect', arguments); - qxVm.memory.private_data.get(this).onconnect = value + ""; - }, - get ondisconnect() { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondisconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Serial', 'ondisconnect', arguments, result); - return result; - }, - set ondisconnect(value) { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Serial', 'ondisconnect', arguments); - qxVm.memory.private_data.get(this).ondisconnect = value + ""; - }, - requestPort() { - if (!Serial.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Serial', 'requestPort', arguments, result); - return result; - }, - } - qxVm.rename(Serial.prototype, "Serial"); - qxVm.safeDescriptor_addConstructor(Serial); - qxVm.safe_Objattribute(Serial, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(Serial.prototype, EventTarget.prototype); - Object.setPrototypeOf(Serial, EventTarget); - -})(); - -ServiceWorkerContainer = function ServiceWorkerContainer(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(ServiceWorkerContainer); - -; (function () { - const $safe_get_attribute = ['controller', 'oncontrollerchange', 'onmessage', 'onmessageerror', 'ready']; - const $safe_set_attribute = ['oncontrollerchange', 'onmessage', 'onmessageerror']; - const $safe_func_attribute = ['getRegistration', 'getRegistrations', 'register', 'startMessages']; - - ServiceWorkerContainer.prototype = { - get controller() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ServiceWorkerContainer', 'controller', arguments, result); - return result; - }, - getRegistration() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ServiceWorkerContainer', 'getRegistration', arguments, result); - return result; - }, - getRegistrations() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ServiceWorkerContainer', 'getRegistrations', arguments, result); - return result; - }, - get oncontrollerchange() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncontrollerchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ServiceWorkerContainer', 'oncontrollerchange', arguments, result); - return result; - }, - set oncontrollerchange(value) { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'ServiceWorkerContainer', 'oncontrollerchange', arguments); - qxVm.memory.private_data.get(this).oncontrollerchange = value + ""; - }, - get onmessage() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmessage, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ServiceWorkerContainer', 'onmessage', arguments, result); - return result; - }, - set onmessage(value) { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'ServiceWorkerContainer', 'onmessage', arguments); - qxVm.memory.private_data.get(this).onmessage = value + ""; - }, - get onmessageerror() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmessageerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ServiceWorkerContainer', 'onmessageerror', arguments, result); - return result; - }, - set onmessageerror(value) { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'ServiceWorkerContainer', 'onmessageerror', arguments); - qxVm.memory.private_data.get(this).onmessageerror = value + ""; - }, - get ready() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new Promise(function () { });; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'ServiceWorkerContainer', 'ready', arguments, result); - return result; - }, - register() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ServiceWorkerContainer', 'register', arguments, result); - return result; - }, - startMessages() { - if (!ServiceWorkerContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'ServiceWorkerContainer', 'startMessages', arguments, result); - return result; - }, - } - qxVm.rename(ServiceWorkerContainer.prototype, "ServiceWorkerContainer"); - qxVm.safeDescriptor_addConstructor(ServiceWorkerContainer); - qxVm.safe_Objattribute(ServiceWorkerContainer, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(ServiceWorkerContainer.prototype, EventTarget.prototype); - Object.setPrototypeOf(ServiceWorkerContainer, EventTarget); - -})(); - - -SourceBuffer = function SourceBuffer(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(SourceBuffer); - -; (function () { - const $safe_get_attribute = ['appendWindowEnd', 'appendWindowStart', 'buffered', 'mode', 'onabort', 'onerror', 'onupdate', 'onupdateend', 'onupdatestart', 'timestampOffset', 'updating']; - const $safe_set_attribute = ['appendWindowEnd', 'appendWindowStart', 'mode', 'onabort', 'onerror', 'onupdate', 'onupdateend', 'onupdatestart', 'timestampOffset']; - - const $safe_func_attribute = ['abort', 'appendBuffer', 'changeType', 'remove']; - SourceBuffer.prototype = { - abort() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SourceBuffer', 'abort', arguments, result); - return result; - }, - appendBuffer() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SourceBuffer', 'appendBuffer', arguments, result); - return result; - }, - get appendWindowEnd() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).appendWindowEnd, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'appendWindowEnd', arguments, result); - return result; - }, - set appendWindowEnd(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'appendWindowEnd', arguments); - qxVm.memory.private_data.get(this).appendWindowEnd = value + ""; - }, - get appendWindowStart() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).appendWindowStart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'appendWindowStart', arguments, result); - return result; - }, - set appendWindowStart(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'appendWindowStart', arguments); - qxVm.memory.private_data.get(this).appendWindowStart = value + ""; - }, - get buffered() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).buffered, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'buffered', arguments, result); - return result; - }, - changeType() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SourceBuffer', 'changeType', arguments, result); - return result; - }, - get mode() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).mode, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'mode', arguments, result); - return result; - }, - set mode(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'mode', arguments); - qxVm.memory.private_data.get(this).mode = value + ""; - }, - get onabort() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onabort, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'onabort', arguments); - qxVm.memory.private_data.get(this).onabort = value + ""; - }, - get onerror() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onupdate() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onupdate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'onupdate', arguments, result); - return result; - }, - set onupdate(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'onupdate', arguments); - qxVm.memory.private_data.get(this).onupdate = value + ""; - }, - get onupdateend() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onupdateend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'onupdateend', arguments, result); - return result; - }, - set onupdateend(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'onupdateend', arguments); - qxVm.memory.private_data.get(this).onupdateend = value + ""; - }, - get onupdatestart() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onupdatestart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'onupdatestart', arguments, result); - return result; - }, - set onupdatestart(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'onupdatestart', arguments); - qxVm.memory.private_data.get(this).onupdatestart = value + ""; - }, - remove() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SourceBuffer', 'remove', arguments, result); - return result; - }, - get timestampOffset() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).timestampOffset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'timestampOffset', arguments, result); - return result; - }, - set timestampOffset(value) { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SourceBuffer', 'timestampOffset', arguments); - qxVm.memory.private_data.get(this).timestampOffset = value + ""; - }, - get updating() { - if (!SourceBuffer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).updating, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SourceBuffer', 'updating', arguments, result); - return result; - }, - } - qxVm.rename(SourceBuffer.prototype, "SourceBuffer"); - qxVm.safeDescriptor_addConstructor(SourceBuffer); - qxVm.safe_Objattribute(SourceBuffer, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(SourceBuffer.prototype, EventTarget.prototype); - Object.setPrototypeOf(SourceBuffer, EventTarget); - -})(); -SpeechSynthesisUtterance = function SpeechSynthesisUtterance(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(SpeechSynthesisUtterance); - -; (function () { - const $safe_get_attribute = ['lang', 'onboundary', 'onend', 'onerror', 'onmark', 'onpause', 'onresume', 'onstart', 'pitch', 'rate', 'text', 'voice', 'volume']; - const $safe_set_attribute = ['lang', 'onboundary', 'onend', 'onerror', 'onmark', 'onpause', 'onresume', 'onstart', 'pitch', 'rate', 'text', 'voice', 'volume']; - const $safe_func_attribute = []; - - SpeechSynthesisUtterance.prototype = { - get lang() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lang, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'lang', arguments, result); - return result; - }, - set lang(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'lang', arguments); - qxVm.memory.private_data.get(this).lang = value + ""; - }, - get onboundary() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onboundary, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onboundary', arguments, result); - return result; - }, - set onboundary(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onboundary', arguments); - qxVm.memory.private_data.get(this).onboundary = value + ""; - }, - get onend() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onend', arguments, result); - return result; - }, - set onend(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onend', arguments); - qxVm.memory.private_data.get(this).onend = value + ""; - }, - get onerror() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onmark() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmark, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onmark', arguments, result); - return result; - }, - set onmark(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onmark', arguments); - qxVm.memory.private_data.get(this).onmark = value + ""; - }, - get onpause() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpause, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onpause', arguments, result); - return result; - }, - set onpause(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onpause', arguments); - qxVm.memory.private_data.get(this).onpause = value + ""; - }, - get onresume() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresume, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onresume', arguments, result); - return result; - }, - set onresume(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onresume', arguments); - qxVm.memory.private_data.get(this).onresume = value + ""; - }, - get onstart() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'onstart', arguments, result); - return result; - }, - set onstart(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'onstart', arguments); - qxVm.memory.private_data.get(this).onstart = value + ""; - }, - get pitch() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pitch, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'pitch', arguments, result); - return result; - }, - set pitch(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'pitch', arguments); - qxVm.memory.private_data.get(this).pitch = value + ""; - }, - get rate() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'rate', arguments, result); - return result; - }, - set rate(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'rate', arguments); - qxVm.memory.private_data.get(this).rate = value + ""; - }, - get text() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).text, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'text', arguments, result); - return result; - }, - set text(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'text', arguments); - qxVm.memory.private_data.get(this).text = value + ""; - }, - get voice() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).voice, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'voice', arguments, result); - return result; - }, - set voice(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'voice', arguments); - qxVm.memory.private_data.get(this).voice = value + ""; - }, - get volume() { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).volume, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SpeechSynthesisUtterance', 'volume', arguments, result); - return result; - }, - set volume(value) { - if (!SpeechSynthesisUtterance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SpeechSynthesisUtterance', 'volume', arguments); - qxVm.memory.private_data.get(this).volume = value + ""; - }, - } - qxVm.rename(SpeechSynthesisUtterance.prototype, "SpeechSynthesisUtterance"); - qxVm.safeDescriptor_addConstructor(SpeechSynthesisUtterance); - qxVm.safe_Objattribute(SpeechSynthesisUtterance, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(SpeechSynthesisUtterance.prototype, EventTarget.prototype); - Object.setPrototypeOf(SpeechSynthesisUtterance, EventTarget); -})(); -StorageManager = function StorageManager(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(StorageManager); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['estimate', 'getDirectory', 'persist', 'persisted']; - - StorageManager.prototype = { - estimate() { - if (!StorageManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'StorageManager', 'estimate', arguments, result); - return result; - }, - getDirectory() { - if (!StorageManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'StorageManager', 'getDirectory', arguments, result); - return result; - }, - persist() { - if (!StorageManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'StorageManager', 'persist', arguments, result); - return result; - }, - persisted() { - if (!StorageManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'StorageManager', 'persisted', arguments, result); - return result; - }, - } - qxVm.rename(StorageManager.prototype, "StorageManager"); - qxVm.safeDescriptor_addConstructor(StorageManager); - qxVm.safe_Objattribute(StorageManager, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(StorageManager.prototype, EventTarget.prototype); - Object.setPrototypeOf(StorageManager, EventTarget); - -})(); - - -TrustedTypePolicyFactory = function TrustedTypePolicyFactory(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(TrustedTypePolicyFactory); - -; (function () { - const $safe_get_attribute = ['defaultPolicy', 'emptyHTML', 'emptyScript']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['createPolicy', 'getAttributeType', 'getPropertyType', 'getTypeMapping', 'isHTML', 'isScript', 'isScriptURL']; - - TrustedTypePolicyFactory.prototype = { - createPolicy() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'createPolicy', arguments, result); - return result; - }, - get defaultPolicy() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'TrustedTypePolicyFactory', 'defaultPolicy', arguments, result); - return result; - }, - get emptyHTML() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).emptyHTML, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'TrustedTypePolicyFactory', 'emptyHTML', arguments, result); - return result; - }, - get emptyScript() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).emptyScript, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'TrustedTypePolicyFactory', 'emptyScript', arguments, result); - return result; - }, - getAttributeType() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'getAttributeType', arguments, result); - return result; - }, - getPropertyType() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'getPropertyType', arguments, result); - return result; - }, - getTypeMapping() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'getTypeMapping', arguments, result); - return result; - }, - isHTML() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'isHTML', arguments, result); - return result; - }, - isScript() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'isScript', arguments, result); - return result; - }, - isScriptURL() { - if (!TrustedTypePolicyFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'TrustedTypePolicyFactory', 'isScriptURL', arguments, result); - return result; - }, - } - qxVm.rename(TrustedTypePolicyFactory.prototype, "TrustedTypePolicyFactory"); - qxVm.safeDescriptor_addConstructor(TrustedTypePolicyFactory); - qxVm.safe_Objattribute(TrustedTypePolicyFactory, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(TrustedTypePolicyFactory.prototype, EventTarget.prototype); - Object.setPrototypeOf(TrustedTypePolicyFactory, EventTarget); -})(); -trustedTypes = new TrustedTypePolicyFactory(qxVm.memory.$createObj_key) - - -USB = function USB(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(USB); - -; (function () { - const $safe_get_attribute = ['onconnect', 'ondisconnect']; - const $safe_set_attribute = ['onconnect', 'ondisconnect']; - const $safe_func_attribute = ['getDevices', 'requestDevice']; - - USB.prototype = { - getDevices() { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'USB', 'getDevices', arguments, result); - return result; - }, - get onconnect() { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'USB', 'onconnect', arguments, result); - return result; - }, - set onconnect(value) { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'USB', 'onconnect', arguments); - qxVm.memory.private_data.get(this).onconnect = value + ""; - }, - get ondisconnect() { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondisconnect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'USB', 'ondisconnect', arguments, result); - return result; - }, - set ondisconnect(value) { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'USB', 'ondisconnect', arguments); - qxVm.memory.private_data.get(this).ondisconnect = value + ""; - }, - requestDevice() { - if (!USB.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'USB', 'requestDevice', arguments, result); - return result; - }, - } - qxVm.rename(USB.prototype, "USB"); - qxVm.safeDescriptor_addConstructor(USB); - qxVm.safe_Objattribute(USB, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(USB.prototype, EventTarget.prototype); - Object.setPrototypeOf(USB, EventTarget); -})(); - - -VirtualKeyboard = function VirtualKeyboard(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(VirtualKeyboard); - -; (function () { - const $safe_get_attribute = ['boundingRect', 'ongeometrychange', 'overlaysContent']; - const $safe_set_attribute = ['ongeometrychange', 'overlaysContent']; - const $safe_func_attribute = ['hide', 'show']; - - VirtualKeyboard.prototype = { - get boundingRect() { // 有问题 - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).boundingRect, ""); - }, - hide() { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'VirtualKeyboard', 'hide', arguments, result); - return result; - }, - get ongeometrychange() { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ongeometrychange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VirtualKeyboard', 'ongeometrychange', arguments, result); - return result; - }, - set ongeometrychange(value) { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'VirtualKeyboard', 'ongeometrychange', arguments); - qxVm.memory.private_data.get(this).ongeometrychange = value + ""; - }, - get overlaysContent() { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).overlaysContent, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VirtualKeyboard', 'overlaysContent', arguments, result); - return result; - }, - set overlaysContent(value) { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'VirtualKeyboard', 'overlaysContent', arguments); - qxVm.memory.private_data.get(this).overlaysContent = value ? true : false; - }, - show() { - if (!VirtualKeyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'VirtualKeyboard', 'show', arguments, result); - return result; - }, - } - qxVm.rename(VirtualKeyboard.prototype, "VirtualKeyboard"); - qxVm.safeDescriptor_addConstructor(VirtualKeyboard); - qxVm.safe_Objattribute(VirtualKeyboard, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(VirtualKeyboard.prototype, EventTarget.prototype); - Object.setPrototypeOf(VirtualKeyboard, EventTarget); -})(); - - -VisualViewport = function VisualViewport(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(VisualViewport); - -; (function () { - const $safe_get_attribute = ['height', 'offsetLeft', 'offsetTop', 'onresize', 'onscroll', 'pageLeft', 'pageTop', 'scale', 'width']; - const $safe_set_attribute = ['onresize', 'onscroll']; - const $safe_func_attribute = []; - - VisualViewport.prototype = { - get height() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 963.3333129882812;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'height', arguments, result); - return result; - }, - get offsetLeft() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'offsetLeft', arguments, result); - return result; - }, - get offsetTop() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'offsetTop', arguments, result); - return result; - }, - get onresize() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresize, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'onresize', arguments, result); - return result; - }, - set onresize(value) { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'VisualViewport', 'onresize', arguments); - qxVm.memory.private_data.get(this).onresize = value + ""; - }, - get onscroll() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onscroll, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'onscroll', arguments, result); - return result; - }, - set onscroll(value) { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'VisualViewport', 'onscroll', arguments); - qxVm.memory.private_data.get(this).onscroll = value + ""; - }, - get pageLeft() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'pageLeft', arguments, result); - return result; - }, - get pageTop() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'pageTop', arguments, result); - return result; - }, - get scale() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 1;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'scale', arguments, result); - return result; - }, - get width() { - if (!VisualViewport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 1707.3333740234375;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'VisualViewport', 'width', arguments, result); - return result; - }, - } - qxVm.rename(VisualViewport.prototype, "VisualViewport"); - qxVm.safeDescriptor_addConstructor(VisualViewport); - qxVm.safe_Objattribute(VisualViewport, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(VisualViewport.prototype, EventTarget.prototype); - Object.setPrototypeOf(VisualViewport, EventTarget); -})(); -visualViewport = new VisualViewport(qxVm.memory.$createObj_key); - - -XRSystem = function XRSystem(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(XRSystem); - -; (function () { - const $safe_get_attribute = ['ondevicechange']; - const $safe_set_attribute = ['ondevicechange']; - const $safe_func_attribute = ['isSessionSupported', 'requestSession', 'supportsSession']; - - XRSystem.prototype = { - isSessionSupported() { - if (!XRSystem.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XRSystem', 'isSessionSupported', arguments, result); - return result; - }, - get ondevicechange() { - if (!XRSystem.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondevicechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XRSystem', 'ondevicechange', arguments, result); - return result; - }, - set ondevicechange(value) { - if (!XRSystem.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XRSystem', 'ondevicechange', arguments); - qxVm.memory.private_data.get(this).ondevicechange = value + ""; - }, - requestSession() { - if (!XRSystem.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XRSystem', 'requestSession', arguments, result); - return result; - }, - supportsSession() { - if (!XRSystem.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XRSystem', 'supportsSession', arguments, result); - return result; - }, - } - qxVm.rename(XRSystem.prototype, "XRSystem"); - qxVm.safeDescriptor_addConstructor(XRSystem); - qxVm.safe_Objattribute(XRSystem, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(XRSystem.prototype, EventTarget.prototype); - Object.setPrototypeOf(XRSystem, EventTarget); -})(); - - - -PerformanceNavigation = function PerformanceNavigation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(PerformanceNavigation); - -; (function () { - const $attributes = { - TYPE_BACK_FORWARD: 2, - TYPE_NAVIGATE: 0, - TYPE_RELOAD: 1, - TYPE_RESERVED: 255 - } - const $safe_get_attribute = ['redirectCount', 'type']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['toJSON']; - - PerformanceNavigation.prototype = { - get redirectCount() { - if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceNavigation', 'redirectCount', arguments, result); - return result; - }, - toJSON() { - if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PerformanceNavigation', 'toJSON', arguments, result); - return result; - }, - get type() { - if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceNavigation', 'type', arguments, result); - return result; - }, - } - qxVm.rename(PerformanceNavigation.prototype, "PerformanceNavigation"); - qxVm.safeDescriptor_addConstructor(PerformanceNavigation); - qxVm.safe_Objattribute(PerformanceNavigation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - qxVm.add_capitalLetter_attribute(PerformanceNavigation, $attributes); - -})(); -PerformanceTiming = function PerformanceTiming(createObj_key, timeOrigin) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {base_time: timeOrigin}) -}; qxVm.safefunction(PerformanceTiming); - -; (function () { - const $safe_get_attribute = [ - 'connectEnd', 'connectStart', 'domComplete', 'domContentLoadedEventEnd', 'domContentLoadedEventStart', 'domInteractive', 'domLoading', 'domainLookupEnd', - 'domainLookupStart', 'fetchStart', 'loadEventEnd', 'loadEventStart', 'navigationStart', 'redirectEnd', 'redirectStart', 'requestStart', 'responseEnd', - 'responseStart', 'secureConnectionStart', 'unloadEventEnd', 'unloadEventStart' - ]; - const $safe_set_attribute = []; - const $safe_func_attribute = ['toJSON']; - - - PerformanceTiming.prototype = { - get connectEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'connectEnd', arguments, result); - return result; - }, - get connectStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'connectStart', arguments, result); - return result; - }, - get domComplete() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + parseInt(Math.random()*(500 - 10) + 100, 10);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domComplete', arguments, result); - return result; - }, - get domContentLoadedEventEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + 106;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventEnd', arguments, result); - return result; - }, - get domContentLoadedEventStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + 103;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventStart', arguments, result); - return result; - }, - get domInteractive() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + 102;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domInteractive', arguments, result); - return result; - }, - get domLoading() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + 79;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domLoading', arguments, result); - return result; - }, - get domainLookupEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domainLookupEnd', arguments, result); - return result; - }, - get domainLookupStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'domainLookupStart', arguments, result); - return result; - }, - get fetchStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'fetchStart', arguments, result); - return result; - }, - get loadEventEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this.domComplete;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'loadEventEnd', arguments, result); - return result; - }, - get loadEventStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this.domComplete;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'loadEventStart', arguments, result); - return result; - }, - get navigationStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + -8;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'navigationStart', arguments, result); - return result; - }, - get redirectEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'redirectEnd', arguments, result); - return result; - }, - get redirectStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'redirectStart', arguments, result); - return result; - }, - get requestStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'requestStart', arguments, result); - return result; - }, - get responseEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time + 20;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'responseEnd', arguments, result); - return result; - }, - get responseStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).base_time;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'responseStart', arguments, result); - return result; - }, - get secureConnectionStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'secureConnectionStart', arguments, result); - return result; - }, - toJSON() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PerformanceTiming', 'toJSON', arguments, result); - return result; - }, - get unloadEventEnd() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceTiming', 'unloadEventEnd', arguments, result); - return result; - }, - get unloadEventStart() { - if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return 0; - } - }; - - qxVm.rename(PerformanceTiming.prototype, "PerformanceTiming"); - qxVm.safeDescriptor_addConstructor(PerformanceTiming); - qxVm.safe_Objattribute(PerformanceTiming, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - - -PerformanceEntry = function PerformanceEntry(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(PerformanceEntry); - -; (function () { - const $safe_get_attribute = ['duration', 'entryType', 'name', 'startTime']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['toJSON']; - - PerformanceEntry.prototype = { - get duration() { - if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).duration, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceEntry', 'duration', arguments, result); - return result; - }, - get entryType() { - if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).entryType, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceEntry', 'entryType', arguments, result); - return result; - }, - get name() { - if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceEntry', 'name', arguments, result); - return result; - }, - get startTime() { - if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).startTime, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PerformanceEntry', 'startTime', arguments, result); - return result; - }, - toJSON() { - if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PerformanceEntry', 'toJSON', arguments, result); - return result; - }, - } - qxVm.rename(PerformanceEntry.prototype, "PerformanceEntry"); - qxVm.safeDescriptor_addConstructor(PerformanceEntry); - qxVm.safe_Objattribute(PerformanceEntry, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -PerformancePaintTiming = function PerformancePaintTiming(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - // qxVm.z_sanbox.memory.private_data.set(this, {}) -}; qxVm.safefunction(PerformancePaintTiming); - -; (function () { - // const $safe_get_attribute = []; - // const $safe_set_attribute = []; - // const $safe_func_attribute = []; - - PerformancePaintTiming.prototype = {} - - qxVm.rename(PerformancePaintTiming.prototype, "PerformancePaintTiming"); - qxVm.safeDescriptor_addConstructor(PerformancePaintTiming); - // qxVm.z_sanbox.safe_Objattribute(PerformancePaintTiming, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(PerformancePaintTiming.prototype, PerformanceEntry.prototype); - Object.setPrototypeOf(PerformancePaintTiming, PerformanceEntry); - -})(); -Performance = function Performance(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Performance); - -; (function () { - MemoryInfo = function MemoryInfo(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - }; qxVm.safefunction(MemoryInfo); - - ; (function () { - const $safe_get_attribute = ['jsHeapSizeLimit', 'totalJSHeapSize', 'usedJSHeapSize']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - MemoryInfo.prototype = { - get jsHeapSizeLimit() { - if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 2330000000;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MemoryInfo', 'jsHeapSizeLimit', arguments, result); - return result; - }, - get totalJSHeapSize() { - if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 18200000;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MemoryInfo', 'totalJSHeapSize', arguments, result); - return result; - }, - get usedJSHeapSize() { - if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 15200000;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MemoryInfo', 'usedJSHeapSize', arguments, result); - return result; - }, - } - qxVm.rename(MemoryInfo.prototype, "MemoryInfo"); - qxVm.safeDescriptor_addConstructor(MemoryInfo); - qxVm.safe_Objattribute(MemoryInfo, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - })(); - - - const $safe_get_attribute = ['eventCounts', 'memory', 'navigation', 'onresourcetimingbufferfull', 'timeOrigin', 'timing']; - const $safe_set_attribute = ['onresourcetimingbufferfull']; - const $safe_func_attribute = ['clearMarks', 'clearMeasures', 'clearResourceTimings', 'getEntries', 'getEntriesByName', 'getEntriesByType', 'mark', 'measure', 'now', 'setResourceTimingBufferSize', 'toJSON']; - - // Performance.prototype.eventCounts - Performance.prototype = { - clearMarks() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'clearMarks', arguments, result); - return result; - }, - clearMeasures() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'clearMeasures', arguments, result); - return result; - }, - clearResourceTimings() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'clearResourceTimings', arguments, result); - return result; - }, - get eventCounts() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).eventCounts, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Performance', 'eventCounts', arguments, result); - return result; - }, - getEntries() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'getEntries', arguments, result); - return result; - }, - getEntriesByName() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'getEntriesByName', arguments, result); - return result; - }, - getEntriesByType(type) { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (type === undefined) - throw new TypeError(`Failed to execute 'getEntriesByType' on 'Performance': 1 argument required, but only 0 present.`) - console.log(type) - - let ele; - switch (type){ - default: - ele = []; - break - }; - return ele - - }, - mark() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'mark', arguments, result); - return result; - }, - measure() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'measure', arguments, result); - return result; - }, - get memory() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).memory; - if (!ele) { - ele = new MemoryInfo(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).memory = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'if ', arguments, result); - return result; - }, - get navigation() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).navigation; - if (!ele) { - ele = new PerformanceNavigation(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).navigation = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'if ', arguments, result); - return result; - }, - now() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'now', arguments, result); - return result; - }, - get onresourcetimingbufferfull() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresourcetimingbufferfull, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Performance', 'onresourcetimingbufferfull', arguments, result); - return result; - }, - set onresourcetimingbufferfull(value) { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Performance', 'onresourcetimingbufferfull', arguments); - qxVm.memory.private_data.get(this).onresourcetimingbufferfull = value; - }, - setResourceTimingBufferSize() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'setResourceTimingBufferSize', arguments, result); - return result; - }, - get timeOrigin() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).timeOrigin; - if (!ele){ - ele = (new Date().getTime()) + parseFloat((Math.random()).toFixed(1)) - qxVm.memory.private_data.get(this).timeOrigin = ele - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Performance', 'timeOrigin', arguments, result); - return result; - }, - get timing() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).timing; - if (!ele){ - ele = new PerformanceTiming(qxVm.memory.$createObj_key, parseInt(this.timeOrigin)); - qxVm.memory.private_data.get(this).timing = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Performance', 'timing', arguments, result); - return result; - }, - toJSON() { - if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Performance', 'toJSON', arguments, result); - return result; - } - }; - - qxVm.rename(Performance.prototype, "Performance"); - qxVm.safeDescriptor_addConstructor(Performance); - qxVm.safe_Objattribute(Performance, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(Performance.prototype, EventTarget.prototype); - Object.setPrototypeOf(Performance, EventTarget); -})(); -performance = new Performance(qxVm.memory.$createObj_key); - - -RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {label:label}) -}; qxVm.safefunction(RTCDataChannel); - -; (function () { - const $safe_get_attribute = ['binaryType', 'bufferedAmount', 'bufferedAmountLowThreshold', 'id', 'label', 'maxRetransmitTime', 'maxRetransmits', 'negotiated', 'onbufferedamountlow', 'onclose', 'onerror', 'onmessage', 'onopen', 'ordered', 'protocol', 'readyState', 'reliable']; - const $safe_set_attribute = ['binaryType', 'bufferedAmount', 'bufferedAmountLowThreshold', 'onbufferedamountlow', 'onclose', 'onerror', 'onmessage', 'onopen']; - const $safe_func_attribute = ['close', 'send']; - RTCDataChannel.prototype = { - - get binaryType() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).binaryType, "arraybuffer");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'binaryType', arguments, result); - return result; - }, - set binaryType(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'binaryType', arguments); - qxVm.memory.private_data.get(this).binaryType = value + ""; - }, - get bufferedAmount() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).bufferedAmount, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmount', arguments, result); - return result; - }, - set bufferedAmount(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'bufferedAmount', arguments); - qxVm.memory.private_data.get(this).bufferedAmount = value; - }, - get bufferedAmountLowThreshold() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).bufferedAmountLowThreshold, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments, result); - return result; - }, - set bufferedAmountLowThreshold(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments); - qxVm.memory.private_data.get(this).bufferedAmountLowThreshold = value; - }, - close() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCDataChannel', 'close', arguments, result); - return result; - }, - get id() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).id, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'id', arguments, result); - return result; - }, - get label() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).label;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'label', arguments, result); - return result; - }, - get maxRetransmitTime() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).maxRetransmitTime, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmitTime', arguments, result); - return result; - }, - get maxRetransmits() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).maxRetransmits, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmits', arguments, result); - return result; - }, - get negotiated() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).negotiated, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'negotiated', arguments, result); - return result; - }, - get onbufferedamountlow() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onbufferedamountlow, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'onbufferedamountlow', arguments, result); - return result; - }, - set onbufferedamountlow(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'onbufferedamountlow', arguments); - qxVm.memory.private_data.get(this).onbufferedamountlow = value + ""; - }, - get onclose() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclose, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'onclose', arguments, result); - return result; - }, - set onclose(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'onclose', arguments); - qxVm.memory.private_data.get(this).onclose = value + ""; - }, - get onerror() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onmessage() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmessage, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'onmessage', arguments, result); - return result; - }, - set onmessage(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'onmessage', arguments); - qxVm.memory.private_data.get(this).onmessage = value + ""; - }, - get onopen() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onopen, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'onopen', arguments, result); - return result; - }, - set onopen(value) { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCDataChannel', 'onopen', arguments); - qxVm.memory.private_data.get(this).onopen = value + ""; - }, - get ordered() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ordered, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'ordered', arguments, result); - return result; - }, - get protocol() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).protocol, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'protocol', arguments, result); - return result; - }, - get readyState() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).readyState, "connecting");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'readyState', arguments, result); - return result; - }, - get reliable() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).reliable, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCDataChannel', 'reliable', arguments, result); - return result; - }, - send() { - if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCDataChannel', 'send', arguments, result); - return result; - } - }; - - qxVm.rename(RTCDataChannel.prototype, "RTCDataChannel"); - qxVm.safeDescriptor_addConstructor(RTCDataChannel); - qxVm.safe_Objattribute(RTCDataChannel, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(RTCDataChannel.prototype, EventTarget.prototype); - Object.setPrototypeOf(RTCDataChannel, EventTarget); - -})(); - - -RTCIceCandidate = function RTCIceCandidate(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(RTCIceCandidate); - -; (function () { - const $safe_get_attribute = ['address', 'candidate', 'component', 'foundation', 'port', 'priority', 'protocol', 'relatedAddress', 'relatedPort', 'sdpMLineIndex', 'sdpMid', 'tcpType', 'type', 'usernameFragment']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['toJSON']; - - RTCIceCandidate.prototype = { - get address() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).address, "192.168.0.103");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'address', arguments, result); - return result; - }, - get candidate() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).candidate, "candidate:1840965416 1 udp 2122260223 192.168.0.103 49325 typ host generation 0 ufrag o6U2 network-id 1 network-cost 10");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'candidate', arguments, result); - return result; - }, - get component() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).component, "rtp");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'component', arguments, result); - return result; - }, - get foundation() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).foundation, "1840965416");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'foundation', arguments, result); - return result; - }, - get port() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).port, 49325);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'port', arguments, result); - return result; - }, - get priority() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).priority, 2122260223);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'priority', arguments, result); - return result; - }, - get protocol() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).protocol, "udp");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'protocol', arguments, result); - return result; - }, - get relatedAddress() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).relatedAddress, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'relatedAddress', arguments, result); - return result; - }, - get relatedPort() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).relatedPort, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'relatedPort', arguments, result); - return result; - }, - get sdpMLineIndex() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sdpMLineIndex, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'sdpMLineIndex', arguments, result); - return result; - }, - get sdpMid() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sdpMid, "1");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'sdpMid', arguments, result); - return result; - }, - get tcpType() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tcpType, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'tcpType', arguments, result); - return result; - }, - toJSON() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCIceCandidate', 'toJSON', arguments, result); - return result; - }, - get type() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "host");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'type', arguments, result); - return result; - }, - get usernameFragment() { - if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).usernameFragment, "o6U2");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCIceCandidate', 'usernameFragment', arguments, result); - return result; - }, - } - qxVm.rename(RTCIceCandidate.prototype, "RTCIceCandidate"); - qxVm.safeDescriptor_addConstructor(RTCIceCandidate); - qxVm.safe_Objattribute(RTCIceCandidate, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -RTCPeerConnectionIceEvent = function RTCPeerConnectionIceEvent(createObj_key, type) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { type: type }) -}; qxVm.safefunction(RTCPeerConnectionIceEvent); - -; (function () { - const $safe_get_attribute = ['candidate']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - RTCPeerConnectionIceEvent.prototype = { - get candidate() { - if (!RTCPeerConnectionIceEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).candidate, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnectionIceEvent', 'candidate', arguments, result); - return result; - }, - } - qxVm.rename(RTCPeerConnectionIceEvent.prototype, "RTCPeerConnectionIceEvent"); - qxVm.safeDescriptor_addConstructor(RTCPeerConnectionIceEvent); - qxVm.safe_Objattribute(RTCPeerConnectionIceEvent, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(RTCPeerConnectionIceEvent.prototype, Event.prototype); - Object.setPrototypeOf(RTCPeerConnectionIceEvent, Event); -})(); - - -RTCSessionDescription = function RTCSessionDescription(createObj_key, sdp, type) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { sdp: sdp, type: type }) -}; qxVm.safefunction(RTCSessionDescription); - -; (function () { - const $safe_get_attribute = ['sdp', 'type']; - const $safe_set_attribute = ['sdp', 'type']; - const $safe_func_attribute = ['toJSON']; - - RTCSessionDescription.prototype = { - get sdp() { - if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sdp, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSessionDescription', 'sdp', arguments, result); - return result; - }, - set sdp(value) { - if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCSessionDescription', 'sdp', arguments); - qxVm.memory.private_data.get(this).sdp = value + ""; - }, - toJSON() { - if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCSessionDescription', 'toJSON', arguments, result); - return result; - }, - get type() { - if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCSessionDescription', 'type', arguments, result); - return result; - }, - set type(value) { - if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCSessionDescription', 'type', arguments); - qxVm.memory.private_data.get(this).type = value + ""; - }, - }; - - qxVm.rename(RTCSessionDescription.prototype, "RTCSessionDescription"); - qxVm.safeDescriptor_addConstructor(RTCSessionDescription); - qxVm.safe_Objattribute(RTCSessionDescription, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -RTCPeerConnection = function RTCPeerConnection() {//构造函数 - if(new.target !== RTCPeerConnection){ - throw new TypeError(`Failed to construct 'RTCPeerConnection': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(RTCPeerConnection); - -; (function () { - const $safe_get_attribute = [ - 'canTrickleIceCandidates', 'connectionState', 'currentLocalDescription', 'currentRemoteDescription', 'iceConnectionState', 'iceGatheringState', 'localDescription', 'onaddstream', 'onconnectionstatechange', 'ondatachannel', - 'onicecandidate', 'onicecandidateerror', 'oniceconnectionstatechange', 'onicegatheringstatechange', 'onnegotiationneeded', 'onremovestream', 'onsignalingstatechange', 'ontrack', 'pendingLocalDescription', 'pendingRemoteDescription', - 'remoteDescription', 'sctp', 'signalingState' - ]; - const $safe_set_attribute = [ - 'onaddstream', 'onconnectionstatechange', 'ondatachannel', 'onicecandidate', 'onicecandidateerror', 'oniceconnectionstatechange', 'onicegatheringstatechange', 'onnegotiationneeded', 'onremovestream', 'onsignalingstatechange', 'ontrack']; - const $safe_func_attribute = [ - 'addIceCandidate', 'addStream', 'addTrack', 'addTransceiver', 'close', 'createAnswer', 'createDTMFSender', 'createDataChannel', 'createOffer', 'getConfiguration', 'getLocalStreams', 'getReceivers', 'getRemoteStreams', 'getSenders', - 'getStats', 'getTransceivers', 'removeStream', 'removeTrack', 'restartIce', 'setConfiguration', 'setLocalDescription', 'setRemoteDescription' - ]; - - RTCPeerConnection.prototype = { - addIceCandidate() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'addIceCandidate', arguments, result); - return result; - }, - addStream() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'addStream', arguments, result); - return result; - }, - addTrack() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'addTrack', arguments, result); - return result; - }, - addTransceiver() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'addTransceiver', arguments, result); - return result; - }, - get canTrickleIceCandidates() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).canTrickleIceCandidates, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'canTrickleIceCandidates', arguments, result); - return result; - }, - close() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'close', arguments, result); - return result; - }, - get connectionState() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).connectionState, "new");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'connectionState', arguments, result); - return result; - }, - createAnswer() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'createAnswer', arguments, result); - return result; - }, - createDTMFSender() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'createDTMFSender', arguments, result); - return result; - }, - createDataChannel(label) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (label === undefined) { throw new TypeError(`Failed to execute 'createDataChannel' on 'RTCPeerConnection': 1 argument required, but only 0 present.`) } - let result = new RTCDataChannel(qxVm.memory.$createObj_key, label);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'createDataChannel', arguments, result); - return result; - }, - async createOffer(successCallback, failureCallback) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - return new Promise(resolve=>{ - return function(offer){ - console.log(offer) - resolve(new RTCSessionDescription(qxVm.memory.$createObj_key)) - } - }) - }, - get currentLocalDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentLocalDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'currentLocalDescription', arguments, result); - return result; - }, - get currentRemoteDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentRemoteDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'currentRemoteDescription', arguments, result); - return result; - }, - getConfiguration() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getConfiguration', arguments, result); - return result; - }, - getLocalStreams() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getLocalStreams', arguments, result); - return result; - }, - getReceivers() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getReceivers', arguments, result); - return result; - }, - getRemoteStreams() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getRemoteStreams', arguments, result); - return result; - }, - getSenders() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getSenders', arguments, result); - return result; - }, - getStats() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getStats', arguments, result); - return result; - }, - getTransceivers() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'getTransceivers', arguments, result); - return result; - }, - get iceConnectionState() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).iceConnectionState, "new");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'iceConnectionState', arguments, result); - return result; - }, - get iceGatheringState() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).iceGatheringState, "new");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'iceGatheringState', arguments, result); - return result; - }, - get localDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).localDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'localDescription', arguments, result); - return result; - }, - get onaddstream() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onaddstream, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onaddstream', arguments, result); - return result; - }, - set onaddstream(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onaddstream', arguments); - qxVm.memory.private_data.get(this).onaddstream = value + ""; - }, - get onconnectionstatechange() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onconnectionstatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onconnectionstatechange', arguments, result); - return result; - }, - set onconnectionstatechange(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onconnectionstatechange', arguments); - qxVm.memory.private_data.get(this).onconnectionstatechange = value + ""; - }, - get ondatachannel() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondatachannel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'ondatachannel', arguments, result); - return result; - }, - set ondatachannel(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'ondatachannel', arguments); - qxVm.memory.private_data.get(this).ondatachannel = value + ""; - }, - get onicecandidate() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onicecandidate, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidate', arguments, result); - return result; - }, - set onicecandidate(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onicecandidate', arguments); - qxVm.memory.private_data.get(this).onicecandidate = value; - }, - get onicecandidateerror() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onicecandidateerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidateerror', arguments, result); - return result; - }, - set onicecandidateerror(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onicecandidateerror', arguments); - qxVm.memory.private_data.get(this).onicecandidateerror = value + ""; - }, - get oniceconnectionstatechange() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oniceconnectionstatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments, result); - return result; - }, - set oniceconnectionstatechange(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments); - qxVm.memory.private_data.get(this).oniceconnectionstatechange = value + ""; - }, - get onicegatheringstatechange() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onicegatheringstatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onicegatheringstatechange', arguments, result); - return result; - }, - set onicegatheringstatechange(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onicegatheringstatechange', arguments); - qxVm.memory.private_data.get(this).onicegatheringstatechange = value + ""; - }, - get onnegotiationneeded() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onnegotiationneeded, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onnegotiationneeded', arguments, result); - return result; - }, - set onnegotiationneeded(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onnegotiationneeded', arguments); - qxVm.memory.private_data.get(this).onnegotiationneeded = value + ""; - }, - get onremovestream() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onremovestream, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onremovestream', arguments, result); - return result; - }, - set onremovestream(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onremovestream', arguments); - qxVm.memory.private_data.get(this).onremovestream = value + ""; - }, - get onsignalingstatechange() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsignalingstatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'onsignalingstatechange', arguments, result); - return result; - }, - set onsignalingstatechange(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'onsignalingstatechange', arguments); - qxVm.memory.private_data.get(this).onsignalingstatechange = value + ""; - }, - get ontrack() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontrack, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'ontrack', arguments, result); - return result; - }, - set ontrack(value) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'RTCPeerConnection', 'ontrack', arguments); - qxVm.memory.private_data.get(this).ontrack = value + ""; - }, - get pendingLocalDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pendingLocalDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'pendingLocalDescription', arguments, result); - return result; - }, - get pendingRemoteDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pendingRemoteDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'pendingRemoteDescription', arguments, result); - return result; - }, - get remoteDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).remoteDescription, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'remoteDescription', arguments, result); - return result; - }, - removeStream() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'removeStream', arguments, result); - return result; - }, - removeTrack() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'removeTrack', arguments, result); - return result; - }, - restartIce() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'restartIce', arguments, result); - return result; - }, - get sctp() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sctp, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'RTCPeerConnection', 'sctp', arguments, result); - return result; - }, - setConfiguration() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'setConfiguration', arguments, result); - return result; - }, - async setLocalDescription(session) { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - this.localDescription = session; - this.pendingLocalDescription = session; - let result = Promise.resolve(); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'async setLocalDescription', arguments, result); - return result; - }, - setRemoteDescription() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'RTCPeerConnection', 'setRemoteDescription', arguments, result); - return result; - }, - get signalingState() { - if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).signalingState, "stable"); - } - }; - - qxVm.rename(RTCPeerConnection.prototype, "RTCPeerConnection"); - qxVm.safeDescriptor_addConstructor(RTCPeerConnection); - qxVm.safe_Objattribute(RTCPeerConnection, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(RTCPeerConnection.prototype, EventTarget.prototype); - Object.setPrototypeOf(RTCPeerConnection, EventTarget); - -})(); - -// 一个全局属性 -webkitRTCPeerConnection = RTCPeerConnection; -BarProp = function BarProp(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } -}; qxVm.safefunction(BarProp); - -; (function () { - const $safe_get_attribute = ['visible']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - BarProp.prototype = { - get visible() { - if (!BarProp.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BarProp', 'visible', arguments, result); - return result; - }, - } - qxVm.rename(BarProp.prototype, "BarProp"); - qxVm.safeDescriptor_addConstructor(BarProp); - qxVm.safe_Objattribute(BarProp, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); -locationbar = new BarProp(qxVm.memory.$createObj_key); -menubar = new BarProp(qxVm.memory.$createObj_key); -personalbar = new BarProp(qxVm.memory.$createObj_key); -scrollbars = new BarProp(qxVm.memory.$createObj_key); -statusbar = new BarProp(qxVm.memory.$createObj_key); -toolbar = new BarProp(qxVm.memory.$createObj_key); - - -CacheStorage = function CacheStorage(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CacheStorage); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['delete', 'has', 'keys', 'match', 'open']; - - CacheStorage.prototype = { - delete() { - if (!CacheStorage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CacheStorage', 'delete', arguments, result); - return result; - }, - has() { - if (!CacheStorage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CacheStorage', 'has', arguments, result); - return result; - }, - keys() { - if (!CacheStorage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CacheStorage', 'keys', arguments, result); - return result; - }, - match() { - if (!CacheStorage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CacheStorage', 'match', arguments, result); - return result; - }, - open() { - if (!CacheStorage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CacheStorage', 'open', arguments, result); - return result; - }, - } - qxVm.rename(CacheStorage.prototype, "CacheStorage"); - qxVm.safeDescriptor_addConstructor(CacheStorage); - qxVm.safe_Objattribute(CacheStorage, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); -caches = new CacheStorage(qxVm.memory.$createObj_key); - - - - -chrome = { - autofillPrivate: { - AddressField: { - ADDRESS_LEVEL_1: "ADDRESS_LEVEL_1", - ADDRESS_LEVEL_2: "ADDRESS_LEVEL_2", - ADDRESS_LEVEL_3: "ADDRESS_LEVEL_3", - ADDRESS_LINES: "ADDRESS_LINES", - COMPANY_NAME: "COMPANY_NAME", - COUNTRY_CODE: "COUNTRY_CODE", - FULL_NAME: "FULL_NAME", - HONORIFIC: "HONORIFIC", - POSTAL_CODE: "POSTAL_CODE", - SORTING_CODE: "SORTING_CODE" - }, - getAddressComponents() { - }, - getAddressComponents() { - }, - getAddressList() { - }, - getCountryList() { - }, - getCreditCardList() { - }, - getUpiIdList() { - }, - logServerCardLinkClicked() { - }, - maskCreditCard() { - }, - migrateCreditCards() { - }, - get onPersonalDataChanged() { - return { - addListener() { debugger; }, - dispatch() { debugger; }, - hasListener() { debugger; }, - hasListeners() { debugger; }, - removeListener() { debugger; }, - } - }, - set onPersonalDataChanged(value) { - }, - removeEntry() { - }, - saveAddress() { - }, - saveCreditCard() { - }, - setCreditCardFIDOAuthEnabledState() { - }, - validatePhoneNumbers() { - } - }, - csi: function csi() { - }, - getVariableValue() { - }, - inputMethodPrivate: { - AutoCapitalizeType: { - CHARACTERS: "characters", - OFF: "off", - SENTENCES: "sentences", - WORDS: "words", - }, - FocusReason: { - MOUSE: "mouse", - OTHER: "other", - PEN: "pen", - TOUCH: "touch", - }, - InputContextType: { - EMAIL: "email", - NULL: "null", - NUMBER: "number", - PASSWORD: "password", - SEARCH: "search", - TEL: "tel", - TEXT: "text", - URL: "url", - }, - InputModeType: { - DECIMAL: "decimal", - EMAIL: "email", - NO_KEYBOARD: "noKeyboard", - NUMERIC: "numeric", - SEARCH: "search", - TEL: "tel", - TEXT: "text", - URL: "url", - }, - MenuItemStyle: { - CHECK: "check", - RADIO: "radio", - SEPARATOR: "separator", - }, - UnderlineStyle: { - DOUBLE_UNDERLINE: "doubleUnderline", - NO_UNDERLINE: "noUnderline", - UNDERLINE: "underline", - }, - addWordToDictionary() { - }, - fetchAllDictionaryWords() { - }, - finishComposingText() { - }, - getAutocorrectCharacterBounds() { - }, - getAutocorrectRange() { - }, - getCompositionBounds() { - }, - getCurrentInputMethod() { - }, - getEncryptSyncEnabled() { - }, - getInputMethodConfig() { - }, - getInputMethods() { - }, - getSettings() { - }, - getSurroundingText() { - }, - getTextFieldBounds() { - }, - hideInputView() { - }, - notifyImeMenuItemActivated() { - }, - onAutocorrect() { - }, - get onChanged() { - }, - set onChanged(value) { - }, - get onCompositionBoundsChanged() { - }, - set onCompositionBoundsChanged(value) { - }, - get onDictionaryChanged() { - }, - set onDictionaryChanged(value) { - }, - get onDictionaryLoaded() { - }, - set onDictionaryLoaded(value) { - }, - get onFocus() { - }, - set onFocus(value) { - }, - get onImeMenuActivationChanged() { - }, - set onImeMenuActivationChanged(value) { - }, - get onImeMenuItemsChanged() { - }, - set onImeMenuItemsChanged(value) { - }, - get onImeMenuListChanged() { - }, - set onImeMenuListChanged(value) { - }, - get onInputMethodOptionsChanged() { - }, - set onInputMethodOptionsChanged(value) { - }, - get onScreenProjectionChanged() { - }, - set onScreenProjectionChanged(value) { - }, - get onSettingsChanged() { - }, - set onSettingsChanged(value) { - }, - get onSuggestionsChanged() { - }, - set onSuggestionsChanged(value) { - }, - openOptionsPage() { - }, - reset() { - }, - setAutocorrectRange() { - }, - setComposingRange() { - }, - setCompositionRange() { - }, - setCurrentInputMethod() { - }, - setSelectionRange() { - }, - setSettings() { - }, - setXkbLayout() { - }, - showInputView() { - }, - }, - languageSettingsPrivate: { - MoveType: { - DOWN: "DOWN", - TOP: "TOP", - UNKNOWN: "UNKNOWN", - UP: "UP", - }, - addInputMethod() { - }, - addSpellcheckWord() { - }, - disableLanguage() { - }, - enableLanguage() { - }, - getAlwaysTranslateLanguages() { - }, - getInputMethodLists() { - }, - getLanguageList() { - }, - getNeverTranslateLanguages() { - }, - getSpellcheckDictionaryStatuses() { - }, - getSpellcheckWords() { - }, - getTranslateTargetLanguage() { - }, - moveLanguage() { - }, - onCustomDictionaryChanged: { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - }, - get onInputMethodAdded() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onInputMethodAdded(value) { - }, - get onInputMethodRemoved() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onInputMethodRemoved(value) { - debugger - }, - onSpellcheckDictionariesChanged: { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - }, - removeInputMethod() { - }, - removeSpellcheckWord() { - }, - retryDownloadDictionary() { - }, - setEnableTranslationForLanguage() { - }, - setLanguageAlwaysTranslateState() { - }, - setTranslateTargetLanguage() { - }, - - }, - loadTimes: function loadTimes() { - }, - management: { - ExtensionDisabledReason: { - PERMISSIONS_INCREASE: "permissions_increase", - UNKNOWN: "unknown", - }, - ExtensionInstallType: { - ADMIN: "admin", - DEVELOPMENT: "development", - NORMAL: "normal", - OTHER: "other", - SIDELOAD: "sideload" - }, - ExtensionType: { - EXTENSION: "extension", - HOSTED_APP: "hosted_app", - LEGACY_PACKAGED_APP: "legacy_packaged_app", - LOGIN_SCREEN_EXTENSION: "login_screen_extension", - PACKAGED_APP: "packaged_app", - THEME: "theme", - }, - LaunchType: { - OPEN_AS_PINNED_TAB: "OPEN_AS_PINNED_TAB", - OPEN_AS_REGULAR_TAB: "OPEN_AS_REGULAR_TAB", - OPEN_AS_WINDOW: "OPEN_AS_WINDOW", - OPEN_FULL_SCREEN: "OPEN_FULL_SCREEN", - }, - createAppShortcut() { - }, - generateAppForLink() { - }, - get() { - }, - getAll() { - }, - getPermissionWarningsById() { - }, - launchApp() { - }, - get onDisabled() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onDisabled(value) { - }, - get onEnabled() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onEnabled(value) { - }, - get onInstalled() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onInstalled(value) { - debugger - }, - get onUninstalled() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onUninstalled(value) { - debugger - }, - setEnabled() { - }, - setLaunchType() { - }, - uninstall() { - } - }, - metricsPrivate: { - MetricTypeType: { - HISTOGRAM_LINEAR: "histogram-linear", - HISTOGRAM_LOG: "histogram-log" - }, - getFieldTrial() { - }, - getHistogram() { - }, - getVariationParams() { - }, - recordBoolean() { - }, - recordCount() { - }, - recordEnumerationValue() { - }, - recordLongTime() { - }, - recordMediumCount() { - }, - recordMediumTime() { - }, - recordPercentage() { - }, - recordSmallCount() { - }, - recordSparseHashable() { - }, - recordSparseValue() { - }, - recordTime() { - }, - recordUserAction() { - }, - recordValue() { - } - }, - passwordsPrivate: { - CompromiseType: { - LEAKED: "LEAKED", - PHISHED: "PHISHED", - PHISHED_AND_LEAKED: "PHISHED_AND_LEAKED" - }, - ExportProgressStatus: { - FAILED_CANCELLED: "FAILED_CANCELLED", - FAILED_WRITE_FAILED: "FAILED_WRITE_FAILED", - IN_PROGRESS: "IN_PROGRESS", - NOT_STARTED: "NOT_STARTED", - SUCCEEDED: "SUCCEEDED" - }, - PasswordCheckState: { - CANCELED: "CANCELED", - IDLE: "IDLE", - NO_PASSWORDS: "NO_PASSWORDS", - OFFLINE: "OFFLINE", - OTHER_ERROR: "OTHER_ERROR", - QUOTA_LIMIT: "QUOTA_LIMIT", - RUNNING: "RUNNING", - SIGNED_OUT: "SIGNED_OUT" - }, - PlaintextReason: { - COPY: "COPY", - EDIT: "EDIT", - VIEW: "VIEW" - }, - addPassword() { - }, - cancelExportPasswords() { - }, - changeInsecureCredential() { - }, - changeSavedPassword() { - }, - exportPasswords() { - }, - getCompromisedCredentials() { - }, - getPasswordCheckStatus() { - }, - getPasswordExceptionList() { - }, - getPlaintextInsecurePassword() { - }, - getSavedPasswordList() { - }, - getUrlCollection() { - }, - getWeakCredentials() { - }, - importPasswords() { - }, - isAccountStoreDefault() { - }, - isOptedInForAccountStorage() { - }, - movePasswordsToAccount() { - }, - get onAccountStorageOptInStateChanged() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onAccountStorageOptInStateChanged(value) { - debugger - }, - onCompromisedCredentialsChanged: { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - }, - get onPasswordExceptionsListChanged() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onPasswordExceptionsListChanged(value) { - debugger - }, - get onPasswordsFileExportProgress() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onPasswordsFileExportProgress(value) { - debugger - }, - get onSavedPasswordsListChanged() { - return { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - } - }, - set onSavedPasswordsListChanged(value) { - debugger - }, - onWeakCredentialsChanged: { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - }, - optInForAccountStorage() { - }, - recordPasswordsPageAccessInSettings() { - }, - removeInsecureCredential() { - }, - removePasswordException() { - }, - removePasswordExceptions() { - }, - removeSavedPassword() { - }, - removeSavedPasswords() { - }, - requestExportProgressStatus() { - }, - requestPlaintextPassword() { - }, - startPasswordCheck() { - }, - stopPasswordCheck() { - }, - undoRemoveSavedPasswordOrException() { - } - }, - runtime: { - OnInstalledReason: { - CHROME_UPDATE: "chrome_update", - INSTALL: "install", - SHARED_MODULE_UPDATE: "shared_module_update", - UPDATE: "update" - }, - OnRestartRequiredReason: { - APP_UPDATE: "app_update", - OS_UPDATE: "os_update", - PERIODIC: "periodic" - }, - PlatformArch: { - ARM: "arm", - ARM64: "arm64", - MIPS: "mips", - MIPS64: "mips64", - X86_32: "x86-32", - X86_64: "x86-64" - }, - PlatformNaclArch: { - ARM: "arm", - MIPS: "mips", - MIPS64: "mips64", - X86_32: "x86-32", - X86_64: "x86-64" - }, - PlatformOs: { - ANDROID: "android", - CROS: "cros", - LINUX: "linux", - MAC: "mac", - OPENBSD: "openbsd", - WIN: "win" - }, - RequestUpdateCheckStatus: { - NO_UPDATE: "no_update", - THROTTLED: "throttled", - UPDATE_AVAILABLE: "update_available" - }, - get id() { - return undefined; - }, - set id(value) { - } - }, - send() { - }, - settingsPrivate: { - ControlledBy: { - CHILD_RESTRICTION: "CHILD_RESTRICTION", - DEVICE_POLICY: "DEVICE_POLICY", - EXTENSION: "EXTENSION", - OWNER: "OWNER", - PARENT: "PARENT", - PRIMARY_USER: "PRIMARY_USER", - USER_POLICY: "USER_POLICY" - }, - Enforcement: { - ENFORCED: "ENFORCED", - PARENT_SUPERVISED: "PARENT_SUPERVISED", - RECOMMENDED: "RECOMMENDED" - }, - PrefType: { - BOOLEAN: "BOOLEAN", - DICTIONARY: "DICTIONARY", - LIST: "LIST", - NUMBER: "NUMBER", - STRING: "STRING", - URL: "URL" - }, - getAllPrefs() { - }, - getDefaultZoom() { - }, - getPref() { - }, - onPrefsChanged: { - addListener() { - }, - dispatch() { - }, - hasListener() { - }, - hasListeners() { - }, - removeListener() { - } - }, - setDefaultZoom() { - }, - setPref() { - } - } -} - -CredentialsContainer = function CredentialsContainer(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CredentialsContainer); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['create', 'get', 'preventSilentAccess', 'store']; - - CredentialsContainer.prototype = { - create() { - if (!CredentialsContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CredentialsContainer', 'create', arguments, result); - return result; - }, - get() { - if (!CredentialsContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CredentialsContainer', 'get', arguments, result); - return result; - }, - preventSilentAccess() { - if (!CredentialsContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CredentialsContainer', 'preventSilentAccess', arguments, result); - return result; - }, - store() { - if (!CredentialsContainer.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CredentialsContainer', 'store', arguments, result); - return result; - }, - } - qxVm.rename(CredentialsContainer.prototype, "CredentialsContainer"); - qxVm.safeDescriptor_addConstructor(CredentialsContainer); - qxVm.safe_Objattribute(CredentialsContainer, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -Crypto = function Crypto(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Crypto); -// crypto = {}; - -; (function () { - const $safe_get_attribute = ['subtle']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getRandomValues', 'randomUUID']; - - Crypto.prototype = { - getRandomValues() { - if (!Crypto.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Crypto', 'getRandomValues', arguments, result); - return result; - }, - randomUUID() { - if (!Crypto.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Crypto', 'randomUUID', arguments, result); - return result; - }, - get subtle() { - if (!Crypto.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).subtle, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Crypto', 'subtle', arguments, result); - return result; - }, - } - qxVm.rename(Crypto.prototype, "Crypto"); - qxVm.safeDescriptor_addConstructor(Crypto); - qxVm.safe_Objattribute(Crypto, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - // Object.setPrototypeOf(crypto, Crypto.prototype); -})(); -crypto = new Crypto(qxVm.memory.$createObj_key) - - -CustomElementRegistry = function CustomElementRegistry(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CustomElementRegistry); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['define', 'get', 'upgrade', 'whenDefined']; - - CustomElementRegistry.prototype = { - define() { - if (!CustomElementRegistry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CustomElementRegistry', 'define', arguments, result); - return result; - }, - get() { - if (!CustomElementRegistry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CustomElementRegistry', 'get', arguments, result); - return result; - }, - upgrade() { - if (!CustomElementRegistry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CustomElementRegistry', 'upgrade', arguments, result); - return result; - }, - whenDefined() { - if (!CustomElementRegistry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CustomElementRegistry', 'whenDefined', arguments, result); - return result; - }, - } - qxVm.rename(CustomElementRegistry.prototype, "CustomElementRegistry"); - qxVm.safeDescriptor_addConstructor(CustomElementRegistry); - qxVm.safe_Objattribute(CustomElementRegistry, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); -customElements = new CustomElementRegistry(qxVm.memory.$createObj_key) - - -External = function External(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(External); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['AddSearchProvider', 'IsSearchProviderInstalled']; - - External.prototype = { - AddSearchProvider() { - if (!External.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'External', 'AddSearchProvider', arguments, result); - return result; - }, - IsSearchProviderInstalled() { - if (!External.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'External', 'IsSearchProviderInstalled', arguments, result); - return result; - }, - } - qxVm.rename(External.prototype, "External"); - qxVm.safeDescriptor_addConstructor(External); - qxVm.safe_Objattribute(External, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); -external = new External(qxVm.memory.$createObj_key); - - -Geolocation = function Geolocation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Geolocation); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['clearWatch', 'getCurrentPosition', 'watchPosition']; - - Geolocation.prototype = { - clearWatch() { - if (!Geolocation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Geolocation', 'clearWatch', arguments, result); - return result; - }, - getCurrentPosition() { - if (!Geolocation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Geolocation', 'getCurrentPosition', arguments, result); - return result; - }, - watchPosition() { - if (!Geolocation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Geolocation', 'watchPosition', arguments, result); - return result; - }, - } - qxVm.rename(Geolocation.prototype, "Geolocation"); - qxVm.safeDescriptor_addConstructor(Geolocation); - qxVm.safe_Objattribute(Geolocation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -History = function History() { - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(History); -history = {}; - -; (function () { - const $safe_get_attribute = ['length', 'scrollRestoration', 'state']; - const $safe_set_attribute = ['scrollRestoration']; - const $safe_func_attribute = ['back', 'forward', 'go', 'pushState', 'replaceState']; - - History.prototype = { - back() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'History', 'back', arguments, result); - return result; - }, - forward() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'History', 'forward', arguments, result); - return result; - }, - go() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'History', 'go', arguments, result); - return result; - }, - get length() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = Object.keys(this).length;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'History', 'length', arguments, result); - return result; - }, - pushState() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'History', 'pushState', arguments, result); - return result; - }, - replaceState() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'History', 'replaceState', arguments, result); - return result; - }, - get scrollRestoration() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "auto";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'History', 'scrollRestoration', arguments, result); - return result; - }, - set scrollRestoration(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'History', 'scrollRestoration', arguments); - qxVm.memory.private_data.get(this).scrollRestoration = value; - }, - get state() { - if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return { - idx: 0 - } - } - }; qxVm.rename(History.prototype, 'History') - qxVm.safeDescriptor_addConstructor(History); - qxVm.safe_Objattribute(History, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(history, History.prototype); - -})(); - -// debugger; -Ink = function Ink(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Ink); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['requestPresenter']; - - Ink.prototype = { - requestPresenter() { - if (!Ink.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Ink', 'requestPresenter', arguments, result); - return result; - }, - } - qxVm.rename(Ink.prototype, "Ink"); - qxVm.safeDescriptor_addConstructor(Ink); - qxVm.safe_Objattribute(Ink, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -Keyboard = function Keyboard(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Keyboard); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getLayoutMap', 'lock', 'unlock']; - - Keyboard.prototype = { - getLayoutMap() { - if (!Keyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Keyboard', 'getLayoutMap', arguments, result); - return result; - }, - lock() { - if (!Keyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Keyboard', 'lock', arguments, result); - return result; - }, - unlock() { - if (!Keyboard.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Keyboard', 'unlock', arguments, result); - return result; - }, - } - qxVm.rename(Keyboard.prototype, "Keyboard"); - qxVm.safeDescriptor_addConstructor(Keyboard); - qxVm.safe_Objattribute(Keyboard, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -Location = function Location() { - throw new TypeError("TypeError", "Illegal constructor") -}; qxVm.safefunction(Location); -location = {}; - -; (function () { - Location.prototype = {}; - qxVm.rename(Location.prototype, "Location"); - qxVm.safeDescriptor_addConstructor(Location); - - - const $safe_get_attribute = ['hash', 'host', 'hostname', 'href', 'origin', 'pathname', 'port', 'protocol', 'search']; - const $safe_set_attribute = ['hash', 'host', 'hostname', 'href', 'origin', 'pathname', 'port', 'protocol', 'search']; - const $safe_func_attribute = ['ancestorOrigins', 'assign', 'reload', 'replace', 'toString']; - let $attribute_map = { - hash: "", - host: "newtab", - hostname: "newtab", - href: "chrome://newtab/", - origin: "chrome://newtab", - pathname: "/", - port: "", - protocol: "chrome:", - search: "" - }; - - location = { - ancestorOrigins() { - return new class DOMStringList { } - }, - assign() { - }, - get hash() { - return $attribute_map.hash - }, - set hash(value) { - $attribute_map.hash = value - }, - - get host() { - return $attribute_map.host - }, - set host(value) { - $attribute_map.host = value - }, - - get hostname() { - return $attribute_map.hostname - }, - set hostname(value) { - $attribute_map.hostname = value - }, - - get href() { - return $attribute_map.href - }, - set href(value) { - let a = value.match(/([^:]+:)\/\/([^/:?#]+):?(\d+)?([^?#]*)?(\?[^#]*)?(#.*)?/); - location.protocol = a[1] ? a[1] : ""; - location.host = a[2] ? a[2] : ""; - location.port = a[3] ? a[3] : ""; - location.pathname = a[4] ? a[4] : ""; - location.search = a[5] ? a[5] : ""; - location.hash = a[6] ? a[6] : ""; - location.hostname = location.host; - location.origin = location.protocol + "//" + location.host + (location.port ? ":" + location.port : ""); - $attribute_map.href = value; - }, - - get origin() { - return $attribute_map.origin - }, - set origin(value) { - $attribute_map.origin = value - }, - - get pathname() { - return $attribute_map.pathname - }, - set pathname(value) { - $attribute_map.pathname = value - }, - - get port() { - return $attribute_map.port - }, - set port(value) { - $attribute_map.port = value - }, - - get protocol() { - return $attribute_map.protocol - }, - set protocol(value) { - $attribute_map.protocol = value - }, - reload() { - }, - replace() { - }, - get search() { - return $attribute_map.search - }, - set search(value) { - $attribute_map.search = value - }, - toString() { - return location.href - } - }; - // 添加两个特殊的属性 - Object.defineProperty(location, 'valueOf', { value: valueOf, configurable: false, enumerable: false, writable: false }); - Object.defineProperties(location, { [Symbol.toPrimitive]: { value: undefined, configurable: false, enumerable: false, writable: false } }); - - for (let key of $safe_get_attribute) { - Object.defineProperty(location, key, { - configurable: false, - enumerable: true - }); - qxVm.safefunction(Object.getOwnPropertyDescriptor(location, key)['get']); - qxVm.safefunction(Object.getOwnPropertyDescriptor(location, key)['set']); - }; - - for (let key of $safe_func_attribute) { - Object.defineProperty(location, key, { - value: location[key], - configurable: false, - enumerable: true, - writable: false - }); - qxVm.safefunction(Object.getOwnPropertyDescriptor(location, key)['value']) - } - Object.setPrototypeOf(location, Location.prototype); - - // 初始化用户配置 - location.href = qxVm.default_envs['location']['href']; -})() - - -LockManager = function LockManager(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(LockManager); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['query', 'request']; - - LockManager.prototype = { - query() { - if (!LockManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'LockManager', 'query', arguments, result); - return result; - }, - request() { - if (!LockManager.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'LockManager', 'request', arguments, result); - return result; - }, - } - qxVm.rename(LockManager.prototype, "LockManager"); - qxVm.safeDescriptor_addConstructor(LockManager); - qxVm.safe_Objattribute(LockManager, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -MediaCapabilities = function MediaCapabilities(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(MediaCapabilities); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['decodingInfo']; - - MediaCapabilities.prototype = { - decodingInfo() { - if (!MediaCapabilities.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaCapabilities', 'decodingInfo', arguments, result); - return result; - }, - } - qxVm.rename(MediaCapabilities.prototype, "MediaCapabilities"); - qxVm.safeDescriptor_addConstructor(MediaCapabilities); - qxVm.safe_Objattribute(MediaCapabilities, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - -MediaSession = function MediaSession(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(MediaSession); - -; (function () { - const $safe_get_attribute = ['metadata', 'playbackState']; - const $safe_set_attribute = ['metadata', 'playbackState']; - const $safe_func_attribute = ['setActionHandler', 'setCameraActive', 'setMicrophoneActive', 'setPositionState']; - - MediaSession.prototype = { - get metadata() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).metadata, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MediaSession', 'metadata', arguments, result); - return result; - }, - set metadata(value) { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'MediaSession', 'metadata', arguments); - qxVm.memory.private_data.get(this).metadata = value + ""; - }, - get playbackState() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).playbackState, "none");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MediaSession', 'playbackState', arguments, result); - return result; - }, - set playbackState(value) { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'MediaSession', 'playbackState', arguments); - qxVm.memory.private_data.get(this).playbackState = value + ""; - }, - setActionHandler() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaSession', 'setActionHandler', arguments, result); - return result; - }, - setCameraActive() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaSession', 'setCameraActive', arguments, result); - return result; - }, - setMicrophoneActive() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaSession', 'setMicrophoneActive', arguments, result); - return result; - }, - setPositionState() { - if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MediaSession', 'setPositionState', arguments, result); - return result; - }, - } - qxVm.rename(MediaSession.prototype, "MediaSession"); - qxVm.safeDescriptor_addConstructor(MediaSession); - qxVm.safe_Objattribute(MediaSession, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - -Permissions = function Permissions(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Permissions); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['query']; - - Permissions.prototype = { - query() { - if (!Permissions.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Permissions', 'query', arguments, result); - return result; - }, - } - qxVm.rename(Permissions.prototype, "Permissions"); - qxVm.safeDescriptor_addConstructor(Permissions); - qxVm.safe_Objattribute(Permissions, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - -Presentation = function Presentation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Presentation); - -; (function () { - const $safe_get_attribute = ['defaultRequest', 'receiver']; - const $safe_set_attribute = ['defaultRequest']; - const $safe_func_attribute = []; - - Presentation.prototype = { - get defaultRequest() { - if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).defaultRequest, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Presentation', 'defaultRequest', arguments, result); - return result; - }, - set defaultRequest(value) { - if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Presentation', 'defaultRequest', arguments); - qxVm.memory.private_data.get(this).defaultRequest = value + ""; - }, - get receiver() { - if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Presentation', 'receiver', arguments, result); - return result; - }, - } - qxVm.rename(Presentation.prototype, "Presentation"); - qxVm.safeDescriptor_addConstructor(Presentation); - qxVm.safe_Objattribute(Presentation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -Scheduler = function Scheduler(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Scheduler); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['postTask']; - - Scheduler.prototype = { - postTask() { - if (!Scheduler.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Scheduler', 'postTask', arguments, result); - return result; - }, - } - qxVm.rename(Scheduler.prototype, "Scheduler"); - qxVm.safeDescriptor_addConstructor(Scheduler); - qxVm.safe_Objattribute(Scheduler, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); -scheduler = new Scheduler(qxVm.memory.$createObj_key) - - -Scheduling = function Scheduling(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Scheduling); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['isInputPending']; - - Scheduling.prototype = { - isInputPending() { - if (!Scheduling.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Scheduling', 'isInputPending', arguments, result); - return result; - } - } - qxVm.rename(Scheduling.prototype, "Scheduling"); - qxVm.safeDescriptor_addConstructor(Scheduling); - qxVm.safe_Objattribute(Scheduling, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -Screen = function Screen(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; -qxVm.safefunction(Screen); -screen = {}; -; (function () { - const $attribute_map = { - availHeight: 1392, - availLeft: 0, - availTop: 0, - availWidth: 2560, - colorDepth: 24, - height: 1440, - orientation: new ScreenOrientation(qxVm.memory.$createObj_key), - pixelDepth: 24, - width: 2560 - }; - // 将属性更新为用户自定义属性 - qxVm.updata_envs(qxVm.default_envs['screen'], $attribute_map) - - const $safe_get_attribute = [ - 'availHeight', 'availLeft', 'availTop', 'availWidth', 'colorDepth', 'height', 'orientation', 'pixelDepth', 'width' - ]; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - Screen.prototype = { - get availHeight() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.availHeight;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'availHeight', arguments, result); - return result; - }, - get availLeft() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.availLeft;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'availLeft', arguments, result); - return result; - }, - get availTop() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.availTop;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'availTop', arguments, result); - return result; - }, - get availWidth() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.availWidth;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'availWidth', arguments, result); - return result; - }, - get colorDepth() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.colorDepth;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'colorDepth', arguments, result); - return result; - }, - get height() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.height;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'height', arguments, result); - return result; - }, - get orientation() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.orientation; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'orientation', arguments, result); - return result; - }, - get pixelDepth() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.pixelDepth;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Screen', 'pixelDepth', arguments, result); - return result; - }, - get width() { - if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return $attribute_map.width; - } - }; - qxVm.rename(Screen.prototype, "Screen"); - qxVm.safeDescriptor_addConstructor(Screen); - qxVm.safe_Objattribute(Screen, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(screen, Screen.prototype); - -})(); - - -ShadyCSS = {}; - - -Storage = function Storage() {//构造函数 - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(Storage); - -localStorage = {}; -sessionStorage = {}; - -; (function () { - - const $safe_get_attribute = [ 'length' ]; - const $safe_set_attribute = []; - const $safe_func_attribute = ['clear', 'getItem', 'key', 'removeItem', 'setItem'] - - Storage.prototype = { - clear() { - var temp = Object.keys(this) - for (var i = 0; temp.length > i; i++) { - delete this[temp[i]]; - } - }, - getItem(k) { - let result = this[k] ? this[k] : null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Storage', 'getItem', arguments, result); - return result; - }, - key(index) { - let result = Object.keys(this)[index];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Storage', 'key', arguments, result); - return result; - }, - get length() { - if (!Storage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = Object.keys(this).length;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Storage', 'length', arguments, result); - return result; - }, - removeItem(k) { - delete this[k]; - }, - setItem(k, v) { - this[k] = v; - } - }; qxVm.rename(Storage.prototype, "Storage"); - qxVm.safeDescriptor_addConstructor(Storage); - qxVm.safe_Objattribute(Storage, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(localStorage, Storage.prototype); - Object.setPrototypeOf(sessionStorage, Storage.prototype); - -})(); - -// debugger; -UserActivation = function UserActivation(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(UserActivation); - -; (function () { - const $safe_get_attribute = ['hasBeenActive', 'isActive']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - UserActivation.prototype = { - get hasBeenActive() { - if (!UserActivation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'UserActivation', 'hasBeenActive', arguments, result); - return result; - }, - get isActive() { - if (!UserActivation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return false; - } - } - qxVm.rename(UserActivation.prototype, "UserActivation"); - qxVm.safeDescriptor_addConstructor(UserActivation); - qxVm.safe_Objattribute(UserActivation, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -WakeLock = function WakeLock(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(WakeLock); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['request']; - - WakeLock.prototype = { - request() { - if (!WakeLock.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WakeLock', 'request', arguments, result); - return result; - }, - } - qxVm.rename(WakeLock.prototype, "WakeLock"); - qxVm.safeDescriptor_addConstructor(WakeLock); - qxVm.safe_Objattribute(WakeLock, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); - - -Worklet = function Worklet(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Worklet); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['addModule']; - - Worklet.prototype = { - addModule() { - if (!Worklet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Worklet', 'addModule', arguments, result); - return result; - } - } - qxVm.rename(Worklet.prototype, "Worklet"); - qxVm.safeDescriptor_addConstructor(Worklet); - qxVm.safe_Objattribute(Worklet, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); - - -IDBOpenDBRequest = function IDBOpenDBRequest(createObj_key, name, version) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - name:name, - version:version || 0 - }) -}; qxVm.safefunction(IDBOpenDBRequest); - -; (function () { - const $safe_get_attribute = ['onblocked', 'onupgradeneeded']; - const $safe_set_attribute = ['onblocked', 'onupgradeneeded']; - const $safe_func_attribute = []; - - IDBOpenDBRequest.prototype = { - get onblocked() { - if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onblocked, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBOpenDBRequest', 'onblocked', arguments, result); - return result; - }, - set onblocked(value) { - if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBOpenDBRequest', 'onblocked', arguments); - qxVm.memory.private_data.get(this).onblocked = value + ""; - }, - get onupgradeneeded() { - if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onupgradeneeded, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'IDBOpenDBRequest', 'onupgradeneeded', arguments, result); - return result; - }, - set onupgradeneeded(value) { - if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'IDBOpenDBRequest', 'onupgradeneeded', arguments); - qxVm.memory.private_data.get(this).onupgradeneeded = value; - }, - } - qxVm.rename(IDBOpenDBRequest.prototype, "IDBOpenDBRequest"); - qxVm.safeDescriptor_addConstructor(IDBOpenDBRequest); - qxVm.safe_Objattribute(IDBOpenDBRequest, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(IDBOpenDBRequest.prototype, IDBRequest.prototype); - Object.setPrototypeOf(IDBOpenDBRequest, IDBRequest); -})(); -IDBFactory = function IDBFactory(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - name: undefined, - version: undefined - }) -}; qxVm.safefunction(IDBFactory); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['cmp', 'databases', 'deleteDatabase', 'open']; - - IDBFactory.prototype = { - cmp(first, second) { - if (!IDBFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBFactory', 'cmp', arguments, result); - return result; - }, - databases() { - if (!IDBFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new Promise(function () { debugger }); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBFactory', 'databases', arguments, result); - return result; - }, - deleteDatabase(name, options) { - if (!IDBFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBFactory', 'deleteDatabase', arguments, result); - return result; - }, - open(name, version) { - if (!IDBFactory.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (!name){ throw new TypeError("Failed to execute 'open' on 'IDBFactory': 1 argument required, but only 0 present.") }; - - qxVm.memory.private_data.set(this, { - name: name, - version: version || 1 - }) - let result = new IDBOpenDBRequest(qxVm.memory.$createObj_key, name, version); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'IDBFactory', 'open', arguments, result); - return result; - } - } - - qxVm.rename(IDBFactory.prototype, "IDBFactory"); - qxVm.safeDescriptor_addConstructor(IDBFactory); - qxVm.safe_Objattribute(IDBFactory, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -indexedDB = new IDBFactory(qxVm.memory.$createObj_key); - - -openDatabase = undefined; - -; (function () { - SQLResultSetRowList = function SQLResultSetRowList(createObj_key, rows) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - rows: rows, - length: rows.length - }) - }; qxVm.safefunction(SQLResultSetRowList); - - ; (function () { - const $safe_get_attribute = ['length']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['item']; - SQLResultSetRowList.prototype = { - item() { - if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).rows; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SQLResultSetRowList', 'item', arguments, result); - return result; - }, - get length() { - if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).length, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SQLResultSetRowList', 'length', arguments, result); - return result; - }, - } - qxVm.rename(SQLResultSetRowList.prototype, "SQLResultSetRowList"); - qxVm.safeDescriptor_addConstructor(SQLResultSetRowList); - qxVm.safe_Objattribute(SQLResultSetRowList, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - })(); - - // -----------------------------------------------------------SQLResultSet---------------------------------------------------------------- - SQLResultSet = function SQLResultSet(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) - }; qxVm.safefunction(SQLResultSet); - - ; (function () { - const $safe_get_attribute = ['insertId', 'rows', 'rowsAffected']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - SQLResultSet.prototype = { - get insertId() { - if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).insertId, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SQLResultSet', 'insertId', arguments, result); - return result; - }, - get rows() { - if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - // let sql_result_row_list = new SQLResultSetRowList(qxVm.memory.$createObj_key, {"value": window.sql_values}); - let result = { "value": "0" }; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SQLResultSet', 'rows', arguments, result); - return result; - }, - get rowsAffected() { - if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rowsAffected, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SQLResultSet', 'rowsAffected', arguments, result); - return result; - }, - } - qxVm.rename(SQLResultSet.prototype, "SQLResultSet"); - qxVm.safeDescriptor_addConstructor(SQLResultSet); - qxVm.safe_Objattribute(SQLResultSet, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - })(); - - // -----------------------------------------------------------SQLTransaction---------------------------------------------------------------- - SQLTransaction = function SQLTransaction(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) - }; qxVm.safefunction(SQLTransaction); - - ; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['executeSql']; - - SQLTransaction.prototype = { - executeSql(sql, arg, succrssCallback, errorCallback) { - if (!SQLTransaction.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - try { - - } catch (error) { - let result = errorCallback(this, sql_result);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result); - return result; - } - let sql_result = new SQLResultSet(qxVm.memory.$createObj_key); - let result = succrssCallback(this, sql_result); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result); - return result; - } - } - qxVm.rename(SQLTransaction.prototype, "SQLTransaction"); - qxVm.safeDescriptor_addConstructor(SQLTransaction); - qxVm.safe_Objattribute(SQLTransaction, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - })(); - - - - // -----------------------------------------------------------Database---------------------------------------------------------------- - let buffer_memory = {} // 保存创建的数据库连接 - - - Database = function Database(createObj_key, version) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - version: version - }) - }; qxVm.safefunction(Database); - - ; (function () { - const $safe_get_attribute = ['version']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['changeVersion', 'readTransaction', 'transaction']; - Database.prototype = { - changeVersion(old_version, new_version) { - if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let this_info = qxVm.memory.private_data.get(this); - if (old_version == this_info.version) { - this_info.version = new_version; - } - }, - readTransaction(func) { - if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Database', 'readTransaction', arguments, result); - return result; - }, - transaction(func) { - if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let sql_tran = new SQLTransaction(qxVm.memory.$createObj_key); - let result = func(sql_tran);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Database', 'transaction', arguments, result); - return result; - }, - get version() { - if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).version, ""); - } - } - qxVm.rename(Database.prototype, "Database"); - qxVm.safeDescriptor_addConstructor(Database); - qxVm.safe_Objattribute(Database, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - })(); - - - openDatabase = function openDatabase(name, version, desc, size, callback) { - - let db = buffer_memory[name]; - if (db) { - let result = db;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Database', 'if ', arguments, result); - return result; - } - db = new Database(qxVm.memory.$createObj_key, version); - buffer_memory[name] = db; - - return db; - }; - -})(); - - -AudioWorklet = function AudioWorklet(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(AudioWorklet); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - AudioWorklet.prototype = { - } - qxVm.rename(AudioWorklet.prototype, "AudioWorklet"); - qxVm.safeDescriptor_addConstructor(AudioWorklet); - qxVm.safe_Objattribute(AudioWorklet, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(AudioWorklet.prototype, Worklet.prototype); - Object.setPrototypeOf(AudioWorklet, Worklet); -})(); - - -AudioListener = function AudioListener(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(AudioListener); - -; (function () { - const $safe_get_attribute = ['forwardX', 'forwardY', 'forwardZ', 'positionX', 'positionY', 'positionZ', 'upX', 'upY', 'upZ']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['setOrientation', 'setPosition']; - - AudioListener.prototype = { - get forwardX() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).forwardX; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).forwardX = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'forwardX', arguments, result); - return result; - }, - get forwardY() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).forwardY; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).forwardY = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'forwardY', arguments, result); - return result; - }, - get forwardZ() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).forwardZ; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", -1, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).forwardZ = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'forwardZ', arguments, result); - return result; - }, - get positionX() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).positionX; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).positionX = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'positionX', arguments, result); - return result; - }, - get positionY() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).positionY; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).positionY = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'positionY', arguments, result); - return result; - }, - get positionZ() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).positionZ; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).positionZ = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'positionZ', arguments, result); - return result; - }, - setOrientation() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioListener', 'setOrientation', arguments, result); - return result; - }, - setPosition() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioListener', 'setPosition', arguments, result); - return result; - }, - get upX() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).upX; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).upX = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'upX', arguments, result); - return result; - }, - get upY() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).upY; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 1, 3.4028234663852886e+38, -3.4028234663852886e+38); - qxVm.memory.private_data.get(this).upY = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'upY', arguments, result); - return result; - }, - get upZ() { - if (!AudioListener.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).upZ; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38); - qxVm.memory.private_data.get(this).upZ = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioListener', 'upZ', arguments, result); - return result; - }, - } - qxVm.rename(AudioListener.prototype, "AudioListener"); - qxVm.safeDescriptor_addConstructor(AudioListener); - qxVm.safe_Objattribute(AudioListener, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); - - -AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, maxValue, minValue) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - - automationRate = automationRate || "a-rate"; - defaultValue = defaultValue || -1; - - maxValue = maxValue || 3.4028234663852886e+38; - minValue = minValue || -3.4028234663852886e+38; - const value = defaultValue; - qxVm.memory.private_data.set(this, { - automationRate: automationRate, - defaultValue: defaultValue, - maxValue: maxValue, - minValue: minValue, - value: value - }) -}; qxVm.safefunction(AudioParam); - -; (function () { - const $safe_get_attribute = ['automationRate', 'defaultValue', 'maxValue', 'minValue', 'value']; - const $safe_set_attribute = ['automationRate', 'value']; - const $safe_func_attribute = [ - 'cancelAndHoldAtTime', 'cancelScheduledValues', 'exponentialRampToValueAtTime', 'linearRampToValueAtTime', - 'setTargetAtTime', 'setValueAtTime', 'setValueCurveAtTime' - ]; - - AudioParam.prototype = { - get automationRate() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).automationRate, "a-rate");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioParam', 'automationRate', arguments, result); - return result; - }, - set automationRate(value) { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioParam', 'automationRate', arguments); - qxVm.memory.private_data.get(this).automationRate = value; - }, - cancelAndHoldAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'cancelAndHoldAtTime', arguments, result); - return result; - }, - cancelScheduledValues() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'cancelScheduledValues', arguments, result); - return result; - }, - get defaultValue() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).defaultValue, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioParam', 'defaultValue', arguments, result); - return result; - }, - exponentialRampToValueAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'exponentialRampToValueAtTime', arguments, result); - return result; - }, - linearRampToValueAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'linearRampToValueAtTime', arguments, result); - return result; - }, - get maxValue() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).maxValue;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioParam', 'maxValue', arguments, result); - return result; - }, - get minValue() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).minValue;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioParam', 'minValue', arguments, result); - return result; - }, - setTargetAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'setTargetAtTime', arguments, result); - return result; - }, - setValueAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 440, 22050);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'setValueAtTime', arguments, result); - return result; - }, - setValueCurveAtTime() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioParam', 'setValueCurveAtTime', arguments, result); - return result; - }, - get value() { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).value, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioParam', 'value', arguments, result); - return result; - }, - set value(value) { - if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioParam', 'value', arguments); - qxVm.memory.private_data.get(this).value = value; - }, - } - qxVm.rename(AudioParam.prototype, "AudioParam"); - qxVm.safeDescriptor_addConstructor(AudioParam); - qxVm.safe_Objattribute(AudioParam, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); - - -AudioNode = function AudioNode(createObj_key, channelCountMode) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - - channelCountMode = channelCountMode || "max" - qxVm.memory.private_data.set(this, { - channelCountMode:channelCountMode - }) -}; qxVm.safefunction(AudioNode); - -; (function () { - const $safe_get_attribute = ['channelCount', 'channelCountMode', 'channelInterpretation', 'context', 'numberOfInputs', 'numberOfOutputs']; - const $safe_set_attribute = ['channelCount', 'channelCountMode', 'channelInterpretation']; - const $safe_func_attribute = ['connect', 'disconnect']; - - AudioNode.prototype = { - get channelCount() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).channelCount, 2);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'channelCount', arguments, result); - return result; - }, - set channelCount(value) { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioNode', 'channelCount', arguments); - qxVm.memory.private_data.get(this).channelCount = value; - }, - get channelCountMode() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).channelCountMode, "max");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'channelCountMode', arguments, result); - return result; - }, - set channelCountMode(value) { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioNode', 'channelCountMode', arguments); - qxVm.memory.private_data.get(this).channelCountMode = value + ""; - }, - get channelInterpretation() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).channelInterpretation, "speakers");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'channelInterpretation', arguments, result); - return result; - }, - set channelInterpretation(value) { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioNode', 'channelInterpretation', arguments); - qxVm.memory.private_data.get(this).channelInterpretation = value + ""; - }, - connect() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioNode', 'connect', arguments, result); - return result; - }, - get context() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - // return this; - let ele = qxVm.memory.private_data.get(this).context; - if (ele === undefined) { - ele = new OfflineAudioContext(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).context = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'context', arguments, result); - return result; - }, - disconnect() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioNode', 'disconnect', arguments, result); - return result; - }, - get numberOfInputs() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).numberOfInputs, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'numberOfInputs', arguments, result); - return result; - }, - get numberOfOutputs() { - if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).numberOfOutputs, 1);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioNode', 'numberOfOutputs', arguments, result); - return result; - }, - } - qxVm.rename(AudioNode.prototype, "AudioNode"); - qxVm.safeDescriptor_addConstructor(AudioNode); - qxVm.safe_Objattribute(AudioNode, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(AudioNode.prototype, EventTarget.prototype); - Object.setPrototypeOf(AudioNode, EventTarget); -})(); -AudioDestinationNode = function AudioDestinationNode(createObj_key, channelCountMode) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { - channelCountMode:channelCountMode, - maxChannelCount: 1 - }) -}; qxVm.safefunction(AudioDestinationNode); - -; (function () { - const $safe_get_attribute = ['maxChannelCount']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - AudioDestinationNode.prototype = { - get maxChannelCount() { - if (!AudioDestinationNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).maxChannelCount;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioDestinationNode', 'maxChannelCount', arguments, result); - return result; - }, - } - qxVm.rename(AudioDestinationNode.prototype, "AudioDestinationNode"); - qxVm.safeDescriptor_addConstructor(AudioDestinationNode); - qxVm.safe_Objattribute(AudioDestinationNode, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(AudioDestinationNode.prototype, AudioNode.prototype); - Object.setPrototypeOf(AudioDestinationNode, AudioNode); -})(); - - -AudioScheduledSourceNode = function AudioScheduledSourceNode(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(AudioScheduledSourceNode); - -; (function () { - const $safe_get_attribute = ['onended']; - const $safe_set_attribute = ['onended']; - const $safe_func_attribute = ['start', 'stop']; - - AudioScheduledSourceNode.prototype = { - get onended() { - if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onended, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'AudioScheduledSourceNode', 'onended', arguments, result); - return result; - }, - set onended(value) { - if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'AudioScheduledSourceNode', 'onended', arguments); - qxVm.memory.private_data.get(this).onended = value; - }, - start() { - if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioScheduledSourceNode', 'start', arguments, result); - return result; - }, - stop() { - if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'AudioScheduledSourceNode', 'stop', arguments, result); - return result; - }, - } - qxVm.rename(AudioScheduledSourceNode.prototype, "AudioScheduledSourceNode"); - qxVm.safeDescriptor_addConstructor(AudioScheduledSourceNode); - qxVm.safe_Objattribute(AudioScheduledSourceNode, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(AudioScheduledSourceNode.prototype, AudioNode.prototype); - Object.setPrototypeOf(AudioScheduledSourceNode, AudioNode); -})(); - - -DynamicsCompressorNode = function DynamicsCompressorNode(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(DynamicsCompressorNode); - -; (function () { - const $safe_get_attribute = ['attack', 'knee', 'ratio', 'reduction', 'release', 'threshold']; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - DynamicsCompressorNode.prototype = { - get attack() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).attack; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "k-rate", 0.003000000026077032, 1, 0); - qxVm.memory.private_data.get(this).attack = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DynamicsCompressorNode', 'attack', arguments, result); - return result; - }, - get knee() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).knee; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "k-rate", 30, 40, 0); - qxVm.memory.private_data.get(this).knee = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DynamicsCompressorNode', 'knee', arguments, result); - return result; - }, - get ratio() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).ratio; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "k-rate", 12, 20, 1); - qxVm.memory.private_data.get(this).ratio = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DynamicsCompressorNode', 'ratio', arguments, result); - return result; - }, - get reduction() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DynamicsCompressorNode', 'reduction', arguments, result); - return result; - }, - get release() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).release; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "k-rate", 0.25, 1, 0); - qxVm.memory.private_data.get(this).release = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DynamicsCompressorNode', 'release', arguments, result); - return result; - }, - get threshold() { - if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).threshold; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "k-rate", -24, 0, -100); - qxVm.memory.private_data.get(this).threshold = ele; - } - return ele; - } - } - qxVm.rename(DynamicsCompressorNode.prototype, "DynamicsCompressorNode"); - qxVm.safeDescriptor_addConstructor(DynamicsCompressorNode); - qxVm.safe_Objattribute(DynamicsCompressorNode, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(DynamicsCompressorNode.prototype, AudioNode.prototype); - Object.setPrototypeOf(DynamicsCompressorNode, AudioNode); -})(); - - -OscillatorNode = function OscillatorNode() { - if(new.target !== OscillatorNode){ - throw new TypeError(`Failed to construct 'OscillatorNode': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(OscillatorNode); - -; (function () { - const $safe_get_attribute = ['detune', 'frequency', 'type']; - const $safe_set_attribute = ['type']; - const $safe_func_attribute = ['setPeriodicWave']; - - OscillatorNode.prototype = { - get detune() { - if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).detune; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 0, 153600, -153600); - qxVm.memory.private_data.get(this).detune = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'OscillatorNode', 'detune', arguments, result); - return result; - }, - get frequency() { - if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).detune; - if (ele === undefined) { - ele = new AudioParam(qxVm.memory.$createObj_key, "a-rate", 440, 22050, -22050); - qxVm.memory.private_data.get(this).detune = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'OscillatorNode', 'frequency', arguments, result); - return result; - }, - setPeriodicWave() { - if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'OscillatorNode', 'setPeriodicWave', arguments, result); - return result; - }, - get type() { - if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "sine");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'OscillatorNode', 'type', arguments, result); - return result; - }, - set type(value) { - if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).type = value + ""; - } - } - qxVm.rename(OscillatorNode.prototype, "OscillatorNode"); - qxVm.safeDescriptor_addConstructor(OscillatorNode); - qxVm.safe_Objattribute(OscillatorNode, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(OscillatorNode.prototype, AudioScheduledSourceNode.prototype); - Object.setPrototypeOf(OscillatorNode, AudioScheduledSourceNode); -})(); - - -BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(BaseAudioContext); - -; (function () { - const $safe_get_attribute = ['audioWorklet', 'currentTime', 'destination', 'listener', 'onstatechange', 'sampleRate', 'state']; - const $safe_set_attribute = ['onstatechange']; - const $safe_func_attribute = [ - 'createAnalyser', 'createBiquadFilter', 'createBuffer', 'createBufferSource', 'createChannelMerger', 'createChannelSplitter', - 'createConstantSource', 'createConvolver', 'createDelay', 'createDynamicsCompressor', 'createGain', 'createIIRFilter', - 'createOscillator', 'createPanner', 'createPeriodicWave', 'createScriptProcessor', 'createStereoPanner', 'createWaveShaper', - 'decodeAudioData' - ]; - - BaseAudioContext.prototype = { - get audioWorklet() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).audioWorklet; - if (ele === undefined){ - ele = new AudioWorklet(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).audioWorklet = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'audioWorklet', arguments, result); - return result; - }, - createAnalyser() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createAnalyser', arguments, result); - return result; - }, - createBiquadFilter() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createBiquadFilter', arguments, result); - return result; - }, - createBuffer() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createBuffer', arguments, result); - return result; - }, - createBufferSource() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createBufferSource', arguments, result); - return result; - }, - createChannelMerger() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createChannelMerger', arguments, result); - return result; - }, - createChannelSplitter() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createChannelSplitter', arguments, result); - return result; - }, - createConstantSource() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createConstantSource', arguments, result); - return result; - }, - createConvolver() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createConvolver', arguments, result); - return result; - }, - createDelay() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createDelay', arguments, result); - return result; - }, - createDynamicsCompressor() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = new DynamicsCompressorNode(qxVm.memory.$createObj_key); - ele.channelCountMode = "clamped-max"; - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createDynamicsCompressor', arguments, result); - return result; - }, - createGain() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createGain', arguments, result); - return result; - }, - createIIRFilter() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createIIRFilter', arguments, result); - return result; - }, - createOscillator() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new OscillatorNode();; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createOscillator', arguments, result); - return result; - }, - createPanner() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createPanner', arguments, result); - return result; - }, - createPeriodicWave() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createPeriodicWave', arguments, result); - return result; - }, - createScriptProcessor() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createScriptProcessor', arguments, result); - return result; - }, - createStereoPanner() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createStereoPanner', arguments, result); - return result; - }, - createWaveShaper() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'createWaveShaper', arguments, result); - return result; - }, - get currentTime() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentTime, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'currentTime', arguments, result); - return result; - }, - decodeAudioData() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'BaseAudioContext', 'decodeAudioData', arguments, result); - return result; - }, - get destination() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).destination; - if (ele === undefined){ - ele = new AudioDestinationNode(qxVm.memory.$createObj_key, "explicit"); - qxVm.memory.private_data.get(this).destination = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'destination', arguments, result); - return result; - }, - get listener() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).listener; - if (ele === undefined){ - ele = new AudioListener(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).listener = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'listener', arguments, result); - return result; - }, - get onstatechange() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'onstatechange', arguments, result); - return result; - }, - set onstatechange(value) { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'BaseAudioContext', 'onstatechange', arguments); - qxVm.memory.private_data.get(this).onstatechange = value; - }, - get sampleRate() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).sampleRate;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'BaseAudioContext', 'sampleRate', arguments, result); - return result; - }, - get state() { - if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).state, "suspended"); - } - } - - qxVm.rename(BaseAudioContext.prototype, "BaseAudioContext"); - qxVm.safeDescriptor_addConstructor(BaseAudioContext); - qxVm.safe_Objattribute(BaseAudioContext, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(BaseAudioContext.prototype, EventTarget.prototype); - Object.setPrototypeOf(BaseAudioContext, EventTarget); -})(); - - -OfflineAudioContext = function OfflineAudioContext(numberOfChannels, length, sampleRate) {//构造函数 - if(new.target !== OfflineAudioContext){ - throw new TypeError(`Failed to construct 'OfflineAudioContext': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - this.numberOfChannels = numberOfChannels; - - qxVm.memory.private_data.set(this, { - numberOfChannels:numberOfChannels, - length:length, - sampleRate:sampleRate, - }) -}; qxVm.safefunction(OfflineAudioContext); - -; (function () { - const $safe_get_attribute = ['length', 'oncomplete']; - const $safe_set_attribute = ['oncomplete']; - const $safe_func_attribute = ['resume', 'startRendering', 'suspend']; - - OfflineAudioContext.prototype = { - get length() { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).length;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'OfflineAudioContext', 'length', arguments, result); - return result; - }, - get oncomplete() { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncomplete, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'OfflineAudioContext', 'oncomplete', arguments, result); - return result; - }, - set oncomplete(value) { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'OfflineAudioContext', 'oncomplete', arguments); - qxVm.memory.private_data.get(this).oncomplete = value; - }, - resume() { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new Promise(function () { debugger; }); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'OfflineAudioContext', 'resume', arguments, result); - return result; - }, - startRendering() { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - const length = this.length; - const sampleRate = this.sampleRate; - const numberOfChannels = this.numberOfChannels; - return new Promise((resolve, reject) => { - resolve({ - duration: length / sampleRate, - length: length, - numberOfChannels: numberOfChannels, - sampleRate: this.sampleRate, - }) - }) - }, - suspend() { - if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new Promise(function () { debugger; }); - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'OfflineAudioContext', 'suspend', arguments, result); - return result; - }, - } - - qxVm.rename(OfflineAudioContext.prototype, "OfflineAudioContext"); - qxVm.safeDescriptor_addConstructor(OfflineAudioContext); - qxVm.safe_Objattribute(OfflineAudioContext, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(OfflineAudioContext.prototype, BaseAudioContext.prototype); - Object.setPrototypeOf(OfflineAudioContext, BaseAudioContext); - -})(); - - -MimeType = function MimeType() { - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(MimeType); - -; (function () { - - const $safe_get_attribute = ['description', 'enabledPlugin', 'suffixes', 'type']; - const $safe_set_attribute = []; - const $safe_func_attribute = [] - - MimeType.prototype = { - get description() { - if (!MimeType.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get enabledPlugin() { - if (!MimeType.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get suffixes() { - if (!MimeType.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get type() { - if (!MimeType.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MimeType', 'type', arguments, result); - return result; - }, - - }; qxVm.rename(MimeType.prototype, 'MimeType'); - qxVm.safeDescriptor_addConstructor(MimeType); - qxVm.safe_Objattribute(MimeType, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - qxVm.memory.mimeType.new = function (mimeType_data, initPlugin) { - let mimetype = {}; - if (mimeType_data !== undefined) { - mimetype.description = mimeType_data.description; - mimetype.suffixes = mimeType_data.suffixes; - mimetype.type = mimeType_data.type; - mimetype.enabledPlugin = initPlugin; - }; - - Object.setPrototypeOf(mimetype, MimeType.prototype) - return mimetype - } - -})(); - -// debugger; -Plugin = function Plugin() { - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(Plugin); - -; (function () { - const $safe_get_attribute = ['description', 'filename', 'length', 'name']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['item', 'namedItem'] - - - Plugin.prototype = { - get description() { - if (!Plugin.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Plugin', 'description', arguments, result); - return result; - }, - get filename() { - if (!Plugin.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Plugin', 'filename', arguments, result); - return result; - }, - item(index) { - // debugger; - let result = this[index];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Plugin', 'item', arguments, result); - return result; - }, - get length() { - if (!Plugin.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Plugin', 'length', arguments, result); - return result; - }, - get name() { - if (!Plugin.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Plugin', 'name', arguments, result); - return result; - }, - namedItem(key) { - let result = this[key];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result); - return result; - }, - }; - qxVm.set_iterator(Plugin); - qxVm.rename(Plugin.prototype, 'Plugin'); - qxVm.safeDescriptor_addConstructor(Plugin); - qxVm.safe_Objattribute(Plugin, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - qxVm.memory.plugin.new = function (plugin_data) { - let plugin = {}; - - if (plugin_data !== undefined) { - plugin.description = plugin_data.description; - plugin.filename = plugin_data.filename; - plugin.name = plugin_data.name; - - for (let mtindex = 0; mtindex < plugin_data.MimeTypes.length; mtindex++) { - let mimeType_data = plugin_data.MimeTypes[mtindex]; - let mimeType = qxVm.memory.mimeType.new(mimeType_data, plugin); - - Object.defineProperty(plugin, mtindex, { - value: mimeType, configurable: true, enumerable: true, writable: false - }) - Object.defineProperty(plugin, mimeType.type, { - value: mimeType, configurable: true, enumerable: false, writable: false - }); - }; - plugin.length = plugin_data.MimeTypes.length; - } - Object.setPrototypeOf(plugin, Plugin.prototype) - let result = plugin;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result); - return result; - } - -})() - -// debugger; -PluginArray = function PluPluginArraygin() {//构造函数 - throw new TypeError("Illegal constructor"); -}; -qxVm.safefunction(PluginArray); - -; (function () { - const $safe_get_attribute = ['length']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['item', 'namedItem', 'refresh']; - - - PluginArray.prototype = { - item(index) { - if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this[index];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PluginArray', 'item', arguments, result); - return result; - }, - get length() { - if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.pluginArray.temp.length;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'PluginArray', 'length', arguments, result); - return result; - }, - namedItem(key) { - if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this[key];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PluginArray', 'namedItem', arguments, result); - return result; - }, - refresh() { - if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'PluginArray', 'refresh', arguments, result); - return result; - } - }; - qxVm.set_iterator(PluginArray); - qxVm.rename(PluginArray.prototype, 'PluginArray'); - qxVm.safeDescriptor_addConstructor(PluginArray); - qxVm.safe_Objattribute(PluginArray, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - qxVm.memory.pluginArray.instantiate = {}; - ; (function add_default_pluginArray() { - if (Array.isArray(qxVm.memory.pluginArray.temp) && qxVm.memory.pluginArray.temp.length > 0) { - for (let index = 0; index < qxVm.memory.pluginArray.temp.length; index++) { - let plugin_temp = qxVm.memory.plugin.new(qxVm.memory.pluginArray.temp[index]); - - Object.defineProperty(qxVm.memory.pluginArray.instantiate, index, { - value: plugin_temp, configurable: true, enumerable: true, writable: false - }); - Object.defineProperty(qxVm.memory.pluginArray.instantiate, plugin_temp.name, { - value: plugin_temp, configurable: true, enumerable: false, writable: false - }); - } - } - })(); - - Object.setPrototypeOf(qxVm.memory.pluginArray.instantiate, PluginArray.prototype); - -})(); - - -MimeTypeArray = function MimeTypeArray() { - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(MimeTypeArray); - -; (function () { - - const $safe_get_attribute = ['length']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['item', 'namedItem']; - - MimeTypeArray.prototype = { - item(index) { - let result = this[index];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MimeTypeArray', 'item', arguments, result); - return result; - }, - get length() { - if (!MimeTypeArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.mimeTypeArray.length;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'MimeTypeArray', 'length', arguments, result); - return result; - }, - namedItem(key) { - let result = this[key];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'MimeTypeArray', 'namedItem', arguments, result); - return result; - } - - }; qxVm.rename(MimeTypeArray.prototype, 'MimeTypeArray'); - qxVm.safeDescriptor_addConstructor(MimeTypeArray); - qxVm.safe_Objattribute(MimeTypeArray, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - qxVm.memory.mimeTypeArray.instantiate = {}; - qxVm.memory.mimeTypeArray.length = 0; - - ; (function add_default_mimeTypeArray() { - for (let plugin_index = 0; plugin_index < qxVm.memory.pluginArray.temp.length; plugin_index++) { - let plugin_ = qxVm.memory.pluginArray.instantiate.item(plugin_index); - for (let mindex = 0; mindex < plugin_.length; mindex++) { - let mimeType_ = plugin_.item(mindex) - if (qxVm.memory.mimeTypeArray.instantiate[mimeType_.type] === undefined) { - - Object.defineProperty(qxVm.memory.mimeTypeArray.instantiate, qxVm.memory.mimeTypeArray.length, { - value: mimeType_, configurable: true, enumerable: true, writable: false - }); - Object.defineProperty(qxVm.memory.mimeTypeArray.instantiate, mimeType_.type, { - value: mimeType_, configurable: true, enumerable: false, writable: false - }); - - qxVm.memory.mimeTypeArray.length += 1; - } - } - } - })(); - - Object.setPrototypeOf(qxVm.memory.mimeTypeArray.instantiate, MimeTypeArray.prototype); - -})(); - -// debugger; -NavigatorUAData = function NavigatorUAData(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(NavigatorUAData); - -; (function () { - const $safe_get_attribute = ['brands', 'mobile', 'platform']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getHighEntropyValues', 'toJSON']; - - NavigatorUAData.prototype = { - get brands() { // 这个属性得对象描述符不正确, - if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return [ - { brand: ' Not;A Brand', version: '99' }, - { brand: 'Google Chrome', version: '97' }, - { brand: 'Chromium', version: '97' } - ] - }, - getHighEntropyValues() { - if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NavigatorUAData', 'getHighEntropyValues', arguments, result); - return result; - }, - get mobile() { - if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = false;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NavigatorUAData', 'mobile', arguments, result); - return result; - }, - get platform() { - if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "Windows";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NavigatorUAData', 'platform', arguments, result); - return result; - }, - toJSON() { - if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NavigatorUAData', 'toJSON', arguments, result); - return result; - }, - }; - qxVm.rename(NavigatorUAData.prototype, "NavigatorUAData"); - qxVm.safeDescriptor_addConstructor(NavigatorUAData); - qxVm.safe_Objattribute(NavigatorUAData, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})() - - -// ===================================================================== - -Navigator = function Navigator(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; -qxVm.safefunction(Navigator); -navigator = {}; - -; (function () { - - DeprecatedStorageQuota = function DeprecatedStorageQuota(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) - }; qxVm.safefunction(DeprecatedStorageQuota); - - ; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['queryUsageAndQuota', 'requestQuota']; - - DeprecatedStorageQuota.prototype = { - queryUsageAndQuota() { - if (!DeprecatedStorageQuota.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DeprecatedStorageQuota', 'queryUsageAndQuota', arguments, result); - return result; - }, - requestQuota() { - if (!DeprecatedStorageQuota.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DeprecatedStorageQuota', 'requestQuota', arguments, result); - return result; - }, - } - qxVm.rename(DeprecatedStorageQuota.prototype, "DeprecatedStorageQuota"); - qxVm.safeDescriptor_addConstructor(DeprecatedStorageQuota); - qxVm.safe_Objattribute(DeprecatedStorageQuota, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - })(); - - - // 因为没有 set 属性, 所以需要一个中间变量保存 - const $attribute_map = { - appCodeName: "Mozilla", - appName: "Netscape", - appVersion: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36", - bluetooth: new Bluetooth(qxVm.memory.$createObj_key), - clipboard: new Clipboard(qxVm.memory.$createObj_key), - connection: new NetworkInformation(qxVm.memory.$createObj_key), - cookieEnabled: true, - credentials: new CredentialsContainer(qxVm.memory.$createObj_key), - deviceMemory: 8, - doNotTrack: null, - geolocation: new Geolocation(qxVm.memory.$createObj_key), - hardwareConcurrency: 16, - hid: new HID(qxVm.memory.$createObj_key), - ink: new Ink(qxVm.memory.$createObj_key), - keyboard: new Keyboard(qxVm.memory.$createObj_key), - language: "zh-CN", - languages: ['zh-CN', 'zh'], - locks: new LockManager(qxVm.memory.$createObj_key), - managed: new NavigatorManagedData(qxVm.memory.$createObj_key), - maxTouchPoints: 0, - mediaCapabilities: new MediaCapabilities(qxVm.memory.$createObj_key), - mediaDevices: new MediaDevices(qxVm.memory.$createObj_key), - mediaSession: new MediaSession(qxVm.memory.$createObj_key), - mimeTypes: qxVm.memory.mimeTypeArray.instantiate, - onLine: true, - pdfViewerEnabled: true, - permissions: new Permissions(qxVm.memory.$createObj_key), - platform: "Win32", - plugins: qxVm.memory.pluginArray.instantiate, - presentation: new Presentation(qxVm.memory.$createObj_key), - product: "Gecko", - productSub: "20030107", - scheduling: new Scheduling(qxVm.memory.$createObj_key), - serial: new Serial(qxVm.memory.$createObj_key), - serviceWorker: new ServiceWorkerContainer(qxVm.memory.$createObj_key), - storage: new StorageManager(qxVm.memory.$createObj_key), - usb: new USB(qxVm.memory.$createObj_key), - userActivation: new UserActivation(qxVm.memory.$createObj_key), - userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44", - userAgentData: new NavigatorUAData(qxVm.memory.$createObj_key), - vendor: "Google Inc.", - vendorSub: "", - virtualKeyboard: new VirtualKeyboard(qxVm.memory.$createObj_key), - wakeLock: new WakeLock(qxVm.memory.$createObj_key), - webdriver: false, - webkitPersistentStorage: new DeprecatedStorageQuota(qxVm.memory.$createObj_key), - webkitTemporaryStorage: new DeprecatedStorageQuota(qxVm.memory.$createObj_key), - xr: new XRSystem(qxVm.memory.$createObj_key) - }; - - // 将属性更新为用户自定义属性 - qxVm.updata_envs(qxVm.default_envs['navigator'], $attribute_map) - - const $safe_get_attribute = [ - 'appCodeName', 'appName', 'appVersion', 'bluetooth', 'clipboard', 'connection', 'cookieEnabled', 'credentials', 'deviceMemory', 'doNotTrack', - 'geolocation', 'hardwareConcurrency', 'hid', 'ink', 'keyboard', 'language', 'languages', 'locks', 'managed', 'maxTouchPoints', 'mediaCapabilities', - 'mediaDevices', 'mediaSession', 'mimeTypes', 'onLine', 'pdfViewerEnabled', 'permissions', 'platform', 'plugins', 'presentation', 'product', - 'productSub', 'scheduling', 'serial', 'serviceWorker', 'storage', 'usb', 'userActivation', 'userAgent', 'userAgentData', 'vendor', 'vendorSub', - 'virtualKeyboard', 'wakeLock', 'webdriver', 'webkitPersistentStorage', 'webkitTemporaryStorage', 'xr' - ]; - const $safe_set_attribute = []; - const $safe_func_attribute = [ - 'canShare', 'clearAppBadge', 'getBattery', 'getGamepads', 'getInstalledRelatedApps', 'getUserMedia', 'javaEnabled', 'registerProtocolHandler', - 'requestMIDIAccess', 'requestMediaKeySystemAccess', 'sendBeacon', 'setAppBadge', 'share', 'unregisterProtocolHandler', 'vibrate', - 'webkitGetUserMedia' - ]; - - Navigator.prototype = { - get appCodeName() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.appCodeName;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'appCodeName', arguments, result); - return result; - }, - get appName() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.appName;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'appName', arguments, result); - return result; - }, - get appVersion() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.appVersion;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'appVersion', arguments, result); - return result; - }, - get bluetooth() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.bluetooth;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'bluetooth', arguments, result); - return result; - }, - canShare() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'canShare', arguments, result); - return result; - }, - clearAppBadge() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'clearAppBadge', arguments, result); - return result; - }, - get clipboard() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.clipboard;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'clipboard', arguments, result); - return result; - }, - get connection() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.connection;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'connection', arguments, result); - return result; - }, - get cookieEnabled() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.cookieEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'cookieEnabled', arguments, result); - return result; - }, - get credentials() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.credentials;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'credentials', arguments, result); - return result; - }, - get deviceMemory() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.deviceMemory;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'deviceMemory', arguments, result); - return result; - }, - get doNotTrack() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.doNotTrack;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'doNotTrack', arguments, result); - return result; - }, - get geolocation() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.geolocation;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'geolocation', arguments, result); - return result; - }, - getBattery() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - debugger;; - return new Promise((resolve, reject) => { - resolve({ - charging: true, - chargingTime: Infinity, - dischargingTime: Infinity, - level: 1, - onchargingchange: null, - onchargingtimechange: null, - ondischargingtimechange: null, - onlevelchange: null - - }) - }) - }, - getGamepads() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'getGamepads', arguments, result); - return result; - }, - getInstalledRelatedApps() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'getInstalledRelatedApps', arguments, result); - return result; - }, - getUserMedia() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'getUserMedia', arguments, result); - return result; - }, - javaEnabled() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'javaEnabled', arguments, result); - return result; - }, - get hardwareConcurrency() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.hardwareConcurrency;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'hardwareConcurrency', arguments, result); - return result; - }, - get hid() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.hid;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'hid', arguments, result); - return result; - }, - get ink() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ink;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'ink', arguments, result); - return result; - }, - get keyboard() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.keyboard;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'keyboard', arguments, result); - return result; - }, - get language() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.languages;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'language', arguments, result); - return result; - }, - get languages() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.languages;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'languages', arguments, result); - return result; - }, - get locks() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.locks;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'locks', arguments, result); - return result; - }, - get managed() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.managed;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'managed', arguments, result); - return result; - }, - get maxTouchPoints() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.maxTouchPoints;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'maxTouchPoints', arguments, result); - return result; - }, - get mediaCapabilities() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.mediaCapabilities;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'mediaCapabilities', arguments, result); - return result; - }, - get mediaDevices() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.mediaDevices;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'mediaDevices', arguments, result); - return result; - }, - get mediaSession() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.mediaSession;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'mediaSession', arguments, result); - return result; - }, - get mimeTypes() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.mimeTypes;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'mimeTypes', arguments, result); - return result; - }, - get onLine() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onLine;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'onLine', arguments, result); - return result; - }, - get pdfViewerEnabled() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.pdfViewerEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'pdfViewerEnabled', arguments, result); - return result; - }, - get permissions() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.permissions;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'permissions', arguments, result); - return result; - }, - get platform() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.platform;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'platform', arguments, result); - return result; - }, - get plugins() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.plugins;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'plugins', arguments, result); - return result; - }, - get presentation() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.presentation;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'presentation', arguments, result); - return result; - }, - get product() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.product;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'product', arguments, result); - return result; - }, - get productSub() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.productSub;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'productSub', arguments, result); - return result; - }, - registerProtocolHandler() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'registerProtocolHandler', arguments, result); - return result; - }, - requestMIDIAccess() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'requestMIDIAccess', arguments, result); - return result; - }, - requestMediaKeySystemAccess() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'requestMediaKeySystemAccess', arguments, result); - return result; - }, - get scheduling() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.scheduling;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'scheduling', arguments, result); - return result; - }, - sendBeacon() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'sendBeacon', arguments, result); - return result; - }, - get serial() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - let result = $attribute_map.serial;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'serial', arguments, result); - return result; - }, - get serviceWorker() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.serviceWorker;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'serviceWorker', arguments, result); - return result; - }, - setAppBadge() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'setAppBadge', arguments, result); - return result; - }, - share() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'share', arguments, result); - return result; - }, - get storage() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.storage;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'storage', arguments, result); - return result; - }, - unregisterProtocolHandler() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'unregisterProtocolHandler', arguments, result); - return result; - }, - get usb() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = new qxVm.memory.$createObj_key();; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'usb', arguments, result); - return result; - }, - get userActivation() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.userActivation;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'userActivation', arguments, result); - return result; - }, - get userAgent() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.userAgent;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'userAgent', arguments, result); - return result; - }, - get userAgentData() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.userAgentData;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'userAgentData', arguments, result); - return result; - }, - get vendor() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.vendor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'vendor', arguments, result); - return result; - }, - get vendorSub() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.vendorSub;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'vendorSub', arguments, result); - return result; - }, - vibrate() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Navigator', 'vibrate', arguments, result); - return result; - }, - get virtualKeyboard() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.virtualKeyboard;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'virtualKeyboard', arguments, result); - return result; - }, - get wakeLock() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.wakeLock;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'wakeLock', arguments, result); - return result; - }, - get webdriver() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webdriver;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'webdriver', arguments, result); - return result; - }, - webkitGetUserMedia() { - }, - get webkitPersistentStorage() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitPersistentStorage;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'webkitPersistentStorage', arguments, result); - return result; - }, - get webkitTemporaryStorage() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitTemporaryStorage;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'webkitTemporaryStorage', arguments, result); - return result; - }, - get xr() { - if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.xr;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Navigator', 'xr', arguments, result); - return result; - }, - }; - qxVm.rename(Navigator.prototype, "Navigator"); - qxVm.safeDescriptor_addConstructor(Navigator); - qxVm.safe_Objattribute(Navigator, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(navigator, Navigator.prototype); - -})(); - - -XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(XMLHttpRequestEventTarget); - -; (function () { - const $safe_get_attribute = ['onabort', 'onerror', 'onload', 'onloadend', 'onloadstart', 'onprogress', 'ontimeout']; - const $safe_set_attribute = ['onabort', 'onerror', 'onload', 'onloadend', 'onloadstart', 'onprogress', 'ontimeout']; - const $safe_func_attribute = []; - - XMLHttpRequestEventTarget.prototype = { - get onabort() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onabort, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onabort', arguments); - qxVm.memory.private_data.get(this).onabort = value + ""; - }, - get onerror() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onload() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onload, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onload', arguments, result); - return result; - }, - set onload(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onload', arguments); - qxVm.memory.private_data.get(this).onload = value + ""; - }, - get onloadend() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadend', arguments, result); - return result; - }, - set onloadend(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onloadend', arguments); - qxVm.memory.private_data.get(this).onloadend = value + ""; - }, - get onloadstart() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadstart', arguments, result); - return result; - }, - set onloadstart(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onloadstart', arguments); - qxVm.memory.private_data.get(this).onloadstart = value + ""; - }, - get onprogress() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onprogress, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onprogress', arguments, result); - return result; - }, - set onprogress(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequestEventTarget', 'onprogress', arguments); - qxVm.memory.private_data.get(this).onprogress = value + ""; - }, - get ontimeout() { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontimeout, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'ontimeout', arguments, result); - return result; - }, - set ontimeout(value) { - if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).ontimeout = value + ""; - } - } - - qxVm.rename(XMLHttpRequestEventTarget.prototype, "XMLHttpRequestEventTarget"); - qxVm.safeDescriptor_addConstructor(XMLHttpRequestEventTarget); - qxVm.safe_Objattribute(XMLHttpRequestEventTarget, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(XMLHttpRequestEventTarget.prototype, EventTarget.prototype); - Object.setPrototypeOf(XMLHttpRequestEventTarget, EventTarget); - -})(); -XMLHttpRequest = function XMLHttpRequest() {//构造函数 - if(new.target !== XMLHttpRequest){ - throw new TypeError(`Failed to construct 'XMLHttpRequest': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(XMLHttpRequest); -; (function () { - const $attributes = { - DONE: 4, - HEADERS_RECEIVED: 2, - LOADING: 3, - OPENED: 1, - UNSENT: 0 - } - const $safe_get_attribute = [ - 'onreadystatechange', 'readyState', 'response', 'responseText', 'responseType', 'responseURL', 'responseXML', 'status', 'statusText', 'timeout', - 'upload', 'withCredentials' - ]; - const $safe_set_attribute = ['onreadystatechange', 'response', 'responseType', 'timeout', 'withCredentials']; - const $safe_func_attribute = ['abort', 'getAllResponseHeaders', 'getResponseHeader', 'open', 'overrideMimeType', 'send', 'setRequestHeader']; - - XMLHttpRequest.prototype = { - abort() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'abort', arguments, result); - return result; - }, - getAllResponseHeaders() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'getAllResponseHeaders', arguments, result); - return result; - }, - getResponseHeader() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'getResponseHeader', arguments, result); - return result; - }, - get onreadystatechange() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onreadystatechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'onreadystatechange', arguments, result); - return result; - }, - set onreadystatechange(value) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequest', 'onreadystatechange', arguments); - qxVm.memory.private_data.get(this).onreadystatechange = value + ""; - }, - open() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'open', arguments, result); - return result; - }, - overrideMimeType() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'overrideMimeType', arguments, result); - return result; - }, - get readyState() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).readyState, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'readyState', arguments, result); - return result; - }, - get response() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).response, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'response', arguments, result); - return result; - }, - set response(value) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequest', 'response', arguments); - qxVm.memory.private_data.get(this).response = value + ""; - }, - get responseText() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).responseText, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'responseText', arguments, result); - return result; - }, - get responseType() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).responseType, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'responseType', arguments, result); - return result; - }, - set responseType(value) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequest', 'responseType', arguments); - qxVm.memory.private_data.get(this).responseType = value + ""; - }, - get responseURL() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).responseURL, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'responseURL', arguments, result); - return result; - }, - get responseXML() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).responseXML, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'responseXML', arguments, result); - return result; - }, - send(body) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = body; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'send', arguments, result); - return result; - }, - setRequestHeader() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'XMLHttpRequest', 'setRequestHeader', arguments, result); - return result; - }, - get status() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).status, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'status', arguments, result); - return result; - }, - get statusText() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).statusText, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'statusText', arguments, result); - return result; - }, - get timeout() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).timeout, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'timeout', arguments, result); - return result; - }, - set timeout(value) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'XMLHttpRequest', 'timeout', arguments); - qxVm.memory.private_data.get(this).timeout = value + ""; - }, - get upload() { // XMLHttpRequestUpload - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get withCredentials() { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).withCredentials, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'XMLHttpRequest', 'withCredentials', arguments, result); - return result; - }, - set withCredentials(value) { - if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).withCredentials = value; - } - } - - for (let key in $attributes) { - if ($attributes.hasOwnProperty(key)) { - const value = $attributes[key]; - Object.defineProperty(XMLHttpRequest, key, { value: value, configurable: false, enumerable: true, writable: false }); - Object.defineProperty(XMLHttpRequest.prototype, key, { value: value, configurable: false, enumerable: true, writable: false }); - } - }; - - qxVm.rename(XMLHttpRequest.prototype, "XMLHttpRequest"); - qxVm.safeDescriptor_addConstructor(XMLHttpRequest); - qxVm.safe_Objattribute(XMLHttpRequest, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(XMLHttpRequest.prototype, XMLHttpRequestEventTarget.prototype); - Object.setPrototypeOf(XMLHttpRequest, XMLHttpRequestEventTarget); - -})(); - -Headers = function Headers() {//构造函数 - if(new.target !== Headers){ - throw new TypeError(`Failed to construct 'Headers': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Headers); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['append', 'delete', 'entries', 'forEach', 'get', 'has', 'keys', 'set', 'values']; - - Headers.prototype = { - append() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'append', arguments, result); - return result; - }, - delete() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'delete', arguments, result); - return result; - }, - entries() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'entries', arguments, result); - return result; - }, - forEach() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'forEach', arguments, result); - return result; - }, - get() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'get', arguments, result); - return result; - }, - has() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'has', arguments, result); - return result; - }, - keys() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'keys', arguments, result); - return result; - }, - set() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'set', arguments, result); - return result; - }, - values() { - if (!Headers.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Headers', 'values', arguments, result); - return result; - } - } - - qxVm.rename(Headers.prototype, "Headers"); - qxVm.safeDescriptor_addConstructor(Headers); - qxVm.safe_Objattribute(Headers, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -Request = function Request() {//构造函数 - if(new.target !== Request){ - throw new TypeError(`Failed to construct 'Request': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Request); - -; (function () { - const $safe_get_attribute = [ - 'bodyUsed', 'cache', 'credentials', 'destination', 'headers', 'integrity', 'isHistoryNavigation', 'keepalive', 'method', - 'mode', 'redirect', 'referrer', 'referrerPolicy', 'signal', 'url' - ]; - const $safe_set_attribute = []; - const $safe_func_attribute = ['arrayBuffer', 'blob', 'clone', 'formData', 'json', 'text']; - - Request.prototype = { - arrayBuffer() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'arrayBuffer', arguments, result); - return result; - }, - blob() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'blob', arguments, result); - return result; - }, - get bodyUsed() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).bodyUsed, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'bodyUsed', arguments, result); - return result; - }, - get cache() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cache, "default");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'cache', arguments, result); - return result; - }, - clone() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'clone', arguments, result); - return result; - }, - get credentials() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).credentials, "same-origin");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'credentials', arguments, result); - return result; - }, - get destination() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).destination, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'destination', arguments, result); - return result; - }, - formData() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'formData', arguments, result); - return result; - }, - get headers() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).headers, new class Headers { });; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'headers', arguments, result); - return result; - }, - get integrity() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).integrity, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'integrity', arguments, result); - return result; - }, - get isHistoryNavigation() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isHistoryNavigation, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'isHistoryNavigation', arguments, result); - return result; - }, - json() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'json', arguments, result); - return result; - }, - get keepalive() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).keepalive, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'keepalive', arguments, result); - return result; - }, - get method() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).method, "GET");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'method', arguments, result); - return result; - }, - get mode() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).mode, "cors");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'mode', arguments, result); - return result; - }, - get redirect() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).redirect, "follow");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'redirect', arguments, result); - return result; - }, - get referrer() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrer, "about:client");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'referrer', arguments, result); - return result; - }, - get referrerPolicy() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); - return result; - }, - get signal() { // 这个有问题 - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).signal, new class AbortSignal { aborted = false; onabort = null });; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); - return result; - }, - text() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Request', 'text', arguments, result); - return result; - }, - get url() { - if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).url, location.href); - } - }; - - qxVm.rename(Request.prototype, "Request"); - qxVm.safeDescriptor_addConstructor(Request); - qxVm.safe_Objattribute(Request, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -// ======================================================================================================================== -// Window -> WindowProperties -> EventTarget -Window = function Window() { - throw new TypeError("Illegal constructor"); -}; -qxVm.safefunction(Window); -window = this; - -; (function () { - - let WindowProperties = (function () { - let WindowProperties = function WindowProperties() { - throw new TypeError("Illegal constructor"); - }; qxVm.safefunction(WindowProperties); - - delete WindowProperties.prototype.constructor; - qxVm.rename(WindowProperties.prototype, "WindowProperties"); - Object.setPrototypeOf(WindowProperties.prototype, EventTarget.prototype); - return WindowProperties; - })(); - - const $attributes = { - TEMPORARY: 0, - PERSISTENT: 1 - }; - - qxVm.rename(Window.prototype, "Window"); - qxVm.add_capitalLetter_attribute(Window, $attributes); - - Object.setPrototypeOf(WindowProperties.prototype, EventTarget.prototype); - Object.setPrototypeOf(Window.prototype, WindowProperties.prototype); - Object.setPrototypeOf(Window, EventTarget); - - Object.defineProperty(Window, 'prototype', { value: Window.prototype, configurable: false, enumerable: false, writable: false }); - - - window.constructor = Window; - window.__proto__ = Window.prototype; // 这个有点特殊, 必须要强制指定原型链 - - Object.defineProperty(window, 'window', { - value: window, - configurable: false, - enumerable: true, - writable: true - }) -})(); - -; (function () { - qxVm.encrypt.base64.base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - qxVm.encrypt.base64.base64DecodeChars = [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1]; - - const base64EncodeChars = qxVm.encrypt.base64.base64EncodeChars; - const base64DecodeChars = qxVm.encrypt.base64.base64DecodeChars - - qxVm.encrypt.base64.encode = function btoa(str) { - var out, i, len; - var c1, c2, c3; - - len = str.length; - i = 0; - out = ""; - while (i < len) { - c1 = str.charCodeAt(i++) & 0xff; - if (i == len) { - out += base64EncodeChars.charAt(c1 >> 2); - out += base64EncodeChars.charAt((c1 & 0x3) << 4); - out += "=="; - break; - } - c2 = str.charCodeAt(i++); - if (i == len) { - out += base64EncodeChars.charAt(c1 >> 2); - out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)); - out += base64EncodeChars.charAt((c2 & 0xF) << 2); - out += "="; - break; - } - c3 = str.charCodeAt(i++); - out += base64EncodeChars.charAt(c1 >> 2); - out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)); - out += base64EncodeChars.charAt(((c2 & 0xF) << 2) | ((c3 & 0xC0) >> 6)); - out += base64EncodeChars.charAt(c3 & 0x3F); - } - return out; - } - - qxVm.encrypt.base64.decode = function atob(str) { - var c1, c2, c3, c4; - var i, len, out; - - len = str.length; - i = 0; - out = ""; - while (i < len) { - /* c1 */ - do { - c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff]; - } while (i < len && c1 == -1); - if (c1 == -1) - break; - - /* c2 */ - do { - c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff]; - } while (i < len && c2 == -1); - if (c2 == -1) - break; - - out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4)); - - /* c3 */ - do { - c3 = str.charCodeAt(i++) & 0xff; - if (c3 == 61) - return out; - c3 = base64DecodeChars[c3]; - } while (i < len && c3 == -1); - if (c3 == -1) - break; - - out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2)); - - /* c4 */ - do { - c4 = str.charCodeAt(i++) & 0xff; - if (c4 == 61) - return out; - c4 = base64DecodeChars[c4]; - } while (i < len && c4 == -1); - if (c4 == -1) - break; - out += String.fromCharCode(((c3 & 0x03) << 6) | c4); - } - return out; - } - - this.btoa = qxVm.encrypt.base64.encode; - this.atob = qxVm.encrypt.base64.decode; - - this.btoa.prototype = undefined; - this.atob.prototype = undefined; - - qxVm.safefunction(this.btoa); - qxVm.safefunction(this.atob); - -})(); - - -; (function () { - let timer = { - setTimeout(callback, ...arg) { - const timer_obj = qxVm_module.node_func.setTimeout(callback, ...arg); - const timer_id = parseInt(Object.keys(qxVm.memory.timer_map).sort((a, b) => { - return a - b; - }).pop()) + 1; - qxVm.memory.timer_map[timer_id] = timer_obj - return timer_id; - }, - setInterval(callback, ...arg) { - const timer_obj = qxVm_module.node_func.setInterval(callback, ...arg); - const timer_id = parseInt(Object.keys(qxVm.memory.timer_map).sort((a, b) => { - return a - b; - }).pop()) + 1; - qxVm.memory.timer_map[timer_id] = timer_obj - return timer_id; - }, - clearTimeout(timer_id) { - const timer_obj = qxVm.memory.timer_map[timer_id]; - return qxVm_module.node_func.clearTimeout(timer_obj) - }, - clearInterval(timer_id) { - const timer_obj = qxVm.memory.timer_map[timer_id]; - return qxVm_module.node_func.clearInterval(timer_obj) - } - }; - for (const key in timer) { - if (Object.hasOwnProperty.call(timer, key)) { - const timer_obj = timer[key]; - - qxVm.safefunction(timer_obj); - - Object.defineProperty(window, timer_obj.name, { - value: timer_obj, - configurable: true, - enumerable: true, - writable: true - }) - } - }; - -})(); - -styleMedia = {}; // 未实现 -webkitStorageInfo = {} // 未实现 -speechSynthesis = {}; // 未实现 - - -alert = function alert() { }; -blur = function blur() { }; -cancelAnimationFrame = function cancelAnimationFrame() { }; -cancelIdleCallback = function cancelIdleCallback() { }; -captureEvents = function captureEvents() { }; -close = function close() { }; -confirm = function confirm() { }; -createImageBitmap = function createImageBitmap() { }; -fetch = function fetch() { }; -find = function find() { }; -focus = function focus() { }; -getComputedStyle = function getComputedStyle() { }; -getSelection = function getSelection() { }; -matchMedia = function matchMedia() { }; -moveBy = function moveBy() { }; -moveTo = function moveTo() { }; -open = function open() { }; -postMessage = function postMessage() { }; -print = function print() { }; -prompt = function prompt() { }; -queueMicrotask = function queueMicrotask() { }; -releaseEvents = function releaseEvents() { }; -reportError = function reportError() { }; -requestAnimationFrame = function requestAnimationFrame() { }; -requestIdleCallback = function requestIdleCallback() { }; -resizeBy = function resizeBy() { }; -resizeTo = function resizeTo() { }; -scroll = function scroll() { }; -scrollBy = function scrollBy() { }; -scrollTo = function scrollTo() { }; -stop = function stop() { }; -webkitCancelAnimationFrame = function webkitCancelAnimationFrame() { }; -webkitRequestAnimationFrame = function webkitRequestAnimationFrame() { }; -showDirectoryPicker = function showDirectoryPicker() { }; -showOpenFilePicker = function showOpenFilePicker() { }; -showSaveFilePicker = function showSaveFilePicker() { }; -webkitRequestFileSystem = function webkitRequestFileSystem() { }; -webkitResolveLocalFileSystemURL = function webkitResolveLocalFileSystemURL() { }; -cr = function cr() { }; -JSCompiler_renameProperty = function JSCompiler_renameProperty() { }; - -top = window; -parent = window; -self = window; - -; (function () { - let get_set_attribute_map = { - // window: [window, true, false, false, true], - self: [window, true, true, true, true], - // document: [document, true, false, false, true], - name: ["", true, true, true, true], - location: [location, true, true, false, true], - customElements: [customElements, true, false, true, true], - history: [history, true, false, true, true], - locationbar: [locationbar, true, true, true, true], - menubar: [menubar, true, true, true, true], - personalbar: [personalbar, true, true, true, true], - scrollbars: [scrollbars, true, true, true, true], - statusbar: [statusbar, true, true, true, true], - toolbar: [toolbar, true, true, true, true], - status: ["", true, true, true, true], - closed: [false, true, false, true, true], - frames: [window, true, true, true, true], - length: [0, true, true, true, true], - top: [window, true, false, false, true], - opener: [null, true, true, true, true], - parent: [window, true, true, true, true], - frameElement: [null, true, false, true, true], - navigator: [navigator, true, false, true, true], - origin: [location.origin, true, true, true, true], - external: [external, true, true, true, true], - screen: [screen, true, true, true, true], - innerWidth: [1707, true, true, true, true], - innerHeight: [963, true, true, true, true], - scrollX: [0, true, true, true, true], - pageXOffset: [0, true, true, true, true], - scrollY: [0, true, true, true, true], - pageYOffset: [0, true, true, true, true], - visualViewport: [visualViewport, true, true, true, true], - screenX: [0, true, true, true, true], - screenY: [0, true, true, true, true], - outerWidth: [1707, true, true, true, true], - outerHeight: [1067, true, true, true, true], - devicePixelRatio: [1.5, true, true, true, true], - clientInformation: [navigator, true, true, true, true], - screenLeft: [0, true, true, true, true], - screenTop: [0, true, true, true, true], - defaultStatus: ["", true, true, true, true], - defaultstatus: ["", true, true, true, true], - styleMedia: [styleMedia, true, false, true, true], - onsearch: [null, true, true, true, true], - isSecureContext: [true, true, false, true, true], - performance: [performance, true, true, true, true], - onappinstalled: [null, true, true, true, true], - onbeforeinstallprompt: [null, true, true, true, true], - crypto: [crypto, true, false, true, true], - indexedDB: [indexedDB, true, false, true, true], - webkitStorageInfo: [webkitStorageInfo, true, false, true, true], - sessionStorage: [sessionStorage, true, false, true, true], - localStorage: [localStorage, true, false, true, true], - onbeforexrselect: [null, true, true, true, true], - onabort: [null, true, true, true, true], - onblur: [null, true, true, true, true], - oncancel: [null, true, true, true, true], - oncanplay: [null, true, true, true, true], - oncanplaythrough: [null, true, true, true, true], - onchange: [null, true, true, true, true], - onclick: [null, true, true, true, true], - onclose: [null, true, true, true, true], - oncontextmenu: [null, true, true, true, true], - oncuechange: [null, true, true, true, true], - ondblclick: [null, true, true, true, true], - ondrag: [null, true, true, true, true], - ondragend: [null, true, true, true, true], - ondragenter: [null, true, true, true, true], - ondragleave: [null, true, true, true, true], - ondragover: [null, true, true, true, true], - ondragstart: [null, true, true, true, true], - ondrop: [null, true, true, true, true], - ondurationchange: [null, true, true, true, true], - onemptied: [null, true, true, true, true], - onended: [null, true, true, true, true], - onerror: [null, true, true, true, true], - onfocus: [null, true, true, true, true], - onformdata: [null, true, true, true, true], - oninput: [null, true, true, true, true], - oninvalid: [null, true, true, true, true], - onkeydown: [null, true, true, true, true], - onkeypress: [null, true, true, true, true], - onkeyup: [null, true, true, true, true], - onload: [null, true, true, true, true], - onloadeddata: [null, true, true, true, true], - onloadedmetadata: [null, true, true, true, true], - onloadstart: [null, true, true, true, true], - onmousedown: [null, true, true, true, true], - onmouseenter: [null, true, true, true, true], - onmouseleave: [null, true, true, true, true], - onmousemove: [null, true, true, true, true], - onmouseout: [null, true, true, true, true], - onmouseover: [null, true, true, true, true], - onmouseup: [null, true, true, true, true], - onmousewheel: [null, true, true, true, true], - onpause: [null, true, true, true, true], - onplay: [null, true, true, true, true], - onplaying: [null, true, true, true, true], - onprogress: [null, true, true, true, true], - onratechange: [null, true, true, true, true], - onreset: [null, true, true, true, true], - onresize: [null, true, true, true, true], - onscroll: [null, true, true, true, true], - onsecuritypolicyviolation: [null, true, true, true, true], - onseeked: [null, true, true, true, true], - onseeking: [null, true, true, true, true], - onselect: [null, true, true, true, true], - onslotchange: [null, true, true, true, true], - onstalled: [null, true, true, true, true], - onsubmit: [null, true, true, true, true], - onsuspend: [null, true, true, true, true], - ontimeupdate: [null, true, true, true, true], - ontoggle: [null, true, true, true, true], - onvolumechange: [null, true, true, true, true], - onwaiting: [null, true, true, true, true], - onwebkitanimationend: [null, true, true, true, true], - onwebkitanimationiteration: [null, true, true, true, true], - onwebkitanimationstart: [null, true, true, true, true], - onwebkittransitionend: [null, true, true, true, true], - onwheel: [null, true, true, true, true], - onauxclick: [null, true, true, true, true], - ongotpointercapture: [null, true, true, true, true], - onlostpointercapture: [null, true, true, true, true], - onpointerdown: [null, true, true, true, true], - onpointermove: [null, true, true, true, true], - onpointerup: [null, true, true, true, true], - onpointercancel: [null, true, true, true, true], - onpointerover: [null, true, true, true, true], - onpointerout: [null, true, true, true, true], - onpointerenter: [null, true, true, true, true], - onpointerleave: [null, true, true, true, true], - onselectstart: [null, true, true, true, true], - onselectionchange: [null, true, true, true, true], - onanimationend: [null, true, true, true, true], - onanimationiteration: [null, true, true, true, true], - onanimationstart: [null, true, true, true, true], - ontransitionrun: [null, true, true, true, true], - ontransitionstart: [null, true, true, true, true], - ontransitionend: [null, true, true, true, true], - ontransitioncancel: [null, true, true, true, true], - onafterprint: [null, true, true, true, true], - onbeforeprint: [null, true, true, true, true], - onbeforeunload: [null, true, true, true, true], - onhashchange: [null, true, true, true, true], - onlanguagechange: [null, true, true, true, true], - onmessage: [null, true, true, true, true], - onmessageerror: [null, true, true, true, true], - onoffline: [null, true, true, true, true], - ononline: [null, true, true, true, true], - onpagehide: [null, true, true, true, true], - onpageshow: [null, true, true, true, true], - onpopstate: [null, true, true, true, true], - onrejectionhandled: [null, true, true, true, true], - onstorage: [null, true, true, true, true], - onunhandledrejection: [null, true, true, true, true], - onunload: [null, true, true, true, true], - caches: [caches, true, false, true, true], - cookieStore: [cookieStore, true, false, true, true], - ondevicemotion: [null, true, true, true, true], - ondeviceorientation: [null, true, true, true, true], - ondeviceorientationabsolute: [null, true, true, true, true], - originAgentCluster: [false, true, false, true, true], - trustedTypes: [trustedTypes, true, false, true, true], - speechSynthesis: [speechSynthesis, true, false, true, true], - onpointerrawupdate: [null, true, true, true, true], - crossOriginIsolated: [false, true, false, true, true], - scheduler: [scheduler, true, true, true, true], - } - - let value_attribute_map_string = { - alert: [alert, true, true, true], - atob: [atob, true, true, true], - blur: [blur, true, true, true], - btoa: [btoa, true, true, true], - cancelAnimationFrame: [cancelAnimationFrame, true, true, true], - cancelIdleCallback: [cancelIdleCallback, true, true, true], - captureEvents: [captureEvents, true, true, true], - clearInterval: [clearInterval, true, true, true], - clearTimeout: [clearTimeout, true, true, true], - close: [close, true, true, true], - confirm: [confirm, true, true, true], - createImageBitmap: [createImageBitmap, true, true, true], - fetch: [fetch, true, true, true], - find: [find, true, true, true], - focus: [focus, true, true, true], - getComputedStyle: [getComputedStyle, true, true, true], - getSelection: [getSelection, true, true, true], - matchMedia: [matchMedia, true, true, true], - moveBy: [moveBy, true, true, true], - moveTo: [moveTo, true, true, true], - open: [open, true, true, true], - postMessage: [postMessage, true, true, true], - print: [print, true, true, true], - prompt: [prompt, true, true, true], - queueMicrotask: [queueMicrotask, true, true, true], - releaseEvents: [releaseEvents, true, true, true], - reportError: [reportError, true, true, true], - requestAnimationFrame: [requestAnimationFrame, true, true, true], - requestIdleCallback: [requestIdleCallback, true, true, true], - resizeBy: [resizeBy, true, true, true], - resizeTo: [resizeTo, true, true, true], - scroll: [scroll, true, true, true], - scrollBy: [scrollBy, true, true, true], - scrollTo: [scrollTo, true, true, true], - setInterval: [setInterval, true, true, true], - setTimeout: [setTimeout, true, true, true], - stop: [stop, true, true, true], - webkitCancelAnimationFrame: [webkitCancelAnimationFrame, true, true, true], - webkitRequestAnimationFrame: [webkitRequestAnimationFrame, true, true, true], - chrome: [chrome, false, true, true], - showDirectoryPicker: [showDirectoryPicker, true, true, true], - showOpenFilePicker: [showOpenFilePicker, true, true, true], - showSaveFilePicker: [showSaveFilePicker, true, true, true], - openDatabase: [openDatabase, true, true, true], - webkitRequestFileSystem: [webkitRequestFileSystem, true, true, true], - webkitResolveLocalFileSystemURL: [webkitResolveLocalFileSystemURL, true, true, true], - cr: [cr, true, true, true], - JSCompiler_renameProperty: [JSCompiler_renameProperty, true, true, true], - ShadyCSS: [ShadyCSS, true, true, true], - }; - - for (const key in get_set_attribute_map) { - if (Object.hasOwnProperty.call(get_set_attribute_map, key)) { - const element = get_set_attribute_map[key]; - const value = element[0], - get = element[1], - set = element[2], - configurable = element[3], - enumerable = element[4]; - - let desc = { - get() { return value }, - set(value) { }, - configurable: configurable, - enumerable: enumerable - } - if (set === false) { - desc.set = undefined; - } - Object.defineProperty(window, key, desc); - - qxVm.safefunction(Object.getOwnPropertyDescriptor(window, key)['get'], `get ${key}`, true); - if (set === true) { - qxVm.safefunction(Object.getOwnPropertyDescriptor(window, key)['set'], `set ${key}`, true); - } - } - }; - - for (const key in value_attribute_map_string) { - if (Object.hasOwnProperty.call(value_attribute_map_string, key)) { - const element = value_attribute_map_string[key]; - const value = element[0], - configurable = element[1], - enumerable = element[2], - writable = element[3]; - - Object.defineProperty(window, key, { - value: value, configurable: configurable, enumerable: enumerable, writable: writable - }); - qxVm.safefunction(Object.getOwnPropertyDescriptor(window, key)['value']) - } - } - -})(); - -Node = function Node() { - throw new TypeError("Illegal constructor"); -}; -qxVm.safefunction(Node); - -; (function () { - const $attributes = { - ATTRIBUTE_NODE: 2, - CDATA_SECTION_NODE: 4, - COMMENT_NODE: 8, - DOCUMENT_FRAGMENT_NODE: 11, - DOCUMENT_NODE: 9, - DOCUMENT_POSITION_CONTAINED_BY: 16, - DOCUMENT_POSITION_CONTAINS: 8, - DOCUMENT_POSITION_DISCONNECTED: 1, - DOCUMENT_POSITION_FOLLOWING: 4, - DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32, - DOCUMENT_POSITION_PRECEDING: 2, - DOCUMENT_TYPE_NODE: 10, - ELEMENT_NODE: 1, - ENTITY_NODE: 6, - ENTITY_REFERENCE_NODE: 5, - NOTATION_NODE: 12, - PROCESSING_INSTRUCTION_NODE: 7, - TEXT_NODE: 3 - }; - - const $safe_get_attribute = [ - 'baseURI', 'childNodes', 'firstChild', 'isConnected', 'lastChild', 'nextSibling', 'nodeName', 'nodeType', 'nodeValue', 'ownerDocument', 'parentElement', 'parentNode', 'previousSibling', 'textContent' - ]; - const $safe_set_attribute = ['nodeValue', 'textContent']; - const $safe_func_attribute = [ - 'appendChild', 'cloneNode', 'compareDocumentPosition', 'contains', 'getRootNode', 'hasChildNodes', 'insertBefore', 'isDefaultNamespace', 'isEqualNode', 'isSameNode', 'lookupNamespaceURI', - 'lookupPrefix', 'normalize', 'removeChild', 'replaceChild' - ]; - - Node.prototype = { - appendChild(aChild) { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get baseURI() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).baseURI, location.href);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'baseURI', arguments, result); - return result; - }, - get childNodes() { - // debugger; - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).childNodes, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'childNodes', arguments, result); - return result; - }, - cloneNode() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'cloneNode', arguments, result); - return result; - }, - compareDocumentPosition() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'compareDocumentPosition', arguments, result); - return result; - }, - contains() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'contains', arguments, result); - return result; - }, - get firstChild() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).firstChild, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'firstChild', arguments, result); - return result; - }, - getRootNode() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - console.log(this) - }, - hasChildNodes() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'hasChildNodes', arguments, result); - return result; - }, - insertBefore() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'insertBefore', arguments, result); - return result; - }, - get isConnected() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isConnected, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'isConnected', arguments, result); - return result; - }, - isDefaultNamespace() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'isDefaultNamespace', arguments, result); - return result; - }, - isEqualNode() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'isEqualNode', arguments, result); - return result; - }, - isSameNode() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'isSameNode', arguments, result); - return result; - }, - get lastChild() { // 返回一个html - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lastChild, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'isSameNode', arguments, result); - return result; - }, - lookupNamespaceURI() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'lookupNamespaceURI', arguments, result); - return result; - }, - lookupPrefix() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'lookupPrefix', arguments, result); - return result; - }, - get nextSibling() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nextSibling, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'nextSibling', arguments, result); - return result; - }, - get nodeName() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let node_name = qxVm.htmls_toStringTag(this).toUpperCase(); - let result = node_name === 'DOCUMENT' ? '#document' : node_name;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'nodeName', arguments, result); - return result; - }, - get nodeType() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 9; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'nodeType', arguments, result); - return result; - }, - get nodeValue() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nodeValue, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'nodeValue', arguments, result); - return result; - }, - set nodeValue(value) { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Node', 'nodeValue', arguments); - qxVm.memory.private_data.get(this).nodeValue = value + ""; - }, - normalize() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'normalize', arguments, result); - return result; - }, - get ownerDocument() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'ownerDocument', arguments, result); - return result; - }, - get parentElement() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'parentElement', arguments, result); - return result; - }, - get parentNode() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'parentNode', arguments, result); - return result; - }, - get previousSibling() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'previousSibling', arguments, result); - return result; - }, - removeChild() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'removeChild', arguments, result); - return result; - }, - replaceChild() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Node', 'replaceChild', arguments, result); - return result; - }, - get textContent() { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).textContent, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Node', 'textContent', arguments, result); - return result; - }, - set textContent(value) { - if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Node', 'textContent', arguments); - qxVm.memory.private_data.get(this).textContent = value + ""; - }, - }; - qxVm.rename(Node.prototype, "Node"); - qxVm.safeDescriptor_addConstructor(Node); - qxVm.safe_Objattribute(Node, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - qxVm.add_capitalLetter_attribute(Node, $attributes); - - - Object.setPrototypeOf(Node.prototype, EventTarget.prototype); - Object.setPrototypeOf(Node, EventTarget); -})(); - - - -NodeList = function NodeList(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(NodeList); - -; (function () { - const $safe_get_attribute = ['length']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['entries', 'forEach', 'item', 'keys', 'values']; - - NodeList.prototype = { - entries() { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NodeList', 'entries', arguments, result); - return result; - }, - forEach(callback, ...args) { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NodeList', 'forEach', arguments, result); - return result; - }, - item(imdex) { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - try{ - return this[imdex] - }catch(error){ - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NodeList', 'item', arguments, result); - return result; - } - }, - keys() { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = Object.keys(this);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NodeList', 'keys', arguments, result); - return result; - }, - get length() { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).length, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'NodeList', 'length', arguments, result); - return result; - }, - values() { - if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'NodeList', 'values', arguments, result); - return result; - } - }; - qxVm.set_iterator(NodeList); - qxVm.rename(NodeList.prototype, "NodeList"); - qxVm.safeDescriptor_addConstructor(NodeList); - qxVm.safe_Objattribute(NodeList, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -DOMParser = function DOMParser() { - if(new.target !== DOMParser){ - throw new TypeError(`Failed to construct 'DOMParser': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(DOMParser); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['parseFromString']; - - DOMParser.prototype = { - parseFromString() { - if (!DOMParser.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMParser', 'parseFromString', arguments, result); - return result; - }, - } - qxVm.rename(DOMParser.prototype, "DOMParser"); - qxVm.safeDescriptor_addConstructor(DOMParser); - qxVm.safe_Objattribute(DOMParser, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -DOMRectReadOnly = function DOMRectReadOnly(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(DOMRectReadOnly); - -; (function () { - const $safe_get_attribute = ['bottom', 'height', 'left', 'right', 'top', 'width', 'x', 'y']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['toJSON']; - - DOMRectReadOnly.prototype = { - get bottom() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'bottom', arguments, result); - return result; - }, - get height() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'height', arguments, result); - return result; - }, - get left() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'left', arguments, result); - return result; - }, - get right() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'right', arguments, result); - return result; - }, - toJSON() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMRectReadOnly', 'toJSON', arguments, result); - return result; - }, - get top() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'top', arguments, result); - return result; - }, - get width() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'width', arguments, result); - return result; - }, - get x() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'x', arguments, result); - return result; - }, - get y() { - if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMRectReadOnly', 'y', arguments, result); - return result; - }, - } - qxVm.rename(DOMRectReadOnly.prototype, "DOMRectReadOnly"); - qxVm.safeDescriptor_addConstructor(DOMRectReadOnly); - qxVm.safe_Objattribute(DOMRectReadOnly, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); -})(); - - -DOMTokenList = function DOMTokenList(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(DOMTokenList); - -; (function () { - const $safe_get_attribute = ['length', 'value']; - const $safe_set_attribute = ['value']; - const $safe_func_attribute = ['add', 'contains', 'entries', 'forEach', 'item', 'keys', 'remove', 'replace', 'supports', 'toString', 'toggle', 'values']; - - DOMTokenList.prototype = { - add() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'add', arguments, result); - return result; - }, - contains() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'contains', arguments, result); - return result; - }, - entries() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'entries', arguments, result); - return result; - }, - forEach() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'forEach', arguments, result); - return result; - }, - item() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'item', arguments, result); - return result; - }, - keys() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'keys', arguments, result); - return result; - }, - get length() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).length, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMTokenList', 'length', arguments, result); - return result; - }, - remove() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'remove', arguments, result); - return result; - }, - replace() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'replace', arguments, result); - return result; - }, - supports() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'supports', arguments, result); - return result; - }, - toString() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'toString', arguments, result); - return result; - }, - toggle() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'toggle', arguments, result); - return result; - }, - get value() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).value, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'DOMTokenList', 'value', arguments, result); - return result; - }, - set value(value) { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'DOMTokenList', 'value', arguments); - qxVm.memory.private_data.get(this).value = value + ""; - }, - values() { - if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'DOMTokenList', 'values', arguments, result); - return result; - } - }; - - qxVm.rename(DOMTokenList.prototype, "DOMTokenList"); - qxVm.safeDescriptor_addConstructor(DOMTokenList); - qxVm.safe_Objattribute(DOMTokenList, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -HTMLCollection = function HTMLCollection(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - }; -}; qxVm.safefunction(HTMLCollection); - -; (function () { - const $safe_get_attribute = ['length']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['item', 'namedItem']; - - HTMLCollection.prototype = { - item(index) { - if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this[index];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCollection', 'item', arguments, result); - return result; - }, - get length() { - if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = Object.keys(this).length; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLCollection', 'length', arguments, result); - return result; - }, - namedItem(name) { - if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = this[name];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCollection', 'namedItem', arguments, result); - return result; - } - }; - qxVm.set_iterator(HTMLCollection); - qxVm.rename(HTMLCollection.prototype, "HTMLCollection"); - qxVm.safeDescriptor_addConstructor(HTMLCollection); - qxVm.safe_Objattribute(HTMLCollection, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - // 创建一个放到框架内存(模拟全局变量), 便于后续得其他引用操作 - qxVm.memory.htmlCollection = new HTMLCollection(qxVm.memory.$createObj_key); - -})(); - - -Element = function Element() { - throw new TypeError("Illegal constructor"); - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Element); - -; (function () { - const $safe_get_attribute = [ - 'ariaAtomic', 'ariaAutoComplete', 'ariaBusy', 'ariaChecked', 'ariaColCount', 'ariaColIndex', 'ariaColSpan', - 'ariaCurrent', 'ariaDescription', 'ariaDisabled', 'ariaExpanded', 'ariaHasPopup', 'ariaHidden', 'ariaKeyShortcuts', - 'ariaLabel', 'ariaLevel', 'ariaLive', 'ariaModal', 'ariaMultiLine', 'ariaMultiSelectable', 'ariaOrientation', - 'ariaPlaceholder', 'ariaPosInSet', 'ariaPressed', 'ariaReadOnly', 'ariaRelevant', 'ariaRequired', - 'ariaRoleDescription', 'ariaRowCount', 'ariaRowIndex', 'ariaRowSpan', 'ariaSelected', 'ariaSetSize', 'ariaSort', - 'ariaValueMax', 'ariaValueMin', 'ariaValueNow', 'ariaValueText', 'assignedSlot', 'attributeStyleMap', - 'attributes', 'childElementCount', 'children', 'classList', 'className', 'clientHeight', 'clientLeft', 'clientTop', - 'clientWidth', 'elementTiming', 'firstElementChild', 'id', 'innerHTML', 'lastElementChild', 'localName', - 'namespaceURI', 'nextElementSibling', 'onbeforecopy', 'onbeforecut', 'onbeforepaste', 'onfullscreenchange', - 'onfullscreenerror', 'onsearch', 'onwebkitfullscreenchange', 'onwebkitfullscreenerror', 'outerHTML', 'part', - 'prefix', 'previousElementSibling', 'scrollHeight', 'scrollLeft', 'scrollTop', 'scrollWidth', 'shadowRoot', - 'slot', 'tagName' - ]; - const $safe_set_attribute = [ - 'ariaAtomic', 'ariaAutoComplete', 'ariaBusy', 'ariaChecked', 'ariaColCount', 'ariaColIndex', 'ariaColSpan', - 'ariaCurrent', 'ariaDescription', 'ariaDisabled', 'ariaExpanded', 'ariaHasPopup', 'ariaHidden', 'ariaKeyShortcuts', - 'ariaLabel', 'ariaLevel', 'ariaLive', 'ariaModal', 'ariaMultiLine', 'ariaMultiSelectable', 'ariaOrientation', - 'ariaPlaceholder', 'ariaPosInSet', 'ariaPressed', 'ariaReadOnly', 'ariaRelevant', 'ariaRequired', - 'ariaRoleDescription', 'ariaRowCount', 'ariaRowIndex', 'ariaRowSpan', 'ariaSelected', 'ariaSetSize', 'ariaSort', - 'ariaValueMax', 'ariaValueMin', 'ariaValueNow', 'ariaValueText', 'classList', 'className', 'elementTiming', 'id', - 'innerHTML', 'onbeforecopy', 'onbeforecut', 'onbeforepaste', 'onfullscreenchange', 'onfullscreenerror', 'onsearch', - 'onwebkitfullscreenchange', 'onwebkitfullscreenerror', 'outerHTML', 'part', 'scrollLeft', 'scrollTop', 'slot' - ]; - const $safe_func_attribute = [ - 'after', 'animate', 'append', 'attachShadow', 'before', 'closest', 'computedStyleMap', 'getAnimations', - 'getAttribute', 'getAttributeNS', 'getAttributeNames', 'getAttributeNode', 'getAttributeNodeNS', - 'getBoundingClientRect', 'getClientRects', 'getElementsByClassName', 'getElementsByTagName', 'getElementsByTagNameNS', - 'getInnerHTML', 'hasAttribute', 'hasAttributeNS', 'hasAttributes', 'hasPointerCapture', 'insertAdjacentElement', - 'insertAdjacentHTML', 'insertAdjacentText', 'matches', 'prepend', 'querySelector', 'querySelectorAll', - 'releasePointerCapture', 'remove', 'removeAttribute', 'removeAttributeNS', 'removeAttributeNode', 'replaceChildren', - 'replaceWith', 'requestFullscreen', 'requestPointerLock', 'scroll', 'scrollBy', 'scrollIntoView', 'scrollIntoViewIfNeeded', - 'scrollTo', 'setAttribute', 'setAttributeNS', 'setAttributeNode', 'setAttributeNodeNS', 'setPointerCapture', - 'toggleAttribute', 'webkitMatchesSelector', 'webkitRequestFullScreen', 'webkitRequestFullscreen' - ]; - - - Element.prototype = { - after() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'after', arguments, result); - return result; - }, - animate() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'animate', arguments, result); - return result; - }, - append() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'append', arguments, result); - return result; - }, - get ariaAtomic() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaAtomic', arguments, result); - return result; - }, - set ariaAtomic(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaAtomic', arguments); - qxVm.memory.private_data.get(this).ariaAtomic = value; - }, - get ariaAutoComplete() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaAutoComplete', arguments, result); - return result; - }, - set ariaAutoComplete(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaAutoComplete', arguments); - qxVm.memory.private_data.get(this).ariaAutoComplete = value; - }, - get ariaBusy() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaBusy', arguments, result); - return result; - }, - set ariaBusy(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaBusy', arguments); - qxVm.memory.private_data.get(this).ariaBusy = value; - }, - get ariaChecked() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaChecked', arguments, result); - return result; - }, - set ariaChecked(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaChecked', arguments); - qxVm.memory.private_data.get(this).ariaChecked = value; - }, - get ariaColCount() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaColCount', arguments, result); - return result; - }, - set ariaColCount(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaColCount', arguments); - qxVm.memory.private_data.get(this).ariaColCount = value; - }, - get ariaColIndex() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaColIndex', arguments, result); - return result; - }, - set ariaColIndex(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaColIndex', arguments); - qxVm.memory.private_data.get(this).ariaColIndex = value; - }, - get ariaColSpan() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaColSpan', arguments, result); - return result; - }, - set ariaColSpan(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaColSpan', arguments); - qxVm.memory.private_data.get(this).ariaColSpan = value; - }, - get ariaCurrent() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaCurrent', arguments, result); - return result; - }, - set ariaCurrent(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaCurrent', arguments); - qxVm.memory.private_data.get(this).ariaCurrent = value; - }, - get ariaDescription() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaDescription', arguments, result); - return result; - }, - set ariaDescription(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaDescription', arguments); - qxVm.memory.private_data.get(this).ariaDescription = value; - }, - get ariaDisabled() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaDisabled', arguments, result); - return result; - }, - set ariaDisabled(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaDisabled', arguments); - qxVm.memory.private_data.get(this).ariaDisabled = value; - }, - get ariaExpanded() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaExpanded', arguments, result); - return result; - }, - set ariaExpanded(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaExpanded', arguments); - qxVm.memory.private_data.get(this).ariaExpanded = value; - }, - get ariaHasPopup() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaHasPopup', arguments, result); - return result; - }, - set ariaHasPopup(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaHasPopup', arguments); - qxVm.memory.private_data.get(this).ariaHasPopup = value; - }, - get ariaHidden() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaHidden', arguments, result); - return result; - }, - set ariaHidden(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaHidden', arguments); - qxVm.memory.private_data.get(this).ariaHidden = value; - }, - get ariaKeyShortcuts() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaKeyShortcuts', arguments, result); - return result; - }, - set ariaKeyShortcuts(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaKeyShortcuts', arguments); - qxVm.memory.private_data.get(this).ariaKeyShortcuts = value; - }, - get ariaLabel() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaLabel', arguments, result); - return result; - }, - set ariaLabel(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaLabel', arguments); - qxVm.memory.private_data.get(this).ariaLabel = value; - }, - get ariaLevel() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaLevel', arguments, result); - return result; - }, - set ariaLevel(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaLevel', arguments); - qxVm.memory.private_data.get(this).ariaLevel = value; - }, - get ariaLive() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaLive', arguments, result); - return result; - }, - set ariaLive(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaLive', arguments); - qxVm.memory.private_data.get(this).ariaLive = value; - }, - get ariaModal() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaModal', arguments, result); - return result; - }, - set ariaModal(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaModal', arguments); - qxVm.memory.private_data.get(this).ariaModal = value; - }, - get ariaMultiLine() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaMultiLine', arguments, result); - return result; - }, - set ariaMultiLine(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaMultiLine', arguments); - qxVm.memory.private_data.get(this).ariaMultiLine = value; - }, - get ariaMultiSelectable() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaMultiSelectable', arguments, result); - return result; - }, - set ariaMultiSelectable(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaMultiSelectable', arguments); - qxVm.memory.private_data.get(this).ariaMultiSelectable = value; - }, - get ariaOrientation() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaOrientation', arguments, result); - return result; - }, - set ariaOrientation(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaOrientation', arguments); - qxVm.memory.private_data.get(this).ariaOrientation = value; - }, - get ariaPlaceholder() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaPlaceholder', arguments, result); - return result; - }, - set ariaPlaceholder(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaPlaceholder', arguments); - qxVm.memory.private_data.get(this).ariaPlaceholder = value; - }, - get ariaPosInSet() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaPosInSet', arguments, result); - return result; - }, - set ariaPosInSet(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaPosInSet', arguments); - qxVm.memory.private_data.get(this).ariaPosInSet = value; - }, - get ariaPressed() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaPressed', arguments, result); - return result; - }, - set ariaPressed(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaPressed', arguments); - qxVm.memory.private_data.get(this).ariaPressed = value; - }, - get ariaReadOnly() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaReadOnly', arguments, result); - return result; - }, - set ariaReadOnly(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaReadOnly', arguments); - qxVm.memory.private_data.get(this).ariaReadOnly = value; - }, - get ariaRelevant() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRelevant', arguments, result); - return result; - }, - set ariaRelevant(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRelevant', arguments); - qxVm.memory.private_data.get(this).ariaRelevant = value; - }, - get ariaRequired() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRequired', arguments, result); - return result; - }, - set ariaRequired(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRequired', arguments); - qxVm.memory.private_data.get(this).ariaRequired = value; - }, - get ariaRoleDescription() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRoleDescription', arguments, result); - return result; - }, - set ariaRoleDescription(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRoleDescription', arguments); - qxVm.memory.private_data.get(this).ariaRoleDescription = value; - }, - get ariaRowCount() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRowCount', arguments, result); - return result; - }, - set ariaRowCount(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRowCount', arguments); - qxVm.memory.private_data.get(this).ariaRowCount = value; - }, - get ariaRowIndex() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRowIndex', arguments, result); - return result; - }, - set ariaRowIndex(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRowIndex', arguments); - qxVm.memory.private_data.get(this).ariaRowIndex = value; - }, - get ariaRowSpan() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaRowSpan', arguments, result); - return result; - }, - set ariaRowSpan(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaRowSpan', arguments); - qxVm.memory.private_data.get(this).ariaRowSpan = value; - }, - get ariaSelected() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaSelected', arguments, result); - return result; - }, - set ariaSelected(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaSelected', arguments); - qxVm.memory.private_data.get(this).ariaSelected = value; - }, - get ariaSetSize() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaSetSize', arguments, result); - return result; - }, - set ariaSetSize(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaSetSize', arguments); - qxVm.memory.private_data.get(this).ariaSetSize = value; - }, - get ariaSort() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaSort', arguments, result); - return result; - }, - set ariaSort(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaSort', arguments); - qxVm.memory.private_data.get(this).ariaSort = value; - }, - get ariaValueMax() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaValueMax', arguments, result); - return result; - }, - set ariaValueMax(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaValueMax', arguments); - qxVm.memory.private_data.get(this).ariaValueMax = value; - }, - get ariaValueMin() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaValueMin', arguments, result); - return result; - }, - set ariaValueMin(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaValueMin', arguments); - qxVm.memory.private_data.get(this).ariaValueMin = value; - }, - get ariaValueNow() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaValueNow', arguments, result); - return result; - }, - set ariaValueNow(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaValueNow', arguments); - qxVm.memory.private_data.get(this).ariaValueNow = value; - }, - get ariaValueText() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'ariaValueText', arguments, result); - return result; - }, - set ariaValueText(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'ariaValueText', arguments); - qxVm.memory.private_data.get(this).ariaValueText = value; - }, - get assignedSlot() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'assignedSlot', arguments, result); - return result; - }, - attachShadow() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'attachShadow', arguments, result); - return result; - }, - get attributeStyleMap() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'attributeStyleMap', arguments, result); - return result; - }, - get attributes() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'attributes', arguments, result); - return result; - }, - before() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'before', arguments, result); - return result; - }, - get childElementCount() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'childElementCount', arguments, result); - return result; - }, - get children() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'children', arguments, result); - return result; - }, - get classList() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'classList', arguments, result); - return result; - }, - set classList(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'classList', arguments); - qxVm.memory.private_data.get(this).classList = value; - }, - get className() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'className', arguments, result); - return result; - }, - set className(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'className', arguments); - qxVm.memory.private_data.get(this).className = value; - }, - get clientHeight() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 1290; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'clientHeight', arguments, result); - return result; - }, - get clientLeft() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'clientLeft', arguments, result); - return result; - }, - get clientTop() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'clientTop', arguments, result); - return result; - }, - get clientWidth() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 2560; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'clientWidth', arguments, result); - return result; - }, - closest() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'closest', arguments, result); - return result; - }, - computedStyleMap() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'computedStyleMap', arguments, result); - return result; - }, - get elementTiming() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'elementTiming', arguments, result); - return result; - }, - set elementTiming(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'elementTiming', arguments); - qxVm.memory.private_data.get(this).elementTiming = value; - }, - get firstElementChild() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'firstElementChild', arguments, result); - return result; - }, - getAnimations() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAnimations', arguments, result); - return result; - }, - getAttribute() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAttribute', arguments, result); - return result; - }, - getAttributeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAttributeNS', arguments, result); - return result; - }, - getAttributeNames() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAttributeNames', arguments, result); - return result; - }, - getAttributeNode() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAttributeNode', arguments, result); - return result; - }, - getAttributeNodeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getAttributeNodeNS', arguments, result); - return result; - }, - getBoundingClientRect() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getBoundingClientRect', arguments, result); - return result; - }, - getClientRects() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getClientRects', arguments, result); - return result; - }, - getElementsByClassName() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getElementsByClassName', arguments, result); - return result; - }, - getElementsByTagName() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getElementsByTagName', arguments, result); - return result; - }, - getElementsByTagNameNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getElementsByTagNameNS', arguments, result); - return result; - }, - getInnerHTML() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'getInnerHTML', arguments, result); - return result; - }, - hasAttribute() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'hasAttribute', arguments, result); - return result; - }, - hasAttributeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'hasAttributeNS', arguments, result); - return result; - }, - hasAttributes() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'hasAttributes', arguments, result); - return result; - }, - hasPointerCapture() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'hasPointerCapture', arguments, result); - return result; - }, - get id() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'id', arguments, result); - return result; - }, - set id(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'id', arguments); - qxVm.memory.private_data.get(this).id = value; - }, - get innerHTML() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).innerHTML, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'innerHTML', arguments, result); - return result; - }, - set innerHTML(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'innerHTML', arguments); - qxVm.memory.private_data.get(this).innerHTML = value + ""; - }, - insertAdjacentElement() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'insertAdjacentElement', arguments, result); - return result; - }, - insertAdjacentHTML() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'insertAdjacentHTML', arguments, result); - return result; - }, - insertAdjacentText() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'insertAdjacentText', arguments, result); - return result; - }, - get lastElementChild() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'lastElementChild', arguments, result); - return result; - }, - get localName() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.htmls_toStringTag(this).toLowerCase(); - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'localName', arguments, result); - return result; - }, - matches() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'matches', arguments, result); - return result; - }, - get namespaceURI() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'namespaceURI', arguments, result); - return result; - }, - get nextElementSibling() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'nextElementSibling', arguments, result); - return result; - }, - get onbeforecopy() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onbeforecopy', arguments, result); - return result; - }, - set onbeforecopy(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onbeforecopy', arguments); - qxVm.memory.private_data.get(this).onbeforecopy = value; - }, - get onbeforecut() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onbeforecut', arguments, result); - return result; - }, - set onbeforecut(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onbeforecut', arguments); - qxVm.memory.private_data.get(this).onbeforecut = value; - }, - get onbeforepaste() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onbeforepaste', arguments, result); - return result; - }, - set onbeforepaste(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onbeforepaste', arguments); - qxVm.memory.private_data.get(this).onbeforepaste = value; - }, - get onfullscreenchange() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onfullscreenchange', arguments, result); - return result; - }, - set onfullscreenchange(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onfullscreenchange', arguments); - qxVm.memory.private_data.get(this).onfullscreenchange = value; - }, - get onfullscreenerror() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onfullscreenerror', arguments, result); - return result; - }, - set onfullscreenerror(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onfullscreenerror', arguments); - qxVm.memory.private_data.get(this).onfullscreenerror = value; - }, - get onsearch() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onsearch', arguments, result); - return result; - }, - set onsearch(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onsearch', arguments); - qxVm.memory.private_data.get(this).onsearch = value; - }, - get onwebkitfullscreenchange() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onwebkitfullscreenchange', arguments, result); - return result; - }, - set onwebkitfullscreenchange(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onwebkitfullscreenchange', arguments); - qxVm.memory.private_data.get(this).onwebkitfullscreenchange = value; - }, - get onwebkitfullscreenerror() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'onwebkitfullscreenerror', arguments, result); - return result; - }, - set onwebkitfullscreenerror(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'onwebkitfullscreenerror', arguments); - qxVm.memory.private_data.get(this).onwebkitfullscreenerror = value; - }, - get outerHTML() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'outerHTML', arguments, result); - return result; - }, - set outerHTML(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'outerHTML', arguments); - qxVm.memory.private_data.get(this).outerHTML = value; - }, - get part() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'part', arguments, result); - return result; - }, - set part(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'part', arguments); - qxVm.memory.private_data.get(this).part = value; - }, - get prefix() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'prefix', arguments, result); - return result; - }, - prepend() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'prepend', arguments, result); - return result; - }, - get previousElementSibling() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'previousElementSibling', arguments, result); - return result; - }, - querySelector() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'querySelector', arguments, result); - return result; - }, - querySelectorAll() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'querySelectorAll', arguments, result); - return result; - }, - releasePointerCapture() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'releasePointerCapture', arguments, result); - return result; - }, - remove() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'remove', arguments, result); - return result; - }, - removeAttribute() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'removeAttribute', arguments, result); - return result; - }, - removeAttributeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'removeAttributeNS', arguments, result); - return result; - }, - removeAttributeNode() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'removeAttributeNode', arguments, result); - return result; - }, - replaceChildren() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'replaceChildren', arguments, result); - return result; - }, - replaceWith() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'replaceWith', arguments, result); - return result; - }, - requestFullscreen() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'requestFullscreen', arguments, result); - return result; - }, - requestPointerLock() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'requestPointerLock', arguments, result); - return result; - }, - scroll() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'scroll', arguments, result); - return result; - }, - scrollBy() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'scrollBy', arguments, result); - return result; - }, - get scrollHeight() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'scrollHeight', arguments, result); - return result; - }, - scrollIntoView() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'scrollIntoView', arguments, result); - return result; - }, - - scrollIntoViewIfNeeded() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'scrollIntoViewIfNeeded', arguments, result); - return result; - }, - get scrollLeft() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'scrollLeft', arguments, result); - return result; - }, - set scrollLeft(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'scrollLeft', arguments); - qxVm.memory.private_data.get(this).scrollLeft = value; - }, - scrollTo() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'scrollTo', arguments, result); - return result; - }, - get scrollTop() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'scrollTop', arguments, result); - return result; - }, - set scrollTop(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'scrollTop', arguments); - qxVm.memory.private_data.get(this).scrollTop = value; - }, - get scrollWidth() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'scrollWidth', arguments, result); - return result; - }, - setAttribute() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'setAttribute', arguments, result); - return result; - }, - setAttributeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'setAttributeNS', arguments, result); - return result; - }, - setAttributeNode() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'setAttributeNode', arguments, result); - return result; - }, - setAttributeNodeNS() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'setAttributeNodeNS', arguments, result); - return result; - }, - setPointerCapture() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'setPointerCapture', arguments, result); - return result; - }, - get shadowRoot() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'shadowRoot', arguments, result); - return result; - }, - get slot() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'slot', arguments, result); - return result; - }, - set slot(value) { - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'Element', 'slot', arguments); - qxVm.memory.private_data.get(this).slot = value; - }, - get tagName() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Element', 'tagName', arguments, result); - return result; - }, - toggleAttribute() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'toggleAttribute', arguments, result); - return result; - }, - webkitMatchesSelector() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'webkitMatchesSelector', arguments, result); - return result; - }, - webkitRequestFullScreen() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'webkitRequestFullScreen', arguments, result); - return result; - }, - webkitRequestFullscreen() { - if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Element', 'webkitRequestFullscreen', arguments, result); - return result; - } - }; - qxVm.rename(Element.prototype, "Element"); - qxVm.safeDescriptor_addConstructor(Element); - qxVm.safe_Objattribute(Element, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.defineProperties(Element.prototype, { - [Symbol.unscopables]: { - value: { - after: true, - append: true, - before: true, - prepend: true, - remove: true, - replaceChildren: true, - replaceWith: true, - slot: true, - }, - configurable: true, enumerable: false, writable: false - } - }); - - Object.setPrototypeOf(Element.prototype, Node.prototype); - Object.setPrototypeOf(Element, Node); - -})(); -// debugger; - - -Document = function Document(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Document); - - -; (function () { - let $attribute_map = { - body: {}, - referrer: "", - cookie: "", - hidden: true, - webkitHidden: true, - getElementById: function (id) { - //用id匹配当前环境内存种已有的Element - switch (id) { - case "xMidasToken": - return (new class { - get value() { - return window.__xMidasToken - } - }) - case "xMidasVersion": - return (new class { - getAttribute(e) { - if (e == 'width') { - return '325'; - } - } - }) - default: - const ele = qxVm.memory.runElementList.filter(t => t.id == id)[0]; - if (!ele) debugger; - return ele; - } - } - }; - - // 初始化用户配置 - qxVm.updata_envs(qxVm.default_envs['document'], $attribute_map) - - - const $safe_get_attribute = [ - 'URL', 'activeElement', 'adoptedStyleSheets', 'alinkColor', 'all', 'anchors', 'applets', 'bgColor', 'body', 'characterSet', - 'charset', 'childElementCount', 'children', 'compatMode', 'contentType', 'cookie', 'currentScript', 'defaultView', 'designMode', 'dir', 'doctype', - 'documentElement', 'documentURI', 'domain', 'embeds', 'featurePolicy', 'fgColor', 'firstElementChild', 'fonts', 'forms', 'fragmentDirective', 'fullscreen', - 'fullscreenElement', 'fullscreenEnabled', 'head', 'hidden', 'images', 'implementation', 'inputEncoding', 'lastElementChild', 'lastModified', 'linkColor', - 'links', 'onabort', 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforecopy', 'onbeforecut', 'onbeforepaste', - 'onbeforexrselect', 'onblur', 'oncancel', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', 'onclose', 'oncontextmenu', 'oncopy', 'oncuechange', - 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', - 'onended', 'onerror', 'onfocus', 'onformdata', 'onfreeze', 'onfullscreenchange', 'onfullscreenerror', 'ongotpointercapture', 'oninput', 'oninvalid', - 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onlostpointercapture', 'onmousedown', 'onmousemove', - 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpointercancel', 'onpointerdown', - 'onpointerenter', 'onpointerleave', 'onpointerlockchange', 'onpointerlockerror', 'onpointermove', 'onpointerout', 'onpointerover', 'onpointerrawupdate', - 'onpointerup', 'onprogress', 'onratechange', 'onreset', 'onresize', 'onresume', 'onscroll', 'onsearch', 'onsecuritypolicyviolation', 'onseeked', - 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', 'onslotchange', 'onstalled', 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', - 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', 'ontransitionstart', 'onvisibilitychange', 'onvolumechange', 'onwaiting', 'onwebkitanimationend', - 'onwebkitanimationiteration', 'onwebkitanimationstart', 'onwebkitfullscreenchange', 'onwebkitfullscreenerror', 'onwebkittransitionend', 'onwheel', - 'pictureInPictureElement', 'pictureInPictureEnabled', 'plugins', 'pointerLockElement', 'readyState', 'referrer', 'rootElement', 'scripts', - 'scrollingElement', 'styleSheets', 'timeline', 'title', 'visibilityState', 'vlinkColor', 'wasDiscarded', 'webkitCurrentFullScreenElement', - 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitHidden', 'webkitIsFullScreen', 'webkitVisibilityState', 'xmlEncoding', 'xmlStandalone', - 'xmlVersion' - ]; - const $safe_set_attribute = [ - 'adoptedStyleSheets', 'alinkColor', 'bgColor', 'body', 'cookie', 'designMode', 'dir', 'domain', 'fgColor', 'fullscreen', 'fullscreenElement', - 'fullscreenEnabled', 'linkColor', 'onabort', 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforecopy', - 'onbeforecut', 'onbeforepaste', 'onbeforexrselect', 'onblur', 'oncancel', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', 'onclose', - 'oncontextmenu', 'oncopy', 'oncuechange', 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', - 'ondrop', 'ondurationchange', 'onemptied', 'onended', 'onerror', 'onfocus', 'onformdata', 'onfreeze', 'onfullscreenchange', 'onfullscreenerror', - 'ongotpointercapture', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', - 'onlostpointercapture', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onpaste', 'onpause', 'onplay', - 'onplaying', 'onpointercancel', 'onpointerdown', 'onpointerenter', 'onpointerleave', 'onpointerlockchange', 'onpointerlockerror', 'onpointermove', - 'onpointerout', 'onpointerover', 'onpointerrawupdate', 'onpointerup', 'onprogress', 'onratechange', 'onreset', 'onresize', 'onresume', 'onscroll', - 'onsearch', 'onsecuritypolicyviolation', 'onseeked', 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', 'onslotchange', 'onstalled', - 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', 'ontransitionstart', - 'onvisibilitychange', 'onvolumechange', 'onwaiting', 'onwebkitanimationend', 'onwebkitanimationiteration', 'onwebkitanimationstart', - 'onwebkitfullscreenchange', 'onwebkitfullscreenerror', 'onwebkittransitionend', 'onwheel', 'title', 'vlinkColor', 'xmlStandalone', 'xmlVersion' - ]; - const $safe_func_attribute = [ - 'adoptNode', 'append', 'captureEvents', 'caretRangeFromPoint', 'clear', 'close', 'createAttribute', 'createAttributeNS', 'createCDATASection', - 'createComment', 'createDocumentFragment', 'createElement', 'createElementNS', 'createEvent', 'createExpression', 'createNSResolver', - 'createNodeIterator', 'createProcessingInstruction', 'createRange', 'createTextNode', 'createTreeWalker', 'elementFromPoint', 'elementsFromPoint', - 'evaluate', 'execCommand', 'exitFullscreen', 'exitPictureInPicture', 'exitPointerLock', 'getAnimations', 'getElementById', 'getElementsByClassName', - 'getElementsByName', 'getElementsByTagName', 'getElementsByTagNameNS', 'getSelection', 'hasFocus', 'importNode', 'open', 'prepend', 'queryCommandEnabled', - 'queryCommandIndeterm', 'queryCommandState', 'queryCommandSupported', 'queryCommandValue', 'querySelector', 'querySelectorAll', 'releaseEvents', - 'replaceChildren', 'webkitCancelFullScreen', 'webkitExitFullscreen', 'write', 'writeln' - ]; - - - // if (this instanceof Document != true) { throw new TypeError("Illegal constructor"); }; - Document.prototype = { - get URL() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = location.href;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'URL', arguments, result); - return result; - }, - get activeElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.activeElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'activeElement', arguments, result); - return result; - }, - adoptNode() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.adoptNode;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'adoptNode', arguments, result); - return result; - }, - get adoptedStyleSheets() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.adoptedStyleSheets;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'adoptedStyleSheets', arguments, result); - return result; - }, - set adoptedStyleSheets(value) { - }, - get alinkColor() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.alinkColor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'alinkColor', arguments, result); - return result; - }, - set alinkColor(value) { - }, - get all() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.all;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'all', arguments, result); - return result; - }, - get anchors() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.anchors;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'anchors', arguments, result); - return result; - }, - append() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.append;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'append', arguments, result); - return result; - }, - get applets() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.applets;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'applets', arguments, result); - return result; - }, - get bgColor() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.bgColor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'bgColor', arguments, result); - return result; - }, - set bgColor(value) { - }, - get body() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.body;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'body', arguments, result); - return result; - }, - set body(value) { - }, - captureEvents() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.captureEvents;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'captureEvents', arguments, result); - return result; - }, - caretRangeFromPoint() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.caretRangeFromPoint;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'caretRangeFromPoint', arguments, result); - return result; - }, - get characterSet() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 'UTF-8';; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'characterSet', arguments, result); - return result; - }, - get charset() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 'UTF-8';; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'charset', arguments, result); - return result; - }, - get childElementCount() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.childElementCount;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'childElementCount', arguments, result); - return result; - }, - get children() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.children;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'children', arguments, result); - return result; - }, - clear() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.clear;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'clear', arguments, result); - return result; - }, - close() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.close;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'close', arguments, result); - return result; - }, - get compatMode() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 'CSS1Compat';; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'compatMode', arguments, result); - return result; - }, - get contentType() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.contentType;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'contentType', arguments, result); - return result; - }, - get cookie() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.cookie;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'cookie', arguments, result); - return result; - }, - set cookie(value) { - if (value === null) { - return ; - } - if (typeof value === "symbol") { - throw new TypeError("Cannot convert a Symbol value to a string") - } - - const S = String(value); - const n = S.length; - const U = []; - for (let i = 0; i < n; ++i) { - const c = S.charCodeAt(i); - if (c < 0xD800 || c > 0xDFFF) { - U.push(String.fromCodePoint(c)); - } else if (0xDC00 <= c && c <= 0xDFFF) { - U.push(String.fromCodePoint(0xFFFD)); - } else if (i === n - 1) { - U.push(String.fromCodePoint(0xFFFD)); - } else { - const d = S.charCodeAt(i + 1); - if (0xDC00 <= d && d <= 0xDFFF) { - const a = c & 0x3FF; - const b = d & 0x3FF; - U.push(String.fromCodePoint((2 << 15) + ((2 << 9) * a) + b)); - ++i; - } else { - U.push(String.fromCodePoint(0xFFFD)); - } - } - } - $attribute_map.cookie = U.join(""); - }, - createAttribute() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createAttribute;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createAttribute', arguments, result); - return result; - }, - createAttributeNS() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createAttributeNS;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createAttributeNS', arguments, result); - return result; - }, - createCDATASection() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createCDATASection;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createCDATASection', arguments, result); - return result; - }, - createComment() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createComment;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createComment', arguments, result); - return result; - }, - createDocumentFragment() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createDocumentFragment;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createDocumentFragment', arguments, result); - return result; - }, - createElement(tagName, options) { - let tagname = tagName.toLowerCase() + ""; - console.log(tagname, '---') - let ele; - if (qxVm.memory.htmlElements[tagname] === "undefined ") { - ele = new class createElement { } - } else { - ele = qxVm.memory.htmlElements[tagname](); - }; - qxVm.memory.runElementList.push(ele); - - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createElement', arguments, result); - return result; - }, - createElementNS() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createElementNS;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createElementNS', arguments, result); - return result; - }, - createEvent(type) { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele; - switch(type.toLowerCase()){ - case 'event': - ele = new Event(qxVm.memory.$createObj_key); - break; - case 'events': - ele = new Event(qxVm.memory.$createObj_key); - break; - case 'uievent': - ele = new UIEvent(qxVm.memory.$createObj_key); - break; - case 'uievents': - ele = new UIEvent(qxVm.memory.$createObj_key); - break; - case 'mouseevent': - ele = new MouseEvent(qxVm.memory.$createObj_key); - break; - case 'mouseevents': - ele = new MouseEvent(qxVm.memory.$createObj_key); - break; - case 'mutationevent': - ele = new MutationEvent(qxVm.memory.$createObj_key); - break; - case 'mutationevents': - ele = new MutationEvent(qxVm.memory.$createObj_key); - break; - case 'textevent': - ele = new TextEvent(qxVm.memory.$createObj_key); - break; - case 'textevents': - ele = new TextEvent(qxVm.memory.$createObj_key); - break; - case 'keyboardevent': - ele = new KeyboardEvent(qxVm.memory.$createObj_key); - break; - - case 'customevent': - ele = new CustomEvent(qxVm.memory.$createObj_key); - break; - - default: - throw new DOMException(`Failed to execute 'createEvent' on 'Document': The provided event type ('${type}') is invalid.`) - } - ele.isTrusted = false; - return ele; - - }, - createExpression() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createExpression;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createExpression', arguments, result); - return result; - }, - createNSResolver() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createNSResolver;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createNSResolver', arguments, result); - return result; - }, - createNodeIterator() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createNodeIterator;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createNodeIterator', arguments, result); - return result; - }, - createProcessingInstruction() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createProcessingInstruction;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createProcessingInstruction', arguments, result); - return result; - }, - createRange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createRange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createRange', arguments, result); - return result; - }, - createTextNode() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createTextNode;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createTextNode', arguments, result); - return result; - }, - createTreeWalker() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.createTreeWalker;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'createTreeWalker', arguments, result); - return result; - }, - get currentScript() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'currentScript', arguments, result); - return result; - }, - get defaultView() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.defaultView;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'defaultView', arguments, result); - return result; - }, - get designMode() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.designMode;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'designMode', arguments, result); - return result; - }, - set designMode(value) { - }, - get dir() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.dir;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'dir', arguments, result); - return result; - }, - set dir(value) { - }, - get doctype() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.doctype;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'doctype', arguments, result); - return result; - }, - get documentElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this); - - if (!ele) { - ele = new HTMLHtmlElement(qxVm.memory.$createObj_key); - qxVm.memory.private_data.set(this, { - documentElement: ele - }) - qxVm.memory.private_data.get(this).documentElement = ele; - }else{ - ele = ele.documentElement; - } - return ele; - - }, - get documentURI() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.documentURI;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'documentURI', arguments, result); - return result; - }, - get domain() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.domain;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'domain', arguments, result); - return result; - }, - set domain(value) { - }, - elementFromPoint() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.elementFromPoint;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'elementFromPoint', arguments, result); - return result; - }, - elementsFromPoint() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.elementsFromPoint;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'elementsFromPoint', arguments, result); - return result; - }, - get embeds() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.embeds;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'embeds', arguments, result); - return result; - }, - evaluate() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.evaluate;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'evaluate', arguments, result); - return result; - }, - execCommand() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.execCommand;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'execCommand', arguments, result); - return result; - }, - exitFullscreen() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.exitFullscreen;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'exitFullscreen', arguments, result); - return result; - }, - exitPictureInPicture() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.exitPictureInPicture;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'exitPictureInPicture', arguments, result); - return result; - }, - exitPointerLock() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.exitPointerLock;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'exitPointerLock', arguments, result); - return result; - }, - get featurePolicy() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.featurePolicy;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'featurePolicy', arguments, result); - return result; - }, - get fgColor() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fgColor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fgColor', arguments, result); - return result; - }, - set fgColor(value) { - }, - get firstElementChild() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.firstElementChild;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'firstElementChild', arguments, result); - return result; - }, - get fonts() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fonts;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fonts', arguments, result); - return result; - }, - get forms() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.forms;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'forms', arguments, result); - return result; - }, - get fragmentDirective() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fragmentDirective;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fragmentDirective', arguments, result); - return result; - }, - get fullscreen() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fullscreen;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fullscreen', arguments, result); - return result; - }, - set fullscreen(value) { - }, - get fullscreenElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fullscreenElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fullscreenElement', arguments, result); - return result; - }, - set fullscreenElement(value) { - }, - get fullscreenEnabled() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.fullscreenEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'fullscreenEnabled', arguments, result); - return result; - }, - set fullscreenEnabled(value) { - }, - getAnimations() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getAnimations;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getAnimations', arguments, result); - return result; - }, - getElementById(id) { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getElementById(id);; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getElementById', arguments, result); - return result; - }, - getElementsByClassName() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getElementsByClassName;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getElementsByClassName', arguments, result); - return result; - }, - getElementsByName() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getElementsByName;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getElementsByName', arguments, result); - return result; - }, - getElementsByTagName(tagName) { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (tagName === "*") { - return qxVm.memory.htmlCollection; - }; - - tagName = tagName.toLowerCase(); - - let collection = new HTMLCollection(qxVm.memory.$createObj_key); - let collection_index = 0; - - for (let i = 0; i < qxVm.memory.htmlCollection.length; i++) { - let node_onj = qxVm.memory.htmlCollection[i]; - console.log(node_onj.localName, node_onj.localName, tagName) - if (node_onj.localName && node_onj.localName === tagName) { - collection[collection_index] = node_onj; - collection_index++; - } - } - let result = collection; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getElementsByTagName', arguments, result); - return result; - }, - getElementsByTagNameNS() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getElementsByTagNameNS;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getElementsByTagNameNS', arguments, result); - return result; - }, - getSelection() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.getSelection;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'getSelection', arguments, result); - return result; - }, - hasFocus() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.hasFocus;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'hasFocus', arguments, result); - return result; - }, - get head() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).head; - if (!ele) { - ele = new HTMLHeadElement(qxVm.memory.$createObj_key); - qxVm.memory.private_data.get(this).head = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'if ', arguments, result); - return result; - }, - get hidden() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'hidden', arguments, result); - return result; - }, - get images() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.images;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'images', arguments, result); - return result; - }, - get implementation() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.implementation;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'implementation', arguments, result); - return result; - }, - importNode() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.importNode;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'importNode', arguments, result); - return result; - }, - get inputEncoding() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.inputEncoding;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'inputEncoding', arguments, result); - return result; - }, - get lastElementChild() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.lastElementChild;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'lastElementChild', arguments, result); - return result; - }, - get lastModified() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.lastModified;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'lastModified', arguments, result); - return result; - }, - get linkColor() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.linkColor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'linkColor', arguments, result); - return result; - }, - set linkColor(value) { - }, - get links() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.links;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'links', arguments, result); - return result; - }, - get onabort() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onabort;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - }, - get onanimationend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onanimationend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onanimationend', arguments, result); - return result; - }, - set onanimationend(value) { - }, - get onanimationiteration() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onanimationiteration;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onanimationiteration', arguments, result); - return result; - }, - set onanimationiteration(value) { - }, - get onanimationstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onanimationstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onanimationstart', arguments, result); - return result; - }, - set onanimationstart(value) { - }, - get onauxclick() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onauxclick;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onauxclick', arguments, result); - return result; - }, - set onauxclick(value) { - }, - get onbeforecopy() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onbeforecopy;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onbeforecopy', arguments, result); - return result; - }, - set onbeforecopy(value) { - }, - get onbeforecut() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onbeforecut;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onbeforecut', arguments, result); - return result; - }, - set onbeforecut(value) { - }, - get onbeforepaste() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onbeforepaste;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onbeforepaste', arguments, result); - return result; - }, - set onbeforepaste(value) { - }, - get onbeforexrselect() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onbeforexrselect;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onbeforexrselect', arguments, result); - return result; - }, - set onbeforexrselect(value) { - }, - get onblur() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onblur;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onblur', arguments, result); - return result; - }, - set onblur(value) { - }, - get oncancel() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncancel;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncancel', arguments, result); - return result; - }, - set oncancel(value) { - }, - get oncanplay() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncanplay;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncanplay', arguments, result); - return result; - }, - set oncanplay(value) { - }, - get oncanplaythrough() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncanplaythrough;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncanplaythrough', arguments, result); - return result; - }, - set oncanplaythrough(value) { - }, - get onchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - }, - get onclick() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onclick;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onclick', arguments, result); - return result; - }, - set onclick(value) { - }, - get onclose() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onclose;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onclose', arguments, result); - return result; - }, - set onclose(value) { - }, - get oncontextmenu() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncontextmenu;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncontextmenu', arguments, result); - return result; - }, - set oncontextmenu(value) { - }, - get oncopy() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncopy;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncopy', arguments, result); - return result; - }, - set oncopy(value) { - }, - get oncuechange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncuechange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncuechange', arguments, result); - return result; - }, - set oncuechange(value) { - }, - get oncut() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oncut;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oncut', arguments, result); - return result; - }, - set oncut(value) { - }, - get ondblclick() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondblclick;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondblclick', arguments, result); - return result; - }, - set ondblclick(value) { - }, - get ondrag() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondrag;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondrag', arguments, result); - return result; - }, - set ondrag(value) { - }, - get ondragend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondragend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondragend', arguments, result); - return result; - }, - set ondragend(value) { - }, - get ondragenter() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondragenter;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondragenter', arguments, result); - return result; - }, - set ondragenter(value) { - }, - get ondragleave() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondragleave;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondragleave', arguments, result); - return result; - }, - set ondragleave(value) { - }, - get ondragover() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondragover;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondragover', arguments, result); - return result; - }, - set ondragover(value) { - }, - get ondragstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondragstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondragstart', arguments, result); - return result; - }, - set ondragstart(value) { - }, - get ondrop() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondrop;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondrop', arguments, result); - return result; - }, - set ondrop(value) { - }, - get ondurationchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ondurationchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ondurationchange', arguments, result); - return result; - }, - set ondurationchange(value) { - }, - get onemptied() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onemptied;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onemptied', arguments, result); - return result; - }, - set onemptied(value) { - }, - get onended() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onended;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onended', arguments, result); - return result; - }, - set onended(value) { - }, - get onerror() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onerror;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - }, - get onfocus() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onfocus;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onfocus', arguments, result); - return result; - }, - set onfocus(value) { - }, - get onformdata() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onformdata;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onformdata', arguments, result); - return result; - }, - set onformdata(value) { - }, - get onfreeze() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onfreeze;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onfreeze', arguments, result); - return result; - }, - set onfreeze(value) { - }, - get onfullscreenchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onfullscreenchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onfullscreenchange', arguments, result); - return result; - }, - set onfullscreenchange(value) { - }, - get onfullscreenerror() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onfullscreenerror;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onfullscreenerror', arguments, result); - return result; - }, - set onfullscreenerror(value) { - }, - get ongotpointercapture() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ongotpointercapture;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ongotpointercapture', arguments, result); - return result; - }, - set ongotpointercapture(value) { - }, - get oninput() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oninput;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oninput', arguments, result); - return result; - }, - set oninput(value) { - }, - get oninvalid() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.oninvalid;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'oninvalid', arguments, result); - return result; - }, - set oninvalid(value) { - }, - get onkeydown() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onkeydown;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onkeydown', arguments, result); - return result; - }, - set onkeydown(value) { - }, - get onkeypress() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onkeypress;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onkeypress', arguments, result); - return result; - }, - set onkeypress(value) { - }, - get onkeyup() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onkeyup;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onkeyup', arguments, result); - return result; - }, - set onkeyup(value) { - }, - get onload() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onload;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onload', arguments, result); - return result; - }, - set onload(value) { - }, - get onloadeddata() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onloadeddata;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onloadeddata', arguments, result); - return result; - }, - set onloadeddata(value) { - }, - get onloadedmetadata() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onloadedmetadata;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onloadedmetadata', arguments, result); - return result; - }, - set onloadedmetadata(value) { - }, - get onloadstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onloadstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onloadstart', arguments, result); - return result; - }, - set onloadstart(value) { - }, - get onlostpointercapture() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onlostpointercapture;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onlostpointercapture', arguments, result); - return result; - }, - set onlostpointercapture(value) { - }, - get onmousedown() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmousedown;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmousedown', arguments, result); - return result; - }, - set onmousedown(value) { - }, - onmouseenter: undefined, - onmouseleave: undefined, - get onmousemove() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmousemove;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmousemove', arguments, result); - return result; - }, - set onmousemove(value) { - }, - get onmouseout() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmouseout;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmouseout', arguments, result); - return result; - }, - set onmouseout(value) { - }, - get onmouseover() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmouseover;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmouseover', arguments, result); - return result; - }, - set onmouseover(value) { - }, - get onmouseup() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmouseup;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmouseup', arguments, result); - return result; - }, - set onmouseup(value) { - }, - get onmousewheel() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onmousewheel;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onmousewheel', arguments, result); - return result; - }, - set onmousewheel(value) { - }, - get onpaste() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpaste;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpaste', arguments, result); - return result; - }, - set onpaste(value) { - }, - get onpause() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpause;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpause', arguments, result); - return result; - }, - set onpause(value) { - }, - get onplay() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onplay;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onplay', arguments, result); - return result; - }, - set onplay(value) { - }, - get onplaying() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onplaying;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onplaying', arguments, result); - return result; - }, - set onplaying(value) { - }, - get onpointercancel() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointercancel;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointercancel', arguments, result); - return result; - }, - set onpointercancel(value) { - }, - get onpointerdown() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerdown;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerdown', arguments, result); - return result; - }, - set onpointerdown(value) { - }, - get onpointerenter() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerenter;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerenter', arguments, result); - return result; - }, - set onpointerenter(value) { - }, - get onpointerleave() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerleave;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerleave', arguments, result); - return result; - }, - set onpointerleave(value) { - }, - get onpointerlockchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerlockchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerlockchange', arguments, result); - return result; - }, - set onpointerlockchange(value) { - }, - get onpointerlockerror() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerlockerror;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerlockerror', arguments, result); - return result; - }, - set onpointerlockerror(value) { - }, - get onpointermove() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointermove;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointermove', arguments, result); - return result; - }, - set onpointermove(value) { - }, - get onpointerout() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerout;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerout', arguments, result); - return result; - }, - set onpointerout(value) { - }, - get onpointerover() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerover;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerover', arguments, result); - return result; - }, - set onpointerover(value) { - }, - get onpointerrawupdate() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerrawupdate;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerrawupdate', arguments, result); - return result; - }, - set onpointerrawupdate(value) { - }, - get onpointerup() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onpointerup;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onpointerup', arguments, result); - return result; - }, - set onpointerup(value) { - }, - get onprogress() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onprogress;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onprogress', arguments, result); - return result; - }, - set onprogress(value) { - }, - get onratechange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onratechange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onratechange', arguments, result); - return result; - }, - set onratechange(value) { - }, - onreadystatechange: undefined, - get onreset() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onreset;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onreset', arguments, result); - return result; - }, - set onreset(value) { - }, - get onresize() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onresize;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onresize', arguments, result); - return result; - }, - set onresize(value) { - }, - get onresume() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onresume;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onresume', arguments, result); - return result; - }, - set onresume(value) { - }, - get onscroll() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onscroll;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onscroll', arguments, result); - return result; - }, - set onscroll(value) { - }, - get onsearch() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onsearch;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onsearch', arguments, result); - return result; - }, - set onsearch(value) { - }, - get onsecuritypolicyviolation() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onsecuritypolicyviolation;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onsecuritypolicyviolation', arguments, result); - return result; - }, - set onsecuritypolicyviolation(value) { - }, - get onseeked() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onseeked;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onseeked', arguments, result); - return result; - }, - set onseeked(value) { - }, - get onseeking() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onseeking;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onseeking', arguments, result); - return result; - }, - set onseeking(value) { - }, - get onselect() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onselect;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onselect', arguments, result); - return result; - }, - set onselect(value) { - }, - get onselectionchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onselectionchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onselectionchange', arguments, result); - return result; - }, - set onselectionchange(value) { - }, - get onselectstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onselectstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onselectstart', arguments, result); - return result; - }, - set onselectstart(value) { - }, - get onslotchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onslotchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onslotchange', arguments, result); - return result; - }, - set onslotchange(value) { - }, - get onstalled() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onstalled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onstalled', arguments, result); - return result; - }, - set onstalled(value) { - }, - get onsubmit() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onsubmit;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onsubmit', arguments, result); - return result; - }, - set onsubmit(value) { - }, - get onsuspend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onsuspend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onsuspend', arguments, result); - return result; - }, - set onsuspend(value) { - }, - get ontimeupdate() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontimeupdate;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontimeupdate', arguments, result); - return result; - }, - set ontimeupdate(value) { - }, - get ontoggle() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontoggle;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontoggle', arguments, result); - return result; - }, - set ontoggle(value) { - }, - get ontransitioncancel() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontransitioncancel;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontransitioncancel', arguments, result); - return result; - }, - set ontransitioncancel(value) { - }, - get ontransitionend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontransitionend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontransitionend', arguments, result); - return result; - }, - set ontransitionend(value) { - }, - get ontransitionrun() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontransitionrun;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontransitionrun', arguments, result); - return result; - }, - set ontransitionrun(value) { - }, - get ontransitionstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.ontransitionstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'ontransitionstart', arguments, result); - return result; - }, - set ontransitionstart(value) { - }, - get onvisibilitychange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onvisibilitychange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onvisibilitychange', arguments, result); - return result; - }, - set onvisibilitychange(value) { - }, - get onvolumechange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onvolumechange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onvolumechange', arguments, result); - return result; - }, - set onvolumechange(value) { - }, - get onwaiting() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwaiting;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwaiting', arguments, result); - return result; - }, - set onwaiting(value) { - }, - get onwebkitanimationend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkitanimationend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkitanimationend', arguments, result); - return result; - }, - set onwebkitanimationend(value) { - }, - get onwebkitanimationiteration() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkitanimationiteration;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkitanimationiteration', arguments, result); - return result; - }, - set onwebkitanimationiteration(value) { - }, - get onwebkitanimationstart() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkitanimationstart;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkitanimationstart', arguments, result); - return result; - }, - set onwebkitanimationstart(value) { - }, - get onwebkitfullscreenchange() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkitfullscreenchange;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkitfullscreenchange', arguments, result); - return result; - }, - set onwebkitfullscreenchange(value) { - }, - get onwebkitfullscreenerror() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkitfullscreenerror;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkitfullscreenerror', arguments, result); - return result; - }, - set onwebkitfullscreenerror(value) { - }, - get onwebkittransitionend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwebkittransitionend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwebkittransitionend', arguments, result); - return result; - }, - set onwebkittransitionend(value) { - }, - get onwheel() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.onwheel;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'onwheel', arguments, result); - return result; - }, - set onwheel(value) { - }, - open() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.open;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'open', arguments, result); - return result; - }, - get pictureInPictureElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.pictureInPictureElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'pictureInPictureElement', arguments, result); - return result; - }, - get pictureInPictureEnabled() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.pictureInPictureEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'pictureInPictureEnabled', arguments, result); - return result; - }, - get plugins() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.plugins;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'plugins', arguments, result); - return result; - }, - get pointerLockElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.pointerLockElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'pointerLockElement', arguments, result); - return result; - }, - prepend() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.prepend;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'prepend', arguments, result); - return result; - }, - queryCommandEnabled() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.queryCommandEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'queryCommandEnabled', arguments, result); - return result; - }, - queryCommandIndeterm() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.queryCommandIndeterm;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'queryCommandIndeterm', arguments, result); - return result; - }, - queryCommandState() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.queryCommandState;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'queryCommandState', arguments, result); - return result; - }, - queryCommandSupported() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.queryCommandSupported;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'queryCommandSupported', arguments, result); - return result; - }, - queryCommandValue() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.queryCommandValue;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'queryCommandValue', arguments, result); - return result; - }, - querySelector() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.querySelector;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'querySelector', arguments, result); - return result; - }, - querySelectorAll() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.querySelectorAll;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'querySelectorAll', arguments, result); - return result; - }, - get readyState() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "complete";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'readyState', arguments, result); - return result; - }, - get referrer() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.referrer;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'referrer', arguments, result); - return result; - }, - releaseEvents() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.releaseEvents;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'releaseEvents', arguments, result); - return result; - }, - replaceChildren() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.replaceChildren;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'replaceChildren', arguments, result); - return result; - }, - get rootElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.rootElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'rootElement', arguments, result); - return result; - }, - get scripts() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.scripts;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'scripts', arguments, result); - return result; - }, - get scrollingElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.scrollingElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'scrollingElement', arguments, result); - return result; - }, - get styleSheets() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.styleSheets;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'styleSheets', arguments, result); - return result; - }, - get timeline() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.timeline;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'timeline', arguments, result); - return result; - }, - get title() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.title;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'title', arguments, result); - return result; - }, - set title(value) { - }, - get visibilityState() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = "hidden";; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'visibilityState', arguments, result); - return result; - }, - get vlinkColor() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.vlinkColor;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'vlinkColor', arguments, result); - return result; - }, - set vlinkColor(value) { - }, - get wasDiscarded() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = false;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'wasDiscarded', arguments, result); - return result; - }, - webkitCancelFullScreen() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitCancelFullScreen;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'webkitCancelFullScreen', arguments, result); - return result; - }, - get webkitCurrentFullScreenElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitCurrentFullScreenElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitCurrentFullScreenElement', arguments, result); - return result; - }, - webkitExitFullscreen() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitExitFullscreen;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'webkitExitFullscreen', arguments, result); - return result; - }, - get webkitFullscreenElement() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitFullscreenElement;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitFullscreenElement', arguments, result); - return result; - }, - get webkitFullscreenEnabled() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitFullscreenEnabled;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitFullscreenEnabled', arguments, result); - return result; - }, - get webkitHidden() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitHidden', arguments, result); - return result; - }, - get webkitIsFullScreen() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitIsFullScreen;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitIsFullScreen', arguments, result); - return result; - }, - get webkitVisibilityState() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.webkitVisibilityState;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'webkitVisibilityState', arguments, result); - return result; - }, - write() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.write;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'write', arguments, result); - return result; - }, - writeln() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.writeln;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Document', 'writeln', arguments, result); - return result; - }, - get xmlEncoding() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.xmlEncoding;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'xmlEncoding', arguments, result); - return result; - }, - get xmlStandalone() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.xmlStandalone;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'xmlStandalone', arguments, result); - return result; - }, - set xmlStandalone(value) { - }, - get xmlVersion() { - if (!Document.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = $attribute_map.xmlVersion;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Document', 'xmlVersion', arguments, result); - return result; - }, - set xmlVersion(value) { - }, - } - - qxVm.rename(Document.prototype, "Document"); - qxVm.safeDescriptor_addConstructor(Document); - qxVm.safe_Objattribute(Document, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.defineProperties(Document.prototype, { - [Symbol.unscopables]: { - value: { - after: true, - append: true, - before: true, - prepend: true, - remove: true, - replaceChildren: true, - replaceWith: true, - }, - configurable: true, enumerable: false, writable: false - } - }); - - Object.setPrototypeOf(Document.prototype, Node.prototype); - Object.setPrototypeOf(Document, Node); - -})(); -// debugger; - -Attr = function Attr() {//构造函数 - throw new TypeError("Illegal constructor"); -}; qxVm.safefunction(Attr); - -; (function () { - const $safe_get_attribute = [ - 'localName', 'name', 'namespaceURI', 'ownerElement', 'prefix', 'specified', 'value' - ]; - const $safe_set_attribute = ['value']; - const $safe_func_attribute = []; - - Attr.prototype = { - get localName(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get name(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - }, - get namespaceURI(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get ownerElement(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get prefix(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get specified(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get value(){ - if (!Attr.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - set value(value){ - } - }; - qxVm.rename(Attr.prototype, "Attr"); - qxVm.safeDescriptor_addConstructor(Attr); - // debugger; - qxVm.safe_Objattribute(Attr, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - - Object.setPrototypeOf(Attr.prototype, Node.prototype); - Object.setPrototypeOf(Attr, Node); - -})(); - -CSS = { - Hz() { - }, - Q() { - }, - ch() { - }, - cm() { - }, - deg() { - }, - dpcm() { - }, - dpi() { - }, - dppx() { - }, - em() { - }, - escape() { - }, - ex() { - }, - fr() { - }, - grad() { - }, - in() { - }, - kHz() { - }, - mm() { - }, - ms() { - }, - number() { - }, - pc() { - }, - percent() { - }, - pt() { - }, - px() { - }, - rad() { - }, - registerProperty() { - }, - rem() { - }, - s() { - }, - supports() { - return true; - }, - turn() { - }, - vh() { - }, - vmax() { - }, - vmin() { - }, - vw() { - } -}; -qxVm.rename(CSS, 'CSS'); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = [ - 'Hz', 'Q', 'ch', 'cm', 'deg', 'dpcm', 'dpi', 'dppx', 'em', 'escape', 'ex', 'fr', 'grad', 'in', 'kHz', 'mm', 'ms', 'number', 'pc', 'percent', 'pt', - 'px', 'rad', 'registerProperty', 'rem', 's', 'supports', 'turn', 'vh', 'vmax', 'vmin', 'vw' - ]; - - qxVm.safe_Objattribute(CSS, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute, true); -})(); - - -CSSStyleDeclaration = function CSSStyleDeclaration(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CSSStyleDeclaration); - -; (function () { - const $safe_get_attribute = ['cssFloat', 'cssText', 'length', 'parentRule']; - const $safe_set_attribute = ['cssFloat', 'cssText']; - const $safe_func_attribute = ['getPropertyPriority', 'getPropertyValue', 'item', 'removeProperty', 'setProperty']; - CSSStyleDeclaration.prototype = { - - get cssFloat() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cssFloat, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CSSStyleDeclaration', 'cssFloat', arguments, result); - return result; - }, - set cssFloat(value) { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CSSStyleDeclaration', 'cssFloat', arguments); - qxVm.memory.private_data.get(this).cssFloat = value + ""; - }, - get cssText() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cssText, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CSSStyleDeclaration', 'cssText', arguments, result); - return result; - }, - set cssText(value) { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CSSStyleDeclaration', 'cssText', arguments); - qxVm.memory.private_data.get(this).cssText = value + ""; - }, - getPropertyPriority() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CSSStyleDeclaration', 'getPropertyPriority', arguments, result); - return result; - }, - getPropertyValue() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CSSStyleDeclaration', 'getPropertyValue', arguments, result); - return result; - }, - item() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CSSStyleDeclaration', 'item', arguments, result); - return result; - }, - get length() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).length, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CSSStyleDeclaration', 'length', arguments, result); - return result; - }, - get parentRule() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).parentRule, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CSSStyleDeclaration', 'parentRule', arguments, result); - return result; - }, - removeProperty() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CSSStyleDeclaration', 'removeProperty', arguments, result); - return result; - }, - setProperty() { - if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CSSStyleDeclaration', 'setProperty', arguments, result); - return result; - } - } - - qxVm.rename(CSSStyleDeclaration.prototype, "CSSStyleDeclaration"); - qxVm.safeDescriptor_addConstructor(CSSStyleDeclaration); - qxVm.safe_Objattribute(CSSStyleDeclaration, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - - -CharacterData = function (createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CharacterData); - -; (function () { - const $safe_get_attribute = ['data', 'length', 'nextElementSibling', 'previousElementSibling']; - const $safe_set_attribute = ['data']; - const $safe_func_attribute = ['after', 'appendData', 'before', 'deleteData', 'insertData', 'remove', 'replaceData', 'replaceWith', 'substringData']; - - CharacterData.prototype = { - after() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'after', arguments, result); - return result; - }, - appendData() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'appendData', arguments, result); - return result; - }, - before() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'before', arguments, result); - return result; - }, - get data() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).data, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CharacterData', 'data', arguments, result); - return result; - }, - set data(value) { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CharacterData', 'data', arguments); - qxVm.memory.private_data.get(this).data = value + ""; - }, - deleteData() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'deleteData', arguments, result); - return result; - }, - insertData() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'insertData', arguments, result); - return result; - }, - get length() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).length, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CharacterData', 'length', arguments, result); - return result; - }, - get nextElementSibling() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nextElementSibling, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CharacterData', 'nextElementSibling', arguments, result); - return result; - }, - get previousElementSibling() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).previousElementSibling, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CharacterData', 'previousElementSibling', arguments, result); - return result; - }, - remove() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'remove', arguments, result); - return result; - }, - replaceData() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'replaceData', arguments, result); - return result; - }, - replaceWith() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'replaceWith', arguments, result); - return result; - }, - substringData() { - if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CharacterData', 'substringData', arguments, result); - return result; - } - }; - - qxVm.rename(CharacterData.prototype, "CharacterData"); - qxVm.safeDescriptor_addConstructor(CharacterData); - qxVm.safe_Objattribute(CharacterData, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.defineProperties(CharacterData.prototype, { - [Symbol.unscopables]: { - value: { - after: true, - before: true, - remove: true, - replaceWith: true - }, - configurable: true, enumerable: false, writable: false - } - }); - - Object.setPrototypeOf(CharacterData.prototype, Node.prototype); - Object.setPrototypeOf(CharacterData, Node); - -})(); -Text = function Text(wholeText) { - if (new.target !== Text) { - throw new TypeError(`Failed to construct 'Text': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - - qxVm.memory.private_data.set(this, { wholeText: wholeText }) -}; qxVm.safefunction(Text); - -; (function () { - const $safe_get_attribute = ['assignedSlot']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['splitText']; - - Text.prototype = { - get assignedSlot() { - if (!Text.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).assignedSlot, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'Text', 'assignedSlot', arguments, result); - return result; - }, - splitText() { - if (!Text.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Text', 'splitText', arguments, result); - return result; - }, - get wholeText() { - if (!Text.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).wholeText, ""); - } - } - qxVm.rename(Text.prototype, "Text"); - qxVm.safeDescriptor_addConstructor(Text); - qxVm.safe_Objattribute(Text, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(Text.prototype, CharacterData.prototype); - Object.setPrototypeOf(Text, CharacterData); - -})(); -CDATASection = function CDATASection(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(CDATASection); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - CDATASection.prototype = { } - qxVm.rename(CDATASection.prototype, "CDATASection"); - qxVm.safeDescriptor_addConstructor(CDATASection); - qxVm.safe_Objattribute(CDATASection, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(CDATASection.prototype, Text.prototype); - Object.setPrototypeOf(CDATASection, Text); - -})(); -HTMLDocument = function HTMLDocument(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLDocument); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - - HTMLDocument.prototype = {}; - qxVm.rename(HTMLDocument.prototype, "HTMLDocument"); - qxVm.safeDescriptor_addConstructor(HTMLDocument); - qxVm.safe_Objattribute(HTMLDocument, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLDocument.prototype, Document.prototype); // 指定属性原型的原型链 - Object.setPrototypeOf(HTMLDocument, Document); // 指定属性的原型链 - -})(); -// debugger; -HTMLElement = function HTMLElement(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLElement); - -; (function () { - const $cssstyle_attribute = [ - "accentColor", "additiveSymbols", "alignContent", "alignItems", "alignSelf", "alignmentBaseline", "all", "animation", "animationDelay", "animationDirection", - "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationTimingFunction", "appRegion", - "appearance", "ascentOverride", "aspectRatio", "backdropFilter", "backfaceVisibility", "background", "backgroundAttachment", "backgroundBlendMode", - "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundPositionX", "backgroundPositionY", - "backgroundRepeat", "backgroundRepeatX", "backgroundRepeatY", "backgroundSize", "baselineShift", "blockSize", "border", "borderBlock", "borderBlockColor", - "borderBlockEnd", "borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth", "borderBlockStart", "borderBlockStartColor", "borderBlockStartStyle", - "borderBlockStartWidth", "borderBlockStyle", "borderBlockWidth", "borderBottom", "borderBottomColor", "borderBottomLeftRadius", "borderBottomRightRadius", - "borderBottomStyle", "borderBottomWidth", "borderCollapse", "borderColor", "borderEndEndRadius", "borderEndStartRadius", "borderImage", "borderImageOutset", - "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderInline", "borderInlineColor", "borderInlineEnd", - "borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth", "borderInlineStart", "borderInlineStartColor", "borderInlineStartStyle", - "borderInlineStartWidth", "borderInlineStyle", "borderInlineWidth", "borderLeft", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRadius", - "borderRight", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderSpacing", "borderStartEndRadius", "borderStartStartRadius", - "borderStyle", "borderTop", "borderTopColor", "borderTopLeftRadius", "borderTopRightRadius", "borderTopStyle", "borderTopWidth", "borderWidth", "bottom", - "boxShadow", "boxSizing", "breakAfter", "breakBefore", "breakInside", "bufferedRendering", "captionSide", "caretColor", "clear", "clip", "clipPath", - "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "colorScheme", "columnCount", "columnFill", "columnGap", - "columnRule", "columnRuleColor", "columnRuleStyle", "columnRuleWidth", "columnSpan", "columnWidth", "columns", "contain", "containIntrinsicBlockSize", - "containIntrinsicHeight", "containIntrinsicInlineSize", "containIntrinsicSize", "containIntrinsicWidth", "content", "contentVisibility", "counterIncrement", - "counterReset", "counterSet", "cursor", "cx", "cy", "d", "descentOverride", "direction", "display", "dominantBaseline", "emptyCells", "fallback", "fill", - "fillOpacity", "fillRule", "filter", "flex", "flexBasis", "flexDirection", "flexFlow", "flexGrow", "flexShrink", "flexWrap", "float", "floodColor", - "floodOpacity", "font", "fontDisplay", "fontFamily", "fontFeatureSettings", "fontKerning", "fontOpticalSizing", "fontSize", "fontStretch", "fontStyle", - "fontSynthesis", "fontSynthesisSmallCaps", "fontSynthesisStyle", "fontSynthesisWeight", "fontVariant", "fontVariantCaps", "fontVariantEastAsian", - "fontVariantLigatures", "fontVariantNumeric", "fontVariationSettings", "fontWeight", "forcedColorAdjust", "gap", "grid", "gridArea", "gridAutoColumns", - "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", - "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "height", "hyphens", "imageOrientation", "imageRendering", - "inherits", "initialValue", "inlineSize", "inset", "insetBlock", "insetBlockEnd", "insetBlockStart", "insetInline", "insetInlineEnd", "insetInlineStart", - "isolation", "justifyContent", "justifyItems", "justifySelf", "left", "letterSpacing", "lightingColor", "lineBreak", "lineGapOverride", "lineHeight", - "listStyle", "listStyleImage", "listStylePosition", "listStyleType", "margin", "marginBlock", "marginBlockEnd", "marginBlockStart", "marginBottom", - "marginInline", "marginInlineEnd", "marginInlineStart", "marginLeft", "marginRight", "marginTop", "marker", "markerEnd", "markerMid", "markerStart", - "mask", "maskType", "maxBlockSize", "maxHeight", "maxInlineSize", "maxWidth", "maxZoom", "minBlockSize", "minHeight", "minInlineSize", "minWidth", "minZoom", - "mixBlendMode", "negative", "objectFit", "objectPosition", "offset", "offsetDistance", "offsetPath", "offsetRotate", "opacity", "order", "orientation", - "orphans", "outline", "outlineColor", "outlineOffset", "outlineStyle", "outlineWidth", "overflow", "overflowAnchor", "overflowClipMargin", "overflowWrap", - "overflowX", "overflowY", "overscrollBehavior", "overscrollBehaviorBlock", "overscrollBehaviorInline", "overscrollBehaviorX", "overscrollBehaviorY", - "pad", "padding", "paddingBlock", "paddingBlockEnd", "paddingBlockStart", "paddingBottom", "paddingInline", "paddingInlineEnd", "paddingInlineStart", - "paddingLeft", "paddingRight", "paddingTop", "page", "pageBreakAfter", "pageBreakBefore", "pageBreakInside", "pageOrientation", "paintOrder", "perspective", - "perspectiveOrigin", "placeContent", "placeItems", "placeSelf", "pointerEvents", "position", "prefix", "quotes", "r", "range", "resize", "right", "rowGap", - "rubyPosition", "rx", "ry", "scrollBehavior", "scrollMargin", "scrollMarginBlock", "scrollMarginBlockEnd", "scrollMarginBlockStart", "scrollMarginBottom", - "scrollMarginInline", "scrollMarginInlineEnd", "scrollMarginInlineStart", "scrollMarginLeft", "scrollMarginRight", "scrollMarginTop", "scrollPadding", - "scrollPaddingBlock", "scrollPaddingBlockEnd", "scrollPaddingBlockStart", "scrollPaddingBottom", "scrollPaddingInline", "scrollPaddingInlineEnd", - "scrollPaddingInlineStart", "scrollPaddingLeft", "scrollPaddingRight", "scrollPaddingTop", "scrollSnapAlign", "scrollSnapStop", "scrollSnapType", - "scrollbarGutter", "shapeImageThreshold", "shapeMargin", "shapeOutside", "shapeRendering", "size", "sizeAdjust", "speak", "speakAs", "src", "stopColor", - "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", - "suffix", "symbols", "syntax", "system", "tabSize", "tableLayout", "textAlign", "textAlignLast", "textAnchor", "textCombineUpright", "textDecoration", - "textDecorationColor", "textDecorationLine", "textDecorationSkipInk", "textDecorationStyle", "textDecorationThickness", "textIndent", "textOrientation", - "textOverflow", "textRendering", "textShadow", "textSizeAdjust", "textTransform", "textUnderlineOffset", "textUnderlinePosition", "top", "touchAction", - "transform", "transformBox", "transformOrigin", "transformStyle", "transition", "transitionDelay", "transitionDuration", "transitionProperty", - "transitionTimingFunction", "unicodeBidi", "unicodeRange", "userSelect", "userZoom", "vectorEffect", "verticalAlign", "visibility", "webkitAlignContent", - "webkitAlignItems", "webkitAlignSelf", "webkitAnimation", "webkitAnimationDelay", "webkitAnimationDirection", "webkitAnimationDuration", - "webkitAnimationFillMode", "webkitAnimationIterationCount", "webkitAnimationName", "webkitAnimationPlayState", "webkitAnimationTimingFunction", - "webkitAppRegion", "webkitAppearance", "webkitBackfaceVisibility", "webkitBackgroundClip", "webkitBackgroundOrigin", "webkitBackgroundSize", - "webkitBorderAfter", "webkitBorderAfterColor", "webkitBorderAfterStyle", "webkitBorderAfterWidth", "webkitBorderBefore", "webkitBorderBeforeColor", - "webkitBorderBeforeStyle", "webkitBorderBeforeWidth", "webkitBorderBottomLeftRadius", "webkitBorderBottomRightRadius", "webkitBorderEnd", - "webkitBorderEndColor", "webkitBorderEndStyle", "webkitBorderEndWidth", "webkitBorderHorizontalSpacing", "webkitBorderImage", "webkitBorderRadius", - "webkitBorderStart", "webkitBorderStartColor", "webkitBorderStartStyle", "webkitBorderStartWidth", "webkitBorderTopLeftRadius", - "webkitBorderTopRightRadius", "webkitBorderVerticalSpacing", "webkitBoxAlign", "webkitBoxDecorationBreak", "webkitBoxDirection", "webkitBoxFlex", - "webkitBoxOrdinalGroup", "webkitBoxOrient", "webkitBoxPack", "webkitBoxReflect", "webkitBoxShadow", "webkitBoxSizing", "webkitClipPath", - "webkitColumnBreakAfter", "webkitColumnBreakBefore", "webkitColumnBreakInside", "webkitColumnCount", "webkitColumnGap", "webkitColumnRule", - "webkitColumnRuleColor", "webkitColumnRuleStyle", "webkitColumnRuleWidth", "webkitColumnSpan", "webkitColumnWidth", "webkitColumns", "webkitFilter", - "webkitFlex", "webkitFlexBasis", "webkitFlexDirection", "webkitFlexFlow", "webkitFlexGrow", "webkitFlexShrink", "webkitFlexWrap", - "webkitFontFeatureSettings", "webkitFontSmoothing", "webkitHighlight", "webkitHyphenateCharacter", "webkitJustifyContent", "webkitLineBreak", - "webkitLineClamp", "webkitLocale", "webkitLogicalHeight", "webkitLogicalWidth", "webkitMarginAfter", "webkitMarginBefore", "webkitMarginEnd", - "webkitMarginStart", "webkitMask", "webkitMaskBoxImage", "webkitMaskBoxImageOutset", "webkitMaskBoxImageRepeat", "webkitMaskBoxImageSlice", - "webkitMaskBoxImageSource", "webkitMaskBoxImageWidth", "webkitMaskClip", "webkitMaskComposite", "webkitMaskImage", "webkitMaskOrigin", - "webkitMaskPosition", "webkitMaskPositionX", "webkitMaskPositionY", "webkitMaskRepeat", "webkitMaskRepeatX", "webkitMaskRepeatY", "webkitMaskSize", - "webkitMaxLogicalHeight", "webkitMaxLogicalWidth", "webkitMinLogicalHeight", "webkitMinLogicalWidth", "webkitOpacity", "webkitOrder", - "webkitPaddingAfter", "webkitPaddingBefore", "webkitPaddingEnd", "webkitPaddingStart", "webkitPerspective", "webkitPerspectiveOrigin", - "webkitPerspectiveOriginX", "webkitPerspectiveOriginY", "webkitPrintColorAdjust", "webkitRtlOrdering", "webkitRubyPosition", - "webkitShapeImageThreshold", "webkitShapeMargin", "webkitShapeOutside", "webkitTapHighlightColor", "webkitTextCombine", "webkitTextDecorationsInEffect", - "webkitTextEmphasis", "webkitTextEmphasisColor", "webkitTextEmphasisPosition", "webkitTextEmphasisStyle", "webkitTextFillColor", - "webkitTextOrientation", "webkitTextSecurity", "webkitTextSizeAdjust", "webkitTextStroke", "webkitTextStrokeColor", "webkitTextStrokeWidth", - "webkitTransform", "webkitTransformOrigin", "webkitTransformOriginX", "webkitTransformOriginY", "webkitTransformOriginZ", "webkitTransformStyle", - "webkitTransition", "webkitTransitionDelay", "webkitTransitionDuration", "webkitTransitionProperty", "webkitTransitionTimingFunction", "webkitUserDrag", - "webkitUserModify", "webkitUserSelect", "webkitWritingMode", "whiteSpace", "widows", "width", "willChange", "wordBreak", "wordSpacing", "wordWrap", - "writingMode", "x", "y", "zIndex", "zoom" - ] - - const $safe_get_attribute = [ - 'accessKey', 'autocapitalize', 'autofocus', 'contentEditable', 'dataset', 'dir', 'draggable', 'enterKeyHint', 'hidden', 'innerText', - 'inputMode', 'isContentEditable', 'lang', 'nonce', 'offsetHeight', 'offsetLeft', 'offsetParent', 'offsetTop', 'offsetWidth', 'onabort', - 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforexrselect', 'onblur', 'oncancel', 'oncanplay', - 'oncanplaythrough', 'onchange', 'onclick', 'onclose', 'oncontextmenu', 'oncopy', 'oncuechange', 'oncut', 'ondblclick', 'ondrag', - 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', 'onended', 'onerror', - 'onfocus', 'onformdata', 'ongotpointercapture', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', - 'onloadedmetadata', 'onloadstart', 'onlostpointercapture', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', - 'onmousewheel', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpointercancel', 'onpointerdown', 'onpointerenter', 'onpointerleave', - 'onpointermove', 'onpointerout', 'onpointerover', 'onpointerrawupdate', 'onpointerup', 'onprogress', 'onratechange', 'onreset', - 'onresize', 'onscroll', 'onsecuritypolicyviolation', 'onseeked', 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', - 'onslotchange', 'onstalled', 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', - 'ontransitionstart', 'onvolumechange', 'onwaiting', 'onwebkitanimationend', 'onwebkitanimationiteration', 'onwebkitanimationstart', - 'onwebkittransitionend', 'onwheel', 'outerText', 'spellcheck', 'style', 'tabIndex', 'title', 'translate', 'virtualKeyboardPolicy' - ]; - const $safe_set_attribute = [ - 'accessKey', 'autocapitalize', 'autofocus', 'contentEditable', 'dir', 'draggable', 'enterKeyHint', 'hidden', 'innerText', 'inputMode', - 'lang', 'nonce', 'onabort', 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforexrselect', 'onblur', - 'oncancel', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', 'onclose', 'oncontextmenu', 'oncopy', 'oncuechange', 'oncut', - 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', - 'onended', 'onerror', 'onfocus', 'onformdata', 'ongotpointercapture', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', - 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onlostpointercapture', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', - 'onmouseup', 'onmousewheel', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpointercancel', 'onpointerdown', 'onpointerenter', 'onpointerleave', - 'onpointermove', 'onpointerout', 'onpointerover', 'onpointerrawupdate', 'onpointerup', 'onprogress', 'onratechange', 'onreset', 'onresize', - 'onscroll', 'onsecuritypolicyviolation', 'onseeked', 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', 'onslotchange', 'onstalled', - 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', 'ontransitionstart', - 'onvolumechange', 'onwaiting', 'onwebkitanimationend', 'onwebkitanimationiteration', 'onwebkitanimationstart', 'onwebkittransitionend', - 'onwheel', 'outerText', 'spellcheck', 'style', 'tabIndex', 'title', 'translate', 'virtualKeyboardPolicy' - ]; - const $safe_func_attribute = ['attachInternals', 'blur', 'click', 'focus']; - - HTMLElement.prototype = { - get accessKey() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).accessKey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'accessKey', arguments, result); - return result; - }, - set accessKey(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'accessKey', arguments); - qxVm.memory.private_data.get(this).accessKey = value + ""; - }, - attachInternals() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'attachInternals', arguments, result); - return result; - }, - get autocapitalize() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).autocapitalize, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'autocapitalize', arguments, result); - return result; - }, - set autocapitalize(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'autocapitalize', arguments); - qxVm.memory.private_data.get(this).autocapitalize = value + ""; - }, - get autofocus() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).autofocus, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'autofocus', arguments, result); - return result; - }, - set autofocus(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'autofocus', arguments); - qxVm.memory.private_data.get(this).autofocus = value ? true : false; - }, - blur() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'blur', arguments, result); - return result; - }, - click() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'click', arguments, result); - return result; - }, - get contentEditable() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).contentEditable, "inherit");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'contentEditable', arguments, result); - return result; - }, - set contentEditable(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (['true', 'false', 'plaintext-only', 'inherit'].index(value + "") != -1) { - throw new DOMException(`Failed to set the 'contentEditable' property on 'HTMLElement': The value provided ('111') is not one of 'true', 'false', 'plaintext-only', or 'inherit'.`) - } - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'contentEditable', arguments); - qxVm.memory.private_data.get(this).contentEditable = value + ""; - }, - get dataset() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this).dataset; - if (!ele) { - ele = new DOMStringMap(); - qxVm.memory.private_data.get(this).dataset = ele; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'if ', arguments, result); - return result; - }, - get dir() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).dir, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'dir', arguments, result); - return result; - }, - set dir(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'dir', arguments); - qxVm.memory.private_data.get(this).dir = value + ""; - }, - get draggable() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).draggable, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'draggable', arguments, result); - return result; - }, - set draggable(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'draggable', arguments); - qxVm.memory.private_data.get(this).draggable = value ? true : false; - }, - get enterKeyHint() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).enterKeyHint, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'enterKeyHint', arguments, result); - return result; - }, - set enterKeyHint(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'enterKeyHint', arguments); - qxVm.memory.private_data.get(this).enterKeyHint = value + ""; - }, - focus() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'focus', arguments, result); - return result; - }, - get hidden() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hidden, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'hidden', arguments, result); - return result; - }, - set hidden(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'hidden', arguments); - qxVm.memory.private_data.get(this).hidden = value ? true : false; - }, - get innerText() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).innerText, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'innerText', arguments, result); - return result; - }, - set innerText(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'innerText', arguments); - qxVm.memory.private_data.get(this).innerText = value + ""; - }, - get inputMode() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).inputMode, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'inputMode', arguments, result); - return result; - }, - set inputMode(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'inputMode', arguments); - qxVm.memory.private_data.get(this).inputMode = value + ""; - }, - get isContentEditable() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isContentEditable, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'isContentEditable', arguments, result); - return result; - }, - get lang() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lang, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'lang', arguments, result); - return result; - }, - set lang(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'lang', arguments); - qxVm.memory.private_data.get(this).lang = value + ""; - }, - get nonce() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nonce, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'nonce', arguments, result); - return result; - }, - set nonce(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'nonce', arguments); - qxVm.memory.private_data.get(this).nonce = value + ""; - }, - get offsetHeight() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'offsetHeight', arguments, result); - return result; - }, - get offsetLeft() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'offsetLeft', arguments, result); - return result; - }, - get offsetParent() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'offsetParent', arguments, result); - return result; - }, - get offsetTop() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'offsetTop', arguments, result); - return result; - }, - get offsetWidth() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 0;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'offsetWidth', arguments, result); - return result; - }, - get onabort() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onabort, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onabort', arguments); - qxVm.memory.private_data.get(this).onabort = value + ""; - }, - get onanimationend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onanimationend', arguments, result); - return result; - }, - set onanimationend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onanimationend', arguments); - qxVm.memory.private_data.get(this).onanimationend = value + ""; - }, - get onanimationiteration() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationiteration, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onanimationiteration', arguments, result); - return result; - }, - set onanimationiteration(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onanimationiteration', arguments); - qxVm.memory.private_data.get(this).onanimationiteration = value + ""; - }, - get onanimationstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onanimationstart', arguments, result); - return result; - }, - set onanimationstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onanimationstart', arguments); - qxVm.memory.private_data.get(this).onanimationstart = value + ""; - }, - get onauxclick() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onauxclick, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onauxclick', arguments, result); - return result; - }, - set onauxclick(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onauxclick', arguments); - qxVm.memory.private_data.get(this).onauxclick = value + ""; - }, - get onbeforexrselect() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onbeforexrselect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onbeforexrselect', arguments, result); - return result; - }, - set onbeforexrselect(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onbeforexrselect', arguments); - qxVm.memory.private_data.get(this).onbeforexrselect = value + ""; - }, - get onblur() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onblur, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onblur', arguments, result); - return result; - }, - set onblur(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onblur', arguments); - qxVm.memory.private_data.get(this).onblur = value + ""; - }, - get oncancel() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncancel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncancel', arguments, result); - return result; - }, - set oncancel(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncancel', arguments); - qxVm.memory.private_data.get(this).oncancel = value + ""; - }, - get oncanplay() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncanplay, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncanplay', arguments, result); - return result; - }, - set oncanplay(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncanplay', arguments); - qxVm.memory.private_data.get(this).oncanplay = value + ""; - }, - get oncanplaythrough() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncanplaythrough, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncanplaythrough', arguments, result); - return result; - }, - set oncanplaythrough(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncanplaythrough', arguments); - qxVm.memory.private_data.get(this).oncanplaythrough = value + ""; - }, - get onchange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onchange', arguments); - qxVm.memory.private_data.get(this).onchange = value + ""; - }, - get onclick() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclick, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onclick', arguments, result); - return result; - }, - set onclick(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onclick', arguments); - qxVm.memory.private_data.get(this).onclick = value + ""; - }, - get onclose() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclose, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onclose', arguments, result); - return result; - }, - set onclose(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onclose', arguments); - qxVm.memory.private_data.get(this).onclose = value + ""; - }, - get oncontextmenu() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncontextmenu, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncontextmenu', arguments, result); - return result; - }, - set oncontextmenu(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncontextmenu', arguments); - qxVm.memory.private_data.get(this).oncontextmenu = value + ""; - }, - get oncopy() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncopy, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncopy', arguments, result); - return result; - }, - set oncopy(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncopy', arguments); - qxVm.memory.private_data.get(this).oncopy = value + ""; - }, - get oncuechange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncuechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncuechange', arguments, result); - return result; - }, - set oncuechange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncuechange', arguments); - qxVm.memory.private_data.get(this).oncuechange = value + ""; - }, - get oncut() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncut, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oncut', arguments, result); - return result; - }, - set oncut(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oncut', arguments); - qxVm.memory.private_data.get(this).oncut = value + ""; - }, - get ondblclick() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondblclick, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondblclick', arguments, result); - return result; - }, - set ondblclick(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondblclick', arguments); - qxVm.memory.private_data.get(this).ondblclick = value + ""; - }, - get ondrag() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondrag, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondrag', arguments, result); - return result; - }, - set ondrag(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondrag', arguments); - qxVm.memory.private_data.get(this).ondrag = value + ""; - }, - get ondragend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondragend', arguments, result); - return result; - }, - set ondragend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondragend', arguments); - qxVm.memory.private_data.get(this).ondragend = value + ""; - }, - get ondragenter() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragenter, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondragenter', arguments, result); - return result; - }, - set ondragenter(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondragenter', arguments); - qxVm.memory.private_data.get(this).ondragenter = value + ""; - }, - get ondragleave() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragleave, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondragleave', arguments, result); - return result; - }, - set ondragleave(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondragleave', arguments); - qxVm.memory.private_data.get(this).ondragleave = value + ""; - }, - get ondragover() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragover, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondragover', arguments, result); - return result; - }, - set ondragover(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondragover', arguments); - qxVm.memory.private_data.get(this).ondragover = value + ""; - }, - get ondragstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondragstart', arguments, result); - return result; - }, - set ondragstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondragstart', arguments); - qxVm.memory.private_data.get(this).ondragstart = value + ""; - }, - get ondrop() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondrop, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondrop', arguments, result); - return result; - }, - set ondrop(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondrop', arguments); - qxVm.memory.private_data.get(this).ondrop = value + ""; - }, - get ondurationchange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondurationchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ondurationchange', arguments, result); - return result; - }, - set ondurationchange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ondurationchange', arguments); - qxVm.memory.private_data.get(this).ondurationchange = value + ""; - }, - get onemptied() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onemptied, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onemptied', arguments, result); - return result; - }, - set onemptied(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onemptied', arguments); - qxVm.memory.private_data.get(this).onemptied = value + ""; - }, - get onended() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onended, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onended', arguments, result); - return result; - }, - set onended(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onended', arguments); - qxVm.memory.private_data.get(this).onended = value + ""; - }, - get onerror() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onfocus() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onfocus, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onfocus', arguments, result); - return result; - }, - set onfocus(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onfocus', arguments); - qxVm.memory.private_data.get(this).onfocus = value + ""; - }, - get onformdata() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onformdata, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onformdata', arguments, result); - return result; - }, - set onformdata(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onformdata', arguments); - qxVm.memory.private_data.get(this).onformdata = value + ""; - }, - get ongotpointercapture() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ongotpointercapture, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ongotpointercapture', arguments, result); - return result; - }, - set ongotpointercapture(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ongotpointercapture', arguments); - qxVm.memory.private_data.get(this).ongotpointercapture = value + ""; - }, - get oninput() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oninput, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oninput', arguments, result); - return result; - }, - set oninput(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oninput', arguments); - qxVm.memory.private_data.get(this).oninput = value + ""; - }, - get oninvalid() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oninvalid, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'oninvalid', arguments, result); - return result; - }, - set oninvalid(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'oninvalid', arguments); - qxVm.memory.private_data.get(this).oninvalid = value + ""; - }, - get onkeydown() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeydown, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onkeydown', arguments, result); - return result; - }, - set onkeydown(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onkeydown', arguments); - qxVm.memory.private_data.get(this).onkeydown = value + ""; - }, - get onkeypress() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeypress, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onkeypress', arguments, result); - return result; - }, - set onkeypress(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onkeypress', arguments); - qxVm.memory.private_data.get(this).onkeypress = value + ""; - }, - get onkeyup() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeyup, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onkeyup', arguments, result); - return result; - }, - set onkeyup(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onkeyup', arguments); - qxVm.memory.private_data.get(this).onkeyup = value + ""; - }, - get onload() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onload, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onload', arguments, result); - return result; - }, - set onload(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onload', arguments); - qxVm.memory.private_data.get(this).onload = value + ""; - }, - get onloadeddata() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadeddata, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onloadeddata', arguments, result); - return result; - }, - set onloadeddata(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onloadeddata', arguments); - qxVm.memory.private_data.get(this).onloadeddata = value + ""; - }, - get onloadedmetadata() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadedmetadata, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onloadedmetadata', arguments, result); - return result; - }, - set onloadedmetadata(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onloadedmetadata', arguments); - qxVm.memory.private_data.get(this).onloadedmetadata = value + ""; - }, - get onloadstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onloadstart', arguments, result); - return result; - }, - set onloadstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onloadstart', arguments); - qxVm.memory.private_data.get(this).onloadstart = value + ""; - }, - get onlostpointercapture() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onlostpointercapture, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onlostpointercapture', arguments, result); - return result; - }, - set onlostpointercapture(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onlostpointercapture', arguments); - qxVm.memory.private_data.get(this).onlostpointercapture = value + ""; - }, - get onmousedown() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousedown, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmousedown', arguments, result); - return result; - }, - set onmousedown(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmousedown', arguments); - qxVm.memory.private_data.get(this).onmousedown = value + ""; - }, - get onmousemove() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousemove, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmousemove', arguments, result); - return result; - }, - set onmousemove(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmousemove', arguments); - qxVm.memory.private_data.get(this).onmousemove = value + ""; - }, - get onmouseout() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseout, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmouseout', arguments, result); - return result; - }, - set onmouseout(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmouseout', arguments); - qxVm.memory.private_data.get(this).onmouseout = value + ""; - }, - get onmouseover() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseover, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmouseover', arguments, result); - return result; - }, - set onmouseover(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmouseover', arguments); - qxVm.memory.private_data.get(this).onmouseover = value + ""; - }, - get onmouseup() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseup, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmouseup', arguments, result); - return result; - }, - set onmouseup(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmouseup', arguments); - qxVm.memory.private_data.get(this).onmouseup = value + ""; - }, - get onmousewheel() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousewheel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onmousewheel', arguments, result); - return result; - }, - set onmousewheel(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onmousewheel', arguments); - qxVm.memory.private_data.get(this).onmousewheel = value + ""; - }, - get onpaste() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpaste, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpaste', arguments, result); - return result; - }, - set onpaste(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpaste', arguments); - qxVm.memory.private_data.get(this).onpaste = value + ""; - }, - get onpause() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpause, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpause', arguments, result); - return result; - }, - set onpause(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpause', arguments); - qxVm.memory.private_data.get(this).onpause = value + ""; - }, - get onplay() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onplay, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onplay', arguments, result); - return result; - }, - set onplay(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onplay', arguments); - qxVm.memory.private_data.get(this).onplay = value + ""; - }, - get onplaying() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onplaying, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onplaying', arguments, result); - return result; - }, - set onplaying(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onplaying', arguments); - qxVm.memory.private_data.get(this).onplaying = value + ""; - }, - get onpointercancel() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointercancel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointercancel', arguments, result); - return result; - }, - set onpointercancel(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointercancel', arguments); - qxVm.memory.private_data.get(this).onpointercancel = value + ""; - }, - get onpointerdown() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerdown, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerdown', arguments, result); - return result; - }, - set onpointerdown(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerdown', arguments); - qxVm.memory.private_data.get(this).onpointerdown = value + ""; - }, - get onpointerenter() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerenter, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerenter', arguments, result); - return result; - }, - set onpointerenter(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerenter', arguments); - qxVm.memory.private_data.get(this).onpointerenter = value + ""; - }, - get onpointerleave() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerleave, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerleave', arguments, result); - return result; - }, - set onpointerleave(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerleave', arguments); - qxVm.memory.private_data.get(this).onpointerleave = value + ""; - }, - get onpointermove() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointermove, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointermove', arguments, result); - return result; - }, - set onpointermove(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointermove', arguments); - qxVm.memory.private_data.get(this).onpointermove = value + ""; - }, - get onpointerout() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerout, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerout', arguments, result); - return result; - }, - set onpointerout(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerout', arguments); - qxVm.memory.private_data.get(this).onpointerout = value + ""; - }, - get onpointerover() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerover, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerover', arguments, result); - return result; - }, - set onpointerover(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerover', arguments); - qxVm.memory.private_data.get(this).onpointerover = value + ""; - }, - get onpointerrawupdate() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerrawupdate, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerrawupdate', arguments, result); - return result; - }, - set onpointerrawupdate(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerrawupdate', arguments); - qxVm.memory.private_data.get(this).onpointerrawupdate = value + ""; - }, - get onpointerup() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerup, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onpointerup', arguments, result); - return result; - }, - set onpointerup(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onpointerup', arguments); - qxVm.memory.private_data.get(this).onpointerup = value + ""; - }, - get onprogress() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onprogress, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onprogress', arguments, result); - return result; - }, - set onprogress(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onprogress', arguments); - qxVm.memory.private_data.get(this).onprogress = value + ""; - }, - get onratechange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onratechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onratechange', arguments, result); - return result; - }, - set onratechange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onratechange', arguments); - qxVm.memory.private_data.get(this).onratechange = value + ""; - }, - get onreset() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onreset, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onreset', arguments, result); - return result; - }, - set onreset(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onreset', arguments); - qxVm.memory.private_data.get(this).onreset = value + ""; - }, - get onresize() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresize, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onresize', arguments, result); - return result; - }, - set onresize(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onresize', arguments); - qxVm.memory.private_data.get(this).onresize = value + ""; - }, - get onscroll() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onscroll, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onscroll', arguments, result); - return result; - }, - set onscroll(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onscroll', arguments); - qxVm.memory.private_data.get(this).onscroll = value + ""; - }, - get onsecuritypolicyviolation() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsecuritypolicyviolation, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onsecuritypolicyviolation', arguments, result); - return result; - }, - set onsecuritypolicyviolation(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onsecuritypolicyviolation', arguments); - qxVm.memory.private_data.get(this).onsecuritypolicyviolation = value + ""; - }, - get onseeked() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onseeked, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onseeked', arguments, result); - return result; - }, - set onseeked(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onseeked', arguments); - qxVm.memory.private_data.get(this).onseeked = value + ""; - }, - get onseeking() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onseeking, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onseeking', arguments, result); - return result; - }, - set onseeking(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onseeking', arguments); - qxVm.memory.private_data.get(this).onseeking = value + ""; - }, - get onselect() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselect, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onselect', arguments, result); - return result; - }, - set onselect(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onselect', arguments); - qxVm.memory.private_data.get(this).onselect = value + ""; - }, - get onselectionchange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselectionchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onselectionchange', arguments, result); - return result; - }, - set onselectionchange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onselectionchange', arguments); - qxVm.memory.private_data.get(this).onselectionchange = value + ""; - }, - get onselectstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselectstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onselectstart', arguments, result); - return result; - }, - set onselectstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onselectstart', arguments); - qxVm.memory.private_data.get(this).onselectstart = value + ""; - }, - get onslotchange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onslotchange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onslotchange', arguments, result); - return result; - }, - set onslotchange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onslotchange', arguments); - qxVm.memory.private_data.get(this).onslotchange = value + ""; - }, - get onstalled() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstalled, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onstalled', arguments, result); - return result; - }, - set onstalled(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onstalled', arguments); - qxVm.memory.private_data.get(this).onstalled = value + ""; - }, - get onsubmit() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsubmit, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onsubmit', arguments, result); - return result; - }, - set onsubmit(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onsubmit', arguments); - qxVm.memory.private_data.get(this).onsubmit = value + ""; - }, - get onsuspend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsuspend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onsuspend', arguments, result); - return result; - }, - set onsuspend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onsuspend', arguments); - qxVm.memory.private_data.get(this).onsuspend = value + ""; - }, - get ontimeupdate() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontimeupdate, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontimeupdate', arguments, result); - return result; - }, - set ontimeupdate(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontimeupdate', arguments); - qxVm.memory.private_data.get(this).ontimeupdate = value + ""; - }, - get ontoggle() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontoggle, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontoggle', arguments, result); - return result; - }, - set ontoggle(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontoggle', arguments); - qxVm.memory.private_data.get(this).ontoggle = value + ""; - }, - get ontransitioncancel() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitioncancel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontransitioncancel', arguments, result); - return result; - }, - set ontransitioncancel(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontransitioncancel', arguments); - qxVm.memory.private_data.get(this).ontransitioncancel = value + ""; - }, - get ontransitionend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontransitionend', arguments, result); - return result; - }, - set ontransitionend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontransitionend', arguments); - qxVm.memory.private_data.get(this).ontransitionend = value + ""; - }, - get ontransitionrun() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionrun, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontransitionrun', arguments, result); - return result; - }, - set ontransitionrun(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontransitionrun', arguments); - qxVm.memory.private_data.get(this).ontransitionrun = value + ""; - }, - get ontransitionstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'ontransitionstart', arguments, result); - return result; - }, - set ontransitionstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'ontransitionstart', arguments); - qxVm.memory.private_data.get(this).ontransitionstart = value + ""; - }, - get onvolumechange() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onvolumechange, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onvolumechange', arguments, result); - return result; - }, - set onvolumechange(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onvolumechange', arguments); - qxVm.memory.private_data.get(this).onvolumechange = value + ""; - }, - get onwaiting() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwaiting, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwaiting', arguments, result); - return result; - }, - set onwaiting(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwaiting', arguments); - qxVm.memory.private_data.get(this).onwaiting = value + ""; - }, - get onwebkitanimationend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationend', arguments, result); - return result; - }, - set onwebkitanimationend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwebkitanimationend', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationend = value + ""; - }, - get onwebkitanimationiteration() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationiteration, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationiteration', arguments, result); - return result; - }, - set onwebkitanimationiteration(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwebkitanimationiteration', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationiteration = value + ""; - }, - get onwebkitanimationstart() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationstart, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationstart', arguments, result); - return result; - }, - set onwebkitanimationstart(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwebkitanimationstart', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationstart = value + ""; - }, - get onwebkittransitionend() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkittransitionend, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwebkittransitionend', arguments, result); - return result; - }, - set onwebkittransitionend(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwebkittransitionend', arguments); - qxVm.memory.private_data.get(this).onwebkittransitionend = value + ""; - }, - get onwheel() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwheel, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'onwheel', arguments, result); - return result; - }, - set onwheel(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'onwheel', arguments); - qxVm.memory.private_data.get(this).onwheel = value + ""; - }, - get outerText() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).outerText, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'outerText', arguments, result); - return result; - }, - set outerText(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'outerText', arguments); - qxVm.memory.private_data.get(this).outerText = value + ""; - }, - get spellcheck() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).spellcheck, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'spellcheck', arguments, result); - return result; - }, - set spellcheck(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'spellcheck', arguments); - qxVm.memory.private_data.get(this).spellcheck = value ? true : false; - }, - get style() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele = qxVm.memory.private_data.get(this); - if (!ele) { - ele = new CSSStyleDeclaration(qxVm.memory.$createObj_key); - for (key of $cssstyle_attribute) { - ele[key] = ""; - }; - qxVm.memory.private_data.set(this, { - style:ele - }) - qxVm.memory.private_data.get(this).style = ele; - }else{ - ele = ele.style; - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLElement', 'for ', arguments, result); - return result; - }, - set style(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'style', arguments); - qxVm.memory.private_data.get(this).style = value; - }, - get tabIndex() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tabIndex, -1);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'tabIndex', arguments, result); - return result; - }, - set tabIndex(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'tabIndex', arguments); - qxVm.memory.private_data.get(this).tabIndex = value ? 1 : -1; - }, - get title() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).title, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'title', arguments, result); - return result; - }, - set title(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'title', arguments); - qxVm.memory.private_data.get(this).title = value + ""; - }, - get translate() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).translate, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'translate', arguments, result); - return result; - }, - set translate(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'translate', arguments); - qxVm.memory.private_data.get(this).translate = value ? true : false; - }, - get virtualKeyboardPolicy() { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).virtualKeyboardPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLElement', 'virtualKeyboardPolicy', arguments, result); - return result; - }, - set virtualKeyboardPolicy(value) { - if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLElement', 'virtualKeyboardPolicy', arguments); - qxVm.memory.private_data.get(this).virtualKeyboardPolicy = value + ""; - }, - } - qxVm.rename(HTMLElement.prototype, "HTMLElement"); - qxVm.safeDescriptor_addConstructor(HTMLElement); - qxVm.safe_Objattribute(HTMLElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLElement.prototype, Element.prototype); - Object.setPrototypeOf(HTMLElement, Element); -})(); -SVGElement = function SVGElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(SVGElement); - -; (function () { - const $safe_get_attribute = [ - 'autofocus', 'className', 'dataset', 'nonce', 'onabort', 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforexrselect', 'onblur', 'oncancel', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', - 'onclose', 'oncontextmenu', 'oncopy', 'oncuechange', 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', 'onended', 'onerror', - 'onfocus', 'onformdata', 'ongotpointercapture', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onlostpointercapture', 'onmousedown', 'onmousemove', - 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpointercancel', 'onpointerdown', 'onpointerenter', 'onpointerleave', 'onpointermove', 'onpointerout', 'onpointerover', - 'onpointerrawupdate', 'onpointerup', 'onprogress', 'onratechange', 'onreset', 'onresize', 'onscroll', 'onsecuritypolicyviolation', 'onseeked', 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', 'onslotchange', 'onstalled', - 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', 'ontransitionstart', 'onvolumechange', 'onwaiting', 'onwebkitanimationend', 'onwebkitanimationiteration', - 'onwebkitanimationstart', 'onwebkittransitionend', 'onwheel', 'ownerSVGElement', 'style', 'tabIndex', 'viewportElement' - ]; - const $safe_set_attribute = [ - 'autofocus', 'nonce', 'onabort', 'onanimationend', 'onanimationiteration', 'onanimationstart', 'onauxclick', 'onbeforexrselect', 'onblur', 'oncancel', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', 'onclose', 'oncontextmenu', - 'oncopy', 'oncuechange', 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', 'onended', 'onerror', 'onfocus', 'onformdata', - 'ongotpointercapture', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onlostpointercapture', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', - 'onmouseup', 'onmousewheel', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpointercancel', 'onpointerdown', 'onpointerenter', 'onpointerleave', 'onpointermove', 'onpointerout', 'onpointerover', 'onpointerrawupdate', 'onpointerup', - 'onprogress', 'onratechange', 'onreset', 'onresize', 'onscroll', 'onsecuritypolicyviolation', 'onseeked', 'onseeking', 'onselect', 'onselectionchange', 'onselectstart', 'onslotchange', 'onstalled', 'onsubmit', 'onsuspend', 'ontimeupdate', - 'ontoggle', 'ontransitioncancel', 'ontransitionend', 'ontransitionrun', 'ontransitionstart', 'onvolumechange', 'onwaiting', 'onwebkitanimationend', 'onwebkitanimationiteration', 'onwebkitanimationstart', 'onwebkittransitionend', - 'onwheel', 'style', 'tabIndex' - ]; - const $safe_func_attribute = ['blur', 'focus']; - - SVGElement.prototype = { - get autofocus() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).autofocus, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'autofocus', arguments, result); - return result; - }, - set autofocus(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'autofocus', arguments); - qxVm.memory.private_data.get(this).autofocus = value + ""; - }, - blur() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SVGElement', 'blur', arguments, result); - return result; - }, - get className() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).className, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'className', arguments, result); - return result; - }, - get dataset() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).dataset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'dataset', arguments, result); - return result; - }, - focus() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SVGElement', 'focus', arguments, result); - return result; - }, - get nonce() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nonce, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'nonce', arguments, result); - return result; - }, - set nonce(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'nonce', arguments); - qxVm.memory.private_data.get(this).nonce = value + ""; - }, - get onabort() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onabort, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onabort', arguments, result); - return result; - }, - set onabort(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onabort', arguments); - qxVm.memory.private_data.get(this).onabort = value + ""; - }, - get onanimationend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onanimationend', arguments, result); - return result; - }, - set onanimationend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onanimationend', arguments); - qxVm.memory.private_data.get(this).onanimationend = value + ""; - }, - get onanimationiteration() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationiteration, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onanimationiteration', arguments, result); - return result; - }, - set onanimationiteration(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onanimationiteration', arguments); - qxVm.memory.private_data.get(this).onanimationiteration = value + ""; - }, - get onanimationstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onanimationstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onanimationstart', arguments, result); - return result; - }, - set onanimationstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onanimationstart', arguments); - qxVm.memory.private_data.get(this).onanimationstart = value + ""; - }, - get onauxclick() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onauxclick, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onauxclick', arguments, result); - return result; - }, - set onauxclick(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onauxclick', arguments); - qxVm.memory.private_data.get(this).onauxclick = value + ""; - }, - get onbeforexrselect() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onbeforexrselect, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onbeforexrselect', arguments, result); - return result; - }, - set onbeforexrselect(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onbeforexrselect', arguments); - qxVm.memory.private_data.get(this).onbeforexrselect = value + ""; - }, - get onblur() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onblur, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onblur', arguments, result); - return result; - }, - set onblur(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onblur', arguments); - qxVm.memory.private_data.get(this).onblur = value + ""; - }, - get oncancel() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncancel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncancel', arguments, result); - return result; - }, - set oncancel(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncancel', arguments); - qxVm.memory.private_data.get(this).oncancel = value + ""; - }, - get oncanplay() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncanplay, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncanplay', arguments, result); - return result; - }, - set oncanplay(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncanplay', arguments); - qxVm.memory.private_data.get(this).oncanplay = value + ""; - }, - get oncanplaythrough() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncanplaythrough, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncanplaythrough', arguments, result); - return result; - }, - set oncanplaythrough(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncanplaythrough', arguments); - qxVm.memory.private_data.get(this).oncanplaythrough = value + ""; - }, - get onchange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onchange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onchange', arguments, result); - return result; - }, - set onchange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onchange', arguments); - qxVm.memory.private_data.get(this).onchange = value + ""; - }, - get onclick() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclick, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onclick', arguments, result); - return result; - }, - set onclick(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onclick', arguments); - qxVm.memory.private_data.get(this).onclick = value + ""; - }, - get onclose() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onclose, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onclose', arguments, result); - return result; - }, - set onclose(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onclose', arguments); - qxVm.memory.private_data.get(this).onclose = value + ""; - }, - get oncontextmenu() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncontextmenu, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncontextmenu', arguments, result); - return result; - }, - set oncontextmenu(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncontextmenu', arguments); - qxVm.memory.private_data.get(this).oncontextmenu = value + ""; - }, - get oncopy() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncopy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncopy', arguments, result); - return result; - }, - set oncopy(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncopy', arguments); - qxVm.memory.private_data.get(this).oncopy = value + ""; - }, - get oncuechange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncuechange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncuechange', arguments, result); - return result; - }, - set oncuechange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncuechange', arguments); - qxVm.memory.private_data.get(this).oncuechange = value + ""; - }, - get oncut() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oncut, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oncut', arguments, result); - return result; - }, - set oncut(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oncut', arguments); - qxVm.memory.private_data.get(this).oncut = value + ""; - }, - get ondblclick() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondblclick, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondblclick', arguments, result); - return result; - }, - set ondblclick(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondblclick', arguments); - qxVm.memory.private_data.get(this).ondblclick = value + ""; - }, - get ondrag() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondrag, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondrag', arguments, result); - return result; - }, - set ondrag(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondrag', arguments); - qxVm.memory.private_data.get(this).ondrag = value + ""; - }, - get ondragend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondragend', arguments, result); - return result; - }, - set ondragend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondragend', arguments); - qxVm.memory.private_data.get(this).ondragend = value + ""; - }, - get ondragenter() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragenter, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondragenter', arguments, result); - return result; - }, - set ondragenter(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondragenter', arguments); - qxVm.memory.private_data.get(this).ondragenter = value + ""; - }, - get ondragleave() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragleave, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondragleave', arguments, result); - return result; - }, - set ondragleave(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondragleave', arguments); - qxVm.memory.private_data.get(this).ondragleave = value + ""; - }, - get ondragover() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragover, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondragover', arguments, result); - return result; - }, - set ondragover(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondragover', arguments); - qxVm.memory.private_data.get(this).ondragover = value + ""; - }, - get ondragstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondragstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondragstart', arguments, result); - return result; - }, - set ondragstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondragstart', arguments); - qxVm.memory.private_data.get(this).ondragstart = value + ""; - }, - get ondrop() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondrop, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondrop', arguments, result); - return result; - }, - set ondrop(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondrop', arguments); - qxVm.memory.private_data.get(this).ondrop = value + ""; - }, - get ondurationchange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ondurationchange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ondurationchange', arguments, result); - return result; - }, - set ondurationchange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ondurationchange', arguments); - qxVm.memory.private_data.get(this).ondurationchange = value + ""; - }, - get onemptied() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onemptied, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onemptied', arguments, result); - return result; - }, - set onemptied(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onemptied', arguments); - qxVm.memory.private_data.get(this).onemptied = value + ""; - }, - get onended() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onended, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onended', arguments, result); - return result; - }, - set onended(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onended', arguments); - qxVm.memory.private_data.get(this).onended = value + ""; - }, - get onerror() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onfocus() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onfocus, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onfocus', arguments, result); - return result; - }, - set onfocus(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onfocus', arguments); - qxVm.memory.private_data.get(this).onfocus = value + ""; - }, - get onformdata() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onformdata, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onformdata', arguments, result); - return result; - }, - set onformdata(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onformdata', arguments); - qxVm.memory.private_data.get(this).onformdata = value + ""; - }, - get ongotpointercapture() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ongotpointercapture, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ongotpointercapture', arguments, result); - return result; - }, - set ongotpointercapture(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ongotpointercapture', arguments); - qxVm.memory.private_data.get(this).ongotpointercapture = value + ""; - }, - get oninput() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oninput, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oninput', arguments, result); - return result; - }, - set oninput(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oninput', arguments); - qxVm.memory.private_data.get(this).oninput = value + ""; - }, - get oninvalid() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).oninvalid, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'oninvalid', arguments, result); - return result; - }, - set oninvalid(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'oninvalid', arguments); - qxVm.memory.private_data.get(this).oninvalid = value + ""; - }, - get onkeydown() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeydown, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onkeydown', arguments, result); - return result; - }, - set onkeydown(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onkeydown', arguments); - qxVm.memory.private_data.get(this).onkeydown = value + ""; - }, - get onkeypress() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeypress, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onkeypress', arguments, result); - return result; - }, - set onkeypress(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onkeypress', arguments); - qxVm.memory.private_data.get(this).onkeypress = value + ""; - }, - get onkeyup() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onkeyup, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onkeyup', arguments, result); - return result; - }, - set onkeyup(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onkeyup', arguments); - qxVm.memory.private_data.get(this).onkeyup = value + ""; - }, - get onload() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onload, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onload', arguments, result); - return result; - }, - set onload(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onload', arguments); - qxVm.memory.private_data.get(this).onload = value + ""; - }, - get onloadeddata() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadeddata, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onloadeddata', arguments, result); - return result; - }, - set onloadeddata(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onloadeddata', arguments); - qxVm.memory.private_data.get(this).onloadeddata = value + ""; - }, - get onloadedmetadata() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadedmetadata, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onloadedmetadata', arguments, result); - return result; - }, - set onloadedmetadata(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onloadedmetadata', arguments); - qxVm.memory.private_data.get(this).onloadedmetadata = value + ""; - }, - get onloadstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onloadstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onloadstart', arguments, result); - return result; - }, - set onloadstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onloadstart', arguments); - qxVm.memory.private_data.get(this).onloadstart = value + ""; - }, - get onlostpointercapture() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onlostpointercapture, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onlostpointercapture', arguments, result); - return result; - }, - set onlostpointercapture(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onlostpointercapture', arguments); - qxVm.memory.private_data.get(this).onlostpointercapture = value + ""; - }, - get onmousedown() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousedown, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmousedown', arguments, result); - return result; - }, - set onmousedown(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmousedown', arguments); - qxVm.memory.private_data.get(this).onmousedown = value + ""; - }, - get onmousemove() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousemove, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmousemove', arguments, result); - return result; - }, - set onmousemove(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmousemove', arguments); - qxVm.memory.private_data.get(this).onmousemove = value + ""; - }, - get onmouseout() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseout, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmouseout', arguments, result); - return result; - }, - set onmouseout(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmouseout', arguments); - qxVm.memory.private_data.get(this).onmouseout = value + ""; - }, - get onmouseover() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseover, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmouseover', arguments, result); - return result; - }, - set onmouseover(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmouseover', arguments); - qxVm.memory.private_data.get(this).onmouseover = value + ""; - }, - get onmouseup() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmouseup, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmouseup', arguments, result); - return result; - }, - set onmouseup(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmouseup', arguments); - qxVm.memory.private_data.get(this).onmouseup = value + ""; - }, - get onmousewheel() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmousewheel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onmousewheel', arguments, result); - return result; - }, - set onmousewheel(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onmousewheel', arguments); - qxVm.memory.private_data.get(this).onmousewheel = value + ""; - }, - get onpaste() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpaste, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpaste', arguments, result); - return result; - }, - set onpaste(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpaste', arguments); - qxVm.memory.private_data.get(this).onpaste = value + ""; - }, - get onpause() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpause, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpause', arguments, result); - return result; - }, - set onpause(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpause', arguments); - qxVm.memory.private_data.get(this).onpause = value + ""; - }, - get onplay() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onplay, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onplay', arguments, result); - return result; - }, - set onplay(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onplay', arguments); - qxVm.memory.private_data.get(this).onplay = value + ""; - }, - get onplaying() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onplaying, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onplaying', arguments, result); - return result; - }, - set onplaying(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onplaying', arguments); - qxVm.memory.private_data.get(this).onplaying = value + ""; - }, - get onpointercancel() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointercancel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointercancel', arguments, result); - return result; - }, - set onpointercancel(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointercancel', arguments); - qxVm.memory.private_data.get(this).onpointercancel = value + ""; - }, - get onpointerdown() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerdown, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerdown', arguments, result); - return result; - }, - set onpointerdown(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerdown', arguments); - qxVm.memory.private_data.get(this).onpointerdown = value + ""; - }, - get onpointerenter() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerenter, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerenter', arguments, result); - return result; - }, - set onpointerenter(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerenter', arguments); - qxVm.memory.private_data.get(this).onpointerenter = value + ""; - }, - get onpointerleave() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerleave, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerleave', arguments, result); - return result; - }, - set onpointerleave(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerleave', arguments); - qxVm.memory.private_data.get(this).onpointerleave = value + ""; - }, - get onpointermove() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointermove, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointermove', arguments, result); - return result; - }, - set onpointermove(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointermove', arguments); - qxVm.memory.private_data.get(this).onpointermove = value + ""; - }, - get onpointerout() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerout, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerout', arguments, result); - return result; - }, - set onpointerout(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerout', arguments); - qxVm.memory.private_data.get(this).onpointerout = value + ""; - }, - get onpointerover() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerover, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerover', arguments, result); - return result; - }, - set onpointerover(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerover', arguments); - qxVm.memory.private_data.get(this).onpointerover = value + ""; - }, - get onpointerrawupdate() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerrawupdate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerrawupdate', arguments, result); - return result; - }, - set onpointerrawupdate(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerrawupdate', arguments); - qxVm.memory.private_data.get(this).onpointerrawupdate = value + ""; - }, - get onpointerup() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpointerup, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onpointerup', arguments, result); - return result; - }, - set onpointerup(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onpointerup', arguments); - qxVm.memory.private_data.get(this).onpointerup = value + ""; - }, - get onprogress() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onprogress, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onprogress', arguments, result); - return result; - }, - set onprogress(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onprogress', arguments); - qxVm.memory.private_data.get(this).onprogress = value + ""; - }, - get onratechange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onratechange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onratechange', arguments, result); - return result; - }, - set onratechange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onratechange', arguments); - qxVm.memory.private_data.get(this).onratechange = value + ""; - }, - get onreset() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onreset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onreset', arguments, result); - return result; - }, - set onreset(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onreset', arguments); - qxVm.memory.private_data.get(this).onreset = value + ""; - }, - get onresize() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresize, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onresize', arguments, result); - return result; - }, - set onresize(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onresize', arguments); - qxVm.memory.private_data.get(this).onresize = value + ""; - }, - get onscroll() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onscroll, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onscroll', arguments, result); - return result; - }, - set onscroll(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onscroll', arguments); - qxVm.memory.private_data.get(this).onscroll = value + ""; - }, - get onsecuritypolicyviolation() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsecuritypolicyviolation, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onsecuritypolicyviolation', arguments, result); - return result; - }, - set onsecuritypolicyviolation(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onsecuritypolicyviolation', arguments); - qxVm.memory.private_data.get(this).onsecuritypolicyviolation = value + ""; - }, - get onseeked() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onseeked, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onseeked', arguments, result); - return result; - }, - set onseeked(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onseeked', arguments); - qxVm.memory.private_data.get(this).onseeked = value + ""; - }, - get onseeking() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onseeking, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onseeking', arguments, result); - return result; - }, - set onseeking(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onseeking', arguments); - qxVm.memory.private_data.get(this).onseeking = value + ""; - }, - get onselect() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselect, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onselect', arguments, result); - return result; - }, - set onselect(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onselect', arguments); - qxVm.memory.private_data.get(this).onselect = value + ""; - }, - get onselectionchange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselectionchange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onselectionchange', arguments, result); - return result; - }, - set onselectionchange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onselectionchange', arguments); - qxVm.memory.private_data.get(this).onselectionchange = value + ""; - }, - get onselectstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onselectstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onselectstart', arguments, result); - return result; - }, - set onselectstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onselectstart', arguments); - qxVm.memory.private_data.get(this).onselectstart = value + ""; - }, - get onslotchange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onslotchange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onslotchange', arguments, result); - return result; - }, - set onslotchange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onslotchange', arguments); - qxVm.memory.private_data.get(this).onslotchange = value + ""; - }, - get onstalled() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstalled, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onstalled', arguments, result); - return result; - }, - set onstalled(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onstalled', arguments); - qxVm.memory.private_data.get(this).onstalled = value + ""; - }, - get onsubmit() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsubmit, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onsubmit', arguments, result); - return result; - }, - set onsubmit(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onsubmit', arguments); - qxVm.memory.private_data.get(this).onsubmit = value + ""; - }, - get onsuspend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onsuspend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onsuspend', arguments, result); - return result; - }, - set onsuspend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onsuspend', arguments); - qxVm.memory.private_data.get(this).onsuspend = value + ""; - }, - get ontimeupdate() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontimeupdate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontimeupdate', arguments, result); - return result; - }, - set ontimeupdate(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontimeupdate', arguments); - qxVm.memory.private_data.get(this).ontimeupdate = value + ""; - }, - get ontoggle() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontoggle, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontoggle', arguments, result); - return result; - }, - set ontoggle(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontoggle', arguments); - qxVm.memory.private_data.get(this).ontoggle = value + ""; - }, - get ontransitioncancel() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitioncancel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontransitioncancel', arguments, result); - return result; - }, - set ontransitioncancel(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontransitioncancel', arguments); - qxVm.memory.private_data.get(this).ontransitioncancel = value + ""; - }, - get ontransitionend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontransitionend', arguments, result); - return result; - }, - set ontransitionend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontransitionend', arguments); - qxVm.memory.private_data.get(this).ontransitionend = value + ""; - }, - get ontransitionrun() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionrun, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontransitionrun', arguments, result); - return result; - }, - set ontransitionrun(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontransitionrun', arguments); - qxVm.memory.private_data.get(this).ontransitionrun = value + ""; - }, - get ontransitionstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ontransitionstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ontransitionstart', arguments, result); - return result; - }, - set ontransitionstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'ontransitionstart', arguments); - qxVm.memory.private_data.get(this).ontransitionstart = value + ""; - }, - get onvolumechange() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onvolumechange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onvolumechange', arguments, result); - return result; - }, - set onvolumechange(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onvolumechange', arguments); - qxVm.memory.private_data.get(this).onvolumechange = value + ""; - }, - get onwaiting() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwaiting, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwaiting', arguments, result); - return result; - }, - set onwaiting(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwaiting', arguments); - qxVm.memory.private_data.get(this).onwaiting = value + ""; - }, - get onwebkitanimationend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwebkitanimationend', arguments, result); - return result; - }, - set onwebkitanimationend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwebkitanimationend', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationend = value + ""; - }, - get onwebkitanimationiteration() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationiteration, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwebkitanimationiteration', arguments, result); - return result; - }, - set onwebkitanimationiteration(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwebkitanimationiteration', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationiteration = value + ""; - }, - get onwebkitanimationstart() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkitanimationstart, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwebkitanimationstart', arguments, result); - return result; - }, - set onwebkitanimationstart(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwebkitanimationstart', arguments); - qxVm.memory.private_data.get(this).onwebkitanimationstart = value + ""; - }, - get onwebkittransitionend() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwebkittransitionend, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwebkittransitionend', arguments, result); - return result; - }, - set onwebkittransitionend(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwebkittransitionend', arguments); - qxVm.memory.private_data.get(this).onwebkittransitionend = value + ""; - }, - get onwheel() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwheel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'onwheel', arguments, result); - return result; - }, - set onwheel(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'onwheel', arguments); - qxVm.memory.private_data.get(this).onwheel = value + ""; - }, - get ownerSVGElement() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ownerSVGElement, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'ownerSVGElement', arguments, result); - return result; - }, - get style() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).style, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'style', arguments, result); - return result; - }, - set style(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'style', arguments); - qxVm.memory.private_data.get(this).style = value + ""; - }, - get tabIndex() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).tabIndex, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGElement', 'tabIndex', arguments, result); - return result; - }, - set tabIndex(value) { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'SVGElement', 'tabIndex', arguments); - qxVm.memory.private_data.get(this).tabIndex = value + ""; - }, - get viewportElement() { - if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).viewportElement, ""); - } - } - - qxVm.rename(SVGElement.prototype, "SVGElement"); - qxVm.safeDescriptor_addConstructor(SVGElement); - qxVm.safe_Objattribute(SVGElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(SVGElement.prototype, Element.prototype); - Object.setPrototypeOf(SVGElement, Element); - -})(); - - -Path2D = function Path2D() { - if(new.target !== Path2D){ - throw new TypeError(`Failed to construct 'Path2D': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`) - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(Path2D); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = ['addPath', 'arc', 'arcTo', 'bezierCurveTo', 'closePath', 'ellipse', 'lineTo', 'moveTo', 'quadraticCurveTo', 'rect', 'roundRect']; - Path2D.prototype = { - - addPath() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'addPath', arguments, result); - return result; - }, - arc() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'arc', arguments, result); - return result; - }, - arcTo() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'arcTo', arguments, result); - return result; - }, - bezierCurveTo() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'bezierCurveTo', arguments, result); - return result; - }, - closePath() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'closePath', arguments, result); - return result; - }, - ellipse() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'ellipse', arguments, result); - return result; - }, - lineTo() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'lineTo', arguments, result); - return result; - }, - moveTo() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'moveTo', arguments, result); - return result; - }, - quadraticCurveTo() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'quadraticCurveTo', arguments, result); - return result; - }, - rect() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'rect', arguments, result); - return result; - }, - roundRect() { - if (!Path2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'Path2D', 'roundRect', arguments, result); - return result; - }, - } - qxVm.rename(Path2D.prototype, "Path2D"); - qxVm.safeDescriptor_addConstructor(Path2D); - qxVm.safe_Objattribute(Path2D, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canvas) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {canvas: canvas}) -}; qxVm.safefunction(CanvasRenderingContext2D); - -; (function () { - const $safe_get_attribute = [ - 'canvas', 'direction', 'fillStyle', 'filter', 'font', 'globalAlpha', 'globalCompositeOperation', 'imageSmoothingEnabled', 'imageSmoothingQuality', - 'lineCap', 'lineDashOffset', 'lineJoin', 'lineWidth', 'miterLimit', 'shadowBlur', 'shadowColor', 'shadowOffsetX', 'shadowOffsetY', 'strokeStyle', - 'textAlign', 'textBaseline' - ]; - const $safe_set_attribute = [ - 'direction', 'fillStyle', 'filter', 'font', 'globalAlpha', 'globalCompositeOperation', 'imageSmoothingEnabled', 'imageSmoothingQuality', 'lineCap', - 'lineDashOffset', 'lineJoin', 'lineWidth', 'miterLimit', 'shadowBlur', 'shadowColor', 'shadowOffsetX', 'shadowOffsetY', 'strokeStyle', 'textAlign', - 'textBaseline' - ]; - const $safe_func_attribute = [ - 'arc', 'arcTo', 'beginPath', 'bezierCurveTo', 'clearRect', 'clip', 'closePath', 'createImageData', 'createLinearGradient', 'createPattern', - 'createRadialGradient', 'drawFocusIfNeeded', 'drawImage', 'ellipse', 'fill', 'fillRect', 'fillText', 'getContextAttributes', 'getImageData', - 'getLineDash', 'getTransform', 'isPointInPath', 'isPointInStroke', 'lineTo', 'measureText', 'moveTo', 'putImageData', 'quadraticCurveTo', 'rect', - 'resetTransform', 'restore', 'rotate', 'save', 'scale', 'setLineDash', 'setTransform', 'stroke', 'strokeRect', 'strokeText', 'transform', - 'translate' - ]; - - CanvasRenderingContext2D.prototype = { - arc(x, y, radius, startAngle, endAngle, anticlockwise) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'arc', arguments, result); - return result; - }, - arcTo(x1, y1, x2, y2, radius) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'arcTo', arguments, result); - return result; - }, - beginPath() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'beginPath', arguments, result); - return result; - }, - bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'bezierCurveTo', arguments, result); - return result; - }, - get canvas() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).canvas;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'canvas', arguments, result); - return result; - }, - clearRect(x, y, width, height) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'clearRect', arguments, result); - return result; - }, - clip() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'clip', arguments, result); - return result; - }, - closePath() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'closePath', arguments, result); - return result; - }, - createImageData(width, height) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'createImageData', arguments, result); - return result; - }, - createLinearGradient(x0, y0, x1, y1) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'createLinearGradient', arguments, result); - return result; - }, - createPattern(image, repetition) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'createPattern', arguments, result); - return result; - }, - createRadialGradient(x0, y0, r0, x1, y1, r1) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'createRadialGradient', arguments, result); - return result; - }, - get direction() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).direction, "ltr");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'direction', arguments, result); - return result; - }, - set direction(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'direction', arguments); - qxVm.memory.private_data.get(this).direction = value + ""; - }, - drawFocusIfNeeded(path, element) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'drawFocusIfNeeded', arguments, result); - return result; - }, - drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'drawImage', arguments, result); - return result; - }, - ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, counterclockwise) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'ellipse', arguments, result); - return result; - }, - fill(path, fillRule) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'fill', arguments, result); - return result; - }, - fillRect(x, y, width, height) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'fillRect', arguments, result); - return result; - }, - get fillStyle() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).fillStyle, "#000000");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'fillStyle', arguments, result); - return result; - }, - set fillStyle(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - // if (value.slice(0, 1) !== "#" || value.length !== 7) { - // return - // } - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'fillStyle', arguments); - qxVm.memory.private_data.get(this).fillStyle = value + ""; - }, - fillText(text, x, y, maxWidth) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'fillText', arguments, result); - return result; - }, - get filter() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).filter, "none");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'filter', arguments, result); - return result; - }, - set filter(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'filter', arguments); - qxVm.memory.private_data.get(this).filter = value + ""; - }, - get font() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).font, "10px sans-serif");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'font', arguments, result); - return result; - }, - set font(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'font', arguments); - qxVm.memory.private_data.get(this).font = value + ""; - }, - getContextAttributes() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return { - alpha: true, - colorSpace: "srgb", - desynchronized: false, - } - }, - getImageData(sx, sy, sw, sh) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'getImageData', arguments, result); - return result; - }, - getLineDash() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = [];; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'getLineDash', arguments, result); - return result; - }, - getTransform() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return new (class DOMMatrix { - a = 1; - b = 0; - c = 0; - d = 1; - e = 0; - f = 0; - is2D = true; - isIdentity = true; - m11 = 1; - m12 = 0; - m13 = 0; - m14 = 0; - m21 = 0; - m22 = 1; - m23 = 0; - m24 = 0; - m31 = 0; - m32 = 0; - m33 = 1; - m34 = 0; - m41 = 0; - m42 = 0; - m43 = 0; - m44 = 1; - }) - }, - get globalAlpha() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).globalAlpha, 1);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalAlpha', arguments, result); - return result; - }, - set globalAlpha(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'globalAlpha', arguments); - qxVm.memory.private_data.get(this).globalAlpha = value === 1 ? 1 : 0; - }, - get globalCompositeOperation() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).globalCompositeOperation, "source-over");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalCompositeOperation', arguments, result); - return result; - }, - set globalCompositeOperation(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'globalCompositeOperation', arguments); - qxVm.memory.private_data.get(this).globalCompositeOperation = value + ""; - }, - get imageSmoothingEnabled() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).imageSmoothingEnabled, true);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingEnabled', arguments, result); - return result; - }, - set imageSmoothingEnabled(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'imageSmoothingEnabled', arguments); - qxVm.memory.private_data.get(this).imageSmoothingEnabled = value === 0 ? false : true; - }, - get imageSmoothingQuality() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).imageSmoothingQuality, "low");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingQuality', arguments, result); - return result; - }, - set imageSmoothingQuality(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'imageSmoothingQuality', arguments); - qxVm.memory.private_data.get(this).imageSmoothingQuality = value + ""; - }, - isPointInPath(path, x, y, fillRule) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'isPointInPath', arguments, result); - return result; - }, - isPointInStroke(path, x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'isPointInStroke', arguments, result); - return result; - }, - get lineCap() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lineCap, "butt");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineCap', arguments, result); - return result; - }, - set lineCap(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'lineCap', arguments); - qxVm.memory.private_data.get(this).lineCap = value + ""; - }, - get lineDashOffset() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lineDashOffset, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineDashOffset', arguments, result); - return result; - }, - set lineDashOffset(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).lineDashOffset = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).lineDashOffset = parseInt(value); - } - } - }, - get lineJoin() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lineJoin, "miter");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineJoin', arguments, result); - return result; - }, - set lineJoin(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'lineJoin', arguments); - qxVm.memory.private_data.get(this).lineJoin = value + ""; - }, - lineTo(x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'lineTo', arguments, result); - return result; - }, - get lineWidth() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lineWidth, 1);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineWidth', arguments, result); - return result; - }, - set lineWidth(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).lineWidth = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).lineWidth = parseInt(value); - } - } - }, - measureText(text) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'measureText', arguments, result); - return result; - }, - get miterLimit() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).miterLimit, 10);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'miterLimit', arguments, result); - return result; - }, - set miterLimit(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).miterLimit = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).miterLimit = parseInt(value); - } - } - }, - moveTo(x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'moveTo', arguments, result); - return result; - }, - putImageData(imageData, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'putImageData', arguments, result); - return result; - }, - quadraticCurveTo(cpx, cpy, x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'quadraticCurveTo', arguments, result); - return result; - }, - rect(x, y, width, height) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'rect', arguments, result); - return result; - }, - resetTransform() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'resetTransform', arguments, result); - return result; - }, - restore() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'restore', arguments, result); - return result; - }, - rotate(angle) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'rotate', arguments, result); - return result; - }, - save() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'save', arguments, result); - return result; - }, - scale(x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'scale', arguments, result); - return result; - }, - setLineDash(segments) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'setLineDash', arguments, result); - return result; - }, - setTransform(a, b, c, d, e, f) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'setTransform', arguments, result); - return result; - }, - get shadowBlur() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shadowBlur, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowBlur', arguments, result); - return result; - }, - set shadowBlur(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).shadowBlur = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).shadowBlur = parseInt(value); - } - } - }, - get shadowColor() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shadowColor, "rgba(0, 0, 0, 0)");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowColor', arguments, result); - return result; - }, - set shadowColor(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'shadowColor', arguments); - qxVm.memory.private_data.get(this).shadowColor = value + ""; - }, - get shadowOffsetX() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shadowOffsetX, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetX', arguments, result); - return result; - }, - set shadowOffsetX(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).shadowOffsetX = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).shadowOffsetX = parseInt(value); - } - } - }, - get shadowOffsetY() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shadowOffsetY, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetY', arguments, result); - return result; - }, - set shadowOffsetY(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).shadowOffsetY = 1; - }else{ - if (!isNaN(parseFloat(value)) && isFinite(value)){ - qxVm.memory.private_data.get(this).shadowOffsetY = parseInt(value); - } - } - }, - stroke(path) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'stroke', arguments, result); - return result; - }, - strokeRect(x, y, width, height) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'strokeRect', arguments, result); - return result; - }, - get strokeStyle() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).strokeStyle, "#000000");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'strokeStyle', arguments, result); - return result; - }, - set strokeStyle(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'strokeStyle', arguments); - qxVm.memory.private_data.get(this).strokeStyle = value + ""; - }, - strokeText(text, x, y, maxWidth) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'strokeText', arguments, result); - return result; - }, - get textAlign() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).textAlign, "start");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'textAlign', arguments, result); - return result; - }, - set textAlign(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'CanvasRenderingContext2D', 'textAlign', arguments); - qxVm.memory.private_data.get(this).textAlign = value + ""; - }, - get textBaseline() { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).textBaseline, "alphabetic");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'CanvasRenderingContext2D', 'textBaseline', arguments, result); - return result; - }, - set textBaseline(value) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (["top", "hanging", "middle", "alphabetic", "ideographic", "bottom"].includes(value)){ - qxVm.memory.private_data.get(this).textBaseline = value + ""; - } - }, - transform(a, b, c, d, e, f) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'transform', arguments, result); - return result; - }, - translate(x, y) { - if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'CanvasRenderingContext2D', 'translate', arguments, result); - return result; - } - }; - - qxVm.rename(CanvasRenderingContext2D.prototype, "CanvasRenderingContext2D"); - qxVm.safeDescriptor_addConstructor(CanvasRenderingContext2D); - qxVm.safe_Objattribute(CanvasRenderingContext2D, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); -WebGLRenderingContext = function WebGLRenderingContext(createObj_key, canvas) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { canvas: canvas }) -}; qxVm.safefunction(WebGLRenderingContext); - -; (function () { - let WebGLDebugRendererInfo = function WebGLDebugRendererInfo(createObj_key) { - qxVm.memory.private_data.set(this, {}) - }; - ; (function () { - const $attributes = { - UNMASKED_RENDERER_WEBGL: 37446, - UNMASKED_VENDOR_WEBGL: 37445, - }; - - WebGLDebugRendererInfo.prototype = {}; - for (let key in $attributes) { - if ($attributes.hasOwnProperty(key)) { - const value = $attributes[key]; - Object.defineProperty(WebGLDebugRendererInfo, key, { value: value, configurable: false, enumerable: true, writable: false }); - Object.defineProperty(WebGLDebugRendererInfo.prototype, key, { value: value, configurable: false, enumerable: true, writable: false }); - } - }; - - qxVm.rename(WebGLDebugRendererInfo.prototype, "WebGLDebugRendererInfo"); - qxVm.safeDescriptor_addConstructor(WebGLDebugRendererInfo); - - })(); - - - const $safe_get_attribute = ['canvas', 'drawingBufferHeight', 'drawingBufferWidth']; - const $safe_set_attribute = []; - const $safe_func_attribute = [ - 'activeTexture', 'attachShader', 'bindAttribLocation', 'bindBuffer', 'bindFramebuffer', 'bindRenderbuffer', 'bindTexture', - 'blendColor', 'blendEquation', 'blendEquationSeparate', 'blendFunc', 'blendFuncSeparate', 'bufferData', 'bufferSubData', - 'checkFramebufferStatus', 'clear', 'clearColor', 'clearDepth', 'clearStencil', 'colorMask', 'compileShader', 'compressedTexImage2D', - 'compressedTexSubImage2D', 'copyTexImage2D', 'copyTexSubImage2D', 'createBuffer', 'createFramebuffer', 'createProgram', - 'createRenderbuffer', 'createShader', 'createTexture', 'cullFace', 'deleteBuffer', 'deleteFramebuffer', 'deleteProgram', - 'deleteRenderbuffer', 'deleteShader', 'deleteTexture', 'depthFunc', 'depthMask', 'depthRange', 'detachShader', 'disable', - 'disableVertexAttribArray', 'drawArrays', 'drawElements', 'enable', 'enableVertexAttribArray', 'finish', 'flush', - 'framebufferRenderbuffer', 'framebufferTexture2D', 'frontFace', 'generateMipmap', 'getActiveAttrib', 'getActiveUniform', - 'getAttachedShaders', 'getAttribLocation', 'getBufferParameter', 'getContextAttributes', 'getError', 'getExtension', - 'getFramebufferAttachmentParameter', 'getParameter', 'getProgramInfoLog', 'getProgramParameter', 'getRenderbufferParameter', - 'getShaderInfoLog', 'getShaderParameter', 'getShaderPrecisionFormat', 'getShaderSource', 'getSupportedExtensions', 'getTexParameter', - 'getUniform', 'getUniformLocation', 'getVertexAttrib', 'getVertexAttribOffset', 'hint', 'isBuffer', 'isContextLost', 'isEnabled', - 'isFramebuffer', 'isProgram', 'isRenderbuffer', 'isShader', 'isTexture', 'lineWidth', 'linkProgram', 'makeXRCompatible', - 'pixelStorei', 'polygonOffset', 'readPixels', 'renderbufferStorage', 'sampleCoverage', 'scissor', 'shaderSource', 'stencilFunc', - 'stencilFuncSeparate', 'stencilMask', 'stencilMaskSeparate', 'stencilOp', 'stencilOpSeparate', 'texImage2D', 'texParameterf', - 'texParameteri', 'texSubImage2D', 'uniform1f', 'uniform1fv', 'uniform1i', 'uniform1iv', 'uniform2f', 'uniform2fv', 'uniform2i', - 'uniform2iv', 'uniform3f', 'uniform3fv', 'uniform3i', 'uniform3iv', 'uniform4f', 'uniform4fv', 'uniform4i', 'uniform4iv', - 'uniformMatrix2fv', 'uniformMatrix3fv', 'uniformMatrix4fv', 'useProgram', 'validateProgram', 'vertexAttrib1f', 'vertexAttrib1fv', - 'vertexAttrib2f', 'vertexAttrib2fv', 'vertexAttrib3f', 'vertexAttrib3fv', 'vertexAttrib4f', 'vertexAttrib4fv', 'vertexAttribPointer', - 'viewport' - ]; - const $attributes = { - ACTIVE_ATTRIBUTES: 35721, - ACTIVE_TEXTURE: 34016, - ACTIVE_UNIFORMS: 35718, - ALIASED_LINE_WIDTH_RANGE: 33902, - ALIASED_POINT_SIZE_RANGE: 33901, - ALPHA: 6406, - ALPHA_BITS: 3413, - ALWAYS: 519, - ARRAY_BUFFER: 34962, - ARRAY_BUFFER_BINDING: 34964, - ATTACHED_SHADERS: 35717, - BACK: 1029, - BLEND: 3042, - BLEND_COLOR: 32773, - BLEND_DST_ALPHA: 32970, - BLEND_DST_RGB: 32968, - BLEND_EQUATION: 32777, - BLEND_EQUATION_ALPHA: 34877, - BLEND_EQUATION_RGB: 32777, - BLEND_SRC_ALPHA: 32971, - BLEND_SRC_RGB: 32969, - BLUE_BITS: 3412, - BOOL: 35670, - BOOL_VEC2: 35671, - BOOL_VEC3: 35672, - BOOL_VEC4: 35673, - BROWSER_DEFAULT_WEBGL: 37444, - BUFFER_SIZE: 34660, - BUFFER_USAGE: 34661, - BYTE: 5120, - CCW: 2305, - CLAMP_TO_EDGE: 33071, - COLOR_ATTACHMENT0: 36064, - COLOR_BUFFER_BIT: 16384, - COLOR_CLEAR_VALUE: 3106, - COLOR_WRITEMASK: 3107, - COMPILE_STATUS: 35713, - COMPRESSED_TEXTURE_FORMATS: 34467, - CONSTANT_ALPHA: 32771, - CONSTANT_COLOR: 32769, - CONTEXT_LOST_WEBGL: 37442, - CULL_FACE: 2884, - CULL_FACE_MODE: 2885, - CURRENT_PROGRAM: 35725, - CURRENT_VERTEX_ATTRIB: 34342, - CW: 2304, - DECR: 7683, - DECR_WRAP: 34056, - DELETE_STATUS: 35712, - DEPTH_ATTACHMENT: 36096, - DEPTH_BITS: 3414, - DEPTH_BUFFER_BIT: 256, - DEPTH_CLEAR_VALUE: 2931, - DEPTH_COMPONENT: 6402, - DEPTH_COMPONENT16: 33189, - DEPTH_FUNC: 2932, - DEPTH_RANGE: 2928, - DEPTH_STENCIL: 34041, - DEPTH_STENCIL_ATTACHMENT: 33306, - DEPTH_TEST: 2929, - DEPTH_WRITEMASK: 2930, - DITHER: 3024, - DONT_CARE: 4352, - DST_ALPHA: 772, - DST_COLOR: 774, - DYNAMIC_DRAW: 35048, - ELEMENT_ARRAY_BUFFER: 34963, - ELEMENT_ARRAY_BUFFER_BINDING: 34965, - EQUAL: 514, - FASTEST: 4353, - FLOAT: 5126, - FLOAT_MAT2: 35674, - FLOAT_MAT3: 35675, - FLOAT_MAT4: 35676, - FLOAT_VEC2: 35664, - FLOAT_VEC3: 35665, - FLOAT_VEC4: 35666, - FRAGMENT_SHADER: 35632, - FRAMEBUFFER: 36160, - FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049, - FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048, - FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051, - FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050, - FRAMEBUFFER_BINDING: 36006, - FRAMEBUFFER_COMPLETE: 36053, - FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054, - FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057, - FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055, - FRAMEBUFFER_UNSUPPORTED: 36061, - FRONT: 1028, - FRONT_AND_BACK: 1032, - FRONT_FACE: 2886, - FUNC_ADD: 32774, - FUNC_REVERSE_SUBTRACT: 32779, - FUNC_SUBTRACT: 32778, - GENERATE_MIPMAP_HINT: 33170, - GEQUAL: 518, - GREATER: 516, - GREEN_BITS: 3411, - HIGH_FLOAT: 36338, - HIGH_INT: 36341, - IMPLEMENTATION_COLOR_READ_FORMAT: 35739, - IMPLEMENTATION_COLOR_READ_TYPE: 35738, - INCR: 7682, - INCR_WRAP: 34055, - INT: 5124, - INT_VEC2: 35667, - INT_VEC3: 35668, - INT_VEC4: 35669, - INVALID_ENUM: 1280, - INVALID_FRAMEBUFFER_OPERATION: 1286, - INVALID_OPERATION: 1282, - INVALID_VALUE: 1281, - INVERT: 5386, - KEEP: 7680, - LEQUAL: 515, - LESS: 513, - LINEAR: 9729, - LINEAR_MIPMAP_LINEAR: 9987, - LINEAR_MIPMAP_NEAREST: 9985, - LINES: 1, - LINE_LOOP: 2, - LINE_STRIP: 3, - LINE_WIDTH: 2849, - LINK_STATUS: 35714, - LOW_FLOAT: 36336, - LOW_INT: 36339, - LUMINANCE: 6409, - LUMINANCE_ALPHA: 6410, - MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661, - MAX_CUBE_MAP_TEXTURE_SIZE: 34076, - MAX_FRAGMENT_UNIFORM_VECTORS: 36349, - MAX_RENDERBUFFER_SIZE: 34024, - MAX_TEXTURE_IMAGE_UNITS: 34930, - MAX_TEXTURE_SIZE: 3379, - MAX_VARYING_VECTORS: 36348, - MAX_VERTEX_ATTRIBS: 34921, - MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660, - MAX_VERTEX_UNIFORM_VECTORS: 36347, - MAX_VIEWPORT_DIMS: 3386, - MEDIUM_FLOAT: 36337, - MEDIUM_INT: 36340, - MIRRORED_REPEAT: 33648, - NEAREST: 9728, - NEAREST_MIPMAP_LINEAR: 9986, - NEAREST_MIPMAP_NEAREST: 9984, - NEVER: 512, - NICEST: 4354, - NONE: 0, - NOTEQUAL: 517, - NO_ERROR: 0, - ONE: 1, - ONE_MINUS_CONSTANT_ALPHA: 32772, - ONE_MINUS_CONSTANT_COLOR: 32770, - ONE_MINUS_DST_ALPHA: 773, - ONE_MINUS_DST_COLOR: 775, - ONE_MINUS_SRC_ALPHA: 771, - ONE_MINUS_SRC_COLOR: 769, - OUT_OF_MEMORY: 1285, - PACK_ALIGNMENT: 3333, - POINTS: 0, - POLYGON_OFFSET_FACTOR: 32824, - POLYGON_OFFSET_FILL: 32823, - POLYGON_OFFSET_UNITS: 10752, - RED_BITS: 3410, - RENDERBUFFER: 36161, - RENDERBUFFER_ALPHA_SIZE: 36179, - RENDERBUFFER_BINDING: 36007, - RENDERBUFFER_BLUE_SIZE: 36178, - RENDERBUFFER_DEPTH_SIZE: 36180, - RENDERBUFFER_GREEN_SIZE: 36177, - RENDERBUFFER_HEIGHT: 36163, - RENDERBUFFER_INTERNAL_FORMAT: 36164, - RENDERBUFFER_RED_SIZE: 36176, - RENDERBUFFER_STENCIL_SIZE: 36181, - RENDERBUFFER_WIDTH: 36162, - RENDERER: 7937, - REPEAT: 10497, - REPLACE: 7681, - RGB: 6407, - RGB5_A1: 32855, - RGB565: 36194, - RGBA: 6408, - RGBA4: 32854, - SAMPLER_2D: 35678, - SAMPLER_CUBE: 35680, - SAMPLES: 32937, - SAMPLE_ALPHA_TO_COVERAGE: 32926, - SAMPLE_BUFFERS: 32936, - SAMPLE_COVERAGE: 32928, - SAMPLE_COVERAGE_INVERT: 32939, - SAMPLE_COVERAGE_VALUE: 32938, - SCISSOR_BOX: 3088, - SCISSOR_TEST: 3089, - SHADER_TYPE: 35663, - SHADING_LANGUAGE_VERSION: 35724, - SHORT: 5122, - SRC_ALPHA: 770, - SRC_ALPHA_SATURATE: 776, - SRC_COLOR: 768, - STATIC_DRAW: 35044, - STENCIL_ATTACHMENT: 36128, - STENCIL_BACK_FAIL: 34817, - STENCIL_BACK_FUNC: 34816, - STENCIL_BACK_PASS_DEPTH_FAIL: 34818, - STENCIL_BACK_PASS_DEPTH_PASS: 34819, - STENCIL_BACK_REF: 36003, - STENCIL_BACK_VALUE_MASK: 36004, - STENCIL_BACK_WRITEMASK: 36005, - STENCIL_BITS: 3415, - STENCIL_BUFFER_BIT: 1024, - STENCIL_CLEAR_VALUE: 2961, - STENCIL_FAIL: 2964, - STENCIL_FUNC: 2962, - STENCIL_INDEX8: 36168, - STENCIL_PASS_DEPTH_FAIL: 2965, - STENCIL_PASS_DEPTH_PASS: 2966, - STENCIL_REF: 2967, - STENCIL_TEST: 2960, - STENCIL_VALUE_MASK: 2963, - STENCIL_WRITEMASK: 2968, - STREAM_DRAW: 35040, - SUBPIXEL_BITS: 3408, - TEXTURE: 5890, - TEXTURE0: 33984, - TEXTURE1: 33985, - TEXTURE2: 33986, - TEXTURE3: 33987, - TEXTURE4: 33988, - TEXTURE5: 33989, - TEXTURE6: 33990, - TEXTURE7: 33991, - TEXTURE8: 33992, - TEXTURE9: 33993, - TEXTURE10: 33994, - TEXTURE11: 33995, - TEXTURE12: 33996, - TEXTURE13: 33997, - TEXTURE14: 33998, - TEXTURE15: 33999, - TEXTURE16: 34000, - TEXTURE17: 34001, - TEXTURE18: 34002, - TEXTURE19: 34003, - TEXTURE20: 34004, - TEXTURE21: 34005, - TEXTURE22: 34006, - TEXTURE23: 34007, - TEXTURE24: 34008, - TEXTURE25: 34009, - TEXTURE26: 34010, - TEXTURE27: 34011, - TEXTURE28: 34012, - TEXTURE29: 34013, - TEXTURE30: 34014, - TEXTURE31: 34015, - TEXTURE_2D: 3553, - TEXTURE_BINDING_2D: 32873, - TEXTURE_BINDING_CUBE_MAP: 34068, - TEXTURE_CUBE_MAP: 34067, - TEXTURE_CUBE_MAP_NEGATIVE_X: 34070, - TEXTURE_CUBE_MAP_NEGATIVE_Y: 34072, - TEXTURE_CUBE_MAP_NEGATIVE_Z: 34074, - TEXTURE_CUBE_MAP_POSITIVE_X: 34069, - TEXTURE_CUBE_MAP_POSITIVE_Y: 34071, - TEXTURE_CUBE_MAP_POSITIVE_Z: 34073, - TEXTURE_MAG_FILTER: 10240, - TEXTURE_MIN_FILTER: 10241, - TEXTURE_WRAP_S: 10242, - TEXTURE_WRAP_T: 10243, - TRIANGLES: 4, - TRIANGLE_FAN: 6, - TRIANGLE_STRIP: 5, - UNPACK_ALIGNMENT: 3317, - UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443, - UNPACK_FLIP_Y_WEBGL: 37440, - UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441, - UNSIGNED_BYTE: 5121, - UNSIGNED_INT: 5125, - UNSIGNED_SHORT: 5123, - UNSIGNED_SHORT_4_4_4_4: 32819, - UNSIGNED_SHORT_5_5_5_1: 32820, - UNSIGNED_SHORT_5_6_5: 33635, - VALIDATE_STATUS: 35715, - VENDOR: 7936, - VERSION: 7938, - VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 34975, - VERTEX_ATTRIB_ARRAY_ENABLED: 34338, - VERTEX_ATTRIB_ARRAY_NORMALIZED: 34922, - VERTEX_ATTRIB_ARRAY_POINTER: 34373, - VERTEX_ATTRIB_ARRAY_SIZE: 34339, - VERTEX_ATTRIB_ARRAY_STRIDE: 34340, - VERTEX_ATTRIB_ARRAY_TYPE: 34341, - VERTEX_SHADER: 35633, - VIEWPORT: 2978, - ZERO: 0 - }; - - WebGLRenderingContext.prototype = { - activeTexture() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'activeTexture', arguments, result); - return result; - }, - attachShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'attachShader', arguments, result); - return result; - }, - bindAttribLocation() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bindAttribLocation', arguments, result); - return result; - }, - bindBuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bindBuffer', arguments, result); - return result; - }, - bindFramebuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bindFramebuffer', arguments, result); - return result; - }, - bindRenderbuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bindRenderbuffer', arguments, result); - return result; - }, - bindTexture() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bindTexture', arguments, result); - return result; - }, - blendColor() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'blendColor', arguments, result); - return result; - }, - blendEquation() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'blendEquation', arguments, result); - return result; - }, - blendEquationSeparate() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'blendEquationSeparate', arguments, result); - return result; - }, - blendFunc() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'blendFunc', arguments, result); - return result; - }, - blendFuncSeparate() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'blendFuncSeparate', arguments, result); - return result; - }, - bufferData() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bufferData', arguments, result); - return result; - }, - bufferSubData() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'bufferSubData', arguments, result); - return result; - }, - get canvas() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.memory.private_data.get(this).canvas;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'WebGLRenderingContext', 'canvas', arguments, result); - return result; - }, - checkFramebufferStatus() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'checkFramebufferStatus', arguments, result); - return result; - }, - clear() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'clear', arguments, result); - return result; - }, - clearColor() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'clearColor', arguments, result); - return result; - }, - clearDepth() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'clearDepth', arguments, result); - return result; - }, - clearStencil() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'clearStencil', arguments, result); - return result; - }, - colorMask() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'colorMask', arguments, result); - return result; - }, - compileShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'compileShader', arguments, result); - return result; - }, - compressedTexImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'compressedTexImage2D', arguments, result); - return result; - }, - compressedTexSubImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'compressedTexSubImage2D', arguments, result); - return result; - }, - copyTexImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'copyTexImage2D', arguments, result); - return result; - }, - copyTexSubImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'copyTexSubImage2D', arguments, result); - return result; - }, - createBuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createBuffer', arguments, result); - return result; - }, - createFramebuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createFramebuffer', arguments, result); - return result; - }, - createProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createProgram', arguments, result); - return result; - }, - createRenderbuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createRenderbuffer', arguments, result); - return result; - }, - createShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createShader', arguments, result); - return result; - }, - createTexture() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'createTexture', arguments, result); - return result; - }, - cullFace() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'cullFace', arguments, result); - return result; - }, - deleteBuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteBuffer', arguments, result); - return result; - }, - deleteFramebuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteFramebuffer', arguments, result); - return result; - }, - deleteProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteProgram', arguments, result); - return result; - }, - deleteRenderbuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteRenderbuffer', arguments, result); - return result; - }, - deleteShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteShader', arguments, result); - return result; - }, - deleteTexture() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'deleteTexture', arguments, result); - return result; - }, - depthFunc() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'depthFunc', arguments, result); - return result; - }, - depthMask() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'depthMask', arguments, result); - return result; - }, - depthRange() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'depthRange', arguments, result); - return result; - }, - detachShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'detachShader', arguments, result); - return result; - }, - disable() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'disable', arguments, result); - return result; - }, - disableVertexAttribArray() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'disableVertexAttribArray', arguments, result); - return result; - }, - drawArrays() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'drawArrays', arguments, result); - return result; - }, - drawElements() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'drawElements', arguments, result); - return result; - }, - get drawingBufferHeight() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 150;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferHeight', arguments, result); - return result; - }, - get drawingBufferWidth() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = 300;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferWidth', arguments, result); - return result; - }, - enable() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'enable', arguments, result); - return result; - }, - enableVertexAttribArray() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'enableVertexAttribArray', arguments, result); - return result; - }, - finish() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'finish', arguments, result); - return result; - }, - flush() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'flush', arguments, result); - return result; - }, - framebufferRenderbuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'framebufferRenderbuffer', arguments, result); - return result; - }, - framebufferTexture2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'framebufferTexture2D', arguments, result); - return result; - }, - frontFace() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'frontFace', arguments, result); - return result; - }, - generateMipmap() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'generateMipmap', arguments, result); - return result; - }, - getActiveAttrib() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getActiveAttrib', arguments, result); - return result; - }, - getActiveUniform() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getActiveUniform', arguments, result); - return result; - }, - getAttachedShaders() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getAttachedShaders', arguments, result); - return result; - }, - getAttribLocation() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getAttribLocation', arguments, result); - return result; - }, - getBufferParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getBufferParameter', arguments, result); - return result; - }, - getContextAttributes() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getContextAttributes', arguments, result); - return result; - }, - getError() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getError', arguments, result); - return result; - }, - getExtension(name) { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele; - switch (name) { - case "WEBGL_debug_renderer_info": - ele = new WebGLDebugRendererInfo(name); - break; - default: - }; - - let result = ele; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'switch ', arguments, result); - return result; - }, - getFramebufferAttachmentParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getFramebufferAttachmentParameter', arguments, result); - return result; - }, - getParameter(param) { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let ele; - switch(param + ""){ - case "37445": - ele = "Google Inc. (NVIDIA)" - break - case "37446": - ele = "ANGLE (NVIDIA, NVIDIA GeForce GTX 1660 Direct3D11 vs_5_0 ps_5_0, D3D11)" - break - default: - break - } - let result = ele;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getParameter', arguments, result); - return result; - }, - getProgramInfoLog() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getProgramInfoLog', arguments, result); - return result; - }, - getProgramParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getProgramParameter', arguments, result); - return result; - }, - getRenderbufferParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getRenderbufferParameter', arguments, result); - return result; - }, - getShaderInfoLog() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getShaderInfoLog', arguments, result); - return result; - }, - getShaderParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getShaderParameter', arguments, result); - return result; - }, - getShaderPrecisionFormat() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getShaderPrecisionFormat', arguments, result); - return result; - }, - getShaderSource() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getShaderSource', arguments, result); - return result; - }, - getSupportedExtensions() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return [ - "ANGLE_instanced_arrays", - "EXT_blend_minmax", - "EXT_color_buffer_half_float", - "EXT_disjoint_timer_query", - "EXT_float_blend", - "EXT_frag_depth", - "EXT_shader_texture_lod", - "EXT_texture_compression_bptc", - "EXT_texture_compression_rgtc", - "EXT_texture_filter_anisotropic", - "WEBKIT_EXT_texture_filter_anisotropic", - "EXT_sRGB", - "KHR_parallel_shader_compile", - "OES_element_index_uint", - "OES_fbo_render_mipmap", - "OES_standard_derivatives", - "OES_texture_float", - "OES_texture_float_linear", - "OES_texture_half_float", - "OES_texture_half_float_linear", - "OES_vertex_array_object", - "WEBGL_color_buffer_float", - "WEBGL_compressed_texture_s3tc", - "WEBKIT_WEBGL_compressed_texture_s3tc", - "WEBGL_compressed_texture_s3tc_srgb", - "WEBGL_debug_renderer_info", - "WEBGL_debug_shaders", - "WEBGL_depth_texture", - "WEBKIT_WEBGL_depth_texture", - "WEBGL_draw_buffers", - "WEBGL_lose_context", - "WEBKIT_WEBGL_lose_context", - "WEBGL_multi_draw" - ] - }, - getTexParameter() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getTexParameter', arguments, result); - return result; - }, - getUniform() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getUniform', arguments, result); - return result; - }, - getUniformLocation() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getUniformLocation', arguments, result); - return result; - }, - getVertexAttrib() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getVertexAttrib', arguments, result); - return result; - }, - getVertexAttribOffset() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'getVertexAttribOffset', arguments, result); - return result; - }, - hint() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'hint', arguments, result); - return result; - }, - isBuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isBuffer', arguments, result); - return result; - }, - isContextLost() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isContextLost', arguments, result); - return result; - }, - isEnabled() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isEnabled', arguments, result); - return result; - }, - isFramebuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isFramebuffer', arguments, result); - return result; - }, - isProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isProgram', arguments, result); - return result; - }, - isRenderbuffer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isRenderbuffer', arguments, result); - return result; - }, - isShader() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isShader', arguments, result); - return result; - }, - isTexture() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'isTexture', arguments, result); - return result; - }, - lineWidth() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'lineWidth', arguments, result); - return result; - }, - linkProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'linkProgram', arguments, result); - return result; - }, - makeXRCompatible() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'makeXRCompatible', arguments, result); - return result; - }, - pixelStorei() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'pixelStorei', arguments, result); - return result; - }, - polygonOffset() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'polygonOffset', arguments, result); - return result; - }, - readPixels() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'readPixels', arguments, result); - return result; - }, - renderbufferStorage() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'renderbufferStorage', arguments, result); - return result; - }, - sampleCoverage() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'sampleCoverage', arguments, result); - return result; - }, - scissor() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'scissor', arguments, result); - return result; - }, - shaderSource() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'shaderSource', arguments, result); - return result; - }, - stencilFunc() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilFunc', arguments, result); - return result; - }, - stencilFuncSeparate() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilFuncSeparate', arguments, result); - return result; - }, - stencilMask() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilMask', arguments, result); - return result; - }, - stencilMaskSeparate() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilMaskSeparate', arguments, result); - return result; - }, - stencilOp() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilOp', arguments, result); - return result; - }, - stencilOpSeparate() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'stencilOpSeparate', arguments, result); - return result; - }, - texImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'texImage2D', arguments, result); - return result; - }, - texParameterf() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'texParameterf', arguments, result); - return result; - }, - texParameteri() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'texParameteri', arguments, result); - return result; - }, - texSubImage2D() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'texSubImage2D', arguments, result); - return result; - }, - uniform1f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform1f', arguments, result); - return result; - }, - uniform1fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform1fv', arguments, result); - return result; - }, - uniform1i() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform1i', arguments, result); - return result; - }, - uniform1iv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform1iv', arguments, result); - return result; - }, - uniform2f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform2f', arguments, result); - return result; - }, - uniform2fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform2fv', arguments, result); - return result; - }, - uniform2i() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform2i', arguments, result); - return result; - }, - uniform2iv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform2iv', arguments, result); - return result; - }, - uniform3f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform3f', arguments, result); - return result; - }, - uniform3fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform3fv', arguments, result); - return result; - }, - uniform3i() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform3i', arguments, result); - return result; - }, - uniform3iv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform3iv', arguments, result); - return result; - }, - uniform4f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform4f', arguments, result); - return result; - }, - uniform4fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform4fv', arguments, result); - return result; - }, - uniform4i() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform4i', arguments, result); - return result; - }, - uniform4iv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniform4iv', arguments, result); - return result; - }, - uniformMatrix2fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniformMatrix2fv', arguments, result); - return result; - }, - uniformMatrix3fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniformMatrix3fv', arguments, result); - return result; - }, - uniformMatrix4fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'uniformMatrix4fv', arguments, result); - return result; - }, - useProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'useProgram', arguments, result); - return result; - }, - validateProgram() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'validateProgram', arguments, result); - return result; - }, - vertexAttrib1f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib1f', arguments, result); - return result; - }, - vertexAttrib1fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib1fv', arguments, result); - return result; - }, - vertexAttrib2f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib2f', arguments, result); - return result; - }, - vertexAttrib2fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib2fv', arguments, result); - return result; - }, - vertexAttrib3f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib3f', arguments, result); - return result; - }, - vertexAttrib3fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib3fv', arguments, result); - return result; - }, - vertexAttrib4f() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib4f', arguments, result); - return result; - }, - vertexAttrib4fv() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttrib4fv', arguments, result); - return result; - }, - vertexAttribPointer() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'vertexAttribPointer', arguments, result); - return result; - }, - viewport() { - if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'WebGLRenderingContext', 'viewport', arguments, result); - return result; - }, - }; - - for (let key in $attributes) { - if ($attributes.hasOwnProperty(key)) { - const value = $attributes[key]; - Object.defineProperty(WebGLRenderingContext, key, { value: value, configurable: false, enumerable: true, writable: false }); - Object.defineProperty(WebGLRenderingContext.prototype, key, { value: value, configurable: false, enumerable: true, writable: false }); - } - }; - - qxVm.rename(WebGLRenderingContext.prototype, "WebGLRenderingContext"); - qxVm.safeDescriptor_addConstructor(WebGLRenderingContext); - qxVm.safe_Objattribute(WebGLRenderingContext, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - -})(); - -SVGGraphicsElement = function SVGGraphicsElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(SVGGraphicsElement); - -; (function () { - const $safe_get_attribute = ['farthestViewportElement', 'nearestViewportElement', 'requiredExtensions', 'systemLanguage', 'transform']; - const $safe_set_attribute = []; - const $safe_func_attribute = ['getBBox', 'getCTM', 'getScreenCTM']; - - SVGGraphicsElement.prototype = { - get farthestViewportElement() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).farthestViewportElement, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGGraphicsElement', 'farthestViewportElement', arguments, result); - return result; - }, - getBBox() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SVGGraphicsElement', 'getBBox', arguments, result); - return result; - }, - getCTM() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SVGGraphicsElement', 'getCTM', arguments, result); - return result; - }, - getScreenCTM() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'SVGGraphicsElement', 'getScreenCTM', arguments, result); - return result; - }, - get nearestViewportElement() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).nearestViewportElement, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGGraphicsElement', 'nearestViewportElement', arguments, result); - return result; - }, - get requiredExtensions() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).requiredExtensions, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGGraphicsElement', 'requiredExtensions', arguments, result); - return result; - }, - get systemLanguage() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).systemLanguage, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGGraphicsElement', 'systemLanguage', arguments, result); - return result; - }, - get transform() { - if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).transform, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'SVGGraphicsElement', 'transform', arguments, result); - return result; - }, - } - - qxVm.rename(SVGGraphicsElement.prototype, "SVGGraphicsElement"); - qxVm.safeDescriptor_addConstructor(SVGGraphicsElement); - qxVm.safe_Objattribute(SVGGraphicsElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(SVGGraphicsElement.prototype, SVGElement.prototype); - Object.setPrototypeOf(SVGGraphicsElement, SVGElement); - -})(); - -qxVm.memory.htmlElements["div"] = function () { - return new SVGGraphicsElement(qxVm.memory.$createObj_key); -} - - -HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLAnchorElement); - -; (function () { - const $safe_get_attribute = ['charset', 'coords', 'download', 'hash', 'host', 'hostname', 'href', 'hrefTranslate', 'hreflang', 'name', 'origin', 'password', 'pathname', 'ping', 'port', 'protocol', 'referrerPolicy', 'rel', 'relList', 'rev', 'search', 'shape', 'target', 'text', 'type', 'username']; - const $safe_set_attribute = ['charset', 'coords', 'download', 'hash', 'host', 'hostname', 'href', 'hrefTranslate', 'hreflang', 'name', 'password', 'pathname', 'ping', 'port', 'protocol', 'referrerPolicy', 'rel', 'relList', 'rev', 'search', 'shape', 'target', 'text', 'type', 'username']; - const $safe_func_attribute = ['toString']; - - HTMLAnchorElement.prototype = { - get charset() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).charset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'charset', arguments, result); - return result; - }, - set charset(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'charset', arguments); - qxVm.memory.private_data.get(this).charset = value + ""; - }, - get coords() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).coords, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'coords', arguments, result); - return result; - }, - set coords(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'coords', arguments); - qxVm.memory.private_data.get(this).coords = value + ""; - }, - get download() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).download, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'download', arguments, result); - return result; - }, - set download(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'download', arguments); - qxVm.memory.private_data.get(this).download = value + ""; - }, - get hash() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hash, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'hash', arguments, result); - return result; - }, - set hash(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'hash', arguments); - qxVm.memory.private_data.get(this).hash = value + ""; - }, - get host() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).host, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'host', arguments, result); - return result; - }, - set host(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'host', arguments); - qxVm.memory.private_data.get(this).host = value + ""; - }, - get hostname() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hostname, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'hostname', arguments, result); - return result; - }, - set hostname(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'hostname', arguments); - qxVm.memory.private_data.get(this).hostname = value + ""; - }, - get href() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).href, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'href', arguments, result); - return result; - }, - set href(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'href', arguments); - qxVm.memory.private_data.get(this).href = value + ""; - }, - get hrefTranslate() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hrefTranslate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'hrefTranslate', arguments, result); - return result; - }, - set hrefTranslate(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'hrefTranslate', arguments); - qxVm.memory.private_data.get(this).hrefTranslate = value + ""; - }, - get hreflang() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hreflang, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'hreflang', arguments, result); - return result; - }, - set hreflang(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'hreflang', arguments); - qxVm.memory.private_data.get(this).hreflang = value + ""; - }, - get name() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - get origin() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).origin, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'origin', arguments, result); - return result; - }, - get password() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).password, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'password', arguments, result); - return result; - }, - set password(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'password', arguments); - qxVm.memory.private_data.get(this).password = value + ""; - }, - get pathname() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).pathname, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'pathname', arguments, result); - return result; - }, - set pathname(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'pathname', arguments); - qxVm.memory.private_data.get(this).pathname = value + ""; - }, - get ping() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ping, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'ping', arguments, result); - return result; - }, - set ping(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'ping', arguments); - qxVm.memory.private_data.get(this).ping = value + ""; - }, - get port() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).port, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'port', arguments, result); - return result; - }, - set port(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'port', arguments); - qxVm.memory.private_data.get(this).port = value + ""; - }, - get protocol() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).protocol, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'protocol', arguments, result); - return result; - }, - set protocol(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'protocol', arguments); - qxVm.memory.private_data.get(this).protocol = value + ""; - }, - get referrerPolicy() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'referrerPolicy', arguments, result); - return result; - }, - set referrerPolicy(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'referrerPolicy', arguments); - qxVm.memory.private_data.get(this).referrerPolicy = value + ""; - }, - get rel() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'rel', arguments, result); - return result; - }, - set rel(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'rel', arguments); - qxVm.memory.private_data.get(this).rel = value + ""; - }, - get relList() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).relList, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'relList', arguments, result); - return result; - }, - set relList(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'relList', arguments); - qxVm.memory.private_data.get(this).relList = value + ""; - }, - get rev() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rev, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'rev', arguments, result); - return result; - }, - set rev(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'rev', arguments); - qxVm.memory.private_data.get(this).rev = value + ""; - }, - get search() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).search, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'search', arguments, result); - return result; - }, - set search(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'search', arguments); - qxVm.memory.private_data.get(this).search = value + ""; - }, - get shape() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).shape, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'shape', arguments, result); - return result; - }, - set shape(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'shape', arguments); - qxVm.memory.private_data.get(this).shape = value + ""; - }, - get target() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).target, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'target', arguments, result); - return result; - }, - set target(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'target', arguments); - qxVm.memory.private_data.get(this).target = value + ""; - }, - get text() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).text, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'text', arguments, result); - return result; - }, - set text(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'text', arguments); - qxVm.memory.private_data.get(this).text = value + ""; - }, - toString() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLAnchorElement', 'toString', arguments, result); - return result; - }, - get type() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'type', arguments, result); - return result; - }, - set type(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLAnchorElement', 'type', arguments); - qxVm.memory.private_data.get(this).type = value + ""; - }, - get username() { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).username, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLAnchorElement', 'username', arguments, result); - return result; - }, - set username(value) { - if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).username = value + ""; - } - } - - qxVm.rename(HTMLAnchorElement.prototype, "HTMLAnchorElement"); - qxVm.safeDescriptor_addConstructor(HTMLAnchorElement); - qxVm.safe_Objattribute(HTMLAnchorElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLAnchorElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLAnchorElement, HTMLElement); - -})(); - - -qxVm.memory.htmlElements["a"] = function () { - return new HTMLAnchorElement(qxVm.memory.$createObj_key); -} -HTMLBodyElement = function HTMLBodyElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLBodyElement); - - -; (function () { - const $safe_get_attribute = [ - 'aLink', 'background', 'bgColor', 'link', 'onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'onerror', 'onfocus', 'onhashchange', 'onlanguagechange', 'onload', - 'onmessage', 'onmessageerror', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onrejectionhandled', 'onresize', 'onscroll', 'onstorage', - 'onunhandledrejection', 'onunload', 'text', 'vLink' - ]; - const $safe_set_attribute = [ - 'aLink', 'background', 'bgColor', 'link', 'onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'onerror', 'onfocus', 'onhashchange', 'onlanguagechange', 'onload', - 'onmessage', 'onmessageerror', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onrejectionhandled', 'onresize', 'onscroll', 'onstorage', - 'onunhandledrejection', 'onunload', 'text', 'vLink' - ]; - const $safe_func_attribute = []; - - HTMLBodyElement.prototype = { - get aLink(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).aLink, ""); - }, - set aLink(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).aLink = value + ""; - }, - get background(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).background, ""); - }, - set background(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).background = value + ""; - }, - get bgColor(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).bgColor, ""); - }, - set bgColor(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).bgColor = value + ""; - }, - get link(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).link, ""); - }, - set link(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).link = value + ""; - }, - get onafterprint(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onafterprint, null); - }, - set onafterprint(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onafterprint = value + ""; - }, - get onbeforeprint(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onbeforeprint, null); - }, - set onbeforeprint(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onbeforeprint = value + ""; - }, - get onbeforeunload(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onbeforeunload, null); - }, - set onbeforeunload(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onbeforeunload = value + ""; - }, - get onblur(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onblur, null); - }, - set onblur(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onblur = value + ""; - }, - get onerror(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onerror, null); - }, - set onerror(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onfocus(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onfocus,null); - }, - set onfocus(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onfocus = value + ""; - }, - get onhashchange(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onhashchange, null); - }, - set onhashchange(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onhashchange = value + ""; - }, - get onlanguagechange(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onlanguagechange, null); - }, - set onlanguagechange(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onlanguagechange = value + ""; - }, - get onload(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onload, null); - }, - set onload(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onload = value + ""; - }, - get onmessage(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onmessage, null); - }, - set onmessage(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onmessage = value + ""; - }, - get onmessageerror(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onmessageerror, null); - }, - set onmessageerror(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onmessageerror = value + ""; - }, - get onoffline(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onoffline, null); - }, - set onoffline(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onoffline = value + ""; - }, - get ononline(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).ononline, null); - }, - set ononline(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).ononline = value + ""; - }, - get onpagehide(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onpagehide, null); - }, - set onpagehide(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onpagehide = value + ""; - }, - get onpageshow(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onpageshow, null); - }, - set onpageshow(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onpageshow = value + ""; - }, - get onpopstate(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onpopstate, null); - }, - set onpopstate(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onpopstate = value + ""; - }, - get onrejectionhandled(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onrejectionhandled, null); - }, - set onrejectionhandled(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onrejectionhandled = value + ""; - }, - get onresize(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onresize, null); - }, - set onresize(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onresize = value + ""; - }, - get onscroll(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onscroll, null); - }, - set onscroll(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onscroll = value + ""; - }, - get onstorage(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onstorage, null); - }, - set onstorage(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onstorage = value + ""; - }, - get onunhandledrejection(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onunhandledrejection, null); - }, - set onunhandledrejection(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onunhandledrejection = value + ""; - }, - get onunload(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).onunload, null); - }, - set onunload(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).onunload = value + ""; - }, - get text(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).text, null); - }, - set text(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).text = value + ""; - }, - get vLink(){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).vLink, null); - }, - set vLink(value){ - if (!HTMLBodyElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).vLink = value + ""; - }, - } - - qxVm.rename(HTMLBodyElement.prototype, "HTMLBodyElement"); - qxVm.safeDescriptor_addConstructor(HTMLBodyElement); - qxVm.safe_Objattribute(HTMLBodyElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLBodyElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLBodyElement, HTMLElement); - -})(); -qxVm.memory.htmlElements["body"] = function(){ - return new HTMLBodyElement(qxVm.memory.$createObj_key); -} - - -HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLButtonElement); - -; (function () { - const $safe_get_attribute = ['disabled', 'form', 'formAction', 'formEnctype', 'formMethod', 'formNoValidate', 'formTarget', 'labels', 'name', 'type', 'validationMessage', 'validity', 'value', 'willValidate']; - const $safe_set_attribute = ['disabled', 'form', 'formAction', 'formEnctype', 'formMethod', 'formNoValidate', 'formTarget', 'name', 'type', 'value']; - const $safe_func_attribute = ['checkValidity', 'reportValidity', 'setCustomValidity']; - - HTMLButtonElement.prototype = { - checkValidity() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLButtonElement', 'checkValidity', arguments, result); - return result; - }, - get disabled() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).disabled, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'disabled', arguments, result); - return result; - }, - set disabled(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'disabled', arguments); - qxVm.memory.private_data.get(this).disabled = value ? true: false; - }, - get form() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).form, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'form', arguments, result); - return result; - }, - set form(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'form', arguments); - qxVm.memory.private_data.get(this).form = null; - }, - get formAction() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).formAction, location.href);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'formAction', arguments, result); - return result; - }, - set formAction(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'formAction', arguments); - qxVm.memory.private_data.get(this).formAction = value + ""; - }, - get formEnctype() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).formEnctype, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'formEnctype', arguments, result); - return result; - }, - set formEnctype(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'formEnctype', arguments); - qxVm.memory.private_data.get(this).formEnctype = value + ""; - }, - get formMethod() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).formMethod, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'formMethod', arguments, result); - return result; - }, - set formMethod(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'formMethod', arguments); - qxVm.memory.private_data.get(this).formMethod = value.toLowerCase() + "" === 'post'? 'post': 'get'; - }, - get formNoValidate() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).formNoValidate, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'formNoValidate', arguments, result); - return result; - }, - set formNoValidate(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'formNoValidate', arguments); - qxVm.memory.private_data.get(this).formNoValidate = value ? true: false; - }, - get formTarget() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).formTarget, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'formTarget', arguments, result); - return result; - }, - set formTarget(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'formTarget', arguments); - qxVm.memory.private_data.get(this).formTarget = value + ""; - }, - get labels() { // NodeList  - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get name() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - reportValidity() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLButtonElement', 'reportValidity', arguments, result); - return result; - }, - setCustomValidity() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLButtonElement', 'setCustomValidity', arguments, result); - return result; - }, - get type() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "submit");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'type', arguments, result); - return result; - }, - set type(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'type', arguments); - qxVm.memory.private_data.get(this).type = "submit"; - }, - get validationMessage() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).validationMessage, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result); - return result; - }, - get validity() { // ValidityState  - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).validity, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result); - return result; - }, - get value() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).value, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLButtonElement', 'value', arguments, result); - return result; - }, - set value(value) { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLButtonElement', 'value', arguments); - qxVm.memory.private_data.get(this).value = value + ""; - }, - get willValidate() { - if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return true; - } - }; - - qxVm.rename(HTMLButtonElement.prototype, "HTMLButtonElement"); - qxVm.safeDescriptor_addConstructor(HTMLButtonElement); - qxVm.safe_Objattribute(HTMLButtonElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLButtonElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLButtonElement, HTMLElement); - -})(); - - -qxVm.memory.htmlElements["button"] = function () { - return new HTMLButtonElement(qxVm.memory.$createObj_key); -} -HTMLCanvasElement = function HTMLCanvasElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, { getContext: null, contextType: null }) -}; qxVm.safefunction(HTMLCanvasElement); - -; (function () { - const $safe_get_attribute = ['height', 'width']; - const $safe_set_attribute = ['height', 'width']; - const $safe_func_attribute = ['captureStream', 'getContext', 'toBlob', 'toDataURL', 'transferControlToOffscreen']; - - HTMLCanvasElement.prototype = { - captureStream() { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'captureStream', arguments, result); - return result; - }, - getContext(contextType, contextAttributes) { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (contextType === undefined) { throw new TypeError("Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only 0 present.") } - - const buffer_context = qxVm.memory.private_data.get(this).getContext; - const buffer_contextType = qxVm.memory.private_data.get(this).contextType; - - if (buffer_context === null) { - let context = {}; - switch (contextType) { - case "webgl": - context = new WebGLRenderingContext(qxVm.memory.$createObj_key, this) - break; - case "2d": - context = new CanvasRenderingContext2D(qxVm.memory.$createObj_key, this) - break - default: - context = null; - }; - - qxVm.memory.private_data.get(this).getContext = context; - qxVm.memory.private_data.get(this).contextType = contextType - let result = context;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); - return result; - } - - if (buffer_context !== null && contextType === buffer_contextType) { - let result = buffer_context;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); - return result; - } - let result = null;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); - return result; - }, - get height() { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).height, 150);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLCanvasElement', 'height', arguments, result); - return result; - }, - set height(value) { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLCanvasElement', 'height', arguments); - qxVm.memory.private_data.get(this).height = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - }, - toBlob(callback, type, quality) { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'toBlob', arguments, result); - return result; - }, - toDataURL() { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.default_envs.canvas;; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'toDataURL', arguments, result); - return result; - }, - transferControlToOffscreen() { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLCanvasElement', 'transferControlToOffscreen', arguments, result); - return result; - }, - get width() { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).width, 300);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLCanvasElement', 'width', arguments, result); - return result; - }, - set width(value) { - if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLCanvasElement', 'width', arguments); - qxVm.memory.private_data.get(this).width = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - }, - } - - qxVm.rename(HTMLCanvasElement.prototype, "HTMLCanvasElement"); - qxVm.safeDescriptor_addConstructor(HTMLCanvasElement); - qxVm.safe_Objattribute(HTMLCanvasElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLCanvasElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLCanvasElement, HTMLElement); - -})(); - - -qxVm.memory.htmlElements["canvas"] = function () { - return new HTMLCanvasElement(qxVm.memory.$createObj_key); -} - - - -HTMLDivElement = function HTMLDivElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLDivElement); - -; (function () { - const $safe_get_attribute = ['align']; - const $safe_set_attribute = ['align']; - const $safe_func_attribute = []; - - HTMLDivElement.prototype = { - get align() { - if (!HTMLDivElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - let result = qxVm.abs(qxVm.memory.private_data.get(this).align, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLDivElement', 'align', arguments, result); - return result; - }, - set align(value) { - if (!HTMLDivElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - qxVm.memory.private_data.get(this).align = value + ""; - } - }; - - qxVm.rename(HTMLDivElement.prototype, "HTMLDivElement"); - qxVm.safeDescriptor_addConstructor(HTMLDivElement); - qxVm.safe_Objattribute(HTMLDivElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLDivElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLDivElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["div"] = function () { - return new HTMLDivElement(qxVm.memory.$createObj_key); -} - - -HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLFrameElement); - -; (function () { - const $safe_get_attribute = ['contentDocument', 'contentWindow', 'frameBorder', 'longDesc', 'marginHeight', 'marginWidth', 'name', 'noResize', 'scrolling', 'src']; - const $safe_set_attribute = ['frameBorder', 'longDesc', 'marginHeight', 'marginWidth', 'name', 'noResize', 'scrolling', 'src']; - const $safe_func_attribute = []; - - HTMLFrameElement.prototype = { - get contentDocument() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).contentDocument, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'contentDocument', arguments, result); - return result; - }, - get contentWindow() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).contentWindow, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'contentWindow', arguments, result); - return result; - }, - get frameBorder() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).frameBorder, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'frameBorder', arguments, result); - return result; - }, - set frameBorder(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'frameBorder', arguments); - qxVm.memory.private_data.get(this).frameBorder = value + ""; - }, - get longDesc() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).longDesc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'longDesc', arguments, result); - return result; - }, - set longDesc(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'longDesc', arguments); - qxVm.memory.private_data.get(this).longDesc = value + ""; - }, - get marginHeight() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).marginHeight, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'marginHeight', arguments, result); - return result; - }, - set marginHeight(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'marginHeight', arguments); - qxVm.memory.private_data.get(this).marginHeight = value + ""; - }, - get marginWidth() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).marginWidth, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'marginWidth', arguments, result); - return result; - }, - set marginWidth(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'marginWidth', arguments); - qxVm.memory.private_data.get(this).marginWidth = value + ""; - }, - get name() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - get noResize() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).noResize, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'noResize', arguments, result); - return result; - }, - set noResize(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'noResize', arguments); - qxVm.memory.private_data.get(this).noResize = value + ""; - }, - get scrolling() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).scrolling, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'scrolling', arguments, result); - return result; - }, - set scrolling(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'scrolling', arguments); - qxVm.memory.private_data.get(this).scrolling = value + ""; - }, - get src() { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).src, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameElement', 'src', arguments, result); - return result; - }, - set src(value) { - if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameElement', 'src', arguments); - qxVm.memory.private_data.get(this).src = value + ""; - }, - } - - qxVm.rename(HTMLFrameElement.prototype, "HTMLFrameElement"); - qxVm.safeDescriptor_addConstructor(HTMLFrameElement); - qxVm.safe_Objattribute(HTMLFrameElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLFrameElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLFrameElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["frame"] = function () { - return new HTMLFrameElement(qxVm.memory.$createObj_key); -} - - -HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLFrameSetElement); - -; (function () { - const $safe_get_attribute = [ - 'cols', 'onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'onerror', 'onfocus', 'onhashchange', 'onlanguagechange', 'onload', - 'onmessage', 'onmessageerror', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onrejectionhandled', 'onresize', 'onscroll', - 'onstorage', 'onunhandledrejection', 'onunload', 'rows' - ]; - const $safe_set_attribute = [ - 'cols', 'onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'onerror', 'onfocus', 'onhashchange', 'onlanguagechange', 'onload', - 'onmessage', 'onmessageerror', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onrejectionhandled', 'onresize', 'onscroll', - 'onstorage', 'onunhandledrejection', 'onunload', 'rows' - ]; - const $safe_func_attribute = []; - - HTMLFrameSetElement.prototype = { - get cols() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).cols, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'cols', arguments, result); - return result; - }, - set cols(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'cols', arguments); - qxVm.memory.private_data.get(this).cols = value + ""; - }, - get onafterprint() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onafterprint, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onafterprint', arguments, result); - return result; - }, - set onafterprint(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onafterprint', arguments); - qxVm.memory.private_data.get(this).onafterprint = value + ""; - }, - get onbeforeprint() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onbeforeprint, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeprint', arguments, result); - return result; - }, - set onbeforeprint(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onbeforeprint', arguments); - qxVm.memory.private_data.get(this).onbeforeprint = value + ""; - }, - get onbeforeunload() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onbeforeunload, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeunload', arguments, result); - return result; - }, - set onbeforeunload(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onbeforeunload', arguments); - qxVm.memory.private_data.get(this).onbeforeunload = value + ""; - }, - get onblur() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onblur, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onblur', arguments, result); - return result; - }, - set onblur(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onblur', arguments); - qxVm.memory.private_data.get(this).onblur = value + ""; - }, - get onerror() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onerror, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onerror', arguments, result); - return result; - }, - set onerror(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onerror', arguments); - qxVm.memory.private_data.get(this).onerror = value + ""; - }, - get onfocus() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onfocus, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onfocus', arguments, result); - return result; - }, - set onfocus(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onfocus', arguments); - qxVm.memory.private_data.get(this).onfocus = value + ""; - }, - get onhashchange() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onhashchange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onhashchange', arguments, result); - return result; - }, - set onhashchange(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onhashchange', arguments); - qxVm.memory.private_data.get(this).onhashchange = value + ""; - }, - get onlanguagechange() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onlanguagechange, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onlanguagechange', arguments, result); - return result; - }, - set onlanguagechange(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onlanguagechange', arguments); - qxVm.memory.private_data.get(this).onlanguagechange = value + ""; - }, - get onload() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onload, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onload', arguments, result); - return result; - }, - set onload(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onload', arguments); - qxVm.memory.private_data.get(this).onload = value + ""; - }, - get onmessage() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmessage, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessage', arguments, result); - return result; - }, - set onmessage(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onmessage', arguments); - qxVm.memory.private_data.get(this).onmessage = value + ""; - }, - get onmessageerror() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onmessageerror, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessageerror', arguments, result); - return result; - }, - set onmessageerror(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onmessageerror', arguments); - qxVm.memory.private_data.get(this).onmessageerror = value + ""; - }, - get onoffline() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onoffline, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onoffline', arguments, result); - return result; - }, - set onoffline(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onoffline', arguments); - qxVm.memory.private_data.get(this).onoffline = value + ""; - }, - get ononline() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ononline, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'ononline', arguments, result); - return result; - }, - set ononline(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'ononline', arguments); - qxVm.memory.private_data.get(this).ononline = value + ""; - }, - get onpagehide() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpagehide, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onpagehide', arguments, result); - return result; - }, - set onpagehide(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onpagehide', arguments); - qxVm.memory.private_data.get(this).onpagehide = value + ""; - }, - get onpageshow() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpageshow, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onpageshow', arguments, result); - return result; - }, - set onpageshow(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onpageshow', arguments); - qxVm.memory.private_data.get(this).onpageshow = value + ""; - }, - get onpopstate() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onpopstate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onpopstate', arguments, result); - return result; - }, - set onpopstate(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onpopstate', arguments); - qxVm.memory.private_data.get(this).onpopstate = value + ""; - }, - get onrejectionhandled() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onrejectionhandled, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onrejectionhandled', arguments, result); - return result; - }, - set onrejectionhandled(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onrejectionhandled', arguments); - qxVm.memory.private_data.get(this).onrejectionhandled = value + ""; - }, - get onresize() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onresize, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onresize', arguments, result); - return result; - }, - set onresize(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onresize', arguments); - qxVm.memory.private_data.get(this).onresize = value + ""; - }, - get onscroll() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onscroll, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onscroll', arguments, result); - return result; - }, - set onscroll(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onscroll', arguments); - qxVm.memory.private_data.get(this).onscroll = value + ""; - }, - get onstorage() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onstorage, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onstorage', arguments, result); - return result; - }, - set onstorage(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onstorage', arguments); - qxVm.memory.private_data.get(this).onstorage = value + ""; - }, - get onunhandledrejection() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onunhandledrejection, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onunhandledrejection', arguments, result); - return result; - }, - set onunhandledrejection(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onunhandledrejection', arguments); - qxVm.memory.private_data.get(this).onunhandledrejection = value + ""; - }, - get onunload() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onunload, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'onunload', arguments, result); - return result; - }, - set onunload(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLFrameSetElement', 'onunload', arguments); - qxVm.memory.private_data.get(this).onunload = value + ""; - }, - get rows() { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rows, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLFrameSetElement', 'rows', arguments, result); - return result; - }, - set rows(value) { - if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).rows = value + ""; - } - } - - qxVm.rename(HTMLFrameSetElement.prototype, "HTMLFrameSetElement"); - qxVm.safeDescriptor_addConstructor(HTMLFrameSetElement); - qxVm.safe_Objattribute(HTMLFrameSetElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLFrameSetElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLFrameSetElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["frameset"] = function () { - return new HTMLFrameSetElement(qxVm.memory.$createObj_key); -} - - -HTMLHeadElement = function HTMLHeadElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLHeadElement); - - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - HTMLHeadElement.prototype = { - }; - - qxVm.rename(HTMLHeadElement.prototype, "HTMLHeadElement"); - qxVm.safeDescriptor_addConstructor(HTMLHeadElement); - qxVm.safe_Objattribute(HTMLHeadElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLHeadElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLHeadElement, HTMLElement); -})(); -qxVm.memory.htmlElements["head"] = function () { - return new HTMLHeadElement(qxVm.memory.$createObj_key); -} - - - -HTMLHtmlElement = function HTMLHtmlElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLHtmlElement); - -; (function () { - const $safe_get_attribute = ['version']; - const $safe_set_attribute = ['version']; - const $safe_func_attribute = []; - - HTMLHtmlElement.prototype = { - get version() { - if (!HTMLHtmlElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - let result = qxVm.abs(qxVm.memory.private_data.get(this).version, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLHtmlElement', 'version', arguments, result); - return result; - }, - set version(value) { - if (!HTMLHtmlElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - qxVm.memory.private_data.get(this).version = value + ""; - } - }; - - qxVm.rename(HTMLHtmlElement.prototype, "HTMLHtmlElement"); - qxVm.safeDescriptor_addConstructor(HTMLHtmlElement); - qxVm.safe_Objattribute(HTMLHtmlElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLHtmlElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLHtmlElement, HTMLElement); -})(); -qxVm.memory.htmlElements["html"] = function () { - return new HTMLHtmlElement(qxVm.memory.$createObj_key); -} - - -HTMLIFrameElement = function HTMLIFrameElement(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLIFrameElement); - -; (function () { - const $safe_get_attribute = ['align', 'allow', 'allowFullscreen', 'allowPaymentRequest', 'contentDocument', 'contentWindow', 'csp', 'featurePolicy', 'frameBorder', 'height', 'loading', 'longDesc', 'marginHeight', 'marginWidth', 'name', 'referrerPolicy', 'sandbox', 'scrolling', 'src', 'srcdoc', 'width']; - const $safe_set_attribute = ['align', 'allow', 'allowFullscreen', 'allowPaymentRequest', 'csp', 'frameBorder', 'height', 'loading', 'longDesc', 'marginHeight', 'marginWidth', 'name', 'referrerPolicy', 'sandbox', 'scrolling', 'src', 'srcdoc', 'width']; - const $safe_func_attribute = ['getSVGDocument']; - - HTMLIFrameElement.prototype = { - get align() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).align, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'align', arguments, result); - return result; - }, - set align(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'align', arguments); - qxVm.memory.private_data.get(this).align = value + ""; - }, - get allow() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).allow, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'allow', arguments, result); - return result; - }, - set allow(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'allow', arguments); - qxVm.memory.private_data.get(this).allow = value + ""; - }, - get allowFullscreen() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).allowFullscreen, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'allowFullscreen', arguments, result); - return result; - }, - set allowFullscreen(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'allowFullscreen', arguments); - qxVm.memory.private_data.get(this).allowFullscreen = value ? true : false; - }, - get allowPaymentRequest() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).allowPaymentRequest, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'allowPaymentRequest', arguments, result); - return result; - }, - set allowPaymentRequest(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'allowPaymentRequest', arguments); - qxVm.memory.private_data.get(this).allowPaymentRequest = value ? true : false; - }, - get contentDocument() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).contentDocument, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'contentDocument', arguments, result); - return result; - }, - get contentWindow() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).contentWindow, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'contentWindow', arguments, result); - return result; - }, - get csp() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).csp, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'csp', arguments, result); - return result; - }, - set csp(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'csp', arguments); - qxVm.memory.private_data.get(this).csp = value + ""; - }, - get featurePolicy() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).featurePolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'featurePolicy', arguments, result); - return result; - }, - get frameBorder() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).frameBorder, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'frameBorder', arguments, result); - return result; - }, - set frameBorder(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'frameBorder', arguments); - qxVm.memory.private_data.get(this).frameBorder = value + ""; - }, - getSVGDocument() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLIFrameElement', 'getSVGDocument', arguments, result); - return result; - }, - get height() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).height, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'height', arguments, result); - return result; - }, - set height(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'height', arguments); - qxVm.memory.private_data.get(this).height = value + ""; - }, - get loading() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).loading, "auto");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'loading', arguments, result); - return result; - }, - set loading(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'loading', arguments); - qxVm.memory.private_data.get(this).loading = value + ""; - }, - get longDesc() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).longDesc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'longDesc', arguments, result); - return result; - }, - set longDesc(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'longDesc', arguments); - qxVm.memory.private_data.get(this).longDesc = value + ""; - }, - get marginHeight() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).marginHeight, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'marginHeight', arguments, result); - return result; - }, - set marginHeight(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'marginHeight', arguments); - qxVm.memory.private_data.get(this).marginHeight = value + ""; - }, - get marginWidth() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).marginWidth, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'marginWidth', arguments, result); - return result; - }, - set marginWidth(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'marginWidth', arguments); - qxVm.memory.private_data.get(this).marginWidth = value + ""; - }, - get name() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - get referrerPolicy() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'referrerPolicy', arguments, result); - return result; - }, - set referrerPolicy(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'referrerPolicy', arguments); - qxVm.memory.private_data.get(this).referrerPolicy = value + ""; - }, - get sandbox() { // DOMTokenList - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - set sandbox(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'sandbox', arguments); - qxVm.memory.private_data.get(this).sandbox = value + ""; - }, - get scrolling() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).scrolling, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'scrolling', arguments, result); - return result; - }, - set scrolling(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'scrolling', arguments); - qxVm.memory.private_data.get(this).scrolling = value + ""; - }, - get src() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).src, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'src', arguments, result); - return result; - }, - set src(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'src', arguments); - qxVm.memory.private_data.get(this).src = value + ""; - }, - get srcdoc() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).srcdoc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'srcdoc', arguments, result); - return result; - }, - set srcdoc(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'srcdoc', arguments); - qxVm.memory.private_data.get(this).srcdoc = value + ""; - }, - get width() { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).width, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLIFrameElement', 'width', arguments, result); - return result; - }, - set width(value) { - if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLIFrameElement', 'width', arguments); - qxVm.memory.private_data.get(this).width = value + ""; - }, - } - qxVm.rename(HTMLIFrameElement.prototype, "HTMLIFrameElement"); - qxVm.safeDescriptor_addConstructor(HTMLIFrameElement); - qxVm.safe_Objattribute(HTMLIFrameElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLFrameElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLFrameElement, HTMLElement); -})(); - -qxVm.memory.htmlElements["iframe"] = function () { - return new HTMLImageElement(qxVm.memory.$createObj_key); -} - - -HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLImageElement); - -; (function () { - const $safe_get_attribute = ['align', 'alt', 'border', 'complete', 'crossOrigin', 'currentSrc', 'decoding', 'height', 'hspace', 'isMap', 'loading', 'longDesc', 'lowsrc', 'name', 'naturalHeight', 'naturalWidth', 'referrerPolicy', 'sizes', 'src', 'srcset', 'useMap', 'vspace', 'width', 'x', 'y']; - const $safe_set_attribute = ['align', 'alt', 'border', 'crossOrigin', 'decoding', 'height', 'hspace', 'isMap', 'loading', 'longDesc', 'lowsrc', 'name', 'referrerPolicy', 'sizes', 'src', 'srcset', 'useMap', 'vspace', 'width']; - const $safe_func_attribute = ['decode']; - - HTMLImageElement.prototype = { - get align() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).align, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'align', arguments, result); - return result; - }, - set align(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'align', arguments); - qxVm.memory.private_data.get(this).align = value + ""; - }, - get alt() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).alt, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'alt', arguments, result); - return result; - }, - set alt(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'alt', arguments); - qxVm.memory.private_data.get(this).alt = value + ""; - }, - get border() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).border, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'border', arguments, result); - return result; - }, - set border(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'border', arguments); - qxVm.memory.private_data.get(this).border = value + ""; - }, - get complete() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = true;; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'complete', arguments, result); - return result; - }, - get crossOrigin() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).crossOrigin, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'crossOrigin', arguments, result); - return result; - }, - set crossOrigin(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'crossOrigin', arguments); - qxVm.memory.private_data.get(this).crossOrigin = "anonymous"; - }, - get currentSrc() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentSrc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'currentSrc', arguments, result); - return result; - }, - decode() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLImageElement', 'decode', arguments, result); - return result; - }, - get decoding() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).decoding, 'auto');; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'decoding', arguments, result); - return result; - }, - set decoding(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'decoding', arguments); - qxVm.memory.private_data.get(this).decoding = 'auto'; - }, - get height() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).height, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'height', arguments, result); - return result; - }, - set height(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === "") { - qxVm.memory.private_data.get(this).height = ""; - } else if (value === true) { - qxVm.memory.private_data.get(this).height = 1; - } else { - qxVm.memory.private_data.get(this).height = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - } - }, - get hspace() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hspace, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'hspace', arguments, result); - return result; - }, - set hspace(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (value === true) { - qxVm.memory.private_data.get(this).hspace = 1; - } else { - qxVm.memory.private_data.get(this).hspace = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - } - }, - get isMap() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).isMap, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'isMap', arguments, result); - return result; - }, - set isMap(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'isMap', arguments); - qxVm.memory.private_data.get(this).isMap = value ? true: false; - }, - get loading() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).loading, "auto");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'loading', arguments, result); - return result; - }, - set loading(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'loading', arguments); - qxVm.memory.private_data.get(this).loading = value + ""; - }, - get longDesc() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).longDesc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'longDesc', arguments, result); - return result; - }, - set longDesc(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'longDesc', arguments); - qxVm.memory.private_data.get(this).longDesc = `${location.href}${value}`; - }, - get lowsrc() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).lowsrc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'lowsrc', arguments, result); - return result; - }, - set lowsrc(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'lowsrc', arguments); - qxVm.memory.private_data.get(this).lowsrc = `${location.href}${value}`; - }, - get name() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - get naturalHeight() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).naturalHeight, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'naturalHeight', arguments, result); - return result; - }, - get naturalWidth() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).naturalWidth, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'naturalWidth', arguments, result); - return result; - }, - get referrerPolicy() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'referrerPolicy', arguments, result); - return result; - }, - set referrerPolicy(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'referrerPolicy', arguments); - qxVm.memory.private_data.get(this).referrerPolicy = value + ""; - }, - get sizes() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sizes, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'sizes', arguments, result); - return result; - }, - set sizes(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'sizes', arguments); - qxVm.memory.private_data.get(this).sizes = value + ""; - }, - get src() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).src, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'src', arguments, result); - return result; - }, - set src(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'src', arguments); - qxVm.memory.private_data.get(this).src = value + ""; - }, - get srcset() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).srcset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'srcset', arguments, result); - return result; - }, - set srcset(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'srcset', arguments); - qxVm.memory.private_data.get(this).srcset = value + ""; - }, - get useMap() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).useMap, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'useMap', arguments, result); - return result; - }, - set useMap(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'useMap', arguments); - qxVm.memory.private_data.get(this).useMap = value + ""; - }, - get vspace() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).vspace, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'vspace', arguments, result); - return result; - }, - set vspace(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'vspace', arguments); - qxVm.memory.private_data.get(this).vspace = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - }, - get width() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).width, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'width', arguments, result); - return result; - }, - set width(value) { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLImageElement', 'width', arguments); - qxVm.memory.private_data.get(this).width = (!isNaN(parseFloat(value)) && isFinite(value)) ? parseInt(value) : 0; - }, - get x() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).x, 0);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLImageElement', 'x', arguments, result); - return result; - }, - get y() { - if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).y, 0); - } - }; - - qxVm.rename(HTMLImageElement.prototype, "HTMLImageElement"); - qxVm.safeDescriptor_addConstructor(HTMLImageElement); - qxVm.safe_Objattribute(HTMLImageElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLImageElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLImageElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["img"] = function () { - return new HTMLImageElement(qxVm.memory.$createObj_key); -} - - -HTMLInputElement = function HTMLInputElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLInputElement); - -; (function () { - const $safe_get_attribute = [ - 'accept', 'align', 'alt', 'autocomplete', 'checked', 'defaultChecked', 'defaultValue', 'dirName', 'disabled', 'files', 'form', 'formAction', - 'formEnctype', 'formMethod', 'formNoValidate', 'formTarget', 'height', 'incremental', 'indeterminate', 'labels', 'list', 'max', 'maxLength', - 'min', 'minLength', 'multiple', 'name', 'pattern', 'placeholder', 'readOnly', 'required', 'selectionDirection', 'selectionEnd', 'selectionStart', - 'size', 'src', 'step', 'type', 'useMap', 'validationMessage', 'validity', 'value', 'valueAsDate', 'valueAsNumber', 'webkitEntries', - 'webkitdirectory', 'width', 'willValidate' - ]; - const $safe_set_attribute = [ - 'accept', 'align', 'alt', 'autocomplete', 'checked', 'defaultChecked', 'defaultValue', 'dirName', 'disabled', 'files', 'form', 'formAction', - 'formEnctype', 'formMethod', 'formNoValidate', 'formTarget', 'height', 'incremental', 'indeterminate', 'max', 'maxLength', 'min', 'minLength', - 'multiple', 'name', 'pattern', 'placeholder', 'readOnly', 'required', 'selectionDirection', 'selectionEnd', 'selectionStart', 'size', 'src', - 'step', 'type', 'useMap', 'value', 'valueAsDate', 'valueAsNumber', 'webkitdirectory', 'width' - ]; - const $safe_func_attribute = [ - 'checkValidity', 'reportValidity', 'select', 'setCustomValidity', 'setRangeText', 'setSelectionRange', 'stepDown', 'stepUp' - ]; - - HTMLInputElement.prototype = { - - get accept(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).accept, ""); - }, - set accept(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).accept = value + ""; - }, - get align(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).align, ""); - }, - set align(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).align = value + ""; - }, - get alt(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).alt, ""); - }, - set alt(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).alt = value + ""; - }, - get autocomplete(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).autocomplete, ""); - }, - set autocomplete(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).autocomplete = value + ""; - }, - checkValidity(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get checked(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).checked, ""); - }, - set checked(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).checked = value + ""; - }, - get defaultChecked(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).defaultChecked, ""); - }, - set defaultChecked(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).defaultChecked = value + ""; - }, - get defaultValue(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).defaultValue, ""); - }, - set defaultValue(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).defaultValue = value + ""; - }, - get dirName(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).dirName, ""); - }, - set dirName(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).dirName = value + ""; - }, - get disabled(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).disabled, ""); - }, - set disabled(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).disabled = value + ""; - }, - get files(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).files, ""); - }, - set files(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).files = value + ""; - }, - get form(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).form, ""); - }, - set form(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).form = value + ""; - }, - get formAction(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).formAction, ""); - }, - set formAction(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).formAction = value + ""; - }, - get formEnctype(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).formEnctype, ""); - }, - set formEnctype(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).formEnctype = value + ""; - }, - get formMethod(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).formMethod, ""); - }, - set formMethod(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).formMethod = value + ""; - }, - get formNoValidate(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).formNoValidate, ""); - }, - set formNoValidate(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).formNoValidate = value + ""; - }, - get formTarget(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).formTarget, ""); - }, - set formTarget(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).formTarget = value + ""; - }, - get height(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).height, ""); - }, - set height(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).height = value + ""; - }, - get incremental(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).incremental, ""); - }, - set incremental(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).incremental = value + ""; - }, - get indeterminate(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).indeterminate, ""); - }, - set indeterminate(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).indeterminate = value + ""; - }, - get labels(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).labels, ""); - }, - get list(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).list, ""); - }, - get max(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).max, ""); - }, - set max(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).max = value + ""; - }, - get maxLength(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).maxLength, ""); - }, - set maxLength(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).maxLength = value + ""; - }, - get min(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).min, ""); - }, - set min(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).min = value + ""; - }, - get minLength(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).minLength, ""); - }, - set minLength(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).minLength = value + ""; - }, - get multiple(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).multiple, ""); - }, - set multiple(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).multiple = value + ""; - }, - get name(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).name, ""); - }, - set name(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).name = value + ""; - }, - get pattern(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).pattern, ""); - }, - set pattern(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).pattern = value + ""; - }, - get placeholder(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).placeholder, ""); - }, - set placeholder(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).placeholder = value + ""; - }, - get readOnly(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).readOnly, ""); - }, - set readOnly(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).readOnly = value + ""; - }, - reportValidity(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get required(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).required, ""); - }, - set required(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).required = value + ""; - }, - select(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get selectionDirection(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).selectionDirection, ""); - }, - set selectionDirection(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).selectionDirection = value + ""; - }, - get selectionEnd(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).selectionEnd, ""); - }, - set selectionEnd(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).selectionEnd = value + ""; - }, - get selectionStart(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).selectionStart, ""); - }, - set selectionStart(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).selectionStart = value + ""; - }, - setCustomValidity(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - setRangeText(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - setSelectionRange(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get size(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).size, ""); - }, - set size(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).size = value + ""; - }, - get src(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).src, ""); - }, - set src(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).src = value + ""; - }, - get step(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).step, ""); - }, - set step(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).step = value + ""; - }, - stepDown(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - stepUp(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - get type(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).type, ""); - }, - set type(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).type = value + ""; - }, - get useMap(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).useMap, ""); - }, - set useMap(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).useMap = value + ""; - }, - get validationMessage(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).validationMessage, ""); - }, - get validity(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).validity, ""); - }, - get value(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).value, ""); - }, - set value(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).value = value + ""; - }, - get valueAsDate(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).valueAsDate, ""); - }, - set valueAsDate(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).valueAsDate = value + ""; - }, - get valueAsNumber(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).valueAsNumber, ""); - }, - set valueAsNumber(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).valueAsNumber = value + ""; - }, - get webkitEntries(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).webkitEntries, ""); - }, - get webkitdirectory(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).webkitdirectory, ""); - }, - set webkitdirectory(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).webkitdirectory = value + ""; - }, - get width(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).width, ""); - }, - set width(value){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).width = value + ""; - }, - get willValidate(){ - if (!HTMLInputElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).willValidate, ""); - } - } - - qxVm.rename(HTMLInputElement.prototype, "HTMLInputElement"); - qxVm.safeDescriptor_addConstructor(HTMLInputElement); - qxVm.safe_Objattribute(HTMLInputElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLInputElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLInputElement, HTMLElement); -})(); -qxVm.memory.htmlElements["input"] = function () { - return new HTMLInputElement(qxVm.memory.$createObj_key); -} - -HTMLLabelElement = function HTMLLabelElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLLabelElement); - -; (function () { - const $safe_get_attribute = ['control', 'form', 'htmlFor']; - const $safe_set_attribute = ['htmlFor']; - const $safe_func_attribute = []; - - HTMLLabelElement.prototype = { - get control() { - if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).control, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLabelElement', 'control', arguments, result); - return result; - }, - get form() { - if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).form, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLabelElement', 'form', arguments, result); - return result; - }, - get htmlFor() { - if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).htmlFor, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLabelElement', 'htmlFor', arguments, result); - return result; - }, - set htmlFor(value) { - if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLabelElement', 'htmlFor', arguments); - qxVm.memory.private_data.get(this).htmlFor = value + ""; - }, - } - - qxVm.rename(HTMLLabelElement.prototype, "HTMLLabelElement"); - qxVm.safeDescriptor_addConstructor(HTMLLabelElement); - qxVm.safe_Objattribute(HTMLLabelElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLLabelElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLLabelElement, HTMLElement); - -})(); - - -qxVm.memory.htmlElements["label"] = function () { - return new HTMLLabelElement(qxVm.memory.$createObj_key); -} -HTMLLIElement = function HTMLLIElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLLIElement); - -; (function () { - const $safe_get_attribute = ['type', 'value']; - const $safe_set_attribute = ['type', 'value']; - const $safe_func_attribute = []; - HTMLLIElement.prototype = { - - get type() { - if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLIElement', 'type', arguments, result); - return result; - }, - set type(value) { - if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLIElement', 'type', arguments); - qxVm.memory.private_data.get(this).type = value + ""; - }, - get value() { - if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).value, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLIElement', 'value', arguments, result); - return result; - }, - set value(value) { - if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).value = value + ""; - } - }; - - qxVm.rename(HTMLLIElement.prototype, "HTMLLIElement"); - qxVm.safeDescriptor_addConstructor(HTMLLIElement); - qxVm.safe_Objattribute(HTMLLIElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLLIElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLLIElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["li"] = function () { - return new HTMLLIElement(qxVm.memory.$createObj_key); -} - - -HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLLinkElement); - -; (function () { - const $safe_get_attribute = ['as', 'charset', 'crossOrigin', 'disabled', 'href', 'hreflang', 'imageSizes', 'imageSrcset', 'integrity', 'media', 'referrerPolicy', 'rel', 'relList', 'rev', 'sheet', 'sizes', 'target', 'type']; - const $safe_set_attribute = ['as', 'charset', 'crossOrigin', 'disabled', 'href', 'hreflang', 'imageSizes', 'imageSrcset', 'integrity', 'media', 'referrerPolicy', 'rel', 'relList', 'rev', 'sizes', 'target', 'type']; - const $safe_func_attribute = []; - - HTMLLinkElement.prototype = { - get as() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).as, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'as', arguments, result); - return result; - }, - set as(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'as', arguments); - qxVm.memory.private_data.get(this).as = ""; - }, - get charset() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).charset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'charset', arguments, result); - return result; - }, - set charset(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'charset', arguments); - qxVm.memory.private_data.get(this).charset = value + ""; - }, - get crossOrigin() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).crossOrigin, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'crossOrigin', arguments, result); - return result; - }, - set crossOrigin(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'crossOrigin', arguments); - qxVm.memory.private_data.get(this).crossOrigin = "anonymous"; - }, - get disabled() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).disabled, false);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'disabled', arguments, result); - return result; - }, - set disabled(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'disabled', arguments); - qxVm.memory.private_data.get(this).disabled = value ? true : false; - }, - get href() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).href, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'href', arguments, result); - return result; - }, - set href(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'href', arguments); - qxVm.memory.private_data.get(this).href = + `${location.origin}/${value}`; - }, - get hreflang() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).hreflang, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'hreflang', arguments, result); - return result; - }, - set hreflang(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'hreflang', arguments); - qxVm.memory.private_data.get(this).hreflang = value + ""; - }, - get imageSizes() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).imageSizes, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'imageSizes', arguments, result); - return result; - }, - set imageSizes(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'imageSizes', arguments); - qxVm.memory.private_data.get(this).imageSizes = value + ""; - }, - get imageSrcset() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).imageSrcset, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'imageSrcset', arguments, result); - return result; - }, - set imageSrcset(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'imageSrcset', arguments); - qxVm.memory.private_data.get(this).imageSrcset = value + ""; - }, - get integrity() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).integrity, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'integrity', arguments, result); - return result; - }, - set integrity(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'integrity', arguments); - qxVm.memory.private_data.get(this).integrity = value + ""; - }, - get media() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).media, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'media', arguments, result); - return result; - }, - set media(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'media', arguments); - qxVm.memory.private_data.get(this).media = value + ""; - }, - get referrerPolicy() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'referrerPolicy', arguments, result); - return result; - }, - set referrerPolicy(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'referrerPolicy', arguments); - qxVm.memory.private_data.get(this).referrerPolicy = value + ""; - }, - get rel() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rel, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'rel', arguments, result); - return result; - }, - set rel(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'rel', arguments); - qxVm.memory.private_data.get(this).rel = value + ""; - }, - get relList() { // DOMTokenList - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - }, - set relList(value) { // DOMTokenList - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'relList', arguments); - qxVm.memory.private_data.get(this).relList = value + ""; - }, - get rev() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).rev, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'rev', arguments, result); - return result; - }, - set rev(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'rev', arguments); - qxVm.memory.private_data.get(this).rev = value + ""; - }, - get sheet() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sheet, null);; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result); - return result; - }, - get sizes() { // DOMTokenList - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sizes, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result); - return result; - }, - set sizes(value) { // DOMTokenList - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'sizes', arguments); - qxVm.memory.private_data.get(this).sizes = value + ""; - }, - get target() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).target, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'target', arguments, result); - return result; - }, - set target(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'target', arguments); - qxVm.memory.private_data.get(this).target = value + ""; - }, - get type() { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).type, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLLinkElement', 'type', arguments, result); - return result; - }, - set type(value) { - if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLLinkElement', 'type', arguments); - qxVm.memory.private_data.get(this).type = value + ""; - }, - } - - qxVm.rename(HTMLLinkElement.prototype, "HTMLLinkElement"); - qxVm.safeDescriptor_addConstructor(HTMLLinkElement); - qxVm.safe_Objattribute(HTMLLinkElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLLinkElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLLinkElement, HTMLElement); - -})(); - - -qxVm.memory.htmlElements["link"] = function () { - return new HTMLLinkElement(qxVm.memory.$createObj_key); -} -HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLMediaElement); - -; (function () { - const $attributes = { - HAVE_CURRENT_DATA: 2, - HAVE_ENOUGH_DATA: 4, - HAVE_FUTURE_DATA: 3, - HAVE_METADATA: 1, - HAVE_NOTHING: 0, - NETWORK_EMPTY: 0, - NETWORK_IDLE: 1, - NETWORK_LOADING: 2, - NETWORK_NO_SOURCE: 3 - }; - const $safe_get_attribute = ['autoplay', 'buffered', 'controls', 'controlsList', 'crossOrigin', 'currentSrc', 'currentTime', 'defaultMuted', 'defaultPlaybackRate', 'disableRemotePlayback', 'duration', 'ended', 'error', 'loop', 'muted', 'networkState', 'onencrypted', 'onwaitingforkey', 'paused', 'playbackRate', 'played', 'preload', 'preservesPitch', 'readyState', 'remote', 'seekable', 'seeking', 'sinkId', 'src', 'srcObject', 'textTracks', 'volume', 'webkitAudioDecodedByteCount', 'webkitVideoDecodedByteCount']; - const $safe_set_attribute = ['autoplay', 'controls', 'controlsList', 'crossOrigin', 'currentTime', 'defaultMuted', 'defaultPlaybackRate', 'disableRemotePlayback', 'loop', 'muted', 'onencrypted', 'onwaitingforkey', 'playbackRate', 'preload', 'preservesPitch', 'src', 'srcObject', 'volume']; - const $safe_func_attribute = ['addTextTrack', 'canPlayType', 'captureStream', 'load', 'pause', 'play', 'setSinkId']; - HTMLMediaElement.prototype = { - - addTextTrack() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'addTextTrack', arguments, result); - return result; - }, - get autoplay() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).autoplay, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'autoplay', arguments, result); - return result; - }, - set autoplay(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'autoplay', arguments); - qxVm.memory.private_data.get(this).autoplay = value + ""; - }, - get buffered() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).buffered, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'buffered', arguments, result); - return result; - }, - canPlayType() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'canPlayType', arguments, result); - return result; - }, - captureStream() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'captureStream', arguments, result); - return result; - }, - get controls() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).controls, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'controls', arguments, result); - return result; - }, - set controls(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'controls', arguments); - qxVm.memory.private_data.get(this).controls = value + ""; - }, - get controlsList() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).controlsList, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'controlsList', arguments, result); - return result; - }, - set controlsList(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'controlsList', arguments); - qxVm.memory.private_data.get(this).controlsList = value + ""; - }, - get crossOrigin() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).crossOrigin, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'crossOrigin', arguments, result); - return result; - }, - set crossOrigin(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'crossOrigin', arguments); - qxVm.memory.private_data.get(this).crossOrigin = value + ""; - }, - get currentSrc() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentSrc, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'currentSrc', arguments, result); - return result; - }, - get currentTime() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).currentTime, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'currentTime', arguments, result); - return result; - }, - set currentTime(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'currentTime', arguments); - qxVm.memory.private_data.get(this).currentTime = value + ""; - }, - get defaultMuted() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).defaultMuted, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'defaultMuted', arguments, result); - return result; - }, - set defaultMuted(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'defaultMuted', arguments); - qxVm.memory.private_data.get(this).defaultMuted = value + ""; - }, - get defaultPlaybackRate() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).defaultPlaybackRate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'defaultPlaybackRate', arguments, result); - return result; - }, - set defaultPlaybackRate(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'defaultPlaybackRate', arguments); - qxVm.memory.private_data.get(this).defaultPlaybackRate = value + ""; - }, - get disableRemotePlayback() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).disableRemotePlayback, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'disableRemotePlayback', arguments, result); - return result; - }, - set disableRemotePlayback(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'disableRemotePlayback', arguments); - qxVm.memory.private_data.get(this).disableRemotePlayback = value + ""; - }, - get duration() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).duration, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'duration', arguments, result); - return result; - }, - get ended() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).ended, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'ended', arguments, result); - return result; - }, - get error() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).error, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'error', arguments, result); - return result; - }, - load() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'load', arguments, result); - return result; - }, - get loop() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).loop, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'loop', arguments, result); - return result; - }, - set loop(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'loop', arguments); - qxVm.memory.private_data.get(this).loop = value + ""; - }, - get muted() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).muted, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'muted', arguments, result); - return result; - }, - set muted(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'muted', arguments); - qxVm.memory.private_data.get(this).muted = value + ""; - }, - get networkState() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).networkState, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'networkState', arguments, result); - return result; - }, - get onencrypted() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onencrypted, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'onencrypted', arguments, result); - return result; - }, - set onencrypted(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'onencrypted', arguments); - qxVm.memory.private_data.get(this).onencrypted = value + ""; - }, - get onwaitingforkey() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onwaitingforkey, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'onwaitingforkey', arguments, result); - return result; - }, - set onwaitingforkey(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'onwaitingforkey', arguments); - qxVm.memory.private_data.get(this).onwaitingforkey = value + ""; - }, - pause() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'pause', arguments, result); - return result; - }, - get paused() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).paused, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'paused', arguments, result); - return result; - }, - play() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'play', arguments, result); - return result; - }, - get playbackRate() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).playbackRate, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'playbackRate', arguments, result); - return result; - }, - set playbackRate(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'playbackRate', arguments); - qxVm.memory.private_data.get(this).playbackRate = value + ""; - }, - get played() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).played, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'played', arguments, result); - return result; - }, - get preload() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).preload, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'preload', arguments, result); - return result; - }, - set preload(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'preload', arguments); - qxVm.memory.private_data.get(this).preload = value + ""; - }, - get preservesPitch() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).preservesPitch, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'preservesPitch', arguments, result); - return result; - }, - set preservesPitch(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'preservesPitch', arguments); - qxVm.memory.private_data.get(this).preservesPitch = value + ""; - }, - get readyState() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).readyState, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'readyState', arguments, result); - return result; - }, - get remote() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).remote, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'remote', arguments, result); - return result; - }, - get seekable() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).seekable, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'seekable', arguments, result); - return result; - }, - get seeking() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).seeking, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'seeking', arguments, result); - return result; - }, - setSinkId() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLMediaElement', 'setSinkId', arguments, result); - return result; - }, - get sinkId() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).sinkId, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'sinkId', arguments, result); - return result; - }, - get src() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).src, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'src', arguments, result); - return result; - }, - set src(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'src', arguments); - qxVm.memory.private_data.get(this).src = value + ""; - }, - get srcObject() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).srcObject, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'srcObject', arguments, result); - return result; - }, - set srcObject(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'srcObject', arguments); - qxVm.memory.private_data.get(this).srcObject = value + ""; - }, - get textTracks() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).textTracks, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'textTracks', arguments, result); - return result; - }, - get volume() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).volume, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'volume', arguments, result); - return result; - }, - set volume(value) { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMediaElement', 'volume', arguments); - qxVm.memory.private_data.get(this).volume = value + ""; - }, - get webkitAudioDecodedByteCount() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).webkitAudioDecodedByteCount, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMediaElement', 'webkitAudioDecodedByteCount', arguments, result); - return result; - }, - get webkitVideoDecodedByteCount() { - if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).webkitVideoDecodedByteCount, ""); - } - }; - - for (let key in $attributes) { - if ($attributes.hasOwnProperty(key)) { - const value = $attributes[key]; - Object.defineProperty(HTMLMediaElement, key, { value: value, configurable: false, enumerable: true, writable: false }); - Object.defineProperty(HTMLMediaElement.prototype, key, { value: value, configurable: false, enumerable: true, writable: false }); - } - }; - - qxVm.rename(HTMLMediaElement.prototype, "HTMLMediaElement"); - qxVm.safeDescriptor_addConstructor(HTMLMediaElement); - qxVm.safe_Objattribute(HTMLMediaElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLMediaElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLMediaElement, HTMLElement); - -})(); - -HTMLMetaElement = function HTMLMetaElement(createObj_key) { - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLMetaElement); - -; (function () { - const $safe_get_attribute = ['content', 'httpEquiv', 'media', 'name', 'scheme']; - const $safe_set_attribute = ['content', 'httpEquiv', 'media', 'name', 'scheme']; - const $safe_func_attribute = []; - HTMLMetaElement.prototype = { - - get content() { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).content, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMetaElement', 'content', arguments, result); - return result; - }, - set content(value) { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMetaElement', 'content', arguments); - qxVm.memory.private_data.get(this).content = value + ""; - }, - get httpEquiv() { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).httpEquiv, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMetaElement', 'httpEquiv', arguments, result); - return result; - }, - set httpEquiv(value) { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMetaElement', 'httpEquiv', arguments); - qxVm.memory.private_data.get(this).httpEquiv = value + ""; - }, - get media() { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).media, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMetaElement', 'media', arguments, result); - return result; - }, - set media(value) { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMetaElement', 'media', arguments); - qxVm.memory.private_data.get(this).media = value + ""; - }, - get name() { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).name, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMetaElement', 'name', arguments, result); - return result; - }, - set name(value) { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMetaElement', 'name', arguments); - qxVm.memory.private_data.get(this).name = value + ""; - }, - get scheme() { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).scheme, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLMetaElement', 'scheme', arguments, result); - return result; - }, - set scheme(value) { - if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLMetaElement', 'scheme', arguments); - qxVm.memory.private_data.get(this).scheme = value + ""; - }, - } - qxVm.rename(HTMLMetaElement.prototype, "HTMLMetaElement"); - qxVm.safeDescriptor_addConstructor(HTMLMetaElement); - qxVm.safe_Objattribute(HTMLMetaElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLMetaElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLMetaElement, HTMLElement); -})(); - -qxVm.memory.htmlElements["meta"] = function () { - return new HTMLMetaElement(qxVm.memory.$createObj_key); -} -HTMLScriptElement = function HTMLScriptElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLScriptElement); - - -;(function(){ - const $safe_get_attribute = ['async', 'charset', 'crossOrigin', 'defer', 'event', 'htmlFor', 'integrity', 'noModule', 'referrerPolicy', 'src', 'text', 'type']; - const $safe_set_attribute = ['async', 'charset', 'crossOrigin', 'defer', 'event', 'htmlFor', 'integrity', 'noModule', 'referrerPolicy', 'src', 'text', 'type']; - const $safe_func_attribute = []; - - HTMLScriptElement.prototype = { - get async(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).async, true); - }, - set async(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).async = value + ""; - }, - get charset(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).charset, ""); - }, - set charset(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).charset = value + ""; - }, - get crossOrigin(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).crossOrigin, null); - }, - set crossOrigin(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).crossOrigin = value + ""; - }, - get defer(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).defer, false); - }, - set defer(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).defer = value + ""; - }, - get event(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).event, ""); - }, - set event(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).event = value + ""; - }, - get htmlFor(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).htmlFor, ""); - }, - set htmlFor(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).htmlFor = value + ""; - }, - get integrity(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).integrity, ""); - }, - set integrity(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).integrity = value + ""; - }, - get noModule(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).noModule, false); - }, - set noModule(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).noModule = value + ""; - }, - get referrerPolicy(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).referrerPolicy, null); - }, - set referrerPolicy(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).referrerPolicy = value + ""; - }, - get src(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).src, ""); - }, - set src(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).src = value + ""; - }, - get text(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).text, ""); - }, - set text(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).text = value + ""; - }, - get type(){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - return qxVm.abs(qxVm.memory.private_data.get(this).type, ""); - }, - set type(value){ - if (!HTMLScriptElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).type = value + ""; - } - }; - - - qxVm.rename(HTMLScriptElement.prototype, "HTMLScriptElement"); - qxVm.safeDescriptor_addConstructor(HTMLScriptElement); - qxVm.safe_Objattribute(HTMLScriptElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLScriptElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLScriptElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["script"] = function () { - return new HTMLScriptElement(qxVm.memory.$createObj_key); -} - - -HTMLSpanElement = function HTMLSpanElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLSpanElement); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - HTMLSpanElement.prototype = {}; - - qxVm.rename(HTMLSpanElement.prototype, "HTMLSpanElement"); - qxVm.safeDescriptor_addConstructor(HTMLSpanElement); - qxVm.safe_Objattribute(HTMLSpanElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLSpanElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLSpanElement, HTMLElement); - -})(); - -qxVm.memory.htmlElements["span"] = function () { - return new HTMLSpanElement(qxVm.memory.$createObj_key); -} - -HTMLTitleElement = function HTMLTitleElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLTitleElement); - - - -; (function () { - const $safe_get_attribute = ['text']; - const $safe_set_attribute = ['text']; - const $safe_func_attribute = []; - - HTMLTitleElement.prototype = { - get text() { - if (!HTMLTitleElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - let result = qxVm.abs(qxVm.memory.private_data.get(this).text, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLTitleElement', 'text', arguments, result); - return result; - }, - set text(value) { - if (!HTMLTitleElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } - qxVm.memory.private_data.get(this).text = value + ""; - } - }; - - qxVm.rename(HTMLTitleElement.prototype, "HTMLTitleElement"); - qxVm.safeDescriptor_addConstructor(HTMLTitleElement); - qxVm.safe_Objattribute(HTMLTitleElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLTitleElement.prototype, HTMLElement.prototype); - Object.setPrototypeOf(HTMLTitleElement, HTMLElement); - -})(); -qxVm.memory.htmlElements["title"] = function () { - return new HTMLTitleElement(qxVm.memory.$createObj_key); -} - -HTMLAudioElement = function HTMLAudioElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLAudioElement); - -; (function () { - const $safe_get_attribute = []; - const $safe_set_attribute = []; - const $safe_func_attribute = []; - - HTMLAudioElement.prototype = {}; - - qxVm.rename(HTMLAudioElement.prototype, "HTMLAudioElement"); - qxVm.safeDescriptor_addConstructor(HTMLAudioElement); - qxVm.safe_Objattribute(HTMLAudioElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLAudioElement.prototype, HTMLMediaElement.prototype); - Object.setPrototypeOf(HTMLAudioElement, HTMLMediaElement); - -})(); - -qxVm.memory.htmlElements["audio"] = function () { - return new HTMLAudioElement(qxVm.memory.$createObj_key); -} - - -HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数 - if (createObj_key !== qxVm.memory.$createObj_key) { - throw new TypeError("Illegal constructor"); - } - qxVm.memory.private_data.set(this, {}) -}; qxVm.safefunction(HTMLVideoElement); - -; (function () { - const $safe_get_attribute = [ - 'disablePictureInPicture', 'height', 'onenterpictureinpicture', 'onleavepictureinpicture', 'playsInline', 'poster', 'videoHeight', 'videoWidth', - 'webkitDecodedFrameCount', 'webkitDisplayingFullscreen', 'webkitDroppedFrameCount', 'webkitSupportsFullscreen', 'width' - ]; - const $safe_set_attribute = ['disablePictureInPicture', 'height', 'onenterpictureinpicture', 'onleavepictureinpicture', 'playsInline', 'poster', 'width']; - const $safe_func_attribute = [ - 'cancelVideoFrameCallback', 'getVideoPlaybackQuality', 'requestPictureInPicture', 'requestVideoFrameCallback', 'webkitEnterFullScreen', 'webkitEnterFullscreen', - 'webkitExitFullScreen', 'webkitExitFullscreen' - ]; - - HTMLVideoElement.prototype = { - cancelVideoFrameCallback() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'cancelVideoFrameCallback', arguments, result); - return result; - }, - get disablePictureInPicture() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).disablePictureInPicture, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'disablePictureInPicture', arguments, result); - return result; - }, - set disablePictureInPicture(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'disablePictureInPicture', arguments); - qxVm.memory.private_data.get(this).disablePictureInPicture = value + ""; - }, - getVideoPlaybackQuality() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'getVideoPlaybackQuality', arguments, result); - return result; - }, - get height() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).height, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'height', arguments, result); - return result; - }, - set height(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'height', arguments); - qxVm.memory.private_data.get(this).height = value + ""; - }, - get onenterpictureinpicture() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onenterpictureinpicture, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'onenterpictureinpicture', arguments, result); - return result; - }, - set onenterpictureinpicture(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'onenterpictureinpicture', arguments); - qxVm.memory.private_data.get(this).onenterpictureinpicture = value + ""; - }, - get onleavepictureinpicture() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).onleavepictureinpicture, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'onleavepictureinpicture', arguments, result); - return result; - }, - set onleavepictureinpicture(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'onleavepictureinpicture', arguments); - qxVm.memory.private_data.get(this).onleavepictureinpicture = value + ""; - }, - get playsInline() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).playsInline, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'playsInline', arguments, result); - return result; - }, - set playsInline(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'playsInline', arguments); - qxVm.memory.private_data.get(this).playsInline = value + ""; - }, - get poster() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).poster, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'poster', arguments, result); - return result; - }, - set poster(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - if (qxVm.config.log_print === true) qxVm.logAdd('Set', 'HTMLVideoElement', 'poster', arguments); - qxVm.memory.private_data.get(this).poster = value + ""; - }, - requestPictureInPicture() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'requestPictureInPicture', arguments, result); - return result; - }, - requestVideoFrameCallback() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'requestVideoFrameCallback', arguments, result); - return result; - }, - get videoHeight() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).videoHeight, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'videoHeight', arguments, result); - return result; - }, - get videoWidth() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).videoWidth, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'videoWidth', arguments, result); - return result; - }, - get webkitDecodedFrameCount() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).webkitDecodedFrameCount, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'webkitDecodedFrameCount', arguments, result); - return result; - }, - get webkitDisplayingFullscreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).webkitDisplayingFullscreen, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'webkitDisplayingFullscreen', arguments, result); - return result; - }, - get webkitDroppedFrameCount() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).webkitDroppedFrameCount, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'webkitDroppedFrameCount', arguments, result); - return result; - }, - webkitEnterFullScreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'webkitEnterFullScreen', arguments, result); - return result; - }, - webkitEnterFullscreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'webkitEnterFullscreen', arguments, result); - return result; - }, - webkitExitFullScreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'webkitExitFullScreen', arguments, result); - return result; - }, - webkitExitFullscreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = undefined; - if (qxVm.config.log_print === true) qxVm.logAdd('Func', 'HTMLVideoElement', 'webkitExitFullscreen', arguments, result); - return result; - }, - get webkitSupportsFullscreen() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).webkitSupportsFullscreen, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'webkitSupportsFullscreen', arguments, result); - return result; - }, - get width() { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - let result = qxVm.abs(qxVm.memory.private_data.get(this).width, "");; - if (qxVm.config.log_print === true) qxVm.logAdd('Get', 'HTMLVideoElement', 'width', arguments, result); - return result; - }, - set width(value) { - if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; - qxVm.memory.private_data.get(this).width = value + ""; - } - }; - - qxVm.rename(HTMLVideoElement.prototype, "HTMLVideoElement"); - qxVm.safeDescriptor_addConstructor(HTMLVideoElement); - qxVm.safe_Objattribute(HTMLVideoElement, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute); - - Object.setPrototypeOf(HTMLVideoElement.prototype, HTMLMediaElement.prototype); - Object.setPrototypeOf(HTMLVideoElement, HTMLMediaElement); - -})(); - -qxVm.memory.htmlElements["video"] = function () { - return new HTMLVideoElement(qxVm.memory.$createObj_key); -} - - -Image = function Image() { - return new HTMLImageElement(qxVm.memory.$createObj_key); -}; qxVm.safefunction(Image); - -; (function () { - Image.prototype = HTMLImageElement.prototype; -})(); - -document = new HTMLDocument(qxVm.memory.$createObj_key); -; (function () { - let $attribute_map = { - 'location': location - } - - for (const key in $attribute_map) { - if (Object.hasOwnProperty.call($attribute_map, key)) { - const value = $attribute_map[key]; - Object.defineProperty(document, key, { - get() { return value; }, - set(value) { }, - configurable: false, - enumerable: true - }); - qxVm.safefunction(Object.getOwnPropertyDescriptor(document, key)['get'], `get ${key}`, true); - qxVm.safefunction(Object.getOwnPropertyDescriptor(document, key)['set'], `set ${key}`, true); - } - }; - - Object.setPrototypeOf(document.body, HTMLBodyElement.prototype); - - let get_set_attribute_map = { - document: [document, true, false, false, true] - } - - for (const key in get_set_attribute_map) { - if (Object.hasOwnProperty.call(get_set_attribute_map, key)) { - const element = get_set_attribute_map[key]; - const value = element[0], - get = element[1], - set = element[2], - configurable = element[3], - enumerable = element[4]; - - let desc = { - get() { return value }, - set(value) { }, - configurable: configurable, - enumerable: enumerable - } - if (set === false) { - desc.set = undefined; - } - Object.defineProperty(window, key, desc); - - qxVm.safefunction(Object.getOwnPropertyDescriptor(window, key)['get'], `get ${key}`, true); - if (set === true) { - qxVm.safefunction(Object.getOwnPropertyDescriptor(window, key)['set'], `set ${key}`, true); - } - } - }; - -})(); - - -qxVm.memory.htmlCollection[0] = new HTMLBodyElement(qxVm.memory.$createObj_key); - -qxVm.memory.htmlCollection[1] = new HTMLHeadElement(qxVm.memory.$createObj_key); - -Node = qxVm.proxy(Node, "Node"); -window = qxVm.proxy(window, "window"); -top = qxVm.proxy(top, "top"); -parent = qxVm.proxy(parent, "parent"); -self = qxVm.proxy(self, "self"); -Window = qxVm.proxy(Window, "Window"); -location = qxVm.proxy(location, "location"); -Location = qxVm.proxy(Location, "Location"); -navigator = qxVm.proxy(navigator, "navigator"); -Navigator = qxVm.proxy(Navigator, "Navigator"); -document = qxVm.proxy(document, "document"); -Document = qxVm.proxy(Document, "Document"); -screen = qxVm.proxy(screen, "screen"); -Screen = qxVm.proxy(Screen, "Screen"); -history = qxVm.proxy(history, "history"); -History = qxVm.proxy(History, "History"); -Storage = qxVm.proxy(Storage, "Storage"); -localStorage = qxVm.proxy(localStorage, "localStorage"); -sessionStorage = qxVm.proxy(sessionStorage, "sessionStorage"); -MimeType = qxVm.proxy(MimeType, "MimeType"); -MimeTypeArray = qxVm.proxy(MimeTypeArray, "MimeTypeArray"); -Plugin = qxVm.proxy(Plugin, "Plugin"); -PluginArray = qxVm.proxy(PluginArray, "PluginArray"); -Element = qxVm.proxy(Element, "Element"); -HTMLElement = qxVm.proxy(HTMLElement, "HTMLElement"); -HTMLDocument = qxVm.proxy(HTMLDocument, "HTMLDocument"); -CharacterData = qxVm.proxy(CharacterData, "CharacterData"); -Attr = qxVm.proxy(Attr, "Attr"); -HTMLBodyElement = qxVm.proxy(HTMLBodyElement, "HTMLBodyElement"); -HTMLDivElement = qxVm.proxy(HTMLDivElement, "HTMLDivElement"); - -/** - * 设置为用户的配置 - */ -qxVm.config['logOpen'] = qxVm_module.nodeConfig.logOpen -qxVm.config['proxy'] = qxVm_module.nodeConfig.proxy - -qxVm.memory.finish = true; -qxVm.console_log('框架代码加载完毕 !!!') - -Date.now = function now() { return 1661986251253 }; -Date.parse = function () { return 1661986251253 }; -Date.prototype.valueOf = function () { return 1661986251253 }; -Date.prototype.getTime = function () { return 1661986251253 }; -Date.prototype.toString = function () { return 1661986251253 }; - -Math.random = function random() { return 0.08636862211354912 }; - - -/***************************************************** - * - * - * Author: sml2h3 - * Date: 2022/2/10 10:59 - * File: source140.js - * Project: WebStorm - *****************************************************/ - debugger; -window.HTMLElement; - - -!function () { - function e(r, s, d, p, v) { - var u; - var g; - var m; - var y; - var R; - - var _; - - var L; - var T; - var M; - var I; - var P; - var D; - var N; - var U; - var B; - var z; - var V; - var Q; - var W; - var G; - var F; - var q; - var H; - var X; - var J; - var K; - var Y; - var $; - var Z; - var ee; - var oe; - var ne; - var te; - var re; - var ae; - var ie; - var he; - var ce; - var se; - var de; - var pe; - var ve; - var ue; - var ge; - var le; - var Ce; - var fe; - var me; - var be; - var Ae; - var ke; - var Se; - var xe; - var we; - var je; - var Oe; - var ye; - var Ee; - var Re; - - var _e; - - var Le; - var Te; - var Me; - var Ie; - var Pe; - var De; - var Ne; - var Ue; - var Be; - var ze; - var Ve; - var Qe; - var We; - var Ge; - var Fe; - var qe; - var He; - var Xe; - var Je; - var Ke; - var Ye; - var $e; - var Ze; - var eo; - var oo; - var no; - var to; - var ro; - var ao; - var io; - var ho; - var co; - var so; - var po; - var vo; - var uo; - var go; - var lo; - var Co; - var fo; - var mo; - var bo; - var Ao; - var ko; - var So; - var xo; - var wo; - var jo; - var Oo; - var yo; - var Eo; - var Ro; - - var _o; - - var Lo; - var To; - var Mo; - var Io; - var Po; - var Do; - var No; - var Uo; - var Bo; - var zo; - var Vo; - var Qo; - var Wo; - var Go; - var Fo; - var qo; - var Ho; - var Xo; - var Jo; - var Ko; - var Yo; - var $o; - var Zo; - var en; - var on; - var nn; - var tn; - var rn; - var an; - var hn; - var cn; - var sn; - var dn; - var pn; - var vn; - var un; - var gn; - var ln; - var Cn; - var fn; - var mn; - var bn; - var An; - var kn; - var Sn; - var xn; - var wn; - var jn; - var On; - var yn; - var En; - var Rn; - - var _n; - - var Ln; - var Tn; - var Mn; - var In; - var Pn; - var Dn; - var Nn; - var Un; - var Bn; - var zn; - var Vn; - var Qn; - var Wn; - var Gn; - var Fn; - var qn; - var Hn; - var Xn; - var Jn; - var Kn; - var Yn; - var $n; - var Zn; - var et; - var ot; - var nt; - var tt; - var rt; - var at; - var it; - var ht; - var ct; - var st; - var dt; - var pt; - var vt; - var ut; - var gt; - var lt; - var Ct; - var ft; - var mt; - var bt; - var At; - var kt; - var St; - var xt; - var wt; - var jt; - var Ot; - var yt; - var Et; - var Rt; - - var _t; - - var Lt; - var Tt; - var Mt; - var It; - var Pt; - var Dt; - var Nt; - var Ut; - var Bt; - var zt; - var Vt; - var Qt; - var Wt; - var Gt; - var Ft; - var qt; - var Ht; - var Xt; - var Jt; - var Kt; - var Yt; - var $t; - var Zt; - var er; - var or; - var nr; - var tr; - var rr; - var ar; - var ir; - var hr; - var cr; - var sr; - var dr; - var pr; - var vr; - var ur; - var gr; - var lr; - var Cr; - var fr; - var mr; - var br; - var Ar; - var kr; - var Sr; - var xr; - var wr; - var jr; - var Or; - var yr; - var Er; - var Rr; - - var _r; - - var Lr; - var Tr; - var Mr; - var Ir; - var Pr; - var Dr; - var Nr; - var Ur; - var Br; - var zr; - var Vr; - var Qr; - var Wr; - var Gr; - var Fr; - var qr; - var Hr; - var Xr; - var Jr; - var Kr; - var Yr; - var $r; - var Zr; - var ea; - var oa; - var na; - var ta; - var ra; - var aa; - var ia; - var ha; - var ca; - var sa; - var da; - var pa; - var va; - var ua; - var ga; - var la; - var Ca; - var fa; - var ma; - var ba; - var Aa; - var ka; - var Sa; - var xa; - var wa; - var ja; - var Oa; - var ya; - var Ea; - var Ra; - - var _a; - - var La; - var Ta; - var Ma; - var Ia; - var Pa; - var Da; - var Na; - var Ua; - var Ba; - var za; - var Va; - var Qa; - var Wa; - var Ga; - var Fa; - var qa; - var Ha; - var Xa; - var Ja; - var Ka; - var Ya; - var $a; - var Za; - var ei; - var oi; - var ni; - var ti; - var ri; - var ai; - var ii; - var hi; - var ci; - var si; - var di; - var pi; - var vi; - var ui; - var gi; - oi = this; - Ca = 0 - /* - */ - ; - Or = -1; - - try { - ba = window; - Nt = r; - ur = void 0; - Jo = void 0; - ei = O; - - if (Nt) { - Qn = "object"; - To = typeof Nt !== Qn; - - if (To) { - Jo = void 0; - } else { - Qn = "string"; - In = typeof Nt.type !== Qn; - - if (In) { - Jo = void 0; - } else { - Qn = "target"; - qo = Nt[Qn]; - - if (!qo) { - var Ne = "srcElement"; - qo = Nt[Ne]; - } - - Qn = qo; - - if (Qn) { - Jo = 1; - } - } - } - } else { - Jo = void 0; - } - - Nt = void 0 === ur; - Qn = Jo; - - if (Qn) { - qo = void 0; - En = "mousemove"; - be = 0; - At = ei; - b = 9; - Re = void 0; - kn = ba; - pn = r; - Ie = "mousedown"; - Io = "touchstart"; - Qo = void 0; - Me = At; - me = void 0; - So = pn; - pe = "keyup"; - var X = "touchmove"; - var Jo = "focus"; - - if (!Me[55]) { - Me[55] = []; - } - - yo = "click"; - var uo = "deviceorientation"; - var Ee = "WV.Event.APP.Active"; - var To = "target"; - In = Me[55]; - Ne = In; - In = So; - - if (!In) { - var y = "event"; - In = window[y]; - } - - co = In; - Re = co; - In = Re; - co = In; - y = co[To]; - - if (!y) { - var To = "srcElement"; - y = co[To]; - } - - To = y; - co = In.type; - y = co === Ie; - Re = co === X; - Ln = co === yo; - yo = co === Ee; - pn = co === En; - En = co === uo; - uo = co === Jo; - A = co; - Jo = co === Io; - - if (!uo) { - Ie = "focusin"; - uo = co === Ie; - } - - if (!yo) { - var Ee = "resume"; - yo = co === Ee; - } - - if (!Jo) { - var Ie = "touchend"; - Jo = co === Ie; - } - - Qo = To; - To = co === pe; - Ie = Jo; - - if (!y) { - var Jo = "mouseup"; - y = co === Jo; - } - - Jo = Qo; - Io = yo; - yo = uo; - uo = Jo; - Qo = y; - - if (uo) { - y = "id"; - uo = Jo[y]; - } else { - uo = ""; - } - - y = uo; - - if (!yo) { - uo = "blur"; - yo = co === uo; - } - - uo = y; - y = yo; - yo = uo; - - if (Ne.indexOf) { - Ee = Ne.indexOf(yo); - qo = Ee; - } else { - Ee = 0; - - while (Ee < Ne.length) { - So = Ne[Ee] === yo; - - if (So) { - qo = Ee; - be = 1; - } - - Ee++; - } - - if (!be) { - qo = -1; - } - } - - Ne = qo; - qo = -1 === Ne; - - if (qo) { - be = Me[55]; - Ne = be.length; - be = Me[55]; - be[Ne] = uo; - } - - if (!y) { - var be = "focusout"; - y = co === be; - } - - me = Ne; - - if (En) { - qo = kn; - Ne = In; - uo = void 0; - be = "Date"; - yo = At; - Ee = +new qo[be]() - yo[12]; - qo = Ee - yo[62]; - be = 2 > qo; - - if (be) { - uo = void 0; - } else { - yo[62] = Ee; - - if (!yo[57]) { - yo[57] = []; - } - - ge = []; - X = yo[48]; - u = Ee % 7; - de = yo[57]; - xo = X[u]; - ge[2] = Ee; - u = "alpha"; - var ve = "beta"; - var X = "gamma"; - qo = 100 * Ne[X]; - Me = 100 * Ne[u]; - So = 100 * Ne[ve]; - pe = Me >> 0; - ge[0] = pe ^ xo; - Me = qo >> 0; - qo = So >> 0; - ge[1] = Me ^ xo; - ge[3] = qo ^ xo; - de.push(ge); - qo = yo[57]; - Me = qo.length; - qo = Me > 8192; - - if (qo) { - Me = yo[57]; - Me.unshift(); - } - } - } - - qo = y; - En = me; - - if (Ie) { - uo = kn; - y = In; - Ee = At; - Me = En; - - if (!Ee[18]) { - me = uo; - So = "navigator"; - pe = "userAgent"; - var Ei = Ee; - ge = void 0; - X = "platform"; - u = "navigator"; - de = "arm"; - ve = me[u]; - u = ve[X]; - X = u.indexOf(de); - u = -1 !== X; - X = me[So]; - So = X[pe]; - - if (!u) { - pe = "iPhone"; - X = So.indexOf(pe); - u = -1 !== X; - } - - pe = u; - - if (!pe) { - X = "Firefox/62"; - u = So.indexOf(X); - pe = -1 !== u; - } - - So = pe; - - if (So) { - ge = void 0; - } else { - pe = "AudioContext"; - X = me[pe]; - - if (!X) { - pe = "webkitAudioContext"; - X = me[pe]; - } - - pe = X; - - if (pe) { - try { - Ei[25] = new X(); - } catch (o) { - } - } - - pe = Ei[25]; - - if (pe) { - u = "function"; - var ve = "createOscillator"; - pe = typeof Ei[25][ve] === u; - } - - X = pe; - - if (X) { - pe = "createAnalyser"; - u = "function"; - X = typeof Ei[25][pe] === u; - } - - pe = X; - - if (pe) { - X = "createGain"; - u = "function"; - pe = typeof Ei[25][X] === u; - } - - X = pe; - - if (X) { - ve = "function"; - var de = "createScriptProcessor"; - X = typeof Ei[25][de] === ve; - } - - pe = X; - - if (pe) { - de = "value"; - Qe = "state"; - bn = "setTimeout"; - q = Ei[25]; - eo = "connect"; - Po = Ei[25]; - On = "start"; - re = "gain"; - var u = "createScriptProcessor"; - Fe = "connect"; - Oo = "+"; - var ho = "createGain"; - vo = "createOscillator"; - var Vn = "destination"; - ve = "connect"; - var xo = "sawtooth"; - var Ho = "baseLatency"; - var Xe = "onaudioprocess"; - X = "createAnalyser"; - var dn = "connect"; - qe = q[Ho]; - q = Po[Qe]; - Qe = qe + Oo; - Ei[70] = Qe + q; - qe = Ei[25]; - Qe = qe[vo](); - Qe.type = xo; - xo = Ei[25]; - var Si = xo[X](); - Qe[dn](Si); - Qe[On](0); - X = Ei[25]; - var xi = X[ho](); - X = xi[re]; - X[de] = 0; - X = Ei[25]; - var wi = X[u](4096, 1, 1); - Si[Fe](wi); - X = Ei[25]; - u = X[Vn]; - wi[ve](xi); - xi[eo](u); - - wi[Xe] = function () { - var o = "onaudioprocess"; - wi[o] = null; - e(16, Si, xi, wi); - }; - - X = function () { - var e = "\u0298\u0299\u0296\u0282\u0293\u029e\u0298\u0287\u0285\u0298\u0294\u0292\u0284\u0284"; - var o = ""; - - for (var n = 0; n < e.length; n++) { - var t = 759 ^ e.charCodeAt(n); - o += String.fromCharCode(t); - } - - if (wi[o] = null, !Ei[67]) { - var r = "AcTimeOut"; - Ei[67] = r; - } - }; - - me[bn](X, 1e3); - } else { - X = "ns"; - Ei[67] = X; - } - } - - Ee[18] = 1; - } - - me = void 0; - So = "isTrusted"; - pe = Jo; - var be = "touchend"; - Ne = co === be; - be = Ne; - Ne = be; - - if (Ne) { - var yo = "changedTouches"; - Ne = y[yo]; - } else { - yo = "touches"; - Ne = y[yo]; - } - - yo = Ne; - Ne = y[So] === !1; - - if (Ne) { - Ee[31]++; - } - - if (yo) { - Ne = yo[0]; - - if (Ne) { - u = "pageX"; - de = "id"; - ve = 0; - xo = void 0; - Fe = 0; - qe = "className"; - Qe = "parentNode"; - bn = de; - de = be; - dn = void 0; - q = []; - Pn = 0; - - if (de) { - de = 4; - } else { - de = 5; - } - - Jn = void 0; - On = Ee[48]; - var X = "identifier"; - Vn = qe; - qe = 0; - re = Ne[X]; - X = Qe; - q[5] = de; - de = 0; - var eo = "/"; - y = eo; - - if (Ne[u]) { - eo = "pageX"; - de = Ne[eo]; - var Qe = "pageY"; - ve = Ne[Qe]; - } else { - ho = "clientX"; - Qe = "scrollTop"; - eo = "scrollLeft"; - de = Ne[ho] + Ne[eo]; - ho = "clientY"; - ve = Ne[ho] + Ne[Qe]; - } - - var ge = "Date"; - So = +new uo[ge]() - Ee[12]; - - if (!be) { - Ee[58]++; - ge = pe; - - if (ge) { - var u = "getBoundingClientRect"; - ge = pe[u]; - } - - u = ge; - - if (u) { - ge = "getBoundingClientRect"; - u = pe[ge](); - } - - ge = u; - u = ge; - - if (u) { - var Qe = "width"; - u = ge[Qe] > 10; - } - - ho = u; - - if (ho) { - u = "height"; - ho = ge[u] > 10; - } - - u = ho; - - if (u) { - eo = 0 | ve; - Xe = "height"; - fe = 0 | de; - Co = "x"; - Mo = ge[Xe] / 2; - var Oo = "width"; - ho = ge[Oo] / 2; - Qe = ge[Co] + ho; - ho = 0 | Qe; - Qe = fe === ho; - var vo = "y"; - - if (!Qe) { - Po = ho + 1; - Qe = fe === Po; - } - - ho = Qe; - Qe = ge[vo] + Mo; - Po = 0 | Qe; - - if (ho) { - Qe = eo === Po; - - if (!Qe) { - Oo = Po + 1; - Qe = eo === Oo; - } - - ho = Qe; - } - - Qe = ho; - - if (Qe) { - Ee[24]++; - } - } - } - - ge = uo; - u = So % 7; - q[0] = So; - So = On[u]; - q[12] = Me ^ So; - u = Ee; - ho = y; - q[4] = re ^ So; - q[1] = ve ^ So; - q[9] = de ^ So; - - while (true) { - if (qe) { - Fe++; - } - - qe = 1; - de = 3 > Fe; - - if (de) { - de = pe; - } - - ve = de; - - if (ve) { - de = pe[bn] + y; - ve = de + pe[Vn]; - de = ve + y; - ho += de; - pe = pe[X]; - } else { - break; - } - } - - if (!u[55]) { - u[55] = []; - } - - y = u[55]; - X = y; - y = ho; - y += ""; - de = y; - - if (X.indexOf) { - ve = X.indexOf(de); - dn = ve; - } else { - ve = 0; - - while (ve < X.length) { - Fe = X[ve] === de; - - if (Fe) { - dn = ve; - Pn = 1; - } - - ve++; - } - - if (!Pn) { - dn = -1; - } - } - - X = dn; - de = -1 === X; - - if (de) { - ve = u[55]; - X = ve.length; - ve = u[55]; - ve[X] = y; - } - - Jn = X; - y = Ee; - - if (y[14]) { - X = []; - xo = X; - } else { - X = ge; - u = void 0; - de = "Error"; - ve = X[de]; - - if (ve) { - de = "stackTraceLimit"; - Fe = "stackTraceLimit"; - var qe = "stackTraceLimit"; - X = ve[de]; - ve[qe] = 100; - de = new ve(); - ve[Fe] = X; - X = "stack"; - Fe = de[X] + ""; - u = Fe; - } - - X = u; - - if (X) { - Fe = "\\r\\n|\\n|\\r"; - qe = "g"; - var ve = "collina.js"; - de = "test"; - var Qe = "pop"; - u = new RegExp(ve); - ve = new RegExp(Fe, qe); - Fe = X.split(ve); - ve = Fe[Qe](); - Fe = ve + ""; - ve = u[de](Fe); - - if (!ve) { - y[14] = Fe; - } - } - - X = []; - xo = X; - } - - if (!Ee[56]) { - Ee[56] = []; - } - - ho = Jn; - q[3] = ho ^ So; - y = Ee[56]; - q[7] = []; - y.push(q); - y = Ee[56]; - So = y.length; - y = So > 8192; - - if (y) { - So = Ee[56]; - So.unshift(); - } - } else { - me = void 0; - } - } else { - me = void 0; - } - } - - if (Re) { - Ne = void 0; - uo = At; - be = kn; - yo = Jo; - y = In; - Ie = "touches"; - Ee = "isTrusted"; - Me = En; - me = y[Ie]; - Ie = me[0]; - me = y[Ee] === !1; - - if (me) { - uo[31]++; - } - - if (Ie) { - y = "Date"; - Ee = new be[y](); - y = +Ee; - Ee = y - uo[12]; - me = Ee - uo[20]; - So = 2 > me; - - if (So) { - Ne = void 0; - } else { - pe = void 0; - ge = "clientX"; - X = uo[48]; - u = "document"; - de = void 0; - ve = "body"; - Fe = 0; - qe = "body"; - uo[20] = Ee; - dn = "pageX"; - q = "id"; - var me = "/"; - ho = "parentNode"; - Qe = 0; - eo = 0; - Vn = Ee % 7; - Jn = []; - Po = "clientY"; - On = "className"; - re = X[Vn]; - Jn[2] = y ^ re; - X = q; - var xo = "pageY"; - bn = me; - Jn[5] = 0; - Jn[1] = Ie[xo]; - me = bn; - xo = "body"; - q = uo; - Jn[12] = Me ^ re; - Jn[0] = Ee; - Pn = be[u]; - - if (!q[55]) { - q[55] = []; - } - - if (!uo[56]) { - uo[56] = []; - } - - u = Pn[qe]; - qe = "body"; - Vn = uo[56]; - Oo = q[55]; - Xe = Oo; - Oo = ho; - - if (u) { - fe = "scrollLeft"; - var ho = "body"; - Co = Pn[ho]; - u = Co[fe]; - } else { - u = 0; - } - - ho = Pn[ve]; - ve = On; - - while (true) { - if (Fe) { - Qe++; - } - - Fe = 1; - On = 3 > Qe; - - if (On) { - On = yo; - } - - fe = On; - - if (fe) { - On = yo[X] + bn; - fe = On + yo[ve]; - On = fe + bn; - me += On; - yo = yo[Oo]; - } else { - break; - } - } - - X = u; - - if (ho) { - u = "body"; - ve = "scrollTop"; - Fe = Pn[u]; - ho = Fe[ve]; - } else { - ho = 0; - } - - Jn[9] = Ie[dn]; - u = Ie[ge] + X; - ge = void 0 !== Jn[9]; - X = Pn[qe]; - ve = me; - Fe = ho; - Jn[6] = u ^ re; - - if (ge) { - Jn[9] = Jn[9] ^ re; - Jn[1] = Jn[1] ^ re; - } - - if (X) { - ge = "clientLeft"; - u = "body"; - qe = Pn[u]; - X = qe[ge]; - } else { - X = 0; - } - - ge = Ie[Po] + Fe; - Jn[8] = ge ^ re; - ge = ve; - - if (Xe.indexOf) { - u = Xe.indexOf(ge); - de = u; - } else { - u = 0; - - while (u < Xe.length) { - Fe = Xe[u] === ge; - - if (Fe) { - de = u; - eo = 1; - } - - u++; - } - - if (!eo) { - de = -1; - } - } - - ge = Pn[xo]; - u = de; - de = X; - X = -1 === u; - - if (X) { - xo = q[55]; - Fe = q[55]; - u = xo.length; - Fe[u] = ve; - } - - pe = u; - - if (ge) { - var X = "body"; - u = Pn[X]; - X = "clientTop"; - ge = u[X]; - } else { - ge = 0; - } - - Jn[10] = de ^ re; - me = pe; - pe = ge; - Jn[3] = me ^ re; - Jn[11] = pe ^ re; - Vn.push(Jn); - me = uo[56]; - pe = me.length; - me = pe > 8192; - - if (me) { - pe = uo[56]; - pe.unshift(); - } - } - } else { - Ne = void 0; - } - } - - if (Qo) { - Ne = 0; - uo = Jo; - y = En; - Re = "mouseup"; - Ie = "parentNode"; - Me = "IMG"; - So = 0; - pe = "id"; - ge = At; - u = "pageY"; - var be = "which"; - xo = void 0; - Fe = kn; - ho = []; - dn = 0; - q = In; - Pn = "toUpperCase"; - Vn = 0; - - if (!ge[18]) { - Jn = Fe; - On = void 0; - re = "userAgent"; - Xe = "navigator"; - Co = "arm"; - var Pi = ge; - Ho = "navigator"; - var Oo = "platform"; - Po = Jn[Xe]; - Xe = Jn[Ho]; - fe = Po[re]; - Po = Xe[Oo]; - re = Po.indexOf(Co); - Po = -1 !== re; - - if (!Po) { - var Oo = "iPhone"; - re = fe.indexOf(Oo); - Po = -1 !== re; - } - - re = Po; - - if (!re) { - Po = "Firefox/62"; - Oo = fe.indexOf(Po); - re = -1 !== Oo; - } - - Po = re; - - if (Po) { - On = void 0; - } else { - re = "AudioContext"; - Oo = Jn[re]; - - if (!Oo) { - re = "webkitAudioContext"; - Oo = Jn[re]; - } - - re = Oo; - - if (re) { - try { - Pi[25] = new Oo(); - } catch (e) { - } - } - - re = Pi[25]; - - if (re) { - Oo = "function"; - Xe = "createOscillator"; - re = typeof Pi[25][Xe] === Oo; - } - - Oo = re; - - if (Oo) { - Co = "function"; - var Xe = "createAnalyser"; - Oo = typeof Pi[25][Xe] === Co; - } - - re = Oo; - - if (re) { - Oo = "createGain"; - var Co = "function"; - re = typeof Pi[25][Oo] === Co; - } - - Oo = re; - - if (Oo) { - re = "function"; - Xe = "createScriptProcessor"; - Oo = typeof Pi[25][Xe] === re; - } - - re = Oo; - - if (re) { - Oo = "connect"; - vo = "createAnalyser"; - gt = "setTimeout"; - zn = "sawtooth"; - it = "createOscillator"; - T = Pi[25]; - m = "connect"; - var B = "onaudioprocess"; - var Y = "+"; - Ho = "destination"; - R = "value"; - var Mo = "connect"; - yn = Pi[25]; - var ke = "gain"; - var Un = "createScriptProcessor"; - V = "connect"; - P = "baseLatency"; - var fe = "createGain"; - var st = "start"; - var zo = "state"; - Xe = yn[zo]; - Co = T[P]; - yn = Co + Y; - Pi[70] = yn + Xe; - Xe = Pi[25]; - Co = Xe[it](); - Xe = Pi[25]; - Co.type = zn; - var Ui = Xe[vo](); - Xe = Pi[25]; - var Bi = Xe[fe](); - Co[V](Ui); - Co[st](0); - Xe = Bi[ke]; - Xe[R] = 0; - Xe = Pi[25]; - var zi = Xe[Un](4096, 1, 1); - Ui[m](zi); - zi[Oo](Bi); - Oo = Pi[25]; - Xe = Oo[Ho]; - Bi[Mo](Xe); - - zi[B] = function () { - var o = "onaudioprocess"; - zi[o] = null; - e(16, Ui, Bi, zi); - }; - - Oo = function () { - var e = "o"; - - if (e += "naud", e += "io", e += "process", zi[e] = null, !Pi[67]) { - var o = ""; - var n = "\u02f8\u031a\u030b\u0320\u0324\u031c\u0306\u032c\u032b"; - - for (var t = 0; t < n.length; t++) { - var r = n.charCodeAt(t) - 695; - o += String.fromCharCode(r); - } - - Pi[67] = o; - } - }; - - Jn[gt](Oo, 1e3); - } else { - Oo = "ns"; - Pi[67] = Oo; - } - } - - ge[18] = 1; - } - - On = void 0 !== q[be]; - be = pe; - pe = "mousedown"; - re = ge[48]; - var Oo = "pageX"; - - if (On) { - var Po = "which"; - On = q[Po] <= 3; - } - - var qe = "isTrusted"; - Qe = q[qe] === !1; - qe = q[Oo]; - Oo = void 0; - Xe = void 0 === qe; - var Po = "/"; - - if (Qe) { - ge[31]++; - } - - me = On; - de = Po; - Qe = q[u]; - On = q.type === pe; - var bn = "nodeName"; - Ee = de; - pe = q.type === Re; - Re = Ie; - - if (me) { - Ie = "which"; - eo = []; - eo.push(0, 0, 1, 2); - fe = eo; - dn = fe[q[Ie]]; - } else { - var fe = "button"; - Ie = void 0 !== q[fe]; - - if (Ie) { - eo = "button"; - Ie = q[eo] <= 4; - } - - eo = Ie; - - if (eo) { - fe = []; - fe.push(2, 0, 2, 0, 1); - Ho = fe; - var Co = "button"; - dn = Ho[q[Co]]; - } - } - - if (Xe) { - Ie = "body"; - Ho = "document"; - Mo = "body"; - var fe = "clientX"; - eo = Fe[Ho]; - Co = eo[Ie]; - - if (Co) { - Ie = "body"; - Ho = eo[Ie]; - Ie = "scrollLeft"; - Co = Ho[Ie]; - } else { - Co = 0; - } - - Ie = eo[Mo]; - - if (Ie) { - var ke = "body"; - var Ho = "scrollTop"; - Mo = eo[ke]; - Ie = Mo[Ho]; - } else { - Ie = 0; - } - - eo = Co; - Co = Ie; - qe = q[fe] + eo; - var me = "clientY"; - Qe = q[me] + Co; - } - - var u = "className"; - var Jn = "Date"; - yo = u; - - if (On) { - ge[58]++; - var u = "buttons"; - Ie = 0 === q[u]; - - if (Ie) { - u = 0 | ge[37]; - ge[37] = u + 1; - } - - Ie = "webkitMovementX"; - u = void 0 !== q[Ie]; - - if (u) { - Ie = 0 | ge[66]; - ge[66] = Ie + 1; - } - - var X = "timeStamp"; - Ie = q[X] > 864e4; - - if (Ie) { - me = 0 | ge[11]; - ge[11] = me + 1; - } - - Ie = uo; - - if (Ie) { - var u = "getBoundingClientRect"; - Ie = uo[u]; - } - - me = Ie; - - if (me) { - Ie = "getBoundingClientRect"; - me = uo[Ie](); - } - - Ie = me; - me = Ie; - - if (me) { - var X = "width"; - me = Ie[X] > 10; - } - - X = me; - - if (X) { - var me = "height"; - X = Ie[me] > 10; - } - - me = X; - - if (me) { - var Xe = "width"; - u = "height"; - Ho = Ie[Xe] / 2; - var X = "x"; - var fe = "y"; - ve = Ie[X] + Ho; - X = 0 | ve; - ve = qe === X; - - if (!ve) { - eo = X + 1; - ve = qe === eo; - } - - X = ve; - ve = Ie[u] / 2; - u = Ie[fe] + ve; - ve = 0 | u; - - if (X) { - u = Qe === ve; - - if (!u) { - eo = ve + 1; - u = Qe === eo; - } - - X = u; - } - - u = X; - - if (u) { - ge[24]++; - } - } - } - - Ie = +new Fe[Jn]() - ge[12]; - me = Ie % 7; - X = re[me]; - ho[2] = qe ^ X; - me = uo[bn]; - ho[11] = Ie; - - if (pe) { - pe = 5; - } else { - pe = 1; - } - - Ie = ge; - - if (!me) { - me = ""; - } - - if (!Ie[55]) { - Ie[55] = []; - } - - ho[17] = y ^ X; - y = me; - me = y[Pn](); - y = Ie[55]; - ho[13] = Qe ^ X; - - if (!ge[47]) { - ge[47] = []; - } - - u = me === Me; - Me = ge[47]; - ve = y; - - if (!u) { - y = "A"; - u = me === y; - } - - ho[15] = pe; - y = uo; - me = u; - - while (true) { - if (So) { - Vn++; - } - - So = 1; - pe = 3 > Vn; - - if (pe) { - pe = y; - } - - u = pe; - - if (u) { - pe = y[be] + de; - u = pe + y[yo]; - pe = u + de; - Ee += pe; - y = y[Re]; - } else { - break; - } - } - - ho[14] = dn ^ X; - be = Ee; - - if (me) { - yo = "getBoundingClientRect"; - me = uo[yo]; - } - - yo = me; - y = be; - - if (ve.indexOf) { - Re = ve.indexOf(y); - Oo = Re; - } else { - Re = 0; - - while (Re < ve.length) { - me = ve[Re] === y; - - if (me) { - Oo = Re; - Ne = 1; - } - - Re++; - } - - if (!Ne) { - Oo = -1; - } - } - - if (yo) { - var y = "left"; - ho[7] = 1 ^ X; - var Re = "getBoundingClientRect"; - Ne = uo[Re](); - ho[12] = Ne[y] ^ X; - var So = "top"; - ho[0] = Ne[So] ^ X; - Ne = "offsetWidth"; - ho[9] = uo[Ne] ^ X; - var ve = "offsetHeight"; - ho[8] = uo[ve] ^ X; - } else { - ho[7] = X; - } - - Ne = Oo; - uo = -1 === Ne; - - if (uo) { - yo = Ie[55]; - Ne = yo.length; - yo = Ie[55]; - yo[Ne] = be; - } - - xo = Ne; - Ee = xo; - ho[6] = Ee ^ X; - Me.push(ho); - Ne = ge[47]; - uo = Ne.length; - Ne = uo > 8192; - - if (Ne) { - uo = ge[47]; - uo.unshift(); - } - } - - if (pn) { - Ne = void 0; - uo = En; - be = In; - yo = At; - Ie = kn; - var Qo = "isTrusted"; - Ee = be[Qo] === !1; - - if (Ee) { - yo[31]++; - } - - var Jo = "Date"; - y = new Ie[Jo](); - Jo = +y; - y = Jo - yo[12]; - Re = y - yo[26]; - Qo = 2 > Re; - - if (Qo) { - Ne = void 0; - } else { - Re = "document"; - Me = "body"; - yo[26] = y; - ho = yo[48]; - Qe = "body"; - bn = void 0; - var Fe = "pageX"; - var So = "body"; - var pe = "clientY"; - ve = []; - var ge = "clientX"; - ve[15] = 3; - ve[2] = be[Fe]; - X = y % 7; - Fe = void 0 !== ve[2]; - var xo = "body"; - var Ee = "pageY"; - ve[11] = y; - ve[13] = be[Ee]; - Ee = Ie[Re]; - Re = ho[X]; - me = yo; - ve[1] = Jo ^ Re; - ve[17] = uo ^ Re; - X = Ee[So]; - - if (!yo[47]) { - yo[47] = []; - } - - if (X) { - So = "body"; - var de = "scrollLeft"; - u = Ee[So]; - X = u[de]; - } else { - X = 0; - } - - So = yo[47]; - u = Ee[Me]; - - if (u) { - de = "scrollTop"; - var Me = "body"; - qe = Ee[Me]; - u = qe[de]; - } else { - u = 0; - } - - if (Fe) { - ve[2] = ve[2] ^ Re; - ve[13] = ve[13] ^ Re; - } - - Me = Ee[Qe]; - de = X; - X = u; - - if (Me) { - var Qe = "body"; - u = Ee[Qe]; - var Fe = "clientLeft"; - Me = u[Fe]; - } else { - Me = 0; - } - - u = be[ge] + de; - ge = be[pe] + X; - ve[16] = u ^ Re; - pe = Me; - ve[3] = ge ^ Re; - Me = Ee[xo]; - ve[5] = pe ^ Re; - - if (Me) { - ge = "body"; - var X = "clientTop"; - pe = Ee[ge]; - Me = pe[X]; - } else { - Me = 0; - } - - Ee = Ie; - pe = Me; - - if (me[14]) { - Me = []; - bn = Me; - } else { - u = void 0; - var X = "Error"; - Me = Ee; - ge = Me[X]; - - if (ge) { - var Me = "stackTraceLimit"; - Fe = "stackTraceLimit"; - ge[Me] = 100; - var de = "stackTraceLimit"; - X = new ge(); - qe = ge[de]; - ge[Fe] = qe; - var xo = "stack"; - Me = X[xo] + ""; - u = Me; - } - - Me = u; - - if (Me) { - X = "collina.js"; - qe = "test"; - var dn = "\\r\\n|\\n|\\r"; - var u = "pop"; - var xo = "g"; - ge = new RegExp(dn, xo); - de = new RegExp(X); - X = Me.split(ge); - ge = X[u](); - X = ge + ""; - ge = de[qe](X); - - if (!ge) { - me[14] = X; - } - } - - Me = []; - bn = Me; - } - - ve[10] = pe ^ Re; - ve[4] = []; - So.push(ve); - Re = yo[47]; - Ee = Re.length; - Re = Ee > 8192; - - if (Re) { - Ee = yo[47]; - Ee.unshift(); - } - } - } - - if (To) { - Jo = At; - uo = kn; - be = []; - be[2] = 0; - - if (!Jo[49]) { - Jo[49] = []; - } - - Re = En; - pn = Jo[48]; - Ie = Jo[49]; - var Ne = "Date"; - yo = +new uo[Ne]() - Jo[12]; - Ne = yo % 7; - be[1] = yo; - uo = pn[Ne]; - be[0] = Re ^ uo; - Ie.push(be); - Ne = Jo[49]; - uo = Ne.length; - Ne = uo > 1024; - - if (Ne) { - uo = Jo[49]; - uo.unshift(); - } - } - - if (qo) { - Jo = En; - To = kn; - be = In; - yo = At; - - if (!yo[61]) { - yo[61] = []; - } - - y = "isTrusted"; - Re = yo[48]; - pn = yo[61]; - Qo = []; - var Ne = "focus"; - uo = be.type === Ne; - - if (!uo) { - Ne = "focusin"; - uo = be.type === Ne; - } - - Ne = uo; - uo = be[y] === !1; - - if (Ne) { - Ne = 1; - } else { - Ne = 0; - } - - be = Ne; - - if (uo) { - yo[31]++; - } - - Ne = "Date"; - uo = +new To[Ne]() - yo[12]; - To = uo % 7; - Ne = Re[To]; - Qo[1] = be ^ Ne; - Qo[2] = uo; - Qo[0] = Jo ^ Ne; - pn.push(Qo); - Jo = yo[61]; - To = Jo.length; - Jo = To > 1024; - - if (Jo) { - To = yo[61]; - To.unshift(); - } - } - - if (Ln) { - To = In; - qo = kn; - En = "isPrimary"; - uo = To[En] === !1; - - if (uo) { - En = 0 | qo[64]; - qo[64] = En + 1; - } - - var Ne = "pointerId"; - Jo = 0 === To[Ne]; - - if (Jo) { - To = 0 | qo[9]; - qo[9] = To + 1; - } - } - - var en = "WV.Event.APP.ackground"; - Jo = co === en; - - if (!Jo) { - var In = "pause"; - Jo = co === In; - } - - To = Jo; - - if (To) { - At[53] = 1; - } - - if (Io) { - At[53] = 0; - } - } - - Jo = +r === r; - - if (Jo) { - Qn = 14 === r; - - if (Qn) { - To = 0; - In = "zeWURhDQZoAbrw_F4km9tlOI5ysBHYE0JC67KS8avqz1gdGpNX3uTnL2VMiPcfj$"; - qo = []; - En = ""; - qo.push(In); - In = "OnlSegCJXqkRd9UsrtoD57fhyviG0Qc2IWTaP_KNmMLZA18FEzVu3BYjzp4bHw6$"; - qo.push(In); - In = w.pop(); - Ne = "jGi8LrT1_SpIE7930DOtezvhgzamMZbuwQUBRdYnJlKN4sc6XPoHWCVk52FfqAy$"; - uo = w.pop(); - qo.push(Ne); - Ne = qo[In]; - - while (uo > To) { - In = w.pop(); - qo = 0; - be = ""; - - while (In > 0) { - qo = In % (Ne.length + 1); - be += Ne.charAt(qo - 1); - In = Math.floor(In / (Ne.length + 1)); - } - - En += be; - To++; - } - - w.push(En); - To = void 0; - return To; - ; - } - } - - if (Nt) { - Jo = ""; - To = +r === r; - In = void 0; - qo = "console"; - En = "context"; - be = "charAt"; - At = "prototype"; - var Ne = "value"; - Qn = Ne; - Ne = En; - En = qo; - qo = "toString"; - uo = qo; - qo = At; - At = be; - be = "call"; - Dt = be; - be = "Function"; - yo = be; - - if (To) { - co = "webgl"; - en = ","; - Ie = "Debug"; - Ee = "getElementsByTagName"; - pe = "match"; - u = "document"; - Qe = "hidden"; - eo = "body"; - Vn = "substr"; - Jn = "getExtension"; - Po = "Object"; - On = "platform"; - re = "replace"; - Ho = "random"; - Mo = "Date"; - yn = "UNMASKED_RENDERER_WEBGL"; - gt = pe; - pe = "top"; - var fe = "get"; - Ln = "i"; - zo = "appendChild"; - st = fe; - var be = "/"; - A = r; - dn = 4 === r; - var ve = "getContext"; - var xo = "attachEvent"; - ge = Qe; - Fe = co; - var me = "addEventListener"; - co = ve; - ve = Ho; - var Pn = "location"; - pn = pe; - Me = "canvas"; - Qe = On; - var Un = "WEBGL_debug_renderer_info"; - Re = "userAgent"; - On = "deviceorientation"; - b = 5; - Oo = re; - var zn = "experimental-webgl"; - kn = "performance"; - Qo = Pn; - var B = "Math"; - ho = zn; - q = xo; - xo = B; - Pn = Un; - var So = "focus"; - y = "UNMASKED_VENDOR_WEBGL"; - Ho = be; - be = "blur"; - B = So; - So = me; - me = eo; - eo = Vn; - Vn = "defineProperty"; - it = Re; - var Un = "passive"; - Re = Jn; - var de = "Flag"; - bn = de; - de = Ln; - var re = "}"; - Ln = Po; - pe = u; - X = kn; - kn = re; - u = On; - Jn = Vn; - Vn = zo; - var Co = "href"; - var Io = "|"; - qe = Me; - Me = Mo; - Po = en; - en = Co; - On = Io; - - if (dn) { - Io = s; - re = ba; - Xe = 0; - Co = Io; - vo = Co.split(Jo); - Co = void 0; - Mo = []; - ke = 0; - zo = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - z = vo; - vo = void 0; - T = "String"; - Se = []; - R = void 0; - V = "fromCharCode"; - Oe = Jo; - K = 0; - var P = "13"; - var m = "success"; - Io = T; - fe = m; - zn = P; - T = zn; - zn = V; - Y = zo; - - while (true) { - zo = K++; - V = z[zo]; - zo = Y.indexOf(V); - V = K++; - P = z[V]; - V = Y.indexOf(P); - P = K++; - m = z[P]; - P = Y.indexOf(m); - m = K++; - N = z[m]; - m = Y.indexOf(N); - N = zo << 2; - Ce = V >> 4; - Z = N | Ce; - N = 15 & V; - Ce = N << 4; - N = P >> 2; - $ = Ce | N; - N = 3 & P; - Ce = N << 6; - N = Ce | m; - Mo.push(Z); - Ce = 64 != P; - - if (Ce) { - Mo.push($); - } - - Ce = 64 != m; - - if (Ce) { - Mo.push(N); - } - - N = Oe; - $ = N; - Z = $; - m = Oe; - P = m; - V = P; - zo = V; - zo = K < z.length; - - if (!zo) { - break; - } - } - - vo = Mo; - Mo = vo; - vo = Jo; - - while (ke < Mo.length) { - zo = Mo[ke] ^ T; - z = 255 & zo; - Se.push(z); - T = z; - ke++; - } - - R = Se; - Mo = R; - - while (Xe < Mo.length) { - ke = re[Io]; - zo = ke[zn](Mo[Xe]); - vo += zo; - Xe++; - } - - Io = vo.length > 0; - - if (Io) { - var re = "{"; - Io = vo[0] === re; - } - - re = Io; - - if (re) { - Io = Mo.length - 1; - Xe = vo[Io]; - re = Xe === kn; - } - - Io = re; - - if (Io) { - re = {}; - re[fe] = !0; - Xe = "data"; - re[Xe] = vo; - Xe = re; - Co = Xe; - } else { - re = {}; - re[fe] = !1; - Xe = re; - Co = Xe; - } - - ur = Co; - } - - Io = Ie; - Ie = Un; - dn = 8 === r; - re = 26 === r; - Xe = 25 === r; - - if (Xe) { - fe = ei; - Co = fe[56]; - vo = ba; - Mo = fe[47]; - ke = +new vo[Me]() - fe[12]; - - if (Mo) { - vo = []; - vo[15] = 2; - vo[11] = ke; - Mo.push(vo); - vo = Mo.length > 8192; - - if (vo) { - Mo.unshift(); - } - } - - if (!fe[39]) { - fe[39] = []; - } - - vo = fe[39]; - - if (Co) { - Mo = []; - Mo[5] = 3; - Mo[0] = ke; - Co.push(Mo); - Mo = Co.length > 8192; - - if (Mo) { - Co.unshift(); - } - } - - vo.push(ke); - Co = fe[39]; - vo = Co.length; - Co = vo > 128; - - if (Co) { - vo = fe[39]; - vo.unshift(); - } - - ur = void 0; - } - - Xe = yn; - - if (dn) { - fe = s; - Co = ei; - Co[72] = fe; - ur = void 0; - } - - dn = Ee; - Ee = y; - y = be; - be = "test"; - fe = "src"; - Co = be; - be = fe; - - if (re) { - fe = "&e="; - Mo = d; - yn = void 0; - Un = "_uab_img_"; - z = "&stack="; - Se = "file:"; - Y = "onload"; - V = p; - P = "&line="; - var R = "//acjs.aliyun.com/error?v="; - zo = "Image"; - zn = v; - m = "protocol"; - var ke = "&jsv="; - vo = R + 140; - T = ba; - R = s; - Oe = T; - K = vo + ke; - vo = K + 100; - ke = Oe[Qo]; - Oe = ke[m]; - ke = Oe === Se; - var _i = T; - T = new _i[zo](); - zo = _i[xo]; - Se = zo[ve](); - zo = 1e6 * Se; - Se = 0 | zo; - var Li = Un + Se; - zo = vo + fe; - _i[Li] = T; - fe = zo + R; - vo = fe + z; - fe = vo + Mo; - vo = "onerror"; - Mo = vo; - - T[Mo] = function () { - try { - delete _i[Li]; - } catch (e) { - _i[Li] = null; - } - }; - - vo = fe + P; - T[Y] = T[Mo]; - fe = vo + V; - - if (zn) { - var vo = "&type="; - Mo = vo + zn; - fe += Mo; - } - - vo = fe; - - if (ke) { - var fe = "^\\/\\/"; - Mo = new RegExp(fe); - ke = Mo[Co](vo); - } - - fe = ke; - - if (fe) { - var zo = "http:"; - vo = zo + vo; - } - - yn = vo; - fe = yn; - vo = fe; - debugger; - T[be] = vo; - ur = void 0; - } - - re = 27 === r; - fe = "navigator"; - vo = fe; - fe = "bind"; - Mo = fe; - fe = "iPhoneiPadiPod"; - yn = fe; - fe = "createElement"; - ke = "getParameter"; - zo = fe; - fe = ke; - ke = "getOwnPropertyDescriptor"; - Un = ke; - ke = "head"; - zn = ke; - - if (re) { - ke = void 0; - z = "_uab_module"; - T = "register"; - Se = ba; - R = "__acjs"; - Y = "uab"; - Oe = Se[j]; - K = Y; - var V = "uabModule"; - Y = V; - V = T; - T = R; - R = Se[T]; - Se[T] = 1; - T = z; - - if (!R) { - R = Se[T]; - } - - z = R; - Se[T] = 1; - T = "AWSCInner"; - R = T; - - if (Oe) { - T = Se; - P = T[R]; - m = Oe; - - if (P) { - P = m; - } - - N = P; - - if (N) { - P = T[R]; - P[V](Y, K, m); - } - - ke = void 0; - } else { - P = "ontouchstart"; - Ce = void 0; - Z = "PointerEvent"; - $ = 4294967296; - Xo = "WindVane"; - G = "catch"; - po = "ScriptEngineBuildVersion"; - M = "WebKitPlaybackTargetAvailabilityEvent"; - Q = []; - _ = "AlipayJSBridge"; - An = "_n1t|_n1z"; - I = []; - U = "getVersion"; - mn = 0; - J = "__wxjs_environment"; - Xn = "mozPaintCount"; - ze = void 0; - et = []; - Ue = 0; - le = "keyup"; - Go = "&native=1"; - Lo = "hasOwnProperty"; - un = "chrome"; - D = "resetSA"; - jo = "arm|iphone|ipad|ipod"; - De = "isAvailables"; - Te = "getEntriesByName"; - yt = 2; - se = !ze; - ne = new Se[Me](); - pr = void 0; - Wn = An; - An = "decryptJSON"; - Ao = Se[vo]; - Le = void 0; - te = 4 * yt; - he = void 0; - Ye = "then"; - jn = void 0; - vn = J; - var bo = "origin"; - ie = void 0; - J = bo; - bo = D; - D = void 0; - mo = []; - pt = "pc_native=1"; - gr = O; - var H = "UA_Opt"; - m = G; - G = "tmd_nc=1"; - Ct = H; - H = Ye; - Ye = "browser"; - mt = "WeixinJSBridge"; - sr = Xo; - var ze = "ScriptEngineMinorVersion"; - var N = "mozInnerScreenX"; - Xo = N; - var bt = "miniprogram"; - N = "webkitMatchesSelector"; - W = "webkitRTCPeerConnection"; - g = !he; - gr[12] = +ne; - Dn = []; - Ro = gr[12]; - Pt = Z; - I.push(1, 1, 1, 1); - Z = Ro; - Ro = I; - I = Xn; - var L = "currentScript"; - Xn = "Element"; - $e = M; - M = Z / $; - ne = po; - po = 0 | M; - M = new RegExp(jo, de); - var T = "buildID"; - jo = Xn; - Xn = An; - An = ze; - ze = po * $; - $ = Lo; - Lo = Z - ze; - Z = po; - po = P; - P = Te; - ze = Z >> 8; - Te = Z >> 24; - Gn = Z >> 16; - he = W; - W = N; - N = Lo; - Lo = 255 & Te; - Te = 255 & Z; - Z = N >> 24; - Wo = 255 & ze; - ze = 255 & Gn; - Q.push(Lo, ze, Wo, Te); - ze = N >> 16; - Lo = 255 & N; - Te = 255 & ze; - ze = 255 & Z; - ie = Q; - Z = ie; - ie = N >> 8; - N = 255 & ie; - mo.push(ze, Te, N, Lo); - Le = mo; - N = Le; - ie = Z.concat(N); - D = ie; - gr[48] = D; - N = "getBattery"; - Z = N; - N = Ao[Z]; - - if (N) { - N = e[Mo]; - } - - ie = N; - - if (ie) { - N = Se[vo]; - Q = N[Z](); - - if (Q) { - gr[50] = 2; - N = e[Mo](0, 9); - ze = e[Mo](0, 5); - debugger; - Lo = Q[H](N); - Lo[m](ze); - } - } - - N = gr; - N[0] = []; - Z = Se; - ie = Z[un]; - N[35] = Ro; - - if (ie) { - un = "cookies"; - var N = "history"; - ze = ie[N]; - var Z = "bookmarks"; - - if (ze) { - Ro[0] = 2; - N = "text"; - Q = {}; - Lo = "startTime"; - D = "maxResults"; - Te = e[Mo](0, 10); - Q[N] = Jo; - N = "search"; - Q[D] = 1e5; - Q[Lo] = 0; - Lo = Q; - ze[N](Lo, Te); - } - - N = ie[Z]; - - if (N) { - Ro[1] = 2; - Z = "getRecent"; - Q = e[Mo](1, 10); - N[Z](1e3, Q); - } - - N = "system"; - Z = ie[un]; - Q = ie[N]; - - if (Q) { - N = "storage"; - ze = Q[N]; - - if (ze) { - N = "getInfo"; - Ro[2] = 2; - Lo = e[Mo](2, 10); - ze[N](Lo); - } - } - - if (Z) { - Ro[3] = 2; - N = "getAll"; - Q = e[Mo](3, 10); - ze = {}; - Z[N](ze, Q); - } - } else { - Ce = void 0; - } - - N = e[Mo]; - - if (N) { - N = e[Mo](0, 12); - } - - Ce = Se; - Z = gr; - Z[2] = -1; - ie = Ce; - Q = ie[jo]; - Ro = void 0 !== ie[I]; - Z[43] = void 0; - Z[16] = 0; - ze = void 0 !== ie[Xo]; - Lo = !!ie[Io] << 3; - Z[59] = 0; - Z[46] = 0; - Z[65] = 0; - Z[68] = 0; - un = !!ie[$e] << 4; - D = ze << 2; - Z[21] = 0; - Z[71] = 0; - Z[60] = 0; - - if (Q) { - ze = ie[jo]; - Q = ze[qo]; - } - - ze = Ro << 1; - Ro = Q; - - if (Ro) { - Q = ie[jo]; - Te = Q[qo]; - Ro = Te[W]; - } - - Q = Ro; - Ro = Ce; - Z[36] = 0; - Te = Ro[vo]; - Ao = po in Ro[pe]; - Ro = !(!ie[he] && !Q) << 0; - ie = Z; - Q = Te[Qe]; - Te = Ce; - Le = M[Co](Q); - M = Ao; - Ro |= ze; - Ro |= D; - Ro |= Lo; - - if (M) { - M = Le; - } - - Ro |= un; - ie[23] = Ro; - ie = Z; - ie[7] = M; - ie = Z; - M = 1 === ie[23]; - ie[63] = new RegExp(Wn); - - if (M) { - ie[63] = new Te[Me](); - } - - M = ie[63]; - M[uo] = N; - N = "Promise"; - ie = N; - - if (se) { - N = Ce; - M = Z; - Q = Qn[At]; - Ro = 0; - M[8] = new RegExp(Wn); - ze = Qn in Q; - - if (!ze) { - Q[Qn] = 0; - } - - Q = 1 === M[23]; - Lo = !ze; - M[73] = new RegExp(Wn); - - if (Lo) { - Lo = N[ie]; - } - - ze = Lo; - - if (ze) { - ze = e[Mo]; - } - - Lo = ze; - - if (Lo) { - ze = e[Mo](0, 11); - Ro = new N[ie](ze); - } - - if (Q) { - M[8] = new N[Me](); - M[73] = new N[Me](); - } - - N = M[8]; - Q = e[Mo]; - - if (Q) { - Q = e[Mo](0, 18); - } - - ze = M[73]; - N[uo] = Q; - N = e[Mo]; - - if (N) { - N = e[Mo](0, 21); - } - - ze[uo] = N; - - if (Ro) { - Ro[H](e); - } - - se = void 0; - } - - if (g) { - N = void 0; - M = Z; - Q = !M[59]; - - if (Q) { - Q = !M[7]; - } - - Ro = Ce; - ze = Q; - M[71] = 255; - - if (ze) { - ze = 1 === M[23]; - } - - Q = ze; - - if (Q) { - Q = Ro[J]; - } - - ze = Q; - - if (ze) { - ze = Ro[pn] == Ro; - } - - Q = ze; - - if (Q) { - Q = e[Mo]; - } - - ze = Q; - - if (ze) { - Q = Ro[Pt]; - - if (Q) { - Lo = Ro[Pt]; - Q = Lo[qo]; - } - - Lo = Q; - - if (Lo) { - Q = Ro[Pt]; - un = "getPredictedEvents"; - D = Q[qo]; - Lo = D[un]; - } - - Q = Lo; - - if (Q) { - M[71] = 254; - N = void 0; - } else { - Lo = Ro[vo]; - un = "requestMIDIAccess"; - D = un; - - if (Lo[D]) { - M[71] = 0; - un = Lo[D](); - H = un; - - if (H) { - H = un[m]; - } - - Te = H; - - if (Te) { - H = e[Mo](0, 20); - un[m](H); - } - } - } - } - - g = N; - } - - e(19); - m = gr; - N = Se; - Ce = N[X]; - - if (Ce) { - Z = N[X]; - Ce = Z[P]; - } - - Z = N[pe]; - M = Se[Ct]; - - if (M) { - Q = Se[Ct]; - M = Q[bn]; - } - - Q = Z[L]; - Z = M; - L = Ce; - Ce = Q; - - if (Ce) { - Ce = Q[be]; - } - - M = !Z; - Q = Ce; - - if (L) { - L = Q; - } - - Ce = L; - - if (Ce) { - L = "decodedBodySize"; - g = N[X]; - Ro = g[P](Q); - g = Ro; - - if (g) { - g = Ro[0]; - } - - ze = g; - g = L; - - if (ze) { - L = Ro[0]; - ze = L[g]; - } - - L = ze; - - if (L) { - ze = Ro[0]; - Lo = ze[g]; - m[45] = Lo ^ m[12]; - } - } - - if (!M) { - P = Z >> 21; - m = !0; - M = P & m; - } - - P = M; - - if (P) { - m = 0; - N = void 0; - Ce = Se; - Z = gr; - Z[41] = 1; - L = Ce[pe]; - M = L[ge]; - - if (!M) { - M = Z[53]; - } - - L = M; - - if (L) { - M = Ce[vo]; - Q = M[Qe]; - M = yn.indexOf(Q); - - if (~M) { - Z[41] = 3; - N = void 0; - m = 1; - } - } - - if (!m) { - L = Ce[pe]; - Ce = L[zo](qe); - - if (Ce[co]) { - L = Ce[co](Fe); - - if (!L) { - L = Ce[co](ho); - } - - M = L; - - if (M) { - L = M[Re](Pn); - - if (L) { - Q = Z; - g = void 0; - Ro = void 0; - ze = void 0; - Lo = void 0; - un = M[fe](L[Ee]); - - if (!Q[55]) { - Q[55] = []; - } - - D = un; - un = 0; - H = Q[55]; - D += Jo; - Te = M[fe](L[Xe]); - se = D; - Wn = Te; - Wn += Jo; - Te = 0; - Ao = H; - H = Wn; - - if (Ao.indexOf) { - Le = Ao.indexOf(se); - ze = Le; - } else { - Le = 0; - - while (Le < Ao.length) { - Gn = Ao[Le] === se; - - if (Gn) { - ze = Le; - Te = 1; - } - - Le++; - } - - if (!Te) { - ze = -1; - } - } - - Te = ze; - ze = -1 === Te; - - if (ze) { - se = Q[55]; - Te = se.length; - se = Q[55]; - se[Te] = D; - } - - Ro = Te; - Z[69] = Ro; - Q = Z; - - if (!Q[55]) { - Q[55] = []; - } - - Ro = Q[55]; - ze = Ro; - - if (ze.indexOf) { - Ro = ze.indexOf(H); - g = Ro; - } else { - Ro = 0; - - while (Ro < ze.length) { - D = ze[Ro] === H; - - if (D) { - g = Ro; - un = 1; - } - - Ro++; - } - - if (!un) { - g = -1; - } - } - - Ro = g; - g = -1 === Ro; - - if (g) { - ze = Q[55]; - un = Q[55]; - Ro = ze.length; - un[Ro] = Wn; - } - - Lo = Ro; - Z[33] = Lo; - } else { - Z[41] = 0; - N = void 0; - } - } else { - Z[41] = 0; - N = void 0; - } - } else { - Z[41] = 0; - N = void 0; - } - } - } - - P = Se; - m = void 0 !== P[Xo]; - N = !!P[$e] << 4; - Ce = void 0 !== P[I]; - Z = P[pe]; - L = gr; - Xo = !!P[Io] << 3; - M = P[Qo]; - Q = P[vo]; - g = 255 & L[66]; - I = !(!P[sr] || !P[sr][De]) << 2; - Ro = Ce << 1; - Ce = !!P[mt] << 4; - ze = P[vn] === bt; - Lo = 255 & L[11]; - L = P[jo]; - un = M[en]; - M = !!P[_] << 3; - _ = P[vn] === Ye; - - if (L) { - D = P[jo]; - L = D[qo]; - } - - D = m << 2; - m = Q[T]; - T = L; - - if (!m) { - m = Jo; - } - - L = !!~un.indexOf(pt) << 5; - Q = m; - m = !!~un.indexOf(G) << 6; - G = Q; - Q = !!~un.indexOf(Go) << 7; - G += Jo; - - if (ze) { - Go = 1; - mn |= Go; - } - - while (Ue < G.length) { - ze = G.charCodeAt(Ue); - Go = 255 & ze; - et.push(Go); - Ue++; - } - - if (T) { - G = P[jo]; - ze = G[qo]; - T = ze[W]; - } - - if (_) { - G = 2; - mn |= G; - } - - mn |= I; - jn = et; - G = T; - T = jn; - mn |= M; - mn |= Ce; - Ce = !(!P[he] && !G) << 0; - G = 255 & T.length; - Ce |= Ro; - Ce |= D; - mn |= L; - L = T.slice(0, G); - Ce |= Xo; - Ce |= N; - mn |= m; - mn |= Q; - T = 255 & mn; - Dn.push(Ce); - Dn.push(T); - Dn.push(g); - Dn.push(Lo); - Dn.push(G); - Dn = Dn.concat(L); - - if (P[ne]) { - T = void 0; - m = P[ne](); - N = m; - m = []; - Ce = N >> 8; - L = 255 & Ce; - Ce = 255 & N; - m.push(L, Ce); - T = m; - m = T; - Dn = Dn.concat(m); - } else { - Dn.push(0, 0); - } - - T = "ScriptEngineMajorVersion"; - m = T; - - if (P[m]) { - T = P[m](); - N = 255 & T; - Dn.push(N); - } else { - Dn.push(0); - } - - if (P[An]) { - T = P[An](); - m = 255 & T; - Dn.push(m); - } else { - Dn.push(0); - } - - Dn.push(te); - - if (P[$]) { - T = "Reflect"; - m = "Touch"; - N = "showModalDialog"; - Ce = void 0; - L = "WeakMap"; - - Xo = function () { - }; - - M = void 0; - _ = !!Xo.name << 5; - g = "Intl"; - Ro = "wasDiscarded"; - Ue = []; - Lo = "Proxy"; - un = "HTMLMediaElement"; - De = "HTMLDocument"; - $e = "FormDataEvent"; - se = "fromEntries"; - var H = "getAttributeNames"; - W = "getMatchedCSSRules"; - Ao = g; - var Te = "Symbol"; - g = "OffscreenCanvas"; - ze = Te; - Te = "BigInt"; - var G = "OfflineAudioContext"; - var jo = "timeOrigin"; - I = "isSecureContext"; - et = "PerformanceServerTiming"; - Go = "values"; - Wn = []; - var Xo = "BudgetService"; - D = "padStart"; - var An = "MediaStreamTrack"; - Le = "globalThis"; - Gn = An; - An = G; - G = P[ze]; - te = !!Jo[D] << 9; - - if (G) { - D = P[ze]; - G = D[$]; - } - - var Q = "self"; - mn = L; - L = G; - G = un; - un = De; - - if (L) { - var D = "species"; - De = P[ze]; - L = De[$](D); - } - - D = P[$](T); - T = Go; - Go = P[ze]; - - if (Go) { - De = P[ze]; - Go = De[$]; - } - - De = L; - L = Go; - Go = D << 1; - D = P[mn]; - - if (D) { - jn = P[mn]; - var Ye = "clear"; - ne = jn[qo]; - D = ne[$](Ye); - } - - mn = De << 0; - - if (L) { - De = "toPrimitive"; - ne = P[ze]; - L = ne[$](De); - } - - De = D; - mn |= Go; - Go = "DOMTokenList"; - D = L; - L = P[ze]; - ne = D << 2; - D = De << 3; - De = !![][T] << 18; - - if (L) { - he = P[ze]; - L = he[$]; - } - - he = Go; - Go = P[he]; - - if (Go) { - Ye = P[he]; - jn = Ye[qo]; - Go = jn[$](Oo); - } - - mn |= ne; - ne = Go; - Go = L; - L = ne << 4; - mn |= D; - mn |= L; - - if (Go) { - L = P[ze]; - D = "hasInstance"; - Go = L[$](D); - } - - L = Go; - Go = P[$](I); - I = Go << 6; - Go = P[Q]; - Q = Go[$](J); - Go = Q << 7; - Q = L << 5; - L = "PerformanceTiming"; - D = L; - L = P[D]; - mn |= Q; - - if (L) { - Q = "secureConnectionStart"; - ne = P[D]; - he = ne[qo]; - L = he[$](Q); - } - - mn |= I; - mn |= Go; - Q = L; - L = Q << 8; - Q = P[$](N); - N = P[un]; - I = Q << 9; - mn |= L; - mn |= I; - L = P[G]; - - if (N) { - Q = "getSelection"; - I = P[un]; - Go = I[qo]; - N = Go[$](Q); - } - - Q = N; - - if (L) { - N = P[G]; - I = N[qo]; - N = "mozAutoplayEnabled"; - L = I[$](N); - } - - N = L; - L = N << 11; - N = "copyWithin"; - G = Q << 10; - mn |= G; - mn |= L; - L = mn; - G = L >> 16; - Q = "includes"; - I = L >> 24; - mn = !![][N] << 0; - N = !![][Q] << 1; - Q = P[$](m); - m = 255 & G; - G = 255 & I; - I = Q << 2; - mn |= N; - N = L >> 8; - mn |= I; - Q = 255 & L; - L = P[$](Lo); - I = P[ze]; - Go = 255 & N; - N = P[Pt]; - - if (I) { - Lo = P[ze]; - I = Lo[$]; - } - - Wn.push(G, m, Go, Q); - m = P[Ln]; - G = I; - Q = L << 3; - L = P[An]; - M = Wn; - I = m[$]; - - if (L) { - m = P[An]; - Go = m[qo]; - var un = "close"; - L = Go[$](un); - } - - if (G) { - m = P[ze]; - G = m[$](gt); - } - - mn |= Q; - m = Z[zo](qe); - Q = M; - M = L; - L = void 0 !== Z[Ro]; - An = L << 20; - Dn = Dn.concat(Q); - L = M << 7; - M = !(!m || !m[H]) << 13; - - if (I) { - m = P[Ln]; - I = m[$](T); - } - - T = G; - - if (N) { - m = P[Pt]; - G = m[qo]; - m = "getCoalescedEvents"; - N = G[$](m); - } - - m = T << 4; - T = I; - G = T << 6; - mn |= m; - T = N; - m = T << 10; - T = P[$](Xo); - N = T << 12; - mn |= _; - T = P[Ao]; - - if (T) { - Xo = P[Ao]; - T = Xo[$]; - } - - Xo = !(!P[X] || void 0 === P[X][jo]) << 14; - mn |= G; - G = T; - - if (G) { - T = P[Ao]; - Q = "PluralRules"; - G = T[$](Q); - } - - mn |= L; - mn |= te; - T = P[$](W); - mn |= m; - m = P[$](et); - L = m << 17; - mn |= N; - mn |= M; - m = G; - N = P[$](Te); - G = P[$](g); - W = N << 19; - mn |= Xo; - N = m << 15; - m = G << 21; - mn |= N; - N = T << 16; - mn |= N; - mn |= L; - mn |= De; - T = P[$](Le); - N = P[Ln]; - L = T << 22; - mn |= W; - T = P[Ao]; - Xo = N[$](se); - mn |= An; - N = P[ie]; - G = P[Gn]; - - if (N) { - W = P[ie]; - N = W[$]; - } - - mn |= m; - m = N; - N = Xo << 24; - - if (T) { - Xo = P[Ao]; - T = Xo[$]; - } - - mn |= L; - - if (G) { - L = P[Gn]; - Xo = "getCapabilities"; - W = L[qo]; - G = W[$](Xo); - } - - L = G; - Xo = L << 26; - L = T; - - if (L) { - T = "ListFormat"; - G = P[Ao]; - L = G[$](T); - } - - T = L; - L = P[Ao]; - G = T << 23; - - if (L) { - T = P[Ao]; - L = T[$]; - } - - mn |= G; - mn |= N; - T = L; - - if (T) { - N = P[Ao]; - L = "Locale"; - T = N[$](L); - } - - N = T; - - if (m) { - T = P[ie]; - L = "allSettled"; - m = T[$](L); - } - - T = m; - m = N << 25; - N = T << 27; - mn |= m; - mn |= Xo; - T = P[$]($e); - m = T << 28; - mn |= N; - mn |= m; - T = mn; - m = T >> 24; - N = T >> 16; - L = 255 & T; - Xo = T >> 8; - T = 255 & N; - N = 255 & Xo; - Xo = 255 & m; - Ue.push(Xo, T, N, L); - Ce = Ue; - T = Ce; - Dn = Dn.concat(T); - } else { - T = 0; - - while (yt > T) { - Dn.push(0, 0, 0, 0); - T++; - } - } - - pr = Dn; - T = Se; - gr[24] = 0; - gr[31] = 0; - gr[44] = pr; - gr[58] = 0; - P = T[pe]; - m = T[vo]; - N = po in P; - Ce = e(6); - e(2, T, u, e, !0); - - if (N) { - $ = "touchstart"; - var L = "touchend"; - e(2, P, $, e, !0, Ce, !0); - Z = "touchmove"; - e(2, P, L, e, !0, Ce, !0); - e(2, P, Z, e, !0, Ce, !0); - } - - Ce = N; - - if (Ce) { - var $ = "mobile|android|iphone|ipod|ipad"; - N = new RegExp($, de); - Ce = N[Co](m[it]); - } - - m = Ce; - - if (!m) { - N = "mousedown"; - Ce = "mousemove"; - Z = "mouseup"; - e(2, P, N, e, !1); - e(2, P, Z, e, !1); - e(2, P, Ce, e, !1); - N = "click"; - e(2, P, N, e, !1); - } - - e(2, P, le, e, !1); - e(2, P, B, e, !0); - e(2, P, y, e, !0); - m = T[vo]; - T = m[Qe]; - m = yn.indexOf(T); - - if (~m) { - N = "pause"; - $ = "WV.Event.APP.Background"; - var Xo = "WV.Event.APP.Active"; - var Z = "resume"; - e(2, P, $, e, !1); - e(2, P, Xo, e, !1); - e(2, P, N, e, !1); - e(2, P, Z, e, !1); - } - - T = "getUA"; - P = T; - T = "isReadyForSC"; - m = T; - - if (!z) { - if (window[Ct]) { - T = t; - N = "LogVal"; - Ce = void 0; - $ = "script"; - L = "callback"; - Xo = "getStatus"; - G = "setUM"; - ie = "_LogVal"; - _ = document[zo]($); - An = 0; - var Z = "_LogVals"; - var $ = "set"; - - if (document[me]) { - W = document[me]; - W[Vn](_); - } else { - W = document[zn]; - - if (!W) { - po = document[dn](zn); - W = po[0]; - } - - po = W; - - if (po) { - po[Vn](_); - } - } - - W = Z; - Z = N; - N = E[Z]; - po = N; - N = window; - M = $; - - if (po) { - $ = Object[Jn]; - - if ($) { - $ = Object[Un]; - } - - Q = $; - - if (Q) { - $ = Object[Un](N, po); - g = !$; - - if (!g) { - I = "configurable"; - g = $[I]; - } - - $ = g; - - if ($) { - g = {}; - - g[M] = function () { - }; - - g[st] = T; - I = g; - Object[Jn](N, po, I); - } else { - g = 0; - I = P; - - if (window[I]) { - Dn = window[I] + Jo; - mn = Dn.indexOf(UA_Opt[Z]); - Ro = mn > 0; - - if (!Ro) { - mn = "UA_Opt.LogVal"; - J = Dn.indexOf(mn); - Ro = J > 0; - } - - Dn = Ro; - - if (Dn) { - window[I] = T; - g = 1; - } - } - - if (!g) { - Dn = "jquery"; - var I = "jQuery"; - mn = "fn"; - Ro = window[I]; - I = "valueOf"; - J = "param"; - ze = mn; - - if (Ro) { - Ro = jQuery[ze]; - } - - mn = Ro; - Ro = Dn; - Dn = J; - - if (mn) { - J = jQuery[ze]; - mn = J[Ro]; - } - - J = mn; - - if (J) { - J = jQuery[Dn]; - } - - mn = J; - - if (mn) { - J = jQuery[ze]; - et = J[Ro]; - J = et.charCodeAt(0); - Ue = et[eo](2); - et = 49 === J; - J = parseFloat(Ue); - - if (et) { - Ue = J >= 4; - - if (Ue) { - Ue = 7.1 >= J; - } - - et = Ue; - } - - J = et; - - if (J) { - l = jQuery[Dn]; - jQuery[Dn] = o; - } - } - - Dn = new String(); - Dn[uo] = T; - Dn[I] = T; - window[UA_Opt[Z]] = Dn; - } - } - } else { - N[po] = T; - $ = N[po]; - $[uo] = T; - } - } else { - Ce = void 0; - } - - for (An in E) _[An] = E[An]; - - E = _; - E[ie] = E[Z]; - E[W] = {}; - T = E[W]; - T[E[Z]] = 1; - - if (Object[Jn]) { - T = {}; - - T[M] = function (o) { - var r = "_LogVals"; - var a = r; - var i = E[a]; - var h = i[o]; - - if (!h) { - var c = E[a]; - c[o] = 1; - var p = "_LogVal"; - this[p] = o; - n(window, o, t); - } - }; - - T[st] = function () { - var e = "_LogVal"; - var o = this[e]; - return o; - }; - - N = T; - Object[Jn](E, Z, N); - } else { - T = function (o) { - var i = "propertyName"; - var c = o[i]; - var s = "toString"; - var d = c[s](); - var p = "LogVal"; - var v = p; - var u = d === v; - - if (u) { - var g = "_LogVals"; - var l = g; - var C = E[l]; - var f = C[E[v]]; - - if (!f) { - var m = E[l]; - m[E[v]] = 1; - n(window, E[v], t); - } - } - }; - - N = "onpropertychange"; - E[q](N, T); - } - - T = function () { - var r = "readyState"; - var d = "loading"; - var p = document[r] !== d; - - if (p) { - clearInterval(Ni); - var v = "\xed\xf5\xec\xf4\xe9\xc6\xef\xf2\xed\xd3\xf5\xe2\xed\xe9\xf4"; - var u = 0; - var g = "UA_InputId"; - var l = "submit"; - var m = "getElementById"; - var b = ""; - var A = "FormId"; - - for (var k = l; u < v.length; u++) { - var S = v.charCodeAt(u) - 128; - b += String.fromCharCode(S); - } - - var x = m; - var j = document[x](b); - var O = document[x](E[A]); - var y = !O; - var R = document[x](g); - y && (y = R); - var _ = y; - - if (_) { - f = R; - var L = "parentNode"; - O = R[L]; - } - - if (O) { - C = O; - var T = 0; - var M = 0; - var I = "href"; - var P = "button"; - var D = "mousedown"; - var N = P; - var U = location[I]; - var B = U; - - if (B) { - var z = "//passport.aliexpress.com/mini_login.htm"; - var V = U.indexOf(z); - var Q = -1 !== V; - - if (!Q) { - var W = "//passport.alibaba.com/mini_login.htm"; - var G = U.indexOf(W); - Q = -1 !== G; - } - - B = Q; - } - - var F = D; - var q = F; - var H = B; - - if (H) { - var R = a(); - var X = "getOwnPropertyDescriptor"; - var J = "defineProperty"; - var K = X; - var Y = J; - var $ = Object[Y]; - $ && ($ = Object[K]); - var Z = $; - - if (Z) { - var ee = "configurable"; - var oe = "value"; - var ne = oe; - var te = Object[K](R, ne); - var re = !te; - var ae = ee; - re || (re = te[ae]); - var ie = re; - - if (ie) { - var he = {}; - he[ae] = !0; - var ce = "get"; - he[ce] = t; - var se = he; - Object[Y](R, ne, se); - } - } - } - - var de = O[k]; - - O[k] = function () { - i(); - var o = "apply"; - de[o](O, arguments); - }; - - e(2, window, k, c, !0); - var pe = k; - var ve = "touchstart"; - var ue = ve; - - for (var ge = ue; T < O.length; T++) { - var le = O[T]; - var Ce = le.type; - var fe = Ce === pe; - - if (!fe) { - var me = O[T]; - var be = me.type; - fe = be === N; - } - - var Ae = fe; - Ae && (e(2, O[T], F, h, !0), e(2, O[T], ue, h, !0), M = 1); - } - - M || (e(2, window, F, h, !0), e(2, window, ue, h, !0)); - } - - if (j) { - var ke = j[k]; - - j[k] = function () { - var o = "neddih"; - var n = 0; - var r = ""; - var a = "data"; - var i = ""; - var h = "\u0391\u0386\u0393\u038f\u0382\u0380\u0386"; - var c = ""; - var s = 0; - var d = "\u0339\u038c\u0378\u0339\u0351\u0392\u0339\u038b\u0386\u036a\u038b\u0389\u0380\u0385\u037e\u0339\u0351\u038c\u0385\u037b\u037c\u037d\u0380\u0385\u037c\u037b\u0343\u0339\u038d\u0378\u0383\u038c\u037c\u0366\u037d\u0339\u0351\u038c\u0385\u037b\u037c\u037d\u0380\u0385\u037c\u037b\u0394"; - var p = 0; - var v = "\"ua\":\""; - var u = "\u023f"; - var g = "value"; - - for (var l = 0; n < u.length; n++) { - var C = 541 ^ u.charCodeAt(n); - r += String.fromCharCode(C); - } - - for (; s < h.length; s++) { - var f = 995 ^ h.charCodeAt(s); - c += String.fromCharCode(f); - } - - for (o = o.split("").reverse().join(""); l < d.length; l++) { - var m = d.charCodeAt(l) - 791; - i += String.fromCharCode(m); - } - - var b = a; - var A = r; - var k = c; - var S = i; - var x = v; - var j = o; - var O = g; - - for (var y = S; p < this.length; p++) { - var E = this[p]; - var R = E.name === b; - R && (R = E.type === j); - var _ = R; - - if (_) { - var L = E[O]; - var T = t(); - var M = x + T; - var I = M + A; - E[O] = L[k](S, I); - break; - } - } - - var P = "apply"; - ke[P](this, arguments); - }; - } - } - }; - - var Ni = setInterval(T, 10); - window[Ct] = E; - - E[Xo] = function () { - return 0; - }; - - E[bo] = function () { - e(25); - }; - - T = "reload"; - - E[T] = function () { - }; - - E[m] = function () { - var o = 0; - var n = ""; - - for (var t = "\u025e\u023a\u0235\u0264"; o < t.length; o++) { - var r = t.charCodeAt(o) - 497; - n += String.fromCharCode(r); - } - - var a = E[n]; - a || (a = []); - var i = a; - var h = e(13, i); - return h; - }; - - E[Xn] = function (o) { - var n = e(4, o); - return n; - }; - - E[G] = function (o) { - e(8, o); - }; - - T = window[Ct]; - N = T[L]; - - if (N) { - T = function () { - var o = "UA_Opt"; - var n = window[o]; - var t = "callback"; - n[t](); - }; - - setTimeout(T, 0); - } - } - } - - x[P] = function (o) { - var n = e(1, o); - return n; - }; - window.main = x[P]; - x[m] = function (o) { - var n = e(13, o); - return n; - }; - - x[bo] = function () { - e(25); - }; - - x[Xn] = function (o) { - var n = e(4, o); - return n; - }; - - x[U] = function () { - return 140; - }; - - Se[j] = x; - T = "loadTime"; - P = T; - T = x; - - if (E[P]) { - E[P] = +new Se[Me]() - E[P]; - } - - P = Se; - m = P[R]; - - if (m) { - m = T; - } - - N = m; - - if (N) { - m = P[R]; - m[V](Y, K, T); - } - } - - ur = ke; - } - - be = 1 === r; - re = 2 === r; - ke = 13 === r; - - if (re) { - z = p; - T = void 0; - Se = void 0; - R = d; - Y = v; - V = s; - - if (V[q]) { - P = 0; - m = R === B; - - if (m) { - Oe = "onfocusin"; - P = Oe; - } else { - Oe = R === y; - - if (Oe) { - K = "onfocusout"; - P = K; - } else { - K = "on"; - P = K + R; - } - } - - V[q](P, z); - } else { - if (V[So]) { - P = R === u; - m = !1; - - if (P) { - Oe = "DeviceMotionEvent"; - - if (V[Oe]) { - m = !0; - } - } else { - m = !0; - } - - if (m) { - P = Y; - - if (T) { - Oe = "capture"; - P = {}; - P[Oe] = Y; - P[Ie] = Se; - } - - V[So](R, z, P); - } - } - } - } - - if (ke) { - y = s; - u = void 0; - q = 0; - re = ei; - B = []; - z = re[47]; - T = z; - Se = 0; - R = re[56]; - - if (!T) { - T = R; - } - - Y = T; - - if (Y) { - T = 0; - - while (T < y.length) { - B[T] = new RegExp(y[T]); - T++; - } - } - - if (z) { - y = 0; - Se = 0; - - while (Se < z.length) { - T = z[Se]; - Y = 4 === T[15]; - - if (Y) { - y = 1; - } - - Y = 1 === T[15]; - - if (Y) { - V = re[48]; - P = Co; - m = 0; - Oe = T[11]; - K = Oe % 7; - Oe = V[K]; - V = Oe ^ T[6]; - - while (m < B.length) { - Oe = B[m]; - K = re[55]; - N = K[V]; - K = Oe[P](N); - - if (K) { - T[15] = 4; - y = 1; - } - - m++; - } - } - - Y = 5 === T[15]; - - if (Y) { - y = 0; - } - - Y = y; - - if (Y) { - Y = 3 === T[15]; - } - - V = Y; - - if (V) { - q++; - } - - Y = 2 === T[15]; - - if (Y) { - q = 0; - y = 0; - } - - Se++; - } - } - - if (R) { - Se = 0; - - while (Se < R.length) { - y = R[Se]; - z = 0 === y[5]; - - if (z) { - T = re[48]; - Y = y[0]; - V = Co; - P = 0; - m = Y % 7; - Y = T[m]; - T = Y ^ y[3]; - - while (P < B.length) { - Y = B[P]; - m = re[55]; - Oe = m[T]; - m = Y[V](Oe); - - if (m) { - q++; - } - - P++; - } - } else { - T = 3 === y[5]; - - if (T) { - q = 0; - } - } - - Se++; - } - } - - y = q >= 30; - - if (y) { - u = !0; - } else { - u = !1; - } - - ur = u; - } - - if (be) { - y = 21; - q = 0; - re = void 0; - ke = 1; - B = void 0; - z = void 0; - Se = void 0; - R = void 0; - Y = []; - V = void 0; - P = void 0; - m = 0; - Oe = 0; - K = 0; - N = "vibrate"; - Ce = 0; - Z = ba; - $ = void 0; - L = 4; - Xo = void 0; - G = void 0; - W = void 0; - po = 255 & L; - M = 0; - Q = void 0; - _ = void 0; - An = void 0; - g = []; - I = void 0; - Dn = []; - mn = void 0; - Ro = void 0; - J = void 0; - ze = 0; - et = void 0; - Ue = void 0; - le = "toLowerCase"; - Go = 10; - un = void 0; - D = void 0; - jo = L >> 8; - L = []; - $e = void 0; - H = void 0; - bo = void 0; - Te = 0; - yt = "mIDs"; - se = void 0; - Pt = void 0; - ne = Jo; - pr = void 0; - Wn = void 0; - Le = void 0; - Gn = void 0; - te = "OnlyHost"; - he = void 0; - Ye = "map"; - Wo = 0; - vn = 100; - mo = 0; - pt = "MaxKSLog"; - gr = void 0; - Ct = void 0; - mt = [0]; - sr = []; - cr = " "; - dt = void 0; - ri = 0; - ci = 0; - kt = 0; - Kr = void 0; - ir = 0; - La = void 0; - Na = void 0; - Qa = void 0; - ii = void 0; - wn = 0; - on = void 0; - Be = Oo; - Za = []; - _n = 0; - je = void 0; - Er = 0; - fo = []; - ia = 127; - ot = 0; - Sa = void 0; - ye = []; - Fo = []; - Ke = void 0; - Mt = 30; - ao = oi; - ct = s; - ai = []; - He = []; - ar = []; - so = ") "; - dr = 2; - _e = 0; - Br = void 0; - zr = void 0; - Wr = void 0; - Vr = 0; - Xr = void 0; - ae = 1; - ta = void 0; - an = 0; - ma = 0; - Ge = 0; - Bo = 1842947681; - F = []; - ja = 0; - var rr = "MaxFocusLog"; - De = void 0; - var ki = 0; - hr = void 0; - wt = "\\s"; - No = void 0; - Xa = void 0; - Ga = void 0; - Wa = void 0; - Ko = 2; - rt = 255 & jo; - jo = 0; - ce = void 0; - gn = void 0; - ln = []; - Zo = 0; - Dn.push(0, 0); - rn = void 0; - Ar = void 0; - fr = 0; - jr = void 0; - Yt = [0]; - Rr = void 0; - Lr = 2; - _r = []; - Yn = [0]; - Dr = void 0; - oe = Z; - Fr = []; - Bt = 4294967296; - io = void 0; - qr = []; - hn = void 0; - Jr = void 0; - Uo = void 0; - Zr = []; - ea = 0; - ha = void 0; - Tn = "^function.*\\(\\){\\[nativecode]}$"; - Nn = void 0; - va = 0; - Zn = 0; - Fn = void 0; - nt = 0; - Ea = void 0; - ya = void 0; - wa = void 0; - Ta = []; - Pa = void 0; - xt = void 0; - Ua = 0; - St = void 0; - cn = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; - Fa = void 0; - Ka = void 0; - jt = "Token"; - at = eo; - Ja = void 0; - Ya = void 0; - qa = []; - $a = 1; - Do = 0 | vn; - vn = void 0; - ti = void 0; - tt = 128 > Do; - ni = []; - hi = Oo; - ko = []; - Ut = void 0; - Cn = pt; - pt = wt; - wt = void 0; - It = void 0; - Cr = 0; - Sr = []; - xr = []; - wr = void 0; - var u = "findIndex"; - Lo = void 0; - tr = void 0; - $t = []; - br = 0; - sn = "substring"; - mr = void 0; - wo = []; - kr = void 0; - er = "parseInt"; - Tr = void 0; - Mr = void 0; - Ir = void 0; - Xt = void 0; - Ht = "Document"; - $n = []; - yr = 1768580348; - Pr = Oo; - ro = cr; - cr = N; - N = void 0; - Ur = "Error"; - Qr = []; - $o = 0; - var Vo = "sIDs"; - bt = 1; - var jn = "#"; - T = void 0; - Xn = []; - Ot = 0; - Gt = void 0; - var Et = ")"; - nr = void 0; - Ve = void 0; - Ft = void 0; - Nr = 1722171615; - tn = void 0; - Gr = 0; - Je = "WIcLlfGnG"; - Wt = void 0; - Qt = "hasFocus"; - Hr = void 0; - Pe = 0; - Kn = Dn; - Dn = []; - oa = void 0; - $r = void 0; - Jt = u; - u = void 0; - Yr = void 0; - na = 655821628; - oo = 0; - sa = void 0; - zt = ao; - ao = void 0; - pa = zt; - ra = 0; - aa = jn; - jn = void 0; - da = void 0; - ca = 0; - ko[19] = 1; - ga = void 0; - Xt = Yn; - Yn = "getOwnPropertyNames"; - We = []; - fa = void 0; - la = uo; - ua = 0; - var xe = "00000000"; - ee = void 0; - Tt = void 0; - or = Jt; - Aa = uo; - ka = void 0; - Ut = Yt; - Yt = 0; - xa = Xt; - Xt = uo; - Yo = "resource"; - Mn = Ut; - Wn = mt; - mt = void 0; - Ut = 140; - Oa = void 0; - Ae = rr; - $n.push(0, 0, 0); - rr = $n; - $n = 2; - _a = Jt; - Ra = []; - var ie = "PerformanceEntry"; - U = Qt; - Qt = 0; - Vt = []; - lo = jt; - var Lt = "\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\x0B\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"; - Ao = []; - jt = []; - Rt = Ht; - Ht = []; - Ma = Je; - Je = ei; - Ia = eo; - we = void 0; - Ba = er; - er = void 0; - za = eo; - Va = zt; - zt = Jt; - Jt = xe; - xe = 0; - Da = ie; - ue = Lt; - Lt = void 0; - - if (tt) { - ft = [Do]; - ee = ft; - } else { - ft = []; - lt = Do % 128; - Kt = lt + 128; - ut = Do - lt; - lt = ut / 128; - ut = 127 & lt; - ft.push(Kt, ut); - ee = ft; - } - - Do = []; - tt = ee; - ee = void 0; - ft = le; - Wt = tt; - le = 154; - tt = "ceil"; - lt = Yo; - Yo = ro + ue; - Kt = Yo + ro; - Yo = void 0; - ut = sn; - sn = "getEntriesByType"; - Ha = Ye; - var _t = "\n"; - ie = Wt; - Ye = "g"; - Zt = _t; - Wt = Ye; - Ye = ro + ue; - var to = ";}$"; - qt = Ye + ro; - Ye = ct; - ct = ro + ue; - _t = ct + ro; - ct = Ut; - Ut = tt; - tt = Wn; - - if (!Ye) { - Ye = {}; - } - - Do.push(rt, po); - - if (Ye[lo]) { - ne = Ye[lo]; - } else { - var po = ":"; - Wn = +new oe[Me]() + po; - po = oe[xo]; - rt = po[ve](); - ne = Wn + rt; - } - - po = Ye[te]; - ko[1] = ne; - - if (!po) { - po = 0; - } - - ne = new RegExp(to); - Wn = Yn; - ko[15] = po; - po = aa; - te = 255 & ct; - rt = aa; - Yn = ct >> 8; - Fn = Do; - ct = Tn; - oe = 255 & Yn; - Yn = "fromCompatibility"; - ye.push(oe, te); - - if (Ye[Yn]) { - ko[5] = 1; - var te = "MPInterval"; - oe = Ye[te]; - - if (!oe) { - oe = 50; - } - - ko[7] = oe; - te = "MaxMPLog"; - oe = Ye[te]; - - if (!oe) { - oe = 0; - } - - ko[24] = oe; - te = "MaxMCLog"; - oe = Ye[te]; - - if (!oe) { - oe = 0; - } - - ko[8] = oe; - te = "MaxTCLog"; - oe = Ye[te]; - - if (!oe) { - oe = 0; - } - - ko[13] = oe; - te = Ye[Cn]; - - if (!te) { - te = 0; - } - - ko[10] = te; - te = Ye[Ae]; - - if (!te) { - te = 0; - } - - ko[3] = te; - te = "GPInterval"; - oe = Ye[te]; - - if (!oe) { - oe = 50; - } - - ko[11] = oe; - te = "MaxGPLog"; - oe = Ye[te]; - - if (!oe) { - oe = 10; - } - - ko[25] = oe; - } else { - ko[5] = 0; - oe = "MTInterval"; - to = Ye[oe]; - - if (!to) { - to = 1; - } - - ko[7] = to; - var Tn = "MaxMTLog"; - oe = Ye[Tn]; - - if (!oe) { - oe = 200; - } - - ko[24] = oe; - var te = "MinMTDwnLog"; - oe = te; - te = Ye[oe]; - - if (!te) { - te = 0; - } - - ko[8] = te; - te = Ye[oe]; - - if (!te) { - te = 0; - } - - ko[13] = te; - te = Ye[Cn]; - - if (!te) { - te = 50; - } - - ko[10] = te; - te = Ye[Ae]; - - if (!te) { - te = 50; - } - - ko[3] = te; - te = "NGPInterval"; - oe = Ye[te]; - - if (!oe) { - oe = 4; - } - - ko[11] = oe; - te = "MaxNGPLog"; - oe = Ye[te]; - - if (!oe) { - oe = 100; - } - - ko[25] = oe; - } - - te = Ye[Vo]; - we = ye; - ye = Ye[yt]; - - if (!te) { - te = []; - } - - if (!ye) { - ye = []; - } - - if (Ye[bn]) { - $o = Ye[bn]; - } - - yt = Fn; - Yn = 0 === $o; - oe = we; - - if (Yn) { - Tn = 0; - - while (31 > Tn) { - Fn = 1 << Tn; - $o |= Fn; - Tn++; - } - } - - Yn = $o >> 21; - Tn = $o >> 14; - Fn = $o >> 11; - Vo = $o >> 13; - Do = $o >> 2; - ko[6] = 1 & Tn; - Tn = $o >> 7; - Cn = $o >> 19; - ko[17] = 1 & Cn; - ko[22] = 1 & Fn; - ko[12] = 1 & Tn; - Tn = $o >> 18; - ko[23] = 1 & Do; - Fn = sn; - ko[21] = 1 & Tn; - Tn = $o >> 1; - Do = $o >> 3; - ko[14] = ye; - ko[26] = 1 & Yn; - ye = cn; - ko[0] = 1 & Do; - ko[16] = 1 & Tn; - ko[18] = te; - te = ye[at](0, Mt); - Mt = "font"; - Yn = ye[Ia](0, Go); - Go = ye[za](0, y); - y = Ye[Mt]; - ye = Z; - ko[9] = 1 & Vo; - Je[29] = []; - - if (!y) { - y = 0; - } - - Mt = Je; - Tn = "Flag2"; - Vo = new ye[Me](); - ye = Tn; - - if (Ye[ye]) { - Pe = Ye[ye]; - ko[2] = Pe; - } - - Ye = +Vo; - ye = Mt; - Tn = Z; - Z = Ye; - Ye = Z / Bt; - Vo = 0 | Ye; - Ye = Pe >> 0; - ko[4] = y; - ko[20] = 1 & Ye; - y = Vo * Bt; - Ye = Z - y; - y = Ye; - Z = Tn; - Ye = y >> 8; - Bt = y >> 24; - cn = 255 & y; - Do = Vo; - Vo = Z[pe]; - Z = y >> 16; - y = Do >> 24; - R = ko; - ko = 255 & Bt; - Bt = R; - R = 255 & Do; - Cn = 255 & Ye; - Ye = 255 & Z; - Z = Do >> 8; - sn = 255 & y; - y = Do >> 16; - Do = Bt; - wo.push(ko, Ye, Cn, cn); - Ye = 255 & y; - tn = wo; - y = 255 & Z; - We.push(sn, Ye, y, R); - y = tn; - re = We; - R = Do[1]; - Z = R; - R = Z; - Z = re; - R += Jo; - re = Bt; - Ye = Z.concat(y); - W = Ye; - - while (xe < R.length) { - y = R.charCodeAt(xe); - Z = 255 & y; - fo.push(Z); - xe++; - } - - y = W; - R = y; - Z = re; - Ve = fo; - W = Ve; - Ye = R.slice(6); - - while (oo < W.length) { - R = 0; - - while (2 > R) { - fo = W[oo] + Ye[R]; - Ve = fo + le; - Ye[R] = 255 & Ve; - R++; - } - - oo++; - } - - R = y.slice(6); - y = Z[6]; - - if (y) { - W = ye[61]; - - if (W) { - le = []; - fo = Z[3]; - Ve = void 0; - cn = 0; - Do = W.length - fo; - fo = 0; - ko = 0 > Do; - - if (ko) { - Do = 0; - } - - while (Do < W.length) { - ko = W[Do]; - Cn = ko[2]; - sn = ye[48]; - wo = Cn % 7; - ro = sn[wo]; - sn = ro ^ ko[1]; - wo = ro ^ ko[0]; - ko = void 0; - ro = ye; - $o = wo; - tn = ro[29]; - Je = void 0; - Pe = 0; - oo = $o; - to = tn; - - if (to.indexOf) { - tn = to.indexOf(oo); - Je = tn; - } else { - tn = 0; - - while (tn < to.length) { - xe = to[tn] === oo; - - if (xe) { - Je = tn; - Pe = 1; - } - - tn++; - } - - if (!Pe) { - Je = -1; - } - } - - tn = Je; - Je = -1 === tn; - - if (Je) { - Pe = ro[29]; - tn = Pe.length; - Pe = ro[29]; - Pe.push($o); - } - - ro = tn + 1; - ko = ro; - wo = ko; - le.push(sn); - ko = Cn - fo; - sn = void 0; - ro = ko; - ko = 0 | ro; - ro = 16384 > ko; - - if (ro) { - $o = ko; - tn = 0 | $o; - $o = void 0; - Je = 128 > tn; - - if (Je) { - Pe = [tn]; - $o = Pe; - } else { - Pe = []; - oo = tn % 128; - to = tn - oo; - xe = oo + 128; - oo = to / 128; - to = 127 & oo; - Pe.push(xe, to); - $o = Pe; - } - - tn = $o; - sn = tn; - } else { - $o = []; - - while (true) { - tn = 127 & ko; - ko >>= 7; - - if (ko) { - tn = 128 | tn; - } - - $o.push(tn); - - if (!ko) { - break; - } - } - - sn = $o; - } - - ko = sn; - le = le.concat(ko); - ko = void 0; - sn = wo; - wo = 0 | sn; - sn = 128 > wo; - - if (sn) { - ro = [wo]; - ko = ro; - } else { - ro = wo % 128; - $o = []; - tn = wo - ro; - Je = ro + 128; - ro = tn / 128; - tn = 127 & ro; - $o.push(Je, tn); - ko = $o; - } - - sn = ko; - le = le.concat(sn); - fo = Cn; - cn++; - Do++; - } - - fo = cn; - cn = 0 | fo; - fo = 128 > cn; - - if (fo) { - Do = [cn]; - Ve = Do; - } else { - Do = cn % 128; - ko = Do + 128; - Cn = []; - sn = cn - Do; - Do = sn / 128; - sn = 127 & Do; - Cn.push(ko, sn); - Ve = Cn; - } - - fo = Ve; - le = fo.concat(le); - D = le; - } else { - le = [0]; - D = le; - } - } else { - D = void 0; - } - - y = re; - Z = Mt; - W = y[17]; - le = D; - ee = Ye; - - if (le) { - g.push(1); - g = g.concat(le); - } else { - g.push(0); - } - - ce = Z[48]; - Z = ce; - le = Mt; - - if (Z) { - g.push(1); - g = g.concat(Z); - } else { - g.push(0); - } - - D = ee; - - if (Z) { - Ra.push(1); - Ra = Ra.concat(Z); - } else { - Ra.push(0); - } - - if (W) { - Z = le[56]; - - if (Z) { - le[51] = []; - Ye = 0; - fo = []; - ye = y; - ce = []; - ee = []; - Ve = void 0; - cn = void 0; - Do = []; - ko = []; - Cn = void 0; - sn = []; - wo = le; - ro = ee; - ko[2] = 0; - ko[1] = 0; - $o = Z; - ko[0] = 0; - tn = []; - Je = $o.length <= 1; - - if (Je) { - Ve = Ye; - } else { - Pe = ye[24] * ye[7]; - oo = ye[18]; - to = $o.length - Pe; - Pe = 0 !== ye[13]; - xe = ye[14]; - We = oo.length; - oo = xe.length; - xe = 0; - Ae = 0 >= to; - lo = 0 !== We; - We = 0 !== oo; - oo = -1; - - if (lo) { - we = []; - xe = $o.length - 1; - ue = ye[18]; - no = 0; - - while (no < ue.length) { - we[no] = new RegExp(ue[no]); - no++; - } - - while (xe >= 0) { - ue = $o[xe]; - Eo = 2 === ue[5]; - - if (Eo) { - oo = xe; - } - - Eo = 5 === ue[5]; - - if (Eo) { - _o = ue[0]; - Ze = Co; - go = wo[48]; - no = 0; - fn = _o % 7; - _o = go[fn]; - go = _o ^ ue[3]; - - while (no < we.length) { - _o = we[no]; - fn = wo[55]; - nn = fn[go]; - fn = _o[Ze](nn); - - if (fn) { - ue[5] = 2; - oo = xe; - break; - } - - no++; - } - } - - ue = -1 !== oo; - - if (ue) { - break; - } - - xe--; - } - } - - if (Ae) { - to = 0; - } - - Ye = to; - - if (We) { - Ae = ye[14]; - xe = $o.length - 1; - lo = 0; - we = []; - - while (lo < Ae.length) { - we[lo] = new RegExp(Ae[lo]); - lo++; - } - - while (xe >= 0) { - Ae = $o[xe]; - ue = 1 === Ae[5]; - - if (ue) { - oo = xe; - } - - ue = 5 === Ae[5]; - - if (ue) { - no = wo[48]; - Eo = Ae[0]; - _o = Co; - lo = 0; - Ze = Eo % 7; - Eo = no[Ze]; - no = Eo ^ Ae[3]; - - while (lo < we.length) { - Eo = we[lo]; - Ze = wo[55]; - go = Ze[no]; - Ze = Eo[_o](go); - - if (Ze) { - Ae[5] = 1; - oo = xe; - break; - } - - lo++; - } - } - - Ae = 3 === $o[5]; - - if (Ae) { - break; - } - - xe--; - } - } - - We = -1 !== oo; - - if (We) { - We = to > oo; - } - - to = We; - - if (to) { - Ye = oo; - } - - if (Pe) { - Pe = Ye > 0; - } - - oo = Pe; - - if (oo) { - Pe = 0; - xe = Ye; - - while (xe < $o.length) { - to = $o[xe]; - We = 5 === to[5]; - - if (!We) { - We = 2 === to[5]; - } - - Ae = We; - - if (!Ae) { - Ae = 1 === to[5]; - } - - to = Ae; - - if (to) { - Pe++; - } - - xe++; - } - - to = Pe < ye[13]; - - if (to) { - xe = Ye - 1; - - while (xe >= 0) { - We = $o[xe]; - Ae = 5 === We[5]; - - if (!Ae) { - Ae = 2 === We[5]; - } - - lo = Ae; - - if (!lo) { - lo = 1 === We[5]; - } - - Ae = lo; - - if (Ae) { - ro.push(We); - Pe++; - lo = Pe >= ye[13]; - - if (lo) { - break; - } - } - - Ae = 4 === We[5]; - - if (Ae) { - ro.push(We); - } - - xe--; - } - } - } - - Ve = Ye; - } - - Ye = 0 !== ee.length; - - if (Ye) { - ye = ee.length - 1; - var Fi = 0; - - while (ye >= 0) { - wo = ee[ye]; - ro = le[51]; - $o = void 0; - Je = le; - Pe = fo; - oo = ro; - ro = ko; - to = wo; - ro[1]++; - wo = 0; - xe = 4 === to[5]; - - if (xe) { - wo = 1; - } - - xe = 2 === to[5]; - - if (xe) { - wo = 2; - } - - xe = 1 === to[5]; - - if (xe) { - wo = 3; - } - - xe = to[0]; - We = Je[48]; - Ae = xe % 7; - lo = We[Ae]; - We = lo ^ to[12]; - Ae = void 0; - we = Je; - Je = We; - ue = we[29]; - no = void 0; - Eo = 0; - _o = Je; - Ze = ue; - - if (Ze.indexOf) { - ue = Ze.indexOf(_o); - no = ue; - } else { - ue = 0; - - while (ue < Ze.length) { - go = Ze[ue] === _o; - - if (go) { - no = ue; - Eo = 1; - } - - ue++; - } - - if (!Eo) { - no = -1; - } - } - - ue = no; - no = -1 === ue; - - if (no) { - Eo = we[29]; - ue = Eo.length; - Eo = we[29]; - Eo.push(Je); - } - - Je = ue + 1; - Ae = Je; - We = Ae; - Je = lo ^ to[9]; - Ae = lo ^ to[1]; - we = lo ^ to[4]; - ue = 0 === Pe.length; - - if (ue) { - Pe[9] = 0; - Pe[1] = 0; - Pe[4] = 0; - Pe[0] = 0; - } - - ue = Je - Pe[9]; - no = Ae - Pe[1]; - Eo = we - Pe[4]; - _o = xe - Pe[0]; - Pe[9] = Je; - Pe[1] = Ae; - Pe[4] = we; - Pe[0] = xe; - Je = [wo]; - wo = void 0; - Pe = ue; - xe = 0 | Pe; - Pe = 0 > xe; - Ae = Pe; - - if (Ae) { - Ae = -xe; - } else { - Ae = xe; - } - - xe = Ae; - Ae = 64 > xe; - - if (Ae) { - we = [xe + 64 * Pe]; - wo = we; - } else { - we = xe % 128; - ue = []; - Ze = xe - we; - go = 64 * Pe; - fn = we + 128; - we = Ze / 128; - Ze = 63 & we; - we = Ze + go; - ue.push(fn, we); - wo = ue; - } - - Pe = wo; - Je = Je.concat(Pe); - wo = void 0; - Pe = no; - xe = 0 | Pe; - Pe = 0 > xe; - Ae = Pe; - - if (Ae) { - Ae = -xe; - } else { - Ae = xe; - } - - xe = Ae; - Ae = 64 > xe; - - if (Ae) { - we = [xe + 64 * Pe]; - wo = we; - } else { - we = xe % 128; - ue = []; - no = xe - we; - Ze = 64 * Pe; - go = no / 128; - no = 63 & go; - go = no + Ze; - no = we + 128; - ue.push(no, go); - wo = ue; - } - - Pe = wo; - Je = Je.concat(Pe); - wo = void 0; - Pe = Eo; - xe = 0 | Pe; - Pe = 0 > xe; - Ae = Pe; - - if (Ae) { - Ae = -xe; - } else { - Ae = xe; - } - - xe = Ae; - Ae = 64 > xe; - - if (Ae) { - we = [xe + 64 * Pe]; - wo = we; - } else { - we = []; - ue = xe % 128; - no = ue + 128; - Eo = xe - ue; - ue = Eo / 128; - Eo = 63 & ue; - ue = 64 * Pe; - Ze = Eo + ue; - we.push(no, Ze); - wo = we; - } - - Pe = wo; - Je = Je.concat(Pe); - wo = void 0; - Pe = _o; - xe = 0 | Pe; - Pe = 16384 > xe; - - if (Pe) { - Ae = void 0; - we = xe; - ue = 0 | we; - we = 128 > ue; - - if (we) { - no = [ue]; - Ae = no; - } else { - no = ue % 128; - Eo = []; - _o = no + 128; - Ze = ue - no; - no = Ze / 128; - Ze = 127 & no; - Eo.push(_o, Ze); - Ae = Eo; - } - - we = Ae; - wo = we; - } else { - Ae = []; - - while (true) { - we = 127 & xe; - xe >>= 7; - - if (xe) { - we = 128 | we; - } - - Ae.push(we); - - if (!xe) { - break; - } - } - - wo = Ae; - } - - Pe = wo; - Je = Je.concat(Pe); - wo = void 0; - Pe = We; - xe = 0 | Pe; - Pe = 128 > xe; - - if (Pe) { - We = [xe]; - wo = We; - } else { - We = xe % 128; - Ae = xe - We; - we = Ae / 128; - Ae = We + 128; - We = []; - ue = 127 & we; - We.push(Ae, ue); - wo = We; - } - - Pe = wo; - Je = Je.concat(Pe); - wo = 1 === ro[1]; - - if (wo) { - ro = to[7]; - Pe = []; - Pe.push(2, lo, ro); - ro = Pe; - oo.push(ro); - } - - $o = Je; - Fi = $o; - - if (Fi) { - Do = Do.concat(Fi); - } - - ye--; - } - } - - Ye = Ve; - - while (Ye < Z.length) { - ye = Z[Ye]; - var Fi = 0; - ee = 5 === ye[5]; - - if (!ee) { - ee = 4 === ye[5]; - } - - Ve = ee; - - if (!Ve) { - Ve = 2 === ye[5]; - } - - ee = Ve; - - if (!ee) { - ee = 1 === ye[5]; - } - - Ve = ee; - - if (Ve) { - ee = ye; - wo = 0; - ro = void 0; - $o = le[51]; - Je = void 0; - Pe = le; - oo = ee[0]; - to = void 0; - xe = ko; - xe[1]++; - We = oo % 7; - Ae = 2 === ee[5]; - lo = $o; - $o = 0; - we = 1 === xe[1]; - xe = 1 === ee[5]; - ue = Pe[48]; - no = void 0; - Eo = 4 === ee[5]; - _o = ue[We]; - We = _o ^ ee[1]; - ue = _o ^ ee[4]; - - if (Eo) { - $o = 1; - } - - Eo = _o ^ ee[12]; - Ze = void 0; - go = void 0; - fn = void 0; - - if (Ae) { - $o = 2; - } - - Ae = _o ^ ee[9]; - nn = void 0; - - if (xe) { - $o = 3; - } - - xe = Pe; - Pe = Eo; - xn = Pe; - - if (we) { - Sn = ee[7]; - Rn = []; - Rn.push(2, _o, Sn); - Sn = Rn; - lo.push(Sn); - } - - ee = xe[29]; - lo = fo; - we = 0 === lo.length; - - if (we) { - lo[9] = 0; - lo[1] = 0; - lo[4] = 0; - lo[0] = 0; - } - - we = ue - lo[4]; - _o = Ae - lo[9]; - Sn = we; - we = _o; - _o = We - lo[1]; - Rn = 0 | Sn; - Sn = _o; - lo[9] = Ae; - Ae = 0 | we; - we = 0 | Sn; - _o = ee; - ee = 0 > we; - lo[1] = We; - We = 0 > Rn; - Sn = oo - lo[0]; - qn = We; - lo[4] = ue; - ue = ee; - Bn = Sn; - Sn = 0 > Ae; - - if (ue) { - ue = -we; - } else { - ue = we; - } - - if (_o.indexOf) { - we = _o.indexOf(xn); - no = we; - } else { - we = 0; - - while (we < _o.length) { - Hn = _o[we] === xn; - - if (Hn) { - no = we; - wo = 1; - } - - we++; - } - - if (!wo) { - no = -1; - } - } - - if (qn) { - qn = -Rn; - } else { - qn = Rn; - } - - lo[0] = oo; - wo = qn; - oo = [$o]; - $o = 64 > wo; - lo = Sn; - we = no; - - if (lo) { - lo = -Ae; - } else { - lo = Ae; - } - - Ae = 0 | Bn; - no = ue; - - if ($o) { - ue = [wo + 64 * We]; - go = ue; - } else { - ue = 64 * We; - _o = []; - xn = wo % 128; - Rn = xn + 128; - qn = wo - xn; - xn = qn / 128; - qn = 63 & xn; - xn = qn + ue; - - _o.push(Rn, xn); - - go = _o; - } - - wo = 64 > no; - $o = 16384 > Ae; - We = -1 === we; - - if ($o) { - ue = Ae; - _o = void 0; - xn = 0 | ue; - ue = 128 > xn; - - if (ue) { - Rn = [xn]; - _o = Rn; - } else { - Rn = xn % 128; - qn = []; - Bn = xn - Rn; - Hn = Rn + 128; - Rn = Bn / 128; - Bn = 127 & Rn; - qn.push(Hn, Bn); - _o = qn; - } - - ue = _o; - ro = ue; - } else { - ue = []; - - while (true) { - _o = 127 & Ae; - Ae >>= 7; - - if (Ae) { - _o = 128 | _o; - } - - ue.push(_o); - - if (!Ae) { - break; - } - } - - ro = ue; - } - - $o = go; - - if (We) { - Ae = xe[29]; - we = Ae.length; - Ae = xe[29]; - Ae.push(Pe); - } - - Pe = we + 1; - - if (wo) { - xe = [no + 64 * ee]; - nn = xe; - } else { - xe = 64 * ee; - We = []; - Ae = no % 128; - we = Ae + 128; - ue = no - Ae; - Ae = ue / 128; - ue = 63 & Ae; - Ae = ue + xe; - We.push(we, Ae); - nn = We; - } - - ee = lo; - wo = nn; - Je = Pe; - Pe = 64 > ee; - xe = ro; - Eo = Je; - - if (Pe) { - ro = [ee + 64 * Sn]; - fn = ro; - } else { - ro = 64 * Sn; - Je = []; - We = ee % 128; - Ae = We + 128; - lo = ee - We; - We = lo / 128; - lo = 63 & We; - We = lo + ro; - Je.push(Ae, We); - fn = Je; - } - - ee = fn; - oo = oo.concat(ee); - oo = oo.concat(wo); - ee = Eo; - wo = 0 | ee; - ee = 128 > wo; - - if (ee) { - ro = [wo]; - to = ro; - } else { - ro = wo % 128; - Je = []; - Pe = wo - ro; - We = Pe / 128; - Pe = ro + 128; - ro = 127 & We; - Je.push(Pe, ro); - to = Je; - } - - ee = to; - oo = oo.concat($o); - oo = oo.concat(xe); - oo = oo.concat(ee); - Ze = oo; - Fi = Ze; - - if (Fi) { - Do = Do.concat(Fi); - } - } else { - ee = 0 === ye[5]; - - if (ee) { - wo = ce; - ro = ko; - $o = ye; - Je = void 0; - ro[0]++; - Pe = y; - oo = ro[0] % Pe[7]; - Pe = le; - to = 0 !== oo; - - if (to) { - Je = void 0; - } else { - ro[2]++; - oo = Pe[48]; - xe = void 0 !== $o[9]; - We = void 0; - Ae = 0 === wo.length; - lo = void 0; - we = 0; - ue = void 0; - no = 0; - - if (Ae) { - wo[12] = -1; - wo[9] = 0; - wo[1] = 0; - wo[0] = 0; - } - - Ae = $o[0]; - Eo = void 0; - _o = Ae - wo[0]; - Ze = 16 === _o; - go = Ae % 7; - - if (Ze) { - _o = 0; - } - - Ze = oo[go]; - oo = 17 === _o; - - if (oo) { - _o = 1; - } - - if (xe) { - we = Ze ^ $o[9]; - no = Ze ^ $o[1]; - } else { - oo = Ze ^ $o[6]; - go = Ze ^ $o[10]; - fn = Ze ^ $o[11]; - we = oo - go; - oo = Ze ^ $o[8]; - no = oo - fn; - } - - oo = _o; - xe = we - wo[9]; - _o = no - wo[1]; - go = Ze ^ $o[12]; - Ze = _o; - _o = 0 | oo; - oo = 0 | Ze; - Ze = go; - fn = 0 > oo; - nn = Ze === wo[12]; - xn = 16384 > _o; - - if (nn) { - Ze = 0; - } else { - Sn = go; - Rn = void 0; - qn = Pe; - Bn = qn[29]; - Hn = Sn; - ht = void 0; - vr = Bn; - Bn = 0; - - if (vr.indexOf) { - vt = vr.indexOf(Hn); - ht = vt; - } else { - vt = 0; - - while (vt < vr.length) { - lr = vr[vt] === Hn; - - if (lr) { - ht = vt; - Bn = 1; - } - - vt++; - } - - if (!Bn) { - ht = -1; - } - } - - Bn = ht; - Hn = -1 === Bn; - - if (Hn) { - ht = qn[29]; - Bn = ht.length; - ht = qn[29]; - ht.push(Sn); - } - - Sn = Bn + 1; - Rn = Sn; - Ze = Rn; - } - - wo[12] = go; - go = Ze; - Ze = xe; - wo[9] = we; - xe = 0 | go; - we = fn; - - if (xn) { - go = void 0; - nn = _o; - Sn = 0 | nn; - nn = 128 > Sn; - - if (nn) { - Rn = [Sn]; - go = Rn; - } else { - Rn = []; - qn = Sn % 128; - Bn = qn + 128; - Hn = Sn - qn; - qn = Hn / 128; - Hn = 127 & qn; - Rn.push(Bn, Hn); - go = Rn; - } - - nn = go; - ue = nn; - } else { - go = []; - - while (true) { - nn = 127 & _o; - _o >>= 7; - - if (_o) { - nn = 128 | nn; - } - - go.push(nn); - - if (!_o) { - break; - } - } - - ue = go; - } - - wo[1] = no; - no = 0 | Ze; - - if (we) { - we = -oo; - } else { - we = oo; - } - - oo = 128 > xe; - wo[0] = Ae; - Ae = ue; - ue = []; - _o = 0 > no; - Ze = we; - - if (oo) { - we = [xe]; - Eo = we; - } else { - we = []; - go = xe % 128; - nn = go + 128; - xn = xe - go; - go = xn / 128; - xn = 127 & go; - we.push(nn, xn); - Eo = we; - } - - oo = Eo; - xe = _o; - we = 64 > Ze; - - if (we) { - Eo = [Ze + 64 * fn]; - lo = Eo; - } else { - Eo = 64 * fn; - go = []; - nn = Ze % 128; - xn = Ze - nn; - Sn = nn + 128; - nn = xn / 128; - xn = 63 & nn; - nn = xn + Eo; - go.push(Sn, nn); - lo = go; - } - - if (xe) { - xe = -no; - } else { - xe = no; - } - - we = lo; - lo = xe; - xe = 64 > lo; - - if (xe) { - no = [lo + 64 * _o]; - We = no; - } else { - no = lo % 128; - Eo = []; - Ze = 64 * _o; - go = no + 128; - fn = lo - no; - no = fn / 128; - fn = 63 & no; - no = fn + Ze; - Eo.push(go, no); - We = Eo; - } - - xe = We; - ue = ue.concat(xe); - ue = ue.concat(we); - ue = ue.concat(Ae); - ue = ue.concat(oo); - Je = ue; - } - - Fi = Je; - - if (Fi) { - sn = sn.concat(Fi); - } - } - } - - Ye++; - } - - Ye = ko[2]; - fo = Ye; - Ye = ko[1]; - ye = 0 | fo; - fo = Ye; - Ye = 0 | fo; - fo = 128 > Ye; - ce = 128 > ye; - - if (fo) { - ee = [Ye]; - Cn = ee; - } else { - ee = []; - Ve = Ye % 128; - ko = Ve + 128; - wo = Ye - Ve; - Ve = wo / 128; - wo = 127 & Ve; - ee.push(ko, wo); - Cn = ee; - } - - Ye = Cn; - - if (ce) { - fo = [ye]; - cn = fo; - } else { - fo = ye % 128; - ee = ye - fo; - Ve = []; - ko = fo + 128; - fo = ee / 128; - ee = 127 & fo; - Ve.push(ko, ee); - cn = Ve; - } - - Do = Ye.concat(Do); - tn.push(Do); - Ye = cn; - sn = Ye.concat(sn); - tn.push(sn); - B = tn; - } else { - Ye = [0]; - fo = []; - ye = [0]; - fo.push(Ye, ye); - Ye = fo; - B = Ye; - } - } else { - Z = []; - B = Z; - } - - F = F.concat(D); - y = B; - B = re; - F = F.concat(Kn); - Z = y[1]; - W = re; - - if (Z) { - g.push(1); - g = g.concat(Z); - } else { - g.push(0); - } - - F = F.concat(R); - R = W[21]; - Z = Mt; - le = re; - D = Z[39]; - F = F.concat(Kn); - Z = le[16]; - Ye = "visibilityState"; - fo = y[0]; - y = Vo[Ye]; - Ye = void 0 === y; - - if (D) { - ye = 0; - ce = D.length; - ee = 0; - Ve = [ce]; - - while (ce > ye) { - Vo = D[ye]; - cn = Vo - ee; - ee = Vo; - Vo = void 0; - Do = cn; - cn = 0 | Do; - Do = 16384 > cn; - - if (Do) { - ko = cn; - Cn = void 0; - sn = 0 | ko; - ko = 128 > sn; - - if (ko) { - wo = [sn]; - Cn = wo; - } else { - wo = []; - ro = sn % 128; - $o = ro + 128; - tn = sn - ro; - ro = tn / 128; - tn = 127 & ro; - wo.push($o, tn); - Cn = wo; - } - - ko = Cn; - Vo = ko; - } else { - ko = []; - - while (true) { - Cn = 127 & cn; - cn >>= 7; - - if (cn) { - Cn = 128 | Cn; - } - - ko.push(Cn); - - if (!cn) { - break; - } - } - - Vo = ko; - } - - cn = Vo; - Ve = Ve.concat(cn); - ye++; - } - - Yo = Ve; - } else { - ye = [0]; - Yo = ye; - } - - if (Ye) { - y = 255; - } else { - D = "visible"; - ye = y === D; - - if (ye) { - y = 0; - } else { - y = 1; - } - } - - D = Mt; - Ye = [y]; - y = Yo; - F = F.concat(Kn); - ye = Tn; - P = D[44]; - F = F.concat(oe); - D = P; - je = F; - P = je; - - if (B[4]) { - je = "vivo"; - F = ye[vo]; - ce = F[it]; - F = ce[ft](); - ce = F.indexOf(je); - je = ce > 0; - - if (je) { - F = []; - F.push(255, 0, 0, 0, 0); - ce = F; - _ = ce; - } else { - F = Jo; - ce = "sans-serif"; - Vo = "72px"; - cn = 0; - Do = 0; - ko = "style"; - sn = 0; - wo = 0; - ro = ye; - $o = "mmmmmmmmmmllimmmmmmmmmmllimmmmmmmmmmlli"; - oe = ue[0]; - Kn = xe.split(Yo); - to = Vo; - Vo = fn; - xe = Je[zo](Pe); - Pe = no; - Yo = Pe; - we = Je[zo](We); - Je = vi; - We = []; - ue = ko; - ko = ue; - no = xe[ue]; - ue = oo; - Bn.push(qn, ce, nn); - ce = Bn; - oo = di; - debugger; - no[ro] = vr; - xe[oo] = pi; - ro = vt; - no = ro; - - while (3 > Do) { - go = xe[ko]; - go[ue] = ce[Do]; - oe[ee](xe); - ht[Do] = xe[Yo]; - Ae[Do] = xe[Ve]; - oe[no](xe); - Do++; - } - - ce = $o; - - while (100 > wo) { - ee = ce + Kn[wo]; - Ve = ee + Je; - ee = Ve + Kn[wo]; - Ve = ee + lo; - ee = Ve + Kn[wo]; - Ve = ee + to; - F += Ve; - wo++; - } - - we[oo] = F; - oe[Vn](we); - - while (100 > cn) { - F = !1; - ce = 0; - ee = Pe; - - while (3 > ce) { - Ve = we[Vo]; - Do = 3 * cn; - ko = Do + ce; - Do = Ve[ko]; - - if (Do) { - Ve = F; - ko = Do[ee] != ht[ce]; - - if (!ko) { - ko = Do[Hn] != Ae[ce]; - } - - wo = ko; - - if (!Ve) { - Ve = wo; - } - - F = Ve; - } - - ce++; - } - - if (F) { - ce = cn + tn; - lr += ce; - } - - cn++; - } - - F = lr; - oe[ro](we); - ce = F.length; - ee = void 0; - - while (true) { - oe = ce > Cn; - - if (oe) { - oe = 31 * sn; - sn = 0 | oe; - oe = F.charCodeAt(Cn); - sn += oe; - Cn += Eo; - } else { - break; - } - } - - ee = sn; - F = ee; - _o = F; - F = _o; - ce = F; - F = ce >> 8; - ee = ce >> 16; - oe = ce >> 24; - Ve = 255 & ce; - ce = 255 & ee; - ee = 255 & F; - F = 255 & oe; - We.push(F, ce, ee, Ve); - Ze = We; - F = Ze; - ce = si.concat(F); - _ = ce; - } - } else { - je = []; - je.push(0, 0, 0, 0, 0); - F = je; - _ = F; - } - - H = Ye; - B = _; - _ = Jo; - Ye = P; - P = Tn; - je = H; - H = k; - ye = _; - F = Ye; - ce = Mt; - - if (je) { - g.push(1); - g = g.concat(je); - } else { - g.push(0); - } - - if (y) { - g.push(1); - g = g.concat(y); - } else { - g.push(0); - } - - y = F.slice(0, $n); - - if (Mn) { - g.push(1); - g = g.concat(Mn); - } else { - g.push(0); - } - - je = y[0] << 8; - - if (R) { - F = ce[57]; - - if (F) { - ee = 0 === F.length; - - if (ee) { - oe = [0]; - Oa = oe; - } else { - oe = 0; - Ve = 0; - Vo = void 0; - cn = F.length - 1; - Do = 0; - ko = []; - Cn = 0; - sn = 0; - wo = 0; - - while (cn >= 0) { - $n = F[cn]; - ro = $n[2]; - $o = ce[48]; - tn = ro % 7; - Je = $o[tn]; - $o = Je ^ $n[0]; - tn = Je ^ $n[3]; - Pe = Je ^ $n[1]; - $n = 0 === Cn; - - if ($n) { - Je = 0 === $o; - - if (Je) { - Je = 0 === tn; - } - - Kn = Je; - - if (Kn) { - Kn = 0 === Pe; - } - - Je = Kn; - - if (!Je) { - $n = !1; - - if (W[5]) { - Je = W[11] > 0; - - if (Je) { - Kn = cn % W[11]; - Je = 0 !== Kn; - } - - Kn = Je; - - if (!Kn) { - $n = !0; - Je = $n; - - if (!Je) { - Je = 0 === cn; - } - - $n = Je; - - if ($n) { - Je = Cn === W[25]; - - if (!Je) { - Je = 0 === cn; - } - - Kn = Je; - - if (Kn) { - Je = Pe; - oo = void 0; - to = ro; - xe = void 0; - We = void 0; - Yo = 0 | to; - to = void 0; - Mn = tn; - Ae = $o; - lo = 0 | Mn; - Mn = 0 | Je; - Je = 0 > lo; - we = 0 > Mn; - ue = Je; - no = 0 | Ae; - Ae = 16384 > Yo; - Eo = 0 > no; - - if (ue) { - ue = -lo; - } else { - ue = lo; - } - - lo = we; - - if (Ae) { - _o = void 0; - Ze = Yo; - go = 0 | Ze; - Ze = 128 > go; - - if (Ze) { - fn = [go]; - _o = fn; - } else { - fn = []; - nn = go % 128; - xn = nn + 128; - Sn = go - nn; - nn = Sn / 128; - Sn = 127 & nn; - fn.push(xn, Sn); - _o = fn; - } - - Ze = _o; - to = Ze; - } else { - _o = []; - - while (true) { - Ze = 127 & Yo; - Yo >>= 7; - - if (Yo) { - Ze = 128 | Ze; - } - - _o.push(Ze); - - if (!Yo) { - break; - } - } - - to = _o; - } - - Yo = ue; - Ae = to; - - if (lo) { - lo = -Mn; - } else { - lo = Mn; - } - - ko = Ae.concat(ko); - to = 64 > Yo; - Mn = Eo; - - if (Mn) { - Mn = -no; - } else { - Mn = no; - } - - Ae = lo; - - if (to) { - lo = [Yo + 64 * Je]; - We = lo; - } else { - lo = []; - ue = Yo % 128; - no = Yo - ue; - _o = 64 * Je; - Ze = no / 128; - no = 63 & Ze; - Ze = ue + 128; - ue = no + _o; - lo.push(Ze, ue); - We = lo; - } - - Je = Mn; - to = We; - We = 64 > Je; - - if (We) { - Yo = [Je + 64 * Eo]; - oo = Yo; - } else { - Yo = Je % 128; - Mn = Yo + 128; - lo = 64 * Eo; - ue = Je - Yo; - Yo = ue / 128; - ue = 63 & Yo; - Yo = ue + lo; - lo = []; - lo.push(Mn, Yo); - oo = lo; - } - - Je = oo; - oo = 64 > Ae; - - if (oo) { - We = [Ae + 64 * we]; - xe = We; - } else { - We = Ae % 128; - Yo = 64 * we; - Mn = []; - lo = We + 128; - ue = Ae - We; - We = ue / 128; - ue = 63 & We; - We = ue + Yo; - Mn.push(lo, We); - xe = Mn; - } - - oo = xe; - ko = oo.concat(ko); - ko = to.concat(ko); - ko = Je.concat(ko); - Cn++; - break; - } - - Je = Cn < W[25]; - - if (Je) { - Je = Do; - } - - Kn = Je; - - if (Kn) { - Je = void 0; - oo = wo - ro; - to = void 0; - xe = Ve - Pe; - We = void 0; - Yo = sn - $o; - Mn = xe; - xe = oe - tn; - Ae = void 0; - lo = Yo; - Yo = oo; - oo = xe; - xe = 0 | oo; - oo = 0 | lo; - lo = 0 | Yo; - Yo = 0 > oo; - we = 0 | Mn; - Mn = Yo; - ue = 16384 > lo; - no = 0 > we; - Eo = no; - _o = 0 > xe; - - if (ue) { - Ze = void 0; - go = lo; - fn = 0 | go; - go = 128 > fn; - - if (go) { - nn = [fn]; - Ze = nn; - } else { - nn = fn % 128; - xn = []; - Sn = nn + 128; - Rn = fn - nn; - nn = Rn / 128; - Rn = 127 & nn; - xn.push(Sn, Rn); - Ze = xn; - } - - go = Ze; - We = go; - } else { - Ze = []; - - while (true) { - go = 127 & lo; - lo >>= 7; - - if (lo) { - go = 128 | go; - } - - Ze.push(go); - - if (!lo) { - break; - } - } - - We = Ze; - } - - lo = _o; - ue = We; - - if (Mn) { - Mn = -oo; - } else { - Mn = oo; - } - - if (lo) { - lo = -xe; - } else { - lo = xe; - } - - oo = Mn; - - if (Eo) { - Eo = -we; - } else { - Eo = we; - } - - xe = lo; - We = 64 > xe; - Mn = 64 > oo; - lo = Eo; - we = 64 > lo; - - if (Mn) { - Eo = [oo + 64 * Yo]; - to = Eo; - } else { - Eo = []; - Ze = oo % 128; - go = oo - Ze; - fn = 64 * Yo; - nn = go / 128; - go = Ze + 128; - Ze = 63 & nn; - nn = Ze + fn; - Eo.push(go, nn); - to = Eo; - } - - oo = to; - - if (We) { - to = [xe + 64 * _o]; - Ae = to; - } else { - to = xe % 128; - Yo = xe - to; - Mn = to + 128; - to = Yo / 128; - Yo = 64 * _o; - Eo = []; - Ze = 63 & to; - to = Ze + Yo; - Eo.push(Mn, to); - Ae = Eo; - } - - ko = ue.concat(ko); - - if (we) { - to = [lo + 64 * no]; - Je = to; - } else { - to = []; - xe = lo % 128; - We = lo - xe; - Yo = xe + 128; - xe = We / 128; - We = 63 & xe; - xe = 64 * no; - Mn = We + xe; - to.push(Yo, Mn); - Je = to; - } - - to = Je; - ko = to.concat(ko); - Je = Ae; - ko = Je.concat(ko); - ko = oo.concat(ko); - Cn++; - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - } else { - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - Do = 1; - } - } - } - } else { - Je = 0 === wo; - - if (Je) { - $n = !0; - } else { - Kn = wo - ro; - oo = 16 * W[11]; - to = Kn >= oo; - - if (to) { - $n = !0; - } - } - - Je = $n; - - if (!Je) { - Je = 0 === cn; - } - - $n = Je; - - if ($n) { - Je = Cn === W[25]; - - if (!Je) { - Je = 0 === cn; - } - - Kn = Je; - - if (Kn) { - Je = Pe; - oo = void 0; - to = ro; - xe = void 0; - We = void 0; - Yo = 0 | to; - to = void 0; - Mn = tn; - Ae = $o; - lo = 0 | Mn; - Mn = 0 | Je; - Je = 0 > lo; - we = 0 > Mn; - ue = Je; - no = 0 | Ae; - Ae = 16384 > Yo; - Eo = 0 > no; - - if (ue) { - ue = -lo; - } else { - ue = lo; - } - - lo = we; - - if (Ae) { - _o = void 0; - Ze = Yo; - go = 0 | Ze; - Ze = 128 > go; - - if (Ze) { - fn = [go]; - _o = fn; - } else { - fn = []; - nn = go % 128; - xn = nn + 128; - Sn = go - nn; - nn = Sn / 128; - Sn = 127 & nn; - fn.push(xn, Sn); - _o = fn; - } - - Ze = _o; - to = Ze; - } else { - _o = []; - - while (true) { - Ze = 127 & Yo; - Yo >>= 7; - - if (Yo) { - Ze = 128 | Ze; - } - - _o.push(Ze); - - if (!Yo) { - break; - } - } - - to = _o; - } - - Yo = ue; - Ae = to; - - if (lo) { - lo = -Mn; - } else { - lo = Mn; - } - - ko = Ae.concat(ko); - to = 64 > Yo; - Mn = Eo; - - if (Mn) { - Mn = -no; - } else { - Mn = no; - } - - Ae = lo; - - if (to) { - lo = [Yo + 64 * Je]; - We = lo; - } else { - lo = []; - ue = Yo % 128; - no = Yo - ue; - _o = 64 * Je; - Ze = no / 128; - no = 63 & Ze; - Ze = ue + 128; - ue = no + _o; - lo.push(Ze, ue); - We = lo; - } - - Je = Mn; - to = We; - We = 64 > Je; - - if (We) { - Yo = [Je + 64 * Eo]; - oo = Yo; - } else { - Yo = Je % 128; - Mn = Yo + 128; - lo = 64 * Eo; - ue = Je - Yo; - Yo = ue / 128; - ue = 63 & Yo; - Yo = ue + lo; - lo = []; - lo.push(Mn, Yo); - oo = lo; - } - - Je = oo; - oo = 64 > Ae; - - if (oo) { - We = [Ae + 64 * we]; - xe = We; - } else { - We = Ae % 128; - Yo = 64 * we; - Mn = []; - lo = We + 128; - ue = Ae - We; - We = ue / 128; - ue = 63 & We; - We = ue + Yo; - Mn.push(lo, We); - xe = Mn; - } - - oo = xe; - ko = oo.concat(ko); - ko = to.concat(ko); - ko = Je.concat(ko); - Cn++; - break; - } - - Je = Cn < W[25]; - - if (Je) { - Je = Do; - } - - Kn = Je; - - if (Kn) { - Je = void 0; - oo = wo - ro; - to = void 0; - xe = Ve - Pe; - We = void 0; - Yo = sn - $o; - Mn = xe; - xe = oe - tn; - Ae = void 0; - lo = Yo; - Yo = oo; - oo = xe; - xe = 0 | oo; - oo = 0 | lo; - lo = 0 | Yo; - Yo = 0 > oo; - we = 0 | Mn; - Mn = Yo; - ue = 16384 > lo; - no = 0 > we; - Eo = no; - _o = 0 > xe; - - if (ue) { - Ze = void 0; - go = lo; - fn = 0 | go; - go = 128 > fn; - - if (go) { - nn = [fn]; - Ze = nn; - } else { - nn = fn % 128; - xn = []; - Sn = nn + 128; - Rn = fn - nn; - nn = Rn / 128; - Rn = 127 & nn; - xn.push(Sn, Rn); - Ze = xn; - } - - go = Ze; - We = go; - } else { - Ze = []; - - while (true) { - go = 127 & lo; - lo >>= 7; - - if (lo) { - go = 128 | go; - } - - Ze.push(go); - - if (!lo) { - break; - } - } - - We = Ze; - } - - lo = _o; - ue = We; - - if (Mn) { - Mn = -oo; - } else { - Mn = oo; - } - - if (lo) { - lo = -xe; - } else { - lo = xe; - } - - oo = Mn; - - if (Eo) { - Eo = -we; - } else { - Eo = we; - } - - xe = lo; - We = 64 > xe; - Mn = 64 > oo; - lo = Eo; - we = 64 > lo; - - if (Mn) { - Eo = [oo + 64 * Yo]; - to = Eo; - } else { - Eo = []; - Ze = oo % 128; - go = oo - Ze; - fn = 64 * Yo; - nn = go / 128; - go = Ze + 128; - Ze = 63 & nn; - nn = Ze + fn; - Eo.push(go, nn); - to = Eo; - } - - oo = to; - - if (We) { - to = [xe + 64 * _o]; - Ae = to; - } else { - to = xe % 128; - Yo = xe - to; - Mn = to + 128; - to = Yo / 128; - Yo = 64 * _o; - Eo = []; - Ze = 63 & to; - to = Ze + Yo; - Eo.push(Mn, to); - Ae = Eo; - } - - ko = ue.concat(ko); - - if (we) { - to = [lo + 64 * no]; - Je = to; - } else { - to = []; - xe = lo % 128; - We = lo - xe; - Yo = xe + 128; - xe = We / 128; - We = 63 & xe; - xe = 64 * no; - Mn = We + xe; - to.push(Yo, Mn); - Je = to; - } - - to = Je; - ko = to.concat(ko); - Je = Ae; - ko = Je.concat(ko); - ko = oo.concat(ko); - Cn++; - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - } else { - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - Do = 1; - } - } - } - } - } else { - $n = !1; - - if (W[5]) { - Je = W[11] > 0; - - if (Je) { - Kn = cn % W[11]; - Je = 0 !== Kn; - } - - Kn = Je; - - if (!Kn) { - $n = !0; - Je = $n; - - if (!Je) { - Je = 0 === cn; - } - - $n = Je; - - if ($n) { - Je = Cn === W[25]; - - if (!Je) { - Je = 0 === cn; - } - - Kn = Je; - - if (Kn) { - Je = Pe; - oo = void 0; - to = ro; - xe = void 0; - We = void 0; - Yo = 0 | to; - to = void 0; - Mn = tn; - Ae = $o; - lo = 0 | Mn; - Mn = 0 | Je; - Je = 0 > lo; - we = 0 > Mn; - ue = Je; - no = 0 | Ae; - Ae = 16384 > Yo; - Eo = 0 > no; - - if (ue) { - ue = -lo; - } else { - ue = lo; - } - - lo = we; - - if (Ae) { - _o = void 0; - Ze = Yo; - go = 0 | Ze; - Ze = 128 > go; - - if (Ze) { - fn = [go]; - _o = fn; - } else { - fn = []; - nn = go % 128; - xn = nn + 128; - Sn = go - nn; - nn = Sn / 128; - Sn = 127 & nn; - fn.push(xn, Sn); - _o = fn; - } - - Ze = _o; - to = Ze; - } else { - _o = []; - - while (true) { - Ze = 127 & Yo; - Yo >>= 7; - - if (Yo) { - Ze = 128 | Ze; - } - - _o.push(Ze); - - if (!Yo) { - break; - } - } - - to = _o; - } - - Yo = ue; - Ae = to; - - if (lo) { - lo = -Mn; - } else { - lo = Mn; - } - - ko = Ae.concat(ko); - to = 64 > Yo; - Mn = Eo; - - if (Mn) { - Mn = -no; - } else { - Mn = no; - } - - Ae = lo; - - if (to) { - lo = [Yo + 64 * Je]; - We = lo; - } else { - lo = []; - ue = Yo % 128; - no = Yo - ue; - _o = 64 * Je; - Ze = no / 128; - no = 63 & Ze; - Ze = ue + 128; - ue = no + _o; - lo.push(Ze, ue); - We = lo; - } - - Je = Mn; - to = We; - We = 64 > Je; - - if (We) { - Yo = [Je + 64 * Eo]; - oo = Yo; - } else { - Yo = Je % 128; - Mn = Yo + 128; - lo = 64 * Eo; - ue = Je - Yo; - Yo = ue / 128; - ue = 63 & Yo; - Yo = ue + lo; - lo = []; - lo.push(Mn, Yo); - oo = lo; - } - - Je = oo; - oo = 64 > Ae; - - if (oo) { - We = [Ae + 64 * we]; - xe = We; - } else { - We = Ae % 128; - Yo = 64 * we; - Mn = []; - lo = We + 128; - ue = Ae - We; - We = ue / 128; - ue = 63 & We; - We = ue + Yo; - Mn.push(lo, We); - xe = Mn; - } - - oo = xe; - ko = oo.concat(ko); - ko = to.concat(ko); - ko = Je.concat(ko); - Cn++; - break; - } - - Je = Cn < W[25]; - - if (Je) { - Je = Do; - } - - Kn = Je; - - if (Kn) { - Je = void 0; - oo = wo - ro; - to = void 0; - xe = Ve - Pe; - We = void 0; - Yo = sn - $o; - Mn = xe; - xe = oe - tn; - Ae = void 0; - lo = Yo; - Yo = oo; - oo = xe; - xe = 0 | oo; - oo = 0 | lo; - lo = 0 | Yo; - Yo = 0 > oo; - we = 0 | Mn; - Mn = Yo; - ue = 16384 > lo; - no = 0 > we; - Eo = no; - _o = 0 > xe; - - if (ue) { - Ze = void 0; - go = lo; - fn = 0 | go; - go = 128 > fn; - - if (go) { - nn = [fn]; - Ze = nn; - } else { - nn = fn % 128; - xn = []; - Sn = nn + 128; - Rn = fn - nn; - nn = Rn / 128; - Rn = 127 & nn; - xn.push(Sn, Rn); - Ze = xn; - } - - go = Ze; - We = go; - } else { - Ze = []; - - while (true) { - go = 127 & lo; - lo >>= 7; - - if (lo) { - go = 128 | go; - } - - Ze.push(go); - - if (!lo) { - break; - } - } - - We = Ze; - } - - lo = _o; - ue = We; - - if (Mn) { - Mn = -oo; - } else { - Mn = oo; - } - - if (lo) { - lo = -xe; - } else { - lo = xe; - } - - oo = Mn; - - if (Eo) { - Eo = -we; - } else { - Eo = we; - } - - xe = lo; - We = 64 > xe; - Mn = 64 > oo; - lo = Eo; - we = 64 > lo; - - if (Mn) { - Eo = [oo + 64 * Yo]; - to = Eo; - } else { - Eo = []; - Ze = oo % 128; - go = oo - Ze; - fn = 64 * Yo; - nn = go / 128; - go = Ze + 128; - Ze = 63 & nn; - nn = Ze + fn; - Eo.push(go, nn); - to = Eo; - } - - oo = to; - - if (We) { - to = [xe + 64 * _o]; - Ae = to; - } else { - to = xe % 128; - Yo = xe - to; - Mn = to + 128; - to = Yo / 128; - Yo = 64 * _o; - Eo = []; - Ze = 63 & to; - to = Ze + Yo; - Eo.push(Mn, to); - Ae = Eo; - } - - ko = ue.concat(ko); - - if (we) { - to = [lo + 64 * no]; - Je = to; - } else { - to = []; - xe = lo % 128; - We = lo - xe; - Yo = xe + 128; - xe = We / 128; - We = 63 & xe; - xe = 64 * no; - Mn = We + xe; - to.push(Yo, Mn); - Je = to; - } - - to = Je; - ko = to.concat(ko); - Je = Ae; - ko = Je.concat(ko); - ko = oo.concat(ko); - Cn++; - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - } else { - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - Do = 1; - } - } - } - } else { - Je = 0 === wo; - - if (Je) { - $n = !0; - } else { - Kn = wo - ro; - oo = 16 * W[11]; - to = Kn >= oo; - - if (to) { - $n = !0; - } - } - - Je = $n; - - if (!Je) { - Je = 0 === cn; - } - - $n = Je; - - if ($n) { - Je = Cn === W[25]; - - if (!Je) { - Je = 0 === cn; - } - - Kn = Je; - - if (Kn) { - Je = Pe; - oo = void 0; - to = ro; - xe = void 0; - We = void 0; - Yo = 0 | to; - to = void 0; - Mn = tn; - Ae = $o; - lo = 0 | Mn; - Mn = 0 | Je; - Je = 0 > lo; - we = 0 > Mn; - ue = Je; - no = 0 | Ae; - Ae = 16384 > Yo; - Eo = 0 > no; - - if (ue) { - ue = -lo; - } else { - ue = lo; - } - - lo = we; - - if (Ae) { - _o = void 0; - Ze = Yo; - go = 0 | Ze; - Ze = 128 > go; - - if (Ze) { - fn = [go]; - _o = fn; - } else { - fn = []; - nn = go % 128; - xn = nn + 128; - Sn = go - nn; - nn = Sn / 128; - Sn = 127 & nn; - fn.push(xn, Sn); - _o = fn; - } - - Ze = _o; - to = Ze; - } else { - _o = []; - - while (true) { - Ze = 127 & Yo; - Yo >>= 7; - - if (Yo) { - Ze = 128 | Ze; - } - - _o.push(Ze); - - if (!Yo) { - break; - } - } - - to = _o; - } - - Yo = ue; - Ae = to; - - if (lo) { - lo = -Mn; - } else { - lo = Mn; - } - - ko = Ae.concat(ko); - to = 64 > Yo; - Mn = Eo; - - if (Mn) { - Mn = -no; - } else { - Mn = no; - } - - Ae = lo; - - if (to) { - lo = [Yo + 64 * Je]; - We = lo; - } else { - lo = []; - ue = Yo % 128; - no = Yo - ue; - _o = 64 * Je; - Ze = no / 128; - no = 63 & Ze; - Ze = ue + 128; - ue = no + _o; - lo.push(Ze, ue); - We = lo; - } - - Je = Mn; - to = We; - We = 64 > Je; - - if (We) { - Yo = [Je + 64 * Eo]; - oo = Yo; - } else { - Yo = Je % 128; - Mn = Yo + 128; - lo = 64 * Eo; - ue = Je - Yo; - Yo = ue / 128; - ue = 63 & Yo; - Yo = ue + lo; - lo = []; - lo.push(Mn, Yo); - oo = lo; - } - - Je = oo; - oo = 64 > Ae; - - if (oo) { - We = [Ae + 64 * we]; - xe = We; - } else { - We = Ae % 128; - Yo = 64 * we; - Mn = []; - lo = We + 128; - ue = Ae - We; - We = ue / 128; - ue = 63 & We; - We = ue + Yo; - Mn.push(lo, We); - xe = Mn; - } - - oo = xe; - ko = oo.concat(ko); - ko = to.concat(ko); - ko = Je.concat(ko); - Cn++; - break; - } - - Je = Cn < W[25]; - - if (Je) { - Je = Do; - } - - Kn = Je; - - if (Kn) { - Je = void 0; - oo = wo - ro; - to = void 0; - xe = Ve - Pe; - We = void 0; - Yo = sn - $o; - Mn = xe; - xe = oe - tn; - Ae = void 0; - lo = Yo; - Yo = oo; - oo = xe; - xe = 0 | oo; - oo = 0 | lo; - lo = 0 | Yo; - Yo = 0 > oo; - we = 0 | Mn; - Mn = Yo; - ue = 16384 > lo; - no = 0 > we; - Eo = no; - _o = 0 > xe; - - if (ue) { - Ze = void 0; - go = lo; - fn = 0 | go; - go = 128 > fn; - - if (go) { - nn = [fn]; - Ze = nn; - } else { - nn = fn % 128; - xn = []; - Sn = nn + 128; - Rn = fn - nn; - nn = Rn / 128; - Rn = 127 & nn; - xn.push(Sn, Rn); - Ze = xn; - } - - go = Ze; - We = go; - } else { - Ze = []; - - while (true) { - go = 127 & lo; - lo >>= 7; - - if (lo) { - go = 128 | go; - } - - Ze.push(go); - - if (!lo) { - break; - } - } - - We = Ze; - } - - lo = _o; - ue = We; - - if (Mn) { - Mn = -oo; - } else { - Mn = oo; - } - - if (lo) { - lo = -xe; - } else { - lo = xe; - } - - oo = Mn; - - if (Eo) { - Eo = -we; - } else { - Eo = we; - } - - xe = lo; - We = 64 > xe; - Mn = 64 > oo; - lo = Eo; - we = 64 > lo; - - if (Mn) { - Eo = [oo + 64 * Yo]; - to = Eo; - } else { - Eo = []; - Ze = oo % 128; - go = oo - Ze; - fn = 64 * Yo; - nn = go / 128; - go = Ze + 128; - Ze = 63 & nn; - nn = Ze + fn; - Eo.push(go, nn); - to = Eo; - } - - oo = to; - - if (We) { - to = [xe + 64 * _o]; - Ae = to; - } else { - to = xe % 128; - Yo = xe - to; - Mn = to + 128; - to = Yo / 128; - Yo = 64 * _o; - Eo = []; - Ze = 63 & to; - to = Ze + Yo; - Eo.push(Mn, to); - Ae = Eo; - } - - ko = ue.concat(ko); - - if (we) { - to = [lo + 64 * no]; - Je = to; - } else { - to = []; - xe = lo % 128; - We = lo - xe; - Yo = xe + 128; - xe = We / 128; - We = 63 & xe; - xe = 64 * no; - Mn = We + xe; - to.push(Yo, Mn); - Je = to; - } - - to = Je; - ko = to.concat(ko); - Je = Ae; - ko = Je.concat(ko); - ko = oo.concat(ko); - Cn++; - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - } else { - sn = $o; - oe = tn; - Ve = Pe; - wo = ro; - Do = 1; - } - } - } - } - - cn--; - } - - oe = Cn; - Ve = 0 | oe; - oe = 128 > Ve; - - if (oe) { - cn = [Ve]; - Vo = cn; - } else { - cn = Ve % 128; - Do = cn + 128; - Cn = []; - sn = Ve - cn; - cn = sn / 128; - sn = 127 & cn; - Cn.push(Do, sn); - Vo = Cn; - } - - oe = Vo; - ko = oe.concat(ko); - Oa = ko; - } - } else { - ee = [0]; - Oa = ee; - } - } else { - Oa = void 0; - } - - R = P[Ba]; - P = Oa; - - if (D) { - g.push(1); - g = g.concat(D); - } else { - g.push(0); - } - - if (B) { - g.push(1); - g = g.concat(B); - } else { - g.push(0); - } - - B = Mt; - - if (P) { - g.push(1); - g = g.concat(P); - } else { - g.push(0); - } - - W = 1 === B[50]; - D = Tn; - F = je | y[1]; - - if (W) { - Y[0] = 0; - Y[1] = B[38]; - Y[2] = B[3]; - } else { - je = 2 === B[50]; - - if (je) { - Y[0] = 2; - } else { - Y[0] = 1; - } - } - - B = F[uo](); - Gt = Y; - Y = D[xo]; - W = Mt; - D = Gt; - - if (D) { - g.push(1); - g = g.concat(D); - } else { - g.push(0); - } - - if (ie) { - g.push(1); - g = g.concat(ie); - } else { - g.push(0); - } - - D = g; - je = D.slice(); - - while (Te < je.length) { - F = 255 & je[Te]; - ce = 0; - ee = 0; - ce = Kt.indexOf(H[F], 1); - oe = 255 === F; - - if (oe) { - oe = Kt.length - 1; - } else { - Ve = F + 1; - Vo = H[Ve]; - oe = Kt.indexOf(Vo, 1); - } - - ee = oe; - F = ae - Qt; - oe = F / Kt.length; - F = oe * ee; - ae = Qt + F; - F = oe * ce; - Qt += F; - F = Kt[at](0, ee); - ce = F + te; - F = Kt[at](ee); - Kt = ce + F; - F = ae[la](2); - ce = F[at](2); - F = Qt[la](2); - ee = F[at](2); - F = ce.split(_); - oe = ee.split(_); - ee = 0; - Ve = F[or]; - - if (Ve) { - Ve = W[27]; - } - - Vo = Ve; - - if (Vo) { - ee = F[or](W[27], oe); - } else { - Ve = F[ee] === oe[ee]; - - while (Ve) { - ee++; - Ve = F[ee] === oe[ee]; - } - } - - F = ce[at](0, ee); - ye += F; - F = Math.pow(2, ee); - ce = ae * F; - ee = 0 | ce; - ae = ce - ee; - ce = Qt * F; - Qt = ce - ee; - Te++; - } - - W = Mt; - H = D.length; - D = Qt[la](2); - Te = k; - te = W; - je = H; - H = 0 | je; - je = D[at](2); - D = je[Be](S, _); - ye += D; - _ = 16384 > H; - - if (_) { - D = void 0; - Be = H; - je = 0 | Be; - Be = 128 > je; - - if (Be) { - ae = [je]; - D = ae; - } else { - ae = je % 128; - F = je - ae; - ce = []; - ee = F / 128; - F = ae + 128; - ae = 127 & ee; - ce.push(F, ae); - D = ce; - } - - Be = D; - on = Be; - } else { - D = []; - - while (true) { - Be = 127 & H; - H >>= 7; - - if (H) { - Be = 128 | Be; - } - - D.push(Be); - - if (!H) { - break; - } - } - - on = D; - } - - if (!te[55]) { - te[55] = []; - } - - _ = on; - - while (true) { - D = ye.length > 7; - - if (D) { - D = ye[at](0, 8); - H = R(D, 2); - - _.push(H); - - ye = ye[at](8); - } else { - break; - } - } - - y = B.split(Jo); - B = te[55]; - D = ye + Jt; - H = Jo + e; - on = H[Oo](so, Et); - H = y; - y = B; - B = Nr % H.length; - on = on[Oo](ne, kn); - ne = H[B]; - B = ne % 4; - H = on.length; - wr = B; - B = D[at](0, 8); - D = H % 60; - ne = wr; - Be = H / 60; - H = R(B, 2); - - _.push(H); - - B = 0 | Be; - ao = _; - - if (D) { - B++; - } - - g = ao; - R = g; - _ = B - 1; - B = _; - _ = R.length / 2; - g = B - Zo; - B = Y[Ut](_); - Y = Tn; - - while (B > q) { - _ = 2 * q; - D = 2 * q; - H = D + 2; - D = R.slice(_, H); - _ = 4 * ne; - H = q % 4; - Be = _ + H; - _ = Be % 4; - H = 0 === _; - - if (H) { - Be = void 0; - je = D; - ye = []; - ao = 1; - so = 0; - ae = 30; - F = 7; - ce = ae; - - while (so < je.length) { - ae = ce << F; - ee = ae ^ ce; - ae = 240 & ee; - ee = ce >> ao; - ce = ae + ee; - ae = je[so] ^ ce; - ee = 255 & ae; - ye.push(ee); - so++; - } - - Be = ye; - je = Be; - ln = ln.concat(je); - } - - H = 1 === _; - - if (H) { - Be = void 0; - je = []; - ye = 0; - ao = D; - so = 45342; - ae = so; - - while (ye < ao.length) { - so = ao[ye]; - F = so ^ ae; - ae = F; - so = 255 & F; - je.push(so); - ye++; - } - - Be = je; - je = Be; - ln = ln.concat(je); - } - - H = 2 === _; - - if (H) { - Be = []; - je = 7; - ye = D; - ao = void 0; - so = 8; - ae = 112; - F = 0; - ce = ae; - - while (F < ye.length) { - ae = ce << je; - ee = ae ^ ce; - ae = 240 & ee; - ee = ce >> so; - ce = ae + ee; - ae = ye[F] ^ ce; - ee = 255 & ae; - Be.push(ee); - F++; - } - - ao = Be; - Be = ao; - ln = ln.concat(Be); - } - - H = 3 === _; - - if (H) { - _ = D; - Be = 27901; - je = Be; - Be = 72; - ye = []; - ao = 0; - so = void 0; - - while (ao < _.length) { - ae = _[ao]; - F = ae ^ je; - ae = je * ao; - ce = ae % 256; - je = ce + Be; - ae = 255 & F; - ye.push(ae); - ao++; - } - - so = ye; - _ = so; - ln = ln.concat(_); - } - - q++; - } - - q = Y[pe]; - It = ln; - B = It; - R = q[U]; - q = B; - _ = g + 1; - g = q.slice(); - q = void 0 === R; - g.push(0, 0, 0); - - while (true) { - if (ra) { - M += 4; - } - - ra = 1; - R = M < g.length; - - if (R) { - R = 216 & g[M]; - Ge += R; - R = M + 1; - D = g[R]; - R = 216 & D; - Ge += R; - R = M + 2; - D = g[R]; - R = 216 & D; - Ge += R; - R = M + 3; - D = g[R]; - R = 216 & D; - Ge += R; - } else { - break; - } - } - - if (q) { - nt = 255; - } else { - R = Y[pe]; - M = R[U](); - - if (M) { - nt = 0; - } else { - nt = 1; - } - } - - q = Tn; - R = q; - q = R[xo]; - R = 65535 & Ge; - Y = Tn; - M = [nt]; - g = Y[Da]; - U = q[ve](); - q = R; - R = Y[pe]; - D = Y[Ln]; - H = !g; - Uo = M; - M = Y[X]; - ne = U * _; - _ = 255 & q; - U = q >> 8; - q = Uo; - Be = 255 & U; - He.push(Be, _); - - if (!H) { - H = Y[Io]; - } - - if (q) { - Ra.push(1); - Ra = Ra.concat(q); - } else { - Ra.push(0); - } - - q = H; - Ke = He; - - if (q) { - _ = []; - - _.push(0, 0, 0, 0); - - U = _; - sa = U; - } else { - U = D[Un](g[qo], "name"); - ye = 0; - ao = void 0; - He = "a[href*=\"dianzhentan.com\"]"; - so = "div[id=gwdang_main]"; - ae = "link[href*=\"8jisu.com\"]"; - ce = "link[href*=\"aming\"]"; - ln = "img[src*=\"diantoushi.com\"]"; - oe = "img[src*=\"udaren.\"]"; - Uo = U; - Ve = "script[src*=\"lsjztc.com\"]"; - Vo = "querySelector"; - cn = "link[href*=\"wdzs.com\"]"; - var _ = "addFetchFilter"; - je = "link[href*=\"wuxiegj.com\"]"; - var H = "script[src*=\"zbm666.com\"]"; - Ge = "img[src*=\"xws.tqdn.cn\"]"; - nt = "a[href*=\"yihoc.com\"]"; - - if (Uo) { - Uo = U[st]; - } - - Et = []; - var Do = "script[src*=\"wstplug.oss\"]"; - F = "script[src*=\"zaozaosheng.com\"]"; - at = "DSJPLUGJS_VERSION"; - ko = !!Y[_] << 7; - _ = "LSJ"; - It = Uo; - Uo = !!Y[_] << 8; - var ee = "img[src*=\"lubanpsdupload\"]"; - _ = !!Y[at] << 6; - Be = R[Vo]; - Vo = Be[Mo](R); - Be = !!Vo(Ve) << 15; - Ve = !!Vo(ee) << 16; - ee = !!Vo(je) << 17; - je = !!Vo(cn) << 3; - cn = !!Vo(so) << 19; - so = !!Vo(nt) << 4; - nt = !!Vo(He) << 11; - He = !!Vo(F) << 18; - F = !!Vo(H) << 1; - H = !!Vo(Do) << 0; - at = !!Vo(oe) << 2; - oe = Ge; - ye |= H; - H = !!Vo(ae) << 12; - ae = !!Vo(oe) << 13; - Ge = !!Vo(ce) << 9; - ye |= F; - F = !!Vo(oe) << 14; - ce = !!Vo(ln) << 10; - ye |= at; - ye |= je; - ye |= so; - ye |= _; - ye |= ko; - ye |= Uo; - ye |= Ge; - ye |= ce; - ye |= nt; - ye |= H; - ye |= ae; - ye |= F; - ye |= Be; - ye |= Ve; - ye |= ee; - ye |= He; - ye |= cn; - - if (It) { - He = M[Fn](lt); - so = "84d45aec02d663cc"; - Ge = U[st]; - Uo = He[Ha](Ge[Dt], Ge); - Ge = "zmgj.zjk.taeapp.com"; - Ve = Uo.join(On); - var Uo = "lsjztc.com"; - var je = "zaozaosheng.com"; - _ = !!~Ve.indexOf(je) << 20; - ye |= _; - var Be = "wuxiegj.com"; - var H = "yihoc.com"; - _ = !!~Ve.indexOf(so) << 21; - je = !!~Ve.indexOf(Uo) << 22; - He = !!~Ve.indexOf(Ge) << 23; - so = !!~Ve.indexOf(Be) << 24; - ye |= _; - _ = !!~Ve.indexOf(H) << 5; - ye |= je; - ye |= He; - ye |= so; - ye |= _; - } - - _ = ye; - U = _ >> 24; - H = 255 & U; - U = _ >> 16; - Be = 255 & _; - je = 255 & U; - U = _ >> 8; - _ = 255 & U; - Et.push(H, je, _, Be); - ao = Et; - _ = ao; - sa = _; - } - - q = sa; - R = 0 | ne; - Y = Ke; - M = Zo + R; - z = M; - J = Y; - R = z; - R = 60 * R; - z = R; - Y = on[eo](R, 60); - R = J; - M = Tn; - _ = 0 | z; - z = Y.length; - g = R.concat(B); - B = z; - z = Y; - R = g.length; - z += Jo; - Y = z; - - if (y.indexOf) { - U = y.indexOf(Y); - xt = U; - } else { - U = 0; - - while (U < y.length) { - J = y[U] === Y; - - if (J) { - xt = U; - an = 1; - } - - U++; - } - - if (!an) { - xt = -1; - } - } - - y = 16384 > _; - Y = 0 | B; - B = xt; - U = 128 > Y; - J = R; - R = -1 === B; - - if (y) { - D = void 0; - H = _; - ne = 0 | H; - H = 128 > ne; - - if (H) { - on = [ne]; - D = on; - } else { - on = ne % 128; - Be = []; - je = ne - on; - ye = on + 128; - on = je / 128; - je = 127 & on; - Be.push(ye, je); - D = Be; - } - - H = D; - T = H; - } else { - D = []; - - while (true) { - H = 127 & _; - _ >>= 7; - - if (_) { - H = 128 | H; - } - - D.push(H); - - if (!_) { - break; - } - } - - T = D; - } - - y = 0 | J; - _ = T; - T = 16384 > y; - - if (R) { - J = te[55]; - B = J.length; - J = te[55]; - J[B] = z; - } - - z = W; - Vt = Vt.concat(_); - No = B; - - if (T) { - B = void 0; - R = y; - W = 0 | R; - R = 128 > W; - - if (R) { - _ = [W]; - B = _; - } else { - _ = []; - J = W % 128; - D = W - J; - H = J + 128; - J = D / 128; - D = 127 & J; - - _.push(H, D); - - B = _; - } - - R = B; - hn = R; - } else { - B = []; - - while (true) { - R = 127 & y; - y >>= 7; - - if (y) { - R = 128 | R; - } - - B.push(R); - - if (!y) { - break; - } - } - - hn = B; - } - - y = No; - B = hn; - T = B.concat(g); - - if (U) { - B = [Y]; - he = B; - } else { - B = []; - R = Y % 128; - W = R + 128; - _ = Y - R; - R = _ / 128; - _ = 127 & R; - B.push(W, _); - he = B; - } - - Ye = Ye.concat(T); - B = y; - R = z[29]; - Y = B; - W = R; - R = he; - _ = Ye; - g = _.slice(0, Ko); - _ = g[0] << 8; - - if (W.indexOf) { - U = W.indexOf(Y); - Tt = U; - } else { - U = 0; - - while (U < W.length) { - J = W[U] === Y; - - if (J) { - Tt = U; - mo = 1; - } - - U++; - } - - if (!mo) { - Tt = -1; - } - } - - Vt = Vt.concat(R); - R = _ | g[1]; - Y = R[uo](); - R = Tt; - W = -1 === R; - - if (W) { - _ = z[29]; - R = _.length; - _ = z[29]; - - _.push(B); - } - - B = Mt; - z = R + 1; - R = B[14]; - B = Mt; - - if (!R) { - R = Jo; - } - - rn = z; - z = +new M[Me]() - B[12]; - W = R; - - if (!B[1]) { - B[1] = []; - } - - y = rn; - R = W; - W = B[1]; - g = Y.split(Jo); - B = y; - y = Tn; - W.push(z); - z = y[Ln]; - Y = g; - M = 0 | B; - B = y[Da]; - R += Jo; - _ = y[X]; - g = 128 > M; - - if (g) { - U = [M]; - gn = U; - } else { - U = []; - J = M % 128; - D = J + 128; - H = M - J; - J = H / 128; - H = 127 & J; - U.push(D, H); - gn = U; - } - - M = W.length > 128; - g = gn; - U = !B; - - while (Zn < R.length) { - J = R.charCodeAt(Zn); - D = 255 & J; - qa.push(D); - Zn++; - } - - if (!U) { - U = y[Io]; - } - - Vt = Vt.concat(g); - y = U; - - if (M) { - R = "shift"; - W[R](); - } - - Hr = Vt; - I = qa; - R = W.length; - M = Hr; - g = Bo % Y.length; - U = [R]; - - if (M) { - Ra.push(1); - Ra = Ra.concat(M); - } else { - Ra.push(0); - } - - M = Y[g]; - Y = I; - g = M % 4; - - while (R > _e) { - M = W[_e]; - I = void 0; - J = M; - M = 0 | J; - J = 16384 > M; - - if (J) { - D = void 0; - H = M; - ne = 0 | H; - H = 128 > ne; - - if (H) { - te = [ne]; - D = te; - } else { - te = ne % 128; - he = ne - te; - mo = he / 128; - he = te + 128; - te = 127 & mo; - mo = []; - mo.push(he, te); - D = mo; - } - - H = D; - I = H; - } else { - D = []; - - while (true) { - H = 127 & M; - M >>= 7; - - if (M) { - H = 128 | H; - } - - D.push(H); - - if (!M) { - break; - } - } - - I = D; - } - - M = I; - U = U.concat(M); - _e++; - } - - Nn = g; - R = Mt; - W = Y.length > 128; - Ft = U; - - if (W) { - Y.length = 128; - } - - W = Nn; - - if (R[70]) { - M = void 0; - g = 0; - I = void 0; - U = void 0; - J = void 0; - D = R[70]; - H = void 0; - ne = 0; - te = R; - - if (!te[55]) { - te[55] = []; - } - - he = D; - Fo.push(4); - D = te[55]; - he += Jo; - mo = D; - D = he; - - if (mo.indexOf) { - on = mo.indexOf(D); - U = on; - } else { - on = 0; - - while (on < mo.length) { - Be = mo[on] === D; - - if (Be) { - U = on; - g = 1; - } - - on++; - } - - if (!g) { - U = -1; - } - } - - g = U; - U = -1 === g; - - if (U) { - D = te[55]; - mo = te[55]; - g = D.length; - mo[g] = he; - } - - M = g; - g = M; - M = g; - g = R; - U = g[29]; - D = U; - U = M; - - if (D.indexOf) { - te = D.indexOf(U); - H = te; - } else { - te = 0; - - while (te < D.length) { - he = D[te] === U; - - if (he) { - H = te; - ne = 1; - } - - te++; - } - - if (!ne) { - H = -1; - } - } - - U = H; - D = -1 === U; - - if (D) { - H = g[29]; - U = H.length; - H = g[29]; - H.push(M); - } - - M = U + 1; - J = M; - M = J; - g = M; - M = 0 | g; - g = 128 > M; - - if (g) { - U = [M]; - I = U; - } else { - U = []; - J = M % 128; - D = M - J; - H = J + 128; - J = D / 128; - D = 127 & J; - U.push(H, D); - I = U; - } - - M = I; - Fo = Fo.concat(M); - } else { - Fo.push(0); - } - - R = Ft; - M = Mt; - - if (y) { - Fo.push(0); - } else { - g = z[Un](B[qo], "name"); - I = g; - - if (I) { - I = g[st]; - } - - U = I; - - if (U) { - I = _[Fn](lt); - J = g[st]; - D = I[Ha](J[Dt], J); - I = "12306.cn"; - J = D.join(On); - D = J.split(I); - I = D.length; - J = I - 1; - I = 255 & J; - Fo.push(1, I); - } else { - Fo.push(0); - } - } - - if (M[72]) { - y = M[72]; - B = 255 & y.length; - z = void 0; - _ = y; - g = y.length >> 8; - y = 0; - I = []; - U = 255 & g; - _ += Jo; - - while (y < _.length) { - g = _.charCodeAt(y); - J = 255 & g; - I.push(J); - y++; - } - - z = I; - y = z; - z = []; - z.push(U, B); - K = z; - K = K.concat(y); - } - - vn = K; - y = Tn; - B = Mt; - Fo.push(255); - - if (Z) { - z = B[49]; - - if (z) { - K = []; - M = le[10]; - _ = void 0; - g = z.length - M; - M = 0; - I = 0 > g; - U = 0; - - if (I) { - g = 0; - } - - while (g < z.length) { - I = z[g]; - J = 0 !== I[2]; - - if (!J) { - J = I[1]; - D = B[48]; - H = J % 7; - ne = D[H]; - D = ne ^ I[0]; - I = void 0; - H = B; - ne = D; - te = H[29]; - he = void 0; - mo = 0; - on = ne; - Be = te; - - if (Be.indexOf) { - te = Be.indexOf(on); - he = te; - } else { - te = 0; - - while (te < Be.length) { - je = Be[te] === on; - - if (je) { - he = te; - mo = 1; - } - - te++; - } - - if (!mo) { - he = -1; - } - } - - te = he; - he = -1 === te; - - if (he) { - mo = H[29]; - te = mo.length; - mo = H[29]; - mo.push(ne); - } - - H = te + 1; - I = H; - D = I; - I = J - M; - H = void 0; - ne = I; - I = 0 | ne; - ne = 16384 > I; - - if (ne) { - te = I; - he = void 0; - mo = 0 | te; - te = 128 > mo; - - if (te) { - on = [mo]; - he = on; - } else { - on = []; - Be = mo % 128; - je = mo - Be; - ye = Be + 128; - Be = je / 128; - je = 127 & Be; - on.push(ye, je); - he = on; - } - - te = he; - H = te; - } else { - te = []; - - while (true) { - he = 127 & I; - I >>= 7; - - if (I) { - he = 128 | he; - } - - te.push(he); - - if (!I) { - break; - } - } - - H = te; - } - - I = H; - K = K.concat(I); - I = void 0; - H = D; - D = 0 | H; - H = 128 > D; - - if (H) { - ne = [D]; - I = ne; - } else { - ne = []; - te = D % 128; - he = D - te; - mo = he / 128; - he = te + 128; - te = 127 & mo; - ne.push(he, te); - I = ne; - } - - D = I; - K = K.concat(D); - M = J; - U++; - } - - g++; - } - - M = U; - g = 0 | M; - M = 128 > g; - - if (M) { - I = [g]; - _ = I; - } else { - I = []; - U = g % 128; - J = g - U; - D = J / 128; - J = 127 & D; - D = U + 128; - I.push(D, J); - _ = I; - } - - M = _; - K = M.concat(K); - V = K; - } else { - K = [0]; - V = K; - } - } else { - V = void 0; - } - - B = y[xo]; - se = Fo; - y = V; - z = re; - V = se; - K = Mt; - - if (K[45]) { - Z = K[45] ^ K[12]; - M = Z; - Z = M >> 16; - _ = M >> 24; - g = 255 & Z; - Z = 255 & M; - I = M >> 8; - M = 255 & _; - _ = 255 & I; - I = []; - U = void 0; - I.push(M, g, _, Z); - U = I; - Z = U; - io = Z; - } else { - Z = void 0; - M = e + Jo; - _ = []; - g = 23; - I = new RegExp(pt, Wt); - U = 2648; - J = g; - g = M[Oo](I, Jo); - - if (!J) { - J = 0; - } - - M = 0; - I = U; - U = g[Oo](/"/g, Jo); - - if (!I) { - I = 1; - } - - g = void 0; - le = U[Oo](/'/g, Jo); - U = le[Oo](/;/g, Jo); - le = I; - I = J; - J = U; - U = J.length; - - while (true) { - D = U > I; - - if (D) { - D = 31 * M; - M = 0 | D; - D = J.charCodeAt(I); - M += D; - I += le; - } else { - break; - } - } - - Z = M; - M = Z; - Z = M; - M = Z >> 24; - I = 255 & Z; - U = Z >> 8; - J = 255 & U; - U = 255 & M; - M = Z >> 16; - Z = 255 & M; - - _.push(U, Z, J, I); - - g = _; - Z = g; - io = Z; - } - - Sr.push(Y.length); - K = io; - Z = vn; - - if (K) { - Ta.push(1); - Ta = Ta.concat(K); - } else { - Ta.push(0); - } - - Sr = Sr.concat(Y); - Y = Mt; - St = Sr; - K = St; - M = Y[47]; - - if (M) { - _ = z; - Y[51] = []; - g = []; - I = Y; - U = []; - J = void 0; - le = []; - D = M; - H = []; - g[0] = 0; - g[1] = 0; - se = []; - ne = 0; - te = se; - he = 0; - vn = []; - mo = []; - on = void 0; - Be = D.length <= 1; - je = void 0; - - if (Be) { - je = he; - } else { - ye = 0; - Fo = 0 !== _[8]; - Ke = _[18]; - ao = -1; - He = _[24] * _[7]; - so = D.length - He; - He = Ke.length; - Ke = 0 >= so; - _e = _[14]; - - if (Ke) { - so = 0; - } - - he = so; - Ke = 0 !== He; - - if (Ke) { - He = _[18]; - ae = []; - an = 0; - ye = D.length - 1; - - while (an < He.length) { - ae[an] = new RegExp(He[an]); - an++; - } - - while (ye >= 0) { - He = D[ye]; - Ge = 0 === He[15]; - - if (Ge) { - ao = ye; - } - - Ge = 1 === He[15]; - - if (Ge) { - an = 0; - Bo = He[11]; - F = Co; - No = I[48]; - Ko = Bo % 7; - Bo = No[Ko]; - No = Bo ^ He[6]; - - while (an < ae.length) { - Bo = ae[an]; - Ko = I[55]; - ce = Ko[No]; - Ko = Bo[F](ce); - - if (Ko) { - He[15] = 0; - ao = ye; - break; - } - - an++; - } - } - - He = -1 !== ao; - - if (He) { - break; - } - - ye--; - } - } - - Ke = _e.length; - He = 0 !== Ke; - - if (He) { - Ke = []; - _e = 0; - ae = _[14]; - - while (_e < ae.length) { - Ke[_e] = new RegExp(ae[_e]); - _e++; - } - - ye = D.length - 1; - - while (ye >= 0) { - ae = D[ye]; - an = 4 === ae[15]; - - if (an) { - ao = ye; - } - - an = 1 === ae[15]; - - if (an) { - Ge = ae[11]; - Bo = I[48]; - F = Co; - _e = 0; - No = Ge % 7; - Ge = Bo[No]; - Bo = Ge ^ ae[6]; - - while (_e < Ke.length) { - Ge = Ke[_e]; - No = I[55]; - Ko = No[Bo]; - No = Ge[F](Ko); - - if (No) { - ae[15] = 4; - ao = ye; - break; - } - - _e++; - } - } - - ae = 2 === D[15]; - - if (ae) { - break; - } - - ye--; - } - } - - Ke = -1 !== ao; - - if (Ke) { - Ke = so > ao; - } - - He = Ke; - - if (He) { - he = ao; - } - - if (Fo) { - Fo = he > 0; - } - - Ke = Fo; - - if (Ke) { - Fo = 0; - ye = he; - - while (ye < D.length) { - ao = D[ye]; - He = 1 === ao[15]; - - if (!He) { - He = 0 === ao[15]; - } - - so = He; - - if (!so) { - so = 4 === ao[15]; - } - - ao = so; - - if (ao) { - Fo++; - } - - ye++; - } - - ao = Fo < _[8]; - - if (ao) { - ye = he - 1; - - while (ye >= 0) { - He = D[ye]; - so = 1 === He[15]; - - if (!so) { - so = 0 === He[15]; - } - - _e = so; - - if (!_e) { - _e = 4 === He[15]; - } - - so = _e; - - if (so) { - te.push(He); - Fo++; - _e = Fo >= _[8]; - - if (_e) { - break; - } - } - - so = 5 === He[15]; - - if (so) { - te.push(He); - } - - ye--; - } - } - } - - je = he; - } - - _ = 0 !== se.length; - I = je; - - if (_) { - D = se.length - 1; - - while (D >= 0) { - te = se[D]; - he = void 0; - Be = Y; - je = H; - ye = z; - Fo = te; - te = ye[23]; - - if (te) { - ye = 0; - Ke = void 0; - var Vi; - ao = void 0; - He = Fo[11]; - so = 4 === Fo[15]; - _e = He % 7; - var Qi; - var Wi; - ae = 5 === Fo[15]; - an = void 0; - Ge = 0 === je.length; - var Gi; - Bo = 0 === Fo[15]; - F = Be[48]; - No = void 0; - Ko = void 0; - ce = F[_e]; - _e = void 0; - F = 0; - - if (ae) { - ye = 1; - } - - if (Ge) { - je[2] = 0; - je[13] = 0; - je[11] = 0; - } - - ae = ce ^ Fo[2]; - Ge = ce ^ Fo[7]; - gn = Be; - ln = ce ^ Fo[13]; - Zo = ae - je[2]; - ee = He - je[11]; - rn = gn[29]; - oe = Zo; - Zo = ce ^ Fo[14]; - io = ln - je[13]; - - if (Bo) { - ye = 2; - } - - Bo = ce ^ Fo[17]; - hn = io; - io = 1 === Ge; - je[2] = ae; - ae = rn; - rn = 0 | hn; - - if (so) { - ye = 3; - } - - so = 1 === Ge; - hn = Bo; - Uo = 0 | oe; - oe = 0 > rn; - Nn = oe; - - if (io) { - Wi = ce ^ Fo[12]; - Vi = ce ^ Fo[0]; - Qi = ce ^ Fo[9]; - Gi = ce ^ Fo[8]; - } - - ce = ee; - - if (Nn) { - Nn = -rn; - } else { - Nn = rn; - } - - ee = 0 | ce; - ce = 0 > Uo; - rn = Nn; - io = 16384 > ee; - Nn = ce; - Zn = 64 > rn; - - if (io) { - Ve = ee; - Fn = void 0; - Vo = 0 | Ve; - Ve = 128 > Vo; - - if (Ve) { - nt = [Vo]; - Fn = nt; - } else { - nt = []; - xt = Vo % 128; - St = Vo - xt; - cn = xt + 128; - xt = St / 128; - St = 127 & xt; - nt.push(cn, St); - Fn = nt; - } - - Ve = Fn; - ao = Ve; - } else { - Ve = []; - - while (true) { - Fn = 127 & ee; - ee >>= 7; - - if (ee) { - Fn = 128 | Fn; - } - - Ve.push(Fn); - - if (!ee) { - break; - } - } - - ao = Ve; - } - - je[13] = ln; - - if (Nn) { - Nn = -Uo; - } else { - Nn = Uo; - } - - ln = ao; - je[11] = He; - - if (Zn) { - ao = [rn + 64 * oe]; - No = ao; - } else { - ao = []; - He = 64 * oe; - ee = rn % 128; - io = rn - ee; - Uo = ee + 128; - ee = io / 128; - io = 63 & ee; - ee = io + He; - ao.push(Uo, ee); - No = ao; - } - - ao = [ye]; - ye = Nn; - He = hn; - ee = 64 > ye; - - if (ae.indexOf) { - rn = ae.indexOf(He); - Ko = rn; - } else { - rn = 0; - - while (rn < ae.length) { - oe = ae[rn] === He; - - if (oe) { - Ko = rn; - F = 1; - } - - rn++; - } - - if (!F) { - Ko = -1; - } - } - - He = No; - - if (ee) { - ae = [ye + 64 * ce]; - an = ae; - } else { - ae = []; - F = ye % 128; - No = 64 * ce; - rn = ye - F; - oe = rn / 128; - rn = F + 128; - F = 63 & oe; - oe = F + No; - ae.push(rn, oe); - an = ae; - } - - ye = Ko; - ae = -1 === ye; - - if (ae) { - F = gn[29]; - ye = F.length; - F = gn[29]; - F.push(hn); - } - - ae = an; - an = ye + 1; - ao = ao.concat(ae); - Ke = an; - Bo = Ke; - ye = Bo; - Ke = 0 | ye; - ye = 128 > Ke; - ao = ao.concat(He); - ao.push(Zo); - - if (ye) { - He = [Ke]; - _e = He; - } else { - He = Ke % 128; - ae = He + 128; - an = []; - Bo = Ke - He; - He = Bo / 128; - Bo = 127 & He; - an.push(ae, Bo); - _e = an; - } - - ao = ao.concat(ln); - ye = _e; - ao.push(Ge); - - if (so) { - Ke = void 0; - He = Vi; - _e = Wi; - ae = void 0; - an = void 0; - Ge = 0 | He; - He = void 0; - Bo = 0 | _e; - _e = Gi; - F = 0 > Ge; - No = 0 > Bo; - Ko = F; - ce = 0 | _e; - _e = 0 > ce; - gn = Qi; - ln = _e; - Zo = No; - - if (ln) { - ln = -ce; - } else { - ln = ce; - } - - ce = 0 | gn; - - if (Ko) { - Ko = -Ge; - } else { - Ko = Ge; - } - - if (Zo) { - Zo = -Bo; - } else { - Zo = Bo; - } - - Ge = Ko; - Bo = 0 > ce; - Ko = 64 > Ge; - gn = Zo; - Zo = Bo; - ee = ln; - ln = 64 > ee; - rn = 64 > gn; - - if (Zo) { - Zo = -ce; - } else { - Zo = ce; - } - - if (rn) { - ce = [gn + 64 * No]; - Ke = ce; - } else { - ce = []; - oe = 64 * No; - io = gn % 128; - hn = gn - io; - Uo = hn / 128; - hn = 63 & Uo; - Uo = io + 128; - io = hn + oe; - ce.push(Uo, io); - Ke = ce; - } - - No = Zo; - - if (Ko) { - ce = [Ge + 64 * F]; - He = ce; - } else { - ce = Ge % 128; - gn = Ge - ce; - Zo = 64 * F; - rn = []; - oe = gn / 128; - gn = 63 & oe; - oe = gn + Zo; - gn = ce + 128; - rn.push(gn, oe); - He = rn; - } - - Ge = 64 > No; - - if (ln) { - F = [ee + 64 * _e]; - an = F; - } else { - F = ee % 128; - Ko = ee - F; - ce = []; - gn = Ko / 128; - Ko = 64 * _e; - Zo = 63 & gn; - gn = Zo + Ko; - Ko = F + 128; - ce.push(Ko, gn); - an = ce; - } - - _e = He; - He = an; - an = Ke; - - if (Ge) { - Ke = [No + 64 * Bo]; - ae = Ke; - } else { - Ke = []; - F = No % 128; - Ko = No - F; - ce = Ko / 128; - Ko = F + 128; - F = 64 * Bo; - gn = 63 & ce; - ce = gn + F; - Ke.push(Ko, ce); - ae = Ke; - } - - Ke = ae; - ao = ao.concat(an); - ao = ao.concat(_e); - ao = ao.concat(Ke); - ao = ao.concat(He); - } - - ao = ao.concat(ye); - he = ao; - } else { - he = void 0; - } - - gi = he; - - if (gi) { - U = U.concat(gi); - ne++; - } - - D--; - } - } - - while (I < M.length) { - _ = M[I]; - gi = 0; - D = 1 === _[15]; - - if (!D) { - D = 5 === _[15]; - } - - se = D; - - if (!se) { - se = 0 === _[15]; - } - - D = se; - - if (!D) { - D = 4 === _[15]; - } - - se = D; - - if (se) { - D = void 0; - te = _; - he = z; - Be = Y; - je = H; - ye = he[23]; - - if (ye) { - he = 4 === te[15]; - var ji; - Fo = 0 === te[15]; - Ke = 0; - ao = Be[48]; - He = void 0; - so = void 0; - var Oi; - _e = 0; - ae = void 0; - an = 5 === te[15]; - Ge = te[11]; - var yi; - - if (an) { - _e = 1; - } - - if (Fo) { - _e = 2; - } - - Fo = Ge % 7; - - if (he) { - _e = 3; - } - - he = Be; - an = 0 === je.length; - Bo = void 0; - var Di; - F = void 0; - No = ao[Fo]; - Fo = he[29]; - ao = No ^ te[2]; - - if (an) { - je[2] = 0; - je[13] = 0; - je[11] = 0; - } - - an = No ^ te[7]; - Ko = No ^ te[17]; - ce = Fo; - Fo = No ^ te[14]; - gn = void 0; - ln = Ge - je[11]; - Zo = ao - je[2]; - ee = 1 === an; - rn = 1 === an; - je[2] = ao; - ao = Ko; - - if (ee) { - Di = No ^ te[12]; - Oi = No ^ te[0]; - ji = No ^ te[9]; - yi = No ^ te[8]; - } - - ee = No ^ te[13]; - No = Zo; - Zo = ln; - ln = 0 | No; - No = 0 > ln; - oe = ao; - io = ee - je[13]; - je[13] = ee; - ee = No; - hn = io; - - if (ce.indexOf) { - io = ce.indexOf(oe); - ae = io; - } else { - io = 0; - - while (io < ce.length) { - Uo = ce[io] === oe; - - if (Uo) { - ae = io; - Ke = 1; - } - - io++; - } - - if (!Ke) { - ae = -1; - } - } - - if (ee) { - ee = -ln; - } else { - ee = ln; - } - - je[11] = Ge; - Ke = ee; - Ge = ae; - ae = 0 | Zo; - ce = 0 | hn; - ln = [_e]; - _e = 64 > Ke; - Zo = -1 === Ge; - ee = 16384 > ae; - oe = 0 > ce; - - if (_e) { - io = [Ke + 64 * No]; - so = io; - } else { - io = Ke % 128; - hn = Ke - io; - Uo = io + 128; - io = 64 * No; - Nn = []; - Zn = hn / 128; - hn = 63 & Zn; - Zn = hn + io; - Nn.push(Uo, Zn); - so = Nn; - } - - if (Zo) { - Ke = he[29]; - Ge = Ke.length; - Ke = he[29]; - Ke.push(ao); - } - - if (ee) { - he = ae; - Ke = 0 | he; - he = void 0; - ao = 128 > Ke; - - if (ao) { - _e = [Ke]; - he = _e; - } else { - _e = []; - No = Ke % 128; - Zo = No + 128; - io = Ke - No; - No = io / 128; - io = 127 & No; - - _e.push(Zo, io); - - he = _e; - } - - Ke = he; - F = Ke; - } else { - he = []; - - while (true) { - Ke = 127 & ae; - ae >>= 7; - - if (ae) { - Ke = 128 | Ke; - } - - he.push(Ke); - - if (!ae) { - break; - } - } - - F = he; - } - - he = oe; - Ke = F; - ao = so; - so = Ge + 1; - gn = so; - ln = ln.concat(ao); - Ko = gn; - - if (he) { - he = -ce; - } else { - he = ce; - } - - ao = Ko; - so = 0 | ao; - ao = 128 > so; - - if (ao) { - _e = [so]; - Bo = _e; - } else { - _e = []; - ae = so % 128; - Ge = so - ae; - F = Ge / 128; - Ge = ae + 128; - ae = 127 & F; - - _e.push(Ge, ae); - - Bo = _e; - } - - ao = Bo; - so = he; - he = 64 > so; - - if (he) { - _e = [so + 64 * oe]; - He = _e; - } else { - _e = []; - ae = so % 128; - Ge = 64 * oe; - Bo = ae + 128; - F = so - ae; - ae = F / 128; - F = 63 & ae; - ae = F + Ge; - - _e.push(Bo, ae); - - He = _e; - } - - he = He; - ln = ln.concat(he); - ln.push(Fo); - ln = ln.concat(Ke); - ln.push(an); - - if (rn) { - he = Di; - Fo = yi; - Ke = Oi; - He = void 0; - so = void 0; - _e = 0 | Ke; - Ke = 0 | he; - he = ji; - ae = 0 | Fo; - Fo = void 0; - an = 0 > Ke; - Ge = 0 | he; - he = 0 > _e; - Bo = 0 > ae; - F = an; - No = Bo; - Ko = he; - - if (F) { - F = -Ke; - } else { - F = Ke; - } - - Ke = 0 > Ge; - ce = void 0; - - if (Ko) { - Ko = -_e; - } else { - Ko = _e; - } - - if (No) { - No = -ae; - } else { - No = ae; - } - - _e = Ko; - ae = Ke; - Ko = F; - F = No; - - if (ae) { - ae = -Ge; - } else { - ae = Ge; - } - - Ge = 64 > _e; - No = 64 > F; - gn = 64 > Ko; - Zo = ae; - - if (Ge) { - ae = [_e + 64 * he]; - so = ae; - } else { - ae = []; - ee = 64 * he; - oe = _e % 128; - io = oe + 128; - hn = _e - oe; - oe = hn / 128; - hn = 63 & oe; - oe = hn + ee; - ae.push(io, oe); - so = ae; - } - - if (gn) { - he = [Ko + 64 * an]; - He = he; - } else { - he = 64 * an; - _e = []; - ae = Ko % 128; - Ge = Ko - ae; - ee = ae + 128; - ae = Ge / 128; - Ge = 63 & ae; - ae = Ge + he; - - _e.push(ee, ae); - - He = _e; - } - - if (No) { - he = [F + 64 * Bo]; - Fo = he; - } else { - he = []; - _e = F % 128; - ae = 64 * Bo; - an = _e + 128; - Ge = F - _e; - _e = Ge / 128; - Ge = 63 & _e; - _e = Ge + ae; - he.push(an, _e); - Fo = he; - } - - he = He; - He = so; - so = Fo; - Fo = 64 > Zo; - - if (Fo) { - _e = [Zo + 64 * Ke]; - ce = _e; - } else { - _e = []; - ae = Zo % 128; - an = 64 * Ke; - Ge = ae + 128; - Bo = Zo - ae; - ae = Bo / 128; - Bo = 63 & ae; - ae = Bo + an; - - _e.push(Ge, ae); - - ce = _e; - } - - ln = ln.concat(he); - ln = ln.concat(He); - he = ce; - ln = ln.concat(he); - ln = ln.concat(so); - } - - ln = ln.concat(ao); - D = ln; - } else { - D = void 0; - } - - gi = D; - - if (gi) { - U = U.concat(gi); - ne++; - } - } else { - D = 3 === _[15]; - - if (D) { - te = mo; - he = Y[51]; - Be = void 0; - je = g; - ye = z; - Fo = he; - he = ye[0]; - Ke = _; - ao = Y; - - if (he) { - He = Ke[11]; - so = He % 7; - _e = ao[48]; - je[1]++; - ae = je[1] - 1; - an = ae % ye[7]; - ae = 0 !== an; - an = _e[so]; - - if (ae) { - Be = void 0; - } else { - je[0]++; - so = 0 === te.length; - _e = 0; - Ge = void 0 !== Ke[2]; - Bo = 0; - F = 1 === je[1]; - No = an ^ Ke[17]; - - if (Ge) { - Bo = an ^ Ke[2]; - _e = an ^ Ke[13]; - } else { - Ko = an ^ Ke[10]; - ce = an ^ Ke[5]; - gn = an ^ Ke[16]; - Bo = gn - ce; - ce = an ^ Ke[3]; - _e = ce - Ko; - } - - if (so) { - te[17] = -1; - te[2] = 0; - te[13] = 0; - te[11] = 0; - } - - so = No; - Ge = so === te[17]; - Ko = He - te[11]; - ce = _e - te[13]; - gn = Bo - te[2]; - - if (Ge) { - so = 0; - } else { - ln = void 0; - Zo = No; - ee = void 0; - rn = ao; - oe = Zo; - io = rn[29]; - hn = 0; - Uo = io; - - if (Uo.indexOf) { - io = Uo.indexOf(oe); - ee = io; - } else { - io = 0; - - while (io < Uo.length) { - Nn = Uo[io] === oe; - - if (Nn) { - ee = io; - hn = 1; - } - - io++; - } - - if (!hn) { - ee = -1; - } - } - - oe = ee; - ee = -1 === oe; - - if (ee) { - io = rn[29]; - oe = io.length; - io = rn[29]; - io.push(Zo); - } - - Zo = oe + 1; - ln = Zo; - so = ln; - } - - Ge = 16 === Ko; - ln = 0 === so; - - if (F) { - Zo = Ke[4]; - ee = []; - ee.push(1, an, Zo); - Zo = ee; - Fo.push(Zo); - } - - te[17] = No; - - if (Ge) { - Ko = 0; - } - - Ge = 17 === Ko; - - if (Ge) { - Ko = 1; - } - - te[2] = Bo; - - if (ln) { - ln = Ko >= 0; - } - - te[13] = _e; - te[11] = He; - _e = ln; - Ge = []; - - if (_e) { - _e = 1 >= Ko; - } - - Bo = _e; - - if (Bo) { - Bo = gn >= -4; - } - - _e = Bo; - - if (_e) { - _e = 3 >= gn; - } - - Bo = _e; - - if (Bo) { - Bo = ce >= -4; - } - - _e = Bo; - - if (_e) { - _e = 3 >= ce; - } - - Bo = _e; - - if (Bo) { - _e = gn + 4; - F = Ko << 6; - No = ce + 4; - ln = 128 | F; - F = _e << 3; - _e = ln | F; - Ge[0] = _e | No; - } else { - _e = void 0; - F = void 0; - No = ce; - ln = void 0; - Zo = 0 | No; - No = void 0; - ee = gn; - rn = so; - oe = 0 | ee; - ee = 0 | rn; - rn = 0 > oe; - io = rn; - hn = Ko; - Uo = 64 > ee; - - if (io) { - io = -oe; - } else { - io = oe; - } - - oe = 0 | hn; - - if (Uo) { - hn = [ee]; - F = hn; - } else { - hn = []; - - while (true) { - Nn = 63 & ee; - ee >>= 6; - - if (ee) { - Nn = 64 | Nn; - } - - hn.push(Nn); - - if (!ee) { - break; - } - } - - F = hn; - } - - ee = io; - io = 16384 > oe; - hn = F; - - if (io) { - F = oe; - Uo = 0 | F; - F = void 0; - Nn = 128 > Uo; - - if (Nn) { - Zn = [Uo]; - F = Zn; - } else { - Zn = []; - Ve = Uo % 128; - Fn = Ve + 128; - Vo = Uo - Ve; - Ve = Vo / 128; - Vo = 127 & Ve; - Zn.push(Fn, Vo); - F = Zn; - } - - Uo = F; - _e = Uo; - } else { - F = []; - - while (true) { - Uo = 127 & oe; - oe >>= 7; - - if (oe) { - Uo = 128 | Uo; - } - - F.push(Uo); - - if (!oe) { - break; - } - } - - _e = F; - } - - F = 0 > Zo; - oe = 64 > ee; - io = F; - - if (io) { - io = -Zo; - } else { - io = Zo; - } - - Zo = io; - - if (oe) { - io = [ee + 64 * rn]; - ln = io; - } else { - io = []; - Uo = 64 * rn; - Nn = ee % 128; - Zn = ee - Nn; - Ve = Nn + 128; - Nn = Zn / 128; - Zn = 63 & Nn; - Nn = Zn + Uo; - io.push(Ve, Nn); - ln = io; - } - - ee = _e; - Ge = Ge.concat(hn); - _e = 64 > Zo; - - if (_e) { - rn = [Zo + 64 * F]; - No = rn; - } else { - rn = 64 * F; - oe = []; - io = Zo % 128; - hn = io + 128; - Uo = Zo - io; - io = Uo / 128; - Uo = 63 & io; - io = Uo + rn; - oe.push(hn, io); - No = oe; - } - - _e = No; - F = ln; - Ge = Ge.concat(ee); - Ge = Ge.concat(F); - Ge = Ge.concat(_e); - } - - Be = Ge; - } - } else { - Be = void 0; - } - - gi = Be; - - if (gi) { - vn = vn.concat(gi); - } - } - } - - I++; - } - - _ = g[0]; - g = ne; - I = _; - _ = 0 | I; - I = 0 | g; - g = 128 > _; - D = 128 > I; - - if (g) { - H = [_]; - on = H; - } else { - H = _ % 128; - se = []; - ne = _ - H; - te = ne / 128; - ne = 127 & te; - te = H + 128; - se.push(te, ne); - on = se; - } - - _ = on; - vn = _.concat(vn); - - if (D) { - _ = [I]; - J = _; - } else { - _ = I % 128; - g = I - _; - H = []; - se = g / 128; - g = _ + 128; - _ = 127 & se; - H.push(g, _); - J = H; - } - - _ = J; - U = _.concat(U); - le.push(U); - le.push(vn); - $r = le; - } else { - _ = [0]; - g = []; - I = [0]; - g.push(I, _); - _ = g; - $r = _; - } - - z = re; - Y = $r; - M = Mt; - - if (K) { - Ra.push(1); - Ra = Ra.concat(K); - } else { - Ra.push(0); - } - - if (q) { - Ra.push(1); - Ra = Ra.concat(q); - } else { - Ra.push(0); - } - - q = z[26]; - - if (P) { - Ra.push(1); - Ra = Ra.concat(P); - } else { - Ra.push(0); - } - - z = Y[1]; - P = M[51]; - - if (R) { - Ra.push(1); - Ra = Ra.concat(R); - } else { - Ra.push(0); - } - - if (P) { - R = P.length; - K = void 0; - M = R; - R = 0 | M; - M = 128 > R; - - if (M) { - _ = [R]; - K = _; - } else { - _ = []; - g = R % 128; - I = R - g; - U = g + 128; - g = I / 128; - I = 127 & g; - - _.push(U, I); - - K = _; - } - - R = 0; - M = K; - - while (R < P.length) { - K = P[R]; - _ = K[0]; - g = K[1]; - I = K[2]; - K = 0; - - while (K < I.length) { - I[K] = g ^ I[K]; - K++; - } - - M.push(_); - K = I.length; - _ = void 0; - g = K; - K = 0 | g; - g = 128 > K; - - if (g) { - U = [K]; - _ = U; - } else { - U = K % 128; - J = K - U; - le = U + 128; - U = J / 128; - J = 127 & U; - U = []; - U.push(le, J); - _ = U; - } - - K = _; - M = M.concat(K); - M = M.concat(I); - R++; - } - - Le = M; - } else { - R = [0]; - Le = R; - } - - R = Y[0]; - Y = Le; - - if (R) { - Ta.push(1); - Ta = Ta.concat(R); - } else { - Ta.push(0); - } - - R = re; - - if (z) { - Ta.push(1); - Ta = Ta.concat(z); - } else { - Ta.push(0); - } - - z = R[9]; - R = re; - - if (V) { - Ra.push(1); - Ra = Ra.concat(V); - } else { - Ra.push(0); - } - - P = Mt; - - if (Z) { - Ra.push(1); - Ra = Ra.concat(Z); - } else { - Ra.push(0); - } - - if (fo) { - Ra.push(1); - Ra = Ra.concat(fo); - } else { - Ra.push(0); - } - - K = R[22]; - - if (y) { - Ra.push(1); - Ra = Ra.concat(y); - } else { - Ra.push(0); - } - - y = re; - M = Ra; - _ = y[1]; - y = re; - re = M.length / 2; - g = B[Ut](re); - re = Tn; - - while (g > wn) { - B = 2 * wn; - I = 2 * wn; - U = I + 2; - I = M.slice(B, U); - B = 4 * W; - U = wn % 4; - J = B + U; - B = J % 4; - U = 0 === B; - - if (U) { - J = 0; - le = I; - D = void 0; - H = []; - se = 154; - ne = se; - - while (J < le.length) { - se = le[J] ^ ne; - Le = 255 & se; - H.push(Le); - ne = Le; - J++; - } - - D = H; - J = D; - Ao = Ao.concat(J); - } - - U = 1 === B; - - if (U) { - J = I; - le = void 0; - D = []; - H = 8; - se = 0; - ne = 19; - - while (se < J.length) { - Le = ne ^ J[se]; - te = Le >> H; - Le = te ^ J[se]; - te = 255 & Le; - D.push(te); - se++; - } - - le = D; - J = le; - Ao = Ao.concat(J); - } - - U = 2 === B; - - if (U) { - J = void 0; - le = 256; - D = 305; - H = []; - se = I; - ne = 0; - - while (ne < se.length) { - Le = se[ne]; - te = D - 1; - Le += te; - te = Le >= le; - - if (te) { - Le %= le; - } - - H.push(Le); - ne++; - } - - J = H; - le = J; - Ao = Ao.concat(le); - } - - U = 3 === B; - - if (U) { - B = []; - J = void 0; - le = 65481; - D = I; - H = 0; - se = le; - - while (H < D.length) { - le = D[H]; - ne = le ^ se; - se = ne; - le = 255 & ne; - B.push(le); - H++; - } - - J = B; - B = J; - Ao = Ao.concat(B); - } - - wn++; - } - - B = _; - W = re[vo]; - re = W[Qe]; - W = re; - W += Jo; - Ir = Ao; - - while (jo < W.length) { - re = W.charCodeAt(jo); - M = 255 & re; - L.push(M); - jo++; - } - - re = Ir; - Se = L; - L = re; - W = Tn; - M = L.slice(); - - if (q) { - L = P[41]; - _ = void 0 === L; - - if (!_) { - _ = 3 === L; - } - - g = _; - - if (g) { - _ = 0; - I = void 0; - U = W; - J = P; - J[41] = 1; - le = U[pe]; - D = le[ge]; - - if (!D) { - D = J[53]; - } - - le = D; - - if (le) { - D = U[vo]; - jo = D[Qe]; - D = yn.indexOf(jo); - - if (~D) { - J[41] = 3; - I = void 0; - _ = 1; - } - } - - if (!_) { - le = U[pe]; - U = le[zo](qe); - - if (U[co]) { - le = U[co](Fe); - - if (!le) { - le = U[co](ho); - } - - D = le; - - if (D) { - le = D[Re](Pn); - - if (le) { - jo = J; - H = void 0; - se = void 0; - ne = 0; - Ao = void 0; - - if (!jo[55]) { - jo[55] = []; - } - - Le = void 0; - te = 0; - he = jo[55]; - vn = he; - he = D[fe](le[Ee]); - mo = D[fe](le[Xe]); - wn = he; - he = mo; - wn += Jo; - he += Jo; - mo = he; - on = wn; - - if (vn.indexOf) { - Be = vn.indexOf(on); - se = Be; - } else { - Be = 0; - - while (Be < vn.length) { - je = vn[Be] === on; - - if (je) { - se = Be; - ne = 1; - } - - Be++; - } - - if (!ne) { - se = -1; - } - } - - ne = se; - se = -1 === ne; - - if (se) { - vn = jo[55]; - ne = vn.length; - vn = jo[55]; - vn[ne] = wn; - } - - H = ne; - J[69] = H; - jo = J; - - if (!jo[55]) { - jo[55] = []; - } - - H = jo[55]; - se = H; - - if (se.indexOf) { - H = se.indexOf(mo); - Le = H; - } else { - H = 0; - - while (H < se.length) { - ne = se[H] === mo; - - if (ne) { - Le = H; - te = 1; - } - - H++; - } - - if (!te) { - Le = -1; - } - } - - H = Le; - se = -1 === H; - - if (se) { - ne = jo[55]; - Le = jo[55]; - H = ne.length; - Le[H] = he; - } - - Ao = H; - J[33] = Ao; - } else { - J[41] = 0; - I = void 0; - } - } else { - J[41] = 0; - I = void 0; - } - } else { - J[41] = 0; - I = void 0; - } - } - } - - _ = [L]; - L = 1 === _[0]; - - if (L) { - g = P[69]; - I = void 0; - U = 0; - J = void 0; - le = void 0; - D = 0; - jo = void 0; - H = void 0; - se = g; - g = P; - ne = se; - Ao = g[29]; - Le = void 0; - te = P[33]; - he = Ao; - - if (he.indexOf) { - Ao = he.indexOf(ne); - jo = Ao; - } else { - Ao = 0; - - while (Ao < he.length) { - vn = he[Ao] === ne; - - if (vn) { - jo = Ao; - D = 1; - } - - Ao++; - } - - if (!D) { - jo = -1; - } - } - - D = te; - ne = jo; - jo = D; - Ao = -1 === ne; - - if (Ao) { - te = g[29]; - ne = te.length; - te = g[29]; - te.push(se); - } - - g = ne + 1; - se = P; - ne = se[29]; - I = g; - g = ne; - - if (g.indexOf) { - ne = g.indexOf(jo); - J = ne; - } else { - ne = 0; - - while (ne < g.length) { - Ao = g[ne] === jo; - - if (Ao) { - J = ne; - U = 1; - } - - ne++; - } - - if (!U) { - J = -1; - } - } - - g = J; - U = -1 === g; - - if (U) { - J = se[29]; - g = J.length; - J = se[29]; - J.push(D); - } - - U = I; - I = g + 1; - g = U; - le = I; - I = 0 | g; - g = 128 > I; - - if (g) { - U = [I]; - H = U; - } else { - U = I % 128; - J = I - U; - D = []; - jo = U + 128; - U = J / 128; - J = 127 & U; - D.push(jo, J); - H = D; - } - - g = H; - I = le; - U = I; - _ = _.concat(g); - g = 0 | U; - I = 128 > g; - - if (I) { - U = [g]; - Le = U; - } else { - U = g % 128; - J = []; - le = U + 128; - D = g - U; - U = D / 128; - D = 127 & U; - J.push(le, D); - Le = J; - } - - g = Le; - _ = _.concat(g); - } - - Xa = _; - } else { - Xa = void 0; - } - - q = Mt; - P = Tn; - L = Mt; - M.push(0, 0, 0); - W = 0 | L[18]; - _ = Se; - Se = Xa; - g = L[70] | Jo; - I = g; - xr.push(W); - W = P[Ba]; - - while (true) { - if (Wo) { - Cr += 4; - } - - Wo = 1; - P = Cr < M.length; - - if (P) { - P = 154 & M[Cr]; - ea += P; - P = Cr + 1; - g = M[P]; - P = 154 & g; - ea += P; - P = Cr + 2; - g = M[P]; - P = 154 & g; - ea += P; - P = Cr + 3; - g = M[P]; - P = 154 & g; - ea += P; - } else { - break; - } - } - - P = 255 & _.length; - M = _.slice(0, P); - _ = 65535 & ea; - g = Tn; - U = [0 | q[59]]; - jt.push(P); - I += Jo; - - while (ot < I.length) { - q = I.charCodeAt(ot); - P = 255 & q; - qr.push(P); - ot++; - } - - q = g[xo]; - Ue = qr; - $e = U; - jt = jt.concat(M); - Ea = jt; - P = Ue; - M = 255 & P.length; - g = Ea; - I = $e; - xr.push(M); - - if (g) { - Ta.push(1); - Ta = Ta.concat(g); - } else { - Ta.push(0); - } - - g = P.slice(0, M); - - if (Y) { - Ta.push(1); - Ta = Ta.concat(Y); - } else { - Ta.push(0); - } - - if (Se) { - Ta.push(1); - Ta = Ta.concat(Se); - } else { - Ta.push(0); - } - - Se = _; - - if (ie) { - Ta.push(1); - Ta = Ta.concat(ie); - } else { - Ta.push(0); - } - - if (V) { - Ta.push(1); - Ta = Ta.concat(V); - } else { - Ta.push(0); - } - - xr = xr.concat(g); - V = Se >> 8; - - if (I) { - Ta.push(1); - Ta = Ta.concat(I); - } else { - Ta.push(0); - } - - if (L[67]) { - P = L[67]; - ie = []; - M = 0; - _ = 0; - g = void 0; - I = P.length; - P = void 0; - U = Jo + I; - J = I / 20; - I = 0 | J; - J = U + L[67]; - U = J; - J = _; - _ = U.length; - Ue = I; - I = Ue; - - if (!J) { - J = 0; - } - - if (!I) { - I = 1; - } - - Ue = J; - J = I; - - while (true) { - I = _ > Ue; - - if (I) { - I = 31 * M; - M = 0 | I; - I = U.charCodeAt(Ue); - M += I; - Ue += J; - } else { - break; - } - } - - g = M; - M = g; - _ = M; - M = _ >> 24; - g = 255 & _; - I = _ >> 8; - U = 255 & M; - M = 255 & I; - I = _ >> 16; - _ = 255 & I; - ie.push(U, _, M, g); - P = ie; - ie = P; - xr = xr.concat(ie); - } else { - xr.push(0, 0, 0, 0); - } - - P = 255 & Se; - Br = xr; - Se = Jo; - L = Se; - ie = Mt; - M = 255 & V; - ar.push(M, P); - V = Br; - - if (V) { - Ta.push(1); - Ta = Ta.concat(V); - } else { - Ta.push(0); - } - - er = ar; - V = Ta; - P = er; - M = V.slice(); - - while (_n < M.length) { - _ = 255 & M[_n]; - g = 0; - I = 0; - g = qt.indexOf(Te[_], 1); - U = 255 === _; - - if (U) { - U = qt.length - 1; - } else { - J = _ + 1; - Ue = Te[J]; - U = qt.indexOf(Ue, 1); - } - - I = U; - _ = ke - m; - U = _ / qt.length; - _ = U * I; - ke = m + _; - _ = U * g; - m += _; - _ = qt[Ia](0, I); - g = _ + Yn; - _ = qt[Ia](I); - qt = g + _; - _ = ke[Aa](2); - g = _[Ia](2); - _ = m[Aa](2); - I = _[Ia](2); - _ = g.split(Se); - U = I.split(Se); - I = 0; - J = _[_a]; - - if (J) { - J = ie[27]; - } - - Ue = J; - - if (Ue) { - I = _[_a](ie[27], U); - } else { - J = _[I] === U[I]; - - while (J) { - I++; - J = _[I] === U[I]; - } - } - - _ = g[Ia](0, I); - L += _; - _ = Math.pow(2, I); - g = ke * _; - I = 0 | g; - ke = g - I; - g = m * _; - m = g - I; - _n++; - } - - ke = V.length; - V = m[Aa](2); - m = V[Ia](2); - V = ke; - $ = P; - ke = m[hi](S, Se); - L += ke; - ke = 0 | V; - Se = 16384 > ke; - - if (Se) { - V = void 0; - P = ke; - m = 0 | P; - P = 128 > m; - - if (P) { - ie = [m]; - V = ie; - } else { - ie = []; - M = m % 128; - _ = m - M; - g = M + 128; - M = _ / 128; - _ = 127 & M; - ie.push(g, _); - V = ie; - } - - P = V; - De = P; - } else { - V = []; - - while (true) { - P = 127 & ke; - ke >>= 7; - - if (ke) { - P = 128 | P; - } - - V.push(P); - - if (!ke) { - break; - } - } - - De = V; - } - - ke = $; - Se = De; - - while (true) { - V = L.length > 7; - - if (V) { - V = L[Ia](0, 8); - P = W(V, 2); - Se.push(P); - L = L[Ia](8); - } else { - break; - } - } - - B += Jo; - V = B; - P = ke.concat(re); - re = P.length; - ke = L + Jt; - m = re; - re = 0 | m; - m = ke[Ia](0, 8); - ke = 16384 > re; - - if (ke) { - $ = void 0; - L = re; - ie = 0 | L; - L = 128 > ie; - - if (L) { - M = [ie]; - $ = M; - } else { - M = ie % 128; - _ = []; - g = ie - M; - I = g / 128; - g = 127 & I; - I = M + 128; - - _.push(I, g); - - $ = _; - } - - L = $; - bo = L; - } else { - $ = []; - - while (true) { - L = 127 & re; - re >>= 7; - - if (re) { - L = 128 | L; - } - - $.push(L); - - if (!re) { - break; - } - } - - bo = $; - } - - re = bo; - ke = re.concat(P); - re = T.length + ke.length; - T = W(m, 2); - Ye = Ye.concat(ke); - Se.push(T); - kr = Se; - Ta = kr; - ke = Ye; - T = ke.slice(0, dr); - ke = Ta; - Se = T[0] << 8; - P = ke.length / 2; - m = Se | T[1]; - Se = m[uo](); - m = q[Ut](P); - q = "Ohbf"; - T = Se.split(Jo); - Se = Tn; - P = q; - - if (z) { - q = void 0; - $ = void 0; - ie = "outerHeight"; - M = "screenTop"; - _ = "documentElement"; - g = void 0; - U = void 0; - le = void 0; - jo = void 0; - $e = "outerWidth"; - H = void 0; - Te = Se[pe]; - se = "screen"; - Ao = void 0; - te = void 0; - he = void 0; - Wo = "clientHeight"; - var bo = "height"; - var I = "innerHeight"; - J = void 0; - Ue = "availWidth"; - De = I; - I = void 0; - ne = void 0; - vn = "screenLeft"; - wn = Te[me]; - on = Te[_]; - var mo = "width"; - _ = void 0; - D = void 0; - Te = Wo; - Wo = void 0; - var W = "clientWidth"; - L = W; - W = Se[se]; - se = Se[vn]; - Le = Se[M]; - M = W[Ue]; - - if (!Le) { - Le = 0; - } - - Ue = W[mo]; - vn = W[bo]; - - if (!se) { - se = 0; - } - - bo = se; - se = Le; - Le = se; - se = bo; - - if (!Ue) { - Ue = 0; - } - - bo = 0 | Le; - Le = Ue; - Ue = 0 > bo; - mo = Le; - - if (!M) { - M = 0; - } - - if (!vn) { - vn = 0; - } - - Be = M; - M = Se[De]; - _n = 0 | se; - se = 0 | mo; - mo = Le - Be; - Be = vn; - vn = Ue; - je = 0 > _n; - fo = "innerWidth"; - ot = Se[$e]; - $e = Be; - ye = 128 > se; - Fo = mo; - mo = 0 | $e; - - if (ye) { - $e = [se]; - U = $e; - } else { - $e = []; - Ke = se % 128; - ao = Ke + 128; - He = se - Ke; - Ke = He / 128; - He = 127 & Ke; - $e.push(ao, He); - U = $e; - } - - $e = 0 | Fo; - - if (vn) { - vn = -bo; - } else { - vn = bo; - } - - bo = je; - se = 128 > mo; - ye = fo; - - if (!ot) { - ot = 0; - } - - fo = ot; - ot = 0 > $e; - Fo = Se[ye]; - Ke = ot; - - if (se) { - ao = [mo]; - I = ao; - } else { - ao = mo % 128; - He = mo - ao; - ar = []; - so = He / 128; - He = 127 & so; - so = ao + 128; - ar.push(so, He); - I = ar; - } - - se = vn; - vn = Le - fo; - - if (Ke) { - Ke = -$e; - } else { - Ke = $e; - } - - $e = Se[ye]; - - if (bo) { - bo = -_n; - } else { - bo = _n; - } - - mo = U; - U = 64 > se; - _n = bo; - bo = Ke; - - if (!$e) { - $e = 0; - } - - if (U) { - fo = [se + 64 * Ue]; - Ao = fo; - } else { - fo = se % 128; - ye = []; - Ke = se - fo; - ao = Ke / 128; - Ke = fo + 128; - fo = 64 * Ue; - He = 63 & ao; - ao = He + fo; - ye.push(Ke, ao); - Ao = ye; - } - - U = 64 > _n; - - if (!Fo) { - Ue = on; - - if (Ue) { - Ue = on[L]; - } - - Fo = Ue; - } - - Ue = 64 > bo; - se = on; - fo = Fo; - ye = vn; - vn = I; - - if (Ue) { - I = [bo + 64 * ot]; - Wo = I; - } else { - I = 64 * ot; - Fo = bo % 128; - Ke = Fo + 128; - ao = bo - Fo; - Fo = ao / 128; - ao = 63 & Fo; - Fo = ao + I; - I = []; - I.push(Ke, Fo); - Wo = I; - } - - if (U) { - I = [_n + 64 * je]; - $ = I; - } else { - I = []; - Ue = _n % 128; - bo = _n - Ue; - ot = 64 * je; - Fo = bo / 128; - bo = Ue + 128; - Ue = 63 & Fo; - Fo = Ue + ot; - I.push(bo, Fo); - $ = I; - } - - if (se) { - se = on[L]; - } - - I = Wo; - U = Ao; - - if (!M) { - Ue = on; - - if (Ue) { - Ue = on[Te]; - } - - M = Ue; - } - - Ue = se; - bo = M; - M = 0 | ye; - - if (!fo) { - se = wn; - - if (se) { - se = wn[L]; - } - - fo = se; - } - - se = fo; - - if (!Ue) { - Ue = 0; - } - - Ao = 0 > M; - Wo = wn; - _n = $; - - if (!se) { - se = 0; - } - - $ = $e; - $e = Ao; - je = Ue; - - if (Wo) { - Wo = wn[L]; - } - - U = U.concat(_n); - L = on; - Ue = Wo; - Wo = Le - je; - _n = se; - - if ($e) { - $e = -M; - } else { - $e = M; - } - - M = Le - $; - $ = $e; - $e = Wo; - se = Le - _n; - - if (!Ue) { - Ue = 0; - } - - if (!bo) { - Wo = wn; - - if (Wo) { - Wo = wn[Te]; - } - - bo = Wo; - } - - Wo = se; - se = wn; - _n = 64 > $; - U = U.concat(mo); - mo = 0 | $e; - $e = M; - M = Ue; - - if (_n) { - Ue = [$ + 64 * Ao]; - le = Ue; - } else { - Ue = 64 * Ao; - je = []; - fo = $ % 128; - ot = $ - fo; - ye = fo + 128; - fo = ot / 128; - ot = 63 & fo; - fo = ot + Ue; - je.push(ye, fo); - le = je; - } - - $ = 0 | Wo; - Ue = 0 | $e; - - if (se) { - se = wn[Te]; - } - - $e = 0 > mo; - Ao = Se[De]; - De = Se[ie]; - ie = le; - le = "availHeight"; - Wo = 0 > Ue; - wn = se; - se = Le - M; - - if (!Ao) { - Ao = 0; - } - - M = $e; - Le = W[le]; - W = Wo; - le = se; - se = Ao; - - if (!De) { - De = 0; - } - - Ao = bo; - - if (!wn) { - wn = 0; - } - - bo = 0 | le; - - if (L) { - L = on[Te]; - } - - if (W) { - W = -Ue; - } else { - W = Ue; - } - - if (!Le) { - Le = 0; - } - - Ue = 0 > bo; - le = 0 > $; - Te = L; - - if (M) { - M = -mo; - } else { - M = mo; - } - - L = Le; - Le = De; - De = le; - - if (!Ao) { - Ao = 0; - } - - mo = Ue; - on = W; - - if (!Te) { - Te = 0; - } - - W = Be - se; - se = Te; - Te = Be - L; - L = M; - M = Be - Le; - Le = wn; - - if (mo) { - mo = -bo; - } else { - mo = bo; - } - - bo = Ao; - Ao = 64 > L; - wn = W; - W = Be - bo; - bo = M; - - if (De) { - De = -$; - } else { - De = $; - } - - $ = 0 | wn; - - if (Ao) { - M = [L + 64 * $e]; - D = M; - } else { - M = L % 128; - wn = 64 * $e; - _n = []; - je = M + 128; - fo = L - M; - M = fo / 128; - fo = 63 & M; - M = fo + wn; - - _n.push(je, M); - - D = _n; - } - - L = Be - se; - M = 64 > on; - $e = De; - De = 0 > $; - - if (M) { - se = [on + 64 * Wo]; - q = se; - } else { - se = on % 128; - Ao = on - se; - wn = 64 * Wo; - _n = se + 128; - se = []; - je = Ao / 128; - Ao = 63 & je; - je = Ao + wn; - se.push(_n, je); - q = se; - } - - M = Be - Le; - se = 0 | bo; - bo = D; - D = 64 > $e; - Ao = q; - q = mo; - Le = W; - W = De; - Wo = Te; - Te = 64 > q; - mo = 0 | Le; - - if (D) { - Le = [$e + 64 * le]; - g = Le; - } else { - Le = 64 * le; - wn = $e % 128; - on = []; - Be = wn + 128; - _n = $e - wn; - wn = _n / 128; - _n = 63 & wn; - wn = _n + Le; - on.push(Be, wn); - g = on; - } - - le = 0 | Wo; - D = 0 > mo; - - if (Te) { - $e = [q + 64 * Ue]; - he = $e; - } else { - $e = q % 128; - Le = q - $e; - Wo = []; - wn = $e + 128; - $e = Le / 128; - Le = 64 * Ue; - on = 63 & $e; - $e = on + Le; - Wo.push(wn, $e); - he = Wo; - } - - if (W) { - W = -$; - } else { - W = $; - } - - q = g; - $ = L; - L = D; - g = 0 > se; - Ue = he; - $e = 0 > le; - - if (L) { - L = -mo; - } else { - L = mo; - } - - Te = W; - W = M; - U = U.concat(q); - q = $e; - M = 64 > Te; - U = U.concat(I); - I = 0 | W; - W = L; - - if (M) { - L = [Te + 64 * De]; - ne = L; - } else { - L = Te % 128; - Le = 64 * De; - he = L + 128; - Wo = Te - L; - L = Wo / 128; - Wo = 63 & L; - L = Wo + Le; - Le = []; - Le.push(he, L); - ne = Le; - } - - L = g; - - if (q) { - q = -le; - } else { - q = le; - } - - M = ne; - - if (L) { - L = -se; - } else { - L = se; - } - - U = U.concat(ie); - U = U.concat(Ao); - ie = 64 > W; - le = 0 > I; - - if (ie) { - De = [W + 64 * D]; - te = De; - } else { - De = 64 * D; - Te = W % 128; - se = W - Te; - ne = Te + 128; - Te = se / 128; - se = []; - Ao = 63 & Te; - Te = Ao + De; - se.push(ne, Te); - te = se; - } - - W = L; - L = le; - ie = q; - q = te; - U = U.concat(bo); - D = 64 > ie; - De = 64 > W; - - if (L) { - L = -I; - } else { - L = I; - } - - U = U.concat(Ue); - - if (De) { - I = [W + 64 * g]; - H = I; - } else { - I = []; - Ue = 64 * g; - bo = W % 128; - Te = bo + 128; - se = W - bo; - bo = se / 128; - se = 63 & bo; - bo = se + Ue; - I.push(Te, bo); - H = I; - } - - U = U.concat(vn); - - if (D) { - W = [ie + 64 * $e]; - jo = W; - } else { - W = 64 * $e; - g = []; - I = ie % 128; - Ue = I + 128; - De = ie - I; - I = De / 128; - De = 63 & I; - I = De + W; - g.push(Ue, I); - jo = g; - } - - W = 0 | $; - $ = jo; - ie = L; - L = 64 > ie; - g = 0 > W; - - if (L) { - I = [ie + 64 * le]; - _ = I; - } else { - I = ie % 128; - Ue = ie - I; - D = []; - jo = Ue / 128; - Ue = I + 128; - I = 63 & jo; - jo = 64 * le; - De = I + jo; - D.push(Ue, De); - _ = D; - } - - L = _; - ie = g; - _ = H; - - if (ie) { - ie = -W; - } else { - ie = W; - } - - U = U.concat(q); - q = ie; - U = U.concat($); - U = U.concat(_); - U = U.concat(M); - $ = 64 > q; - - if ($) { - W = [q + 64 * g]; - J = W; - } else { - W = []; - ie = q % 128; - M = 64 * g; - _ = ie + 128; - I = q - ie; - ie = I / 128; - I = 63 & ie; - ie = I + M; - W.push(_, ie); - J = W; - } - - q = J; - U = U.concat(q); - U = U.concat(L); - Pa = U; - } else { - Pa = void 0; - } - - q = Pa; - z = Mt; - - if (q) { - Dn.push(1); - Dn = Dn.concat(q); - } else { - Dn.push(0); - } - - q = Tn; - Se = T; - - if (K) { - T = q[Qo]; - $ = q[pn]; - L = void 0; - W = q[pe]; - ie = void 0; - M = 0; - _ = 0; - g = void 0; - I = void 0; - U = 0; - b = 1; - J = []; - Ue = void 0; - le = $; - D = void 0; - jo = void 0; - De = z; - $e = void 0; - H = "referrer"; - bo = void 0; - Te = T[en]; - T = 0; - se = void 0; - - if (le) { - le = $ != q; - } - - b = 7; - $ = le; - le = 0 | $; - b = 4; - - if (!De[55]) { - De[55] = []; - } - - $ = W[H]; - - if (R[15]) { - var H = "?"; - W = H; - H = $.indexOf(W); - ne = -1 !== H; - - if (ne) { - $ = $[ut](0, H); - } - - H = Te.indexOf(W); - W = -1 !== H; - - if (W) { - Te = Te[ut](0, H); - } - } - - Te = encodeURI(Te); - W = De[55]; - $ = encodeURI($); - H = W; - W = $; - W += Jo; - $ = Te; - Te = W; - $ += Jo; - ne = $; - - if (H.indexOf) { - Ao = H.indexOf(ne); - D = Ao; - } else { - Ao = 0; - - while (Ao < H.length) { - Le = H[Ao] === ne; - - if (Le) { - D = Ao; - _ = 1; - } - - Ao++; - } - - if (!_) { - D = -1; - } - } - - _ = D; - D = -1 === _; - - if (D) { - H = De[55]; - ne = De[55]; - _ = H.length; - ne[_] = $; - } - - I = _; - $ = z; - _ = $[29]; - D = _; - _ = I; - I = _; - De = I; - - if (D.indexOf) { - H = D.indexOf(De); - g = H; - } else { - H = 0; - - while (H < D.length) { - ne = D[H] === De; - - if (ne) { - g = H; - M = 1; - } - - H++; - } - - if (!M) { - g = -1; - } - } - - M = g; - g = -1 === M; - - if (g) { - D = $[29]; - M = D.length; - D = $[29]; - D.push(I); - } - - $ = M + 1; - bo = $; - $ = z; - _ = bo; - - if (!$[55]) { - $[55] = []; - } - - M = _; - _ = $[55]; - g = _; - _ = 0 | M; - M = 128 > _; - - if (g.indexOf) { - I = g.indexOf(Te); - L = I; - } else { - I = 0; - - while (I < g.length) { - D = g[I] === Te; - - if (D) { - L = I; - U = 1; - } - - I++; - } - - if (!U) { - L = -1; - } - } - - if (M) { - g = [_]; - jo = g; - } else { - g = _ % 128; - I = _ - g; - U = []; - D = I / 128; - I = 127 & D; - D = g + 128; - U.push(D, I); - jo = U; - } - - M = jo; - J = J.concat(M); - M = L; - L = -1 === M; - - if (L) { - _ = $[55]; - g = $[55]; - M = _.length; - g[M] = W; - } - - $ = z; - ie = M; - L = ie; - W = $[29]; - ie = W; - W = L; - M = W; - - if (ie.indexOf) { - _ = ie.indexOf(M); - $e = _; - } else { - _ = 0; - - while (_ < ie.length) { - g = ie[_] === M; - - if (g) { - $e = _; - T = 1; - } - - _++; - } - - if (!T) { - $e = -1; - } - } - - T = $e; - ie = -1 === T; - - if (ie) { - M = $[29]; - T = M.length; - M = $[29]; - M.push(W); - } - - $ = T + 1; - Ue = $; - L = Ue; - T = L; - $ = 0 | T; - T = 128 > $; - - if (T) { - W = [$]; - se = W; - } else { - W = $ % 128; - ie = []; - M = W + 128; - _ = $ - W; - W = _ / 128; - _ = 127 & W; - ie.push(M, _); - se = ie; - } - - T = se; - J = J.concat(T); - J.push(le); - - if (le) { - T = L; - $ = void 0; - W = 0 | T; - T = 128 > W; - - if (T) { - ie = [W]; - $ = ie; - } else { - ie = []; - M = W % 128; - _ = W - M; - g = _ / 128; - _ = M + 128; - M = 127 & g; - ie.push(_, M); - $ = ie; - } - - T = $; - J = J.concat(T); - } - - jn = J; - } else { - jn = void 0; - } - - q = jn; - - if (q) { - Dn.push(1); - Dn = Dn.concat(q); - } else { - Dn.push(0); - } - - if (q) { - Dn.push(1); - Dn = Dn.concat(q); - } else { - Dn.push(0); - } - - q = Mt; - z = Tn; - T = na % Se.length; - - if (q[59]) { - q[68] = 1; - R = [0]; - Jr = R; - } else { - R = e[uo](); - K = R.split(Zt); - R = K.length; - K = R > 100; - - if (K) { - q[68] = 1; - } - - K = R > 255; - - if (K) { - R = 255; - } - - K = [R]; - Jr = K; - } - - q = Mt; - R = Se[T]; - T = q; - Se = Jr; - K = R % 4; - G = K; - - if (Se) { - Dn.push(1); - Dn = Dn.concat(Se); - } else { - Dn.push(0); - } - - if (!T[55]) { - T[55] = []; - } - - Se = G; - - while (m > ja) { - R = 2 * ja; - K = 2 * ja; - $ = K + 2; - K = ke.slice(R, $); - R = 4 * Se; - $ = ja % 4; - L = R + $; - R = L % 4; - $ = 0 === R; - - if ($) { - L = []; - G = 6; - W = K; - ie = void 0; - M = 5; - _ = 0; - - while (_ < W.length) { - g = W[_] - M; - I = 255 & g; - g = G; - U = I >> g; - J = 8 - g; - g = I << J; - I = U + g; - g = 255 & I; - L.push(g); - _++; - } - - ie = L; - L = ie; - Zr = Zr.concat(L); - } - - $ = 1 === R; - - if ($) { - L = K; - G = 155; - W = G; - G = Ma; - ie = []; - M = void 0; - _ = 0; - - while (_ < L.length) { - g = L[_]; - I = W + 1; - W = I % G.length; - I = G.charCodeAt(W); - g ^= I; - I = 255 & g; - ie.push(I); - _++; - } - - M = ie; - L = M; - Zr = Zr.concat(L); - } - - $ = 2 === R; - - if ($) { - L = 0; - G = 6; - W = void 0; - ie = 247; - M = []; - _ = K; - - while (L < _.length) { - g = ie ^ _[L]; - I = g >> G; - g = I ^ _[L]; - I = 255 & g; - M.push(I); - L++; - } - - W = M; - L = W; - Zr = Zr.concat(L); - } - - $ = 3 === R; - - if ($) { - R = 120; - L = R; - R = void 0; - G = []; - W = 0; - ie = P; - M = K; - - while (W < M.length) { - _ = M[W]; - g = L + 1; - L = g % ie.length; - g = ie.charCodeAt(L); - _ ^= g; - g = 255 & _; - G.push(g); - W++; - } - - R = G; - L = R; - Zr = Zr.concat(L); - } - - ja++; - } - - ke = T[55]; - Se = ke; - dt = Zr; - - if (Se.indexOf) { - ke = Se.indexOf(V); - ya = ke; - } else { - ke = 0; - - while (ke < Se.length) { - R = Se[ke] === V; - - if (R) { - ya = ke; - ir = 1; - } - - ke++; - } - - if (!ir) { - ya = -1; - } - } - - ke = dt; - Se = ya; - R = -1 === Se; - V = ke; - P = V.slice(); - P.push(0, 0, 0); - - if (R) { - V = T[55]; - m = T[55]; - Se = V.length; - m[Se] = B; - } - - B = q; - - while (true) { - if (Ua) { - fr += 4; - } - - Ua = 1; - q = fr < P.length; - - if (q) { - q = 95 & P[fr]; - kt += q; - q = fr + 1; - T = P[q]; - q = 95 & T; - kt += q; - q = fr + 2; - T = P[q]; - q = 95 & T; - kt += q; - q = fr + 3; - T = P[q]; - q = 95 & T; - kt += q; - } else { - break; - } - } - - q = 65535 & kt; - T = q; - q = B[29]; - R = q; - Ka = Se; - q = 255 & T; - Se = Ka; - V = Se; - P = T >> 8; - T = V; - - if (R.indexOf) { - m = R.indexOf(T); - Q = m; - } else { - m = 0; - - while (m < R.length) { - K = R[m] === T; - - if (K) { - Q = m; - Yt = 1; - } - - m++; - } - - if (!Yt) { - Q = -1; - } - } - - T = Q; - R = 255 & P; - P = -1 === T; - ai.push(R, q); - Wr = ai; - q = Wr; - - if (P) { - R = B[29]; - T = R.length; - R = B[29]; - R.push(V); - } - - B = T + 1; - Xr = B; - fa = q; - q = Mt; - Se = Xr; - B = fa; - T = Se; - - if (q[60]) { - Se = [255]; - u = Se; - } else { - Se = 1; - R = "__IE_DEVTOOLBAR_CONSOLE_COMMAND_LINE"; - m = "__BROWSERTOOLS_DOMEXPLORER_ADDED"; - $ = m in z; - var K = "__IE_DEVTOOLBAR_CONSOLE_EVAL_RESULT"; - V = K in z[pe]; - P = R in z; - - if (P) { - Se = 2 * Se; - } - - if (V) { - Se = 3 * Se; - } - - if ($) { - Se = 4 * Se; - } - - R = Se > 1; - - if (R) { - V = [Se]; - u = V; - } else { - V = [0]; - u = V; - } - } - - q = 0 | T; - z = Tn; - T = B.concat(ke); - ke = Mt; - B = 128 > q; - Se = u; - - if (y[12]) { - u = void 0; - R = []; - V = ke[6]; - P = void 0; - m = void 0; - K = void 0; - Er = []; - - if (!V) { - $ = []; - L = "win"; - G = z; - W = G[vo]; - Q = void 0; - g = "iPod"; - I = W[Qe]; - U = new RegExp(L, de); - var ie = "iPad"; - M = "iPhone"; - J = "linux"; - var L = "Mac"; - G = new RegExp(L, de); - L = new RegExp(M, de); - - if (!I) { - M = W[it]; - I = M[ft](); - } - - W = I; - M = new RegExp(ie, de); - ie = new RegExp(J, de); - _ = new RegExp(g, de); - $.push(U, ie, G, L, _, M); - L = $; - $ = W[gt](L[0]); - - if ($) { - Q = 1; - } else { - G = W[gt](L[1]); - - if (G) { - Q = 2; - } else { - ie = W[gt](L[2]); - - if (ie) { - Q = 3; - } else { - M = W[gt](L[3]); - - if (M) { - Q = 4; - } else { - _ = W[gt](L[4]); - - if (_) { - Q = 5; - } else { - g = W[gt](L[5]); - - if (g) { - Q = 6; - } else { - Q = 0; - } - } - } - } - } - } - - V = Q; - ke[6] = V; - } - - Er.push(V); - V = []; - $ = ke; - L = void 0; - - if (!$[52]) { - $[52] = e(23); - } - - G = 0; - W = void 0; - ie = z; - M = $[52]; - $ = 0; - Q = M; - M = []; - _ = void 0; - g = ke; - I = []; - - if (!g[15]) { - U = void 0; - Ue = ie[vo]; - le = "__$cdc7c2f8ab481c8964b__"; - D = void 0; - jo = 0; - De = gt; - $e = []; - bo = "rv"; - Te = "IE"; - Ao = void 0; - Le = "(Chrome)\\/([0-9\\.]*)"; - te = "unknown"; - he = g; - Wo = void 0; - vn = "(MSIE|rv)[ |:]([0-9\\.]*)"; - ir = 0; - wn = "MSIE"; - on = bo; - - if (!he[55]) { - he[55] = []; - } - - Be = 0; - _n = he[55]; - var H = "(Edge)\\/([0-9\\.]*)"; - mo = Ue[it]; - Ue = Te; - Te = _n; - var se = "(Safari)\\/([0-9\\.]*)"; - ne = new RegExp(Le); - Le = new RegExp(H); - H = new RegExp(se); - se = wn; - var J = "(Firefox)\\/([0-9\\.]*)"; - bo = new RegExp(vn); - jn = new RegExp(J); - $e.push(Le, ne, H, jn, bo); - J = $e; - $e = te; - H = $e; - bo = $e; - - while (ir < J.length) { - ne = mo[De](J[ir]); - - if (ne) { - Le = ne[1]; - - if (!Le) { - Le = $e; - } - - H = Le; - Le = ne[2]; - - if (!Le) { - Le = $e; - } - - bo = Le; - ne = H === se; - - if (!ne) { - ne = H === on; - } - - Le = ne; - - if (Le) { - H = Ue; - } - - break; - } - - ir++; - } - - if (ie[le]) { - J = "mazhan"; - H = J; - } - - J = H; - Ue = bo; - J += Jo; - le = J; - Ue += Jo; - - if (Te.indexOf) { - De = Te.indexOf(le); - Ao = De; - } else { - De = 0; - - while (De < Te.length) { - $e = Te[De] === le; - - if ($e) { - Ao = De; - Be = 1; - } - - De++; - } - - if (!Be) { - Ao = -1; - } - } - - le = Ue; - De = Ao; - $e = -1 === De; - - if ($e) { - H = he[55]; - bo = he[55]; - De = H.length; - bo[De] = J; - } - - Wo = De; - g[54] = Wo; - J = g; - - if (!J[55]) { - J[55] = []; - } - - De = J[55]; - $e = De; - - if ($e.indexOf) { - De = $e.indexOf(le); - U = De; - } else { - De = 0; - - while (De < $e.length) { - H = $e[De] === le; - - if (H) { - U = De; - jo = 1; - } - - De++; - } - - if (!jo) { - U = -1; - } - } - - le = U; - U = -1 === le; - - if (U) { - jo = J[55]; - De = J[55]; - le = jo.length; - De[le] = Ue; - } - - D = le; - g[15] = D; - } - - ie = void 0; - U = g[54]; - J = void 0; - Ue = Q >> 8; - le = 255 & Q; - Q = void 0; - D = g; - jo = U; - U = 255 & Ue; - Ue = ke[19]; - De = g[15]; - I.push(U, le); - U = De; - le = jo; - De = D[29]; - $e = U; - H = void 0; - bo = De; - Q = I; - I = g; - g = Q; - - if (bo.indexOf) { - Q = bo.indexOf(le); - L = Q; - } else { - Q = 0; - - while (Q < bo.length) { - De = bo[Q] === le; - - if (De) { - L = Q; - $ = 1; - } - - Q++; - } - - if (!$) { - L = -1; - } - } - - $ = L; - L = -1 === $; - W = g; - Q = W; - - if (L) { - W = D[29]; - $ = W.length; - W = D[29]; - W.push(jo); - } - - L = I[29]; - W = L; - L = $ + 1; - - if (W.indexOf) { - $ = W.indexOf($e); - u = $; - } else { - $ = 0; - - while ($ < W.length) { - g = W[$] === $e; - - if (g) { - u = $; - G = 1; - } - - $++; - } - - if (!G) { - u = -1; - } - } - - Er = Er.concat(Q); - J = L; - $ = J; - L = u; - u = -1 === L; - - if (u) { - G = I[29]; - L = G.length; - G = I[29]; - G.push(U); - } - - if (!Ue) { - G = "plugins/name/filename/version/type/ActiveXObject"; - Q = z; - I = Jo; - U = Q[vo]; - J = void 0; - le = 0; - D = Ho; - jo = 2; - De = []; - $e = 0; - bo = void 0; - Te = 0; - var W = "
"; - u = 0; - g = W; - W = jo; - jo = u; - - if (!W) { - W = 1; - } - - if (!jo) { - jo = 0; - } - - u = W; - W = "0"; - se = jo; - jo = G; - G = jo.split(D); - jo = G[2]; - ne = G[0]; - Ao = G[3]; - Le = G[1]; - te = U[ne]; - U = G[5]; - ne = G[4]; - G = Q[U]; - - while (true) { - if ($e) { - Te++; - } - - $e = 1; - Q = te; - - if (Q) { - Q = Te < te.length; - } - - U = Q; - - if (U) { - Q = te[Te]; - U = Q[Le]; - Q = te[Te]; - he = Q[jo]; - Q = U + he; - I += Q; - Q = te[Te]; - U = Q[Ao]; - - if (U) { - Q = te[Te]; - he = Q[Ao]; - Q = he + g; - I += Q; - } - - Q = 0; - U = 0; - he = ut; - - while (true) { - if (U) { - Q++; - } - - U = 1; - jn = te[Te]; - Wo = jn.length; - jn = Wo > Q; - - if (jn) { - jn = te[Te]; - Wo = jn[Q]; - jn = 0; - - if (Wo) { - jn = Wo[ne]; - } - - if (jn) { - Wo = jn[he](12); - I += Wo; - } - } else { - break; - } - } - } else { - break; - } - } - - if (G) { - var Q = "AcroPDF.PDF/PDF.PdfCtrl/Adobe.SVGCtl/WMPlayer.OCX/MediaPlayer.MediaPlayer.1/npdivx.DivXBrowserPlugin.1/npdivx.DivXBrowserPlugin/MSXML2.DOMDocument.6.0/ShockwaveFlash.shockwaveFlash/GetVersions/getSVGViewerVersion/versionInfo/GetVersion"; - U = Q; - var $e = "[a-zA-Z ]*([0-9.]+)"; - Q = "$1"; - g = U.split(D); - U = g[5]; - jo = g[2]; - Te = g[0]; - ne = g[10]; - Ao = g[12]; - Le = g[9]; - te = g[11]; - he = g[1]; - jn = g[4]; - Wo = g[7]; - vn = new RegExp($e); - $e = e(28, G, Te, Le, 1); - Te = g[6]; - mo = g[3]; - dt = g[8]; - I += $e; - g = e(28, G, he, Le, 1); - I += g; - g = e(28, G, jo, ne, 1); - jo = e(28, G, mo, te); - $e = g[Oo](vn, Q); - Q = e(28, G, jn, te); - g = e(28, G, U, Ao, 1); - U = e(28, G, Te, Ao, 1); - I += $e; - $e = e(28, G, Wo); - Te = e(28, G, dt); - I += jo; - I += Q; - I += g; - I += U; - - if ($e) { - I += Wo; - } - - if (Te) { - I += dt; - } - } - - De.push(I); - J = De; - Ue = J; - G = Ue[W]; - W = G.length; - Ue = W + Ue; - G = Ue; - W = G.length; - - while (true) { - Q = W > se; - - if (Q) { - Q = 31 * le; - le = 0 | Q; - Q = G.charCodeAt(se); - le += Q; - se += u; - } else { - break; - } - } - - bo = le; - Ue = bo; - ke[19] = Ue; - } - - u = L + 1; - K = u; - u = K; - K = ke[32]; - - if (!K) { - L = void 0; - G = 0; - W = void 0; - Q = e(17); - g = 0; - L = Q; - Q = G; - - if (!Q) { - Q = 0; - } - - G = Q; - K = L; - K = K.length + K; - L = K; - Q = L.length; - I = K.length / 20; - U = 0 | I; - I = U; - U = I; - - if (!U) { - U = 1; - } - - I = U; - - while (true) { - U = Q > G; - - if (U) { - U = 31 * g; - g = 0 | U; - U = L.charCodeAt(G); - g += U; - G += I; - } else { - break; - } - } - - W = g; - K = W; - ke[32] = K; - } - - L = Ue; - M.push($, u); - u = L >> 16; - $ = 255 & L; - G = L >> 24; - W = K; - K = 255 & G; - G = W >> 8; - Q = M; - M = W >> 24; - g = W >> 16; - H = Q; - Q = L >> 8; - L = 255 & W; - W = 255 & u; - u = 255 & M; - M = H; - I = 255 & G; - G = M[0]; - U = 255 & g; - V.push(u, U, I, L); - u = 255 & Q; - L = M[1]; - m = V; - V = L; - L = G; - R.push(K, W, u, $); - u = 0 | V; - V = 0 | L; - _ = R; - R = 128 > V; - K = 128 > u; - $ = _; - L = m; - - if (R) { - m = [V]; - ie = m; - } else { - m = []; - G = V % 128; - W = G + 128; - M = V - G; - G = M / 128; - M = 127 & G; - m.push(W, M); - ie = m; - } - - R = ie; - - if (K) { - V = [u]; - P = V; - } else { - V = []; - m = u % 128; - G = m + 128; - W = u - m; - m = W / 128; - W = 127 & m; - V.push(G, W); - P = V; - } - - u = P; - Er = Er.concat(R); - Er = Er.concat(u); - Er = Er.concat($); - Er = Er.concat(L); - Er = Er.concat(R); - Er = Er.concat(u); - jr = Er; - } else { - jr = Er; - } - - if (B) { - y = [q]; - ta = y; - } else { - y = []; - u = q % 128; - ke = u + 128; - z = q - u; - u = z / 128; - z = 127 & u; - y.push(ke, z); - ta = y; - } - - y = T.length; - u = ta; - q = jr; - ke = y; - y = Mt; - mt = u; - u = [y[68] << 1 | y[36] << 4]; - y = mt; - B = 0 | ke; - Dr = u; - u = 16384 > B; - ke = Mt; - - if (u) { - z = B; - R = 0 | z; - z = void 0; - V = 128 > R; - - if (V) { - P = [R]; - z = P; - } else { - P = []; - m = R % 128; - K = R - m; - $ = m + 128; - m = K / 128; - K = 127 & m; - P.push($, K); - z = P; - } - - R = z; - Ro = R; - } else { - z = []; - - while (true) { - R = 127 & B; - B >>= 7; - - if (B) { - R = 128 | R; - } - - z.push(R); - - if (!B) { - break; - } - } - - Ro = z; - } - - u = Dr; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - y = Tn; - B = ke[59]; - - if (Y) { - Dn.push(1); - Dn = Dn.concat(Y); - } else { - Dn.push(0); - } - - if (!B) { - B = ke[68]; - } - - z = Tn; - - if (Se) { - Dn.push(1); - Dn = Dn.concat(Se); - } else { - Dn.push(0); - } - - Se = Ro; - R = z[Rt]; - Y = z[Ln]; - V = B; - B = Se.concat(T); - - if (V) { - ke[60] = 1; - T = [255]; - Sa = T; - } else { - T = y !== pa; - - if (T) { - ke[60] = 1; - Se = [1]; - Sa = Se; - } else { - Se = [0]; - Sa = Se; - } - } - - if (Z) { - Dn.push(1); - Dn = Dn.concat(Z); - } else { - Dn.push(0); - } - - y = Mt; - ke = re + B.length; - y[43] = 0; - re = Sa; - Ye = Ye.concat(B); - - if (q) { - Dn.push(1); - Dn = Dn.concat(q); - } else { - Dn.push(0); - } - - q = Y[Un]; - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - u = !q; - q = Ye; - - if (re) { - Dn.push(1); - Dn = Dn.concat(re); - } else { - Dn.push(0); - } - - if (R) { - re = z[Rt]; - R = re[qo]; - } - - re = q.slice(0, Lr); - q = re[0] << 8; - B = q | re[1]; - q = B[uo](); - B = R; - T = "getPrototypeOf"; - Se = T; - - if (!B) { - bt = 2 * bt; - } - - if (!u) { - T = z[Ln]; - R = T[Se]; - u = !R; - } - - T = u; - - if (T) { - bt = 3 * bt; - u = [256 - bt]; - et = u; - } else { - u = z[Ln]; - R = u[Un](B, zn); - u = !R; - - if (!u) { - u = !R[st]; - } - - R = u; - - if (R) { - bt = 4 * bt; - u = [256 - bt]; - et = u; - } else { - y[43] = 1; - u = [0]; - et = u; - } - } - - y = Mt; - u = Tn; - B = y[59]; - z = et; - - if (z) { - Dn.push(1); - Dn = Dn.concat(z); - } else { - Dn.push(0); - } - - if (tt) { - Dn.push(1); - Dn = Dn.concat(tt); - } else { - Dn.push(0); - } - - if (!B) { - B = y[60]; - } - - z = B; - - if (z) { - y[46] = 1; - B = [255]; - mn = B; - } else { - B = u; - T = vo; - R = y; - Y = u; - V = void 0; - - if (R[43]) { - P = B[Ln]; - m = P[Un](Y, T); - P = !m; - - if (!P) { - P = !m[st]; - } - - K = P; - - if (K) { - V = 253; - } else { - P = m[st]; - Z = void 0; - $ = 0; - L = B; - G = R; - W = P; - ie = 1; - M = W[qo]; - - if (M) { - M = !L[Io]; - } - - Q = M; - - if (Q) { - M = 1 === G[23]; - - if (M) { - _ = L[vo]; - g = _[cr]; - - if (g) { - Z = 9; - $ = 1; - } else { - ie = -9; - } - } else { - Z = 9; - $ = 1; - } - } - - if (!$) { - G = L[yo]; - L = G[qo]; - G = L[uo]; - L = G[Dt](W); - G = new RegExp(pt, Wt); - W = L[Oo](G, Jo); - L = new RegExp(ct); - G = L[Co](W); - - if (G) { - G = 1; - } else { - G = 10; - } - - L = G; - ie *= L; - L = 1 === ie; - - if (L) { - Z = 0; - } else { - G = 0 > ie; - - if (G) { - ie = 256 - ie; - } - - Z = ie; - } - } - - P = Z; - V = P; - } - } else { - V = 254; - } - - B = V; - T = B; - - if (T) { - T = 128 > B; - } - - R = T; - y[46] = 0 | R; - T = [B]; - mn = T; - } - - y = Tn; - u = mn; - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - u = Mt; - B = u[59]; - - if (!B) { - B = u[46]; - } - - z = B; - - if (z) { - B = [255]; - oa = B; - } else { - B = y[vo]; - T = void 0; - R = "plugins"; - Y = y; - V = u; - P = B; - B = R; - - if (V[43]) { - R = B in P; - - if (R) { - m = Y[Ln]; - K = m[Un](P, B); - - if (K) { - T = 1; - } else { - m = Y[Ln]; - Z = m[Se](P); - - if (Z) { - m = Y[Ln]; - $ = m[Un](Z, B); - m = !$; - - if (!m) { - m = !$[st]; - } - - L = m; - - if (L) { - T = 3; - } else { - m = void 0; - G = $[st]; - W = 0; - ie = Y; - M = V; - Q = G; - _ = 1; - g = Q[qo]; - - if (g) { - g = !ie[Io]; - } - - I = g; - - if (I) { - g = 1 === M[23]; - - if (g) { - U = ie[vo]; - mn = U[cr]; - - if (mn) { - m = 9; - W = 1; - } else { - _ = -9; - } - } else { - m = 9; - W = 1; - } - } - - if (!W) { - M = ie[yo]; - ie = M[qo]; - M = ie[uo]; - ie = M[Dt](Q); - M = new RegExp(pt, Wt); - Q = ie[Oo](M, Jo); - ie = new RegExp(ct); - M = ie[Co](Q); - - if (M) { - M = 1; - } else { - M = 10; - } - - ie = M; - _ *= ie; - ie = 1 === _; - - if (ie) { - m = 0; - } else { - M = 0 > _; - - if (M) { - _ = 256 - _; - } - - m = _; - } - } - - G = m; - T = G; - } - } else { - T = 2; - } - } - } else { - T = 253; - } - } else { - T = 254; - } - - B = [T]; - oa = B; - } - - y = Tn; - u = y; - y = oa; - B = Jo; - z = Mt; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - y = u[Ur]; - u = z[35]; - T = z[0]; - - while (4 > Ce) { - z = T[Ce]; - - if (!z) { - z = B; - } - - R = z; - z = void 0; - Y = R; - Y += B; - R = []; - V = 0; - - while (V < Y.length) { - P = Y.charCodeAt(V); - m = 255 & P; - R.push(m); - V++; - } - - z = R; - R = z; - z = R.length > 255; - - if (z) { - R.length = 255; - } - - Qr.push(u[Ce], R.length); - Qr = Qr.concat(R); - Ce++; - } - - N = Qr; - - if (y) { - u = "stackTraceLimit"; - B = u; - u = y[B]; - y[B] = 100; - z = new y(); - y[B] = u; - u = "stack"; - B = z[u] + Jo; - nr = B; - } - - y = nr; - u = Tn; - B = Mt; - B = N; - z = Mt; - T = z[59]; - - if (y) { - V = "(\\r\\n|\\r)"; - K = "empty"; - var Ce = "\\n"; - var R = "(.+\\/(sd\\/ctl|sd\\/pointman|sd\\/baxia|secdev|AWSC)\\/|^).+\\n"; - Y = new RegExp(Ce, Wt); - P = K; - m = new RegExp(V, Wt); - V = y[Oo](m, Zt); - m = new RegExp(R, Wt); - R = V[Oo](m, Jo); - V = R.split(Y); - R = V[0]; - - if (!R) { - R = P; - } - - Y = R; - ia = V.length; - po = Y[eo](0, 128); - R = ia - 1; - Y = V[R]; - - if (!Y) { - R = ia - 2; - Y = V[R]; - } - - R = Y; - - if (!R) { - R = P; - } - - Y = R; - rt = Y[eo](0, 128); - } - - y = 255 & ia; - - if (!T) { - T = z[60]; - } - - R = po; - Y = T; - R += Jo; - - if (B) { - Dn.push(1); - Dn = Dn.concat(B); - } else { - Dn.push(0); - } - - if (Y) { - rr[0] = 255; - La = rr; - } else { - B = u[yo]; - T = B[qo]; - B = T[uo]; - T = void 0; - V = 0; - P = u; - m = z; - K = B; - N = 1; - Ce = K[qo]; - - if (Ce) { - Ce = !P[Io]; - } - - Z = Ce; - - if (Z) { - Ce = 1 === m[23]; - - if (Ce) { - $ = P[vo]; - L = $[cr]; - - if (L) { - T = 9; - V = 1; - } else { - N = -9; - } - } else { - T = 9; - V = 1; - } - } - - if (!V) { - m = P[yo]; - P = m[qo]; - m = P[uo]; - P = m[Dt](K); - m = new RegExp(pt, Wt); - K = P[Oo](m, Jo); - P = new RegExp(ct); - m = P[Co](K); - - if (m) { - m = 1; - } else { - m = 10; - } - - P = m; - N *= P; - P = 1 === N; - - if (P) { - T = 0; - } else { - m = 0 > N; - - if (m) { - N = 256 - N; - } - - T = N; - } - } - - rr[0] = T; - T = rr[0] > 0; - - if (T) { - V = u[Ln]; - P = V[Wn]; - - if (P) { - V = "Symbol(src)"; - m = u[Ln]; - K = m[Wn](B); - m = K[uo](); - K = m.indexOf(V); - - if (~K) { - rr[1] = 1; - La = rr; - ua = 1; - } - } - - if (!ua) { - V = u[xo]; - P = V[ve](); - V = .01 > P; - - if (V) { - rr[1] = 255; - P = []; - m = 0; - K = void 0; - N = B[uo](); - Ce = N; - Ce += Jo; - - while (m < Ce.length) { - N = Ce.charCodeAt(m); - Z = 255 & N; - P.push(Z); - m++; - } - - K = P; - P = K; - rr[2] = P.length; - rr = rr.concat(P); - La = rr; - ua = 1; - } - } - } - - if (!ua) { - La = rr; - } - } - - u = La; - - while (ri < R.length) { - B = R.charCodeAt(ri); - z = 255 & B; - sr.push(z); - ri++; - } - - B = Tn; - z = Mt; - T = rt; - An = sr; - R = Mt; - - if (z[60]) { - Y = [255]; - ii = Y; - } else { - Y = "domAutomation"; - - if (B[Y]) { - V = [1]; - ii = V; - } else { - V = [0]; - ii = V; - } - } - - T += Jo; - - while (Ot < T.length) { - B = T.charCodeAt(Ot); - z = 255 & B; - - _r.push(z); - - Ot++; - } - - B = Tn; - z = ii; - T = "webdriver"; - Tr = _r; - Y = Tr; - V = T; - T = An; - Xn.push(T.length); - - if (R[46]) { - P = [255]; - ga = P; - } else { - P = 0; - m = V; - K = B[vo]; - N = m in K; - - if (N) { - P = 254; - } - - if (K[m]) { - P = 1; - R[34] = 1; - } - - m = [P]; - ga = m; - } - - B = Mt; - R = B[55]; - P = Tn; - m = ga; - K = B[29]; - Xn = Xn.concat(T); - - if (K) { - B = Jo; - T = 0; - N = void 0; - Ce = [0]; - - while (T < K.length) { - Z = K[T]; - $ = R[Z]; - Z = void 0; - L = $; - L += B; - $ = []; - G = 0; - - while (G < L.length) { - W = L.charCodeAt(G); - ie = 255 & W; - $.push(ie); - G++; - } - - Z = $; - $ = Z; - Ce = Ce.concat($); - Ce.push(0); - T++; - } - - B = Ce.length; - T = B; - B = 0 | T; - T = 16384 > B; - - if (T) { - Z = B; - $ = 0 | Z; - Z = void 0; - L = 128 > $; - - if (L) { - G = [$]; - Z = G; - } else { - G = $ % 128; - W = $ - G; - ie = []; - po = G + 128; - G = W / 128; - W = 127 & G; - ie.push(po, W); - Z = ie; - } - - $ = Z; - N = $; - } else { - Z = []; - - while (true) { - $ = 127 & B; - B >>= 7; - - if (B) { - $ = 128 | $; - } - - Z.push($); - - if (!B) { - break; - } - } - - N = Z; - } - - B = N; - Ce = B.concat(Ce); - Na = Ce; - } else { - B = [0]; - Na = B; - } - - Xn.push(Y.length); - B = Mt; - Xn = Xn.concat(Y); - T = Na; - R = B[59]; - Xn.push(y); - Wa = Xn; - - if (!R) { - R = B[46]; - } - - y = Wa; - Y = R; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - if (z) { - Dn.push(1); - Dn = Dn.concat(z); - } else { - Dn.push(0); - } - - if (Y) { - y = [255]; - da = y; - } else { - y = P[vo]; - u = void 0; - z = P; - R = B; - K = V; - N = y; - - if (R[43]) { - y = K in N; - - if (y) { - Ce = z[Ln]; - Z = Ce[Un](N, K); - - if (Z) { - u = 1; - } else { - Ce = z[Ln]; - $ = Ce[Se](N); - - if ($) { - Ce = z[Ln]; - L = Ce[Un]($, K); - Ce = !L; - - if (!Ce) { - Ce = !L[st]; - } - - G = Ce; - - if (G) { - u = 3; - } else { - Ce = void 0; - W = L[st]; - ie = 0; - po = z; - M = R; - Q = W; - _ = 1; - An = Q[qo]; - - if (An) { - An = !po[Io]; - } - - g = An; - - if (g) { - An = 1 === M[23]; - - if (An) { - I = po[vo]; - U = I[cr]; - - if (U) { - Ce = 9; - ie = 1; - } else { - _ = -9; - } - } else { - Ce = 9; - ie = 1; - } - } - - if (!ie) { - M = po[yo]; - po = M[qo]; - M = po[uo]; - po = M[Dt](Q); - M = new RegExp(pt, Wt); - Q = po[Oo](M, Jo); - po = new RegExp(ct); - M = po[Co](Q); - - if (M) { - M = 1; - } else { - M = 10; - } - - po = M; - _ *= po; - po = 1 === _; - - if (po) { - Ce = 0; - } else { - M = 0 > _; - - if (M) { - _ = 256 - _; - } - - Ce = _; - } - } - - W = Ce; - u = W; - } - } else { - u = 2; - } - } - } else { - u = 253; - } - } else { - u = 254; - } - - y = [u]; - da = y; - } - - y = da; - u = Mt; - B = Tn; - - if (u[59]) { - z = [255]; - ha = z; - } else { - z = u[64]; - - if (!z) { - z = u[9]; - } - - R = z; - - if (R) { - z = [1]; - ha = z; - } else { - z = [0]; - ha = z; - } - } - - u = ha; - - if (m) { - Dn.push(1); - Dn = Dn.concat(m); - } else { - Dn.push(0); - } - - if (T) { - Dn.push(1); - Dn = Dn.concat(T); - } else { - Dn.push(0); - } - - z = Mt; - T = z[59]; - - if (xa) { - Dn.push(1); - Dn = Dn.concat(xa); - } else { - Dn.push(0); - } - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - if (!T) { - T = z[60]; - } - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - y = T; - - if (y) { - z[21] = 1; - u = [255]; - wt = u; - } else { - u = z; - T = B; - R = pe; - Y = void 0; - V = B; - - if (u[43]) { - P = T[Ln]; - m = P[Un](V, R); - P = !m; - - if (!P) { - P = !m[st]; - } - - K = P; - - if (K) { - Y = 253; - } else { - P = 0; - N = void 0; - Ce = m[st]; - Z = T; - $ = u; - L = Ce; - G = 1; - W = L[qo]; - - if (W) { - W = !Z[Io]; - } - - ie = W; - - if (ie) { - W = 1 === $[23]; - - if (W) { - po = Z[vo]; - M = po[cr]; - - if (M) { - N = 9; - P = 1; - } else { - G = -9; - } - } else { - N = 9; - P = 1; - } - } - - if (!P) { - $ = Z[yo]; - Z = $[qo]; - $ = Z[uo]; - Z = $[Dt](L); - $ = new RegExp(pt, Wt); - L = Z[Oo]($, Jo); - Z = new RegExp(ct); - $ = Z[Co](L); - - if ($) { - $ = 1; - } else { - $ = 10; - } - - Z = $; - G *= Z; - Z = 1 === G; - - if (Z) { - N = 0; - } else { - $ = 0 > G; - - if ($) { - G = 256 - G; - } - - N = G; - } - } - - P = N; - Y = P; - } - } else { - Y = 254; - } - - u = Y; - T = u; - - if (T) { - T = 128 > u; - } - - R = T; - z[21] = 0 | R; - T = [u]; - wt = T; - } - - y = Tn; - u = wt; - B = Tn; - z = Mt; - T = Mt; - - if (z[60]) { - R = [255]; - Fa = R; - } else { - var m = "global"; - V = Va[m] + 1; - var Y = "[object global]1"; - R = V === Y; - - if (R) { - Y = "process"; - V = "[object process]1"; - P = Va[Y] + 1; - R = P === V; - } - - Y = R; - - if (Y) { - R = [1]; - Fa = R; - } else { - R = [0]; - Fa = R; - } - } - - if (T[60]) { - z = [255]; - Pt = z; - } else { - P = 0; - var m = "__fxdriver_unwrapped"; - z = 0 | !!y[m]; - var K = "fxdriver_id"; - R = 0 | !!y[K]; - Y = z << 0; - z = R << 1; - P |= Y; - P |= z; - z = [P]; - Pt = z; - } - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - y = Mt; - u = Fa; - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - if (y[21]) { - u = [255]; - Mr = u; - } else { - u = B[Ln]; - z = u[Wn]; - - if (z) { - u = 1 !== y[23]; - - if (u) { - T = [253]; - Mr = T; - } else { - T = B[pe]; - R = B[Ln]; - Y = R[Wn](T); - R = 0; - var P = "clearStale"; - V = P; - P = V; - - while (R < Y.length) { - P = Y[R]; - m = T[P]; - P = m; - - if (P) { - P = e(24, m, V); - } - - m = P; - - if (m) { - P = [1]; - Mr = P; - Oe = 1; - } - - R++; - } - - if (!Oe) { - T = [0]; - Mr = T; - } - } - } else { - u = [254]; - Mr = u; - } - } - - y = Mr; - u = Mt; - B = Pt; - - if (B) { - Dn.push(1); - Dn = Dn.concat(B); - } else { - Dn.push(0); - } - - B = Tn; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - if (u[21]) { - y = [255]; - Lt = y; - } else { - y = "$cdc_asdjflasutopfhvcZLmcfl_"; - z = [y in B[pe] | 0]; - Lt = z; - } - - y = Mt; - u = Tn; - - if (y[59]) { - B = [255]; - Ja = B; - } else { - if (y[37]) { - B = [1]; - Ja = B; - } else { - B = [0]; - Ja = B; - } - } - - y = Lt; - B = Mt; - z = B[59]; - - if (!z) { - z = B[60]; - } - - T = z; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - if (T) { - y = [255]; - pr = y; - } else { - y = "WebGLRenderingContext"; - z = u[y]; - - if (z) { - y = u; - R = void 0; - Y = z; - V = fe; - P = B; - - if (P[43]) { - m = Y[qo]; - - if (m) { - Oe = y[Ln]; - K = Oe[Un](m, V); - - if (K) { - if (K[st]) { - R = 1; - } else { - Oe = K[Qn]; - - if (Oe) { - N = void 0; - Ce = 0; - Z = y; - $ = P; - L = Oe; - G = 1; - W = L[qo]; - - if (W) { - W = !Z[Io]; - } - - ie = W; - - if (ie) { - W = 1 === $[23]; - - if (W) { - po = Z[vo]; - M = po[cr]; - - if (M) { - N = 9; - Ce = 1; - } else { - G = -9; - } - } else { - N = 9; - Ce = 1; - } - } - - if (!Ce) { - $ = Z[yo]; - Z = $[qo]; - $ = Z[uo]; - Z = $[Dt](L); - $ = new RegExp(pt, Wt); - L = Z[Oo]($, Jo); - Z = new RegExp(ct); - $ = Z[Co](L); - - if ($) { - $ = 1; - } else { - $ = 10; - } - - Z = $; - G *= Z; - Z = 1 === G; - - if (Z) { - N = 0; - } else { - $ = 0 > G; - - if ($) { - G = 256 - G; - } - - N = G; - } - } - - Ce = N; - R = Ce; - } else { - R = 250; - } - } - } else { - R = 251; - } - } else { - R = 252; - } - } else { - R = 254; - } - - y = [R]; - pr = y; - } else { - y = [253]; - pr = y; - } - } - - y = Ja; - u = Mt; - B = Tn; - - if (u[60]) { - z = [255]; - ti = z; - } else { - z = "ClientUtils"; - T = "callPhantom"; - R = 0; - Y = "_phantom"; - V = 0 | !!B[T]; - T = 0 | !!B[Y]; - Y = T << 2; - T = V << 1; - V = 0 | !!B[z]; - R |= T; - R |= Y; - z = V << 3; - R |= z; - u[30] = R; - z = [R]; - ti = z; - } - - u = Mt; - B = Tn; - z = ti; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - y = [u[71]]; - u = Mt; - T = u[34] << 15; - zr = y; - y = u[40] << 17; - R = u[30] << 0; - u = Mt; - Y = zr; - V = R | T; - T = u[59]; - R = pr; - - if (!T) { - T = u[60]; - } - - P = V | y; - - if (R) { - Dn.push(1); - Dn = Dn.concat(R); - } else { - Dn.push(0); - } - - y = P; - R = y >> 24; - V = y >> 16; - P = 255 & y; - m = 255 & R; - R = T; - T = 255 & V; - V = y >> 8; - - if (R) { - y = [255]; - tr = y; - } else { - y = "HTMLCanvasElement"; - Oe = B[y]; - - if (Oe) { - y = B; - K = void 0; - N = u; - Ce = Oe; - Z = "toDataURL"; - $ = Z; - - if (N[43]) { - Z = Ce[qo]; - - if (Z) { - L = y[Ln]; - G = L[Un](Z, $); - - if (G) { - if (G[st]) { - K = 1; - } else { - L = G[Qn]; - - if (L) { - W = 0; - ie = void 0; - po = y; - M = N; - Q = L; - _ = 1; - An = Q[qo]; - - if (An) { - An = !po[Io]; - } - - g = An; - - if (g) { - An = 1 === M[23]; - - if (An) { - I = po[vo]; - U = I[cr]; - - if (U) { - ie = 9; - W = 1; - } else { - _ = -9; - } - } else { - ie = 9; - W = 1; - } - } - - if (!W) { - M = po[yo]; - po = M[qo]; - M = po[uo]; - po = M[Dt](Q); - M = new RegExp(pt, Wt); - Q = po[Oo](M, Jo); - po = new RegExp(ct); - M = po[Co](Q); - - if (M) { - M = 1; - } else { - M = 10; - } - - po = M; - _ *= po; - po = 1 === _; - - if (po) { - ie = 0; - } else { - M = 0 > _; - - if (M) { - _ = 256 - _; - } - - ie = _; - } - } - - W = ie; - K = W; - } else { - K = 250; - } - } - } else { - K = 251; - } - } else { - K = 252; - } - } else { - K = 254; - } - - y = [K]; - tr = y; - } else { - y = [253]; - tr = y; - } - } - - y = 255 & V; - u = tr; - B = Mt; - - if (z) { - Dn.push(1); - Dn = Dn.concat(z); - } else { - Dn.push(0); - } - - z = Tn; - R = k; - - if (Y) { - Dn.push(1); - Dn = Dn.concat(Y); - } else { - Dn.push(0); - } - - Fr.push(m, T, y, P); - - if (B[59]) { - y = []; - y.push(255, 0); - T = y; - Gn = T; - } else { - y = [1]; - T = B[23]; - B[13] = 0; - Y = 1 === T; - - if (!Y) { - Y = 17 === T; - } - - T = Y; - - if (T) { - Y = "groupEnd"; - V = z[En]; - P = Y; - Y = V[P]; - - if (Y) { - if (V[Ne]) { - y[0] = 1; - m = V[Ne](); - Oe = m; - - if (Oe) { - Oe = m[P]; - } - - m = Oe; - - if (!m) { - m = Y; - } - - Y = m; - } else { - if (Y[qo]) { - y[0] = 253; - } - } - - Y[Dt](V, B[73]); - } else { - y[0] = 254; - } - } else { - B[13] = B[13]; - y[0] = 252; - } - - y[1] = 255 & B[13]; - Gn = y; - } - - Kr = Fr; - y = Mt; - B = Tn; - z = Gn; - T = Kr; - Ya = T; - T = Ya; - - if (y[59]) { - Y = []; - Y.push(255, 0); - V = Y; - Yr = V; - } else { - Y = y[23]; - V = At[At]; - P = V[Qn]; - V = [y[28]]; - m = P > 1; - - if (m) { - Oe = 1 === Y; - - if (!Oe) { - Oe = 8 === Y; - } - - K = Oe; - - if (!K) { - K = 9 === Y; - } - - Oe = K; - - if (!Oe) { - Oe = 16 === Y; - } - - K = Oe; - - if (!K) { - K = 17 === Y; - } - - m = K; - } - - Oe = P > 0; - - if (Oe) { - K = 6 === Y; - - if (!K) { - K = 7 === Y; - } - - Oe = K; - } - - Y = Oe; - - if (Y) { - y[36] = 1; - } - - Y = m; - - if (Y) { - y[36] = 1; - } - - V[1] = 255 & P; - Yr = V; - } - - if (T) { - Dn.push(1); - Dn = Dn.concat(T); - } else { - Dn.push(0); - } - - y = Mt; - T = Yr; - Y = y[59]; - - if (u) { - Dn.push(1); - Dn = Dn.concat(u); - } else { - Dn.push(0); - } - - if (z) { - Dn.push(1); - Dn = Dn.concat(z); - } else { - Dn.push(0); - } - - if (T) { - Dn.push(1); - Dn = Dn.concat(T); - } else { - Dn.push(0); - } - - if (!Y) { - Y = y[46]; - } - - u = Y; - - if (u) { - z = [255]; - hr = z; - } else { - z = B[vo]; - T = y; - Y = B; - V = Qe; - P = z; - z = void 0; - - if (T[43]) { - m = V in P; - - if (m) { - Oe = Y[Ln]; - K = Oe[Un](P, V); - - if (K) { - z = 1; - } else { - Oe = Y[Ln]; - N = Oe[Se](P); - - if (N) { - Oe = Y[Ln]; - Ce = Oe[Un](N, V); - Oe = !Ce; - - if (!Oe) { - Oe = !Ce[st]; - } - - Z = Oe; - - if (Z) { - z = 3; - } else { - Oe = 0; - $ = void 0; - L = Ce[st]; - G = Y; - W = T; - ie = L; - po = 1; - M = ie[qo]; - - if (M) { - M = !G[Io]; - } - - Q = M; - - if (Q) { - M = 1 === W[23]; - - if (M) { - _ = G[vo]; - An = _[cr]; - - if (An) { - $ = 9; - Oe = 1; - } else { - po = -9; - } - } else { - $ = 9; - Oe = 1; - } - } - - if (!Oe) { - W = G[yo]; - G = W[qo]; - W = G[uo]; - G = W[Dt](ie); - W = new RegExp(pt, Wt); - ie = G[Oo](W, Jo); - G = new RegExp(ct); - W = G[Co](ie); - - if (W) { - W = 1; - } else { - W = 10; - } - - G = W; - po *= G; - G = 1 === po; - - if (G) { - $ = 0; - } else { - W = 0 > po; - - if (W) { - po = 256 - po; - } - - $ = po; - } - } - - Oe = $; - z = Oe; - } - } else { - z = 2; - } - } - } else { - z = 253; - } - } else { - z = 254; - } - - T = [z]; - hr = T; - } - - y = Tn; - u = Mt; - B = y[Ba]; - y = hr; - - if (y) { - Dn.push(1); - Dn = Dn.concat(y); - } else { - Dn.push(0); - } - - y = Jo; - z = Tn; - T = Dn; - Se = z[xo]; - z = y; - Y = T.slice(); - V = T.length; - - while (ci < Y.length) { - T = 255 & Y[ci]; - P = 0; - m = 0; - P = _t.indexOf(R[T], 1); - Oe = 255 === T; - - if (Oe) { - Oe = _t.length - 1; - } else { - K = T + 1; - N = R[K]; - Oe = _t.indexOf(N, 1); - } - - m = Oe; - T = $a - ze; - Oe = T / _t.length; - T = Oe * m; - $a = ze + T; - T = Oe * P; - ze += T; - T = _t[za](0, m); - P = T + Go; - T = _t[za](m); - _t = P + T; - T = $a[Xt](2); - P = T[za](2); - T = ze[Xt](2); - m = T[za](2); - T = P.split(y); - Oe = m.split(y); - m = 0; - K = T[zt]; - - if (K) { - K = u[27]; - } - - N = K; - - if (N) { - m = T[zt](u[27], Oe); - } else { - K = T[m] === Oe[m]; - - while (K) { - m++; - K = T[m] === Oe[m]; - } - } - - T = P[za](0, m); - z += T; - T = Math.pow(2, m); - P = $a * T; - m = 0 | P; - $a = P - m; - P = ze * T; - ze = P - m; - ci++; - } - - u = ze[Xt](2); - T = u[za](2); - u = T[Pr](S, y); - z += u; - y = V; - u = 0 | y; - y = 16384 > u; - - if (y) { - T = u; - R = void 0; - Y = 0 | T; - T = 128 > Y; - - if (T) { - V = [Y]; - R = V; - } else { - V = []; - P = Y % 128; - m = P + 128; - Oe = Y - P; - P = Oe / 128; - Oe = 127 & P; - V.push(m, Oe); - R = V; - } - - T = R; - Ga = T; - } else { - T = []; - - while (true) { - R = 127 & u; - u >>= 7; - - if (u) { - R = 128 | R; - } - - T.push(R); - - if (!u) { - break; - } - } - - Ga = T; - } - - y = Ga; - - while (true) { - u = z.length > 7; - - if (u) { - u = z[za](0, 8); - T = B(u, 2); - y.push(T); - z = z[za](8); - } else { - break; - } - } - - u = z + Jt; - re = q.split(Jo); - q = re; - re = u[za](0, 8); - u = B(re, 2); - y.push(u); - mr = y; - y = yr % q.length; - u = q[y]; - Dn = mr; - y = u % 4; - Qa = y; - y = Dn; - u = Qa; - q = y.length / 2; - re = Se[Ut](q); - - while (re > ma) { - q = 2 * ma; - B = 2 * ma; - z = B + 2; - B = y.slice(q, z); - q = 4 * u; - z = ma % 4; - T = q + z; - q = T % 4; - z = 0 === q; - - if (z) { - T = B; - Se = 25601; - R = void 0; - Y = []; - V = 12065; - P = Se; - Se = 0; - - while (Se < T.length) { - m = T[Se]; - Oe = m ^ P; - m = P * Se; - K = m % 256; - P = K + V; - m = 255 & Oe; - Y.push(m); - Se++; - } - - R = Y; - T = R; - Za = Za.concat(T); - } - - z = 1 === q; - - if (z) { - T = []; - Se = void 0; - R = B; - Y = 2; - V = 0; - P = 6; - - while (V < R.length) { - m = R[V]; - Oe = m >> Y; - K = m << P; - m = Oe + K; - Oe = 255 & m; - T.push(Oe); - V++; - } - - Se = T; - T = Se; - Za = Za.concat(T); - } - - z = 2 === q; - - if (z) { - T = 5; - Se = void 0; - R = B; - Y = []; - V = 137; - P = 6; - m = V; - V = 0; - - while (V < R.length) { - Oe = m << T; - K = Oe ^ m; - Oe = 240 & K; - K = m >> P; - m = Oe + K; - Oe = R[V] ^ m; - K = 255 & Oe; - Y.push(K); - V++; - } - - Se = Y; - T = Se; - Za = Za.concat(T); - } - - z = 3 === q; - - if (z) { - q = void 0; - T = 53493; - Se = 0; - R = T; - T = []; - Y = B; - - while (Se < Y.length) { - V = Y[Se]; - P = V ^ R; - R = P; - V = 255 & P; - T.push(V); - Se++; - } - - q = T; - T = q; - Za = Za.concat(T); - } - - ma++; - } - - Lo = Za; - y = Lo; - u = y; - q = u.slice(); - q.push(0, 0, 0); - - while (true) { - if (Vr) { - Gr += 4; - } - - Vr = 1; - u = Gr < q.length; - - if (u) { - u = 138 & q[Gr]; - va += u; - u = Gr + 1; - re = q[u]; - u = 138 & re; - va += u; - u = Gr + 2; - re = q[u]; - u = 138 & re; - va += u; - u = Gr + 3; - re = q[u]; - u = 138 & re; - va += u; - } else { - break; - } - } - - u = 65535 & va; - q = u; - u = q >> 8; - re = 255 & u; - u = 255 & q; - Ht.push(re, u); - ka = Ht; - u = ka; - Ar = u; - u = Ar; - q = u.concat(y); - y = q.length; - u = y; - y = 0 | u; - u = 16384 > y; - - if (u) { - re = void 0; - B = y; - z = 0 | B; - B = 128 > z; - - if (B) { - T = [z]; - re = T; - } else { - T = []; - Se = z % 128; - R = Se + 128; - Y = z - Se; - Se = Y / 128; - Y = 127 & Se; - T.push(R, Y); - re = T; - } - - B = re; - Ct = B; - } else { - re = []; - - while (true) { - B = 127 & y; - y >>= 7; - - if (y) { - B = 128 | B; - } - - re.push(B); - - if (!y) { - break; - } - } - - Ct = re; - } - - y = Ct; - u = y.concat(q); - Ye = Ye.concat(u); - y = ke + u.length; - u = y; - y = u >> 8; - q = 255 & y; - - while (2 > ki) { - y = 6 + ki; - Ye[y] = yt[ki]; - ki++; - } - - var ki = 0; - y = 255 & u; - $t.push(q, y); - gr = $t; - y = gr; - - while (2 > ki) { - u = 2 + ki; - Ye[u] = y[ki]; - ki++; - } - - y = Ye.slice(12); - var ki = 0; - u = y; - - while (ca < u.length) { - y = 154 & u[ca]; - q = br + y; - br = 65535 & q; - ca++; - } - - y = br; - u = 255 & y; - q = y >> 8; - y = 255 & q; - ni.push(y, u); - wa = ni; - y = wa; - un = y; - y = un; - - while (2 > ki) { - u = 8 + ki; - Ye[u] = y[ki]; - ki++; - } - - Rr = Ye; - y = Rr; - u = y; - - if (Bt[19]) { - q = y; - re = void 0; - - if (q) { - z = Jo; - T = 0; - Se = 0; - V = 0; - P = 0; - m = 140; - Oe = 0; - K = 0; - N = []; - var B = "zxoDrdnc+34K2LmHFZWPfACwut/qXRBjQ5E8MelUT6gk1GhYbiVISyv0spJNO97a="; - ke = q.length; - R = B; - B = At; - Ce = 0; - $ = 0; - - while (true) { - L = ke > V; - - if (L) { - L = V++; - G = q[L]; - Ce = 255 & G; - L = V++; - G = q[L]; - T = 255 & G; - L = V++; - G = q[L]; - P = 255 & G; - $ = Ce >> 2; - L = 3 & Ce; - G = L << 4; - L = T >> 4; - Se = G | L; - L = 15 & T; - G = L << 2; - L = P >> 6; - Oe = G | L; - K = 63 & P; - L = ke + 2; - G = V === L; - - if (G) { - K = 64; - Oe = K; - } else { - L = ke + 1; - W = V === L; - - if (W) { - K = 64; - } - } - - L = R[B]($); - G = z + L; - L = R[B](Se); - W = G + L; - L = R[B](Oe); - G = W + L; - L = R[B](K); - z = G + L; - } else { - break; - } - } - - var Y = "00"; - N.push(Y, m, aa); - ke = N; - m = ke.join(Jo); - ke = m.length - 4; - B = m[ut](ke); - ke = B + z; - re = ke; - } else { - re = Jo; - } - - u = re; - } - - Xo = u; - ur = Xo; - } - - be = 9 === r; - - if (be) { - co = "level"; - y = 100 * s[co]; - ei[38] = 0 | y; - co = "charging"; - ei[3] = 0 | s[co]; - ei[50] = 1; - } - - be = 5 === r; - co = 23 === r; - - if (co) { - Or = r; - be = Ho; - Ca = [0]; - en = ba; - pn = en[vo]; - Qo = Ca; - Ee = void 0; - var y = "ApplePaySession/ApplePayError/Bluetooth/BluetoothDevice/BluetoothUUID/ucapi/UCCoreJava/oscpu/arm/platform/arch"; - Re = y; - y = Re.split(be); - be = y[7]; - Re = pn[be]; - kn = y[3]; - Me = y[4]; - me = y[1]; - ge = y[6]; - X = y[5]; - u = y[0]; - de = y[10]; - ve = y[2]; - xo = y[9]; - Fe = y[8]; - - if (en[u]) { - Qo[0] = 2 | Qo[0]; - } - - y = pn[xo]; - - if (en[me]) { - Qo[0] = 4 | Qo[0]; - } - - if (Re) { - me = pn[be]; - u = [Fe]; - qe = me.indexOf(u); - Re = qe > 0; - } - - if (en[ve]) { - Qo[0] = 8 | Qo[0]; - } - - if (y) { - be = pn[xo]; - me = be.indexOf(de); - be = me > 0; - - if (!be) { - me = pn[xo]; - u = me.indexOf(Fe); - be = u > 0; - } - - y = be; - } - - be = y; - y = Re; - - if (en[kn]) { - Qo[0] = 16 | Qo[0]; - } - - if (en[Me]) { - Qo[0] = 32 | Qo[0]; - } - - if (en[X]) { - Qo[0] = 64 | Qo[0]; - } - - if (en[ge]) { - Qo[0] = 128 | Qo[0]; - } - - if (y) { - Qo[0] = 256 | Qo[0]; - } - - if (be) { - Qo[0] = 512 | Qo[0]; - } - - Ee = Qo[0]; - ur = Ee; - } - - be = 28 === r; - co = 10 === r; - y = 0 === r; - - if (co) { - Re = oi; - en = ei; - Re = +Re; - kn = en[35]; - pn = en[0]; - en = 0 === Re; - Qo = 2 === Re; - Ee = s; - Me = 1 === Re; - me = "pop"; - ge = me; - - if (en) { - var Mi = Ee.length; - me = "lastVisitTime"; - kn[0] = 0; - X = Mi + On; - var Ti = Ee[0]; - var Ii = Ee[ge](); - u = me; - me = X + Ii[u]; - X = me + On; - pn[0] = X + Ti[u]; - } - - if (Me) { - en = "dateAdded"; - var Ti = Ee[0]; - kn[1] = 0; - var Mi = Ee.length; - var Ii = Ee[ge](); - me = Mi + On; - X = en; - en = me + Ii[X]; - me = en + On; - pn[1] = me + Ti[X]; - } - - if (Qo) { - en = []; - Me = "id"; - me = eo; - ge = 0; - kn[2] = 0; - X = Me; - - while (ge < Ee.length) { - Me = Ee[ge]; - u = Me[X]; - en[ge] = u[me](0, 8); - ge++; - } - - pn[2] = en.join(Po); - } - - en = 3 === Re; - - if (en) { - kn[3] = 0; - pn[3] = Ee.length + Jo; - } - } - - if (y) { - y = 23 === s; - } - - co = y; - - if (co) { - y = d; - Re = 1 | y[0]; - y = void 0; - y = Re; - ur = y; - } - - if (be) { - co = v; - y = d; - Or = r; - Re = new s(y); - y = p; - en = void 0; - - if (y) { - Re = Re[y]; - } - - if (co) { - Re = Re[y](); - } - - en = Re; - ur = en; - } - - be = 17 === r; - co = 0 === r; - - if (co) { - co = 28 === s; - } - - y = co; - - if (y) { - co = void 0; - co = Jo; - ur = co; - } - - if (be) { - co = Ho; - y = ba; - Re = y[pe]; - y = "canvas/2d/getContext/createElement/height/width/style/display/inline/textBaseline/alphabetic/fillStyle/#f60/#069/fillRect/font/11pt no-real-font-123/Cwm fjordbank glyphs vext quiz, \uD83D\uDE03/fillText/rgba(102, 204, 0, 0.7)/18pt Arial/toDataURL"; - Or = r; - en = void 0; - kn = y; - y = kn.split(co); - co = y[19]; - kn = y[0]; - pn = y[18]; - Qo = y[2]; - Ee = y[10]; - Me = y[9]; - me = y[8]; - ge = y[11]; - X = y[21]; - u = y[14]; - de = y[4]; - ve = y[17]; - xo = y[5]; - Fe = y[6]; - qe = y[12]; - ho = y[1]; - Qe = y[13]; - bn = y[7]; - dn = y[15]; - q = y[16]; - eo = y[3]; - Pn = Re[eo](kn); - Re = y[20]; - y = Pn[Qo](ho); - y[ge] = qe; - y[Me] = Ee; - Pn[xo] = 400; - kn = Pn[Fe]; - Pn[de] = 60; - kn[bn] = me; - y[u](125, 1, 62, 20); - y[dn] = q; - y[ge] = Qe; - y[pn](ve, 2, 15); - y[dn] = Re; - y[ge] = co; - y[pn](ve, 4, 45); - co = Pn[X](); - - if (!co) { - co = Jo; - } - - y = co; - en = y; - ur = en; - } - - be = 0 === r; - co = 6 === r; - - if (be) { - be = 17 === s; - } - - y = be; - - if (y) { - be = "Not supported"; - Re = void 0; - Re = be; - ur = Re; - } - - if (co) { - var Ri = 0; - Or = r; - be = ba; - y = void 0; - Re = be[Ln]; - en = Re[Jn]; - - if (en) { - en = !be[Io]; - } - - Re = en; - - if (Re) { - en = {}; - kn = be[Ln]; - pn = Co; - Qo = {}; - - Qo[st] = function () { - Ri = 1; - }; - - Ee = Qo; - Qo = kn[Jn](en, Ie, Ee); - be[So](pn, Qo, Qo); - en = "removeEventListener"; - be[en](pn, Qo, Qo); - } - - y = Ri; - ur = y; - } - - be = 0 === r; - co = 16 === r; - - if (be) { - be = 6 === s; - } - - y = be; - - if (y) { - be = void 0; - be = 0; - ur = be; - } - - if (co) { - be = Po; - y = "disconnect"; - Or = r; - Ln = p; - kn = s; - pn = "Float32Array"; - Io = "frequencyBinCount"; - Qo = 0; - Ee = ei; - var en = "getFloatFrequencyData"; - Re = ba; - Ie = d; - Me = y; - y = new Re[pn](kn[Io]); - kn[en](y); - kn[Me](); - Ln[Me](); - Ie[Me](); - Ee[67] = Jo; - - while (Qo < y.length) { - Re = y[Qo] + be; - Ee[67] = Ee[67] + Re; - Qo++; - } - - ur = void 0; - } - - be = 19 === r; - co = 0 === r; - - if (co) { - co = 16 === s; - } - - y = co; - - if (y) { - ei[67] = 0; - } - - if (be) { - co = ei; - Or = r; - Re = ba; - kn = Re[yo]; - var en = "var a=arguments;return this[a[1]]!==a[0]"; - co[27] = new kn(en); - } - - be = 0 === r; - - if (be) { - be = 19 === s; - } - - co = be; - } - - To = ur; - Or = [Or]; - be = r; - co = d; - y = ba; - Re = +be === be; - en = To; - To = oi; - Ln = Or; - kn = s; - pn = ei; - Ie = +pn[2] === pn[2]; - - if (Re) { - Io = 20 === be; - Qo = 15 === be; - Ee = 21 === be; - Me = 11 === be; - me = 12 === be; - So = 24 === be; - pe = 7 === be; - ge = 18 === be; - - if (me) { - X = pn; - X[59] = 1; - X[63] = 0; - X[8] = Jo; - } - - me = 0 === be; - - if (Me) { - s(7); - } - - Me = 22 === be; - X = 0 === be; - - if (pe) { - u = "log"; - de = y; - ve = de[En]; - de = ve; - xo = u; - u = pn; - u[28] = 0; - - if (de) { - Fe = "function"; - de = typeof ve[xo] === Fe; - } - - Fe = de; - - if (Fe) { - de = ve[xo]; - - if (ve[Ne]) { - u[28] = 1; - qe = ve[Ne](); - ho = qe; - - if (ho) { - ho = qe[xo]; - } - - qe = ho; - - if (!qe) { - qe = de; - } - - de = qe; - } else { - if (de[qo]) { - u[28] = 253; - } - } - - de[Dt](ve, u[8]); - } else { - u[28] = 254; - } - } - - if (ge) { - pe = void 0; - u = At[At]; - de = pn; - ve = 1 === u[Qn]; - - if (ve) { - de[8] = Jo; - } - - u[Qn]++; - pe = Jo; - en = pe; - } - - if (Ee) { - pe = void 0; - ge = pn; - ge[13]++; - pe = Jo; - en = pe; - } - - if (Io) { - Ee = y; - pe = pn; - ge = kn; - u = void 0; - pe[71] = 253; - var ve = "attempt"; - de = ge[uo](); - ge = de.indexOf(ve); - de = ge > -1; - - if (de) { - ge = "workbench"; - - if (Ee[ge]) { - pe[71] = 252; - u = void 0; - } else { - pe[71] = 1; - pe[40] = 1; - } - } - } - - if (Qo) { - Io = co; - pe = 0; - de = 0; - ve = To; - - try { - xo = "caller"; - Fe = xo; - pe = e[Fe]; - xo = pe; - - if (xo) { - xo = pe[Fe]; - } - - de = xo; - } catch (a) { - } - - xo = pn; - Fe = kn; - qe = void 0; - ho = pe + Jo; - var Ee = "pageJavascriptEnabled"; - pe = ho + de; - ge = pe.indexOf(Ee); - Ee = ~ge; - - if (Ee) { - ge = "IntersectionObserver"; - u = pe.indexOf(ge); - Ee = ~u; - } - - ge = Ee; - - if (ge) { - xo[16] = 1; - } - - Ee = "getNodeRootThroughAnyShadows"; - ge = pe.indexOf(Ee); - - if (~ge) { - xo[65] = 1; - } - - Ee = Io; - - if (Fe) { - Ee = Fe[Dt](ve); - } - - qe = Ee; - en = qe; - } - - if (Me) { - Ln[0] = be; - Io = y[yo]; - Qo = Io[qo]; - Io = Qo[uo]; - Io[Dt](be); - en = 1; - } - - if (X) { - X = kn; - } - - Io = X; - - if (Io) { - Io = 22 === kn[0]; - } - - Qo = Io; - - if (Qo) { - en = 0; - } - - if (So) { - Ln[0] = be; - en = kn[co]; - } - - if (me) { - me = kn; - } - - Io = me; - - if (Io) { - Io = 24 === kn[0]; - } - - Qo = Io; - - if (Qo) { - en = 0; - } - } - - if (Ie) { - Jo = 3 === pn[2]; - - if (Jo) { - en = To; - } - - pn[2] = -1; - } - - In = en; - ur = In; - } - - return ur; - } catch (qi) { - console.log(qi) - if (Or >= 0 || Or[0] >= 0) { - return e(0, Or, Ca, qi); - } - - if (26 !== r) { - Nt = "message"; - ur = "stack"; - e(26, encodeURIComponent(qi[Nt]), encodeURIComponent(qi[ur]), b, A); - } - } - } - - function o(e, o) { - function n(e) { - var s = "object"; - var d = "toString"; - var v = d; - var u = s; - - for (var g in e) { - var l = e[g]; - var C = l[v]; - var f = C === t; - - if (f) { - var m = e[g]; - e[g] = m[v](); - break; - } - - var b = typeof e[g] === u; - b && n(e[g]); - } - } - - var d = "toString"; - var u = e[d] === t; - - if (u) { - var v = "toString"; - e = e[v](); - } else { - var g = "object"; - var C = typeof e === g; - - if (C) { - n(e); - } - } - - var f = l(e, o); - return f; - } - - function n(e, n, t) { - if (!n) { - return; - } - - var oe = "defineProperty"; - var ne = Object[oe]; - - if (ne) { - var de = "getOwnPropertyDescriptor"; - ne = Object[de]; - } - - var P = ne; - - if (P) { - var s = "getOwnPropertyDescriptor"; - var d = Object[s](e, n); - var p = !d; - - if (!p) { - var ve = "configurable"; - p = d[ve]; - } - - var ge = p; - - if (ge) { - var F = {}; - var q = "set"; - var X = "defineProperty"; - var W = "get"; - F[W] = t; - - F[q] = function () { - }; - - var xe = F; - Object[X](e, n, xe); - } else { - var re = 0; - var ie = "getUA"; - var D = ie; - - if (window[D]) { - var g = window[D] + ""; - var C = "LogVal"; - var f = g.indexOf(UA_Opt[C]); - var m = f > 0; - - if (!m) { - var he = "UA_Opt.LogVal"; - var ce = g.indexOf(he); - m = ce > 0; - } - - var Ee = m; - - if (Ee) { - window[D] = t; - re = 1; - } - } - - if (!re) { - var le = "LogVal"; - var Ce = "toString"; - var fe = "valueOf"; - var me = "jQuery"; - var be = window[me]; - - if (be) { - var Le = "fn"; - be = jQuery[Le]; - } - - var I = be; - - if (I) { - var x = "fn"; - var we = jQuery[x]; - var w = "jquery"; - I = we[w]; - } - - var u = I; - - if (u) { - var J = "param"; - u = jQuery[J]; - } - - var v = u; - - if (v) { - var E = "fn"; - var _ = "jquery"; - var T = jQuery[E]; - var R = "substr"; - var K = T[_]; - var Y = K.charCodeAt(0); - var $ = K[R](2); - var Z = parseFloat($); - var ee = 49 === Y; - - if (ee) { - var N = Z >= 4; - - if (N) { - N = 7.1 >= Z; - } - - ee = N; - } - - var se = ee; - - if (se) { - var b = "param"; - l = jQuery[b]; - var A = "param"; - jQuery[A] = o; - } - } - - var Se = new String(); - Se[Ce] = t; - Se[fe] = t; - window[UA_Opt[le]] = Se; - } - } - } else { - e[n] = t; - var Q = e[n]; - var B = "toString"; - Q[B] = t; - } - } - - function t() { - var o = "fromCompatibility"; - E[o] = 1; - var n = e(1, E); - return n; - } - - function r(e) { - var a = "parentNode"; - var i = C; - var h = s(e); - var c = d(h); - var p = a; - - while (c) { - var v = c === i; - - if (v) { - return 1; - break; - } - - c = c[p]; - } - } - - function a() { - var S = "getAttribute"; - var x = f; - var w = !x; - var j = S; - var O = C; - - if (!w) { - var b = x[j]("name"); - var k = "ua"; - w = b !== k; - } - - var i = w; - - if (i) { - var s = "getElementsByTagName"; - var d = "ua"; - var g = d; - var l = 0; - var p = "input"; - l = 0; - var q = O[s](p); - - while (l < q.length) { - var E = q[l]; - var R = E[j]("name"); - - var _ = R === g; - - if (_) { - x = E; - } - - l++; - } - } - - if (!x) { - var P = "appendChild"; - var N = "UA_InputId"; - var z = "createElement"; - var Q = "ua"; - var L = "input"; - var V = "hidden"; - var B = "id"; - x = document[z](L); - x.type = V; - x.name = Q; - x[B] = N; - O[P](x); - } - - f = x; - return x; - ; - } - - function i() { - var o = a(); - var n = "value"; - delete o[n]; - var t = "value"; - o[t] = e(1, E); - } - - function h(e) { - var h = r(e); - - if (h) { - m = 1; - i(); - } - } - - function c(e) { - var h = 1 !== m; - - if (h) { - h = r(e); - } - - var c = h; - - if (c) { - i(); - } - } - - function s(e) { - var c = e; - - if (!c) { - var h = "event"; - c = window[h]; - } - - var s = c; - return s; - } - - function d(e) { - var s = "target"; - var g = e[s]; - - if (!g) { - var i = "srcElement"; - g = e[i]; - } - - var c = g; - return c; - } - - var w = []; - w.unshift([]); - var j = "__acjs_awsc_140"; - var O = []; - var y = window.UA_Opt; - - if (!y) { - y = {}; - } - - window.UA_Opt = y; - var E = window.UA_Opt; - - if (E.loadTime) { - var R = new Date(); - E.loadTime = +R; - } - - var l = 0; - var C; - var f; - var m; - var b = 0; - var A = ""; - var k = "\x00\b \n \f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff".split(""); - var S = new RegExp("0+$"); - var x = {}; - b = 11; - e(27); -}(); - -debugger; - -function get_form(){ - const o = { - "SendInterval": 5, - "SendMethod": 8, - "isSendError": 1, - "MaxMCLog": 12, - "MaxKSLog": 14, - "MaxMPLog": 5, - "MaxGPLog": 1, - "MaxTCLog": 12, - "GPInterval": 50, - "MPInterval": 4, - "MaxFocusLog": 6, - "Flag": 2980046, - "OnlyHost": 1, - "MaxMTLog": 500, - "MinMTDwnLog": 30, - "MaxNGPLog": 1, - "sIDs": [ - "_n1t|_n1z|nocaptcha|-stage-1" - ], - "mIDs": [ - "nc-canvas", - "click2slide-btn" - ], - "hook": 1, - "font": 1, - "api": 1 - } - debugger; - return window.main(o) -} - - - - - - - - - -qxVm_module.exports = { get_form } \ No newline at end of file