@quicktvui/quicktvui3 1.1.10 → 1.1.11
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.js +2 -2
- package/dist/src/grid-view/index.vue.d.ts +15 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as T,Fragment as p,createVNode as I,createElementVNode as m,pushScopeId as _,popScopeId as g,reactive as v,watch as h,onMounted as S,nextTick as F,renderList as E,resolveDynamicComponent as b,h as A}from"vue";import{Native as y}from"@extscreen/es3-vue";import{useESLog as R,ESLogLevel as P,useES as N,useESDisplay as U}from"@extscreen/es3-core";function L(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const x="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},O=/^on[^a-z]/,C=e=>O.test(e),k=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},M=Object.prototype.hasOwnProperty,B=(e,t)=>M.call(e,t),Q=Array.isArray,$=e=>"[object Map]"===j(e),G=e=>"[object Set]"===j(e),V=e=>"function"==typeof e,W=e=>"string"==typeof e,Y=e=>"symbol"==typeof e,z=e=>null!==e&&"object"==typeof e,q=e=>(z(e)||V(e))&&V(e.then)&&V(e.catch),H=Object.prototype.toString,j=e=>H.call(e),K=e=>j(e).slice(8,-1),X=e=>"[object Object]"===j(e),Z=e=>W(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,J=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=(e,t)=>!Object.is(e,t),te=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ne;const oe=()=>ne||(ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ae(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=W(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}if(W(e)||z(e))return e}const ie=/;(?![^(]*\))/g,le=/:([^]+)/,ce=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(ce,"").split(ie).forEach((e=>{if(e){const n=e.split(le);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ue(e){let t="";if(W(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let de;const fe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Te=e=>(e.w&_e)>0,pe=e=>(e.n&_e)>0,Ie=new WeakMap;let me=0,_e=1;const ge=30;let ve;const he=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Se=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Fe{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=de){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=ve,t=be;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ve,ve=this,be=!0,_e=1<<++me,me<=ge?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=_e})(this):Ee(this),this.fn()}finally{me<=ge&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Te(a)&&!pe(a)?a.delete(e):t[n++]=a,a.w&=~_e,a.n&=~_e}t.length=n}})(this),_e=1<<--me,ve=this.parent,be=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ve===this?this.deferStop=!0:this.active&&(Ee(this),this.onStop&&this.onStop(),this.active=!1)}}function Ee(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let be=!0;const Ae=[];function ye(){Ae.push(be),be=!1}function Re(){const e=Ae.pop();be=void 0===e||e}function Pe(e,t,n){if(be&&ve){let o=Ie.get(e);o||Ie.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;me<=ge?pe(e)||(e.n|=_e,n=!Te(e)):n=!e.has(ve);n&&(e.add(ve),ve.deps.push(e),"production"!==process.env.NODE_ENV&&ve.onTrack&&ve.onTrack(k({effect:ve},t)))}(a,"production"!==process.env.NODE_ENV?{effect:ve,target:e,type:t,key:n}:void 0)}}function Ne(e,t,n,o,a,i){const l=Ie.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&Q(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!Y(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":Q(e)?Z(n)&&c.push(l.get("length")):(c.push(l.get(he)),$(e)&&c.push(l.get(Se)));break;case"delete":Q(e)||(c.push(l.get(he)),$(e)&&c.push(l.get(Se)));break;case"set":$(e)&&c.push(l.get(he))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Ue(c[0],s):Ue(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Ue(fe(e),s):Ue(fe(e))}}function Ue(e,t){const n=Q(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==ve||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(k({effect:e},t)),e.scheduler?e.scheduler():e.run())}const xe=L("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Y)),Oe=Ce();function Ce(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Et(this);for(let e=0,t=this.length;e<t;e++)Pe(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Et)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ye();const n=Et(this)[t].apply(this,e);return Re(),n}})),e}function ke(e){const t=Et(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class we{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t&&n===(o?a?pt:Tt:a?ft:dt).get(e))return e;const i=Q(e);if(!o){if(i&&B(Oe,t))return Reflect.get(Oe,t,n);if("hasOwnProperty"===t)return ke}const l=Reflect.get(e,t,n);return(Y(t)?De.has(t):xe(t))?l:(o||Pe(e,"get",t),a?l:yt(l)?i&&Z(t)?l:l.value:z(l)?o?mt(l):It(l):l)}}class Me extends we{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(ht(a)&&yt(a)&&!yt(n))return!1;if(!this._shallow&&(St(n)||ht(n)||(a=Et(a),n=Et(n)),!Q(e)&&yt(a)&&!yt(n)))return a.value=n,!0;const i=Q(e)&&Z(t)?Number(t)<e.length:B(e,t),l=Reflect.set(e,t,n,o);return e===Et(o)&&(i?ee(n,a)&&Ne(e,"set",t,n,a):Ne(e,"add",t,n)),l}deleteProperty(e,t){const n=B(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ne(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return Y(t)&&De.has(t)||Pe(e,"has",t),n}ownKeys(e){return Pe(e,"iterate",Q(e)?"length":he),Reflect.ownKeys(e)}}class Be extends we{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Qe=new Me,$e=new Be,Ge=new Be(!0),Ve=e=>e,We=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n=!1,o=!1){const a=Et(e=e.__v_raw),i=Et(t);n||(ee(t,i)&&Pe(a,"get",t),Pe(a,"get",i));const{has:l}=We(a),c=o?Ve:n?At:bt;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function ze(e,t=!1){const n=this.__v_raw,o=Et(n),a=Et(e);return t||(ee(e,a)&&Pe(o,"has",e),Pe(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Pe(Et(e),"iterate",he),Reflect.get(e,"size",e)}function He(e){e=Et(e);const t=Et(this);return We(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function je(e,t){t=Et(t);const n=Et(this),{has:o,get:a}=We(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&rt(n,o,e):(e=Et(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?ee(t,l)&&Ne(n,"set",e,t,l):Ne(n,"add",e,t),this}function Ke(e){const t=Et(this),{has:n,get:o}=We(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&rt(t,n,e):(e=Et(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ne(t,"delete",e,void 0,i),l}function Xe(){const e=Et(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?$(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ne(e,"clear",void 0,void 0,n),o}function Ze(e,t){return function(n,o){const a=this,i=a.__v_raw,l=Et(i),c=t?Ve:e?At:bt;return!e&&Pe(l,"iterate",he),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Je(e,t,n){return function(...o){const a=this.__v_raw,i=Et(a),l=$(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Ve:t?At:bt;return!t&&Pe(i,"iterate",s?Se:he),{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}}}}function et(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${J(e)} operation ${n}failed: target is readonly.`,Et(this))}return"delete"!==e&&this}}function tt(){const e={get(e){return Ye(this,e)},get size(){return qe(this)},has:ze,add:He,set:je,delete:Ke,clear:Xe,forEach:Ze(!1,!1)},t={get(e){return Ye(this,e,!1,!0)},get size(){return qe(this)},has:ze,add:He,set:je,delete:Ke,clear:Xe,forEach:Ze(!1,!0)},n={get(e){return Ye(this,e,!0)},get size(){return qe(this,!0)},has(e){return ze.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Ze(!0,!1)},o={get(e){return Ye(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return ze.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Ze(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Je(a,!1,!1),n[a]=Je(a,!0,!1),t[a]=Je(a,!1,!0),o[a]=Je(a,!0,!0)})),[e,n,t,o]}const[nt,ot,at,it]=tt();function lt(e,t){const n=t?e?it:at:e?ot:nt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(B(n,o)&&o in t?n:t,o,a)}const ct={get:lt(!1,!1)},st={get:lt(!0,!1)},ut={get:lt(!0,!0)};function rt(e,t,n){const o=Et(n);if(o!==n&&t.call(e,o)){const t=K(e);console.warn(`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 dt=new WeakMap,ft=new WeakMap,Tt=new WeakMap,pt=new WeakMap;function It(e){return ht(e)?e:gt(e,!1,Qe,ct,dt)}function mt(e){return gt(e,!0,$e,st,Tt)}function _t(e){return gt(e,!0,Ge,ut,pt)}function gt(e,t,n,o,a){if(!z(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(K(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function vt(e){return ht(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function ht(e){return!(!e||!e.__v_isReadonly)}function St(e){return!(!e||!e.__v_isShallow)}function Ft(e){return vt(e)||ht(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}const bt=e=>z(e)?It(e):e,At=e=>z(e)?mt(e):e;function yt(e){return!(!e||!0!==e.__v_isRef)}const Rt={get:(e,t,n)=>{return yt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return yt(a)&&!yt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Pt=[];function Nt(e,...t){if("production"===process.env.NODE_ENV)return;ye();const n=Pt.length?Pt[Pt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Pt[Pt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Dt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Kn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Kn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ut(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Re()}function Ut(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return W(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:yt(t)?(t=Lt(e,Et(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Et(t),n?t:[`${e}=`,t])}const xt={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. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Dt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Ct(e,t,n)}return a}function Ot(e,t,n,o){if(V(e)){const a=Dt(e,t,n,o);return a&&q(a)&&a.catch((e=>{Ct(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(Ot(e[i],t,n,o));return a}function Ct(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?xt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void Dt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=xt[t];if(n&&(a=n,Pt.push(a)),Nt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Pt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let kt=!1,wt=!1;const Mt=[];let Bt=0;const Qt=[];let $t=null,Gt=0;const Vt=Promise.resolve();let Wt=null;const Yt=100;function zt(e){const t=Wt||Vt;return e?t.then(this?e.bind(this):e):t}function qt(e){Mt.length&&Mt.includes(e,kt&&e.allowRecurse?Bt+1:Bt)||(null==e.id?Mt.push(e):Mt.splice(function(e){let t=Bt+1,n=Mt.length;for(;t<n;){const o=t+n>>>1,a=Mt[o],i=Kt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Ht())}function Ht(){kt||wt||(wt=!0,Wt=Vt.then(Zt))}function jt(e){Q(e)?Qt.push(...e):$t&&$t.includes(e,e.allowRecurse?Gt+1:Gt)||Qt.push(e),Ht()}const Kt=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Kt(e)-Kt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zt(e){wt=!1,kt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Mt.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>Jt(e,t):D;try{for(Bt=0;Bt<Mt.length;Bt++){const e=Mt[Bt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Dt(e,null,14)}}}finally{Bt=0,Mt.length=0,function(e){if(Qt.length){const t=[...new Set(Qt)];if(Qt.length=0,$t)return void $t.push(...t);for($t=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(((e,t)=>Kt(e)-Kt(t))),Gt=0;Gt<$t.length;Gt++)"production"!==process.env.NODE_ENV&&Jt(e,$t[Gt])||$t[Gt]();$t=null,Gt=0}}(e),kt=!1,Wt=null,(Mt.length||Qt.length)&&Zt(e)}}function Jt(e,t){if(e.has(t)){const n=e.get(t);if(n>Yt){const e=t.ownerInstance,n=e&&jn(e.type);return Nt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. 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.`),!0}e.set(t,n+1)}else e.set(t,1)}const en=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:an((function(e,t){if(tn.has(e))return!1;return tn.set(e,{initialDef:nn(t),instances:new Set}),!0})),rerender:an((function(e,t){const n=tn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,nn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:an((function(e,t){const n=tn.get(e);if(!n)return;t=nn(t),on(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=nn(e.type);en.has(o)||(o!==n.initialDef&&on(o,t),en.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(en.add(o),e.ceReload(t.styles),en.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}jt((()=>{for(const e of o)en.delete(nn(e.type))}))}))});const tn=new Map;function nn(e){return Xn(e)?e.__vccOpts:e}function on(e,t){k(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function an(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ln=null,cn=null;const sn=Symbol.for("v-ndc");const un={};function rn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=x){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Nt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Nt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Nt("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=de===(null==(c=Vn)?void 0:c.scope)?Vn:null;let r,d,f=!1,T=!1;if(yt(e)?(r=()=>e.value,f=St(e)):vt(e)?(r=()=>e,o=!0):Q(e)?(T=!0,f=e.some((e=>vt(e)||St(e))),r=()=>e.map((e=>yt(e)?e.value:vt(e)?fn(e):V(e)?Dt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):V(e)?r=t?()=>Dt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),Ot(e,u,3,[p])}:(r=D,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>fn(e())}let p=e=>{d=g.onStop=()=>{Dt(e,u,4)}},I=T?new Array(e.length).fill(un):un;const m=()=>{if(g.active)if(t){const e=g.run();(o||f||(T?e.some(((e,t)=>ee(e,I[t]))):ee(e,I)))&&(d&&d(),Ot(t,u,3,[e,I===un?void 0:T&&I[0]===un?[]:I,p]),I=e)}else g.run()};let _;m.allowRecurse=!!t,"sync"===a?_=m:"post"===a?_=()=>Rn(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),_=()=>qt(m));const g=new Fe(r,_);"production"!==process.env.NODE_ENV&&(g.onTrack=i,g.onTrigger=l),t?n?m():I=g.run():"post"===a?Rn(g.run.bind(g),u&&u.suspense):g.run();return()=>{g.stop(),u&&u.scope&&w(u.scope.effects,g)}}function dn(e,t,n){const o=this.proxy,a=W(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let i;V(t)?i=t:(i=t.handler,n=t);const l=Vn;Yn(this);const c=rn(a,i.bind(o),n);return l?Yn(l):zn(),c}function fn(e,t){if(!z(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),yt(e))fn(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(G(e)||$(e))e.forEach((e=>{fn(e,t)}));else if(X(e))for(const n in e)fn(e[n],t);return e}
|
|
2
|
-
/*! #__NO_SIDE_EFFECTS__ */function Tn(e,t){return V(e)?(()=>k({name:e.name},t,{setup:e}))():e}const pn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,te(n,"__v_skip",!0),vt(t=n)?t:new Proxy(t,Rt)),{get:(t,n)=>n in t?t[n]:n in In?In[n](e):void 0,has:(e,t)=>t in e||t in In}));var t;var n}(e)||e.proxy:pn(e.parent):null,In=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?_t(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?_t(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?_t(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?_t(e.refs):e.refs,$parent:e=>pn(e.parent),$root:e=>pn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>hn(s,e,l,!0))),hn(s,t,l)):s=t;z(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=zt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):D}),mn=(e,t)=>e!==x&&!e.__isScriptSetup&&B(e,t),_n={get({_:e},t){const{ctx:n,setupState:o,data:a,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 o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(mn(o,t))return l[t]=1,o[t];if(a!==x&&B(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&B(u,t))return l[t]=3,i[t];if(n!==x&&B(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!vn||(l[t]=0)}}const r=In[t];let d,f;return r?("$attrs"===t?(Pe(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Pe(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==x&&B(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,B(f,t)?f[t]:void("production"===process.env.NODE_ENV||!ln||W(t)&&0===t.indexOf("__v")||(a!==x&&(e=>"_"===e||"$"===e)(t[0])&&B(a,t)?Nt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ln&&Nt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return mn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&B(a,t)?(Nt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==x&&B(o,t)?(o[t]=n,!0):B(e.props,t)?("production"!==process.env.NODE_ENV&&Nt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Nt(`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:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==x&&B(e,l)||mn(t,l)||(c=i[0])&&B(c,l)||B(o,l)||B(In,l)||B(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gn(e){return Q(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(_n.ownKeys=e=>(Nt("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 vn=!0;function hn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&hn(e,i,n,!0),a&&a.forEach((t=>hn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Nt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Sn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Sn={data:Fn,props:yn,emits:yn,methods:An,computed:An,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:An,directives:An,watch:function(e,t){if(!e)return t;if(!t)return e;const n=k(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Fn,inject:function(e,t){return An(En(e),En(t))}};function Fn(e,t){return t?e?function(){return k(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function En(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function An(e,t){return e?k(Object.create(null),e,t):t}function yn(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:k(Object.create(null),gn(e),gn(null!=t?t:{})):t}const Rn=function(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):jt(e)},Pn=Symbol.for("v-fgt"),Nn=Symbol.for("v-txt"),Un=Symbol.for("v-cmt");let Ln=null;const xn="__vInternal",Dn=({key:e})=>null!=e?e:null,On=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?W(e)||yt(e)||V(e)?{i:ln,r:e,k:t,f:!!n}:e:null);const Cn="production"!==process.env.NODE_ENV?(...e)=>kn(...e):kn;function kn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==sn||("production"===process.env.NODE_ENV||e||Nt(`Invalid vnode type when creating vnode: ${e}.`),e=Un),(l=e)&&!0===l.__v_isVNode){const o=wn(e,t,!0);return n&&Qn(o,n),!i&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var l;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ft(e)||xn in e?k({},e):e:null}(t);let{class:e,style:n}=t;e&&!W(e)&&(t.class=ue(e)),z(n)&&(Ft(n)&&!Q(n)&&(n=k({},n)),t.style=ae(n))}const c=W(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:z(e)?4:V(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&Ft(e)&&Nt("Vue received a Component which 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=Et(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Pn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dn(t),ref:t&&On(t),scopeId:cn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ln};return c?(Qn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=W(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Nt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Ln&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Ln.push(s),s}(e,t,n,o,a,c,i,!0)}function wn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ue([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(C(e)){const n=t[e],a=o[e];!a||n===a||Q(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Dn(c),ref:t&&t.ref?n&&a?Q(a)?a.concat(On(t)):[a,On(t)]:On(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&Q(l)?l.map(Mn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pn?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mn(e){const t=wn(e);return Q(e.children)&&(t.children=e.children.map(Mn)),t}function Bn(e=" ",t=0){return Cn(Nn,null,e,t)}function Qn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Q(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Qn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||xn in t?3===o&&ln&&(1===ln.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ln}}else V(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),64&o?(n=16,t=[Bn(t)]):n=8);e.children=t,e.shapeFlag|=n}let $n,Gn,Vn=null,Wn="__VUE_INSTANCE_SETTERS__";(Gn=oe()[Wn])||(Gn=oe()[Wn]=[]),Gn.push((e=>Vn=e)),$n=e=>{Gn.length>1?Gn.forEach((t=>t(e))):Gn[0](e)};const Yn=e=>{$n(e),e.scope.on()},zn=()=>{Vn&&Vn.scope.off(),$n(null)};const qn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Xn(e){return V(e)&&"__vccOpts"in e}function Zn(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&y.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&y.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&y.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&y.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&y.callUIFunction(e.value,"changeVisibility",[t])}}}var Jn=Tn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const eo={clipChildren:!1,ref:"viewRef"};Jn.render=function(e,a,i,l,c,s){return t(),n("div",eo,[o(e.$slots,"default")],512)},Jn.__file="src/view/index.vue";var to=Tn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});to.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u,{ref:"viewRef"},null,512)},to.__file="src/text/index.vue";var no=Tn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const oo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};no.render=function(e,o,a,i,l,c){return t(),n("img",oo,null,512)},no.__file="src/image/index.vue";var ao=Tn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const io={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};ao.render=function(e,a,i,l,c,s){return t(),n("div",io,[o(e.$slots,"default")],512)},ao.__scopeId="data-v-734c04b2",ao.__file="src/column/index.vue";var lo=Tn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const co={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};lo.render=function(e,a,i,l,c,s){return t(),n("div",co,[o(e.$slots,"default")],512)},lo.__scopeId="data-v-9c454b58",lo.__file="src/row/index.vue";var so=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,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...Zn(o)}}});const uo=["focusable","enableFocusBorder","focusScale"],ro=["gradientBackground"],fo=["gradientBackground"],To=["gradientBackground"],po=["src"],Io=["src"];function mo(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}so.render=function(e,l,d,f,T,p){const I=a("text-view");return t(),n("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(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,ro)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,fo)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,To)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("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(),n("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,po)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("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,Io)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),i(I,{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(),n("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),o(e.$slots,"default")],46,uo)},so.__scopeId="data-v-46a594e4",so.__file="src/button/index.vue";const _o=e=>e.map(vo),go=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?_o(e):go(e):e}var ho=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},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,T=e(!1),p=-1,I=-1,m=-1,_=-1,g=e(!1);const{requestFocus:v,requestFocusDirectly:h,setVisibility:S}=Zn(o);d((()=>{t.openPage&&(r=1,T.value=!1,t.loadMore(r))}));const F=(e,n)=>{n||(U(),r>1&&(r=0),i=vo(e),l=e,a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{y(t.defaultFocus),R(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(E(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&N(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=vo(e),a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!T.value?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!T.value?o.value.setListData(i.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){_&&clearTimeout(_);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!T.value?!t.pageSize&&2==r||g.value?_=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),g.value&&(g.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),_=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):_=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else _=t.openPage&&!T.value?!t.pageSize&&2==r||g.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}])),g.value&&(g.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return b(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?F(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const p=e[n],I=Reflect.set(e,n,d,f);if((!b(p)&&p!==d||b(p))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&p!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){_&&clearTimeout(_);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!T.value?!t.pageSize&&2==r||g.value?_=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),g.value&&(g.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),_=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):_=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);_&&clearTimeout(_),_=t.openPage&&!T.value?!t.pageSize&&2==r||g.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),g.value&&(g.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return I}};return new Proxy(e,d)},E=()=>{let e=vo(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},b=e=>null!==e&&"object"==typeof e,A=()=>{I&&clearTimeout(I),I=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),T.value=!0},y=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},R=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},P=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},N=(e,t)=>{o.value.addItem(e,t)},U=()=>{g.value=!1,i=[],s=[],l.length=0,T.value=!1,c=[],T.value=!1,u="",p&&clearTimeout(p),_&&clearTimeout(_),I&&clearTimeout(I),m&&clearTimeout(m)};f((()=>{r=1,U()}));let L=-1;return{tv_list:o,apkVersion:a,init:F,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>i.length-1&&(o=0),a.value<2.2?T.value||e.position!=s.length-1-o/t.spanCount||(r++,t.loadMore(r)):T.value||e.position!=i.length-1-o||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(L);let e=0;T.value||(e=420,A()),L=setTimeout((()=>{g.value=!0,r=1,T.value=!1,t.loadMore(r)}),e)},isRestartPage:g,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:A,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:y,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:R,scrollToFocused:e=>{y(e),R(e)},setItemSelected:P,scrollToSelected:(e,t)=>{y(e),P(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{p&&clearTimeout(p),p=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:N,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:v,requestFocusDirectly:h,setVisibility:S}}});ho.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":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:T((()=>[e.apkVersion<2.2?(t(),n(p,{key:0},[o(e.$slots,"header"),I(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:T((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(p,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},ho.__file="src/grid-view/index.vue";var So=Tn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Fo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Eo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};So.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Fo,[u(" 浮动标题"),I(r,{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}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",Eo,[u(" 主标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),u(" 副标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},So.__scopeId="data-v-703673b8",So.__file="src/poster/qt-poster-focus-title.vue";var bo=Tn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Ao={class:"cornerRoot",focusable:!1},yo=(e=>(_("data-v-4b767ea2"),e=e(),g(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));bo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Ao,[I(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}"},null,8,["textSize"]),yo])},bo.__scopeId="data-v-4b767ea2",bo.__file="src/poster/qt-poster-corner-title.vue";var Ro=Tn({name:"qt-poster",components:{"qt-poster-corner-title":bo,"qt-poster-focus-title":So},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...Zn(o)}}});const Po=e=>(_("data-v-3c4765e9"),e=e(),g(),e),No=Po((()=>m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Uo=["showOnState"],Lo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},xo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Do=Po((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Ro.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),p=a("ripple-view"),_=a("qt-poster-corner-title"),g=a("item-frame");return t(),i(g,{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:T((()=>[u("封面"),No,I(d,{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(" 焦点选中时的标题 "),I(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),m("div",Lo,[I(d,{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}"})]),u(" 主标题"),I(d,{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,Uo),m("div",xo,[I(p,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Do]),I(_,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Ro.__scopeId="data-v-3c4765e9",Ro.__file="src/poster/index.vue";var Oo=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:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=v({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;h((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...Zn(o)}}});const Co=["stateTextColor","sateBackgroundPadding"],ko=["stateTextColor","sateBackgroundPadding"];var wo,Mo;Oo.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:T((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Co),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:T((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ko),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Oo.__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"}(wo||(wo={})),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"}(Mo||(Mo={}));var Bo=Tn({name:"card-item",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Bo.render=function(e,n,o,l,c,s){const u=a("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"])},Bo.__scopeId="data-v-599898aa",Bo.__file="src/waterfall/item/card-item.vue";var Qo=Tn({name:"standard-section",components:{"card-item":Bo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Mo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const $o=["type"],Go=(e=>(_("data-v-227e921e"),e=e(),g(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Qo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),p=a("card-item"),m=a("tv-flex");return t(),n("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},[I(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Go,I(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",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:T((()=>[u(" poster "),I(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),I(p,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,$o)},Qo.__scopeId="data-v-227e921e",Qo.__file="src/waterfall/section/flex-section.vue";const Vo="list-section";var Wo=Tn({name:"list-section",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:wo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=R();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemFocused--------------\x3e>>",e)}}}});const Yo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},zo=(e=>(_("data-v-6aa2cfd4"),e=e(),g(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),qo=["type"];Wo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),p=a("tv-item");return t(),i(p,{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:T((()=>[m("div",Yo,[I(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),zo,I(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:T((()=>[I(d,{type:e.standItemType},null,8,["type"]),m("div",{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:""},[I(r,{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,qo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Wo.__scopeId="data-v-6aa2cfd4",Wo.__file="src/waterfall/section/list-section.vue";var Ho=Tn({name:"loading-section"});const jo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Ho.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",jo,[I(u,{class:"loading-section-loading-css"})])},Ho.__scopeId="data-v-48609f24",Ho.__file="src/waterfall/section/loading-section.vue";var Ko=Tn({name:"end-section",setup:()=>({})});const Xo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Ko.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Xo,[I(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Ko.__scopeId="data-v-70b82c43",Ko.__file="src/waterfall/section/end-section.vue";var Zo=Tn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Jo=["type"];Zo.render=function(e,o,i,l,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[I(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Jo)},Zo.__scopeId="data-v-20428d40",Zo.__file="src/waterfall/section/section-title.vue";var ea=Tn({name:"blank-section",setup:()=>({})});const ta={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ea.render=function(e,o,a,i,l,c){return t(),n("div",ta)},ea.__scopeId="data-v-eeab4d88",ea.__file="src/waterfall/section/blank-section.vue";var na=Tn({name:"card-section",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const oa={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};na.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",oa,[I(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),I(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"])])},na.__scopeId="data-v-43a44788",na.__file="src/waterfall/section/card-section.vue";var aa,ia=Tn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function la(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=ca(e,t[o]);n.push(a)}return n}function ca(e,t){let n=0;return t.itemList.length>0&&t.type==wo.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,T=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>r&&(f+=T+n,T=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>u&&(u=o.layout[1]+i+s),i+l+s>T&&(T=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function sa(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}ia.render=function(e,n,l,c,s,u){const r=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},ia.__scopeId="data-v-f8447724",ia.__file="src/waterfall/section/vue-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"}(aa||(aa={}));const ua="qt-waterfall";var ra,da,fa=Tn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=R(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(aa.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=sa();return{waterfallRef:l,visibleType:i,init:function(e){c=e,e.visibleType&&(i.value=e.visibleType)},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!c)return;o.isLoggable(P.DEBUG)&&o.d(ua,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(P.DEBUG)&&o.d(ua,"-------2---setSectionList--------------\x3e>>",t);const n=la(c,e);o.isLoggable(P.DEBUG)&&o.d(ua,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=la(c,e);o.isLoggable(P.DEBUG)&&o.d(ua,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(P.DEBUG)&&o.d(ua,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=ca(0,t);o.isLoggable(P.DEBUG)&&o.d(ua,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const i=ca(0,a);i&&o.push(i)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=ca(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=ca(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=ca(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=ca(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()},setListData:function(e){l.value?.setListData(e)},...Zn(l)}},components:{"flex-section":Qo,"list-section":Wo,"section-title":Zo,"loading-section":Ho,"end-section":Ko,"blank-section":ea,"card-section":na,"vue-section":ia}});function Ta(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ra.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,u=i(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=ra.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=ra.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}fa.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),p=a("loading-section"),m=a("end-section"),_=a("blank-section"),g=a("card-section"),v=a("vue-section"),h=a("tv-list");return t(),i(h,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",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:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:T((()=>[u(" 普通版块"),I(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:T((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),I(f,{enablePlaceholder:e.enablePlaceholder},{default:T((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),I(p),u(" end "),I(m),u(" blank "),I(_),u(" card "),I(g,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),I(v,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:T((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},fa.__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"}(ra||(ra={})),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"}(da||(da={}));const pa="qt-tabs";var Ia=Tn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{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:500},tabContentSwitchDelay:{type:Number,default:300},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}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=R(),c=e(),s=Ta();let u,r=[],d=-1,f=-1,T=-1;function p(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function I(e){l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=ra.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>r.length)return;const t=r[e];t.__pageNo=0}(e)}function m(e){l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=ra.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function _(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function g(e){if(e<0||e>r.length)return;const t=r[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function v(e,o,a){let i=_(e),c=s.getTabPageDataState(e);if(!c||c.state!==ra.QT_TAB_PAGE_STATE_IDLE&&c.state!==ra.QT_TAB_PAGE_STATE_INIT)l.isLoggable(P.DEBUG)&&l.d(pa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),p(e,ra.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(T),T=setTimeout((()=>{const e=s.getSectionListByState(d,da.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(P.DEBUG)&&l.d(pa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(P.DEBUG)&&l.d(pa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:p,setPageData:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),g(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=_(e);0==t?(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}g(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=ca(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=ca(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=ca(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},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,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(P.DEBUG)&&l.d(pa,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),I(t),v(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=ra.QT_TAB_PAGE_STATE_INIT&&m(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&v(t,!1,a.sectionBindIndex),h()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(P.DEBUG)&&l.d(pa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(P.DEBUG)&&l.d(pa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,da.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,da.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(P.DEBUG)&&l.d(pa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(P.DEBUG)&&l.d(pa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},...Zn(o)}}});Ia.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),p=a("qt-waterfall"),m=a("recycler-view-pager"),_=a("tabs");return e.ifTabs?(t(),i(_,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),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:T((()=>[I(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:T((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","onTabFocus","onTabClick","horizontal"]),I(m,{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",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:T((()=>[I(p,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:T((()=>[o(e.$slots,"waterfall-item")])),"list-item":T((()=>[o(e.$slots,"waterfall-list-item")])),section:T((()=>[o(e.$slots,"waterfall-section")])),"vue-section":T((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},Ia.__file="src/tab/index.vue";var ma=Tn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...Zn(o)}}});ma.render=function(e,n,l,c,s,u){const r=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ma.__scopeId="data-v-d02af3c2",ma.__file="src/section/index.vue";var _a=Tn({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,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,u=-1,r=[];let d=-1;let f=-1,T=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),r=e})),zt((()=>{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=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.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?.updateItem(s,e)}let t=r[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,u!=e.item.navIndex&&(u=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else u=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(T),e.hasFocus&&u!=e.position&&(a.value=2,u=e.position,r[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),T=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),T=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{r[e]=t,r.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,r[e])},viewRef:o,...Zn(o)}}});const ga={focusable:!1,clipChildren:!1,ref:"viewRef"},va=["focusScale"],ha=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Sa=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Fa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},Ea={class:"playMark",focusable:!1},ba=["type"],Aa=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ya=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ra={class:"nav_item_text",focusable:!1,duplicateParentState:!0};_a.render=function(e,i,l,r,d,f){const p=a("play-mark"),_=a("text-view"),g=a("qt-list-view");return t(),n("div",ga,[I(g,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:T((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[ha,Sa,m("div",Fa,[m("div",Ea,[I(p,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),I(_,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,va),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),I(g,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:T((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Aa,ya,m("div",Ra,[I(_,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),I(_,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),I(_,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ba),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},_a.__file="src/classified-list-view/index.vue";var Pa=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Na={class:"number-item-container",focusable:!0,focusScale:1},Ua={class:"number-item-text-root-css",duplicateParentState:!0},La={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},xa={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Pa.render=function(e,o,i,l,c,s){const r=a("play-mark"),d=a("text-view");return t(),n("div",Na,[u(" 文字"),m("div",Ua,[m("div",La,[I(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),I(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),I(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),I(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),u(" vip角标 "),m("div",xa,[I(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Pa.__scopeId="data-v-4afb8987",Pa.__file="src/series/item/media-series-number-item.vue";var Da=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const Oa={class:"text-item-container",focusable:!0,focusScale:1},Ca={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ka={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},wa={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Da.render=function(e,o,i,l,c,s){const u=a("play-mark"),r=a("text-view");return t(),n("div",Oa,[m("div",Ca,[m("div",ka,[I(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),I(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),I(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),I(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",wa,[I(r,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Da.__scopeId="data-v-4859f623",Da.__file="src/series/item/media-series-text-item.vue";var Ma,Ba,Qa=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,n){const o=e();let a=e(!1);const i=R();S((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):zt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{zt((()=>{i.isLoggable(P.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function $a(e,t,n,o){const a=function(e,t,n,o){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Qa.render=function(e,n,l,s,r,d){const f=a("select-series"),p=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(p,{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)},Qa.__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"}(Ma||(Ma={})),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"}(Ba||(Ba={}));var Ga,Va,Wa,Ya,za=l({name:"qt-media-series",components:{"media-series-number-item":Pa,"media-series-text-item":Da,"media-series":Qa},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=Zn(o),c=e(!1),s=R(),u=e(),r=e(),d=e(),f=e(),T=e(0),p=e(!1),I=e(Ma.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:p,seriesType:I,params:u,commonParams:r,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:T,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,a)=>{I.value=e,m=a,u.value=function(e,t,n,o){const a=n==Ba.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.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:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#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:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,t,n,a),r.value=$a(e,0,0,a),d.value=function(e,t,n,o){if(e===Ma.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Ma.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==Ba.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,t,n),Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(T.value=function(e,t,n,o){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),zt((()=>{o.value&&o.value?.setInitData(a.totalCount,a.pageSize)})),s.isLoggable(P.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",T.value)):(T.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,t,0,0,u),u.value.totalCount=a.totalCount,u.value.pageSize=a.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;I.value==Ma.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,u=s>9?""+s:"0"+s;const r={id:n.id,title:u,vip:n.vip};n.vip&&n.vip.enable?(r.vipTitleStyle=a,r.vipMarkStyle=l,r.normalTitleStyle=i,r.normalMarkStyle=i):(r.vipTitleStyle=i,r.vipMarkStyle=i,r.normalTitleStyle=a,r.normalMarkStyle=l),o.push(r)}))}return o}(e,m.pageSize,t):I.value==Ma.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=e,n.vipMarkStyle=o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=e,n.normalMarkStyle=o)}))}return n}(0,m.pageSize,t):(I.value==Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||I.value==Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,m.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});za.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),p=a("media-series");return e.show?(t(),i(p,{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:T((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(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)},za.__file="src/series/index.vue",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"}(Ga||(Ga={})),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"}(Va||(Va={})),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"}(Wa||(Wa={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ya||(Ya={}));const qa="QTCollapse";var Ha,ja,Ka,Xa,Za,Ja,ei,ti,ni,oi,ai,ii,li,ci,si,ui,ri=Tn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=R(),a=e();let i,l,c=e();const s=e(0),u=e(0);let r=200;const d={};const f={};function T(e){return f[`${e}`]}function p(e,t){const a=i[e],l=a.__y,c=u.value-a.height-l;o.isLoggable(P.DEBUG)&&o.d(qa,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=m(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const u=T(n);u&&(o.isLoggable(P.DEBUG)&&o.d(qa,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),I(n+"",a,u,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function I(e,t,n,o,a,i){n.objectAnimator2(e,Ya.QT_ANIMATION_VALUE_TYPE_FLOAT,Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function m(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),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 n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=u.value-t,e.__translationY=0}o.isLoggable(P.DEBUG)&&o.d(qa,"----initCollapseItem----\x3e>>>",i)}(),F((()=>{p(l,0)}))},getItem:m,expandItem:function(e){p(e,r)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=u.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=m(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=T(t);n&&I(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=m(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=T(e);n&&I(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:u,viewRef:a,...Zn(a)}}});ri.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(p,null,E(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:T((()=>[(t(),i(b(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},ri.__scopeId="data-v-4feca809",ri.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(Ha||(Ha={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(ja||(ja={})),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"}(Ka||(Ka={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Xa||(Xa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Za||(Za={})),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"}(Ja||(Ja={})),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"}(ei||(ei={})),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"}(ti||(ti={})),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"}(ni||(ni={})),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"}(oi||(oi={})),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"}(ai||(ai={})),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"}(ii||(ii={})),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"}(li||(li={})),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"}(ci||(ci={})),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"}(si||(si={})),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"}(ui||(ui={}));const di=[Jn,to,no,ao,lo,so,ho,Ro,Oo,fa,Ia,_a,ma,za,ri],fi=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>A("LoadingViewComponent",{ref:o})}}),function(t){const n=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}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();N();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,T=-1,p=-1,I=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=(e,n)=>{n||(D(),s>1&&(s=0),a=vo(e),_(a,-1),i=e,t.openPage?h(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):h(a),t.defaultFocus>-1&&(p&&clearTimeout(p),p=setTimeout((()=>{x(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),b(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?h([]):E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?P(t[0],t.slice(2)):R(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),b(Number(l[0]),a[l[0]])):(E(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=vo(e),t.openPage?h(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):h(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),b(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{F(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):S(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return g(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?m(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];v(e,n);const d=Reflect.set(e,n,o,s);if((!g(r)&&r!==o||g(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],b(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],b(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))b(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);I&&clearTimeout(I),I=t.openPage&&!u?setTimeout((()=>{F(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},_=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&_(o.list,n)}},g=e=>null!==e&&"object"==typeof e,v=(e,t)=>{Object.hasOwnProperty.call(e,t)},h=e=>{r&&clearTimeout(r),r=setTimeout((()=>{y.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{y.callUIFunction(o.value,"addListData",e)},F=(e,t)=>{y.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{y.callUIFunction(o.value,"deleteItemRange",[e,t])},b=(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},R=(e,t,n)=>{y.callUIFunction(o.value,"updateItemRange",[e,t,n])},P=(e,t)=>{y.callUIFunction(o.value,"insertItemRange",[e,t])},U=(e,t)=>{y.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{y.callUIFunction(o.value,"scrollToPosition",[e])},x=e=>{y.callUIFunction(o.value,"requestChildFocus",[e])},D=()=>{a=[],i.length=0,l=[],u=!1,c="",r&&clearTimeout(r),p&&clearTimeout(p),I&&clearTimeout(I),T&&clearTimeout(T)};return f((()=>{s=1,D()})),n.expose({viewRef:o,init:m,updateItemName:_,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:b,updateItemList:R,hasFocus:e=>{y.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:h,insertItem:P,addListData:S,addListDataWithParams:F,dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{y.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{y.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{y.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{y.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{y.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{y.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{y.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{y.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{y.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{y.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{y.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),x(e)},scrollToSelected:(e,t)=>{L(e),U(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{y.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{y.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:x,clearPostTask:()=>{y.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:U,blockRootFocus:()=>{y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{y.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{y.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{T&&clearTimeout(T),T=setTimeout((()=>{E(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){y.callUIFunction(o.value,"setAutoFocus",[e,t])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>a.length-1&&(o=0),e.position==a.length-1-o&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{y.callUIFunction(o.value,"batch",[e])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...Zn(o)}),()=>A("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame"],setup(t,n){const o=e();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{y.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{y.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{y.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...Zn(o)}),()=>A("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>A("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=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,y.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),y.callUIFunction(o.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,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...Zn(o)}),()=>A("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=Tn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){y.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...Zn(o)}),()=>A("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=U().getDisplayScale();return n.expose({setPivotX:function(e){y.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){y.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){y.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){y.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){y.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){y.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){y.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){y.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){y.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){y.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){y.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){y.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){y.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){y.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){y.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){y.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){y.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){y.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){y.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){y.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){y.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){y.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){y.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){y.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){y.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,u,r,d){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),y.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,u,r,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,u,r,d,f){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),y.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,u,r,d,f,T){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),y.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,u,r,d,f,T],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,u,r,d,f,T,p){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),y.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,u,r,d,f,T,p],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a),y.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,u,r,d,f,T,p,I],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I,m){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a),y.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,u,r,d,f,T,p,I,m],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a),y.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a),y.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g,v){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,T*=a),y.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g,v,h){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,T*=a,p*=a),y.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,u,r,d,f,T,p,I,m,_,g,v,h],(e=>{}))},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){y.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){y.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{y.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{y.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{y.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{y.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{y.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{y.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{y.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{y.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{y.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{y.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{y.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{y.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{y.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{y.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{y.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{y.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{y.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{y.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{y.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{y.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{y.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{y.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{y.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{y.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{y.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{y.callUIFunction(o.value,"removeAllListener",[])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t);for(let e in di)t.component(di[e].name,di[e])};export{Ga as QTAnimationInterpolatorType,Va as QTAnimationPropertyName,Wa as QTAnimationRepeatMode,Ya as QTAnimationValueType,ja as QTDirections,ci as QTGradientOrientation,si as QTGradientShape,ui as QTGradientType,Ha as QTIViewVisibility,li as QTLottieAsyncUpdates,ii as QTLottieRepeatMode,Ba as QTMediaSeriesStyleType,Ma as QTMediaSeriesType,Xa as QTNavBarItemType,Ka as QTScrollState,ei as QTSeekBarGravity,ti as QTSeekBarIndicatorMode,Ja as QTSeekBarMode,oi as QTSeekBarTickMarkGravity,ai as QTSeekBarTickMarkLayoutGravity,ni as QTSeekBarTickMarkMode,Za as QTTabItemType,ra as QTTabPageState,Mo as QTWaterfallItemType,wo as QTWaterfallSectionType,aa as QTWaterfallVisibleType,fi as QuickTVUI,mo as arrangeChildren4ListView};
|
|
1
|
+
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as T,Fragment as I,createVNode as p,createElementVNode as m,pushScopeId as g,popScopeId as _,reactive as v,watch as h,onMounted as S,nextTick as F,renderList as E,resolveDynamicComponent as b,h as A}from"vue";import{Native as y}from"@extscreen/es3-vue";import{useESLog as R,ESLogLevel as P,useES as N,useESDisplay as U}from"@extscreen/es3-core";function L(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const D="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const x=()=>{},O=/^on[^a-z]/,C=e=>O.test(e),k=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},M=Object.prototype.hasOwnProperty,B=(e,t)=>M.call(e,t),Q=Array.isArray,$=e=>"[object Map]"===j(e),G=e=>"[object Set]"===j(e),V=e=>"function"==typeof e,W=e=>"string"==typeof e,Y=e=>"symbol"==typeof e,z=e=>null!==e&&"object"==typeof e,q=e=>(z(e)||V(e))&&V(e.then)&&V(e.catch),H=Object.prototype.toString,j=e=>H.call(e),K=e=>j(e).slice(8,-1),X=e=>"[object Object]"===j(e),Z=e=>W(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,J=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=(e,t)=>!Object.is(e,t),te=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ne;const oe=()=>ne||(ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ae(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=W(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}if(W(e)||z(e))return e}const ie=/;(?![^(]*\))/g,le=/:([^]+)/,ce=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(ce,"").split(ie).forEach((e=>{if(e){const n=e.split(le);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ue(e){let t="";if(W(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let de;const fe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Te=e=>(e.w&ge)>0,Ie=e=>(e.n&ge)>0,pe=new WeakMap;let me=0,ge=1;const _e=30;let ve;const he=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Se=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Fe{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=de){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=ve,t=be;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ve,ve=this,be=!0,ge=1<<++me,me<=_e?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ge})(this):Ee(this),this.fn()}finally{me<=_e&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Te(a)&&!Ie(a)?a.delete(e):t[n++]=a,a.w&=~ge,a.n&=~ge}t.length=n}})(this),ge=1<<--me,ve=this.parent,be=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ve===this?this.deferStop=!0:this.active&&(Ee(this),this.onStop&&this.onStop(),this.active=!1)}}function Ee(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let be=!0;const Ae=[];function ye(){Ae.push(be),be=!1}function Re(){const e=Ae.pop();be=void 0===e||e}function Pe(e,t,n){if(be&&ve){let o=pe.get(e);o||pe.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;me<=_e?Ie(e)||(e.n|=ge,n=!Te(e)):n=!e.has(ve);n&&(e.add(ve),ve.deps.push(e),"production"!==process.env.NODE_ENV&&ve.onTrack&&ve.onTrack(k({effect:ve},t)))}(a,"production"!==process.env.NODE_ENV?{effect:ve,target:e,type:t,key:n}:void 0)}}function Ne(e,t,n,o,a,i){const l=pe.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&Q(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!Y(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":Q(e)?Z(n)&&c.push(l.get("length")):(c.push(l.get(he)),$(e)&&c.push(l.get(Se)));break;case"delete":Q(e)||(c.push(l.get(he)),$(e)&&c.push(l.get(Se)));break;case"set":$(e)&&c.push(l.get(he))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Ue(c[0],s):Ue(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Ue(fe(e),s):Ue(fe(e))}}function Ue(e,t){const n=Q(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==ve||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(k({effect:e},t)),e.scheduler?e.scheduler():e.run())}const De=L("__proto__,__v_isRef,__isVue"),xe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Y)),Oe=Ce();function Ce(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Et(this);for(let e=0,t=this.length;e<t;e++)Pe(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Et)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ye();const n=Et(this)[t].apply(this,e);return Re(),n}})),e}function ke(e){const t=Et(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class we{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t&&n===(o?a?It:Tt:a?ft:dt).get(e))return e;const i=Q(e);if(!o){if(i&&B(Oe,t))return Reflect.get(Oe,t,n);if("hasOwnProperty"===t)return ke}const l=Reflect.get(e,t,n);return(Y(t)?xe.has(t):De(t))?l:(o||Pe(e,"get",t),a?l:yt(l)?i&&Z(t)?l:l.value:z(l)?o?mt(l):pt(l):l)}}class Me extends we{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(ht(a)&&yt(a)&&!yt(n))return!1;if(!this._shallow&&(St(n)||ht(n)||(a=Et(a),n=Et(n)),!Q(e)&&yt(a)&&!yt(n)))return a.value=n,!0;const i=Q(e)&&Z(t)?Number(t)<e.length:B(e,t),l=Reflect.set(e,t,n,o);return e===Et(o)&&(i?ee(n,a)&&Ne(e,"set",t,n,a):Ne(e,"add",t,n)),l}deleteProperty(e,t){const n=B(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ne(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return Y(t)&&xe.has(t)||Pe(e,"has",t),n}ownKeys(e){return Pe(e,"iterate",Q(e)?"length":he),Reflect.ownKeys(e)}}class Be extends we{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Qe=new Me,$e=new Be,Ge=new Be(!0),Ve=e=>e,We=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n=!1,o=!1){const a=Et(e=e.__v_raw),i=Et(t);n||(ee(t,i)&&Pe(a,"get",t),Pe(a,"get",i));const{has:l}=We(a),c=o?Ve:n?At:bt;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function ze(e,t=!1){const n=this.__v_raw,o=Et(n),a=Et(e);return t||(ee(e,a)&&Pe(o,"has",e),Pe(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Pe(Et(e),"iterate",he),Reflect.get(e,"size",e)}function He(e){e=Et(e);const t=Et(this);return We(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function je(e,t){t=Et(t);const n=Et(this),{has:o,get:a}=We(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&rt(n,o,e):(e=Et(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?ee(t,l)&&Ne(n,"set",e,t,l):Ne(n,"add",e,t),this}function Ke(e){const t=Et(this),{has:n,get:o}=We(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&rt(t,n,e):(e=Et(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ne(t,"delete",e,void 0,i),l}function Xe(){const e=Et(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?$(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ne(e,"clear",void 0,void 0,n),o}function Ze(e,t){return function(n,o){const a=this,i=a.__v_raw,l=Et(i),c=t?Ve:e?At:bt;return!e&&Pe(l,"iterate",he),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Je(e,t,n){return function(...o){const a=this.__v_raw,i=Et(a),l=$(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Ve:t?At:bt;return!t&&Pe(i,"iterate",s?Se:he),{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}}}}function et(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${J(e)} operation ${n}failed: target is readonly.`,Et(this))}return"delete"!==e&&this}}function tt(){const e={get(e){return Ye(this,e)},get size(){return qe(this)},has:ze,add:He,set:je,delete:Ke,clear:Xe,forEach:Ze(!1,!1)},t={get(e){return Ye(this,e,!1,!0)},get size(){return qe(this)},has:ze,add:He,set:je,delete:Ke,clear:Xe,forEach:Ze(!1,!0)},n={get(e){return Ye(this,e,!0)},get size(){return qe(this,!0)},has(e){return ze.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Ze(!0,!1)},o={get(e){return Ye(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return ze.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Ze(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Je(a,!1,!1),n[a]=Je(a,!0,!1),t[a]=Je(a,!1,!0),o[a]=Je(a,!0,!0)})),[e,n,t,o]}const[nt,ot,at,it]=tt();function lt(e,t){const n=t?e?it:at:e?ot:nt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(B(n,o)&&o in t?n:t,o,a)}const ct={get:lt(!1,!1)},st={get:lt(!0,!1)},ut={get:lt(!0,!0)};function rt(e,t,n){const o=Et(n);if(o!==n&&t.call(e,o)){const t=K(e);console.warn(`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 dt=new WeakMap,ft=new WeakMap,Tt=new WeakMap,It=new WeakMap;function pt(e){return ht(e)?e:_t(e,!1,Qe,ct,dt)}function mt(e){return _t(e,!0,$e,st,Tt)}function gt(e){return _t(e,!0,Ge,ut,It)}function _t(e,t,n,o,a){if(!z(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(K(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function vt(e){return ht(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function ht(e){return!(!e||!e.__v_isReadonly)}function St(e){return!(!e||!e.__v_isShallow)}function Ft(e){return vt(e)||ht(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}const bt=e=>z(e)?pt(e):e,At=e=>z(e)?mt(e):e;function yt(e){return!(!e||!0!==e.__v_isRef)}const Rt={get:(e,t,n)=>{return yt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return yt(a)&&!yt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Pt=[];function Nt(e,...t){if("production"===process.env.NODE_ENV)return;ye();const n=Pt.length?Pt[Pt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Pt[Pt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)xt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Kn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Kn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ut(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Re()}function Ut(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return W(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:yt(t)?(t=Lt(e,Et(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Et(t),n?t:[`${e}=`,t])}const Dt={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. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function xt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Ct(e,t,n)}return a}function Ot(e,t,n,o){if(V(e)){const a=xt(e,t,n,o);return a&&q(a)&&a.catch((e=>{Ct(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(Ot(e[i],t,n,o));return a}function Ct(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?Dt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void xt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Dt[t];if(n&&(a=n,Pt.push(a)),Nt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Pt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let kt=!1,wt=!1;const Mt=[];let Bt=0;const Qt=[];let $t=null,Gt=0;const Vt=Promise.resolve();let Wt=null;const Yt=100;function zt(e){const t=Wt||Vt;return e?t.then(this?e.bind(this):e):t}function qt(e){Mt.length&&Mt.includes(e,kt&&e.allowRecurse?Bt+1:Bt)||(null==e.id?Mt.push(e):Mt.splice(function(e){let t=Bt+1,n=Mt.length;for(;t<n;){const o=t+n>>>1,a=Mt[o],i=Kt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Ht())}function Ht(){kt||wt||(wt=!0,Wt=Vt.then(Zt))}function jt(e){Q(e)?Qt.push(...e):$t&&$t.includes(e,e.allowRecurse?Gt+1:Gt)||Qt.push(e),Ht()}const Kt=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Kt(e)-Kt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zt(e){wt=!1,kt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Mt.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>Jt(e,t):x;try{for(Bt=0;Bt<Mt.length;Bt++){const e=Mt[Bt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;xt(e,null,14)}}}finally{Bt=0,Mt.length=0,function(e){if(Qt.length){const t=[...new Set(Qt)];if(Qt.length=0,$t)return void $t.push(...t);for($t=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(((e,t)=>Kt(e)-Kt(t))),Gt=0;Gt<$t.length;Gt++)"production"!==process.env.NODE_ENV&&Jt(e,$t[Gt])||$t[Gt]();$t=null,Gt=0}}(e),kt=!1,Wt=null,(Mt.length||Qt.length)&&Zt(e)}}function Jt(e,t){if(e.has(t)){const n=e.get(t);if(n>Yt){const e=t.ownerInstance,n=e&&jn(e.type);return Nt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. 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.`),!0}e.set(t,n+1)}else e.set(t,1)}const en=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:an((function(e,t){if(tn.has(e))return!1;return tn.set(e,{initialDef:nn(t),instances:new Set}),!0})),rerender:an((function(e,t){const n=tn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,nn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:an((function(e,t){const n=tn.get(e);if(!n)return;t=nn(t),on(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=nn(e.type);en.has(o)||(o!==n.initialDef&&on(o,t),en.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(en.add(o),e.ceReload(t.styles),en.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}jt((()=>{for(const e of o)en.delete(nn(e.type))}))}))});const tn=new Map;function nn(e){return Xn(e)?e.__vccOpts:e}function on(e,t){k(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function an(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ln=null,cn=null;const sn=Symbol.for("v-ndc");const un={};function rn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=D){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Nt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Nt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Nt("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=de===(null==(c=Vn)?void 0:c.scope)?Vn:null;let r,d,f=!1,T=!1;if(yt(e)?(r=()=>e.value,f=St(e)):vt(e)?(r=()=>e,o=!0):Q(e)?(T=!0,f=e.some((e=>vt(e)||St(e))),r=()=>e.map((e=>yt(e)?e.value:vt(e)?fn(e):V(e)?xt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):V(e)?r=t?()=>xt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),Ot(e,u,3,[I])}:(r=x,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>fn(e())}let I=e=>{d=_.onStop=()=>{xt(e,u,4)}},p=T?new Array(e.length).fill(un):un;const m=()=>{if(_.active)if(t){const e=_.run();(o||f||(T?e.some(((e,t)=>ee(e,p[t]))):ee(e,p)))&&(d&&d(),Ot(t,u,3,[e,p===un?void 0:T&&p[0]===un?[]:p,I]),p=e)}else _.run()};let g;m.allowRecurse=!!t,"sync"===a?g=m:"post"===a?g=()=>Rn(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),g=()=>qt(m));const _=new Fe(r,g);"production"!==process.env.NODE_ENV&&(_.onTrack=i,_.onTrigger=l),t?n?m():p=_.run():"post"===a?Rn(_.run.bind(_),u&&u.suspense):_.run();return()=>{_.stop(),u&&u.scope&&w(u.scope.effects,_)}}function dn(e,t,n){const o=this.proxy,a=W(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let i;V(t)?i=t:(i=t.handler,n=t);const l=Vn;Yn(this);const c=rn(a,i.bind(o),n);return l?Yn(l):zn(),c}function fn(e,t){if(!z(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),yt(e))fn(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(G(e)||$(e))e.forEach((e=>{fn(e,t)}));else if(X(e))for(const n in e)fn(e[n],t);return e}
|
|
2
|
+
/*! #__NO_SIDE_EFFECTS__ */function Tn(e,t){return V(e)?(()=>k({name:e.name},t,{setup:e}))():e}const In=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,te(n,"__v_skip",!0),vt(t=n)?t:new Proxy(t,Rt)),{get:(t,n)=>n in t?t[n]:n in pn?pn[n](e):void 0,has:(e,t)=>t in e||t in pn}));var t;var n}(e)||e.proxy:In(e.parent):null,pn=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?gt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?gt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?gt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?gt(e.refs):e.refs,$parent:e=>In(e.parent),$root:e=>In(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>hn(s,e,l,!0))),hn(s,t,l)):s=t;z(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=zt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):x}),mn=(e,t)=>e!==D&&!e.__isScriptSetup&&B(e,t),gn={get({_:e},t){const{ctx:n,setupState:o,data:a,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 o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(mn(o,t))return l[t]=1,o[t];if(a!==D&&B(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&B(u,t))return l[t]=3,i[t];if(n!==D&&B(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!vn||(l[t]=0)}}const r=pn[t];let d,f;return r?("$attrs"===t?(Pe(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Pe(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==D&&B(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,B(f,t)?f[t]:void("production"===process.env.NODE_ENV||!ln||W(t)&&0===t.indexOf("__v")||(a!==D&&(e=>"_"===e||"$"===e)(t[0])&&B(a,t)?Nt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ln&&Nt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return mn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&B(a,t)?(Nt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==D&&B(o,t)?(o[t]=n,!0):B(e.props,t)?("production"!==process.env.NODE_ENV&&Nt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Nt(`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:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==D&&B(e,l)||mn(t,l)||(c=i[0])&&B(c,l)||B(o,l)||B(pn,l)||B(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _n(e){return Q(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(gn.ownKeys=e=>(Nt("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 vn=!0;function hn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&hn(e,i,n,!0),a&&a.forEach((t=>hn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Nt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Sn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Sn={data:Fn,props:yn,emits:yn,methods:An,computed:An,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:An,directives:An,watch:function(e,t){if(!e)return t;if(!t)return e;const n=k(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Fn,inject:function(e,t){return An(En(e),En(t))}};function Fn(e,t){return t?e?function(){return k(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function En(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function An(e,t){return e?k(Object.create(null),e,t):t}function yn(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:k(Object.create(null),_n(e),_n(null!=t?t:{})):t}const Rn=function(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):jt(e)},Pn=Symbol.for("v-fgt"),Nn=Symbol.for("v-txt"),Un=Symbol.for("v-cmt");let Ln=null;const Dn="__vInternal",xn=({key:e})=>null!=e?e:null,On=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?W(e)||yt(e)||V(e)?{i:ln,r:e,k:t,f:!!n}:e:null);const Cn="production"!==process.env.NODE_ENV?(...e)=>kn(...e):kn;function kn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==sn||("production"===process.env.NODE_ENV||e||Nt(`Invalid vnode type when creating vnode: ${e}.`),e=Un),(l=e)&&!0===l.__v_isVNode){const o=wn(e,t,!0);return n&&Qn(o,n),!i&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var l;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ft(e)||Dn in e?k({},e):e:null}(t);let{class:e,style:n}=t;e&&!W(e)&&(t.class=ue(e)),z(n)&&(Ft(n)&&!Q(n)&&(n=k({},n)),t.style=ae(n))}const c=W(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:z(e)?4:V(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&Ft(e)&&Nt("Vue received a Component which 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=Et(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Pn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xn(t),ref:t&&On(t),scopeId:cn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ln};return c?(Qn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=W(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Nt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Ln&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Ln.push(s),s}(e,t,n,o,a,c,i,!0)}function wn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ue([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(C(e)){const n=t[e],a=o[e];!a||n===a||Q(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&xn(c),ref:t&&t.ref?n&&a?Q(a)?a.concat(On(t)):[a,On(t)]:On(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&Q(l)?l.map(Mn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pn?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mn(e){const t=wn(e);return Q(e.children)&&(t.children=e.children.map(Mn)),t}function Bn(e=" ",t=0){return Cn(Nn,null,e,t)}function Qn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Q(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Qn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Dn in t?3===o&&ln&&(1===ln.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ln}}else V(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),64&o?(n=16,t=[Bn(t)]):n=8);e.children=t,e.shapeFlag|=n}let $n,Gn,Vn=null,Wn="__VUE_INSTANCE_SETTERS__";(Gn=oe()[Wn])||(Gn=oe()[Wn]=[]),Gn.push((e=>Vn=e)),$n=e=>{Gn.length>1?Gn.forEach((t=>t(e))):Gn[0](e)};const Yn=e=>{$n(e),e.scope.on()},zn=()=>{Vn&&Vn.scope.off(),$n(null)};const qn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Xn(e){return V(e)&&"__vccOpts"in e}function Zn(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&y.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&y.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&y.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&y.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&y.callUIFunction(e.value,"changeVisibility",[t])}}}var Jn=Tn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const eo={clipChildren:!1,ref:"viewRef"};Jn.render=function(e,a,i,l,c,s){return t(),n("div",eo,[o(e.$slots,"default")],512)},Jn.__file="src/view/index.vue";var to=Tn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});to.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u,{ref:"viewRef"},null,512)},to.__file="src/text/index.vue";var no=Tn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const oo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};no.render=function(e,o,a,i,l,c){return t(),n("img",oo,null,512)},no.__file="src/image/index.vue";var ao=Tn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const io={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};ao.render=function(e,a,i,l,c,s){return t(),n("div",io,[o(e.$slots,"default")],512)},ao.__scopeId="data-v-734c04b2",ao.__file="src/column/index.vue";var lo=Tn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...Zn(o)}}});const co={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};lo.render=function(e,a,i,l,c,s){return t(),n("div",co,[o(e.$slots,"default")],512)},lo.__scopeId="data-v-9c454b58",lo.__file="src/row/index.vue";var so=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,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...Zn(o)}}});const uo=["focusable","enableFocusBorder","focusScale"],ro=["gradientBackground"],fo=["gradientBackground"],To=["gradientBackground"],Io=["src"],po=["src"];function mo(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}so.render=function(e,l,d,f,T,I){const p=a("text-view");return t(),n("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(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,ro)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,fo)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,To)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("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(),n("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,Io)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("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,po)):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(),n("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),o(e.$slots,"default")],46,uo)},so.__scopeId="data-v-46a594e4",so.__file="src/button/index.vue";const go=e=>e.map(vo),_o=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?go(e):_o(e):e}var ho=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},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})}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,T=e(!1),I=-1,p=-1,m=-1,g=-1,_=e(!1);const{requestFocus:v,requestFocusDirectly:h,setVisibility:S}=Zn(o);d((()=>{t.openPage&&(r=1,T.value=!1,t.loadMore(r))}));const F=(e,n)=>{n||(U(),r>1&&(r=0),i=vo(e),l=e,a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{y(t.defaultFocus),R(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(E(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&N(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=vo(e),a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!T.value?o.value.setListData(s.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!T.value?o.value.setListData(i.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!T.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else g=t.openPage&&!T.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return b(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?F(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const I=e[n],p=Reflect.set(e,n,d,f);if((!b(I)&&I!==d||b(I))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&I!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!T.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);g&&clearTimeout(g),g=t.openPage&&!T.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return p}};return new Proxy(e,d)},E=()=>{let e=vo(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},b=e=>null!==e&&"object"==typeof e,A=()=>{p&&clearTimeout(p),p=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),T.value=!0},y=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},R=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},P=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},N=(e,t)=>{o.value.addItem(e,t)},U=()=>{_.value=!1,i=[],s=[],l.length=0,T.value=!1,c=[],T.value=!1,u="",I&&clearTimeout(I),g&&clearTimeout(g),p&&clearTimeout(p),m&&clearTimeout(m)};f((()=>{r=1,U()}));let L=-1;return{tv_list:o,apkVersion:a,init:F,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>i.length-1&&(o=0),a.value<2.2?T.value||e.position!=s.length-1-o/t.spanCount||(r++,t.loadMore(r)):T.value||e.position!=i.length-1-o||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(L);let e=0;T.value||(e=420,A()),L=setTimeout((()=>{_.value=!0,r=1,T.value=!1,t.loadMore(r)}),e)},isRestartPage:_,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:A,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:y,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:R,scrollToFocused:e=>{y(e),R(e)},setItemSelected:P,scrollToSelected:(e,t)=>{y(e),P(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{I&&clearTimeout(I),I=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:N,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:v,requestFocusDirectly:h,setVisibility:S}}});ho.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":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:T((()=>[e.apkVersion<2.2?(t(),n(I,{key:0},[o(e.$slots,"header"),p(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:T((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(I,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},ho.__file="src/grid-view/index.vue";var So=Tn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Fo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Eo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};So.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Fo,[u(" 浮动标题"),p(r,{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}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",Eo,[u(" 主标题 "),p(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),u(" 副标题 "),p(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},So.__scopeId="data-v-703673b8",So.__file="src/poster/qt-poster-focus-title.vue";var bo=Tn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Ao={class:"cornerRoot",focusable:!1},yo=(e=>(g("data-v-4b767ea2"),e=e(),_(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));bo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Ao,[p(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}"},null,8,["textSize"]),yo])},bo.__scopeId="data-v-4b767ea2",bo.__file="src/poster/qt-poster-corner-title.vue";var Ro=Tn({name:"qt-poster",components:{"qt-poster-corner-title":bo,"qt-poster-focus-title":So},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...Zn(o)}}});const Po=e=>(g("data-v-3c4765e9"),e=e(),_(),e),No=Po((()=>m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Uo=["showOnState"],Lo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},Do={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},xo=Po((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Ro.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),I=a("ripple-view"),g=a("qt-poster-corner-title"),_=a("item-frame");return t(),i(_,{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:T((()=>[u("封面"),No,p(d,{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(" 焦点选中时的标题 "),p(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),m("div",Lo,[p(d,{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}"})]),u(" 主标题"),p(d,{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,Uo),m("div",Do,[p(I,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),xo]),p(g,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Ro.__scopeId="data-v-3c4765e9",Ro.__file="src/poster/index.vue";var Oo=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:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=v({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;h((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...Zn(o)}}});const Co=["stateTextColor","sateBackgroundPadding"],ko=["stateTextColor","sateBackgroundPadding"];var wo,Mo;Oo.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:T((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Co),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:T((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ko),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Oo.__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"}(wo||(wo={})),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"}(Mo||(Mo={}));var Bo=Tn({name:"card-item",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Bo.render=function(e,n,o,l,c,s){const u=a("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"])},Bo.__scopeId="data-v-599898aa",Bo.__file="src/waterfall/item/card-item.vue";var Qo=Tn({name:"standard-section",components:{"card-item":Bo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Mo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const $o=["type"],Go=(e=>(g("data-v-227e921e"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Qo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),I=a("card-item"),m=a("tv-flex");return t(),n("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},[p(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Go,p(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",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:T((()=>[u(" poster "),p(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),p(I,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,$o)},Qo.__scopeId="data-v-227e921e",Qo.__file="src/waterfall/section/flex-section.vue";const Vo="list-section";var Wo=Tn({name:"list-section",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:wo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=R();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(P.DEBUG)&&n.d(Vo,"----------onItemFocused--------------\x3e>>",e)}}}});const Yo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},zo=(e=>(g("data-v-6aa2cfd4"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),qo=["type"];Wo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),I=a("tv-item");return t(),i(I,{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:T((()=>[m("div",Yo,[p(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),zo,p(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:T((()=>[p(d,{type:e.standItemType},null,8,["type"]),m("div",{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:""},[p(r,{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,qo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Wo.__scopeId="data-v-6aa2cfd4",Wo.__file="src/waterfall/section/list-section.vue";var Ho=Tn({name:"loading-section"});const jo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Ho.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",jo,[p(u,{class:"loading-section-loading-css"})])},Ho.__scopeId="data-v-48609f24",Ho.__file="src/waterfall/section/loading-section.vue";var Ko=Tn({name:"end-section",setup:()=>({})});const Xo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Ko.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Xo,[p(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Ko.__scopeId="data-v-70b82c43",Ko.__file="src/waterfall/section/end-section.vue";var Zo=Tn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Jo=["type"];Zo.render=function(e,o,i,l,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[p(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Jo)},Zo.__scopeId="data-v-20428d40",Zo.__file="src/waterfall/section/section-title.vue";var ea=Tn({name:"blank-section",setup:()=>({})});const ta={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ea.render=function(e,o,a,i,l,c){return t(),n("div",ta)},ea.__scopeId="data-v-eeab4d88",ea.__file="src/waterfall/section/blank-section.vue";var na=Tn({name:"card-section",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const oa={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};na.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",oa,[p(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),p(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"])])},na.__scopeId="data-v-43a44788",na.__file="src/waterfall/section/card-section.vue";var aa,ia=Tn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function la(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=ca(e,t[o]);n.push(a)}return n}function ca(e,t){let n=0;return t.itemList.length>0&&t.type==wo.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,T=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>r&&(f+=T+n,T=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>u&&(u=o.layout[1]+i+s),i+l+s>T&&(T=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function sa(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}ia.render=function(e,n,l,c,s,u){const r=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},ia.__scopeId="data-v-f8447724",ia.__file="src/waterfall/section/vue-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"}(aa||(aa={}));const ua="qt-waterfall";var ra,da,fa=Tn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=R(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(aa.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=sa();return{waterfallRef:l,visibleType:i,init:function(e){c=e,e.visibleType&&(i.value=e.visibleType)},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!c)return;o.isLoggable(P.DEBUG)&&o.d(ua,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(P.DEBUG)&&o.d(ua,"-------2---setSectionList--------------\x3e>>",t);const n=la(c,e);o.isLoggable(P.DEBUG)&&o.d(ua,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=la(c,e);o.isLoggable(P.DEBUG)&&o.d(ua,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(P.DEBUG)&&o.d(ua,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=ca(0,t);o.isLoggable(P.DEBUG)&&o.d(ua,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const i=ca(0,a);i&&o.push(i)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=ca(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=ca(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=ca(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=ca(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ua,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()},setListData:function(e){l.value?.setListData(e)},...Zn(l)}},components:{"flex-section":Qo,"list-section":Wo,"section-title":Zo,"loading-section":Ho,"end-section":Ko,"blank-section":ea,"card-section":na,"vue-section":ia}});function Ta(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ra.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,u=i(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=ra.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=ra.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}fa.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),I=a("loading-section"),m=a("end-section"),g=a("blank-section"),_=a("card-section"),v=a("vue-section"),h=a("tv-list");return t(),i(h,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",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:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:T((()=>[u(" 普通版块"),p(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:T((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),p(f,{enablePlaceholder:e.enablePlaceholder},{default:T((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),p(I),u(" end "),p(m),u(" blank "),p(g),u(" card "),p(_,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),p(v,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:T((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},fa.__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"}(ra||(ra={})),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"}(da||(da={}));const Ia="qt-tabs";var pa=Tn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{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:500},tabContentSwitchDelay:{type:Number,default:300},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}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=R(),c=e(),s=Ta();let u,r=[],d=-1,f=-1,T=-1;function I(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function p(e){l.isLoggable(P.DEBUG)&&l.d(Ia,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=ra.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>r.length)return;const t=r[e];t.__pageNo=0}(e)}function m(e){l.isLoggable(P.DEBUG)&&l.d(Ia,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=ra.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function g(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function _(e){if(e<0||e>r.length)return;const t=r[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function v(e,o,a){let i=g(e),c=s.getTabPageDataState(e);if(!c||c.state!==ra.QT_TAB_PAGE_STATE_IDLE&&c.state!==ra.QT_TAB_PAGE_STATE_INIT)l.isLoggable(P.DEBUG)&&l.d(Ia,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(P.DEBUG)&&l.d(Ia,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),I(e,ra.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(P.DEBUG)&&l.d(Ia,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(T),T=setTimeout((()=>{const e=s.getSectionListByState(d,da.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(P.DEBUG)&&l.d(Ia,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(P.DEBUG)&&l.d(Ia,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(P.DEBUG)&&l.d(Ia,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:I,setPageData:function(e,t){l.isLoggable(P.DEBUG)&&l.d(Ia,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(P.DEBUG)&&l.d(Ia,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),_(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=g(e);0==t?(l.isLoggable(P.DEBUG)&&l.d(Ia,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(P.DEBUG)&&l.d(Ia,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}_(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:la(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=ca(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=ca(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=ca(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},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,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(P.DEBUG)&&l.d(Ia,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),p(t),v(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=ra.QT_TAB_PAGE_STATE_INIT&&m(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&v(t,!1,a.sectionBindIndex),h()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(P.DEBUG)&&l.d(Ia,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(P.DEBUG)&&l.d(Ia,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(P.DEBUG)&&l.d(Ia,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(P.DEBUG)&&l.d(Ia,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(P.DEBUG)&&l.d(Ia,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(Ia,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,da.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(Ia,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,da.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(P.DEBUG)&&l.d(Ia,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(P.DEBUG)&&l.d(Ia,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},...Zn(o)}}});pa.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),I=a("qt-waterfall"),m=a("recycler-view-pager"),g=a("tabs");return e.ifTabs?(t(),i(g,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),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:T((()=>[p(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:T((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","onTabFocus","onTabClick","horizontal"]),p(m,{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",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:T((()=>[p(I,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:T((()=>[o(e.$slots,"waterfall-item")])),"list-item":T((()=>[o(e.$slots,"waterfall-list-item")])),section:T((()=>[o(e.$slots,"waterfall-section")])),"vue-section":T((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},pa.__file="src/tab/index.vue";var ma=Tn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...Zn(o)}}});ma.render=function(e,n,l,c,s,u){const r=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ma.__scopeId="data-v-d02af3c2",ma.__file="src/section/index.vue";var ga=Tn({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,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,u=-1,r=[];let d=-1;let f=-1,T=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),r=e})),zt((()=>{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=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.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?.updateItem(s,e)}let t=r[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,u!=e.item.navIndex&&(u=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else u=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(T),e.hasFocus&&u!=e.position&&(a.value=2,u=e.position,r[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),T=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),T=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{r[e]=t,r.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,r[e])},viewRef:o,...Zn(o)}}});const _a={focusable:!1,clipChildren:!1,ref:"viewRef"},va=["focusScale"],ha=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Sa=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Fa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},Ea={class:"playMark",focusable:!1},ba=["type"],Aa=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ya=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ra={class:"nav_item_text",focusable:!1,duplicateParentState:!0};ga.render=function(e,i,l,r,d,f){const I=a("play-mark"),g=a("text-view"),_=a("qt-list-view");return t(),n("div",_a,[p(_,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:T((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[ha,Sa,m("div",Fa,[m("div",Ea,[p(I,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),p(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,va),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),p(_,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:T((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Aa,ya,m("div",Ra,[p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ba),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},ga.__file="src/classified-list-view/index.vue";var Pa=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Na={class:"number-item-container",focusable:!0,focusScale:1},Ua={class:"number-item-text-root-css",duplicateParentState:!0},La={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Da={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Pa.render=function(e,o,i,l,c,s){const r=a("play-mark"),d=a("text-view");return t(),n("div",Na,[u(" 文字"),m("div",Ua,[m("div",La,[p(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),p(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),u(" vip角标 "),m("div",Da,[p(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Pa.__scopeId="data-v-4afb8987",Pa.__file="src/series/item/media-series-number-item.vue";var xa=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const Oa={class:"text-item-container",focusable:!0,focusScale:1},Ca={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ka={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},wa={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};xa.render=function(e,o,i,l,c,s){const u=a("play-mark"),r=a("text-view");return t(),n("div",Oa,[m("div",Ca,[m("div",ka,[p(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),p(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",wa,[p(r,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},xa.__scopeId="data-v-4859f623",xa.__file="src/series/item/media-series-text-item.vue";var Ma,Ba,Qa=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,n){const o=e();let a=e(!1);const i=R();S((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):zt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{zt((()=>{i.isLoggable(P.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function $a(e,t,n,o){const a=function(e,t,n,o){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Qa.render=function(e,n,l,s,r,d){const f=a("select-series"),I=a("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:T((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(I,{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)},Qa.__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"}(Ma||(Ma={})),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"}(Ba||(Ba={}));var Ga,Va,Wa,Ya,za=l({name:"qt-media-series",components:{"media-series-number-item":Pa,"media-series-text-item":xa,"media-series":Qa},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=Zn(o),c=e(!1),s=R(),u=e(),r=e(),d=e(),f=e(),T=e(0),I=e(!1),p=e(Ma.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:I,seriesType:p,params:u,commonParams:r,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:T,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,a)=>{p.value=e,m=a,u.value=function(e,t,n,o){const a=n==Ba.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.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:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#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:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,t,n,a),r.value=$a(e,0,0,a),d.value=function(e,t,n,o){if(e===Ma.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Ma.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==Ba.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,t,n),Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(T.value=function(e,t,n,o){switch(e){case Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ma.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Ma.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),zt((()=>{o.value&&o.value?.setInitData(a.totalCount,a.pageSize)})),s.isLoggable(P.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",T.value)):(T.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,t,0,0,u),u.value.totalCount=a.totalCount,u.value.pageSize=a.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;p.value==Ma.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,u=s>9?""+s:"0"+s;const r={id:n.id,title:u,vip:n.vip};n.vip&&n.vip.enable?(r.vipTitleStyle=a,r.vipMarkStyle=l,r.normalTitleStyle=i,r.normalMarkStyle=i):(r.vipTitleStyle=i,r.vipMarkStyle=i,r.normalTitleStyle=a,r.normalMarkStyle=l),o.push(r)}))}return o}(e,m.pageSize,t):p.value==Ma.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=e,n.vipMarkStyle=o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=e,n.normalMarkStyle=o)}))}return n}(0,m.pageSize,t):(p.value==Ma.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==Ma.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,m.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});za.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),I=a("media-series");return e.show?(t(),i(I,{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:T((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(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)},za.__file="src/series/index.vue",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"}(Ga||(Ga={})),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"}(Va||(Va={})),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"}(Wa||(Wa={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ya||(Ya={}));const qa="QTCollapse";var Ha,ja,Ka,Xa,Za,Ja,ei,ti,ni,oi,ai,ii,li,ci,si,ui,ri=Tn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=R(),a=e();let i,l,c=e();const s=e(0),u=e(0);let r=200;const d={};const f={};function T(e){return f[`${e}`]}function I(e,t){const a=i[e],l=a.__y,c=u.value-a.height-l;o.isLoggable(P.DEBUG)&&o.d(qa,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=m(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const u=T(n);u&&(o.isLoggable(P.DEBUG)&&o.d(qa,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),p(n+"",a,u,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function p(e,t,n,o,a,i){n.objectAnimator2(e,Ya.QT_ANIMATION_VALUE_TYPE_FLOAT,Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function m(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),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 n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=u.value-t,e.__translationY=0}o.isLoggable(P.DEBUG)&&o.d(qa,"----initCollapseItem----\x3e>>>",i)}(),F((()=>{I(l,0)}))},getItem:m,expandItem:function(e){I(e,r)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=u.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=m(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=T(t);n&&p(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=m(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=T(e);n&&p(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:u,viewRef:a,...Zn(a)}}});ri.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(I,null,E(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:T((()=>[(t(),i(b(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},ri.__scopeId="data-v-4feca809",ri.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(Ha||(Ha={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(ja||(ja={})),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"}(Ka||(Ka={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Xa||(Xa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Za||(Za={})),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"}(Ja||(Ja={})),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"}(ei||(ei={})),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"}(ti||(ti={})),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"}(ni||(ni={})),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"}(oi||(oi={})),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"}(ai||(ai={})),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"}(ii||(ii={})),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"}(li||(li={})),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"}(ci||(ci={})),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"}(si||(si={})),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"}(ui||(ui={}));const di=[Jn,to,no,ao,lo,so,ho,Ro,Oo,fa,pa,ga,ma,za,ri],fi=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>A("LoadingViewComponent",{ref:o})}}),function(t){const n=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})}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();N();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,T=-1,I=-1,p=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=(e,n)=>{n||(x(),s>1&&(s=0),a=vo(e),g(a,-1),i=e,t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),t.defaultFocus>-1&&(I&&clearTimeout(I),I=setTimeout((()=>{D(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),b(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?h([]):E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?P(t[0],t.slice(2)):R(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),b(Number(l[0]),a[l[0]])):(E(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=vo(e),t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),b(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{F(s.concat([{type:"1002",decoration:t.loadingDecoration}]),1)}),300):S(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return _(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?m(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];v(e,n);const d=Reflect.set(e,n,o,s);if((!_(r)&&r!==o||_(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],b(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],b(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))b(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);p&&clearTimeout(p),p=t.openPage&&!u?setTimeout((()=>{F(e.concat([{_id:"",type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},g=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&g(o.list,n)}},_=e=>null!==e&&"object"==typeof e,v=(e,t)=>{Object.hasOwnProperty.call(e,t)},h=e=>{r&&clearTimeout(r),r=setTimeout((()=>{y.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{y.callUIFunction(o.value,"addListData",e)},F=(e,t)=>{y.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{y.callUIFunction(o.value,"deleteItemRange",[e,t])},b=(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},R=(e,t,n)=>{y.callUIFunction(o.value,"updateItemRange",[e,t,n])},P=(e,t)=>{y.callUIFunction(o.value,"insertItemRange",[e,t])},U=(e,t)=>{y.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{y.callUIFunction(o.value,"scrollToPosition",[e])},D=e=>{y.callUIFunction(o.value,"requestChildFocus",[e])},x=()=>{a=[],i.length=0,l=[],u=!1,c="",r&&clearTimeout(r),I&&clearTimeout(I),p&&clearTimeout(p),T&&clearTimeout(T)};return f((()=>{s=1,x()})),n.expose({viewRef:o,init:m,updateItemName:g,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:b,updateItemList:R,hasFocus:e=>{y.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:h,insertItem:P,addListData:S,addListDataWithParams:F,dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{y.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{y.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{y.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{y.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{y.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{y.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{y.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{y.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{y.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{y.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{y.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),D(e)},scrollToSelected:(e,t)=>{L(e),U(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{y.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{y.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:D,clearPostTask:()=>{y.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:U,blockRootFocus:()=>{y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{y.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{y.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{T&&clearTimeout(T),T=setTimeout((()=>{E(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){y.callUIFunction(o.value,"setAutoFocus",[e,t])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>a.length-1&&(o=0),e.position==a.length-1-o&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{y.callUIFunction(o.value,"batch",[e])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),I(!0),f(!0),d(!0),T(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:I,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...Zn(o)}),()=>A("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame"],setup(t,n){const o=e();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),I(!0),f(!0),d(!0),T(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:I,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{y.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{y.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{y.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...Zn(o)}),()=>A("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>A("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=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,y.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),y.callUIFunction(o.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,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...Zn(o)}),()=>A("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=Tn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){y.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...Zn(o)}),()=>A("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=U().getDisplayScale();return n.expose({setPivotX:function(e){y.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){y.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){y.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){y.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){y.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){y.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){y.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){y.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){y.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){y.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){y.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){y.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){y.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){y.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){y.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){y.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){y.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){y.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){y.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){y.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){y.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){y.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){y.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){y.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){y.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,u,r,d){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),y.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,u,r,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,u,r,d,f){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),y.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,u,r,d,f,T){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),y.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,u,r,d,f,T],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,u,r,d,f,T,I){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),y.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,u,r,d,f,T,I],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a),y.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,u,r,d,f,T,I,p],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p,m){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a),y.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,u,r,d,f,T,I,p,m],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a),y.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a),y.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_,v){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,T*=a),y.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_,v,h){n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Va.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,T*=a,I*=a),y.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,u,r,d,f,T,I,p,m,g,_,v,h],(e=>{}))},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){y.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){y.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{y.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{y.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{y.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{y.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{y.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{y.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{y.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{y.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{y.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{y.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{y.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{y.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{y.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{y.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{y.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{y.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{y.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{y.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{y.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{y.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{y.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{y.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{y.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{y.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{y.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{y.callUIFunction(o.value,"removeAllListener",[])},...Zn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t);for(let e in di)t.component(di[e].name,di[e])};export{Ga as QTAnimationInterpolatorType,Va as QTAnimationPropertyName,Wa as QTAnimationRepeatMode,Ya as QTAnimationValueType,ja as QTDirections,ci as QTGradientOrientation,si as QTGradientShape,ui as QTGradientType,Ha as QTIViewVisibility,li as QTLottieAsyncUpdates,ii as QTLottieRepeatMode,Ba as QTMediaSeriesStyleType,Ma as QTMediaSeriesType,Xa as QTNavBarItemType,Ka as QTScrollState,ei as QTSeekBarGravity,ti as QTSeekBarIndicatorMode,Ja as QTSeekBarMode,oi as QTSeekBarTickMarkGravity,ai as QTSeekBarTickMarkLayoutGravity,ni as QTSeekBarTickMarkMode,Za as QTTabItemType,ra as QTTabPageState,Mo as QTWaterfallItemType,wo as QTWaterfallSectionType,aa as QTWaterfallVisibleType,fi as QuickTVUI,mo as arrangeChildren4ListView};
|
|
@@ -31,6 +31,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: ArrayConstructor;
|
|
32
32
|
default: () => never[];
|
|
33
33
|
};
|
|
34
|
+
loadingDecoration: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default: () => {
|
|
37
|
+
top: number;
|
|
38
|
+
left: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
34
41
|
}, {
|
|
35
42
|
tv_list: import("vue").Ref<any>;
|
|
36
43
|
apkVersion: import("vue").Ref<number>;
|
|
@@ -96,6 +103,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
103
|
type: ArrayConstructor;
|
|
97
104
|
default: () => never[];
|
|
98
105
|
};
|
|
106
|
+
loadingDecoration: {
|
|
107
|
+
type: ObjectConstructor;
|
|
108
|
+
default: () => {
|
|
109
|
+
top: number;
|
|
110
|
+
left: number;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
99
113
|
}>> & {
|
|
100
114
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
101
115
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -111,5 +125,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
125
|
defaultFocus: number;
|
|
112
126
|
areaWidth: number;
|
|
113
127
|
blockFocusDirections: unknown[];
|
|
128
|
+
loadingDecoration: Record<string, any>;
|
|
114
129
|
}, {}>;
|
|
115
130
|
export default _default;
|