@quicktvui/quicktvui3 1.0.80 → 1.0.81
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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 p,Fragment as m,createVNode as g,createElementVNode as I,pushScopeId as v,popScopeId as h,reactive as T,watch as F,onMounted as _,nextTick as S,renderList as b,resolveDynamicComponent as y,h as E}from"vue";import{Native as P}from"@extscreen/es3-vue";import{useESToast as U,useES as x,useESLog as L,ESLogLevel as R}from"@extscreen/es3-core";function A(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 C="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},k=/^on[^a-z]/,w=e=>k.test(e),N=Object.assign,O=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,M=(e,t)=>B.call(e,t),$=Array.isArray,V=e=>"[object Map]"===j(e),W=e=>"[object Set]"===j(e),z=e=>"function"==typeof e,G=e=>"string"==typeof e,Q=e=>"symbol"==typeof e,q=e=>null!==e&&"object"==typeof e,Y=e=>q(e)&&z(e.then)&&z(e.catch),H=Object.prototype.toString,j=e=>H.call(e),X=e=>j(e).slice(8,-1),J=e=>"[object Object]"===j(e),Z=e=>G(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,K=(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($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=G(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}return G(e)||q(e)?e:void 0}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(G(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(q(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},pe=e=>(e.w&ve)>0,me=e=>(e.n&ve)>0,ge=new WeakMap;let Ie=0,ve=1;const he=30;let Te;const Fe=Symbol("production"!==process.env.NODE_ENV?"iterate":""),_e=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Se{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=Te,t=ye;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Te,Te=this,ye=!0,ve=1<<++Ie,Ie<=he?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ve})(this):be(this),this.fn()}finally{Ie<=he&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];pe(a)&&!me(a)?a.delete(e):t[n++]=a,a.w&=~ve,a.n&=~ve}t.length=n}})(this),ve=1<<--Ie,Te=this.parent,ye=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Te===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ye=!0;const Ee=[];function Pe(){Ee.push(ye),ye=!1}function Ue(){const e=Ee.pop();ye=void 0===e||e}function xe(e,t,n){if(ye&&Te){let o=ge.get(e);o||ge.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;Ie<=he?me(e)||(e.n|=ve,n=!pe(e)):n=!e.has(Te);n&&(e.add(Te),Te.deps.push(e),"production"!==process.env.NODE_ENV&&Te.onTrack&&Te.onTrack(N({effect:Te},t)))}(a,"production"!==process.env.NODE_ENV?{effect:Te,target:e,type:t,key:n}:void 0)}}function Le(e,t,n,o,a,i){const l=ge.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?Z(n)&&c.push(l.get("length")):(c.push(l.get(Fe)),V(e)&&c.push(l.get(_e)));break;case"delete":$(e)||(c.push(l.get(Fe)),V(e)&&c.push(l.get(_e)));break;case"set":V(e)&&c.push(l.get(Fe))}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?Re(c[0],s):Re(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Re(fe(e),s):Re(fe(e))}}function Re(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&Ae(e,t);for(const e of n)e.computed||Ae(e,t)}function Ae(e,t){(e!==Te||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(N({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ce=A("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Q)),ke=$e(),we=$e(!0),Ne=$e(!0,!0),Oe=Be();function Be(){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++)xe(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){Pe();const n=Et(this)[t].apply(this,e);return Ue(),n}})),e}function Me(e){const t=Et(this);return xe(t,"has",e),t.hasOwnProperty(e)}function $e(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?It:gt:t?mt:pt).get(n))return n;const i=$(n);if(!e){if(i&&M(Oe,o))return Reflect.get(Oe,o,a);if("hasOwnProperty"===o)return Me}const l=Reflect.get(n,o,a);return(Q(o)?De.has(o):Ce(o))?l:(e||xe(n,"get",o),t?l:xt(l)?i&&Z(o)?l:l.value:q(l)?e?ht(l):vt(l):l)}}function Ve(e=!1){return function(t,n,o,a){let i=t[n];if(St(i)&&xt(i)&&!xt(o))return!1;if(!e&&(bt(o)||St(o)||(i=Et(i),o=Et(o)),!$(t)&&xt(i)&&!xt(o)))return i.value=o,!0;const l=$(t)&&Z(n)?Number(n)<t.length:M(t,n),c=Reflect.set(t,n,o,a);return t===Et(a)&&(l?ee(o,i)&&Le(t,"set",n,o,i):Le(t,"add",n,o)),c}}const We={get:ke,set:Ve(),deleteProperty:function(e,t){const n=M(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Le(e,"delete",t,void 0,o),a},has:function(e,t){const n=Reflect.has(e,t);return Q(t)&&De.has(t)||xe(e,"has",t),n},ownKeys:function(e){return xe(e,"iterate",$(e)?"length":Fe),Reflect.ownKeys(e)}},ze={get:we,set:(e,t)=>("production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>("production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},Ge=N({},ze,{get:Ne}),Qe=e=>e,qe=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n=!1,o=!1){const a=Et(e=e.__v_raw),i=Et(t);n||(t!==i&&xe(a,"get",t),xe(a,"get",i));const{has:l}=qe(a),c=o?Qe:n?Ut:Pt;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,o=Et(n),a=Et(e);return t||(e!==a&&xe(o,"has",e),xe(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function je(e,t=!1){return e=e.__v_raw,!t&&xe(Et(e),"iterate",Fe),Reflect.get(e,"size",e)}function Xe(e){e=Et(e);const t=Et(this);return qe(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function Je(e,t){t=Et(t);const n=Et(this),{has:o,get:a}=qe(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&ft(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)&&Le(n,"set",e,t,l):Le(n,"add",e,t),this}function Ze(e){const t=Et(this),{has:n,get:o}=qe(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ft(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&&Le(t,"delete",e,void 0,i),l}function Ke(){const e=Et(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?V(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Le(e,"clear",void 0,void 0,n),o}function et(e,t){return function(n,o){const a=this,i=a.__v_raw,l=Et(i),c=t?Qe:e?Ut:Pt;return!e&&xe(l,"iterate",Fe),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function tt(e,t,n){return function(...o){const a=this.__v_raw,i=Et(a),l=V(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Qe:t?Ut:Pt;return!t&&xe(i,"iterate",s?_e:Fe),{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 nt(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${K(e)} operation ${n}failed: target is readonly.`,Et(this))}return"delete"!==e&&this}}function ot(){const e={get(e){return Ye(this,e)},get size(){return je(this)},has:He,add:Xe,set:Je,delete:Ze,clear:Ke,forEach:et(!1,!1)},t={get(e){return Ye(this,e,!1,!0)},get size(){return je(this)},has:He,add:Xe,set:Je,delete:Ze,clear:Ke,forEach:et(!1,!0)},n={get(e){return Ye(this,e,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!1)},o={get(e){return Ye(this,e,!0,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=tt(a,!1,!1),n[a]=tt(a,!0,!1),t[a]=tt(a,!1,!0),o[a]=tt(a,!0,!0)})),[e,n,t,o]}const[at,it,lt,ct]=ot();function st(e,t){const n=t?e?ct:lt:e?it:at;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(M(n,o)&&o in t?n:t,o,a)}const ut={get:st(!1,!1)},rt={get:st(!0,!1)},dt={get:st(!0,!0)};function ft(e,t,n){const o=Et(n);if(o!==n&&t.call(e,o)){const t=X(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 pt=new WeakMap,mt=new WeakMap,gt=new WeakMap,It=new WeakMap;function vt(e){return St(e)?e:Ft(e,!1,We,ut,pt)}function ht(e){return Ft(e,!0,ze,rt,gt)}function Tt(e){return Ft(e,!0,Ge,dt,It)}function Ft(e,t,n,o,a){if(!q(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}}(X(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function _t(e){return St(e)?_t(e.__v_raw):!(!e||!e.__v_isReactive)}function St(e){return!(!e||!e.__v_isReadonly)}function bt(e){return!(!e||!e.__v_isShallow)}function yt(e){return _t(e)||St(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}const Pt=e=>q(e)?vt(e):e,Ut=e=>q(e)?ht(e):e;function xt(e){return!(!e||!0!==e.__v_isRef)}const Lt={get:(e,t,n)=>{return xt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return xt(a)&&!xt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Rt=[];function At(e,...t){if("production"===process.env.NODE_ENV)return;Pe();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Rt[Rt.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)wt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Zn(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 <${Zn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ct(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ue()}function Ct(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Dt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Dt(e,t,n){return G(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:xt(t)?(t=Dt(e,Et(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Et(t),n?t:[`${e}=`,t])}const kt={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 wt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Ot(e,t,n)}return a}function Nt(e,t,n,o){if(z(e)){const a=wt(e,t,n,o);return a&&Y(a)&&a.catch((e=>{Ot(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(Nt(e[i],t,n,o));return a}function Ot(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?kt[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 wt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=kt[t];if(n&&(a=n,Rt.push(a)),At("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Rt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Bt=!1,Mt=!1;const $t=[];let Vt=0;const Wt=[];let zt=null,Gt=0;const Qt=Promise.resolve();let qt=null;const Yt=100;function Ht(e){const t=qt||Qt;return e?t.then(this?e.bind(this):e):t}function jt(e){$t.length&&$t.includes(e,Bt&&e.allowRecurse?Vt+1:Vt)||(null==e.id?$t.push(e):$t.splice(function(e){let t=Vt+1,n=$t.length;for(;t<n;){const o=t+n>>>1;Zt($t[o])<e?t=o+1:n=o}return t}(e.id),0,e),Xt())}function Xt(){Bt||Mt||(Mt=!0,qt=Qt.then(en))}function Jt(e){$(e)?Wt.push(...e):zt&&zt.includes(e,e.allowRecurse?Gt+1:Gt)||Wt.push(e),Xt()}const Zt=e=>null==e.id?1/0:e.id,Kt=(e,t)=>{const n=Zt(e)-Zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function en(e){Mt=!1,Bt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(Kt);const t="production"!==process.env.NODE_ENV?t=>tn(e,t):D;try{for(Vt=0;Vt<$t.length;Vt++){const e=$t[Vt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;wt(e,null,14)}}}finally{Vt=0,$t.length=0,function(e){if(Wt.length){const t=[...new Set(Wt)];if(Wt.length=0,zt)return void zt.push(...t);for(zt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),zt.sort(((e,t)=>Zt(e)-Zt(t))),Gt=0;Gt<zt.length;Gt++)"production"!==process.env.NODE_ENV&&tn(e,zt[Gt])||zt[Gt]();zt=null,Gt=0}}(e),Bt=!1,qt=null,($t.length||Wt.length)&&en(e)}}function tn(e,t){if(e.has(t)){const n=e.get(t);if(n>Yt){const e=t.ownerInstance,n=e&&Jn(e.type);return At(`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 nn=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:cn((function(e,t){if(on.has(e))return!1;return on.set(e,{initialDef:an(t),instances:new Set}),!0})),rerender:cn((function(e,t){const n=on.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,an(e.type).render=t),e.renderCache=[],e.update()}))})),reload:cn((function(e,t){const n=on.get(e);if(!n)return;t=an(t),ln(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=an(e.type);nn.has(o)||(o!==n.initialDef&&ln(o,t),nn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(nn.add(o),e.ceReload(t.styles),nn.delete(o)):e.parent?jt(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)nn.delete(an(e.type))}))}))});const on=new Map;function an(e){return Kn(e)?e.__vccOpts:e}function ln(e,t){N(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function cn(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 sn=null,un=null;const rn={};function dn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=C){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&At('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&At('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{At("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=Qn)?void 0:c.scope)?Qn:null;let r,d,f=!1,p=!1;if(xt(e)?(r=()=>e.value,f=bt(e)):_t(e)?(r=()=>e,o=!0):$(e)?(p=!0,f=e.some((e=>_t(e)||bt(e))),r=()=>e.map((e=>xt(e)?e.value:_t(e)?pn(e):z(e)?wt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):z(e)?r=t?()=>wt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),Nt(e,u,3,[m])}:(r=D,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>pn(e())}let m=e=>{d=h.onStop=()=>{wt(e,u,4)}},g=p?new Array(e.length).fill(rn):rn;const I=()=>{if(h.active)if(t){const e=h.run();(o||f||(p?e.some(((e,t)=>ee(e,g[t]))):ee(e,g)))&&(d&&d(),Nt(t,u,3,[e,g===rn?void 0:p&&g[0]===rn?[]:g,m]),g=e)}else h.run()};let v;I.allowRecurse=!!t,"sync"===a?v=I:"post"===a?v=()=>Ln(I,u&&u.suspense):(I.pre=!0,u&&(I.id=u.uid),v=()=>jt(I));const h=new Se(r,v);"production"!==process.env.NODE_ENV&&(h.onTrack=i,h.onTrigger=l),t?n?I():g=h.run():"post"===a?Ln(h.run.bind(h),u&&u.suspense):h.run();return()=>{h.stop(),u&&u.scope&&O(u.scope.effects,h)}}function fn(e,t,n){const o=this.proxy,a=G(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;z(t)?i=t:(i=t.handler,n=t);const l=Qn;Yn(this);const c=dn(a,i.bind(o),n);return l?Yn(l):Hn(),c}function pn(e,t){if(!q(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),xt(e))pn(e.value,t);else if($(e))for(let n=0;n<e.length;n++)pn(e[n],t);else if(W(e)||V(e))e.forEach((e=>{pn(e,t)}));else if(J(e))for(const n in e)pn(e[n],t);return e}function mn(e,t){return z(e)?(()=>N({name:e.name},t,{setup:e}))():e}const gn=Symbol.for("v-ndc"),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),_t(t=n)?t:new Proxy(t,Lt)),{get:(t,n)=>n in t?t[n]:n in vn?vn[n](e):void 0,has:(e,t)=>t in e||t in vn}));var t;var n}(e)||e.proxy:In(e.parent):null,vn=N(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Tt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Tt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Tt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Tt(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=>Sn(s,e,l,!0))),Sn(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>jt(e.update)),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?fn.bind(e):D}),hn=(e,t)=>e!==C&&!e.__isScriptSetup&&M(e,t),Tn={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(hn(o,t))return l[t]=1,o[t];if(a!==C&&M(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&M(u,t))return l[t]=3,i[t];if(n!==C&&M(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!_n||(l[t]=0)}}const r=vn[t];let d,f;return r?("$attrs"===t?(xe(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&xe(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==C&&M(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,M(f,t)?f[t]:void("production"===process.env.NODE_ENV||!sn||G(t)&&0===t.indexOf("__v")||(a!==C&&(e=>"_"===e||"$"===e)(t[0])&&M(a,t)?At(`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===sn&&At(`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 hn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&M(a,t)?(At(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&M(o,t)?(o[t]=n,!0):M(e.props,t)?("production"!==process.env.NODE_ENV&&At(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&At(`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!==C&&M(e,l)||hn(t,l)||(c=i[0])&&M(c,l)||M(o,l)||M(vn,l)||M(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Tn.ownKeys=e=>(At("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 _n=!0;function Sn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Sn(e,i,n,!0),a&&a.forEach((t=>Sn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&At('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=bn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const bn={data:yn,props:xn,emits:xn,methods:Un,computed:Un,beforeCreate:Pn,created:Pn,beforeMount:Pn,mounted:Pn,beforeUpdate:Pn,updated:Pn,beforeDestroy:Pn,beforeUnmount:Pn,destroyed:Pn,unmounted:Pn,activated:Pn,deactivated:Pn,errorCaptured:Pn,serverPrefetch:Pn,components:Un,directives:Un,watch:function(e,t){if(!e)return t;if(!t)return e;const n=N(Object.create(null),e);for(const o in t)n[o]=Pn(e[o],t[o]);return n},provide:yn,inject:function(e,t){return Un(En(e),En(t))}};function yn(e,t){return t?e?function(){return N(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function En(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pn(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?N(Object.create(null),e,t):t}function xn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:N(Object.create(null),Fn(e),Fn(null!=t?t:{})):t}const Ln=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Jt(e)},Rn=Symbol.for("v-fgt"),An=Symbol.for("v-txt"),Cn=Symbol.for("v-cmt");let Dn=null;const kn="__vInternal",wn=({key:e})=>null!=e?e:null,Nn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?G(e)||xt(e)||z(e)?{i:sn,r:e,k:t,f:!!n}:e:null);const On="production"!==process.env.NODE_ENV?(...e)=>Bn(...e):Bn;function Bn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==gn||("production"===process.env.NODE_ENV||e||At(`Invalid vnode type when creating vnode: ${e}.`),e=Cn),(l=e)&&!0===l.__v_isVNode){const o=Mn(e,t,!0);return n&&Wn(o,n),!i&&Dn&&(6&o.shapeFlag?Dn[Dn.indexOf(e)]=o:Dn.push(o)),o.patchFlag|=-2,o}var l;if(Kn(e)&&(e=e.__vccOpts),t){t=function(e){return e?yt(e)||kn in e?N({},e):e:null}(t);let{class:e,style:n}=t;e&&!G(e)&&(t.class=ue(e)),q(n)&&(yt(n)&&!$(n)&&(n=N({},n)),t.style=ae(n))}const c=G(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:z(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&yt(e)&&At("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===Rn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wn(t),ref:t&&Nn(t),scopeId:un,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:sn};return c?(Wn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=G(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&At("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Dn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Dn.push(s),s}(e,t,n,o,a,c,i,!0)}function Mn(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(w(e)){const n=t[e],a=o[e];!a||n===a||$(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&&wn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(Nn(t)):[a,Nn(t)]:Nn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map($n):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rn?-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&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $n(e){const t=Mn(e);return $(e.children)&&(t.children=e.children.map($n)),t}function Vn(e=" ",t=0){return On(An,null,e,t)}function Wn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Wn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||kn in t?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else z(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[Vn(t)]):n=8);e.children=t,e.shapeFlag|=n}let zn,Gn,Qn=null,qn="__VUE_INSTANCE_SETTERS__";(Gn=oe()[qn])||(Gn=oe()[qn]=[]),Gn.push((e=>Qn=e)),zn=e=>{Gn.length>1?Gn.forEach((t=>t(e))):Gn[0](e)};const Yn=e=>{zn(e),e.scope.on()},Hn=()=>{Qn&&Qn.scope.off(),zn(null)};const jn=/(?:^|[-_])(\w)/g,Xn=e=>e.replace(jn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Jn(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Zn(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?Xn(o):n?"App":"Anonymous"}function Kn(e){return z(e)&&"__vccOpts"in e}var eo=mn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{P.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{P.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{P.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const to={clipChildren:!1,ref:"viewRef"};eo.render=function(e,a,i,l,c,s){return t(),n("div",to,[o(e.$slots,"default")],512)},eo.__file="src/view/index.vue";var no=mn({name:"qt-text"});no.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u)},no.__file="src/text/index.vue";var oo=mn({name:"qt-image"});const ao={src:"",alt:"",clipChildren:!1};oo.render=function(e,o,a,i,l,c){return t(),n("img",ao)},oo.__file="src/image/index.vue";var io=mn({name:"qt-column"});const lo={class:"qt-ui-row-css",clipChildren:!1};io.render=function(e,a,i,l,c,s){return t(),n("div",lo,[o(e.$slots,"default")])},io.__scopeId="data-v-734c04b2",io.__file="src/column/index.vue";var co=mn({name:"qt-row"});const so={class:"qt-ui-row-css",clipChildren:!1};co.render=function(e,a,i,l,c,s){return t(),n("div",so,[o(e.$slots,"default")])},co.__scopeId="data-v-9c454b58",co.__file="src/row/index.vue";var uo=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{focused:a,requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){P.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const ro=["focusable","enableFocusBorder","focusScale"],fo=["gradientBackground"],po=["gradientBackground"],mo=["gradientBackground"],go=["src"],Io=["src"];function vo(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})}))}uo.render=function(e,l,d,f,p,m){const g=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,fo)):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,po)):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,mo)):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,go)):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(g,{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,ro)},uo.__scopeId="data-v-46a594e4",uo.__file="src/button/index.vue";const ho=e=>e.map(Fo),To=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=Fo(e[t])})),n};function Fo(e){return e?"object"!=typeof e?e:Array.isArray(e)?ho(e):To(e):e}var _o=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){U(),x();const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,p=e(!1),m=-1,g=-1,I=-1,v=-1,h=e(!1);d((()=>{t.openPage&&(r=1,p.value=!1,t.loadMore(r))}));const T=(e,n)=>{n||(L(),i=Fo(e),l=e,a.value<2.2?(F(),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&&(I&&clearTimeout(I),I=setTimeout((()=>{b(t.defaultFocus),y(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(F(),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&&P(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=Fo(e),a.value<2.2?(F(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p.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&&!p.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){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];F();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||h.value?v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else v=t.openPage&&!p.value?!t.pageSize&&2==r||h.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.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 _(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?T(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const m=e[n],g=Reflect.set(e,n,d,f);if((!_(m)&&m!==d||_(m))&&"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&&m!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];F();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||h.value?v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=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]);v&&clearTimeout(v),v=t.openPage&&!p.value?!t.pageSize&&2==r||h.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.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 g}};return new Proxy(e,d)},F=()=>{let e=Fo(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)}}},_=e=>null!==e&&"object"==typeof e,S=()=>{g&&clearTimeout(g),g=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),p.value=!0},b=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)},y=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)},E=(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)},P=(e,t)=>{o.value.addItem(e,t)},L=()=>{h.value=!1,i=[],s=[],l.length=0,p.value=!1,c=[],r=1,p.value=!1,u="",m&&clearTimeout(m),v&&clearTimeout(v),g&&clearTimeout(g),I&&clearTimeout(I)};f((()=>{L()}));let R=-1;return{tv_list:o,apkVersion:a,init:T,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=>{a.value<2.2?p.value||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p.value||e.position!=i.length-1-t.preloadNo||(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(R);let e=0;p.value||(e=420,S()),R=setTimeout((()=>{h.value=!0,r=1,p.value=!1,t.loadMore(r)}),e)},isRestartPage:h,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:S,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,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:y,scrollToFocused:e=>{b(e),y(e)},setItemSelected:E,scrollToSelected:(e,t)=>{b(e),E(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{m&&clearTimeout(m),m=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:P,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()}}}});_o.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:p((()=>[e.apkVersion<2.2?(t(),n(m,{key:0},[o(e.$slots,"header"),g(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:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(m,{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"])},_o.__file="src/grid-view/index.vue";var So=mn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const bo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},yo={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",bo,[u(" 浮动标题"),g(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}),I("div",yo,[u(" 主标题 "),g(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(" 副标题 "),g(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 Eo=mn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Po={class:"cornerRoot",focusable:!1},Uo=(e=>(v("data-v-4b767ea2"),e=e(),h(),e))((()=>I("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Eo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Po,[g(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"]),Uo])},Eo.__scopeId="data-v-4b767ea2",Eo.__file="src/poster/qt-poster-corner-title.vue";var xo=mn({name:"qt-poster",components:{"qt-poster-corner-title":Eo,"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:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Lo=e=>(v("data-v-3c4765e9"),e=e(),h(),e),Ro=Lo((()=>I("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Ao=["showOnState"],Co={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},ko=Lo((()=>I("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));xo.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),m=a("ripple-view"),v=a("qt-poster-corner-title"),h=a("item-frame");return t(),i(h,{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:p((()=>[u("封面"),Ro,g(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(" 焦点选中时的标题 "),g(f,{focusable:!1,showOnState:"focused"}),I("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),I("div",Co,[g(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(" 主标题"),g(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,Ao),I("div",Do,[g(m,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),ko]),g(v,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},xo.__scopeId="data-v-3c4765e9",xo.__file="src/poster/index.vue";var wo=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=T({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;F((()=>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)}}}});const No=["stateTextColor","sateBackgroundPadding"],Oo=["stateTextColor","sateBackgroundPadding"];var Bo,Mo;wo.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:p((()=>[I("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},[g(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,No),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:p((()=>[I("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},[g(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Oo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},wo.__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"}(Bo||(Bo={})),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 $o=mn({name:"card-item",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});$o.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"])},$o.__scopeId="data-v-599898aa",$o.__file="src/waterfall/item/card-item.vue";var Vo=mn({name:"standard-section",components:{"card-item":$o},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Bo.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=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Wo=["type"],zo=(e=>(v("data-v-227e921e"),e=e(),h(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Vo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),m=a("card-item"),I=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}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[g(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),zo,g(I,{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:p((()=>[u(" poster "),g(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),g(m,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Wo)},Vo.__scopeId="data-v-227e921e",Vo.__file="src/waterfall/section/flex-section.vue";const Go="list-section";var Qo=mn({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:Bo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=L();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemFocused--------------\x3e>>",e)}}}});const qo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Yo=(e=>(v("data-v-6aa2cfd4"),e=e(),h(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ho=["type"];Qo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),m=a("tv-item");return t(),i(m,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[I("div",qo,[g(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Yo,g(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:p((()=>[g(d,{type:e.standItemType},null,8,["type"]),I("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:""},[g(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,Ho),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Qo.__scopeId="data-v-6aa2cfd4",Qo.__file="src/waterfall/section/list-section.vue";var jo=mn({name:"loading-section"});const Xo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};jo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Xo,[g(u,{class:"loading-section-loading-css"})])},jo.__scopeId="data-v-48609f24",jo.__file="src/waterfall/section/loading-section.vue";var Jo=mn({name:"end-section",setup:()=>({})});const Zo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Jo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Zo,[g(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Jo.__scopeId="data-v-70b82c43",Jo.__file="src/waterfall/section/end-section.vue";var Ko=mn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Bo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ea=["type"];Ko.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},[g(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,ea)},Ko.__scopeId="data-v-20428d40",Ko.__file="src/waterfall/section/section-title.vue";var ta=mn({name:"blank-section",setup:()=>({})});const na={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ta.render=function(e,o,a,i,l,c){return t(),n("div",na)},ta.__scopeId="data-v-eeab4d88",ta.__file="src/waterfall/section/blank-section.vue";var oa=mn({name:"card-section",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const aa={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};oa.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",aa,[g(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),g(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"])])},oa.__scopeId="data-v-43a44788",oa.__file="src/waterfall/section/card-section.vue";var ia,la=mn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ca(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=sa(e,t[o]);n.push(a)}return n}function sa(e,t){let n=0;return t.itemList.length>0&&t.type==Bo.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,p=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+=p+n,p=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>p&&(p=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function ua(){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=[]}}}la.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}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},la.__scopeId="data-v-f8447724",la.__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"}(ia||(ia={}));const ra="qt-waterfall";var da,fa,pa=mn({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=L(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(ia.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=ua();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(R.DEBUG)&&o.d(ra,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(R.DEBUG)&&o.d(ra,"-------2---setSectionList--------------\x3e>>",t);const n=ca(c,e);o.isLoggable(R.DEBUG)&&o.d(ra,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=ca(c,e);o.isLoggable(R.DEBUG)&&o.d(ra,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(R.DEBUG)&&o.d(ra,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=sa(0,t);o.isLoggable(R.DEBUG)&&o.d(ra,"----------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=sa(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=sa(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=sa(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=sa(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=sa(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(R.DEBUG)&&o.d(ra,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------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(R.DEBUG)&&o.d(ra,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------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;n.emit("onScrollStateChanged",o,t,a)},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)}}},components:{"flex-section":Vo,"list-section":Qo,"section-title":Ko,"loading-section":jo,"end-section":Jo,"blank-section":ta,"card-section":oa,"vue-section":la}});function ma(){const e=new Map,t=new Map;function n(n){const o={index:n,state:da.QT_TAB_PAGE_STATE_IDLE,sectionBindIndex:0};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,getTabPageData:function(t){return e.get(t)},setPageData: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!=da.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=da.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()}}}pa.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),m=a("loading-section"),I=a("end-section"),v=a("blank-section"),h=a("card-section"),T=a("vue-section"),F=a("tv-list");return t(),i(F,{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:p((()=>[u(" 普通版块"),g(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),g(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),g(m),u(" end "),g(I),u(" blank "),g(v),u(" card "),g(h,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),g(T,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[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"])},pa.__file="src/waterfall/index.vue",function(e){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"}(da||(da={})),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"}(fa||(fa={}));const ga="qt-tabs";var Ia=mn({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:""},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=L(),c=e(),s=ma();let u,r=[],d=-1,f=-1;function p(e,t){const n=s.getTabPageData(e);n&&(n.state=t,s.setPageData(e,n))}function m(e,t){const n=s.getTabPageData(e);n&&(n.sectionBindIndex=t,s.setPageData(e,n))}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 I(e,o,a){let i=function(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}(e),c=s.getTabPageData(e);if(c&&c.state===da.QT_TAB_PAGE_STATE_IDLE){a>=s.getSectionList(e).length-t.preloadNumber-1?(l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a),p(e,da.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData--preloadNumber错误--\x3e>>>",e)}else l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData--状态不对--\x3e>>>",e)}function v(){clearTimeout(f),f=setTimeout((()=>{const e=s.getSectionListByState(d,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(R.DEBUG)&&l.d(ga,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function h(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function T(e,t,o){l.isLoggable(R.DEBUG)&&l.d(ga,"----------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(R.DEBUG)&&l.d(ga,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(R.DEBUG)&&l.d(ga,"------设置数据----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:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(R.DEBUG)&&l.d(ga,"----设置数据------loadPageData---addPageData---\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),g(e),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ca(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=sa(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=sa(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=sa(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()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----android--\x3e>>>pageIndex:"+t),s.initTabPageData(t),function(e){if(e<0||e>r.length)return;r[e].__pageNo=0}(t),m(t,0),t===d&&I(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return void(l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageChanged---重复发送page-changed事件---\x3e>>> pageIndex:"+t));d=t;const o=e.data;l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o);const a=s.getTabPageData(t);a&&a.sectionBindIndex>=0&&I(t,!1,a.sectionBindIndex),v()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=d,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(R.DEBUG)&&l.d(ga,"----------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":h(i,c);break;case"onScrollStateChanged":T(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),m(e,t),e===d&&(l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),I(e,!1,t))},onWaterfallSectionAttached:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&v()},onWaterfallSectionDetached:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:h,onWaterfallScrollStateChanged:T,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d}}}});Ia.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),m=a("qt-waterfall"),I=a("recycler-view-pager"),v=a("tabs");return e.ifTabs?(t(),i(v,{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:p((()=>[g(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),g(I,{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:p((()=>[g(m,{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:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[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 va=mn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});va.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},va.__scopeId="data-v-d02af3c2",va.__file="src/section/index.vue";var ha=mn({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){let o=e(1);const a=e(),i=e();let l=[],c=-1,s=-1,u=[];let r=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:i,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<l.length;e++){const t=l[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=l.length),l.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Ht((()=>{a.value?.setListData(e),i.value?.setListData(l),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),i.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,i.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else s=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&s!=e.position&&(o.value=2,s=e.position,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.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<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const Ta={focusable:!1,clipChildren:!1},Fa=["focusScale"],_a=I("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Sa=I("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),ba={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ya={class:"playMark",focusable:!1},Ea=["type"],Pa=I("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Ua=I("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),xa={class:"nav_item_text",focusable:!1,duplicateParentState:!0};ha.render=function(e,i,l,r,d,f){const m=a("play-mark"),v=a("text-view"),h=a("qt-list-view");return t(),n("div",Ta,[u(" listview second nav "),g(h,{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:p((()=>[I("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[_a,Sa,I("div",ba,[I("div",ya,[g(m,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),g(v,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Fa),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),g(h,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[I("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Pa,Ua,I("div",xa,[g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ea),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ha.__file="src/classified-list-view/index.vue";var La=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Ra={class:"number-item-container",focusable:!0,focusScale:1},Aa={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Ca={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};La.render=function(e,o,i,l,s,u){const r=a("text-view"),d=a("play-mark");return t(),n("div",Ra,[g(r,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),g(r,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),I("div",Aa,[g(d,{style:{width:"24px",height:"25px"},markColor:e.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),g(r,{duplicateParentState:!0,fontSize:36,gravity:"center",style:c({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),I("div",Ca,[g(r,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},La.__scopeId="data-v-4afb8987",La.__file="src/series/item/media-series-number-item.vue";var Da=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const ka={class:"text-item-container",focusable:!0,focusScale:1},wa={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},Na={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,s,u){const r=a("play-mark"),d=a("text-view");return t(),n("div",ka,[I("div",wa,[g(r,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:c([{color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"},{"focus-color":"rgba(0, 0, 0, 1)"}]),fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"},null,8,["style"])]),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnOnlyFocused:"",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(0, 0, 0, 1)"},text:"${title}"}),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnState:"normal",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(255, 255, 255, .50)"},text:"${title}"}),I("div",Na,[g(d,{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 Oa,Ba,Ma=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);_((()=>{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):Ht((()=>{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=>{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 Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Ma.render=function(e,n,l,s,r,d){const f=a("select-series"),m=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:p((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(m,{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)},Ma.__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"}(Oa||(Oa={})),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 Va,Wa,za,Ga,Qa=l({name:"qt-media-series",components:{"media-series-number-item":La,"media-series-text-item":Da,"media-series":Ma},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),a=e(!1),i=L(),l=e(),c=e(),s=e(),u=e(),r=e(0),d=e(!1),f=e(Oa.QT_MEDIA_SERIES_TYPE_NUMBER);let p;return{isVip:d,seriesType:f,params:l,commonParams:c,scrollParams:s,groupParams:u,mediaSeriesRef:o,show:a,height:r,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,d)=>{f.value=e,p=d,l.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,d),c.value=$a(e,0,0,d),s.value=function(e,t,n,o){if(e===Oa.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),u.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Oa.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Oa.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),Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=function(e,t,n,o){switch(e){case Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Ht((()=>{o.value&&o.value?.setInitData(d.totalCount,d.pageSize)})),i.isLoggable(R.DEBUG)&&i.d("MediaSeries","----setInitData----\x3e>>>",r.value)):(r.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,l),l.value.totalCount=d.totalCount,l.value.pageSize=d.pageSize),a.value=!0},setPageData:(e,t)=>{let n=t;f.value==Oa.QT_MEDIA_SERIES_TYPE_NUMBER&&(n=function(e,t,n){const o=[];return n.length>0&&n.forEach(((n,a)=>{let i=e*t+a+1,l=i>9?""+i:"0"+i;o.push({id:n.id,title:l,vip:n.vip})})),o}(e,p.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(),a.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])}}}});Qa.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),m=a("media-series");return e.show?(t(),i(m,{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:p((()=>["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)},Qa.__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"}(Va||(Va={})),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"}(Wa||(Wa={})),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"}(za||(za={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ga||(Ga={}));const qa="QTCollapse";var Ya,Ha,ja,Xa,Ja=mn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=L();let a,i,l=n.slots.default&&n.slots.default();const c=e(0),s=e(0);let u=200;const r={};const d={};function f(e){return d[`${e}`]}function p(e,t){const i=a[e],l=i.__y,c=s.value-i.height-l;o.isLoggable(R.DEBUG)&&o.d(qa,"-------expandItem-------\x3e>>>",e,c,l);let u=0;for(let n=a.length-1;n>=0;n--){const i=a[n];i.height;const l=i.collapseHeight;n<e&&(u+=l);try{const t=g(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const s=f(n);s&&(o.isLoggable(R.DEBUG)&&o.d(qa,"-------expandItem----translationY---\x3e>>>",i,n,i.__translationY,c+u),m(n+"",i,s,i.__translationY,c+u,t))}try{n.emit("onCollapseItemExpand",e,i)}catch(e){}}function m(e,t,n,o,a,i){n.objectAnimator2(e,Ga.QT_ANIMATION_VALUE_TYPE_FLOAT,Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function g(e){return r[`${e}`]}return{collapseItemComponentList:l,initComponentRef:function(e,t,n){e&&(r[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},init:function(e){i=e.defaultIndex??0,a=e.itemList,c.value=e.width,s.value=e.height,u=e.expandDuration??200,i<0&&(i=0),i>=a.length&&(i=a.length-1),function(){if(!a||a.length<=0)return;const e=a.length;let t=0;for(let n=e-1;n>=0;n--){const e=a[n];t+=e.height,e.__y=s.value-t,e.__translationY=0}o.isLoggable(R.DEBUG)&&o.d(qa,"----initCollapseItem----\x3e>>>",a)}(),S((()=>{p(i,0)}))},getItem:g,expandItem:function(e){p(e,u)},collapse:function(){const e=a.length,t=a[e-1],n=t.__y,o=s.value-t.height-n;let i=0;for(let t=e-1;t>=0;t--){const e=a[t];i+=e.collapseHeight;try{const e=g(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=f(t);n&&m(t+"",e,n,e.__translationY,o+i,0)}},expand:function(){for(let e=a.length-1;e>=0;e--){const t=a[e];try{const t=g(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=f(e);n&&m(e+"",t,n,t.__translationY,0,0)}},collapseWidth:c,collapseHeight:s}}});function Za(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();x();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,p=-1,m=-1,g=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const I=(e,n)=>{n||(a=Fo(e),v(a,-1),i=e,t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):F(a),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{C(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),y(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?F([]):b(Number(t[0]),a.length-t[0]+1):2==t.length?b(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):U(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(),y(Number(l[0]),a[l[0]])):(b(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=Fo(e),t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):F(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),y(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{S(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):_(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return h(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?I(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];T(e,n);const d=Reflect.set(e,n,o,s);if((!h(r)&&r!==o||h(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],y(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],y(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"))y(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);g&&clearTimeout(g),g=t.openPage&&!u?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{_(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},v=(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&&v(o.list,n)}},h=e=>null!==e&&"object"==typeof e,T=(e,t)=>{Object.hasOwnProperty.call(e,t)},F=e=>{r&&clearTimeout(r),r=setTimeout((()=>{P.callUIFunction(o.value,"setListData",e)}),100)},_=e=>{P.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{P.callUIFunction(o.value,"addListDataWithParams",[e,t])},b=(e,t)=>{P.callUIFunction(o.value,"deleteItemRange",[e,t])},y=(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},U=(e,t,n)=>{P.callUIFunction(o.value,"updateItemRange",[e,t,n])},L=(e,t)=>{P.callUIFunction(o.value,"insertItemRange",[e,t])},R=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},A=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},C=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],i.length=0,l=[],u=!1,s=1,c="",r&&clearTimeout(r),m&&clearTimeout(m),g&&clearTimeout(g),p&&clearTimeout(p)})),n.expose({viewRef:o,init:I,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:y,updateItemList:U,hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:F,insertItem:L,addListData:_,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:b,setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{P.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:A,scrollToFocused:e=>{A(e),C(e)},scrollToSelected:(e,t)=>{A(e),R(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:C,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{P.callUIFunction(o.value,"clearFocus",[])},setItemSelected:R,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{b(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return E("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=>{e.position==a.length-1-t.preloadNo&&(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)}Ja.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(m,null,b(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:p((()=>[(t(),i(y(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Ja.__scopeId="data-v-4feca809",Ja.__file="src/collapse/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ya||(Ya={})),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"}(Ha||(Ha={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ja||(ja={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Xa||(Xa={}));const Ka=[eo,no,oo,io,co,uo,_o,xo,wo,pa,Ia,ha,va,Qa,Ja],ei=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>E("LoadingViewComponent",{ref:o})}}),Za(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)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return E("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();_((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),m(!0),f(!0),d(!0),p(!0),i(1),g(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>E("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","onJavascriptReceiveValue"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),m(!0),f(!0),d(!0),p(!0),i(1),g(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>E("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()=>E("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:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],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,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.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),P.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(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>E("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=mn({name:"qt-progress-bar",setup(t,n){const o=e();return n.expose({invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>E("TVProgressBarViewComponent",{ref:o,onFocusChange:e=>{n.emit("focus",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});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();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,i,l,c,s,u,r){P.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,i,l,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,i,l,c,s,u,r,d){P.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,i,l,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,i,l,c,s,u,r,d,f){P.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,i,l,c,s,u,r,d,f,p){P.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,i,l,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m){P.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,i,l,c,s,u,r,d,f,p,m],(e=>{}))},objectAnimator6:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g){P.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g],(e=>{}))},objectAnimator7:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I){P.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I],(e=>{}))},objectAnimator8:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v){P.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v],(e=>{}))},objectAnimator9:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h){P.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h],(e=>{}))},objectAnimator10:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h,T){P.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h,T],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return E("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()=>E("Modal",{ref:o})}})}(t);for(let e in Ka)t.component(Ka[e].name,Ka[e])};export{Va as QTAnimationInterpolatorType,Wa as QTAnimationPropertyName,za as QTAnimationRepeatMode,Ga as QTAnimationValueType,Ya as QTDirections,Ba as QTMediaSeriesStyleType,Oa as QTMediaSeriesType,ja as QTNavBarItemType,Ha as QTScrollState,Xa as QTTabItemType,da as QTTabPageState,Mo as QTWaterfallItemType,Bo as QTWaterfallSectionType,ia as QTWaterfallVisibleType,ei as QuickTVUI,vo 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 p,Fragment as m,createVNode as g,createElementVNode as I,pushScopeId as v,popScopeId as h,reactive as T,watch as F,onMounted as _,nextTick as S,renderList as b,resolveDynamicComponent as y,h as E}from"vue";import{Native as P}from"@extscreen/es3-vue";import{useESToast as U,useES as x,useESLog as L,ESLogLevel as R}from"@extscreen/es3-core";function A(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 C="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},k=/^on[^a-z]/,w=e=>k.test(e),N=Object.assign,O=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,M=(e,t)=>B.call(e,t),$=Array.isArray,V=e=>"[object Map]"===j(e),W=e=>"[object Set]"===j(e),z=e=>"function"==typeof e,G=e=>"string"==typeof e,Q=e=>"symbol"==typeof e,q=e=>null!==e&&"object"==typeof e,Y=e=>q(e)&&z(e.then)&&z(e.catch),H=Object.prototype.toString,j=e=>H.call(e),X=e=>j(e).slice(8,-1),J=e=>"[object Object]"===j(e),Z=e=>G(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,K=(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($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=G(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}return G(e)||q(e)?e:void 0}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(G(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(q(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},pe=e=>(e.w&ve)>0,me=e=>(e.n&ve)>0,ge=new WeakMap;let Ie=0,ve=1;const he=30;let Te;const Fe=Symbol("production"!==process.env.NODE_ENV?"iterate":""),_e=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Se{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=Te,t=ye;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Te,Te=this,ye=!0,ve=1<<++Ie,Ie<=he?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ve})(this):be(this),this.fn()}finally{Ie<=he&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];pe(a)&&!me(a)?a.delete(e):t[n++]=a,a.w&=~ve,a.n&=~ve}t.length=n}})(this),ve=1<<--Ie,Te=this.parent,ye=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Te===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ye=!0;const Ee=[];function Pe(){Ee.push(ye),ye=!1}function Ue(){const e=Ee.pop();ye=void 0===e||e}function xe(e,t,n){if(ye&&Te){let o=ge.get(e);o||ge.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;Ie<=he?me(e)||(e.n|=ve,n=!pe(e)):n=!e.has(Te);n&&(e.add(Te),Te.deps.push(e),"production"!==process.env.NODE_ENV&&Te.onTrack&&Te.onTrack(N({effect:Te},t)))}(a,"production"!==process.env.NODE_ENV?{effect:Te,target:e,type:t,key:n}:void 0)}}function Le(e,t,n,o,a,i){const l=ge.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?Z(n)&&c.push(l.get("length")):(c.push(l.get(Fe)),V(e)&&c.push(l.get(_e)));break;case"delete":$(e)||(c.push(l.get(Fe)),V(e)&&c.push(l.get(_e)));break;case"set":V(e)&&c.push(l.get(Fe))}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?Re(c[0],s):Re(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Re(fe(e),s):Re(fe(e))}}function Re(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&Ae(e,t);for(const e of n)e.computed||Ae(e,t)}function Ae(e,t){(e!==Te||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(N({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ce=A("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Q)),ke=$e(),we=$e(!0),Ne=$e(!0,!0),Oe=Be();function Be(){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++)xe(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){Pe();const n=Et(this)[t].apply(this,e);return Ue(),n}})),e}function Me(e){const t=Et(this);return xe(t,"has",e),t.hasOwnProperty(e)}function $e(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?It:gt:t?mt:pt).get(n))return n;const i=$(n);if(!e){if(i&&M(Oe,o))return Reflect.get(Oe,o,a);if("hasOwnProperty"===o)return Me}const l=Reflect.get(n,o,a);return(Q(o)?De.has(o):Ce(o))?l:(e||xe(n,"get",o),t?l:xt(l)?i&&Z(o)?l:l.value:q(l)?e?ht(l):vt(l):l)}}function Ve(e=!1){return function(t,n,o,a){let i=t[n];if(St(i)&&xt(i)&&!xt(o))return!1;if(!e&&(bt(o)||St(o)||(i=Et(i),o=Et(o)),!$(t)&&xt(i)&&!xt(o)))return i.value=o,!0;const l=$(t)&&Z(n)?Number(n)<t.length:M(t,n),c=Reflect.set(t,n,o,a);return t===Et(a)&&(l?ee(o,i)&&Le(t,"set",n,o,i):Le(t,"add",n,o)),c}}const We={get:ke,set:Ve(),deleteProperty:function(e,t){const n=M(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Le(e,"delete",t,void 0,o),a},has:function(e,t){const n=Reflect.has(e,t);return Q(t)&&De.has(t)||xe(e,"has",t),n},ownKeys:function(e){return xe(e,"iterate",$(e)?"length":Fe),Reflect.ownKeys(e)}},ze={get:we,set:(e,t)=>("production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>("production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},Ge=N({},ze,{get:Ne}),Qe=e=>e,qe=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n=!1,o=!1){const a=Et(e=e.__v_raw),i=Et(t);n||(t!==i&&xe(a,"get",t),xe(a,"get",i));const{has:l}=qe(a),c=o?Qe:n?Ut:Pt;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,o=Et(n),a=Et(e);return t||(e!==a&&xe(o,"has",e),xe(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function je(e,t=!1){return e=e.__v_raw,!t&&xe(Et(e),"iterate",Fe),Reflect.get(e,"size",e)}function Xe(e){e=Et(e);const t=Et(this);return qe(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function Je(e,t){t=Et(t);const n=Et(this),{has:o,get:a}=qe(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&ft(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)&&Le(n,"set",e,t,l):Le(n,"add",e,t),this}function Ze(e){const t=Et(this),{has:n,get:o}=qe(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ft(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&&Le(t,"delete",e,void 0,i),l}function Ke(){const e=Et(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?V(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Le(e,"clear",void 0,void 0,n),o}function et(e,t){return function(n,o){const a=this,i=a.__v_raw,l=Et(i),c=t?Qe:e?Ut:Pt;return!e&&xe(l,"iterate",Fe),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function tt(e,t,n){return function(...o){const a=this.__v_raw,i=Et(a),l=V(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Qe:t?Ut:Pt;return!t&&xe(i,"iterate",s?_e:Fe),{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 nt(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${K(e)} operation ${n}failed: target is readonly.`,Et(this))}return"delete"!==e&&this}}function ot(){const e={get(e){return Ye(this,e)},get size(){return je(this)},has:He,add:Xe,set:Je,delete:Ze,clear:Ke,forEach:et(!1,!1)},t={get(e){return Ye(this,e,!1,!0)},get size(){return je(this)},has:He,add:Xe,set:Je,delete:Ze,clear:Ke,forEach:et(!1,!0)},n={get(e){return Ye(this,e,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!1)},o={get(e){return Ye(this,e,!0,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=tt(a,!1,!1),n[a]=tt(a,!0,!1),t[a]=tt(a,!1,!0),o[a]=tt(a,!0,!0)})),[e,n,t,o]}const[at,it,lt,ct]=ot();function st(e,t){const n=t?e?ct:lt:e?it:at;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(M(n,o)&&o in t?n:t,o,a)}const ut={get:st(!1,!1)},rt={get:st(!0,!1)},dt={get:st(!0,!0)};function ft(e,t,n){const o=Et(n);if(o!==n&&t.call(e,o)){const t=X(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 pt=new WeakMap,mt=new WeakMap,gt=new WeakMap,It=new WeakMap;function vt(e){return St(e)?e:Ft(e,!1,We,ut,pt)}function ht(e){return Ft(e,!0,ze,rt,gt)}function Tt(e){return Ft(e,!0,Ge,dt,It)}function Ft(e,t,n,o,a){if(!q(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}}(X(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function _t(e){return St(e)?_t(e.__v_raw):!(!e||!e.__v_isReactive)}function St(e){return!(!e||!e.__v_isReadonly)}function bt(e){return!(!e||!e.__v_isShallow)}function yt(e){return _t(e)||St(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}const Pt=e=>q(e)?vt(e):e,Ut=e=>q(e)?ht(e):e;function xt(e){return!(!e||!0!==e.__v_isRef)}const Lt={get:(e,t,n)=>{return xt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return xt(a)&&!xt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Rt=[];function At(e,...t){if("production"===process.env.NODE_ENV)return;Pe();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Rt[Rt.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)wt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Zn(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 <${Zn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ct(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ue()}function Ct(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Dt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Dt(e,t,n){return G(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:xt(t)?(t=Dt(e,Et(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Et(t),n?t:[`${e}=`,t])}const kt={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 wt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Ot(e,t,n)}return a}function Nt(e,t,n,o){if(z(e)){const a=wt(e,t,n,o);return a&&Y(a)&&a.catch((e=>{Ot(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(Nt(e[i],t,n,o));return a}function Ot(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?kt[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 wt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=kt[t];if(n&&(a=n,Rt.push(a)),At("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Rt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Bt=!1,Mt=!1;const $t=[];let Vt=0;const Wt=[];let zt=null,Gt=0;const Qt=Promise.resolve();let qt=null;const Yt=100;function Ht(e){const t=qt||Qt;return e?t.then(this?e.bind(this):e):t}function jt(e){$t.length&&$t.includes(e,Bt&&e.allowRecurse?Vt+1:Vt)||(null==e.id?$t.push(e):$t.splice(function(e){let t=Vt+1,n=$t.length;for(;t<n;){const o=t+n>>>1;Zt($t[o])<e?t=o+1:n=o}return t}(e.id),0,e),Xt())}function Xt(){Bt||Mt||(Mt=!0,qt=Qt.then(en))}function Jt(e){$(e)?Wt.push(...e):zt&&zt.includes(e,e.allowRecurse?Gt+1:Gt)||Wt.push(e),Xt()}const Zt=e=>null==e.id?1/0:e.id,Kt=(e,t)=>{const n=Zt(e)-Zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function en(e){Mt=!1,Bt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(Kt);const t="production"!==process.env.NODE_ENV?t=>tn(e,t):D;try{for(Vt=0;Vt<$t.length;Vt++){const e=$t[Vt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;wt(e,null,14)}}}finally{Vt=0,$t.length=0,function(e){if(Wt.length){const t=[...new Set(Wt)];if(Wt.length=0,zt)return void zt.push(...t);for(zt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),zt.sort(((e,t)=>Zt(e)-Zt(t))),Gt=0;Gt<zt.length;Gt++)"production"!==process.env.NODE_ENV&&tn(e,zt[Gt])||zt[Gt]();zt=null,Gt=0}}(e),Bt=!1,qt=null,($t.length||Wt.length)&&en(e)}}function tn(e,t){if(e.has(t)){const n=e.get(t);if(n>Yt){const e=t.ownerInstance,n=e&&Jn(e.type);return At(`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 nn=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:cn((function(e,t){if(on.has(e))return!1;return on.set(e,{initialDef:an(t),instances:new Set}),!0})),rerender:cn((function(e,t){const n=on.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,an(e.type).render=t),e.renderCache=[],e.update()}))})),reload:cn((function(e,t){const n=on.get(e);if(!n)return;t=an(t),ln(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=an(e.type);nn.has(o)||(o!==n.initialDef&&ln(o,t),nn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(nn.add(o),e.ceReload(t.styles),nn.delete(o)):e.parent?jt(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)nn.delete(an(e.type))}))}))});const on=new Map;function an(e){return Kn(e)?e.__vccOpts:e}function ln(e,t){N(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function cn(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 sn=null,un=null;const rn={};function dn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=C){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&At('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&At('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{At("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=Qn)?void 0:c.scope)?Qn:null;let r,d,f=!1,p=!1;if(xt(e)?(r=()=>e.value,f=bt(e)):_t(e)?(r=()=>e,o=!0):$(e)?(p=!0,f=e.some((e=>_t(e)||bt(e))),r=()=>e.map((e=>xt(e)?e.value:_t(e)?pn(e):z(e)?wt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):z(e)?r=t?()=>wt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),Nt(e,u,3,[m])}:(r=D,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>pn(e())}let m=e=>{d=h.onStop=()=>{wt(e,u,4)}},g=p?new Array(e.length).fill(rn):rn;const I=()=>{if(h.active)if(t){const e=h.run();(o||f||(p?e.some(((e,t)=>ee(e,g[t]))):ee(e,g)))&&(d&&d(),Nt(t,u,3,[e,g===rn?void 0:p&&g[0]===rn?[]:g,m]),g=e)}else h.run()};let v;I.allowRecurse=!!t,"sync"===a?v=I:"post"===a?v=()=>Ln(I,u&&u.suspense):(I.pre=!0,u&&(I.id=u.uid),v=()=>jt(I));const h=new Se(r,v);"production"!==process.env.NODE_ENV&&(h.onTrack=i,h.onTrigger=l),t?n?I():g=h.run():"post"===a?Ln(h.run.bind(h),u&&u.suspense):h.run();return()=>{h.stop(),u&&u.scope&&O(u.scope.effects,h)}}function fn(e,t,n){const o=this.proxy,a=G(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;z(t)?i=t:(i=t.handler,n=t);const l=Qn;Yn(this);const c=dn(a,i.bind(o),n);return l?Yn(l):Hn(),c}function pn(e,t){if(!q(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),xt(e))pn(e.value,t);else if($(e))for(let n=0;n<e.length;n++)pn(e[n],t);else if(W(e)||V(e))e.forEach((e=>{pn(e,t)}));else if(J(e))for(const n in e)pn(e[n],t);return e}function mn(e,t){return z(e)?(()=>N({name:e.name},t,{setup:e}))():e}const gn=Symbol.for("v-ndc"),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),_t(t=n)?t:new Proxy(t,Lt)),{get:(t,n)=>n in t?t[n]:n in vn?vn[n](e):void 0,has:(e,t)=>t in e||t in vn}));var t;var n}(e)||e.proxy:In(e.parent):null,vn=N(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Tt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Tt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Tt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Tt(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=>Sn(s,e,l,!0))),Sn(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>jt(e.update)),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?fn.bind(e):D}),hn=(e,t)=>e!==C&&!e.__isScriptSetup&&M(e,t),Tn={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(hn(o,t))return l[t]=1,o[t];if(a!==C&&M(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&M(u,t))return l[t]=3,i[t];if(n!==C&&M(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!_n||(l[t]=0)}}const r=vn[t];let d,f;return r?("$attrs"===t?(xe(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&xe(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==C&&M(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,M(f,t)?f[t]:void("production"===process.env.NODE_ENV||!sn||G(t)&&0===t.indexOf("__v")||(a!==C&&(e=>"_"===e||"$"===e)(t[0])&&M(a,t)?At(`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===sn&&At(`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 hn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&M(a,t)?(At(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&M(o,t)?(o[t]=n,!0):M(e.props,t)?("production"!==process.env.NODE_ENV&&At(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&At(`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!==C&&M(e,l)||hn(t,l)||(c=i[0])&&M(c,l)||M(o,l)||M(vn,l)||M(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Tn.ownKeys=e=>(At("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 _n=!0;function Sn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Sn(e,i,n,!0),a&&a.forEach((t=>Sn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&At('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=bn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const bn={data:yn,props:xn,emits:xn,methods:Un,computed:Un,beforeCreate:Pn,created:Pn,beforeMount:Pn,mounted:Pn,beforeUpdate:Pn,updated:Pn,beforeDestroy:Pn,beforeUnmount:Pn,destroyed:Pn,unmounted:Pn,activated:Pn,deactivated:Pn,errorCaptured:Pn,serverPrefetch:Pn,components:Un,directives:Un,watch:function(e,t){if(!e)return t;if(!t)return e;const n=N(Object.create(null),e);for(const o in t)n[o]=Pn(e[o],t[o]);return n},provide:yn,inject:function(e,t){return Un(En(e),En(t))}};function yn(e,t){return t?e?function(){return N(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function En(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pn(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?N(Object.create(null),e,t):t}function xn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:N(Object.create(null),Fn(e),Fn(null!=t?t:{})):t}const Ln=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Jt(e)},Rn=Symbol.for("v-fgt"),An=Symbol.for("v-txt"),Cn=Symbol.for("v-cmt");let Dn=null;const kn="__vInternal",wn=({key:e})=>null!=e?e:null,Nn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?G(e)||xt(e)||z(e)?{i:sn,r:e,k:t,f:!!n}:e:null);const On="production"!==process.env.NODE_ENV?(...e)=>Bn(...e):Bn;function Bn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==gn||("production"===process.env.NODE_ENV||e||At(`Invalid vnode type when creating vnode: ${e}.`),e=Cn),(l=e)&&!0===l.__v_isVNode){const o=Mn(e,t,!0);return n&&Wn(o,n),!i&&Dn&&(6&o.shapeFlag?Dn[Dn.indexOf(e)]=o:Dn.push(o)),o.patchFlag|=-2,o}var l;if(Kn(e)&&(e=e.__vccOpts),t){t=function(e){return e?yt(e)||kn in e?N({},e):e:null}(t);let{class:e,style:n}=t;e&&!G(e)&&(t.class=ue(e)),q(n)&&(yt(n)&&!$(n)&&(n=N({},n)),t.style=ae(n))}const c=G(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:z(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&yt(e)&&At("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===Rn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wn(t),ref:t&&Nn(t),scopeId:un,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:sn};return c?(Wn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=G(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&At("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Dn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Dn.push(s),s}(e,t,n,o,a,c,i,!0)}function Mn(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(w(e)){const n=t[e],a=o[e];!a||n===a||$(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&&wn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(Nn(t)):[a,Nn(t)]:Nn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map($n):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rn?-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&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $n(e){const t=Mn(e);return $(e.children)&&(t.children=e.children.map($n)),t}function Vn(e=" ",t=0){return On(An,null,e,t)}function Wn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Wn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||kn in t?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else z(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[Vn(t)]):n=8);e.children=t,e.shapeFlag|=n}let zn,Gn,Qn=null,qn="__VUE_INSTANCE_SETTERS__";(Gn=oe()[qn])||(Gn=oe()[qn]=[]),Gn.push((e=>Qn=e)),zn=e=>{Gn.length>1?Gn.forEach((t=>t(e))):Gn[0](e)};const Yn=e=>{zn(e),e.scope.on()},Hn=()=>{Qn&&Qn.scope.off(),zn(null)};const jn=/(?:^|[-_])(\w)/g,Xn=e=>e.replace(jn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Jn(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Zn(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?Xn(o):n?"App":"Anonymous"}function Kn(e){return z(e)&&"__vccOpts"in e}var eo=mn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{P.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{P.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{P.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const to={clipChildren:!1,ref:"viewRef"};eo.render=function(e,a,i,l,c,s){return t(),n("div",to,[o(e.$slots,"default")],512)},eo.__file="src/view/index.vue";var no=mn({name:"qt-text"});no.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u)},no.__file="src/text/index.vue";var oo=mn({name:"qt-image"});const ao={src:"",alt:"",clipChildren:!1};oo.render=function(e,o,a,i,l,c){return t(),n("img",ao)},oo.__file="src/image/index.vue";var io=mn({name:"qt-column"});const lo={class:"qt-ui-row-css",clipChildren:!1};io.render=function(e,a,i,l,c,s){return t(),n("div",lo,[o(e.$slots,"default")])},io.__scopeId="data-v-734c04b2",io.__file="src/column/index.vue";var co=mn({name:"qt-row"});const so={class:"qt-ui-row-css",clipChildren:!1};co.render=function(e,a,i,l,c,s){return t(),n("div",so,[o(e.$slots,"default")])},co.__scopeId="data-v-9c454b58",co.__file="src/row/index.vue";var uo=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{focused:a,requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){P.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const ro=["focusable","enableFocusBorder","focusScale"],fo=["gradientBackground"],po=["gradientBackground"],mo=["gradientBackground"],go=["src"],Io=["src"];function vo(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})}))}uo.render=function(e,l,d,f,p,m){const g=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,fo)):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,po)):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,mo)):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,go)):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(g,{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,ro)},uo.__scopeId="data-v-46a594e4",uo.__file="src/button/index.vue";const ho=e=>e.map(Fo),To=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=Fo(e[t])})),n};function Fo(e){return e?"object"!=typeof e?e:Array.isArray(e)?ho(e):To(e):e}var _o=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){U(),x();const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,p=e(!1),m=-1,g=-1,I=-1,v=-1,h=e(!1);d((()=>{t.openPage&&(r=1,p.value=!1,t.loadMore(r))}));const T=(e,n)=>{n||(L(),i=Fo(e),l=e,a.value<2.2?(F(),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&&(I&&clearTimeout(I),I=setTimeout((()=>{b(t.defaultFocus),y(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(F(),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&&P(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=Fo(e),a.value<2.2?(F(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p.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&&!p.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){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];F();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||h.value?v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else v=t.openPage&&!p.value?!t.pageSize&&2==r||h.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.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 _(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?T(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const m=e[n],g=Reflect.set(e,n,d,f);if((!_(m)&&m!==d||_(m))&&"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&&m!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];F();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||h.value?v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=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]);v&&clearTimeout(v),v=t.openPage&&!p.value?!t.pageSize&&2==r||h.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),h.value&&(h.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 g}};return new Proxy(e,d)},F=()=>{let e=Fo(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)}}},_=e=>null!==e&&"object"==typeof e,S=()=>{g&&clearTimeout(g),g=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),p.value=!0},b=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)},y=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)},E=(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)},P=(e,t)=>{o.value.addItem(e,t)},L=()=>{h.value=!1,i=[],s=[],l.length=0,p.value=!1,c=[],r=1,p.value=!1,u="",m&&clearTimeout(m),v&&clearTimeout(v),g&&clearTimeout(g),I&&clearTimeout(I)};f((()=>{L()}));let R=-1;return{tv_list:o,apkVersion:a,init:T,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=>{a.value<2.2?p.value||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p.value||e.position!=i.length-1-t.preloadNo||(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(R);let e=0;p.value||(e=420,S()),R=setTimeout((()=>{h.value=!0,r=1,p.value=!1,t.loadMore(r)}),e)},isRestartPage:h,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:S,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,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:y,scrollToFocused:e=>{b(e),y(e)},setItemSelected:E,scrollToSelected:(e,t)=>{b(e),E(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{m&&clearTimeout(m),m=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:P,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()}}}});_o.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:p((()=>[e.apkVersion<2.2?(t(),n(m,{key:0},[o(e.$slots,"header"),g(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:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(m,{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"])},_o.__file="src/grid-view/index.vue";var So=mn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const bo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},yo={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",bo,[u(" 浮动标题"),g(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}),I("div",yo,[u(" 主标题 "),g(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(" 副标题 "),g(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 Eo=mn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Po={class:"cornerRoot",focusable:!1},Uo=(e=>(v("data-v-4b767ea2"),e=e(),h(),e))((()=>I("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Eo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Po,[g(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"]),Uo])},Eo.__scopeId="data-v-4b767ea2",Eo.__file="src/poster/qt-poster-corner-title.vue";var xo=mn({name:"qt-poster",components:{"qt-poster-corner-title":Eo,"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:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Lo=e=>(v("data-v-3c4765e9"),e=e(),h(),e),Ro=Lo((()=>I("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Ao=["showOnState"],Co={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},ko=Lo((()=>I("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));xo.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),m=a("ripple-view"),v=a("qt-poster-corner-title"),h=a("item-frame");return t(),i(h,{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:p((()=>[u("封面"),Ro,g(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(" 焦点选中时的标题 "),g(f,{focusable:!1,showOnState:"focused"}),I("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),I("div",Co,[g(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(" 主标题"),g(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,Ao),I("div",Do,[g(m,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),ko]),g(v,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},xo.__scopeId="data-v-3c4765e9",xo.__file="src/poster/index.vue";var wo=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=T({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;F((()=>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)}}}});const No=["stateTextColor","sateBackgroundPadding"],Oo=["stateTextColor","sateBackgroundPadding"];var Bo,Mo;wo.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:p((()=>[I("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},[g(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,No),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:p((()=>[I("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},[g(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Oo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},wo.__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"}(Bo||(Bo={})),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 $o=mn({name:"card-item",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});$o.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"])},$o.__scopeId="data-v-599898aa",$o.__file="src/waterfall/item/card-item.vue";var Vo=mn({name:"standard-section",components:{"card-item":$o},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Bo.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=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Wo=["type"],zo=(e=>(v("data-v-227e921e"),e=e(),h(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Vo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),m=a("card-item"),I=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},[g(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),zo,g(I,{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:p((()=>[u(" poster "),g(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),g(m,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Wo)},Vo.__scopeId="data-v-227e921e",Vo.__file="src/waterfall/section/flex-section.vue";const Go="list-section";var Qo=mn({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:Bo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=L();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(R.DEBUG)&&n.d(Go,"----------onItemFocused--------------\x3e>>",e)}}}});const qo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Yo=(e=>(v("data-v-6aa2cfd4"),e=e(),h(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ho=["type"];Qo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),m=a("tv-item");return t(),i(m,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[I("div",qo,[g(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Yo,g(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:p((()=>[g(d,{type:e.standItemType},null,8,["type"]),I("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:""},[g(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,Ho),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Qo.__scopeId="data-v-6aa2cfd4",Qo.__file="src/waterfall/section/list-section.vue";var jo=mn({name:"loading-section"});const Xo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};jo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Xo,[g(u,{class:"loading-section-loading-css"})])},jo.__scopeId="data-v-48609f24",jo.__file="src/waterfall/section/loading-section.vue";var Jo=mn({name:"end-section",setup:()=>({})});const Zo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Jo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Zo,[g(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Jo.__scopeId="data-v-70b82c43",Jo.__file="src/waterfall/section/end-section.vue";var Ko=mn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Bo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ea=["type"];Ko.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},[g(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,ea)},Ko.__scopeId="data-v-20428d40",Ko.__file="src/waterfall/section/section-title.vue";var ta=mn({name:"blank-section",setup:()=>({})});const na={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ta.render=function(e,o,a,i,l,c){return t(),n("div",na)},ta.__scopeId="data-v-eeab4d88",ta.__file="src/waterfall/section/blank-section.vue";var oa=mn({name:"card-section",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(R.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const aa={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};oa.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",aa,[g(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),g(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"])])},oa.__scopeId="data-v-43a44788",oa.__file="src/waterfall/section/card-section.vue";var ia,la=mn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ca(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=sa(e,t[o]);n.push(a)}return n}function sa(e,t){let n=0;return t.itemList.length>0&&t.type==Bo.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,p=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+=p+n,p=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>p&&(p=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function ua(){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=[]}}}la.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:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},la.__scopeId="data-v-f8447724",la.__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"}(ia||(ia={}));const ra="qt-waterfall";var da,fa,pa=mn({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=L(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(ia.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=ua();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(R.DEBUG)&&o.d(ra,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(R.DEBUG)&&o.d(ra,"-------2---setSectionList--------------\x3e>>",t);const n=ca(c,e);o.isLoggable(R.DEBUG)&&o.d(ra,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=ca(c,e);o.isLoggable(R.DEBUG)&&o.d(ra,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(R.DEBUG)&&o.d(ra,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=sa(0,t);o.isLoggable(R.DEBUG)&&o.d(ra,"----------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=sa(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=sa(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=sa(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=sa(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=sa(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(R.DEBUG)&&o.d(ra,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------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(R.DEBUG)&&o.d(ra,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(R.DEBUG)&&o.d(ra,"----------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;n.emit("onScrollStateChanged",o,t,a)},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)}}},components:{"flex-section":Vo,"list-section":Qo,"section-title":Ko,"loading-section":jo,"end-section":Jo,"blank-section":ta,"card-section":oa,"vue-section":la}});function ma(){const e=new Map,t=new Map;function n(n){const o={index:n,state:da.QT_TAB_PAGE_STATE_IDLE,sectionBindIndex:0};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,getTabPageData:function(t){return e.get(t)},setPageData: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!=da.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=da.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()}}}pa.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),m=a("loading-section"),I=a("end-section"),v=a("blank-section"),h=a("card-section"),T=a("vue-section"),F=a("tv-list");return t(),i(F,{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:p((()=>[u(" 普通版块"),g(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),g(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),g(m),u(" end "),g(I),u(" blank "),g(v),u(" card "),g(h,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),g(T,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[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"])},pa.__file="src/waterfall/index.vue",function(e){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"}(da||(da={})),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"}(fa||(fa={}));const ga="qt-tabs";var Ia=mn({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:""},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=L(),c=e(),s=ma();let u,r=[],d=-1,f=-1;function p(e,t){const n=s.getTabPageData(e);n&&(n.state=t,s.setPageData(e,n))}function m(e,t){const n=s.getTabPageData(e);n&&(n.sectionBindIndex=t,s.setPageData(e,n))}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 I(e,o,a){let i=function(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}(e),c=s.getTabPageData(e);if(c&&c.state===da.QT_TAB_PAGE_STATE_IDLE){a>=s.getSectionList(e).length-t.preloadNumber-1?(l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a),p(e,da.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData--preloadNumber错误--\x3e>>>",e)}else l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData--状态不对--\x3e>>>",e)}function v(){clearTimeout(f),f=setTimeout((()=>{const e=s.getSectionListByState(d,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(R.DEBUG)&&l.d(ga,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function h(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function T(e,t,o){l.isLoggable(R.DEBUG)&&l.d(ga,"----------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(R.DEBUG)&&l.d(ga,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(R.DEBUG)&&l.d(ga,"------设置数据----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:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(R.DEBUG)&&l.d(ga,"----设置数据------loadPageData---addPageData---\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),g(e),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ca(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=sa(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=sa(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=sa(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()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----android--\x3e>>>pageIndex:"+t),s.initTabPageData(t),function(e){if(e<0||e>r.length)return;r[e].__pageNo=0}(t),m(t,0),t===d&&I(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return void(l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageChanged---重复发送page-changed事件---\x3e>>> pageIndex:"+t));d=t;const o=e.data;l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o);const a=s.getTabPageData(t);a&&a.sectionBindIndex>=0&&I(t,!1,a.sectionBindIndex),v()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=d,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(R.DEBUG)&&l.d(ga,"----------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":h(i,c);break;case"onScrollStateChanged":T(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),m(e,t),e===d&&(l.isLoggable(R.DEBUG)&&l.d(ga,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),I(e,!1,t))},onWaterfallSectionAttached:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&v()},onWaterfallSectionDetached:function(e,t){l.isLoggable(R.DEBUG)&&l.d(ga,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:h,onWaterfallScrollStateChanged:T,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(R.DEBUG)&&l.d(ga,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d}}}});Ia.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),m=a("qt-waterfall"),I=a("recycler-view-pager"),v=a("tabs");return e.ifTabs?(t(),i(v,{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:p((()=>[g(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),g(I,{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:p((()=>[g(m,{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:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[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 va=mn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});va.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},va.__scopeId="data-v-d02af3c2",va.__file="src/section/index.vue";var ha=mn({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){let o=e(1);const a=e(),i=e();let l=[],c=-1,s=-1,u=[];let r=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:i,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<l.length;e++){const t=l[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=l.length),l.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Ht((()=>{a.value?.setListData(e),i.value?.setListData(l),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),i.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,i.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else s=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&s!=e.position&&(o.value=2,s=e.position,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.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<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const Ta={focusable:!1,clipChildren:!1},Fa=["focusScale"],_a=I("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Sa=I("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),ba={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ya={class:"playMark",focusable:!1},Ea=["type"],Pa=I("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Ua=I("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),xa={class:"nav_item_text",focusable:!1,duplicateParentState:!0};ha.render=function(e,i,l,r,d,f){const m=a("play-mark"),v=a("text-view"),h=a("qt-list-view");return t(),n("div",Ta,[u(" listview second nav "),g(h,{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:p((()=>[I("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[_a,Sa,I("div",ba,[I("div",ya,[g(m,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),g(v,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Fa),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),g(h,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[I("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Pa,Ua,I("div",xa,[g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),g(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ea),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ha.__file="src/classified-list-view/index.vue";var La=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Ra={class:"number-item-container",focusable:!0,focusScale:1},Aa={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Ca={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};La.render=function(e,o,i,l,s,u){const r=a("text-view"),d=a("play-mark");return t(),n("div",Ra,[g(r,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),g(r,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),I("div",Aa,[g(d,{style:{width:"24px",height:"25px"},markColor:e.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),g(r,{duplicateParentState:!0,fontSize:36,gravity:"center",style:c({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),I("div",Ca,[g(r,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},La.__scopeId="data-v-4afb8987",La.__file="src/series/item/media-series-number-item.vue";var Da=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const ka={class:"text-item-container",focusable:!0,focusScale:1},wa={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},Na={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,s,u){const r=a("play-mark"),d=a("text-view");return t(),n("div",ka,[I("div",wa,[g(r,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:c([{color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"},{"focus-color":"rgba(0, 0, 0, 1)"}]),fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"},null,8,["style"])]),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnOnlyFocused:"",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(0, 0, 0, 1)"},text:"${title}"}),g(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnState:"normal",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(255, 255, 255, .50)"},text:"${title}"}),I("div",Na,[g(d,{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 Oa,Ba,Ma=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);_((()=>{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):Ht((()=>{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=>{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 Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Ma.render=function(e,n,l,s,r,d){const f=a("select-series"),m=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:p((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(m,{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)},Ma.__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"}(Oa||(Oa={})),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 Va,Wa,za,Ga,Qa=l({name:"qt-media-series",components:{"media-series-number-item":La,"media-series-text-item":Da,"media-series":Ma},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),a=e(!1),i=L(),l=e(),c=e(),s=e(),u=e(),r=e(0),d=e(!1),f=e(Oa.QT_MEDIA_SERIES_TYPE_NUMBER);let p;return{isVip:d,seriesType:f,params:l,commonParams:c,scrollParams:s,groupParams:u,mediaSeriesRef:o,show:a,height:r,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,d)=>{f.value=e,p=d,l.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,d),c.value=$a(e,0,0,d),s.value=function(e,t,n,o){if(e===Oa.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),u.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Oa.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Oa.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),Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=function(e,t,n,o){switch(e){case Oa.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Oa.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Oa.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Oa.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Ht((()=>{o.value&&o.value?.setInitData(d.totalCount,d.pageSize)})),i.isLoggable(R.DEBUG)&&i.d("MediaSeries","----setInitData----\x3e>>>",r.value)):(r.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,l),l.value.totalCount=d.totalCount,l.value.pageSize=d.pageSize),a.value=!0},setPageData:(e,t)=>{let n=t;f.value==Oa.QT_MEDIA_SERIES_TYPE_NUMBER&&(n=function(e,t,n){const o=[];return n.length>0&&n.forEach(((n,a)=>{let i=e*t+a+1,l=i>9?""+i:"0"+i;o.push({id:n.id,title:l,vip:n.vip})})),o}(e,p.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(),a.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])}}}});Qa.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),m=a("media-series");return e.show?(t(),i(m,{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:p((()=>["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)},Qa.__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"}(Va||(Va={})),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"}(Wa||(Wa={})),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"}(za||(za={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ga||(Ga={}));const qa="QTCollapse";var Ya,Ha,ja,Xa,Ja=mn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=L();let a,i,l=n.slots.default&&n.slots.default();const c=e(0),s=e(0);let u=200;const r={};const d={};function f(e){return d[`${e}`]}function p(e,t){const i=a[e],l=i.__y,c=s.value-i.height-l;o.isLoggable(R.DEBUG)&&o.d(qa,"-------expandItem-------\x3e>>>",e,c,l);let u=0;for(let n=a.length-1;n>=0;n--){const i=a[n];i.height;const l=i.collapseHeight;n<e&&(u+=l);try{const t=g(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const s=f(n);s&&(o.isLoggable(R.DEBUG)&&o.d(qa,"-------expandItem----translationY---\x3e>>>",i,n,i.__translationY,c+u),m(n+"",i,s,i.__translationY,c+u,t))}try{n.emit("onCollapseItemExpand",e,i)}catch(e){}}function m(e,t,n,o,a,i){n.objectAnimator2(e,Ga.QT_ANIMATION_VALUE_TYPE_FLOAT,Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function g(e){return r[`${e}`]}return{collapseItemComponentList:l,initComponentRef:function(e,t,n){e&&(r[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},init:function(e){i=e.defaultIndex??0,a=e.itemList,c.value=e.width,s.value=e.height,u=e.expandDuration??200,i<0&&(i=0),i>=a.length&&(i=a.length-1),function(){if(!a||a.length<=0)return;const e=a.length;let t=0;for(let n=e-1;n>=0;n--){const e=a[n];t+=e.height,e.__y=s.value-t,e.__translationY=0}o.isLoggable(R.DEBUG)&&o.d(qa,"----initCollapseItem----\x3e>>>",a)}(),S((()=>{p(i,0)}))},getItem:g,expandItem:function(e){p(e,u)},collapse:function(){const e=a.length,t=a[e-1],n=t.__y,o=s.value-t.height-n;let i=0;for(let t=e-1;t>=0;t--){const e=a[t];i+=e.collapseHeight;try{const e=g(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=f(t);n&&m(t+"",e,n,e.__translationY,o+i,0)}},expand:function(){for(let e=a.length-1;e>=0;e--){const t=a[e];try{const t=g(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=f(e);n&&m(e+"",t,n,t.__translationY,0,0)}},collapseWidth:c,collapseHeight:s}}});function Za(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();x();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,p=-1,m=-1,g=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const I=(e,n)=>{n||(a=Fo(e),v(a,-1),i=e,t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):F(a),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{C(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),y(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?F([]):b(Number(t[0]),a.length-t[0]+1):2==t.length?b(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):U(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(),y(Number(l[0]),a[l[0]])):(b(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=Fo(e),t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):F(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),y(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{S(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):_(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return h(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?I(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];T(e,n);const d=Reflect.set(e,n,o,s);if((!h(r)&&r!==o||h(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],y(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],y(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"))y(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);g&&clearTimeout(g),g=t.openPage&&!u?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{_(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},v=(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&&v(o.list,n)}},h=e=>null!==e&&"object"==typeof e,T=(e,t)=>{Object.hasOwnProperty.call(e,t)},F=e=>{r&&clearTimeout(r),r=setTimeout((()=>{P.callUIFunction(o.value,"setListData",e)}),100)},_=e=>{P.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{P.callUIFunction(o.value,"addListDataWithParams",[e,t])},b=(e,t)=>{P.callUIFunction(o.value,"deleteItemRange",[e,t])},y=(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},U=(e,t,n)=>{P.callUIFunction(o.value,"updateItemRange",[e,t,n])},L=(e,t)=>{P.callUIFunction(o.value,"insertItemRange",[e,t])},R=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},A=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},C=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],i.length=0,l=[],u=!1,s=1,c="",r&&clearTimeout(r),m&&clearTimeout(m),g&&clearTimeout(g),p&&clearTimeout(p)})),n.expose({viewRef:o,init:I,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:y,updateItemList:U,hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:F,insertItem:L,addListData:_,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:b,setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{P.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:A,scrollToFocused:e=>{A(e),C(e)},scrollToSelected:(e,t)=>{A(e),R(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:C,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{P.callUIFunction(o.value,"clearFocus",[])},setItemSelected:R,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{b(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return E("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=>{e.position==a.length-1-t.preloadNo&&(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)}Ja.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(m,null,b(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:p((()=>[(t(),i(y(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Ja.__scopeId="data-v-4feca809",Ja.__file="src/collapse/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ya||(Ya={})),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"}(Ha||(Ha={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ja||(ja={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Xa||(Xa={}));const Ka=[eo,no,oo,io,co,uo,_o,xo,wo,pa,Ia,ha,va,Qa,Ja],ei=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>E("LoadingViewComponent",{ref:o})}}),Za(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)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return E("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();_((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),m(!0),f(!0),d(!0),p(!0),i(1),g(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>E("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","onJavascriptReceiveValue"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),m(!0),f(!0),d(!0),p(!0),i(1),g(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>E("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()=>E("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:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],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,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.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),P.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(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>E("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=mn({name:"qt-progress-bar",setup(t,n){const o=e();return n.expose({invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>E("TVProgressBarViewComponent",{ref:o,onFocusChange:e=>{n.emit("focus",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});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();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,i,l,c,s,u,r){P.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,i,l,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,i,l,c,s,u,r,d){P.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,i,l,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,i,l,c,s,u,r,d,f){P.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,i,l,c,s,u,r,d,f,p){P.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,i,l,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m){P.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,i,l,c,s,u,r,d,f,p,m],(e=>{}))},objectAnimator6:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g){P.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g],(e=>{}))},objectAnimator7:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I){P.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I],(e=>{}))},objectAnimator8:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v){P.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v],(e=>{}))},objectAnimator9:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h){P.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h],(e=>{}))},objectAnimator10:function(e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h,T){P.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,i,l,c,s,u,r,d,f,p,m,g,I,v,h,T],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return E("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()=>E("Modal",{ref:o})}})}(t);for(let e in Ka)t.component(Ka[e].name,Ka[e])};export{Va as QTAnimationInterpolatorType,Wa as QTAnimationPropertyName,za as QTAnimationRepeatMode,Ga as QTAnimationValueType,Ya as QTDirections,Ba as QTMediaSeriesStyleType,Oa as QTMediaSeriesType,ja as QTNavBarItemType,Ha as QTScrollState,Xa as QTTabItemType,da as QTTabPageState,Mo as QTWaterfallItemType,Bo as QTWaterfallSectionType,ia as QTWaterfallVisibleType,ei as QuickTVUI,vo as arrangeChildren4ListView};
|