@quicktvui/quicktvui3 3.0.6 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +20 -0
- package/dist/index.js +4 -4
- package/dist/src/index.d.ts +2 -2
- package/dist/src/pro/qt-media-series-pro.vue.d.ts +38 -0
- package/dist/src/pro/qt-waterfall-pro.vue.d.ts +41 -0
- package/dist/src/pro/types/ProTypes.d.ts +4 -0
- package/dist/src/pro/types/Series.d.ts +8 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{ref as e,openBlock as t,createElementBlock as a,renderSlot as n,resolveComponent as o,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as
|
|
1
|
+
import{ref as e,openBlock as t,createElementBlock as a,renderSlot as n,resolveComponent as o,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as r,toDisplayString as u,toRaw as d,nextTick as f,isReactive as v,onMounted as g,onUnmounted as p,watchEffect as m,onBeforeUnmount as I,withCtx as h,createVNode as T,createElementVNode as _,reactive as F,watch as S,Fragment as b,renderList as y,resolveDynamicComponent as E,computed as N,unref as P,h as R,toRef as A}from"vue";import{Native as L,registerElement as C,resolveScaleValue as U}from"@extscreen/es3-vue";import{useESLog as D,ESLogLevel as w,useESDevice as x,useESPlugin as k,useES as O,useESDisplay as B,ESVersion as M,log as W,es as G,develop as V,toast as q,storage as z,device as $,display as Q,network as Y,appList as H,power as j,permission as K,usbDevice as Z,broadcast as J,audio as X,shareData as ee,runtime as te,plugin as ae,download as ne,upload as oe,actionBar as ie,iac as le,location as ce,focus as se,provider as re,eventBus as ue,xlog as de,logUpload as fe,brightness as ve,service as ge}from"@extscreen/es3-core";
|
|
2
2
|
/**
|
|
3
3
|
* @vue/shared v3.5.22
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
5
|
* @license MIT
|
|
6
6
|
**/
|
|
7
|
-
function pe(e){const t=Object.create(null);for(const a of e.split(","))t[a]=1;return e=>e in t}const me="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const Ie=()=>{},he=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Te=Object.assign,_e=Object.prototype.hasOwnProperty,Fe=(e,t)=>_e.call(e,t),Se=Array.isArray,be=e=>"[object Map]"===Ae(e),ye=e=>"function"==typeof e,Ee=e=>"string"==typeof e,
|
|
7
|
+
function pe(e){const t=Object.create(null);for(const a of e.split(","))t[a]=1;return e=>e in t}const me="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const Ie=()=>{},he=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Te=Object.assign,_e=Object.prototype.hasOwnProperty,Fe=(e,t)=>_e.call(e,t),Se=Array.isArray,be=e=>"[object Map]"===Ae(e),ye=e=>"function"==typeof e,Ee=e=>"string"==typeof e,Ne=e=>"symbol"==typeof e,Pe=e=>null!==e&&"object"==typeof e,Re=Object.prototype.toString,Ae=e=>Re.call(e),Le=e=>Ae(e).slice(8,-1),Ce=e=>Ee(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ue=(e=>{const t=Object.create(null);return a=>t[a]||(t[a]=e(a))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),De=(e,t)=>!Object.is(e,t);let we;const xe=()=>we||(we="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ke(e){if(Se(e)){const t={};for(let a=0;a<e.length;a++){const n=e[a],o=Ee(n)?We(n):ke(n);if(o)for(const e in o)t[e]=o[e]}return t}if(Ee(e)||Pe(e))return e}const Oe=/;(?![^(]*\))/g,Be=/:([^]+)/,Me=/\/\*[^]*?\*\//g;function We(e){const t={};return e.replace(Me,"").split(Oe).forEach(e=>{if(e){const a=e.split(Be);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function Ge(e){let t="";if(Ee(e))t=e;else if(Se(e))for(let a=0;a<e.length;a++){const n=Ge(e[a]);n&&(t+=n+" ")}else if(Pe(e))for(const a in e)e[a]&&(t+=a+" ");return t.trim()}
|
|
8
8
|
/**
|
|
9
9
|
* @vue/reactivity v3.5.22
|
|
10
10
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
11
11
|
* @license MIT
|
|
12
|
-
**/function Ve(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let qe;const ze=new WeakSet;class $e{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ze.has(this)&&(ze.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||function(e,t=!1){if(e.flags|=8,t)return e.next=Ye,void(Ye=e);e.next=Qe,Qe=e}(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,ct(this),Ze(this);const e=qe,t=nt;qe=this,nt=!0;try{return this.fn()}finally{"production"!==process.env.NODE_ENV&&qe!==this&&Ve("Active effect was not restored correctly - this is likely a Vue internal bug."),Je(this),qe=e,nt=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)tt(e);this.deps=this.depsTail=void 0,ct(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xe(this)&&this.run()}get dirty(){return Xe(this)}}let Qe,Ye,He=0;function je(){He++}function Ke(){if(--He>0)return;if(Ye){let e=Ye;for(Ye=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Qe;){let t=Qe;for(Qe=void 0;t;){const a=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=a}}if(e)throw e}function Ze(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Je(e){let t,a=e.depsTail,n=a;for(;n;){const e=n.prevDep;-1===n.version?(n===a&&(a=e),tt(n),at(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=e}e.deps=t,e.depsTail=a}function Xe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(et(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function et(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===st)return;if(e.globalVersion=st,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Xe(e)))return;e.flags|=2;const t=e.dep,a=qe,n=nt;qe=e,nt=!0;try{Ze(e);const a=e.fn(e._value);(0===t.version||De(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(e){throw t.version++,e}finally{qe=a,nt=n,Je(e),e.flags&=-3}}function tt(e,t=!1){const{dep:a,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),"production"!==process.env.NODE_ENV&&a.subsHead===e&&(a.subsHead=o),a.subs===e&&(a.subs=n,!n&&a.computed)){a.computed.flags&=-5;for(let e=a.computed.deps;e;e=e.nextDep)tt(e,!0)}t||--a.sc||!a.map||a.map.delete(a.key)}function at(e){const{prevDep:t,nextDep:a}=e;t&&(t.nextDep=a,e.prevDep=void 0),a&&(a.prevDep=t,e.nextDep=void 0)}let nt=!0;const ot=[];function it(){ot.push(nt),nt=!1}function lt(){const e=ot.pop();nt=void 0===e||e}function ct(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=qe;qe=void 0;try{t()}finally{qe=e}}}let st=0;class ut{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rt{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){if(!qe||!nt||qe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==qe)t=this.activeLink=new ut(qe,this),qe.deps?(t.prevDep=qe.depsTail,qe.depsTail.nextDep=t,qe.depsTail=t):qe.deps=qe.depsTail=t,dt(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=qe.depsTail,t.nextDep=void 0,qe.depsTail.nextDep=t,qe.depsTail=t,qe.deps===t&&(qe.deps=e)}return"production"!==process.env.NODE_ENV&&qe.onTrack&&qe.onTrack(Te({effect:qe},e)),t}trigger(e){this.version++,st++,this.notify(e)}notify(e){je();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(Te({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ke()}}}function dt(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)dt(e)}const a=e.dep.subs;a!==e&&(e.prevSub=a,a&&(a.nextSub=e)),"production"!==process.env.NODE_ENV&&void 0===e.dep.subsHead&&(e.dep.subsHead=e),e.dep.subs=e}}const ft=new WeakMap,vt=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),gt=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),pt=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function mt(e,t,a){if(nt&&qe){let n=ft.get(e);n||ft.set(e,n=new Map);let o=n.get(a);o||(n.set(a,o=new rt),o.map=n,o.key=a),"production"!==process.env.NODE_ENV?o.track({target:e,type:t,key:a}):o.track()}}function It(e,t,a,n,o,i){const l=ft.get(e);if(!l)return void st++;const c=l=>{l&&("production"!==process.env.NODE_ENV?l.trigger({target:e,type:t,key:a,newValue:n,oldValue:o,oldTarget:i}):l.trigger())};if(je(),"clear"===t)l.forEach(c);else{const o=Se(e),i=o&&Ce(a);if(o&&"length"===a){const e=Number(n);l.forEach((t,a)=>{("length"===a||a===pt||!Pe(a)&&a>=e)&&c(t)})}else switch((void 0!==a||l.has(void 0))&&c(l.get(a)),i&&c(l.get(pt)),t){case"add":o?i&&c(l.get("length")):(c(l.get(vt)),be(e)&&c(l.get(gt)));break;case"delete":o||(c(l.get(vt)),be(e)&&c(l.get(gt)));break;case"set":be(e)&&c(l.get(vt))}}Ke()}function ht(e){const t=na(e);return t===e?t:(mt(t,"iterate",pt),ta(e)?t:t.map(ia))}function Tt(e){return mt(e=na(e),"iterate",pt),e}const _t={__proto__:null,[Symbol.iterator](){return Ft(this,Symbol.iterator,ia)},concat(...e){return ht(this).concat(...e.map(e=>Se(e)?ht(e):e))},entries(){return Ft(this,"entries",e=>(e[1]=ia(e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,e=>e.map(ia),arguments)},find(e,t){return bt(this,"find",e,t,ia,arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,ia,arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Et(this,"includes",e)},indexOf(...e){return Et(this,"indexOf",e)},join(e){return ht(this).join(e)},lastIndexOf(...e){return Et(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return Pt(this,"pop")},push(...e){return Pt(this,"push",e)},reduce(e,...t){return yt(this,"reduce",e,t)},reduceRight(e,...t){return yt(this,"reduceRight",e,t)},shift(){return Pt(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return Pt(this,"splice",e)},toReversed(){return ht(this).toReversed()},toSorted(e){return ht(this).toSorted(e)},toSpliced(...e){return ht(this).toSpliced(...e)},unshift(...e){return Pt(this,"unshift",e)},values(){return Ft(this,"values",ia)}};function Ft(e,t,a){const n=Tt(e),o=n[t]();return n===e||ta(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=a(e.value)),e}),o}const St=Array.prototype;function bt(e,t,a,n,o,i){const l=Tt(e),c=l!==e&&!ta(e),s=l[t];if(s!==St[t]){const t=s.apply(e,i);return c?ia(t):t}let u=a;l!==e&&(c?u=function(t,n){return a.call(this,ia(t),n,e)}:a.length>2&&(u=function(t,n){return a.call(this,t,n,e)}));const r=s.call(l,u,n);return c&&o?o(r):r}function yt(e,t,a,n){const o=Tt(e);let i=a;return o!==e&&(ta(e)?a.length>3&&(i=function(t,n,o){return a.call(this,t,n,o,e)}):i=function(t,n,o){return a.call(this,t,ia(n),o,e)}),o[t](i,...n)}function Et(e,t,a){const n=na(e);mt(n,"iterate",pt);const o=n[t](...a);return-1!==o&&!1!==o||!aa(a[0])?o:(a[0]=na(a[0]),n[t](...a))}function Pt(e,t,a=[]){it(),je();const n=na(e)[t].apply(e,a);return Ke(),lt(),n}const Nt=pe("__proto__,__v_isRef,__isVue"),Rt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(Pe));function At(e){Pe(e)||(e=String(e));const t=na(this);return mt(t,"has",e),t.hasOwnProperty(e)}class Lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return o;if("__v_raw"===t)return a===(n?o?Ht:Yt:o?Qt:$t).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const i=Se(e);if(!n){let e;if(i&&(e=_t[t]))return e;if("hasOwnProperty"===t)return At}const l=Reflect.get(e,t,ca(e)?e:a);if(Pe(t)?Rt.has(t):Nt(t))return l;if(n||mt(e,"get",t),o)return l;if(ca(l)){const e=i&&Ce(t)?l:l.value;return n&&Ne(e)?Kt(e):e}return Ne(l)?n?Kt(l):jt(l):l}}class Ct extends Lt{constructor(e=!1){super(!1,e)}set(e,t,a,n){let o=e[t];if(!this._isShallow){const n=ea(o);if(ta(a)||ea(a)||(o=na(o),a=na(a)),!Se(e)&&ca(o)&&!ca(a))return n?("production"!==process.env.NODE_ENV&&Ve(`Set operation on key "${String(t)}" failed: target is readonly.`,e[t]),!0):(o.value=a,!0)}const i=Se(e)&&Ce(t)?Number(t)<e.length:Fe(e,t),l=Reflect.set(e,t,a,ca(e)?e:n);return e===na(n)&&(i?De(a,o)&&It(e,"set",t,a,o):It(e,"add",t,a)),l}deleteProperty(e,t){const a=Fe(e,t),n=e[t],o=Reflect.deleteProperty(e,t);return o&&a&&It(e,"delete",t,void 0,n),o}has(e,t){const a=Reflect.has(e,t);return Pe(t)&&Rt.has(t)||mt(e,"has",t),a}ownKeys(e){return mt(e,"iterate",Se(e)?"length":vt),Reflect.ownKeys(e)}}class Ut extends Lt{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&Ve(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&Ve(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Dt=new Ct,wt=new Ut,xt=new Ut(!0),kt=e=>e,Ot=e=>Reflect.getPrototypeOf(e);function Bt(e){return function(...t){if("production"!==process.env.NODE_ENV){const a=t[0]?`on key "${t[0]}" `:"";Ve(`${Ue(e)} operation ${a}failed: target is readonly.`,na(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function Mt(e,t){const a={get(a){const n=this.__v_raw,o=na(n),i=na(a);e||(De(a,i)&&mt(o,"get",a),mt(o,"get",i));const{has:l}=Ot(o),c=t?kt:e?la:ia;return l.call(o,a)?c(n.get(a)):l.call(o,i)?c(n.get(i)):void(n!==o&&n.get(a))},get size(){const t=this.__v_raw;return!e&&mt(na(t),"iterate",vt),t.size},has(t){const a=this.__v_raw,n=na(a),o=na(t);return e||(De(t,o)&&mt(n,"has",t),mt(n,"has",o)),t===o?a.has(t):a.has(t)||a.has(o)},forEach(a,n){const o=this,i=o.__v_raw,l=na(i),c=t?kt:e?la:ia;return!e&&mt(l,"iterate",vt),i.forEach((e,t)=>a.call(n,c(e),c(t),o))}};Te(a,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(e){t||ta(e)||ea(e)||(e=na(e));const a=na(this);return Ot(a).has.call(a,e)||(a.add(e),It(a,"add",e,e)),this},set(e,a){t||ta(a)||ea(a)||(a=na(a));const n=na(this),{has:o,get:i}=Ot(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&zt(n,o,e):(e=na(e),l=o.call(n,e));const c=i.call(n,e);return n.set(e,a),l?De(a,c)&&It(n,"set",e,a,c):It(n,"add",e,a),this},delete(e){const t=na(this),{has:a,get:n}=Ot(t);let o=a.call(t,e);o?"production"!==process.env.NODE_ENV&&zt(t,a,e):(e=na(e),o=a.call(t,e));const i=n?n.call(t,e):void 0,l=t.delete(e);return o&&It(t,"delete",e,void 0,i),l},clear(){const e=na(this),t=0!==e.size,a="production"!==process.env.NODE_ENV?be(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&It(e,"clear",void 0,void 0,a),n}});return["keys","values","entries",Symbol.iterator].forEach(n=>{a[n]=function(e,t,a){return function(...n){const o=this.__v_raw,i=na(o),l=be(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=o[e](...n),r=a?kt:t?la:ia;return!t&&mt(i,"iterate",s?gt:vt),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),a}function Wt(e,t){const a=Mt(e,t);return(t,n,o)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(Fe(a,n)&&n in t?a:t,n,o)}const Gt={get:Wt(!1,!1)},Vt={get:Wt(!0,!1)},qt={get:Wt(!0,!0)};function zt(e,t,a){const n=na(a);if(n!==a&&t.call(e,n)){const t=Le(e);Ve(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const $t=new WeakMap,Qt=new WeakMap,Yt=new WeakMap,Ht=new WeakMap;function jt(e){return ea(e)?e:Jt(e,!1,Dt,Gt,$t)}function Kt(e){return Jt(e,!0,wt,Vt,Yt)}function Zt(e){return Jt(e,!0,xt,qt,Ht)}function Jt(e,t,a,n,o){if(!Ne(e))return"production"!==process.env.NODE_ENV&&Ve(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Le(l));var l;if(0===i)return e;const c=o.get(e);if(c)return c;const s=new Proxy(e,2===i?n:a);return o.set(e,s),s}function Xt(e){return ea(e)?Xt(e.__v_raw):!(!e||!e.__v_isReactive)}function ea(e){return!(!e||!e.__v_isReadonly)}function ta(e){return!(!e||!e.__v_isShallow)}function aa(e){return!!e&&!!e.__v_raw}function na(e){const t=e&&e.__v_raw;return t?na(t):e}function oa(e){return!Fe(e,"__v_skip")&&Object.isExtensible(e)&&((e,t,a,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:a})})(e,"__v_skip",!0),e}const ia=e=>Ne(e)?jt(e):e,la=e=>Ne(e)?Kt(e):e;function ca(e){return!!e&&!0===e.__v_isRef}const sa={get:(e,t,a)=>{return"__v_raw"===t?e:ca(n=Reflect.get(e,t,a))?n.value:n;var n},set:(e,t,a,n)=>{const o=e[t];return ca(o)&&!ca(a)?(o.value=a,!0):Reflect.set(e,t,a,n)}};const ua={},ra=new WeakMap;let da;function fa(e,t,a=me){const{immediate:n,deep:o,once:i,scheduler:l,augmentJob:c,call:s}=a,u=e=>{(a.onWarn||Ve)("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},r=e=>o?e:ta(e)||!1===o||0===o?va(e,1):va(e);let d,f,v,g,p=!1,m=!1;if(ca(e)?(f=()=>e.value,p=ta(e)):Xt(e)?(f=()=>r(e),p=!0):Se(e)?(m=!0,p=e.some(e=>Xt(e)||ta(e)),f=()=>e.map(e=>ca(e)?e.value:Xt(e)?r(e):ye(e)?s?s(e,2):e():void("production"!==process.env.NODE_ENV&&u(e)))):ye(e)?f=t?s?()=>s(e,2):e:()=>{if(v){it();try{v()}finally{lt()}}const t=da;da=d;try{return s?s(e,3,[g]):e(g)}finally{da=t}}:(f=Ie,"production"!==process.env.NODE_ENV&&u(e)),t&&o){const e=f,t=!0===o?1/0:o;f=()=>va(e(),t)}const I=()=>{d.stop()};if(i&&t){const e=t;t=(...t)=>{e(...t),I()}}let h=m?new Array(e.length).fill(ua):ua;const T=e=>{if(1&d.flags&&(d.dirty||e))if(t){const e=d.run();if(o||p||(m?e.some((e,t)=>De(e,h[t])):De(e,h))){v&&v();const a=da;da=d;try{const a=[e,h===ua?void 0:m&&h[0]===ua?[]:h,g];h=e,s?s(t,3,a):t(...a)}finally{da=a}}}else d.run()};return c&&c(T),d=new $e(f),d.scheduler=l?()=>l(T,!1):T,g=e=>function(e,t=!1,a=da){if(a){let t=ra.get(a);t||ra.set(a,t=[]),t.push(e)}else"production"===process.env.NODE_ENV||t||Ve("onWatcherCleanup() was called when there was no active watcher to associate with.")}(e,!1,d),v=d.onStop=()=>{const e=ra.get(d);if(e){if(s)s(e,4);else for(const t of e)t();ra.delete(d)}},"production"!==process.env.NODE_ENV&&(d.onTrack=a.onTrack,d.onTrigger=a.onTrigger),t?n?T(!0):h=d.run():l?l(T.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function va(e,t=1/0,a){if(t<=0||!Ne(e)||e.__v_skip)return e;if(((a=a||new Map).get(e)||0)>=t)return e;if(a.set(e,t),t--,ca(e))va(e.value,t,a);else if(Se(e))for(let n=0;n<e.length;n++)va(e[n],t,a);else if("[object Set]"===Ae(e)||be(e))e.forEach(e=>{va(e,t,a)});else if((e=>"[object Object]"===Ae(e))(e)){for(const n in e)va(e[n],t,a);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&va(e[n],t,a)}return e}
|
|
12
|
+
**/function Ve(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let qe;const ze=new WeakSet;class $e{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ze.has(this)&&(ze.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||function(e,t=!1){if(e.flags|=8,t)return e.next=Ye,void(Ye=e);e.next=Qe,Qe=e}(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,ct(this),Ze(this);const e=qe,t=nt;qe=this,nt=!0;try{return this.fn()}finally{"production"!==process.env.NODE_ENV&&qe!==this&&Ve("Active effect was not restored correctly - this is likely a Vue internal bug."),Je(this),qe=e,nt=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)tt(e);this.deps=this.depsTail=void 0,ct(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xe(this)&&this.run()}get dirty(){return Xe(this)}}let Qe,Ye,He=0;function je(){He++}function Ke(){if(--He>0)return;if(Ye){let e=Ye;for(Ye=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Qe;){let t=Qe;for(Qe=void 0;t;){const a=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=a}}if(e)throw e}function Ze(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Je(e){let t,a=e.depsTail,n=a;for(;n;){const e=n.prevDep;-1===n.version?(n===a&&(a=e),tt(n),at(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=e}e.deps=t,e.depsTail=a}function Xe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(et(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function et(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===st)return;if(e.globalVersion=st,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Xe(e)))return;e.flags|=2;const t=e.dep,a=qe,n=nt;qe=e,nt=!0;try{Ze(e);const a=e.fn(e._value);(0===t.version||De(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(e){throw t.version++,e}finally{qe=a,nt=n,Je(e),e.flags&=-3}}function tt(e,t=!1){const{dep:a,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),"production"!==process.env.NODE_ENV&&a.subsHead===e&&(a.subsHead=o),a.subs===e&&(a.subs=n,!n&&a.computed)){a.computed.flags&=-5;for(let e=a.computed.deps;e;e=e.nextDep)tt(e,!0)}t||--a.sc||!a.map||a.map.delete(a.key)}function at(e){const{prevDep:t,nextDep:a}=e;t&&(t.nextDep=a,e.prevDep=void 0),a&&(a.prevDep=t,e.nextDep=void 0)}let nt=!0;const ot=[];function it(){ot.push(nt),nt=!1}function lt(){const e=ot.pop();nt=void 0===e||e}function ct(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=qe;qe=void 0;try{t()}finally{qe=e}}}let st=0;class rt{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ut{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){if(!qe||!nt||qe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==qe)t=this.activeLink=new rt(qe,this),qe.deps?(t.prevDep=qe.depsTail,qe.depsTail.nextDep=t,qe.depsTail=t):qe.deps=qe.depsTail=t,dt(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=qe.depsTail,t.nextDep=void 0,qe.depsTail.nextDep=t,qe.depsTail=t,qe.deps===t&&(qe.deps=e)}return"production"!==process.env.NODE_ENV&&qe.onTrack&&qe.onTrack(Te({effect:qe},e)),t}trigger(e){this.version++,st++,this.notify(e)}notify(e){je();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(Te({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ke()}}}function dt(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)dt(e)}const a=e.dep.subs;a!==e&&(e.prevSub=a,a&&(a.nextSub=e)),"production"!==process.env.NODE_ENV&&void 0===e.dep.subsHead&&(e.dep.subsHead=e),e.dep.subs=e}}const ft=new WeakMap,vt=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),gt=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),pt=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function mt(e,t,a){if(nt&&qe){let n=ft.get(e);n||ft.set(e,n=new Map);let o=n.get(a);o||(n.set(a,o=new ut),o.map=n,o.key=a),"production"!==process.env.NODE_ENV?o.track({target:e,type:t,key:a}):o.track()}}function It(e,t,a,n,o,i){const l=ft.get(e);if(!l)return void st++;const c=l=>{l&&("production"!==process.env.NODE_ENV?l.trigger({target:e,type:t,key:a,newValue:n,oldValue:o,oldTarget:i}):l.trigger())};if(je(),"clear"===t)l.forEach(c);else{const o=Se(e),i=o&&Ce(a);if(o&&"length"===a){const e=Number(n);l.forEach((t,a)=>{("length"===a||a===pt||!Ne(a)&&a>=e)&&c(t)})}else switch((void 0!==a||l.has(void 0))&&c(l.get(a)),i&&c(l.get(pt)),t){case"add":o?i&&c(l.get("length")):(c(l.get(vt)),be(e)&&c(l.get(gt)));break;case"delete":o||(c(l.get(vt)),be(e)&&c(l.get(gt)));break;case"set":be(e)&&c(l.get(vt))}}Ke()}function ht(e){const t=na(e);return t===e?t:(mt(t,"iterate",pt),ta(e)?t:t.map(ia))}function Tt(e){return mt(e=na(e),"iterate",pt),e}const _t={__proto__:null,[Symbol.iterator](){return Ft(this,Symbol.iterator,ia)},concat(...e){return ht(this).concat(...e.map(e=>Se(e)?ht(e):e))},entries(){return Ft(this,"entries",e=>(e[1]=ia(e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,e=>e.map(ia),arguments)},find(e,t){return bt(this,"find",e,t,ia,arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,ia,arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Et(this,"includes",e)},indexOf(...e){return Et(this,"indexOf",e)},join(e){return ht(this).join(e)},lastIndexOf(...e){return Et(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return yt(this,"reduce",e,t)},reduceRight(e,...t){return yt(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return ht(this).toReversed()},toSorted(e){return ht(this).toSorted(e)},toSpliced(...e){return ht(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return Ft(this,"values",ia)}};function Ft(e,t,a){const n=Tt(e),o=n[t]();return n===e||ta(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=a(e.value)),e}),o}const St=Array.prototype;function bt(e,t,a,n,o,i){const l=Tt(e),c=l!==e&&!ta(e),s=l[t];if(s!==St[t]){const t=s.apply(e,i);return c?ia(t):t}let r=a;l!==e&&(c?r=function(t,n){return a.call(this,ia(t),n,e)}:a.length>2&&(r=function(t,n){return a.call(this,t,n,e)}));const u=s.call(l,r,n);return c&&o?o(u):u}function yt(e,t,a,n){const o=Tt(e);let i=a;return o!==e&&(ta(e)?a.length>3&&(i=function(t,n,o){return a.call(this,t,n,o,e)}):i=function(t,n,o){return a.call(this,t,ia(n),o,e)}),o[t](i,...n)}function Et(e,t,a){const n=na(e);mt(n,"iterate",pt);const o=n[t](...a);return-1!==o&&!1!==o||!aa(a[0])?o:(a[0]=na(a[0]),n[t](...a))}function Nt(e,t,a=[]){it(),je();const n=na(e)[t].apply(e,a);return Ke(),lt(),n}const Pt=pe("__proto__,__v_isRef,__isVue"),Rt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(Ne));function At(e){Ne(e)||(e=String(e));const t=na(this);return mt(t,"has",e),t.hasOwnProperty(e)}class Lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return o;if("__v_raw"===t)return a===(n?o?Ht:Yt:o?Qt:$t).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const i=Se(e);if(!n){let e;if(i&&(e=_t[t]))return e;if("hasOwnProperty"===t)return At}const l=Reflect.get(e,t,ca(e)?e:a);if(Ne(t)?Rt.has(t):Pt(t))return l;if(n||mt(e,"get",t),o)return l;if(ca(l)){const e=i&&Ce(t)?l:l.value;return n&&Pe(e)?Kt(e):e}return Pe(l)?n?Kt(l):jt(l):l}}class Ct extends Lt{constructor(e=!1){super(!1,e)}set(e,t,a,n){let o=e[t];if(!this._isShallow){const n=ea(o);if(ta(a)||ea(a)||(o=na(o),a=na(a)),!Se(e)&&ca(o)&&!ca(a))return n?("production"!==process.env.NODE_ENV&&Ve(`Set operation on key "${String(t)}" failed: target is readonly.`,e[t]),!0):(o.value=a,!0)}const i=Se(e)&&Ce(t)?Number(t)<e.length:Fe(e,t),l=Reflect.set(e,t,a,ca(e)?e:n);return e===na(n)&&(i?De(a,o)&&It(e,"set",t,a,o):It(e,"add",t,a)),l}deleteProperty(e,t){const a=Fe(e,t),n=e[t],o=Reflect.deleteProperty(e,t);return o&&a&&It(e,"delete",t,void 0,n),o}has(e,t){const a=Reflect.has(e,t);return Ne(t)&&Rt.has(t)||mt(e,"has",t),a}ownKeys(e){return mt(e,"iterate",Se(e)?"length":vt),Reflect.ownKeys(e)}}class Ut extends Lt{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&Ve(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&Ve(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Dt=new Ct,wt=new Ut,xt=new Ut(!0),kt=e=>e,Ot=e=>Reflect.getPrototypeOf(e);function Bt(e){return function(...t){if("production"!==process.env.NODE_ENV){const a=t[0]?`on key "${t[0]}" `:"";Ve(`${Ue(e)} operation ${a}failed: target is readonly.`,na(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function Mt(e,t){const a={get(a){const n=this.__v_raw,o=na(n),i=na(a);e||(De(a,i)&&mt(o,"get",a),mt(o,"get",i));const{has:l}=Ot(o),c=t?kt:e?la:ia;return l.call(o,a)?c(n.get(a)):l.call(o,i)?c(n.get(i)):void(n!==o&&n.get(a))},get size(){const t=this.__v_raw;return!e&&mt(na(t),"iterate",vt),t.size},has(t){const a=this.__v_raw,n=na(a),o=na(t);return e||(De(t,o)&&mt(n,"has",t),mt(n,"has",o)),t===o?a.has(t):a.has(t)||a.has(o)},forEach(a,n){const o=this,i=o.__v_raw,l=na(i),c=t?kt:e?la:ia;return!e&&mt(l,"iterate",vt),i.forEach((e,t)=>a.call(n,c(e),c(t),o))}};Te(a,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(e){t||ta(e)||ea(e)||(e=na(e));const a=na(this);return Ot(a).has.call(a,e)||(a.add(e),It(a,"add",e,e)),this},set(e,a){t||ta(a)||ea(a)||(a=na(a));const n=na(this),{has:o,get:i}=Ot(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&zt(n,o,e):(e=na(e),l=o.call(n,e));const c=i.call(n,e);return n.set(e,a),l?De(a,c)&&It(n,"set",e,a,c):It(n,"add",e,a),this},delete(e){const t=na(this),{has:a,get:n}=Ot(t);let o=a.call(t,e);o?"production"!==process.env.NODE_ENV&&zt(t,a,e):(e=na(e),o=a.call(t,e));const i=n?n.call(t,e):void 0,l=t.delete(e);return o&&It(t,"delete",e,void 0,i),l},clear(){const e=na(this),t=0!==e.size,a="production"!==process.env.NODE_ENV?be(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&It(e,"clear",void 0,void 0,a),n}});return["keys","values","entries",Symbol.iterator].forEach(n=>{a[n]=function(e,t,a){return function(...n){const o=this.__v_raw,i=na(o),l=be(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,r=o[e](...n),u=a?kt:t?la:ia;return!t&&mt(i,"iterate",s?gt:vt),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),a}function Wt(e,t){const a=Mt(e,t);return(t,n,o)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(Fe(a,n)&&n in t?a:t,n,o)}const Gt={get:Wt(!1,!1)},Vt={get:Wt(!0,!1)},qt={get:Wt(!0,!0)};function zt(e,t,a){const n=na(a);if(n!==a&&t.call(e,n)){const t=Le(e);Ve(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const $t=new WeakMap,Qt=new WeakMap,Yt=new WeakMap,Ht=new WeakMap;function jt(e){return ea(e)?e:Jt(e,!1,Dt,Gt,$t)}function Kt(e){return Jt(e,!0,wt,Vt,Yt)}function Zt(e){return Jt(e,!0,xt,qt,Ht)}function Jt(e,t,a,n,o){if(!Pe(e))return"production"!==process.env.NODE_ENV&&Ve(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Le(l));var l;if(0===i)return e;const c=o.get(e);if(c)return c;const s=new Proxy(e,2===i?n:a);return o.set(e,s),s}function Xt(e){return ea(e)?Xt(e.__v_raw):!(!e||!e.__v_isReactive)}function ea(e){return!(!e||!e.__v_isReadonly)}function ta(e){return!(!e||!e.__v_isShallow)}function aa(e){return!!e&&!!e.__v_raw}function na(e){const t=e&&e.__v_raw;return t?na(t):e}function oa(e){return!Fe(e,"__v_skip")&&Object.isExtensible(e)&&((e,t,a,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:a})})(e,"__v_skip",!0),e}const ia=e=>Pe(e)?jt(e):e,la=e=>Pe(e)?Kt(e):e;function ca(e){return!!e&&!0===e.__v_isRef}const sa={get:(e,t,a)=>{return"__v_raw"===t?e:ca(n=Reflect.get(e,t,a))?n.value:n;var n},set:(e,t,a,n)=>{const o=e[t];return ca(o)&&!ca(a)?(o.value=a,!0):Reflect.set(e,t,a,n)}};const ra={},ua=new WeakMap;let da;function fa(e,t,a=me){const{immediate:n,deep:o,once:i,scheduler:l,augmentJob:c,call:s}=a,r=e=>{(a.onWarn||Ve)("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=e=>o?e:ta(e)||!1===o||0===o?va(e,1):va(e);let d,f,v,g,p=!1,m=!1;if(ca(e)?(f=()=>e.value,p=ta(e)):Xt(e)?(f=()=>u(e),p=!0):Se(e)?(m=!0,p=e.some(e=>Xt(e)||ta(e)),f=()=>e.map(e=>ca(e)?e.value:Xt(e)?u(e):ye(e)?s?s(e,2):e():void("production"!==process.env.NODE_ENV&&r(e)))):ye(e)?f=t?s?()=>s(e,2):e:()=>{if(v){it();try{v()}finally{lt()}}const t=da;da=d;try{return s?s(e,3,[g]):e(g)}finally{da=t}}:(f=Ie,"production"!==process.env.NODE_ENV&&r(e)),t&&o){const e=f,t=!0===o?1/0:o;f=()=>va(e(),t)}const I=()=>{d.stop()};if(i&&t){const e=t;t=(...t)=>{e(...t),I()}}let h=m?new Array(e.length).fill(ra):ra;const T=e=>{if(1&d.flags&&(d.dirty||e))if(t){const e=d.run();if(o||p||(m?e.some((e,t)=>De(e,h[t])):De(e,h))){v&&v();const a=da;da=d;try{const a=[e,h===ra?void 0:m&&h[0]===ra?[]:h,g];h=e,s?s(t,3,a):t(...a)}finally{da=a}}}else d.run()};return c&&c(T),d=new $e(f),d.scheduler=l?()=>l(T,!1):T,g=e=>function(e,t=!1,a=da){if(a){let t=ua.get(a);t||ua.set(a,t=[]),t.push(e)}else"production"===process.env.NODE_ENV||t||Ve("onWatcherCleanup() was called when there was no active watcher to associate with.")}(e,!1,d),v=d.onStop=()=>{const e=ua.get(d);if(e){if(s)s(e,4);else for(const t of e)t();ua.delete(d)}},"production"!==process.env.NODE_ENV&&(d.onTrack=a.onTrack,d.onTrigger=a.onTrigger),t?n?T(!0):h=d.run():l?l(T.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function va(e,t=1/0,a){if(t<=0||!Pe(e)||e.__v_skip)return e;if(((a=a||new Map).get(e)||0)>=t)return e;if(a.set(e,t),t--,ca(e))va(e.value,t,a);else if(Se(e))for(let n=0;n<e.length;n++)va(e[n],t,a);else if("[object Set]"===Ae(e)||be(e))e.forEach(e=>{va(e,t,a)});else if((e=>"[object Object]"===Ae(e))(e)){for(const n in e)va(e[n],t,a);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&va(e[n],t,a)}return e}
|
|
13
13
|
/**
|
|
14
14
|
* @vue/runtime-core v3.5.22
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/const ga=[];let pa=!1;function ma(e,...t){if(pa)return;pa=!0,it();const a=ga.length?ga[ga.length-1].component:null,n=a&&a.appContext.config.warnHandler,o=function(){let e=ga[ga.length-1];if(!e)return[];const t=[];for(;e;){const a=t[0];a&&a.vnode===e?a.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)_a(n,a,11,[e+t.map(e=>{var t,a;return null!=(a=null==(t=e.toString)?void 0:t.call(e))?a:JSON.stringify(e)}).join(""),a&&a.proxy,o.map(({vnode:e})=>`at <${Cn(a,e.type)}>`).join("\n"),o]);else{const a=[`[Vue warn]: ${e}`,...t];o.length&&a.push("\n",...function(e){const t=[];return e.forEach((e,a)=>{t.push(...0===a?[]:["\n"],...function({vnode:e,recurseCount:t}){const a=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,o=` at <${Cn(e.component,e.type,n)}`,i=">"+a;return e.props?[o,...Ia(e.props),i]:[o+i]}(e))}),t}(o)),console.warn(...a)}lt(),pa=!1}function Ia(e){const t=[],a=Object.keys(e);return a.slice(0,3).forEach(a=>{t.push(...ha(a,e[a]))}),a.length>3&&t.push(" ..."),t}function ha(e,t,a){return Ee(t)?(t=JSON.stringify(t),a?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?a?t:[`${e}=${t}`]:ca(t)?(t=ha(e,na(t.value),!0),a?t:[`${e}=Ref<`,t,">"]):ye(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=na(t),a?t:[`${e}=`,t])}const Ta={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function _a(e,t,a,n){try{return n?e(...n):e()}catch(e){Sa(e,t,a)}}function Fa(e,t,a,n){if(ye(e)){const i=_a(e,t,a,n);return i&&((Ne(o=i)||ye(o))&&ye(o.then)&&ye(o.catch))&&i.catch(e=>{Sa(e,t,a)}),i}var o;if(Se(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Fa(e[i],t,a,n));return o}"production"!==process.env.NODE_ENV&&ma("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function Sa(e,t,a,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||me;if(t){let n=t.parent;const o=t.proxy,l="production"!==process.env.NODE_ENV?Ta[a]:`https://vuejs.org/error-reference/#runtime-${a}`;for(;n;){const t=n.ec;if(t)for(let a=0;a<t.length;a++)if(!1===t[a](e,o,l))return;n=n.parent}if(i)return it(),_a(i,null,10,[e,o,l]),void lt()}!function(e,t,a,n=!0,o=!1){if("production"!==process.env.NODE_ENV){const o=Ta[t];if(a&&(i=a,ga.push(i)),ma("Unhandled error"+(o?` during execution of ${o}`:"")),a&&ga.pop(),n)throw e;console.error(e)}else{if(o)throw e;console.error(e)}var i}(e,a,o,n,l)}const ba=[];let ya=-1;const Ea=[];let Pa=null,Na=0;const Ra=Promise.resolve();let Aa=null;function La(e){const t=Aa||Ra;return e?t.then(this?e.bind(this):e):t}function Ca(e){if(!(1&e.flags)){const t=wa(e),a=ba[ba.length-1];!a||!(2&e.flags)&&t>=wa(a)?ba.push(e):ba.splice(function(e){let t=ya+1,a=ba.length;for(;t<a;){const n=t+a>>>1,o=ba[n],i=wa(o);i<e||i===e&&2&o.flags?t=n+1:a=n}return t}(t),0,e),e.flags|=1,Ua()}}function Ua(){Aa||(Aa=Ra.then(xa))}function Da(e){Se(e)?Ea.push(...e):Pa&&-1===e.id?Pa.splice(Na+1,0,e):1&e.flags||(Ea.push(e),e.flags|=1),Ua()}const wa=e=>null==e.id?2&e.flags?-1:1/0:e.id;function xa(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>ka(e,t):Ie;try{for(ya=0;ya<ba.length;ya++){const e=ba[ya];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),_a(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;ya<ba.length;ya++){const e=ba[ya];e&&(e.flags&=-2)}ya=-1,ba.length=0,function(e){if(Ea.length){const t=[...new Set(Ea)].sort((e,t)=>wa(e)-wa(t));if(Ea.length=0,Pa)return void Pa.push(...t);for(Pa=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Na=0;Na<Pa.length;Na++){const t=Pa[Na];"production"!==process.env.NODE_ENV&&ka(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}Pa=null,Na=0}}(e),Aa=null,(ba.length||Ea.length)&&xa(e)}}function ka(e,t){const a=e.get(t)||0;if(a>100){const e=t.i,a=e&&Ln(e.type);return Sa(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,a+1),!1}const Oa=new Map;"production"!==process.env.NODE_ENV&&(xe().__VUE_HMR_RUNTIME__={createRecord:Ga(function(e,t){if(Ba.has(e))return!1;return Ba.set(e,{initialDef:Ma(t),instances:new Set}),!0}),rerender:Ga(function(e,t){const a=Ba.get(e);if(!a)return;a.initialDef.render=t,[...a.instances].forEach(e=>{t&&(e.render=t,Ma(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()})}),reload:Ga(function(e,t){const a=Ba.get(e);if(!a)return;t=Ma(t),Wa(a.initialDef,t);const n=[...a.instances];for(let e=0;e<n.length;e++){const o=n[e],i=Ma(o.type);let l=Oa.get(i);l||(i!==a.initialDef&&Wa(i,t),Oa.set(i,l=new Set)),l.add(o),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(l.add(o),o.ceReload(t.styles),l.delete(o)):o.parent?Ca(()=>{8&o.job.flags||(o.parent.update(),l.delete(o))}):o.appContext.reload?o.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),o.root.ce&&o!==o.root&&o.root.ce._removeChildStyle(i)}Da(()=>{Oa.clear()})})});const Ba=new Map;function Ma(e){return Un(e)?e.__vccOpts:e}function Wa(e,t){Te(e,t);for(const a in e)"__file"===a||a in t||delete e[a]}function Ga(e){return(t,a)=>{try{return e(t,a)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Va=null;function qa(e,t){6&e.shapeFlag&&e.component?(e.transition=t,qa(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function za(e,t){return ye(e)?(()=>Te({name:e.name},t,{setup:e}))():e}xe().requestIdleCallback,xe().cancelIdleCallback;const $a=Symbol.for("v-ndc"),Qa=e=>e?4&e.vnode.shapeFlag?function(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xt(t=oa(e.exposed))?t:new Proxy(t,sa),{get:(t,a)=>a in t?t[a]:a in Ya?Ya[a](e):void 0,has:(e,t)=>t in e||t in Ya})):e.proxy;var t}(e):Qa(e.parent):null,Ya=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Zt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Zt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Zt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Zt(e.refs):e.refs,$parent:e=>Qa(e.parent),$root:e=>Qa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:a,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:o.length||a||n?(s={},o.length&&o.forEach(e=>Ja(s,e,l,!0)),Ja(s,t,l)):s=t;Ne(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Ca(e.update)}),$nextTick:e=>e.n||(e.n=La.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):Ie}),Ha=(e,t)=>e!==me&&!e.__isScriptSetup&&Fe(e,t),ja={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:a,setupState:n,data:o,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return n[t];case 2:return o[t];case 4:return a[t];case 3:return i[t]}else{if(Ha(n,t))return l[t]=1,n[t];if(o!==me&&Fe(o,t))return l[t]=2,o[t];if((u=e.propsOptions[0])&&Fe(u,t))return l[t]=3,i[t];if(a!==me&&Fe(a,t))return l[t]=4,a[t];__VUE_OPTIONS_API__&&!Za||(l[t]=0)}}const r=Ya[t];let d,f;return r?("$attrs"===t?(mt(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&mt(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:a!==me&&Fe(a,t)?(l[t]=4,a[t]):(f=s.config.globalProperties,Fe(f,t)?f[t]:void process.env.NODE_ENV)},set({_:e},t,a){const{data:n,setupState:o,ctx:i}=e;return Ha(o,t)?(o[t]=a,!0):"production"!==process.env.NODE_ENV&&o.__isScriptSetup&&Fe(o,t)?(ma(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==me&&Fe(n,t)?(n[t]=a,!0):Fe(e.props,t)?("production"!==process.env.NODE_ENV&&ma(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&ma(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:a}):i[t]=a,!0)},has({_:{data:e,setupState:t,accessCache:a,ctx:n,appContext:o,propsOptions:i,type:l}},c){let s,u;return!!(a[c]||e!==me&&"$"!==c[0]&&Fe(e,c)||Ha(t,c)||(s=i[0])&&Fe(s,c)||Fe(n,c)||Fe(Ya,c)||Fe(o.config.globalProperties,c)||(u=l.__cssModules)&&u[c])},defineProperty(e,t,a){return null!=a.get?e._.accessCache[t]=0:Fe(a,"value")&&this.set(e,t,a.value,null),Reflect.defineProperty(e,t,a)}};function Ka(e){return Se(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}"production"!==process.env.NODE_ENV&&(ja.ownKeys=e=>(ma("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Za=!0;function Ja(e,t,a,n=!1){const{mixins:o,extends:i}=t;i&&Ja(e,i,a,!0),o&&o.forEach(t=>Ja(e,t,a,!0));for(const o in t)if(n&&"expose"===o)"production"!==process.env.NODE_ENV&&ma('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const n=Xa[o]||a&&a[o];e[o]=n?n(e[o],t[o]):t[o]}return e}const Xa={data:en,props:on,emits:on,methods:nn,computed:nn,beforeCreate:an,created:an,beforeMount:an,mounted:an,beforeUpdate:an,updated:an,beforeDestroy:an,beforeUnmount:an,destroyed:an,unmounted:an,activated:an,deactivated:an,errorCaptured:an,serverPrefetch:an,components:nn,directives:nn,watch:function(e,t){if(!e)return t;if(!t)return e;const a=Te(Object.create(null),e);for(const n in t)a[n]=an(e[n],t[n]);return a},provide:en,inject:function(e,t){return nn(tn(e),tn(t))}};function en(e,t){return t?e?function(){return Te(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function tn(e){if(Se(e)){const t={};for(let a=0;a<e.length;a++)t[e[a]]=e[a];return t}return e}function an(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?Te(Object.create(null),e,t):t}function on(e,t){return e?Se(e)&&Se(t)?[...new Set([...e,...t])]:Te(Object.create(null),Ka(e),Ka(null!=t?t:{})):t}const ln={},cn=e=>Object.getPrototypeOf(e)===ln,sn=function(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):Da(e)},un=Symbol.for("v-scx"),rn=()=>{{const e=function(e,t,a=!1){const n=yn();if(n){let o=n?null==n.parent||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return a&&ye(t)?t.call(n&&n.proxy):t;"production"!==process.env.NODE_ENV&&ma(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&ma("inject() can only be used inside setup() or functional components.")}(un);return e||"production"!==process.env.NODE_ENV&&ma("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function dn(e,t,a){const n=this.proxy,o=Ee(e)?e.includes(".")?function(e,t){const a=t.split(".");return()=>{let t=e;for(let e=0;e<a.length&&t;e++)t=t[a[e]];return t}}(n,e):()=>n[e]:e.bind(n,n);let i;ye(t)?i=t:(i=t.handler,a=t);const l=Pn(this),c=function(e,t,a=me){const{immediate:n,deep:o,flush:i,once:l}=a;"production"===process.env.NODE_ENV||t||(void 0!==n&&ma('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&ma('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==l&&ma('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const c=Te({},a);"production"!==process.env.NODE_ENV&&(c.onWarn=ma);const s=t&&n||!t&&"post"!==i;let u;if(Nn)if("sync"===i){const e=rn();u=e.__watcherHandles||(e.__watcherHandles=[])}else if(!s){const e=()=>{};return e.stop=Ie,e.resume=Ie,e.pause=Ie,e}const r=bn;c.call=(e,t,a)=>Fa(e,r,t,a);let d=!1;"post"===i?c.scheduler=e=>{sn(e,r&&r.suspense)}:"sync"!==i&&(d=!0,c.scheduler=(e,t)=>{t?e():Ca(e)}),c.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,r&&(e.id=r.uid,e.i=r))};const f=fa(e,t,c);return Nn&&(u?u.push(f):s&&f()),f}(o,i.bind(n),a);return l(),c}const fn=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),gn=Symbol.for("v-cmt");const pn=({key:e})=>null!=e?e:null,mn=({ref:e,ref_key:t,ref_for:a})=>("number"==typeof e&&(e=""+e),null!=e?Ee(e)||ca(e)||ye(e)?{i:Va,r:e,k:t,f:!!a}:e:null);const In="production"!==process.env.NODE_ENV?(...e)=>hn(...e):hn;function hn(e,t=null,a=null,n=0,o=null,i=!1){if(e&&e!==$a||("production"===process.env.NODE_ENV||e||ma(`Invalid vnode type when creating vnode: ${e}.`),e=gn),(l=e)&&!0===l.__v_isVNode){const n=Tn(e,t,!0);return a&&Sn(n,a),n.patchFlag=-2,n}var l;if(Un(e)&&(e=e.__vccOpts),t){t=function(e){return e?aa(e)||cn(e)?Te({},e):e:null}(t);let{class:e,style:a}=t;e&&!Ee(e)&&(t.class=Ge(e)),Ne(a)&&(aa(a)&&!Se(a)&&(a=Te({},a)),t.style=ke(a))}const c=Ee(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Ne(e)?4:ye(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&aa(e)&&ma("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=na(e)),function(e,t=null,a=null,n=0,o=null,i=(e===fn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pn(t),ref:t&&mn(t),scopeId:null,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Va};return c?(Sn(s,a),128&i&&e.normalize(s)):a&&(s.shapeFlag|=Ee(a)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&ma("VNode created with invalid key (NaN). VNode type:",s.type),s}(e,t,a,n,o,c,i,!0)}function Tn(e,t,a=!1,n=!1){const{props:o,ref:i,patchFlag:l,children:c,transition:s}=e,u=t?function(...e){const t={};for(let a=0;a<e.length;a++){const n=e[a];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=Ge([t.class,n.class]));else if("style"===e)t.style=ke([t.style,n.style]);else if(he(e)){const a=t[e],o=n[e];!o||a===o||Se(a)&&a.includes(o)||(t[e]=a?[].concat(a,o):o)}else""!==e&&(t[e]=n[e])}return t}(o||{},t):o,r={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pn(u),ref:t&&t.ref?a&&i?Se(i)?i.concat(mn(t)):[i,mn(t)]:mn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&Se(c)?c.map(_n):c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==fn?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&qa(r,s.clone(r)),r}function _n(e){const t=Tn(e);return Se(e.children)&&(t.children=e.children.map(_n)),t}function Fn(e=" ",t=0){return In(vn,null,e,t)}function Sn(e,t){let a=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(Se(t))a=16;else if("object"==typeof t){if(65&n){const a=t.default;return void(a&&(a._c&&(a._d=!1),Sn(e,a()),a._c&&(a._d=!0)))}{a=32;const e=t._;e||cn(t)||(t._ctx=Va)}}else ye(t)?(t={default:t,_ctx:Va},a=32):(t=String(t),64&n?(a=16,t=[Fn(t)]):a=8);e.children=t,e.shapeFlag|=a}let bn=null;const yn=()=>bn||Va;let En;{const e=xe(),t=(t,a)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(a),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};En=t("__VUE_INSTANCE_SETTERS__",e=>bn=e),t("__VUE_SSR_SETTERS__",e=>Nn=e)}const Pn=e=>{const t=bn;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}};let Nn=!1;process.env.NODE_ENV;const Rn=/(?:^|[-_])\w/g,An=e=>e.replace(Rn,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ln(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function Cn(e,t,a=!1){let n=Ln(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const a=e=>{for(const a in e)if(e[a]===t)return a};n=a(e.components||e.parent.type.components)||a(e.appContext.components)}return n?An(n):a?"App":"Anonymous"}function Un(e){return ye(e)&&"__vccOpts"in e}function Dn(e){return{dispatchFunctionBySid:function(t,a,n){e.value&&L.callUIFunction(e.value,"dispatchFunctionBySid",[t,a,n])},requestFocus:function(t){e.value&&L.callUIFunction(e.value,"requestFocus",[t])},requestChildFocus:function(t,a){e.value&&L.callUIFunction(e.value,"requestChildFocus",[t,a])},clearFocus:function(){e.value&&L.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:function(t){e.value&&L.callUIFunction(e.value,"requestFocusDirectly",[t])},setVisibility:function(t){e.value&&L.callUIFunction(e.value,"changeVisibility",[t])},requestRootLayout:function(){e.value&&L.callUIFunction(e.value,"requestRootLayout",[])},requestLayout:function(){e.value&&L.callUIFunction(e.value,"requestLayout",[])},setDescendantFocusability:function(t){e.value&&L.callUIFunction(e.value,"setDescendantFocusability",[t])},changeDescendantFocusability:function(t){e.value&&L.callUIFunction(e.value,"changeDescendantFocusability",[t])},forceUpdateRenderNode:function(){e.value&&L.callUIFunction(e.value,"forceUpdateRenderNode",[])},setBackGroundColor:function(t){e.value&&L.callUIFunction(e.value,"setBackGroundColor",[t])},layoutViewManual:function(){e.value&&L.callUIFunction(e.value,"layoutViewManual",[])},blockRootFocus:function(){e.value&&L.callUIFunction(e.value,"blockRootFocus",[])},unBlockRootFocus:function(){e.value&&L.callUIFunction(e.value,"unBlockRootFocus",[])},changeAlpha:function(t){e.value&&L.callUIFunction(e.value,"changeAlpha",[t])},setScale:function(t,a,n){e.value&&L.callUIFunction(e.value,"setScale",[t,a,n])},setPosition:function(t,a,n){e.value&&L.callUIFunction(e.value,"setPosition",[t,a,n])},updateLayout:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"updateLayout",[t,a,n,o])},invalidate:function(){e.value&&L.callUIFunction(e.value,"invalidate",[])},dispatchFunctionForTarget:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"dispatchFunctionForTarget",[t,a,n,o])},setBlockFocusDirections:function(t){e.value&&L.callUIFunction(e.value,"setBlockFocusDirections",[t])},setBlockFocusDirectionsOnFail:function(t){e.value&&L.callUIFunction(e.value,"setBlockFocusDirectionsOnFail",[t])},setInitFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setInitFocus",[t,a])},setAutoFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setAutoFocus",[t,a])},enabledAutofocus:function(t){e.value&&L.callUIFunction(e.value,"setAutofocus",[t])},requestAutofocus:function(){e.value&&L.callUIFunction(e.value,"requestAutofocus",[])},hasFocus:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"hasFocus",[],e=>{t(e)})}):Promise.reject(!1)},isFocused:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"isFocused",[],e=>{t(e)})}):Promise.reject(!1)},getLocationOnScreen:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getLocationOnScreen",[],e=>{t(e)})}):Promise.reject()},getViewState:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getViewState",[],e=>{t(e)})}):Promise.reject()},getChildViewState:function(t){return e.value?new Promise((a,n)=>{L.callUIFunction(e.value,"getChildViewState",[t],e=>{a(e)})}):Promise.reject()},requestChildFocusAtIndex:function(t){e.value&&L.callUIFunction(e.value,"requestChildFocusAtIndex",[t])},clearMemoryFocused:function(){e.value&&L.callUIFunction(e.value,"clearMemoryFocused",[])},showDialog:function(t){e.value&&L.callUIFunction(e.value,"showDialog",[t])},deepInvalidate:function(t){e.value&&L.callUIFunction(e.value,"deepInvalidate",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var wn=za({name:"qt-view",emits:["clearFocus"],setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const xn={clipChildren:!1,ref:"viewRef"};wn.render=function(e,o,i,l,c,s){return t(),a("div",xn,[n(e.$slots,"default")],512)},wn.__file="src/view/index.vue";var kn=za({name:"qt-text",setup(t,a){const n=e();return{viewRef:n,setText:function(e){L.callUIFunction(n.value,"setText",[e])},setTextSize:function(e){L.callUIFunction(n.value,"setTextSize",[e])},setTextColor:function(e){L.callUIFunction(n.value,"setTextColor",[e])},textSpan:function(e){L.callUIFunction(n.value,"textSpan",[e])},...Dn(n)}}});kn.render=function(e,a,n,l,c,s){const u=o("text-view");return t(),i(u,{ref:"viewRef"},null,512)},kn.__file="src/text/index.vue";var On=za({name:"qt-image",setup(t,a){const n=e();return{viewRef:n,setSrc:function(e){L.callUIFunction(n.value,"setSrc",[e])},resizeMode:function(e){L.callUIFunction(n.value,"resizeMode",[e])},...Dn(n)}}});const Bn={src:"",alt:"",clipChildren:!1,ref:"viewRef"};On.render=function(e,n,o,i,l,c){return t(),a("img",Bn,null,512)},On.__file="src/image/index.vue";var Mn=za({name:"qt-column",setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const Wn={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};Mn.render=function(e,o,i,l,c,s){return t(),a("div",Wn,[n(e.$slots,"default")],512)},Mn.__scopeId="data-v-734c04b2",Mn.__file="src/column/index.vue";var Gn=za({name:"qt-row",setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const Vn={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};Gn.render=function(e,o,i,l,c,s){return t(),a("div",Vn,[n(e.$slots,"default")],512)},Gn.__scopeId="data-v-9c454b58",Gn.__file="src/row/index.vue";var qn=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,a){const n=e(),o=e(!1);return{buttonRef:n,focused:o,onFocus:function(e){o.value=e.isFocused,a.emit("focus",e.isFocused)},onClick:function(e){a.emit("click")},...Dn(n)}}});const zn=["focusable","enableFocusBorder","focusScale"],$n=["gradientBackground"],Qn=["gradientBackground"],Yn=["gradientBackground"],Hn=["src"],jn=["src"];qn.render=function(e,l,d,f,v,g){const p=o("text-view");return t(),a("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[u(" gradient "),e.gradientFocusBackground?(t(),a("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,$n)):u("v-if",!0),e.gradientSelectedBackground?(t(),a("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,Qn)):u("v-if",!0),e.gradientBackground?(t(),a("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,Yn)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),a("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),a("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,Hn)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),a("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,jn)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),i(p,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),a("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},r(e.text),7)):u("v-if",!0),n(e.$slots,"default")],46,zn)},qn.__scopeId="data-v-46a594e4",qn.__file="src/button/index.vue";let Kn,Zn=[];class Jn{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!Zn.includes(this))try{return Zn.push(Kn=this),this.fn()}finally{Zn.pop(),Kn=Zn[Zn.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const a of t)a.delete(e)}(this),this.active=!1)}}function Xn(){return void 0!==Kn}const eo=new WeakMap;function to(e){e&&eo.delete(e)}function ao(e,t){if(!Xn()||null==e)return;let a=eo.get(e);if(a||eo.set(e,a=new Map),null!=t){let e=a.get(t);e||a.set(t,e=new Set),no(e)}}function no(e){e.has(Kn)||(e.add(Kn),Kn.deeps.push(e))}function oo(e,t,a,n,o){let i=eo.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);io(c,e,t,a,n,o)}function io(e,t,a,n,o,i){for(const l of e)if(l!==Kn){if(l.scheduler)return l.scheduler(t,a,n,o,i);l.run(t,a,n,o,i)}}class lo{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;rootUpdateCount=0;deth=-1;constructor(e,t,a=-1){this.start=e,this.end=t,this.deleteCount=a}resetData(){this.start=-1,this.end=-1,this.deleteCount=-1,this.datas.size&&(this.datas=new Map)}}const co="set",so="__qt_set",uo="push",ro="splice",fo="pop",vo="concat",go="__qt_currentType",po="__qt_expectCangeNum",mo="shift",Io="unshift",ho="__qt_splice_change_prop",To=(e=1,t)=>{const a=new Map;return t.forEach((t,n)=>{let o=n;Array.isArray(n)&&e>0&&(o=n.slice(0,e).join()),a.set(o,t)}),a},_o=(e,t,a)=>{(e.names.size?e.names:e.datas).forEach((n,o)=>{let i,l;const c=e.datas.get(o),s={isArr:!1,arrDeeps:[],ouData:c,newData:null,oldData:null,k:o};if(Array.isArray(o)){for(let e=0;e<o.length;e++){const a=o[e];if(isNaN(Number(a))||s.arrDeeps.push(Number(a)),s.arrDeeps.length>3)break;i=i?i[a]:t[a],l=e>0?l?l[a]:c[a]:c}if(e.names.size&&1==e.names.get(o)?.size){const t=e.names.get(o)?.values().next().value;Ne(i)&&Ne(l)&&Se(i[t])&&Se(l[t])&&(i=i[t],l=l[t])}s.oldData=i,s.newData=l}else s.oldData=t[o],s.newData=n;s.isArr=Array.isArray(l),a(s)})};const Fo=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,a){let n=this.targetMaps.get(e);n||this.targetMaps.set(e,n=new Map),n.set(t,a),this.getFlag(e).set(go,t)}deleteType(e,t){if("object"!=typeof e)return;let a=this.targetMaps.get(e);this.targetFlags.delete(e),a&&(t?a.delete(t):this.targetMaps.delete(e))}clear(){this.targetFlags=new WeakMap,this.targetMaps=new WeakMap}changeTypeData(e,t,a){if(this.getFlag(e).get(go)===fo)return!1;const n=this.getType(e);let o=!1;n&&!isNaN(Number(t))&&n.forEach((e,n)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,a),o=!0)});let i=this.getFlag(e).get(po);return i&&i>0?(this.getFlag(e).set(po,--i),!0):o}changeOfsetType(e,t,a,n,o=1){let i=this.getTargetType(e,so);if(i){const e=(Array.isArray(t)?Number(t[0]):Number(t))||0;i.datas.has(t)||(e!==i.end&&i.rootUpdateCount++,i.updateCount+=1),i.datas.set(t,a),e>=i.end?i.end=e:e<i.start&&(i.start=e),o!=i.deth&&(i.deth=-1)}else{const n=(Array.isArray(t)?Number(t[0]):Number(t))||0;i=new lo(n,n),i.datas.set(t,a),i.updateCount=1,i.rootUpdateCount=1,i.deth=o,this.setType(e,so,i)}if(n){const e=i.names.get(t);e?e.add(n):i.names.set(t,new Set([n]))}}recordArrChangeProps(e,t,a){const n=this.getFlag(e);let o=n.get(ho);if(o||(o=new Set,n.set(ho,o)),a>t)for(let e=t;e<a;e++)o.add(e)}checkArrChangeProps(e,t){const a=this.getFlag(e),n=a.get(go);if(n===ro){let e=a.get(ho);return t=Number(t),!e||!(isNaN(t)||!e.has(t))&&(e.delete(t),!0)}return n!==mo&&n!==Io}},So=(e,t)=>{return n=t,(null===(a=e)||null===n||void 0===a||void 0===n?a===n:a&&n?a.constructor.name===n.constructor.name:typeof a==typeof n)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var a,n},bo=(e,t)=>{let a=!1;return e.__qt_key_&&t.__qt_key_&&(a=e.__qt_key_===t.__qt_key_),a&&e.__qt_change_num_&&t.__qt_change_num_&&(a=t.__qt_change_num_>e.__qt_change_num_),a},yo=(e,t,a)=>{const n=new lo(-1,-1),o=new lo(-1,-1),i=new lo(-1,-1);for(let n=0;n<e.length;n++){const i=e[n];t.find(e=>So(i,e))?o.deleteCount>0&&(a.delete(o.start,o.deleteCount),o.resetData()):-1===o.start?(o.start=n,o.deleteCount=1):o.deleteCount++}o.deleteCount>0&&a.delete(o.start,o.deleteCount);let l=-1;for(let o=0;o<t.length;o++){const c=t[o],s=e.find((e,t)=>!!(So(e,c)&&t>l)&&(l=t,!0));if(s){i.datas.size&&(a.insert(i.start,Array.from(i.datas.values())),i.resetData());bo(s,c)&&(-1===n.start?(n.start=o,n.updateCount=1,n.rootUpdateCount=1,n.end=n.start+n.updateCount):o>n.start&&o<=n.end?(n.updateCount++,n.end++,n.rootUpdateCount++):(a.update(n.start,n,e),n.resetData(),n.start=o,n.updateCount=1,n.rootUpdateCount=1,n.end=n.start+n.updateCount),n.datas.set(o,d(c)))}else-1===i.start&&(i.start=o),i.datas.set(o,d(c)),n.datas.size&&(a.update(n.start,n,e),n.resetData())}n.datas.size&&a.update(n.start,n,e),i.datas.size&&a.add(Array.from(i.datas.values()))},Eo={pointer:0,createUid(e="_"){return this.pointer++,this.pointer+e+Date.now()},addUid(e,t){return null!==e&&"object"==typeof e&&(e.__qt_key_||(e.__qt_key_=this.createUid(t))),e},addUidBatch(e,t){for(let t=0;t<e.length;t++)this.addUid(e[t])}},Po=(e,t=!0)=>{if(Ne(e)){const a=Se(e)?[]:{};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];Ne(o)?(Se(o)||(o.__qt_key_||(o.__qt_key_=Eo.createUid(n)),o.__qt_change_num_||(o.__qt_change_num_=1)),a[n]=Po(o,t)):a[n]=o}return a}return e};function No(e,t){if(!e||!Ne(e))return;let a=e.__v_raw,n=Po(a),o=!1;const i=e=>{o||(o=!0,f(()=>{o=!1,e()}))},l=new Jn(()=>{ao(a,"__ls_watchAll")},(e,o,c,s,u)=>{const r="__ls_reset_ref_value"===s?c:e,d=Fo.getFlag(e).get(go);"__ls_reset_ref_value"===s&&t.resetValue?.(c),"__ls_reset_ref_value"!==s||d===vo&&n&&(n.length||Object.keys(c).length)?n&&(n.length||Object.keys(c).length)||!r?d!==ro||e&&(e.length||Object.keys(c).length)?i(()=>{const o="__ls_reset_ref_value"===s?c:e,i=Fo.getType(e);i&&1===i.size?i.forEach((e,a)=>{if(a!==uo&&a!==vo||t.add(e.dataArr||Array.from(e.datas.values())),a===fo&&t.delete(e.start,e.deleteCount),a===so)if(e.end-e.start+1==e.rootUpdateCount)t.update(e.start,e,n);else{(e=>{const t=new Map;let a=-1;return e.datas.forEach((n,o)=>{const i=Array.isArray(o)?Number(o[0]):Number(o);let l=t.get(a);if(l&&i>=l.start&&i<=l.end+1)l.updateCount++,i!=l.end&&l.rootUpdateCount++,l.end=i,l.datas.set(o,n);else{const c=1;l=new lo(i,i),l.updateCount=c,l.rootUpdateCount=c,l.datas.set(o,n),l.deth=e.deth,a=i,t.set(a,l)}e.names.get(o)&&l.names.set(o,e.names.get(o))}),t})(e).forEach((e,a)=>{t.update(e.start,e,n)})}a===ro&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,Array.from(e.datas.values()))),a===Io&&t.insert(e.start,Array.from(e.datas.values())),a===mo&&t.delete(e.start,e.deleteCount)}):yo(n,o,t),Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(o),Fo.clear(),n=Po(a)}):(t.clear(),a=e,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(r),Fo.clear(),n=Po(a)):i(()=>{t.init(Po(r,!1)),a=r,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(r),Fo.clear(),n=Po(a)}):(c&&(c.length||Object.keys(c).length)?t.init(Po(c,!1)):t.clear(),a=c,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(r),Fo.clear(),n=Po(a)),"__ls_reset_ref_value"===s&&(to(a),a=c,l.run())});return l.run(),{stop(){to(a),l.stop()}}}class Ro extends Array{__v_raw;shift(){if(this.__v_raw.length){const e=0,t=0,a=1,n=Fo.getTargetType(this.__v_raw,mo);if(n)n.deleteCount+=a;else{const n=new lo(e,t,a);Fo.setType(this.__v_raw,mo,n),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length)}}return super.shift()}unshift(...e){if(e.length){let t=0,a=e.length-1,n=Fo.getTargetType(this.__v_raw,Io);n||(n=new lo(t,a),Fo.setType(this.__v_raw,Io,n),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length+e.length)),Eo.addUidBatch(e)}return super.unshift(...e)}push(...e){if(e.length){const t=this.__v_raw.length,a=t+e.length-1,n=Fo.getTargetType(this.__v_raw,uo);if(n)n.end+=e.length;else{const e=new lo(t,a);Fo.setType(this.__v_raw,uo,e)}Eo.addUidBatch(e)}return super.push(...e)}splice(e,t,...a){e<0&&(e=0),void 0===t&&this.__v_raw.length&&(t=this.__v_raw.length-e),(e>=this.__v_raw.length||t<0)&&(t=0);let n=e;n=a&&a.length?e+a.length-1:-1;let o=Fo.getTargetType(this.__v_raw,ro);if(o||(o=new lo(e,n,t),Fo.setType(this.__v_raw,ro,o),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length+a.length-t-e)),t<=0?Fo.recordArrChangeProps(this.__v_raw,e,e+a.length):a&&a.length?Fo.recordArrChangeProps(this.__v_raw,e,e+t):Fo.recordArrChangeProps(this.__v_raw,e,e),a)for(let e=t;e<a.length;e++)Eo.addUid(a[e]);return super.splice(e,t,...a)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,a=1,n=Fo.getTargetType(this.__v_raw,fo);if(n)n.start-=1,n.deleteCount+=a;else{const n=new lo(e,t,a);Fo.setType(this.__v_raw,fo,n)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,a=t+e.length-1;let n=Fo.getTargetType(this.__v_raw,vo);n?n.end+=e.length:(n=new lo(t,a),n.dataArr=e,Fo.setType(this.__v_raw,vo,n)),Eo.addUidBatch(e)}return super.concat(...e)}}const Ao=new WeakMap,Lo=(e,t,a)=>{if(!Ne(e))return;if(a>=t.length-1)return e;a<0&&(a=0);const n=t.length-1-a;let o=e;for(let e=1;e<=n;e++){if(o=o[t[e]],!Ne(o))break}return o};function Co(e,t,a,n=1){return Ne(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new Ro),t||(t=e),new Proxy(e,((e,t=[],a=1)=>({get(n,o,i){if("__qt_root"===o)return e;if("__qt_path"===o)return t;if("__qt_arr_deth"===o)return a;if("__v_isReactive"===o)return!0;if("__ls_watchAll"===o||"__v_raw"===o)return n;ao(n,o);const l=Reflect.get(n,o,i);return Ne(l)?Co(l,e,[...t,o],Se(l)?a+1:a):l},set(e,t,a,n){let o=e[t];v(a)&&(a=d(a)),Ne(a)&&!Se(a)&&"string"==typeof t&&(a.__qt_key_||(Ne(o)?a.__qt_key_=o.__qt_key_||Eo.createUid(t):a.__qt_key_=Eo.createUid(t)),a.__qt_change_num_||(Ne(o)?a.__qt_change_num_=o.__qt_change_num_||1:a.__qt_change_num_=1));const i=Reflect.set(e,t,a,n);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&o!=a){Ne(a)&&a.__qt_change_num_&&Fo.checkArrChangeProps(e,t)&&a.__qt_change_num_++;const i=n.__qt_root,l=n.__qt_path;if(l&&l.length&&!v(a)){const a=l[0],c=i[a];Ne(c)&&c.__qt_change_num_&&c.__qt_change_num_++;const s=Array.isArray(e)&&"length"===t?"":t;Fo.changeOfsetType(i,l,c,s,n.__qt_arr_deth),oo(i,a,c,co,o)}else Array.isArray(e)&&!isNaN(Number(t))?(Fo.changeTypeData(e,t,a)||Fo.changeOfsetType(e,t,a),oo(e,t,a,co,o)):(Fo.changeOfsetType(e,t,a),oo(e,t,a,co,o))}}catch(e){console.warn(e)}return i}}))(t,a,n))):e}function Uo(e,t,a){return Ne(e)?function(e,t,a){const n=Ao.get(e);if(n)return n;const o=Co(e,t,a);return Ao.set(e,o),o}(e,t,a):e}class Do{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e){this._rawValue=Po(e),this._value=Uo(this._rawValue)}get value(){return Xn()&&no(this.dep||(this.dep=new Set)),this._value}set value(e){(e=Po(e))!==this._rawValue&&(this._value=Uo(e),oo(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),io(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function wo(e){return new Do(e||[])}function xo(e){return wo(e)}function ko(e){return wo(e)}function Oo(e){return{scrollToIndex:function(t,a,n,o,i){e.value?.scrollToIndex(t,a,n,o,i)},startScroll:function(t){e.value?.startScroll(t)},setSelectChildPosition:function(t,a){e.value?.setSelectChildPosition(t,a)},scrollToPositionWithOffset:function(t,a,n){e.value?.scrollToPositionWithOffset(t,a,n)},scrollToPositionWithOffsetInfiniteMode:function(t,a,n){e.value?.scrollToPositionWithOffsetInfiniteMode(t,a,n)},scrollToPosition:function(t,a){e.value?.scrollToPosition(t,a)},refreshListData:function(){e.value?.refreshListData()},updateItemTraverse:function(t,a,n){e.value?.updateItemTraverse(t,a,n)},requestItemLayout:function(t){e.value?.requestItemLayout(t)},updateItemRange:function(t,a,n){e.value?.updateItemRange(t,a,n)},insertItemRange:function(t,a){e.value?.insertItemRange(t,a)},updateItemMatched:function(t,a){e.value?.updateItemMatched(t,a)},updateItemMatchedByKey:function(t,a,n){e.value?.updateItemMatchedByKey(t,a,n)},deleteItemRange:function(t,a){e.value?.deleteItemRange(t,a)},setListData:function(t){e.value?.setListData(t)},setListDataWithParams:function(t,a,n){e.value?.setListDataWithParams(t,a,n)},addListData:function(t){e.value?.addListData(t)},addListDataWithParams:function(t,a){e.value?.addListDataWithParams(t,a)},destroy:function(){e.value?.destroy()},recycle:function(){e.value?.recycle()},scrollToTop:function(){e.value?.scrollToTop()},scrollToFocus:function(t,a,n,o){e.value?.scrollToFocus(t,a,n,o)},prepareForRecycle:function(){e.value?.prepareForRecycle()},setDisplay:function(t){e.value?.setDisplay(t)},changeDisplayState:function(t,a){e.value?.changeDisplayState(t,a)},notifySaveInstance:function(){e.value?.notifySaveInstance()},notifyRestoreInstance:function(){e.value?.notifyRestoreInstance()},updateItemProps:function(t,a,n,o){e.value?.updateItemProps(t,a,n,o)},dispatchItemFunction:function(t){e.value?.dispatchItemFunction(t)},clearPostTask:function(){e.value?.clearPostTask()},clearPostTaskByCate:function(t){e.value?.clearPostTaskByCate(t)},clearData:function(){e.value?.clearData()},pausePostTask:function(){e.value?.pausePostTask()},resumePostTask:function(){e.value?.resumePostTask()},requestLayoutManual:function(){e.value?.requestLayoutManual()},setSpanCount:function(t){e.value?.setSpanCount(t)},searchReplaceItem:function(t,a){e.value?.searchReplaceItem(t,a)},setCustomStateEnableOnFocus:function(t,a){e.value?.setCustomStateEnableOnFocus(t,a)},setItemCustomState:function(t,a,n){e.value?.setItemCustomState(t,a,n)},dispatchItemFunctionWithPromise:function(t,a,n,o){return e.value.dispatchItemFunctionWithPromise(t,a,n,o)},getScrollOffset:function(){return e.value.getScrollOffset()}}}var Bo=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,a){const n=e();let o=e(2.5),i=xo(),l=0,c=!1,s=e(!1),u=[],r=null,f=!1,v=!0;const h=()=>t.listData||i.value,T=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&v&&(clearTimeout(r),r=setTimeout(()=>{C(t.defaultFocus)},300+10*e.length))};g(()=>{h().length&&n.value&&!f&&!u.length&&(u=h(),n.value.setListDataWithParams(d(h()),!0,!0),T(u))}),p(()=>{i.value.splice(0)});let _=0;const F=[{_id:"",type:1002,decoration:t.loadingDecoration}],S=()=>{t.openPage&&0===_&&u.length>=t.pageSize&&!c&&(n.value.addListData(F),_=u.length)},b=(e=!1)=>{_>0&&(e?n.value.updateItem(_,{text:"",type:1003,decoration:{}}):(n.value.deleteItem(_,1),_=0))};let y=null;const E=(e=!1)=>{c=!0,y=setTimeout(()=>{c=!0,b(e)},20)},P=()=>{c=!1,l=0},N=()=>{!c&&t.loadMore&&(t.listData?u.length>t.pageSize&&(l++,t.loadMore(l)):(l++,t.loadMore(l)))},R=No(h(),{resetValue(e){u=e,f=!0},init(e){n.value&&(n.value.setListDataWithParams(e.concat(t.openPage&&u.length>=t.pageSize&&!c?(_=u.length,F):[]),!0,!0),P(),t.listData&&(l=1),T(e))},add(e){n.value.addListData(e),b(),S()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);n.value.updateItem(a,e)})},insert(e,t){n.value.addItem(e,t),b(),S()},delete(e,t){n.value.deleteItem(e,t),_>0&&(_=u.length)},clear(){n.value.setListDataWithParams([],!0,!0),_=0}}),{scrollToPosition:A}=Oo(n);m(()=>{t.openPage&&!t.listData&&(P(),N())});const L=e=>{n.value.requestFocus(e)},C=e=>{A(e),L(e)},U=(e,t)=>{n.value.setSelectPosition(e,t)};I(()=>{R?.stop(),P(),s.value=!1,c=!1,clearTimeout(r),clearTimeout(y)});let D=-1;return{tv_list:n,...Dn(n),...Oo(n),init:(e,a)=>t.listData?[]:e?(v=!a,i.value=e,i.value):i.value,onItemClick:e=>{a.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!c&&u.length>=t.pageSize){let a=t.preloadNo;(a<0||a>=u.length)&&(a=0),e.position==u.length-1-a&&N()}a.emit("item-bind",e)},onItemFocused:e=>{a.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(D);let e=0;c||(e=420,E()),D=setTimeout(()=>{s.value=!0,l=1,c=!1,t.loadMore(l)},e)}},isRestartPage:s,onItemUnbind:e=>{a.emit("item-unbind",e)},onScroll:e=>{a.emit("scroll",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},stopPage:E,setItemFocused:L,scrollToFocused:C,setItemSelected:U,scrollToSelected:(e,t)=>{A(e),U(e,t)},setInitPosition:e=>{n.value.setInitPosition(e)},apkVersion:o,updateItemProps:(e,t,a)=>{n.value.updateItemProps(e,t,a)},insertItem:(e,t)=>{n.value.addItem(e,t)}}}});Bo.render=function(e,a,l,c,s,u){const r=o("tv-list");return t(),i(r,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:h(()=>[n(e.$slots,"header"),n(e.$slots,"default"),n(e.$slots,"footer"),n(e.$slots,"loading")]),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Bo.__file="src/grid-view/index.vue";var Mo=za({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20},borderRadius:{type:Number,default:8},bgColor:{type:Object,default:()=>({colors:["#ffffff","#ffffff"],cornerRadii4:[0,0,8,8]})},titleColor:{type:String,default:"#000000"},subTitleColor:{type:String,default:"rgba(0,0,0,.4)"}},setup(e,t){}});const Wo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Go=["gradientBackground"];Mo.render=function(e,n,i,l,s,r){const d=o("text-view");return t(),a("div",Wo,[u(" 浮动标题"),T(d,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),_("div",{class:"absoluteFocusMainBgRoot",style:c({borderBottomLeftRadius:`${e.borderRadius}px`,borderBottomRightRadius:`${e.borderRadius}px`}),duplicateParentState:!0,focusable:!1,gradientBackground:e.bgColor,showIf:"${focusTitle.enable}"},[u(" 主标题 "),T(d,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:c({backgroundColor:"transparent",color:`${e.titleColor}`}),flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"},null,8,["style"]),u(" 副标题 "),T(d,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:c({color:`${e.subTitleColor}`,backgroundColor:"transparent"}),flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"},null,8,["style"])],12,Go)])},Mo.__scopeId="data-v-703673b8",Mo.__file="src/poster/qt-poster-focus-title.vue";var Vo=za({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20},mode:{type:String,default:"right"}},setup(e,t){}});Vo.render=function(e,n,i,l,c,u){const r=o("text-view");return t(),a("div",{class:s(["cornerRoot",["cornerRoot_"+e.mode]]),focusable:!1},[T(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable==true}"},null,8,["textSize"]),n[0]||(n[0]=_("img",{focusable:!1,class:"poster_corner_img",flexStyle:"${corner.styleImg}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1))],2)},Vo.__scopeId="data-v-4b767ea2",Vo.__file="src/poster/qt-poster-corner-title.vue";var qo=za({name:"qt-poster",components:{"qt-poster-corner-title":Vo,"qt-poster-focus-title":Mo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},borderRadius:{type:Number,default:8},rippleColor:{type:String,default:"#FF4E46"},focusBgColor:{type:Object,required:!1},focusTitleColor:{type:String,required:!1},focusSubTitleColor:{type:String,required:!1},floatTitleBgColor:{type:Array,default:()=>["#e5000000","#00000000"]}},setup(t,a){const n=e();return{mainTextShowOnState:["normal","selected"],viewRef:n,...Dn(n)}}});const zo=["showOnState"],$o=["gradientBackground"],Qo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1};qo.render=function(e,a,l,s,r,d){const f=o("text-view"),v=o("qt-poster-focus-title"),g=o("ripple-view"),p=o("qt-poster-corner-title"),m=o("item-frame");return t(),i(m,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:h(()=>[u("封面"),_("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,enableFade:"",focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",style:c({borderRadius:`${e.borderRadius}px`}),src:"${image.src}"},null,4),T(f,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),u(" 焦点选中时的标题 "),T(v,{focusable:!1,"border-radius":e.borderRadius,showOnState:"focused",bgColor:e.focusBgColor,titleColor:e.focusTitleColor,subTitleColor:e.focusSubTitleColor},null,8,["border-radius","bgColor","titleColor","subTitleColor"]),_("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),_("div",{flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:e.floatTitleBgColor,cornerRadii4:[0,0,e.borderRadius,e.borderRadius],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},[T(f,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})],8,$o),u(" 主标题"),T(f,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,zo),_("div",Qo,[T(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:e.rippleColor,isShowRipple:"${ripple.enable}",rippleVisible:"invisible"},null,8,["color"]),a[0]||(a[0]=_("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1))]),T(p,{showIf:"${corner.showCornerRight==true}",focusable:!1,flexStyle:"${corner.style}"}),T(p,{showIf:"${corner.showCornerLeft==true}",focusable:!1,flexStyle:"${corner.style}",mode:"left"}),n(e.$slots,"default")]),_:3},8,["type"])},qo.__file="src/poster/index.vue";var Yo=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},tabEnable:{type:Boolean,default:!0}},setup(t,a){const n=e();let o=e("#f5f5f5"),i=F({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;S(()=>t.navs,e=>{e.length>0&&s(e)});const s=e=>{e||(e=[]),e.forEach((e,a)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)}),n.value?.setListData(e),clearTimeout(c);let a=t.initSelect;a>-1&&(n.value?.scrollToPosition(a),c=setTimeout(()=>{n.value?.setItemSelected(a,!0),u(a)},300))},u=e=>{clearTimeout(l),l=setTimeout(()=>{a.emit("tab-select",{position:e})},300)};return{navList:n,focusColor:o,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(a.emit("tab-focus",e),u(e.position))},onTabClick:e=>{a.emit("tab-click",e.item)},scrollToPosition:e=>{n.value?.scrollToPosition(e)},scrollToTop:()=>{n.value?.scrollToTop()},init:e=>{s(e.data)},...Dn(n)}}});const Ho=["stateTextColor","sateBackgroundPadding"];var jo,Ko;Yo.render=function(e,l,c,r,d,f){const v=o("text-view"),g=o("qt-list-view");return t(),i(g,{ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:!!e.horizontal&&e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:!e.horizontal&&e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:!!e.horizontal||void 0,class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:h(()=>[e.tabEnable?(t(),a("div",{key:0,class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[T(v,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],8,Ho)):u("v-if",!0),n(e.$slots,"default")]),_:3},8,["horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","horizontal","class","onItemClick","onItemFocused"])},Yo.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK",e[e.QT_WATERFALL_SECTION_TYPE_PLUGIN=1008]="QT_WATERFALL_SECTION_TYPE_PLUGIN"}(jo||(jo={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK",e[e.QT_WATERFALL_ITEM_TYPE_PLUGIN=10004]="QT_WATERFALL_ITEM_TYPE_PLUGIN"}(Ko||(Ko={}));var Zo=za({name:"card-item",setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Zo.render=function(e,a,n,l,c,s){const u=o("es-card-container");return t(),i(u,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Zo.__scopeId="data-v-599898aa",Zo.__file="src/waterfall/item/card-item.vue";var Jo=za({name:"qt-plugin-item",emits:["focus"],setup(t,a){const n=e();return{viewRef:n,...Dn(n),onFocus:function(e){a.emit("focus",e)}}}});Jo.render=function(e,a,n,l,c,s){const u=o("qt-plugin-view");return t(),i(u,{ref:"viewRef",type:10004,clipChildren:!1,clipPadding:!1,layout:"${layout}",flexStyle:"${style}",focusable:!0,pluginKey:"${pluginKey}",eventClick:"",eventFocus:"",name:"qt-plugin-item",onFocus:e.onFocus,focusScale:"1.1",enableFocusBorder:!0,class:"qt-ui-plugin-item-root-css"},null,8,["onFocus"])},Jo.__file="src/waterfall/item/plugin-item.vue";var Xo=za({name:"standard-section",emits:["focus"],components:{"card-item":Zo,"qt-plugin-item":Jo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Ko.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1},flexSection:{type:Object,default:()=>({qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0})}},setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("QTFlexSection","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ei=["type"];Xo.render=function(e,l,c,s,r,d){const f=o("text-view"),v=o("qt-poster"),g=o("qt-plugin-item"),p=o("card-item"),m=o("tv-flex");return t(),a("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[T(f,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",lines:1,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),l[0]||(l[0]=_("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)),T(m,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",flexStyle:"${contentStyle}",layout:"${contentLayout}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",list:"${itemList}"},{default:h(()=>[u(" poster "),e.flexSection.qtPosterEnable?(t(),i(v,{key:0,"load-delay":500,type:e.standItemType},null,8,["type"])):u("v-if",!0),u(" plugin "),e.flexSection.qtPluginItemEnable?(t(),i(g,{key:1})):u("v-if",!0),u(" card "),e.flexSection.cardItemEnable?(t(),i(p,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):u("v-if",!0),n(e.$slots,"default")]),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ei)},Xo.__scopeId="data-v-227e921e",Xo.__file="src/waterfall/section/flex-section.vue";const ti="list-section";var ai=za({name:"list-section",components:{"card-item":Zo},props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}},listSection:{type:Object,default:()=>({qtPosterEnable:!0})}},emits:["focus"],setup(e,t){const a=D();return{blockDirections:["left","right"],onItemBind:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemFocused--------------\x3e>>",e)},onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ni={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},oi=["type"];ai.render=function(e,l,c,s,r,d){const f=o("text-view"),v=o("qt-poster"),g=o("card-item"),p=o("tv-list"),m=o("tv-item");return t(),i(m,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:h(()=>[_("div",ni,[T(f,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),l[0]||(l[0]=_("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)),T(p,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",sid:"${listSID}",flexStyle:"${contentStyle}",layout:"${contentLayout}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:h(()=>[e.listSection.qtPosterEnable?(t(),i(v,{key:0,type:e.standItemType},null,8,["type"])):u("v-if",!0),e.listSection.qtPosterEnable?(t(),a("div",{key:1,type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[T(f,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,oi)):u("v-if",!0),u(" card "),e.listSection.cardItemEnable?(t(),i(g,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):u("v-if",!0),n(e.$slots,"default")]),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])]),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},ai.__scopeId="data-v-6aa2cfd4",ai.__file="src/waterfall/section/list-section.vue";var ii=za({name:"loading-section"});const li={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ii.render=function(e,n,i,l,c,s){const u=o("qt-loading-view");return t(),a("div",li,[T(u,{class:"loading-section-loading-css"})])},ii.__scopeId="data-v-48609f24",ii.__file="src/waterfall/section/loading-section.vue";var ci=za({name:"end-section",setup:()=>({})});const si={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};ci.render=function(e,n,i,l,c,s){const u=o("text-view");return t(),a("div",si,[T(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",typeface:"${titleTypeface}",textSize:"${titleStyle.fontSize}",text:"${title}"})])},ci.__scopeId="data-v-70b82c43",ci.__file="src/waterfall/section/end-section.vue";var ui=za({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ri=["type"];ui.render=function(e,n,i,l,s,u){const r=o("text-view");return t(),a("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[T(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),fontFamily:"${fontFamily}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,ri)},ui.__scopeId="data-v-20428d40",ui.__file="src/waterfall/section/section-title.vue";var di=za({name:"blank-section",setup:()=>({})});const fi={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};di.render=function(e,n,o,i,l,c){return t(),a("div",fi)},di.__scopeId="data-v-eeab4d88",di.__file="src/waterfall/section/blank-section.vue";var vi=za({name:"card-section",setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const gi={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};vi.render=function(e,n,i,l,c,s){const u=o("text-view"),r=o("es-card-container");return t(),a("div",gi,[T(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),T(r,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},vi.__scopeId="data-v-43a44788",vi.__file="src/waterfall/section/card-section.vue";var pi=za({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});pi.render=function(e,a,l,c,s,u){const r=o("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["blockFocusDirections","onItemBind"])},pi.__scopeId="data-v-f8447724",pi.__file="src/waterfall/section/vue-section.vue";var mi=za({name:"qt-plugin-section",emits:["focus"],props:{pluginKey:{type:String,default:""}},setup:(e,t)=>(D(),{onFocus:function(e){t.emit("focus",e)}})});const Ii={type:1008,class:"qt-ui-plugin-section-root-css",clipChildren:!1,clipPadding:!1,focusable:!0,focusScale:"1.1",focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};function hi(e,t,a=!1){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let i=Ti(e,t[o],a);n.push(i)}return n}function Ti(e,t,a=!1){let n=0;t.itemList.length>0&&t.type==jo.QT_WATERFALL_SECTION_TYPE_FLEX?(n=function(e,t=!1){const a=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,i=o?.height??0;const l=o?.marginTop??0,c=o?.marginBottom??0;const s=o?.paddingTop??0,u=o?.paddingBottom??0;let r=t?0:e.style.height??0,d=e.style.width??0;e.decoration;let f=0,v=0,g=0;for(let e=0;e<a.length;e++){const t=a[e];let o=t?.style.width??0,i=t?.style.height??0;const l=t.style.x,c=t.style.y;if(null!=l&&null!=c)t.layout=[l,c,o,i];else{const e=t.decoration,a=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;f+o+c>d&&(v+=g+n,g=0,f=0),t.layout||(t.layout=[0,0,o,i]),t._apiLayout||(t.layout[0]=f+a,t.layout[1]=v+l),t.layout[1]+i+s>r&&(r=t.layout[1]+i+s),i+l+s>g&&(g=i+l+s),f+=o+n+a+c}}return r+i+l+c+s+u}(t,a),t.style.height=n):t.type==jo.QT_WATERFALL_SECTION_TYPE_PLUGIN&&(t.titleStyle&&t.titleStyle.width&&t.titleStyle.height?t.pluginStyle={width:t.style.width,height:(t.style?.height??0)-(t.titleStyle.height??0)-(t.titleStyle.marginBottom??0)}:t.pluginStyle=t.style);const o=t.titleStyle?.height??0,i=t.titleStyle?.marginTop??0,l=t.titleStyle?.marginBottom??0,c=t.titleStyle?.paddingTop??0,s=t.titleStyle?.paddingBottom??0;a&&0===t.itemList.length&&(t.style.height=(t.style.minHeight||0)+o+i+l+c+s);const u=o+i+l+c+s,r=t.style.height?t.style.height-u:0;return t.contentStyle||(t.contentStyle={width:t.style.width,height:r}),t.contentLayout=[0,u,t.contentStyle.width,t.contentStyle.height],t}function _i(){let e=[];function t(e){return e.itemList.length}function a(a,n){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const o=e.length;if(a<0||a>=o)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=a+n;a+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=a;n<i;n++){l+=t(e[n])}return l}function n(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(o){const i=e.length,l=a(0,i),c=function(e){if(e.length<=0)return 0;let a=0;for(let n=0;n<e.length;n++){a+=t(e[n])}return a}(o);return e.push(...o),n(),{sectionIndex:i,sectionCount:o.length,itemIndex:l,itemCount:c}},deleteSection:function(t,o){const i=a(0,t-1),l=a(t,o);return e.splice(t,o),n(),{sectionIndex:t,sectionCount:o,itemIndex:i,itemCount:l}},updateSection:function(o,i){const l=a(0,o-1),c=t(i);return e.splice(o,1,i),n(),{sectionIndex:o,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,a){const o=e.length;if(t<0||t>=o||a.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...a),n(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:a.length}},deleteItem:function(t,a,o){return e[t].itemList.splice(a,o),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},updateItem:function(t,a,o){return e[t].itemList.splice(a,1,o),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:1}},updateItemList:function(t,a,o,i){return e[t].itemList.splice(a,o,...i),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},getItem:function(t,a){const n=e[t];if(n&&n.itemList.length>0&&a>=0&&a<n.itemList.length){return n.itemList[a]}},destroy:function(){e=[]}}}var Fi;mi.render=function(e,n,i,l,c,s){const u=o("text-view"),r=o("qt-plugin-view");return t(),a("div",Ii,[T(u,{class:"qt-ui-plugin-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",fontFamily:"${fontFamily}",typeface:"${titleTypeface}",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),T(r,{class:"qt-ui-plugin-section-css",clipChildren:!1,clipPadding:!1,eventClick:"",eventFocus:"",sid:"${_id}",pluginKey:"${pluginKey}",flexStyle:"${pluginStyle}"})])},mi.__scopeId="data-v-ca3d65aa",mi.__file="src/waterfall/section/plugin-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(Fi||(Fi={}));const Si="qt-waterfall";var bi,yi,Ei=za({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0},listData:{type:Array,required:!1},pStype:{type:Object,default:()=>({})},qtTabSectionEnable:{type:Object,default:()=>({flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0,cardItemEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tvItemListName:{type:String,required:!1}},setup(t,a){const n=D();const o={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool},i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool},l=e(Fi.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const u=_i();function r(e){s=e,e.visibleType&&(l.value=e.visibleType)}const f=No(t.listData,{resetValue(e){r(t.pStype)},init(e){const t=hi(s,e,!0);c.value?.setListData(t)},add(e){const t=hi(s,e,!0);c.value?.addListData(t)},update(e,t){const a=To(1,t.datas),n=hi(s,Array.from(a.values()),!0);c.value?.updateItemList(e,a.size,n)},insert(e,t){const a=hi(s,t,!0);c.value?.addItem(e,a)},delete(e,t){c.value?.deleteItem(e,t)},clear(){c.value?.setListData([])}});return g(()=>{if(t.listData&&t.listData.length){const e=hi(s,d(t.listData),!0);c.value?.setListData(e)}}),I(()=>{f?.stop()}),{waterfallRef:c,visibleType:l,init:r,getSectionList:function(){return u.getSectionList()},setSectionList:function(e){if(!s)return;n.isLoggable(w.DEBUG)&&n.d(Si,"-------1---setSectionList--------------\x3e>>"),u.destroy();const t=u.addSectionList(e);n.isLoggable(w.DEBUG)&&n.d(Si,"-------2---setSectionList--------------\x3e>>",t);const a=hi(s,e);n.isLoggable(w.DEBUG)&&n.d(Si,"----------setSectionList-----最终数据---------\x3e>>",a),c.value?.setListData(a)},addSectionList:function(e){if(!s)return;u.addSectionList(e);const t=hi(s,e);n.isLoggable(w.DEBUG)&&n.d(Si,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const a=u.deleteSection(e,t);n.isLoggable(w.DEBUG)&&n.d(Si,"----------deleteSection-----最终数据---------\x3e>>",a),c.value?.deleteItem(e,t)},updateSection:function(e,t){u.updateSection(e,t);const a=Ti(0,t);n.isLoggable(w.DEBUG)&&n.d(Si,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",a),c.value?.updateItem(e,a)},updateSectionList:function(e,t,a){const n=[];for(let t=0;t<a.length;t++){const o=a[t];u.updateSection(e+t,o);const i=Ti(0,o);i&&n.push(i)}c.value?.updateItemList(e,t,n)},getSection:function(e){return u.getSection(e)},addItemList:function(e,t){u.addItemList(e,t);const a=u.getSection(e);if(a){const t=Ti(0,a);c.value?.updateItem(e,t)}},deleteItem:function(e,t,a){u.deleteItem(e,t,a);const n=u.getSection(e);if(n){const t=Ti(0,n);c.value?.updateItem(e,t)}},updateItem:function(e,t,a){u.updateItem(e,t,a);const n=u.getSection(e);if(n){const t=Ti(0,n);c.value?.updateItem(e,t)}},updateItemList:function(e,t,a,n){u.updateItemList(e,t,a,n);const o=u.getSection(e);if(o){const t=Ti(0,o);c.value?.updateItem(e,t)}},getItem:function(e,t){return u.getItem(e,t)},cachePool:o,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,n=e.offsetY;a.emit("onScroll",t,n)},onItemClick:function(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),a.emit("onItemClick",e.parentPosition,e.position,e.item,e)},onItemFocused:function(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),a.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item,e)},onSectionBind:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;a.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;a.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;a.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,n=e.offsetX,o=e.newState,i=e.oldState;a.emit("onScrollStateChanged",n,t,o,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){a.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){a.emit("onScrollYLesserReference")},onPluginLoadSuccess:function(e){a.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){a.emit("onPluginLoadError",e)},scrollToIndex:function(e,t,a,n,o){c.value?.scrollToIndex(e,t,a,n,o)},scrollToPosition:function(e,t){c.value?.scrollToPosition(e,t)},scrollToPositionWithOffset:function(e,t,a){c.value?.scrollToPositionWithOffset(e,t,a)},...Dn(c)}},components:{"flex-section":Xo,"list-section":ai,"section-title":ui,"loading-section":ii,"end-section":ci,"blank-section":di,"card-section":vi,"vue-section":pi,"plugin-section":mi}});Ei.render=function(e,a,l,c,s,r){const d=o("flex-section"),f=o("item-store"),v=o("list-section"),g=o("loading-section"),p=o("end-section"),m=o("blank-section"),I=o("card-section"),T=o("plugin-section"),_=o("vue-section"),F=o("tv-list");return t(),i(F,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",list:"${"+e.tvItemListName+"}",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError,blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:h(()=>[u(" 普通版块"),e.qtTabSectionEnable.flexSectionEnable?(t(),i(d,{key:0,"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,"flex-section":e.qtTabSectionEnable.flexSection,onFocus:e.onItemFocused},{default:h(()=>[n(e.$slots,"item")]),_:3},8,["cache-pool","enablePlaceholder","flex-section","onFocus"])):u("v-if",!0),e.qtTabSectionEnable.itemStoreEnable?(t(),i(f,{key:1},{default:h(()=>[n(e.$slots,"shared-item")]),_:3})):u("v-if",!0),u("一行滚动 多级tab"),e.qtTabSectionEnable.listSectionEnable?(t(),i(v,{key:2,"cache-pool":e.itemsPool,onFocus:e.onItemFocused,"list-section":e.qtTabSectionEnable.listSection,enablePlaceholder:e.enablePlaceholder},{default:h(()=>[n(e.$slots,"list-item")]),_:3},8,["cache-pool","onFocus","list-section","enablePlaceholder"])):u("v-if",!0),u(" loading"),e.qtTabSectionEnable.loadingSectionEnable?(t(),i(g,{key:3})):u("v-if",!0),u(" end "),e.qtTabSectionEnable.endSectionEnable?(t(),i(p,{key:4})):u("v-if",!0),u(" blank "),e.qtTabSectionEnable.blankSectionEnable?(t(),i(m,{key:5})):u("v-if",!0),u(" card "),e.qtTabSectionEnable.cardSectionEnable?(t(),i(I,{key:6,onFocus:e.onItemFocused},null,8,["onFocus"])):u("v-if",!0),u(" plugin "),e.qtTabSectionEnable.pluginSectionEnable?(t(),i(T,{key:7})):u("v-if",!0),u(" vue "),e.qtTabSectionEnable.vueSectionEnable?(t(),i(_,{key:8,"block-focus-directions":e.vueSectionBlockFocusDirections},{default:h(()=>[n(e.$slots,"vue-section")]),_:3},8,["block-focus-directions"])):u("v-if",!0),n(e.$slots,"section")]),_:3},8,["list","onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","onOnPluginLoadSuccess","onOnPluginLoadError","blockFocusDirections","onScrollStateChanged"])},Ei.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(bi||(bi={})),function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(yi||(yi={}));const Pi=e=>{try{return JSON.parse(JSON.stringify(e))}catch(e){}return e},Ni=(e,t)=>{let a=[];const n={resetValue(e){},init(n){t.initTab({...e.tabConfig,itemList:Pi(n)}),a=n},add(e){console.log("lsj-add-",e)},update(e,n,o){_o(n,o,e=>{const n=e.arrDeeps[0],o=e.arrDeeps[1],i=e.arrDeeps[2];e.isArr?yo(e.oldData,e.newData,{update(a,i,l){1==e.arrDeeps.length&&i.datas.forEach((e,a)=>{t.updatePageSection(n,a,Pi(e))}),2==e.arrDeeps.length&&i.datas.forEach((e,a)=>{t.updatePageItem(n,o,a,Pi(e))})},delete(a,i){1==e.arrDeeps.length&&t.deletePageSection(n,a,i),2==e.arrDeeps.length&&t.deletePageItem(n,o,a,i)},insert(a,i){1==e.arrDeeps.length&&t.insertPageData(n,a,Pi(i)),2==e.arrDeeps.length&&t.addPageItemList(n,o,Pi(i),a)},add(i){1==e.arrDeeps.length&&((e,n)=>{const o=a[e];if(o){const a=t.getPageSectionList(e);a&&a.length?t.addPageData(e,{useDiff:o.useDiff,disableScrollOnFirstScreen:o.disableScrollOnFirstScreen??!1,firstFocusTargetID:o.firstFocusTargetID??"",data:Pi(n)},0):t.setPageData(e,{useDiff:!1,disableScrollOnFirstScreen:o.disableScrollOnFirstScreen??!1,firstFocusTargetID:o.firstFocusTargetID??"",bindingPlayer:o.bindingPlayer,data:Pi(n)})}})(n,i),2==e.arrDeeps.length&&t.addPageItemList(n,o,Pi(i))}}):(2==e.arrDeeps.length&&t.updatePageSection(n,o,Pi(e.newData)),3==e.arrDeeps.length&&t.updatePageItem(n,o,i,Pi(e.newData)))})},insert(e,t){},delete(e,t){},clear(){}},o=No(e.tabs,n);return g(()=>{e.waterfallConfig&&t.initPage(e.waterfallConfig),e.tabs&&e.tabs.length&&(a=Pi(d(e.tabs)),n.init(a))}),I(()=>{o?.stop()}),{checkIsStaticDatas(e,n){if(0===n&&a&&a.length){const n=a[e];if(n&&n.content&&n.content.length)return t.setPageData(e,{useDiff:!1,data:n.content}),!0}return!1}}},Ri="qt-tabs";var Ai=za({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick","onPluginLoadSuccess","onPluginLoadError"],props:{offScreenPageLimit:{type:Number,default:1},enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},tabContentVerticalFadingEdgeEnabled:{type:Boolean,default:!1},tabContentFadingEdgeLength:{type:Number,default:0},fadingEdgeLength:{type:Number,default:0},qtTabSectionEnable:{type:Object,default:()=>({tabEnable:!0,flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tabConfig:{type:Object,default:()=>({defaultFocusIndex:0,defaultIndex:0})},waterfallConfig:{type:Object,default:()=>({width:1920,height:1080})},tabs:{type:Array,default:()=>[]}},setup(t,a){let n;const o=e();e();const i=e(!0),l=e(1),c=D();x();const s=e(),u=function(e){const t="qt-tabs",a=new Map,n=new Map;function o(e){const t={index:e,state:bi.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};a.set(e,t),n.set(e,[])}function i(e,t){const a=n.get(e)??[];if(!(t<0||t>=a.length||0==a.length))return a[t]}function l(e){return e.itemList.length}function c(e){let t=0;try{if(e.length<=0)return 0;for(let a=0;a<e.length;a++)t+=l(e[a])}catch(e){}return t}function s(e,t,a){let n=0;try{const o=e.length;if(t<0||t>=o)return 0;let i=t+a;t+a>o&&(i=o);for(let a=t;a<i;a++)n+=l(e[a])}catch(e){}return n}function u(a){e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---- "+a+" :-----\x3e>>>",n)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)o(e)},initTabPageData:o,getTabPageDataState:function(e){return a.get(e)},setPageDataState:function(n,o){e.isLoggable(w.DEBUG)&&e.d(t,"---QTTabDataManager----setPageStateReset-----\x3e> pageIndex:"+n+" pageData:",o),a.set(n,o)},setSectionState:function(e,t,a){const n=i(e,t);n&&(n.state=a,n.sectionIndex=t)},getSectionListByState:function(e,t){return(n.get(e)??[]).filter(e=>e.state==t)},getSectionList:function(a){const o=n.get(a)??[];return e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###getSectionList----\x3e> pageIndex:"+a+" sectionList: ",o),o},addSectionList:function(o,i,l=0){let r=n.get(o)??[];l>0&&(r=r.slice(0,r.length-l),n.set(o,r));const d=r.length,f=s(r,0,d),v=c(i);r.push(...i);const g=a.get(o);return g&&g.state!=bi.QT_TAB_PAGE_STATE_COMPLETE&&(g.state=bi.QT_TAB_PAGE_STATE_IDLE),e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###addSectionList----\x3e> pageIndex:"+o+" 需要增加的sections: ",i," 增加以后的sectionList: ",r),u("addSectionList: "+o),{pageIndex:o,sectionIndex:d,sectionCount:i.length,itemIndex:f,itemCount:v}},insertSectionList:function(o,i,l){const r=n.get(o)??[],d=r.length,f=s(r,0,d),v=c(l);r.splice(i,0,...l);const g=a.get(o);return g&&g.state!=bi.QT_TAB_PAGE_STATE_COMPLETE&&(g.state=bi.QT_TAB_PAGE_STATE_IDLE),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###insertSectionList----\x3e> pageIndex:"+o+" sectionIndex: ",i," sections: ",l),u("insertSectionList: "+o),{pageIndex:o,sectionIndex:d,sectionCount:l.length,itemIndex:f,itemCount:v}},deleteSection:function(a,o,i){const l=n.get(a)??[],c=s(l,0,o-1),r=s(l,o,i);return l.splice(o,i),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###deleteSection----\x3e> pageIndex:"+a+" sectionIndex: ",o+" count: ",i),u("deleteSection: "+a),{pageIndex:a,sectionIndex:o,sectionCount:i,itemIndex:c,itemCount:r}},updateSection:function(a,o,i){const c=n.get(a)??[],r=s(c,0,o-1),d=l(i);return c.splice(o,1,i),e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###updateSection----\x3e> pageIndex:"+a+" sectionIndex: ",o+" section: ",i),u("updateSection: "+a),{pageIndex:a,sectionIndex:o,sectionCount:1,itemIndex:r,itemCount:d}},updateSectionList:function(a,o){return n.set(a,o),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###updateSectionList----\x3e> pageIndex:"+a+" sectionIndex: ",o),u("updateSectionList: "+a),{pageIndex:a,sectionIndex:0,sectionCount:o.length,itemIndex:-1,itemCount:-1}},getSection:i,addItemList:function(e,t,a,o,i){const l=n.get(e)??[],c=l.length;if(t<0||t>=c||a.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const s=l[t],r=s.itemList.length;return void 0!==o?s.itemList.splice(o,i||0,...a):s.itemList.push(...a),u("addItemList: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:r,itemCount:a.length}},deleteItem:function(e,t,a,o){return(n.get(e)??[])[t].itemList.splice(a,o),u("deleteItem: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},updateItem:function(e,t,a,o){return(n.get(e)??[])[t].itemList.splice(a,1,o),u("updateItem: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:1}},updateItemList:function(e,t,a,o,i){return(n.get(e)??[])[t].itemList.splice(a,o,...i),u("updateItemList: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},getItem:function(e,t,a){const o=(n.get(e)??[])[t];if(o&&o.itemList.length>0&&a>=0&&a<o.itemList.length)return o.itemList[a]},destroy:function(){e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager---destroy-----\x3e>"),n.clear()}}}(c);let r,d=[],f=-1,v=-1,g=-1;function p(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};d=e.itemList,u.initTab(e),o.value?.setTabsData(t)}function m(e){r=e}function I(e,t){const a=u.getTabPageDataState(e);if(a){if(a.state=t,c.isLoggable(w.DEBUG)){let a="";t==bi.QT_TAB_PAGE_STATE_INIT?a="初始化":t==bi.QT_TAB_PAGE_STATE_IDLE?a="空闲":t==bi.QT_TAB_PAGE_STATE_BUSY?a="加载中":t==bi.QT_TAB_PAGE_STATE_COMPLETE?a="完成":t==bi.QT_TAB_PAGE_STATE_ERROR&&(a="错误"),c.d(Ri,"---------设置数据-----设置状态-----\x3e>>> pageIndex:"+e+" state:"+a)}u.setPageDataState(e,a)}}function h(e){c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=u.getTabPageDataState(e);t&&(t.state=bi.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,u.setPageDataState(e,t));const a=u.getSectionList(e);u.deleteSection(e,0,a.length),function(e){if(e<0||e>d.length)return;const t=d[e];t.__pageNo=0}(e)}function T(e){c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateRecycled---START--\x3e>>pageIndex:"+e);const t=u.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=bi.QT_TAB_PAGE_STATE_IDLE,u.setPageDataState(e,t));const a=u.getSectionList(e);u.deleteSection(e,1,a.length-1),c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateRecycled---END---\x3e>pageIndex:"+e);A(e)>0&&function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----setTabPageDataNo--START---\x3e>>> pageIndex:"+e+" pageNum:"+t);if(e<0||e>d.length)return;const a=d[e];a.__pageNo=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----setTabPageDataNo---END---\x3e>>> pageIndex:"+e+" pageNo:"+a.__pageNo)}(e,1)}function _(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),u.addSectionList(e,t.data,0);const a={data:hi(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",a),L(e),o.value?.setPageData(e,a)}function F(e,t,a=0){u.addSectionList(e,t.data,a);const n={data:hi(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=A(e);0==t?(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",n," deleteCount:"+a),o.value?.setPageData(e,n)):(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",n," deleteCount:"+a),o.value?.addPageData(e,n,a))}catch(e){}L(e)}function S(e,t){u.updateSectionList(e,t.data);const a={data:hi(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,a)}function b(e,t,a){u.updateSection(e,t,a);const n=Ti(0,a);o.value?.updateRootNode(e,t,n)}function y(e){return u.getSectionList(e)}function E(e,t,a){u.deleteSection(e,t,a),o.value?.invokeContentFunction(e,"deleteItemRange",[t,a])}function P(e,t,a,n){u.updateItem(e,t,a,n),o.value?.updateChildNode(e,t,a,n)}function N(e,t,a,n,i){u.addItemList(e,t,a,n,i);const l=u.getSection(e,t);if(l){const a=Ti(0,l);o.value?.updateRootNode(e,t,a)}}function R(e,t,a,n){u.deleteItem(e,t,a,n);const i=u.getSection(e,t);if(i){const a=Ti(0,i);o.value?.updateRootNode(e,t,a)}}function A(e){if(e<0||e>d.length)return 0;const t=d[e];return null==t.__pageNo&&(t.__pageNo=0),c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----getTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo),t.__pageNo}function L(e){if(e<0||e>d.length)return;const t=d[e];if(null==t.__pageNo)return t.__pageNo=1,void(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:1"));t.__pageNo=t.__pageNo+1,c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo)}function C(e,o,i,l){let s=A(o),r=u.getTabPageDataState(o);if(c.isLoggable(w.DEBUG)&&c.d(Ri,"--1--emitOnLoadTabPageDataEvent---设置数据---\x3e>>> caller: "+e+" pageIndex: "+o+" sectionIndex: "+l+" preloadNumber: "+t.preloadNumber+" state: "+r?.state),!r||r.state!==bi.QT_TAB_PAGE_STATE_IDLE&&r.state!==bi.QT_TAB_PAGE_STATE_INIT)c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----loadPageData--状态不对--\x3e>>>",o);else{const r=u.getSectionList(o);c.isLoggable(w.DEBUG)&&c.d(Ri,"--2--emitOnLoadTabPageDataEvent---设置数据---\x3e>>> caller: "+e+" pageIndex: "+o+" sectionIndex: "+l+" preloadNumber: "+t.preloadNumber+" sectionLength: "+r.length+" section: ",r),l>=r.length-t.preloadNumber-1?(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----<<<<<加载更多数据>>>>>-----\x3e>>> pageIndex:"+o+" pageNo:"+s+" sectionIndex:"+l+" sectionListLength:"+r.length),I(o,bi.QT_TAB_PAGE_STATE_BUSY),n?.checkIsStaticDatas(o,s)||a.emit("onTabPageLoadData",o,s,i)):c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",o)}}function U(){clearTimeout(g),g=setTimeout(()=>{const e=u.getSectionListByState(f,yi.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach(e=>{c.isLoggable(w.DEBUG)&&c.d(Ri,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+f+" sectionIndex:",e.sectionIndex)}),a.emit("onTabPageSectionAttached",f,e))},100)}function k(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),a.emit("onTabPageScroll",e,t)}function O(e,t,n){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+n),a.emit("onTabPageScrollStateChanged",e,t,n)}const B=(e,t,a)=>{u.insertSectionList(e,t,a);const n=hi(r,a);o.value?.insertPageData(e,t,n)};return n=Ni(t,{initPage:m,initTab:p,setPageData:_,addPageData:F,updatePageData:S,insertPageData:B,updatePageSection:b,deletePageSection:E,getPageSectionList:y,addPageItemList:N,updatePageItem:P,deletePageItem:R}),{tabs:o,ifTabs:i,navBarRef:s,initTab:p,initPage:m,setPageState:I,setPageData:_,addPageData:F,updatePageData:S,updatePageSection:b,getPageSection:function(e,t){return u.getSection(e,t)},getPageSectionList:y,deletePageSection:E,addPageItemList:N,getPageItem:function(e,t,a){return u.getItem(e,t,a)},updatePageItem:P,deletePageItem:R,focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,a){o.value?.invokeContentFunction(e,t,a)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,a){o.value?.getRootNodeViewState(e,t,a)},getChildNodeViewState:function(e,t,a,n,i){o.value?.getChildNodeViewState(e,t,a,n,i)},dispatchUIFunctionOnChildNode:function(e,t,a,n,i){o.value?.dispatchUIFunctionOnChildNode(e,t,a,n,i)},updateItemMatched:function(e="id",t,a){o.value?.updateItemMatched(e,t,a)},updateRootNode:function(e,t,a){o.value?.updateRootNode(e,t,a)},updateChildNode:function(e,t,a,n){o.value?.updateChildNode(e,t,a,n)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,a=e.useDiff;c.isLoggable(w.DEBUG)&&c.d(Ri,"----------设置数据----onTabPageLoadData---加载数据开始----\x3e>>>pageIndex:"+t),h(t),C("onTabPageLoadData",t,a,0),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------设置数据----onTabPageLoadData---加载数据结束----\x3e>>>pageIndex:"+t)},onTabPageChanged:function(e){const t=e.pageIndex;if(c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB切换开始--\x3e>>>pageIndex:",t),f==t)return;f=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB重置开始--\x3e>>>pageIndex:",t);for(let e=0;e<d.length;e++){const a=u.getTabPageDataState(e);c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据--调用setPageStateRecycled--START->>>> index:"+e+" lastTabPageIndex:"+v+" pageIndex:"+t+" pageState:",a),e!=t&&(e!=v||e==v&&Math.abs(v-t)>1)&&a&&Math.abs(e-t)>1&&a.state!=bi.QT_TAB_PAGE_STATE_INIT&&(c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据--调用setPageStateRecycled--END->>>> index:"+e+" lastTabPageIndex:"+v+" pageIndex:"+t+" pageState:",a),T(e))}c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB重置结束--\x3e>>>pageIndex:",t);const n=e.data;a.emit("onTabPageChanged",t,n);const o=u.getTabPageDataState(t);o&&o.sectionBindIndex>=-1&&C("onTabPageChanged",t,!1,o.sectionBindIndex),U(),v=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB切换结束--\x3e>>>pageIndex:",t)},onTabEvent:function(e){const t=e.params,n=e.eventName,o=e.params.itemPosition,i=e.params.x,l=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabEvent------\x3e>>> eventName:"+n+" tabIndex:"+o+" params:",t),a.emit("onTabEvent",o,n,t),n){case"onMoveToTopStart":a.emit("onTabMoveToTopStart",o,n,t);break;case"onMoveToTopEnd":a.emit("onTabMoveToTopEnd",o,n,t);break;case"onMoveToBottomStart":a.emit("onTabMoveToBottomStart",o,n,t);break;case"onMoveToBottomEnd":a.emit("onTabMoveToBottomEnd",o,n,t);break;case"onTabChanged":a.emit("onTabChanged",o,n,t);break;case"onScroll":k(i,l);break;case"onScrollStateChanged":O(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,n,o){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",n),a.emit("onTabPageItemClick",f,e,t,n,o)},onWaterfallItemFocused:function(e,t,n,o){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+n+" item:",o),a.emit("onTabPageItemFocused",f,e,t,n,o)},onWaterfallSectionBind:function(e,t){e<0||(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const a=u.getTabPageDataState(e);a&&(a.sectionBindIndex=t,u.setPageDataState(e,a))}(e,t),e===f&&(c.isLoggable(w.DEBUG)&&c.d(Ri,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),C("onTabPageChanged",e,!1,t)))},onWaterfallSectionAttached:function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),u.setSectionState(e,t,yi.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==f&&U()},onWaterfallSectionDetached:function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),u.setSectionState(e,t,yi.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:k,onWaterfallScrollStateChanged:O,onTabPageScrollToStart:function(e){const t=e.pageIndex;a.emit("onTabPageScrollToStart",t),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;a.emit("onTabPageScrollToEnd",t),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){a.emit("onTabClick",e)},getCurrentPageIndex:function(){return f},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},insertPageData:B,onPluginLoadSuccess:function(e){a.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){a.emit("onPluginLoadError",e)},getDataManager:function(){return u},...Dn(o)}}});Ai.render=function(e,a,l,c,r,d){const f=o("qt-nav-bar"),v=o("qt-waterfall"),g=o("recycler-view-pager"),p=o("tabs");return e.ifTabs?(t(),i(p,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),offscreenPageLimit:e.offScreenPageLimit,dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:h(()=>[T(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,tabEnable:e.qtTabSectionEnable.tabEnable,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:h(()=>[n(e.$slots,"tab-item")]),_:3},8,["class","sid","tabEnable","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),T(g,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical"},{default:h(()=>[T(v,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical,"qt-tab-section-enable":e.qtTabSectionEnable,verticalFadingEdgeEnabled:e.tabContentVerticalFadingEdgeEnabled,fadingEdgeLength:e.tabContentFadingEdgeLength,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick,onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError},{item:h(()=>[n(e.$slots,"waterfall-item")]),"shared-item":h(()=>[n(e.$slots,"waterfall-shared-item")]),"list-item":h(()=>[n(e.$slots,"waterfall-list-item")]),section:h(()=>[n(e.$slots,"waterfall-section")]),"vue-section":h(()=>[n(e.$slots,"waterfall-vue-section")]),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","blockFocusDirections","qt-tab-section-enable","verticalFadingEdgeEnabled","fadingEdgeLength","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick","onOnPluginLoadSuccess","onOnPluginLoadError"])]),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction"])]),_:3},8,["offscreenPageLimit","dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},Ai.__file="src/tab/index.vue";var Li=za({name:"qt-vue-section",setup(t,a){const n=e();return{onSectionBind:function(){},viewRef:n,...Dn(n)}}});Li.render=function(e,a,l,c,s,u){const r=o("tv-item");return t(),i(r,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["onItemBind"])},Li.__scopeId="data-v-d02af3c2",Li.__file="src/section/index.vue";var Ci=za({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,a){const n=e();let o=e(1);const i=e(),l=e();let c=[],s=-1,u=-1,r=[];let d=-1;let f=-1,v=-1;return{descendantFocusability:o,content_list_view:i,nav_list_view:l,init:e=>{e.forEach((a,n)=>{a.isPlaying=!1,t.currentFocusIndex==n&&(a.isPlaying=!0);let o=!1;for(let e=0;e<c.length;e++){const t=c[e];a.categoryname==t.categoryname&&(a.navIndex=e,o=!0)}o||(a.navIndex||(a.navIndex=c.length),c.push({type:a.type,decoration:{left:50},categoryname:a.categoryname,startIndex:n,isNeedFocus:!0})),r=e}),La(()=>{c[c.length-1].decoration.right=50,i.value?.setListData(e),l.value?.setListData(c),setTimeout(()=>{s=t.currentFocusIndex,u=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(u,!0)},300)})},onItemBind:()=>{},onSItemClick:e=>{a.emit("item-click",e)},onFItemClick:e=>{a.emit("item-click",e)},scrollToIndex:(e,t=!0,a=802)=>{i.value?.scrollToIndex(-1,e,t,-1,a)},scrollToFocused:e=>{o.value=1,setTimeout(()=>{i.value?.scrollToFocused(e)},300)},setItemFocused:e=>{setTimeout(()=>{o.value=1},300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout(()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=r[s];e.isPlaying=!1,i.value?.updateItemTraverse(s,e)}let t=r[e.position];t.isPlaying=!0,i.value?.updateItemTraverse(e.position,t)}s=e.position,u!=e.item.navIndex&&(u=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),a.emit("item-focused",e)}else u=e.item.navIndex},300)},onFItemFocused:e=>{"0"==e.position&&i.value?.setItemSelected(1,!0),clearTimeout(f),clearTimeout(v),e.hasFocus&&u!=e.position&&(o.value=2,u=e.position,r[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(-1,e.item.startIndex,!1,-1,t.yOffest),v=setTimeout(()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout(()=>{o.value=1},200)},400)):(i.value?.scrollToIndex(-1,e.item.startIndex+1,!1,-1,t.yOffest),v=setTimeout(()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout(()=>{o.value=1},200)},400)))},updateItem:(e,t)=>{r[e]=t,r.forEach((e,t)=>{for(let t=0;t<c.length;t++){const a=c[t];e.categoryname==a.categoryname&&(e.navIndex=t)}}),i.value?.updateItemTraverse(e,r[e])},viewRef:n,...Dn(n)}}});const Ui={focusable:!1,clipChildren:!1,ref:"viewRef"},Di=["focusScale"],wi={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},xi={class:"playMark",focusable:!1},ki=["type"],Oi={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Ci.render=function(e,i,l,r,d,f){const v=o("play-mark"),g=o("text-view"),p=o("qt-list-view");return t(),a("div",Ui,[T(p,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,name:"content_list_view",onItemFocused:e.onSItemFocused},{default:h(()=>[_("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[i[0]||(i[0]=_("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1)),i[1]||(i[1]=_("div",{class:"titMask",focusable:!1,showIf:"${isPlaying}",gradientBackground:{colors:["#00000000","#FF000000"],cornerRadii4:[0,0,8,8]}},null,-1)),_("div",wi,[_("div",xi,[T(v,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),T(g,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Di),n(e.$slots,"item")]),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),T(p,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,nextFocusName:{up:"content_list_view"},horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:h(()=>[_("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[i[2]||(i[2]=_("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1)),i[3]||(i[3]=_("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1)),_("div",Oi,[T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ki),n(e.$slots,"navItem")]),_:3},8,["class","onItemClick","onItemFocused"])],512)},Ci.__file="src/classified-list-view/index.vue";var Bi=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})}}});const Mi=["gradientBackground"],Wi=["gradientBackground"],Gi={class:"number-item-text-root-css",duplicateParentState:!0},Vi={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},qi=["gradientBackground"];Bi.render=function(e,n,i,l,s,r){const d=o("play-mark"),f=o("text-view");return t(),a("div",{class:"number-item-container",focusable:!0,focusScale:1,gradientBackground:e.gradientBackground},[_("div",{class:"number-item-container-bg-focus",duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,8,Wi),u(" 文字"),_("div",Gi,[_("div",Vi,[T(d,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markColor},null,8,["markColor"]),T(d,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markVipColor},null,8,["markColor"])]),T(f,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),T(f,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),lines:1,text:"${title}"},null,8,["style"])]),u(" vip角标 "),_("div",{class:"media-series-number-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[T(f,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,qi)],8,Mi)},Bi.__scopeId="data-v-4afb8987",Bi.__file="src/series/item/media-series-number-item.vue";var zi=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemWidth:{type:Number,default:490},itemHeight:{type:Number,default:100}}});const $i=["gradientBackground"],Qi=["gradientBackground"],Yi=["gradientBackground"];zi.render=function(e,n,i,l,s,u){const r=o("play-mark"),d=o("text-view");return t(),a("div",{class:"text-item-container",focusable:!0,focusScale:1,style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),gradientBackground:e.gradientBackground},[_("div",{class:"text-item-container-bg-focus",style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,12,Qi),_("div",{class:"text-item-container-css",style:c([{width:`${e.itemWidth}px`,height:`${e.itemHeight}px`},{position:"absolute","align-items":"center","background-color":"transparent"}]),duplicateParentState:!0},[_("div",{style:c({position:"absolute",flexDirection:"row",justifyContent:"center",alignItems:"center",width:`${e.itemWidth}px`,height:`${e.itemHeight}px`,backgroundColor:"transparent"}),showOnState:"selected",duplicateParentState:!0},[T(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markColor},null,8,["markColor"]),T(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markVipColor},null,8,["markColor"])],4),T(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),T(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),text:"${title}"},null,8,["style"])],4),_("div",{class:"media-series-text-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[T(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,Yi)],12,$i)},zi.__scopeId="data-v-4859f623",zi.__file="src/series/item/media-series-text-item.vue";var Hi,ji,Ki=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,a){const n=e();let o=e(!1);const i=D();g(()=>{o.value=!t.customItem});return{selectSeries:n,showOld:o,onLoadData:e=>{a.emit("load-data",e)},setPageData:(e,t)=>{n.value?.setPageData(e,t)},setInitData:(e,t)=>{n.value?n.value?.setInitData(e,t):La(()=>{n.value&&n.value?.setInitData(e,t)})},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{n.value?.scrollTo(e)},scrollToWithOffset:(e,t,a)=>{n.value?.scrollToWithOffset(e,t,a)},requestFocus:e=>{n.value?.requestFocus(e)},setSelected:e=>{La(()=>{i.isLoggable(w.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),n.value?.setSelected(e)})},setup:()=>{n.value?.setup()},setGroupSelected:e=>{n.value?.setGroupSelected(e)},release:()=>{n.value?.release()}}}});function Zi(e,t,a,n){const o=function(e,t,a,n){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Hi.QT_MEDIA_SERIES_TYPE_CUSTOM:case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return n.dataStyle?.itemHeight??80;case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return n.dataStyle?.itemHeight??100;case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,0,0,n);switch(e){case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:n?.dataStyle?.itemGap??36,initPosition:n.initPosition,contentHeight:o};case Hi.QT_MEDIA_SERIES_TYPE_CUSTOM:case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:n?.dataStyle?.itemGap??15.6,initPosition:n.initPosition,contentHeight:o};case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Ki.render=function(e,a,l,s,r,d){const f=o("select-series"),v=o("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(v,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):u("v-if",!0)},Ki.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(Hi||(Hi={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(ji||(ji={}));var Ji,Xi,el,tl,al,nl,ol=l({name:"qt-media-series",components:{"media-series-number-item":Bi,"media-series-text-item":zi,"media-series":Ki},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .5)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .5)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemDivWidth:{type:Number,default:490},itemDivHeight:{type:Number,default:100}},setup(t,a){const n=e(),{clearFocus:o,requestFocusDirectly:i,setVisibility:l}=Dn(n),c=e(!1),s=D(),u=e(),r=e(),d=e(),f=e(),v=e(0),g=e(!1),p=e(Hi.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:g,seriesType:p,params:u,commonParams:r,scrollParams:d,groupParams:f,mediaSeriesRef:n,show:c,height:v,onLoadData:e=>{a.emit("load-data",e)},setInitData:(e,a,o,i)=>{p.value=e,m=i,Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=Zi(e,0,0,i),d.value=function(e){if(e===Hi.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,a){const n={};if(t.enable){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:n.groupSize=10;break;case Hi.QT_MEDIA_SERIES_TYPE_TEXT:n.groupSize=3;break;default:n.groupSize=t.size}const o=t.groupStyle;o&&(o.groupMarginLeft&&(n.groupMarginLeft=o.groupMarginLeft),o.itemWidth&&(n.itemWidth=o.itemWidth),o.itemHeight&&(n.itemHeight=o.itemHeight),o.itemGap&&(n.itemGap=o.itemGap),o.mark&&(n.mark=o.mark)),a==ji.QT_MEDIA_SERIES_STYLE_TYPE_VIP?(n.textColor=o?.textVipColor??{normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},n.focusBackground=o?.focusVipBackground??{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},n.mark=o?.mark??{color:"#FFD97C"}):o&&(o.textColor&&(n.textColor=o.textColor),o.focusBackground&&(n.focusBackground=o.focusBackground),o.background&&(n.background=o.background))}return n}(e,a,o),Hi.QT_MEDIA_SERIES_TYPE_CUSTOM==e?v.value=t.itemHeight+(a.enable?70:0):v.value=function(e,t){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,a),La(()=>{n.value&&n.value?.setInitData(i.totalCount,i.pageSize)}),s.isLoggable(w.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",v.value)):(u.value=function(e,t,a,n){const o=a==ji.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:n.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!o,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:o?"#FFD97C":"#ffffffff",selected:o?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:o?"#603314":"#000000",selected:o?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[o?"#FFE398":"#F5F5F5",o?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:o?"#FFD97C":"#FFFFFF"}},i}(0,a,o,i),v.value=function(e,t,a,n,o){return t.enable?o.value.template.height+o.value.groupHeight+o.value.groupTopMargin:o.value.template.height}(0,a,0,0,u),u.value.totalCount=i.totalCount,u.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let a=t;p.value==Hi.QT_MEDIA_SERIES_TYPE_NUMBER?a=function(e,t,a){const n=[];if(a.length>0){const o={width:160,height:80},i={width:0,height:0},l={width:24,height:25};a.forEach((a,c)=>{let s=e*t+c+1,u=s>9?""+s:"0"+s;const r={id:a.id,title:u,vip:a.vip};a.vip&&a.vip.enable?(r.vipTitleStyle=o,r.vipMarkStyle=l,r.normalTitleStyle=i,r.normalMarkStyle=i):(r.vipTitleStyle=i,r.vipMarkStyle=i,r.normalTitleStyle=o,r.normalMarkStyle=l),n.push(r)})}return n}(e,m.pageSize,t):p.value==Hi.QT_MEDIA_SERIES_TYPE_TEXT?a=function(e,t,a){if(a.length>0){const e={width:373,height:100},t={width:0,height:0},n={width:24,height:25};a.forEach((a,o)=>{a.vip&&a.vip.enable?(a.vipTitleStyle=a?.vipTitleStyle??e,a.vipMarkStyle=a?.vipMarkStyle??n,a.normalTitleStyle=t,a.normalMarkStyle=t):(a.vipTitleStyle=t,a.vipMarkStyle=t,a.normalTitleStyle=a?.normalTitleStyle??e,a.normalMarkStyle=a?.normalMarkStyle??n)})}return a}(0,m.pageSize,t):(p.value==Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(a=function(e,t,a){return a}(0,m.pageSize,t)),n.value?.setPageData(e,a)},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{n.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{n.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{n.value?.requestFocus(e)},setSelected:e=>{n.value?.setSelected(e)},setup:()=>{n.value?.setup()},setGroupSelected:e=>{n.value?.setGroupSelected(e)},release:()=>{n.value?.release(),c.value=!1},blockRootFocus:()=>{n.value&&L.callUIFunction(n.value,"blockRootFocus",[])},unBlockRootFocus:()=>{n.value&&L.callUIFunction(n.value,"unBlockRootFocus",[])},clearFocus:o,requestFocusDirectly:i,setVisibility:l}}});ol.render=function(e,a,l,c,s,r){const d=o("media-series-number-item"),f=o("media-series-text-item"),v=o("media-series");return e.show?(t(),i(v,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:h(()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","text-colors","text-vip-colors"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"item-height":e.itemDivHeight,"item-width":e.itemDivWidth,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","item-height","item-width","text-colors","text-vip-colors"])):"custom"===e.seriesType?n(e.$slots,"default",{key:2}):u("v-if",!0)]),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):u("v-if",!0)},ol.__file="src/series/index.vue",function(e){e.SEQUENCE="sequence",e.TOGETHER="together",e.WITH="with",e.BEFORE="before",e.AFTER="after"}(Ji||(Ji={})),function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(Xi||(Xi={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(el||(el={})),function(e){e.ALPHA="alpha",e.ROTATION="rotation",e.ROTATION_X="rotationX",e.ROTATION_Y="rotationY",e.ROTATION_Z="rotationZ",e.SCALE_X="scaleX",e.SCALE_Y="scaleY",e.SCALE_Z="scaleZ",e.TRANSLATION_X="translationX",e.TRANSLATION_Y="translationY",e.TRANSLATION_Z="translationZ"}(tl||(tl={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(al||(al={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(nl||(nl={}));const il="QTCollapse";var ll=za({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,a){const n=D(),o=e();let i,l,c=e();const s=e(0),u=e(0);let r=200;const d={};const v={};function g(e){return v[`${e}`]}function p(e,t,o=!1){const l=i[e],c=l.__y,s=u.value-l.height-c;n.isLoggable(w.DEBUG)&&n.d(il,"-------expandItem-------\x3e>>>",e,s,c);let r=0;for(let a=i.length-1;a>=0;a--){const l=i[a];l.height;const c=l.collapseHeight;a<e&&(r+=c);try{const t=I(a);t?t.onCollapseItemExpand(a==e,o):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",l)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const u=g(a);if(u){let o=0;if(a>e)for(let t=0;t<a-e-1;t++){o+=i[t+e+1].collapseHeight}n.isLoggable(w.DEBUG)&&n.d(il,"-------expandItem----translationY---\x3e>>>",l,a,l.__translationY,s+r-o,o),m(a+"",l,u,l.__translationY,s+r-o,t)}}try{a.emit("onCollapseItemExpand",e,l,o)}catch(e){}}function m(e,t,a,n,o,i){a.objectAnimator2(e,nl.QT_ANIMATION_VALUE_TYPE_FLOAT,el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,n,o,i,-1,0,!1,!1,{type:Xi.QT_ACCELERATE_INTERPOLATOR,params:[2]}),a.startAnimator(e),t.__translationY=o}function I(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,a){e&&(d[`${a}`]=e)},initAnimComponentRef:function(e,t,a){e&&(v[`${a}`]=e)},init:function(e){const t=a.slots.default?.()??[];c.value=t.filter(e=>"object"==typeof e.type||"function"==typeof e.type),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,u.value=e.height,r=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let a=e-1;a>=0;a--){const e=i[a];t+=e.height,e.__y=u.value-t,e.__translationY=0}n.isLoggable(w.DEBUG)&&n.d(il,"----initCollapseItem----\x3e>>>",i)}(),f(()=>{p(l,0,!0)})},getItem:I,expandItem:function(e){p(e,r)},collapse:function(){const e=i.length,t=i[e-1],a=t.__y,o=u.value-t.height-a;let l=0;for(let t=e-1;t>=0;t--){const e=i[t];l+=e.collapseHeight;try{const a=I(t);a?a.onCollapseItemExpand(!1,!1):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",e)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const a=g(t);a&&m(t+"",e,a,e.__translationY,o+l,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const a=I(e);a?a.onCollapseItemExpand(!0,!1):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",t)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const a=g(e);a&&m(e+"",t,a,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:u,viewRef:o,...Dn(o)}}});ll.render=function(e,n,l,s,u,r){const d=o("qt-animation");return t(),a("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),a(b,null,y(e.collapseItemComponentList,(a,n)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,a,n),class:"qt-collapse-item-css"},{default:h(()=>[(t(),i(E(a),{key:a.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,a,n)}))]),_:2},1536))),256))],4)},ll.__scopeId="data-v-4feca809",ll.__file="src/collapse/index.vue";var cl=za({name:"qt-long-image",emits:["onInitializeSuccess","onInitializeError","onDownLoad","onImageLoad","onScroll","onRendered","onScaleChanged","onCenterChanged"],props:{size:{type:String,default:"default"},activeColor:{type:String,default:"default"},inactiveColor:{type:String,default:"#e2e2e2"},inactiveBorderColor:{type:String,default:"#b5b5b5"},sliderColor:{type:String,default:"#FFFFFF"},disabledActiveBgColor:{type:String,default:"#269A4D"},disabledInactiveBgColor:{type:String,default:"#AAAAAA"},disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},borderSize:{type:Number,default:3},sliderAssetsIcon:{type:String,default:""},sliderNetworkIcon:{type:String,default:""},zoomEnabled:{type:Boolean,default:!0},src:{type:String},scaleType:{type:Number,default:4}},setup(t,a){const n=e(),o=k(),i=O(),l=e(!1);function c(e){a.emit("onInitializeError",e)}i.isComponentRegistered("eskit.sdk.support.longimage.ESLongImageViewComponent").then(e=>{e?l.value=!0:function(){const e={pkg:"eskit.plugin.long.image3"};o.addListener(e,s),o.installPlugin(e)}()},e=>{c(e)}),S(()=>[n.value],([e],[t])=>{e&&a.emit("onInitializeSuccess")},{flush:"post"});const s={onPluginInstallSuccess(e,t,a){o.removeListener(s),l.value=!0},onPluginInstallProgress(e,t,a,n){},onPluginInstallError(e,t,a){o.removeListener(s),c({status:t,msg:a})}};return{viewRef:n,setSrc:(e,t="")=>{n.value?.setSrc(e,t)},setInitScale:(e,t=0)=>{n.value?.setInitScale(e,t)},setInitPosition:e=>{n.value?.setInitPosition(e)},setInitCenter:(e,t)=>{n.value?.setInitCenter(e,t)},setInitOrientation:e=>{n.value?.setInitOrientation(e)},zoom:(e,t=0)=>{n.value?.zoom(e,t)},zoomByPoint:(e,t=0,a=0,o=0)=>{n.value?.zoomByPoint(e,t,a,o)},zoomByCenter:(e,t=0)=>{n.value?.zoomByCenter(e,t)},scrollDown:(e=200)=>{n.value?.scrollDown(e)},scrollUp:(e=200)=>{n.value?.scrollUp(e)},scrollLeft:(e=200)=>{n.value?.scrollLeft(e)},scrollRight:(e=200)=>{n.value?.scrollRight(e)},scrollTo:(e,t)=>{n.value?.scrollTo(e,t)},rotate:e=>{n.value?.rotate(e)},setScaleByAnimal:e=>{n.value?.setScaleByAnimal(e)},setDebug:e=>{n.value?.setDebug(e)},enableHDR:e=>{n.value?.enableHDR(e)},setDefaultHDR:e=>{n.value?.setDefaultHDR(e)},setSaturation:e=>{n.value?.setSaturation(e)},setContrast:e=>{n.value?.setContrast(e)},setBrightness:e=>{n.value?.setBrightness(e)},setWarmth:e=>{n.value?.setWarmth(e)},setOverlayAlpha:e=>{n.value?.setOverlayAlpha(e)},isHDR:()=>n.value?n.value.isHDR():Promise.reject(),getSaturation:()=>n.value?n.value.getSaturation():Promise.reject(),getContrast:()=>n.value?n.value.getContrast():Promise.reject(),getBrightness:()=>n.value?n.value.getBrightness():Promise.reject(),getWarmth:()=>n.value?n.value.getWarmth():Promise.reject(),getOverlayAlpha:()=>n.value?n.value.getOverlayAlpha():Promise.reject(),onDownLoad:e=>{a.emit("onDownLoad",e)},onImageLoad:e=>{a.emit("onImageLoad",e)},onRendered:e=>{a.emit("onRendered",e)},onScroll:e=>{a.emit("onScroll",e)},onScaleChanged:e=>{a.emit("onScaleChanged",e)},onCenterChanged:e=>{a.emit("onCenterChanged",e)},componentInitialized:l,...Dn(n)}}});cl.render=function(e,a,n,l,c,s){const r=o("qt-long-image-view");return e.componentInitialized?(t(),i(r,{key:0,ref:"viewRef",size:e.size,imageUrl:e.src,isScaleEnabled:e.zoomEnabled,activeColor:e.activeColor,inactiveColor:e.inactiveColor,inactiveBorderColor:e.inactiveBorderColor,sliderColor:e.sliderColor,disabledActiveBgColor:e.disabledActiveBgColor,disabledInactiveBgColor:e.disabledInactiveBgColor,disabled:e.disabled,modelValue:e.modelValue,borderSize:e.borderSize,scaleType:e.scaleType,sliderAssetsIcon:e.sliderAssetsIcon,sliderNetworkIcon:e.sliderNetworkIcon,onOnDownLoad:e.onDownLoad,onOnImageLoad:e.onImageLoad,onOnScroll:e.onScroll,onOnRendered:e.onRendered,onOnScaleChanged:e.onScaleChanged,onOnCenterChanged:e.onCenterChanged},null,8,["size","imageUrl","isScaleEnabled","activeColor","inactiveColor","inactiveBorderColor","sliderColor","disabledActiveBgColor","disabledInactiveBgColor","disabled","modelValue","borderSize","scaleType","sliderAssetsIcon","sliderNetworkIcon","onOnDownLoad","onOnImageLoad","onOnScroll","onOnRendered","onOnScaleChanged","onOnCenterChanged"])):u("v-if",!0)},cl.__file="src/long-image/index.vue";var sl=l({name:"qt-list-view-pro",__name:"qt-list-view-pro",props:{size:{type:Object,default:()=>({width:1920,height:1080})},horizontal:{type:Boolean,default:!1},value:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},emits:["item-click","item-focused","focus-lost"],setup(a,{expose:l,emit:s}){const u=s,r=a;function f(e){u("item-click",e)}function v(e){u("item-focused",e)}const g=e();return S(()=>[r.value,g.value],([e,t])=>{if(e&&t){const t=d(e),a=Array.isArray(t)?t.map(e=>JSON.parse(JSON.stringify(e))):[];g.value?.setListData(a)}},{immediate:!0}),l({scrollToIndex:function(e,t,a,n,o){g.value?.scrollToIndex(e,t,a,n,o)},scrollToPositionWithOffset:function(e,t,a){g.value?.scrollToPositionWithOffset(e,t,a)},scrollToPosition:function(e){g.value?.scrollToPosition(e)},requestChildFocus:function(e){g.value?.requestChildFocus(e)},setItemSelected:function(e,t=!1){g.value?.setItemSelected(e,t)}}),(e,l)=>{const s=o("qt-list-view");return t(),i(s,{horizontal:a.horizontal,ref_key:"listViewRef",ref:g,style:c({width:a.size.width,height:a.size.height,backgroundColor:a.backgroundColor}),clipChildren:!1,onItemClick:f,onItemFocused:v,useDiff:!0,focusable:!1},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["horizontal","style"])}}});sl.__file="src/pro/qt-list-view-pro.vue";const ul={};ul.render=function(e,a){const n=o("qt-text"),l=o("qt-view");return t(),i(l,{style:{width:160,height:80,backgroundColor:"rgba(255,255,255,0.06)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[T(n,{text:"${text}",fontSize:"36",style:{height:40,color:"white",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center"})]),_:1})},ul.__scopeId="data-v-7a6d61f4",ul.__file="src/pro/style/series-item-number.vue";const rl={};rl.render=function(e,n){const i=o("qt-text"),l=o("qt-view");return t(),a(b,null,[u(" 纯文字样式 "),T(l,{type:"1",style:{width:300,height:80,backgroundColor:"rgba(255,255,255,0.06)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[T(i,{text:"${title}",fontSize:"28",style:{height:40,color:"white",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center",maxLines:"2"})]),_:1})],2112)},rl.__scopeId="data-v-730f67ac",rl.__file="src/pro/style/series-item-text.vue";const dl={};dl.render=function(e,n){const i=o("qt-image"),l=o("play-mark"),c=o("qt-view"),s=o("qt-text");return t(),a(b,null,[u(" 左图右文样式 "),T(c,{type:"1",style:{width:400,height:120,backgroundColor:"rgba(255,255,255,0.06)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex flex-row items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[u(" 左侧图片容器 "),T(c,{class:"relative",style:{width:160,height:90,marginLeft:12}},{default:h(()=>[T(i,{style:{width:160,height:90,borderRadius:4,backgroundColor:"rgba(255,255,255,0.06)"},src:"${imageUrl}"}),u(" 播放标识 "),T(l,{name:"playMark",showIf:"${isPlaying}",style:{width:26,height:30,position:"absolute",left:67,top:30},markColor:"#FFFFFF",gap:2,focusable:!1})]),_:1}),u(" 右侧文字 "),T(c,{class:"flex flex-col justify-center",style:{marginLeft:12,marginRight:8},duplicateParentState:""},{default:h(()=>[T(s,{text:"${title}",fontSize:"28",style:{height:32,color:"white",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",maxLines:"1"}),T(s,{text:"${subtitle}",fontSize:"24",style:{height:28,color:"rgba(255,255,255,0.7)",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",maxLines:"1"})]),_:1})]),_:1})],2112)},dl.__scopeId="data-v-56994b14",dl.__file="src/pro/style/series-item-image-left.vue";const fl={};var vl;fl.render=function(e,n){const i=o("qt-image"),l=o("qt-text"),c=o("qt-view");return t(),a(b,null,[u(" 上图下文样式 "),T(c,{type:"1",style:{width:200,height:140,backgroundColor:"rgba(255,255,255,0.06)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex flex-col items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[u(" 上方图片 "),T(i,{style:{width:160,height:90,borderRadius:4,marginTop:8},src:"${imageUrl}"}),u(" 下方文字 "),T(l,{text:"${title}",fontSize:"24",style:{height:30,color:"white",focusColor:"#13161B",marginTop:4,marginBottom:8},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center",maxLines:"1"})]),_:1})],2112)},fl.__scopeId="data-v-5fddd194",fl.__file="src/pro/style/series-item-image-top.vue",function(e){e.NUMBER_ONLY="number_only",e.TEXT_ONLY="text_only",e.IMAGE_LEFT_TEXT_RIGHT="image_left_text_right",e.IMAGE_TOP_TEXT_BOTTOM="image_top_text_bottom",e.CUSTOM="custom"}(vl||(vl={}));const gl="qt-media-series-pro";var pl=l({name:"qt-media-series-pro",__name:"qt-media-series-pro",props:{totalEpisodes:{type:Number,required:!0,default:0},currentIndex:{type:Number,required:!1,default:0},groupSize:{type:Number,required:!1,default:3},showGroup:{type:Boolean,required:!1,default:!0},seriesStyle:{type:null,required:!1,default:vl.NUMBER_ONLY},pageSize:{type:Number,required:!1,default:10},itemWidth:{type:Number,required:!1,default:160},itemHeight:{type:Number,required:!1,default:240},onLoadPageData:{type:Function,required:!1}},emits:["item-click","item-focused","group-click","group-focused"],setup(a,{expose:l,emit:s}){const r=a,d=e(r.totalEpisodes),f=e(r.currentIndex??0),v=e(new Map),g=e({start:-1,end:-1}),p=e([]),m=e(null),I=e(null),_=e(-1),F=e(-1);async function b(e){if(console.log(gl,`loadDataBySelectIndex: ${e}`),void 0!==e&&d.value>0){const t=Math.floor(e/r.pageSize);await y(t),console.log(gl,`第${t}页数据加载完成`),B(e)}}async function y(e){if(!r.onLoadPageData)return void console.log(gl,"未提供分页数据加载回调,使用默认数据");console.log(gl,`检查并加载第${e}页数据`);const t=Math.max(0,e-1),a=Math.min(Math.ceil(d.value/r.pageSize)-1,e+1);if(-1===g.value.start||t<g.value.start||a>g.value.end){console.log(gl,`需要加载页面范围: ${t}-${a}`);for(let e=t;e<=a;e++)if(!v.value.has(e))try{console.log(gl,`加载第${e}页数据`);const t=await r.onLoadPageData(e,r.pageSize);console.log(gl,"pageData",t),v.value.set(e,t),D(e,t),console.log(gl,`第${e}页数据加载完成,共${t.length}条`)}catch(t){console.error(gl,`加载第${e}页数据失败:`,t)}g.value={start:t,end:a},console.log(gl,`已加载页面范围更新为: ${t}-${a}`)}}S(()=>r.currentIndex,async(e,t)=>{void 0!==e&&d.value>0&&(console.log(gl,`currentIndex变化: ${t} -> ${e}`),f.value=e,b(e))},{immediate:!0});const E=s,R=P(()=>{switch(r.seriesStyle){case vl.TEXT_ONLY:return 300;case vl.IMAGE_LEFT_TEXT_RIGHT:return 400;case vl.IMAGE_TOP_TEXT_BOTTOM:return 200;default:return r.itemWidth}}),A=P(()=>{switch(r.seriesStyle){case vl.IMAGE_TOP_TEXT_BOTTOM:case vl.IMAGE_LEFT_TEXT_RIGHT:return 120;case vl.CUSTOM:return r.itemHeight;default:return 80}}),L=P(()=>r.showGroup&&d.value>r.groupSize),C=P(()=>{const e=Math.ceil(d.value/r.groupSize),t=Math.floor(_.value/r.groupSize);return Array.from({length:e},(a,n)=>({type:1,text:`${n*r.groupSize+1}-${Math.min((n+1)*r.groupSize,d.value)}`,isSelected:t===n,decoration:{left:0===n?80:0,right:n===e-1?80:16}}))});function U(){const e=function(e,t=0){return Array.from({length:e},(e,a)=>{const n=t+a,o=n===f.value,i={type:1,text:(n+1).toString(),title:`第${n+1}集`,subtitle:`时长: ${Math.floor(60*Math.random())+30}分钟`,imageUrl:"",isPlaying:o,decoration:{left:0===n?80:0,right:n===d.value-1?80:16}};switch(r.seriesStyle){case vl.NUMBER_ONLY:return{...i,text:(n+1).toString()};case vl.TEXT_ONLY:return{...i,title:`第${n+1}集 标题内容`};case vl.IMAGE_LEFT_TEXT_RIGHT:return{...i,title:`第${n+1}集`,subtitle:`时长: ${Math.floor(60*Math.random())+30}分钟`};case vl.IMAGE_TOP_TEXT_BOTTOM:return{...i,title:`第${n+1}集`};default:return i}})}(d.value,0);if(v.value.size>0)for(const[t,a]of v.value.entries()){const n=t*r.pageSize;if(n<d.value)for(let t=0;t<a.length;t++){const o=n+t;if(o<d.value){const n=o===f.value;e[o]={...e[o],...a[t],isPlaying:n}}}}p.value=e}function D(e,t){console.log(gl,`更新第${e}页数据到 seriesList,共${t.length}条`);const a=e*r.pageSize;if(a>=d.value)return;const n=[...p.value];let o=!1;for(let e=0;e<t.length;e++){const i=a+e;if(i<d.value){const a=i===f.value;n[i]={...n[i],...t[e],isPlaying:a},o=!0}}o&&(p.value=n),console.log(gl,"seriesList",p.value)}function w(e){const t=e.position;if(void 0!==t){F.value=t;const e=t*r.groupSize,a=Math.min((t+1)*r.groupSize-1,d.value-1);E("group-focused",t,e,a),G(t);y(Math.floor(e/r.pageSize))}}function x(e){const t=e.position;if(void 0!==t){const e=t*r.groupSize,a=Math.min((t+1)*r.groupSize-1,d.value-1);E("group-click",t,e,a),B(e);y(Math.floor(e/r.pageSize))}}async function k(e){console.log(gl,"onItemFocused:",e);const t=e.position;if(e.isFocused){if(console.log(gl,"onItemFocused:"+t),void 0!==t){_.value=t,E("item-focused",t);const e=t,a=Math.floor(e/r.pageSize);await y(a);const n=Math.floor(t/r.groupSize);F.value=n,M(n),W(n)}}else _.value===t&&(_.value=-1,setTimeout(()=>{-1===_.value&&(console.log(gl,"分集列表已完全失去焦点"),I.value&&(I.value.setItemSelected(-1,!1),F.value=-1,console.log(gl,"清除分组列表选中状态")))},150))}function O(e){const t=e.position;void 0!==t&&E("item-click",t)}function B(e){if(m.value&&e>=0&&e<d.value){m.value.setItemSelected(e,!0),console.log(gl,`setSelectedIndex index=${e}`);const t=[...p.value];let a=!1;t.forEach((e,n)=>{const o=n===f.value;e.isPlaying!==o&&(t[n]={...e,isPlaying:o},a=!0)}),a&&(p.value=t)}}function M(e){const t=Math.ceil(d.value/r.groupSize);I.value&&e>=0&&e<t&&(I.value.setItemSelected(e,!0),F.value=e)}function W(e){const t=Math.ceil(d.value/r.groupSize);if(I.value&&e>=0&&e<t){const t=(()=>{const e=Math.floor(1840/136);return Math.max(1,e)})();console.log(gl,`visibleCount=${t}`);let a=e;a=Math.max(0,e-Math.floor(t/2)-1),I.value.scrollToPosition(a),F.value=e,console.log(gl,`滚动分组列表: 目标索引=${e}, 可见数量=${t}, 滚动位置=${a}`)}}function G(e){const t=Math.ceil(d.value/r.groupSize);if(m.value&&e>=0&&e<t){const t=e*r.groupSize,a=(()=>{const e=R.value+16,t=Math.floor(1840/e);return Math.max(1,t)})(),n=Math.max(0,t-Math.floor(a/2));console.log(gl,`scrollPosition=${n}`),m.value.scrollToPosition(n),B(t),console.log(gl,`滚动分集列表: 分组索引=${e}, 起始集数=${t}, 可见数量=${a}, 滚动位置=${n}`)}}return S(()=>[r.totalEpisodes,r.seriesStyle],()=>{d.value=r.totalEpisodes,U()},{immediate:!0}),l({setSelectedIndex:B,requestFocus:function(){console.log(gl,"requestFocus");const e=_.value>=0?_.value:0;m.value&&e>=0&&e<d.value&&m.value.requestChildFocus(e)},requestChildFocus:function(e){console.log(gl,`requestChildFocus index=${e}`),m.value&&e>=0&&e<d.value&&(m.value.requestChildFocus(e),_.value=e)},requestGroupFocus:function(){console.log(gl,"requestGroupFocus");const e=F.value>=0?F.value:0,t=Math.ceil(d.value/r.groupSize);I.value&&e>=0&&e<t&&I.value.requestChildFocus(e)},setGroupIndex:M,scrollGroupListToIndex:W,scrollSeriesListToGroup:G,updateTotalEpisodes:function(e,t){d.value=e,void 0!==t&&(f.value=t),U(),b(t??f.value)},updateCurrentIndex:function(e){f.value=e,b(e),B(e)}}),(e,a)=>{const l=o("qt-text"),s=o("qt-view");return t(),i(s,{class:"series-container",clipChildren:!1},{default:h(()=>[u(" 分集列表 "),T(sl,{class:"series-list",enableFirstFocusAtStart:!0,blockFocusDirections:["left","right"],name:"seriesListView",ref_key:"listViewRef",ref:m,size:{width:1920,height:A.value},backgroundColor:"transparent",value:p.value,horizontal:!0,onItemClick:O,onItemFocused:k,clipChildren:!1},{default:h(()=>[r.seriesStyle===N(vl).NUMBER_ONLY?(t(),i(ul,{key:0,type:1})):r.seriesStyle===N(vl).TEXT_ONLY?(t(),i(rl,{key:1,type:1})):r.seriesStyle===N(vl).IMAGE_LEFT_TEXT_RIGHT?(t(),i(dl,{key:2,type:1})):r.seriesStyle===N(vl).IMAGE_TOP_TEXT_BOTTOM?(t(),i(fl,{key:3,type:1})):r.seriesStyle===N(vl).CUSTOM?n(e.$slots,"custom",{key:4}):u("v-if",!0)]),_:3},8,["size","value"]),u(" 分组组件 "),L.value?(t(),i(sl,{key:0,class:"group-list",enableFirstFocusAtStart:!0,blockFocusDirections:["left","right"],name:"groupListView",ref_key:"groupListViewRef",ref:I,size:{width:1920,height:80},backgroundColor:"transparent",value:C.value,horizontal:!0,onItemClick:x,onItemFocused:w},{default:h(()=>[T(s,{type:"1",style:c({width:120,height:40,backgroundColor:"transparent",borderRadius:8,focusBorderRadius:8,focusBackgroundColor:"#FFFFFF"}),class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:"",focusBackgroundColor:"#FFFFFF"},{default:h(()=>[T(l,{text:"${text}",fontSize:"30",style:{height:30,color:"white",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center"}),u(" 选中状态指示器 - 白色横线 "),T(s,{showIf:"${isSelected}",duplicateParentState:"",showOnState:"selected",style:{position:"absolute",width:60,height:3,backgroundColor:"#FFFFFF",borderRadius:2,bottom:1}})]),_:1},8,["style"])]),_:1},8,["value"])):u("v-if",!0)]),_:3})}}});pl.__scopeId="data-v-6a4ec3c2",pl.__file="src/pro/qt-media-series-pro.vue";var ml=l({name:"qt-grid-view-pro",__name:"qt-grid-view-pro",props:{size:{type:Object,default:()=>({width:1920,height:1080})},itemStyle:{type:Object,default:()=>({width:100,height:100,backgroundColor:"transparent"})},spanCount:{type:Number,default:12},value:{type:Array,default:()=>[]}},emits:["item-click"],setup(a,{expose:l,emit:s}){const u=s,r=a,f=e();function v(e){u("item-click",e)}return S(()=>[r.value,f.value],([e,t])=>{if(e&&t){const t=d(e),a=Array.isArray(t)?t.map(e=>JSON.parse(JSON.stringify(e))):[];f.value?.setListData(a)}},{immediate:!0}),l({setItemFocused:function(e){f.value.setItemFocused(e)}}),(e,l)=>{const s=o("qt-grid-view");return t(),i(s,{ref_key:"gridViewRef",ref:f,style:c({width:a.size.width,height:a.size.height}),spanCount:a.spanCount,clipChildren:!1,onItemClick:v,useDiff:!0,focusable:!1},{default:h(()=>[n(e.$slots,"default",{itemStyle:a.itemStyle})]),_:3},8,["style","spanCount"])}}});function Il(e,t,a=!0){let n=e.length;a?e.map((e,a)=>{a!==n-1&&(e.decoration={bottom:t})}):e.map((e,a)=>{a!==n-1&&(e.decoration={right:t})})}function hl(e){return{scrollToIndex:function(t,a,n,o,i){e.value&&L.callUIFunction(e.value,"scrollToIndex",[t,a,n,o,i])},startScroll:function(t){e.value&&L.callUIFunction(e.value,"startScroll",[t])},setSelectChildPosition:function(t,a){e.value&&L.callUIFunction(e.value,"setSelectChildPosition",[t,a])},scrollToPositionWithOffset:function(t,a,n){e.value&&L.callUIFunction(e.value,"scrollToPositionWithOffset",[t,a,n])},scrollToPositionWithOffsetInfiniteMode:function(t,a,n){e.value&&L.callUIFunction(e.value,"scrollToPositionWithOffsetInfiniteMode",[t,a,n])},scrollToPosition:function(t,a){e.value&&L.callUIFunction(e.value,"scrollToPosition",[t,a])},refreshListData:function(){e.value&&L.callUIFunction(e.value,"refreshListData",[])},updateItemTraverse:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemTraverse",[t,a,n])},requestItemLayout:function(t){e.value&&L.callUIFunction(e.value,"requestItemLayout",[t])},updateItemRange:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemRange",[t,a,n])},insertItemRange:function(t,a){e.value&&L.callUIFunction(e.value,"insertItemRange",[t,a])},updateItemMatched:function(t,a){e.value&&L.callUIFunction(e.value,"updateItemMatched",[t,a])},updateItemMatchedByKey:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemMatched",[t,a,n])},deleteItemRange:function(t,a){e.value&&L.callUIFunction(e.value,"deleteItemRange",[t,a])},setListData:function(t){e.value&&L.callUIFunction(e.value,"setListData",[...t])},setListDataWithParams:function(t,a,n){e.value&&L.callUIFunction(e.value,"setListDataWithParams",[t,a,n])},addListData:function(t){e.value&&L.callUIFunction(e.value,"addListData",[t])},addListDataWithParams:function(t,a){e.value&&L.callUIFunction(e.value,"addListDataWithParams",[t,a])},destroy:function(){e.value&&L.callUIFunction(e.value,"destroy",[])},recycle:function(){e.value&&L.callUIFunction(e.value,"recycle",[])},scrollToTop:function(){e.value&&L.callUIFunction(e.value,"scrollToTop",[])},scrollToFocus:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"scrollToFocus",[t,a,n,o])},prepareForRecycle:function(){e.value&&L.callUIFunction(e.value,"prepareForRecycle",[])},setDisplay:function(t){e.value&&L.callUIFunction(e.value,"setDisplay",[t])},changeDisplayState:function(t,a){e.value&&L.callUIFunction(e.value,"changeDisplayState",[t,a])},notifySaveInstance:function(){e.value&&L.callUIFunction(e.value,"notifySaveInstance",[])},notifyRestoreInstance:function(){e.value&&L.callUIFunction(e.value,"notifyRestoreInstance",[])},updateItemProps:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"updateItemProps",[t,a,n,o])},dispatchItemFunction:function(t){e.value&&L.callUIFunction(e.value,"dispatchItemFunction",[t])},clearPostTask:function(){e.value&&L.callUIFunction(e.value,"clearPostTask",[])},clearPostTaskByCate:function(t){e.value&&L.callUIFunction(e.value,"clearPostTaskByCate",[t])},clearData:function(){e.value&&L.callUIFunction(e.value,"clearData",[])},pausePostTask:function(){e.value&&L.callUIFunction(e.value,"pausePostTask",[])},resumePostTask:function(){e.value&&L.callUIFunction(e.value,"resumePostTask",[])},requestLayoutManual:function(){e.value&&L.callUIFunction(e.value,"requestLayoutManual",[])},setSpanCount:function(t){e.value&&L.callUIFunction(e.value,"setSpanCount",[t])},searchReplaceItem:function(t,a){e.value&&L.callUIFunction(e.value,"searchReplaceItem",[t,a])},setCustomStateEnableOnFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setCustomStateEnableOnFocus",[t,a])},setItemCustomState:function(t,a,n){e.value&&L.callUIFunction(e.value,"setItemCustomState",[t,a,n])},dispatchItemFunctionWithPromise:function(t,a,n,o){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"dispatchItemFunctionWithPromise",[],e=>{t(e)})}):Promise.reject()},getScrollOffset:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getScrollOffset",[],e=>{t(e)})}):Promise.reject()}}}function Tl(t){const a=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference","focus-lost"],setup(t,a){const n=e();let o=0,i=!1,l=xo(),c=[],s=null,u=!1,r=!0;const f=()=>t.listData||l.value,v=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&r&&(clearTimeout(s),s=setTimeout(()=>{U(t.defaultFocus)},300+10*e.length))},{scrollToPosition:h,setSelectChildPosition:T}=hl(n),{requestChildFocus:_}=Dn(n);g(()=>{f().length&&n.value&&!u&&!c.length&&(c=f(),L.callUIFunction(n.value,"setListData",d(f())),v(c))}),p(()=>{l.value.splice(0)});let F=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],b=()=>{t.openPage&&0===F&&c.length>0&&!i&&(L.callUIFunction(n.value,"addListData",S),F=c.length)},y=(e=!1)=>{F>0&&(e?L.callUIFunction(n.value,"updateItem",[F,{text:"",type:1003,decoration:{}}]):(L.callUIFunction(n.value,"deleteItemRange",[F,1]),F=0))};let E=null;const P=()=>{i=!1,o=0},N=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(o++,t.loadMore(o)):(o++,t.loadMore(o)))};m(()=>{t.openPage&&!t.listData&&(P(),N())});const A=No(f(),{resetValue(e){c=e,u=!0},init(e){n.value&&(L.callUIFunction(n.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(F=c.length,S):[])),P(),t.listData&&(o=1),v(e))},add(e){L.callUIFunction(n.value,"addListData",e),y(),b()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);L.callUIFunction(n.value,"updateItem",[a,e])})},insert(e,t){L.callUIFunction(n.value,"insertItemRange",[e,t]),y(),b()},delete(e,t){L.callUIFunction(n.value,"deleteItemRange",[e,t]),F>0&&(F=c.length)},clear(){L.callUIFunction(n.value,"setListData",[]),F=0}}),C=(e,t)=>{T(e,t)},U=e=>{h(e),D(e)},D=e=>{_(e),L.callUIFunction(n.value,"requestChildFocus",[e])};I(()=>{A?.stop(),P(),clearTimeout(s),clearTimeout(E)});const w=(e,t)=>{for(let a=0;a<e.length;a++){const n=e[a];n.name=t>=0?"name"+t+a:"name"+a,n.list&&n.list.length>0&&w(n.list,a)}};return a.expose({viewRef:n,init:(e,a)=>t.listData?[]:e?(r=!a,l.value=e,l.value):l.value,scrollToFocused:U,scrollToSelected:(e,t)=>{h(e),C(e,t)},setItemFocused:D,setItemSelected:C,stopPage:(e=!1)=>{i=!0,E=setTimeout(()=>{i=!0,y(e)},20)},updateItemName:w,hasChanged:(e,t)=>e!==t&&(e==e||t==t),...Dn(n),...hl(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("FastListView",{ref:n,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let a=t.preloadNo;(a<0||a>=c.length)&&(a=0),e.position==c.length-1-a&&N()}a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onFocusLost:e=>{a.emit("focus-lost",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",a)}function _l(t){C("IndicatorListView",{component:{name:"IndicatorListView",processEventData(e,t){const{handler:a,__evt:n}=e;switch(console.log("nativeEventName--------------\x3e"+n),n){case"onItemClick":t&&(a.position=t.position,a.index=t.index,a.item=t.item,a.name=t.name,a.parentPosition=t.parentPosition);break;case"onItemFocused":t&&(a.position=t.position,a.index=t.index,a.hasFocus=t.hasFocus,a.isFocused=t.hasFocus,a.item=t.item,a.name=t.name,a.parentPosition=t.parentPosition);break;case"onBindItem":case"onAttachedToWindow":case"onDetachedFromWindow":t&&(a.position=t.position,a.pageIndex=t.pageIndex,a.name=t.name,a.item=t.item);break;case"onUnbindItem":t&&(a.position=t.position,a.name=t.name);break;case"onScroll":t&&(a.offsetX=t.contentOffset.x,a.offsetY=t.contentOffset.y);break;case"onScrollOffset":t&&(a.offsetY=t.y);break;case"onScrollStateChanged":t&&(a.offsetX=t.contentOffset.x,a.offsetY=t.contentOffset.y,a.oldState=t.state.oldState,a.newState=t.state.newState);break;case"onChildFocus":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position},a.focused={id:t.child.id,name:t.child.name});break;case"onChildSelect":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position});break;case"onFocusSearchFailed":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position},a.focused={id:t.child.id,name:t.child.name},a.direction=t.direction);break;case"onLoadMore":t&&(a.name=t.name,a.isLastLine=t.isLastLine,a.itemCount=t.itemCount,a.position=t.position);break;case"onCurrentIndicatorPageIndex":t&&(a.name=t.name,a.currentIndex=t.currentIndex,a.currentList=t.currentList)}return a}}});const a=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference","current-indicator-page-index"],setup(t,a){const n=e();let o=0,i=!1,l=xo(),c=[],s=null,u=!1,r=!0;const f=()=>t.listData||l.value,v=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&r&&(clearTimeout(s),s=setTimeout(()=>{U(t.defaultFocus)},300+10*e.length))},{scrollToPosition:h,setSelectChildPosition:T}=hl(n),{requestChildFocus:_}=Dn(n);g(()=>{f().length&&n.value&&!u&&!c.length&&(c=f(),L.callUIFunction(n.value,"setListData",d(f())),v(c))}),p(()=>{l.value.splice(0)});let F=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],b=()=>{t.openPage&&0===F&&c.length>0&&!i&&(L.callUIFunction(n.value,"addListData",S),F=c.length)},y=(e=!1)=>{F>0&&(e?L.callUIFunction(n.value,"updateItem",[F,{text:"",type:1003,decoration:{}}]):(L.callUIFunction(n.value,"deleteItemRange",[F,1]),F=0))};let E=null;const P=()=>{i=!1,o=0},N=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(o++,t.loadMore(o)):(o++,t.loadMore(o)))};m(()=>{t.openPage&&!t.listData&&(P(),N())});const A=No(f(),{resetValue(e){c=e,u=!0},init(e){n.value&&(L.callUIFunction(n.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(F=c.length,S):[])),P(),t.listData&&(o=1),v(e))},add(e){L.callUIFunction(n.value,"addListData",e),y(),b()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);L.callUIFunction(n.value,"updateItem",[a,e])})},insert(e,t){L.callUIFunction(n.value,"insertItemRange",[e,t]),y(),b()},delete(e,t){L.callUIFunction(n.value,"deleteItemRange",[e,t]),F>0&&(F=c.length)},clear(){L.callUIFunction(n.value,"setListData",[]),F=0}}),C=(e,t)=>{T(e,t)},U=e=>{h(e),D(e)},D=e=>{_(e),L.callUIFunction(n.value,"requestChildFocus",[e])};I(()=>{A?.stop(),P(),clearTimeout(s),clearTimeout(E)});const w=(e,t)=>{for(let a=0;a<e.length;a++){const n=e[a];n.name=t>=0?"name"+t+a:"name"+a,n.list&&n.list.length>0&&w(n.list,a)}};return a.expose({viewRef:n,init:(e,a)=>t.listData?[]:e?(r=!a,l.value=e,l.value):l.value,scrollToFocused:U,scrollToSelected:(e,t)=>{h(e),C(e,t)},setItemFocused:D,setItemSelected:C,stopPage:(e=!1)=>{i=!0,E=setTimeout(()=>{i=!0,y(e)},20)},updateItemName:w,hasChanged:(e,t)=>e!==t&&(e==e||t==t),...Dn(n),...hl(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("IndicatorListView",{ref:n,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let a=t.preloadNo;(a<0||a>=c.length)&&(a=0),e.position==c.length-1-a&&N()}a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)},onCurrentIndicatorPageIndex:e=>{console.log("onCurrentIndicatorPageIndex--------------\x3e"+e),a.emit("current-indicator-page-index",e)}},e)}}});t.component("qt-indicator-list-view",a)}ml.__file="src/pro/qt-grid-view-pro.vue";function Fl(t){const a=l({props:{animator:{type:Object},autoPlay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1}},emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,a){const n=e(),o=B().getDisplayScale(),i=A(t,"animator");let l;function c(e,t="id"){if("string"==typeof(a=e)&&a.trim().length>0)return e;var a;return`${t}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,8)}`}function s(e){if(e){if(u(),a=e,Array.isArray(a.animators)){const a=[];e.animators.forEach((e,n)=>{const{id:o,valueType:i,type:l,values:s,duration:u,repeatMode:r,repeatCount:d,listenAnimator:f,listenAnimatorValue:v,interpolator:g}=e,p=c(o);a.push(p),h(p,i??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,l,s,u,r??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),d??(t.loop?-1:0),f??!1,v??!1,g)});const n=c(e.id);switch(l=n,r(n,e.duration??-1,e.listenAnimator??!1),e.relationType){case Ji.SEQUENCE:m(n,a);break;case Ji.TOGETHER:I(n,a);break;case Ji.WITH:a.length>=2&&(f(n,a[0]),v(n,a[1]));break;case Ji.BEFORE:a.length>=2&&(f(n,a[0]),g(n,a[1]));break;case Ji.AFTER:a.length>=2&&(f(n,a[0]),p(n,a[1]));break;default:m(n,a)}}else{const{id:a,valueType:n,type:o,values:i,duration:s,repeatMode:u,repeatCount:r,listenAnimator:d,listenAnimatorValue:f,interpolator:v}=e,g=c(a);l=g,h(g,n??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,o,i,s,u??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),r??(t.loop?-1:0),d??!1,f??!1,v)}var a;t.autoPlay&&d(l)}}function u(){L.callUIFunction(n.value,"resetAnimators",[],e=>{})}function r(e,t,a){L.callUIFunction(n.value,"animatorSet",[e,t,a],e=>{})}function d(e){La(()=>{if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"startAnimator",[t],e=>{})})}function f(e,t){L.callUIFunction(n.value,"play",[e,t],e=>{})}function v(e,t){L.callUIFunction(n.value,"with",[e,t],e=>{})}function g(e,t){L.callUIFunction(n.value,"before",[e,t],e=>{})}function p(e,t){L.callUIFunction(n.value,"after",[e,t],e=>{})}function m(e,t){const a=`playSequentially${t.length}`;L.callUIFunction(n.value,a,[e,...t],e=>{})}function I(e,t){const a=`playTogether${t.length}`;L.callUIFunction(n.value,a,[e,...t],e=>{})}function h(e,t,a,i,l,c,s,u,r,d){const f=a===tl.TRANSLATION_X||a===tl.TRANSLATION_Y||a===tl.TRANSLATION_Z?i.map(e=>e*o):i,v=`objectAnimator${0==i.length?"":i.length}`;L.callUIFunction(n.value,v,[e,t,a,...f,l,c,s,u,r,d??{type:Xi.QT_LINEAR_INTERPOLATOR}],e=>{})}function T(e,t,a,i,l,c,s,u,r,d){const f=a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z?i.map(e=>e*o):i,v=`objectAnimator${0==i.length?"":i.length}`;L.callUIFunction(n.value,v,[e,t,a,...f,l,c,s,u,r,d??{type:Xi.QT_LINEAR_INTERPOLATOR}],e=>{})}return S(n,e=>{e&&i.value&&s(i.value)}),S(i,e=>{e&&n.value&&s(e)},{deep:!0}),a.expose({animator:T,animatorSet:r,reset:u,start:d,startDelay:function(e,t){La(()=>{if(!e&&!l)return;const a=e??l;L.callUIFunction(n.value,"startAnimatorDelay",[a,t],e=>{})})},pause:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"pauseAnimator",[t],e=>{})},resume:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"resumeAnimator",[t],e=>{})},cancel:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"cancelAnimator",[t],e=>{})},reverse:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"reverseAnimator",[t],e=>{})},setPivotX:function(e){L.callUIFunction(n.value,"setPivotX",[e],e=>{})},setPivotY:function(e){L.callUIFunction(n.value,"setPivotY",[e],e=>{})},resetPivot:function(){L.callUIFunction(n.value,"resetPivot",[],e=>{})},resetAnimators:function(){L.callUIFunction(n.value,"resetAnimators",[],e=>{})},startAnimator:function(e){La(()=>{if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"startAnimator",[t],e=>{})})},startAnimatorDelay:function(e,t){La(()=>{if(!e&&!l)return;const a=e??l;L.callUIFunction(n.value,"startAnimatorDelay",[a,t??0],e=>{})})},pauseAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"pauseAnimator",[t],e=>{})},resumeAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"resumeAnimator",[t],e=>{})},cancelAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"cancelAnimator",[t],e=>{})},reverseAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"reverseAnimator",[t],e=>{})},play:f,playWith:v,playBefore:g,playAfter:p,playAfterDelay:function(e,t){L.callUIFunction(n.value,"afterDelay",[e,t],e=>{})},playSequentially:m,playSequentially1:function(e,t){m(e,[t])},playSequentially2:function(e,t,a){m(e,[t,a])},playSequentially3:function(e,t,a,n){m(e,[t,a,n])},playSequentially4:function(e,t,a,n,o){m(e,[t,a,n,o])},playSequentially5:function(e,t,a,n,o,i){m(e,[t,a,n,o,i])},playTogether:I,playTogether1:function(e,t){I(e,[t])},playTogether2:function(e,t,a){I(e,[t,a])},playTogether3:function(e,t,a,n){I(e,[t,a,n])},playTogether4:function(e,t,a,n,o){I(e,[t,a,n,o])},playTogether5:function(e,t,a,n,o,i){I(e,[t,a,n,o,i])},objectAnimator1:function(e,t,a,n,o,i,l,c,s,u){T(e,t,a,[n],o,i,l,c,s,u)},objectAnimator2:function(e,t,a,n,o,i,l,c,s,u,r){T(e,t,a,[n,o],i,l,c,s,u,r)},objectAnimator3:function(e,t,a,n,o,i,l,c,s,u,r,d){T(e,t,a,[n,o,i],l,c,s,u,r,d)},objectAnimator4:function(e,t,a,n,o,i,l,c,s,u,r,d,f){T(e,t,a,[n,o,i,l],c,s,u,r,d,f)},objectAnimator5:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v){T(e,t,a,[n,o,i,l,c],s,u,r,d,f,v)},objectAnimator6:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g){T(e,t,a,[n,o,i,l,c,s],u,r,d,f,v,g)},objectAnimator7:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p){T(e,t,a,[n,o,i,l,c,s,u],r,d,f,v,g,p)},objectAnimator8:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m){T(e,t,a,[n,o,i,l,c,s,u,r],d,f,v,g,p,m)},objectAnimator9:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m,I){T(e,t,a,[n,o,i,l,c,s,u,r,d],f,v,g,p,m,I)},objectAnimator10:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m,I,h){T(e,t,a,[n,o,i,l,c,s,u,r,d,f],v,g,p,m,I,h)},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("AnimationViewComponent",{ref:n,onAnimationCancel:e=>{let t=e.animationId;a.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;a.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;a.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;a.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;a.emit("onAnimationUpdate",t,n)}},e)}}});t.component("qt-animation",a)}function Sl(t){const a=l({props:{animator:{type:Object},autoPlay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1}},emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,a){const n=e(),o=A(t,"animator");let i;function l(e,t="id"){if("string"==typeof(a=e)&&a.trim().length>0)return e;var a;return`${t}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,8)}`}function c(e){if(e){if(s(),a=e,Array.isArray(a.animators)){const a=[];e.animators.forEach((e,n)=>{const{id:o,valueType:i,type:c,values:s,duration:u,repeatMode:r,repeatCount:d,listenAnimator:f,listenAnimatorValue:v,interpolator:g}=e,p=l(o);a.push(p),I(p,i??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,c,s,u,r??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),d??(t.loop?-1:0),f??!1,v??!1,g)});const n=l(e.id);switch(i=n,u(n,e.duration??-1,e.listenAnimator??!1),e.relationType){case Ji.SEQUENCE:p(n,a);break;case Ji.TOGETHER:m(n,a);break;case Ji.WITH:a.length>=2&&(d(n,a[0]),f(n,a[1]));break;case Ji.BEFORE:a.length>=2&&(d(n,a[0]),v(n,a[1]));break;case Ji.AFTER:a.length>=2&&(d(n,a[0]),g(n,a[1]));break;default:p(n,a)}}else{const{id:a,valueType:n,type:o,values:c,duration:s,repeatMode:u,repeatCount:r,listenAnimator:d,listenAnimatorValue:f,interpolator:v}=e,g=l(a);i=g,I(g,n??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,o,c,s,u??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),r??(t.loop?-1:0),d??!1,f??!1,v)}var a;t.autoPlay&&r(i)}}function s(){L.callUIFunction(n.value,"reset",[],e=>{})}function u(e,t,a){L.callUIFunction(n.value,"animatorSet",[e,t,a],e=>{})}function r(e){La(()=>{if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"start",[t],e=>{})})}function d(e,t){L.callUIFunction(n.value,"play",[e,t],e=>{})}function f(e,t){L.callUIFunction(n.value,"with",[e,t],e=>{})}function v(e,t){L.callUIFunction(n.value,"before",[e,t],e=>{})}function g(e,t){L.callUIFunction(n.value,"after",[e,t],e=>{})}function p(e,t){t.length;L.callUIFunction(n.value,"playSequentially",[e,t],e=>{})}function m(e,t){t.length;L.callUIFunction(n.value,"playTogether",[e,t],e=>{})}function I(e,t,a,o,i,l,c,s,u,r){const d=a===tl.TRANSLATION_X||a===tl.TRANSLATION_Y||a===tl.TRANSLATION_Z?o.map(e=>U(e)):o;L.callUIFunction(n.value,"objectAnimator",[e,t,a,...d,i,l,c,s,u,r?[r.type,r.params]:[Xi.QT_LINEAR_INTERPOLATOR]],e=>{})}function h(e,t,a,o,i,l,c,s,u,r){const d=a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z?o.map(e=>U(e)):o;L.callUIFunction(n.value,"animator",[e,t,a,d,i,l,c,s,u,r?[r.type,r.params]:[Xi.QT_LINEAR_INTERPOLATOR]],e=>{})}return S(n,e=>{e&&o.value&&c(o.value)}),S(o,e=>{e&&n.value&&c(e)},{deep:!0}),a.expose({animator:h,animatorSet:u,reset:s,start:r,startDelay:function(e,t){La(()=>{if(!e&&!i)return;const a=e??i;L.callUIFunction(n.value,"startDelay",[a,t],e=>{})})},pause:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"pause",[t],e=>{})},resume:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"resume",[t],e=>{})},cancel:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"cancel",[t],e=>{})},reverse:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"reverse",[t],e=>{})},setPivotX:function(e){L.callUIFunction(n.value,"setPivotX",[e],e=>{})},setPivotY:function(e){L.callUIFunction(n.value,"setPivotY",[e],e=>{})},resetPivot:function(){L.callUIFunction(n.value,"resetPivot",[],e=>{})},resetAnimators:function(){L.callUIFunction(n.value,"reset",[],e=>{})},startAnimator:function(e){La(()=>{if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"start",[t],e=>{})})},startAnimatorDelay:function(e,t){La(()=>{if(!e&&!i)return;const a=e??i;L.callUIFunction(n.value,"startDelay",[a,t??0],e=>{})})},pauseAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"pause",[t],e=>{})},resumeAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"resume",[t],e=>{})},cancelAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"cancel",[t],e=>{})},reverseAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"reverse",[t],e=>{})},play:d,playWith:f,playBefore:v,playAfter:g,playAfterDelay:function(e,t){L.callUIFunction(n.value,"afterDelay",[e,t],e=>{})},playSequentially:p,playSequentially1:function(e,t){p(e,[t])},playSequentially2:function(e,t,a){p(e,[t,a])},playSequentially3:function(e,t,a,n){p(e,[t,a,n])},playSequentially4:function(e,t,a,n,o){p(e,[t,a,n,o])},playSequentially5:function(e,t,a,n,o,i){p(e,[t,a,n,o,i])},playTogether:m,playTogether1:function(e,t){m(e,[t])},playTogether2:function(e,t,a){m(e,[t,a])},playTogether3:function(e,t,a,n){m(e,[t,a,n])},playTogether4:function(e,t,a,n,o){m(e,[t,a,n,o])},playTogether5:function(e,t,a,n,o,i){m(e,[t,a,n,o,i])},objectAnimator1:function(e,t,a,n,o,i,l,c,s,u){h(e,t,a,[n],o,i,l,c,s,u)},objectAnimator2:function(e,t,a,n,o,i,l,c,s,u,r){h(e,t,a,[n,o],i,l,c,s,u,r)},objectAnimator3:function(e,t,a,n,o,i,l,c,s,u,r,d){h(e,t,a,[n,o,i],l,c,s,u,r,d)},objectAnimator4:function(e,t,a,n,o,i,l,c,s,u,r,d,f){h(e,t,a,[n,o,i,l],c,s,u,r,d,f)},objectAnimator5:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v){h(e,t,a,[n,o,i,l,c],s,u,r,d,f,v)},objectAnimator6:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g){h(e,t,a,[n,o,i,l,c,s],u,r,d,f,v,g)},objectAnimator7:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p){h(e,t,a,[n,o,i,l,c,s,u],r,d,f,v,g,p)},objectAnimator8:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m){h(e,t,a,[n,o,i,l,c,s,u,r],d,f,v,g,p,m)},objectAnimator9:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m,I){h(e,t,a,[n,o,i,l,c,s,u,r,d],f,v,g,p,m,I)},objectAnimator10:function(e,t,a,n,o,i,l,c,s,u,r,d,f,v,g,p,m,I,T){h(e,t,a,[n,o,i,l,c,s,u,r,d,f],v,g,p,m,I,T)},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("AnimationViewComponent",{ref:n,onAnimationCancel:e=>{let t=e.animationId;a.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;a.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;a.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;a.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;a.emit("onAnimationUpdate",t,n)}},e)}}});t.component("qt-animation",a)}const bl="ExtendModule",yl="callUIFunction",El="callUIFunctionWithPromise",Pl=e=>"string"==typeof e;function Nl(e){return{...e}}function Rl(){const e={requestFocus:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"requestFocus",[t]]);else if(ca(e))try{e.value?.requestFocus(t)}catch(e){}},requestChildFocus:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"requestChildFocus",[t]]);else if(ca(e))try{e.value?.requestChildFocus(t)}catch(e){}},clearFocus:function(e){if(Pl(e))L.callNative(bl,yl,[e,"clearFocus",[]]);else if(ca(e))try{e.value?.clearFocus()}catch(e){}},requestFocusDirectly:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"requestFocusDirectly",[t]]);else if(ca(e))try{e.value?.requestFocusDirectly(t)}catch(e){}},setVisibility:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"changeVisibility",[t]]);else if(ca(e))try{e.value?.setVisibility(t)}catch(e){}},requestRootLayout:function(e){if(Pl(e))L.callNative(bl,yl,[e,"requestRootLayout",[]]);else if(ca(e))try{e.value?.requestRootLayout()}catch(e){}},requestLayout:function(e){if(Pl(e))L.callNative(bl,yl,[e,"requestLayout",[]]);else if(ca(e))try{e.value?.requestLayout()}catch(e){}},setDescendantFocusability:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"setDescendantFocusability",[t]]);else if(ca(e))try{e.value?.setDescendantFocusability(t)}catch(e){}},changeDescendantFocusability:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"changeDescendantFocusability",[t]]);else if(ca(e))try{e.value?.changeDescendantFocusability(t)}catch(e){}},forceUpdateRenderNode:function(e){if(Pl(e))L.callNative(bl,yl,[e,"forceUpdateRenderNode",[]]);else if(ca(e))try{e.value?.forceUpdateRenderNode()}catch(e){}},setBackGroundColor:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"setBackGroundColor",[t]]);else if(ca(e))try{e.value?.setBackGroundColor(t)}catch(e){}},layoutViewManual:function(e){if(Pl(e))L.callNative(bl,yl,[e,"layoutViewManual",[]]);else if(ca(e))try{e.value?.layoutViewManual()}catch(e){}},blockRootFocus:function(e){if(Pl(e))L.callNative(bl,yl,[e,"blockRootFocus",[]]);else if(ca(e))try{e.value?.blockRootFocus()}catch(e){}},unBlockRootFocus:function(e){if(Pl(e))L.callNative(bl,yl,[e,"unBlockRootFocus",[]]);else if(ca(e))try{e.value?.unBlockRootFocus()}catch(e){}},changeAlpha:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"changeAlpha",[t]]);else if(ca(e))try{e.value?.changeAlpha(t)}catch(e){}},setScale:function(e,t,a,n){if(Pl(e))L.callNative(bl,yl,[e,"setScale",[t,a,n]]);else if(ca(e))try{e.value?.setScale(t,a,n)}catch(e){}},setPosition:function(e,t,a,n){if(Pl(e))L.callNative(bl,yl,[e,"setPosition",[t,a,n]]);else if(ca(e))try{e.value?.setPosition(t,a,n)}catch(e){}},updateLayout:function(e,t,a,n,o){if(Pl(e))L.callNative(bl,yl,[e,"updateLayout",[t,a,n,o]]);else if(ca(e))try{e.value?.updateLayout(t,a,n,o)}catch(e){}},invalidate:function(e){if(Pl(e))L.callNative(bl,yl,[e,"invalidate",[]]);else if(ca(e))try{e.value?.invalidate()}catch(e){}},dispatchFunctionForTarget:function(e,t,a,n,o){if(Pl(e))L.callNative(bl,yl,[e,"dispatchFunctionForTarget",[t,a,n,o]]);else if(ca(e))try{e.value?.dispatchFunctionForTarget(t,a,n,o)}catch(e){}},setBlockFocusDirections:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"setBlockFocusDirections",[t]]);else if(ca(e))try{e.value?.setBlockFocusDirections(t)}catch(e){}},setBlockFocusDirectionsOnFail:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"setBlockFocusDirectionsOnFail",[t]]);else if(ca(e))try{e.value?.setBlockFocusDirectionsOnFail(t)}catch(e){}},setInitFocus:function(e,t,a){if(Pl(e))L.callNative(bl,yl,[e,"setInitFocus",[t,a]]);else if(ca(e))try{e.value?.setInitFocus(t,a)}catch(e){}},setAutoFocus:function(e,t,a){if(Pl(e))L.callNative(bl,yl,[e,"setAutoFocus",[t,a]]);else if(ca(e))try{e.value?.setAutoFocus(t,a)}catch(e){}},enabledAutofocus:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"setAutoFocus",[t]]);else if(ca(e))try{e.value?.enabledAutofocus(t)}catch(e){}},requestAutofocus:function(e){if(Pl(e))L.callNative(bl,yl,[e,"requestAutofocus",[]]);else if(ca(e))try{e.value?.requestAutofocus()}catch(e){}},hasFocus:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"hasFocus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.hasFocus():Promise.reject()},isFocused:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"isFocused",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.isFocused():Promise.reject()},getLocationOnScreen:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getLocationOnScreen",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.getLocationOnScreen():Promise.reject()},getViewState:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getViewState",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.getViewState():Promise.reject()},getChildViewState:function(e,t){return Pl(e)?new Promise((a,n)=>{L.callNative(bl,El,[e,"getChildViewState",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value?.getChildViewState(t):Promise.reject()},deepInvalidate:function(e,t){if(Pl(e))L.callNative(bl,yl,[e,"deepInvalidate",[t]]);else if(ca(e))try{e.value?.deepInvalidate(t)}catch(e){}}},t={requestFocus:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"requestFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"requestFocus",[t])},requestChildFocus:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"requestChildFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"requestChildFocus",[t])},clearFocus:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearFocus",[]]):ca(e)&&L.callUIFunction(e.value,"clearFocus",[])},requestFocusDirectly:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"requestFocusDirectly",[t]]):ca(e)&&L.callUIFunction(e.value,"requestFocusDirectly",[t])},setVisibility:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"changeVisibility",[t]]):ca(e)&&L.callUIFunction(e.value,"changeVisibility",[t])},requestRootLayout:function(e){Pl(e)?L.callNative(bl,yl,[e,"requestRootLayout",[]]):ca(e)&&L.callUIFunction(e.value,"requestRootLayout",[])},requestLayout:function(e){Pl(e)?L.callNative(bl,yl,[e,"requestLayout",[]]):ca(e)&&L.callUIFunction(e.value,"requestLayout",[])},setDescendantFocusability:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDescendantFocusability",[t]]):ca(e)&&L.callUIFunction(e.value,"setDescendantFocusability",[t])},changeDescendantFocusability:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"changeDescendantFocusability",[t]]):ca(e)&&L.callUIFunction(e.value,"changeDescendantFocusability",[t])},forceUpdateRenderNode:function(e){Pl(e)?L.callNative(bl,yl,[e,"forceUpdateRenderNode",[]]):ca(e)&&L.callUIFunction(e.value,"forceUpdateRenderNode",[])},setBackGroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBackGroundColor",[t]]):ca(e)&&L.callUIFunction(e.value,"setBackGroundColor",[t])},layoutViewManual:function(e){Pl(e)?L.callNative(bl,yl,[e,"layoutViewManual",[]]):ca(e)&&L.callUIFunction(e.value,"layoutViewManual",[])},blockRootFocus:function(e){Pl(e)?L.callNative(bl,yl,[e,"blockRootFocus",[]]):ca(e)&&L.callUIFunction(e.value,"blockRootFocus",[])},unBlockRootFocus:function(e){Pl(e)?L.callNative(bl,yl,[e,"unBlockRootFocus",[]]):ca(e)&&L.callUIFunction(e.value,"unBlockRootFocus",[])},changeAlpha:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"changeAlpha",[t]]):ca(e)&&L.callUIFunction(e.value,"changeAlpha",[t])},setScale:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setScale",[t,a,n]]):ca(e)&&L.callUIFunction(e.value,"setScale",[t,a,n])},setPosition:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setPosition",[t,a,n]]):ca(e)&&L.callUIFunction(e.value,"setPosition",[t,a,n])},updateLayout:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"updateLayout",[t,a,n,o]]):ca(e)&&L.callUIFunction(e.value,"updateLayout",[t,a,n,o])},invalidate:function(e){Pl(e)?L.callNative(bl,yl,[e,"invalidate",[]]):ca(e)&&L.callUIFunction(e.value,"invalidate",[])},dispatchFunctionForTarget:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"dispatchFunctionForTarget",[t,a,n,o]]):ca(e)&&L.callUIFunction(e.value,"dispatchFunctionForTarget",[t,a,n,o])},setBlockFocusDirections:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockFocusDirections",[t]]):ca(e)&&L.callUIFunction(e.value,"setBlockFocusDirections",[t])},setBlockFocusDirectionsOnFail:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockFocusDirectionsOnFail",[t]]):ca(e)&&L.callUIFunction(e.value,"setBlockFocusDirectionsOnFail",[t])},setInitFocus:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setInitFocus",[t,a]]):ca(e)&&L.callUIFunction(e.value,"setInitFocus",[t,a])},setAutoFocus:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setAutoFocus",[t,a]]):ca(e)&&L.callUIFunction(e.value,"setAutoFocus",[t,a])},enabledAutofocus:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAutoFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"setAutoFocus",[t])},requestAutofocus:function(e){Pl(e)?L.callNative(bl,yl,[e,"requestAutofocus",[]]):ca(e)&&L.callUIFunction(e.value,"requestAutofocus",[])},hasFocus:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"hasFocus",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"hasFocus",[],e=>{t(e)})}):Promise.reject()},isFocused:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"isFocused",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"isFocused",[],e=>{t(e)})}):Promise.reject()},getLocationOnScreen:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getLocationOnScreen",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getLocationOnScreen",[],e=>{t(e)})}):Promise.reject()},getViewState:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getViewState",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getViewState",[],e=>{t(e)})}):Promise.reject()},getChildViewState:function(e,t){return Pl(e)?new Promise((a,n)=>{L.callNative(bl,El,[e,"getChildViewState",[t]],e=>{a(e)})}):ca(e)&&e.value?new Promise((a,n)=>{L.callUIFunction(e.value,"getChildViewState",[t],e=>{a(e)})}):Promise.reject()},deepInvalidate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"deepInvalidate",[t]]):ca(e)&&L.callUIFunction(e.value,"deepInvalidate",[t])}},a={scrollToIndex:function(e,t,a,n,o,i){Pl(e)?L.callNative(bl,yl,[e,"scrollToIndex",[t,a,n,o,i]]):ca(e)&&e.value?.scrollToIndex(t,a,n,o,i)},startScroll:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"startScroll",[t]]):ca(e)&&e.value?.startScroll(t)},setSelectChildPosition:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setSelectChildPosition",[t,a]]):ca(e)&&e.value?.setSelectChildPosition(t,a)},scrollToPositionWithOffset:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"scrollToPositionWithOffset",[t,a,n]]):ca(e)&&e.value?.scrollToPositionWithOffset(t,a,n)},scrollToPositionWithOffsetInfiniteMode:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"scrollToPositionWithOffsetInfiniteMode",[t,a,n]]):ca(e)&&e.value?.scrollToPositionWithOffsetInfiniteMode(t,a,n)},scrollToPosition:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"scrollToPosition",[t,a]]):ca(e)&&e.value?.scrollToPosition(t,a)},refreshListData:function(e){Pl(e)?L.callNative(bl,yl,[e,"refreshListData",[]]):ca(e)&&e.value?.refreshListData()},updateItemTraverse:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"updateItem",[t,a,n]]):ca(e)&&e.value?.updateItemTraverse(t,a,n)},requestItemLayout:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"requestItemLayout",[t]]):ca(e)&&e.value?.requestItemLayout(t)},updateItemRange:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"updateItemRange",[t,a,n]]):ca(e)&&e.value?.updateItemRange(t,a,n)},insertItemRange:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"insertItemRange",[t,a]]):ca(e)&&e.value?.insertItemRange(t,a)},updateItemMatched:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"updateItemMatched",[t,a]]):ca(e)&&e.value?.updateItemMatched(t,a)},updateItemMatchedByKey:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"updateItemMatched",[t,a,n]]):ca(e)&&e.value?.updateItemMatchedByKey(t,a,n)},deleteItemRange:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"deleteItemRange",[t,a]]):ca(e)&&e.value?.deleteItemRange(t,a)},setListData:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setListData",[t]]):ca(e)&&e.value?.setListData(t)},setListDataWithParams:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setListDataWithParams",[t,a,n]]):ca(e)&&e.value?.setListDataWithParams(t,a,n)},addListData:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setListDataWithParams",[t]]):ca(e)&&e.value?.addListData(t)},addListDataWithParams:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"addListDataWithParams",[t,a]]):ca(e)&&e.value?.addListDataWithParams(t,a)},destroy:function(e){Pl(e)?L.callNative(bl,yl,[e,"destroy",[]]):ca(e)&&e.value?.destroy()},recycle:function(e){Pl(e)?L.callNative(bl,yl,[e,"recycle",[]]):ca(e)&&e.value?.recycle()},scrollToTop:function(e){Pl(e)?L.callNative(bl,yl,[e,"scrollToTop",[]]):ca(e)&&e.value?.scrollToTop()},scrollToFocus:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"scrollToFocus",[t,a,n,o]]):ca(e)&&e.value?.scrollToFocus(t,a,n,o)},prepareForRecycle:function(e){Pl(e)?L.callNative(bl,yl,[e,"prepareForRecycle",[]]):ca(e)&&e.value?.prepareForRecycle()},setDisplay:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDisplay",[t]]):ca(e)&&e.value?.setDisplay(t)},changeDisplayState:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"changeDisplayState",[t,a]]):ca(e)&&e.value?.changeDisplayState(t,a)},notifySaveInstance:function(e){Pl(e)?L.callNative(bl,yl,[e,"notifySaveInstance",[]]):ca(e)&&e.value?.notifySaveInstance()},notifyRestoreInstance:function(e){Pl(e)?L.callNative(bl,yl,[e,"notifyRestoreInstance",[]]):ca(e)&&e.value?.notifyRestoreInstance()},updateItemProps:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"updateItemProps",[t,a,n,o]]):ca(e)&&e.value?.updateItemProps(t,a,n,o)},dispatchItemFunction:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"dispatchItemFunction",[t]]):ca(e)&&e.value?.dispatchItemFunction(t)},clearPostTask:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearPostTask",[]]):ca(e)&&e.value?.clearPostTask()},clearPostTaskByCate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"clearPostTaskByCate",[t]]):ca(e)&&e.value?.clearPostTaskByCate(t)},clearData:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearData",[]]):ca(e)&&e.value?.clearData()},pausePostTask:function(e){Pl(e)?L.callNative(bl,yl,[e,"pausePostTask",[]]):ca(e)&&e.value?.pausePostTask()},resumePostTask:function(e){Pl(e)?L.callNative(bl,yl,[e,"resumePostTask",[]]):ca(e)&&e.value?.resumePostTask()},requestLayoutManual:function(e){Pl(e)?L.callNative(bl,yl,[e,"requestLayoutManual",[]]):ca(e)&&e.value?.requestLayoutManual()},setSpanCount:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSpanCount",[t]]):ca(e)&&e.value?.setSpanCount(t)},searchReplaceItem:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"searchReplaceItem",[t,a]]):ca(e)&&e.value?.searchReplaceItem(t,a)},setCustomStateEnableOnFocus:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setCustomStateEnableOnFocus",[t,a]]):ca(e)&&e.value?.setCustomStateEnableOnFocus(t,a)},setItemCustomState:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setItemCustomState",[t,a,n]]):ca(e)&&e.value?.setItemCustomState(t,a,n)},dispatchItemFunctionWithPromise:function(e,t,a,n,o){return Pl(e)?new Promise((i,l)=>{L.callNative(bl,El,[e,"dispatchItemFunctionWithPromise",[t,a,n,o]],e=>{i(e)})}):ca(e)&&e.value?e.value.dispatchItemFunctionWithPromise(t,a,n,o):Promise.reject()},getScrollOffset:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getScrollOffset",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScrollOffset():Promise.reject()}},n=Nl(e),o=Nl(t),i=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)}}}(e,a),l=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},restartPage:function(e){e.value?.restartPage()},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},setInitPosition:function(e,t){e.value?.setInitPosition(t)}}}(e,a),c=function(e,t){return{...e,...t,init:function(e,t){e.value?.init(t)},getSectionList:function(e){return e.value?e.value.getSectionList():[]},setSectionList:function(e,t){e.value?.setSectionList(t)},addSectionList:function(e,t){e.value?.addSectionList(t)},deleteSection:function(e,t,a){e.value?.deleteSection(t,a)},updateSection:function(e,t,a){e.value?.updateSection(t,a)},updateSectionList:function(e,t,a,n){e.value?.updateSectionList(t,a,n)},getSection:function(e,t){return e.value?.getSection(t)},addItemList:function(e,t,a){e.value?.addItemList(t,a)},deleteItem:function(e,t,a,n){e.value?.deleteItem(t,a,n)},updateItem:function(e,t,a,n){e.value?.updateItem(t,a,n)},updateItemList:function(e,t,a,n,o){e.value?.updateItemList(t,a,n,o)},getItem:function(e,t,a){if(e.value)return e.value?.getItem(t,a)}}}(e,a),s=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},setIndicatorType:function(e,t){e.value?.setIndicatorType(t)}}}(e,a),u=function(e){return{...e,setSrc:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSrc",[t]]):ca(e)&&e.value?.setSrc(t)},resizeMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"resizeMode",[t]]):ca(e)&&e.value?.resizeMode(t)}}}(e),r=function(e){return{...e,reload:function(e){Pl(e)?L.callNative(bl,yl,[e,"reload",[]]):ca(e)&&e.value&&e.value?.reload()},clearCache:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"clearCache",[t]]):ca(e)&&e.value&&e.value?.clearCache(t)},getUrl:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getUrl():Promise.reject()},getOriginalUrl:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getOriginalUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getOriginalUrl():Promise.reject()},setLayerType:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLayerType",[t]]):ca(e)&&e.value&&e.value?.setLayerType(t)},setIgnoreCA:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIgnoreCA",[t]]):ca(e)&&e.value&&e.value?.setIgnoreCA(t)},setIgnoreAllKeyEvent:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIgnoreAllKeyEvent",[t]]):ca(e)&&e.value&&e.value?.setIgnoreAllKeyEvent(t)},getCurrentIndexWithBackForwardList:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getCurrentIndexWithBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getCurrentIndexWithBackForwardList():Promise.reject()},getScreenStatus:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getScreenStatus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScreenStatus():Promise.reject()},getBackForwardList:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getBackForwardList():Promise.reject()},setInitialScale:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInitialScale",[t]]):ca(e)&&e.value&&e.value?.setInitialScale(t)},autoClickPosition:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"autoClickPosition",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPosition(t,a)},disableImageDisplay:function(e){Pl(e)?L.callNative(bl,yl,[e,"disableImageDisplay",[]]):ca(e)&&e.value&&e.value?.disableImageDisplay()},enableImageDisplay:function(e){Pl(e)?L.callNative(bl,yl,[e,"enableImageDisplay",[]]):ca(e)&&e.value&&e.value?.enableImageDisplay()},setListenEvents:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setListenEvents",[t]]):ca(e)&&e.value&&e.value?.setListenEvents(t)},stopLoading:function(e){Pl(e)?L.callNative(bl,yl,[e,"stopLoading",[]]):ca(e)&&e.value&&e.value?.stopLoading()},clearView:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearView",[]]):ca(e)&&e.value&&e.value?.clearView()},loadUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"loadUrl",[t]]):ca(e)&&e.value&&e.value?.loadUrl(t)},evaluateJavascript:function(e,t){return Pl(e)?new Promise((a,n)=>{L.callNative(bl,El,[e,"evaluateJavascript",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value.evaluateJavascript(t):Promise.reject()},setSniffingEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSniffingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSniffingEnabled(t)},setSniffingRule:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSniffingRule",[t]]):ca(e)&&e.value&&e.value?.setSniffingRule(t)},resetSniffingRule:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetSniffingRule",[]]):ca(e)&&e.value&&e.value?.resetSniffingRule()},setInterceptEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInterceptEnabled",[t]]):ca(e)&&e.value&&e.value?.setInterceptEnabled(t)},setInterceptRule:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInterceptRule",[t]]):ca(e)&&e.value&&e.value?.setInterceptRule(t)},resetInterceptRule:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetInterceptRule",[]]):ca(e)&&e.value&&e.value?.resetInterceptRule()},shouldOverrideUrlLoading:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"shouldOverrideUrlLoading",[t]]):ca(e)&&e.value&&e.value?.shouldOverrideUrlLoading(t)},setUserAgent:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setUserAgent",[t]]):ca(e)&&e.value&&e.value?.setUserAgent(t)},canGoBack:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"canGoBack",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoBack():Promise.reject()},goBack:function(e){Pl(e)?L.callNative(bl,yl,[e,"goBack",[]]):ca(e)&&e.value&&e.value?.goBack()},canGoForward:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"canGoForward",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoForward():Promise.reject()},goForward:function(e){Pl(e)?L.callNative(bl,yl,[e,"goForward",[]]):ca(e)&&e.value&&e.value?.goForward()},canGoBackOrForward:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"canGoBackOrForward",[t]]):ca(e)&&e.value&&e.value?.canGoBackOrForward(t)},goBackOrForward:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"goBackOrForward",[t]]):ca(e)&&e.value&&e.value?.goBackOrForward(t)},onResume:function(e){Pl(e)?L.callNative(bl,yl,[e,"onResume",[]]):ca(e)&&e.value&&e.value?.onResume()},onPause:function(e){Pl(e)?L.callNative(bl,yl,[e,"onPause",[]]):ca(e)&&e.value&&e.value?.onPause()},pauseTimers:function(e){Pl(e)?L.callNative(bl,yl,[e,"pauseTimers",[]]):ca(e)&&e.value&&e.value?.pauseTimers()},resumeTimers:function(e){Pl(e)?L.callNative(bl,yl,[e,"resumeTimers",[]]):ca(e)&&e.value&&e.value?.resumeTimers()},destroy:function(e){Pl(e)?L.callNative(bl,yl,[e,"destroy",[]]):ca(e)&&e.value&&e.value?.destroy()},setJavaScriptEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setJavaScriptEnabled",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptEnabled(t)},setPluginState:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setPluginState",[t]]):ca(e)&&e.value&&e.value?.setPluginState(t)},setJavaScriptCanOpenWindowsAutomatically:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setJavaScriptCanOpenWindowsAutomatically",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptCanOpenWindowsAutomatically(t)},setUseWideViewPort:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setUseWideViewPort",[t]]):ca(e)&&e.value&&e.value?.setUseWideViewPort(t)},setLoadWithOverviewMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLoadWithOverviewMode",[t]]):ca(e)&&e.value&&e.value?.setLoadWithOverviewMode(t)},setSupportZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSupportZoom",[t]]):ca(e)&&e.value&&e.value?.setSupportZoom(t)},setBuiltInZoomControls:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBuiltInZoomControls",[t]]):ca(e)&&e.value&&e.value?.setBuiltInZoomControls(t)},setDisplayZoomControls:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDisplayZoomControls",[t]]):ca(e)&&e.value&&e.value?.setDisplayZoomControls(t)},setAllowFileAccess:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowFileAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccess(t)},setDomStorageEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDomStorageEnabled",[t]]):ca(e)&&e.value&&e.value?.setDomStorageEnabled(t)},setDatabaseEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDatabaseEnabled",[t]]):ca(e)&&e.value&&e.value?.setDatabaseEnabled(t)},setAppCacheEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCacheEnabled",[t]]):ca(e)&&e.value&&e.value?.setAppCacheEnabled(t)},setAppCachePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCachePath",[t]]):ca(e)&&e.value&&e.value?.setAppCachePath(t)},setMediaPlaybackRequiresUserGesture:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMediaPlaybackRequiresUserGesture",[t]]):ca(e)&&e.value&&e.value?.setMediaPlaybackRequiresUserGesture(t)},setStandardFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStandardFontFamily",[t]]):ca(e)&&e.value&&e.value?.setStandardFontFamily(t)},setFixedFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFixedFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFixedFontFamily(t)},setSansSerifFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSansSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSansSerifFontFamily(t)},setSerifFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSerifFontFamily(t)},setCursiveFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setCursiveFontFamily",[t]]):ca(e)&&e.value&&e.value?.setCursiveFontFamily(t)},setFantasyFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFantasyFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFantasyFontFamily(t)},setTextZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextZoom",[t]]):ca(e)&&e.value&&e.value?.setTextZoom(t)},setMinimumFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMinimumFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumFontSize(t)},setDefaultFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFontSize(t)},setLayoutAlgorithm:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLayoutAlgorithm",[t]]):ca(e)&&e.value&&e.value?.setLayoutAlgorithm(t)},setLoadsImagesAutomatically:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLoadsImagesAutomatically",[t]]):ca(e)&&e.value&&e.value?.setLoadsImagesAutomatically(t)},setDefaultTextEncodingName:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultTextEncodingName",[t]]):ca(e)&&e.value&&e.value?.setDefaultTextEncodingName(t)},setNeedInitialFocus:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setNeedInitialFocus",[t]]):ca(e)&&e.value&&e.value?.setNeedInitialFocus(t)},setGeolocationEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGeolocationEnabled",[t]]):ca(e)&&e.value&&e.value?.setGeolocationEnabled(t)},setBlockNetworkLoads:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockNetworkLoads",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkLoads(t)},setSupportMultipleWindows:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSupportMultipleWindows",[t]]):ca(e)&&e.value&&e.value?.setSupportMultipleWindows(t)},setAppCacheMaxSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCacheMaxSize",[t]]):ca(e)&&e.value&&e.value?.setAppCacheMaxSize(t)},setRenderPriority:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRenderPriority",[t]]):ca(e)&&e.value&&e.value?.setRenderPriority(t)},setCacheMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setCacheMode",[t]]):ca(e)&&e.value&&e.value?.setCacheMode(t)},setAllowContentAccess:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowContentAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowContentAccess(t)},setEnableSmoothTransition:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setEnableSmoothTransition",[t]]):ca(e)&&e.value&&e.value?.setEnableSmoothTransition(t)},setSaveFormData:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSaveFormData",[t]]):ca(e)&&e.value&&e.value?.setSaveFormData(t)},setSavePassword:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSavePassword",[t]]):ca(e)&&e.value&&e.value?.setSavePassword(t)},setTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextSize",[t]]):ca(e)&&e.value&&e.value?.setTextSize(t)},setDefaultZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultZoom",[t]]):ca(e)&&e.value&&e.value?.setDefaultZoom(t)},setLightTouchEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLightTouchEnabled",[t]]):ca(e)&&e.value&&e.value?.setLightTouchEnabled(t)},setMinimumLogicalFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMinimumLogicalFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumLogicalFontSize(t)},setDefaultFixedFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultFixedFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFixedFontSize(t)},setBlockNetworkImage:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockNetworkImage",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkImage(t)},setAllowUniversalAccessFromFileURLs:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowUniversalAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowUniversalAccessFromFileURLs(t)},setAllowFileAccessFromFileURLs:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowFileAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccessFromFileURLs(t)},setDatabasePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setDatabasePath(t)},setGeolocationDatabasePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGeolocationDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setGeolocationDatabasePath(t)},setUserAgentString:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setUserAgentString",[t]]):ca(e)&&e.value&&e.value?.setUserAgentString(t)},setMixedContentMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMixedContentMode",[t]]):ca(e)&&e.value&&e.value?.setMixedContentMode(t)},setOffscreenPreRaster:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setOffscreenPreRaster",[t]]):ca(e)&&e.value&&e.value?.setOffscreenPreRaster(t)},setSafeBrowsingEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSafeBrowsingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSafeBrowsingEnabled(t)},setForceDark:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setForceDark",[t]]):ca(e)&&e.value&&e.value?.setForceDark(t)},setDisabledActionModeMenuItems:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDisabledActionModeMenuItems",[t]]):ca(e)&&e.value&&e.value?.setDisabledActionModeMenuItems(t)},initJavaScriptInterface:function(e){Pl(e)?L.callNative(bl,yl,[e,"initJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.initJavaScriptInterface()},removeJavaScriptInterface:function(e){Pl(e)?L.callNative(bl,yl,[e,"removeJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.removeJavaScriptInterface()},initWebViewFocus:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"initWebViewFocus",[t,a,n]]):ca(e)&&e.value&&e.value?.initWebViewFocus(t,a,n)}}}(e),d=function(e){return{...e,reload:function(e){Pl(e)?L.callNative(bl,yl,[e,"reload",[]]):ca(e)&&e.value&&e.value?.reload()},clearCache:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"clearCache",[t]]):ca(e)&&e.value&&e.value?.clearCache(t)},getUrl:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getUrl():Promise.reject()},getOriginalUrl:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getOriginalUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getOriginalUrl():Promise.reject()},setLayerType:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLayerType",[t]]):ca(e)&&e.value&&e.value?.setLayerType(t)},setIgnoreCA:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIgnoreCA",[t]]):ca(e)&&e.value&&e.value?.setIgnoreCA(t)},setIgnoreAllKeyEvent:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIgnoreAllKeyEvent",[t]]):ca(e)&&e.value&&e.value?.setIgnoreAllKeyEvent(t)},getBackForwardList:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getBackForwardList():Promise.reject()},getCurrentIndexWithBackForwardList:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getCurrentIndexWithBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getCurrentIndexWithBackForwardList():Promise.reject()},getScreenStatus:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getScreenStatus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScreenStatus():Promise.reject()},autoClickPosition:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"autoClickPosition",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPosition(t,a)},disableImageDisplay:function(e){Pl(e)?L.callNative(bl,yl,[e,"disableImageDisplay",[]]):ca(e)&&e.value&&e.value?.disableImageDisplay()},enableImageDisplay:function(e){Pl(e)?L.callNative(bl,yl,[e,"enableImageDisplay",[]]):ca(e)&&e.value&&e.value?.enableImageDisplay()},clearView:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearView",[]]):ca(e)&&e.value&&e.value?.clearView()},stopLoading:function(e){Pl(e)?L.callNative(bl,yl,[e,"stopLoading",[]]):ca(e)&&e.value&&e.value?.stopLoading()},setListenEvents:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setListenEvents",[t]]):ca(e)&&e.value&&e.value?.setListenEvents(t)},sendKeyCodeEvent:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"sendKeyCodeEvent",[t,a]]):ca(e)&&e.value&&e.value?.sendKeyCodeEvent(t,a)},autoClickPositionWithDuration:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"autoClickPositionWithDuration",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPositionWithDuration(t,a,n)},initWebView:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"initWebView",[t]]):ca(e)&&e.value&&e.value?.initWebView(t)},loadUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"loadUrl",[t]]):ca(e)&&e.value&&e.value?.loadUrl(t)},evaluateJavascript:function(e,t){return Pl(e)?new Promise((a,n)=>{L.callNative(bl,El,[e,"evaluateJavascript",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value.evaluateJavascript(t):Promise.reject()},setSniffingEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSniffingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSniffingEnabled(t)},setSniffingRule:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSniffingRule",[t]]):ca(e)&&e.value&&e.value?.setSniffingRule(t)},resetSniffingRule:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetSniffingRule",[]]):ca(e)&&e.value&&e.value?.resetSniffingRule()},setInterceptEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInterceptEnabled",[t]]):ca(e)&&e.value&&e.value?.setInterceptEnabled(t)},setInterceptRule:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInterceptRule",[t]]):ca(e)&&e.value&&e.value?.setInterceptRule(t)},resetInterceptRule:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetInterceptRule",[]]):ca(e)&&e.value&&e.value?.resetInterceptRule()},shouldOverrideUrlLoading:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"shouldOverrideUrlLoading",[t]]):ca(e)&&e.value&&e.value?.shouldOverrideUrlLoading(t)},canGoBack:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"canGoBack",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoBack():Promise.reject()},goBack:function(e){Pl(e)?L.callNative(bl,yl,[e,"goBack",[]]):ca(e)&&e.value&&e.value?.goBack()},canGoForward:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"canGoForward",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoForward():Promise.reject()},goForward:function(e){Pl(e)?L.callNative(bl,yl,[e,"goForward",[]]):ca(e)&&e.value&&e.value?.goForward()},canGoBackOrForward:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"canGoBackOrForward",[t]]):ca(e)&&e.value&&e.value?.canGoBackOrForward(t)},goBackOrForward:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"goBackOrForward",[t]]):ca(e)&&e.value&&e.value?.goBackOrForward(t)},onResume:function(e){Pl(e)?L.callNative(bl,yl,[e,"onResume",[]]):ca(e)&&e.value&&e.value?.onResume()},onPause:function(e){Pl(e)?L.callNative(bl,yl,[e,"onPause",[]]):ca(e)&&e.value&&e.value?.onPause()},pauseTimers:function(e){Pl(e)?L.callNative(bl,yl,[e,"pauseTimers",[]]):ca(e)&&e.value&&e.value?.pauseTimers()},resumeTimers:function(e){Pl(e)?L.callNative(bl,yl,[e,"resumeTimers",[]]):ca(e)&&e.value&&e.value?.resumeTimers()},destroy:function(e){Pl(e)?L.callNative(bl,yl,[e,"destroy",[]]):ca(e)&&e.value&&e.value?.destroy()},setJavaScriptEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setJavaScriptEnabled",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptEnabled(t)},setPluginState:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setPluginState",[t]]):ca(e)&&e.value&&e.value?.setPluginState(t)},setJavaScriptCanOpenWindowsAutomatically:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setJavaScriptCanOpenWindowsAutomatically",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptCanOpenWindowsAutomatically(t)},setUseWideViewPort:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setUseWideViewPort",[t]]):ca(e)&&e.value&&e.value?.setUseWideViewPort(t)},setLoadWithOverviewMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLoadWithOverviewMode",[t]]):ca(e)&&e.value&&e.value?.setLoadWithOverviewMode(t)},setSupportZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSupportZoom",[t]]):ca(e)&&e.value&&e.value?.setSupportZoom(t)},setBuiltInZoomControls:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBuiltInZoomControls",[t]]):ca(e)&&e.value&&e.value?.setBuiltInZoomControls(t)},setDisplayZoomControls:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDisplayZoomControls",[t]]):ca(e)&&e.value&&e.value?.setDisplayZoomControls(t)},setAllowFileAccess:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowFileAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccess(t)},setDomStorageEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDomStorageEnabled",[t]]):ca(e)&&e.value&&e.value?.setDomStorageEnabled(t)},setDatabaseEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDatabaseEnabled",[t]]):ca(e)&&e.value&&e.value?.setDatabaseEnabled(t)},setAppCacheEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCacheEnabled",[t]]):ca(e)&&e.value&&e.value?.setAppCacheEnabled(t)},setAppCachePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCachePath",[t]]):ca(e)&&e.value&&e.value?.setAppCachePath(t)},setMediaPlaybackRequiresUserGesture:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMediaPlaybackRequiresUserGesture",[t]]):ca(e)&&e.value&&e.value?.setMediaPlaybackRequiresUserGesture(t)},setStandardFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStandardFontFamily",[t]]):ca(e)&&e.value&&e.value?.setStandardFontFamily(t)},setFixedFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFixedFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFixedFontFamily(t)},setSansSerifFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSansSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSansSerifFontFamily(t)},setSerifFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSerifFontFamily(t)},setCursiveFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setCursiveFontFamily",[t]]):ca(e)&&e.value&&e.value?.setCursiveFontFamily(t)},setFantasyFontFamily:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFantasyFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFantasyFontFamily(t)},setTextZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextZoom",[t]]):ca(e)&&e.value&&e.value?.setTextZoom(t)},setInitialScale:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInitialScale",[t]]):ca(e)&&e.value&&e.value?.setInitialScale(t)},setMinimumFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMinimumFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumFontSize(t)},setDefaultFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFontSize(t)},setLayoutAlgorithm:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLayoutAlgorithm",[t]]):ca(e)&&e.value&&e.value?.setLayoutAlgorithm(t)},setLoadsImagesAutomatically:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLoadsImagesAutomatically",[t]]):ca(e)&&e.value&&e.value?.setLoadsImagesAutomatically(t)},setDefaultTextEncodingName:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultTextEncodingName",[t]]):ca(e)&&e.value&&e.value?.setDefaultTextEncodingName(t)},setNeedInitialFocus:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setNeedInitialFocus",[t]]):ca(e)&&e.value&&e.value?.setNeedInitialFocus(t)},setGeolocationEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGeolocationEnabled",[t]]):ca(e)&&e.value&&e.value?.setGeolocationEnabled(t)},setBlockNetworkLoads:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockNetworkLoads",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkLoads(t)},setSupportMultipleWindows:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSupportMultipleWindows",[t]]):ca(e)&&e.value&&e.value?.setSupportMultipleWindows(t)},setAppCacheMaxSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAppCacheMaxSize",[t]]):ca(e)&&e.value&&e.value?.setAppCacheMaxSize(t)},setRenderPriority:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRenderPriority",[t]]):ca(e)&&e.value&&e.value?.setRenderPriority(t)},setCacheMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setCacheMode",[t]]):ca(e)&&e.value&&e.value?.setCacheMode(t)},setAllowContentAccess:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowContentAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowContentAccess(t)},setEnableSmoothTransition:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setEnableSmoothTransition",[t]]):ca(e)&&e.value&&e.value?.setEnableSmoothTransition(t)},setSaveFormData:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSaveFormData",[t]]):ca(e)&&e.value&&e.value?.setSaveFormData(t)},setSavePassword:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSavePassword",[t]]):ca(e)&&e.value&&e.value?.setSavePassword(t)},setTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextSize",[t]]):ca(e)&&e.value&&e.value?.setTextSize(t)},setDefaultZoom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultZoom",[t]]):ca(e)&&e.value&&e.value?.setDefaultZoom(t)},setLightTouchEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLightTouchEnabled",[t]]):ca(e)&&e.value&&e.value?.setLightTouchEnabled(t)},setMinimumLogicalFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMinimumLogicalFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumLogicalFontSize(t)},setDefaultFixedFontSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDefaultFixedFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFixedFontSize(t)},setBlockNetworkImage:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setBlockNetworkImage",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkImage(t)},setAllowUniversalAccessFromFileURLs:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowUniversalAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowUniversalAccessFromFileURLs(t)},setAllowFileAccessFromFileURLs:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setAllowFileAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccessFromFileURLs(t)},setDatabasePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setDatabasePath(t)},setGeolocationDatabasePath:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGeolocationDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setGeolocationDatabasePath(t)},setUserAgentString:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setUserAgentString",[t]]):ca(e)&&e.value&&e.value?.setUserAgentString(t)},setMixedContentMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMixedContentMode",[t]]):ca(e)&&e.value&&e.value?.setMixedContentMode(t)},setOffscreenPreRaster:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setOffscreenPreRaster",[t]]):ca(e)&&e.value&&e.value?.setOffscreenPreRaster(t)},setSafeBrowsingEnabled:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSafeBrowsingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSafeBrowsingEnabled(t)},setForceDark:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setForceDark",[t]]):ca(e)&&e.value&&e.value?.setForceDark(t)},setDisabledActionModeMenuItems:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setDisabledActionModeMenuItems",[t]]):ca(e)&&e.value&&e.value?.setDisabledActionModeMenuItems(t)},initJavaScriptInterface:function(e){Pl(e)?L.callNative(bl,yl,[e,"initJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.initJavaScriptInterface()},removeJavaScriptInterface:function(e){Pl(e)?L.callNative(bl,yl,[e,"removeJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.removeJavaScriptInterface()},initWebViewFocus:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"initWebViewFocus",[t,a,n]]):ca(e)&&e.value&&e.value?.initWebViewFocus(t,a,n)}}}(e),f=function(e){return{...e,scrollToIndex:function(e,t,a,n,o,i){Pl(e)?L.callNative(bl,yl,[e,"scrollToIndex",[t,a,n,o,i]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToIndex",[t,a,n,o,i])},setInitPosition:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setInitPosition",[t]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setInitPosition",[t])},clearInitPosition:function(e){Pl(e)?L.callNative(bl,yl,[e,"clearInitPosition",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"clearInitPosition",[])},scrollToContentOffset:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"scrollToContentOffset",[t,a,n,o]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToContentOffset",[t,a,n,o])},scrollToTop:function(e){Pl(e)?L.callNative(bl,yl,[e,"scrollToTop",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToTop",[])},setSelectChildPosition:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setSelectChildPosition",[t,a]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setSelectChildPosition",[t,a])},setTargetFocusChildPosition:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTargetFocusChildPosition",[t]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setTargetFocusChildPosition",[t])},refreshListData:function(e){Pl(e)?L.callNative(bl,yl,[e,"refreshListData",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"refreshListData",[])},getScrollOffset:function(e){return Pl(e)?new Promise((t,a)=>{L.callNative(bl,El,[e,"getScrollOffset",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getScrollOffset",[],e=>{t(e)})}):Promise.reject()}}}(t),v=function(e){return{...e,scrollTo:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"scrollTo",[t,a]]):ca(e)&&e.value&&e.value?.scrollTo(t,a)},scrollToWithOptions:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"scrollToWithOptions",[t,a,n]]):ca(e)&&e.value&&e.value?.scrollToWithOptions(t,a,n)}}}(e),g=function(e){return{...e,setText:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setText",[t]]):ca(e)&&e.value?.setText(t)},setTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextSize",[t]]):ca(e)&&e.value?.setTextSize(t)},setTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTextColor",[t]]):ca(e)&&e.value?.setTextColor(t)},textSpan:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"textSpan",[t]]):ca(e)&&e.value?.textSpan(t)}}}(e),p=function(e){return{...e,setChildSID:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setChildSID",[t]]):ca(e)&&e.value&&e.value?.setChildSID(t)}}}(e),m=function(e){return{...e,setPivotX:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setPivotX",[t]]):ca(e)&&e.value?.setPivotX(t)},setPivotY:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setPivotY",[t]]):ca(e)&&e.value?.setPivotY(t)},resetPivot:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetPivot",[]]):ca(e)&&e.value?.resetPivot()},reset:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetAnimators",[]]):ca(e)&&e.value?.resetAnimators()},animatorSet:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"animatorSet",[t,a,n]]):ca(e)&&e.value?.animatorSet(t,a,n)},start:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"startAnimator",[t]]):ca(e)&&e.value?.startAnimator(t)},startDelay:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"startAnimatorDelay",[t,a]]):ca(e)&&e.value?.startAnimatorDelay(t,a)},pause:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"pauseAnimator",[t]]):ca(e)&&e.value?.pauseAnimator(t)},resume:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"resumeAnimator",[t]]):ca(e)&&e.value?.resumeAnimator(t)},cancel:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"cancelAnimator",[t]]):ca(e)&&e.value?.cancelAnimator(t)},reverse:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"reverseAnimator",[t]]):ca(e)&&e.value?.reverseAnimator(t)},play:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"play",[t,a]]):ca(e)&&e.value?.play(t,a)},playWith:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"playWith",[t,a]]):ca(e)&&e.value?.playWith(t,a)},playBefore:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"playBefore",[t,a]]):ca(e)&&e.value?.playBefore(t,a)},playAfter:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"playAfter",[t,a]]):ca(e)&&e.value?.playAfter(t,a)},playAfterDelay:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"playAfterDelay",[t,a]]):ca(e)&&e.value?.playAfterDelay(t,a)},playSequentially:function(e,t,a){if(Pl(e)){const n=`playSequentially${a.length}`;L.callNative(bl,yl,[e,n,[t,...a]])}else ca(e)&&e.value?.playSequentially(t,a)},playTogether:function(e,t,a){if(Pl(e)){const n=`playTogether${a.length}`;L.callNative(bl,yl,[e,n,[t,...a]])}else ca(e)&&e.value?.playTogether(t,a)},animator:function(e,t,a,n,o,i,l,c,s,u,r){if(Pl(e)){const d=`objectAnimator${0==o.length?"":o.length}`;L.callNative(bl,yl,[e,d,[t,a,n,...o,i,l,c,s,u,r]])}else ca(e)&&e.value?.animator(t,a,n,o,i,l,c,s,u,r)}}}(e),I=function(e){return{...e,setPackageName:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setPackageName",[t]]):ca(e)&&e.value?.setPackageName(t)},setRoundingRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRoundingRadius",[t]]):ca(e)&&e.value?.setRoundingRadius(t)}}}(e),h=function(e){return{...e,init:function(e,t){e.value?.init(t)},scrollToIndex:function(e,t,a,n){e.value?.scrollToIndex(t,a,n)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},updateItem:function(e,t,a){e.value?.updateItem(t,a)}}}(e),T=function(e){return{...e,init:function(e,t){e.value?.init(t)},getItem:function(e,t){return e.value?.getItem(t)},expandItem:function(e,t){e.value?.expandItem(t)},collapse:function(e){e.value?.collapse()},expand:function(e){e.value?.expand()}}}(e),_=function(e){return{...e,updateItem:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"updateItem",[t,a]]):ca(e)&&e.value?.updateItem(t,a)},dispatchItemFunction:function(e,t,a,n,o){Pl(e)?L.callNative(bl,yl,[e,"dispatchItemFunction",[t,a,n,o]]):ca(e)&&e.value?.dispatchItemFunction(t,a,n,o)},updateItemProps:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"updateItemProps",[t,a,n]]):ca(e)&&e.value?.updateItemProps(t,a,n)},batch:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"batch",[t]]):ca(e)&&e.value?.batch(t)}}}(e),F=function(e){return{...e,loadRaw:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_rawRes",[t]]):ca(e)&&e.value?.loadRaw(t)},loadFile:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_localRes",[t]]):ca(e)&&e.value?.loadFile(t)},loadZipFile:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"lottie_zipPath",[t,a]]):ca(e)&&e.value?.loadZipFile(t,a)},loadJsonFile:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_localRes",[t]]):ca(e)&&e.value?.loadJsonFile(t)},loadUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_url",[t]]):ca(e)&&e.value?.loadUrl(t)},loadCacheUrl:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"lottie_cache_url",[t,a]]):ca(e)&&e.value?.loadCacheUrl(t,a)},setFallbackResource:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_fallbackRes",[t]]):ca(e)&&e.value?.setFallbackResource(t)},setAutoPlay:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_autoPlay",[t]]):ca(e)&&e.value?.setAutoPlay(t)},setLottieLoop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_loop",[t]]):ca(e)&&e.value?.setLottieLoop(t)},setRepeatMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_repeatMode",[t]]):ca(e)&&e.value?.setRepeatMode(t)},setRepeatCount:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_repeatCount",[t]]):ca(e)&&e.value?.setRepeatCount(t)},setSpeed:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_speed",[t]]):ca(e)&&e.value?.setSpeed(t)},setClipToCompositionBounds:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_clipToCompositionBounds",[t]]):ca(e)&&e.value?.setClipToCompositionBounds(t)},setDefaultFontFileExtension:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_defaultFontFileExtension",[t]]):ca(e)&&e.value?.setDefaultFontFileExtension(t)},setImageAssetsFolder:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_imageAssetsFolder",[t]]):ca(e)&&e.value?.setImageAssetsFolder(t)},setProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_progress",[t]]):ca(e)&&e.value?.setProgress(t)},enableMergePathsForKitKatAndAbove:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_enableMergePathsForKitKatAndAbove",[t]]):ca(e)&&e.value?.enableMergePathsForKitKatAndAbove(t)},setColorFilter:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_colorFilter",[t]]):ca(e)&&e.value?.setColorFilter(t)},setRenderMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_renderMode",[t]]):ca(e)&&e.value?.setRenderMode(t)},setAsyncUpdate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_asyncUpdates",[t]]):ca(e)&&e.value?.setAsyncUpdate(t)},playAnimation:function(e){Pl(e)?L.callNative(bl,yl,[e,"playAnimation",[]]):ca(e)&&e.value?.playAnimation()},setIgnoreDisabledSystemAnimations:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_ignoreDisabledSystemAnimations",[t]]):ca(e)&&e.value?.setIgnoreDisabledSystemAnimations(t)},setUseCompositionFrameRate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"lottie_useCompositionFrameRate",[t]]):ca(e)&&e.value?.setUseCompositionFrameRate(t)},resumeAnimation:function(e){Pl(e)?L.callNative(bl,yl,[e,"resumeAnimation",[]]):ca(e)&&e.value?.resumeAnimation()},pauseAnimation:function(e){Pl(e)?L.callNative(bl,yl,[e,"pauseAnimation",[]]):ca(e)&&e.value?.pauseAnimation()},cancelAnimation:function(e){Pl(e)?L.callNative(bl,yl,[e,"cancelAnimation",[]]):ca(e)&&e.value?.cancelAnimation()},cacheComposition:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"cacheComposition",[t]]):ca(e)&&e.value?.cacheComposition(t)},removeAllListener:function(e){Pl(e)?L.callNative(bl,yl,[e,"removeAllListener",[]]):ca(e)&&e.value?.removeAllListener()}}}(e),S=function(e){return{...e,init:function(e,t){e.value?.init(t)},scrollToPosition:function(e,t){e.value?.scrollToPosition(t)},scrollToTop:function(e){e.value?.scrollToTop()}}}(e),b=function(e){return{...e,dispatchFunction:function(e,t,a){return Pl(e)?new Promise(n=>{L.callNative(bl,yl,[e,t,a],e=>{n(e)})}):ca(e)&&e&&e.value?e.value.dispatchFunction(t,a):Promise.reject()}}}(e),y=function(e){return{...e,invalidateProgressBar:function(e){Pl(e)?L.callNative(bl,yl,[e,"invalidateSeekBar",[]]):ca(e)&&e.value?.invalidateProgressBar()},setFocusable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFocusable",[t]]):ca(e)&&e.value?.setFocusable(t)},setClickable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setClickable",[t]]):ca(e)&&e.value?.setClickable(t)},setVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setVisible",[t]]):ca(e)&&e.value?.setVisible(t)},setLeftSeekBarVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftSeekBarVisible",[t]]):ca(e)&&e.value?.setLeftSeekBarVisible(t)},setRightSeekBarVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightSeekBarVisible",[t]]):ca(e)&&e.value?.setRightSeekBarVisible(t)},setSeekBarMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSeekBarMode",[t]]):ca(e)&&e.value?.setSeekBarMode(t)},setProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgress",[t]]):ca(e)&&e.value?.setProgress(t)},setSecondProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSecondProgress",[t]]):ca(e)&&e.value?.setSecondProgress(t)},show:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"show",[t]]):ca(e)&&e.value?.show(t)},setMaxProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMaxProgress",[t]]):ca(e)&&e.value?.setMaxProgress(t)},setRangeProgress:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setRangeProgress",[t,a]]):ca(e)&&e.value?.setRangeProgress(t,a)},getProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getProgress",[]]):ca(e)&&e.value?.getProgress()},getLeftProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getLeftProgress",[]]):ca(e)&&e.value?.getLeftProgress()},getRightProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getRightProgress",[]]):ca(e)&&e.value?.getRightProgress()},setRange:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setRange",[t,a,n]]):ca(e)&&e.value?.setRange(t,a,n)},setGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGravity",[t]]):ca(e)&&e.value?.setGravity(t)},setProgressWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressWidth",[t]]):ca(e)&&e.value?.setProgressWidth(t)},setProgressHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressHeight",[t]]):ca(e)&&e.value?.setProgressHeight(t)},setProgressRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressRadius",[t]]):ca(e)&&e.value?.setProgressRadius(t)},setProgressColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressColor",[t]]):ca(e)&&e.value?.setProgressColor(t)},setProgressDefaultColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultColor",[t]]):ca(e)&&e.value?.setProgressDefaultColor(t)},setProgressDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDrawable",[t]]):ca(e)&&e.value?.setProgressDrawable(t)},setProgressDefaultDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultDrawable",[t]]):ca(e)&&e.value?.setProgressDefaultDrawable(t)},setProgressUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressUrl",[t]]):ca(e)&&e.value?.setProgressUrl(t)},setProgressDefaultUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultUrl",[t]]):ca(e)&&e.value?.setProgressDefaultUrl(t)},showIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showIndicator",[t]]):ca(e)&&e.value?.showIndicator(t)},showLeftIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showLeftIndicator",[t]]):ca(e)&&e.value?.showLeftIndicator(t)},showRightIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showRightIndicator",[t]]):ca(e)&&e.value?.showRightIndicator(t)},setIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorShowMode",[t]]):ca(e)&&e.value?.setIndicatorShowMode(t)},setLeftIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorShowMode",[t]]):ca(e)&&e.value?.setLeftIndicatorShowMode(t)},setRightIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorShowMode",[t]]):ca(e)&&e.value?.setRightIndicatorShowMode(t)},setIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorWidth",[t]]):ca(e)&&e.value?.setIndicatorWidth(t)},setLeftIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorWidth",[t]]):ca(e)&&e.value?.setLeftIndicatorWidth(t)},setRightIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorWidth",[t]]):ca(e)&&e.value?.setRightIndicatorWidth(t)},setIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorHeight",[t]]):ca(e)&&e.value?.setIndicatorHeight(t)},setLeftIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorHeight",[t]]):ca(e)&&e.value?.setLeftIndicatorHeight(t)},setRightIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorHeight",[t]]):ca(e)&&e.value?.setRightIndicatorHeight(t)},setIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setIndicatorTextDecimalFormat(t)},setLeftIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextDecimalFormat(t)},setRightIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextDecimalFormat(t)},setIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setIndicatorTextStringFormat(t)},setLeftIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextStringFormat(t)},setRightIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextStringFormat(t)},setIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorMargin",[t]]):ca(e)&&e.value?.setIndicatorMargin(t)},setLeftIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorMargin",[t]]):ca(e)&&e.value?.setLeftIndicatorMargin(t)},setRightIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorMargin",[t]]):ca(e)&&e.value?.setRightIndicatorMargin(t)},setIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setIndicatorPaddingBottom(t)},setLeftIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingBottom(t)},setRightIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingBottom(t)},setIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setIndicatorPaddingTop(t)},setLeftIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingTop(t)},setRightIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingTop(t)},setIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setIndicatorPaddingLeft(t)},setLeftIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingLeft(t)},setRightIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingLeft(t)},setIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setIndicatorPaddingRight(t)},setLeftIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingRight(t)},setRightIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingRight(t)},setIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setIndicatorBackgroundColor(t)},setLeftIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setRightIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorRadius",[t]]):ca(e)&&e.value?.setIndicatorRadius(t)},setLeftIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorRadius",[t]]):ca(e)&&e.value?.setLeftIndicatorRadius(t)},setRightIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorRadius",[t]]):ca(e)&&e.value?.setRightIndicatorRadius(t)},setIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextSize",[t]]):ca(e)&&e.value?.setIndicatorTextSize(t)},setLeftIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextSize",[t]]):ca(e)&&e.value?.setLeftIndicatorTextSize(t)},setRightIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextSize",[t]]):ca(e)&&e.value?.setRightIndicatorTextSize(t)},setIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextColor",[t]]):ca(e)&&e.value?.setIndicatorTextColor(t)},setLeftIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextColor",[t]]):ca(e)&&e.value?.setLeftIndicatorTextColor(t)},setRightIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextColor",[t]]):ca(e)&&e.value?.setRightIndicatorTextColor(t)},setIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorArrowSize",[t]]):ca(e)&&e.value?.setIndicatorArrowSize(t)},setLeftIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorArrowSize",[t]]):ca(e)&&e.value?.setLeftIndicatorArrowSize(t)},setRightIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorArrowSize",[t]]):ca(e)&&e.value?.setRightIndicatorArrowSize(t)},setIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorDrawable",[t]]):ca(e)&&e.value?.setIndicatorDrawable(t)},setLeftIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorDrawable",[t]]):ca(e)&&e.value?.setLeftIndicatorDrawable(t)},setRightIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorDrawable",[t]]):ca(e)&&e.value?.setRightIndicatorDrawable(t)},setIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorUrl",[t]]):ca(e)&&e.value?.setIndicatorUrl(t)},setLeftIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorUrl",[t]]):ca(e)&&e.value?.setLeftIndicatorUrl(t)},setRightIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorUrl",[t]]):ca(e)&&e.value?.setRightIndicatorUrl(t)},setThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbWidth",[t]]):ca(e)&&e.value?.setThumbWidth(t)},setLeftThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbWidth",[t]]):ca(e)&&e.value?.setLeftThumbWidth(t)},setRightThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbWidth",[t]]):ca(e)&&e.value?.setRightThumbWidth(t)},setThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbHeight",[t]]):ca(e)&&e.value?.setThumbHeight(t)},setLeftThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbHeight",[t]]):ca(e)&&e.value?.setLeftThumbHeight(t)},setRightThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbHeight",[t]]):ca(e)&&e.value?.setRightThumbHeight(t)},scaleThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleThumb",[]]):ca(e)&&e.value?.scaleThumb()},scaleLeftThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleLeftThumb",[]]):ca(e)&&e.value?.scaleLeftThumb()},scaleRightThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleRightThumb",[]]):ca(e)&&e.value?.scaleRightThumb()},resetThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetThumb",[]]):ca(e)&&e.value?.resetThumb()},resetLeftThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetLeftThumb",[]]):ca(e)&&e.value?.resetLeftThumb()},resetRightThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetRightThumb",[]]):ca(e)&&e.value?.resetRightThumb()},setThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbScaleRatio",[t]]):ca(e)&&e.value?.setThumbScaleRatio(t)},setLeftThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbScaleRatio",[t]]):ca(e)&&e.value?.setLeftThumbScaleRatio(t)},setRightThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbScaleRatio",[t]]):ca(e)&&e.value?.setRightThumbScaleRatio(t)},setThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbActivate",[t]]):ca(e)&&e.value?.setThumbActivate(t)},setLeftThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbActivate",[t]]):ca(e)&&e.value?.setLeftThumbActivate(t)},setRightThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbActivate",[t]]):ca(e)&&e.value?.setRightThumbActivate(t)},setThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbDrawable",[t]]):ca(e)&&e.value?.setThumbDrawable(t)},setLeftThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbDrawable",[t]]):ca(e)&&e.value?.setLeftThumbDrawable(t)},setRightThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbDrawable",[t]]):ca(e)&&e.value?.setRightThumbDrawable(t)},setThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbUrl",[t]]):ca(e)&&e.value?.setThumbUrl(t)},setLeftThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbUrl",[t]]):ca(e)&&e.value?.setLeftThumbUrl(t)},setRightThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbUrl",[t]]):ca(e)&&e.value?.setRightThumbUrl(t)},setThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setThumbInactivatedDrawable(t)},setLeftThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedDrawable(t)},setRightThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setRightThumbInactivatedDrawable(t)},setThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setThumbInactivatedUrl(t)},setLeftThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedUrl(t)},setRightThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setRightThumbInactivatedUrl(t)},setTickMarkMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkMode",[t]]):ca(e)&&e.value?.setTickMarkMode(t)},setTickMarkGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkGravity",[t]]):ca(e)&&e.value?.setTickMarkGravity(t)},setTickMarkLayoutGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkLayoutGravity",[t]]):ca(e)&&e.value?.setTickMarkLayoutGravity(t)},setTickMarkTextArray:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextArray",[t]]):ca(e)&&e.value?.setTickMarkTextArray(t)},setTickMarkTextMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextMargin",[t]]):ca(e)&&e.value?.setTickMarkTextMargin(t)},setTickMarkTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextSize",[t]]):ca(e)&&e.value?.setTickMarkTextSize(t)},setTickMarkTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextColor",[t]]):ca(e)&&e.value?.setTickMarkTextColor(t)},setTickMarkInRangeTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkInRangeTextColor",[t]]):ca(e)&&e.value?.setTickMarkInRangeTextColor(t)},setSteps:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSteps",[t]]):ca(e)&&e.value?.setSteps(t)},setStepsWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsWidth",[t]]):ca(e)&&e.value?.setStepsWidth(t)},setStepsHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsHeight",[t]]):ca(e)&&e.value?.setStepsHeight(t)},setStepsRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsRadius",[t]]):ca(e)&&e.value?.setStepsRadius(t)},setStepsColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsColor",[t]]):ca(e)&&e.value?.setStepsColor(t)},setStepsAutoBonding:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsAutoBonding",[t]]):ca(e)&&e.value?.setStepsAutoBonding(t)},setStepsDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsDrawable",[t]]):ca(e)&&e.value?.setStepsDrawable(t)},setStepsUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsUrl",[t]]):ca(e)&&e.value?.setStepsUrl(t)}}}(e),E=function(e){return{...e,resetSeekbar:function(e){e.value?.resetSeekbar()},startSeek:function(e,t){e.value?.startSeek(t)},stopSeek:function(e){e.value?.stopSeek()},invalidateSeekBar:function(e){Pl(e)?L.callNative(bl,yl,[e,"invalidateSeekBar",[]]):ca(e)&&e.value?.invalidateSeekBar()},setFocusable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setFocusable",[t]]):ca(e)&&e.value?.setFocusable(t)},setClickable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setClickable",[t]]):ca(e)&&e.value?.setClickable(t)},setVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setVisible",[t]]):ca(e)&&e.value?.setVisible(t)},setLeftSeekBarVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftSeekBarVisible",[t]]):ca(e)&&e.value?.setLeftSeekBarVisible(t)},setRightSeekBarVisible:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightSeekBarVisible",[t]]):ca(e)&&e.value?.setRightSeekBarVisible(t)},setSeekBarMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSeekBarMode",[t]]):ca(e)&&e.value?.setSeekBarMode(t)},setProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgress",[t]]):ca(e)&&e.value?.setProgress(t)},setSecondProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSecondProgress",[t]]):ca(e)&&e.value?.setSecondProgress(t)},show:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"show",[t]]):ca(e)&&e.value?.show(t)},setMaxProgress:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setMaxProgress",[t]]):ca(e)&&e.value?.setMaxProgress(t)},setRangeProgress:function(e,t,a){Pl(e)?L.callNative(bl,yl,[e,"setRangeProgress",[t,a]]):ca(e)&&e.value?.setRangeProgress(t,a)},getProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getProgress",[]]):ca(e)&&e.value?.getProgress()},getLeftProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getLeftProgress",[]]):ca(e)&&e.value?.getLeftProgress()},getRightProgress:function(e){Pl(e)?L.callNative(bl,yl,[e,"getRightProgress",[]]):ca(e)&&e.value?.getRightProgress()},setRange:function(e,t,a,n){Pl(e)?L.callNative(bl,yl,[e,"setRange",[t,a,n]]):ca(e)&&e.value?.setRange(t,a,n)},setGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setGravity",[t]]):ca(e)&&e.value?.setGravity(t)},setProgressWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressWidth",[t]]):ca(e)&&e.value?.setProgressWidth(t)},setProgressHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressHeight",[t]]):ca(e)&&e.value?.setProgressHeight(t)},setProgressRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressRadius",[t]]):ca(e)&&e.value?.setProgressRadius(t)},setProgressColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressColor",[t]]):ca(e)&&e.value?.setProgressColor(t)},setProgressDefaultColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultColor",[t]]):ca(e)&&e.value?.setProgressDefaultColor(t)},setProgressDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDrawable",[t]]):ca(e)&&e.value?.setProgressDrawable(t)},setProgressDefaultDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultDrawable",[t]]):ca(e)&&e.value?.setProgressDefaultDrawable(t)},setProgressUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressUrl",[t]]):ca(e)&&e.value?.setProgressUrl(t)},setProgressDefaultUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setProgressDefaultUrl",[t]]):ca(e)&&e.value?.setProgressDefaultUrl(t)},showIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showIndicator",[t]]):ca(e)&&e.value?.showIndicator(t)},showLeftIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showLeftIndicator",[t]]):ca(e)&&e.value?.showLeftIndicator(t)},showRightIndicator:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"showRightIndicator",[t]]):ca(e)&&e.value?.showRightIndicator(t)},setIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorShowMode",[t]]):ca(e)&&e.value?.setIndicatorShowMode(t)},setLeftIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorShowMode",[t]]):ca(e)&&e.value?.setLeftIndicatorShowMode(t)},setRightIndicatorShowMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorShowMode",[t]]):ca(e)&&e.value?.setRightIndicatorShowMode(t)},setIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorWidth",[t]]):ca(e)&&e.value?.setIndicatorWidth(t)},setLeftIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorWidth",[t]]):ca(e)&&e.value?.setLeftIndicatorWidth(t)},setRightIndicatorWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorWidth",[t]]):ca(e)&&e.value?.setRightIndicatorWidth(t)},setIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorHeight",[t]]):ca(e)&&e.value?.setIndicatorHeight(t)},setLeftIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorHeight",[t]]):ca(e)&&e.value?.setLeftIndicatorHeight(t)},setRightIndicatorHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorHeight",[t]]):ca(e)&&e.value?.setRightIndicatorHeight(t)},setIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setIndicatorTextDecimalFormat(t)},setLeftIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextDecimalFormat(t)},setRightIndicatorTextDecimalFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextDecimalFormat(t)},setIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setIndicatorTextStringFormat(t)},setLeftIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextStringFormat(t)},setRightIndicatorTextStringFormat:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextStringFormat(t)},setIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorMargin",[t]]):ca(e)&&e.value?.setIndicatorMargin(t)},setLeftIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorMargin",[t]]):ca(e)&&e.value?.setLeftIndicatorMargin(t)},setRightIndicatorMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorMargin",[t]]):ca(e)&&e.value?.setRightIndicatorMargin(t)},setIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setIndicatorPaddingBottom(t)},setLeftIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingBottom(t)},setRightIndicatorPaddingBottom:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingBottom(t)},setIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setIndicatorPaddingTop(t)},setLeftIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingTop(t)},setRightIndicatorPaddingTop:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingTop(t)},setIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setIndicatorPaddingLeft(t)},setLeftIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingLeft(t)},setRightIndicatorPaddingLeft:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingLeft(t)},setIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setIndicatorPaddingRight(t)},setLeftIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingRight(t)},setRightIndicatorPaddingRight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingRight(t)},setIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setIndicatorBackgroundColor(t)},setLeftIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setRightIndicatorBackgroundColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorRadius",[t]]):ca(e)&&e.value?.setIndicatorRadius(t)},setLeftIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorRadius",[t]]):ca(e)&&e.value?.setLeftIndicatorRadius(t)},setRightIndicatorRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorRadius",[t]]):ca(e)&&e.value?.setRightIndicatorRadius(t)},setIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextSize",[t]]):ca(e)&&e.value?.setIndicatorTextSize(t)},setLeftIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextSize",[t]]):ca(e)&&e.value?.setLeftIndicatorTextSize(t)},setRightIndicatorTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextSize",[t]]):ca(e)&&e.value?.setRightIndicatorTextSize(t)},setIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorTextColor",[t]]):ca(e)&&e.value?.setIndicatorTextColor(t)},setLeftIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorTextColor",[t]]):ca(e)&&e.value?.setLeftIndicatorTextColor(t)},setRightIndicatorTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorTextColor",[t]]):ca(e)&&e.value?.setRightIndicatorTextColor(t)},setIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorArrowSize",[t]]):ca(e)&&e.value?.setIndicatorArrowSize(t)},setLeftIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorArrowSize",[t]]):ca(e)&&e.value?.setLeftIndicatorArrowSize(t)},setRightIndicatorArrowSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorArrowSize",[t]]):ca(e)&&e.value?.setRightIndicatorArrowSize(t)},setIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorDrawable",[t]]):ca(e)&&e.value?.setIndicatorDrawable(t)},setLeftIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorDrawable",[t]]):ca(e)&&e.value?.setLeftIndicatorDrawable(t)},setRightIndicatorDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorDrawable",[t]]):ca(e)&&e.value?.setRightIndicatorDrawable(t)},setIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setIndicatorUrl",[t]]):ca(e)&&e.value?.setIndicatorUrl(t)},setLeftIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftIndicatorUrl",[t]]):ca(e)&&e.value?.setLeftIndicatorUrl(t)},setRightIndicatorUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightIndicatorUrl",[t]]):ca(e)&&e.value?.setRightIndicatorUrl(t)},setThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbWidth",[t]]):ca(e)&&e.value?.setThumbWidth(t)},setLeftThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbWidth",[t]]):ca(e)&&e.value?.setLeftThumbWidth(t)},setRightThumbWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbWidth",[t]]):ca(e)&&e.value?.setRightThumbWidth(t)},setThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbHeight",[t]]):ca(e)&&e.value?.setThumbHeight(t)},setLeftThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbHeight",[t]]):ca(e)&&e.value?.setLeftThumbHeight(t)},setRightThumbHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbHeight",[t]]):ca(e)&&e.value?.setRightThumbHeight(t)},scaleThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleThumb",[]]):ca(e)&&e.value?.scaleThumb()},scaleLeftThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleLeftThumb",[]]):ca(e)&&e.value?.scaleLeftThumb()},scaleRightThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"scaleRightThumb",[]]):ca(e)&&e.value?.scaleRightThumb()},resetThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetThumb",[]]):ca(e)&&e.value?.resetThumb()},resetLeftThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetLeftThumb",[]]):ca(e)&&e.value?.resetLeftThumb()},resetRightThumb:function(e){Pl(e)?L.callNative(bl,yl,[e,"resetRightThumb",[]]):ca(e)&&e.value?.resetRightThumb()},setThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbScaleRatio",[t]]):ca(e)&&e.value?.setThumbScaleRatio(t)},setLeftThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbScaleRatio",[t]]):ca(e)&&e.value?.setLeftThumbScaleRatio(t)},setRightThumbScaleRatio:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbScaleRatio",[t]]):ca(e)&&e.value?.setRightThumbScaleRatio(t)},setThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbActivate",[t]]):ca(e)&&e.value?.setThumbActivate(t)},setLeftThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbActivate",[t]]):ca(e)&&e.value?.setLeftThumbActivate(t)},setRightThumbActivate:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbActivate",[t]]):ca(e)&&e.value?.setRightThumbActivate(t)},setThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbDrawable",[t]]):ca(e)&&e.value?.setThumbDrawable(t)},setLeftThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbDrawable",[t]]):ca(e)&&e.value?.setLeftThumbDrawable(t)},setRightThumbDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbDrawable",[t]]):ca(e)&&e.value?.setRightThumbDrawable(t)},setThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbUrl",[t]]):ca(e)&&e.value?.setThumbUrl(t)},setLeftThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbUrl",[t]]):ca(e)&&e.value?.setLeftThumbUrl(t)},setRightThumbUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbUrl",[t]]):ca(e)&&e.value?.setRightThumbUrl(t)},setThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setThumbInactivatedDrawable(t)},setLeftThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedDrawable(t)},setRightThumbInactivatedDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setRightThumbInactivatedDrawable(t)},setThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setThumbInactivatedUrl(t)},setLeftThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setLeftThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedUrl(t)},setRightThumbInactivatedUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setRightThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setRightThumbInactivatedUrl(t)},setTickMarkMode:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkMode",[t]]):ca(e)&&e.value?.setTickMarkMode(t)},setTickMarkGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkGravity",[t]]):ca(e)&&e.value?.setTickMarkGravity(t)},setTickMarkLayoutGravity:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkLayoutGravity",[t]]):ca(e)&&e.value?.setTickMarkLayoutGravity(t)},setTickMarkTextArray:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextArray",[t]]):ca(e)&&e.value?.setTickMarkTextArray(t)},setTickMarkTextMargin:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextMargin",[t]]):ca(e)&&e.value?.setTickMarkTextMargin(t)},setTickMarkTextSize:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextSize",[t]]):ca(e)&&e.value?.setTickMarkTextSize(t)},setTickMarkTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkTextColor",[t]]):ca(e)&&e.value?.setTickMarkTextColor(t)},setTickMarkInRangeTextColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setTickMarkInRangeTextColor",[t]]):ca(e)&&e.value?.setTickMarkInRangeTextColor(t)},setSteps:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setSteps",[t]]):ca(e)&&e.value?.setSteps(t)},setStepsWidth:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsWidth",[t]]):ca(e)&&e.value?.setStepsWidth(t)},setStepsHeight:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsHeight",[t]]):ca(e)&&e.value?.setStepsHeight(t)},setStepsRadius:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsRadius",[t]]):ca(e)&&e.value?.setStepsRadius(t)},setStepsColor:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsColor",[t]]):ca(e)&&e.value?.setStepsColor(t)},setStepsAutoBonding:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsAutoBonding",[t]]):ca(e)&&e.value?.setStepsAutoBonding(t)},setStepsDrawable:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsDrawable",[t]]):ca(e)&&e.value?.setStepsDrawable(t)},setStepsUrl:function(e,t){Pl(e)?L.callNative(bl,yl,[e,"setStepsUrl",[t]]):ca(e)&&e.value?.setStepsUrl(t)}}}(e),P=function(e){return{...e,setup:function(e){e.value?.setup()},setInitData:function(e,t,a,n,o){e.value?.setInitData(t,a,n,o)},setVisible:function(e,t){e.value?.setVisible(t)},setPageData:function(e,t,a){e.value?.setPageData(t,a)},scrollTo:function(e,t){e.value?.scrollTo(t)},scrollToWithOffset:function(e,t,a,n){e.value?.scrollToWithOffset(t,a,n)},setSelected:function(e,t){e.value?.setSelected(t)},setGroupSelected:function(e,t){e.value?.setGroupSelected(t)},requestFocus:function(e,t){e.value?.requestFocus(t)},release:function(e){e.value?.release()}}}(e),N=function(e){return{...e,initTab:function(e,t){e.value?.initTab(t)},initPage:function(e,t){e.value?.initPage(t)},setPageState:function(e,t,a){e.value?.setPageState(t,a)},setPageData:function(e,t,a){e.value?.setPageData(t,a)},addPageData:function(e,t,a,n){e.value?.addPageData(t,a,n)},updatePageData:function(e,t,a){e.value?.updatePageData(t,a)},updatePageSection:function(e,t,a,n){e.value?.updatePageSection(t,a,n)},getPageSection:function(e,t,a){return e.value?.getPageSection(t,a)},getPageSectionList:function(e,t){return e.value?.getPageSectionList(t)},deletePageSection:function(e,t,a,n){e.value?.deletePageSection(t,a,n)},addPageItemList:function(e,t,a,n){e.value?.addPageItemList(t,a,n)},getPageItem:function(e,t,a,n){return e.value?.getPageItem(t,a,n)},updatePageItem:function(e,t,a,n,o){e.value?.updatePageItem(t,a,n,o)},deletePageItem:function(e,t,a,n,o){e.value?.deletePageItem(t,a,n,o)},focusBackToTop:function(e){e.value?.focusBackToTop()},requestNodeFocus:function(e,t){e.value?.requestNodeFocus(t)},reloadAll:function(e,t){e.value?.reloadAll(t)},reloadPage:function(e,t){e.value?.reloadPage(t)},setCurrentPage:function(e,t){e.value?.setCurrentPage(t)},requestTabFocus:function(e,t){e.value?.requestTabFocus(t)},invokeContentFunction:function(e,t,a,n){e.value?.invokeContentFunction(t,a,n)},invokeContentFunctionDirect:function(e,t,a){e.value?.invokeContentFunctionDirect(t,a)},contentScrollToFocus:function(e,t){e.value?.contentScrollToFocus(t)},getRootNodeViewState:function(e,t,a,n){e.value?.getRootNodeViewState(t,a,n)},getChildNodeViewState:function(e,t,a,n,o,i){e.value?.getChildNodeViewState(t,a,n,o,i)},dispatchUIFunctionOnChildNode:function(e,t,a,n,o,i){e.value?.dispatchUIFunctionOnChildNode(t,a,n,o,i)},updateItemMatched:function(e,t,a,n){e.value?.updateItemMatched(t,a,n)},updateRootNode:function(e,t,a,n){e.value?.updateRootNode(t,a,n)},updateChildNode:function(e,t,a,n,o){e.value?.updateChildNode(t,a,n,o)},destroy:function(e){e.value?.destroy()},cancelAll:function(e){e.value?.cancelAll()},translationLeft:function(e){e.value?.translationLeft()},translationRight:function(e){e.value?.translationRight()},getCurrentPageIndex:function(e){return e.value?.getCurrentPageIndex()??-1},getCurrentTabIndex:function(e){return e.value?e.value.getCurrentTabIndex():Promise.reject()},insertPageData:function(e,t,a,n){e.value?.insertPageData(t,a,n)},getDataManager:function(e){return e.value?.getDataManager()}}}(e),R=function(e){return{...e}}(e),A=function(e){return{...e}}(e),C=function(e){return{...e}}(e),U=function(e){return{...e}}(e),D=function(e){return{...e}}(e),w=function(e){return{...e}}(e),x={searchReplaceItem:function(e,t){L.callNative(bl,"searchReplaceItem",e,t)},searchReplaceItemTraverse:function(e,t){L.callNative(bl,"searchReplaceItemTraverse",e,t)}},k=function(e){return{...e}}(e);return{div:o,img:o,ul:f,li:o,p:o,view:n,webView:r,listView:i,gridView:l,waterfall:c,image:u,scrollView:v,text:g,replaceChildView:p,animation:m,appIcon:I,classifiedListView:h,collapse:T,listItem:_,lottieView:F,navBar:S,pluginView:b,progressBar:y,seekBar:E,mediaSeries:P,tabs:N,x5WebView:d,button:R,column:A,loading:C,longImage:k,poster:U,qrCode:D,row:w,virtualView:x,indicator:s,log:W,es:G,develop:V,toast:q,storage:z,device:$,display:Q,network:Y,appList:H,power:j,permission:K,usbDevice:Z,broadcast:J,audio:X,shareData:ee,runtime:te,plugin:ae,download:ne,upload:oe,actionBar:ie,iac:le,location:ce,focus:se,provider:ue,eventBus:re,xlog:de,logUpload:fe,brightness:ve,service:ge}}var Al,Ll,Cl,Ul,Dl,wl,xl,kl,Ol,Bl,Ml,Wl,Gl,Vl,ql,zl,$l,Ql,Yl,Hl,jl,Kl,Zl,Jl;!function(e){e.QT_FOCUS_BEFORE_DESCENDANTS="beforeDescendants",e.QT_FOCUS_AFTER_DESCENDANTS="afterDescendants",e.QT_FOCUS_BLOCK_DESCENDANTS="blockDescendants"}(Al||(Al={})),function(e){e[e.QT_FOCUS_BEFORE_DESCENDANTS=131072]="QT_FOCUS_BEFORE_DESCENDANTS",e[e.QT_FOCUS_AFTER_DESCENDANTS=262144]="QT_FOCUS_AFTER_DESCENDANTS",e[e.QT_FOCUS_BLOCK_DESCENDANTS=393216]="QT_FOCUS_BLOCK_DESCENDANTS"}(Ll||(Ll={})),function(e){e[e.QT_FOCUS_DIRECTION_BACKWARD=1]="QT_FOCUS_DIRECTION_BACKWARD",e[e.QT_FOCUS_DIRECTION_FORWARD=2]="QT_FOCUS_DIRECTION_FORWARD",e[e.QT_FOCUS_DIRECTION_LEFT=17]="QT_FOCUS_DIRECTION_LEFT",e[e.QT_FOCUS_DIRECTION_UP=33]="QT_FOCUS_DIRECTION_UP",e[e.QT_FOCUS_DIRECTION_RIGHT=66]="QT_FOCUS_DIRECTION_RIGHT",e[e.QT_FOCUS_DIRECTION_DOWN=130]="QT_FOCUS_DIRECTION_DOWN"}(Cl||(Cl={})),function(e){e.QT_FOCUS_DIRECTION_ALL="all",e.QT_FOCUS_DIRECTION_LEFT="left",e.QT_FOCUS_DIRECTION_UP="up",e.QT_FOCUS_DIRECTION_RIGHT="right",e.QT_FOCUS_DIRECTION_DOWN="down"}(Ul||(Ul={})),function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(Dl||(Dl={})),function(e){e.QT_TEXT_SPAN_ATTRIBUTE_TYPE_SIZE="size",e.QT_TEXT_SPAN_ATTRIBUTE_TYPE_COLOR="color"}(wl||(wl={})),function(e){e.QT_IMAGE_RESIZE_MODE_CONTAIN="contain",e.QT_IMAGE_RESIZE_MODE_COVER="cover",e.QT_IMAGE_RESIZE_MODE_CENTER="center",e.QT_IMAGE_RESIZE_MODE_ORIGIN="origin",e.QT_IMAGE_RESIZE_MODE_FIT_XY="fitxy"}(xl||(xl={})),function(e){e.QT_VISIBLE="visible",e.QT_INVISIBLE="invisible",e.QT_GONE="gone"}(kl||(kl={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Ol||(Ol={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Bl||(Bl={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ml||(Ml={})),function(e){e[e.NONE=0]="NONE",e[e.SOFTWARE=1]="SOFTWARE",e[e.HARDWARE=2]="HARDWARE"}(Wl||(Wl={})),function(e){e[e.NONE=0]="NONE",e[e.SOFTWARE=1]="SOFTWARE",e[e.HARDWARE=2]="HARDWARE"}(Gl||(Gl={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(Vl||(Vl={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(ql||(ql={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(zl||(zl={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}($l||($l={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(Ql||(Ql={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(Yl||(Yl={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Hl||(Hl={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(jl||(jl={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(Kl||(Kl={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(Zl||(Zl={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(Jl||(Jl={}));const Xl={callUIModule(e,t,a){L.callNative("UIManagerModule","callUIFunction",e,t,a)},callUIModuleAsync:async(e,t,a,n=1e3)=>new Promise(o=>{let i=setTimeout(()=>{o(!1)},n);L.callNative("UIManagerModule","callUIFunctionWithPromise",e,t,a,e=>{clearTimeout(i),o(e)})}),call(e,t,a){L.callNative("ExtendModule","callUIFunction",e,t,a)},callAsync:async(e,t,a,n=1e3)=>new Promise(o=>{let i=setTimeout(()=>{o(!1)},n);L.callNative("ExtendModule","callUIFunctionWithPromise",e,t,a,e=>{clearTimeout(i),o(e)})}),tvCall(e,t,a,n){L.callNative("ExtendModule","callUIFunction",e,a,[t,...n])},tvCallAsync:(e,t,a,n,o=1e3)=>new Promise(i=>{let l=setTimeout(()=>{i(!1)},o);L.callNative("ExtendModule","callUIFunctionWithPromise",e,a,[t,...n],e=>{clearTimeout(l),i(e)})}),updateChild(e,t,a){this.tvCall(e,t,"searchReplaceItem",[a])},updateBySid(e,t){this.tvCall("",e,"searchReplaceItem",[t])}};var ec,tc,ac,nc,oc;!function(e){e[e.LEFT=0]="LEFT",e[e.RIGHT=1]="RIGHT",e[e.TOP=2]="TOP",e[e.BOTTOM=3]="BOTTOM"}(ec||(ec={})),function(e){e[e.LOADED_SUCCESS=1]="LOADED_SUCCESS",e[e.LOADED_FAIL=2]="LOADED_FAIL",e[e.START=3]="START"}(tc||(tc={})),function(e){e[e.ZOOM_TYPE_CENTER_INSIDE=0]="ZOOM_TYPE_CENTER_INSIDE",e[e.ZOOM_TYPE_CENTER_ORANGE=1]="ZOOM_TYPE_CENTER_ORANGE",e[e.ZOOM_TYPE_CENTER_OUTSIDE=2]="ZOOM_TYPE_CENTER_OUTSIDE",e[e.ZOOM_TYPE_CENTER_CUSTOM_ABSOLUTE=3]="ZOOM_TYPE_CENTER_CUSTOM_ABSOLUTE",e[e.ZOOM_TYPE_CENTER_CUSTOM_RELATIVE=4]="ZOOM_TYPE_CENTER_CUSTOM_RELATIVE",e[e.ZOOM_TYPE_CENTER_WIDTH_FIXED=5]="ZOOM_TYPE_CENTER_WIDTH_FIXED",e[e.ZOOM_TYPE_CENTER_HEIGHT_FIXED=6]="ZOOM_TYPE_CENTER_HEIGHT_FIXED"}(ac||(ac={})),function(e){e[e.POSITION_TYPE_START=0]="POSITION_TYPE_START",e[e.POSITION_TYPE_CENTER=1]="POSITION_TYPE_CENTER",e[e.POSITION_TYPE_END=2]="POSITION_TYPE_END"}(nc||(nc={})),function(e){e[e.ORIENTATION_USE_EXIF=-1]="ORIENTATION_USE_EXIF",e[e.ORIENTATION_0=0]="ORIENTATION_0",e[e.ORIENTATION_90=90]="ORIENTATION_90",e[e.ORIENTATION_180=180]="ORIENTATION_180",e[e.ORIENTATION_270=270]="ORIENTATION_270"}(oc||(oc={}));class ic{start_pos;end_pos;type;stop_count;stops;constructor(e,t,a,n,o,i){this.stop_count=0,this.stops=[];const l=arguments.length;if(3===l)this.start_pos={x:e,y:t,r:0},this.end_pos={x:e,y:t,r:a},this.type="radial";else if(4===l)this.start_pos={x:e,y:t},this.end_pos={x:a,y:n},this.type="linear";else{if(6!==l)throw new Error("Invalid parameters for CanvasGradient constructor");this.start_pos={x:e,y:t,r:a},this.end_pos={x:a,y:n,r:i},this.type="radial"}}addColorStop(e,t){this.stop_count<5&&e>=0&&e<=1&&(this.stops.push({pos:e,color:t}),this.stop_count++)}}const lc=[wn,kn,On,Mn,Gn,qn,Bo,qo,Yo,Ei,Ai,Ci,Li,ol,ll,cl,sl,pl,ml],cc=t=>{L.isAndroid()?(Fl(t),t.component("qt-lottie-view",{emits:["onAnimationStart","onAnimationEnd","onAnimationCancel","onAnimationRepeat","onAnimationUpdate","onAnimationPause","onAnimationResume"],setup(t,a){const n=e();return a.expose({loadRaw:e=>{L.callUIFunction(n.value,"lottie_rawRes",[e])},loadFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadJsonFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadZipFile:(e,t)=>{L.callUIFunction(n.value,"lottie_zipPath",[e,t])},loadUrl:e=>{L.callUIFunction(n.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{L.callUIFunction(n.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{L.callUIFunction(n.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{L.callUIFunction(n.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{L.callUIFunction(n.value,"lottie_loop",[e])},setRepeatMode:e=>{L.callUIFunction(n.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{L.callUIFunction(n.value,"lottie_repeatCount",[e])},setSpeed:e=>{L.callUIFunction(n.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{L.callUIFunction(n.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{L.callUIFunction(n.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{L.callUIFunction(n.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{L.callUIFunction(n.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{L.callUIFunction(n.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{L.callUIFunction(n.value,"lottie_colorFilter",[e])},setRenderMode:e=>{L.callUIFunction(n.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{L.callUIFunction(n.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{L.callUIFunction(n.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{L.callUIFunction(n.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{L.callUIFunction(n.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{L.callUIFunction(n.value,"resumeAnimation",[])},pauseAnimation:()=>{L.callUIFunction(n.value,"pauseAnimation",[])},cancelAnimation:()=>{L.callUIFunction(n.value,"cancelAnimation",[])},cacheComposition:e=>{L.callUIFunction(n.value,"cacheComposition",[e])},removeAllListener:()=>{L.callUIFunction(n.value,"removeAllListener",[])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ESLottieViewComponent",{ref:n,onAnimationEvent:e=>{const t=e.value??"";switch(e.eventName){case"onAnimationStart":a.emit("onAnimationStart");break;case"onAnimationEnd":a.emit("onAnimationEnd");break;case"onAnimationCancel":a.emit("onAnimationCancel");break;case"onAnimationRepeat":a.emit("onAnimationRepeat");break;case"onAnimationUpdate":a.emit("onAnimationUpdate",t);break;case"onAnimationPause":a.emit("onAnimationPause");break;case"onAnimationResume":a.emit("onAnimationResume")}}},e)}}})):(Sl(t),function(t){t.component("qt-lottie-view",{emits:["onAnimationStart","onAnimationEnd","onAnimationCancel","onAnimationRepeat","onAnimationUpdate","onAnimationPause","onAnimationResume"],setup(t,a){const n=e();return a.expose({loadRaw:e=>{L.callUIFunction(n.value,"lottie_rawRes",[e])},loadFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadJsonFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadZipFile:(e,t)=>{L.callUIFunction(n.value,"lottie_zipPath",[e,t])},loadUrl:e=>{L.callUIFunction(n.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{L.callUIFunction(n.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{L.callUIFunction(n.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{L.callUIFunction(n.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{L.callUIFunction(n.value,"lottie_loop",[e])},setRepeatMode:e=>{L.callUIFunction(n.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{L.callUIFunction(n.value,"lottie_repeatCount",[e])},setSpeed:e=>{L.callUIFunction(n.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{L.callUIFunction(n.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{L.callUIFunction(n.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{L.callUIFunction(n.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{L.callUIFunction(n.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{L.callUIFunction(n.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{L.callUIFunction(n.value,"lottie_colorFilter",[e])},setRenderMode:e=>{L.callUIFunction(n.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{L.callUIFunction(n.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{L.callUIFunction(n.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{L.callUIFunction(n.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{L.callUIFunction(n.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{L.callUIFunction(n.value,"resumeAnimation",[])},pauseAnimation:()=>{L.callUIFunction(n.value,"pauseAnimation",[])},cancelAnimation:()=>{L.callUIFunction(n.value,"cancelAnimation",[])},cacheComposition:e=>{L.callUIFunction(n.value,"cacheComposition",[e])},removeAllListener:()=>{L.callUIFunction(n.value,"removeAllListener",[])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ESLottieViewComponent",{ref:n,onAnimationEvent:e=>{const t=e.value??"";switch(e.eventName){case"onAnimationStart":a.emit("onAnimationStart");break;case"onAnimationEnd":a.emit("onAnimationEnd");break;case"onAnimationCancel":a.emit("onAnimationCancel");break;case"onAnimationRepeat":a.emit("onAnimationRepeat");break;case"onAnimationUpdate":a.emit("onAnimationUpdate",t);break;case"onAnimationPause":a.emit("onAnimationPause");break;case"onAnimationResume":a.emit("onAnimationResume")}}},e)}}})}(t)),function(t){t.component("qt-loading-view",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>R("LoadingViewComponent",{ref:n})}})}(t),Tl(t),function(t){const a=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,a){const n=e();return a.expose({viewRef:n,updateItem:(e,t)=>{L.callUIFunction(n.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,a,o)=>{L.callUIFunction(n.value,"dispatchItemFunction",[e,t,a,o])},updateItemProps:(e,t,a)=>{L.callUIFunction(n.value,"updateItemProps",[t,e,a,!0])},batch:e=>{L.callUIFunction(n.value,"batch",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("FastListView",{ref:n,onBindItem:e=>{a.emit("item-bind",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onItemRecycled:e=>{a.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",a)}(t),_l(t),function(t){const a=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onSniffingResult"],setup(t,a){const n=e();g(()=>{o(!0),l(!0),r(!0),s(!0),u(!0),c(!0),p(!0),f(!0),d(!0),v(!0),i(1),m(2)});const o=e=>{L.callUIFunction(n.value,"setJavaScriptEnabled",[e],e=>{})},i=e=>{L.callUIFunction(n.value,"setPluginState",[e],e=>{})},l=e=>{L.callUIFunction(n.value,"setJavaScriptCanOpenWindowsAutomatically",[e],e=>{})},c=e=>{L.callUIFunction(n.value,"setUseWideViewPort",[e],e=>{})},s=e=>{L.callUIFunction(n.value,"setSupportZoom",[e],e=>{})},u=e=>{L.callUIFunction(n.value,"setBuiltInZoomControls",[e],e=>{})},r=e=>{L.callUIFunction(n.value,"setAllowFileAccess",[e],e=>{})},d=e=>{L.callUIFunction(n.value,"setDomStorageEnabled",[e],e=>{})},f=e=>{L.callUIFunction(n.value,"setAppCacheEnabled",[e],e=>{})},v=e=>{L.callUIFunction(n.value,"setGeolocationEnabled",[e],e=>{})},p=e=>{L.callUIFunction(n.value,"setSupportMultipleWindows",[e],e=>{})},m=e=>{L.callUIFunction(n.value,"setCacheMode",[e],e=>{})};return a.expose({reload:()=>{L.callUIFunction(n.value,"reload",[],e=>{})},clearCache:e=>{L.callUIFunction(n.value,"clearCache",[e],e=>{})},getUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),getOriginalUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),setLayerType:e=>{L.callUIFunction(n.value,"setLayerType",[e],e=>{})},setIgnoreCA:e=>{L.callUIFunction(n.value,"setIgnoreCA",[e],e=>{})},setIgnoreAllKeyEvent:e=>{L.callUIFunction(n.value,"setIgnoreAllKeyEvent",[e],e=>{})},getBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBackForwardList",[],t=>{e(t)})}),getCurrentIndexWithBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getCurrentIndexWithBackForwardList",[],t=>{e(t)})}),getScreenStatus:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getScreenStatus",[],t=>{e(t)})}),autoClickPosition:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"autoClickPosition",[e,t],e=>{a(e)})}),enableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"enableImageDisplay",[],t=>{e(t)})}),disableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"disableImageDisplay",[],t=>{e(t)})}),clearView:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"clearView",[],t=>{e(t)})}),stopLoading:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"stopLoading",[],t=>{e(t)})}),setListenEvents:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"setListenEvents",[e],e=>{t(e)})}),loadUrl:e=>{L.callUIFunction(n.value,"loadUrl",[e],e=>{})},evaluateJavascript:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"evaluateJavascript",[e],e=>{t(e)})}),setSniffingEnabled:e=>{L.callUIFunction(n.value,"setSniffingEnabled",[e],e=>{})},setSniffingRule:e=>{L.callUIFunction(n.value,"setSniffingRule",[e],e=>{})},resetSniffingRule:()=>{L.callUIFunction(n.value,"resetSniffingRule",[],e=>{})},setInterceptEnabled:e=>{L.callUIFunction(n.value,"setInterceptEnabled",[e],e=>{})},setInterceptRule:e=>{L.callUIFunction(n.value,"setInterceptRule",[e],e=>{})},resetInterceptRule:()=>{L.callUIFunction(n.value,"resetInterceptRule",[],e=>{})},shouldOverrideUrlLoading:e=>{L.callUIFunction(n.value,"shouldOverrideUrlLoading",[e],e=>{})},setUserAgent:e=>{L.callUIFunction(n.value,"setUserAgent",[e],e=>{})},canGoBack:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoBack",[],t=>{a.emit("onCanGoBack",t),e(t)})}),goBack:()=>{L.callUIFunction(n.value,"goBack",[],e=>{})},canGoForward:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoForward",[],t=>{a.emit("onCanGoForward",t),e(t)})}),goForward:()=>{L.callUIFunction(n.value,"goForward",[],e=>{})},canGoBackOrForward:e=>{L.callUIFunction(n.value,"canGoBackOrForward",[e],e=>{a.emit("onCanGoBackOrForward",e)})},goBackOrForward:e=>{L.callUIFunction(n.value,"goBackOrForward",[e],e=>{})},onResume:()=>{L.callUIFunction(n.value,"onResume",[],e=>{})},onPause:()=>{L.callUIFunction(n.value,"onPause",[],e=>{})},pauseTimers:()=>{L.callUIFunction(n.value,"pauseTimers",[],e=>{})},resumeTimers:()=>{L.callUIFunction(n.value,"resumeTimers",[],e=>{})},destroy:()=>{L.callUIFunction(n.value,"destroy",[],e=>{})},setJavaScriptEnabled:o,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{L.callUIFunction(n.value,"setLoadWithOverviewMode",[e],e=>{})},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{L.callUIFunction(n.value,"setDisplayZoomControls",[e],e=>{})},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{L.callUIFunction(n.value,"setDatabaseEnabled",[e],e=>{})},setAppCacheEnabled:f,setAppCachePath:e=>{L.callUIFunction(n.value,"setAppCachePath",[e],e=>{})},setMediaPlaybackRequiresUserGesture:e=>{L.callUIFunction(n.value,"setMediaPlaybackRequiresUserGesture",[e],e=>{})},setStandardFontFamily:e=>{L.callUIFunction(n.value,"setStandardFontFamily",[e],e=>{})},setFixedFontFamily:e=>{L.callUIFunction(n.value,"setFixedFontFamily",[e],e=>{})},setSansSerifFontFamily:e=>{L.callUIFunction(n.value,"setSansSerifFontFamily",[e],e=>{})},setSerifFontFamily:e=>{L.callUIFunction(n.value,"setSerifFontFamily",[e],e=>{})},setCursiveFontFamily:e=>{L.callUIFunction(n.value,"setCursiveFontFamily",[e],e=>{})},setFantasyFontFamily:e=>{L.callUIFunction(n.value,"setFantasyFontFamily",[e],e=>{})},setTextZoom:e=>{L.callUIFunction(n.value,"setTextZoom",[e],e=>{})},setMinimumFontSize:e=>{L.callUIFunction(n.value,"setMinimumFontSize",[e],e=>{})},setDefaultFontSize:e=>{L.callUIFunction(n.value,"setDefaultFontSize",[e],e=>{})},setLayoutAlgorithm:e=>{L.callUIFunction(n.value,"setLayoutAlgorithm",[e],e=>{})},setLoadsImagesAutomatically:e=>{L.callUIFunction(n.value,"setLoadsImagesAutomatically",[e],e=>{})},setDefaultTextEncodingName:e=>{L.callUIFunction(n.value,"setDefaultTextEncodingName",[e],e=>{})},setNeedInitialFocus:e=>{L.callUIFunction(n.value,"setNeedInitialFocus",[e],e=>{})},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{L.callUIFunction(n.value,"setBlockNetworkLoads",[e],e=>{})},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{L.callUIFunction(n.value,"setAppCacheMaxSize",[e],e=>{})},setRenderPriority:e=>{L.callUIFunction(n.value,"setRenderPriority",[e],e=>{})},setCacheMode:m,setAllowContentAccess:e=>{L.callUIFunction(n.value,"setAllowContentAccess",[e],e=>{})},setEnableSmoothTransition:e=>{L.callUIFunction(n.value,"setEnableSmoothTransition",[e],e=>{})},setSaveFormData:e=>{L.callUIFunction(n.value,"setSaveFormData",[e],e=>{})},setSavePassword:e=>{L.callUIFunction(n.value,"setSavePassword",[e],e=>{})},setTextSize:e=>{L.callUIFunction(n.value,"setTextSize",[e],e=>{})},setInitialScale:e=>{L.callUIFunction(n.value,"setInitialScale",[e],e=>{})},setDefaultZoom:e=>{L.callUIFunction(n.value,"setDefaultZoom",[e],e=>{})},setLightTouchEnabled:e=>{L.callUIFunction(n.value,"setLightTouchEnabled",[e],e=>{})},setMinimumLogicalFontSize:e=>{L.callUIFunction(n.value,"setMinimumLogicalFontSize",[e],e=>{})},setDefaultFixedFontSize:e=>{L.callUIFunction(n.value,"setDefaultFixedFontSize",[e],e=>{})},setBlockNetworkImage:e=>{L.callUIFunction(n.value,"setBlockNetworkImage",[e],e=>{})},setAllowUniversalAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowUniversalAccessFromFileURLs",[e],e=>{})},setAllowFileAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowFileAccessFromFileURLs",[e],e=>{})},setDatabasePath:e=>{L.callUIFunction(n.value,"setDatabasePath",[e],e=>{})},setGeolocationDatabasePath:e=>{L.callUIFunction(n.value,"setGeolocationDatabasePath",[e],e=>{})},setUserAgentString:e=>{L.callUIFunction(n.value,"setUserAgentString",[e],e=>{})},setMixedContentMode:e=>{L.callUIFunction(n.value,"setMixedContentMode",[e],e=>{})},setOffscreenPreRaster:e=>{L.callUIFunction(n.value,"setOffscreenPreRaster",[e],e=>{})},setSafeBrowsingEnabled:e=>{L.callUIFunction(n.value,"setSafeBrowsingEnabled",[e],e=>{})},setForceDark:e=>{L.callUIFunction(n.value,"setForceDark",[e],e=>{})},setDisabledActionModeMenuItems:e=>{L.callUIFunction(n.value,"setDisabledActionModeMenuItems",[e],e=>{})},initJavaScriptInterface:()=>{L.callUIFunction(n.value,"initJavaScriptInterface",[],e=>{})},removeJavaScriptInterface:()=>{L.callUIFunction(n.value,"removeJavaScriptInterface",[],e=>{})},initWebViewFocus:(e,t,a)=>{L.callUIFunction(n.value,"initWebViewFocus",[e,t,a],e=>{})},...Dn(n)}),()=>R("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;a.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;a.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;a.emit("onLoadResource",t)},onReceivedSslError:e=>{a.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,o=e.failingUrl;a.emit("onReceivedError",t,n,o)},onShouldOverrideUrlLoading:e=>{let t=e.url;a.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;a.emit("onJs2Vue",t)},onSniffingResult:e=>{let t=e.url,n=e.headers;a.emit("onSniffingResult",t,n)},ref:n})}});t.component("qt-web-view",a)}(t),function(t){const a=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onProgressChanged","onConsoleMessage","onSniffingResult"],setup(t,a){const n=e();g(()=>{o(!0),l(!0),r(!0),s(!0),u(!0),c(!0),p(!0),f(!0),d(!0),v(!0),i(1),m(2)});const o=e=>{L.callUIFunction(n.value,"setJavaScriptEnabled",[e],e=>{})},i=e=>{L.callUIFunction(n.value,"setPluginState",[e],e=>{})},l=e=>{L.callUIFunction(n.value,"setJavaScriptCanOpenWindowsAutomatically",[e],e=>{})},c=e=>{L.callUIFunction(n.value,"setUseWideViewPort",[e],e=>{})},s=e=>{L.callUIFunction(n.value,"setSupportZoom",[e],e=>{})},u=e=>{L.callUIFunction(n.value,"setBuiltInZoomControls",[e],e=>{})},r=e=>{L.callUIFunction(n.value,"setAllowFileAccess",[e],e=>{})},d=e=>{L.callUIFunction(n.value,"setDomStorageEnabled",[e],e=>{})},f=e=>{L.callUIFunction(n.value,"setAppCacheEnabled",[e],e=>{})},v=e=>{L.callUIFunction(n.value,"setGeolocationEnabled",[e],e=>{})},p=e=>{L.callUIFunction(n.value,"setSupportMultipleWindows",[e],e=>{})},m=e=>{L.callUIFunction(n.value,"setCacheMode",[e],e=>{})};return a.expose({reload:()=>{L.callUIFunction(n.value,"reload",[],e=>{})},clearCache:e=>{L.callUIFunction(n.value,"clearCache",[e],e=>{})},getUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),getOriginalUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),setLayerType:e=>{L.callUIFunction(n.value,"setLayerType",[e],e=>{})},setIgnoreCA:e=>{L.callUIFunction(n.value,"setIgnoreCA",[e],e=>{})},setIgnoreAllKeyEvent:e=>{L.callUIFunction(n.value,"setIgnoreAllKeyEvent",[e],e=>{})},getBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBackForwardList",[],t=>{e(t)})}),getCurrentIndexWithBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getCurrentIndexWithBackForwardList",[],t=>{e(t)})}),getScreenStatus:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getScreenStatus",[],t=>{e(t)})}),autoClickPosition:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"autoClickPosition",[e,t],e=>{a(e)})}),enableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"enableImageDisplay",[],t=>{e(t)})}),disableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"disableImageDisplay",[],t=>{e(t)})}),clearView:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"clearView",[],t=>{e(t)})}),stopLoading:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"stopLoading",[],t=>{e(t)})}),setListenEvents:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"setListenEvents",[e],e=>{t(e)})}),sendKeyCodeEvent:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"sendKeyCodeEvent",[e,t],e=>{a(e)})}),autoClickPositionWithDuration:(e,t,a)=>new Promise((o,i)=>{L.callUIFunction(n.value,"autoClickPositionWithDuration",[e,t,a],e=>{o(e)})}),initWebView:e=>{L.callUIFunction(n.value,"initWebView",[e],e=>{})},loadUrl:e=>{L.callUIFunction(n.value,"loadUrl",[e],e=>{})},evaluateJavascript:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"evaluateJavascript",[e],e=>{t(e)})}),setSniffingEnabled:e=>{L.callUIFunction(n.value,"setSniffingEnabled",[e],e=>{})},setSniffingRule:e=>{L.callUIFunction(n.value,"setSniffingRule",[e],e=>{})},resetSniffingRule:()=>{L.callUIFunction(n.value,"resetSniffingRule",[],e=>{})},setInterceptEnabled:e=>{L.callUIFunction(n.value,"setInterceptEnabled",[e],e=>{})},setInterceptRule:e=>{L.callUIFunction(n.value,"setInterceptRule",[e],e=>{})},resetInterceptRule:()=>{L.callUIFunction(n.value,"resetInterceptRule",[],e=>{})},shouldOverrideUrlLoading:e=>{L.callUIFunction(n.value,"shouldOverrideUrlLoading",[e],e=>{})},canGoBack:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoBack",[],t=>{a.emit("onCanGoBack",t),e(t)})}),goBack:()=>{L.callUIFunction(n.value,"goBack",[],e=>{})},canGoForward:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoForward",[],t=>{a.emit("onCanGoForward",t),e(t)})}),goForward:()=>{L.callUIFunction(n.value,"goForward",[],e=>{})},canGoBackOrForward:e=>{L.callUIFunction(n.value,"canGoBackOrForward",[e],e=>{a.emit("onCanGoBackOrForward",e)})},goBackOrForward:e=>{L.callUIFunction(n.value,"goBackOrForward",[e],e=>{})},onResume:()=>{L.callUIFunction(n.value,"onResume",[],e=>{})},onPause:()=>{L.callUIFunction(n.value,"onPause",[],e=>{})},pauseTimers:()=>{L.callUIFunction(n.value,"pauseTimers",[],e=>{})},resumeTimers:()=>{L.callUIFunction(n.value,"resumeTimers",[],e=>{})},destroy:()=>{L.callUIFunction(n.value,"destroy",[],e=>{})},setJavaScriptEnabled:o,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{L.callUIFunction(n.value,"setLoadWithOverviewMode",[e],e=>{})},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{L.callUIFunction(n.value,"setDisplayZoomControls",[e],e=>{})},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{L.callUIFunction(n.value,"setDatabaseEnabled",[e],e=>{})},setAppCacheEnabled:f,setAppCachePath:e=>{L.callUIFunction(n.value,"setAppCachePath",[e],e=>{})},setMediaPlaybackRequiresUserGesture:e=>{L.callUIFunction(n.value,"setMediaPlaybackRequiresUserGesture",[e],e=>{})},setStandardFontFamily:e=>{L.callUIFunction(n.value,"setStandardFontFamily",[e],e=>{})},setFixedFontFamily:e=>{L.callUIFunction(n.value,"setFixedFontFamily",[e],e=>{})},setSansSerifFontFamily:e=>{L.callUIFunction(n.value,"setSansSerifFontFamily",[e],e=>{})},setSerifFontFamily:e=>{L.callUIFunction(n.value,"setSerifFontFamily",[e],e=>{})},setCursiveFontFamily:e=>{L.callUIFunction(n.value,"setCursiveFontFamily",[e],e=>{})},setFantasyFontFamily:e=>{L.callUIFunction(n.value,"setFantasyFontFamily",[e],e=>{})},setTextZoom:e=>{L.callUIFunction(n.value,"setTextZoom",[e],e=>{})},setMinimumFontSize:e=>{L.callUIFunction(n.value,"setMinimumFontSize",[e],e=>{})},setDefaultFontSize:e=>{L.callUIFunction(n.value,"setDefaultFontSize",[e],e=>{})},setLayoutAlgorithm:e=>{L.callUIFunction(n.value,"setLayoutAlgorithm",[e],e=>{})},setLoadsImagesAutomatically:e=>{L.callUIFunction(n.value,"setLoadsImagesAutomatically",[e],e=>{})},setDefaultTextEncodingName:e=>{L.callUIFunction(n.value,"setDefaultTextEncodingName",[e],e=>{})},setNeedInitialFocus:e=>{L.callUIFunction(n.value,"setNeedInitialFocus",[e],e=>{})},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{L.callUIFunction(n.value,"setBlockNetworkLoads",[e],e=>{})},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{L.callUIFunction(n.value,"setAppCacheMaxSize",[e],e=>{})},setRenderPriority:e=>{L.callUIFunction(n.value,"setRenderPriority",[e],e=>{})},setCacheMode:m,setAllowContentAccess:e=>{L.callUIFunction(n.value,"setAllowContentAccess",[e],e=>{})},setEnableSmoothTransition:e=>{L.callUIFunction(n.value,"setEnableSmoothTransition",[e],e=>{})},setSaveFormData:e=>{L.callUIFunction(n.value,"setSaveFormData",[e],e=>{})},setSavePassword:e=>{L.callUIFunction(n.value,"setSavePassword",[e],e=>{})},setTextSize:e=>{L.callUIFunction(n.value,"setTextSize",[e],e=>{})},setInitialScale:e=>{L.callUIFunction(n.value,"setInitialScale",[e],e=>{})},setDefaultZoom:e=>{L.callUIFunction(n.value,"setDefaultZoom",[e],e=>{})},setLightTouchEnabled:e=>{L.callUIFunction(n.value,"setLightTouchEnabled",[e],e=>{})},setMinimumLogicalFontSize:e=>{L.callUIFunction(n.value,"setMinimumLogicalFontSize",[e],e=>{})},setDefaultFixedFontSize:e=>{L.callUIFunction(n.value,"setDefaultFixedFontSize",[e],e=>{})},setBlockNetworkImage:e=>{L.callUIFunction(n.value,"setBlockNetworkImage",[e],e=>{})},setAllowUniversalAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowUniversalAccessFromFileURLs",[e],e=>{})},setAllowFileAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowFileAccessFromFileURLs",[e],e=>{})},setDatabasePath:e=>{L.callUIFunction(n.value,"setDatabasePath",[e],e=>{})},setGeolocationDatabasePath:e=>{L.callUIFunction(n.value,"setGeolocationDatabasePath",[e],e=>{})},setUserAgentString:e=>{L.callUIFunction(n.value,"setUserAgentString",[e],e=>{})},setMixedContentMode:e=>{L.callUIFunction(n.value,"setMixedContentMode",[e],e=>{})},setOffscreenPreRaster:e=>{L.callUIFunction(n.value,"setOffscreenPreRaster",[e],e=>{})},setSafeBrowsingEnabled:e=>{L.callUIFunction(n.value,"setSafeBrowsingEnabled",[e],e=>{})},setForceDark:e=>{L.callUIFunction(n.value,"setForceDark",[e],e=>{})},setDisabledActionModeMenuItems:e=>{L.callUIFunction(n.value,"setDisabledActionModeMenuItems",[e],e=>{})},initJavaScriptInterface:()=>{L.callUIFunction(n.value,"initJavaScriptInterface",[],e=>{})},removeJavaScriptInterface:()=>{L.callUIFunction(n.value,"removeJavaScriptInterface",[],e=>{})},initWebViewFocus:(e,t,a)=>{L.callUIFunction(n.value,"initWebViewFocus",[e,t,a],e=>{})},...Dn(n)}),()=>R("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;a.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;a.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;a.emit("onLoadResource",t)},onReceivedSslError:e=>{a.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,o=e.failingUrl;a.emit("onReceivedError",t,n,o)},onShouldOverrideUrlLoading:e=>{let t=e.url;a.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;a.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;a.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;a.emit("onJsFinishGame",t)},onProgressChanged:e=>{let t=e.progress;a.emit("onProgressChanged",t)},onConsoleMessage:e=>{let t=e.message,n=e.messageLevel,o=e.sourceId,i=e.lineNumber;a.emit("onConsoleMessage",t,n,o,i)},onSniffingResult:e=>{let t=e.url,n=e.headers;a.emit("onSniffingResult",t,n)},ref:n})}});t.component("qt-x5web-view",a)}(t),function(t){t.component("qt-qr-code",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>R("QrCodeComponent",{ref:n})}})}(t),function(t){const a=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,a){const n=e(),o=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===i.value&&(u.value=e,L.callUIFunction(n.value,"setProgress",[e],e=>{}))}function d(e){1===i.value&&(s.value=e,L.callUIFunction(n.value,"setMaxProgress",[e],e=>{}))}return a.expose({viewRef:n,seekBarFocused:o,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(o.value){i.value=2,a.emit("onSeekStart",u.value),l.value+=1;let o=1;l.value>20?o=2:l.value>50?o=4:l.value>100&&(o=6);let r=s.value,d=Math.floor(.01*r*o);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),L.callUIFunction(n.value,"setProgress",[u.value],e=>{}),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&a.emit("onSeekStop",u.value),i.value=1},isSeekBarFocused:function(){return o.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){L.callUIFunction(n.value,"invalidateSeekBar",[],e=>{})},setFocusable:function(e){L.callUIFunction(n.value,"setFocusable",[e],e=>{})},setClickable:function(e){L.callUIFunction(n.value,"setClickable",[e],e=>{})},setVisible:function(e){L.callUIFunction(n.value,"setVisible",[e],e=>{})},setLeftSeekBarVisible:function(e){L.callUIFunction(n.value,"setLeftSeekBarVisible",[e],e=>{})},setRightSeekBarVisible:function(e){L.callUIFunction(n.value,"setRightSeekBarVisible",[e],e=>{})},setSeekBarMode:function(e){L.callUIFunction(n.value,"setSeekBarMode",[e],e=>{})},setProgress:r,setRangeProgress:function(e,t){L.callUIFunction(n.value,"setProgress",[e,t],e=>{})},getProgress:function(){L.callUIFunction(n.value,"getProgress",[],e=>{})},getLeftProgress:function(){L.callUIFunction(n.value,"getLeftProgress",[],e=>{})},getRightProgress:function(){L.callUIFunction(n.value,"getRightProgress",[],e=>{})},setRange:function(e,t,a){L.callUIFunction(n.value,"setRange",[e,t,a],e=>{})},setGravity:function(e){L.callUIFunction(n.value,"setGravity",[e],e=>{})},setProgressWidth:function(e){L.callUIFunction(n.value,"setProgressWidth",[e],e=>{})},setProgressHeight:function(e){L.callUIFunction(n.value,"setProgressHeight",[e],e=>{})},setProgressRadius:function(e){L.callUIFunction(n.value,"setProgressRadius",[e],e=>{})},setProgressColor:function(e){L.callUIFunction(n.value,"setProgressColor",[e],e=>{})},setProgressDefaultColor:function(e){L.callUIFunction(n.value,"setProgressDefaultColor",[e],e=>{})},setProgressDrawable:function(e){L.callUIFunction(n.value,"setProgressDrawable",[e],e=>{})},setProgressDefaultDrawable:function(e){L.callUIFunction(n.value,"setProgressDefaultDrawable",[e],e=>{})},setProgressUrl:function(e){L.callUIFunction(n.value,"setProgressUrl",[e],e=>{})},setProgressDefaultUrl:function(e){L.callUIFunction(n.value,"setProgressDefaultUrl",[e],e=>{})},showIndicator:function(e){L.callUIFunction(n.value,"showIndicator",[e],e=>{})},showLeftIndicator:function(e){L.callUIFunction(n.value,"showLeftIndicator",[e],e=>{})},showRightIndicator:function(e){L.callUIFunction(n.value,"showRightIndicator",[e],e=>{})},setIndicatorShowMode:function(e){L.callUIFunction(n.value,"setIndicatorShowMode",[e],e=>{})},setLeftIndicatorShowMode:function(e){L.callUIFunction(n.value,"setLeftIndicatorShowMode",[e],e=>{})},setRightIndicatorShowMode:function(e){L.callUIFunction(n.value,"setRightIndicatorShowMode",[e],e=>{})},setIndicatorWidth:function(e){L.callUIFunction(n.value,"setIndicatorWidth",[e],e=>{})},setLeftIndicatorWidth:function(e){L.callUIFunction(n.value,"setLeftIndicatorWidth",[e],e=>{})},setRightIndicatorWidth:function(e){L.callUIFunction(n.value,"setRightIndicatorWidth",[e],e=>{})},setIndicatorHeight:function(e){L.callUIFunction(n.value,"setIndicatorHeight",[e],e=>{})},setLeftIndicatorHeight:function(e){L.callUIFunction(n.value,"setLeftIndicatorHeight",[e],e=>{})},setRightIndicatorHeight:function(e){L.callUIFunction(n.value,"setRightIndicatorHeight",[e],e=>{})},setIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextDecimalFormat",[e],e=>{})},setLeftIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextDecimalFormat",[e],e=>{})},setRightIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextDecimalFormat",[e],e=>{})},setIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextStringFormat",[e],e=>{})},setLeftIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextStringFormat",[e],e=>{})},setRightIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextStringFormat",[e],e=>{})},setIndicatorMargin:function(e){L.callUIFunction(n.value,"setIndicatorMargin",[e],e=>{})},setLeftIndicatorMargin:function(e){L.callUIFunction(n.value,"setLeftIndicatorMargin",[e],e=>{})},setRightIndicatorMargin:function(e){L.callUIFunction(n.value,"setRightIndicatorMargin",[e],e=>{})},setIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setIndicatorPaddingBottom",[e],e=>{})},setLeftIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingBottom",[e],e=>{})},setRightIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingBottom",[e],e=>{})},setIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setIndicatorPaddingTop",[e],e=>{})},setLeftIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingTop",[e],e=>{})},setRightIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingTop",[e],e=>{})},setIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setIndicatorPaddingLeft",[e],e=>{})},setLeftIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingLeft",[e],e=>{})},setRightIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingLeft",[e],e=>{})},setIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setIndicatorPaddingRight",[e],e=>{})},setLeftIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingRight",[e],e=>{})},setRightIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingRight",[e],e=>{})},setIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setIndicatorBackgroundColor",[e],e=>{})},setLeftIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorBackgroundColor",[e],e=>{})},setRightIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setRightIndicatorBackgroundColor",[e],e=>{})},setIndicatorRadius:function(e){L.callUIFunction(n.value,"setIndicatorRadius",[e],e=>{})},setLeftIndicatorRadius:function(e){L.callUIFunction(n.value,"setLeftIndicatorRadius",[e],e=>{})},setRightIndicatorRadius:function(e){L.callUIFunction(n.value,"setRightIndicatorRadius",[e],e=>{})},setIndicatorTextSize:function(e){L.callUIFunction(n.value,"setIndicatorTextSize",[e],e=>{})},setLeftIndicatorTextSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextSize",[e],e=>{})},setRightIndicatorTextSize:function(e){L.callUIFunction(n.value,"setRightIndicatorTextSize",[e],e=>{})},setIndicatorTextColor:function(e){L.callUIFunction(n.value,"setIndicatorTextColor",[e],e=>{})},setLeftIndicatorTextColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextColor",[e],e=>{})},setRightIndicatorTextColor:function(e){L.callUIFunction(n.value,"setRightIndicatorTextColor",[e],e=>{})},setIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setIndicatorArrowSize",[e],e=>{})},setLeftIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorArrowSize",[e],e=>{})},setRightIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setRightIndicatorArrowSize",[e],e=>{})},setIndicatorDrawable:function(e){L.callUIFunction(n.value,"setIndicatorDrawable",[e],e=>{})},setLeftIndicatorDrawable:function(e){L.callUIFunction(n.value,"setLeftIndicatorDrawable",[e],e=>{})},setRightIndicatorDrawable:function(e){L.callUIFunction(n.value,"setRightIndicatorDrawable",[e],e=>{})},setIndicatorUrl:function(e){L.callUIFunction(n.value,"setIndicatorUrl",[e],e=>{})},setLeftIndicatorUrl:function(e){L.callUIFunction(n.value,"setLeftIndicatorUrl",[e],e=>{})},setRightIndicatorUrl:function(e){L.callUIFunction(n.value,"setRightIndicatorUrl",[e],e=>{})},setThumbWidth:function(e){L.callUIFunction(n.value,"setThumbWidth",[e],e=>{})},setLeftThumbWidth:function(e){L.callUIFunction(n.value,"setLeftThumbWidth",[e],e=>{})},setRightThumbWidth:function(e){L.callUIFunction(n.value,"setRightThumbWidth",[e],e=>{})},setThumbHeight:function(e){L.callUIFunction(n.value,"setThumbHeight",[e],e=>{})},setLeftThumbHeight:function(e){L.callUIFunction(n.value,"setLeftThumbHeight",[e],e=>{})},setRightThumbHeight:function(e){L.callUIFunction(n.value,"setRightThumbHeight",[e],e=>{})},scaleThumb:function(){L.callUIFunction(n.value,"scaleThumb",[],e=>{})},scaleLeftThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},scaleRightThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},resetThumb:function(){L.callUIFunction(n.value,"resetThumb",[],e=>{})},resetLeftThumb:function(){L.callUIFunction(n.value,"resetLeftThumb",[],e=>{})},resetRightThumb:function(){L.callUIFunction(n.value,"resetRightThumb",[],e=>{})},setThumbScaleRatio:function(e){L.callUIFunction(n.value,"setThumbScaleRatio",[e],e=>{})},setLeftThumbScaleRatio:function(e){L.callUIFunction(n.value,"setLeftThumbScaleRatio",[e],e=>{})},setRightThumbScaleRatio:function(e){L.callUIFunction(n.value,"setRightThumbScaleRatio",[e],e=>{})},setThumbActivate:function(e){L.callUIFunction(n.value,"setThumbActivate",[e],e=>{})},setLeftThumbActivate:function(e){L.callUIFunction(n.value,"setLeftThumbActivate",[e],e=>{})},setRightThumbActivate:function(e){L.callUIFunction(n.value,"setRightThumbActivate",[e],e=>{})},setThumbDrawable:function(e){L.callUIFunction(n.value,"setThumbDrawable",[e],e=>{})},setLeftThumbDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbDrawable",[e],e=>{})},setRightThumbDrawable:function(e){L.callUIFunction(n.value,"setRightThumbDrawable",[e],e=>{})},setThumbUrl:function(e){L.callUIFunction(n.value,"setThumbUrl",[e],e=>{})},setLeftThumbUrl:function(e){L.callUIFunction(n.value,"setLeftThumbUrl",[e],e=>{})},setRightThumbUrl:function(e){L.callUIFunction(n.value,"setRightThumbUrl",[e],e=>{})},setThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setThumbInactivatedDrawable",[e],e=>{})},setLeftThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedDrawable",[e],e=>{})},setRightThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedDrawable",[e],e=>{})},setThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setThumbInactivatedUrl",[e],e=>{})},setLeftThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedUrl",[e],e=>{})},setRightThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedUrl",[e],e=>{})},setTickMarkMode:function(e){L.callUIFunction(n.value,"setTickMarkMode",[e],e=>{})},setTickMarkGravity:function(e){L.callUIFunction(n.value,"setTickMarkGravity",[e],e=>{})},setTickMarkLayoutGravity:function(e){L.callUIFunction(n.value,"setTickMarkLayoutGravity",[e],e=>{})},setTickMarkTextArray:function(e){L.callUIFunction(n.value,"setTickMarkTextArray",[e],e=>{})},setTickMarkTextMargin:function(e){L.callUIFunction(n.value,"setTickMarkTextMargin",[e],e=>{})},setTickMarkTextSize:function(e){L.callUIFunction(n.value,"setTickMarkTextSize",[e],e=>{})},setTickMarkTextColor:function(e){L.callUIFunction(n.value,"setTickMarkTextColor",[e],e=>{})},setTickMarkInRangeTextColor:function(e){L.callUIFunction(n.value,"setTickMarkInRangeTextColor",[e],e=>{})},setSteps:function(e){L.callUIFunction(n.value,"setSteps",[e],e=>{})},setStepsWidth:function(e){L.callUIFunction(n.value,"setStepsWidth",[e],e=>{})},setStepsHeight:function(e){L.callUIFunction(n.value,"setStepsHeight",[e],e=>{})},setStepsRadius:function(e){L.callUIFunction(n.value,"setStepsRadius",[e],e=>{})},setStepsColor:function(e){L.callUIFunction(n.value,"setStepsColor",[e],e=>{})},setStepsAutoBonding:function(e){L.callUIFunction(n.value,"setStepsAutoBonding",[e],e=>{})},setStepsDrawable:function(e){L.callUIFunction(n.value,"setStepsDrawable",[e],e=>{})},setStepsUrl:function(e){L.callUIFunction(n.value,"setStepsUrl",[e],e=>{})},setSecondProgress:function(e){L.callUIFunction(n.value,"setSecondProgress",[e],e=>{})},show:function(e){L.callUIFunction(n.value,"show",[e],e=>{})},setMaxProgress:d,...Dn(n)}),()=>R("TVSeekBarViewComponent",{ref:n,onFocus:e=>{o.value=e.isFocused,a.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{a.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",a)}(t),function(t){const a=za({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,a){const n=e();return a.expose({viewRef:n,invalidateProgressBar:function(){L.callUIFunction(n.value,"invalidateSeekBar",[],e=>{})},setFocusable:function(e){L.callUIFunction(n.value,"setFocusable",[e],e=>{})},setClickable:function(e){L.callUIFunction(n.value,"setClickable",[e],e=>{})},setVisible:function(e){L.callUIFunction(n.value,"setVisible",[e],e=>{})},setLeftSeekBarVisible:function(e){L.callUIFunction(n.value,"setLeftSeekBarVisible",[e],e=>{})},setRightSeekBarVisible:function(e){L.callUIFunction(n.value,"setRightSeekBarVisible",[e],e=>{})},setSeekBarMode:function(e){L.callUIFunction(n.value,"setSeekBarMode",[e],e=>{})},setProgress:function(e){L.callUIFunction(n.value,"setProgress",[e],e=>{})},setRangeProgress:function(e,t){L.callUIFunction(n.value,"setProgress",[e,t],e=>{})},getProgress:function(){L.callUIFunction(n.value,"getProgress",[],e=>{})},getLeftProgress:function(){L.callUIFunction(n.value,"getLeftProgress",[],e=>{})},getRightProgress:function(){L.callUIFunction(n.value,"getRightProgress",[],e=>{})},setRange:function(e,t,a){L.callUIFunction(n.value,"setRange",[e,t,a],e=>{})},setGravity:function(e){L.callUIFunction(n.value,"setGravity",[e],e=>{})},setProgressWidth:function(e){L.callUIFunction(n.value,"setProgressWidth",[e],e=>{})},setProgressHeight:function(e){L.callUIFunction(n.value,"setProgressHeight",[e],e=>{})},setProgressRadius:function(e){L.callUIFunction(n.value,"setProgressRadius",[e],e=>{})},setProgressColor:function(e){L.callUIFunction(n.value,"setProgressColor",[e],e=>{})},setProgressDefaultColor:function(e){L.callUIFunction(n.value,"setProgressDefaultColor",[e],e=>{})},setProgressDrawable:function(e){L.callUIFunction(n.value,"setProgressDrawable",[e],e=>{})},setProgressDefaultDrawable:function(e){L.callUIFunction(n.value,"setProgressDefaultDrawable",[e],e=>{})},setProgressUrl:function(e){L.callUIFunction(n.value,"setProgressUrl",[e],e=>{})},setProgressDefaultUrl:function(e){L.callUIFunction(n.value,"setProgressDefaultUrl",[e],e=>{})},showIndicator:function(e){L.callUIFunction(n.value,"showIndicator",[e],e=>{})},showLeftIndicator:function(e){L.callUIFunction(n.value,"showLeftIndicator",[e],e=>{})},showRightIndicator:function(e){L.callUIFunction(n.value,"showRightIndicator",[e],e=>{})},setIndicatorShowMode:function(e){L.callUIFunction(n.value,"setIndicatorShowMode",[e],e=>{})},setLeftIndicatorShowMode:function(e){L.callUIFunction(n.value,"setLeftIndicatorShowMode",[e],e=>{})},setRightIndicatorShowMode:function(e){L.callUIFunction(n.value,"setRightIndicatorShowMode",[e],e=>{})},setIndicatorWidth:function(e){L.callUIFunction(n.value,"setIndicatorWidth",[e],e=>{})},setLeftIndicatorWidth:function(e){L.callUIFunction(n.value,"setLeftIndicatorWidth",[e],e=>{})},setRightIndicatorWidth:function(e){L.callUIFunction(n.value,"setRightIndicatorWidth",[e],e=>{})},setIndicatorHeight:function(e){L.callUIFunction(n.value,"setIndicatorHeight",[e],e=>{})},setLeftIndicatorHeight:function(e){L.callUIFunction(n.value,"setLeftIndicatorHeight",[e],e=>{})},setRightIndicatorHeight:function(e){L.callUIFunction(n.value,"setRightIndicatorHeight",[e],e=>{})},setIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextDecimalFormat",[e],e=>{})},setLeftIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextDecimalFormat",[e],e=>{})},setRightIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextDecimalFormat",[e],e=>{})},setIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextStringFormat",[e],e=>{})},setLeftIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextStringFormat",[e],e=>{})},setRightIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextStringFormat",[e],e=>{})},setIndicatorMargin:function(e){L.callUIFunction(n.value,"setIndicatorMargin",[e],e=>{})},setLeftIndicatorMargin:function(e){L.callUIFunction(n.value,"setLeftIndicatorMargin",[e],e=>{})},setRightIndicatorMargin:function(e){L.callUIFunction(n.value,"setRightIndicatorMargin",[e],e=>{})},setIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setIndicatorPaddingBottom",[e],e=>{})},setLeftIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingBottom",[e],e=>{})},setRightIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingBottom",[e],e=>{})},setIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setIndicatorPaddingTop",[e],e=>{})},setLeftIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingTop",[e],e=>{})},setRightIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingTop",[e],e=>{})},setIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setIndicatorPaddingLeft",[e],e=>{})},setLeftIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingLeft",[e],e=>{})},setRightIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingLeft",[e],e=>{})},setIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setIndicatorPaddingRight",[e],e=>{})},setLeftIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingRight",[e],e=>{})},setRightIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingRight",[e],e=>{})},setIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setIndicatorBackgroundColor",[e],e=>{})},setLeftIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorBackgroundColor",[e],e=>{})},setRightIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setRightIndicatorBackgroundColor",[e],e=>{})},setIndicatorRadius:function(e){L.callUIFunction(n.value,"setIndicatorRadius",[e],e=>{})},setLeftIndicatorRadius:function(e){L.callUIFunction(n.value,"setLeftIndicatorRadius",[e],e=>{})},setRightIndicatorRadius:function(e){L.callUIFunction(n.value,"setRightIndicatorRadius",[e],e=>{})},setIndicatorTextSize:function(e){L.callUIFunction(n.value,"setIndicatorTextSize",[e],e=>{})},setLeftIndicatorTextSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextSize",[e],e=>{})},setRightIndicatorTextSize:function(e){L.callUIFunction(n.value,"setRightIndicatorTextSize",[e],e=>{})},setIndicatorTextColor:function(e){L.callUIFunction(n.value,"setIndicatorTextColor",[e],e=>{})},setLeftIndicatorTextColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextColor",[e],e=>{})},setRightIndicatorTextColor:function(e){L.callUIFunction(n.value,"setRightIndicatorTextColor",[e],e=>{})},setIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setIndicatorArrowSize",[e],e=>{})},setLeftIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorArrowSize",[e],e=>{})},setRightIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setRightIndicatorArrowSize",[e],e=>{})},setIndicatorDrawable:function(e){L.callUIFunction(n.value,"setIndicatorDrawable",[e],e=>{})},setLeftIndicatorDrawable:function(e){L.callUIFunction(n.value,"setLeftIndicatorDrawable",[e],e=>{})},setRightIndicatorDrawable:function(e){L.callUIFunction(n.value,"setRightIndicatorDrawable",[e],e=>{})},setIndicatorUrl:function(e){L.callUIFunction(n.value,"setIndicatorUrl",[e],e=>{})},setLeftIndicatorUrl:function(e){L.callUIFunction(n.value,"setLeftIndicatorUrl",[e],e=>{})},setRightIndicatorUrl:function(e){L.callUIFunction(n.value,"setRightIndicatorUrl",[e],e=>{})},setThumbWidth:function(e){L.callUIFunction(n.value,"setThumbWidth",[e],e=>{})},setLeftThumbWidth:function(e){L.callUIFunction(n.value,"setLeftThumbWidth",[e],e=>{})},setRightThumbWidth:function(e){L.callUIFunction(n.value,"setRightThumbWidth",[e],e=>{})},setThumbHeight:function(e){L.callUIFunction(n.value,"setThumbHeight",[e],e=>{})},setLeftThumbHeight:function(e){L.callUIFunction(n.value,"setLeftThumbHeight",[e],e=>{})},setRightThumbHeight:function(e){L.callUIFunction(n.value,"setRightThumbHeight",[e],e=>{})},scaleThumb:function(){L.callUIFunction(n.value,"scaleThumb",[],e=>{})},scaleLeftThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},scaleRightThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},resetThumb:function(){L.callUIFunction(n.value,"resetThumb",[],e=>{})},resetLeftThumb:function(){L.callUIFunction(n.value,"resetLeftThumb",[],e=>{})},resetRightThumb:function(){L.callUIFunction(n.value,"resetRightThumb",[],e=>{})},setThumbScaleRatio:function(e){L.callUIFunction(n.value,"setThumbScaleRatio",[e],e=>{})},setLeftThumbScaleRatio:function(e){L.callUIFunction(n.value,"setLeftThumbScaleRatio",[e],e=>{})},setRightThumbScaleRatio:function(e){L.callUIFunction(n.value,"setRightThumbScaleRatio",[e],e=>{})},setThumbActivate:function(e){L.callUIFunction(n.value,"setThumbActivate",[e],e=>{})},setLeftThumbActivate:function(e){L.callUIFunction(n.value,"setLeftThumbActivate",[e],e=>{})},setRightThumbActivate:function(e){L.callUIFunction(n.value,"setRightThumbActivate",[e],e=>{})},setThumbDrawable:function(e){L.callUIFunction(n.value,"setThumbDrawable",[e],e=>{})},setLeftThumbDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbDrawable",[e],e=>{})},setRightThumbDrawable:function(e){L.callUIFunction(n.value,"setRightThumbDrawable",[e],e=>{})},setThumbUrl:function(e){L.callUIFunction(n.value,"setThumbUrl",[e],e=>{})},setLeftThumbUrl:function(e){L.callUIFunction(n.value,"setLeftThumbUrl",[e],e=>{})},setRightThumbUrl:function(e){L.callUIFunction(n.value,"setRightThumbUrl",[e],e=>{})},setThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setThumbInactivatedDrawable",[e],e=>{})},setLeftThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedDrawable",[e],e=>{})},setRightThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedDrawable",[e],e=>{})},setThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setThumbInactivatedUrl",[e],e=>{})},setLeftThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedUrl",[e],e=>{})},setRightThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedUrl",[e],e=>{})},setTickMarkMode:function(e){L.callUIFunction(n.value,"setTickMarkMode",[e],e=>{})},setTickMarkGravity:function(e){L.callUIFunction(n.value,"setTickMarkGravity",[e],e=>{})},setTickMarkLayoutGravity:function(e){L.callUIFunction(n.value,"setTickMarkLayoutGravity",[e],e=>{})},setTickMarkTextArray:function(e){L.callUIFunction(n.value,"setTickMarkTextArray",[e],e=>{})},setTickMarkTextMargin:function(e){L.callUIFunction(n.value,"setTickMarkTextMargin",[e],e=>{})},setTickMarkTextSize:function(e){L.callUIFunction(n.value,"setTickMarkTextSize",[e],e=>{})},setTickMarkTextColor:function(e){L.callUIFunction(n.value,"setTickMarkTextColor",[e],e=>{})},setTickMarkInRangeTextColor:function(e){L.callUIFunction(n.value,"setTickMarkInRangeTextColor",[e],e=>{})},setSteps:function(e){L.callUIFunction(n.value,"setSteps",[e],e=>{})},setStepsWidth:function(e){L.callUIFunction(n.value,"setStepsWidth",[e],e=>{})},setStepsHeight:function(e){L.callUIFunction(n.value,"setStepsHeight",[e],e=>{})},setStepsRadius:function(e){L.callUIFunction(n.value,"setStepsRadius",[e],e=>{})},setStepsColor:function(e){L.callUIFunction(n.value,"setStepsColor",[e],e=>{})},setStepsAutoBonding:function(e){L.callUIFunction(n.value,"setStepsAutoBonding",[e],e=>{})},setStepsDrawable:function(e){L.callUIFunction(n.value,"setStepsDrawable",[e],e=>{})},setStepsUrl:function(e){L.callUIFunction(n.value,"setStepsUrl",[e],e=>{})},setSecondProgress:function(e){L.callUIFunction(n.value,"setSecondProgress",[e],e=>{})},show:function(e){L.callUIFunction(n.value,"show",[e],e=>{})},setMaxProgress:function(e){L.callUIFunction(n.value,"setMaxProgress",[e],e=>{})},...Dn(n)}),()=>R("TVProgressBarViewComponent",{ref:n,onFocus:e=>{a.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{a.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",a)}(t),function(t){t.component("qt-dialog",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("Modal",{ref:n},e)}}})}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({viewRef:n,scrollTo:function(e,t){L.callUIFunction(n.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,a){L.callUIFunction(n.value,"scrollToWithOptions",[{x:e,y:t,duration:a}])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ScrollView",{ref:n},e)}}});t.component("qt-scroll-view",a)}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({setPackageName:function(e){L.callUIFunction(n.value,"setPackageName",[e],e=>{})},setRoundingRadius:function(e){L.callUIFunction(n.value,"setRoundingRadius",[e],e=>{})}}),()=>R("ESAppIconViewComponent",{ref:n})}});t.component("qt-app-icon",a)}(t),function(t){const a=l({emits:["onPluginLoadSuccess","onPluginLoadError"],setup(t,a){const n=e(),o=O().getESSDKVersionCode()>=M.ES_SDK_VERSION_29?"ESPluginViewComponent":"div";return a.expose({dispatchFunction:(e,t)=>new Promise(a=>{L.callUIFunction(n.value,e,t,e=>{a(e)})})}),()=>R(o,{ref:n,onPluginLoadSuccess:e=>{a.emit("onPluginLoadSuccess",{sid:e.sid})},onPluginLoadError:e=>{a.emit("onPluginLoadError",{sid:e.sid,errorCode:e.errorCode,errorMessage:e.errorMessage})}})}});t.component("qt-plugin-view",a)}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({viewRef:n,setChildSID:function(e){L.callUIFunction(n.value,"setChildSID",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ReplaceChildView",{ref:n},e)}}});t.component("qt-replace-child",a)}(t),function(t){C("CanvasView2D",{component:{name:"CanvasView2D"}});const a={setup(t,a){const n=e();return a.expose({viewRef:n,destroyView:()=>{L.callUIFunction(n.value,"destoryView",[])},drawAction:e=>{L.callUIFunction(n.value,"drawAction",[e])},drawFinish:()=>{L.callUIFunction(n.value,"drawAction",[])},fillStyle:e=>{let t="";if("linear"===e.type){t="AC"+e.start_pos.x.toFixed(2)+","+e.start_pos.y.toFixed(2)+","+e.end_pos.x.toFixed(2)+","+e.end_pos.y.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else if(e&&"radial"===e.type){const a=e.start_pos,n=e.end_pos;t="AD"+a.x.toFixed(2)+","+a.y.toFixed(2)+","+a.r.toFixed(2)+","+n.x.toFixed(2)+","+n.y.toFixed(2)+","+n.r.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else"string"==typeof e&&(t=e);L.callUIFunction(n.value,"fillStyle",[t])},fillRect:(e,t,a,o)=>{L.callUIFunction(n.value,"fillRect",[e,t,a,o])},rec:(e,t,a,o)=>{L.callUIFunction(n.value,"rec",[e,t,a,o])},strokeStyle:e=>{let t="";if("object"==typeof e&&"linear"===e.type){t="NC"+e.start_pos.x.toFixed(2)+","+e.start_pos.y.toFixed(2)+","+e.end_pos.x.toFixed(2)+","+e.end_pos.y.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else"string"==typeof e&&(t=e);L.callUIFunction(n.value,"strokeStyle",[t])},strokeRect:(e,t,a,o)=>{L.callUIFunction(n.value,"strokeRect",[e,t,a,o])},clearRect:(e,t,a,o)=>{L.callUIFunction(n.value,"clearRect",[e,t,a,o])},shadowBlur:e=>{L.callUIFunction(n.value,"shadowBlur",[e])},shadowColor:e=>{L.callUIFunction(n.value,"shadowColor",[e])},shadowOffsetX:e=>{L.callUIFunction(n.value,"shadowOffsetX",[e])},shadowOffsetY:e=>{L.callUIFunction(n.value,"shadowOffsetY",[e])},lineDashOffset:e=>{L.callUIFunction(n.value,"lineDashOffset",[e])},lineWidth:e=>{L.callUIFunction(n.value,"lineWidth",[e])},setLineDash:(e,t)=>{L.callUIFunction(n.value,"setLineDash",[e,t])},textBaseline:e=>{L.callUIFunction(n.value,"textBaseline",[e])},textAlign:e=>{L.callUIFunction(n.value,"textAlign",[e])},fillText:(e,t,a)=>{L.callUIFunction(n.value,"fillText",[e,t,a])},strokeText:(e,t,a)=>{L.callUIFunction(n.value,"strokeText",[e,t,a])},font:e=>{L.callUIFunction(n.value,"font",[e])},beginPath:()=>{L.callUIFunction(n.value,"beginPath",[])},moveTo:(e,t)=>{L.callUIFunction(n.value,"moveTo",[e,t])},arc:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"arc",[e,t,a,o,i,l])},clip:()=>{L.callUIFunction(n.value,"clip",[])},lineTo:(e,t)=>{L.callUIFunction(n.value,"lineTo",[e,t])},closePath:()=>{L.callUIFunction(n.value,"closePath",[])},stroke:()=>{L.callUIFunction(n.value,"stroke",[])},fill:()=>{L.callUIFunction(n.value,"fill",[])},save:()=>{L.callUIFunction(n.value,"save",[])},restore:()=>{L.callUIFunction(n.value,"restore",[])},lineCap:e=>{L.callUIFunction(n.value,"lineCap",[e])},lineJoin:e=>{L.callUIFunction(n.value,"lineJoin",[e])},quadraticCurveTo:(e,t,a,o)=>{L.callUIFunction(n.value,"quadraticCurveTo",[e,t,a,o])},bezierCurveTo:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"bezierCurveTo",[e,t,a,o,i,l])},globalAlpha:e=>{L.callUIFunction(n.value,"globalAlpha",[e])},globalCompositeOperation:e=>{L.callUIFunction(n.value,"globalCompositeOperation",[e])},translate:(e,t)=>{L.callUIFunction(n.value,"translate",[e,t])},rotate:e=>{L.callUIFunction(n.value,"rotate",[e])},scale:(e,t)=>{L.callUIFunction(n.value,"scale",[e,t])},transform:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"transform",[e,t,a,o,i,l])},setTransform:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"setTransform",[e,t,a,o,i,l])},drawImage:(e,t,a)=>{L.callUIFunction(n.value,"drawImage",[e,t,a])},drawImageWithWH:(e,t,a,o,i)=>{L.callUIFunction(n.value,"drawImage",[e,t,a,o,i])},drawImageSlice:(e,t,a,o,i,l,c,s,u)=>{L.callUIFunction(n.value,"drawImage",[e,t,a,o,i,l,c,s,u])},setVersion:e=>{L.callUIFunction(n.value,"setVersion",[e])},setCurrentDensity:e=>{L.callUIFunction(n.value,"setCurrentDensity",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("CanvasView2D",{ref:n},e)}}};t.component("qt-canvas-view",a)}(t),function(t){C("ESLongImageViewComponent",{component:{name:"ESLongImageViewComponent",processEventData(e,t){const{handler:a,__evt:n}=e;switch(n){case"onImageDownLoadChange":a.fileId=t.fileId,a.width=t.width,a.height=t.height,a.mimeType=t.mimeType,a.status=t.status,a.progress=t.progress,a.message=t.message;break;case"onImageLoadStatusChange":a.fileId=t.fileId,a.status=t.status,a.message=t.message,a.isGif=t.isGif,a.width=t.width,a.height=t.height,a.scale=t.scale,a.minScale=t.minScale,a.maxScale=t.maxScale;break;case"onScroll":a.fileId=t.fileId,a.width=t.width,a.height=t.height,a.direction=t.direction,a.percent=t.scrollProgressIndicator,a.isScroll=t.isScrollEdge;break;case"onShow":a.fileId=t.fileId,a.isScroll=t.isScroll;break;case"onScaleChanged":a.fileId=t.fileId,a.scale=t.scale,a.origin=t.origin;break;case"onCenterChanged":a.fileId=t.fileId,a.x=t.x,a.y=t.y,a.origin=t.origin}return a}}}),t.component("qt-long-image-view",{setup(t,a){const n=e();return a.expose({viewRef:n,setSrc:(e,t="")=>{console.log("----------setSrc---------\x3e>>>",e),L.callUIFunction(n.value,"setImageUrl",[e,t])},setInitScale:(e,t=0)=>{L.callUIFunction(n.value,"setInitScale",[e,t])},setInitPosition:e=>{L.callUIFunction(n.value,"setInitPosition",[e])},setInitCenter:(e,t)=>{L.callUIFunction(n.value,"setInitCenter",[e,t])},setInitOrientation:e=>{L.callUIFunction(n.value,"setInitOrientation",[e])},zoom:(e,t=0)=>{L.callUIFunction(n.value,"zoom",[e,t])},zoomByPoint:(e,t=0,a=0,o=0)=>{L.callUIFunction(n.value,"zoomByPoint",[e,t,a,o])},zoomByCenter:(e,t=0)=>{L.callUIFunction(n.value,"zoomByCenter",[e,t])},scrollDown:(e=200)=>{console.log("----------scrollDown---------\x3e>>>",e),L.callUIFunction(n.value,"actionDown",[e])},scrollUp:(e=200)=>{console.log("----------scrollUp---------\x3e>>>",e),L.callUIFunction(n.value,"actionUp",[e])},scrollLeft:(e=200)=>{console.log("----------scrollLeft---------\x3e>>>",e),L.callUIFunction(n.value,"actionLeft",[e])},scrollRight:(e=200)=>{console.log("----------scrollRight---------\x3e>>>",e),L.callUIFunction(n.value,"actionRight",[e])},scrollTo:(e,t)=>{L.callUIFunction(n.value,"scrollToPosition",[e,t])},rotate:e=>{L.callUIFunction(n.value,"rotate",[e])},setScaleByAnimal:e=>{L.callUIFunction(n.value,"setScaleByAnimal",[e])},setDebug:e=>{L.callUIFunction(n.value,"setDebug",[e])},enableHDR:e=>{L.callUIFunction(n.value,"enableHDR",[e])},setDefaultHDR:e=>{L.callUIFunction(n.value,"setDefaultHDR",[e])},setSaturation:e=>{L.callUIFunction(n.value,"setSaturation",[e])},setContrast:e=>{L.callUIFunction(n.value,"setContrast",[e])},setBrightness:e=>{L.callUIFunction(n.value,"setBrightness",[e])},setWarmth:e=>{L.callUIFunction(n.value,"setWarmth",[e])},setOverlayAlpha:e=>{L.callUIFunction(n.value,"setOverlayAlpha",[e])},isHDR:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"isHDR",[],t=>{e(t)})}),getSaturation:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getSaturation",[],t=>{e(t)})}),getContrast:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getContrast",[],t=>{e(t)})}),getBrightness:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBrightness",[],t=>{e(t)})}),getWarmth:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getWarmth",[],t=>{e(t)})}),getOverlayAlpha:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getOverlayAlpha",[],t=>{e(t)})}),...Dn(n)}),()=>R("ESLongImageViewComponent",{ref:n,onImageDownLoadChange:e=>{const t=e.width,n=e.height,o=e.status,i=e.message,l=e.progress,c=e.fileId,s=e.mimeType;console.log("---------onImageDownLoadChange-------------\x3e>>>",o,l,i,t,n,c,s);const u={fileId:c,status:o,message:i,progress:l,width:t,height:n,mimeType:s};a.emit("onDownLoad",u)},onImageLoadStatusChange:e=>{const t=e.fileId,n=e.status,o=e.message,i=e.isGif,l=e.width,c=e.height,s=e.scale,u=e.minScale,r=e.maxScale;console.log("---------onImageLoadStatusChange-------------\x3e>>>",t,n,o,i,l,c,s,u,r);const d={fileId:t,status:n,message:o,isGif:i,width:l,height:c,scale:s,minScale:u,maxScale:r};a.emit("onImageLoad",d)},onScroll:e=>{const t=e.fileId,n=e.width,o=e.height,i={fileId:t,direction:e.direction,percent:e.percent,isScroll:e.isScroll,width:n,height:o};a.emit("onScroll",i)},onShow:e=>{const t=e.isScroll,n={fileId:e.fileId,scrollable:t};a.emit("onRendered",n)},onScaleChanged:e=>{const t={fileId:e.fileId,scale:e.scale,origin:e.origin};a.emit("onScaleChanged",t)},onCenterChanged:e=>{const t={fileId:e.fileId,scale:e.scale,origin:e.origin,x:e.x,y:e.y};a.emit("onCenterChanged",t)}})}})}(t),function(t){C("ESFileBrowseComponent",{component:{name:"ESFileBrowseComponent",processEventData(e,t){const{handler:a,__evt:n}=e;return a}}}),t.component("qt-file-browse-view",{setup(t,a){const n=e();return a.expose({viewRef:n,init:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"init",[],(a,n)=>{a?t(a):e(n)})}),canOpenFile:e=>L.callUIFunction(n.value,"canOpenFile",[e]),openFile:(e,t)=>{L.callUIFunction(n.value,"openFile",[e,t])},closeFile:()=>{L.callUIFunction(n.value,"closeFile",[])},useCustomView:e=>{L.callUIFunction(n.value,"useCustomView",[e])},...Dn(n)}),()=>R("ESFileBrowseComponent",{ref:n})}})}(t);for(let e in lc)t.component(lc[e].name,lc[e]);const a=Rl();global.qt=a};export{ic as CanvasGradient,ec as LongImageScrollDirection,tc as LongImageStatus,Xi as QTAnimationInterpolatorType,el as QTAnimationPropertyName,al as QTAnimationRepeatMode,tl as QTAnimationType,nl as QTAnimationValueType,Ji as QTAnimatorRelationType,Al as QTDescendantFocusability,Ll as QTFocusDescendant,Cl as QTFocusDirection,Ul as QTFocusDirectionName,Kl as QTGradientOrientation,Zl as QTGradientShape,Jl as QTGradientType,Dl as QTIViewVisibility,xl as QTImageResizeMode,oc as QTLongImageOrientation,nc as QTLongImagePositionType,ac as QTLongImageScaleType,jl as QTLottieAsyncUpdates,Hl as QTLottieRepeatMode,ji as QTMediaSeriesStyleType,Hi as QTMediaSeriesType,Bl as QTNavBarItemType,Ol as QTScrollState,ql as QTSeekBarGravity,zl as QTSeekBarIndicatorMode,Vl as QTSeekBarMode,Ql as QTSeekBarTickMarkGravity,Yl as QTSeekBarTickMarkLayoutGravity,$l as QTSeekBarTickMarkMode,Ml as QTTabItemType,bi as QTTabPageState,wl as QTTextSpanAttributeType,kl as QTVisibility,Ko as QTWaterfallItemType,jo as QTWaterfallSectionType,Fi as QTWaterfallVisibleType,Wl as QTWebViewLayerType,Gl as QTX5WebViewLayerType,cc as QuickTVUI,vl as SeriesStyleType,Xl as VirtualView,Il as arrangeChildren4ListView,_o as parseChildUpdate,yo as qtDiff,Lo as qtGetParent,xo as qtRef,ko as qtTabsRef,No as qtWatchAll};
|
|
17
|
+
**/const ga=[];let pa=!1;function ma(e,...t){if(pa)return;pa=!0,it();const a=ga.length?ga[ga.length-1].component:null,n=a&&a.appContext.config.warnHandler,o=function(){let e=ga[ga.length-1];if(!e)return[];const t=[];for(;e;){const a=t[0];a&&a.vnode===e?a.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)_a(n,a,11,[e+t.map(e=>{var t,a;return null!=(a=null==(t=e.toString)?void 0:t.call(e))?a:JSON.stringify(e)}).join(""),a&&a.proxy,o.map(({vnode:e})=>`at <${Cn(a,e.type)}>`).join("\n"),o]);else{const a=[`[Vue warn]: ${e}`,...t];o.length&&a.push("\n",...function(e){const t=[];return e.forEach((e,a)=>{t.push(...0===a?[]:["\n"],...function({vnode:e,recurseCount:t}){const a=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,o=` at <${Cn(e.component,e.type,n)}`,i=">"+a;return e.props?[o,...Ia(e.props),i]:[o+i]}(e))}),t}(o)),console.warn(...a)}lt(),pa=!1}function Ia(e){const t=[],a=Object.keys(e);return a.slice(0,3).forEach(a=>{t.push(...ha(a,e[a]))}),a.length>3&&t.push(" ..."),t}function ha(e,t,a){return Ee(t)?(t=JSON.stringify(t),a?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?a?t:[`${e}=${t}`]:ca(t)?(t=ha(e,na(t.value),!0),a?t:[`${e}=Ref<`,t,">"]):ye(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=na(t),a?t:[`${e}=`,t])}const Ta={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function _a(e,t,a,n){try{return n?e(...n):e()}catch(e){Sa(e,t,a)}}function Fa(e,t,a,n){if(ye(e)){const i=_a(e,t,a,n);return i&&((Pe(o=i)||ye(o))&&ye(o.then)&&ye(o.catch))&&i.catch(e=>{Sa(e,t,a)}),i}var o;if(Se(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Fa(e[i],t,a,n));return o}"production"!==process.env.NODE_ENV&&ma("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function Sa(e,t,a,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||me;if(t){let n=t.parent;const o=t.proxy,l="production"!==process.env.NODE_ENV?Ta[a]:`https://vuejs.org/error-reference/#runtime-${a}`;for(;n;){const t=n.ec;if(t)for(let a=0;a<t.length;a++)if(!1===t[a](e,o,l))return;n=n.parent}if(i)return it(),_a(i,null,10,[e,o,l]),void lt()}!function(e,t,a,n=!0,o=!1){if("production"!==process.env.NODE_ENV){const o=Ta[t];if(a&&(i=a,ga.push(i)),ma("Unhandled error"+(o?` during execution of ${o}`:"")),a&&ga.pop(),n)throw e;console.error(e)}else{if(o)throw e;console.error(e)}var i}(e,a,o,n,l)}const ba=[];let ya=-1;const Ea=[];let Na=null,Pa=0;const Ra=Promise.resolve();let Aa=null;function La(e){const t=Aa||Ra;return e?t.then(this?e.bind(this):e):t}function Ca(e){if(!(1&e.flags)){const t=wa(e),a=ba[ba.length-1];!a||!(2&e.flags)&&t>=wa(a)?ba.push(e):ba.splice(function(e){let t=ya+1,a=ba.length;for(;t<a;){const n=t+a>>>1,o=ba[n],i=wa(o);i<e||i===e&&2&o.flags?t=n+1:a=n}return t}(t),0,e),e.flags|=1,Ua()}}function Ua(){Aa||(Aa=Ra.then(xa))}function Da(e){Se(e)?Ea.push(...e):Na&&-1===e.id?Na.splice(Pa+1,0,e):1&e.flags||(Ea.push(e),e.flags|=1),Ua()}const wa=e=>null==e.id?2&e.flags?-1:1/0:e.id;function xa(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>ka(e,t):Ie;try{for(ya=0;ya<ba.length;ya++){const e=ba[ya];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),_a(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;ya<ba.length;ya++){const e=ba[ya];e&&(e.flags&=-2)}ya=-1,ba.length=0,function(e){if(Ea.length){const t=[...new Set(Ea)].sort((e,t)=>wa(e)-wa(t));if(Ea.length=0,Na)return void Na.push(...t);for(Na=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Pa=0;Pa<Na.length;Pa++){const t=Na[Pa];"production"!==process.env.NODE_ENV&&ka(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}Na=null,Pa=0}}(e),Aa=null,(ba.length||Ea.length)&&xa(e)}}function ka(e,t){const a=e.get(t)||0;if(a>100){const e=t.i,a=e&&Ln(e.type);return Sa(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,a+1),!1}const Oa=new Map;"production"!==process.env.NODE_ENV&&(xe().__VUE_HMR_RUNTIME__={createRecord:Ga(function(e,t){if(Ba.has(e))return!1;return Ba.set(e,{initialDef:Ma(t),instances:new Set}),!0}),rerender:Ga(function(e,t){const a=Ba.get(e);if(!a)return;a.initialDef.render=t,[...a.instances].forEach(e=>{t&&(e.render=t,Ma(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()})}),reload:Ga(function(e,t){const a=Ba.get(e);if(!a)return;t=Ma(t),Wa(a.initialDef,t);const n=[...a.instances];for(let e=0;e<n.length;e++){const o=n[e],i=Ma(o.type);let l=Oa.get(i);l||(i!==a.initialDef&&Wa(i,t),Oa.set(i,l=new Set)),l.add(o),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(l.add(o),o.ceReload(t.styles),l.delete(o)):o.parent?Ca(()=>{8&o.job.flags||(o.parent.update(),l.delete(o))}):o.appContext.reload?o.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),o.root.ce&&o!==o.root&&o.root.ce._removeChildStyle(i)}Da(()=>{Oa.clear()})})});const Ba=new Map;function Ma(e){return Un(e)?e.__vccOpts:e}function Wa(e,t){Te(e,t);for(const a in e)"__file"===a||a in t||delete e[a]}function Ga(e){return(t,a)=>{try{return e(t,a)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Va=null;function qa(e,t){6&e.shapeFlag&&e.component?(e.transition=t,qa(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function za(e,t){return ye(e)?(()=>Te({name:e.name},t,{setup:e}))():e}xe().requestIdleCallback,xe().cancelIdleCallback;const $a=Symbol.for("v-ndc"),Qa=e=>e?4&e.vnode.shapeFlag?function(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xt(t=oa(e.exposed))?t:new Proxy(t,sa),{get:(t,a)=>a in t?t[a]:a in Ya?Ya[a](e):void 0,has:(e,t)=>t in e||t in Ya})):e.proxy;var t}(e):Qa(e.parent):null,Ya=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Zt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Zt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Zt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Zt(e.refs):e.refs,$parent:e=>Qa(e.parent),$root:e=>Qa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:a,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:o.length||a||n?(s={},o.length&&o.forEach(e=>Ja(s,e,l,!0)),Ja(s,t,l)):s=t;Pe(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Ca(e.update)}),$nextTick:e=>e.n||(e.n=La.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):Ie}),Ha=(e,t)=>e!==me&&!e.__isScriptSetup&&Fe(e,t),ja={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:a,setupState:n,data:o,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return n[t];case 2:return o[t];case 4:return a[t];case 3:return i[t]}else{if(Ha(n,t))return l[t]=1,n[t];if(o!==me&&Fe(o,t))return l[t]=2,o[t];if((r=e.propsOptions[0])&&Fe(r,t))return l[t]=3,i[t];if(a!==me&&Fe(a,t))return l[t]=4,a[t];__VUE_OPTIONS_API__&&!Za||(l[t]=0)}}const u=Ya[t];let d,f;return u?("$attrs"===t?(mt(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&mt(e,"get",t),u(e)):(d=c.__cssModules)&&(d=d[t])?d:a!==me&&Fe(a,t)?(l[t]=4,a[t]):(f=s.config.globalProperties,Fe(f,t)?f[t]:void process.env.NODE_ENV)},set({_:e},t,a){const{data:n,setupState:o,ctx:i}=e;return Ha(o,t)?(o[t]=a,!0):"production"!==process.env.NODE_ENV&&o.__isScriptSetup&&Fe(o,t)?(ma(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==me&&Fe(n,t)?(n[t]=a,!0):Fe(e.props,t)?("production"!==process.env.NODE_ENV&&ma(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&ma(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:a}):i[t]=a,!0)},has({_:{data:e,setupState:t,accessCache:a,ctx:n,appContext:o,propsOptions:i,type:l}},c){let s,r;return!!(a[c]||e!==me&&"$"!==c[0]&&Fe(e,c)||Ha(t,c)||(s=i[0])&&Fe(s,c)||Fe(n,c)||Fe(Ya,c)||Fe(o.config.globalProperties,c)||(r=l.__cssModules)&&r[c])},defineProperty(e,t,a){return null!=a.get?e._.accessCache[t]=0:Fe(a,"value")&&this.set(e,t,a.value,null),Reflect.defineProperty(e,t,a)}};function Ka(e){return Se(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}"production"!==process.env.NODE_ENV&&(ja.ownKeys=e=>(ma("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Za=!0;function Ja(e,t,a,n=!1){const{mixins:o,extends:i}=t;i&&Ja(e,i,a,!0),o&&o.forEach(t=>Ja(e,t,a,!0));for(const o in t)if(n&&"expose"===o)"production"!==process.env.NODE_ENV&&ma('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const n=Xa[o]||a&&a[o];e[o]=n?n(e[o],t[o]):t[o]}return e}const Xa={data:en,props:on,emits:on,methods:nn,computed:nn,beforeCreate:an,created:an,beforeMount:an,mounted:an,beforeUpdate:an,updated:an,beforeDestroy:an,beforeUnmount:an,destroyed:an,unmounted:an,activated:an,deactivated:an,errorCaptured:an,serverPrefetch:an,components:nn,directives:nn,watch:function(e,t){if(!e)return t;if(!t)return e;const a=Te(Object.create(null),e);for(const n in t)a[n]=an(e[n],t[n]);return a},provide:en,inject:function(e,t){return nn(tn(e),tn(t))}};function en(e,t){return t?e?function(){return Te(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function tn(e){if(Se(e)){const t={};for(let a=0;a<e.length;a++)t[e[a]]=e[a];return t}return e}function an(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?Te(Object.create(null),e,t):t}function on(e,t){return e?Se(e)&&Se(t)?[...new Set([...e,...t])]:Te(Object.create(null),Ka(e),Ka(null!=t?t:{})):t}const ln={},cn=e=>Object.getPrototypeOf(e)===ln,sn=function(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):Da(e)},rn=Symbol.for("v-scx"),un=()=>{{const e=function(e,t,a=!1){const n=yn();if(n){let o=n?null==n.parent||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return a&&ye(t)?t.call(n&&n.proxy):t;"production"!==process.env.NODE_ENV&&ma(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&ma("inject() can only be used inside setup() or functional components.")}(rn);return e||"production"!==process.env.NODE_ENV&&ma("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function dn(e,t,a){const n=this.proxy,o=Ee(e)?e.includes(".")?function(e,t){const a=t.split(".");return()=>{let t=e;for(let e=0;e<a.length&&t;e++)t=t[a[e]];return t}}(n,e):()=>n[e]:e.bind(n,n);let i;ye(t)?i=t:(i=t.handler,a=t);const l=Nn(this),c=function(e,t,a=me){const{immediate:n,deep:o,flush:i,once:l}=a;"production"===process.env.NODE_ENV||t||(void 0!==n&&ma('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&ma('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==l&&ma('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const c=Te({},a);"production"!==process.env.NODE_ENV&&(c.onWarn=ma);const s=t&&n||!t&&"post"!==i;let r;if(Pn)if("sync"===i){const e=un();r=e.__watcherHandles||(e.__watcherHandles=[])}else if(!s){const e=()=>{};return e.stop=Ie,e.resume=Ie,e.pause=Ie,e}const u=bn;c.call=(e,t,a)=>Fa(e,u,t,a);let d=!1;"post"===i?c.scheduler=e=>{sn(e,u&&u.suspense)}:"sync"!==i&&(d=!0,c.scheduler=(e,t)=>{t?e():Ca(e)}),c.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const f=fa(e,t,c);return Pn&&(r?r.push(f):s&&f()),f}(o,i.bind(n),a);return l(),c}const fn=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),gn=Symbol.for("v-cmt");const pn=({key:e})=>null!=e?e:null,mn=({ref:e,ref_key:t,ref_for:a})=>("number"==typeof e&&(e=""+e),null!=e?Ee(e)||ca(e)||ye(e)?{i:Va,r:e,k:t,f:!!a}:e:null);const In="production"!==process.env.NODE_ENV?(...e)=>hn(...e):hn;function hn(e,t=null,a=null,n=0,o=null,i=!1){if(e&&e!==$a||("production"===process.env.NODE_ENV||e||ma(`Invalid vnode type when creating vnode: ${e}.`),e=gn),(l=e)&&!0===l.__v_isVNode){const n=Tn(e,t,!0);return a&&Sn(n,a),n.patchFlag=-2,n}var l;if(Un(e)&&(e=e.__vccOpts),t){t=function(e){return e?aa(e)||cn(e)?Te({},e):e:null}(t);let{class:e,style:a}=t;e&&!Ee(e)&&(t.class=Ge(e)),Pe(a)&&(aa(a)&&!Se(a)&&(a=Te({},a)),t.style=ke(a))}const c=Ee(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Pe(e)?4:ye(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&aa(e)&&ma("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=na(e)),function(e,t=null,a=null,n=0,o=null,i=(e===fn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pn(t),ref:t&&mn(t),scopeId:null,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Va};return c?(Sn(s,a),128&i&&e.normalize(s)):a&&(s.shapeFlag|=Ee(a)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&ma("VNode created with invalid key (NaN). VNode type:",s.type),s}(e,t,a,n,o,c,i,!0)}function Tn(e,t,a=!1,n=!1){const{props:o,ref:i,patchFlag:l,children:c,transition:s}=e,r=t?function(...e){const t={};for(let a=0;a<e.length;a++){const n=e[a];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=Ge([t.class,n.class]));else if("style"===e)t.style=ke([t.style,n.style]);else if(he(e)){const a=t[e],o=n[e];!o||a===o||Se(a)&&a.includes(o)||(t[e]=a?[].concat(a,o):o)}else""!==e&&(t[e]=n[e])}return t}(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:r,key:r&&pn(r),ref:t&&t.ref?a&&i?Se(i)?i.concat(mn(t)):[i,mn(t)]:mn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&Se(c)?c.map(_n):c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==fn?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&qa(u,s.clone(u)),u}function _n(e){const t=Tn(e);return Se(e.children)&&(t.children=e.children.map(_n)),t}function Fn(e=" ",t=0){return In(vn,null,e,t)}function Sn(e,t){let a=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(Se(t))a=16;else if("object"==typeof t){if(65&n){const a=t.default;return void(a&&(a._c&&(a._d=!1),Sn(e,a()),a._c&&(a._d=!0)))}{a=32;const e=t._;e||cn(t)||(t._ctx=Va)}}else ye(t)?(t={default:t,_ctx:Va},a=32):(t=String(t),64&n?(a=16,t=[Fn(t)]):a=8);e.children=t,e.shapeFlag|=a}let bn=null;const yn=()=>bn||Va;let En;{const e=xe(),t=(t,a)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(a),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};En=t("__VUE_INSTANCE_SETTERS__",e=>bn=e),t("__VUE_SSR_SETTERS__",e=>Pn=e)}const Nn=e=>{const t=bn;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}};let Pn=!1;process.env.NODE_ENV;const Rn=/(?:^|[-_])\w/g,An=e=>e.replace(Rn,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ln(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function Cn(e,t,a=!1){let n=Ln(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const a=e=>{for(const a in e)if(e[a]===t)return a};n=a(e.components||e.parent.type.components)||a(e.appContext.components)}return n?An(n):a?"App":"Anonymous"}function Un(e){return ye(e)&&"__vccOpts"in e}function Dn(e){return{dispatchFunctionBySid:function(t,a,n){e.value&&L.callUIFunction(e.value,"dispatchFunctionBySid",[t,a,n])},requestFocus:function(t){e.value&&L.callUIFunction(e.value,"requestFocus",[t])},requestChildFocus:function(t,a){e.value&&L.callUIFunction(e.value,"requestChildFocus",[t,a])},clearFocus:function(){e.value&&L.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:function(t){e.value&&L.callUIFunction(e.value,"requestFocusDirectly",[t])},setVisibility:function(t){e.value&&L.callUIFunction(e.value,"changeVisibility",[t])},requestRootLayout:function(){e.value&&L.callUIFunction(e.value,"requestRootLayout",[])},requestLayout:function(){e.value&&L.callUIFunction(e.value,"requestLayout",[])},setDescendantFocusability:function(t){e.value&&L.callUIFunction(e.value,"setDescendantFocusability",[t])},changeDescendantFocusability:function(t){e.value&&L.callUIFunction(e.value,"changeDescendantFocusability",[t])},forceUpdateRenderNode:function(){e.value&&L.callUIFunction(e.value,"forceUpdateRenderNode",[])},setBackGroundColor:function(t){e.value&&L.callUIFunction(e.value,"setBackGroundColor",[t])},layoutViewManual:function(){e.value&&L.callUIFunction(e.value,"layoutViewManual",[])},blockRootFocus:function(){e.value&&L.callUIFunction(e.value,"blockRootFocus",[])},unBlockRootFocus:function(){e.value&&L.callUIFunction(e.value,"unBlockRootFocus",[])},changeAlpha:function(t){e.value&&L.callUIFunction(e.value,"changeAlpha",[t])},setScale:function(t,a,n){e.value&&L.callUIFunction(e.value,"setScale",[t,a,n])},setPosition:function(t,a,n){e.value&&L.callUIFunction(e.value,"setPosition",[t,a,n])},updateLayout:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"updateLayout",[t,a,n,o])},invalidate:function(){e.value&&L.callUIFunction(e.value,"invalidate",[])},dispatchFunctionForTarget:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"dispatchFunctionForTarget",[t,a,n,o])},setBlockFocusDirections:function(t){e.value&&L.callUIFunction(e.value,"setBlockFocusDirections",[t])},setBlockFocusDirectionsOnFail:function(t){e.value&&L.callUIFunction(e.value,"setBlockFocusDirectionsOnFail",[t])},setInitFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setInitFocus",[t,a])},setAutoFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setAutoFocus",[t,a])},enabledAutofocus:function(t){e.value&&L.callUIFunction(e.value,"setAutofocus",[t])},requestAutofocus:function(){e.value&&L.callUIFunction(e.value,"requestAutofocus",[])},hasFocus:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"hasFocus",[],e=>{t(e)})}):Promise.reject(!1)},isFocused:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"isFocused",[],e=>{t(e)})}):Promise.reject(!1)},getLocationOnScreen:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getLocationOnScreen",[],e=>{t(e)})}):Promise.reject()},getViewState:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getViewState",[],e=>{t(e)})}):Promise.reject()},getChildViewState:function(t){return e.value?new Promise((a,n)=>{L.callUIFunction(e.value,"getChildViewState",[t],e=>{a(e)})}):Promise.reject()},requestChildFocusAtIndex:function(t){e.value&&L.callUIFunction(e.value,"requestChildFocusAtIndex",[t])},clearMemoryFocused:function(){e.value&&L.callUIFunction(e.value,"clearMemoryFocused",[])},showDialog:function(t){e.value&&L.callUIFunction(e.value,"showDialog",[t])},deepInvalidate:function(t){e.value&&L.callUIFunction(e.value,"deepInvalidate",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var wn=za({name:"qt-view",emits:["clearFocus"],setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const xn={clipChildren:!1,ref:"viewRef"};wn.render=function(e,o,i,l,c,s){return t(),a("div",xn,[n(e.$slots,"default")],512)},wn.__file="src/view/index.vue";var kn=za({name:"qt-text",setup(t,a){const n=e();return{viewRef:n,setText:function(e){L.callUIFunction(n.value,"setText",[e])},setTextSize:function(e){L.callUIFunction(n.value,"setTextSize",[e])},setTextColor:function(e){L.callUIFunction(n.value,"setTextColor",[e])},textSpan:function(e){L.callUIFunction(n.value,"textSpan",[e])},...Dn(n)}}});kn.render=function(e,a,n,l,c,s){const r=o("text-view");return t(),i(r,{ref:"viewRef"},null,512)},kn.__file="src/text/index.vue";var On=za({name:"qt-image",setup(t,a){const n=e();return{viewRef:n,setSrc:function(e){L.callUIFunction(n.value,"setSrc",[e])},resizeMode:function(e){L.callUIFunction(n.value,"resizeMode",[e])},...Dn(n)}}});const Bn={src:"",alt:"",clipChildren:!1,ref:"viewRef"};On.render=function(e,n,o,i,l,c){return t(),a("img",Bn,null,512)},On.__file="src/image/index.vue";var Mn=za({name:"qt-column",setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const Wn={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};Mn.render=function(e,o,i,l,c,s){return t(),a("div",Wn,[n(e.$slots,"default")],512)},Mn.__scopeId="data-v-734c04b2",Mn.__file="src/column/index.vue";var Gn=za({name:"qt-row",setup(t,a){const n=e();return{viewRef:n,...Dn(n)}}});const Vn={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};Gn.render=function(e,o,i,l,c,s){return t(),a("div",Vn,[n(e.$slots,"default")],512)},Gn.__scopeId="data-v-9c454b58",Gn.__file="src/row/index.vue";var qn=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,a){const n=e(),o=e(!1);return{buttonRef:n,focused:o,onFocus:function(e){o.value=e.isFocused,a.emit("focus",e.isFocused)},onClick:function(e){a.emit("click")},...Dn(n)}}});const zn=["focusable","enableFocusBorder","focusScale"],$n=["gradientBackground"],Qn=["gradientBackground"],Yn=["gradientBackground"],Hn=["src"],jn=["src"];qn.render=function(e,l,d,f,v,g){const p=o("text-view");return t(),a("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[r(" gradient "),e.gradientFocusBackground?(t(),a("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,$n)):r("v-if",!0),e.gradientSelectedBackground?(t(),a("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,Qn)):r("v-if",!0),e.gradientBackground?(t(),a("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,Yn)):r("v-if",!0),r(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?r("v-if",!0):(t(),a("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),a("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,Hn)):r("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),a("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,jn)):r("v-if",!0)],6)),r(" ------------------------------------------------------------------- "),r(" text "),e.enableFlexStyle?(t(),i(p,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),a("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},u(e.text),7)):r("v-if",!0),n(e.$slots,"default")],46,zn)},qn.__scopeId="data-v-46a594e4",qn.__file="src/button/index.vue";let Kn,Zn=[];class Jn{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!Zn.includes(this))try{return Zn.push(Kn=this),this.fn()}finally{Zn.pop(),Kn=Zn[Zn.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const a of t)a.delete(e)}(this),this.active=!1)}}function Xn(){return void 0!==Kn}const eo=new WeakMap;function to(e){e&&eo.delete(e)}function ao(e,t){if(!Xn()||null==e)return;let a=eo.get(e);if(a||eo.set(e,a=new Map),null!=t){let e=a.get(t);e||a.set(t,e=new Set),no(e)}}function no(e){e.has(Kn)||(e.add(Kn),Kn.deeps.push(e))}function oo(e,t,a,n,o){let i=eo.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);io(c,e,t,a,n,o)}function io(e,t,a,n,o,i){for(const l of e)if(l!==Kn){if(l.scheduler)return l.scheduler(t,a,n,o,i);l.run(t,a,n,o,i)}}class lo{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;rootUpdateCount=0;deth=-1;constructor(e,t,a=-1){this.start=e,this.end=t,this.deleteCount=a}resetData(){this.start=-1,this.end=-1,this.deleteCount=-1,this.datas.size&&(this.datas=new Map)}}const co="set",so="__qt_set",ro="push",uo="splice",fo="pop",vo="concat",go="__qt_currentType",po="__qt_expectCangeNum",mo="shift",Io="unshift",ho="__qt_splice_change_prop",To=(e=1,t)=>{const a=new Map;return t.forEach((t,n)=>{let o=n;Array.isArray(n)&&e>0&&(o=n.slice(0,e).join()),a.set(o,t)}),a},_o=(e,t,a)=>{(e.names.size?e.names:e.datas).forEach((n,o)=>{let i,l;const c=e.datas.get(o),s={isArr:!1,arrDeeps:[],ouData:c,newData:null,oldData:null,k:o};if(Array.isArray(o)){for(let e=0;e<o.length;e++){const a=o[e];if(isNaN(Number(a))||s.arrDeeps.push(Number(a)),s.arrDeeps.length>3)break;i=i?i[a]:t[a],l=e>0?l?l[a]:c[a]:c}if(e.names.size&&1==e.names.get(o)?.size){const t=e.names.get(o)?.values().next().value;Pe(i)&&Pe(l)&&Se(i[t])&&Se(l[t])&&(i=i[t],l=l[t])}s.oldData=i,s.newData=l}else s.oldData=t[o],s.newData=n;s.isArr=Array.isArray(l),a(s)})};const Fo=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,a){let n=this.targetMaps.get(e);n||this.targetMaps.set(e,n=new Map),n.set(t,a),this.getFlag(e).set(go,t)}deleteType(e,t){if("object"!=typeof e)return;let a=this.targetMaps.get(e);this.targetFlags.delete(e),a&&(t?a.delete(t):this.targetMaps.delete(e))}clear(){this.targetFlags=new WeakMap,this.targetMaps=new WeakMap}changeTypeData(e,t,a){if(this.getFlag(e).get(go)===fo)return!1;const n=this.getType(e);let o=!1;n&&!isNaN(Number(t))&&n.forEach((e,n)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,a),o=!0)});let i=this.getFlag(e).get(po);return i&&i>0?(this.getFlag(e).set(po,--i),!0):o}changeOfsetType(e,t,a,n,o=1){let i=this.getTargetType(e,so);if(i){const e=(Array.isArray(t)?Number(t[0]):Number(t))||0;i.datas.has(t)||(e!==i.end&&i.rootUpdateCount++,i.updateCount+=1),i.datas.set(t,a),e>=i.end?i.end=e:e<i.start&&(i.start=e),o!=i.deth&&(i.deth=-1)}else{const n=(Array.isArray(t)?Number(t[0]):Number(t))||0;i=new lo(n,n),i.datas.set(t,a),i.updateCount=1,i.rootUpdateCount=1,i.deth=o,this.setType(e,so,i)}if(n){const e=i.names.get(t);e?e.add(n):i.names.set(t,new Set([n]))}}recordArrChangeProps(e,t,a){const n=this.getFlag(e);let o=n.get(ho);if(o||(o=new Set,n.set(ho,o)),a>t)for(let e=t;e<a;e++)o.add(e)}checkArrChangeProps(e,t){const a=this.getFlag(e),n=a.get(go);if(n===uo){let e=a.get(ho);return t=Number(t),!e||!(isNaN(t)||!e.has(t))&&(e.delete(t),!0)}return n!==mo&&n!==Io}},So=(e,t)=>{return n=t,(null===(a=e)||null===n||void 0===a||void 0===n?a===n:a&&n?a.constructor.name===n.constructor.name:typeof a==typeof n)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var a,n},bo=(e,t)=>{let a=!1;return e.__qt_key_&&t.__qt_key_&&(a=e.__qt_key_===t.__qt_key_),a&&e.__qt_change_num_&&t.__qt_change_num_&&(a=t.__qt_change_num_>e.__qt_change_num_),a},yo=(e,t,a)=>{const n=new lo(-1,-1),o=new lo(-1,-1),i=new lo(-1,-1);for(let n=0;n<e.length;n++){const i=e[n];t.find(e=>So(i,e))?o.deleteCount>0&&(a.delete(o.start,o.deleteCount),o.resetData()):-1===o.start?(o.start=n,o.deleteCount=1):o.deleteCount++}o.deleteCount>0&&a.delete(o.start,o.deleteCount);let l=-1;for(let o=0;o<t.length;o++){const c=t[o],s=e.find((e,t)=>!!(So(e,c)&&t>l)&&(l=t,!0));if(s){i.datas.size&&(a.insert(i.start,Array.from(i.datas.values())),i.resetData());bo(s,c)&&(-1===n.start?(n.start=o,n.updateCount=1,n.rootUpdateCount=1,n.end=n.start+n.updateCount):o>n.start&&o<=n.end?(n.updateCount++,n.end++,n.rootUpdateCount++):(a.update(n.start,n,e),n.resetData(),n.start=o,n.updateCount=1,n.rootUpdateCount=1,n.end=n.start+n.updateCount),n.datas.set(o,d(c)))}else-1===i.start&&(i.start=o),i.datas.set(o,d(c)),n.datas.size&&(a.update(n.start,n,e),n.resetData())}n.datas.size&&a.update(n.start,n,e),i.datas.size&&a.add(Array.from(i.datas.values()))},Eo={pointer:0,createUid(e="_"){return this.pointer++,this.pointer+e+Date.now()},addUid(e,t){return null!==e&&"object"==typeof e&&(e.__qt_key_||(e.__qt_key_=this.createUid(t))),e},addUidBatch(e,t){for(let t=0;t<e.length;t++)this.addUid(e[t])}},No=(e,t=!0)=>{if(Pe(e)){const a=Se(e)?[]:{};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];Pe(o)?(Se(o)||(o.__qt_key_||(o.__qt_key_=Eo.createUid(n)),o.__qt_change_num_||(o.__qt_change_num_=1)),a[n]=No(o,t)):a[n]=o}return a}return e};function Po(e,t){if(!e||!Pe(e))return;let a=e.__v_raw,n=No(a),o=!1;const i=e=>{o||(o=!0,f(()=>{o=!1,e()}))},l=new Jn(()=>{ao(a,"__ls_watchAll")},(e,o,c,s,r)=>{const u="__ls_reset_ref_value"===s?c:e,d=Fo.getFlag(e).get(go);"__ls_reset_ref_value"===s&&t.resetValue?.(c),"__ls_reset_ref_value"!==s||d===vo&&n&&(n.length||Object.keys(c).length)?n&&(n.length||Object.keys(c).length)||!u?d!==uo||e&&(e.length||Object.keys(c).length)?i(()=>{const o="__ls_reset_ref_value"===s?c:e,i=Fo.getType(e);i&&1===i.size?i.forEach((e,a)=>{if(a!==ro&&a!==vo||t.add(e.dataArr||Array.from(e.datas.values())),a===fo&&t.delete(e.start,e.deleteCount),a===so)if(e.end-e.start+1==e.rootUpdateCount)t.update(e.start,e,n);else{(e=>{const t=new Map;let a=-1;return e.datas.forEach((n,o)=>{const i=Array.isArray(o)?Number(o[0]):Number(o);let l=t.get(a);if(l&&i>=l.start&&i<=l.end+1)l.updateCount++,i!=l.end&&l.rootUpdateCount++,l.end=i,l.datas.set(o,n);else{const c=1;l=new lo(i,i),l.updateCount=c,l.rootUpdateCount=c,l.datas.set(o,n),l.deth=e.deth,a=i,t.set(a,l)}e.names.get(o)&&l.names.set(o,e.names.get(o))}),t})(e).forEach((e,a)=>{t.update(e.start,e,n)})}a===uo&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,Array.from(e.datas.values()))),a===Io&&t.insert(e.start,Array.from(e.datas.values())),a===mo&&t.delete(e.start,e.deleteCount)}):yo(n,o,t),Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(o),Fo.clear(),n=No(a)}):(t.clear(),a=e,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(u),Fo.clear(),n=No(a)):i(()=>{t.init(No(u,!1)),a=u,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(u),Fo.clear(),n=No(a)}):(c&&(c.length||Object.keys(c).length)?t.init(No(c,!1)):t.clear(),a=c,Fo.deleteType(n),Fo.deleteType(e),Fo.deleteType(a),Fo.deleteType(u),Fo.clear(),n=No(a)),"__ls_reset_ref_value"===s&&(to(a),a=c,l.run())});return l.run(),{stop(){to(a),l.stop()}}}class Ro extends Array{__v_raw;shift(){if(this.__v_raw.length){const e=0,t=0,a=1,n=Fo.getTargetType(this.__v_raw,mo);if(n)n.deleteCount+=a;else{const n=new lo(e,t,a);Fo.setType(this.__v_raw,mo,n),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length)}}return super.shift()}unshift(...e){if(e.length){let t=0,a=e.length-1,n=Fo.getTargetType(this.__v_raw,Io);n||(n=new lo(t,a),Fo.setType(this.__v_raw,Io,n),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length+e.length)),Eo.addUidBatch(e)}return super.unshift(...e)}push(...e){if(e.length){const t=this.__v_raw.length,a=t+e.length-1,n=Fo.getTargetType(this.__v_raw,ro);if(n)n.end+=e.length;else{const e=new lo(t,a);Fo.setType(this.__v_raw,ro,e)}Eo.addUidBatch(e)}return super.push(...e)}splice(e,t,...a){e<0&&(e=0),void 0===t&&this.__v_raw.length&&(t=this.__v_raw.length-e),(e>=this.__v_raw.length||t<0)&&(t=0);let n=e;n=a&&a.length?e+a.length-1:-1;let o=Fo.getTargetType(this.__v_raw,uo);if(o||(o=new lo(e,n,t),Fo.setType(this.__v_raw,uo,o),Fo.getFlag(this.__v_raw).set(po,this.__v_raw.length+a.length-t-e)),t<=0?Fo.recordArrChangeProps(this.__v_raw,e,e+a.length):a&&a.length?Fo.recordArrChangeProps(this.__v_raw,e,e+t):Fo.recordArrChangeProps(this.__v_raw,e,e),a)for(let e=t;e<a.length;e++)Eo.addUid(a[e]);return super.splice(e,t,...a)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,a=1,n=Fo.getTargetType(this.__v_raw,fo);if(n)n.start-=1,n.deleteCount+=a;else{const n=new lo(e,t,a);Fo.setType(this.__v_raw,fo,n)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,a=t+e.length-1;let n=Fo.getTargetType(this.__v_raw,vo);n?n.end+=e.length:(n=new lo(t,a),n.dataArr=e,Fo.setType(this.__v_raw,vo,n)),Eo.addUidBatch(e)}return super.concat(...e)}}const Ao=new WeakMap,Lo=(e,t,a)=>{if(!Pe(e))return;if(a>=t.length-1)return e;a<0&&(a=0);const n=t.length-1-a;let o=e;for(let e=1;e<=n;e++){if(o=o[t[e]],!Pe(o))break}return o};function Co(e,t,a,n=1){return Pe(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new Ro),t||(t=e),new Proxy(e,((e,t=[],a=1)=>({get(n,o,i){if("__qt_root"===o)return e;if("__qt_path"===o)return t;if("__qt_arr_deth"===o)return a;if("__v_isReactive"===o)return!0;if("__ls_watchAll"===o||"__v_raw"===o)return n;ao(n,o);const l=Reflect.get(n,o,i);return Pe(l)?Co(l,e,[...t,o],Se(l)?a+1:a):l},set(e,t,a,n){let o=e[t];v(a)&&(a=d(a)),Pe(a)&&!Se(a)&&"string"==typeof t&&(a.__qt_key_||(Pe(o)?a.__qt_key_=o.__qt_key_||Eo.createUid(t):a.__qt_key_=Eo.createUid(t)),a.__qt_change_num_||(Pe(o)?a.__qt_change_num_=o.__qt_change_num_||1:a.__qt_change_num_=1));const i=Reflect.set(e,t,a,n);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&o!=a){Pe(a)&&a.__qt_change_num_&&Fo.checkArrChangeProps(e,t)&&a.__qt_change_num_++;const i=n.__qt_root,l=n.__qt_path;if(l&&l.length&&!v(a)){const a=l[0],c=i[a];Pe(c)&&c.__qt_change_num_&&c.__qt_change_num_++;const s=Array.isArray(e)&&"length"===t?"":t;Fo.changeOfsetType(i,l,c,s,n.__qt_arr_deth),oo(i,a,c,co,o)}else Array.isArray(e)&&!isNaN(Number(t))?(Fo.changeTypeData(e,t,a)||Fo.changeOfsetType(e,t,a),oo(e,t,a,co,o)):(Fo.changeOfsetType(e,t,a),oo(e,t,a,co,o))}}catch(e){console.warn(e)}return i}}))(t,a,n))):e}function Uo(e,t,a){return Pe(e)?function(e,t,a){const n=Ao.get(e);if(n)return n;const o=Co(e,t,a);return Ao.set(e,o),o}(e,t,a):e}class Do{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e){this._rawValue=No(e),this._value=Uo(this._rawValue)}get value(){return Xn()&&no(this.dep||(this.dep=new Set)),this._value}set value(e){(e=No(e))!==this._rawValue&&(this._value=Uo(e),oo(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),io(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function wo(e){return new Do(e||[])}function xo(e){return wo(e)}function ko(e){return wo(e)}function Oo(e){return{scrollToIndex:function(t,a,n,o,i){e.value?.scrollToIndex(t,a,n,o,i)},startScroll:function(t){e.value?.startScroll(t)},setSelectChildPosition:function(t,a){e.value?.setSelectChildPosition(t,a)},scrollToPositionWithOffset:function(t,a,n){e.value?.scrollToPositionWithOffset(t,a,n)},scrollToPositionWithOffsetInfiniteMode:function(t,a,n){e.value?.scrollToPositionWithOffsetInfiniteMode(t,a,n)},scrollToPosition:function(t,a){e.value?.scrollToPosition(t,a)},refreshListData:function(){e.value?.refreshListData()},updateItemTraverse:function(t,a,n){e.value?.updateItemTraverse(t,a,n)},requestItemLayout:function(t){e.value?.requestItemLayout(t)},updateItemRange:function(t,a,n){e.value?.updateItemRange(t,a,n)},insertItemRange:function(t,a){e.value?.insertItemRange(t,a)},updateItemMatched:function(t,a){e.value?.updateItemMatched(t,a)},updateItemMatchedByKey:function(t,a,n){e.value?.updateItemMatchedByKey(t,a,n)},deleteItemRange:function(t,a){e.value?.deleteItemRange(t,a)},setListData:function(t){e.value?.setListData(t)},setListDataWithParams:function(t,a,n){e.value?.setListDataWithParams(t,a,n)},addListData:function(t){e.value?.addListData(t)},addListDataWithParams:function(t,a){e.value?.addListDataWithParams(t,a)},destroy:function(){e.value?.destroy()},recycle:function(){e.value?.recycle()},scrollToTop:function(){e.value?.scrollToTop()},scrollToFocus:function(t,a,n,o){e.value?.scrollToFocus(t,a,n,o)},prepareForRecycle:function(){e.value?.prepareForRecycle()},setDisplay:function(t){e.value?.setDisplay(t)},changeDisplayState:function(t,a){e.value?.changeDisplayState(t,a)},notifySaveInstance:function(){e.value?.notifySaveInstance()},notifyRestoreInstance:function(){e.value?.notifyRestoreInstance()},updateItemProps:function(t,a,n,o){e.value?.updateItemProps(t,a,n,o)},dispatchItemFunction:function(t){e.value?.dispatchItemFunction(t)},clearPostTask:function(){e.value?.clearPostTask()},clearPostTaskByCate:function(t){e.value?.clearPostTaskByCate(t)},clearData:function(){e.value?.clearData()},pausePostTask:function(){e.value?.pausePostTask()},resumePostTask:function(){e.value?.resumePostTask()},requestLayoutManual:function(){e.value?.requestLayoutManual()},setSpanCount:function(t){e.value?.setSpanCount(t)},searchReplaceItem:function(t,a){e.value?.searchReplaceItem(t,a)},setCustomStateEnableOnFocus:function(t,a){e.value?.setCustomStateEnableOnFocus(t,a)},setItemCustomState:function(t,a,n){e.value?.setItemCustomState(t,a,n)},dispatchItemFunctionWithPromise:function(t,a,n,o){return e.value.dispatchItemFunctionWithPromise(t,a,n,o)},getScrollOffset:function(){return e.value.getScrollOffset()}}}var Bo=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,a){const n=e();let o=e(2.5),i=xo(),l=0,c=!1,s=e(!1),r=[],u=null,f=!1,v=!0;const h=()=>t.listData||i.value,T=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&v&&(clearTimeout(u),u=setTimeout(()=>{C(t.defaultFocus)},300+10*e.length))};g(()=>{h().length&&n.value&&!f&&!r.length&&(r=h(),n.value.setListDataWithParams(d(h()),!0,!0),T(r))}),p(()=>{i.value.splice(0)});let _=0;const F=[{_id:"",type:1002,decoration:t.loadingDecoration}],S=()=>{t.openPage&&0===_&&r.length>=t.pageSize&&!c&&(n.value.addListData(F),_=r.length)},b=(e=!1)=>{_>0&&(e?n.value.updateItem(_,{text:"",type:1003,decoration:{}}):(n.value.deleteItem(_,1),_=0))};let y=null;const E=(e=!1)=>{c=!0,y=setTimeout(()=>{c=!0,b(e)},20)},N=()=>{c=!1,l=0},P=()=>{!c&&t.loadMore&&(t.listData?r.length>t.pageSize&&(l++,t.loadMore(l)):(l++,t.loadMore(l)))},R=Po(h(),{resetValue(e){r=e,f=!0},init(e){n.value&&(n.value.setListDataWithParams(e.concat(t.openPage&&r.length>=t.pageSize&&!c?(_=r.length,F):[]),!0,!0),N(),t.listData&&(l=1),T(e))},add(e){n.value.addListData(e),b(),S()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);n.value.updateItem(a,e)})},insert(e,t){n.value.addItem(e,t),b(),S()},delete(e,t){n.value.deleteItem(e,t),_>0&&(_=r.length)},clear(){n.value.setListDataWithParams([],!0,!0),_=0}}),{scrollToPosition:A}=Oo(n);m(()=>{t.openPage&&!t.listData&&(N(),P())});const L=e=>{n.value.requestFocus(e)},C=e=>{A(e),L(e)},U=(e,t)=>{n.value.setSelectPosition(e,t)};I(()=>{R?.stop(),N(),s.value=!1,c=!1,clearTimeout(u),clearTimeout(y)});let D=-1;return{tv_list:n,...Dn(n),...Oo(n),init:(e,a)=>t.listData?[]:e?(v=!a,i.value=e,i.value):i.value,onItemClick:e=>{a.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!c&&r.length>=t.pageSize){let a=t.preloadNo;(a<0||a>=r.length)&&(a=0),e.position==r.length-1-a&&P()}a.emit("item-bind",e)},onItemFocused:e=>{a.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(D);let e=0;c||(e=420,E()),D=setTimeout(()=>{s.value=!0,l=1,c=!1,t.loadMore(l)},e)}},isRestartPage:s,onItemUnbind:e=>{a.emit("item-unbind",e)},onScroll:e=>{a.emit("scroll",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},stopPage:E,setItemFocused:L,scrollToFocused:C,setItemSelected:U,scrollToSelected:(e,t)=>{A(e),U(e,t)},setInitPosition:e=>{n.value.setInitPosition(e)},apkVersion:o,updateItemProps:(e,t,a)=>{n.value.updateItemProps(e,t,a)},insertItem:(e,t)=>{n.value.addItem(e,t)}}}});Bo.render=function(e,a,l,c,s,r){const u=o("tv-list");return t(),i(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:h(()=>[n(e.$slots,"header"),n(e.$slots,"default"),n(e.$slots,"footer"),n(e.$slots,"loading")]),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Bo.__file="src/grid-view/index.vue";var Mo=za({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20},borderRadius:{type:Number,default:8},bgColor:{type:Object,default:()=>({colors:["#ffffff","#ffffff"],cornerRadii4:[0,0,8,8]})},titleColor:{type:String,default:"#000000"},subTitleColor:{type:String,default:"rgba(0,0,0,.4)"}},setup(e,t){}});const Wo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Go=["gradientBackground"];Mo.render=function(e,n,i,l,s,u){const d=o("text-view");return t(),a("div",Wo,[r(" 浮动标题"),T(d,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),_("div",{class:"absoluteFocusMainBgRoot",style:c({borderBottomLeftRadius:`${e.borderRadius}px`,borderBottomRightRadius:`${e.borderRadius}px`}),duplicateParentState:!0,focusable:!1,gradientBackground:e.bgColor,showIf:"${focusTitle.enable}"},[r(" 主标题 "),T(d,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:c({backgroundColor:"transparent",color:`${e.titleColor}`}),flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"},null,8,["style"]),r(" 副标题 "),T(d,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:c({color:`${e.subTitleColor}`,backgroundColor:"transparent"}),flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"},null,8,["style"])],12,Go)])},Mo.__scopeId="data-v-703673b8",Mo.__file="src/poster/qt-poster-focus-title.vue";var Vo=za({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20},mode:{type:String,default:"right"}},setup(e,t){}});Vo.render=function(e,n,i,l,c,r){const u=o("text-view");return t(),a("div",{class:s(["cornerRoot",["cornerRoot_"+e.mode]]),focusable:!1},[T(u,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable==true}"},null,8,["textSize"]),n[0]||(n[0]=_("img",{focusable:!1,class:"poster_corner_img",flexStyle:"${corner.styleImg}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1))],2)},Vo.__scopeId="data-v-4b767ea2",Vo.__file="src/poster/qt-poster-corner-title.vue";var qo=za({name:"qt-poster",components:{"qt-poster-corner-title":Vo,"qt-poster-focus-title":Mo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},borderRadius:{type:Number,default:8},rippleColor:{type:String,default:"#FF4E46"},focusBgColor:{type:Object,required:!1},focusTitleColor:{type:String,required:!1},focusSubTitleColor:{type:String,required:!1},floatTitleBgColor:{type:Array,default:()=>["#e5000000","#00000000"]}},setup(t,a){const n=e();return{mainTextShowOnState:["normal","selected"],viewRef:n,...Dn(n)}}});const zo=["showOnState"],$o=["gradientBackground"],Qo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1};qo.render=function(e,a,l,s,u,d){const f=o("text-view"),v=o("qt-poster-focus-title"),g=o("ripple-view"),p=o("qt-poster-corner-title"),m=o("item-frame");return t(),i(m,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:h(()=>[r("封面"),_("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,enableFade:"",focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",style:c({borderRadius:`${e.borderRadius}px`}),src:"${image.src}"},null,4),T(f,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),r(" 焦点选中时的标题 "),T(v,{focusable:!1,"border-radius":e.borderRadius,showOnState:"focused",bgColor:e.focusBgColor,titleColor:e.focusTitleColor,subTitleColor:e.focusSubTitleColor},null,8,["border-radius","bgColor","titleColor","subTitleColor"]),_("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[r(" 浮动标题 "),_("div",{flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:e.floatTitleBgColor,cornerRadii4:[0,0,e.borderRadius,e.borderRadius],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},[T(f,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})],8,$o),r(" 主标题"),T(f,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,zo),_("div",Qo,[T(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:e.rippleColor,isShowRipple:"${ripple.enable}",rippleVisible:"invisible"},null,8,["color"]),a[0]||(a[0]=_("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1))]),T(p,{showIf:"${corner.showCornerRight==true}",focusable:!1,flexStyle:"${corner.style}"}),T(p,{showIf:"${corner.showCornerLeft==true}",focusable:!1,flexStyle:"${corner.style}",mode:"left"}),n(e.$slots,"default")]),_:3},8,["type"])},qo.__file="src/poster/index.vue";var Yo=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},tabEnable:{type:Boolean,default:!0}},setup(t,a){const n=e();let o=e("#f5f5f5"),i=F({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;S(()=>t.navs,e=>{e.length>0&&s(e)});const s=e=>{e||(e=[]),e.forEach((e,a)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)}),n.value?.setListData(e),clearTimeout(c);let a=t.initSelect;a>-1&&(n.value?.scrollToPosition(a),c=setTimeout(()=>{n.value?.setItemSelected(a,!0),r(a)},300))},r=e=>{clearTimeout(l),l=setTimeout(()=>{a.emit("tab-select",{position:e})},300)};return{navList:n,focusColor:o,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(a.emit("tab-focus",e),r(e.position))},onTabClick:e=>{a.emit("tab-click",e.item)},scrollToPosition:e=>{n.value?.scrollToPosition(e)},scrollToTop:()=>{n.value?.scrollToTop()},init:e=>{s(e.data)},...Dn(n)}}});const Ho=["stateTextColor","sateBackgroundPadding"];var jo,Ko;Yo.render=function(e,l,c,u,d,f){const v=o("text-view"),g=o("qt-list-view");return t(),i(g,{ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:!!e.horizontal&&e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:!e.horizontal&&e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:!!e.horizontal||void 0,class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:h(()=>[e.tabEnable?(t(),a("div",{key:0,class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[T(v,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],8,Ho)):r("v-if",!0),n(e.$slots,"default")]),_:3},8,["horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","horizontal","class","onItemClick","onItemFocused"])},Yo.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK",e[e.QT_WATERFALL_SECTION_TYPE_PLUGIN=1008]="QT_WATERFALL_SECTION_TYPE_PLUGIN"}(jo||(jo={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK",e[e.QT_WATERFALL_ITEM_TYPE_PLUGIN=10004]="QT_WATERFALL_ITEM_TYPE_PLUGIN"}(Ko||(Ko={}));var Zo=za({name:"card-item",setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Zo.render=function(e,a,n,l,c,s){const r=o("es-card-container");return t(),i(r,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Zo.__scopeId="data-v-599898aa",Zo.__file="src/waterfall/item/card-item.vue";var Jo=za({name:"qt-plugin-item",emits:["focus"],setup(t,a){const n=e();return{viewRef:n,...Dn(n),onFocus:function(e){a.emit("focus",e)}}}});Jo.render=function(e,a,n,l,c,s){const r=o("qt-plugin-view");return t(),i(r,{ref:"viewRef",type:10004,clipChildren:!1,clipPadding:!1,layout:"${layout}",flexStyle:"${style}",focusable:!0,pluginKey:"${pluginKey}",eventClick:"",eventFocus:"",name:"qt-plugin-item",onFocus:e.onFocus,focusScale:"1.1",enableFocusBorder:!0,class:"qt-ui-plugin-item-root-css"},null,8,["onFocus"])},Jo.__file="src/waterfall/item/plugin-item.vue";var Xo=za({name:"standard-section",emits:["focus"],components:{"card-item":Zo,"qt-plugin-item":Jo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Ko.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1},flexSection:{type:Object,default:()=>({qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0})}},setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("QTFlexSection","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ei=["type"];Xo.render=function(e,l,c,s,u,d){const f=o("text-view"),v=o("qt-poster"),g=o("qt-plugin-item"),p=o("card-item"),m=o("tv-flex");return t(),a("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[T(f,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",lines:1,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),l[0]||(l[0]=_("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)),T(m,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",flexStyle:"${contentStyle}",layout:"${contentLayout}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",list:"${itemList}"},{default:h(()=>[r(" poster "),e.flexSection.qtPosterEnable?(t(),i(v,{key:0,"load-delay":500,type:e.standItemType},null,8,["type"])):r("v-if",!0),r(" plugin "),e.flexSection.qtPluginItemEnable?(t(),i(g,{key:1})):r("v-if",!0),r(" card "),e.flexSection.cardItemEnable?(t(),i(p,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):r("v-if",!0),n(e.$slots,"default")]),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ei)},Xo.__scopeId="data-v-227e921e",Xo.__file="src/waterfall/section/flex-section.vue";const ti="list-section";var ai=za({name:"list-section",components:{"card-item":Zo},props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}},listSection:{type:Object,default:()=>({qtPosterEnable:!0})}},emits:["focus"],setup(e,t){const a=D();return{blockDirections:["left","right"],onItemBind:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"----------onItemFocused--------------\x3e>>",e)},onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d(ti,"------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ni={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},oi=["type"];ai.render=function(e,l,c,s,u,d){const f=o("text-view"),v=o("qt-poster"),g=o("card-item"),p=o("tv-list"),m=o("tv-item");return t(),i(m,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:h(()=>[_("div",ni,[T(f,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),l[0]||(l[0]=_("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)),T(p,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",sid:"${listSID}",flexStyle:"${contentStyle}",layout:"${contentLayout}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:h(()=>[e.listSection.qtPosterEnable?(t(),i(v,{key:0,type:e.standItemType},null,8,["type"])):r("v-if",!0),e.listSection.qtPosterEnable?(t(),a("div",{key:1,type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[T(f,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,oi)):r("v-if",!0),r(" card "),e.listSection.cardItemEnable?(t(),i(g,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):r("v-if",!0),n(e.$slots,"default")]),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])]),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},ai.__scopeId="data-v-6aa2cfd4",ai.__file="src/waterfall/section/list-section.vue";var ii=za({name:"loading-section"});const li={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ii.render=function(e,n,i,l,c,s){const r=o("qt-loading-view");return t(),a("div",li,[T(r,{class:"loading-section-loading-css"})])},ii.__scopeId="data-v-48609f24",ii.__file="src/waterfall/section/loading-section.vue";var ci=za({name:"end-section",setup:()=>({})});const si={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};ci.render=function(e,n,i,l,c,s){const r=o("text-view");return t(),a("div",si,[T(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",typeface:"${titleTypeface}",textSize:"${titleStyle.fontSize}",text:"${title}"})])},ci.__scopeId="data-v-70b82c43",ci.__file="src/waterfall/section/end-section.vue";var ri=za({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:jo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ui=["type"];ri.render=function(e,n,i,l,s,r){const u=o("text-view");return t(),a("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[T(u,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),fontFamily:"${fontFamily}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,ui)},ri.__scopeId="data-v-20428d40",ri.__file="src/waterfall/section/section-title.vue";var di=za({name:"blank-section",setup:()=>({})});const fi={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};di.render=function(e,n,o,i,l,c){return t(),a("div",fi)},di.__scopeId="data-v-eeab4d88",di.__file="src/waterfall/section/blank-section.vue";var vi=za({name:"card-section",setup(e,t){const a=D();return{onFocus:function(e){a.isLoggable(w.DEBUG)&&a.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const gi={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};vi.render=function(e,n,i,l,c,s){const r=o("text-view"),u=o("es-card-container");return t(),a("div",gi,[T(r,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",typeface:"${titleTypeface}",fontFamily:"${fontFamily}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),T(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},vi.__scopeId="data-v-43a44788",vi.__file="src/waterfall/section/card-section.vue";var pi=za({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});pi.render=function(e,a,l,c,s,r){const u=o("tv-item");return t(),i(u,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["blockFocusDirections","onItemBind"])},pi.__scopeId="data-v-f8447724",pi.__file="src/waterfall/section/vue-section.vue";var mi=za({name:"qt-plugin-section",emits:["focus"],props:{pluginKey:{type:String,default:""}},setup:(e,t)=>(D(),{onFocus:function(e){t.emit("focus",e)}})});const Ii={type:1008,class:"qt-ui-plugin-section-root-css",clipChildren:!1,clipPadding:!1,focusable:!0,focusScale:"1.1",focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};function hi(e,t,a=!1){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let i=Ti(e,t[o],a);n.push(i)}return n}function Ti(e,t,a=!1){let n=0;t.itemList.length>0&&t.type==jo.QT_WATERFALL_SECTION_TYPE_FLEX?(n=function(e,t=!1){const a=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,i=o?.height??0;const l=o?.marginTop??0,c=o?.marginBottom??0;const s=o?.paddingTop??0,r=o?.paddingBottom??0;let u=t?0:e.style.height??0,d=e.style.width??0;e.decoration;let f=0,v=0,g=0;for(let e=0;e<a.length;e++){const t=a[e];let o=t?.style.width??0,i=t?.style.height??0;const l=t.style.x,c=t.style.y;if(null!=l&&null!=c)t.layout=[l,c,o,i];else{const e=t.decoration,a=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;f+o+c>d&&(v+=g+n,g=0,f=0),t.layout||(t.layout=[0,0,o,i]),t._apiLayout||(t.layout[0]=f+a,t.layout[1]=v+l),t.layout[1]+i+s>u&&(u=t.layout[1]+i+s),i+l+s>g&&(g=i+l+s),f+=o+n+a+c}}return u+i+l+c+s+r}(t,a),t.style.height=n):t.type==jo.QT_WATERFALL_SECTION_TYPE_PLUGIN&&(t.titleStyle&&t.titleStyle.width&&t.titleStyle.height?t.pluginStyle={width:t.style.width,height:(t.style?.height??0)-(t.titleStyle.height??0)-(t.titleStyle.marginBottom??0)}:t.pluginStyle=t.style);const o=t.titleStyle?.height??0,i=t.titleStyle?.marginTop??0,l=t.titleStyle?.marginBottom??0,c=t.titleStyle?.paddingTop??0,s=t.titleStyle?.paddingBottom??0;a&&0===t.itemList.length&&(t.style.height=(t.style.minHeight||0)+o+i+l+c+s);const r=o+i+l+c+s,u=t.style.height?t.style.height-r:0;return t.contentStyle||(t.contentStyle={width:t.style.width,height:u}),t.contentLayout=[0,r,t.contentStyle.width,t.contentStyle.height],t}function _i(){let e=[];function t(e){return e.itemList.length}function a(a,n){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const o=e.length;if(a<0||a>=o)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=a+n;a+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=a;n<i;n++){l+=t(e[n])}return l}function n(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(o){const i=e.length,l=a(0,i),c=function(e){if(e.length<=0)return 0;let a=0;for(let n=0;n<e.length;n++){a+=t(e[n])}return a}(o);return e.push(...o),n(),{sectionIndex:i,sectionCount:o.length,itemIndex:l,itemCount:c}},deleteSection:function(t,o){const i=a(0,t-1),l=a(t,o);return e.splice(t,o),n(),{sectionIndex:t,sectionCount:o,itemIndex:i,itemCount:l}},updateSection:function(o,i){const l=a(0,o-1),c=t(i);return e.splice(o,1,i),n(),{sectionIndex:o,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,a){const o=e.length;if(t<0||t>=o||a.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...a),n(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:a.length}},deleteItem:function(t,a,o){return e[t].itemList.splice(a,o),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},updateItem:function(t,a,o){return e[t].itemList.splice(a,1,o),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:1}},updateItemList:function(t,a,o,i){return e[t].itemList.splice(a,o,...i),n(),{sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},getItem:function(t,a){const n=e[t];if(n&&n.itemList.length>0&&a>=0&&a<n.itemList.length){return n.itemList[a]}},destroy:function(){e=[]}}}var Fi;mi.render=function(e,n,i,l,c,s){const r=o("text-view"),u=o("qt-plugin-view");return t(),a("div",Ii,[T(r,{class:"qt-ui-plugin-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",fontFamily:"${fontFamily}",typeface:"${titleTypeface}",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),T(u,{class:"qt-ui-plugin-section-css",clipChildren:!1,clipPadding:!1,eventClick:"",eventFocus:"",sid:"${_id}",pluginKey:"${pluginKey}",flexStyle:"${pluginStyle}"})])},mi.__scopeId="data-v-ca3d65aa",mi.__file="src/waterfall/section/plugin-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(Fi||(Fi={}));const Si="qt-waterfall";var bi,yi,Ei=za({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0},listData:{type:Array,required:!1},pStype:{type:Object,default:()=>({})},qtTabSectionEnable:{type:Object,default:()=>({flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0,cardItemEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tvItemListName:{type:String,required:!1}},setup(t,a){const n=D();const o={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool},i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool},l=e(Fi.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const r=_i();function u(e){s=e,e.visibleType&&(l.value=e.visibleType)}const f=Po(t.listData,{resetValue(e){u(t.pStype)},init(e){const t=hi(s,e,!0);c.value?.setListData(t)},add(e){const t=hi(s,e,!0);c.value?.addListData(t)},update(e,t){const a=To(1,t.datas),n=hi(s,Array.from(a.values()),!0);c.value?.updateItemList(e,a.size,n)},insert(e,t){const a=hi(s,t,!0);c.value?.addItem(e,a)},delete(e,t){c.value?.deleteItem(e,t)},clear(){c.value?.setListData([])}});return g(()=>{if(t.listData&&t.listData.length){const e=hi(s,d(t.listData),!0);c.value?.setListData(e)}}),I(()=>{f?.stop()}),{waterfallRef:c,visibleType:l,init:u,getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;n.isLoggable(w.DEBUG)&&n.d(Si,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);n.isLoggable(w.DEBUG)&&n.d(Si,"-------2---setSectionList--------------\x3e>>",t);const a=hi(s,e);n.isLoggable(w.DEBUG)&&n.d(Si,"----------setSectionList-----最终数据---------\x3e>>",a),c.value?.setListData(a)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=hi(s,e);n.isLoggable(w.DEBUG)&&n.d(Si,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const a=r.deleteSection(e,t);n.isLoggable(w.DEBUG)&&n.d(Si,"----------deleteSection-----最终数据---------\x3e>>",a),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const a=Ti(0,t);n.isLoggable(w.DEBUG)&&n.d(Si,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",a),c.value?.updateItem(e,a)},updateSectionList:function(e,t,a){const n=[];for(let t=0;t<a.length;t++){const o=a[t];r.updateSection(e+t,o);const i=Ti(0,o);i&&n.push(i)}c.value?.updateItemList(e,t,n)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const a=r.getSection(e);if(a){const t=Ti(0,a);c.value?.updateItem(e,t)}},deleteItem:function(e,t,a){r.deleteItem(e,t,a);const n=r.getSection(e);if(n){const t=Ti(0,n);c.value?.updateItem(e,t)}},updateItem:function(e,t,a){r.updateItem(e,t,a);const n=r.getSection(e);if(n){const t=Ti(0,n);c.value?.updateItem(e,t)}},updateItemList:function(e,t,a,n){r.updateItemList(e,t,a,n);const o=r.getSection(e);if(o){const t=Ti(0,o);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:o,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,n=e.offsetY;a.emit("onScroll",t,n)},onItemClick:function(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),a.emit("onItemClick",e.parentPosition,e.position,e.item,e)},onItemFocused:function(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),a.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item,e)},onSectionBind:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;a.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;a.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){n.isLoggable(w.DEBUG)&&n.d(Si,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;a.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,n=e.offsetX,o=e.newState,i=e.oldState;a.emit("onScrollStateChanged",n,t,o,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){a.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){a.emit("onScrollYLesserReference")},onPluginLoadSuccess:function(e){a.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){a.emit("onPluginLoadError",e)},scrollToIndex:function(e,t,a,n,o){c.value?.scrollToIndex(e,t,a,n,o)},scrollToPosition:function(e,t){c.value?.scrollToPosition(e,t)},scrollToPositionWithOffset:function(e,t,a){c.value?.scrollToPositionWithOffset(e,t,a)},...Dn(c)}},components:{"flex-section":Xo,"list-section":ai,"section-title":ri,"loading-section":ii,"end-section":ci,"blank-section":di,"card-section":vi,"vue-section":pi,"plugin-section":mi}});Ei.render=function(e,a,l,c,s,u){const d=o("flex-section"),f=o("item-store"),v=o("list-section"),g=o("loading-section"),p=o("end-section"),m=o("blank-section"),I=o("card-section"),T=o("plugin-section"),_=o("vue-section"),F=o("tv-list");return t(),i(F,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",list:"${"+e.tvItemListName+"}",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError,blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:h(()=>[r(" 普通版块"),e.qtTabSectionEnable.flexSectionEnable?(t(),i(d,{key:0,"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,"flex-section":e.qtTabSectionEnable.flexSection,onFocus:e.onItemFocused},{default:h(()=>[n(e.$slots,"item")]),_:3},8,["cache-pool","enablePlaceholder","flex-section","onFocus"])):r("v-if",!0),e.qtTabSectionEnable.itemStoreEnable?(t(),i(f,{key:1},{default:h(()=>[n(e.$slots,"shared-item")]),_:3})):r("v-if",!0),r("一行滚动 多级tab"),e.qtTabSectionEnable.listSectionEnable?(t(),i(v,{key:2,"cache-pool":e.itemsPool,onFocus:e.onItemFocused,"list-section":e.qtTabSectionEnable.listSection,enablePlaceholder:e.enablePlaceholder},{default:h(()=>[n(e.$slots,"list-item")]),_:3},8,["cache-pool","onFocus","list-section","enablePlaceholder"])):r("v-if",!0),r(" loading"),e.qtTabSectionEnable.loadingSectionEnable?(t(),i(g,{key:3})):r("v-if",!0),r(" end "),e.qtTabSectionEnable.endSectionEnable?(t(),i(p,{key:4})):r("v-if",!0),r(" blank "),e.qtTabSectionEnable.blankSectionEnable?(t(),i(m,{key:5})):r("v-if",!0),r(" card "),e.qtTabSectionEnable.cardSectionEnable?(t(),i(I,{key:6,onFocus:e.onItemFocused},null,8,["onFocus"])):r("v-if",!0),r(" plugin "),e.qtTabSectionEnable.pluginSectionEnable?(t(),i(T,{key:7})):r("v-if",!0),r(" vue "),e.qtTabSectionEnable.vueSectionEnable?(t(),i(_,{key:8,"block-focus-directions":e.vueSectionBlockFocusDirections},{default:h(()=>[n(e.$slots,"vue-section")]),_:3},8,["block-focus-directions"])):r("v-if",!0),n(e.$slots,"section")]),_:3},8,["list","onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","onOnPluginLoadSuccess","onOnPluginLoadError","blockFocusDirections","onScrollStateChanged"])},Ei.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(bi||(bi={})),function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(yi||(yi={}));const Ni=e=>{try{return JSON.parse(JSON.stringify(e))}catch(e){}return e},Pi=(e,t)=>{let a=[];const n={resetValue(e){},init(n){t.initTab({...e.tabConfig,itemList:Ni(n)}),a=n},add(e){console.log("lsj-add-",e)},update(e,n,o){_o(n,o,e=>{const n=e.arrDeeps[0],o=e.arrDeeps[1],i=e.arrDeeps[2];e.isArr?yo(e.oldData,e.newData,{update(a,i,l){1==e.arrDeeps.length&&i.datas.forEach((e,a)=>{t.updatePageSection(n,a,Ni(e))}),2==e.arrDeeps.length&&i.datas.forEach((e,a)=>{t.updatePageItem(n,o,a,Ni(e))})},delete(a,i){1==e.arrDeeps.length&&t.deletePageSection(n,a,i),2==e.arrDeeps.length&&t.deletePageItem(n,o,a,i)},insert(a,i){1==e.arrDeeps.length&&t.insertPageData(n,a,Ni(i)),2==e.arrDeeps.length&&t.addPageItemList(n,o,Ni(i),a)},add(i){1==e.arrDeeps.length&&((e,n)=>{const o=a[e];if(o){const a=t.getPageSectionList(e);a&&a.length?t.addPageData(e,{useDiff:o.useDiff,disableScrollOnFirstScreen:o.disableScrollOnFirstScreen??!1,firstFocusTargetID:o.firstFocusTargetID??"",data:Ni(n)},0):t.setPageData(e,{useDiff:!1,disableScrollOnFirstScreen:o.disableScrollOnFirstScreen??!1,firstFocusTargetID:o.firstFocusTargetID??"",bindingPlayer:o.bindingPlayer,data:Ni(n)})}})(n,i),2==e.arrDeeps.length&&t.addPageItemList(n,o,Ni(i))}}):(2==e.arrDeeps.length&&t.updatePageSection(n,o,Ni(e.newData)),3==e.arrDeeps.length&&t.updatePageItem(n,o,i,Ni(e.newData)))})},insert(e,t){},delete(e,t){},clear(){}},o=Po(e.tabs,n);return g(()=>{e.waterfallConfig&&t.initPage(e.waterfallConfig),e.tabs&&e.tabs.length&&(a=Ni(d(e.tabs)),n.init(a))}),I(()=>{o?.stop()}),{checkIsStaticDatas(e,n){if(0===n&&a&&a.length){const n=a[e];if(n&&n.content&&n.content.length)return t.setPageData(e,{useDiff:!1,data:n.content}),!0}return!1}}},Ri="qt-tabs";var Ai=za({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick","onPluginLoadSuccess","onPluginLoadError"],props:{offScreenPageLimit:{type:Number,default:1},enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},tabContentVerticalFadingEdgeEnabled:{type:Boolean,default:!1},tabContentFadingEdgeLength:{type:Number,default:0},fadingEdgeLength:{type:Number,default:0},qtTabSectionEnable:{type:Object,default:()=>({tabEnable:!0,flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tabConfig:{type:Object,default:()=>({defaultFocusIndex:0,defaultIndex:0})},waterfallConfig:{type:Object,default:()=>({width:1920,height:1080})},tabs:{type:Array,default:()=>[]}},setup(t,a){let n;const o=e();e();const i=e(!0),l=e(1),c=D();x();const s=e(),r=function(e){const t="qt-tabs",a=new Map,n=new Map;function o(e){const t={index:e,state:bi.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};a.set(e,t),n.set(e,[])}function i(e,t){const a=n.get(e)??[];if(!(t<0||t>=a.length||0==a.length))return a[t]}function l(e){return e.itemList.length}function c(e){let t=0;try{if(e.length<=0)return 0;for(let a=0;a<e.length;a++)t+=l(e[a])}catch(e){}return t}function s(e,t,a){let n=0;try{const o=e.length;if(t<0||t>=o)return 0;let i=t+a;t+a>o&&(i=o);for(let a=t;a<i;a++)n+=l(e[a])}catch(e){}return n}function r(a){e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---- "+a+" :-----\x3e>>>",n)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)o(e)},initTabPageData:o,getTabPageDataState:function(e){return a.get(e)},setPageDataState:function(n,o){e.isLoggable(w.DEBUG)&&e.d(t,"---QTTabDataManager----setPageStateReset-----\x3e> pageIndex:"+n+" pageData:",o),a.set(n,o)},setSectionState:function(e,t,a){const n=i(e,t);n&&(n.state=a,n.sectionIndex=t)},getSectionListByState:function(e,t){return(n.get(e)??[]).filter(e=>e.state==t)},getSectionList:function(a){const o=n.get(a)??[];return e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###getSectionList----\x3e> pageIndex:"+a+" sectionList: ",o),o},addSectionList:function(o,i,l=0){let u=n.get(o)??[];l>0&&(u=u.slice(0,u.length-l),n.set(o,u));const d=u.length,f=s(u,0,d),v=c(i);u.push(...i);const g=a.get(o);return g&&g.state!=bi.QT_TAB_PAGE_STATE_COMPLETE&&(g.state=bi.QT_TAB_PAGE_STATE_IDLE),e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###addSectionList----\x3e> pageIndex:"+o+" 需要增加的sections: ",i," 增加以后的sectionList: ",u),r("addSectionList: "+o),{pageIndex:o,sectionIndex:d,sectionCount:i.length,itemIndex:f,itemCount:v}},insertSectionList:function(o,i,l){const u=n.get(o)??[],d=u.length,f=s(u,0,d),v=c(l);u.splice(i,0,...l);const g=a.get(o);return g&&g.state!=bi.QT_TAB_PAGE_STATE_COMPLETE&&(g.state=bi.QT_TAB_PAGE_STATE_IDLE),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###insertSectionList----\x3e> pageIndex:"+o+" sectionIndex: ",i," sections: ",l),r("insertSectionList: "+o),{pageIndex:o,sectionIndex:d,sectionCount:l.length,itemIndex:f,itemCount:v}},deleteSection:function(a,o,i){const l=n.get(a)??[],c=s(l,0,o-1),u=s(l,o,i);return l.splice(o,i),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###deleteSection----\x3e> pageIndex:"+a+" sectionIndex: ",o+" count: ",i),r("deleteSection: "+a),{pageIndex:a,sectionIndex:o,sectionCount:i,itemIndex:c,itemCount:u}},updateSection:function(a,o,i){const c=n.get(a)??[],u=s(c,0,o-1),d=l(i);return c.splice(o,1,i),e.isLoggable(w.DEBUG)&&e.d(t,"-----QTTabDataManager---dumpTabWaterfallData---###updateSection----\x3e> pageIndex:"+a+" sectionIndex: ",o+" section: ",i),r("updateSection: "+a),{pageIndex:a,sectionIndex:o,sectionCount:1,itemIndex:u,itemCount:d}},updateSectionList:function(a,o){return n.set(a,o),e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager----dumpTabWaterfallData---###updateSectionList----\x3e> pageIndex:"+a+" sectionIndex: ",o),r("updateSectionList: "+a),{pageIndex:a,sectionIndex:0,sectionCount:o.length,itemIndex:-1,itemCount:-1}},getSection:i,addItemList:function(e,t,a,o,i){const l=n.get(e)??[],c=l.length;if(t<0||t>=c||a.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const s=l[t],u=s.itemList.length;return void 0!==o?s.itemList.splice(o,i||0,...a):s.itemList.push(...a),r("addItemList: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:u,itemCount:a.length}},deleteItem:function(e,t,a,o){return(n.get(e)??[])[t].itemList.splice(a,o),r("deleteItem: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},updateItem:function(e,t,a,o){return(n.get(e)??[])[t].itemList.splice(a,1,o),r("updateItem: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:1}},updateItemList:function(e,t,a,o,i){return(n.get(e)??[])[t].itemList.splice(a,o,...i),r("updateItemList: "+e),{pageIndex:e,sectionIndex:t,sectionCount:1,itemIndex:a,itemCount:o}},getItem:function(e,t,a){const o=(n.get(e)??[])[t];if(o&&o.itemList.length>0&&a>=0&&a<o.itemList.length)return o.itemList[a]},destroy:function(){e.isLoggable(w.DEBUG)&&e.d(t,"----QTTabDataManager---destroy-----\x3e>"),n.clear()}}}(c);let u,d=[],f=-1,v=-1,g=-1;function p(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};d=e.itemList,r.initTab(e),o.value?.setTabsData(t)}function m(e){u=e}function I(e,t){const a=r.getTabPageDataState(e);if(a){if(a.state=t,c.isLoggable(w.DEBUG)){let a="";t==bi.QT_TAB_PAGE_STATE_INIT?a="初始化":t==bi.QT_TAB_PAGE_STATE_IDLE?a="空闲":t==bi.QT_TAB_PAGE_STATE_BUSY?a="加载中":t==bi.QT_TAB_PAGE_STATE_COMPLETE?a="完成":t==bi.QT_TAB_PAGE_STATE_ERROR&&(a="错误"),c.d(Ri,"---------设置数据-----设置状态-----\x3e>>> pageIndex:"+e+" state:"+a)}r.setPageDataState(e,a)}}function h(e){c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=r.getTabPageDataState(e);t&&(t.state=bi.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,r.setPageDataState(e,t));const a=r.getSectionList(e);r.deleteSection(e,0,a.length),function(e){if(e<0||e>d.length)return;const t=d[e];t.__pageNo=0}(e)}function T(e){c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateRecycled---START--\x3e>>pageIndex:"+e);const t=r.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=bi.QT_TAB_PAGE_STATE_IDLE,r.setPageDataState(e,t));const a=r.getSectionList(e);r.deleteSection(e,1,a.length-1),c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据---setPageStateRecycled---END---\x3e>pageIndex:"+e);A(e)>0&&function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----setTabPageDataNo--START---\x3e>>> pageIndex:"+e+" pageNum:"+t);if(e<0||e>d.length)return;const a=d[e];a.__pageNo=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----setTabPageDataNo---END---\x3e>>> pageIndex:"+e+" pageNo:"+a.__pageNo)}(e,1)}function _(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data,0);const a={data:hi(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",a),L(e),o.value?.setPageData(e,a)}function F(e,t,a=0){r.addSectionList(e,t.data,a);const n={data:hi(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=A(e);0==t?(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",n," deleteCount:"+a),o.value?.setPageData(e,n)):(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",n," deleteCount:"+a),o.value?.addPageData(e,n,a))}catch(e){}L(e)}function S(e,t){r.updateSectionList(e,t.data);const a={data:hi(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,a)}function b(e,t,a){r.updateSection(e,t,a);const n=Ti(0,a);o.value?.updateRootNode(e,t,n)}function y(e){return r.getSectionList(e)}function E(e,t,a){r.deleteSection(e,t,a),o.value?.invokeContentFunction(e,"deleteItemRange",[t,a])}function N(e,t,a,n){r.updateItem(e,t,a,n),o.value?.updateChildNode(e,t,a,n)}function P(e,t,a,n,i){r.addItemList(e,t,a,n,i);const l=r.getSection(e,t);if(l){const a=Ti(0,l);o.value?.updateRootNode(e,t,a)}}function R(e,t,a,n){r.deleteItem(e,t,a,n);const i=r.getSection(e,t);if(i){const a=Ti(0,i);o.value?.updateRootNode(e,t,a)}}function A(e){if(e<0||e>d.length)return 0;const t=d[e];return null==t.__pageNo&&(t.__pageNo=0),c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----getTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo),t.__pageNo}function L(e){if(e<0||e>d.length)return;const t=d[e];if(null==t.__pageNo)return t.__pageNo=1,void(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:1"));t.__pageNo=t.__pageNo+1,c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo)}function C(e,o,i,l){let s=A(o),u=r.getTabPageDataState(o);if(c.isLoggable(w.DEBUG)&&c.d(Ri,"--1--emitOnLoadTabPageDataEvent---设置数据---\x3e>>> caller: "+e+" pageIndex: "+o+" sectionIndex: "+l+" preloadNumber: "+t.preloadNumber+" state: "+u?.state),!u||u.state!==bi.QT_TAB_PAGE_STATE_IDLE&&u.state!==bi.QT_TAB_PAGE_STATE_INIT)c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----loadPageData--状态不对--\x3e>>>",o);else{const u=r.getSectionList(o);c.isLoggable(w.DEBUG)&&c.d(Ri,"--2--emitOnLoadTabPageDataEvent---设置数据---\x3e>>> caller: "+e+" pageIndex: "+o+" sectionIndex: "+l+" preloadNumber: "+t.preloadNumber+" sectionLength: "+u.length+" section: ",u),l>=u.length-t.preloadNumber-1?(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----<<<<<加载更多数据>>>>>-----\x3e>>> pageIndex:"+o+" pageNo:"+s+" sectionIndex:"+l+" sectionListLength:"+u.length),I(o,bi.QT_TAB_PAGE_STATE_BUSY),n?.checkIsStaticDatas(o,s)||a.emit("onTabPageLoadData",o,s,i)):c.isLoggable(w.DEBUG)&&c.d(Ri,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",o)}}function U(){clearTimeout(g),g=setTimeout(()=>{const e=r.getSectionListByState(f,yi.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach(e=>{c.isLoggable(w.DEBUG)&&c.d(Ri,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+f+" sectionIndex:",e.sectionIndex)}),a.emit("onTabPageSectionAttached",f,e))},100)}function k(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),a.emit("onTabPageScroll",e,t)}function O(e,t,n){c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+n),a.emit("onTabPageScrollStateChanged",e,t,n)}const B=(e,t,a)=>{r.insertSectionList(e,t,a);const n=hi(u,a);o.value?.insertPageData(e,t,n)};return n=Pi(t,{initPage:m,initTab:p,setPageData:_,addPageData:F,updatePageData:S,insertPageData:B,updatePageSection:b,deletePageSection:E,getPageSectionList:y,addPageItemList:P,updatePageItem:N,deletePageItem:R}),{tabs:o,ifTabs:i,navBarRef:s,initTab:p,initPage:m,setPageState:I,setPageData:_,addPageData:F,updatePageData:S,updatePageSection:b,getPageSection:function(e,t){return r.getSection(e,t)},getPageSectionList:y,deletePageSection:E,addPageItemList:P,getPageItem:function(e,t,a){return r.getItem(e,t,a)},updatePageItem:N,deletePageItem:R,focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,a){o.value?.invokeContentFunction(e,t,a)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,a){o.value?.getRootNodeViewState(e,t,a)},getChildNodeViewState:function(e,t,a,n,i){o.value?.getChildNodeViewState(e,t,a,n,i)},dispatchUIFunctionOnChildNode:function(e,t,a,n,i){o.value?.dispatchUIFunctionOnChildNode(e,t,a,n,i)},updateItemMatched:function(e="id",t,a){o.value?.updateItemMatched(e,t,a)},updateRootNode:function(e,t,a){o.value?.updateRootNode(e,t,a)},updateChildNode:function(e,t,a,n){o.value?.updateChildNode(e,t,a,n)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,a=e.useDiff;c.isLoggable(w.DEBUG)&&c.d(Ri,"----------设置数据----onTabPageLoadData---加载数据开始----\x3e>>>pageIndex:"+t),h(t),C("onTabPageLoadData",t,a,0),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------设置数据----onTabPageLoadData---加载数据结束----\x3e>>>pageIndex:"+t)},onTabPageChanged:function(e){const t=e.pageIndex;if(c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB切换开始--\x3e>>>pageIndex:",t),f==t)return;f=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB重置开始--\x3e>>>pageIndex:",t);for(let e=0;e<d.length;e++){const a=r.getTabPageDataState(e);c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据--调用setPageStateRecycled--START->>>> index:"+e+" lastTabPageIndex:"+v+" pageIndex:"+t+" pageState:",a),e!=t&&(e!=v||e==v&&Math.abs(v-t)>1)&&a&&Math.abs(e-t)>1&&a.state!=bi.QT_TAB_PAGE_STATE_INIT&&(c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据--调用setPageStateRecycled--END->>>> index:"+e+" lastTabPageIndex:"+v+" pageIndex:"+t+" pageState:",a),T(e))}c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB重置结束--\x3e>>>pageIndex:",t);const n=e.data;a.emit("onTabPageChanged",t,n);const o=r.getTabPageDataState(t);o&&o.sectionBindIndex>=-1&&C("onTabPageChanged",t,!1,o.sectionBindIndex),U(),v=t,c.isLoggable(w.DEBUG)&&c.d(Ri,"------设置数据----onTabPageChanged---TAB切换结束--\x3e>>>pageIndex:",t)},onTabEvent:function(e){const t=e.params,n=e.eventName,o=e.params.itemPosition,i=e.params.x,l=e.params.y,s=e.params.contentOffset,r=e.params.state;switch(c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabEvent------\x3e>>> eventName:"+n+" tabIndex:"+o+" params:",t),a.emit("onTabEvent",o,n,t),n){case"onMoveToTopStart":a.emit("onTabMoveToTopStart",o,n,t);break;case"onMoveToTopEnd":a.emit("onTabMoveToTopEnd",o,n,t);break;case"onMoveToBottomStart":a.emit("onTabMoveToBottomStart",o,n,t);break;case"onMoveToBottomEnd":a.emit("onTabMoveToBottomEnd",o,n,t);break;case"onTabChanged":a.emit("onTabChanged",o,n,t);break;case"onScroll":k(i,l);break;case"onScrollStateChanged":O(s.x,s.y,r.newState)}},onWaterfallItemClick:function(e,t,n,o){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",n),a.emit("onTabPageItemClick",f,e,t,n,o)},onWaterfallItemFocused:function(e,t,n,o){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+n+" item:",o),a.emit("onTabPageItemFocused",f,e,t,n,o)},onWaterfallSectionBind:function(e,t){e<0||(c.isLoggable(w.DEBUG)&&c.d(Ri,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const a=r.getTabPageDataState(e);a&&(a.sectionBindIndex=t,r.setPageDataState(e,a))}(e,t),e===f&&(c.isLoggable(w.DEBUG)&&c.d(Ri,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),C("onTabPageChanged",e,!1,t)))},onWaterfallSectionAttached:function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,yi.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==f&&U()},onWaterfallSectionDetached:function(e,t){c.isLoggable(w.DEBUG)&&c.d(Ri,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,yi.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:k,onWaterfallScrollStateChanged:O,onTabPageScrollToStart:function(e){const t=e.pageIndex;a.emit("onTabPageScrollToStart",t),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;a.emit("onTabPageScrollToEnd",t),c.isLoggable(w.DEBUG)&&c.d(Ri,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){a.emit("onTabClick",e)},getCurrentPageIndex:function(){return f},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},insertPageData:B,onPluginLoadSuccess:function(e){a.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){a.emit("onPluginLoadError",e)},getDataManager:function(){return r},...Dn(o)}}});Ai.render=function(e,a,l,c,u,d){const f=o("qt-nav-bar"),v=o("qt-waterfall"),g=o("recycler-view-pager"),p=o("tabs");return e.ifTabs?(t(),i(p,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),offscreenPageLimit:e.offScreenPageLimit,dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:h(()=>[T(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,tabEnable:e.qtTabSectionEnable.tabEnable,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:h(()=>[n(e.$slots,"tab-item")]),_:3},8,["class","sid","tabEnable","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),T(g,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical"},{default:h(()=>[T(v,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical,"qt-tab-section-enable":e.qtTabSectionEnable,verticalFadingEdgeEnabled:e.tabContentVerticalFadingEdgeEnabled,fadingEdgeLength:e.tabContentFadingEdgeLength,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick,onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError},{item:h(()=>[n(e.$slots,"waterfall-item")]),"shared-item":h(()=>[n(e.$slots,"waterfall-shared-item")]),"list-item":h(()=>[n(e.$slots,"waterfall-list-item")]),section:h(()=>[n(e.$slots,"waterfall-section")]),"vue-section":h(()=>[n(e.$slots,"waterfall-vue-section")]),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","blockFocusDirections","qt-tab-section-enable","verticalFadingEdgeEnabled","fadingEdgeLength","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick","onOnPluginLoadSuccess","onOnPluginLoadError"])]),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction"])]),_:3},8,["offscreenPageLimit","dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):r("v-if",!0)},Ai.__file="src/tab/index.vue";var Li=za({name:"qt-vue-section",setup(t,a){const n=e();return{onSectionBind:function(){},viewRef:n,...Dn(n)}}});Li.render=function(e,a,l,c,s,r){const u=o("tv-item");return t(),i(u,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["onItemBind"])},Li.__scopeId="data-v-d02af3c2",Li.__file="src/section/index.vue";var Ci=za({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,a){const n=e();let o=e(1);const i=e(),l=e();let c=[],s=-1,r=-1,u=[];let d=-1;let f=-1,v=-1;return{descendantFocusability:o,content_list_view:i,nav_list_view:l,init:e=>{e.forEach((a,n)=>{a.isPlaying=!1,t.currentFocusIndex==n&&(a.isPlaying=!0);let o=!1;for(let e=0;e<c.length;e++){const t=c[e];a.categoryname==t.categoryname&&(a.navIndex=e,o=!0)}o||(a.navIndex||(a.navIndex=c.length),c.push({type:a.type,decoration:{left:50},categoryname:a.categoryname,startIndex:n,isNeedFocus:!0})),u=e}),La(()=>{c[c.length-1].decoration.right=50,i.value?.setListData(e),l.value?.setListData(c),setTimeout(()=>{s=t.currentFocusIndex,r=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(r,!0)},300)})},onItemBind:()=>{},onSItemClick:e=>{a.emit("item-click",e)},onFItemClick:e=>{a.emit("item-click",e)},scrollToIndex:(e,t=!0,a=802)=>{i.value?.scrollToIndex(-1,e,t,-1,a)},scrollToFocused:e=>{o.value=1,setTimeout(()=>{i.value?.scrollToFocused(e)},300)},setItemFocused:e=>{setTimeout(()=>{o.value=1},300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout(()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=u[s];e.isPlaying=!1,i.value?.updateItemTraverse(s,e)}let t=u[e.position];t.isPlaying=!0,i.value?.updateItemTraverse(e.position,t)}s=e.position,r!=e.item.navIndex&&(r=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),a.emit("item-focused",e)}else r=e.item.navIndex},300)},onFItemFocused:e=>{"0"==e.position&&i.value?.setItemSelected(1,!0),clearTimeout(f),clearTimeout(v),e.hasFocus&&r!=e.position&&(o.value=2,r=e.position,u[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(-1,e.item.startIndex,!1,-1,t.yOffest),v=setTimeout(()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout(()=>{o.value=1},200)},400)):(i.value?.scrollToIndex(-1,e.item.startIndex+1,!1,-1,t.yOffest),v=setTimeout(()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout(()=>{o.value=1},200)},400)))},updateItem:(e,t)=>{u[e]=t,u.forEach((e,t)=>{for(let t=0;t<c.length;t++){const a=c[t];e.categoryname==a.categoryname&&(e.navIndex=t)}}),i.value?.updateItemTraverse(e,u[e])},viewRef:n,...Dn(n)}}});const Ui={focusable:!1,clipChildren:!1,ref:"viewRef"},Di=["focusScale"],wi={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},xi={class:"playMark",focusable:!1},ki=["type"],Oi={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Ci.render=function(e,i,l,u,d,f){const v=o("play-mark"),g=o("text-view"),p=o("qt-list-view");return t(),a("div",Ui,[T(p,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,name:"content_list_view",onItemFocused:e.onSItemFocused},{default:h(()=>[_("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[i[0]||(i[0]=_("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1)),i[1]||(i[1]=_("div",{class:"titMask",focusable:!1,showIf:"${isPlaying}",gradientBackground:{colors:["#00000000","#FF000000"],cornerRadii4:[0,0,8,8]}},null,-1)),_("div",wi,[_("div",xi,[T(v,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),T(g,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Di),n(e.$slots,"item")]),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),r(" listview first nav "),T(p,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,nextFocusName:{up:"content_list_view"},horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:h(()=>[_("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[i[2]||(i[2]=_("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1)),i[3]||(i[3]=_("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1)),_("div",Oi,[T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),T(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ki),n(e.$slots,"navItem")]),_:3},8,["class","onItemClick","onItemFocused"])],512)},Ci.__file="src/classified-list-view/index.vue";var Bi=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})}}});const Mi=["gradientBackground"],Wi=["gradientBackground"],Gi={class:"number-item-text-root-css",duplicateParentState:!0},Vi={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},qi=["gradientBackground"];Bi.render=function(e,n,i,l,s,u){const d=o("play-mark"),f=o("text-view");return t(),a("div",{class:"number-item-container",focusable:!0,focusScale:1,gradientBackground:e.gradientBackground},[_("div",{class:"number-item-container-bg-focus",duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,8,Wi),r(" 文字"),_("div",Gi,[_("div",Vi,[T(d,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markColor},null,8,["markColor"]),T(d,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markVipColor},null,8,["markColor"])]),T(f,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),T(f,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),lines:1,text:"${title}"},null,8,["style"])]),r(" vip角标 "),_("div",{class:"media-series-number-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[T(f,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,qi)],8,Mi)},Bi.__scopeId="data-v-4afb8987",Bi.__file="src/series/item/media-series-number-item.vue";var zi=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemWidth:{type:Number,default:490},itemHeight:{type:Number,default:100}}});const $i=["gradientBackground"],Qi=["gradientBackground"],Yi=["gradientBackground"];zi.render=function(e,n,i,l,s,r){const u=o("play-mark"),d=o("text-view");return t(),a("div",{class:"text-item-container",focusable:!0,focusScale:1,style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),gradientBackground:e.gradientBackground},[_("div",{class:"text-item-container-bg-focus",style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,12,Qi),_("div",{class:"text-item-container-css",style:c([{width:`${e.itemWidth}px`,height:`${e.itemHeight}px`},{position:"absolute","align-items":"center","background-color":"transparent"}]),duplicateParentState:!0},[_("div",{style:c({position:"absolute",flexDirection:"row",justifyContent:"center",alignItems:"center",width:`${e.itemWidth}px`,height:`${e.itemHeight}px`,backgroundColor:"transparent"}),showOnState:"selected",duplicateParentState:!0},[T(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markColor},null,8,["markColor"]),T(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markVipColor},null,8,["markColor"])],4),T(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),T(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),text:"${title}"},null,8,["style"])],4),_("div",{class:"media-series-text-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[T(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,Yi)],12,$i)},zi.__scopeId="data-v-4859f623",zi.__file="src/series/item/media-series-text-item.vue";var Hi,ji,Ki=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,a){const n=e();let o=e(!1);const i=D();g(()=>{o.value=!t.customItem});return{selectSeries:n,showOld:o,onLoadData:e=>{a.emit("load-data",e)},setPageData:(e,t)=>{n.value?.setPageData(e,t)},setInitData:(e,t)=>{n.value?n.value?.setInitData(e,t):La(()=>{n.value&&n.value?.setInitData(e,t)})},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{n.value?.scrollTo(e)},scrollToWithOffset:(e,t,a)=>{n.value?.scrollToWithOffset(e,t,a)},requestFocus:e=>{n.value?.requestFocus(e)},setSelected:e=>{La(()=>{i.isLoggable(w.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),n.value?.setSelected(e)})},setup:()=>{n.value?.setup()},setGroupSelected:e=>{n.value?.setGroupSelected(e)},release:()=>{n.value?.release()}}}});function Zi(e,t,a,n){const o=function(e,t,a,n){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Hi.QT_MEDIA_SERIES_TYPE_CUSTOM:case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return n.dataStyle?.itemHeight??80;case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return n.dataStyle?.itemHeight??100;case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,0,0,n);switch(e){case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:n?.dataStyle?.itemGap??36,initPosition:n.initPosition,contentHeight:o};case Hi.QT_MEDIA_SERIES_TYPE_CUSTOM:case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:n?.dataStyle?.itemGap??15.6,initPosition:n.initPosition,contentHeight:o};case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Ki.render=function(e,a,l,s,u,d){const f=o("select-series"),v=o("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(v,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):r("v-if",!0)},Ki.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(Hi||(Hi={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(ji||(ji={}));var Ji,Xi,el,tl,al,nl,ol=l({name:"qt-media-series",components:{"media-series-number-item":Bi,"media-series-text-item":zi,"media-series":Ki},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .5)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .5)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemDivWidth:{type:Number,default:490},itemDivHeight:{type:Number,default:100}},setup(t,a){const n=e(),{clearFocus:o,requestFocusDirectly:i,setVisibility:l}=Dn(n),c=e(!1),s=D(),r=e(),u=e(),d=e(),f=e(),v=e(0),g=e(!1),p=e(Hi.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:g,seriesType:p,params:r,commonParams:u,scrollParams:d,groupParams:f,mediaSeriesRef:n,show:c,height:v,onLoadData:e=>{a.emit("load-data",e)},setInitData:(e,a,o,i)=>{p.value=e,m=i,Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(u.value=Zi(e,0,0,i),d.value=function(e){if(e===Hi.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,a){const n={};if(t.enable){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:n.groupSize=10;break;case Hi.QT_MEDIA_SERIES_TYPE_TEXT:n.groupSize=3;break;default:n.groupSize=t.size}const o=t.groupStyle;o&&(o.groupMarginLeft&&(n.groupMarginLeft=o.groupMarginLeft),o.itemWidth&&(n.itemWidth=o.itemWidth),o.itemHeight&&(n.itemHeight=o.itemHeight),o.itemGap&&(n.itemGap=o.itemGap),o.mark&&(n.mark=o.mark)),a==ji.QT_MEDIA_SERIES_STYLE_TYPE_VIP?(n.textColor=o?.textVipColor??{normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},n.focusBackground=o?.focusVipBackground??{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},n.mark=o?.mark??{color:"#FFD97C"}):o&&(o.textColor&&(n.textColor=o.textColor),o.focusBackground&&(n.focusBackground=o.focusBackground),o.background&&(n.background=o.background))}return n}(e,a,o),Hi.QT_MEDIA_SERIES_TYPE_CUSTOM==e?v.value=t.itemHeight+(a.enable?70:0):v.value=function(e,t){switch(e){case Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Hi.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Hi.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,a),La(()=>{n.value&&n.value?.setInitData(i.totalCount,i.pageSize)}),s.isLoggable(w.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",v.value)):(r.value=function(e,t,a,n){const o=a==ji.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:n.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!o,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:o?"#FFD97C":"#ffffffff",selected:o?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:o?"#603314":"#000000",selected:o?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[o?"#FFE398":"#F5F5F5",o?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:o?"#FFD97C":"#FFFFFF"}},i}(0,a,o,i),v.value=function(e,t,a,n,o){return t.enable?o.value.template.height+o.value.groupHeight+o.value.groupTopMargin:o.value.template.height}(0,a,0,0,r),r.value.totalCount=i.totalCount,r.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let a=t;p.value==Hi.QT_MEDIA_SERIES_TYPE_NUMBER?a=function(e,t,a){const n=[];if(a.length>0){const o={width:160,height:80},i={width:0,height:0},l={width:24,height:25};a.forEach((a,c)=>{let s=e*t+c+1,r=s>9?""+s:"0"+s;const u={id:a.id,title:r,vip:a.vip};a.vip&&a.vip.enable?(u.vipTitleStyle=o,u.vipMarkStyle=l,u.normalTitleStyle=i,u.normalMarkStyle=i):(u.vipTitleStyle=i,u.vipMarkStyle=i,u.normalTitleStyle=o,u.normalMarkStyle=l),n.push(u)})}return n}(e,m.pageSize,t):p.value==Hi.QT_MEDIA_SERIES_TYPE_TEXT?a=function(e,t,a){if(a.length>0){const e={width:373,height:100},t={width:0,height:0},n={width:24,height:25};a.forEach((a,o)=>{a.vip&&a.vip.enable?(a.vipTitleStyle=a?.vipTitleStyle??e,a.vipMarkStyle=a?.vipMarkStyle??n,a.normalTitleStyle=t,a.normalMarkStyle=t):(a.vipTitleStyle=t,a.vipMarkStyle=t,a.normalTitleStyle=a?.normalTitleStyle??e,a.normalMarkStyle=a?.normalMarkStyle??n)})}return a}(0,m.pageSize,t):(p.value==Hi.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==Hi.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(a=function(e,t,a){return a}(0,m.pageSize,t)),n.value?.setPageData(e,a)},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{n.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{n.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{n.value?.requestFocus(e)},setSelected:e=>{n.value?.setSelected(e)},setup:()=>{n.value?.setup()},setGroupSelected:e=>{n.value?.setGroupSelected(e)},release:()=>{n.value?.release(),c.value=!1},blockRootFocus:()=>{n.value&&L.callUIFunction(n.value,"blockRootFocus",[])},unBlockRootFocus:()=>{n.value&&L.callUIFunction(n.value,"unBlockRootFocus",[])},clearFocus:o,requestFocusDirectly:i,setVisibility:l}}});ol.render=function(e,a,l,c,s,u){const d=o("media-series-number-item"),f=o("media-series-text-item"),v=o("media-series");return e.show?(t(),i(v,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:h(()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","text-colors","text-vip-colors"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"item-height":e.itemDivHeight,"item-width":e.itemDivWidth,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","item-height","item-width","text-colors","text-vip-colors"])):"custom"===e.seriesType?n(e.$slots,"default",{key:2}):r("v-if",!0)]),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):r("v-if",!0)},ol.__file="src/series/index.vue",function(e){e.SEQUENCE="sequence",e.TOGETHER="together",e.WITH="with",e.BEFORE="before",e.AFTER="after"}(Ji||(Ji={})),function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(Xi||(Xi={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(el||(el={})),function(e){e.ALPHA="alpha",e.ROTATION="rotation",e.ROTATION_X="rotationX",e.ROTATION_Y="rotationY",e.ROTATION_Z="rotationZ",e.SCALE_X="scaleX",e.SCALE_Y="scaleY",e.SCALE_Z="scaleZ",e.TRANSLATION_X="translationX",e.TRANSLATION_Y="translationY",e.TRANSLATION_Z="translationZ"}(tl||(tl={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(al||(al={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(nl||(nl={}));const il="QTCollapse";var ll=za({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,a){const n=D(),o=e();let i,l,c=e();const s=e(0),r=e(0);let u=200;const d={};const v={};function g(e){return v[`${e}`]}function p(e,t,o=!1){const l=i[e],c=l.__y,s=r.value-l.height-c;n.isLoggable(w.DEBUG)&&n.d(il,"-------expandItem-------\x3e>>>",e,s,c);let u=0;for(let a=i.length-1;a>=0;a--){const l=i[a];l.height;const c=l.collapseHeight;a<e&&(u+=c);try{const t=I(a);t?t.onCollapseItemExpand(a==e,o):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",l)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const r=g(a);if(r){let o=0;if(a>e)for(let t=0;t<a-e-1;t++){o+=i[t+e+1].collapseHeight}n.isLoggable(w.DEBUG)&&n.d(il,"-------expandItem----translationY---\x3e>>>",l,a,l.__translationY,s+u-o,o),m(a+"",l,r,l.__translationY,s+u-o,t)}}try{a.emit("onCollapseItemExpand",e,l,o)}catch(e){}}function m(e,t,a,n,o,i){a.objectAnimator2(e,nl.QT_ANIMATION_VALUE_TYPE_FLOAT,el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,n,o,i,-1,0,!1,!1,{type:Xi.QT_ACCELERATE_INTERPOLATOR,params:[2]}),a.startAnimator(e),t.__translationY=o}function I(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,a){e&&(d[`${a}`]=e)},initAnimComponentRef:function(e,t,a){e&&(v[`${a}`]=e)},init:function(e){const t=a.slots.default?.()??[];c.value=t.filter(e=>"object"==typeof e.type||"function"==typeof e.type),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,r.value=e.height,u=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let a=e-1;a>=0;a--){const e=i[a];t+=e.height,e.__y=r.value-t,e.__translationY=0}n.isLoggable(w.DEBUG)&&n.d(il,"----initCollapseItem----\x3e>>>",i)}(),f(()=>{p(l,0,!0)})},getItem:I,expandItem:function(e){p(e,u)},collapse:function(){const e=i.length,t=i[e-1],a=t.__y,o=r.value-t.height-a;let l=0;for(let t=e-1;t>=0;t--){const e=i[t];l+=e.collapseHeight;try{const a=I(t);a?a.onCollapseItemExpand(!1,!1):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",e)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const a=g(t);a&&m(t+"",e,a,e.__translationY,o+l,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const a=I(e);a?a.onCollapseItemExpand(!0,!1):n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef is null----\x3e>>>",t)}catch(e){n.isLoggable(w.DEBUG)&&n.d(il,"----itemRef onCollapseItemExpand error----\x3e>>>",e)}const a=g(e);a&&m(e+"",t,a,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r,viewRef:o,...Dn(o)}}});ll.render=function(e,n,l,s,r,u){const d=o("qt-animation");return t(),a("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),a(b,null,y(e.collapseItemComponentList,(a,n)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,a,n),class:"qt-collapse-item-css"},{default:h(()=>[(t(),i(E(a),{key:a.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,a,n)}))]),_:2},1536))),256))],4)},ll.__scopeId="data-v-4feca809",ll.__file="src/collapse/index.vue";var cl=za({name:"qt-long-image",emits:["onInitializeSuccess","onInitializeError","onDownLoad","onImageLoad","onScroll","onRendered","onScaleChanged","onCenterChanged"],props:{size:{type:String,default:"default"},activeColor:{type:String,default:"default"},inactiveColor:{type:String,default:"#e2e2e2"},inactiveBorderColor:{type:String,default:"#b5b5b5"},sliderColor:{type:String,default:"#FFFFFF"},disabledActiveBgColor:{type:String,default:"#269A4D"},disabledInactiveBgColor:{type:String,default:"#AAAAAA"},disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},borderSize:{type:Number,default:3},sliderAssetsIcon:{type:String,default:""},sliderNetworkIcon:{type:String,default:""},zoomEnabled:{type:Boolean,default:!0},src:{type:String},scaleType:{type:Number,default:4}},setup(t,a){const n=e(),o=k(),i=O(),l=e(!1);function c(e){a.emit("onInitializeError",e)}i.isComponentRegistered("eskit.sdk.support.longimage.ESLongImageViewComponent").then(e=>{e?l.value=!0:function(){const e={pkg:"eskit.plugin.long.image3"};o.addListener(e,s),o.installPlugin(e)}()},e=>{c(e)}),S(()=>[n.value],([e],[t])=>{e&&a.emit("onInitializeSuccess")},{flush:"post"});const s={onPluginInstallSuccess(e,t,a){o.removeListener(s),l.value=!0},onPluginInstallProgress(e,t,a,n){},onPluginInstallError(e,t,a){o.removeListener(s),c({status:t,msg:a})}};return{viewRef:n,setSrc:(e,t="")=>{n.value?.setSrc(e,t)},setInitScale:(e,t=0)=>{n.value?.setInitScale(e,t)},setInitPosition:e=>{n.value?.setInitPosition(e)},setInitCenter:(e,t)=>{n.value?.setInitCenter(e,t)},setInitOrientation:e=>{n.value?.setInitOrientation(e)},zoom:(e,t=0)=>{n.value?.zoom(e,t)},zoomByPoint:(e,t=0,a=0,o=0)=>{n.value?.zoomByPoint(e,t,a,o)},zoomByCenter:(e,t=0)=>{n.value?.zoomByCenter(e,t)},scrollDown:(e=200)=>{n.value?.scrollDown(e)},scrollUp:(e=200)=>{n.value?.scrollUp(e)},scrollLeft:(e=200)=>{n.value?.scrollLeft(e)},scrollRight:(e=200)=>{n.value?.scrollRight(e)},scrollTo:(e,t)=>{n.value?.scrollTo(e,t)},rotate:e=>{n.value?.rotate(e)},setScaleByAnimal:e=>{n.value?.setScaleByAnimal(e)},setDebug:e=>{n.value?.setDebug(e)},enableHDR:e=>{n.value?.enableHDR(e)},setDefaultHDR:e=>{n.value?.setDefaultHDR(e)},setSaturation:e=>{n.value?.setSaturation(e)},setContrast:e=>{n.value?.setContrast(e)},setBrightness:e=>{n.value?.setBrightness(e)},setWarmth:e=>{n.value?.setWarmth(e)},setOverlayAlpha:e=>{n.value?.setOverlayAlpha(e)},isHDR:()=>n.value?n.value.isHDR():Promise.reject(),getSaturation:()=>n.value?n.value.getSaturation():Promise.reject(),getContrast:()=>n.value?n.value.getContrast():Promise.reject(),getBrightness:()=>n.value?n.value.getBrightness():Promise.reject(),getWarmth:()=>n.value?n.value.getWarmth():Promise.reject(),getOverlayAlpha:()=>n.value?n.value.getOverlayAlpha():Promise.reject(),onDownLoad:e=>{a.emit("onDownLoad",e)},onImageLoad:e=>{a.emit("onImageLoad",e)},onRendered:e=>{a.emit("onRendered",e)},onScroll:e=>{a.emit("onScroll",e)},onScaleChanged:e=>{a.emit("onScaleChanged",e)},onCenterChanged:e=>{a.emit("onCenterChanged",e)},componentInitialized:l,...Dn(n)}}});cl.render=function(e,a,n,l,c,s){const u=o("qt-long-image-view");return e.componentInitialized?(t(),i(u,{key:0,ref:"viewRef",size:e.size,imageUrl:e.src,isScaleEnabled:e.zoomEnabled,activeColor:e.activeColor,inactiveColor:e.inactiveColor,inactiveBorderColor:e.inactiveBorderColor,sliderColor:e.sliderColor,disabledActiveBgColor:e.disabledActiveBgColor,disabledInactiveBgColor:e.disabledInactiveBgColor,disabled:e.disabled,modelValue:e.modelValue,borderSize:e.borderSize,scaleType:e.scaleType,sliderAssetsIcon:e.sliderAssetsIcon,sliderNetworkIcon:e.sliderNetworkIcon,onOnDownLoad:e.onDownLoad,onOnImageLoad:e.onImageLoad,onOnScroll:e.onScroll,onOnRendered:e.onRendered,onOnScaleChanged:e.onScaleChanged,onOnCenterChanged:e.onCenterChanged},null,8,["size","imageUrl","isScaleEnabled","activeColor","inactiveColor","inactiveBorderColor","sliderColor","disabledActiveBgColor","disabledInactiveBgColor","disabled","modelValue","borderSize","scaleType","sliderAssetsIcon","sliderNetworkIcon","onOnDownLoad","onOnImageLoad","onOnScroll","onOnRendered","onOnScaleChanged","onOnCenterChanged"])):r("v-if",!0)},cl.__file="src/long-image/index.vue";var sl=l({name:"qt-list-view-pro",__name:"qt-list-view-pro",props:{size:{type:Object,default:()=>({width:1920,height:1080})},horizontal:{type:Boolean,default:!1},value:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},emits:["item-click","item-focused","focus-lost"],setup(a,{expose:l,emit:s}){const r=s,u=a;function f(e){r("item-click",e)}const v=e(-1);let g=null;function m(e){r("item-focused",e);e.isFocused?(g&&(clearTimeout(g),g=null),v.value=e.position):(v.value=-1,g=setTimeout(()=>{-1===v.value&&r("focus-lost")},100))}const I=e();return S(()=>[u.value,I.value],([e,t])=>{if(e&&t){const t=d(e),a=Array.isArray(t)?t.map(e=>JSON.parse(JSON.stringify(e))):[];I.value?.setListData(a)}},{immediate:!0}),p(()=>{g&&(clearTimeout(g),g=null)}),l({scrollToIndex:function(e,t,a,n,o){I.value?.scrollToIndex(e,t,a,n,o)},scrollToPositionWithOffset:function(e,t,a){I.value?.scrollToPositionWithOffset(e,t,a)},scrollToPosition:function(e){I.value?.scrollToPosition(e)},requestChildFocus:function(e){I.value?.requestChildFocus(e)},setItemSelected:function(e,t=!1){I.value?.setItemSelected(e,t)}}),(e,l)=>{const s=o("qt-list-view");return a.horizontal?(t(),i(s,{key:0,horizontal:"",ref_key:"listViewRef",ref:I,style:c({width:a.size.width,height:a.size.height,backgroundColor:a.backgroundColor}),clipChildren:!1,onItemClick:f,onItemFocused:m,useDiff:!0,focusable:!1},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["style"])):(t(),i(s,{key:1,ref_key:"listViewRef",ref:I,style:c({width:a.size.width,height:a.size.height,backgroundColor:a.backgroundColor}),clipChildren:!1,onItemClick:f,onItemFocused:m,useDiff:!0,focusable:!1},{default:h(()=>[n(e.$slots,"default")]),_:3},8,["style"]))}}});sl.__file="src/pro/qt-list-view-pro.vue";const rl={showIf:"${isPlaying==true}",class:"number-item flex flex-row justify-center items-center",duplicateParentState:""},ul={showIf:"${isPlaying==false}",class:"number-item flex flex-row justify-center items-center",duplicateParentState:""};const dl={render:function(e,a){const n=o("play-mark"),l=o("qt-text"),c=o("qt-view");return t(),i(c,{style:{width:160,height:80,backgroundColor:"rgba(255,255,255,0.1)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[_("div",rl,[T(n,{name:"playMark",class:"detail-series-item-mark",markColor:"#13161B",gap:2,focusable:!1}),T(l,{text:"${episode}",fontSize:"36",style:{height:40,color:"#13161B",marginLeft:10},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center"})]),_("div",ul,[T(l,{text:"${episode}",fontSize:"36",style:{height:40,color:"rgba(255,255,255,0.5)",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center"})])]),_:1})},__scopeId:"data-v-7a6d61f4",__file:"src/pro/style/series-item-number.vue"},fl={showIf:"${isPlaying==true}",class:"number-item flex flex-row justify-center items-center",duplicateParentState:""},vl={showIf:"${isPlaying==false}",class:"number-item flex flex-row justify-center items-center",duplicateParentState:""};const gl={};gl.render=function(e,n){const i=o("play-mark"),l=o("qt-text"),c=o("qt-view");return t(),a(b,null,[r(" 纯文字样式 "),T(c,{type:"1",style:{width:490,height:100,backgroundColor:"rgba(255,255,255,0.1)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[_("div",fl,[T(i,{name:"playMark",class:"detail-series-item-mark",markColor:"#13161B",gap:2,focusable:!1}),T(l,{text:"${title}",fontSize:"36",style:{height:40,color:"#13161B",marginLeft:10,width:400},maxLines:1,lines:1,ellipsizeMode:4,duplicateParentState:"",typeface:"bold",gravity:"center"})]),_("div",vl,[T(l,{text:"${title}",fontSize:"36",style:{height:40,color:"rgba(255,255,255,0.5)",focusColor:"#13161B",width:400},maxLines:1,lines:1,ellipsizeMode:4,duplicateParentState:"",typeface:"bold",gravity:"center"})])]),_:1})],2112)},gl.__scopeId="data-v-730f67ac",gl.__file="src/pro/style/series-item-text.vue";const pl={};pl.render=function(e,n){const i=o("qt-image"),l=o("qt-text"),c=o("play-mark"),s=o("qt-view");return t(),a(b,null,[r(" 左图右文样式 "),T(s,{type:"1",style:{width:560,height:160,backgroundColor:"rgba(255,255,255,0.1)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex flex-row items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[r(" 左侧图片容器 "),T(i,{style:{width:268,height:160,borderTopLeftRadius:8,borderBottomLeftRadius:8},src:"${imageUrl}"}),r(" 右侧文字 "),T(s,{class:"flex flex-col justify-center items-center",style:{width:292,height:160},duplicateParentState:""},{default:h(()=>[T(l,{text:"${title}",fontSize:"28",style:{width:252,height:108,color:"rgba(255,255,255,0.5)",focusColor:"#13161B"},gravity:"centerVertical",maxLines:3,ellipsizeMode:2,duplicateParentState:"",typeface:"bold"}),r(" 播放标识 "),T(c,{name:"playMark",showIf:"${isPlaying}",style:{width:24,height:24,position:"absolute",right:24,bottom:12},markColor:"#13161B",gap:2,focusable:!1})]),_:1})]),_:1})],2112)},pl.__scopeId="data-v-56994b14",pl.__file="src/pro/style/series-item-image-left.vue";const ml={};var Il;ml.render=function(e,n){const i=o("qt-image"),l=o("qt-text"),c=o("play-mark"),s=o("qt-view");return t(),a(b,null,[r(" 上图下文样式 "),T(s,{type:"1",style:{width:336,height:260,backgroundColor:"rgba(255,255,255,0.1)",focusBackgroundColor:"#FFFFFF",borderRadius:8,focusBorderRadius:8},class:"flex flex-col items-center",focusable:!0,eventFocus:"",eventClick:""},{default:h(()=>[r(" 上方图片 "),T(i,{style:{width:336,height:198,borderRadius:8},src:"${imageUrl}"}),r(" 下方文字 "),T(l,{text:"${title}",fontSize:"30",style:{width:336,height:34,color:"white",focusColor:"#13161B",marginTop:12},ellipsizeMode:4,duplicateParentState:"",typeface:"bold",gravity:"center",maxLines:"1"}),r(" 播放标识 "),T(c,{name:"playMark",showIf:"${isPlaying}",style:{width:24,height:24,position:"absolute",right:24,bottom:60},markColor:"#13161B",gap:2,focusable:!1})]),_:1})],2112)},ml.__scopeId="data-v-5fddd194",ml.__file="src/pro/style/series-item-image-top.vue",function(e){e.NUMBER_ONLY="number_only",e.TEXT_ONLY="text_only",e.IMAGE_LEFT_TEXT_RIGHT="image_left_text_right",e.IMAGE_TOP_TEXT_BOTTOM="image_top_text_bottom",e.CUSTOM="custom"}(Il||(Il={}));const hl="qt-media-series-pro";var Tl=l({name:"qt-media-series-pro",__name:"qt-media-series-pro",props:{totalEpisodes:{type:Number,required:!0,default:0},currentIndex:{type:Number,required:!1,default:0},groupSize:{type:Number,required:!1,default:3},showGroup:{type:Boolean,required:!1,default:!0},seriesStyle:{type:null,required:!1,default:Il.NUMBER_ONLY},pageSize:{type:Number,required:!1,default:10},itemWidth:{type:Number,required:!1,default:160},itemHeight:{type:Number,required:!1,default:240},seriesListName:{type:String,required:!1,default:"seriesListView"},groupListName:{type:String,required:!1,default:"groupListView"},seriesListUpName:{type:String,required:!1},groupListDownName:{type:String,required:!1},onLoadPageData:{type:Function,required:!1}},emits:["item-click","item-focused","group-click","group-focused"],setup(a,{expose:l,emit:s}){const u=a,d=e(u.totalEpisodes),f=e(u.currentIndex??0),v=e(new Map),g=e({start:-1,end:-1}),p=e([]),m=e(null),I=e(null),_=e(-1),F=e(-1),b=e(-1);async function y(e){if(console.log(hl,`loadDataBySelectIndex: ${e}`),void 0!==e&&d.value>0){const t=Math.floor(e/u.pageSize);await E(t),console.log(hl,`第${t}页数据加载完成`),G(e)}}async function E(e){if(!u.onLoadPageData)return void console.log(hl,"未提供分页数据加载回调,使用默认数据");console.log(hl,`检查并加载第${e}页数据`);const t=Math.max(0,e-1),a=Math.min(Math.ceil(d.value/u.pageSize)-1,e+1);if(-1===g.value.start||t<g.value.start||a>g.value.end){console.log(hl,`需要加载页面范围: ${t}-${a}`);for(let e=t;e<=a;e++)if(!v.value.has(e))try{console.log(hl,`加载第${e}页数据`);const t=await u.onLoadPageData(e,u.pageSize);console.log(hl,"pageData",t),v.value.set(e,t),w(e,t),console.log(hl,`第${e}页数据加载完成,共${t.length}条`)}catch(t){console.error(hl,`加载第${e}页数据失败:`,t)}g.value={start:t,end:a},console.log(hl,`已加载页面范围更新为: ${t}-${a}`)}}S(()=>u.currentIndex,async(e,t)=>{void 0!==e&&d.value>0&&(console.log(hl,`currentIndex变化: ${t} -> ${e}`),f.value=e,y(e))},{immediate:!0});const R=s,A=N(()=>{switch(u.seriesStyle){case Il.TEXT_ONLY:return 490;case Il.IMAGE_LEFT_TEXT_RIGHT:return 560;case Il.IMAGE_TOP_TEXT_BOTTOM:return 336;default:return u.itemWidth}}),L=N(()=>{switch(u.seriesStyle){case Il.IMAGE_TOP_TEXT_BOTTOM:return 260;case Il.IMAGE_LEFT_TEXT_RIGHT:return 160;case Il.CUSTOM:return u.itemHeight;case Il.TEXT_ONLY:return 100;default:return 80}}),C=N(()=>u.showGroup&&d.value>u.groupSize),U=N(()=>{const e=Math.ceil(d.value/u.groupSize),t=Math.floor(_.value/u.groupSize);return Array.from({length:e},(a,n)=>({type:1,text:`${n*u.groupSize+1}-${Math.min((n+1)*u.groupSize,d.value)}`,isSelected:t===n,decoration:{left:0===n?80:0,right:n===e-1?80:16}}))});function D(){const e=function(e,t=0){return Array.from({length:e},(e,a)=>{const n=t+a,o=n===f.value,i={type:1,episode:n+1,title:`第${n+1}集`,subtitle:`时长: ${Math.floor(60*Math.random())+30}分钟`,imageUrl:"",isPlaying:o,decoration:{left:0===n?80:0,right:n===d.value-1?80:16}};switch(u.seriesStyle){case Il.NUMBER_ONLY:return{...i,episode:n+1};case Il.TEXT_ONLY:return{...i,title:`第${n+1}集 标题内容`};case Il.IMAGE_LEFT_TEXT_RIGHT:return{...i,title:`第${n+1}集`,subtitle:`时长: ${Math.floor(60*Math.random())+30}分钟`};case Il.IMAGE_TOP_TEXT_BOTTOM:return{...i,title:`第${n+1}集`};default:return i}})}(d.value,0);if(v.value.size>0)for(const[t,a]of v.value.entries()){const n=t*u.pageSize;if(n<d.value)for(let t=0;t<a.length;t++){const o=n+t;if(o<d.value){const n=o===f.value;e[o]={...e[o],...a[t],isPlaying:n}}}}p.value=e}function w(e,t){console.log(hl,`更新第${e}页数据到 seriesList,共${t.length}条`);const a=e*u.pageSize;if(a>=d.value)return;const n=[...p.value];let o=!1;for(let e=0;e<t.length;e++){const i=a+e;if(i<d.value){const a=i===f.value;n[i]={...n[i],...t[e],isPlaying:a},o=!0}}o&&(p.value=n),console.log(hl,"seriesList",p.value)}function x(e){const t=e.position;if(e.isFocused){_.value=-1;const e=F.value;b.value=t,F.value=t;const a=t*u.groupSize,n=Math.min((t+1)*u.groupSize-1,d.value-1);R("group-focused",t,a,n),-1!=e&&z(t);E(Math.floor(a/u.pageSize))}}function k(){F.value=-1}function O(e){const t=e.position;if(void 0!==t){const e=t*u.groupSize,a=Math.min((t+1)*u.groupSize-1,d.value-1);R("group-click",t,e,a),G(e);E(Math.floor(e/u.pageSize))}}async function B(e){console.log(hl,"onItemFocused:",e);const t=e.position;if(e.isFocused&&(F.value=-1,console.log(hl,"onItemFocused:"+t),void 0!==t)){_.value=t,R("item-focused",t);const e=t,a=Math.floor(e/u.pageSize);await E(a)}}function M(){_.value=-1}function W(e){const t=e.position;void 0!==t&&R("item-click",t)}function G(e){if(m.value&&e>=0&&e<d.value){m.value.setItemSelected(e,!0),console.log(hl,`setSelectedIndex index=${e}`);const t=[...p.value];let a=!1;t.forEach((e,n)=>{const o=n===f.value;e.isPlaying!==o&&(t[n]={...e,isPlaying:o},a=!0)}),a&&(p.value=t)}}function V(e){const t=Math.ceil(d.value/u.groupSize);I.value&&e>=0&&e<t&&(I.value.setItemSelected(e,!0),b.value=e)}function q(e){const t=Math.ceil(d.value/u.groupSize);if(I.value&&e>=0&&e<t){const t=(()=>{const e=Math.floor(1840/136);return Math.max(1,e)})();console.log(hl,`visibleCount=${t}`);let a=e;a=Math.max(0,e-Math.floor(t/2)-1),I.value.scrollToPosition(a),b.value=e,console.log(hl,`滚动分组列表: 目标索引=${e}, 可见数量=${t}, 滚动位置=${a}`)}}function z(e){const t=Math.ceil(d.value/u.groupSize);if(m.value&&e>=0&&e<t){const t=e*u.groupSize,a=(()=>{const e=A.value+16,t=Math.floor(1840/e);return Math.max(1,t)})(),n=Math.max(0,t-Math.floor(a/2));console.log(hl,`scrollPosition=${n}`),m.value.scrollToPosition(n),G(t),console.log(hl,`滚动分集列表: 分组索引=${e}, 起始集数=${t}, 可见数量=${a}, 滚动位置=${n}`)}}return S(()=>[u.totalEpisodes,u.seriesStyle],()=>{d.value=u.totalEpisodes,D()},{immediate:!0}),S(()=>[_.value,F.value],([e,t],[a,n])=>{if(-1!=e&&-1==t){const t=Math.floor(e/u.groupSize);b.value=t,V(t),-1!=a&&q(t)}else(-1==e&&-1!=b.value||-1==e&&-1==t)&&I.value&&(I.value.setItemSelected(-1,!1),b.value=-1,console.log(hl,"清除分组列表选中状态"))}),l({setSelectedIndex:G,requestFocus:function(){console.log(hl,"requestFocus");const e=_.value>=0?_.value:0;m.value&&e>=0&&e<d.value&&m.value.requestChildFocus(e)},requestChildFocus:function(e){console.log(hl,`requestChildFocus index=${e}`),m.value&&e>=0&&e<d.value&&(m.value.requestChildFocus(e),_.value=e)},requestGroupFocus:function(){console.log(hl,"requestGroupFocus");const e=b.value>=0?b.value:0,t=Math.ceil(d.value/u.groupSize);I.value&&e>=0&&e<t&&I.value.requestChildFocus(e)},setGroupIndex:V,scrollGroupListToIndex:q,scrollSeriesListToGroup:z,updateTotalEpisodes:function(e,t){d.value=e,void 0!==t&&(f.value=t),D(),y(t??f.value)},updateCurrentIndex:function(e){f.value=e,y(e),G(e)}}),(e,l)=>{const s=o("qt-text"),d=o("qt-view");return t(),i(d,{class:"series-container",clipChildren:!1},{default:h(()=>[r(" 分集列表 "),T(sl,{class:"series-list",enableFirstFocusAtStart:!0,blockFocusDirections:["left","right"],name:a.seriesListName,nextFocusName:{down:a.groupListName,up:a.seriesListUpName},ref_key:"listViewRef",ref:m,size:{width:1920,height:L.value},backgroundColor:"transparent",value:p.value,horizontal:!0,onItemClick:W,onItemFocused:B,onFocusLost:M,clipChildren:!1},{default:h(()=>[u.seriesStyle===P(Il).NUMBER_ONLY?(t(),i(dl,{key:0,type:1})):u.seriesStyle===P(Il).TEXT_ONLY?(t(),i(gl,{key:1,type:1})):u.seriesStyle===P(Il).IMAGE_LEFT_TEXT_RIGHT?(t(),i(pl,{key:2,type:1})):u.seriesStyle===P(Il).IMAGE_TOP_TEXT_BOTTOM?(t(),i(ml,{key:3,type:1})):u.seriesStyle===P(Il).CUSTOM?n(e.$slots,"custom",{key:4}):r("v-if",!0)]),_:3},8,["name","nextFocusName","size","value"]),r(" 分组组件 "),C.value?(t(),i(sl,{key:0,class:"group-list",name:a.groupListName,nextFocusName:{up:a.seriesListName,down:a.groupListDownName},enableFirstFocusAtStart:!0,blockFocusDirections:["left","right"],ref_key:"groupListViewRef",ref:I,size:{width:1920,height:80},backgroundColor:"transparent",value:U.value,horizontal:!0,onItemClick:O,onItemFocused:x,onFocusLost:k},{default:h(()=>[T(d,{type:"1",style:c({width:120,height:40,backgroundColor:"transparent",borderRadius:8,focusBorderRadius:8,focusBackgroundColor:"#FFFFFF"}),class:"flex justify-center items-center",focusable:!0,eventFocus:"",eventClick:"",focusBackgroundColor:"#FFFFFF"},{default:h(()=>[T(s,{text:"${text}",fontSize:"30",style:{height:30,color:"white",focusColor:"#13161B"},autoWidth:"",duplicateParentState:"",typeface:"bold",gravity:"center"}),r(" 选中状态指示器 - 白色横线 "),T(d,{showIf:"${isSelected}",duplicateParentState:"",showOnState:"selected",style:{position:"absolute",width:60,height:3,backgroundColor:"#FFFFFF",borderRadius:2,bottom:1}})]),_:1},8,["style"])]),_:1},8,["name","nextFocusName","value"])):r("v-if",!0)]),_:3})}}});Tl.__scopeId="data-v-6a4ec3c2",Tl.__file="src/pro/qt-media-series-pro.vue";var _l=l({name:"qt-grid-view-pro",__name:"qt-grid-view-pro",props:{size:{type:Object,default:()=>({width:1920,height:1080})},itemStyle:{type:Object,default:()=>({width:100,height:100,backgroundColor:"transparent"})},spanCount:{type:Number,default:12},value:{type:Array,default:()=>[]}},emits:["item-click"],setup(a,{expose:l,emit:s}){const r=s,u=a,f=e();function v(e){r("item-click",e)}return S(()=>[u.value,f.value],([e,t])=>{if(e&&t){const t=d(e),a=Array.isArray(t)?t.map(e=>JSON.parse(JSON.stringify(e))):[];f.value?.setListData(a)}},{immediate:!0}),l({setItemFocused:function(e){f.value.setItemFocused(e)}}),(e,l)=>{const s=o("qt-grid-view");return t(),i(s,{ref_key:"gridViewRef",ref:f,style:c({width:a.size.width,height:a.size.height}),spanCount:a.spanCount,clipChildren:!1,onItemClick:v,useDiff:!0,focusable:!1},{default:h(()=>[n(e.$slots,"default",{itemStyle:a.itemStyle})]),_:3},8,["style","spanCount"])}}});_l.__file="src/pro/qt-grid-view-pro.vue";var Fl=l({name:"qt-waterfall-pro",__name:"qt-waterfall-pro",props:{size:{type:Object,default:()=>({width:1920,height:1080})},backgroundColor:{type:String,default:"transparent"},vueSections:{type:Array,default:()=>[]}},setup(l){const s=e(),r=l,u=N(()=>r.vueSections.map((e,t)=>({_id:e.slotName,type:100001+t,style:{height:r.vueSections[t].height,width:r.size.width},itemList:[]})));function d(){const e=[];e.push(...u.value),console.log("sectionList:",e),s.value?.setSectionList(e)}return g(()=>{const e={width:r.size.width,height:r.size.height};s.value?.init(e),d()}),S(()=>r.vueSections,()=>{d()}),(e,r)=>{const d=o("qt-vue-section"),f=o("qt-waterfall");return t(),i(f,{ref_key:"waterfallRef",ref:s,style:c({width:l.size.width,height:l.size.height,backgroundColor:l.backgroundColor}),useDiff:!0,clipChildren:!1},{section:h(()=>[(t(!0),a(b,null,y(u.value,(a,o)=>(t(),i(d,{key:o,type:a.type,style:c(a.style),clipChildren:!1},{default:h(()=>[n(e.$slots,a._id,{type:a.type})]),_:2},1032,["type","style"]))),128))]),_:3},8,["style"])}}});function Sl(e,t,a=!0){let n=e.length;a?e.map((e,a)=>{a!==n-1&&(e.decoration={bottom:t})}):e.map((e,a)=>{a!==n-1&&(e.decoration={right:t})})}function bl(e){return{scrollToIndex:function(t,a,n,o,i){e.value&&L.callUIFunction(e.value,"scrollToIndex",[t,a,n,o,i])},startScroll:function(t){e.value&&L.callUIFunction(e.value,"startScroll",[t])},setSelectChildPosition:function(t,a){e.value&&L.callUIFunction(e.value,"setSelectChildPosition",[t,a])},scrollToPositionWithOffset:function(t,a,n){e.value&&L.callUIFunction(e.value,"scrollToPositionWithOffset",[t,a,n])},scrollToPositionWithOffsetInfiniteMode:function(t,a,n){e.value&&L.callUIFunction(e.value,"scrollToPositionWithOffsetInfiniteMode",[t,a,n])},scrollToPosition:function(t,a){e.value&&L.callUIFunction(e.value,"scrollToPosition",[t,a])},refreshListData:function(){e.value&&L.callUIFunction(e.value,"refreshListData",[])},updateItemTraverse:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemTraverse",[t,a,n])},requestItemLayout:function(t){e.value&&L.callUIFunction(e.value,"requestItemLayout",[t])},updateItemRange:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemRange",[t,a,n])},insertItemRange:function(t,a){e.value&&L.callUIFunction(e.value,"insertItemRange",[t,a])},updateItemMatched:function(t,a){e.value&&L.callUIFunction(e.value,"updateItemMatched",[t,a])},updateItemMatchedByKey:function(t,a,n){e.value&&L.callUIFunction(e.value,"updateItemMatched",[t,a,n])},deleteItemRange:function(t,a){e.value&&L.callUIFunction(e.value,"deleteItemRange",[t,a])},setListData:function(t){e.value&&L.callUIFunction(e.value,"setListData",[...t])},setListDataWithParams:function(t,a,n){e.value&&L.callUIFunction(e.value,"setListDataWithParams",[t,a,n])},addListData:function(t){e.value&&L.callUIFunction(e.value,"addListData",[t])},addListDataWithParams:function(t,a){e.value&&L.callUIFunction(e.value,"addListDataWithParams",[t,a])},destroy:function(){e.value&&L.callUIFunction(e.value,"destroy",[])},recycle:function(){e.value&&L.callUIFunction(e.value,"recycle",[])},scrollToTop:function(){e.value&&L.callUIFunction(e.value,"scrollToTop",[])},scrollToFocus:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"scrollToFocus",[t,a,n,o])},prepareForRecycle:function(){e.value&&L.callUIFunction(e.value,"prepareForRecycle",[])},setDisplay:function(t){e.value&&L.callUIFunction(e.value,"setDisplay",[t])},changeDisplayState:function(t,a){e.value&&L.callUIFunction(e.value,"changeDisplayState",[t,a])},notifySaveInstance:function(){e.value&&L.callUIFunction(e.value,"notifySaveInstance",[])},notifyRestoreInstance:function(){e.value&&L.callUIFunction(e.value,"notifyRestoreInstance",[])},updateItemProps:function(t,a,n,o){e.value&&L.callUIFunction(e.value,"updateItemProps",[t,a,n,o])},dispatchItemFunction:function(t){e.value&&L.callUIFunction(e.value,"dispatchItemFunction",[t])},clearPostTask:function(){e.value&&L.callUIFunction(e.value,"clearPostTask",[])},clearPostTaskByCate:function(t){e.value&&L.callUIFunction(e.value,"clearPostTaskByCate",[t])},clearData:function(){e.value&&L.callUIFunction(e.value,"clearData",[])},pausePostTask:function(){e.value&&L.callUIFunction(e.value,"pausePostTask",[])},resumePostTask:function(){e.value&&L.callUIFunction(e.value,"resumePostTask",[])},requestLayoutManual:function(){e.value&&L.callUIFunction(e.value,"requestLayoutManual",[])},setSpanCount:function(t){e.value&&L.callUIFunction(e.value,"setSpanCount",[t])},searchReplaceItem:function(t,a){e.value&&L.callUIFunction(e.value,"searchReplaceItem",[t,a])},setCustomStateEnableOnFocus:function(t,a){e.value&&L.callUIFunction(e.value,"setCustomStateEnableOnFocus",[t,a])},setItemCustomState:function(t,a,n){e.value&&L.callUIFunction(e.value,"setItemCustomState",[t,a,n])},dispatchItemFunctionWithPromise:function(t,a,n,o){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"dispatchItemFunctionWithPromise",[],e=>{t(e)})}):Promise.reject()},getScrollOffset:function(){return e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getScrollOffset",[],e=>{t(e)})}):Promise.reject()}}}function yl(t){const a=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference","focus-lost"],setup(t,a){const n=e();let o=0,i=!1,l=xo(),c=[],s=null,r=!1,u=!0;const f=()=>t.listData||l.value,v=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&u&&(clearTimeout(s),s=setTimeout(()=>{U(t.defaultFocus)},300+10*e.length))},{scrollToPosition:h,setSelectChildPosition:T}=bl(n),{requestChildFocus:_}=Dn(n);g(()=>{f().length&&n.value&&!r&&!c.length&&(c=f(),L.callUIFunction(n.value,"setListData",d(f())),v(c))}),p(()=>{l.value.splice(0)});let F=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],b=()=>{t.openPage&&0===F&&c.length>0&&!i&&(L.callUIFunction(n.value,"addListData",S),F=c.length)},y=(e=!1)=>{F>0&&(e?L.callUIFunction(n.value,"updateItem",[F,{text:"",type:1003,decoration:{}}]):(L.callUIFunction(n.value,"deleteItemRange",[F,1]),F=0))};let E=null;const N=()=>{i=!1,o=0},P=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(o++,t.loadMore(o)):(o++,t.loadMore(o)))};m(()=>{t.openPage&&!t.listData&&(N(),P())});const A=Po(f(),{resetValue(e){c=e,r=!0},init(e){n.value&&(L.callUIFunction(n.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(F=c.length,S):[])),N(),t.listData&&(o=1),v(e))},add(e){L.callUIFunction(n.value,"addListData",e),y(),b()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);L.callUIFunction(n.value,"updateItem",[a,e])})},insert(e,t){L.callUIFunction(n.value,"insertItemRange",[e,t]),y(),b()},delete(e,t){L.callUIFunction(n.value,"deleteItemRange",[e,t]),F>0&&(F=c.length)},clear(){L.callUIFunction(n.value,"setListData",[]),F=0}}),C=(e,t)=>{T(e,t)},U=e=>{h(e),D(e)},D=e=>{_(e),L.callUIFunction(n.value,"requestChildFocus",[e])};I(()=>{A?.stop(),N(),clearTimeout(s),clearTimeout(E)});const w=(e,t)=>{for(let a=0;a<e.length;a++){const n=e[a];n.name=t>=0?"name"+t+a:"name"+a,n.list&&n.list.length>0&&w(n.list,a)}};return a.expose({viewRef:n,init:(e,a)=>t.listData?[]:e?(u=!a,l.value=e,l.value):l.value,scrollToFocused:U,scrollToSelected:(e,t)=>{h(e),C(e,t)},setItemFocused:D,setItemSelected:C,stopPage:(e=!1)=>{i=!0,E=setTimeout(()=>{i=!0,y(e)},20)},updateItemName:w,hasChanged:(e,t)=>e!==t&&(e==e||t==t),...Dn(n),...bl(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("FastListView",{ref:n,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let a=t.preloadNo;(a<0||a>=c.length)&&(a=0),e.position==c.length-1-a&&P()}a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onFocusLost:e=>{a.emit("focus-lost",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",a)}function El(t){C("IndicatorListView",{component:{name:"IndicatorListView",processEventData(e,t){const{handler:a,__evt:n}=e;switch(console.log("nativeEventName--------------\x3e"+n),n){case"onItemClick":t&&(a.position=t.position,a.index=t.index,a.item=t.item,a.name=t.name,a.parentPosition=t.parentPosition);break;case"onItemFocused":t&&(a.position=t.position,a.index=t.index,a.hasFocus=t.hasFocus,a.isFocused=t.hasFocus,a.item=t.item,a.name=t.name,a.parentPosition=t.parentPosition);break;case"onBindItem":case"onAttachedToWindow":case"onDetachedFromWindow":t&&(a.position=t.position,a.pageIndex=t.pageIndex,a.name=t.name,a.item=t.item);break;case"onUnbindItem":t&&(a.position=t.position,a.name=t.name);break;case"onScroll":t&&(a.offsetX=t.contentOffset.x,a.offsetY=t.contentOffset.y);break;case"onScrollOffset":t&&(a.offsetY=t.y);break;case"onScrollStateChanged":t&&(a.offsetX=t.contentOffset.x,a.offsetY=t.contentOffset.y,a.oldState=t.state.oldState,a.newState=t.state.newState);break;case"onChildFocus":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position},a.focused={id:t.child.id,name:t.child.name});break;case"onChildSelect":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position});break;case"onFocusSearchFailed":t&&(a.child={index:t.child.index,id:t.child.id,name:t.child.name,position:t.child.position},a.focused={id:t.child.id,name:t.child.name},a.direction=t.direction);break;case"onLoadMore":t&&(a.name=t.name,a.isLastLine=t.isLastLine,a.itemCount=t.itemCount,a.position=t.position);break;case"onCurrentIndicatorPageIndex":t&&(a.name=t.name,a.currentIndex=t.currentIndex,a.currentList=t.currentList)}return a}}});const a=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference","current-indicator-page-index"],setup(t,a){const n=e();let o=0,i=!1,l=xo(),c=[],s=null,r=!1,u=!0;const f=()=>t.listData||l.value,v=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&u&&(clearTimeout(s),s=setTimeout(()=>{U(t.defaultFocus)},300+10*e.length))},{scrollToPosition:h,setSelectChildPosition:T}=bl(n),{requestChildFocus:_}=Dn(n);g(()=>{f().length&&n.value&&!r&&!c.length&&(c=f(),L.callUIFunction(n.value,"setListData",d(f())),v(c))}),p(()=>{l.value.splice(0)});let F=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],b=()=>{t.openPage&&0===F&&c.length>0&&!i&&(L.callUIFunction(n.value,"addListData",S),F=c.length)},y=(e=!1)=>{F>0&&(e?L.callUIFunction(n.value,"updateItem",[F,{text:"",type:1003,decoration:{}}]):(L.callUIFunction(n.value,"deleteItemRange",[F,1]),F=0))};let E=null;const N=()=>{i=!1,o=0},P=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(o++,t.loadMore(o)):(o++,t.loadMore(o)))};m(()=>{t.openPage&&!t.listData&&(N(),P())});const A=Po(f(),{resetValue(e){c=e,r=!0},init(e){n.value&&(L.callUIFunction(n.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(F=c.length,S):[])),N(),t.listData&&(o=1),v(e))},add(e){L.callUIFunction(n.value,"addListData",e),y(),b()},update(e,t){To(1,t.datas).forEach((e,t)=>{const a=Array.isArray(t)?Number(t[0]):Number(t);L.callUIFunction(n.value,"updateItem",[a,e])})},insert(e,t){L.callUIFunction(n.value,"insertItemRange",[e,t]),y(),b()},delete(e,t){L.callUIFunction(n.value,"deleteItemRange",[e,t]),F>0&&(F=c.length)},clear(){L.callUIFunction(n.value,"setListData",[]),F=0}}),C=(e,t)=>{T(e,t)},U=e=>{h(e),D(e)},D=e=>{_(e),L.callUIFunction(n.value,"requestChildFocus",[e])};I(()=>{A?.stop(),N(),clearTimeout(s),clearTimeout(E)});const w=(e,t)=>{for(let a=0;a<e.length;a++){const n=e[a];n.name=t>=0?"name"+t+a:"name"+a,n.list&&n.list.length>0&&w(n.list,a)}};return a.expose({viewRef:n,init:(e,a)=>t.listData?[]:e?(u=!a,l.value=e,l.value):l.value,scrollToFocused:U,scrollToSelected:(e,t)=>{h(e),C(e,t)},setItemFocused:D,setItemSelected:C,stopPage:(e=!1)=>{i=!0,E=setTimeout(()=>{i=!0,y(e)},20)},updateItemName:w,hasChanged:(e,t)=>e!==t&&(e==e||t==t),...Dn(n),...bl(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("IndicatorListView",{ref:n,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let a=t.preloadNo;(a<0||a>=c.length)&&(a=0),e.position==c.length-1-a&&P()}a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)},onCurrentIndicatorPageIndex:e=>{console.log("onCurrentIndicatorPageIndex--------------\x3e"+e),a.emit("current-indicator-page-index",e)}},e)}}});t.component("qt-indicator-list-view",a)}Fl.__file="src/pro/qt-waterfall-pro.vue";function Nl(t){const a=l({props:{animator:{type:Object},autoPlay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1}},emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,a){const n=e(),o=B().getDisplayScale(),i=A(t,"animator");let l;function c(e,t="id"){if("string"==typeof(a=e)&&a.trim().length>0)return e;var a;return`${t}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,8)}`}function s(e){if(e){if(r(),a=e,Array.isArray(a.animators)){const a=[];e.animators.forEach((e,n)=>{const{id:o,valueType:i,type:l,values:s,duration:r,repeatMode:u,repeatCount:d,listenAnimator:f,listenAnimatorValue:v,interpolator:g}=e,p=c(o);a.push(p),h(p,i??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,l,s,r,u??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),d??(t.loop?-1:0),f??!1,v??!1,g)});const n=c(e.id);switch(l=n,u(n,e.duration??-1,e.listenAnimator??!1),e.relationType){case Ji.SEQUENCE:m(n,a);break;case Ji.TOGETHER:I(n,a);break;case Ji.WITH:a.length>=2&&(f(n,a[0]),v(n,a[1]));break;case Ji.BEFORE:a.length>=2&&(f(n,a[0]),g(n,a[1]));break;case Ji.AFTER:a.length>=2&&(f(n,a[0]),p(n,a[1]));break;default:m(n,a)}}else{const{id:a,valueType:n,type:o,values:i,duration:s,repeatMode:r,repeatCount:u,listenAnimator:d,listenAnimatorValue:f,interpolator:v}=e,g=c(a);l=g,h(g,n??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,o,i,s,r??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),u??(t.loop?-1:0),d??!1,f??!1,v)}var a;t.autoPlay&&d(l)}}function r(){L.callUIFunction(n.value,"resetAnimators",[],e=>{})}function u(e,t,a){L.callUIFunction(n.value,"animatorSet",[e,t,a],e=>{})}function d(e){La(()=>{if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"startAnimator",[t],e=>{})})}function f(e,t){L.callUIFunction(n.value,"play",[e,t],e=>{})}function v(e,t){L.callUIFunction(n.value,"with",[e,t],e=>{})}function g(e,t){L.callUIFunction(n.value,"before",[e,t],e=>{})}function p(e,t){L.callUIFunction(n.value,"after",[e,t],e=>{})}function m(e,t){const a=`playSequentially${t.length}`;L.callUIFunction(n.value,a,[e,...t],e=>{})}function I(e,t){const a=`playTogether${t.length}`;L.callUIFunction(n.value,a,[e,...t],e=>{})}function h(e,t,a,i,l,c,s,r,u,d){const f=a===tl.TRANSLATION_X||a===tl.TRANSLATION_Y||a===tl.TRANSLATION_Z?i.map(e=>e*o):i,v=`objectAnimator${0==i.length?"":i.length}`;L.callUIFunction(n.value,v,[e,t,a,...f,l,c,s,r,u,d??{type:Xi.QT_LINEAR_INTERPOLATOR}],e=>{})}function T(e,t,a,i,l,c,s,r,u,d){const f=a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z?i.map(e=>e*o):i,v=`objectAnimator${0==i.length?"":i.length}`;L.callUIFunction(n.value,v,[e,t,a,...f,l,c,s,r,u,d??{type:Xi.QT_LINEAR_INTERPOLATOR}],e=>{})}return S(n,e=>{e&&i.value&&s(i.value)}),S(i,e=>{e&&n.value&&s(e)},{deep:!0}),a.expose({animator:T,animatorSet:u,reset:r,start:d,startDelay:function(e,t){La(()=>{if(!e&&!l)return;const a=e??l;L.callUIFunction(n.value,"startAnimatorDelay",[a,t],e=>{})})},pause:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"pauseAnimator",[t],e=>{})},resume:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"resumeAnimator",[t],e=>{})},cancel:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"cancelAnimator",[t],e=>{})},reverse:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"reverseAnimator",[t],e=>{})},setPivotX:function(e){L.callUIFunction(n.value,"setPivotX",[e],e=>{})},setPivotY:function(e){L.callUIFunction(n.value,"setPivotY",[e],e=>{})},resetPivot:function(){L.callUIFunction(n.value,"resetPivot",[],e=>{})},resetAnimators:function(){L.callUIFunction(n.value,"resetAnimators",[],e=>{})},startAnimator:function(e){La(()=>{if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"startAnimator",[t],e=>{})})},startAnimatorDelay:function(e,t){La(()=>{if(!e&&!l)return;const a=e??l;L.callUIFunction(n.value,"startAnimatorDelay",[a,t??0],e=>{})})},pauseAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"pauseAnimator",[t],e=>{})},resumeAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"resumeAnimator",[t],e=>{})},cancelAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"cancelAnimator",[t],e=>{})},reverseAnimator:function(e){if(!e&&!l)return;const t=e??l;L.callUIFunction(n.value,"reverseAnimator",[t],e=>{})},play:f,playWith:v,playBefore:g,playAfter:p,playAfterDelay:function(e,t){L.callUIFunction(n.value,"afterDelay",[e,t],e=>{})},playSequentially:m,playSequentially1:function(e,t){m(e,[t])},playSequentially2:function(e,t,a){m(e,[t,a])},playSequentially3:function(e,t,a,n){m(e,[t,a,n])},playSequentially4:function(e,t,a,n,o){m(e,[t,a,n,o])},playSequentially5:function(e,t,a,n,o,i){m(e,[t,a,n,o,i])},playTogether:I,playTogether1:function(e,t){I(e,[t])},playTogether2:function(e,t,a){I(e,[t,a])},playTogether3:function(e,t,a,n){I(e,[t,a,n])},playTogether4:function(e,t,a,n,o){I(e,[t,a,n,o])},playTogether5:function(e,t,a,n,o,i){I(e,[t,a,n,o,i])},objectAnimator1:function(e,t,a,n,o,i,l,c,s,r){T(e,t,a,[n],o,i,l,c,s,r)},objectAnimator2:function(e,t,a,n,o,i,l,c,s,r,u){T(e,t,a,[n,o],i,l,c,s,r,u)},objectAnimator3:function(e,t,a,n,o,i,l,c,s,r,u,d){T(e,t,a,[n,o,i],l,c,s,r,u,d)},objectAnimator4:function(e,t,a,n,o,i,l,c,s,r,u,d,f){T(e,t,a,[n,o,i,l],c,s,r,u,d,f)},objectAnimator5:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v){T(e,t,a,[n,o,i,l,c],s,r,u,d,f,v)},objectAnimator6:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g){T(e,t,a,[n,o,i,l,c,s],r,u,d,f,v,g)},objectAnimator7:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p){T(e,t,a,[n,o,i,l,c,s,r],u,d,f,v,g,p)},objectAnimator8:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m){T(e,t,a,[n,o,i,l,c,s,r,u],d,f,v,g,p,m)},objectAnimator9:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m,I){T(e,t,a,[n,o,i,l,c,s,r,u,d],f,v,g,p,m,I)},objectAnimator10:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m,I,h){T(e,t,a,[n,o,i,l,c,s,r,u,d,f],v,g,p,m,I,h)},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("AnimationViewComponent",{ref:n,onAnimationCancel:e=>{let t=e.animationId;a.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;a.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;a.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;a.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;a.emit("onAnimationUpdate",t,n)}},e)}}});t.component("qt-animation",a)}function Pl(t){const a=l({props:{animator:{type:Object},autoPlay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1}},emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,a){const n=e(),o=A(t,"animator");let i;function l(e,t="id"){if("string"==typeof(a=e)&&a.trim().length>0)return e;var a;return`${t}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,8)}`}function c(e){if(e){if(s(),a=e,Array.isArray(a.animators)){const a=[];e.animators.forEach((e,n)=>{const{id:o,valueType:i,type:c,values:s,duration:r,repeatMode:u,repeatCount:d,listenAnimator:f,listenAnimatorValue:v,interpolator:g}=e,p=l(o);a.push(p),I(p,i??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,c,s,r,u??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),d??(t.loop?-1:0),f??!1,v??!1,g)});const n=l(e.id);switch(i=n,r(n,e.duration??-1,e.listenAnimator??!1),e.relationType){case Ji.SEQUENCE:p(n,a);break;case Ji.TOGETHER:m(n,a);break;case Ji.WITH:a.length>=2&&(d(n,a[0]),f(n,a[1]));break;case Ji.BEFORE:a.length>=2&&(d(n,a[0]),v(n,a[1]));break;case Ji.AFTER:a.length>=2&&(d(n,a[0]),g(n,a[1]));break;default:p(n,a)}}else{const{id:a,valueType:n,type:o,values:c,duration:s,repeatMode:r,repeatCount:u,listenAnimator:d,listenAnimatorValue:f,interpolator:v}=e,g=l(a);i=g,I(g,n??nl.QT_ANIMATION_VALUE_TYPE_FLOAT,o,c,s,r??(t.loop?al.QT_ANIMATION_REPEAT_MODE_INFINITE:al.QT_ANIMATION_REPEAT_MODE_RESTART),u??(t.loop?-1:0),d??!1,f??!1,v)}var a;t.autoPlay&&u(i)}}function s(){L.callUIFunction(n.value,"reset",[],e=>{})}function r(e,t,a){L.callUIFunction(n.value,"animatorSet",[e,t,a],e=>{})}function u(e){La(()=>{if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"start",[t],e=>{})})}function d(e,t){L.callUIFunction(n.value,"play",[e,t],e=>{})}function f(e,t){L.callUIFunction(n.value,"with",[e,t],e=>{})}function v(e,t){L.callUIFunction(n.value,"before",[e,t],e=>{})}function g(e,t){L.callUIFunction(n.value,"after",[e,t],e=>{})}function p(e,t){t.length;L.callUIFunction(n.value,"playSequentially",[e,t],e=>{})}function m(e,t){t.length;L.callUIFunction(n.value,"playTogether",[e,t],e=>{})}function I(e,t,a,o,i,l,c,s,r,u){const d=a===tl.TRANSLATION_X||a===tl.TRANSLATION_Y||a===tl.TRANSLATION_Z?o.map(e=>U(e)):o;L.callUIFunction(n.value,"objectAnimator",[e,t,a,...d,i,l,c,s,r,u?[u.type,u.params]:[Xi.QT_LINEAR_INTERPOLATOR]],e=>{})}function h(e,t,a,o,i,l,c,s,r,u){const d=a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y||a===el.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z?o.map(e=>U(e)):o;L.callUIFunction(n.value,"animator",[e,t,a,d,i,l,c,s,r,u?[u.type,u.params]:[Xi.QT_LINEAR_INTERPOLATOR]],e=>{})}return S(n,e=>{e&&o.value&&c(o.value)}),S(o,e=>{e&&n.value&&c(e)},{deep:!0}),a.expose({animator:h,animatorSet:r,reset:s,start:u,startDelay:function(e,t){La(()=>{if(!e&&!i)return;const a=e??i;L.callUIFunction(n.value,"startDelay",[a,t],e=>{})})},pause:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"pause",[t],e=>{})},resume:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"resume",[t],e=>{})},cancel:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"cancel",[t],e=>{})},reverse:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"reverse",[t],e=>{})},setPivotX:function(e){L.callUIFunction(n.value,"setPivotX",[e],e=>{})},setPivotY:function(e){L.callUIFunction(n.value,"setPivotY",[e],e=>{})},resetPivot:function(){L.callUIFunction(n.value,"resetPivot",[],e=>{})},resetAnimators:function(){L.callUIFunction(n.value,"reset",[],e=>{})},startAnimator:function(e){La(()=>{if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"start",[t],e=>{})})},startAnimatorDelay:function(e,t){La(()=>{if(!e&&!i)return;const a=e??i;L.callUIFunction(n.value,"startDelay",[a,t??0],e=>{})})},pauseAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"pause",[t],e=>{})},resumeAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"resume",[t],e=>{})},cancelAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"cancel",[t],e=>{})},reverseAnimator:function(e){if(!e&&!i)return;const t=e??i;L.callUIFunction(n.value,"reverse",[t],e=>{})},play:d,playWith:f,playBefore:v,playAfter:g,playAfterDelay:function(e,t){L.callUIFunction(n.value,"afterDelay",[e,t],e=>{})},playSequentially:p,playSequentially1:function(e,t){p(e,[t])},playSequentially2:function(e,t,a){p(e,[t,a])},playSequentially3:function(e,t,a,n){p(e,[t,a,n])},playSequentially4:function(e,t,a,n,o){p(e,[t,a,n,o])},playSequentially5:function(e,t,a,n,o,i){p(e,[t,a,n,o,i])},playTogether:m,playTogether1:function(e,t){m(e,[t])},playTogether2:function(e,t,a){m(e,[t,a])},playTogether3:function(e,t,a,n){m(e,[t,a,n])},playTogether4:function(e,t,a,n,o){m(e,[t,a,n,o])},playTogether5:function(e,t,a,n,o,i){m(e,[t,a,n,o,i])},objectAnimator1:function(e,t,a,n,o,i,l,c,s,r){h(e,t,a,[n],o,i,l,c,s,r)},objectAnimator2:function(e,t,a,n,o,i,l,c,s,r,u){h(e,t,a,[n,o],i,l,c,s,r,u)},objectAnimator3:function(e,t,a,n,o,i,l,c,s,r,u,d){h(e,t,a,[n,o,i],l,c,s,r,u,d)},objectAnimator4:function(e,t,a,n,o,i,l,c,s,r,u,d,f){h(e,t,a,[n,o,i,l],c,s,r,u,d,f)},objectAnimator5:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v){h(e,t,a,[n,o,i,l,c],s,r,u,d,f,v)},objectAnimator6:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g){h(e,t,a,[n,o,i,l,c,s],r,u,d,f,v,g)},objectAnimator7:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p){h(e,t,a,[n,o,i,l,c,s,r],u,d,f,v,g,p)},objectAnimator8:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m){h(e,t,a,[n,o,i,l,c,s,r,u],d,f,v,g,p,m)},objectAnimator9:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m,I){h(e,t,a,[n,o,i,l,c,s,r,u,d],f,v,g,p,m,I)},objectAnimator10:function(e,t,a,n,o,i,l,c,s,r,u,d,f,v,g,p,m,I,T){h(e,t,a,[n,o,i,l,c,s,r,u,d,f],v,g,p,m,I,T)},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("AnimationViewComponent",{ref:n,onAnimationCancel:e=>{let t=e.animationId;a.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;a.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;a.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;a.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;a.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;a.emit("onAnimationUpdate",t,n)}},e)}}});t.component("qt-animation",a)}const Rl="ExtendModule",Al="callUIFunction",Ll="callUIFunctionWithPromise",Cl=e=>"string"==typeof e;function Ul(e){return{...e}}function Dl(){const e={requestFocus:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"requestFocus",[t]]);else if(ca(e))try{e.value?.requestFocus(t)}catch(e){}},requestChildFocus:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"requestChildFocus",[t]]);else if(ca(e))try{e.value?.requestChildFocus(t)}catch(e){}},clearFocus:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"clearFocus",[]]);else if(ca(e))try{e.value?.clearFocus()}catch(e){}},requestFocusDirectly:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"requestFocusDirectly",[t]]);else if(ca(e))try{e.value?.requestFocusDirectly(t)}catch(e){}},setVisibility:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"changeVisibility",[t]]);else if(ca(e))try{e.value?.setVisibility(t)}catch(e){}},requestRootLayout:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"requestRootLayout",[]]);else if(ca(e))try{e.value?.requestRootLayout()}catch(e){}},requestLayout:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"requestLayout",[]]);else if(ca(e))try{e.value?.requestLayout()}catch(e){}},setDescendantFocusability:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"setDescendantFocusability",[t]]);else if(ca(e))try{e.value?.setDescendantFocusability(t)}catch(e){}},changeDescendantFocusability:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"changeDescendantFocusability",[t]]);else if(ca(e))try{e.value?.changeDescendantFocusability(t)}catch(e){}},forceUpdateRenderNode:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"forceUpdateRenderNode",[]]);else if(ca(e))try{e.value?.forceUpdateRenderNode()}catch(e){}},setBackGroundColor:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"setBackGroundColor",[t]]);else if(ca(e))try{e.value?.setBackGroundColor(t)}catch(e){}},layoutViewManual:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"layoutViewManual",[]]);else if(ca(e))try{e.value?.layoutViewManual()}catch(e){}},blockRootFocus:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"blockRootFocus",[]]);else if(ca(e))try{e.value?.blockRootFocus()}catch(e){}},unBlockRootFocus:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"unBlockRootFocus",[]]);else if(ca(e))try{e.value?.unBlockRootFocus()}catch(e){}},changeAlpha:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"changeAlpha",[t]]);else if(ca(e))try{e.value?.changeAlpha(t)}catch(e){}},setScale:function(e,t,a,n){if(Cl(e))L.callNative(Rl,Al,[e,"setScale",[t,a,n]]);else if(ca(e))try{e.value?.setScale(t,a,n)}catch(e){}},setPosition:function(e,t,a,n){if(Cl(e))L.callNative(Rl,Al,[e,"setPosition",[t,a,n]]);else if(ca(e))try{e.value?.setPosition(t,a,n)}catch(e){}},updateLayout:function(e,t,a,n,o){if(Cl(e))L.callNative(Rl,Al,[e,"updateLayout",[t,a,n,o]]);else if(ca(e))try{e.value?.updateLayout(t,a,n,o)}catch(e){}},invalidate:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"invalidate",[]]);else if(ca(e))try{e.value?.invalidate()}catch(e){}},dispatchFunctionForTarget:function(e,t,a,n,o){if(Cl(e))L.callNative(Rl,Al,[e,"dispatchFunctionForTarget",[t,a,n,o]]);else if(ca(e))try{e.value?.dispatchFunctionForTarget(t,a,n,o)}catch(e){}},setBlockFocusDirections:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"setBlockFocusDirections",[t]]);else if(ca(e))try{e.value?.setBlockFocusDirections(t)}catch(e){}},setBlockFocusDirectionsOnFail:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"setBlockFocusDirectionsOnFail",[t]]);else if(ca(e))try{e.value?.setBlockFocusDirectionsOnFail(t)}catch(e){}},setInitFocus:function(e,t,a){if(Cl(e))L.callNative(Rl,Al,[e,"setInitFocus",[t,a]]);else if(ca(e))try{e.value?.setInitFocus(t,a)}catch(e){}},setAutoFocus:function(e,t,a){if(Cl(e))L.callNative(Rl,Al,[e,"setAutoFocus",[t,a]]);else if(ca(e))try{e.value?.setAutoFocus(t,a)}catch(e){}},enabledAutofocus:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"setAutoFocus",[t]]);else if(ca(e))try{e.value?.enabledAutofocus(t)}catch(e){}},requestAutofocus:function(e){if(Cl(e))L.callNative(Rl,Al,[e,"requestAutofocus",[]]);else if(ca(e))try{e.value?.requestAutofocus()}catch(e){}},hasFocus:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"hasFocus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.hasFocus():Promise.reject()},isFocused:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"isFocused",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.isFocused():Promise.reject()},getLocationOnScreen:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getLocationOnScreen",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.getLocationOnScreen():Promise.reject()},getViewState:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getViewState",[]],e=>{t(e)})}):ca(e)&&e.value?e.value?.getViewState():Promise.reject()},getChildViewState:function(e,t){return Cl(e)?new Promise((a,n)=>{L.callNative(Rl,Ll,[e,"getChildViewState",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value?.getChildViewState(t):Promise.reject()},deepInvalidate:function(e,t){if(Cl(e))L.callNative(Rl,Al,[e,"deepInvalidate",[t]]);else if(ca(e))try{e.value?.deepInvalidate(t)}catch(e){}}},t={requestFocus:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"requestFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"requestFocus",[t])},requestChildFocus:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"requestChildFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"requestChildFocus",[t])},clearFocus:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearFocus",[]]):ca(e)&&L.callUIFunction(e.value,"clearFocus",[])},requestFocusDirectly:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"requestFocusDirectly",[t]]):ca(e)&&L.callUIFunction(e.value,"requestFocusDirectly",[t])},setVisibility:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"changeVisibility",[t]]):ca(e)&&L.callUIFunction(e.value,"changeVisibility",[t])},requestRootLayout:function(e){Cl(e)?L.callNative(Rl,Al,[e,"requestRootLayout",[]]):ca(e)&&L.callUIFunction(e.value,"requestRootLayout",[])},requestLayout:function(e){Cl(e)?L.callNative(Rl,Al,[e,"requestLayout",[]]):ca(e)&&L.callUIFunction(e.value,"requestLayout",[])},setDescendantFocusability:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDescendantFocusability",[t]]):ca(e)&&L.callUIFunction(e.value,"setDescendantFocusability",[t])},changeDescendantFocusability:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"changeDescendantFocusability",[t]]):ca(e)&&L.callUIFunction(e.value,"changeDescendantFocusability",[t])},forceUpdateRenderNode:function(e){Cl(e)?L.callNative(Rl,Al,[e,"forceUpdateRenderNode",[]]):ca(e)&&L.callUIFunction(e.value,"forceUpdateRenderNode",[])},setBackGroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBackGroundColor",[t]]):ca(e)&&L.callUIFunction(e.value,"setBackGroundColor",[t])},layoutViewManual:function(e){Cl(e)?L.callNative(Rl,Al,[e,"layoutViewManual",[]]):ca(e)&&L.callUIFunction(e.value,"layoutViewManual",[])},blockRootFocus:function(e){Cl(e)?L.callNative(Rl,Al,[e,"blockRootFocus",[]]):ca(e)&&L.callUIFunction(e.value,"blockRootFocus",[])},unBlockRootFocus:function(e){Cl(e)?L.callNative(Rl,Al,[e,"unBlockRootFocus",[]]):ca(e)&&L.callUIFunction(e.value,"unBlockRootFocus",[])},changeAlpha:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"changeAlpha",[t]]):ca(e)&&L.callUIFunction(e.value,"changeAlpha",[t])},setScale:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setScale",[t,a,n]]):ca(e)&&L.callUIFunction(e.value,"setScale",[t,a,n])},setPosition:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setPosition",[t,a,n]]):ca(e)&&L.callUIFunction(e.value,"setPosition",[t,a,n])},updateLayout:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"updateLayout",[t,a,n,o]]):ca(e)&&L.callUIFunction(e.value,"updateLayout",[t,a,n,o])},invalidate:function(e){Cl(e)?L.callNative(Rl,Al,[e,"invalidate",[]]):ca(e)&&L.callUIFunction(e.value,"invalidate",[])},dispatchFunctionForTarget:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"dispatchFunctionForTarget",[t,a,n,o]]):ca(e)&&L.callUIFunction(e.value,"dispatchFunctionForTarget",[t,a,n,o])},setBlockFocusDirections:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockFocusDirections",[t]]):ca(e)&&L.callUIFunction(e.value,"setBlockFocusDirections",[t])},setBlockFocusDirectionsOnFail:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockFocusDirectionsOnFail",[t]]):ca(e)&&L.callUIFunction(e.value,"setBlockFocusDirectionsOnFail",[t])},setInitFocus:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setInitFocus",[t,a]]):ca(e)&&L.callUIFunction(e.value,"setInitFocus",[t,a])},setAutoFocus:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setAutoFocus",[t,a]]):ca(e)&&L.callUIFunction(e.value,"setAutoFocus",[t,a])},enabledAutofocus:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAutoFocus",[t]]):ca(e)&&L.callUIFunction(e.value,"setAutoFocus",[t])},requestAutofocus:function(e){Cl(e)?L.callNative(Rl,Al,[e,"requestAutofocus",[]]):ca(e)&&L.callUIFunction(e.value,"requestAutofocus",[])},hasFocus:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"hasFocus",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"hasFocus",[],e=>{t(e)})}):Promise.reject()},isFocused:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"isFocused",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"isFocused",[],e=>{t(e)})}):Promise.reject()},getLocationOnScreen:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getLocationOnScreen",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getLocationOnScreen",[],e=>{t(e)})}):Promise.reject()},getViewState:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getViewState",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getViewState",[],e=>{t(e)})}):Promise.reject()},getChildViewState:function(e,t){return Cl(e)?new Promise((a,n)=>{L.callNative(Rl,Ll,[e,"getChildViewState",[t]],e=>{a(e)})}):ca(e)&&e.value?new Promise((a,n)=>{L.callUIFunction(e.value,"getChildViewState",[t],e=>{a(e)})}):Promise.reject()},deepInvalidate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"deepInvalidate",[t]]):ca(e)&&L.callUIFunction(e.value,"deepInvalidate",[t])}},a={scrollToIndex:function(e,t,a,n,o,i){Cl(e)?L.callNative(Rl,Al,[e,"scrollToIndex",[t,a,n,o,i]]):ca(e)&&e.value?.scrollToIndex(t,a,n,o,i)},startScroll:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"startScroll",[t]]):ca(e)&&e.value?.startScroll(t)},setSelectChildPosition:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setSelectChildPosition",[t,a]]):ca(e)&&e.value?.setSelectChildPosition(t,a)},scrollToPositionWithOffset:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"scrollToPositionWithOffset",[t,a,n]]):ca(e)&&e.value?.scrollToPositionWithOffset(t,a,n)},scrollToPositionWithOffsetInfiniteMode:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"scrollToPositionWithOffsetInfiniteMode",[t,a,n]]):ca(e)&&e.value?.scrollToPositionWithOffsetInfiniteMode(t,a,n)},scrollToPosition:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"scrollToPosition",[t,a]]):ca(e)&&e.value?.scrollToPosition(t,a)},refreshListData:function(e){Cl(e)?L.callNative(Rl,Al,[e,"refreshListData",[]]):ca(e)&&e.value?.refreshListData()},updateItemTraverse:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"updateItem",[t,a,n]]):ca(e)&&e.value?.updateItemTraverse(t,a,n)},requestItemLayout:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"requestItemLayout",[t]]):ca(e)&&e.value?.requestItemLayout(t)},updateItemRange:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"updateItemRange",[t,a,n]]):ca(e)&&e.value?.updateItemRange(t,a,n)},insertItemRange:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"insertItemRange",[t,a]]):ca(e)&&e.value?.insertItemRange(t,a)},updateItemMatched:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"updateItemMatched",[t,a]]):ca(e)&&e.value?.updateItemMatched(t,a)},updateItemMatchedByKey:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"updateItemMatched",[t,a,n]]):ca(e)&&e.value?.updateItemMatchedByKey(t,a,n)},deleteItemRange:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"deleteItemRange",[t,a]]):ca(e)&&e.value?.deleteItemRange(t,a)},setListData:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setListData",[t]]):ca(e)&&e.value?.setListData(t)},setListDataWithParams:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setListDataWithParams",[t,a,n]]):ca(e)&&e.value?.setListDataWithParams(t,a,n)},addListData:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setListDataWithParams",[t]]):ca(e)&&e.value?.addListData(t)},addListDataWithParams:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"addListDataWithParams",[t,a]]):ca(e)&&e.value?.addListDataWithParams(t,a)},destroy:function(e){Cl(e)?L.callNative(Rl,Al,[e,"destroy",[]]):ca(e)&&e.value?.destroy()},recycle:function(e){Cl(e)?L.callNative(Rl,Al,[e,"recycle",[]]):ca(e)&&e.value?.recycle()},scrollToTop:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scrollToTop",[]]):ca(e)&&e.value?.scrollToTop()},scrollToFocus:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"scrollToFocus",[t,a,n,o]]):ca(e)&&e.value?.scrollToFocus(t,a,n,o)},prepareForRecycle:function(e){Cl(e)?L.callNative(Rl,Al,[e,"prepareForRecycle",[]]):ca(e)&&e.value?.prepareForRecycle()},setDisplay:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDisplay",[t]]):ca(e)&&e.value?.setDisplay(t)},changeDisplayState:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"changeDisplayState",[t,a]]):ca(e)&&e.value?.changeDisplayState(t,a)},notifySaveInstance:function(e){Cl(e)?L.callNative(Rl,Al,[e,"notifySaveInstance",[]]):ca(e)&&e.value?.notifySaveInstance()},notifyRestoreInstance:function(e){Cl(e)?L.callNative(Rl,Al,[e,"notifyRestoreInstance",[]]):ca(e)&&e.value?.notifyRestoreInstance()},updateItemProps:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"updateItemProps",[t,a,n,o]]):ca(e)&&e.value?.updateItemProps(t,a,n,o)},dispatchItemFunction:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"dispatchItemFunction",[t]]):ca(e)&&e.value?.dispatchItemFunction(t)},clearPostTask:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearPostTask",[]]):ca(e)&&e.value?.clearPostTask()},clearPostTaskByCate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"clearPostTaskByCate",[t]]):ca(e)&&e.value?.clearPostTaskByCate(t)},clearData:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearData",[]]):ca(e)&&e.value?.clearData()},pausePostTask:function(e){Cl(e)?L.callNative(Rl,Al,[e,"pausePostTask",[]]):ca(e)&&e.value?.pausePostTask()},resumePostTask:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resumePostTask",[]]):ca(e)&&e.value?.resumePostTask()},requestLayoutManual:function(e){Cl(e)?L.callNative(Rl,Al,[e,"requestLayoutManual",[]]):ca(e)&&e.value?.requestLayoutManual()},setSpanCount:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSpanCount",[t]]):ca(e)&&e.value?.setSpanCount(t)},searchReplaceItem:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"searchReplaceItem",[t,a]]):ca(e)&&e.value?.searchReplaceItem(t,a)},setCustomStateEnableOnFocus:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setCustomStateEnableOnFocus",[t,a]]):ca(e)&&e.value?.setCustomStateEnableOnFocus(t,a)},setItemCustomState:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setItemCustomState",[t,a,n]]):ca(e)&&e.value?.setItemCustomState(t,a,n)},dispatchItemFunctionWithPromise:function(e,t,a,n,o){return Cl(e)?new Promise((i,l)=>{L.callNative(Rl,Ll,[e,"dispatchItemFunctionWithPromise",[t,a,n,o]],e=>{i(e)})}):ca(e)&&e.value?e.value.dispatchItemFunctionWithPromise(t,a,n,o):Promise.reject()},getScrollOffset:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getScrollOffset",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScrollOffset():Promise.reject()}},n=Ul(e),o=Ul(t),i=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)}}}(e,a),l=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},restartPage:function(e){e.value?.restartPage()},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},setInitPosition:function(e,t){e.value?.setInitPosition(t)}}}(e,a),c=function(e,t){return{...e,...t,init:function(e,t){e.value?.init(t)},getSectionList:function(e){return e.value?e.value.getSectionList():[]},setSectionList:function(e,t){e.value?.setSectionList(t)},addSectionList:function(e,t){e.value?.addSectionList(t)},deleteSection:function(e,t,a){e.value?.deleteSection(t,a)},updateSection:function(e,t,a){e.value?.updateSection(t,a)},updateSectionList:function(e,t,a,n){e.value?.updateSectionList(t,a,n)},getSection:function(e,t){return e.value?.getSection(t)},addItemList:function(e,t,a){e.value?.addItemList(t,a)},deleteItem:function(e,t,a,n){e.value?.deleteItem(t,a,n)},updateItem:function(e,t,a,n){e.value?.updateItem(t,a,n)},updateItemList:function(e,t,a,n,o){e.value?.updateItemList(t,a,n,o)},getItem:function(e,t,a){if(e.value)return e.value?.getItem(t,a)}}}(e,a),s=function(e,t){return{...e,...t,init:function(e,t,a){return e.value?e.value.init(t,a):[]},stopPage:function(e,t){e.value?.stopPage(t)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},setIndicatorType:function(e,t){e.value?.setIndicatorType(t)}}}(e,a),r=function(e){return{...e,setSrc:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSrc",[t]]):ca(e)&&e.value?.setSrc(t)},resizeMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"resizeMode",[t]]):ca(e)&&e.value?.resizeMode(t)}}}(e),u=function(e){return{...e,reload:function(e){Cl(e)?L.callNative(Rl,Al,[e,"reload",[]]):ca(e)&&e.value&&e.value?.reload()},clearCache:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"clearCache",[t]]):ca(e)&&e.value&&e.value?.clearCache(t)},getUrl:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getUrl():Promise.reject()},getOriginalUrl:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getOriginalUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getOriginalUrl():Promise.reject()},setLayerType:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLayerType",[t]]):ca(e)&&e.value&&e.value?.setLayerType(t)},setIgnoreCA:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIgnoreCA",[t]]):ca(e)&&e.value&&e.value?.setIgnoreCA(t)},setIgnoreAllKeyEvent:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIgnoreAllKeyEvent",[t]]):ca(e)&&e.value&&e.value?.setIgnoreAllKeyEvent(t)},getCurrentIndexWithBackForwardList:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getCurrentIndexWithBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getCurrentIndexWithBackForwardList():Promise.reject()},getScreenStatus:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getScreenStatus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScreenStatus():Promise.reject()},getBackForwardList:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getBackForwardList():Promise.reject()},setInitialScale:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInitialScale",[t]]):ca(e)&&e.value&&e.value?.setInitialScale(t)},autoClickPosition:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"autoClickPosition",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPosition(t,a)},disableImageDisplay:function(e){Cl(e)?L.callNative(Rl,Al,[e,"disableImageDisplay",[]]):ca(e)&&e.value&&e.value?.disableImageDisplay()},enableImageDisplay:function(e){Cl(e)?L.callNative(Rl,Al,[e,"enableImageDisplay",[]]):ca(e)&&e.value&&e.value?.enableImageDisplay()},setListenEvents:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setListenEvents",[t]]):ca(e)&&e.value&&e.value?.setListenEvents(t)},stopLoading:function(e){Cl(e)?L.callNative(Rl,Al,[e,"stopLoading",[]]):ca(e)&&e.value&&e.value?.stopLoading()},clearView:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearView",[]]):ca(e)&&e.value&&e.value?.clearView()},loadUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"loadUrl",[t]]):ca(e)&&e.value&&e.value?.loadUrl(t)},evaluateJavascript:function(e,t){return Cl(e)?new Promise((a,n)=>{L.callNative(Rl,Ll,[e,"evaluateJavascript",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value.evaluateJavascript(t):Promise.reject()},setSniffingEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSniffingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSniffingEnabled(t)},setSniffingRule:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSniffingRule",[t]]):ca(e)&&e.value&&e.value?.setSniffingRule(t)},resetSniffingRule:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetSniffingRule",[]]):ca(e)&&e.value&&e.value?.resetSniffingRule()},setInterceptEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInterceptEnabled",[t]]):ca(e)&&e.value&&e.value?.setInterceptEnabled(t)},setInterceptRule:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInterceptRule",[t]]):ca(e)&&e.value&&e.value?.setInterceptRule(t)},resetInterceptRule:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetInterceptRule",[]]):ca(e)&&e.value&&e.value?.resetInterceptRule()},shouldOverrideUrlLoading:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"shouldOverrideUrlLoading",[t]]):ca(e)&&e.value&&e.value?.shouldOverrideUrlLoading(t)},setUserAgent:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setUserAgent",[t]]):ca(e)&&e.value&&e.value?.setUserAgent(t)},canGoBack:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"canGoBack",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoBack():Promise.reject()},goBack:function(e){Cl(e)?L.callNative(Rl,Al,[e,"goBack",[]]):ca(e)&&e.value&&e.value?.goBack()},canGoForward:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"canGoForward",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoForward():Promise.reject()},goForward:function(e){Cl(e)?L.callNative(Rl,Al,[e,"goForward",[]]):ca(e)&&e.value&&e.value?.goForward()},canGoBackOrForward:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"canGoBackOrForward",[t]]):ca(e)&&e.value&&e.value?.canGoBackOrForward(t)},goBackOrForward:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"goBackOrForward",[t]]):ca(e)&&e.value&&e.value?.goBackOrForward(t)},onResume:function(e){Cl(e)?L.callNative(Rl,Al,[e,"onResume",[]]):ca(e)&&e.value&&e.value?.onResume()},onPause:function(e){Cl(e)?L.callNative(Rl,Al,[e,"onPause",[]]):ca(e)&&e.value&&e.value?.onPause()},pauseTimers:function(e){Cl(e)?L.callNative(Rl,Al,[e,"pauseTimers",[]]):ca(e)&&e.value&&e.value?.pauseTimers()},resumeTimers:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resumeTimers",[]]):ca(e)&&e.value&&e.value?.resumeTimers()},destroy:function(e){Cl(e)?L.callNative(Rl,Al,[e,"destroy",[]]):ca(e)&&e.value&&e.value?.destroy()},setJavaScriptEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setJavaScriptEnabled",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptEnabled(t)},setPluginState:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setPluginState",[t]]):ca(e)&&e.value&&e.value?.setPluginState(t)},setJavaScriptCanOpenWindowsAutomatically:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setJavaScriptCanOpenWindowsAutomatically",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptCanOpenWindowsAutomatically(t)},setUseWideViewPort:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setUseWideViewPort",[t]]):ca(e)&&e.value&&e.value?.setUseWideViewPort(t)},setLoadWithOverviewMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLoadWithOverviewMode",[t]]):ca(e)&&e.value&&e.value?.setLoadWithOverviewMode(t)},setSupportZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSupportZoom",[t]]):ca(e)&&e.value&&e.value?.setSupportZoom(t)},setBuiltInZoomControls:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBuiltInZoomControls",[t]]):ca(e)&&e.value&&e.value?.setBuiltInZoomControls(t)},setDisplayZoomControls:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDisplayZoomControls",[t]]):ca(e)&&e.value&&e.value?.setDisplayZoomControls(t)},setAllowFileAccess:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowFileAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccess(t)},setDomStorageEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDomStorageEnabled",[t]]):ca(e)&&e.value&&e.value?.setDomStorageEnabled(t)},setDatabaseEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDatabaseEnabled",[t]]):ca(e)&&e.value&&e.value?.setDatabaseEnabled(t)},setAppCacheEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCacheEnabled",[t]]):ca(e)&&e.value&&e.value?.setAppCacheEnabled(t)},setAppCachePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCachePath",[t]]):ca(e)&&e.value&&e.value?.setAppCachePath(t)},setMediaPlaybackRequiresUserGesture:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMediaPlaybackRequiresUserGesture",[t]]):ca(e)&&e.value&&e.value?.setMediaPlaybackRequiresUserGesture(t)},setStandardFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStandardFontFamily",[t]]):ca(e)&&e.value&&e.value?.setStandardFontFamily(t)},setFixedFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFixedFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFixedFontFamily(t)},setSansSerifFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSansSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSansSerifFontFamily(t)},setSerifFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSerifFontFamily(t)},setCursiveFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setCursiveFontFamily",[t]]):ca(e)&&e.value&&e.value?.setCursiveFontFamily(t)},setFantasyFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFantasyFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFantasyFontFamily(t)},setTextZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextZoom",[t]]):ca(e)&&e.value&&e.value?.setTextZoom(t)},setMinimumFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMinimumFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumFontSize(t)},setDefaultFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFontSize(t)},setLayoutAlgorithm:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLayoutAlgorithm",[t]]):ca(e)&&e.value&&e.value?.setLayoutAlgorithm(t)},setLoadsImagesAutomatically:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLoadsImagesAutomatically",[t]]):ca(e)&&e.value&&e.value?.setLoadsImagesAutomatically(t)},setDefaultTextEncodingName:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultTextEncodingName",[t]]):ca(e)&&e.value&&e.value?.setDefaultTextEncodingName(t)},setNeedInitialFocus:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setNeedInitialFocus",[t]]):ca(e)&&e.value&&e.value?.setNeedInitialFocus(t)},setGeolocationEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGeolocationEnabled",[t]]):ca(e)&&e.value&&e.value?.setGeolocationEnabled(t)},setBlockNetworkLoads:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockNetworkLoads",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkLoads(t)},setSupportMultipleWindows:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSupportMultipleWindows",[t]]):ca(e)&&e.value&&e.value?.setSupportMultipleWindows(t)},setAppCacheMaxSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCacheMaxSize",[t]]):ca(e)&&e.value&&e.value?.setAppCacheMaxSize(t)},setRenderPriority:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRenderPriority",[t]]):ca(e)&&e.value&&e.value?.setRenderPriority(t)},setCacheMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setCacheMode",[t]]):ca(e)&&e.value&&e.value?.setCacheMode(t)},setAllowContentAccess:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowContentAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowContentAccess(t)},setEnableSmoothTransition:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setEnableSmoothTransition",[t]]):ca(e)&&e.value&&e.value?.setEnableSmoothTransition(t)},setSaveFormData:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSaveFormData",[t]]):ca(e)&&e.value&&e.value?.setSaveFormData(t)},setSavePassword:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSavePassword",[t]]):ca(e)&&e.value&&e.value?.setSavePassword(t)},setTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextSize",[t]]):ca(e)&&e.value&&e.value?.setTextSize(t)},setDefaultZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultZoom",[t]]):ca(e)&&e.value&&e.value?.setDefaultZoom(t)},setLightTouchEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLightTouchEnabled",[t]]):ca(e)&&e.value&&e.value?.setLightTouchEnabled(t)},setMinimumLogicalFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMinimumLogicalFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumLogicalFontSize(t)},setDefaultFixedFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultFixedFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFixedFontSize(t)},setBlockNetworkImage:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockNetworkImage",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkImage(t)},setAllowUniversalAccessFromFileURLs:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowUniversalAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowUniversalAccessFromFileURLs(t)},setAllowFileAccessFromFileURLs:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowFileAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccessFromFileURLs(t)},setDatabasePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setDatabasePath(t)},setGeolocationDatabasePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGeolocationDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setGeolocationDatabasePath(t)},setUserAgentString:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setUserAgentString",[t]]):ca(e)&&e.value&&e.value?.setUserAgentString(t)},setMixedContentMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMixedContentMode",[t]]):ca(e)&&e.value&&e.value?.setMixedContentMode(t)},setOffscreenPreRaster:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setOffscreenPreRaster",[t]]):ca(e)&&e.value&&e.value?.setOffscreenPreRaster(t)},setSafeBrowsingEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSafeBrowsingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSafeBrowsingEnabled(t)},setForceDark:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setForceDark",[t]]):ca(e)&&e.value&&e.value?.setForceDark(t)},setDisabledActionModeMenuItems:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDisabledActionModeMenuItems",[t]]):ca(e)&&e.value&&e.value?.setDisabledActionModeMenuItems(t)},initJavaScriptInterface:function(e){Cl(e)?L.callNative(Rl,Al,[e,"initJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.initJavaScriptInterface()},removeJavaScriptInterface:function(e){Cl(e)?L.callNative(Rl,Al,[e,"removeJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.removeJavaScriptInterface()},initWebViewFocus:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"initWebViewFocus",[t,a,n]]):ca(e)&&e.value&&e.value?.initWebViewFocus(t,a,n)}}}(e),d=function(e){return{...e,reload:function(e){Cl(e)?L.callNative(Rl,Al,[e,"reload",[]]):ca(e)&&e.value&&e.value?.reload()},clearCache:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"clearCache",[t]]):ca(e)&&e.value&&e.value?.clearCache(t)},getUrl:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getUrl():Promise.reject()},getOriginalUrl:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getOriginalUrl",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getOriginalUrl():Promise.reject()},setLayerType:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLayerType",[t]]):ca(e)&&e.value&&e.value?.setLayerType(t)},setIgnoreCA:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIgnoreCA",[t]]):ca(e)&&e.value&&e.value?.setIgnoreCA(t)},setIgnoreAllKeyEvent:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIgnoreAllKeyEvent",[t]]):ca(e)&&e.value&&e.value?.setIgnoreAllKeyEvent(t)},getBackForwardList:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getBackForwardList():Promise.reject()},getCurrentIndexWithBackForwardList:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getCurrentIndexWithBackForwardList",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getCurrentIndexWithBackForwardList():Promise.reject()},getScreenStatus:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getScreenStatus",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.getScreenStatus():Promise.reject()},autoClickPosition:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"autoClickPosition",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPosition(t,a)},disableImageDisplay:function(e){Cl(e)?L.callNative(Rl,Al,[e,"disableImageDisplay",[]]):ca(e)&&e.value&&e.value?.disableImageDisplay()},enableImageDisplay:function(e){Cl(e)?L.callNative(Rl,Al,[e,"enableImageDisplay",[]]):ca(e)&&e.value&&e.value?.enableImageDisplay()},clearView:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearView",[]]):ca(e)&&e.value&&e.value?.clearView()},stopLoading:function(e){Cl(e)?L.callNative(Rl,Al,[e,"stopLoading",[]]):ca(e)&&e.value&&e.value?.stopLoading()},setListenEvents:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setListenEvents",[t]]):ca(e)&&e.value&&e.value?.setListenEvents(t)},sendKeyCodeEvent:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"sendKeyCodeEvent",[t,a]]):ca(e)&&e.value&&e.value?.sendKeyCodeEvent(t,a)},autoClickPositionWithDuration:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"autoClickPositionWithDuration",[t,a]]):ca(e)&&e.value&&e.value?.autoClickPositionWithDuration(t,a,n)},initWebView:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"initWebView",[t]]):ca(e)&&e.value&&e.value?.initWebView(t)},loadUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"loadUrl",[t]]):ca(e)&&e.value&&e.value?.loadUrl(t)},evaluateJavascript:function(e,t){return Cl(e)?new Promise((a,n)=>{L.callNative(Rl,Ll,[e,"evaluateJavascript",[t]],e=>{a(e)})}):ca(e)&&e.value?e.value.evaluateJavascript(t):Promise.reject()},setSniffingEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSniffingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSniffingEnabled(t)},setSniffingRule:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSniffingRule",[t]]):ca(e)&&e.value&&e.value?.setSniffingRule(t)},resetSniffingRule:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetSniffingRule",[]]):ca(e)&&e.value&&e.value?.resetSniffingRule()},setInterceptEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInterceptEnabled",[t]]):ca(e)&&e.value&&e.value?.setInterceptEnabled(t)},setInterceptRule:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInterceptRule",[t]]):ca(e)&&e.value&&e.value?.setInterceptRule(t)},resetInterceptRule:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetInterceptRule",[]]):ca(e)&&e.value&&e.value?.resetInterceptRule()},shouldOverrideUrlLoading:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"shouldOverrideUrlLoading",[t]]):ca(e)&&e.value&&e.value?.shouldOverrideUrlLoading(t)},canGoBack:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"canGoBack",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoBack():Promise.reject()},goBack:function(e){Cl(e)?L.callNative(Rl,Al,[e,"goBack",[]]):ca(e)&&e.value&&e.value?.goBack()},canGoForward:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"canGoForward",[]],e=>{t(e)})}):ca(e)&&e.value?e.value.canGoForward():Promise.reject()},goForward:function(e){Cl(e)?L.callNative(Rl,Al,[e,"goForward",[]]):ca(e)&&e.value&&e.value?.goForward()},canGoBackOrForward:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"canGoBackOrForward",[t]]):ca(e)&&e.value&&e.value?.canGoBackOrForward(t)},goBackOrForward:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"goBackOrForward",[t]]):ca(e)&&e.value&&e.value?.goBackOrForward(t)},onResume:function(e){Cl(e)?L.callNative(Rl,Al,[e,"onResume",[]]):ca(e)&&e.value&&e.value?.onResume()},onPause:function(e){Cl(e)?L.callNative(Rl,Al,[e,"onPause",[]]):ca(e)&&e.value&&e.value?.onPause()},pauseTimers:function(e){Cl(e)?L.callNative(Rl,Al,[e,"pauseTimers",[]]):ca(e)&&e.value&&e.value?.pauseTimers()},resumeTimers:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resumeTimers",[]]):ca(e)&&e.value&&e.value?.resumeTimers()},destroy:function(e){Cl(e)?L.callNative(Rl,Al,[e,"destroy",[]]):ca(e)&&e.value&&e.value?.destroy()},setJavaScriptEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setJavaScriptEnabled",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptEnabled(t)},setPluginState:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setPluginState",[t]]):ca(e)&&e.value&&e.value?.setPluginState(t)},setJavaScriptCanOpenWindowsAutomatically:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setJavaScriptCanOpenWindowsAutomatically",[t]]):ca(e)&&e.value&&e.value?.setJavaScriptCanOpenWindowsAutomatically(t)},setUseWideViewPort:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setUseWideViewPort",[t]]):ca(e)&&e.value&&e.value?.setUseWideViewPort(t)},setLoadWithOverviewMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLoadWithOverviewMode",[t]]):ca(e)&&e.value&&e.value?.setLoadWithOverviewMode(t)},setSupportZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSupportZoom",[t]]):ca(e)&&e.value&&e.value?.setSupportZoom(t)},setBuiltInZoomControls:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBuiltInZoomControls",[t]]):ca(e)&&e.value&&e.value?.setBuiltInZoomControls(t)},setDisplayZoomControls:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDisplayZoomControls",[t]]):ca(e)&&e.value&&e.value?.setDisplayZoomControls(t)},setAllowFileAccess:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowFileAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccess(t)},setDomStorageEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDomStorageEnabled",[t]]):ca(e)&&e.value&&e.value?.setDomStorageEnabled(t)},setDatabaseEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDatabaseEnabled",[t]]):ca(e)&&e.value&&e.value?.setDatabaseEnabled(t)},setAppCacheEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCacheEnabled",[t]]):ca(e)&&e.value&&e.value?.setAppCacheEnabled(t)},setAppCachePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCachePath",[t]]):ca(e)&&e.value&&e.value?.setAppCachePath(t)},setMediaPlaybackRequiresUserGesture:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMediaPlaybackRequiresUserGesture",[t]]):ca(e)&&e.value&&e.value?.setMediaPlaybackRequiresUserGesture(t)},setStandardFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStandardFontFamily",[t]]):ca(e)&&e.value&&e.value?.setStandardFontFamily(t)},setFixedFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFixedFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFixedFontFamily(t)},setSansSerifFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSansSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSansSerifFontFamily(t)},setSerifFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSerifFontFamily",[t]]):ca(e)&&e.value&&e.value?.setSerifFontFamily(t)},setCursiveFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setCursiveFontFamily",[t]]):ca(e)&&e.value&&e.value?.setCursiveFontFamily(t)},setFantasyFontFamily:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFantasyFontFamily",[t]]):ca(e)&&e.value&&e.value?.setFantasyFontFamily(t)},setTextZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextZoom",[t]]):ca(e)&&e.value&&e.value?.setTextZoom(t)},setInitialScale:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInitialScale",[t]]):ca(e)&&e.value&&e.value?.setInitialScale(t)},setMinimumFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMinimumFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumFontSize(t)},setDefaultFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFontSize(t)},setLayoutAlgorithm:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLayoutAlgorithm",[t]]):ca(e)&&e.value&&e.value?.setLayoutAlgorithm(t)},setLoadsImagesAutomatically:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLoadsImagesAutomatically",[t]]):ca(e)&&e.value&&e.value?.setLoadsImagesAutomatically(t)},setDefaultTextEncodingName:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultTextEncodingName",[t]]):ca(e)&&e.value&&e.value?.setDefaultTextEncodingName(t)},setNeedInitialFocus:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setNeedInitialFocus",[t]]):ca(e)&&e.value&&e.value?.setNeedInitialFocus(t)},setGeolocationEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGeolocationEnabled",[t]]):ca(e)&&e.value&&e.value?.setGeolocationEnabled(t)},setBlockNetworkLoads:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockNetworkLoads",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkLoads(t)},setSupportMultipleWindows:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSupportMultipleWindows",[t]]):ca(e)&&e.value&&e.value?.setSupportMultipleWindows(t)},setAppCacheMaxSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAppCacheMaxSize",[t]]):ca(e)&&e.value&&e.value?.setAppCacheMaxSize(t)},setRenderPriority:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRenderPriority",[t]]):ca(e)&&e.value&&e.value?.setRenderPriority(t)},setCacheMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setCacheMode",[t]]):ca(e)&&e.value&&e.value?.setCacheMode(t)},setAllowContentAccess:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowContentAccess",[t]]):ca(e)&&e.value&&e.value?.setAllowContentAccess(t)},setEnableSmoothTransition:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setEnableSmoothTransition",[t]]):ca(e)&&e.value&&e.value?.setEnableSmoothTransition(t)},setSaveFormData:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSaveFormData",[t]]):ca(e)&&e.value&&e.value?.setSaveFormData(t)},setSavePassword:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSavePassword",[t]]):ca(e)&&e.value&&e.value?.setSavePassword(t)},setTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextSize",[t]]):ca(e)&&e.value&&e.value?.setTextSize(t)},setDefaultZoom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultZoom",[t]]):ca(e)&&e.value&&e.value?.setDefaultZoom(t)},setLightTouchEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLightTouchEnabled",[t]]):ca(e)&&e.value&&e.value?.setLightTouchEnabled(t)},setMinimumLogicalFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMinimumLogicalFontSize",[t]]):ca(e)&&e.value&&e.value?.setMinimumLogicalFontSize(t)},setDefaultFixedFontSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDefaultFixedFontSize",[t]]):ca(e)&&e.value&&e.value?.setDefaultFixedFontSize(t)},setBlockNetworkImage:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setBlockNetworkImage",[t]]):ca(e)&&e.value&&e.value?.setBlockNetworkImage(t)},setAllowUniversalAccessFromFileURLs:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowUniversalAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowUniversalAccessFromFileURLs(t)},setAllowFileAccessFromFileURLs:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setAllowFileAccessFromFileURLs",[t]]):ca(e)&&e.value&&e.value?.setAllowFileAccessFromFileURLs(t)},setDatabasePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setDatabasePath(t)},setGeolocationDatabasePath:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGeolocationDatabasePath",[t]]):ca(e)&&e.value&&e.value?.setGeolocationDatabasePath(t)},setUserAgentString:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setUserAgentString",[t]]):ca(e)&&e.value&&e.value?.setUserAgentString(t)},setMixedContentMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMixedContentMode",[t]]):ca(e)&&e.value&&e.value?.setMixedContentMode(t)},setOffscreenPreRaster:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setOffscreenPreRaster",[t]]):ca(e)&&e.value&&e.value?.setOffscreenPreRaster(t)},setSafeBrowsingEnabled:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSafeBrowsingEnabled",[t]]):ca(e)&&e.value&&e.value?.setSafeBrowsingEnabled(t)},setForceDark:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setForceDark",[t]]):ca(e)&&e.value&&e.value?.setForceDark(t)},setDisabledActionModeMenuItems:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setDisabledActionModeMenuItems",[t]]):ca(e)&&e.value&&e.value?.setDisabledActionModeMenuItems(t)},initJavaScriptInterface:function(e){Cl(e)?L.callNative(Rl,Al,[e,"initJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.initJavaScriptInterface()},removeJavaScriptInterface:function(e){Cl(e)?L.callNative(Rl,Al,[e,"removeJavaScriptInterface",[]]):ca(e)&&e.value&&e.value?.removeJavaScriptInterface()},initWebViewFocus:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"initWebViewFocus",[t,a,n]]):ca(e)&&e.value&&e.value?.initWebViewFocus(t,a,n)}}}(e),f=function(e){return{...e,scrollToIndex:function(e,t,a,n,o,i){Cl(e)?L.callNative(Rl,Al,[e,"scrollToIndex",[t,a,n,o,i]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToIndex",[t,a,n,o,i])},setInitPosition:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setInitPosition",[t]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setInitPosition",[t])},clearInitPosition:function(e){Cl(e)?L.callNative(Rl,Al,[e,"clearInitPosition",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"clearInitPosition",[])},scrollToContentOffset:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"scrollToContentOffset",[t,a,n,o]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToContentOffset",[t,a,n,o])},scrollToTop:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scrollToTop",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"scrollToTop",[])},setSelectChildPosition:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setSelectChildPosition",[t,a]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setSelectChildPosition",[t,a])},setTargetFocusChildPosition:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTargetFocusChildPosition",[t]]):ca(e)&&e.value&&L.callUIFunction(e.value,"setTargetFocusChildPosition",[t])},refreshListData:function(e){Cl(e)?L.callNative(Rl,Al,[e,"refreshListData",[]]):ca(e)&&e.value&&L.callUIFunction(e.value,"refreshListData",[])},getScrollOffset:function(e){return Cl(e)?new Promise((t,a)=>{L.callNative(Rl,Ll,[e,"getScrollOffset",[]],e=>{t(e)})}):ca(e)&&e.value?new Promise((t,a)=>{L.callUIFunction(e.value,"getScrollOffset",[],e=>{t(e)})}):Promise.reject()}}}(t),v=function(e){return{...e,scrollTo:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"scrollTo",[t,a]]):ca(e)&&e.value&&e.value?.scrollTo(t,a)},scrollToWithOptions:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"scrollToWithOptions",[t,a,n]]):ca(e)&&e.value&&e.value?.scrollToWithOptions(t,a,n)}}}(e),g=function(e){return{...e,setText:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setText",[t]]):ca(e)&&e.value?.setText(t)},setTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextSize",[t]]):ca(e)&&e.value?.setTextSize(t)},setTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTextColor",[t]]):ca(e)&&e.value?.setTextColor(t)},textSpan:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"textSpan",[t]]):ca(e)&&e.value?.textSpan(t)}}}(e),p=function(e){return{...e,setChildSID:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setChildSID",[t]]):ca(e)&&e.value&&e.value?.setChildSID(t)}}}(e),m=function(e){return{...e,setPivotX:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setPivotX",[t]]):ca(e)&&e.value?.setPivotX(t)},setPivotY:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setPivotY",[t]]):ca(e)&&e.value?.setPivotY(t)},resetPivot:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetPivot",[]]):ca(e)&&e.value?.resetPivot()},reset:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetAnimators",[]]):ca(e)&&e.value?.resetAnimators()},animatorSet:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"animatorSet",[t,a,n]]):ca(e)&&e.value?.animatorSet(t,a,n)},start:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"startAnimator",[t]]):ca(e)&&e.value?.startAnimator(t)},startDelay:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"startAnimatorDelay",[t,a]]):ca(e)&&e.value?.startAnimatorDelay(t,a)},pause:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"pauseAnimator",[t]]):ca(e)&&e.value?.pauseAnimator(t)},resume:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"resumeAnimator",[t]]):ca(e)&&e.value?.resumeAnimator(t)},cancel:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"cancelAnimator",[t]]):ca(e)&&e.value?.cancelAnimator(t)},reverse:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"reverseAnimator",[t]]):ca(e)&&e.value?.reverseAnimator(t)},play:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"play",[t,a]]):ca(e)&&e.value?.play(t,a)},playWith:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"playWith",[t,a]]):ca(e)&&e.value?.playWith(t,a)},playBefore:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"playBefore",[t,a]]):ca(e)&&e.value?.playBefore(t,a)},playAfter:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"playAfter",[t,a]]):ca(e)&&e.value?.playAfter(t,a)},playAfterDelay:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"playAfterDelay",[t,a]]):ca(e)&&e.value?.playAfterDelay(t,a)},playSequentially:function(e,t,a){if(Cl(e)){const n=`playSequentially${a.length}`;L.callNative(Rl,Al,[e,n,[t,...a]])}else ca(e)&&e.value?.playSequentially(t,a)},playTogether:function(e,t,a){if(Cl(e)){const n=`playTogether${a.length}`;L.callNative(Rl,Al,[e,n,[t,...a]])}else ca(e)&&e.value?.playTogether(t,a)},animator:function(e,t,a,n,o,i,l,c,s,r,u){if(Cl(e)){const d=`objectAnimator${0==o.length?"":o.length}`;L.callNative(Rl,Al,[e,d,[t,a,n,...o,i,l,c,s,r,u]])}else ca(e)&&e.value?.animator(t,a,n,o,i,l,c,s,r,u)}}}(e),I=function(e){return{...e,setPackageName:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setPackageName",[t]]):ca(e)&&e.value?.setPackageName(t)},setRoundingRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRoundingRadius",[t]]):ca(e)&&e.value?.setRoundingRadius(t)}}}(e),h=function(e){return{...e,init:function(e,t){e.value?.init(t)},scrollToIndex:function(e,t,a,n){e.value?.scrollToIndex(t,a,n)},setItemFocused:function(e,t){e.value?.setItemFocused(t)},scrollToFocused:function(e,t){e.value?.scrollToFocused(t)},setItemSelected:function(e,t,a){e.value?.setItemSelected(t,a)},scrollToSelected:function(e,t,a){e.value?.scrollToSelected(t,a)},updateItem:function(e,t,a){e.value?.updateItem(t,a)}}}(e),T=function(e){return{...e,init:function(e,t){e.value?.init(t)},getItem:function(e,t){return e.value?.getItem(t)},expandItem:function(e,t){e.value?.expandItem(t)},collapse:function(e){e.value?.collapse()},expand:function(e){e.value?.expand()}}}(e),_=function(e){return{...e,updateItem:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"updateItem",[t,a]]):ca(e)&&e.value?.updateItem(t,a)},dispatchItemFunction:function(e,t,a,n,o){Cl(e)?L.callNative(Rl,Al,[e,"dispatchItemFunction",[t,a,n,o]]):ca(e)&&e.value?.dispatchItemFunction(t,a,n,o)},updateItemProps:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"updateItemProps",[t,a,n]]):ca(e)&&e.value?.updateItemProps(t,a,n)},batch:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"batch",[t]]):ca(e)&&e.value?.batch(t)}}}(e),F=function(e){return{...e,loadRaw:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_rawRes",[t]]):ca(e)&&e.value?.loadRaw(t)},loadFile:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_localRes",[t]]):ca(e)&&e.value?.loadFile(t)},loadZipFile:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"lottie_zipPath",[t,a]]):ca(e)&&e.value?.loadZipFile(t,a)},loadJsonFile:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_localRes",[t]]):ca(e)&&e.value?.loadJsonFile(t)},loadUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_url",[t]]):ca(e)&&e.value?.loadUrl(t)},loadCacheUrl:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"lottie_cache_url",[t,a]]):ca(e)&&e.value?.loadCacheUrl(t,a)},setFallbackResource:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_fallbackRes",[t]]):ca(e)&&e.value?.setFallbackResource(t)},setAutoPlay:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_autoPlay",[t]]):ca(e)&&e.value?.setAutoPlay(t)},setLottieLoop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_loop",[t]]):ca(e)&&e.value?.setLottieLoop(t)},setRepeatMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_repeatMode",[t]]):ca(e)&&e.value?.setRepeatMode(t)},setRepeatCount:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_repeatCount",[t]]):ca(e)&&e.value?.setRepeatCount(t)},setSpeed:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_speed",[t]]):ca(e)&&e.value?.setSpeed(t)},setClipToCompositionBounds:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_clipToCompositionBounds",[t]]):ca(e)&&e.value?.setClipToCompositionBounds(t)},setDefaultFontFileExtension:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_defaultFontFileExtension",[t]]):ca(e)&&e.value?.setDefaultFontFileExtension(t)},setImageAssetsFolder:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_imageAssetsFolder",[t]]):ca(e)&&e.value?.setImageAssetsFolder(t)},setProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_progress",[t]]):ca(e)&&e.value?.setProgress(t)},enableMergePathsForKitKatAndAbove:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_enableMergePathsForKitKatAndAbove",[t]]):ca(e)&&e.value?.enableMergePathsForKitKatAndAbove(t)},setColorFilter:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_colorFilter",[t]]):ca(e)&&e.value?.setColorFilter(t)},setRenderMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_renderMode",[t]]):ca(e)&&e.value?.setRenderMode(t)},setAsyncUpdate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_asyncUpdates",[t]]):ca(e)&&e.value?.setAsyncUpdate(t)},playAnimation:function(e){Cl(e)?L.callNative(Rl,Al,[e,"playAnimation",[]]):ca(e)&&e.value?.playAnimation()},setIgnoreDisabledSystemAnimations:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_ignoreDisabledSystemAnimations",[t]]):ca(e)&&e.value?.setIgnoreDisabledSystemAnimations(t)},setUseCompositionFrameRate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"lottie_useCompositionFrameRate",[t]]):ca(e)&&e.value?.setUseCompositionFrameRate(t)},resumeAnimation:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resumeAnimation",[]]):ca(e)&&e.value?.resumeAnimation()},pauseAnimation:function(e){Cl(e)?L.callNative(Rl,Al,[e,"pauseAnimation",[]]):ca(e)&&e.value?.pauseAnimation()},cancelAnimation:function(e){Cl(e)?L.callNative(Rl,Al,[e,"cancelAnimation",[]]):ca(e)&&e.value?.cancelAnimation()},cacheComposition:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"cacheComposition",[t]]):ca(e)&&e.value?.cacheComposition(t)},removeAllListener:function(e){Cl(e)?L.callNative(Rl,Al,[e,"removeAllListener",[]]):ca(e)&&e.value?.removeAllListener()}}}(e),S=function(e){return{...e,init:function(e,t){e.value?.init(t)},scrollToPosition:function(e,t){e.value?.scrollToPosition(t)},scrollToTop:function(e){e.value?.scrollToTop()}}}(e),b=function(e){return{...e,dispatchFunction:function(e,t,a){return Cl(e)?new Promise(n=>{L.callNative(Rl,Al,[e,t,a],e=>{n(e)})}):ca(e)&&e&&e.value?e.value.dispatchFunction(t,a):Promise.reject()}}}(e),y=function(e){return{...e,invalidateProgressBar:function(e){Cl(e)?L.callNative(Rl,Al,[e,"invalidateSeekBar",[]]):ca(e)&&e.value?.invalidateProgressBar()},setFocusable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFocusable",[t]]):ca(e)&&e.value?.setFocusable(t)},setClickable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setClickable",[t]]):ca(e)&&e.value?.setClickable(t)},setVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setVisible",[t]]):ca(e)&&e.value?.setVisible(t)},setLeftSeekBarVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftSeekBarVisible",[t]]):ca(e)&&e.value?.setLeftSeekBarVisible(t)},setRightSeekBarVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightSeekBarVisible",[t]]):ca(e)&&e.value?.setRightSeekBarVisible(t)},setSeekBarMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSeekBarMode",[t]]):ca(e)&&e.value?.setSeekBarMode(t)},setProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgress",[t]]):ca(e)&&e.value?.setProgress(t)},setSecondProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSecondProgress",[t]]):ca(e)&&e.value?.setSecondProgress(t)},show:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"show",[t]]):ca(e)&&e.value?.show(t)},setMaxProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMaxProgress",[t]]):ca(e)&&e.value?.setMaxProgress(t)},setRangeProgress:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setRangeProgress",[t,a]]):ca(e)&&e.value?.setRangeProgress(t,a)},getProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getProgress",[]]):ca(e)&&e.value?.getProgress()},getLeftProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getLeftProgress",[]]):ca(e)&&e.value?.getLeftProgress()},getRightProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getRightProgress",[]]):ca(e)&&e.value?.getRightProgress()},setRange:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setRange",[t,a,n]]):ca(e)&&e.value?.setRange(t,a,n)},setGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGravity",[t]]):ca(e)&&e.value?.setGravity(t)},setProgressWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressWidth",[t]]):ca(e)&&e.value?.setProgressWidth(t)},setProgressHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressHeight",[t]]):ca(e)&&e.value?.setProgressHeight(t)},setProgressRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressRadius",[t]]):ca(e)&&e.value?.setProgressRadius(t)},setProgressColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressColor",[t]]):ca(e)&&e.value?.setProgressColor(t)},setProgressDefaultColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultColor",[t]]):ca(e)&&e.value?.setProgressDefaultColor(t)},setProgressDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDrawable",[t]]):ca(e)&&e.value?.setProgressDrawable(t)},setProgressDefaultDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultDrawable",[t]]):ca(e)&&e.value?.setProgressDefaultDrawable(t)},setProgressUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressUrl",[t]]):ca(e)&&e.value?.setProgressUrl(t)},setProgressDefaultUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultUrl",[t]]):ca(e)&&e.value?.setProgressDefaultUrl(t)},showIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showIndicator",[t]]):ca(e)&&e.value?.showIndicator(t)},showLeftIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showLeftIndicator",[t]]):ca(e)&&e.value?.showLeftIndicator(t)},showRightIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showRightIndicator",[t]]):ca(e)&&e.value?.showRightIndicator(t)},setIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorShowMode",[t]]):ca(e)&&e.value?.setIndicatorShowMode(t)},setLeftIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorShowMode",[t]]):ca(e)&&e.value?.setLeftIndicatorShowMode(t)},setRightIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorShowMode",[t]]):ca(e)&&e.value?.setRightIndicatorShowMode(t)},setIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorWidth",[t]]):ca(e)&&e.value?.setIndicatorWidth(t)},setLeftIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorWidth",[t]]):ca(e)&&e.value?.setLeftIndicatorWidth(t)},setRightIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorWidth",[t]]):ca(e)&&e.value?.setRightIndicatorWidth(t)},setIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorHeight",[t]]):ca(e)&&e.value?.setIndicatorHeight(t)},setLeftIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorHeight",[t]]):ca(e)&&e.value?.setLeftIndicatorHeight(t)},setRightIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorHeight",[t]]):ca(e)&&e.value?.setRightIndicatorHeight(t)},setIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setIndicatorTextDecimalFormat(t)},setLeftIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextDecimalFormat(t)},setRightIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextDecimalFormat(t)},setIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setIndicatorTextStringFormat(t)},setLeftIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextStringFormat(t)},setRightIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextStringFormat(t)},setIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorMargin",[t]]):ca(e)&&e.value?.setIndicatorMargin(t)},setLeftIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorMargin",[t]]):ca(e)&&e.value?.setLeftIndicatorMargin(t)},setRightIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorMargin",[t]]):ca(e)&&e.value?.setRightIndicatorMargin(t)},setIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setIndicatorPaddingBottom(t)},setLeftIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingBottom(t)},setRightIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingBottom(t)},setIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setIndicatorPaddingTop(t)},setLeftIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingTop(t)},setRightIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingTop(t)},setIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setIndicatorPaddingLeft(t)},setLeftIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingLeft(t)},setRightIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingLeft(t)},setIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setIndicatorPaddingRight(t)},setLeftIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingRight(t)},setRightIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingRight(t)},setIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setIndicatorBackgroundColor(t)},setLeftIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setRightIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorRadius",[t]]):ca(e)&&e.value?.setIndicatorRadius(t)},setLeftIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorRadius",[t]]):ca(e)&&e.value?.setLeftIndicatorRadius(t)},setRightIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorRadius",[t]]):ca(e)&&e.value?.setRightIndicatorRadius(t)},setIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextSize",[t]]):ca(e)&&e.value?.setIndicatorTextSize(t)},setLeftIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextSize",[t]]):ca(e)&&e.value?.setLeftIndicatorTextSize(t)},setRightIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextSize",[t]]):ca(e)&&e.value?.setRightIndicatorTextSize(t)},setIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextColor",[t]]):ca(e)&&e.value?.setIndicatorTextColor(t)},setLeftIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextColor",[t]]):ca(e)&&e.value?.setLeftIndicatorTextColor(t)},setRightIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextColor",[t]]):ca(e)&&e.value?.setRightIndicatorTextColor(t)},setIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorArrowSize",[t]]):ca(e)&&e.value?.setIndicatorArrowSize(t)},setLeftIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorArrowSize",[t]]):ca(e)&&e.value?.setLeftIndicatorArrowSize(t)},setRightIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorArrowSize",[t]]):ca(e)&&e.value?.setRightIndicatorArrowSize(t)},setIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorDrawable",[t]]):ca(e)&&e.value?.setIndicatorDrawable(t)},setLeftIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorDrawable",[t]]):ca(e)&&e.value?.setLeftIndicatorDrawable(t)},setRightIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorDrawable",[t]]):ca(e)&&e.value?.setRightIndicatorDrawable(t)},setIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorUrl",[t]]):ca(e)&&e.value?.setIndicatorUrl(t)},setLeftIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorUrl",[t]]):ca(e)&&e.value?.setLeftIndicatorUrl(t)},setRightIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorUrl",[t]]):ca(e)&&e.value?.setRightIndicatorUrl(t)},setThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbWidth",[t]]):ca(e)&&e.value?.setThumbWidth(t)},setLeftThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbWidth",[t]]):ca(e)&&e.value?.setLeftThumbWidth(t)},setRightThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbWidth",[t]]):ca(e)&&e.value?.setRightThumbWidth(t)},setThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbHeight",[t]]):ca(e)&&e.value?.setThumbHeight(t)},setLeftThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbHeight",[t]]):ca(e)&&e.value?.setLeftThumbHeight(t)},setRightThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbHeight",[t]]):ca(e)&&e.value?.setRightThumbHeight(t)},scaleThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleThumb",[]]):ca(e)&&e.value?.scaleThumb()},scaleLeftThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleLeftThumb",[]]):ca(e)&&e.value?.scaleLeftThumb()},scaleRightThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleRightThumb",[]]):ca(e)&&e.value?.scaleRightThumb()},resetThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetThumb",[]]):ca(e)&&e.value?.resetThumb()},resetLeftThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetLeftThumb",[]]):ca(e)&&e.value?.resetLeftThumb()},resetRightThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetRightThumb",[]]):ca(e)&&e.value?.resetRightThumb()},setThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbScaleRatio",[t]]):ca(e)&&e.value?.setThumbScaleRatio(t)},setLeftThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbScaleRatio",[t]]):ca(e)&&e.value?.setLeftThumbScaleRatio(t)},setRightThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbScaleRatio",[t]]):ca(e)&&e.value?.setRightThumbScaleRatio(t)},setThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbActivate",[t]]):ca(e)&&e.value?.setThumbActivate(t)},setLeftThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbActivate",[t]]):ca(e)&&e.value?.setLeftThumbActivate(t)},setRightThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbActivate",[t]]):ca(e)&&e.value?.setRightThumbActivate(t)},setThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbDrawable",[t]]):ca(e)&&e.value?.setThumbDrawable(t)},setLeftThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbDrawable",[t]]):ca(e)&&e.value?.setLeftThumbDrawable(t)},setRightThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbDrawable",[t]]):ca(e)&&e.value?.setRightThumbDrawable(t)},setThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbUrl",[t]]):ca(e)&&e.value?.setThumbUrl(t)},setLeftThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbUrl",[t]]):ca(e)&&e.value?.setLeftThumbUrl(t)},setRightThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbUrl",[t]]):ca(e)&&e.value?.setRightThumbUrl(t)},setThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setThumbInactivatedDrawable(t)},setLeftThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedDrawable(t)},setRightThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setRightThumbInactivatedDrawable(t)},setThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setThumbInactivatedUrl(t)},setLeftThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedUrl(t)},setRightThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setRightThumbInactivatedUrl(t)},setTickMarkMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkMode",[t]]):ca(e)&&e.value?.setTickMarkMode(t)},setTickMarkGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkGravity",[t]]):ca(e)&&e.value?.setTickMarkGravity(t)},setTickMarkLayoutGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkLayoutGravity",[t]]):ca(e)&&e.value?.setTickMarkLayoutGravity(t)},setTickMarkTextArray:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextArray",[t]]):ca(e)&&e.value?.setTickMarkTextArray(t)},setTickMarkTextMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextMargin",[t]]):ca(e)&&e.value?.setTickMarkTextMargin(t)},setTickMarkTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextSize",[t]]):ca(e)&&e.value?.setTickMarkTextSize(t)},setTickMarkTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextColor",[t]]):ca(e)&&e.value?.setTickMarkTextColor(t)},setTickMarkInRangeTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkInRangeTextColor",[t]]):ca(e)&&e.value?.setTickMarkInRangeTextColor(t)},setSteps:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSteps",[t]]):ca(e)&&e.value?.setSteps(t)},setStepsWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsWidth",[t]]):ca(e)&&e.value?.setStepsWidth(t)},setStepsHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsHeight",[t]]):ca(e)&&e.value?.setStepsHeight(t)},setStepsRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsRadius",[t]]):ca(e)&&e.value?.setStepsRadius(t)},setStepsColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsColor",[t]]):ca(e)&&e.value?.setStepsColor(t)},setStepsAutoBonding:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsAutoBonding",[t]]):ca(e)&&e.value?.setStepsAutoBonding(t)},setStepsDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsDrawable",[t]]):ca(e)&&e.value?.setStepsDrawable(t)},setStepsUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsUrl",[t]]):ca(e)&&e.value?.setStepsUrl(t)}}}(e),E=function(e){return{...e,resetSeekbar:function(e){e.value?.resetSeekbar()},startSeek:function(e,t){e.value?.startSeek(t)},stopSeek:function(e){e.value?.stopSeek()},invalidateSeekBar:function(e){Cl(e)?L.callNative(Rl,Al,[e,"invalidateSeekBar",[]]):ca(e)&&e.value?.invalidateSeekBar()},setFocusable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setFocusable",[t]]):ca(e)&&e.value?.setFocusable(t)},setClickable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setClickable",[t]]):ca(e)&&e.value?.setClickable(t)},setVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setVisible",[t]]):ca(e)&&e.value?.setVisible(t)},setLeftSeekBarVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftSeekBarVisible",[t]]):ca(e)&&e.value?.setLeftSeekBarVisible(t)},setRightSeekBarVisible:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightSeekBarVisible",[t]]):ca(e)&&e.value?.setRightSeekBarVisible(t)},setSeekBarMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSeekBarMode",[t]]):ca(e)&&e.value?.setSeekBarMode(t)},setProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgress",[t]]):ca(e)&&e.value?.setProgress(t)},setSecondProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSecondProgress",[t]]):ca(e)&&e.value?.setSecondProgress(t)},show:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"show",[t]]):ca(e)&&e.value?.show(t)},setMaxProgress:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setMaxProgress",[t]]):ca(e)&&e.value?.setMaxProgress(t)},setRangeProgress:function(e,t,a){Cl(e)?L.callNative(Rl,Al,[e,"setRangeProgress",[t,a]]):ca(e)&&e.value?.setRangeProgress(t,a)},getProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getProgress",[]]):ca(e)&&e.value?.getProgress()},getLeftProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getLeftProgress",[]]):ca(e)&&e.value?.getLeftProgress()},getRightProgress:function(e){Cl(e)?L.callNative(Rl,Al,[e,"getRightProgress",[]]):ca(e)&&e.value?.getRightProgress()},setRange:function(e,t,a,n){Cl(e)?L.callNative(Rl,Al,[e,"setRange",[t,a,n]]):ca(e)&&e.value?.setRange(t,a,n)},setGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setGravity",[t]]):ca(e)&&e.value?.setGravity(t)},setProgressWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressWidth",[t]]):ca(e)&&e.value?.setProgressWidth(t)},setProgressHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressHeight",[t]]):ca(e)&&e.value?.setProgressHeight(t)},setProgressRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressRadius",[t]]):ca(e)&&e.value?.setProgressRadius(t)},setProgressColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressColor",[t]]):ca(e)&&e.value?.setProgressColor(t)},setProgressDefaultColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultColor",[t]]):ca(e)&&e.value?.setProgressDefaultColor(t)},setProgressDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDrawable",[t]]):ca(e)&&e.value?.setProgressDrawable(t)},setProgressDefaultDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultDrawable",[t]]):ca(e)&&e.value?.setProgressDefaultDrawable(t)},setProgressUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressUrl",[t]]):ca(e)&&e.value?.setProgressUrl(t)},setProgressDefaultUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setProgressDefaultUrl",[t]]):ca(e)&&e.value?.setProgressDefaultUrl(t)},showIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showIndicator",[t]]):ca(e)&&e.value?.showIndicator(t)},showLeftIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showLeftIndicator",[t]]):ca(e)&&e.value?.showLeftIndicator(t)},showRightIndicator:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"showRightIndicator",[t]]):ca(e)&&e.value?.showRightIndicator(t)},setIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorShowMode",[t]]):ca(e)&&e.value?.setIndicatorShowMode(t)},setLeftIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorShowMode",[t]]):ca(e)&&e.value?.setLeftIndicatorShowMode(t)},setRightIndicatorShowMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorShowMode",[t]]):ca(e)&&e.value?.setRightIndicatorShowMode(t)},setIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorWidth",[t]]):ca(e)&&e.value?.setIndicatorWidth(t)},setLeftIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorWidth",[t]]):ca(e)&&e.value?.setLeftIndicatorWidth(t)},setRightIndicatorWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorWidth",[t]]):ca(e)&&e.value?.setRightIndicatorWidth(t)},setIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorHeight",[t]]):ca(e)&&e.value?.setIndicatorHeight(t)},setLeftIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorHeight",[t]]):ca(e)&&e.value?.setLeftIndicatorHeight(t)},setRightIndicatorHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorHeight",[t]]):ca(e)&&e.value?.setRightIndicatorHeight(t)},setIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setIndicatorTextDecimalFormat(t)},setLeftIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextDecimalFormat(t)},setRightIndicatorTextDecimalFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextDecimalFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextDecimalFormat(t)},setIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setIndicatorTextStringFormat(t)},setLeftIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setLeftIndicatorTextStringFormat(t)},setRightIndicatorTextStringFormat:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextStringFormat",[t]]):ca(e)&&e.value?.setRightIndicatorTextStringFormat(t)},setIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorMargin",[t]]):ca(e)&&e.value?.setIndicatorMargin(t)},setLeftIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorMargin",[t]]):ca(e)&&e.value?.setLeftIndicatorMargin(t)},setRightIndicatorMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorMargin",[t]]):ca(e)&&e.value?.setRightIndicatorMargin(t)},setIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setIndicatorPaddingBottom(t)},setLeftIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingBottom(t)},setRightIndicatorPaddingBottom:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingBottom",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingBottom(t)},setIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setIndicatorPaddingTop(t)},setLeftIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingTop(t)},setRightIndicatorPaddingTop:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingTop",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingTop(t)},setIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setIndicatorPaddingLeft(t)},setLeftIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingLeft(t)},setRightIndicatorPaddingLeft:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingLeft",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingLeft(t)},setIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setIndicatorPaddingRight(t)},setLeftIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setLeftIndicatorPaddingRight(t)},setRightIndicatorPaddingRight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorPaddingRight",[t]]):ca(e)&&e.value?.setRightIndicatorPaddingRight(t)},setIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setIndicatorBackgroundColor(t)},setLeftIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setRightIndicatorBackgroundColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorBackgroundColor",[t]]):ca(e)&&e.value?.setLeftIndicatorBackgroundColor(t)},setIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorRadius",[t]]):ca(e)&&e.value?.setIndicatorRadius(t)},setLeftIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorRadius",[t]]):ca(e)&&e.value?.setLeftIndicatorRadius(t)},setRightIndicatorRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorRadius",[t]]):ca(e)&&e.value?.setRightIndicatorRadius(t)},setIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextSize",[t]]):ca(e)&&e.value?.setIndicatorTextSize(t)},setLeftIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextSize",[t]]):ca(e)&&e.value?.setLeftIndicatorTextSize(t)},setRightIndicatorTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextSize",[t]]):ca(e)&&e.value?.setRightIndicatorTextSize(t)},setIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorTextColor",[t]]):ca(e)&&e.value?.setIndicatorTextColor(t)},setLeftIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorTextColor",[t]]):ca(e)&&e.value?.setLeftIndicatorTextColor(t)},setRightIndicatorTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorTextColor",[t]]):ca(e)&&e.value?.setRightIndicatorTextColor(t)},setIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorArrowSize",[t]]):ca(e)&&e.value?.setIndicatorArrowSize(t)},setLeftIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorArrowSize",[t]]):ca(e)&&e.value?.setLeftIndicatorArrowSize(t)},setRightIndicatorArrowSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorArrowSize",[t]]):ca(e)&&e.value?.setRightIndicatorArrowSize(t)},setIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorDrawable",[t]]):ca(e)&&e.value?.setIndicatorDrawable(t)},setLeftIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorDrawable",[t]]):ca(e)&&e.value?.setLeftIndicatorDrawable(t)},setRightIndicatorDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorDrawable",[t]]):ca(e)&&e.value?.setRightIndicatorDrawable(t)},setIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setIndicatorUrl",[t]]):ca(e)&&e.value?.setIndicatorUrl(t)},setLeftIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftIndicatorUrl",[t]]):ca(e)&&e.value?.setLeftIndicatorUrl(t)},setRightIndicatorUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightIndicatorUrl",[t]]):ca(e)&&e.value?.setRightIndicatorUrl(t)},setThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbWidth",[t]]):ca(e)&&e.value?.setThumbWidth(t)},setLeftThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbWidth",[t]]):ca(e)&&e.value?.setLeftThumbWidth(t)},setRightThumbWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbWidth",[t]]):ca(e)&&e.value?.setRightThumbWidth(t)},setThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbHeight",[t]]):ca(e)&&e.value?.setThumbHeight(t)},setLeftThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbHeight",[t]]):ca(e)&&e.value?.setLeftThumbHeight(t)},setRightThumbHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbHeight",[t]]):ca(e)&&e.value?.setRightThumbHeight(t)},scaleThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleThumb",[]]):ca(e)&&e.value?.scaleThumb()},scaleLeftThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleLeftThumb",[]]):ca(e)&&e.value?.scaleLeftThumb()},scaleRightThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"scaleRightThumb",[]]):ca(e)&&e.value?.scaleRightThumb()},resetThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetThumb",[]]):ca(e)&&e.value?.resetThumb()},resetLeftThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetLeftThumb",[]]):ca(e)&&e.value?.resetLeftThumb()},resetRightThumb:function(e){Cl(e)?L.callNative(Rl,Al,[e,"resetRightThumb",[]]):ca(e)&&e.value?.resetRightThumb()},setThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbScaleRatio",[t]]):ca(e)&&e.value?.setThumbScaleRatio(t)},setLeftThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbScaleRatio",[t]]):ca(e)&&e.value?.setLeftThumbScaleRatio(t)},setRightThumbScaleRatio:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbScaleRatio",[t]]):ca(e)&&e.value?.setRightThumbScaleRatio(t)},setThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbActivate",[t]]):ca(e)&&e.value?.setThumbActivate(t)},setLeftThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbActivate",[t]]):ca(e)&&e.value?.setLeftThumbActivate(t)},setRightThumbActivate:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbActivate",[t]]):ca(e)&&e.value?.setRightThumbActivate(t)},setThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbDrawable",[t]]):ca(e)&&e.value?.setThumbDrawable(t)},setLeftThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbDrawable",[t]]):ca(e)&&e.value?.setLeftThumbDrawable(t)},setRightThumbDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbDrawable",[t]]):ca(e)&&e.value?.setRightThumbDrawable(t)},setThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbUrl",[t]]):ca(e)&&e.value?.setThumbUrl(t)},setLeftThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbUrl",[t]]):ca(e)&&e.value?.setLeftThumbUrl(t)},setRightThumbUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbUrl",[t]]):ca(e)&&e.value?.setRightThumbUrl(t)},setThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setThumbInactivatedDrawable(t)},setLeftThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedDrawable(t)},setRightThumbInactivatedDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbInactivatedDrawable",[t]]):ca(e)&&e.value?.setRightThumbInactivatedDrawable(t)},setThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setThumbInactivatedUrl(t)},setLeftThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setLeftThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setLeftThumbInactivatedUrl(t)},setRightThumbInactivatedUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setRightThumbInactivatedUrl",[t]]):ca(e)&&e.value?.setRightThumbInactivatedUrl(t)},setTickMarkMode:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkMode",[t]]):ca(e)&&e.value?.setTickMarkMode(t)},setTickMarkGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkGravity",[t]]):ca(e)&&e.value?.setTickMarkGravity(t)},setTickMarkLayoutGravity:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkLayoutGravity",[t]]):ca(e)&&e.value?.setTickMarkLayoutGravity(t)},setTickMarkTextArray:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextArray",[t]]):ca(e)&&e.value?.setTickMarkTextArray(t)},setTickMarkTextMargin:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextMargin",[t]]):ca(e)&&e.value?.setTickMarkTextMargin(t)},setTickMarkTextSize:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextSize",[t]]):ca(e)&&e.value?.setTickMarkTextSize(t)},setTickMarkTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkTextColor",[t]]):ca(e)&&e.value?.setTickMarkTextColor(t)},setTickMarkInRangeTextColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setTickMarkInRangeTextColor",[t]]):ca(e)&&e.value?.setTickMarkInRangeTextColor(t)},setSteps:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setSteps",[t]]):ca(e)&&e.value?.setSteps(t)},setStepsWidth:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsWidth",[t]]):ca(e)&&e.value?.setStepsWidth(t)},setStepsHeight:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsHeight",[t]]):ca(e)&&e.value?.setStepsHeight(t)},setStepsRadius:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsRadius",[t]]):ca(e)&&e.value?.setStepsRadius(t)},setStepsColor:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsColor",[t]]):ca(e)&&e.value?.setStepsColor(t)},setStepsAutoBonding:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsAutoBonding",[t]]):ca(e)&&e.value?.setStepsAutoBonding(t)},setStepsDrawable:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsDrawable",[t]]):ca(e)&&e.value?.setStepsDrawable(t)},setStepsUrl:function(e,t){Cl(e)?L.callNative(Rl,Al,[e,"setStepsUrl",[t]]):ca(e)&&e.value?.setStepsUrl(t)}}}(e),N=function(e){return{...e,setup:function(e){e.value?.setup()},setInitData:function(e,t,a,n,o){e.value?.setInitData(t,a,n,o)},setVisible:function(e,t){e.value?.setVisible(t)},setPageData:function(e,t,a){e.value?.setPageData(t,a)},scrollTo:function(e,t){e.value?.scrollTo(t)},scrollToWithOffset:function(e,t,a,n){e.value?.scrollToWithOffset(t,a,n)},setSelected:function(e,t){e.value?.setSelected(t)},setGroupSelected:function(e,t){e.value?.setGroupSelected(t)},requestFocus:function(e,t){e.value?.requestFocus(t)},release:function(e){e.value?.release()}}}(e),P=function(e){return{...e,initTab:function(e,t){e.value?.initTab(t)},initPage:function(e,t){e.value?.initPage(t)},setPageState:function(e,t,a){e.value?.setPageState(t,a)},setPageData:function(e,t,a){e.value?.setPageData(t,a)},addPageData:function(e,t,a,n){e.value?.addPageData(t,a,n)},updatePageData:function(e,t,a){e.value?.updatePageData(t,a)},updatePageSection:function(e,t,a,n){e.value?.updatePageSection(t,a,n)},getPageSection:function(e,t,a){return e.value?.getPageSection(t,a)},getPageSectionList:function(e,t){return e.value?.getPageSectionList(t)},deletePageSection:function(e,t,a,n){e.value?.deletePageSection(t,a,n)},addPageItemList:function(e,t,a,n){e.value?.addPageItemList(t,a,n)},getPageItem:function(e,t,a,n){return e.value?.getPageItem(t,a,n)},updatePageItem:function(e,t,a,n,o){e.value?.updatePageItem(t,a,n,o)},deletePageItem:function(e,t,a,n,o){e.value?.deletePageItem(t,a,n,o)},focusBackToTop:function(e){e.value?.focusBackToTop()},requestNodeFocus:function(e,t){e.value?.requestNodeFocus(t)},reloadAll:function(e,t){e.value?.reloadAll(t)},reloadPage:function(e,t){e.value?.reloadPage(t)},setCurrentPage:function(e,t){e.value?.setCurrentPage(t)},requestTabFocus:function(e,t){e.value?.requestTabFocus(t)},invokeContentFunction:function(e,t,a,n){e.value?.invokeContentFunction(t,a,n)},invokeContentFunctionDirect:function(e,t,a){e.value?.invokeContentFunctionDirect(t,a)},contentScrollToFocus:function(e,t){e.value?.contentScrollToFocus(t)},getRootNodeViewState:function(e,t,a,n){e.value?.getRootNodeViewState(t,a,n)},getChildNodeViewState:function(e,t,a,n,o,i){e.value?.getChildNodeViewState(t,a,n,o,i)},dispatchUIFunctionOnChildNode:function(e,t,a,n,o,i){e.value?.dispatchUIFunctionOnChildNode(t,a,n,o,i)},updateItemMatched:function(e,t,a,n){e.value?.updateItemMatched(t,a,n)},updateRootNode:function(e,t,a,n){e.value?.updateRootNode(t,a,n)},updateChildNode:function(e,t,a,n,o){e.value?.updateChildNode(t,a,n,o)},destroy:function(e){e.value?.destroy()},cancelAll:function(e){e.value?.cancelAll()},translationLeft:function(e){e.value?.translationLeft()},translationRight:function(e){e.value?.translationRight()},getCurrentPageIndex:function(e){return e.value?.getCurrentPageIndex()??-1},getCurrentTabIndex:function(e){return e.value?e.value.getCurrentTabIndex():Promise.reject()},insertPageData:function(e,t,a,n){e.value?.insertPageData(t,a,n)},getDataManager:function(e){return e.value?.getDataManager()}}}(e),R=function(e){return{...e}}(e),A=function(e){return{...e}}(e),C=function(e){return{...e}}(e),U=function(e){return{...e}}(e),D=function(e){return{...e}}(e),w=function(e){return{...e}}(e),x={searchReplaceItem:function(e,t){L.callNative(Rl,"searchReplaceItem",e,t)},searchReplaceItemTraverse:function(e,t){L.callNative(Rl,"searchReplaceItemTraverse",e,t)}},k=function(e){return{...e}}(e);return{div:o,img:o,ul:f,li:o,p:o,view:n,webView:u,listView:i,gridView:l,waterfall:c,image:r,scrollView:v,text:g,replaceChildView:p,animation:m,appIcon:I,classifiedListView:h,collapse:T,listItem:_,lottieView:F,navBar:S,pluginView:b,progressBar:y,seekBar:E,mediaSeries:N,tabs:P,x5WebView:d,button:R,column:A,loading:C,longImage:k,poster:U,qrCode:D,row:w,virtualView:x,indicator:s,log:W,es:G,develop:V,toast:q,storage:z,device:$,display:Q,network:Y,appList:H,power:j,permission:K,usbDevice:Z,broadcast:J,audio:X,shareData:ee,runtime:te,plugin:ae,download:ne,upload:oe,actionBar:ie,iac:le,location:ce,focus:se,provider:re,eventBus:ue,xlog:de,logUpload:fe,brightness:ve,service:ge}}var wl,xl,kl,Ol,Bl,Ml,Wl,Gl,Vl,ql,zl,$l,Ql,Yl,Hl,jl,Kl,Zl,Jl,Xl,ec,tc,ac,nc;!function(e){e.QT_FOCUS_BEFORE_DESCENDANTS="beforeDescendants",e.QT_FOCUS_AFTER_DESCENDANTS="afterDescendants",e.QT_FOCUS_BLOCK_DESCENDANTS="blockDescendants"}(wl||(wl={})),function(e){e[e.QT_FOCUS_BEFORE_DESCENDANTS=131072]="QT_FOCUS_BEFORE_DESCENDANTS",e[e.QT_FOCUS_AFTER_DESCENDANTS=262144]="QT_FOCUS_AFTER_DESCENDANTS",e[e.QT_FOCUS_BLOCK_DESCENDANTS=393216]="QT_FOCUS_BLOCK_DESCENDANTS"}(xl||(xl={})),function(e){e[e.QT_FOCUS_DIRECTION_BACKWARD=1]="QT_FOCUS_DIRECTION_BACKWARD",e[e.QT_FOCUS_DIRECTION_FORWARD=2]="QT_FOCUS_DIRECTION_FORWARD",e[e.QT_FOCUS_DIRECTION_LEFT=17]="QT_FOCUS_DIRECTION_LEFT",e[e.QT_FOCUS_DIRECTION_UP=33]="QT_FOCUS_DIRECTION_UP",e[e.QT_FOCUS_DIRECTION_RIGHT=66]="QT_FOCUS_DIRECTION_RIGHT",e[e.QT_FOCUS_DIRECTION_DOWN=130]="QT_FOCUS_DIRECTION_DOWN"}(kl||(kl={})),function(e){e.QT_FOCUS_DIRECTION_ALL="all",e.QT_FOCUS_DIRECTION_LEFT="left",e.QT_FOCUS_DIRECTION_UP="up",e.QT_FOCUS_DIRECTION_RIGHT="right",e.QT_FOCUS_DIRECTION_DOWN="down"}(Ol||(Ol={})),function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(Bl||(Bl={})),function(e){e.QT_TEXT_SPAN_ATTRIBUTE_TYPE_SIZE="size",e.QT_TEXT_SPAN_ATTRIBUTE_TYPE_COLOR="color"}(Ml||(Ml={})),function(e){e.QT_IMAGE_RESIZE_MODE_CONTAIN="contain",e.QT_IMAGE_RESIZE_MODE_COVER="cover",e.QT_IMAGE_RESIZE_MODE_CENTER="center",e.QT_IMAGE_RESIZE_MODE_ORIGIN="origin",e.QT_IMAGE_RESIZE_MODE_FIT_XY="fitxy"}(Wl||(Wl={})),function(e){e.QT_VISIBLE="visible",e.QT_INVISIBLE="invisible",e.QT_GONE="gone"}(Gl||(Gl={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Vl||(Vl={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ql||(ql={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(zl||(zl={})),function(e){e[e.NONE=0]="NONE",e[e.SOFTWARE=1]="SOFTWARE",e[e.HARDWARE=2]="HARDWARE"}($l||($l={})),function(e){e[e.NONE=0]="NONE",e[e.SOFTWARE=1]="SOFTWARE",e[e.HARDWARE=2]="HARDWARE"}(Ql||(Ql={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(Yl||(Yl={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(Hl||(Hl={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(jl||(jl={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Kl||(Kl={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(Zl||(Zl={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(Jl||(Jl={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Xl||(Xl={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(ec||(ec={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(tc||(tc={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(ac||(ac={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(nc||(nc={}));const oc={callUIModule(e,t,a){L.callNative("UIManagerModule","callUIFunction",e,t,a)},callUIModuleAsync:async(e,t,a,n=1e3)=>new Promise(o=>{let i=setTimeout(()=>{o(!1)},n);L.callNative("UIManagerModule","callUIFunctionWithPromise",e,t,a,e=>{clearTimeout(i),o(e)})}),call(e,t,a){L.callNative("ExtendModule","callUIFunction",e,t,a)},callAsync:async(e,t,a,n=1e3)=>new Promise(o=>{let i=setTimeout(()=>{o(!1)},n);L.callNative("ExtendModule","callUIFunctionWithPromise",e,t,a,e=>{clearTimeout(i),o(e)})}),tvCall(e,t,a,n){L.callNative("ExtendModule","callUIFunction",e,a,[t,...n])},tvCallAsync:(e,t,a,n,o=1e3)=>new Promise(i=>{let l=setTimeout(()=>{i(!1)},o);L.callNative("ExtendModule","callUIFunctionWithPromise",e,a,[t,...n],e=>{clearTimeout(l),i(e)})}),updateChild(e,t,a){this.tvCall(e,t,"searchReplaceItem",[a])},updateBySid(e,t){this.tvCall("",e,"searchReplaceItem",[t])}};var ic,lc,cc,sc,rc;!function(e){e[e.LEFT=0]="LEFT",e[e.RIGHT=1]="RIGHT",e[e.TOP=2]="TOP",e[e.BOTTOM=3]="BOTTOM"}(ic||(ic={})),function(e){e[e.LOADED_SUCCESS=1]="LOADED_SUCCESS",e[e.LOADED_FAIL=2]="LOADED_FAIL",e[e.START=3]="START"}(lc||(lc={})),function(e){e[e.ZOOM_TYPE_CENTER_INSIDE=0]="ZOOM_TYPE_CENTER_INSIDE",e[e.ZOOM_TYPE_CENTER_ORANGE=1]="ZOOM_TYPE_CENTER_ORANGE",e[e.ZOOM_TYPE_CENTER_OUTSIDE=2]="ZOOM_TYPE_CENTER_OUTSIDE",e[e.ZOOM_TYPE_CENTER_CUSTOM_ABSOLUTE=3]="ZOOM_TYPE_CENTER_CUSTOM_ABSOLUTE",e[e.ZOOM_TYPE_CENTER_CUSTOM_RELATIVE=4]="ZOOM_TYPE_CENTER_CUSTOM_RELATIVE",e[e.ZOOM_TYPE_CENTER_WIDTH_FIXED=5]="ZOOM_TYPE_CENTER_WIDTH_FIXED",e[e.ZOOM_TYPE_CENTER_HEIGHT_FIXED=6]="ZOOM_TYPE_CENTER_HEIGHT_FIXED"}(cc||(cc={})),function(e){e[e.POSITION_TYPE_START=0]="POSITION_TYPE_START",e[e.POSITION_TYPE_CENTER=1]="POSITION_TYPE_CENTER",e[e.POSITION_TYPE_END=2]="POSITION_TYPE_END"}(sc||(sc={})),function(e){e[e.ORIENTATION_USE_EXIF=-1]="ORIENTATION_USE_EXIF",e[e.ORIENTATION_0=0]="ORIENTATION_0",e[e.ORIENTATION_90=90]="ORIENTATION_90",e[e.ORIENTATION_180=180]="ORIENTATION_180",e[e.ORIENTATION_270=270]="ORIENTATION_270"}(rc||(rc={}));class uc{start_pos;end_pos;type;stop_count;stops;constructor(e,t,a,n,o,i){this.stop_count=0,this.stops=[];const l=arguments.length;if(3===l)this.start_pos={x:e,y:t,r:0},this.end_pos={x:e,y:t,r:a},this.type="radial";else if(4===l)this.start_pos={x:e,y:t},this.end_pos={x:a,y:n},this.type="linear";else{if(6!==l)throw new Error("Invalid parameters for CanvasGradient constructor");this.start_pos={x:e,y:t,r:a},this.end_pos={x:a,y:n,r:i},this.type="radial"}}addColorStop(e,t){this.stop_count<5&&e>=0&&e<=1&&(this.stops.push({pos:e,color:t}),this.stop_count++)}}const dc=[wn,kn,On,Mn,Gn,qn,Bo,qo,Yo,Ei,Ai,Ci,Li,ol,ll,cl,sl,Tl,_l,Fl],fc=t=>{L.isAndroid()?(Nl(t),t.component("qt-lottie-view",{emits:["onAnimationStart","onAnimationEnd","onAnimationCancel","onAnimationRepeat","onAnimationUpdate","onAnimationPause","onAnimationResume"],setup(t,a){const n=e();return a.expose({loadRaw:e=>{L.callUIFunction(n.value,"lottie_rawRes",[e])},loadFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadJsonFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadZipFile:(e,t)=>{L.callUIFunction(n.value,"lottie_zipPath",[e,t])},loadUrl:e=>{L.callUIFunction(n.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{L.callUIFunction(n.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{L.callUIFunction(n.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{L.callUIFunction(n.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{L.callUIFunction(n.value,"lottie_loop",[e])},setRepeatMode:e=>{L.callUIFunction(n.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{L.callUIFunction(n.value,"lottie_repeatCount",[e])},setSpeed:e=>{L.callUIFunction(n.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{L.callUIFunction(n.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{L.callUIFunction(n.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{L.callUIFunction(n.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{L.callUIFunction(n.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{L.callUIFunction(n.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{L.callUIFunction(n.value,"lottie_colorFilter",[e])},setRenderMode:e=>{L.callUIFunction(n.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{L.callUIFunction(n.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{L.callUIFunction(n.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{L.callUIFunction(n.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{L.callUIFunction(n.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{L.callUIFunction(n.value,"resumeAnimation",[])},pauseAnimation:()=>{L.callUIFunction(n.value,"pauseAnimation",[])},cancelAnimation:()=>{L.callUIFunction(n.value,"cancelAnimation",[])},cacheComposition:e=>{L.callUIFunction(n.value,"cacheComposition",[e])},removeAllListener:()=>{L.callUIFunction(n.value,"removeAllListener",[])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ESLottieViewComponent",{ref:n,onAnimationEvent:e=>{const t=e.value??"";switch(e.eventName){case"onAnimationStart":a.emit("onAnimationStart");break;case"onAnimationEnd":a.emit("onAnimationEnd");break;case"onAnimationCancel":a.emit("onAnimationCancel");break;case"onAnimationRepeat":a.emit("onAnimationRepeat");break;case"onAnimationUpdate":a.emit("onAnimationUpdate",t);break;case"onAnimationPause":a.emit("onAnimationPause");break;case"onAnimationResume":a.emit("onAnimationResume")}}},e)}}})):(Pl(t),function(t){t.component("qt-lottie-view",{emits:["onAnimationStart","onAnimationEnd","onAnimationCancel","onAnimationRepeat","onAnimationUpdate","onAnimationPause","onAnimationResume"],setup(t,a){const n=e();return a.expose({loadRaw:e=>{L.callUIFunction(n.value,"lottie_rawRes",[e])},loadFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadJsonFile:e=>{L.callUIFunction(n.value,"lottie_localRes",[e])},loadZipFile:(e,t)=>{L.callUIFunction(n.value,"lottie_zipPath",[e,t])},loadUrl:e=>{L.callUIFunction(n.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{L.callUIFunction(n.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{L.callUIFunction(n.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{L.callUIFunction(n.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{L.callUIFunction(n.value,"lottie_loop",[e])},setRepeatMode:e=>{L.callUIFunction(n.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{L.callUIFunction(n.value,"lottie_repeatCount",[e])},setSpeed:e=>{L.callUIFunction(n.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{L.callUIFunction(n.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{L.callUIFunction(n.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{L.callUIFunction(n.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{L.callUIFunction(n.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{L.callUIFunction(n.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{L.callUIFunction(n.value,"lottie_colorFilter",[e])},setRenderMode:e=>{L.callUIFunction(n.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{L.callUIFunction(n.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{L.callUIFunction(n.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{L.callUIFunction(n.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{L.callUIFunction(n.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{L.callUIFunction(n.value,"resumeAnimation",[])},pauseAnimation:()=>{L.callUIFunction(n.value,"pauseAnimation",[])},cancelAnimation:()=>{L.callUIFunction(n.value,"cancelAnimation",[])},cacheComposition:e=>{L.callUIFunction(n.value,"cacheComposition",[e])},removeAllListener:()=>{L.callUIFunction(n.value,"removeAllListener",[])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ESLottieViewComponent",{ref:n,onAnimationEvent:e=>{const t=e.value??"";switch(e.eventName){case"onAnimationStart":a.emit("onAnimationStart");break;case"onAnimationEnd":a.emit("onAnimationEnd");break;case"onAnimationCancel":a.emit("onAnimationCancel");break;case"onAnimationRepeat":a.emit("onAnimationRepeat");break;case"onAnimationUpdate":a.emit("onAnimationUpdate",t);break;case"onAnimationPause":a.emit("onAnimationPause");break;case"onAnimationResume":a.emit("onAnimationResume")}}},e)}}})}(t)),function(t){t.component("qt-loading-view",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>R("LoadingViewComponent",{ref:n})}})}(t),yl(t),function(t){const a=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,a){const n=e();return a.expose({viewRef:n,updateItem:(e,t)=>{L.callUIFunction(n.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,a,o)=>{L.callUIFunction(n.value,"dispatchItemFunction",[e,t,a,o])},updateItemProps:(e,t,a)=>{L.callUIFunction(n.value,"updateItemProps",[t,e,a,!0])},batch:e=>{L.callUIFunction(n.value,"batch",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("FastListView",{ref:n,onBindItem:e=>{a.emit("item-bind",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onItemRecycled:e=>{a.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",a)}(t),El(t),function(t){const a=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onSniffingResult"],setup(t,a){const n=e();g(()=>{o(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),v(!0),i(1),m(2)});const o=e=>{L.callUIFunction(n.value,"setJavaScriptEnabled",[e],e=>{})},i=e=>{L.callUIFunction(n.value,"setPluginState",[e],e=>{})},l=e=>{L.callUIFunction(n.value,"setJavaScriptCanOpenWindowsAutomatically",[e],e=>{})},c=e=>{L.callUIFunction(n.value,"setUseWideViewPort",[e],e=>{})},s=e=>{L.callUIFunction(n.value,"setSupportZoom",[e],e=>{})},r=e=>{L.callUIFunction(n.value,"setBuiltInZoomControls",[e],e=>{})},u=e=>{L.callUIFunction(n.value,"setAllowFileAccess",[e],e=>{})},d=e=>{L.callUIFunction(n.value,"setDomStorageEnabled",[e],e=>{})},f=e=>{L.callUIFunction(n.value,"setAppCacheEnabled",[e],e=>{})},v=e=>{L.callUIFunction(n.value,"setGeolocationEnabled",[e],e=>{})},p=e=>{L.callUIFunction(n.value,"setSupportMultipleWindows",[e],e=>{})},m=e=>{L.callUIFunction(n.value,"setCacheMode",[e],e=>{})};return a.expose({reload:()=>{L.callUIFunction(n.value,"reload",[],e=>{})},clearCache:e=>{L.callUIFunction(n.value,"clearCache",[e],e=>{})},getUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),getOriginalUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),setLayerType:e=>{L.callUIFunction(n.value,"setLayerType",[e],e=>{})},setIgnoreCA:e=>{L.callUIFunction(n.value,"setIgnoreCA",[e],e=>{})},setIgnoreAllKeyEvent:e=>{L.callUIFunction(n.value,"setIgnoreAllKeyEvent",[e],e=>{})},getBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBackForwardList",[],t=>{e(t)})}),getCurrentIndexWithBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getCurrentIndexWithBackForwardList",[],t=>{e(t)})}),getScreenStatus:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getScreenStatus",[],t=>{e(t)})}),autoClickPosition:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"autoClickPosition",[e,t],e=>{a(e)})}),enableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"enableImageDisplay",[],t=>{e(t)})}),disableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"disableImageDisplay",[],t=>{e(t)})}),clearView:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"clearView",[],t=>{e(t)})}),stopLoading:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"stopLoading",[],t=>{e(t)})}),setListenEvents:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"setListenEvents",[e],e=>{t(e)})}),loadUrl:e=>{L.callUIFunction(n.value,"loadUrl",[e],e=>{})},evaluateJavascript:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"evaluateJavascript",[e],e=>{t(e)})}),setSniffingEnabled:e=>{L.callUIFunction(n.value,"setSniffingEnabled",[e],e=>{})},setSniffingRule:e=>{L.callUIFunction(n.value,"setSniffingRule",[e],e=>{})},resetSniffingRule:()=>{L.callUIFunction(n.value,"resetSniffingRule",[],e=>{})},setInterceptEnabled:e=>{L.callUIFunction(n.value,"setInterceptEnabled",[e],e=>{})},setInterceptRule:e=>{L.callUIFunction(n.value,"setInterceptRule",[e],e=>{})},resetInterceptRule:()=>{L.callUIFunction(n.value,"resetInterceptRule",[],e=>{})},shouldOverrideUrlLoading:e=>{L.callUIFunction(n.value,"shouldOverrideUrlLoading",[e],e=>{})},setUserAgent:e=>{L.callUIFunction(n.value,"setUserAgent",[e],e=>{})},canGoBack:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoBack",[],t=>{a.emit("onCanGoBack",t),e(t)})}),goBack:()=>{L.callUIFunction(n.value,"goBack",[],e=>{})},canGoForward:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoForward",[],t=>{a.emit("onCanGoForward",t),e(t)})}),goForward:()=>{L.callUIFunction(n.value,"goForward",[],e=>{})},canGoBackOrForward:e=>{L.callUIFunction(n.value,"canGoBackOrForward",[e],e=>{a.emit("onCanGoBackOrForward",e)})},goBackOrForward:e=>{L.callUIFunction(n.value,"goBackOrForward",[e],e=>{})},onResume:()=>{L.callUIFunction(n.value,"onResume",[],e=>{})},onPause:()=>{L.callUIFunction(n.value,"onPause",[],e=>{})},pauseTimers:()=>{L.callUIFunction(n.value,"pauseTimers",[],e=>{})},resumeTimers:()=>{L.callUIFunction(n.value,"resumeTimers",[],e=>{})},destroy:()=>{L.callUIFunction(n.value,"destroy",[],e=>{})},setJavaScriptEnabled:o,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{L.callUIFunction(n.value,"setLoadWithOverviewMode",[e],e=>{})},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{L.callUIFunction(n.value,"setDisplayZoomControls",[e],e=>{})},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{L.callUIFunction(n.value,"setDatabaseEnabled",[e],e=>{})},setAppCacheEnabled:f,setAppCachePath:e=>{L.callUIFunction(n.value,"setAppCachePath",[e],e=>{})},setMediaPlaybackRequiresUserGesture:e=>{L.callUIFunction(n.value,"setMediaPlaybackRequiresUserGesture",[e],e=>{})},setStandardFontFamily:e=>{L.callUIFunction(n.value,"setStandardFontFamily",[e],e=>{})},setFixedFontFamily:e=>{L.callUIFunction(n.value,"setFixedFontFamily",[e],e=>{})},setSansSerifFontFamily:e=>{L.callUIFunction(n.value,"setSansSerifFontFamily",[e],e=>{})},setSerifFontFamily:e=>{L.callUIFunction(n.value,"setSerifFontFamily",[e],e=>{})},setCursiveFontFamily:e=>{L.callUIFunction(n.value,"setCursiveFontFamily",[e],e=>{})},setFantasyFontFamily:e=>{L.callUIFunction(n.value,"setFantasyFontFamily",[e],e=>{})},setTextZoom:e=>{L.callUIFunction(n.value,"setTextZoom",[e],e=>{})},setMinimumFontSize:e=>{L.callUIFunction(n.value,"setMinimumFontSize",[e],e=>{})},setDefaultFontSize:e=>{L.callUIFunction(n.value,"setDefaultFontSize",[e],e=>{})},setLayoutAlgorithm:e=>{L.callUIFunction(n.value,"setLayoutAlgorithm",[e],e=>{})},setLoadsImagesAutomatically:e=>{L.callUIFunction(n.value,"setLoadsImagesAutomatically",[e],e=>{})},setDefaultTextEncodingName:e=>{L.callUIFunction(n.value,"setDefaultTextEncodingName",[e],e=>{})},setNeedInitialFocus:e=>{L.callUIFunction(n.value,"setNeedInitialFocus",[e],e=>{})},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{L.callUIFunction(n.value,"setBlockNetworkLoads",[e],e=>{})},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{L.callUIFunction(n.value,"setAppCacheMaxSize",[e],e=>{})},setRenderPriority:e=>{L.callUIFunction(n.value,"setRenderPriority",[e],e=>{})},setCacheMode:m,setAllowContentAccess:e=>{L.callUIFunction(n.value,"setAllowContentAccess",[e],e=>{})},setEnableSmoothTransition:e=>{L.callUIFunction(n.value,"setEnableSmoothTransition",[e],e=>{})},setSaveFormData:e=>{L.callUIFunction(n.value,"setSaveFormData",[e],e=>{})},setSavePassword:e=>{L.callUIFunction(n.value,"setSavePassword",[e],e=>{})},setTextSize:e=>{L.callUIFunction(n.value,"setTextSize",[e],e=>{})},setInitialScale:e=>{L.callUIFunction(n.value,"setInitialScale",[e],e=>{})},setDefaultZoom:e=>{L.callUIFunction(n.value,"setDefaultZoom",[e],e=>{})},setLightTouchEnabled:e=>{L.callUIFunction(n.value,"setLightTouchEnabled",[e],e=>{})},setMinimumLogicalFontSize:e=>{L.callUIFunction(n.value,"setMinimumLogicalFontSize",[e],e=>{})},setDefaultFixedFontSize:e=>{L.callUIFunction(n.value,"setDefaultFixedFontSize",[e],e=>{})},setBlockNetworkImage:e=>{L.callUIFunction(n.value,"setBlockNetworkImage",[e],e=>{})},setAllowUniversalAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowUniversalAccessFromFileURLs",[e],e=>{})},setAllowFileAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowFileAccessFromFileURLs",[e],e=>{})},setDatabasePath:e=>{L.callUIFunction(n.value,"setDatabasePath",[e],e=>{})},setGeolocationDatabasePath:e=>{L.callUIFunction(n.value,"setGeolocationDatabasePath",[e],e=>{})},setUserAgentString:e=>{L.callUIFunction(n.value,"setUserAgentString",[e],e=>{})},setMixedContentMode:e=>{L.callUIFunction(n.value,"setMixedContentMode",[e],e=>{})},setOffscreenPreRaster:e=>{L.callUIFunction(n.value,"setOffscreenPreRaster",[e],e=>{})},setSafeBrowsingEnabled:e=>{L.callUIFunction(n.value,"setSafeBrowsingEnabled",[e],e=>{})},setForceDark:e=>{L.callUIFunction(n.value,"setForceDark",[e],e=>{})},setDisabledActionModeMenuItems:e=>{L.callUIFunction(n.value,"setDisabledActionModeMenuItems",[e],e=>{})},initJavaScriptInterface:()=>{L.callUIFunction(n.value,"initJavaScriptInterface",[],e=>{})},removeJavaScriptInterface:()=>{L.callUIFunction(n.value,"removeJavaScriptInterface",[],e=>{})},initWebViewFocus:(e,t,a)=>{L.callUIFunction(n.value,"initWebViewFocus",[e,t,a],e=>{})},...Dn(n)}),()=>R("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;a.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;a.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;a.emit("onLoadResource",t)},onReceivedSslError:e=>{a.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,o=e.failingUrl;a.emit("onReceivedError",t,n,o)},onShouldOverrideUrlLoading:e=>{let t=e.url;a.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;a.emit("onJs2Vue",t)},onSniffingResult:e=>{let t=e.url,n=e.headers;a.emit("onSniffingResult",t,n)},ref:n})}});t.component("qt-web-view",a)}(t),function(t){const a=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onProgressChanged","onConsoleMessage","onSniffingResult"],setup(t,a){const n=e();g(()=>{o(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),v(!0),i(1),m(2)});const o=e=>{L.callUIFunction(n.value,"setJavaScriptEnabled",[e],e=>{})},i=e=>{L.callUIFunction(n.value,"setPluginState",[e],e=>{})},l=e=>{L.callUIFunction(n.value,"setJavaScriptCanOpenWindowsAutomatically",[e],e=>{})},c=e=>{L.callUIFunction(n.value,"setUseWideViewPort",[e],e=>{})},s=e=>{L.callUIFunction(n.value,"setSupportZoom",[e],e=>{})},r=e=>{L.callUIFunction(n.value,"setBuiltInZoomControls",[e],e=>{})},u=e=>{L.callUIFunction(n.value,"setAllowFileAccess",[e],e=>{})},d=e=>{L.callUIFunction(n.value,"setDomStorageEnabled",[e],e=>{})},f=e=>{L.callUIFunction(n.value,"setAppCacheEnabled",[e],e=>{})},v=e=>{L.callUIFunction(n.value,"setGeolocationEnabled",[e],e=>{})},p=e=>{L.callUIFunction(n.value,"setSupportMultipleWindows",[e],e=>{})},m=e=>{L.callUIFunction(n.value,"setCacheMode",[e],e=>{})};return a.expose({reload:()=>{L.callUIFunction(n.value,"reload",[],e=>{})},clearCache:e=>{L.callUIFunction(n.value,"clearCache",[e],e=>{})},getUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),getOriginalUrl:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getUrl",[],t=>{e(t)})}),setLayerType:e=>{L.callUIFunction(n.value,"setLayerType",[e],e=>{})},setIgnoreCA:e=>{L.callUIFunction(n.value,"setIgnoreCA",[e],e=>{})},setIgnoreAllKeyEvent:e=>{L.callUIFunction(n.value,"setIgnoreAllKeyEvent",[e],e=>{})},getBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBackForwardList",[],t=>{e(t)})}),getCurrentIndexWithBackForwardList:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getCurrentIndexWithBackForwardList",[],t=>{e(t)})}),getScreenStatus:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getScreenStatus",[],t=>{e(t)})}),autoClickPosition:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"autoClickPosition",[e,t],e=>{a(e)})}),enableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"enableImageDisplay",[],t=>{e(t)})}),disableImageDisplay:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"disableImageDisplay",[],t=>{e(t)})}),clearView:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"clearView",[],t=>{e(t)})}),stopLoading:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"stopLoading",[],t=>{e(t)})}),setListenEvents:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"setListenEvents",[e],e=>{t(e)})}),sendKeyCodeEvent:(e,t)=>new Promise((a,o)=>{L.callUIFunction(n.value,"sendKeyCodeEvent",[e,t],e=>{a(e)})}),autoClickPositionWithDuration:(e,t,a)=>new Promise((o,i)=>{L.callUIFunction(n.value,"autoClickPositionWithDuration",[e,t,a],e=>{o(e)})}),initWebView:e=>{L.callUIFunction(n.value,"initWebView",[e],e=>{})},loadUrl:e=>{L.callUIFunction(n.value,"loadUrl",[e],e=>{})},evaluateJavascript:e=>new Promise((t,a)=>{L.callUIFunction(n.value,"evaluateJavascript",[e],e=>{t(e)})}),setSniffingEnabled:e=>{L.callUIFunction(n.value,"setSniffingEnabled",[e],e=>{})},setSniffingRule:e=>{L.callUIFunction(n.value,"setSniffingRule",[e],e=>{})},resetSniffingRule:()=>{L.callUIFunction(n.value,"resetSniffingRule",[],e=>{})},setInterceptEnabled:e=>{L.callUIFunction(n.value,"setInterceptEnabled",[e],e=>{})},setInterceptRule:e=>{L.callUIFunction(n.value,"setInterceptRule",[e],e=>{})},resetInterceptRule:()=>{L.callUIFunction(n.value,"resetInterceptRule",[],e=>{})},shouldOverrideUrlLoading:e=>{L.callUIFunction(n.value,"shouldOverrideUrlLoading",[e],e=>{})},canGoBack:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoBack",[],t=>{a.emit("onCanGoBack",t),e(t)})}),goBack:()=>{L.callUIFunction(n.value,"goBack",[],e=>{})},canGoForward:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"canGoForward",[],t=>{a.emit("onCanGoForward",t),e(t)})}),goForward:()=>{L.callUIFunction(n.value,"goForward",[],e=>{})},canGoBackOrForward:e=>{L.callUIFunction(n.value,"canGoBackOrForward",[e],e=>{a.emit("onCanGoBackOrForward",e)})},goBackOrForward:e=>{L.callUIFunction(n.value,"goBackOrForward",[e],e=>{})},onResume:()=>{L.callUIFunction(n.value,"onResume",[],e=>{})},onPause:()=>{L.callUIFunction(n.value,"onPause",[],e=>{})},pauseTimers:()=>{L.callUIFunction(n.value,"pauseTimers",[],e=>{})},resumeTimers:()=>{L.callUIFunction(n.value,"resumeTimers",[],e=>{})},destroy:()=>{L.callUIFunction(n.value,"destroy",[],e=>{})},setJavaScriptEnabled:o,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{L.callUIFunction(n.value,"setLoadWithOverviewMode",[e],e=>{})},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{L.callUIFunction(n.value,"setDisplayZoomControls",[e],e=>{})},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{L.callUIFunction(n.value,"setDatabaseEnabled",[e],e=>{})},setAppCacheEnabled:f,setAppCachePath:e=>{L.callUIFunction(n.value,"setAppCachePath",[e],e=>{})},setMediaPlaybackRequiresUserGesture:e=>{L.callUIFunction(n.value,"setMediaPlaybackRequiresUserGesture",[e],e=>{})},setStandardFontFamily:e=>{L.callUIFunction(n.value,"setStandardFontFamily",[e],e=>{})},setFixedFontFamily:e=>{L.callUIFunction(n.value,"setFixedFontFamily",[e],e=>{})},setSansSerifFontFamily:e=>{L.callUIFunction(n.value,"setSansSerifFontFamily",[e],e=>{})},setSerifFontFamily:e=>{L.callUIFunction(n.value,"setSerifFontFamily",[e],e=>{})},setCursiveFontFamily:e=>{L.callUIFunction(n.value,"setCursiveFontFamily",[e],e=>{})},setFantasyFontFamily:e=>{L.callUIFunction(n.value,"setFantasyFontFamily",[e],e=>{})},setTextZoom:e=>{L.callUIFunction(n.value,"setTextZoom",[e],e=>{})},setMinimumFontSize:e=>{L.callUIFunction(n.value,"setMinimumFontSize",[e],e=>{})},setDefaultFontSize:e=>{L.callUIFunction(n.value,"setDefaultFontSize",[e],e=>{})},setLayoutAlgorithm:e=>{L.callUIFunction(n.value,"setLayoutAlgorithm",[e],e=>{})},setLoadsImagesAutomatically:e=>{L.callUIFunction(n.value,"setLoadsImagesAutomatically",[e],e=>{})},setDefaultTextEncodingName:e=>{L.callUIFunction(n.value,"setDefaultTextEncodingName",[e],e=>{})},setNeedInitialFocus:e=>{L.callUIFunction(n.value,"setNeedInitialFocus",[e],e=>{})},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{L.callUIFunction(n.value,"setBlockNetworkLoads",[e],e=>{})},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{L.callUIFunction(n.value,"setAppCacheMaxSize",[e],e=>{})},setRenderPriority:e=>{L.callUIFunction(n.value,"setRenderPriority",[e],e=>{})},setCacheMode:m,setAllowContentAccess:e=>{L.callUIFunction(n.value,"setAllowContentAccess",[e],e=>{})},setEnableSmoothTransition:e=>{L.callUIFunction(n.value,"setEnableSmoothTransition",[e],e=>{})},setSaveFormData:e=>{L.callUIFunction(n.value,"setSaveFormData",[e],e=>{})},setSavePassword:e=>{L.callUIFunction(n.value,"setSavePassword",[e],e=>{})},setTextSize:e=>{L.callUIFunction(n.value,"setTextSize",[e],e=>{})},setInitialScale:e=>{L.callUIFunction(n.value,"setInitialScale",[e],e=>{})},setDefaultZoom:e=>{L.callUIFunction(n.value,"setDefaultZoom",[e],e=>{})},setLightTouchEnabled:e=>{L.callUIFunction(n.value,"setLightTouchEnabled",[e],e=>{})},setMinimumLogicalFontSize:e=>{L.callUIFunction(n.value,"setMinimumLogicalFontSize",[e],e=>{})},setDefaultFixedFontSize:e=>{L.callUIFunction(n.value,"setDefaultFixedFontSize",[e],e=>{})},setBlockNetworkImage:e=>{L.callUIFunction(n.value,"setBlockNetworkImage",[e],e=>{})},setAllowUniversalAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowUniversalAccessFromFileURLs",[e],e=>{})},setAllowFileAccessFromFileURLs:e=>{L.callUIFunction(n.value,"setAllowFileAccessFromFileURLs",[e],e=>{})},setDatabasePath:e=>{L.callUIFunction(n.value,"setDatabasePath",[e],e=>{})},setGeolocationDatabasePath:e=>{L.callUIFunction(n.value,"setGeolocationDatabasePath",[e],e=>{})},setUserAgentString:e=>{L.callUIFunction(n.value,"setUserAgentString",[e],e=>{})},setMixedContentMode:e=>{L.callUIFunction(n.value,"setMixedContentMode",[e],e=>{})},setOffscreenPreRaster:e=>{L.callUIFunction(n.value,"setOffscreenPreRaster",[e],e=>{})},setSafeBrowsingEnabled:e=>{L.callUIFunction(n.value,"setSafeBrowsingEnabled",[e],e=>{})},setForceDark:e=>{L.callUIFunction(n.value,"setForceDark",[e],e=>{})},setDisabledActionModeMenuItems:e=>{L.callUIFunction(n.value,"setDisabledActionModeMenuItems",[e],e=>{})},initJavaScriptInterface:()=>{L.callUIFunction(n.value,"initJavaScriptInterface",[],e=>{})},removeJavaScriptInterface:()=>{L.callUIFunction(n.value,"removeJavaScriptInterface",[],e=>{})},initWebViewFocus:(e,t,a)=>{L.callUIFunction(n.value,"initWebViewFocus",[e,t,a],e=>{})},...Dn(n)}),()=>R("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;a.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;a.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;a.emit("onLoadResource",t)},onReceivedSslError:e=>{a.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,o=e.failingUrl;a.emit("onReceivedError",t,n,o)},onShouldOverrideUrlLoading:e=>{let t=e.url;a.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;a.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;a.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;a.emit("onJsFinishGame",t)},onProgressChanged:e=>{let t=e.progress;a.emit("onProgressChanged",t)},onConsoleMessage:e=>{let t=e.message,n=e.messageLevel,o=e.sourceId,i=e.lineNumber;a.emit("onConsoleMessage",t,n,o,i)},onSniffingResult:e=>{let t=e.url,n=e.headers;a.emit("onSniffingResult",t,n)},ref:n})}});t.component("qt-x5web-view",a)}(t),function(t){t.component("qt-qr-code",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>R("QrCodeComponent",{ref:n})}})}(t),function(t){const a=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,a){const n=e(),o=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),r=e(0);function u(e){1===i.value&&(r.value=e,L.callUIFunction(n.value,"setProgress",[e],e=>{}))}function d(e){1===i.value&&(s.value=e,L.callUIFunction(n.value,"setMaxProgress",[e],e=>{}))}return a.expose({viewRef:n,seekBarFocused:o,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:r,startSeek:function(e){if(o.value){i.value=2,a.emit("onSeekStart",r.value),l.value+=1;let o=1;l.value>20?o=2:l.value>50?o=4:l.value>100&&(o=6);let u=s.value,d=Math.floor(.01*u*o);if(r.value=r.value+(e?d:-d),r.value>u?r.value=u:r.value<0&&(r.value=0),L.callUIFunction(n.value,"setProgress",[r.value],e=>{}),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(r.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&a.emit("onSeekStop",r.value),i.value=1},isSeekBarFocused:function(){return o.value},resetSeekbar:function(){i.value=1,d(0),u(0)},invalidateSeekBar:function(){L.callUIFunction(n.value,"invalidateSeekBar",[],e=>{})},setFocusable:function(e){L.callUIFunction(n.value,"setFocusable",[e],e=>{})},setClickable:function(e){L.callUIFunction(n.value,"setClickable",[e],e=>{})},setVisible:function(e){L.callUIFunction(n.value,"setVisible",[e],e=>{})},setLeftSeekBarVisible:function(e){L.callUIFunction(n.value,"setLeftSeekBarVisible",[e],e=>{})},setRightSeekBarVisible:function(e){L.callUIFunction(n.value,"setRightSeekBarVisible",[e],e=>{})},setSeekBarMode:function(e){L.callUIFunction(n.value,"setSeekBarMode",[e],e=>{})},setProgress:u,setRangeProgress:function(e,t){L.callUIFunction(n.value,"setProgress",[e,t],e=>{})},getProgress:function(){L.callUIFunction(n.value,"getProgress",[],e=>{})},getLeftProgress:function(){L.callUIFunction(n.value,"getLeftProgress",[],e=>{})},getRightProgress:function(){L.callUIFunction(n.value,"getRightProgress",[],e=>{})},setRange:function(e,t,a){L.callUIFunction(n.value,"setRange",[e,t,a],e=>{})},setGravity:function(e){L.callUIFunction(n.value,"setGravity",[e],e=>{})},setProgressWidth:function(e){L.callUIFunction(n.value,"setProgressWidth",[e],e=>{})},setProgressHeight:function(e){L.callUIFunction(n.value,"setProgressHeight",[e],e=>{})},setProgressRadius:function(e){L.callUIFunction(n.value,"setProgressRadius",[e],e=>{})},setProgressColor:function(e){L.callUIFunction(n.value,"setProgressColor",[e],e=>{})},setProgressDefaultColor:function(e){L.callUIFunction(n.value,"setProgressDefaultColor",[e],e=>{})},setProgressDrawable:function(e){L.callUIFunction(n.value,"setProgressDrawable",[e],e=>{})},setProgressDefaultDrawable:function(e){L.callUIFunction(n.value,"setProgressDefaultDrawable",[e],e=>{})},setProgressUrl:function(e){L.callUIFunction(n.value,"setProgressUrl",[e],e=>{})},setProgressDefaultUrl:function(e){L.callUIFunction(n.value,"setProgressDefaultUrl",[e],e=>{})},showIndicator:function(e){L.callUIFunction(n.value,"showIndicator",[e],e=>{})},showLeftIndicator:function(e){L.callUIFunction(n.value,"showLeftIndicator",[e],e=>{})},showRightIndicator:function(e){L.callUIFunction(n.value,"showRightIndicator",[e],e=>{})},setIndicatorShowMode:function(e){L.callUIFunction(n.value,"setIndicatorShowMode",[e],e=>{})},setLeftIndicatorShowMode:function(e){L.callUIFunction(n.value,"setLeftIndicatorShowMode",[e],e=>{})},setRightIndicatorShowMode:function(e){L.callUIFunction(n.value,"setRightIndicatorShowMode",[e],e=>{})},setIndicatorWidth:function(e){L.callUIFunction(n.value,"setIndicatorWidth",[e],e=>{})},setLeftIndicatorWidth:function(e){L.callUIFunction(n.value,"setLeftIndicatorWidth",[e],e=>{})},setRightIndicatorWidth:function(e){L.callUIFunction(n.value,"setRightIndicatorWidth",[e],e=>{})},setIndicatorHeight:function(e){L.callUIFunction(n.value,"setIndicatorHeight",[e],e=>{})},setLeftIndicatorHeight:function(e){L.callUIFunction(n.value,"setLeftIndicatorHeight",[e],e=>{})},setRightIndicatorHeight:function(e){L.callUIFunction(n.value,"setRightIndicatorHeight",[e],e=>{})},setIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextDecimalFormat",[e],e=>{})},setLeftIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextDecimalFormat",[e],e=>{})},setRightIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextDecimalFormat",[e],e=>{})},setIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextStringFormat",[e],e=>{})},setLeftIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextStringFormat",[e],e=>{})},setRightIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextStringFormat",[e],e=>{})},setIndicatorMargin:function(e){L.callUIFunction(n.value,"setIndicatorMargin",[e],e=>{})},setLeftIndicatorMargin:function(e){L.callUIFunction(n.value,"setLeftIndicatorMargin",[e],e=>{})},setRightIndicatorMargin:function(e){L.callUIFunction(n.value,"setRightIndicatorMargin",[e],e=>{})},setIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setIndicatorPaddingBottom",[e],e=>{})},setLeftIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingBottom",[e],e=>{})},setRightIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingBottom",[e],e=>{})},setIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setIndicatorPaddingTop",[e],e=>{})},setLeftIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingTop",[e],e=>{})},setRightIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingTop",[e],e=>{})},setIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setIndicatorPaddingLeft",[e],e=>{})},setLeftIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingLeft",[e],e=>{})},setRightIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingLeft",[e],e=>{})},setIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setIndicatorPaddingRight",[e],e=>{})},setLeftIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingRight",[e],e=>{})},setRightIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingRight",[e],e=>{})},setIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setIndicatorBackgroundColor",[e],e=>{})},setLeftIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorBackgroundColor",[e],e=>{})},setRightIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setRightIndicatorBackgroundColor",[e],e=>{})},setIndicatorRadius:function(e){L.callUIFunction(n.value,"setIndicatorRadius",[e],e=>{})},setLeftIndicatorRadius:function(e){L.callUIFunction(n.value,"setLeftIndicatorRadius",[e],e=>{})},setRightIndicatorRadius:function(e){L.callUIFunction(n.value,"setRightIndicatorRadius",[e],e=>{})},setIndicatorTextSize:function(e){L.callUIFunction(n.value,"setIndicatorTextSize",[e],e=>{})},setLeftIndicatorTextSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextSize",[e],e=>{})},setRightIndicatorTextSize:function(e){L.callUIFunction(n.value,"setRightIndicatorTextSize",[e],e=>{})},setIndicatorTextColor:function(e){L.callUIFunction(n.value,"setIndicatorTextColor",[e],e=>{})},setLeftIndicatorTextColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextColor",[e],e=>{})},setRightIndicatorTextColor:function(e){L.callUIFunction(n.value,"setRightIndicatorTextColor",[e],e=>{})},setIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setIndicatorArrowSize",[e],e=>{})},setLeftIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorArrowSize",[e],e=>{})},setRightIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setRightIndicatorArrowSize",[e],e=>{})},setIndicatorDrawable:function(e){L.callUIFunction(n.value,"setIndicatorDrawable",[e],e=>{})},setLeftIndicatorDrawable:function(e){L.callUIFunction(n.value,"setLeftIndicatorDrawable",[e],e=>{})},setRightIndicatorDrawable:function(e){L.callUIFunction(n.value,"setRightIndicatorDrawable",[e],e=>{})},setIndicatorUrl:function(e){L.callUIFunction(n.value,"setIndicatorUrl",[e],e=>{})},setLeftIndicatorUrl:function(e){L.callUIFunction(n.value,"setLeftIndicatorUrl",[e],e=>{})},setRightIndicatorUrl:function(e){L.callUIFunction(n.value,"setRightIndicatorUrl",[e],e=>{})},setThumbWidth:function(e){L.callUIFunction(n.value,"setThumbWidth",[e],e=>{})},setLeftThumbWidth:function(e){L.callUIFunction(n.value,"setLeftThumbWidth",[e],e=>{})},setRightThumbWidth:function(e){L.callUIFunction(n.value,"setRightThumbWidth",[e],e=>{})},setThumbHeight:function(e){L.callUIFunction(n.value,"setThumbHeight",[e],e=>{})},setLeftThumbHeight:function(e){L.callUIFunction(n.value,"setLeftThumbHeight",[e],e=>{})},setRightThumbHeight:function(e){L.callUIFunction(n.value,"setRightThumbHeight",[e],e=>{})},scaleThumb:function(){L.callUIFunction(n.value,"scaleThumb",[],e=>{})},scaleLeftThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},scaleRightThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},resetThumb:function(){L.callUIFunction(n.value,"resetThumb",[],e=>{})},resetLeftThumb:function(){L.callUIFunction(n.value,"resetLeftThumb",[],e=>{})},resetRightThumb:function(){L.callUIFunction(n.value,"resetRightThumb",[],e=>{})},setThumbScaleRatio:function(e){L.callUIFunction(n.value,"setThumbScaleRatio",[e],e=>{})},setLeftThumbScaleRatio:function(e){L.callUIFunction(n.value,"setLeftThumbScaleRatio",[e],e=>{})},setRightThumbScaleRatio:function(e){L.callUIFunction(n.value,"setRightThumbScaleRatio",[e],e=>{})},setThumbActivate:function(e){L.callUIFunction(n.value,"setThumbActivate",[e],e=>{})},setLeftThumbActivate:function(e){L.callUIFunction(n.value,"setLeftThumbActivate",[e],e=>{})},setRightThumbActivate:function(e){L.callUIFunction(n.value,"setRightThumbActivate",[e],e=>{})},setThumbDrawable:function(e){L.callUIFunction(n.value,"setThumbDrawable",[e],e=>{})},setLeftThumbDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbDrawable",[e],e=>{})},setRightThumbDrawable:function(e){L.callUIFunction(n.value,"setRightThumbDrawable",[e],e=>{})},setThumbUrl:function(e){L.callUIFunction(n.value,"setThumbUrl",[e],e=>{})},setLeftThumbUrl:function(e){L.callUIFunction(n.value,"setLeftThumbUrl",[e],e=>{})},setRightThumbUrl:function(e){L.callUIFunction(n.value,"setRightThumbUrl",[e],e=>{})},setThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setThumbInactivatedDrawable",[e],e=>{})},setLeftThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedDrawable",[e],e=>{})},setRightThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedDrawable",[e],e=>{})},setThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setThumbInactivatedUrl",[e],e=>{})},setLeftThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedUrl",[e],e=>{})},setRightThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedUrl",[e],e=>{})},setTickMarkMode:function(e){L.callUIFunction(n.value,"setTickMarkMode",[e],e=>{})},setTickMarkGravity:function(e){L.callUIFunction(n.value,"setTickMarkGravity",[e],e=>{})},setTickMarkLayoutGravity:function(e){L.callUIFunction(n.value,"setTickMarkLayoutGravity",[e],e=>{})},setTickMarkTextArray:function(e){L.callUIFunction(n.value,"setTickMarkTextArray",[e],e=>{})},setTickMarkTextMargin:function(e){L.callUIFunction(n.value,"setTickMarkTextMargin",[e],e=>{})},setTickMarkTextSize:function(e){L.callUIFunction(n.value,"setTickMarkTextSize",[e],e=>{})},setTickMarkTextColor:function(e){L.callUIFunction(n.value,"setTickMarkTextColor",[e],e=>{})},setTickMarkInRangeTextColor:function(e){L.callUIFunction(n.value,"setTickMarkInRangeTextColor",[e],e=>{})},setSteps:function(e){L.callUIFunction(n.value,"setSteps",[e],e=>{})},setStepsWidth:function(e){L.callUIFunction(n.value,"setStepsWidth",[e],e=>{})},setStepsHeight:function(e){L.callUIFunction(n.value,"setStepsHeight",[e],e=>{})},setStepsRadius:function(e){L.callUIFunction(n.value,"setStepsRadius",[e],e=>{})},setStepsColor:function(e){L.callUIFunction(n.value,"setStepsColor",[e],e=>{})},setStepsAutoBonding:function(e){L.callUIFunction(n.value,"setStepsAutoBonding",[e],e=>{})},setStepsDrawable:function(e){L.callUIFunction(n.value,"setStepsDrawable",[e],e=>{})},setStepsUrl:function(e){L.callUIFunction(n.value,"setStepsUrl",[e],e=>{})},setSecondProgress:function(e){L.callUIFunction(n.value,"setSecondProgress",[e],e=>{})},show:function(e){L.callUIFunction(n.value,"show",[e],e=>{})},setMaxProgress:d,...Dn(n)}),()=>R("TVSeekBarViewComponent",{ref:n,onFocus:e=>{o.value=e.isFocused,a.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{a.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",a)}(t),function(t){const a=za({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,a){const n=e();return a.expose({viewRef:n,invalidateProgressBar:function(){L.callUIFunction(n.value,"invalidateSeekBar",[],e=>{})},setFocusable:function(e){L.callUIFunction(n.value,"setFocusable",[e],e=>{})},setClickable:function(e){L.callUIFunction(n.value,"setClickable",[e],e=>{})},setVisible:function(e){L.callUIFunction(n.value,"setVisible",[e],e=>{})},setLeftSeekBarVisible:function(e){L.callUIFunction(n.value,"setLeftSeekBarVisible",[e],e=>{})},setRightSeekBarVisible:function(e){L.callUIFunction(n.value,"setRightSeekBarVisible",[e],e=>{})},setSeekBarMode:function(e){L.callUIFunction(n.value,"setSeekBarMode",[e],e=>{})},setProgress:function(e){L.callUIFunction(n.value,"setProgress",[e],e=>{})},setRangeProgress:function(e,t){L.callUIFunction(n.value,"setProgress",[e,t],e=>{})},getProgress:function(){L.callUIFunction(n.value,"getProgress",[],e=>{})},getLeftProgress:function(){L.callUIFunction(n.value,"getLeftProgress",[],e=>{})},getRightProgress:function(){L.callUIFunction(n.value,"getRightProgress",[],e=>{})},setRange:function(e,t,a){L.callUIFunction(n.value,"setRange",[e,t,a],e=>{})},setGravity:function(e){L.callUIFunction(n.value,"setGravity",[e],e=>{})},setProgressWidth:function(e){L.callUIFunction(n.value,"setProgressWidth",[e],e=>{})},setProgressHeight:function(e){L.callUIFunction(n.value,"setProgressHeight",[e],e=>{})},setProgressRadius:function(e){L.callUIFunction(n.value,"setProgressRadius",[e],e=>{})},setProgressColor:function(e){L.callUIFunction(n.value,"setProgressColor",[e],e=>{})},setProgressDefaultColor:function(e){L.callUIFunction(n.value,"setProgressDefaultColor",[e],e=>{})},setProgressDrawable:function(e){L.callUIFunction(n.value,"setProgressDrawable",[e],e=>{})},setProgressDefaultDrawable:function(e){L.callUIFunction(n.value,"setProgressDefaultDrawable",[e],e=>{})},setProgressUrl:function(e){L.callUIFunction(n.value,"setProgressUrl",[e],e=>{})},setProgressDefaultUrl:function(e){L.callUIFunction(n.value,"setProgressDefaultUrl",[e],e=>{})},showIndicator:function(e){L.callUIFunction(n.value,"showIndicator",[e],e=>{})},showLeftIndicator:function(e){L.callUIFunction(n.value,"showLeftIndicator",[e],e=>{})},showRightIndicator:function(e){L.callUIFunction(n.value,"showRightIndicator",[e],e=>{})},setIndicatorShowMode:function(e){L.callUIFunction(n.value,"setIndicatorShowMode",[e],e=>{})},setLeftIndicatorShowMode:function(e){L.callUIFunction(n.value,"setLeftIndicatorShowMode",[e],e=>{})},setRightIndicatorShowMode:function(e){L.callUIFunction(n.value,"setRightIndicatorShowMode",[e],e=>{})},setIndicatorWidth:function(e){L.callUIFunction(n.value,"setIndicatorWidth",[e],e=>{})},setLeftIndicatorWidth:function(e){L.callUIFunction(n.value,"setLeftIndicatorWidth",[e],e=>{})},setRightIndicatorWidth:function(e){L.callUIFunction(n.value,"setRightIndicatorWidth",[e],e=>{})},setIndicatorHeight:function(e){L.callUIFunction(n.value,"setIndicatorHeight",[e],e=>{})},setLeftIndicatorHeight:function(e){L.callUIFunction(n.value,"setLeftIndicatorHeight",[e],e=>{})},setRightIndicatorHeight:function(e){L.callUIFunction(n.value,"setRightIndicatorHeight",[e],e=>{})},setIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextDecimalFormat",[e],e=>{})},setLeftIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextDecimalFormat",[e],e=>{})},setRightIndicatorTextDecimalFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextDecimalFormat",[e],e=>{})},setIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setIndicatorTextStringFormat",[e],e=>{})},setLeftIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextStringFormat",[e],e=>{})},setRightIndicatorTextStringFormat:function(e){L.callUIFunction(n.value,"setRightIndicatorTextStringFormat",[e],e=>{})},setIndicatorMargin:function(e){L.callUIFunction(n.value,"setIndicatorMargin",[e],e=>{})},setLeftIndicatorMargin:function(e){L.callUIFunction(n.value,"setLeftIndicatorMargin",[e],e=>{})},setRightIndicatorMargin:function(e){L.callUIFunction(n.value,"setRightIndicatorMargin",[e],e=>{})},setIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setIndicatorPaddingBottom",[e],e=>{})},setLeftIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingBottom",[e],e=>{})},setRightIndicatorPaddingBottom:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingBottom",[e],e=>{})},setIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setIndicatorPaddingTop",[e],e=>{})},setLeftIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingTop",[e],e=>{})},setRightIndicatorPaddingTop:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingTop",[e],e=>{})},setIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setIndicatorPaddingLeft",[e],e=>{})},setLeftIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingLeft",[e],e=>{})},setRightIndicatorPaddingLeft:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingLeft",[e],e=>{})},setIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setIndicatorPaddingRight",[e],e=>{})},setLeftIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setLeftIndicatorPaddingRight",[e],e=>{})},setRightIndicatorPaddingRight:function(e){L.callUIFunction(n.value,"setRightIndicatorPaddingRight",[e],e=>{})},setIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setIndicatorBackgroundColor",[e],e=>{})},setLeftIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorBackgroundColor",[e],e=>{})},setRightIndicatorBackgroundColor:function(e){L.callUIFunction(n.value,"setRightIndicatorBackgroundColor",[e],e=>{})},setIndicatorRadius:function(e){L.callUIFunction(n.value,"setIndicatorRadius",[e],e=>{})},setLeftIndicatorRadius:function(e){L.callUIFunction(n.value,"setLeftIndicatorRadius",[e],e=>{})},setRightIndicatorRadius:function(e){L.callUIFunction(n.value,"setRightIndicatorRadius",[e],e=>{})},setIndicatorTextSize:function(e){L.callUIFunction(n.value,"setIndicatorTextSize",[e],e=>{})},setLeftIndicatorTextSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextSize",[e],e=>{})},setRightIndicatorTextSize:function(e){L.callUIFunction(n.value,"setRightIndicatorTextSize",[e],e=>{})},setIndicatorTextColor:function(e){L.callUIFunction(n.value,"setIndicatorTextColor",[e],e=>{})},setLeftIndicatorTextColor:function(e){L.callUIFunction(n.value,"setLeftIndicatorTextColor",[e],e=>{})},setRightIndicatorTextColor:function(e){L.callUIFunction(n.value,"setRightIndicatorTextColor",[e],e=>{})},setIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setIndicatorArrowSize",[e],e=>{})},setLeftIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setLeftIndicatorArrowSize",[e],e=>{})},setRightIndicatorArrowSize:function(e){L.callUIFunction(n.value,"setRightIndicatorArrowSize",[e],e=>{})},setIndicatorDrawable:function(e){L.callUIFunction(n.value,"setIndicatorDrawable",[e],e=>{})},setLeftIndicatorDrawable:function(e){L.callUIFunction(n.value,"setLeftIndicatorDrawable",[e],e=>{})},setRightIndicatorDrawable:function(e){L.callUIFunction(n.value,"setRightIndicatorDrawable",[e],e=>{})},setIndicatorUrl:function(e){L.callUIFunction(n.value,"setIndicatorUrl",[e],e=>{})},setLeftIndicatorUrl:function(e){L.callUIFunction(n.value,"setLeftIndicatorUrl",[e],e=>{})},setRightIndicatorUrl:function(e){L.callUIFunction(n.value,"setRightIndicatorUrl",[e],e=>{})},setThumbWidth:function(e){L.callUIFunction(n.value,"setThumbWidth",[e],e=>{})},setLeftThumbWidth:function(e){L.callUIFunction(n.value,"setLeftThumbWidth",[e],e=>{})},setRightThumbWidth:function(e){L.callUIFunction(n.value,"setRightThumbWidth",[e],e=>{})},setThumbHeight:function(e){L.callUIFunction(n.value,"setThumbHeight",[e],e=>{})},setLeftThumbHeight:function(e){L.callUIFunction(n.value,"setLeftThumbHeight",[e],e=>{})},setRightThumbHeight:function(e){L.callUIFunction(n.value,"setRightThumbHeight",[e],e=>{})},scaleThumb:function(){L.callUIFunction(n.value,"scaleThumb",[],e=>{})},scaleLeftThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},scaleRightThumb:function(){L.callUIFunction(n.value,"scaleLeftThumb",[],e=>{})},resetThumb:function(){L.callUIFunction(n.value,"resetThumb",[],e=>{})},resetLeftThumb:function(){L.callUIFunction(n.value,"resetLeftThumb",[],e=>{})},resetRightThumb:function(){L.callUIFunction(n.value,"resetRightThumb",[],e=>{})},setThumbScaleRatio:function(e){L.callUIFunction(n.value,"setThumbScaleRatio",[e],e=>{})},setLeftThumbScaleRatio:function(e){L.callUIFunction(n.value,"setLeftThumbScaleRatio",[e],e=>{})},setRightThumbScaleRatio:function(e){L.callUIFunction(n.value,"setRightThumbScaleRatio",[e],e=>{})},setThumbActivate:function(e){L.callUIFunction(n.value,"setThumbActivate",[e],e=>{})},setLeftThumbActivate:function(e){L.callUIFunction(n.value,"setLeftThumbActivate",[e],e=>{})},setRightThumbActivate:function(e){L.callUIFunction(n.value,"setRightThumbActivate",[e],e=>{})},setThumbDrawable:function(e){L.callUIFunction(n.value,"setThumbDrawable",[e],e=>{})},setLeftThumbDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbDrawable",[e],e=>{})},setRightThumbDrawable:function(e){L.callUIFunction(n.value,"setRightThumbDrawable",[e],e=>{})},setThumbUrl:function(e){L.callUIFunction(n.value,"setThumbUrl",[e],e=>{})},setLeftThumbUrl:function(e){L.callUIFunction(n.value,"setLeftThumbUrl",[e],e=>{})},setRightThumbUrl:function(e){L.callUIFunction(n.value,"setRightThumbUrl",[e],e=>{})},setThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setThumbInactivatedDrawable",[e],e=>{})},setLeftThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedDrawable",[e],e=>{})},setRightThumbInactivatedDrawable:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedDrawable",[e],e=>{})},setThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setThumbInactivatedUrl",[e],e=>{})},setLeftThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setLeftThumbInactivatedUrl",[e],e=>{})},setRightThumbInactivatedUrl:function(e){L.callUIFunction(n.value,"setRightThumbInactivatedUrl",[e],e=>{})},setTickMarkMode:function(e){L.callUIFunction(n.value,"setTickMarkMode",[e],e=>{})},setTickMarkGravity:function(e){L.callUIFunction(n.value,"setTickMarkGravity",[e],e=>{})},setTickMarkLayoutGravity:function(e){L.callUIFunction(n.value,"setTickMarkLayoutGravity",[e],e=>{})},setTickMarkTextArray:function(e){L.callUIFunction(n.value,"setTickMarkTextArray",[e],e=>{})},setTickMarkTextMargin:function(e){L.callUIFunction(n.value,"setTickMarkTextMargin",[e],e=>{})},setTickMarkTextSize:function(e){L.callUIFunction(n.value,"setTickMarkTextSize",[e],e=>{})},setTickMarkTextColor:function(e){L.callUIFunction(n.value,"setTickMarkTextColor",[e],e=>{})},setTickMarkInRangeTextColor:function(e){L.callUIFunction(n.value,"setTickMarkInRangeTextColor",[e],e=>{})},setSteps:function(e){L.callUIFunction(n.value,"setSteps",[e],e=>{})},setStepsWidth:function(e){L.callUIFunction(n.value,"setStepsWidth",[e],e=>{})},setStepsHeight:function(e){L.callUIFunction(n.value,"setStepsHeight",[e],e=>{})},setStepsRadius:function(e){L.callUIFunction(n.value,"setStepsRadius",[e],e=>{})},setStepsColor:function(e){L.callUIFunction(n.value,"setStepsColor",[e],e=>{})},setStepsAutoBonding:function(e){L.callUIFunction(n.value,"setStepsAutoBonding",[e],e=>{})},setStepsDrawable:function(e){L.callUIFunction(n.value,"setStepsDrawable",[e],e=>{})},setStepsUrl:function(e){L.callUIFunction(n.value,"setStepsUrl",[e],e=>{})},setSecondProgress:function(e){L.callUIFunction(n.value,"setSecondProgress",[e],e=>{})},show:function(e){L.callUIFunction(n.value,"show",[e],e=>{})},setMaxProgress:function(e){L.callUIFunction(n.value,"setMaxProgress",[e],e=>{})},...Dn(n)}),()=>R("TVProgressBarViewComponent",{ref:n,onFocus:e=>{a.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{a.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",a)}(t),function(t){t.component("qt-dialog",{setup(t,a){const n=e();return a.expose({viewRef:n,...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("Modal",{ref:n},e)}}})}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({viewRef:n,scrollTo:function(e,t){L.callUIFunction(n.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,a){L.callUIFunction(n.value,"scrollToWithOptions",[{x:e,y:t,duration:a}])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ScrollView",{ref:n},e)}}});t.component("qt-scroll-view",a)}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({setPackageName:function(e){L.callUIFunction(n.value,"setPackageName",[e],e=>{})},setRoundingRadius:function(e){L.callUIFunction(n.value,"setRoundingRadius",[e],e=>{})}}),()=>R("ESAppIconViewComponent",{ref:n})}});t.component("qt-app-icon",a)}(t),function(t){const a=l({emits:["onPluginLoadSuccess","onPluginLoadError"],setup(t,a){const n=e(),o=O().getESSDKVersionCode()>=M.ES_SDK_VERSION_29?"ESPluginViewComponent":"div";return a.expose({dispatchFunction:(e,t)=>new Promise(a=>{L.callUIFunction(n.value,e,t,e=>{a(e)})})}),()=>R(o,{ref:n,onPluginLoadSuccess:e=>{a.emit("onPluginLoadSuccess",{sid:e.sid})},onPluginLoadError:e=>{a.emit("onPluginLoadError",{sid:e.sid,errorCode:e.errorCode,errorMessage:e.errorMessage})}})}});t.component("qt-plugin-view",a)}(t),function(t){const a=l({setup(t,a){const n=e();return a.expose({viewRef:n,setChildSID:function(e){L.callUIFunction(n.value,"setChildSID",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("ReplaceChildView",{ref:n},e)}}});t.component("qt-replace-child",a)}(t),function(t){C("CanvasView2D",{component:{name:"CanvasView2D"}});const a={setup(t,a){const n=e();return a.expose({viewRef:n,destroyView:()=>{L.callUIFunction(n.value,"destoryView",[])},drawAction:e=>{L.callUIFunction(n.value,"drawAction",[e])},drawFinish:()=>{L.callUIFunction(n.value,"drawAction",[])},fillStyle:e=>{let t="";if("linear"===e.type){t="AC"+e.start_pos.x.toFixed(2)+","+e.start_pos.y.toFixed(2)+","+e.end_pos.x.toFixed(2)+","+e.end_pos.y.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else if(e&&"radial"===e.type){const a=e.start_pos,n=e.end_pos;t="AD"+a.x.toFixed(2)+","+a.y.toFixed(2)+","+a.r.toFixed(2)+","+n.x.toFixed(2)+","+n.y.toFixed(2)+","+n.r.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else"string"==typeof e&&(t=e);L.callUIFunction(n.value,"fillStyle",[t])},fillRect:(e,t,a,o)=>{L.callUIFunction(n.value,"fillRect",[e,t,a,o])},rec:(e,t,a,o)=>{L.callUIFunction(n.value,"rec",[e,t,a,o])},strokeStyle:e=>{let t="";if("object"==typeof e&&"linear"===e.type){t="NC"+e.start_pos.x.toFixed(2)+","+e.start_pos.y.toFixed(2)+","+e.end_pos.x.toFixed(2)+","+e.end_pos.y.toFixed(2);for(let a=0;a<e.stop_count;++a)t+=","+e.stops[a].pos+","+e.stops[a].color}else"string"==typeof e&&(t=e);L.callUIFunction(n.value,"strokeStyle",[t])},strokeRect:(e,t,a,o)=>{L.callUIFunction(n.value,"strokeRect",[e,t,a,o])},clearRect:(e,t,a,o)=>{L.callUIFunction(n.value,"clearRect",[e,t,a,o])},shadowBlur:e=>{L.callUIFunction(n.value,"shadowBlur",[e])},shadowColor:e=>{L.callUIFunction(n.value,"shadowColor",[e])},shadowOffsetX:e=>{L.callUIFunction(n.value,"shadowOffsetX",[e])},shadowOffsetY:e=>{L.callUIFunction(n.value,"shadowOffsetY",[e])},lineDashOffset:e=>{L.callUIFunction(n.value,"lineDashOffset",[e])},lineWidth:e=>{L.callUIFunction(n.value,"lineWidth",[e])},setLineDash:(e,t)=>{L.callUIFunction(n.value,"setLineDash",[e,t])},textBaseline:e=>{L.callUIFunction(n.value,"textBaseline",[e])},textAlign:e=>{L.callUIFunction(n.value,"textAlign",[e])},fillText:(e,t,a)=>{L.callUIFunction(n.value,"fillText",[e,t,a])},strokeText:(e,t,a)=>{L.callUIFunction(n.value,"strokeText",[e,t,a])},font:e=>{L.callUIFunction(n.value,"font",[e])},beginPath:()=>{L.callUIFunction(n.value,"beginPath",[])},moveTo:(e,t)=>{L.callUIFunction(n.value,"moveTo",[e,t])},arc:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"arc",[e,t,a,o,i,l])},clip:()=>{L.callUIFunction(n.value,"clip",[])},lineTo:(e,t)=>{L.callUIFunction(n.value,"lineTo",[e,t])},closePath:()=>{L.callUIFunction(n.value,"closePath",[])},stroke:()=>{L.callUIFunction(n.value,"stroke",[])},fill:()=>{L.callUIFunction(n.value,"fill",[])},save:()=>{L.callUIFunction(n.value,"save",[])},restore:()=>{L.callUIFunction(n.value,"restore",[])},lineCap:e=>{L.callUIFunction(n.value,"lineCap",[e])},lineJoin:e=>{L.callUIFunction(n.value,"lineJoin",[e])},quadraticCurveTo:(e,t,a,o)=>{L.callUIFunction(n.value,"quadraticCurveTo",[e,t,a,o])},bezierCurveTo:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"bezierCurveTo",[e,t,a,o,i,l])},globalAlpha:e=>{L.callUIFunction(n.value,"globalAlpha",[e])},globalCompositeOperation:e=>{L.callUIFunction(n.value,"globalCompositeOperation",[e])},translate:(e,t)=>{L.callUIFunction(n.value,"translate",[e,t])},rotate:e=>{L.callUIFunction(n.value,"rotate",[e])},scale:(e,t)=>{L.callUIFunction(n.value,"scale",[e,t])},transform:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"transform",[e,t,a,o,i,l])},setTransform:(e,t,a,o,i,l)=>{L.callUIFunction(n.value,"setTransform",[e,t,a,o,i,l])},drawImage:(e,t,a)=>{L.callUIFunction(n.value,"drawImage",[e,t,a])},drawImageWithWH:(e,t,a,o,i)=>{L.callUIFunction(n.value,"drawImage",[e,t,a,o,i])},drawImageSlice:(e,t,a,o,i,l,c,s,r)=>{L.callUIFunction(n.value,"drawImage",[e,t,a,o,i,l,c,s,r])},setVersion:e=>{L.callUIFunction(n.value,"setVersion",[e])},setCurrentDensity:e=>{L.callUIFunction(n.value,"setCurrentDensity",[e])},...Dn(n)}),()=>{const e=a.slots.default&&a.slots.default();return R("CanvasView2D",{ref:n},e)}}};t.component("qt-canvas-view",a)}(t),function(t){C("ESLongImageViewComponent",{component:{name:"ESLongImageViewComponent",processEventData(e,t){const{handler:a,__evt:n}=e;switch(n){case"onImageDownLoadChange":a.fileId=t.fileId,a.width=t.width,a.height=t.height,a.mimeType=t.mimeType,a.status=t.status,a.progress=t.progress,a.message=t.message;break;case"onImageLoadStatusChange":a.fileId=t.fileId,a.status=t.status,a.message=t.message,a.isGif=t.isGif,a.width=t.width,a.height=t.height,a.scale=t.scale,a.minScale=t.minScale,a.maxScale=t.maxScale;break;case"onScroll":a.fileId=t.fileId,a.width=t.width,a.height=t.height,a.direction=t.direction,a.percent=t.scrollProgressIndicator,a.isScroll=t.isScrollEdge;break;case"onShow":a.fileId=t.fileId,a.isScroll=t.isScroll;break;case"onScaleChanged":a.fileId=t.fileId,a.scale=t.scale,a.origin=t.origin;break;case"onCenterChanged":a.fileId=t.fileId,a.x=t.x,a.y=t.y,a.origin=t.origin}return a}}}),t.component("qt-long-image-view",{setup(t,a){const n=e();return a.expose({viewRef:n,setSrc:(e,t="")=>{console.log("----------setSrc---------\x3e>>>",e),L.callUIFunction(n.value,"setImageUrl",[e,t])},setInitScale:(e,t=0)=>{L.callUIFunction(n.value,"setInitScale",[e,t])},setInitPosition:e=>{L.callUIFunction(n.value,"setInitPosition",[e])},setInitCenter:(e,t)=>{L.callUIFunction(n.value,"setInitCenter",[e,t])},setInitOrientation:e=>{L.callUIFunction(n.value,"setInitOrientation",[e])},zoom:(e,t=0)=>{L.callUIFunction(n.value,"zoom",[e,t])},zoomByPoint:(e,t=0,a=0,o=0)=>{L.callUIFunction(n.value,"zoomByPoint",[e,t,a,o])},zoomByCenter:(e,t=0)=>{L.callUIFunction(n.value,"zoomByCenter",[e,t])},scrollDown:(e=200)=>{console.log("----------scrollDown---------\x3e>>>",e),L.callUIFunction(n.value,"actionDown",[e])},scrollUp:(e=200)=>{console.log("----------scrollUp---------\x3e>>>",e),L.callUIFunction(n.value,"actionUp",[e])},scrollLeft:(e=200)=>{console.log("----------scrollLeft---------\x3e>>>",e),L.callUIFunction(n.value,"actionLeft",[e])},scrollRight:(e=200)=>{console.log("----------scrollRight---------\x3e>>>",e),L.callUIFunction(n.value,"actionRight",[e])},scrollTo:(e,t)=>{L.callUIFunction(n.value,"scrollToPosition",[e,t])},rotate:e=>{L.callUIFunction(n.value,"rotate",[e])},setScaleByAnimal:e=>{L.callUIFunction(n.value,"setScaleByAnimal",[e])},setDebug:e=>{L.callUIFunction(n.value,"setDebug",[e])},enableHDR:e=>{L.callUIFunction(n.value,"enableHDR",[e])},setDefaultHDR:e=>{L.callUIFunction(n.value,"setDefaultHDR",[e])},setSaturation:e=>{L.callUIFunction(n.value,"setSaturation",[e])},setContrast:e=>{L.callUIFunction(n.value,"setContrast",[e])},setBrightness:e=>{L.callUIFunction(n.value,"setBrightness",[e])},setWarmth:e=>{L.callUIFunction(n.value,"setWarmth",[e])},setOverlayAlpha:e=>{L.callUIFunction(n.value,"setOverlayAlpha",[e])},isHDR:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"isHDR",[],t=>{e(t)})}),getSaturation:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getSaturation",[],t=>{e(t)})}),getContrast:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getContrast",[],t=>{e(t)})}),getBrightness:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getBrightness",[],t=>{e(t)})}),getWarmth:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getWarmth",[],t=>{e(t)})}),getOverlayAlpha:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"getOverlayAlpha",[],t=>{e(t)})}),...Dn(n)}),()=>R("ESLongImageViewComponent",{ref:n,onImageDownLoadChange:e=>{const t=e.width,n=e.height,o=e.status,i=e.message,l=e.progress,c=e.fileId,s=e.mimeType;console.log("---------onImageDownLoadChange-------------\x3e>>>",o,l,i,t,n,c,s);const r={fileId:c,status:o,message:i,progress:l,width:t,height:n,mimeType:s};a.emit("onDownLoad",r)},onImageLoadStatusChange:e=>{const t=e.fileId,n=e.status,o=e.message,i=e.isGif,l=e.width,c=e.height,s=e.scale,r=e.minScale,u=e.maxScale;console.log("---------onImageLoadStatusChange-------------\x3e>>>",t,n,o,i,l,c,s,r,u);const d={fileId:t,status:n,message:o,isGif:i,width:l,height:c,scale:s,minScale:r,maxScale:u};a.emit("onImageLoad",d)},onScroll:e=>{const t=e.fileId,n=e.width,o=e.height,i={fileId:t,direction:e.direction,percent:e.percent,isScroll:e.isScroll,width:n,height:o};a.emit("onScroll",i)},onShow:e=>{const t=e.isScroll,n={fileId:e.fileId,scrollable:t};a.emit("onRendered",n)},onScaleChanged:e=>{const t={fileId:e.fileId,scale:e.scale,origin:e.origin};a.emit("onScaleChanged",t)},onCenterChanged:e=>{const t={fileId:e.fileId,scale:e.scale,origin:e.origin,x:e.x,y:e.y};a.emit("onCenterChanged",t)}})}})}(t),function(t){C("ESFileBrowseComponent",{component:{name:"ESFileBrowseComponent",processEventData(e,t){const{handler:a,__evt:n}=e;return a}}}),t.component("qt-file-browse-view",{setup(t,a){const n=e();return a.expose({viewRef:n,init:()=>new Promise((e,t)=>{L.callUIFunction(n.value,"init",[],(a,n)=>{a?t(a):e(n)})}),canOpenFile:e=>L.callUIFunction(n.value,"canOpenFile",[e]),openFile:(e,t)=>{L.callUIFunction(n.value,"openFile",[e,t])},closeFile:()=>{L.callUIFunction(n.value,"closeFile",[])},useCustomView:e=>{L.callUIFunction(n.value,"useCustomView",[e])},...Dn(n)}),()=>R("ESFileBrowseComponent",{ref:n})}})}(t);for(let e in dc)t.component(dc[e].name,dc[e]);const a=Dl();global.qt=a};export{uc as CanvasGradient,ic as LongImageScrollDirection,lc as LongImageStatus,Xi as QTAnimationInterpolatorType,el as QTAnimationPropertyName,al as QTAnimationRepeatMode,tl as QTAnimationType,nl as QTAnimationValueType,Ji as QTAnimatorRelationType,wl as QTDescendantFocusability,xl as QTFocusDescendant,kl as QTFocusDirection,Ol as QTFocusDirectionName,tc as QTGradientOrientation,ac as QTGradientShape,nc as QTGradientType,Bl as QTIViewVisibility,Wl as QTImageResizeMode,rc as QTLongImageOrientation,sc as QTLongImagePositionType,cc as QTLongImageScaleType,ec as QTLottieAsyncUpdates,Xl as QTLottieRepeatMode,ji as QTMediaSeriesStyleType,Hi as QTMediaSeriesType,ql as QTNavBarItemType,Vl as QTScrollState,Hl as QTSeekBarGravity,jl as QTSeekBarIndicatorMode,Yl as QTSeekBarMode,Zl as QTSeekBarTickMarkGravity,Jl as QTSeekBarTickMarkLayoutGravity,Kl as QTSeekBarTickMarkMode,zl as QTTabItemType,bi as QTTabPageState,Ml as QTTextSpanAttributeType,Gl as QTVisibility,Ko as QTWaterfallItemType,jo as QTWaterfallSectionType,Fi as QTWaterfallVisibleType,$l as QTWebViewLayerType,Ql as QTX5WebViewLayerType,fc as QuickTVUI,Il as SeriesStyleType,oc as VirtualView,Sl as arrangeChildren4ListView,_o as parseChildUpdate,yo as qtDiff,Lo as qtGetParent,xo as qtRef,ko as qtTabsRef,Po as qtWatchAll};
|