commit a2271a1d8c08bb949f34092ef6611da2fb4ae4ff
Author: yangjun <1173114630@qq.com>
Date: Thu Sep 25 16:19:06 2025 +0800
初始化
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cb10d8b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,14 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches/build_file_checksums.ser
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+/.idea/
+/app/build/
+/app/release/
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..47f3b3b
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+SSS
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
new file mode 100644
index 0000000..35c48b8
--- /dev/null
+++ b/app/build.gradle
@@ -0,0 +1,114 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdk 35
+
+ namespace 'com.android.UniPlugin'
+ defaultConfig {
+ applicationId "com.android.UniPlugin"
+ minSdkVersion 21
+ targetSdkVersion 33 //建议此属性值设为21 io.dcloud.PandoraEntry 作为apk入口时 必须设置 targetSDKVersion>=21 沉浸式才生效
+
+ versionCode 161
+ versionName "1.6.1"
+ multiDexEnabled true
+ ndk {
+ ndk {
+ //设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
+ abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64"
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+ }
+
+ signingConfigs {
+ config {
+ keyAlias 'key0'
+ keyPassword '123456'
+ storeFile file('uniplugin.jks')
+ storePassword '123456'
+ v1SigningEnabled true
+ v2SigningEnabled true
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.config
+ zipAlignEnabled false
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ debug {
+ signingConfig signingConfigs.config
+ zipAlignEnabled false
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+ //使用uniapp时,需复制下面代码
+ /*代码开始*/
+ aaptOptions {
+ additionalParameters '--auto-add-overlay'
+ //noCompress 'foo', 'bar'
+ ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
+ }
+ lint {
+ baseline = file("lint-baseline.xml")
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ packagingOptions {
+ // 选择第一个匹配的文件(推荐)
+ pickFirst 'lib/arm64-v8a/libc++_shared.so'
+ // 如果其他 ABI 也存在冲突,添加对应路径
+ pickFirst 'lib/armeabi-v7a/libc++_shared.so'
+ pickFirst 'lib/x86/libc++_shared.so'
+ jniLibs {
+ useLegacyPackaging true
+ }
+ }
+ /*代码结束*/
+ sourceSets {
+ main {
+ jniLibs.srcDirs = ['libs']
+ }
+ }
+}
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ implementation fileTree(dir: 'libs', include: ['*.aar'])
+
+ /*uniapp所需库-----------------------开始*/
+ implementation 'androidx.recyclerview:recyclerview:1.1.0'
+ implementation 'com.facebook.fresco:fresco:1.13.0'
+ implementation "com.facebook.fresco:animated-gif:1.13.0"
+ /*uniapp所需库-----------------------结束*/
+ // 基座需要,必须添加
+ implementation 'com.github.bumptech.glide:glide:4.9.0'
+ implementation 'com.alibaba:fastjson:1.2.83'
+ implementation 'androidx.webkit:webkit:1.3.0'
+ implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
+ implementation 'androidx.core:core:1.1.0'
+ implementation "androidx.fragment:fragment:1.1.0"
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+
+ implementation project(':mylibrary')
+ // uts依赖
+ implementation "com.squareup.okhttp3:okhttp:3.12.12"
+ implementation "androidx.core:core-ktx:1.6.0"
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.0"
+ implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.0"
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8"
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8"
+ implementation "com.github.getActivity:XXPermissions:18.0"
+ implementation 'com.google.android.material:material:1.5.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+
+}
diff --git a/app/libs/TPBizCommon_Android_V1.0.0_release.aar b/app/libs/TPBizCommon_Android_V1.0.0_release.aar
new file mode 100644
index 0000000..0b6ba7b
Binary files /dev/null and b/app/libs/TPBizCommon_Android_V1.0.0_release.aar differ
diff --git a/app/libs/TPRender_Android_V1.0.0_release.aar b/app/libs/TPRender_Android_V1.0.0_release.aar
new file mode 100644
index 0000000..a69c599
Binary files /dev/null and b/app/libs/TPRender_Android_V1.0.0_release.aar differ
diff --git a/app/libs/TUMSCloudSDK_Android_V1.0.6_release.aar b/app/libs/TUMSCloudSDK_Android_V1.0.6_release.aar
new file mode 100644
index 0000000..343a7f2
Binary files /dev/null and b/app/libs/TUMSCloudSDK_Android_V1.0.6_release.aar differ
diff --git a/app/libs/android-gif-drawable-1.2.28.aar b/app/libs/android-gif-drawable-1.2.28.aar
new file mode 100644
index 0000000..f50965f
Binary files /dev/null and b/app/libs/android-gif-drawable-1.2.28.aar differ
diff --git a/app/libs/breakpad-build-release.aar b/app/libs/breakpad-build-release.aar
new file mode 100644
index 0000000..5efe624
Binary files /dev/null and b/app/libs/breakpad-build-release.aar differ
diff --git a/app/libs/install-apk-release.aar b/app/libs/install-apk-release.aar
new file mode 100644
index 0000000..dedb4d8
Binary files /dev/null and b/app/libs/install-apk-release.aar differ
diff --git a/app/libs/lib.5plus.base-release.aar b/app/libs/lib.5plus.base-release.aar
new file mode 100644
index 0000000..6482615
Binary files /dev/null and b/app/libs/lib.5plus.base-release.aar differ
diff --git a/app/libs/oaid_sdk_1.0.25.aar b/app/libs/oaid_sdk_1.0.25.aar
new file mode 100644
index 0000000..47ca06d
Binary files /dev/null and b/app/libs/oaid_sdk_1.0.25.aar differ
diff --git a/app/libs/uniapp-v8-release.aar b/app/libs/uniapp-v8-release.aar
new file mode 100644
index 0000000..63d5cd9
Binary files /dev/null and b/app/libs/uniapp-v8-release.aar differ
diff --git a/app/libs/utsplugin-release.aar b/app/libs/utsplugin-release.aar
new file mode 100644
index 0000000..e1f4052
Binary files /dev/null and b/app/libs/utsplugin-release.aar differ
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml
new file mode 100644
index 0000000..9a4b8c6
--- /dev/null
+++ b/app/lint-baseline.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
new file mode 100644
index 0000000..2e69541
--- /dev/null
+++ b/app/proguard-rules.pro
@@ -0,0 +1,149 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+
+#-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+-dontoptimize
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class * extends io.dcloud.common.DHInterface.IPlugin
+-keep public class * extends io.dcloud.common.DHInterface.IFeature
+-keep public class * extends io.dcloud.common.DHInterface.IBoot
+-keep public class * extends io.dcloud.common.DHInterface.IReflectAble
+
+-keep class io.dcloud.feature.speech.** {*;}
+-keep class io.dcloud.net.** {*;}
+-keep class io.dcloud.common.constant.** {*;}
+-keep class io.dcloud.common.sonic.** {*;}
+-keep class io.dcloud.common.DHInterface.** {*;}
+-keep class io.dcloud.common.util.** {*;}
+-keep class io.dcloud.common.adapter.** {*;}
+-keep class io.dcloud.feature.internal.reflect.** {*;}
+-keep class io.dcloud.feature.internal.sdk.** {*;}
+-keep class io.dcloud.feature.payment.** {*;}
+-keep class io.dcloud.sdk.** {*;}
+-keep class com.** {*;}
+-keep class io.dcloud.nineoldandroids.** {*;}
+-keep class vi.com.gdi.** {*;}
+-keep class androidx.** {*;}
+-dontwarn pl.droidsonroids.gif.**
+
+-keepclasseswithmembers class * extends io.dcloud.js.geolocation.GeoManagerBase {
+ ;
+}
+
+-keep class io.dcloud.share.AbsWebviewClient
+-keepclasseswithmembers class io.dcloud.share.AbsWebviewClient {
+ ;
+}
+
+-keep class io.dcloud.share.ShareAuthorizeView
+-keepclasseswithmembers class io.dcloud.share.ShareAuthorizeView {
+ ;
+}
+-keep class io.dcloud.share.IFShareApi
+-keep public class * extends io.dcloud.share.IFShareApi
+-keepclasseswithmembers class io.dcloud.share.IFShareApi {
+ ;
+}
+
+
+
+
+-keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
+-keep class io.dcloud.appstream.StreamAppManager
+-keepclasseswithmembers class io.dcloud.appstream.StreamAppManager {
+ public protected ;
+}
+
+-keep class io.dcloud.common.DHInterface.IReflectAble
+-keep public class * extends io.dcloud.common.DHInterface.IReflectAble{
+ public protected ;
+ public protected *;
+}
+-keep class **.R
+-keep class **.R$* {
+ public static ;
+}
+-keep public class * extends io.dcloud.common.DHInterface.IJsInterface{
+ public protected ;
+ public protected *;
+}
+
+-keepclasseswithmembers class io.dcloud.EntryProxy {
+ ;
+}
+
+-keep class * implements android.os.IInterface {
+ ;
+}
+
+-keepclasseswithmembers class *{
+ public static java.lang.String getJsContent();
+}
+-keepclasseswithmembers class io.dcloud.appstream.StreamAppScriptEntry {
+ ;
+}
+-keepclasseswithmembers class *{
+ public static void onReceiver1(android.content.Intent, android.content.Context);
+}
+
+-keepclasseswithmembers class *{
+ public static io.dcloud.share.AbsWebviewClient getWebviewClient(io.dcloud.share.ShareAuthorizeView);
+}
+-keepclasseswithmembers class *{
+ public java.lang.String exec(java.lang.String,java.lang.String,java.lang.String[]);
+}
+-keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
+
+-keepclasseswithmembers class * {
+ public (android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+ public (android.content.Context, android.util.AttributeSet, int);
+}
+
+-keep public class * extends android.app.Application{
+ public static ;
+ public *;
+}
+
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+ public static ;
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
+
+-keepattributes Signature
+-keep class io.dcloud.encryption.K {*;}
+-dontwarn com.igexin.**
+-keep class org.json.** { *; }
+-dontwarn com.amap.**
+-dontwarn org.apache.commons.**
+-dontwarn com.sina.weibo.sdk.**
+
+
+-keep class uni.** {*;}
+-keep class pl.** {*;}
+-keep class io.** {*;}
+-keep class org.mozilla.**{*;}
+
+-keep class androidtranscoder.**{*;}
+-keep class XI.**{*;}
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..803ccd2
--- /dev/null
+++ b/app/src/main/AndroidManifest.xml
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/assets/apps/__UNI__FB2D473/www/__uniappautomator.js b/app/src/main/assets/apps/__UNI__FB2D473/www/__uniappautomator.js
new file mode 100644
index 0000000..0f9252f
--- /dev/null
+++ b/app/src/main/assets/apps/__UNI__FB2D473/www/__uniappautomator.js
@@ -0,0 +1,16 @@
+var n;
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+function __spreadArrays(){for(var s=0,i=0,il=arguments.length;in;n++)r(e,e._deferreds[n]);e._deferreds=null}function c(e,n){var t=!1;try{e((function(e){t||(t=!0,i(n,e))}),(function(e){t||(t=!0,f(n,e))}))}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}(e,n,o)),o},o.prototype.finally=e,o.all=function(e){return new o((function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,(function(n){r(e,n)}),o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])}))},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o((function(n){n(e)}))},o.reject=function(e){return new o((function(n,t){t(e)}))},o.race=function(e){return new o((function(t,r){if(!n(e))return r(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)}))},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype.finally||(l.Promise.prototype.finally=e):l.Promise=o},"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n();var getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),rnds8=new Uint8Array(16);function rng(){if(!getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}for(var byteToHex=[],i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"===options?new Array(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||function(buf,offset){var i=offset||0,bth=byteToHex;return[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join("")}(rnds)}var hasOwnProperty=Object.prototype.hasOwnProperty,isArray=Array.isArray,PATH_RE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;function getPaths(path,data){if(isArray(path))return path;if(data&&(val=data,key=path,hasOwnProperty.call(val,key)))return[path];var val,key,res=[];return path.replace(PATH_RE,(function(match,p1,offset,string){return res.push(offset?string.replace(/\\(\\)?/g,"$1"):p1||match),string})),res}function getDataByPath(data,path){var dataPath,paths=getPaths(path,data);for(dataPath=paths.shift();null!=dataPath;){if(null==(data=data[dataPath]))return;dataPath=paths.shift()}return data}var elementMap=new Map;function transEl(el){var _a;if(!function(el){if(el){var tagName=el.tagName;return 0===tagName.indexOf("UNI-")||"BODY"===tagName||0===tagName.indexOf("V-UNI-")||el.__isUniElement}return!1}(el))throw Error("no such element");var element,elementId,elem={elementId:(element=el,elementId=element._id,elementId||(elementId=v4(),element._id=elementId,elementMap.set(elementId,{id:elementId,element:element})),elementId),tagName:el.tagName.toLocaleLowerCase().replace("uni-","")};if(el.__vue__)(vm=el.__vue__)&&(vm.$parent&&vm.$parent.$el===el&&(vm=vm.$parent),vm&&!(null===(_a=vm.$options)||void 0===_a?void 0:_a.isReserved)&&(elem.nodeId=function(vm){if(vm._$weex)return vm._uid;if(vm._$id)return vm._$id;if(vm.uid)return vm.uid;var parent_1=function(vm){for(var parent=vm.$parent;parent;){if(parent._$id)return parent;parent=parent.$parent}}(vm);if(!vm.$parent)return"-1";var vnode=vm.$vnode,context=vnode.context;return context&&context!==parent_1&&context._$id?context._$id+";"+parent_1._$id+","+vnode.data.attrs._i:parent_1._$id+","+vnode.data.attrs._i}(vm)));else var vm;return"video"===elem.tagName&&(elem.videoId=elem.nodeId),elem}function getVm(el){return el.__vue__?{isVue3:!1,vm:el.__vue__}:{isVue3:!0,vm:el.__vueParentComponent}}function getScrollViewMain(el){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;return isVue3?vm.exposed.$getMain():vm.$refs.main}var FUNCTIONS={input:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},textarea:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},"scroll-view":{scrollTo:function(el,x,y){var main=getScrollViewMain(el);main.scrollLeft=x,main.scrollTop=y},scrollTop:function(el){return getScrollViewMain(el).scrollTop},scrollLeft:function(el){return getScrollViewMain(el).scrollLeft},scrollWidth:function(el){return getScrollViewMain(el).scrollWidth},scrollHeight:function(el){return getScrollViewMain(el).scrollHeight}},swiper:{swipeTo:function(el,index){el.__vue__.current=index}},"movable-view":{moveTo:function(el,x,y){el.__vue__._animationTo(x,y)}},switch:{tap:function(el){el.click()}},slider:{slideTo:function(el,value){var vm=el.__vue__,slider=vm.$refs["uni-slider"],offsetWidth=slider.offsetWidth,boxLeft=slider.getBoundingClientRect().left;vm.value=value,vm._onClick({x:(value-vm.min)*offsetWidth/(vm.max-vm.min)+boxLeft})}}};function createTouchList(touchInits){var _a,touches=touchInits.map((function(touch){return function(touch){if(document.createTouch)return document.createTouch(window,touch.target,touch.identifier,touch.pageX,touch.pageY,touch.screenX,touch.screenY,touch.clientX,touch.clientY);return new Touch(touch)}(touch)}));return document.createTouchList?(_a=document).createTouchList.apply(_a,touches):touches}var WebAdapter={getWindow:function(pageId){return window},getDocument:function(pageId){return document},getEl:function(elementId){var element=elementMap.get(elementId);if(!element)throw Error("element destroyed");return element.element},getOffset:function(node){var rect=node.getBoundingClientRect();return Promise.resolve({left:rect.left+window.pageXOffset,top:rect.top+window.pageYOffset})},querySelector:function(context,selector){return"page"===selector&&(selector="body"),Promise.resolve(transEl(context.querySelector(selector)))},querySelectorAll:function(context,selector){var elements=[],nodeList=document.querySelectorAll(selector);return[].forEach.call(nodeList,(function(node){try{elements.push(transEl(node))}catch(e){}})),Promise.resolve({elements:elements})},queryProperties:function(context,names){return Promise.resolve({properties:names.map((function(name){var value=getDataByPath(context,name.replace(/-([a-z])/g,(function(g){return g[1].toUpperCase()})));return"document.documentElement.scrollTop"===name&&0===value&&(value=getDataByPath(context,"document.body.scrollTop")),value}))})},queryAttributes:function(context,names){return Promise.resolve({attributes:names.map((function(name){return String(context.getAttribute(name))}))})},queryStyles:function(context,names){var style=getComputedStyle(context);return Promise.resolve({styles:names.map((function(name){return style[name]}))})},queryHTML:function(context,type){return Promise.resolve({html:(html="outer"===type?context.outerHTML:context.innerHTML,html.replace(/\n/g,"").replace(/(]*>)(]*>[^<]*<\/span>)(.*?<\/uni-text>)/g,"$1$3").replace(/<\/?[^>]*>/g,(function(replacement){return-1":"