v3game-assist 3.2.5 → 3.2.7
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/rem.js +53 -53
- package/dist/style.css +1 -1
- package/dist/tyy-game-assis.js +3997 -5039
- package/dist/tyy-game-assis.umd.cjs +10 -14
- package/package.json +1 -1
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
(function(Oe,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(Oe=typeof globalThis<"u"?globalThis:Oe||self,i(Oe["tyy-game-assis"]={},Oe.Vue))})(this,function(Oe,i){"use strict";function eo(t,e){return function(){return t.apply(e,arguments)}}const{toString:J0}=Object.prototype,{getPrototypeOf:Qe}=Object,{iterator:lt,toStringTag:to}=Symbol,Ft=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),ct=(t,e)=>{let r=t;const n=[];for(;r!=null&&r!==Object.prototype;){if(n.indexOf(r)!==-1)return!1;if(n.push(r),Ft(r,e))return!0;r=Qe(r)}return!1},Y0=(t,e)=>t!=null&&ct(t,e)?t[e]:void 0,ur=(t=>e=>{const r=J0.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ge=t=>(t=t.toLowerCase(),e=>ur(e)===t),St=t=>e=>typeof e===t,{isArray:Pe}=Array,Ie=St("undefined");function je(t){return t!==null&&!Ie(t)&&t.constructor!==null&&!Ie(t.constructor)&&fe(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ro=ge("ArrayBuffer");function Z0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ro(t.buffer),e}const $0=St("string"),fe=St("function"),no=St("number"),Ke=t=>t!==null&&typeof t=="object",ea=t=>t===!0||t===!1,Rt=t=>{if(!Ke(t))return!1;const e=Qe(t);return(e===null||e===Object.prototype||Qe(e)===null)&&!ct(t,to)&&!ct(t,lt)},ta=t=>{if(!Ke(t)||je(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},ra=ge("Date"),na=ge("File"),oa=t=>!!(t&&typeof t.uri<"u"),ia=t=>t&&typeof t.getParts<"u",aa=ge("Blob"),sa=ge("FileList"),la=ge("Set"),ca=t=>Ke(t)&&fe(t.pipe);function fa(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const oo=fa(),io=typeof oo.FormData<"u"?oo.FormData:void 0,da=t=>{if(!t)return!1;if(io&&t instanceof io)return!0;const e=Qe(t);if(!e||e===Object.prototype||!fe(t.append))return!1;const r=ur(t);return r==="formdata"||r==="object"&&fe(t.toString)&&t.toString()==="[object FormData]"},ua=ge("URLSearchParams"),[xa,ha,pa,ma]=["ReadableStream","Request","Response","Headers"].map(ge),ga=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ft(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,o;if(typeof t!="object"&&(t=[t]),Pe(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{if(je(t))return;const a=r?Object.getOwnPropertyNames(t):Object.keys(t),l=a.length;let c;for(n=0;n<l;n++)c=a[n],e.call(null,t[c],c,t)}}function ao(t,e){if(je(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n=r.length,o;for(;n-- >0;)if(o=r[n],e===o.toLowerCase())return o;return null}const Ve=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),so=t=>!Ie(t)&&t!==Ve;function xr(...t){const{caseless:e,skipUndefined:r}=so(this)&&this||{},n={},o=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=e&&typeof l=="string"&&ao(n,l)||l,d=Ft(n,c)?n[c]:void 0;Rt(d)&&Rt(a)?n[c]=xr(d,a):Rt(a)?n[c]=xr({},a):Pe(a)?n[c]=a.slice():(!r||!Ie(a))&&(n[c]=a)};for(let a=0,l=t.length;a<l;a++){const c=t[a];if(!c||je(c)||(ft(c,o),typeof c!="object"||Pe(c)))continue;const d=Object.getOwnPropertySymbols(c);for(let f=0;f<d.length;f++){const s=d[f];Fa.call(c,s)&&o(c[s],s)}}return n}const ya=(t,e,r,{allOwnKeys:n}={})=>(ft(e,(o,a)=>{r&&fe(o)?Object.defineProperty(t,a,{__proto__:null,value:eo(o,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,a,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),_a=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ea=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),r&&Object.assign(t.prototype,r)},Aa=(t,e,r,n)=>{let o,a,l;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)l=o[a],(!n||n(l,t,e))&&!c[l]&&(e[l]=t[l],c[l]=!0);t=r!==!1&&Qe(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},va=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Ba=t=>{if(!t)return null;if(Pe(t))return t;let e=t.length;if(!no(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Ca=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Qe(Uint8Array)),ba=(t,e)=>{const n=(t&&t[lt]).call(t);let o;for(;(o=n.next())&&!o.done;){const a=o.value;e.call(t,a[0],a[1])}},wa=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Da=ge("HTMLFormElement"),ka=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),{propertyIsEnumerable:Fa}=Object.prototype,Sa=ge("RegExp"),lo=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};ft(r,(o,a)=>{let l;(l=e(o,a,t))!==!1&&(n[a]=l||o)}),Object.defineProperties(t,n)},Ra=t=>{lo(t,(e,r)=>{if(fe(t)&&["arguments","caller","callee"].includes(r))return!1;const n=t[r];if(fe(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Na=(t,e)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return Pe(t)?n(t):n(String(t).split(e)),r},Ta=()=>{},Oa=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Pa(t){return!!(t&&fe(t.append)&&t[to]==="FormData"&&t[lt])}const Ia=t=>{const e=new WeakSet,r=n=>{if(Ke(n)){if(e.has(n))return;if(je(n))return n;if(!("toJSON"in n)){e.add(n);let o;if(la(n)){o=[];for(const a of n){const l=r(a);!Ie(l)&&o.push(l)}}else o=Pe(n)?[]:{},ft(n,(a,l)=>{const c=r(a);!Ie(c)&&(o[l]=c)});return e.delete(n),o}}return n};return r(t)},Va=ge("AsyncFunction"),La=t=>t&&(Ke(t)||fe(t))&&fe(t.then)&&fe(t.catch),co=((t,e)=>t?setImmediate:e?((r,n)=>(Ve.addEventListener("message",({source:o,data:a})=>{o===Ve&&a===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Ve.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",fe(Ve.postMessage)),Ha=typeof queueMicrotask<"u"?queueMicrotask.bind(Ve):typeof process<"u"&&process.nextTick||co,fo=t=>t!=null&&fe(t[lt]),v={isArray:Pe,isArrayBuffer:ro,isBuffer:je,isFormData:da,isArrayBufferView:Z0,isString:$0,isNumber:no,isBoolean:ea,isObject:Ke,isPlainObject:Rt,isEmptyObject:ta,isReadableStream:xa,isRequest:ha,isResponse:pa,isHeaders:ma,isUndefined:Ie,isDate:ra,isFile:na,isReactNativeBlob:oa,isReactNative:ia,isBlob:aa,isRegExp:Sa,isFunction:fe,isStream:ca,isURLSearchParams:ua,isTypedArray:Ca,isFileList:sa,forEach:ft,merge:xr,extend:ya,trim:ga,stripBOM:_a,inherits:Ea,toFlatObject:Aa,kindOf:ur,kindOfTest:ge,endsWith:va,toArray:Ba,forEachEntry:ba,matchAll:wa,isHTMLForm:Da,hasOwnProperty:Ft,hasOwnProp:Ft,hasOwnInPrototypeChain:ct,getSafeProp:Y0,reduceDescriptors:lo,freezeMethods:Ra,toObjectSet:Na,toCamelCase:ka,noop:Ta,toFiniteNumber:Oa,findKey:ao,global:Ve,isContextDefined:so,isSpecCompliantForm:Pa,toJSONObject:Ia,isAsyncFn:Va,isThenable:La,setImmediate:co,asap:Ha,isIterable:fo,isSafeIterable:t=>t!=null&&ct(t,lt)&&fo(t)},Ma=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),za=t=>{const e={};let r,n,o;return t&&t.split(`
|
|
2
|
-
`).forEach(function(
|
|
3
|
-
`)}getSetCookie(){const e=this.get("set-cookie");return v.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return Ja(e)}static concat(e,...r){const n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){const n=(this[xo]=this[xo]={accessors:{}}).accessors,o=this.prototype;function a(l){const c=dt(l);n[c]||($a(o,l),n[c]=!0)}return v.isArray(e)?e.forEach(a):a(e),this}}Tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),v.reduceDescriptors(Tt.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),v.freezeMethods(Tt);const he=Tt,Ot="[REDACTED ****]";function es(t){if(v.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(v.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function ts(t,e){const r=new Set(e.map(a=>String(a).toLowerCase())),n=[],o=a=>{if(a===null||typeof a!="object"||v.isBuffer(a))return a;if(n.indexOf(a)!==-1)return;a instanceof he&&(a=a.toJSON()),n.push(a);let l;if(v.isArray(a))l=[],a.forEach((c,d)=>{const f=o(c);v.isUndefined(f)||(l[d]=f)});else{if(!v.isPlainObject(a)&&es(a))return n.pop(),a;l=Object.create(null);for(const[c,d]of Object.entries(a)){const f=r.has(c.toLowerCase())?Ot:o(d);v.isUndefined(f)||(l[c]=f)}}return n.pop(),l};return o(t)}function ho(t){try{return String(t)}catch{return""}}function rs(t){return t.errors.map(r=>{try{return r&&r.message?ho(r.message):ho(r)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}class ie extends Error{static from(e,r,n,o,a,l){let c=e.message;!c&&v.isArray(e.errors)&&e.errors.length&&(c=rs(e));const d=new ie(c,r||e.code,n,o,a);return Object.defineProperty(d,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),d.name=e.name,e.status!=null&&d.status==null&&(d.status=e.status),l&&Object.assign(d,l),d}constructor(e,r,n,o,a){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),o&&(this.request=o),a&&(this.response=a,this.status=a.status)}toJSON(){const e=this.config,r=e&&v.hasOwnProp(e,"redact")?e.redact:void 0,n=v.isArray(r)&&r.length>0?ts(e,r):v.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}ie.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ie.ERR_BAD_OPTION="ERR_BAD_OPTION",ie.ECONNABORTED="ECONNABORTED",ie.ETIMEDOUT="ETIMEDOUT",ie.ECONNREFUSED="ECONNREFUSED",ie.ERR_NETWORK="ERR_NETWORK",ie.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ie.ERR_DEPRECATED="ERR_DEPRECATED",ie.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ie.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ie.ERR_CANCELED="ERR_CANCELED",ie.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ie.ERR_INVALID_URL="ERR_INVALID_URL",ie.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const L=ie,ns=null,po=100;function gr(t){return v.isPlainObject(t)||v.isArray(t)}function mo(t){return v.endsWith(t,"[]")?t.slice(0,-2):t}function yr(t,e,r){return t?t.concat(e).map(function(o,a){return o=mo(o),!r&&a?"["+o+"]":o}).join(r?".":""):e}function os(t){return v.isArray(t)&&!t.some(gr)}const is=v.toFlatObject(v,{},null,function(e){return/^is[A-Z]/.test(e)});function Pt(t,e,r){if(!v.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=v.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,p){return!v.isUndefined(p[m])});const n=r.metaTokens,o=r.visitor||g,a=r.dots,l=r.indexes,c=r.Blob||typeof Blob<"u"&&Blob,d=r.maxDepth===void 0?po:r.maxDepth,f=c&&v.isSpecCompliantForm(e),s=[];if(!v.isFunction(o))throw new TypeError("visitor must be a function");function x(_){if(_===null)return"";if(v.isDate(_))return _.toISOString();if(v.isBoolean(_))return _.toString();if(!f&&v.isBlob(_))throw new L("Blob is not supported. Use a Buffer instead.");if(v.isArrayBuffer(_)||v.isTypedArray(_)){if(f&&typeof c=="function")return new c([_]);throw new L("Blob is not supported. Use a Buffer instead.",L.ERR_NOT_SUPPORT)}return _}function u(_){if(_>d)throw new L("Object is too deeply nested ("+_+" levels). Max depth: "+d,L.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(_,m){if(d===1/0)return JSON.stringify(_);const p=[];return JSON.stringify(_,function(b,C){if(!v.isObject(C))return C;for(;p.length&&p[p.length-1]!==this;)p.pop();return p.push(C),u(m+p.length-1),C})}function g(_,m,p){let E=_;if(v.isReactNative(e)&&v.isReactNativeBlob(_))return e.append(yr(p,m,a),x(_)),!1;if(_&&!p&&typeof _=="object"){if(v.endsWith(m,"{}"))m=n?m:m.slice(0,-2),_=h(_,1);else if(v.isArray(_)&&os(_)||(v.isFileList(_)||v.endsWith(m,"[]"))&&(E=v.toArray(_)))return m=mo(m),E.forEach(function(C,w){!(v.isUndefined(C)||C===null)&&e.append(l===!0?yr([m],w,a):l===null?m:m+"[]",x(C))}),!1}return gr(_)?!0:(e.append(yr(p,m,a),x(_)),!1)}const A=Object.assign(is,{defaultVisitor:g,convertValue:x,isVisitable:gr});function y(_,m,p=0){if(!v.isUndefined(_)){if(u(p),s.indexOf(_)!==-1)throw new Error("Circular reference detected in "+m.join("."));s.push(_),v.forEach(_,function(b,C){(!(v.isUndefined(b)||b===null)&&o.call(e,b,v.isString(C)?C.trim():C,m,A))===!0&&y(b,m?m.concat(C):[C],p+1)}),s.pop()}}if(!v.isObject(t))throw new TypeError("data must be an object");return y(t),e}function go(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(n){return e[n]})}function _r(t,e){this._pairs=[],t&&Pt(t,this,e)}const yo=_r.prototype;yo.append=function(e,r){this._pairs.push([e,r])},yo.toString=function(e){const r=e?n=>e.call(this,n,go):go;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function as(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _o(t,e,r){if(!e)return t;t=t||"";const n=v.isFunction(r)?{serialize:r}:r,o=v.getSafeProp(n,"encode")||as,a=v.getSafeProp(n,"serialize");let l;if(a?l=a(e,n):l=v.isURLSearchParams(e)?e.toString():new _r(e,n).toString(o),l){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+l}return t}class ss{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){v.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Eo=ss,Er={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},ls={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:_r,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ar=typeof window<"u"&&typeof document<"u",vr=typeof navigator=="object"&&navigator||void 0,cs=Ar&&(!vr||["ReactNative","NativeScript","NS"].indexOf(vr.product)<0),fs=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ds=Ar&&window.location.href||"http://localhost",ae={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ar,hasStandardBrowserEnv:cs,hasStandardBrowserWebWorkerEnv:fs,navigator:vr,origin:ds},Symbol.toStringTag,{value:"Module"})),...ls};function us(t,e){return Pt(t,new ae.classes.URLSearchParams,{visitor:function(r,n,o,a){return ae.isNode&&v.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...e})}const Ao=po;function vo(t){if(t>Ao)throw new L("FormData field is too deeply nested ("+t+" levels). Max depth: "+Ao,L.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xs(t){const e=[],r=/[^.[\]]+|\[([^.[\]]*)]/g;let n;for(;(n=r.exec(t))!==null;)vo(e.length),e.push(n[0]==="[]"?"":n[1]||n[0]);return e}function hs(t){const e={},r=Object.keys(t);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],e[a]=t[a];return e}function Bo(t){function e(r,n,o,a){vo(a);let l=r[a++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),d=a>=r.length;return l=!l&&v.isArray(o)?o.length:l,d?(v.hasOwnProp(o,l)?o[l]=v.isArray(o[l])?o[l].concat(n):[o[l],n]:o[l]=n,!c):((!v.hasOwnProp(o,l)||!v.isObject(o[l]))&&(o[l]=[]),e(r,n,o[l],a)&&v.isArray(o[l])&&(o[l]=hs(o[l])),!c)}if(v.isFormData(t)&&v.isFunction(t.entries)){const r={};return v.forEachEntry(t,(n,o)=>{e(xs(n),o,r,0)}),r}return null}const Xe=(t,e)=>t!=null&&v.hasOwnProp(t,e)?t[e]:void 0;function ps(t,e,r){if(v.isString(t))try{return(e||JSON.parse)(t),v.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const Br={transitional:Er,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=v.isObject(e);if(a&&v.isHTMLForm(e)&&(e=new FormData(e)),v.isFormData(e))return o?JSON.stringify(Bo(e)):e;if(v.isArrayBuffer(e)||v.isBuffer(e)||v.isStream(e)||v.isFile(e)||v.isBlob(e)||v.isReadableStream(e))return e;if(v.isArrayBufferView(e))return e.buffer;if(v.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(a){const d=Xe(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return us(e,d).toString();if((c=v.isFileList(e))||n.indexOf("multipart/form-data")>-1){const f=Xe(this,"env"),s=f&&f.FormData;return Pt(c?{"files[]":e}:e,s&&new s,d)}}return a||o?(r.setContentType("application/json",!1),ps(e)):e}],transformResponse:[function(e){const r=Xe(this,"transitional")||Br.transitional,n=r&&r.forcedJSONParsing,o=Xe(this,"responseType"),a=o==="json";if(v.isResponse(e)||v.isReadableStream(e))return e;if(e&&v.isString(e)&&(n&&!o||a)){const c=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(e,Xe(this,"parseReviver"))}catch(d){if(c)throw d.name==="SyntaxError"?L.from(d,L.ERR_BAD_RESPONSE,this,null,Xe(this,"response")):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ae.classes.FormData,Blob:ae.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch","query"],t=>{Br.headers[t]={}});const Cr=Br;function br(t,e){const r=this||Cr,n=e||r,o=he.from(n.headers);let a=n.data;return v.forEach(t,function(c){a=c.call(r,a,o.normalize(),e?e.status:void 0)}),o.normalize(),a}function Co(t){return!!(t&&t.__CANCEL__)}class ms extends L{constructor(e,r,n){super(e??"canceled",L.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}}const ut=ms;function bo(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new L("Request failed with status code "+r.status,r.status>=400&&r.status<500?L.ERR_BAD_REQUEST:L.ERR_BAD_RESPONSE,r.config,r.request,r))}function gs(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function ys(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o=0,a=0,l;return e=e!==void 0?e:1e3,function(d){const f=Date.now(),s=n[a];l||(l=f),r[o]=d,n[o]=f;let x=a,u=0;for(;x!==o;)u+=r[x++],x=x%t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),f-l<e)return;const h=s&&f-s;return h?Math.round(u*1e3/h):void 0}}function _s(t,e){let r=0,n=1e3/e,o,a;const l=(f,s=Date.now())=>{r=s,o=null,a&&(clearTimeout(a),a=null),t(...f)};return[(...f)=>{const s=Date.now(),x=s-r;x>=n?l(f,s):(o=f,a||(a=setTimeout(()=>{a=null,l(o)},n-x)))},()=>o&&l(o)]}const It=(t,e,r=3)=>{let n=0;const o=ys(50,250);return _s(a=>{if(!a||typeof a.loaded!="number")return;const l=a.loaded,c=a.lengthComputable?a.total:void 0,d=Math.max(0,c!=null?Math.min(l,c):l),f=Math.max(0,d-n),s=o(f);n=Math.max(n,d);const x={loaded:d,total:c,progress:c?d/c:void 0,bytes:f,rate:s||void 0,estimated:s&&c?(c-d)/s:void 0,event:a,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(x)},r)},wo=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Do=(t,e=v.asap)=>(...r)=>e(()=>t(...r)),Es=ae.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,ae.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(ae.origin),ae.navigator&&/(msie|trident)/i.test(ae.navigator.userAgent)):()=>!0,As=ae.hasStandardBrowserEnv?{write(t,e,r,n,o,a,l){if(typeof document>"u")return;const c=[`${t}=${encodeURIComponent(e)}`];v.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),v.isString(n)&&c.push(`path=${n}`),v.isString(o)&&c.push(`domain=${o}`),a===!0&&c.push("secure"),v.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let r=0;r<e.length;r++){const n=e[r].replace(/^\s+/,""),o=n.indexOf("=");if(o!==-1&&n.slice(0,o)===t)try{return decodeURIComponent(n.slice(o+1))}catch{return n.slice(o+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vs(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Bs(t,e){if(!e)return t;let r=t.length;for(;r>0&&t.charCodeAt(r-1)===47;)r--;return t.slice(0,r)+"/"+e.replace(/^\/+/,"")}const Cs=/^https?:(?!\/\/)/i,bs=/[\t\n\r]/g;function ws(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}function Ds(t){return ws(t).replace(bs,"")}function ks(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,r,n="")=>`${r}${n}${Ot}`)}function Fs(t){const e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Ot}@`),r=e.indexOf("#"),o=(r===-1?e:e.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Ot}`);return r===-1?o:`${o}#${ks(e.slice(r+1))}`}function ko(t,e){if(typeof t=="string"){const r=Ds(t);if(Cs.test(r))throw new L(`Invalid URL ${JSON.stringify(Fs(r))}: missing "//" after protocol`,L.ERR_INVALID_URL,e)}}function Fo(t,e,r,n){ko(e,n);let o=!vs(e);return t&&(o||r===!1)?(ko(t,n),Bs(t,e)):e}const So=t=>t instanceof he?{...t}:t,Ss=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function Le(t,e){t=t||{},e=e||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(s,x,u,h){return v.isPlainObject(s)&&v.isPlainObject(x)?v.merge.call({caseless:h},s,x):v.isPlainObject(x)?v.merge({},x):v.isArray(x)?x.slice():x}function o(s,x,u,h){if(v.isUndefined(x)){if(!v.isUndefined(s))return n(void 0,s,u,h)}else return n(s,x,u,h)}function a(s,x){if(!v.isUndefined(x))return n(void 0,x)}function l(s,x){if(v.isUndefined(x)){if(!v.isUndefined(s))return n(void 0,s)}else return n(void 0,x)}function c(s){const x=v.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!v.isUndefined(x))if(v.isPlainObject(x)){if(v.hasOwnProp(x,s))return x[s]}else return;const u=v.hasOwnProp(t,"transitional")?t.transitional:void 0;if(v.isPlainObject(u)&&v.hasOwnProp(u,s))return u[s]}function d(s,x,u){if(v.hasOwnProp(e,u))return n(s,x);if(v.hasOwnProp(t,u))return n(void 0,s)}const f={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:d,headers:(s,x,u)=>o(So(s),So(x),u,!0)};return v.forEach(Ss({...t,...e}),function(x){if(x==="__proto__"||x==="constructor"||x==="prototype")return;const u=v.hasOwnProp(f,x)?f[x]:o,h=v.hasOwnProp(t,x)?t[x]:void 0,g=v.hasOwnProp(e,x)?e[x]:void 0,A=u(h,g,x);v.isUndefined(A)&&u!==d||(r[x]=A)}),v.hasOwnProp(e,"validateStatus")&&v.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(v.hasOwnProp(t,"validateStatus")?r.validateStatus=n(void 0,t.validateStatus):delete r.validateStatus),r}const Rs=["content-type","content-length"];function Ns(t,e,r){if(r!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([n,o])=>{Rs.includes(n.toLowerCase())&&t.set(n,o)})}const Ts=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,r)=>String.fromCharCode(parseInt(r,16)));function Ro(t){const e=Le({},t),r=u=>v.hasOwnProp(e,u)?e[u]:void 0,n=r("data");let o=r("withXSRFToken");const a=r("xsrfHeaderName"),l=r("xsrfCookieName");let c=r("headers");const d=r("auth"),f=r("baseURL"),s=r("allowAbsoluteUrls"),x=r("url");if(e.headers=c=he.from(c),e.url=_o(Fo(f,x,s,e),r("params"),r("paramsSerializer")),d){const u=v.getSafeProp(d,"username")||"",h=v.getSafeProp(d,"password")||"";try{c.set("Authorization","Basic "+btoa(u+":"+(h?Ts(h):"")))}catch(g){throw L.from(g,L.ERR_BAD_OPTION_VALUE,t)}}if(v.isFormData(n)&&(ae.hasStandardBrowserEnv||ae.hasStandardBrowserWebWorkerEnv||v.isReactNative(n)?c.setContentType(void 0):v.isFunction(n.getHeaders)&&Ns(c,n.getHeaders(),r("formDataHeaderPolicy"))),ae.hasStandardBrowserEnv&&(v.isFunction(o)&&(o=o(e)),o===!0||o==null&&Es(e.url))){const h=a&&l&&As.read(l);h&&c.set(a,h)}return e}const Os=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const o=Ro(t);let a=o.data;const l=he.from(o.headers).normalize();let{responseType:c,onUploadProgress:d,onDownloadProgress:f}=o,s,x,u,h,g;function A(){h&&h(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(s),o.signal&&o.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,!0),y.timeout=o.timeout;function _(){if(!y)return;const p=he.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),b={data:!c||c==="text"||c==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:p,config:t,request:y};bo(function(w){r(w),A()},function(w){n(w),A()},b),y=null}"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.startsWith("file:"))||setTimeout(_)},y.onabort=function(){y&&(n(new L("Request aborted",L.ECONNABORTED,t,y)),A(),y=null)},y.onerror=function(E){const b=E&&E.message?E.message:"Network Error",C=new L(b,L.ERR_NETWORK,t,y);C.event=E||null,n(C),A(),y=null},y.ontimeout=function(){let E=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const b=o.transitional||Er;o.timeoutErrorMessage&&(E=o.timeoutErrorMessage),n(new L(E,b.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,t,y)),A(),y=null},a===void 0&&l.setContentType(null),"setRequestHeader"in y&&v.forEach(uo(l),function(E,b){y.setRequestHeader(b,E)}),v.isUndefined(o.withCredentials)||(y.withCredentials=!!o.withCredentials),c&&c!=="json"&&(y.responseType=o.responseType),f&&([u,g]=It(f,!0),y.addEventListener("progress",u)),d&&y.upload&&([x,h]=It(d),y.upload.addEventListener("progress",x),y.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(s=p=>{y&&(n(!p||p.type?new ut(null,t,y):p),y.abort(),A(),y=null)},o.cancelToken&&o.cancelToken.subscribe(s),o.signal&&(o.signal.aborted?s():o.signal.addEventListener("abort",s)));const m=gs(o.url);if(m&&!ae.protocols.includes(m)){n(new L("Unsupported protocol "+m+":",L.ERR_BAD_REQUEST,t)),A();return}y.send(a||null)})},Ps=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const r=new AbortController;let n=!1;const o=function(d){if(!n){n=!0,l();const f=d instanceof Error?d:this.reason;r.abort(f instanceof L?f:new ut(f instanceof Error?f.message:f))}};let a=e&&setTimeout(()=>{a=null,o(new L(`timeout of ${e}ms exceeded`,L.ETIMEDOUT))},e);const l=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),t=null)};t.forEach(d=>{if(!n){if(d.aborted){o.call(d);return}d.addEventListener("abort",o,{once:!0})}});const{signal:c}=r;return c.unsubscribe=()=>v.asap(l),c},Is=function*(t,e){let r=t.byteLength;if(!e||r<e){yield t;return}let n=0,o;for(;n<r;)o=n+e,yield t.slice(n,o),n=o},Vs=async function*(t,e){for await(const r of Ls(t))yield*Is(r,e)},Ls=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},No=(t,e,r,n)=>{const o=Vs(t,e);let a=0,l,c=d=>{l||(l=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:f,value:s}=await o.next();if(f){c(),d.close();return}let x=s.byteLength;if(r){let u=a+=x;r(u)}d.enqueue(new Uint8Array(s))}catch(f){throw c(f),f}},cancel(d){return c(d),o.return()}},{highWaterMark:2})},To=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,Oo=(t,e,r)=>e+2<r&&To(t.charCodeAt(e+1))&&To(t.charCodeAt(e+2)),Po=t=>t<=57?t-48:(t&223)-55,Hs=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,Ms=t=>t===9||t===10||t===12||t===13||t===32,zs=t=>{const e=Math.floor(t/4),r=t%4;return e*3+(r===2?1:r===3?2:0)},Us=t=>{const e=t.length;let r=0;return e>0&&t.charCodeAt(e-1)===61&&(r++,e>1&&t.charCodeAt(e-2)===61&&r++),Math.floor((e-r)*3/4)},qs=t=>{const e=t.length;let r=0,n=0,o=!1;for(let a=0;a<e;a++){let l=t.charCodeAt(a);if(l===37&&Oo(t,a,e)&&(l=Po(t.charCodeAt(a+1))*16+Po(t.charCodeAt(a+2)),a+=2),!Ms(l)){if(l===61){n++;continue}if(!Hs(l)||n>0){o=!0;continue}r++}}return o||n>2||n>0&&(r+n)%4!==0||r%4===1?Us(t):zs(r)},Ws=(t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const r=t.indexOf(",");if(r<0)return 0;const n=t.slice(5,r),o=t.slice(r+1);if(/;base64/i.test(n))return e(o);let l=0;for(let c=0,d=o.length;c<d;c++){const f=o.charCodeAt(c);if(f===37&&Oo(o,c,d))l+=1,c+=2;else if(f<128)l+=1;else if(f<2048)l+=2;else if(f>=55296&&f<=56319&&c+1<d){const s=o.charCodeAt(c+1);s>=56320&&s<=57343?(l+=4,c++):l+=3}else l+=3}return l};function Gs(t){const e=typeof t=="string"?t.indexOf("#"):-1;return Ws(e===-1?t:t.slice(0,e),qs)}const wr="1.19.0",Io=64*1024,{isFunction:Vt}=v,Qs=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,r)=>String.fromCharCode(parseInt(r,16))),Vo=t=>{if(!v.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},Lo=(t,...e)=>{try{return!!t(...e)}catch{return!1}},js=t=>{const e=t.indexOf("://");let r=t;return e!==-1&&(r=r.slice(e+3)),r.includes("@")||r.includes(":")},Ks=t=>{const e=v.global!==void 0&&v.global!==null?v.global:globalThis,{ReadableStream:r,TextEncoder:n}=e;t=v.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:o,Request:a,Response:l}=t,c=o?Vt(o):typeof fetch=="function",d=Vt(a),f=Vt(l);if(!c)return!1;const s=c&&Vt(r),x=c&&(typeof n=="function"?(_=>m=>_.encode(m))(new n):async _=>new Uint8Array(await new a(_).arrayBuffer())),u=d&&s&&Lo(()=>{let _=!1;const m=new a(ae.origin,{body:new r,method:"POST",get duplex(){return _=!0,"half"}}),p=m.headers.has("Content-Type");return m.body!=null&&m.body.cancel(),_&&!p}),h=f&&s&&Lo(()=>v.isReadableStream(new l("").body)),g={stream:h&&(_=>_.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(_=>{!g[_]&&(g[_]=(m,p)=>{let E=m&&m[_];if(E)return E.call(m);throw new L(`Response type '${_}' is not supported`,L.ERR_NOT_SUPPORT,p)})});const A=async _=>{if(_==null)return 0;if(v.isBlob(_))return _.size;if(v.isSpecCompliantForm(_))return(await new a(ae.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(v.isArrayBufferView(_)||v.isArrayBuffer(_))return _.byteLength;if(v.isURLSearchParams(_)&&(_=_+""),v.isString(_))return(await x(_)).byteLength},y=async(_,m)=>{const p=v.toFiniteNumber(_.getContentLength());return p??A(m)};return async _=>{let{url:m,method:p,data:E,signal:b,cancelToken:C,timeout:w,onDownloadProgress:k,onUploadProgress:P,responseType:B,headers:D,withCredentials:R="same-origin",fetchOptions:S,maxContentLength:I,maxBodyLength:V}=Ro(_);const M=v.isNumber(I)&&I>-1,j=v.isNumber(V)&&V>-1,K=H=>v.hasOwnProp(_,H)?_[H]:void 0;let X=o||fetch;B=B?(B+"").toLowerCase():"text";let U=Ps([b,C&&C.toAbortSignal()],w),F=null;const T=U&&U.unsubscribe&&(()=>{U.unsubscribe()});let O,N=null;const J=()=>new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,_,F);try{let H;const Y=K("auth");if(Y){const z=v.getSafeProp(Y,"username")||"",ne=v.getSafeProp(Y,"password")||"";H={username:z,password:ne}}if(js(m)){const z=new URL(m,ae.origin);if(!H&&(z.username||z.password)){const ne=Vo(z.username),xe=Vo(z.password);H={username:ne,password:xe}}(z.username||z.password)&&(z.username="",z.password="",m=z.href)}if(H&&(D.delete("authorization"),D.set("Authorization","Basic "+btoa(Qs((H.username||"")+":"+(H.password||""))))),M&&typeof m=="string"&&m.startsWith("data:")&&Gs(m)>I)throw new L("maxContentLength size of "+I+" exceeded",L.ERR_BAD_RESPONSE,_,F);if(j&&p!=="get"&&p!=="head"){const z=await A(E);if(typeof z=="number"&&isFinite(z)&&(O=z,z>V))throw J()}const q=j&&(v.isReadableStream(E)||v.isStream(E)),Fe=(z,ne,xe)=>No(z,Io,ye=>{if(j&&ye>V)throw N=J();ne&&ne(ye)},xe);if(u&&p!=="get"&&p!=="head"&&(P||q)){if(O=O??await y(D,E),O!==0||q){let z=new a(m,{method:"POST",body:E,duplex:"half"}),ne;if(v.isFormData(E)&&(ne=z.headers.get("content-type"))&&D.setContentType(ne),z.body){const[xe,ye]=P&&wo(O,It(Do(P)))||[];E=Fe(z.body,xe,ye)}}}else if(q&&!d&&s&&p!=="get"&&p!=="head")E=Fe(E);else if(q&&d&&!u&&p!=="get"&&p!=="head")throw new L("Stream request bodies are not supported by the current fetch implementation",L.ERR_NOT_SUPPORT,_,F);v.isString(R)||(R=R?"include":"omit");const Se=d&&"credentials"in a.prototype;if(v.isFormData(E)){const z=D.getContentType();z&&/^multipart\/form-data/i.test(z)&&!/boundary=/i.test(z)&&D.delete("content-type")}D.set("User-Agent","axios/"+wr,!1);const it={...S,signal:U,method:p.toUpperCase(),headers:uo(D.normalize()),body:E,duplex:"half",credentials:Se?R:void 0};F=d&&new a(m,it);let ce=await(d?X(F,S):X(m,it));const de=he.from(ce.headers);if(M){const z=v.toFiniteNumber(de.getContentLength());if(z!=null&&z>I)throw new L("maxContentLength size of "+I+" exceeded",L.ERR_BAD_RESPONSE,_,F)}const se=h&&(B==="stream"||B==="response");if(h&&ce.body&&(k||M||se&&T)){const z={};["status","statusText","headers"].forEach(oe=>{z[oe]=ce[oe]});const ne=v.toFiniteNumber(de.getContentLength()),[xe,ye]=k&&wo(ne,It(Do(k),!0))||[];let Re=0;const pe=oe=>{if(M&&(Re=oe,Re>I))throw new L("maxContentLength size of "+I+" exceeded",L.ERR_BAD_RESPONSE,_,F);xe&&xe(oe)};ce=new l(No(ce.body,Io,pe,()=>{ye&&ye(),T&&T()}),z)}B=B||"text";let ue=await g[v.findKey(g,B)||"text"](ce,_);if(M&&!h&&!se){let z;if(ue!=null&&(typeof ue.byteLength=="number"?z=ue.byteLength:typeof ue.size=="number"?z=ue.size:typeof ue=="string"&&(z=typeof n=="function"?new n().encode(ue).byteLength:ue.length)),typeof z=="number"&&z>I)throw new L("maxContentLength size of "+I+" exceeded",L.ERR_BAD_RESPONSE,_,F)}return!se&&T&&T(),await new Promise((z,ne)=>{bo(z,ne,{data:ue,headers:he.from(ce.headers),status:ce.status,statusText:ce.statusText,config:_,request:F})})}catch(H){if(T&&T(),U&&U.aborted&&U.reason instanceof L){const Y=U.reason;throw Y.config=_,F&&(Y.request=F),H!==Y&&Object.defineProperty(Y,"cause",{__proto__:null,value:H,writable:!0,enumerable:!1,configurable:!0}),Y}if(N)throw F&&!N.request&&(N.request=F),N;if(H instanceof L)throw F&&!H.request&&(H.request=F),H;if(H&&H.name==="TypeError"&&/Load failed|fetch/i.test(H.message)){const Y=new L("Network Error",L.ERR_NETWORK,_,F,H&&H.response);throw Object.defineProperty(Y,"cause",{__proto__:null,value:H.cause||H,writable:!0,enumerable:!1,configurable:!0}),Y}throw L.from(H,H&&H.code,_,F,H&&H.response)}}},Xs=new Map,Ho=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:o}=e,a=[n,o,r];let l=a.length,c=l,d,f,s=Xs;for(;c--;)d=a[c],f=s.get(d),f===void 0&&s.set(d,f=c?new Map:Ks(e)),s=f;return f};Ho();const Dr={http:ns,xhr:Os,fetch:{get:Ho}};v.forEach(Dr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const Mo=t=>`- ${t}`,Js=t=>v.isFunction(t)||t===null||t===!1;function Ys(t,e){t=v.isArray(t)?t:[t];const{length:r}=t;let n,o;const a={};for(let l=0;l<r;l++){n=t[l];let c;if(o=n,!Js(n)&&(o=Dr[(c=String(n)).toLowerCase()],o===void 0))throw new L(`Unknown adapter '${c}'`);if(o&&(v.isFunction(o)||(o=o.get(e))))break;a[c||"#"+l]=o}if(!o){const l=Object.entries(a).map(([d,f])=>`adapter ${d} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=r?l.length>1?`since :
|
|
4
|
-
`+
|
|
5
|
-
`):" "+Mo(l[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+c,L.ERR_NOT_SUPPORT)}return o}const zo={getAdapter:Ys,adapters:Dr};function kr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ut(null,t)}function Fr(t){return kr(t),t.headers=he.from(t.headers),t.data=br.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),zo.getAdapter(t.adapter||Cr.adapter,t)(t).then(function(n){kr(t),t.response=n;try{n.data=br.call(t,t.transformResponse,n)}finally{delete t.response}return n.headers=he.from(n.headers),n},function(n){if(!Co(n)&&(kr(t),n&&n.response)){t.response=n.response;try{n.response.data=br.call(t,t.transformResponse,n.response)}finally{delete t.response}n.response.headers=he.from(n.response.headers)}return Promise.reject(n)})}const Lt={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Lt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Uo={};Lt.transitional=function(e,r,n){function o(a,l){return"[Axios v"+wr+"] Transitional option '"+a+"'"+l+(n?". "+n:"")}return(a,l,c)=>{if(e===!1)throw new L(o(l," has been removed"+(r?" in "+r:"")),L.ERR_DEPRECATED);return r&&!Uo[l]&&(Uo[l]=!0,console.warn(o(l," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,l,c):!0}},Lt.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Zs(t,e,r){if(typeof t!="object"||t===null)throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const a=n[o],l=Object.prototype.hasOwnProperty.call(e,a)?e[a]:void 0;if(l){const c=t[a],d=c===void 0||l(c,a,t);if(d!==!0)throw new L("option "+a+" must be "+d,L.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new L("Unknown option "+a,L.ERR_BAD_OPTION)}}const Ht={assertOptions:Zs,validators:Lt},le=Ht.validators;class Mt{constructor(e){this.defaults=e||{},this.interceptors={request:new Eo,response:new Eo}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=(()=>{if(!o.stack)return"";const l=o.stack.indexOf(`
|
|
6
|
-
`);return
|
|
7
|
-
|
|
8
|
-
`,l+1),d=c===-1?"":a.slice(c+1);String(n.stack).endsWith(d)||(n.stack+=`
|
|
9
|
-
`+a)}}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Le(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Ht.assertOptions(n,{silentJSONParsing:le.transitional(le.boolean),forcedJSONParsing:le.transitional(le.boolean),clarifyTimeoutError:le.transitional(le.boolean),legacyInterceptorReqResOrdering:le.transitional(le.boolean),advertiseZstdAcceptEncoding:le.transitional(le.boolean),validateStatusUndefinedResolves:le.transitional(le.boolean)},!1),o!=null&&(v.isFunction(o)?r.paramsSerializer={serialize:o}:Ht.assertOptions(o,{encode:le.function,serialize:le.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ht.assertOptions(r,{baseUrl:le.spelling("baseURL"),withXsrfToken:le.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=a&&v.merge(a.common,a[r.method]);a&&v.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete a[g]}),r.headers=he.concat(l,a);const c=[];let d=!0;this.interceptors.request.forEach(function(A){if(typeof A.runWhen=="function"&&A.runWhen(r)===!1)return;d=d&&A.synchronous;const y=r.transitional||Er;y&&y.legacyInterceptorReqResOrdering?c.unshift(A.fulfilled,A.rejected):c.push(A.fulfilled,A.rejected)});const f=[];this.interceptors.response.forEach(function(A){f.push(A.fulfilled,A.rejected)});let s,x=0,u;if(!d){const g=[Fr.bind(this),void 0];for(g.unshift(...c),g.push(...f),u=g.length,s=Promise.resolve(r);x<u;)s=s.then(g[x++],g[x++]);return s}u=c.length;let h=r;for(;x<u;){const g=c[x++],A=c[x++];try{h=g?g(h):h}catch(y){if(!A){s=Promise.reject(y);break}try{const _=A.call(this,y);v.isThenable(_)&&(s=Promise.resolve(_).then(()=>Fr.call(this,h)))}catch(_){s=Promise.reject(_)}break}}if(!s)try{s=Fr.call(this,h)}catch(g){s=Promise.reject(g)}for(x=0,u=f.length;x<u;)s=s.then(f[x++],f[x++]);return s}getUri(e){e=Le(this.defaults,e);const r=Fo(e.baseURL,e.url,e.allowAbsoluteUrls,e);return _o(r,e.params,e.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(e){Mt.prototype[e]=function(r,n){return this.request(Le(n||{},{method:e,url:r,data:n&&v.hasOwnProp(n,"data")?n.data:void 0}))}}),v.forEach(["post","put","patch","query"],function(e){function r(n){return function(a,l,c){return this.request(Le(c||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}Mt.prototype[e]=r(),e!=="query"&&(Mt.prototype[e+"Form"]=r(!0))});const zt=Mt;class Sr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const l=new Promise(c=>{n.subscribe(c),a=c}).then(o);return l.cancel=function(){n.unsubscribe(a)},l},e(function(a,l,c){n.reason||(n.reason=new ut(a,l,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new Sr(function(o){e=o}),cancel:e}}}const $s=Sr;function el(t){return function(r){return t.apply(null,r)}}function tl(t){return v.isObject(t)&&t.isAxiosError===!0}const Rr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rr).forEach(([t,e])=>{Rr[e]=t});const rl=Rr;function qo(t){const e=new zt(t),r=eo(zt.prototype.request,e);return v.extend(r,zt.prototype,e,{allOwnKeys:!0}),v.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return qo(Le(t,o))},r}const $=qo(Cr);$.Axios=zt,$.CanceledError=ut,$.CancelToken=$s,$.isCancel=Co,$.VERSION=wr,$.toFormData=Pt,$.AxiosError=L,$.Cancel=$.CanceledError,$.all=function(e){return Promise.all(e)},$.spread=el,$.isAxiosError=tl,$.mergeConfig=Le,$.AxiosHeaders=he,$.formToJSON=t=>Bo(v.isHTMLForm(t)?new FormData(t):t),$.getAdapter=zo.getAdapter,$.HttpStatusCode=rl,$.default=$;const Nr=$;var Je=window.navigator.userAgent,Wo="ActiveXObject"in window,nl=Je.match(/Chrome/i),ol=!!(Je.match(/(iPhone|iPad|iPod)/i)||Je.match(/Android/i)||Je.match(/Windows Phone/i)||Je.match(/IEMobile/i)),Go=null,Tr,Or,Pr,Ir;Tr=Or=Pr=Ir=!1;var il=navigator.appName;if(il=="Microsoft Internet Explorer"||Wo){var Qo=Je.match(/MSIE (\d+[.\d]*)/);if(Qo){var jo=Qo[1];Go=jo;var Ut=parseInt(jo,10);Tr=Ut===8,Or=Ut==9,Pr=Ut==10,Ir=Ut==11}}const al={isChrome:nl,isIE:Wo,isMobile:ol,IEVersion:Go,isIE8:Tr,isIE9:Or,isIE10:Pr,isIE11:Ir};/*! js-cookie v3.0.8 | MIT */function qt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)n!=="__proto__"&&(t[n]=r[n])}return t}var sl={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Vr(t,e){function r(o,a,l){if(!(typeof document>"u")){l=qt({},e,l),typeof l.expires=="number"&&(l.expires=new Date(Date.now()+l.expires*864e5)),l.expires&&(l.expires=l.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var d in l)l[d]&&(c+="; "+d,l[d]!==!0&&(c+="="+l[d].split(";")[0]));return document.cookie=o+"="+t.write(a,o)+c}}function n(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],l={},c=0;c<a.length;c++){var d=a[c].split("="),f=d.slice(1).join("=");try{var s=decodeURIComponent(d[0]);if(s in l||(l[s]=t.read(f,s)),o===s)break}catch{}}return o?l[o]:l}}return Object.create({set:r,get:n,remove:function(o,a){r(o,"",qt({},a,{expires:-1}))},withAttributes:function(o){return Vr(this.converter,qt({},this.attributes,o))},withConverter:function(o){return Vr(qt({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Ce=Vr(sl,{path:"/"});let Lr=Nr.create({baseURL:"https://api.play.cn/",timeout:3e4,retry:3,retryDelay:1e3});Lr.interceptors.request.use(t=>{if(t.headers.vc=50300,t.headers.channel_code=Ce.get("ass_channel_code"),t.headers.user_id=Ce.get("ass_user_id"),t.headers.access_token=Ce.get("ass_access_token"),t.url=="/api/v1/user/info.json"&&(t.baseURL="https://open.play.cn"),!(t.method==="post"||t.method==="put")){if(t.method==="get"&&al.isIE){let e=t.url.indexOf("?")>=0?"&":"?";t.url+=e+"_="+Date.now()}}return t},t=>Promise.reject(t)),Lr.interceptors.response.use(t=>{let{data:e}=t;return e},t=>Promise.reject(t));function ll(){return Lr}var W=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ko(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function cl(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var Ye=TypeError;const Xo=cl(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Hr=typeof Map=="function"&&Map.prototype,Mr=Object.getOwnPropertyDescriptor&&Hr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Wt=Hr&&Mr&&typeof Mr.get=="function"?Mr.get:null,Jo=Hr&&Map.prototype.forEach,zr=typeof Set=="function"&&Set.prototype,Ur=Object.getOwnPropertyDescriptor&&zr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Gt=zr&&Ur&&typeof Ur.get=="function"?Ur.get:null,Yo=zr&&Set.prototype.forEach,fl=typeof WeakMap=="function"&&WeakMap.prototype,xt=fl?WeakMap.prototype.has:null,dl=typeof WeakSet=="function"&&WeakSet.prototype,ht=dl?WeakSet.prototype.has:null,ul=typeof WeakRef=="function"&&WeakRef.prototype,Zo=ul?WeakRef.prototype.deref:null,xl=Boolean.prototype.valueOf,hl=Object.prototype.toString,pl=Function.prototype.toString,ml=String.prototype.match,qr=String.prototype.slice,be=String.prototype.replace,gl=String.prototype.toUpperCase,$o=String.prototype.toLowerCase,ei=RegExp.prototype.test,ti=Array.prototype.concat,_e=Array.prototype.join,yl=Array.prototype.slice,ri=Math.floor,Wr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Gr=Object.getOwnPropertySymbols,Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="object",pt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ze||"symbol")?Symbol.toStringTag:null,ni=Object.prototype.propertyIsEnumerable,oi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ii(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ei.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-ri(-t):ri(t);if(n!==t){var o=String(n),a=qr.call(e,o.length+1);return be.call(o,r,"$&_")+"."+be.call(be.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return be.call(e,r,"$&_")}var jr=Xo,ai=jr.custom,si=di(ai)?ai:null,li={__proto__:null,double:'"',single:"'"},_l={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Qt=function t(e,r,n,o){var a=r||{};if(Be(a,"quoteStyle")&&!Be(li,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Be(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=Be(a,"customInspect")?a.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Be(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Be(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return xi(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var d=String(e);return c?ii(e,d):d}if(typeof e=="bigint"){var f=String(e)+"n";return c?ii(e,f):f}var s=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=s&&s>0&&typeof e=="object")return Kr(e)?"[Array]":"[Object]";var x=Vl(a,n);if(typeof o>"u")o=[];else if(ui(o,e)>=0)return"[Circular]";function u(S,I,V){if(I&&(o=yl.call(o),o.push(I)),V){var M={depth:a.depth};return Be(a,"quoteStyle")&&(M.quoteStyle=a.quoteStyle),t(S,M,n+1,o)}return t(S,a,n+1,o)}if(typeof e=="function"&&!fi(e)){var h=kl(e),g=jt(e,u);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(g.length>0?" { "+_e.call(g,", ")+" }":"")}if(di(e)){var A=Ze?be.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qr.call(e);return typeof e=="object"&&!Ze?mt(A):A}if(Ol(e)){for(var y="<"+$o.call(String(e.nodeName)),_=e.attributes||[],m=0;m<_.length;m++)y+=" "+_[m].name+"="+ci(El(_[m].value),"double",a);return y+=">",e.childNodes&&e.childNodes.length&&(y+="..."),y+="</"+$o.call(String(e.nodeName))+">",y}if(Kr(e)){if(e.length===0)return"[]";var p=jt(e,u);return x&&!Il(p)?"["+Jr(p,x)+"]":"[ "+_e.call(p,", ")+" ]"}if(vl(e)){var E=jt(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!ni.call(e,"cause")?"{ ["+String(e)+"] "+_e.call(ti.call("[cause]: "+u(e.cause),E),", ")+" }":E.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_e.call(E,", ")+" }"}if(typeof e=="object"&&l){if(si&&typeof e[si]=="function"&&jr)return jr(e,{depth:s-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Fl(e)){var b=[];return Jo&&Jo.call(e,function(S,I){b.push(u(I,e,!0)+" => "+u(S,e))}),hi("Map",Wt.call(e),b,x)}if(Nl(e)){var C=[];return Yo&&Yo.call(e,function(S){C.push(u(S,e))}),hi("Set",Gt.call(e),C,x)}if(Sl(e))return Xr("WeakMap");if(Tl(e))return Xr("WeakSet");if(Rl(e))return Xr("WeakRef");if(Cl(e))return mt(u(Number(e)));if(wl(e))return mt(u(Wr.call(e)));if(bl(e))return mt(xl.call(e));if(Bl(e))return mt(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof W<"u"&&e===W)return"{ [object globalThis] }";if(!Al(e)&&!fi(e)){var w=jt(e,u),k=oi?oi(e)===Object.prototype:e instanceof Object||e.constructor===Object,P=e instanceof Object?"":"null prototype",B=!k&&pt&&Object(e)===e&&pt in e?qr.call(we(e),8,-1):P?"Object":"",D=k||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",R=D+(B||P?"["+_e.call(ti.call([],B||[],P||[]),": ")+"] ":"");return w.length===0?R+"{}":x?R+"{"+Jr(w,x)+"}":R+"{ "+_e.call(w,", ")+" }"}return String(e)};function ci(t,e,r){var n=r.quoteStyle||e,o=li[n];return o+t+o}function El(t){return be.call(String(t),/"/g,""")}function He(t){return!pt||!(typeof t=="object"&&(pt in t||typeof t[pt]<"u"))}function Kr(t){return we(t)==="[object Array]"&&He(t)}function Al(t){return we(t)==="[object Date]"&&He(t)}function fi(t){return we(t)==="[object RegExp]"&&He(t)}function vl(t){return we(t)==="[object Error]"&&He(t)}function Bl(t){return we(t)==="[object String]"&&He(t)}function Cl(t){return we(t)==="[object Number]"&&He(t)}function bl(t){return we(t)==="[object Boolean]"&&He(t)}function di(t){if(Ze)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Qr)return!1;try{return Qr.call(t),!0}catch{}return!1}function wl(t){if(!t||typeof t!="object"||!Wr)return!1;try{return Wr.call(t),!0}catch{}return!1}var Dl=Object.prototype.hasOwnProperty||function(t){return t in this};function Be(t,e){return Dl.call(t,e)}function we(t){return hl.call(t)}function kl(t){if(t.name)return t.name;var e=ml.call(pl.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function ui(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Fl(t){if(!Wt||!t||typeof t!="object")return!1;try{Wt.call(t);try{Gt.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Sl(t){if(!xt||!t||typeof t!="object")return!1;try{xt.call(t,xt);try{ht.call(t,ht)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Rl(t){if(!Zo||!t||typeof t!="object")return!1;try{return Zo.call(t),!0}catch{}return!1}function Nl(t){if(!Gt||!t||typeof t!="object")return!1;try{Gt.call(t);try{Wt.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Tl(t){if(!ht||!t||typeof t!="object")return!1;try{ht.call(t,ht);try{xt.call(t,xt)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ol(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function xi(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return xi(qr.call(t,0,e.maxStringLength),e)+n}var o=_l[e.quoteStyle||"single"];o.lastIndex=0;var a=be.call(be.call(t,o,"\\$1"),/[\x00-\x1f]/g,Pl);return ci(a,"single",e)}function Pl(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+gl.call(e.toString(16))}function mt(t){return"Object("+t+")"}function Xr(t){return t+" { ? }"}function hi(t,e,r,n){var o=n?Jr(r,n):_e.call(r,", ");return t+" ("+e+") {"+o+"}"}function Il(t){for(var e=0;e<t.length;e++)if(ui(t[e],`
|
|
10
|
-
`)>=0)return!1;return!0}function Vl(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=_e.call(Array(t.indent+1)," ");else return null;return{base:r,prev:_e.call(Array(e+1),r)}}function Jr(t,e){if(t.length===0)return"";var r=`
|
|
11
|
-
`+e.prev+e.base;return r+_e.call(t,","+r)+`
|
|
12
|
-
`+e.prev}function jt(t,e){var r=Kr(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=Be(t,o)?e(t[o],t):""}var a=typeof Gr=="function"?Gr(t):[],l;if(Ze){l={};for(var c=0;c<a.length;c++)l["$"+a[c]]=a[c]}for(var d in t)Be(t,d)&&(r&&String(Number(d))===d&&d<t.length||Ze&&l["$"+d]instanceof Symbol||(ei.call(/[^\w$]/,d)?n.push(e(d,t)+": "+e(t[d],t)):n.push(d+": "+e(t[d],t))));if(typeof Gr=="function")for(var f=0;f<a.length;f++)ni.call(t,a[f])&&n.push("["+e(a[f])+"]: "+e(t[a[f]],t));return n}var Ll=Qt,Hl=Ye,Kt=function(t,e,r){for(var n=t,o;(o=n.next)!=null;n=o)if(o.key===e)return n.next=o.next,r||(o.next=t.next,t.next=o),o},Ml=function(t,e){if(t){var r=Kt(t,e);return r&&r.value}},zl=function(t,e,r){var n=Kt(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Ul=function(t,e){return t?!!Kt(t,e):!1},ql=function(t,e){if(t)return Kt(t,e,!0)},Wl=function(){var e,r={assert:function(n){if(!r.has(n))throw new Hl("Side channel does not contain "+Ll(n))},delete:function(n){var o=ql(e,n);return o&&e&&!e.next&&(e=void 0),!!o},get:function(n){return Ml(e,n)},has:function(n){return Ul(e,n)},set:function(n,o){e||(e={next:void 0}),zl(e,n,o)}};return r},pi=Object,Gl=Error,Ql=EvalError,jl=RangeError,Kl=ReferenceError,Xl=SyntaxError,Jl=URIError,Yl=Math.abs,Zl=Math.floor,$l=Math.max,ec=Math.min,tc=Math.pow,rc=Math.round,nc=Number.isNaN||function(e){return e!==e},oc=nc,ic=function(e){return oc(e)||e===0?e:e<0?-1:1},ac=Object.getOwnPropertyDescriptor,Xt=ac;if(Xt)try{Xt([],"length")}catch{Xt=null}var mi=Xt,Jt=Object.defineProperty||!1;if(Jt)try{Jt({},"a",{value:1})}catch{Jt=!1}var gi=Jt,Yr,yi;function sc(){return yi||(yi=1,Yr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[r]=o;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),Yr}var Zr,_i;function lc(){if(_i)return Zr;_i=1;var t=typeof Symbol<"u"&&Symbol,e=sc();return Zr=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Zr}var $r,Ei;function Ai(){return Ei||(Ei=1,$r=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),$r}var en,vi;function Bi(){if(vi)return en;vi=1;var t=pi;return en=t.getPrototypeOf||null,en}var cc="Function.prototype.bind called on incompatible ",fc=Object.prototype.toString,dc=Math.max,uc="[object Function]",Ci=function(e,r){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<r.length;a+=1)n[a+e.length]=r[a];return n},xc=function(e,r){for(var n=[],o=r||0,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n},hc=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},pc=function(e){var r=this;if(typeof r!="function"||fc.apply(r)!==uc)throw new TypeError(cc+r);for(var n=xc(arguments,1),o,a=function(){if(this instanceof o){var s=r.apply(this,Ci(n,arguments));return Object(s)===s?s:this}return r.apply(e,Ci(n,arguments))},l=dc(0,r.length-n.length),c=[],d=0;d<l;d++)c[d]="$"+d;if(o=Function("binder","return function ("+hc(c,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var f=function(){};f.prototype=r.prototype,o.prototype=new f,f.prototype=null}return o},mc=pc,Yt=Function.prototype.bind||mc,tn=Function.prototype.call,rn,bi;function wi(){return bi||(bi=1,rn=Function.prototype.apply),rn}var gc=typeof Reflect<"u"&&Reflect&&Reflect.apply,yc=Yt,_c=wi(),Ec=tn,Ac=gc,vc=Ac||yc.call(Ec,_c),Bc=Yt,Cc=Ye,bc=tn,wc=vc,Di=function(e){if(e.length<1||typeof e[0]!="function")throw new Cc("a function is required");return wc(Bc,bc,e)},nn,ki;function Dc(){if(ki)return nn;ki=1;var t=Di,e=mi,r;try{r=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var n=!!r&&e&&e(Object.prototype,"__proto__"),o=Object,a=o.getPrototypeOf;return nn=n&&typeof n.get=="function"?t([n.get]):typeof a=="function"?function(c){return a(c==null?c:o(c))}:!1,nn}var on,Fi;function kc(){if(Fi)return on;Fi=1;var t=Ai(),e=Bi(),r=Dc();return on=t?function(o){return t(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:r?function(o){return r(o)}:null,on}var an,Si;function Fc(){if(Si)return an;Si=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Yt;return an=r.call(t,e),an}var G,Sc=pi,Rc=Gl,Nc=Ql,Tc=jl,Oc=Kl,$e=Xl,et=Ye,Pc=Jl,Ic=Yl,Vc=Zl,Lc=$l,Hc=ec,Mc=tc,zc=rc,Uc=ic,Ri=Function,sn=function(t){try{return Ri('"use strict"; return ('+t+").constructor;")()}catch{}},gt=mi,qc=gi,ln=function(){throw new et},Wc=gt?function(){try{return arguments.callee,ln}catch{try{return gt(arguments,"callee").get}catch{return ln}}}():ln,tt=lc()(),te=kc(),Gc=Bi(),Qc=Ai(),Ni=wi(),yt=tn,rt={},jc=typeof Uint8Array>"u"||!te?G:te(Uint8Array),Me={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?G:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?G:ArrayBuffer,"%ArrayIteratorPrototype%":tt&&te?te([][Symbol.iterator]()):G,"%AsyncFromSyncIteratorPrototype%":G,"%AsyncFunction%":rt,"%AsyncGenerator%":rt,"%AsyncGeneratorFunction%":rt,"%AsyncIteratorPrototype%":rt,"%Atomics%":typeof Atomics>"u"?G:Atomics,"%BigInt%":typeof BigInt>"u"?G:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?G:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?G:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?G:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Rc,"%eval%":eval,"%EvalError%":Nc,"%Float16Array%":typeof Float16Array>"u"?G:Float16Array,"%Float32Array%":typeof Float32Array>"u"?G:Float32Array,"%Float64Array%":typeof Float64Array>"u"?G:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?G:FinalizationRegistry,"%Function%":Ri,"%GeneratorFunction%":rt,"%Int8Array%":typeof Int8Array>"u"?G:Int8Array,"%Int16Array%":typeof Int16Array>"u"?G:Int16Array,"%Int32Array%":typeof Int32Array>"u"?G:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":tt&&te?te(te([][Symbol.iterator]())):G,"%JSON%":typeof JSON=="object"?JSON:G,"%Map%":typeof Map>"u"?G:Map,"%MapIteratorPrototype%":typeof Map>"u"||!tt||!te?G:te(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Sc,"%Object.getOwnPropertyDescriptor%":gt,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?G:Promise,"%Proxy%":typeof Proxy>"u"?G:Proxy,"%RangeError%":Tc,"%ReferenceError%":Oc,"%Reflect%":typeof Reflect>"u"?G:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?G:Set,"%SetIteratorPrototype%":typeof Set>"u"||!tt||!te?G:te(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?G:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":tt&&te?te(""[Symbol.iterator]()):G,"%Symbol%":tt?Symbol:G,"%SyntaxError%":$e,"%ThrowTypeError%":Wc,"%TypedArray%":jc,"%TypeError%":et,"%Uint8Array%":typeof Uint8Array>"u"?G:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?G:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?G:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?G:Uint32Array,"%URIError%":Pc,"%WeakMap%":typeof WeakMap>"u"?G:WeakMap,"%WeakRef%":typeof WeakRef>"u"?G:WeakRef,"%WeakSet%":typeof WeakSet>"u"?G:WeakSet,"%Function.prototype.call%":yt,"%Function.prototype.apply%":Ni,"%Object.defineProperty%":qc,"%Object.getPrototypeOf%":Gc,"%Math.abs%":Ic,"%Math.floor%":Vc,"%Math.max%":Lc,"%Math.min%":Hc,"%Math.pow%":Mc,"%Math.round%":zc,"%Math.sign%":Uc,"%Reflect.getPrototypeOf%":Qc};if(te)try{null.error}catch(t){var Kc=te(te(t));Me["%Error.prototype%"]=Kc}var Xc=function t(e){var r;if(e==="%AsyncFunction%")r=sn("async function () {}");else if(e==="%GeneratorFunction%")r=sn("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=sn("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=t("%AsyncGenerator%");o&&te&&(r=te(o.prototype))}return Me[e]=r,r},Ti={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_t=Yt,Zt=Fc(),Jc=_t.call(yt,Array.prototype.concat),Yc=_t.call(Ni,Array.prototype.splice),Oi=_t.call(yt,String.prototype.replace),$t=_t.call(yt,String.prototype.slice),Zc=_t.call(yt,RegExp.prototype.exec),$c=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ef=/\\(\\)?/g,tf=function(e){var r=$t(e,0,1),n=$t(e,-1);if(r==="%"&&n!=="%")throw new $e("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new $e("invalid intrinsic syntax, expected opening `%`");var o=[];return Oi(e,$c,function(a,l,c,d){o[o.length]=c?Oi(d,ef,"$1"):l||a}),o},rf=function(e,r){var n=e,o;if(Zt(Ti,n)&&(o=Ti[n],n="%"+o[0]+"%"),Zt(Me,n)){var a=Me[n];if(a===rt&&(a=Xc(n)),typeof a>"u"&&!r)throw new et("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new $e("intrinsic "+e+" does not exist!")},cn=function(e,r){if(typeof e!="string"||e.length===0)throw new et("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new et('"allowMissing" argument must be a boolean');if(Zc(/^%?[^%]*%?$/,e)===null)throw new $e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=tf(e),o=n.length>0?n[0]:"",a=rf("%"+o+"%",r),l=a.name,c=a.value,d=!1,f=a.alias;f&&(o=f[0],Yc(n,Jc([0,1],f)));for(var s=1,x=!0;s<n.length;s+=1){var u=n[s],h=$t(u,0,1),g=$t(u,-1);if((h==='"'||h==="'"||h==="`"||g==='"'||g==="'"||g==="`")&&h!==g)throw new $e("property names with quotes must have matching quotes");if((u==="constructor"||!x)&&(d=!0),o+="."+u,l="%"+o+"%",Zt(Me,l))c=Me[l];else if(c!=null){if(!(u in c)){if(!r)throw new et("base intrinsic for "+e+" exists, but the property is not available.");return}if(gt&&s+1>=n.length){var A=gt(c,u);x=!!A,x&&"get"in A&&!("originalValue"in A.get)?c=A.get:c=c[u]}else x=Zt(c,u),c=c[u];x&&!d&&(Me[l]=c)}}return c},Pi=cn,Ii=Di,nf=Ii([Pi("%String.prototype.indexOf%")]),Vi=function(e,r){var n=Pi(e,!!r);return typeof n=="function"&&nf(e,".prototype.")>-1?Ii([n]):n},of=cn,Et=Vi,af=Qt,sf=Ye,Li=of("%Map%",!0),lf=Et("Map.prototype.get",!0),cf=Et("Map.prototype.set",!0),ff=Et("Map.prototype.has",!0),df=Et("Map.prototype.delete",!0),uf=Et("Map.prototype.size",!0),Hi=!!Li&&function(){var e,r={assert:function(n){if(!r.has(n))throw new sf("Side channel does not contain "+af(n))},delete:function(n){if(e){var o=df(e,n);return uf(e)===0&&(e=void 0),o}return!1},get:function(n){if(e)return lf(e,n)},has:function(n){return e?ff(e,n):!1},set:function(n,o){e||(e=new Li),cf(e,n,o)}};return r},xf=cn,er=Vi,hf=Qt,tr=Hi,pf=Ye,nt=xf("%WeakMap%",!0),mf=er("WeakMap.prototype.get",!0),gf=er("WeakMap.prototype.set",!0),yf=er("WeakMap.prototype.has",!0),_f=er("WeakMap.prototype.delete",!0),Ef=nt?function(){var e,r,n={assert:function(o){if(!n.has(o))throw new pf("Side channel does not contain "+hf(o))},delete:function(o){if(nt&&o&&(typeof o=="object"||typeof o=="function")){if(e)return _f(e,o)}else if(tr&&r)return r.delete(o);return!1},get:function(o){return nt&&o&&(typeof o=="object"||typeof o=="function")&&e?mf(e,o):r&&r.get(o)},has:function(o){return nt&&o&&(typeof o=="object"||typeof o=="function")&&e?yf(e,o):!!r&&r.has(o)},set:function(o,a){nt&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new nt),gf(e,o,a)):tr&&(r||(r=tr()),r.set(o,a))}};return n}:tr,Af=Ye,vf=Qt,Bf=Wl,Cf=Hi,bf=Ef,wf=bf||Cf||Bf,Mi=function(){var e,r={assert:function(n){if(!r.has(n)){var o=n&&Object(n)===n?"the given object key":vf(n);throw new Af("Side channel does not contain "+o)}},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,o){e||(e=wf()),e.set(n,o)}};return r},Df=String.prototype.replace,kf=/%20/g,fn={RFC1738:"RFC1738",RFC3986:"RFC3986"},dn={default:fn.RFC3986,formatters:{RFC1738:function(t){return Df.call(t,kf,"+")},RFC3986:function(t){return String(t)}},RFC1738:fn.RFC1738,RFC3986:fn.RFC3986},Ff=dn,zi=Mi,Ui=gi,un=Object.prototype.hasOwnProperty,ze=Array.isArray,rr=zi(),Ue=function(e,r){return rr.set(e,r),e},qe=function(e){return rr.has(e)},At=function(e){return rr.get(e)},xn=function(e,r){rr.set(e,r)},Ee=function(){for(var t=[],e=0;e<256;++e)t[t.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return t}(),Sf=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(ze(n)){for(var o=[],a=0;a<n.length;++a)typeof n[a]<"u"&&(o[o.length]=n[a]);r.obj[r.prop]=o}}},ot=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)typeof e[o]<"u"&&(n[o]=e[o]);return n},hn=function(e,r,n){r==="__proto__"&&Ui?Ui(e,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[r]=n},Rf=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(ze(e)){var o=e.length;if(n&&typeof n.arrayLimit=="number"&&o>=n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return Ue(ot(e.concat(r),n),o)}e[o]=r}else if(e&&typeof e=="object")if(qe(e)){var a=At(e)+1;e[a]=r,xn(e,a)}else{if(n&&n.strictMerge)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!un.call(Object.prototype,r))&&(e[r]=!0)}else return[e,r];return e}if(!e||typeof e!="object"){if(qe(r)){for(var l=Object.keys(r),c=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},d=0;d<l.length;d++){var f=parseInt(l[d],10);c[f+1]=r[l[d]]}return Ue(c,At(r)+1)}var s=[e].concat(r);if(n&&typeof n.arrayLimit=="number"&&s.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return Ue(ot(s,n),s.length-1)}return s}var x=e;if(ze(e)&&!ze(r)&&(x=ot(e,n)),ze(e)&&ze(r)){if(r.forEach(function(u,h){if(un.call(e,h)){var g=e[h];g&&typeof g=="object"&&u&&typeof u=="object"?e[h]=t(g,u,n):e[e.length]=u}else e[h]=u}),n&&typeof n.arrayLimit=="number"&&e.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return Ue(ot(e,n),e.length-1)}return e}return Object.keys(r).reduce(function(u,h){var g=r[h];if(un.call(u,h)?hn(u,h,t(u[h],g,n)):hn(u,h,g),qe(r)&&!qe(u)&&Ue(u,At(r)),qe(u)){var A=parseInt(h,10);String(A)===h&&A>=0&&A>At(u)&&xn(u,A)}return u},x)},Nf=function(e,r){return Object.keys(r).reduce(function(n,o){return hn(n,o,r[o]),n},e)},Tf=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},nr=1024,Of=function(e,r,n,o,a){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),n==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(g){return"%26%23"+parseInt(g.slice(2),16)+"%3B"});for(var c="",d=0;d<l.length;d+=nr){var f=l.length>=nr?l.slice(d,d+nr):l;if(d+nr<l.length){var s=f.charCodeAt(f.length-1);s>=55296&&s<=56319&&(f=f.slice(0,-1),d-=1)}for(var x=[],u=0;u<f.length;++u){var h=f.charCodeAt(u);if(h===45||h===46||h===95||h===126||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||a===Ff.RFC1738&&(h===40||h===41)){x[x.length]=f.charAt(u);continue}if(h<128){x[x.length]=Ee[h];continue}if(h<2048){x[x.length]=Ee[192|h>>6]+Ee[128|h&63];continue}if(h<55296||h>=57344){x[x.length]=Ee[224|h>>12]+Ee[128|h>>6&63]+Ee[128|h&63];continue}u+=1,h=65536+((h&1023)<<10|f.charCodeAt(u)&1023),x[x.length]=Ee[240|h>>18]+Ee[128|h>>12&63]+Ee[128|h>>6&63]+Ee[128|h&63]}c+=x.join("")}return c},Pf=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=zi(),o=0;o<r.length;++o)for(var a=r[o],l=a.obj[a.prop],c=Object.keys(l),d=0;d<c.length;++d){var f=c[d],s=l[f];typeof s=="object"&&s!==null&&!n.has(s)&&(r[r.length]={obj:l,prop:f},n.set(s,!0))}return Sf(r),e},If=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Vf=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Lf=function(e,r,n,o,a){if(qe(e)){if(a)throw new RangeError("Array limit exceeded. Only "+n+" element"+(n===1?"":"s")+" allowed in an array.");var l=At(e)+1;return e[l]=r,xn(e,l),e}var c=[].concat(e,r);if(c.length>n){if(a)throw new RangeError("Array limit exceeded. Only "+n+" element"+(n===1?"":"s")+" allowed in an array.");return Ue(ot(c,{plainObjects:o}),c.length-1)}return c},Hf=function(e,r){if(ze(e)){for(var n=[],o=0;o<e.length;o+=1)n[n.length]=r(e[o]);return n}return r(e)},qi={arrayToObject:ot,assign:Nf,combine:Lf,compact:Pf,decode:Tf,encode:Of,isBuffer:Vf,isOverflow:qe,isRegExp:If,markOverflow:Ue,maybeMap:Hf,merge:Rf},Wi=Mi,or=qi,vt=dn,Mf=Object.prototype.hasOwnProperty,Gi={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},Ae=Array.isArray,zf=Array.prototype.push,Qi=function(t,e){zf.apply(t,Ae(e)?e:[e])},Uf=Date.prototype.toISOString,ji=vt.default,ee={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:or.encode,encodeValuesOnly:!1,filter:void 0,format:ji,formatter:vt.formatters[ji],indices:!1,serializeDate:function(e){return Uf.call(e)},skipNulls:!1,strictNullHandling:!1},qf=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},pn={},Wf=function t(e,r,n,o,a,l,c,d,f,s,x,u,h,g,A,y,_,m){for(var p=e,E=m,b=0,C=!1;(E=E.get(pn))!==void 0&&!C;){var w=E.get(e);if(b+=1,typeof w<"u"){if(w===b)throw new RangeError("Cyclic object value");C=!0}typeof E.get(pn)>"u"&&(b=0)}if(typeof s=="function"?p=s(r,p):p instanceof Date?p=h(p):n==="comma"&&Ae(p)&&(p=or.maybeMap(p,function(U){return U instanceof Date?h(U):U})),p===null){if(l)return A(f&&!y?f(r,ee.encoder,_,"key",g):r);p=""}if(qf(p)||or.isBuffer(p)){if(f){var k=y?r:f(r,ee.encoder,_,"key",g);return[A(k)+"="+A(f(p,ee.encoder,_,"value",g))]}return[A(r)+"="+A(String(p))]}var P=[];if(typeof p>"u")return P;var B;if(n==="comma"&&Ae(p))y&&f&&(p=or.maybeMap(p,function(U){return U==null?U:f(U)})),B=[{value:p.length>0?p.join(",")||null:void 0}];else if(Ae(s))B=s;else{var D=Object.keys(p);B=x?D.sort(x):D}var R=d?String(r).replace(/\./g,"%2E"):String(r),S=o&&Ae(p)&&p.length===1?R+"[]":R;if(a&&Ae(p)&&p.length===0)return S+"[]";for(var I=0;I<B.length;++I){var V=B[I],M=typeof V=="object"&&V&&typeof V.value<"u"?V.value:p[V];if(!(c&&M===null)){var j=u&&d?String(V).replace(/\./g,"%2E"):String(V),K=Ae(p)?typeof n=="function"?n(S,j):S:S+(u?"."+j:"["+j+"]");m.set(e,b);var X=Wi();X.set(pn,m),Qi(P,t(M,K,n,o,a,l,c,d,n==="comma"&&y&&Ae(p)?null:f,s,x,u,h,g,A,y,_,X))}}return P},Gf=function(e){if(!e)return ee;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||ee.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=vt.default;if(typeof e.format<"u"){if(!Mf.call(vt.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=vt.formatters[n],a=ee.filter;(typeof e.filter=="function"||Ae(e.filter))&&(a=e.filter);var l;if(e.arrayFormat in Gi?l=e.arrayFormat:"indices"in e?l=e.indices?"indices":"repeat":l=ee.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:ee.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ee.addQueryPrefix,allowDots:c,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ee.allowEmptyArrays,arrayFormat:l,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ee.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ee.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ee.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ee.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ee.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ee.encodeValuesOnly,filter:a,format:n,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ee.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ee.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ee.strictNullHandling}},Qf=function(t,e){var r=t,n=Gf(e),o,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Ae(n.filter)&&(a=n.filter,o=a);var l=[];if(typeof r!="object"||r===null)return"";var c=Gi[n.arrayFormat],d=c==="comma"&&n.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var f=Wi(),s=0;s<o.length;++s){var x=o[s];if(!(typeof x>"u"||x===null)){var u=r[x];n.skipNulls&&u===null||Qi(l,Wf(u,x,c,d,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,f))}}var h=l.join(n.delimiter),g=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B"+n.delimiter:g+="utf8=%E2%9C%93"+n.delimiter),h.length>0?g+h:""},ve=qi,ir=Object.prototype.hasOwnProperty,mn=Array.isArray,Z={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ve.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},jf=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Ki=function(t,e,r,n){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1){if(n&&e.throwOnLimitExceeded)for(var o=0,a=t.indexOf(",");a>-1;){if(o+=1,o>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");a=t.indexOf(",",a+1)}return t.split(",")}if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},Kf="utf8=%26%2310003%3B",Xf="utf8=%E2%9C%93",Jf=function(e,r){var n={__proto__:null},o=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,l=o.split(r.delimiter,r.throwOnLimitExceeded&&typeof a<"u"?a+1:a);if(r.throwOnLimitExceeded&&typeof a<"u"&&l.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var c=-1,d,f=r.charset;if(r.charsetSentinel)for(d=0;d<l.length;++d)l[d].indexOf("utf8=")===0&&(l[d]===Xf?f="utf-8":l[d]===Kf&&(f="iso-8859-1"),c=d,d=l.length);for(d=0;d<l.length;++d)if(d!==c){var s=l[d],x=s.indexOf("]="),u=x===-1?s.indexOf("="):x+1,h,g;if(u===-1?(h=r.decoder(s,Z.decoder,f,"key"),g=r.strictNullHandling?null:""):(h=r.decoder(s.slice(0,u),Z.decoder,f,"key"),h!==null&&(g=ve.maybeMap(Ki(s.slice(u+1),r,mn(n[h])?n[h].length:0,s.indexOf("[]=")===-1),function(y){return r.decoder(y,Z.decoder,f,"value")}))),g&&r.interpretNumericEntities&&f==="iso-8859-1"&&(g=jf(String(g))),s.indexOf("[]=")>-1&&(g=mn(g)?[g]:g),r.comma&&mn(g)&&g.length>r.arrayLimit&&(g=ve.combine([],g,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded)),h!==null){var A=ir.call(n,h);A&&(r.duplicates==="combine"||s.indexOf("[]=")>-1)?n[h]=ve.combine(n[h],g,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded):(!A||r.duplicates==="last")&&(n[h]=g)}}return n},Yf=function(t,e,r,n){var o=0;if(t.length>0&&t[t.length-1]==="[]"){var a=t.slice(0,-1).join("");o=Array.isArray(e)&&e[a]?e[a].length:0}for(var l=n?e:Ki(e,r,o),c=t.length-1;c>=0;--c){var d,f=t[c];if(f==="[]"&&r.parseArrays)ve.isOverflow(l)?d=l:d=r.allowEmptyArrays&&(l===""||r.strictNullHandling&&l===null)?[]:ve.combine([],l,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded);else{d=r.plainObjects?{__proto__:null}:{};var s=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,x=r.decodeDotInKeys?s.replace(/%2E/g,"."):s,u=parseInt(x,10),h=!isNaN(u)&&f!==x&&String(u)===x&&u>=0&&r.parseArrays;if(!r.parseArrays&&x==="")d={0:l};else if(h&&u<r.arrayLimit)d=[],d[u]=l;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");h?(d[u]=l,ve.markOverflow(d,u)):x!=="__proto__"&&(d[x]=l)}}l=d}return l},Zf=function(e,r){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(r.depth<=0)return!r.plainObjects&&ir.call(Object.prototype,n)&&!r.allowPrototypes?void 0:[n];var o=[],a=n.indexOf("["),l=a>=0?n.slice(0,a):n;if(l){if(!r.plainObjects&&ir.call(Object.prototype,l)&&!r.allowPrototypes)return;o[o.length]=l}for(var c=n.length,d=a,f=0;d>=0&&f<r.depth;){for(var s=1,x=d+1,u=-1;x<c&&u<0;){var h=n.charCodeAt(x);h===91?s+=1:h===93&&(s-=1,s===0&&(u=x)),x+=1}if(u<0)return o[o.length]="["+n.slice(d)+"]",o;var g=n.slice(d,u+1),A=g.slice(1,-1);if(!r.plainObjects&&ir.call(Object.prototype,A)&&!r.allowPrototypes)return;o[o.length]=g,f+=1,d=n.indexOf("[",u+1)}if(d>=0){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");o[o.length]="["+n.slice(d)+"]"}return o},$f=function(e,r,n,o){if(e){var a=Zf(e,n);if(a)return Yf(a,r,n,o)}},ed=function(e){if(!e)return Z;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof e.charset>"u"?Z.charset:e.charset,n=typeof e.duplicates>"u"?Z.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:Z.allowDots:!!e.allowDots;return{allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Z.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Z.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Z.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Z.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Z.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Z.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Z.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Z.decoder,delimiter:typeof e.delimiter=="string"||ve.isRegExp(e.delimiter)?e.delimiter:Z.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Z.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Z.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Z.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Z.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:Z.strictDepth,strictMerge:typeof e.strictMerge=="boolean"?!!e.strictMerge:Z.strictMerge,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Z.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},td=function(t,e){var r=ed(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?Jf(t,r):t,o=r.plainObjects?{__proto__:null}:{},a=Object.keys(n),l=0;l<a.length;++l){var c=a[l],d=$f(c,n[c],r,typeof t=="string");o=ve.merge(o,d,r)}return r.allowSparse===!0?o:ve.compact(o)},rd=Qf,nd=td,od=dn,id={formats:od,parse:nd,stringify:rd};const ad=Ko(id);let Xi=ll();Nr.CancelToken;let De=({url:t,params:e,method:r,ourl:n})=>{let o=n+t;if(r==="get")return Xi.get(o,{params:e},{headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(r==="post")return Xi.post(o,ad.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})};var Ji={exports:{}};function sd(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var gn={exports:{}},Yi;function Q(){return Yi||(Yi=1,function(t,e){(function(r,n){t.exports=n()})(W,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof W<"u"&&W.crypto&&(a=W.crypto),!a&&typeof sd=="function")try{a=Xo}catch{}var l=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||function(){function m(){}return function(p){var E;return m.prototype=p,E=new m,m.prototype=null,E}}(),d={},f=d.lib={},s=f.Base=function(){return{extend:function(m){var p=c(this);return m&&p.mixIn(m),(!p.hasOwnProperty("init")||this.init===p.init)&&(p.init=function(){p.$super.init.apply(this,arguments)}),p.init.prototype=p,p.$super=this,p},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var p in m)m.hasOwnProperty(p)&&(this[p]=m[p]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=f.WordArray=s.extend({init:function(m,p){m=this.words=m||[],p!=o?this.sigBytes=p:this.sigBytes=m.length*4},toString:function(m){return(m||h).stringify(this)},concat:function(m){var p=this.words,E=m.words,b=this.sigBytes,C=m.sigBytes;if(this.clamp(),b%4)for(var w=0;w<C;w++){var k=E[w>>>2]>>>24-w%4*8&255;p[b+w>>>2]|=k<<24-(b+w)%4*8}else for(var P=0;P<C;P+=4)p[b+P>>>2]=E[P>>>2];return this.sigBytes+=C,this},clamp:function(){var m=this.words,p=this.sigBytes;m[p>>>2]&=4294967295<<32-p%4*8,m.length=n.ceil(p/4)},clone:function(){var m=s.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var p=[],E=0;E<m;E+=4)p.push(l());return new x.init(p,m)}}),u=d.enc={},h=u.Hex={stringify:function(m){for(var p=m.words,E=m.sigBytes,b=[],C=0;C<E;C++){var w=p[C>>>2]>>>24-C%4*8&255;b.push((w>>>4).toString(16)),b.push((w&15).toString(16))}return b.join("")},parse:function(m){for(var p=m.length,E=[],b=0;b<p;b+=2)E[b>>>3]|=parseInt(m.substr(b,2),16)<<24-b%8*4;return new x.init(E,p/2)}},g=u.Latin1={stringify:function(m){for(var p=m.words,E=m.sigBytes,b=[],C=0;C<E;C++){var w=p[C>>>2]>>>24-C%4*8&255;b.push(String.fromCharCode(w))}return b.join("")},parse:function(m){for(var p=m.length,E=[],b=0;b<p;b++)E[b>>>2]|=(m.charCodeAt(b)&255)<<24-b%4*8;return new x.init(E,p)}},A=u.Utf8={stringify:function(m){try{return decodeURIComponent(escape(g.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return g.parse(unescape(encodeURIComponent(m)))}},y=f.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=A.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var p,E=this._data,b=E.words,C=E.sigBytes,w=this.blockSize,k=w*4,P=C/k;m?P=n.ceil(P):P=n.max((P|0)-this._minBufferSize,0);var B=P*w,D=n.min(B*4,C);if(B){for(var R=0;R<B;R+=w)this._doProcessBlock(b,R);p=b.splice(0,B),E.sigBytes-=D}return new x.init(p,D)},clone:function(){var m=s.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});f.Hasher=y.extend({cfg:s.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var p=this._doFinalize();return p},blockSize:16,_createHelper:function(m){return function(p,E){return new m.init(E).finalize(p)}},_createHmacHelper:function(m){return function(p,E){return new _.HMAC.init(m,E).finalize(p)}}});var _=d.algo={};return d}(Math);return r})}(gn)),gn.exports}var yn={exports:{}},Zi;function ar(){return Zi||(Zi=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(n){var o=r,a=o.lib,l=a.Base,c=a.WordArray,d=o.x64={};d.Word=l.extend({init:function(f,s){this.high=f,this.low=s}}),d.WordArray=l.extend({init:function(f,s){f=this.words=f||[],s!=n?this.sigBytes=s:this.sigBytes=f.length*8},toX32:function(){for(var f=this.words,s=f.length,x=[],u=0;u<s;u++){var h=f[u];x.push(h.high),x.push(h.low)}return c.create(x,this.sigBytes)},clone:function(){for(var f=l.clone.call(this),s=f.words=this.words.slice(0),x=s.length,u=0;u<x;u++)s[u]=s[u].clone();return f}})}(),r})}(yn)),yn.exports}var _n={exports:{}},$i;function ld(){return $i||($i=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,o=n.lib,a=o.WordArray,l=a.init,c=a.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var f=d.byteLength,s=[],x=0;x<f;x++)s[x>>>2]|=d[x]<<24-x%4*8;l.call(this,s,f)}else l.apply(this,arguments)};c.prototype=a}}(),r.lib.WordArray})}(_n)),_n.exports}var En={exports:{}},e0;function cd(){return e0||(e0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=n.enc;l.Utf16=l.Utf16BE={stringify:function(d){for(var f=d.words,s=d.sigBytes,x=[],u=0;u<s;u+=2){var h=f[u>>>2]>>>16-u%4*8&65535;x.push(String.fromCharCode(h))}return x.join("")},parse:function(d){for(var f=d.length,s=[],x=0;x<f;x++)s[x>>>1]|=d.charCodeAt(x)<<16-x%2*16;return a.create(s,f*2)}},l.Utf16LE={stringify:function(d){for(var f=d.words,s=d.sigBytes,x=[],u=0;u<s;u+=2){var h=c(f[u>>>2]>>>16-u%4*8&65535);x.push(String.fromCharCode(h))}return x.join("")},parse:function(d){for(var f=d.length,s=[],x=0;x<f;x++)s[x>>>1]|=c(d.charCodeAt(x)<<16-x%2*16);return a.create(s,f*2)}};function c(d){return d<<8&4278255360|d>>>8&16711935}}(),r.enc.Utf16})}(En)),En.exports}var An={exports:{}},t0;function We(){return t0||(t0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=n.enc;l.Base64={stringify:function(d){var f=d.words,s=d.sigBytes,x=this._map;d.clamp();for(var u=[],h=0;h<s;h+=3)for(var g=f[h>>>2]>>>24-h%4*8&255,A=f[h+1>>>2]>>>24-(h+1)%4*8&255,y=f[h+2>>>2]>>>24-(h+2)%4*8&255,_=g<<16|A<<8|y,m=0;m<4&&h+m*.75<s;m++)u.push(x.charAt(_>>>6*(3-m)&63));var p=x.charAt(64);if(p)for(;u.length%4;)u.push(p);return u.join("")},parse:function(d){var f=d.length,s=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var u=0;u<s.length;u++)x[s.charCodeAt(u)]=u}var h=s.charAt(64);if(h){var g=d.indexOf(h);g!==-1&&(f=g)}return c(d,f,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(d,f,s){for(var x=[],u=0,h=0;h<f;h++)if(h%4){var g=s[d.charCodeAt(h-1)]<<h%4*2,A=s[d.charCodeAt(h)]>>>6-h%4*2,y=g|A;x[u>>>2]|=y<<24-u%4*8,u++}return a.create(x,u)}}(),r.enc.Base64})}(An)),An.exports}var vn={exports:{}},r0;function fd(){return r0||(r0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=n.enc;l.Base64url={stringify:function(d,f){f===void 0&&(f=!0);var s=d.words,x=d.sigBytes,u=f?this._safe_map:this._map;d.clamp();for(var h=[],g=0;g<x;g+=3)for(var A=s[g>>>2]>>>24-g%4*8&255,y=s[g+1>>>2]>>>24-(g+1)%4*8&255,_=s[g+2>>>2]>>>24-(g+2)%4*8&255,m=A<<16|y<<8|_,p=0;p<4&&g+p*.75<x;p++)h.push(u.charAt(m>>>6*(3-p)&63));var E=u.charAt(64);if(E)for(;h.length%4;)h.push(E);return h.join("")},parse:function(d,f){f===void 0&&(f=!0);var s=d.length,x=f?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var h=0;h<x.length;h++)u[x.charCodeAt(h)]=h}var g=x.charAt(64);if(g){var A=d.indexOf(g);A!==-1&&(s=A)}return c(d,s,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(d,f,s){for(var x=[],u=0,h=0;h<f;h++)if(h%4){var g=s[d.charCodeAt(h-1)]<<h%4*2,A=s[d.charCodeAt(h)]>>>6-h%4*2,y=g|A;x[u>>>2]|=y<<24-u%4*8,u++}return a.create(x,u)}}(),r.enc.Base64url})}(vn)),vn.exports}var Bn={exports:{}},n0;function Ge(){return n0||(n0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(n){var o=r,a=o.lib,l=a.WordArray,c=a.Hasher,d=o.algo,f=[];(function(){for(var A=0;A<64;A++)f[A]=n.abs(n.sin(A+1))*4294967296|0})();var s=d.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(A,y){for(var _=0;_<16;_++){var m=y+_,p=A[m];A[m]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360}var E=this._hash.words,b=A[y+0],C=A[y+1],w=A[y+2],k=A[y+3],P=A[y+4],B=A[y+5],D=A[y+6],R=A[y+7],S=A[y+8],I=A[y+9],V=A[y+10],M=A[y+11],j=A[y+12],K=A[y+13],X=A[y+14],U=A[y+15],F=E[0],T=E[1],O=E[2],N=E[3];F=x(F,T,O,N,b,7,f[0]),N=x(N,F,T,O,C,12,f[1]),O=x(O,N,F,T,w,17,f[2]),T=x(T,O,N,F,k,22,f[3]),F=x(F,T,O,N,P,7,f[4]),N=x(N,F,T,O,B,12,f[5]),O=x(O,N,F,T,D,17,f[6]),T=x(T,O,N,F,R,22,f[7]),F=x(F,T,O,N,S,7,f[8]),N=x(N,F,T,O,I,12,f[9]),O=x(O,N,F,T,V,17,f[10]),T=x(T,O,N,F,M,22,f[11]),F=x(F,T,O,N,j,7,f[12]),N=x(N,F,T,O,K,12,f[13]),O=x(O,N,F,T,X,17,f[14]),T=x(T,O,N,F,U,22,f[15]),F=u(F,T,O,N,C,5,f[16]),N=u(N,F,T,O,D,9,f[17]),O=u(O,N,F,T,M,14,f[18]),T=u(T,O,N,F,b,20,f[19]),F=u(F,T,O,N,B,5,f[20]),N=u(N,F,T,O,V,9,f[21]),O=u(O,N,F,T,U,14,f[22]),T=u(T,O,N,F,P,20,f[23]),F=u(F,T,O,N,I,5,f[24]),N=u(N,F,T,O,X,9,f[25]),O=u(O,N,F,T,k,14,f[26]),T=u(T,O,N,F,S,20,f[27]),F=u(F,T,O,N,K,5,f[28]),N=u(N,F,T,O,w,9,f[29]),O=u(O,N,F,T,R,14,f[30]),T=u(T,O,N,F,j,20,f[31]),F=h(F,T,O,N,B,4,f[32]),N=h(N,F,T,O,S,11,f[33]),O=h(O,N,F,T,M,16,f[34]),T=h(T,O,N,F,X,23,f[35]),F=h(F,T,O,N,C,4,f[36]),N=h(N,F,T,O,P,11,f[37]),O=h(O,N,F,T,R,16,f[38]),T=h(T,O,N,F,V,23,f[39]),F=h(F,T,O,N,K,4,f[40]),N=h(N,F,T,O,b,11,f[41]),O=h(O,N,F,T,k,16,f[42]),T=h(T,O,N,F,D,23,f[43]),F=h(F,T,O,N,I,4,f[44]),N=h(N,F,T,O,j,11,f[45]),O=h(O,N,F,T,U,16,f[46]),T=h(T,O,N,F,w,23,f[47]),F=g(F,T,O,N,b,6,f[48]),N=g(N,F,T,O,R,10,f[49]),O=g(O,N,F,T,X,15,f[50]),T=g(T,O,N,F,B,21,f[51]),F=g(F,T,O,N,j,6,f[52]),N=g(N,F,T,O,k,10,f[53]),O=g(O,N,F,T,V,15,f[54]),T=g(T,O,N,F,C,21,f[55]),F=g(F,T,O,N,S,6,f[56]),N=g(N,F,T,O,U,10,f[57]),O=g(O,N,F,T,D,15,f[58]),T=g(T,O,N,F,K,21,f[59]),F=g(F,T,O,N,P,6,f[60]),N=g(N,F,T,O,M,10,f[61]),O=g(O,N,F,T,w,15,f[62]),T=g(T,O,N,F,I,21,f[63]),E[0]=E[0]+F|0,E[1]=E[1]+T|0,E[2]=E[2]+O|0,E[3]=E[3]+N|0},_doFinalize:function(){var A=this._data,y=A.words,_=this._nDataBytes*8,m=A.sigBytes*8;y[m>>>5]|=128<<24-m%32;var p=n.floor(_/4294967296),E=_;y[(m+64>>>9<<4)+15]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,y[(m+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,A.sigBytes=(y.length+1)*4,this._process();for(var b=this._hash,C=b.words,w=0;w<4;w++){var k=C[w];C[w]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return b},clone:function(){var A=c.clone.call(this);return A._hash=this._hash.clone(),A}});function x(A,y,_,m,p,E,b){var C=A+(y&_|~y&m)+p+b;return(C<<E|C>>>32-E)+y}function u(A,y,_,m,p,E,b){var C=A+(y&m|_&~m)+p+b;return(C<<E|C>>>32-E)+y}function h(A,y,_,m,p,E,b){var C=A+(y^_^m)+p+b;return(C<<E|C>>>32-E)+y}function g(A,y,_,m,p,E,b){var C=A+(_^(y|~m))+p+b;return(C<<E|C>>>32-E)+y}o.MD5=c._createHelper(s),o.HmacMD5=c._createHmacHelper(s)}(Math),r.MD5})}(Bn)),Bn.exports}var Cn={exports:{}},o0;function i0(){return o0||(o0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=o.Hasher,c=n.algo,d=[],f=c.SHA1=l.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,x){for(var u=this._hash.words,h=u[0],g=u[1],A=u[2],y=u[3],_=u[4],m=0;m<80;m++){if(m<16)d[m]=s[x+m]|0;else{var p=d[m-3]^d[m-8]^d[m-14]^d[m-16];d[m]=p<<1|p>>>31}var E=(h<<5|h>>>27)+_+d[m];m<20?E+=(g&A|~g&y)+1518500249:m<40?E+=(g^A^y)+1859775393:m<60?E+=(g&A|g&y|A&y)-1894007588:E+=(g^A^y)-899497514,_=y,y=A,A=g<<30|g>>>2,g=h,h=E}u[0]=u[0]+h|0,u[1]=u[1]+g|0,u[2]=u[2]+A|0,u[3]=u[3]+y|0,u[4]=u[4]+_|0},_doFinalize:function(){var s=this._data,x=s.words,u=this._nDataBytes*8,h=s.sigBytes*8;return x[h>>>5]|=128<<24-h%32,x[(h+64>>>9<<4)+14]=Math.floor(u/4294967296),x[(h+64>>>9<<4)+15]=u,s.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var s=l.clone.call(this);return s._hash=this._hash.clone(),s}});n.SHA1=l._createHelper(f),n.HmacSHA1=l._createHmacHelper(f)}(),r.SHA1})}(Cn)),Cn.exports}var bn={exports:{}},a0;function wn(){return a0||(a0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){return function(n){var o=r,a=o.lib,l=a.WordArray,c=a.Hasher,d=o.algo,f=[],s=[];(function(){function h(_){for(var m=n.sqrt(_),p=2;p<=m;p++)if(!(_%p))return!1;return!0}function g(_){return(_-(_|0))*4294967296|0}for(var A=2,y=0;y<64;)h(A)&&(y<8&&(f[y]=g(n.pow(A,1/2))),s[y]=g(n.pow(A,1/3)),y++),A++})();var x=[],u=d.SHA256=c.extend({_doReset:function(){this._hash=new l.init(f.slice(0))},_doProcessBlock:function(h,g){for(var A=this._hash.words,y=A[0],_=A[1],m=A[2],p=A[3],E=A[4],b=A[5],C=A[6],w=A[7],k=0;k<64;k++){if(k<16)x[k]=h[g+k]|0;else{var P=x[k-15],B=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,D=x[k-2],R=(D<<15|D>>>17)^(D<<13|D>>>19)^D>>>10;x[k]=B+x[k-7]+R+x[k-16]}var S=E&b^~E&C,I=y&_^y&m^_&m,V=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),M=(E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25),j=w+M+S+s[k]+x[k],K=V+I;w=C,C=b,b=E,E=p+j|0,p=m,m=_,_=y,y=j+K|0}A[0]=A[0]+y|0,A[1]=A[1]+_|0,A[2]=A[2]+m|0,A[3]=A[3]+p|0,A[4]=A[4]+E|0,A[5]=A[5]+b|0,A[6]=A[6]+C|0,A[7]=A[7]+w|0},_doFinalize:function(){var h=this._data,g=h.words,A=this._nDataBytes*8,y=h.sigBytes*8;return g[y>>>5]|=128<<24-y%32,g[(y+64>>>9<<4)+14]=n.floor(A/4294967296),g[(y+64>>>9<<4)+15]=A,h.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var h=c.clone.call(this);return h._hash=this._hash.clone(),h}});o.SHA256=c._createHelper(u),o.HmacSHA256=c._createHmacHelper(u)}(Math),r.SHA256})}(bn)),bn.exports}var Dn={exports:{}},s0;function dd(){return s0||(s0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),wn())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=n.algo,c=l.SHA256,d=l.SHA224=c.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var f=c._doFinalize.call(this);return f.sigBytes-=4,f}});n.SHA224=c._createHelper(d),n.HmacSHA224=c._createHmacHelper(d)}(),r.SHA224})}(Dn)),Dn.exports}var kn={exports:{}},l0;function c0(){return l0||(l0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),ar())})(W,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,l=n.x64,c=l.Word,d=l.WordArray,f=n.algo;function s(){return c.create.apply(c,arguments)}var x=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],u=[];(function(){for(var g=0;g<80;g++)u[g]=s()})();var h=f.SHA512=a.extend({_doReset:function(){this._hash=new d.init([new c.init(1779033703,4089235720),new c.init(3144134277,2227873595),new c.init(1013904242,4271175723),new c.init(2773480762,1595750129),new c.init(1359893119,2917565137),new c.init(2600822924,725511199),new c.init(528734635,4215389547),new c.init(1541459225,327033209)])},_doProcessBlock:function(g,A){for(var y=this._hash.words,_=y[0],m=y[1],p=y[2],E=y[3],b=y[4],C=y[5],w=y[6],k=y[7],P=_.high,B=_.low,D=m.high,R=m.low,S=p.high,I=p.low,V=E.high,M=E.low,j=b.high,K=b.low,X=C.high,U=C.low,F=w.high,T=w.low,O=k.high,N=k.low,J=P,H=B,Y=D,q=R,Fe=S,Se=I,it=V,ce=M,de=j,se=K,ue=X,z=U,ne=F,xe=T,ye=O,Re=N,pe=0;pe<80;pe++){var oe,Ne,dr=u[pe];if(pe<16)Ne=dr.high=g[A+pe*2]|0,oe=dr.low=g[A+pe*2+1]|0;else{var L0=u[pe-15],at=L0.high,Dt=L0.low,wp=(at>>>1|Dt<<31)^(at>>>8|Dt<<24)^at>>>7,H0=(Dt>>>1|at<<31)^(Dt>>>8|at<<24)^(Dt>>>7|at<<25),M0=u[pe-2],st=M0.high,kt=M0.low,Dp=(st>>>19|kt<<13)^(st<<3|kt>>>29)^st>>>6,z0=(kt>>>19|st<<13)^(kt<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,w.high=F+ne+(T>>>0<xe>>>0?1:0),N=k.low=N+Re,k.high=O+ye+(N>>>0<Re>>>0?1:0)},_doFinalize:function(){var g=this._data,A=g.words,y=this._nDataBytes*8,_=g.sigBytes*8;A[_>>>5]|=128<<24-_%32,A[(_+128>>>10<<5)+30]=Math.floor(y/4294967296),A[(_+128>>>10<<5)+31]=y,g.sigBytes=A.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});n.SHA512=a._createHelper(h),n.HmacSHA512=a._createHmacHelper(h)}(),r.SHA512})}(kn)),kn.exports}var Fn={exports:{}},f0;function ud(){return f0||(f0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),ar(),c0())})(W,function(r){return function(){var n=r,o=n.x64,a=o.Word,l=o.WordArray,c=n.algo,d=c.SHA512,f=c.SHA384=d.extend({_doReset:function(){this._hash=new l.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var s=d._doFinalize.call(this);return s.sigBytes-=16,s}});n.SHA384=d._createHelper(f),n.HmacSHA384=d._createHmacHelper(f)}(),r.SHA384})}(Fn)),Fn.exports}var Sn={exports:{}},d0;function xd(){return d0||(d0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),ar())})(W,function(r){return function(n){var o=r,a=o.lib,l=a.WordArray,c=a.Hasher,d=o.x64,f=d.Word,s=o.algo,x=[],u=[],h=[];(function(){for(var y=1,_=0,m=0;m<24;m++){x[y+5*_]=(m+1)*(m+2)/2%64;var p=_%5,E=(2*y+3*_)%5;y=p,_=E}for(var y=0;y<5;y++)for(var _=0;_<5;_++)u[y+5*_]=_+(2*y+3*_)%5*5;for(var b=1,C=0;C<24;C++){for(var w=0,k=0,P=0;P<7;P++){if(b&1){var B=(1<<P)-1;B<32?k^=1<<B:w^=1<<B-32}b&128?b=b<<1^113:b<<=1}h[C]=f.create(w,k)}})();var g=[];(function(){for(var y=0;y<25;y++)g[y]=f.create()})();var A=s.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],_=0;_<25;_++)y[_]=new f.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,_){for(var m=this._state,p=this.blockSize/2,E=0;E<p;E++){var b=y[_+2*E],C=y[_+2*E+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360;var w=m[E];w.high^=C,w.low^=b}for(var k=0;k<24;k++){for(var P=0;P<5;P++){for(var B=0,D=0,R=0;R<5;R++){var w=m[P+5*R];B^=w.high,D^=w.low}var S=g[P];S.high=B,S.low=D}for(var P=0;P<5;P++)for(var I=g[(P+4)%5],V=g[(P+1)%5],M=V.high,j=V.low,B=I.high^(M<<1|j>>>31),D=I.low^(j<<1|M>>>31),R=0;R<5;R++){var w=m[P+5*R];w.high^=B,w.low^=D}for(var K=1;K<25;K++){var B,D,w=m[K],X=w.high,U=w.low,F=x[K];F<32?(B=X<<F|U>>>32-F,D=U<<F|X>>>32-F):(B=U<<F-32|X>>>64-F,D=X<<F-32|U>>>64-F);var T=g[u[K]];T.high=B,T.low=D}var O=g[0],N=m[0];O.high=N.high,O.low=N.low;for(var P=0;P<5;P++)for(var R=0;R<5;R++){var K=P+5*R,w=m[K],J=g[K],H=g[(P+1)%5+5*R],Y=g[(P+2)%5+5*R];w.high=J.high^~H.high&Y.high,w.low=J.low^~H.low&Y.low}var w=m[0],q=h[k];w.high^=q.high,w.low^=q.low}},_doFinalize:function(){var y=this._data,_=y.words;this._nDataBytes*8;var m=y.sigBytes*8,p=this.blockSize*32;_[m>>>5]|=1<<24-m%32,_[(n.ceil((m+1)/p)*p>>>5)-1]|=128,y.sigBytes=_.length*4,this._process();for(var E=this._state,b=this.cfg.outputLength/8,C=b/8,w=[],k=0;k<C;k++){var P=E[k],B=P.high,D=P.low;B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,w.push(D),w.push(B)}return new l.init(w,b)},clone:function(){for(var y=c.clone.call(this),_=y._state=this._state.slice(0),m=0;m<25;m++)_[m]=_[m].clone();return y}});o.SHA3=c._createHelper(A),o.HmacSHA3=c._createHmacHelper(A)}(Math),r.SHA3})}(Sn)),Sn.exports}var Rn={exports:{}},u0;function hd(){return u0||(u0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){/** @preserve
|
|
1
|
+
(function(be,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(be=typeof globalThis<"u"?globalThis:be||self,n(be["tyy-game-assis"]={},be.Vue))})(this,function(be,n){"use strict";function br(t,e){return function(){return t.apply(e,arguments)}}const{toString:ri}=Object.prototype,{getPrototypeOf:Gt}=Object,mt=(t=>e=>{const r=ri.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),de=t=>(t=t.toLowerCase(),e=>mt(e)===t),pt=t=>e=>typeof e===t,{isArray:Re}=Array,Xe=pt("undefined");function oi(t){return t!==null&&!Xe(t)&&t.constructor!==null&&!Xe(t.constructor)&&ae(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const kr=de("ArrayBuffer");function ii(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&kr(t.buffer),e}const ai=pt("string"),ae=pt("function"),Dr=pt("number"),gt=t=>t!==null&&typeof t=="object",si=t=>t===!0||t===!1,_t=t=>{if(mt(t)!=="object")return!1;const e=Gt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},ci=de("Date"),li=de("File"),di=de("Blob"),fi=de("FileList"),xi=t=>gt(t)&&ae(t.pipe),ui=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ae(t.append)&&((e=mt(t))==="formdata"||e==="object"&&ae(t.toString)&&t.toString()==="[object FormData]"))},hi=de("URLSearchParams"),mi=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ye(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let o,i;if(typeof t!="object"&&(t=[t]),Re(t))for(o=0,i=t.length;o<i;o++)e.call(null,t[o],o,t);else{const a=r?Object.getOwnPropertyNames(t):Object.keys(t),c=a.length;let d;for(o=0;o<c;o++)d=a[o],e.call(null,t[d],d,t)}}function wr(t,e){e=e.toLowerCase();const r=Object.keys(t);let o=r.length,i;for(;o-- >0;)if(i=r[o],e===i.toLowerCase())return i;return null}const Fr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Sr=t=>!Xe(t)&&t!==Fr;function Wt(){const{caseless:t}=Sr(this)&&this||{},e={},r=(o,i)=>{const a=t&&wr(e,i)||i;_t(e[a])&&_t(o)?e[a]=Wt(e[a],o):_t(o)?e[a]=Wt({},o):Re(o)?e[a]=o.slice():e[a]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Ye(arguments[o],r);return e}const pi=(t,e,r,{allOwnKeys:o}={})=>(Ye(e,(i,a)=>{r&&ae(i)?t[a]=br(i,r):t[a]=i},{allOwnKeys:o}),t),gi=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),_i=(t,e,r,o)=>{t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},yi=(t,e,r,o)=>{let i,a,c;const d={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),a=i.length;a-- >0;)c=i[a],(!o||o(c,t,e))&&!d[c]&&(e[c]=t[c],d[c]=!0);t=r!==!1&&Gt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Ei=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const o=t.indexOf(e,r);return o!==-1&&o===r},Ai=t=>{if(!t)return null;if(Re(t))return t;let e=t.length;if(!Dr(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Bi=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Gt(Uint8Array)),vi=(t,e)=>{const o=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=o.next())&&!i.done;){const a=i.value;e.call(t,a[0],a[1])}},Ci=(t,e)=>{let r;const o=[];for(;(r=t.exec(e))!==null;)o.push(r);return o},bi=de("HTMLFormElement"),ki=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,i){return o.toUpperCase()+i}),Nr=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Di=de("RegExp"),Tr=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),o={};Ye(r,(i,a)=>{let c;(c=e(i,a,t))!==!1&&(o[a]=c||i)}),Object.defineProperties(t,o)},wi=t=>{Tr(t,(e,r)=>{if(ae(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=t[r];if(ae(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Fi=(t,e)=>{const r={},o=i=>{i.forEach(a=>{r[a]=!0})};return Re(t)?o(t):o(String(t).split(e)),r},Si=()=>{},Ni=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Qt="abcdefghijklmnopqrstuvwxyz",Rr="0123456789",Vr={DIGIT:Rr,ALPHA:Qt,ALPHA_DIGIT:Qt+Qt.toUpperCase()+Rr},Ti=(t=16,e=Vr.ALPHA_DIGIT)=>{let r="";const{length:o}=e;for(;t--;)r+=e[Math.random()*o|0];return r};function Ri(t){return!!(t&&ae(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Vi=t=>{const e=new Array(10),r=(o,i)=>{if(gt(o)){if(e.indexOf(o)>=0)return;if(!("toJSON"in o)){e[i]=o;const a=Re(o)?[]:{};return Ye(o,(c,d)=>{const x=r(c,i+1);!Xe(x)&&(a[d]=x)}),e[i]=void 0,a}}return o};return r(t,0)},Ii=de("AsyncFunction"),w={isArray:Re,isArrayBuffer:kr,isBuffer:oi,isFormData:ui,isArrayBufferView:ii,isString:ai,isNumber:Dr,isBoolean:si,isObject:gt,isPlainObject:_t,isUndefined:Xe,isDate:ci,isFile:li,isBlob:di,isRegExp:Di,isFunction:ae,isStream:xi,isURLSearchParams:hi,isTypedArray:Bi,isFileList:fi,forEach:Ye,merge:Wt,extend:pi,trim:mi,stripBOM:gi,inherits:_i,toFlatObject:yi,kindOf:mt,kindOfTest:de,endsWith:Ei,toArray:Ai,forEachEntry:vi,matchAll:Ci,isHTMLForm:bi,hasOwnProperty:Nr,hasOwnProp:Nr,reduceDescriptors:Tr,freezeMethods:wi,toObjectSet:Fi,toCamelCase:ki,noop:Si,toFiniteNumber:Ni,findKey:wr,global:Fr,isContextDefined:Sr,ALPHABET:Vr,generateString:Ti,isSpecCompliantForm:Ri,toJSONObject:Vi,isAsyncFn:Ii,isThenable:t=>t&&(gt(t)||ae(t))&&ae(t.then)&&ae(t.catch)};function G(t,e,r,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),o&&(this.request=o),i&&(this.response=i)}w.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ir=G.prototype,Or={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Or[t]={value:t}}),Object.defineProperties(G,Or),Object.defineProperty(Ir,"isAxiosError",{value:!0}),G.from=(t,e,r,o,i,a)=>{const c=Object.create(Ir);return w.toFlatObject(t,c,function(x){return x!==Error.prototype},d=>d!=="isAxiosError"),G.call(c,t.message,e,r,o,i),c.cause=t,c.name=t.name,a&&Object.assign(c,a),c};const Oi=null;function Jt(t){return w.isPlainObject(t)||w.isArray(t)}function Pr(t){return w.endsWith(t,"[]")?t.slice(0,-2):t}function Hr(t,e,r){return t?t.concat(e).map(function(i,a){return i=Pr(i),!r&&a?"["+i+"]":i}).join(r?".":""):e}function Pi(t){return w.isArray(t)&&!t.some(Jt)}const Hi=w.toFlatObject(w,{},null,function(e){return/^is[A-Z]/.test(e)});function yt(t,e,r){if(!w.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=w.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,y){return!w.isUndefined(y[p])});const o=r.metaTokens,i=r.visitor||f,a=r.dots,c=r.indexes,x=(r.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(e);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function l(u){if(u===null)return"";if(w.isDate(u))return u.toISOString();if(!x&&w.isBlob(u))throw new G("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(u)||w.isTypedArray(u)?x&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function f(u,p,y){let A=u;if(u&&!y&&typeof u=="object"){if(w.endsWith(p,"{}"))p=o?p:p.slice(0,-2),u=JSON.stringify(u);else if(w.isArray(u)&&Pi(u)||(w.isFileList(u)||w.endsWith(p,"[]"))&&(A=w.toArray(u)))return p=Pr(p),A.forEach(function(_,E){!(w.isUndefined(_)||_===null)&&e.append(c===!0?Hr([p],E,a):c===null?p:p+"[]",l(_))}),!1}return Jt(u)?!0:(e.append(Hr(y,p,a),l(u)),!1)}const m=[],s=Object.assign(Hi,{defaultVisitor:f,convertValue:l,isVisitable:Jt});function h(u,p){if(!w.isUndefined(u)){if(m.indexOf(u)!==-1)throw Error("Circular reference detected in "+p.join("."));m.push(u),w.forEach(u,function(A,g){(!(w.isUndefined(A)||A===null)&&i.call(e,A,w.isString(g)?g.trim():g,p,s))===!0&&h(A,p?p.concat(g):[g])}),m.pop()}}if(!w.isObject(t))throw new TypeError("data must be an object");return h(t),e}function zr(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return e[o]})}function Xt(t,e){this._pairs=[],t&&yt(t,this,e)}const Lr=Xt.prototype;Lr.append=function(e,r){this._pairs.push([e,r])},Lr.toString=function(e){const r=e?function(o){return e.call(this,o,zr)}:zr;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function zi(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mr(t,e,r){if(!e)return t;const o=r&&r.encode||zi,i=r&&r.serialize;let a;if(i?a=i(e,r):a=w.isURLSearchParams(e)?e.toString():new Xt(e,r).toString(o),a){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}class Li{constructor(){this.handlers=[]}use(e,r,o){return this.handlers.push({fulfilled:e,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){w.forEach(this.handlers,function(o){o!==null&&e(o)})}}const Ur=Li,qr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Gr=typeof window<"u"&&typeof document<"u",Ui=(t=>Gr&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),qi=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),fe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Gr,hasStandardBrowserEnv:Ui,hasStandardBrowserWebWorkerEnv:qi},Symbol.toStringTag,{value:"Module"})),...Mi};function Gi(t,e){return yt(t,new fe.classes.URLSearchParams,Object.assign({visitor:function(r,o,i,a){return fe.isNode&&w.isBuffer(r)?(this.append(o,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},e))}function Wi(t){return w.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Qi(t){const e={},r=Object.keys(t);let o;const i=r.length;let a;for(o=0;o<i;o++)a=r[o],e[a]=t[a];return e}function Wr(t){function e(r,o,i,a){let c=r[a++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),x=a>=r.length;return c=!c&&w.isArray(i)?i.length:c,x?(w.hasOwnProp(i,c)?i[c]=[i[c],o]:i[c]=o,!d):((!i[c]||!w.isObject(i[c]))&&(i[c]=[]),e(r,o,i[c],a)&&w.isArray(i[c])&&(i[c]=Qi(i[c])),!d)}if(w.isFormData(t)&&w.isFunction(t.entries)){const r={};return w.forEachEntry(t,(o,i)=>{e(Wi(o),i,r,0)}),r}return null}function Ji(t,e,r){if(w.isString(t))try{return(e||JSON.parse)(t),w.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(t)}const Yt={transitional:qr,adapter:["xhr","http"],transformRequest:[function(e,r){const o=r.getContentType()||"",i=o.indexOf("application/json")>-1,a=w.isObject(e);if(a&&w.isHTMLForm(e)&&(e=new FormData(e)),w.isFormData(e))return i&&i?JSON.stringify(Wr(e)):e;if(w.isArrayBuffer(e)||w.isBuffer(e)||w.isStream(e)||w.isFile(e)||w.isBlob(e))return e;if(w.isArrayBufferView(e))return e.buffer;if(w.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Gi(e,this.formSerializer).toString();if((d=w.isFileList(e))||o.indexOf("multipart/form-data")>-1){const x=this.env&&this.env.FormData;return yt(d?{"files[]":e}:e,x&&new x,this.formSerializer)}}return a||i?(r.setContentType("application/json",!1),Ji(e)):e}],transformResponse:[function(e){const r=this.transitional||Yt.transitional,o=r&&r.forcedJSONParsing,i=this.responseType==="json";if(e&&w.isString(e)&&(o&&!this.responseType||i)){const c=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(d){if(c)throw d.name==="SyntaxError"?G.from(d,G.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],t=>{Yt.headers[t]={}});const Kt=Yt,Xi=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Yi=t=>{const e={};let r,o,i;return t&&t.split(`
|
|
2
|
+
`).forEach(function(c){i=c.indexOf(":"),r=c.substring(0,i).trim().toLowerCase(),o=c.substring(i+1).trim(),!(!r||e[r]&&Xi[r])&&(r==="set-cookie"?e[r]?e[r].push(o):e[r]=[o]:e[r]=e[r]?e[r]+", "+o:o)}),e},Qr=Symbol("internals");function Ke(t){return t&&String(t).trim().toLowerCase()}function Et(t){return t===!1||t==null?t:w.isArray(t)?t.map(Et):String(t)}function Ki(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(t);)e[o[1]]=o[2];return e}const ji=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function jt(t,e,r,o,i){if(w.isFunction(o))return o.call(this,e,r);if(i&&(e=r),!!w.isString(e)){if(w.isString(o))return e.indexOf(o)!==-1;if(w.isRegExp(o))return o.test(e)}}function Zi(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,o)=>r.toUpperCase()+o)}function $i(t,e){const r=w.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+r,{value:function(i,a,c){return this[o].call(this,e,i,a,c)},configurable:!0})})}class At{constructor(e){e&&this.set(e)}set(e,r,o){const i=this;function a(d,x,l){const f=Ke(x);if(!f)throw new Error("header name must be a non-empty string");const m=w.findKey(i,f);(!m||i[m]===void 0||l===!0||l===void 0&&i[m]!==!1)&&(i[m||x]=Et(d))}const c=(d,x)=>w.forEach(d,(l,f)=>a(l,f,x));return w.isPlainObject(e)||e instanceof this.constructor?c(e,r):w.isString(e)&&(e=e.trim())&&!ji(e)?c(Yi(e),r):e!=null&&a(r,e,o),this}get(e,r){if(e=Ke(e),e){const o=w.findKey(this,e);if(o){const i=this[o];if(!r)return i;if(r===!0)return Ki(i);if(w.isFunction(r))return r.call(this,i,o);if(w.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Ke(e),e){const o=w.findKey(this,e);return!!(o&&this[o]!==void 0&&(!r||jt(this,this[o],o,r)))}return!1}delete(e,r){const o=this;let i=!1;function a(c){if(c=Ke(c),c){const d=w.findKey(o,c);d&&(!r||jt(o,o[d],d,r))&&(delete o[d],i=!0)}}return w.isArray(e)?e.forEach(a):a(e),i}clear(e){const r=Object.keys(this);let o=r.length,i=!1;for(;o--;){const a=r[o];(!e||jt(this,this[a],a,e,!0))&&(delete this[a],i=!0)}return i}normalize(e){const r=this,o={};return w.forEach(this,(i,a)=>{const c=w.findKey(o,a);if(c){r[c]=Et(i),delete r[a];return}const d=e?Zi(a):String(a).trim();d!==a&&delete r[a],r[d]=Et(i),o[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return w.forEach(this,(o,i)=>{o!=null&&o!==!1&&(r[i]=e&&w.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
|
|
3
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const o=new this(e);return r.forEach(i=>o.set(i)),o}static accessor(e){const o=(this[Qr]=this[Qr]={accessors:{}}).accessors,i=this.prototype;function a(c){const d=Ke(c);o[d]||($i(i,c),o[d]=!0)}return w.isArray(e)?e.forEach(a):a(e),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors(At.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(o){this[r]=o}}}),w.freezeMethods(At);const he=At;function Zt(t,e){const r=this||Kt,o=e||r,i=he.from(o.headers);let a=o.data;return w.forEach(t,function(d){a=d.call(r,a,i.normalize(),e?e.status:void 0)}),i.normalize(),a}function Jr(t){return!!(t&&t.__CANCEL__)}function je(t,e,r){G.call(this,t??"canceled",G.ERR_CANCELED,e,r),this.name="CanceledError"}w.inherits(je,G,{__CANCEL__:!0});function ea(t,e,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):e(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const ta=fe.hasStandardBrowserEnv?{write(t,e,r,o,i,a){const c=[t+"="+encodeURIComponent(e)];w.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),w.isString(o)&&c.push("path="+o),w.isString(i)&&c.push("domain="+i),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function na(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ra(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Xr(t,e){return t&&!na(e)?ra(t,e):e}const oa=fe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let o;function i(a){let c=a;return e&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=i(window.location.href),function(c){const d=w.isString(c)?i(c):c;return d.protocol===o.protocol&&d.host===o.host}}():function(){return function(){return!0}}();function ia(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function aa(t,e){t=t||10;const r=new Array(t),o=new Array(t);let i=0,a=0,c;return e=e!==void 0?e:1e3,function(x){const l=Date.now(),f=o[a];c||(c=l),r[i]=x,o[i]=l;let m=a,s=0;for(;m!==i;)s+=r[m++],m=m%t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),l-c<e)return;const h=f&&l-f;return h?Math.round(s*1e3/h):void 0}}function Yr(t,e){let r=0;const o=aa(50,250);return i=>{const a=i.loaded,c=i.lengthComputable?i.total:void 0,d=a-r,x=o(d),l=a<=c;r=a;const f={loaded:a,total:c,progress:c?a/c:void 0,bytes:d,rate:x||void 0,estimated:x&&c&&l?(c-a)/x:void 0,event:i};f[e?"download":"upload"]=!0,t(f)}}const $t={http:Oi,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,o){let i=t.data;const a=he.from(t.headers).normalize();let{responseType:c,withXSRFToken:d}=t,x;function l(){t.cancelToken&&t.cancelToken.unsubscribe(x),t.signal&&t.signal.removeEventListener("abort",x)}let f;if(w.isFormData(i)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((f=a.getContentType())!==!1){const[p,...y]=f?f.split(";").map(A=>A.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...y].join("; "))}}let m=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+y))}const s=Xr(t.baseURL,t.url);m.open(t.method.toUpperCase(),Mr(s,t.params,t.paramsSerializer),!0),m.timeout=t.timeout;function h(){if(!m)return;const p=he.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),A={data:!c||c==="text"||c==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:p,config:t,request:m};ea(function(_){r(_),l()},function(_){o(_),l()},A),m=null}if("onloadend"in m?m.onloadend=h:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(h)},m.onabort=function(){m&&(o(new G("Request aborted",G.ECONNABORTED,t,m)),m=null)},m.onerror=function(){o(new G("Network Error",G.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const A=t.transitional||qr;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),o(new G(y,A.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,t,m)),m=null},fe.hasStandardBrowserEnv&&(d&&w.isFunction(d)&&(d=d(t)),d||d!==!1&&oa(s))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&ta.read(t.xsrfCookieName);p&&a.set(t.xsrfHeaderName,p)}i===void 0&&a.setContentType(null),"setRequestHeader"in m&&w.forEach(a.toJSON(),function(y,A){m.setRequestHeader(A,y)}),w.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),c&&c!=="json"&&(m.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&m.addEventListener("progress",Yr(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",Yr(t.onUploadProgress)),(t.cancelToken||t.signal)&&(x=p=>{m&&(o(!p||p.type?new je(null,t,m):p),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(x),t.signal&&(t.signal.aborted?x():t.signal.addEventListener("abort",x)));const u=ia(s);if(u&&fe.protocols.indexOf(u)===-1){o(new G("Unsupported protocol "+u+":",G.ERR_BAD_REQUEST,t));return}m.send(i||null)})}};w.forEach($t,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Kr=t=>`- ${t}`,sa=t=>w.isFunction(t)||t===null||t===!1,jr={getAdapter:t=>{t=w.isArray(t)?t:[t];const{length:e}=t;let r,o;const i={};for(let a=0;a<e;a++){r=t[a];let c;if(o=r,!sa(r)&&(o=$t[(c=String(r)).toLowerCase()],o===void 0))throw new G(`Unknown adapter '${c}'`);if(o)break;i[c||"#"+a]=o}if(!o){const a=Object.entries(i).map(([d,x])=>`adapter ${d} `+(x===!1?"is not supported by the environment":"is not available in the build"));let c=e?a.length>1?`since :
|
|
4
|
+
`+a.map(Kr).join(`
|
|
5
|
+
`):" "+Kr(a[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o},adapters:$t};function en(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new je(null,t)}function Zr(t){return en(t),t.headers=he.from(t.headers),t.data=Zt.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),jr.getAdapter(t.adapter||Kt.adapter)(t).then(function(o){return en(t),o.data=Zt.call(t,t.transformResponse,o),o.headers=he.from(o.headers),o},function(o){return Jr(o)||(en(t),o&&o.response&&(o.response.data=Zt.call(t,t.transformResponse,o.response),o.response.headers=he.from(o.response.headers))),Promise.reject(o)})}const $r=t=>t instanceof he?t.toJSON():t;function Ve(t,e){e=e||{};const r={};function o(l,f,m){return w.isPlainObject(l)&&w.isPlainObject(f)?w.merge.call({caseless:m},l,f):w.isPlainObject(f)?w.merge({},f):w.isArray(f)?f.slice():f}function i(l,f,m){if(w.isUndefined(f)){if(!w.isUndefined(l))return o(void 0,l,m)}else return o(l,f,m)}function a(l,f){if(!w.isUndefined(f))return o(void 0,f)}function c(l,f){if(w.isUndefined(f)){if(!w.isUndefined(l))return o(void 0,l)}else return o(void 0,f)}function d(l,f,m){if(m in e)return o(l,f);if(m in t)return o(void 0,l)}const x={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(l,f)=>i($r(l),$r(f),!0)};return w.forEach(Object.keys(Object.assign({},t,e)),function(f){const m=x[f]||i,s=m(t[f],e[f],f);w.isUndefined(s)&&m!==d||(r[f]=s)}),r}const eo="1.6.5",tn={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{tn[t]=function(o){return typeof o===t||"a"+(e<1?"n ":" ")+t}});const to={};tn.transitional=function(e,r,o){function i(a,c){return"[Axios v"+eo+"] Transitional option '"+a+"'"+c+(o?". "+o:"")}return(a,c,d)=>{if(e===!1)throw new G(i(c," has been removed"+(r?" in "+r:"")),G.ERR_DEPRECATED);return r&&!to[c]&&(to[c]=!0,console.warn(i(c," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,c,d):!0}};function ca(t,e,r){if(typeof t!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let i=o.length;for(;i-- >0;){const a=o[i],c=e[a];if(c){const d=t[a],x=d===void 0||c(d,a,t);if(x!==!0)throw new G("option "+a+" must be "+x,G.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new G("Unknown option "+a,G.ERR_BAD_OPTION)}}const nn={assertOptions:ca,validators:tn},pe=nn.validators;class Bt{constructor(e){this.defaults=e,this.interceptors={request:new Ur,response:new Ur}}request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Ve(this.defaults,r);const{transitional:o,paramsSerializer:i,headers:a}=r;o!==void 0&&nn.assertOptions(o,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),i!=null&&(w.isFunction(i)?r.paramsSerializer={serialize:i}:nn.assertOptions(i,{encode:pe.function,serialize:pe.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=a&&w.merge(a.common,a[r.method]);a&&w.forEach(["delete","get","head","post","put","patch","common"],u=>{delete a[u]}),r.headers=he.concat(c,a);const d=[];let x=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(x=x&&p.synchronous,d.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let f,m=0,s;if(!x){const u=[Zr.bind(this),void 0];for(u.unshift.apply(u,d),u.push.apply(u,l),s=u.length,f=Promise.resolve(r);m<s;)f=f.then(u[m++],u[m++]);return f}s=d.length;let h=r;for(m=0;m<s;){const u=d[m++],p=d[m++];try{h=u(h)}catch(y){p.call(this,y);break}}try{f=Zr.call(this,h)}catch(u){return Promise.reject(u)}for(m=0,s=l.length;m<s;)f=f.then(l[m++],l[m++]);return f}getUri(e){e=Ve(this.defaults,e);const r=Xr(e.baseURL,e.url);return Mr(r,e.params,e.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(e){Bt.prototype[e]=function(r,o){return this.request(Ve(o||{},{method:e,url:r,data:(o||{}).data}))}}),w.forEach(["post","put","patch"],function(e){function r(o){return function(a,c,d){return this.request(Ve(d||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:a,data:c}))}}Bt.prototype[e]=r(),Bt.prototype[e+"Form"]=r(!0)});const vt=Bt;class rn{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const o=this;this.promise.then(i=>{if(!o._listeners)return;let a=o._listeners.length;for(;a-- >0;)o._listeners[a](i);o._listeners=null}),this.promise.then=i=>{let a;const c=new Promise(d=>{o.subscribe(d),a=d}).then(i);return c.cancel=function(){o.unsubscribe(a)},c},e(function(a,c,d){o.reason||(o.reason=new je(a,c,d),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new rn(function(i){e=i}),cancel:e}}}const la=rn;function da(t){return function(r){return t.apply(null,r)}}function fa(t){return w.isObject(t)&&t.isAxiosError===!0}const on={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(on).forEach(([t,e])=>{on[e]=t});const xa=on;function no(t){const e=new vt(t),r=br(vt.prototype.request,e);return w.extend(r,vt.prototype,e,{allOwnKeys:!0}),w.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return no(Ve(t,i))},r}const j=no(Kt);j.Axios=vt,j.CanceledError=je,j.CancelToken=la,j.isCancel=Jr,j.VERSION=eo,j.toFormData=yt,j.AxiosError=G,j.Cancel=j.CanceledError,j.all=function(e){return Promise.all(e)},j.spread=da,j.isAxiosError=fa,j.mergeConfig=Ve,j.AxiosHeaders=he,j.formToJSON=t=>Wr(w.isHTMLForm(t)?new FormData(t):t),j.getAdapter=jr.getAdapter,j.HttpStatusCode=xa,j.default=j;const an=j;var Ie=window.navigator.userAgent,ro="ActiveXObject"in window,ua=Ie.match(/Chrome/i),ha=!!(Ie.match(/(iPhone|iPad|iPod)/i)||Ie.match(/Android/i)||Ie.match(/Windows Phone/i)||Ie.match(/IEMobile/i)),oo=null,sn,cn,ln,dn;sn=cn=ln=dn=!1;var ma=navigator.appName;if(ma=="Microsoft Internet Explorer"||ro){var io=Ie.match(/MSIE (\d+[.\d]*)/);if(io){var ao=io[1];oo=ao;var Ct=parseInt(ao,10);sn=Ct===8,cn=Ct==9,ln=Ct==10,dn=Ct==11}}const pa={isChrome:ua,isIE:ro,isMobile:ha,IEVersion:oo,isIE8:sn,isIE9:cn,isIE10:ln,isIE11:dn};/*! js-cookie v3.0.5 | MIT */function bt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)t[o]=r[o]}return t}var ga={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function fn(t,e){function r(i,a,c){if(!(typeof document>"u")){c=bt({},e,c),typeof c.expires=="number"&&(c.expires=new Date(Date.now()+c.expires*864e5)),c.expires&&(c.expires=c.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var x in c)c[x]&&(d+="; "+x,c[x]!==!0&&(d+="="+c[x].split(";")[0]));return document.cookie=i+"="+t.write(a,i)+d}}function o(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],c={},d=0;d<a.length;d++){var x=a[d].split("="),l=x.slice(1).join("=");try{var f=decodeURIComponent(x[0]);if(c[f]=t.read(l,f),i===f)break}catch{}}return i?c[i]:c}}return Object.create({set:r,get:o,remove:function(i,a){r(i,"",bt({},a,{expires:-1}))},withAttributes:function(i){return fn(this.converter,bt({},this.attributes,i))},withConverter:function(i){return fn(bt({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ge=fn(ga,{path:"/"});let xn=an.create({baseURL:"https://api.play.cn/",timeout:3e4,retry:3,retryDelay:1e3});xn.interceptors.request.use(t=>{if(t.headers.vc=50300,t.headers.channel_code=ge.get("ass_channel_code"),t.headers.user_id=ge.get("ass_user_id"),t.headers.access_token=ge.get("ass_access_token"),t.url=="/api/v1/user/info.json"&&(t.baseURL="https://open.play.cn"),!(t.method==="post"||t.method==="put")){if(t.method==="get"&&pa.isIE){let e=t.url.indexOf("?")>=0?"&":"?";t.url+=e+"_="+Date.now()}}return t},t=>Promise.reject(t)),xn.interceptors.response.use(t=>{let{data:e}=t;return e},t=>Promise.reject(t));function _a(){return xn}var L=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function so(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ya(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return t[o]}})}),r}var Ea=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,r);if(c.value!==i||c.enumerable!==!0)return!1}return!0},co=typeof Symbol<"u"&&Symbol,Aa=Ea,Ba=function(){return typeof co!="function"||typeof Symbol!="function"||typeof co("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Aa()},lo={foo:{}},va=Object,Ca=function(){return{__proto__:lo}.foo===lo.foo&&!({__proto__:null}instanceof va)},ba="Function.prototype.bind called on incompatible ",ka=Object.prototype.toString,Da=Math.max,wa="[object Function]",fo=function(e,r){for(var o=[],i=0;i<e.length;i+=1)o[i]=e[i];for(var a=0;a<r.length;a+=1)o[a+e.length]=r[a];return o},Fa=function(e,r){for(var o=[],i=r||0,a=0;i<e.length;i+=1,a+=1)o[a]=e[i];return o},Sa=function(t,e){for(var r="",o=0;o<t.length;o+=1)r+=t[o],o+1<t.length&&(r+=e);return r},Na=function(e){var r=this;if(typeof r!="function"||ka.apply(r)!==wa)throw new TypeError(ba+r);for(var o=Fa(arguments,1),i,a=function(){if(this instanceof i){var f=r.apply(this,fo(o,arguments));return Object(f)===f?f:this}return r.apply(e,fo(o,arguments))},c=Da(0,r.length-o.length),d=[],x=0;x<c;x++)d[x]="$"+x;if(i=Function("binder","return function ("+Sa(d,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var l=function(){};l.prototype=r.prototype,i.prototype=new l,l.prototype=null}return i},Ta=Na,un=Function.prototype.bind||Ta,Ra=Function.prototype.call,Va=Object.prototype.hasOwnProperty,Ia=un,Oa=Ia.call(Ra,Va),U,Oe=SyntaxError,xo=Function,Pe=TypeError,hn=function(t){try{return xo('"use strict"; return ('+t+").constructor;")()}catch{}},ke=Object.getOwnPropertyDescriptor;if(ke)try{ke({},"")}catch{ke=null}var mn=function(){throw new Pe},Pa=ke?function(){try{return arguments.callee,mn}catch{try{return ke(arguments,"callee").get}catch{return mn}}}():mn,He=Ba(),Ha=Ca(),Z=Object.getPrototypeOf||(Ha?function(t){return t.__proto__}:null),ze={},za=typeof Uint8Array>"u"||!Z?U:Z(Uint8Array),De={"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":He&&Z?Z([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":ze,"%AsyncGenerator%":ze,"%AsyncGeneratorFunction%":ze,"%AsyncIteratorPrototype%":ze,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":xo,"%GeneratorFunction%":ze,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":He&&Z?Z(Z([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!He||!Z?U:Z(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!He||!Z?U:Z(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":He&&Z?Z(""[Symbol.iterator]()):U,"%Symbol%":He?Symbol:U,"%SyntaxError%":Oe,"%ThrowTypeError%":Pa,"%TypedArray%":za,"%TypeError%":Pe,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet};if(Z)try{null.error}catch(t){var La=Z(Z(t));De["%Error.prototype%"]=La}var Ma=function t(e){var r;if(e==="%AsyncFunction%")r=hn("async function () {}");else if(e==="%GeneratorFunction%")r=hn("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=hn("async function* () {}");else if(e==="%AsyncGenerator%"){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Z&&(r=Z(i.prototype))}return De[e]=r,r},uo={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ze=un,kt=Oa,Ua=Ze.call(Function.call,Array.prototype.concat),qa=Ze.call(Function.apply,Array.prototype.splice),ho=Ze.call(Function.call,String.prototype.replace),Dt=Ze.call(Function.call,String.prototype.slice),Ga=Ze.call(Function.call,RegExp.prototype.exec),Wa=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Qa=/\\(\\)?/g,Ja=function(e){var r=Dt(e,0,1),o=Dt(e,-1);if(r==="%"&&o!=="%")throw new Oe("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new Oe("invalid intrinsic syntax, expected opening `%`");var i=[];return ho(e,Wa,function(a,c,d,x){i[i.length]=d?ho(x,Qa,"$1"):c||a}),i},Xa=function(e,r){var o=e,i;if(kt(uo,o)&&(i=uo[o],o="%"+i[0]+"%"),kt(De,o)){var a=De[o];if(a===ze&&(a=Ma(o)),typeof a>"u"&&!r)throw new Pe("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new Oe("intrinsic "+e+" does not exist!")},we=function(e,r){if(typeof e!="string"||e.length===0)throw new Pe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Pe('"allowMissing" argument must be a boolean');if(Ga(/^%?[^%]*%?$/,e)===null)throw new Oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Ja(e),i=o.length>0?o[0]:"",a=Xa("%"+i+"%",r),c=a.name,d=a.value,x=!1,l=a.alias;l&&(i=l[0],qa(o,Ua([0,1],l)));for(var f=1,m=!0;f<o.length;f+=1){var s=o[f],h=Dt(s,0,1),u=Dt(s,-1);if((h==='"'||h==="'"||h==="`"||u==='"'||u==="'"||u==="`")&&h!==u)throw new Oe("property names with quotes must have matching quotes");if((s==="constructor"||!m)&&(x=!0),i+="."+s,c="%"+i+"%",kt(De,c))d=De[c];else if(d!=null){if(!(s in d)){if(!r)throw new Pe("base intrinsic for "+e+" exists, but the property is not available.");return}if(ke&&f+1>=o.length){var p=ke(d,s);m=!!p,m&&"get"in p&&!("originalValue"in p.get)?d=p.get:d=d[s]}else m=kt(d,s),d=d[s];m&&!x&&(De[c]=d)}}return d},mo={exports:{}},Ya=we,pn=Ya("%Object.defineProperty%",!0),gn=function(){if(pn)try{return pn({},"a",{value:1}),!0}catch{return!1}return!1};gn.hasArrayLengthDefineBug=function(){if(!gn())return null;try{return pn([],"length",{value:1}).length!==1}catch{return!0}};var po=gn,Ka=we,wt=Ka("%Object.getOwnPropertyDescriptor%",!0);if(wt)try{wt([],"length")}catch{wt=null}var go=wt,ja=po(),_n=we,$e=ja&&_n("%Object.defineProperty%",!0);if($e)try{$e({},"a",{value:1})}catch{$e=!1}var Za=_n("%SyntaxError%"),Le=_n("%TypeError%"),_o=go,$a=function(e,r,o){if(!e||typeof e!="object"&&typeof e!="function")throw new Le("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Le("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Le("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Le("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Le("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Le("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,x=!!_o&&_o(e,r);if($e)$e(e,r,{configurable:c===null&&x?x.configurable:!c,enumerable:i===null&&x?x.enumerable:!i,value:o,writable:a===null&&x?x.writable:!a});else if(d||!i&&!a&&!c)e[r]=o;else throw new Za("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},yo=we,Eo=$a,es=po(),Ao=go,Bo=yo("%TypeError%"),ts=yo("%Math.floor%"),ns=function(e,r){if(typeof e!="function")throw new Bo("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||ts(r)!==r)throw new Bo("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in e&&Ao){var c=Ao(e,"length");c&&!c.configurable&&(i=!1),c&&!c.writable&&(a=!1)}return(i||a||!o)&&(es?Eo(e,"length",r,!0,!0):Eo(e,"length",r)),e};(function(t){var e=un,r=we,o=ns,i=r("%TypeError%"),a=r("%Function.prototype.apply%"),c=r("%Function.prototype.call%"),d=r("%Reflect.apply%",!0)||e.call(c,a),x=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(x)try{x({},"a",{value:1})}catch{x=null}t.exports=function(s){if(typeof s!="function")throw new i("a function is required");var h=d(e,c,arguments);return o(h,1+l(0,s.length-(arguments.length-1)),!0)};var f=function(){return d(e,a,arguments)};x?x(t.exports,"apply",{value:f}):t.exports.apply=f})(mo);var rs=mo.exports,vo=we,Co=rs,os=Co(vo("String.prototype.indexOf")),is=function(e,r){var o=vo(e,!!r);return typeof o=="function"&&os(e,".prototype.")>-1?Co(o):o};const bo=ya(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var yn=typeof Map=="function"&&Map.prototype,En=Object.getOwnPropertyDescriptor&&yn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ft=yn&&En&&typeof En.get=="function"?En.get:null,ko=yn&&Map.prototype.forEach,An=typeof Set=="function"&&Set.prototype,Bn=Object.getOwnPropertyDescriptor&&An?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,St=An&&Bn&&typeof Bn.get=="function"?Bn.get:null,Do=An&&Set.prototype.forEach,as=typeof WeakMap=="function"&&WeakMap.prototype,et=as?WeakMap.prototype.has:null,ss=typeof WeakSet=="function"&&WeakSet.prototype,tt=ss?WeakSet.prototype.has:null,cs=typeof WeakRef=="function"&&WeakRef.prototype,wo=cs?WeakRef.prototype.deref:null,ls=Boolean.prototype.valueOf,ds=Object.prototype.toString,fs=Function.prototype.toString,xs=String.prototype.match,vn=String.prototype.slice,_e=String.prototype.replace,us=String.prototype.toUpperCase,Fo=String.prototype.toLowerCase,So=RegExp.prototype.test,No=Array.prototype.concat,xe=Array.prototype.join,hs=Array.prototype.slice,To=Math.floor,Cn=typeof BigInt=="function"?BigInt.prototype.valueOf:null,bn=Object.getOwnPropertySymbols,kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Me=typeof Symbol=="function"&&typeof Symbol.iterator=="object",te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Me||"symbol")?Symbol.toStringTag:null,Ro=Object.prototype.propertyIsEnumerable,Vo=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Io(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||So.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var o=t<0?-To(-t):To(t);if(o!==t){var i=String(o),a=vn.call(e,i.length+1);return _e.call(i,r,"$&_")+"."+_e.call(_e.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _e.call(e,r,"$&_")}var Dn=bo,Oo=Dn.custom,Po=Lo(Oo)?Oo:null,ms=function t(e,r,o,i){var a=r||{};if(ye(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ye(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=ye(a,"customInspect")?a.customInspect:!0;if(typeof c!="boolean"&&c!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ye(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ye(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Uo(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var x=String(e);return d?Io(e,x):x}if(typeof e=="bigint"){var l=String(e)+"n";return d?Io(e,l):l}var f=typeof a.depth>"u"?5:a.depth;if(typeof o>"u"&&(o=0),o>=f&&f>0&&typeof e=="object")return wn(e)?"[Array]":"[Object]";var m=Rs(a,o);if(typeof i>"u")i=[];else if(Mo(i,e)>=0)return"[Circular]";function s(S,O,P){if(O&&(i=hs.call(i),i.push(O)),P){var H={depth:a.depth};return ye(a,"quoteStyle")&&(H.quoteStyle=a.quoteStyle),t(S,H,o+1,i)}return t(S,a,o+1,i)}if(typeof e=="function"&&!zo(e)){var h=Cs(e),u=Nt(e,s);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(u.length>0?" { "+xe.call(u,", ")+" }":"")}if(Lo(e)){var p=Me?_e.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):kn.call(e);return typeof e=="object"&&!Me?nt(p):p}if(Ss(e)){for(var y="<"+Fo.call(String(e.nodeName)),A=e.attributes||[],g=0;g<A.length;g++)y+=" "+A[g].name+"="+Ho(ps(A[g].value),"double",a);return y+=">",e.childNodes&&e.childNodes.length&&(y+="..."),y+="</"+Fo.call(String(e.nodeName))+">",y}if(wn(e)){if(e.length===0)return"[]";var _=Nt(e,s);return m&&!Ts(_)?"["+Sn(_,m)+"]":"[ "+xe.call(_,", ")+" ]"}if(_s(e)){var E=Nt(e,s);return!("cause"in Error.prototype)&&"cause"in e&&!Ro.call(e,"cause")?"{ ["+String(e)+"] "+xe.call(No.call("[cause]: "+s(e.cause),E),", ")+" }":E.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+xe.call(E,", ")+" }"}if(typeof e=="object"&&c){if(Po&&typeof e[Po]=="function"&&Dn)return Dn(e,{depth:f-o});if(c!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(bs(e)){var C=[];return ko&&ko.call(e,function(S,O){C.push(s(O,e,!0)+" => "+s(S,e))}),qo("Map",Ft.call(e),C,m)}if(ws(e)){var v=[];return Do&&Do.call(e,function(S){v.push(s(S,e))}),qo("Set",St.call(e),v,m)}if(ks(e))return Fn("WeakMap");if(Fs(e))return Fn("WeakSet");if(Ds(e))return Fn("WeakRef");if(Es(e))return nt(s(Number(e)));if(Bs(e))return nt(s(Cn.call(e)));if(As(e))return nt(ls.call(e));if(ys(e))return nt(s(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===L)return"{ [object globalThis] }";if(!gs(e)&&!zo(e)){var b=Nt(e,s),D=Vo?Vo(e)===Object.prototype:e instanceof Object||e.constructor===Object,I=e instanceof Object?"":"null prototype",B=!D&&te&&Object(e)===e&&te in e?vn.call(Ee(e),8,-1):I?"Object":"",k=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",F=k+(B||I?"["+xe.call(No.call([],B||[],I||[]),": ")+"] ":"");return b.length===0?F+"{}":m?F+"{"+Sn(b,m)+"}":F+"{ "+xe.call(b,", ")+" }"}return String(e)};function Ho(t,e,r){var o=(r.quoteStyle||e)==="double"?'"':"'";return o+t+o}function ps(t){return _e.call(String(t),/"/g,""")}function wn(t){return Ee(t)==="[object Array]"&&(!te||!(typeof t=="object"&&te in t))}function gs(t){return Ee(t)==="[object Date]"&&(!te||!(typeof t=="object"&&te in t))}function zo(t){return Ee(t)==="[object RegExp]"&&(!te||!(typeof t=="object"&&te in t))}function _s(t){return Ee(t)==="[object Error]"&&(!te||!(typeof t=="object"&&te in t))}function ys(t){return Ee(t)==="[object String]"&&(!te||!(typeof t=="object"&&te in t))}function Es(t){return Ee(t)==="[object Number]"&&(!te||!(typeof t=="object"&&te in t))}function As(t){return Ee(t)==="[object Boolean]"&&(!te||!(typeof t=="object"&&te in t))}function Lo(t){if(Me)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!kn)return!1;try{return kn.call(t),!0}catch{}return!1}function Bs(t){if(!t||typeof t!="object"||!Cn)return!1;try{return Cn.call(t),!0}catch{}return!1}var vs=Object.prototype.hasOwnProperty||function(t){return t in this};function ye(t,e){return vs.call(t,e)}function Ee(t){return ds.call(t)}function Cs(t){if(t.name)return t.name;var e=xs.call(fs.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Mo(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function bs(t){if(!Ft||!t||typeof t!="object")return!1;try{Ft.call(t);try{St.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function ks(t){if(!et||!t||typeof t!="object")return!1;try{et.call(t,et);try{tt.call(t,tt)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Ds(t){if(!wo||!t||typeof t!="object")return!1;try{return wo.call(t),!0}catch{}return!1}function ws(t){if(!St||!t||typeof t!="object")return!1;try{St.call(t);try{Ft.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Fs(t){if(!tt||!t||typeof t!="object")return!1;try{tt.call(t,tt);try{et.call(t,et)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ss(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Uo(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return Uo(vn.call(t,0,e.maxStringLength),e)+o}var i=_e.call(_e.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ns);return Ho(i,"single",e)}function Ns(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+us.call(e.toString(16))}function nt(t){return"Object("+t+")"}function Fn(t){return t+" { ? }"}function qo(t,e,r,o){var i=o?Sn(r,o):xe.call(r,", ");return t+" ("+e+") {"+i+"}"}function Ts(t){for(var e=0;e<t.length;e++)if(Mo(t[e],`
|
|
6
|
+
`)>=0)return!1;return!0}function Rs(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=xe.call(Array(t.indent+1)," ");else return null;return{base:r,prev:xe.call(Array(e+1),r)}}function Sn(t,e){if(t.length===0)return"";var r=`
|
|
7
|
+
`+e.prev+e.base;return r+xe.call(t,","+r)+`
|
|
8
|
+
`+e.prev}function Nt(t,e){var r=wn(t),o=[];if(r){o.length=t.length;for(var i=0;i<t.length;i++)o[i]=ye(t,i)?e(t[i],t):""}var a=typeof bn=="function"?bn(t):[],c;if(Me){c={};for(var d=0;d<a.length;d++)c["$"+a[d]]=a[d]}for(var x in t)ye(t,x)&&(r&&String(Number(x))===x&&x<t.length||Me&&c["$"+x]instanceof Symbol||(So.call(/[^\w$]/,x)?o.push(e(x,t)+": "+e(t[x],t)):o.push(x+": "+e(t[x],t))));if(typeof bn=="function")for(var l=0;l<a.length;l++)Ro.call(t,a[l])&&o.push("["+e(a[l])+"]: "+e(t[a[l]],t));return o}var Nn=we,Ue=is,Vs=ms,Is=Nn("%TypeError%"),Tt=Nn("%WeakMap%",!0),Rt=Nn("%Map%",!0),Os=Ue("WeakMap.prototype.get",!0),Ps=Ue("WeakMap.prototype.set",!0),Hs=Ue("WeakMap.prototype.has",!0),zs=Ue("Map.prototype.get",!0),Ls=Ue("Map.prototype.set",!0),Ms=Ue("Map.prototype.has",!0),Tn=function(t,e){for(var r=t,o;(o=r.next)!==null;r=o)if(o.key===e)return r.next=o.next,o.next=t.next,t.next=o,o},Us=function(t,e){var r=Tn(t,e);return r&&r.value},qs=function(t,e,r){var o=Tn(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}},Gs=function(t,e){return!!Tn(t,e)},Ws=function(){var e,r,o,i={assert:function(a){if(!i.has(a))throw new Is("Side channel does not contain "+Vs(a))},get:function(a){if(Tt&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Os(e,a)}else if(Rt){if(r)return zs(r,a)}else if(o)return Us(o,a)},has:function(a){if(Tt&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Hs(e,a)}else if(Rt){if(r)return Ms(r,a)}else if(o)return Gs(o,a);return!1},set:function(a,c){Tt&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Tt),Ps(e,a,c)):Rt?(r||(r=new Rt),Ls(r,a,c)):(o||(o={key:{},next:null}),qs(o,a,c))}};return i},Qs=String.prototype.replace,Js=/%20/g,Rn={RFC1738:"RFC1738",RFC3986:"RFC3986"},Vn={default:Rn.RFC3986,formatters:{RFC1738:function(t){return Qs.call(t,Js,"+")},RFC3986:function(t){return String(t)}},RFC1738:Rn.RFC1738,RFC3986:Rn.RFC3986},Xs=Vn,In=Object.prototype.hasOwnProperty,Fe=Array.isArray,ue=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Ys=function(e){for(;e.length>1;){var r=e.pop(),o=r.obj[r.prop];if(Fe(o)){for(var i=[],a=0;a<o.length;++a)typeof o[a]<"u"&&i.push(o[a]);r.obj[r.prop]=i}}},Go=function(e,r){for(var o=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(o[i]=e[i]);return o},Ks=function t(e,r,o){if(!r)return e;if(typeof r!="object"){if(Fe(e))e.push(r);else if(e&&typeof e=="object")(o&&(o.plainObjects||o.allowPrototypes)||!In.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Fe(e)&&!Fe(r)&&(i=Go(e,o)),Fe(e)&&Fe(r)?(r.forEach(function(a,c){if(In.call(e,c)){var d=e[c];d&&typeof d=="object"&&a&&typeof a=="object"?e[c]=t(d,a,o):e.push(a)}else e[c]=a}),e):Object.keys(r).reduce(function(a,c){var d=r[c];return In.call(a,c)?a[c]=t(a[c],d,o):a[c]=d,a},i)},js=function(e,r){return Object.keys(r).reduce(function(o,i){return o[i]=r[i],o},e)},Zs=function(t,e,r){var o=t.replace(/\+/g," ");if(r==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},$s=function(e,r,o,i,a){if(e.length===0)return e;var c=e;if(typeof e=="symbol"?c=Symbol.prototype.toString.call(e):typeof e!="string"&&(c=String(e)),o==="iso-8859-1")return escape(c).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var d="",x=0;x<c.length;++x){var l=c.charCodeAt(x);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===Xs.RFC1738&&(l===40||l===41)){d+=c.charAt(x);continue}if(l<128){d=d+ue[l];continue}if(l<2048){d=d+(ue[192|l>>6]+ue[128|l&63]);continue}if(l<55296||l>=57344){d=d+(ue[224|l>>12]+ue[128|l>>6&63]+ue[128|l&63]);continue}x+=1,l=65536+((l&1023)<<10|c.charCodeAt(x)&1023),d+=ue[240|l>>18]+ue[128|l>>12&63]+ue[128|l>>6&63]+ue[128|l&63]}return d},ec=function(e){for(var r=[{obj:{o:e},prop:"o"}],o=[],i=0;i<r.length;++i)for(var a=r[i],c=a.obj[a.prop],d=Object.keys(c),x=0;x<d.length;++x){var l=d[x],f=c[l];typeof f=="object"&&f!==null&&o.indexOf(f)===-1&&(r.push({obj:c,prop:l}),o.push(f))}return Ys(r),e},tc=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},nc=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},rc=function(e,r){return[].concat(e,r)},oc=function(e,r){if(Fe(e)){for(var o=[],i=0;i<e.length;i+=1)o.push(r(e[i]));return o}return r(e)},Wo={arrayToObject:Go,assign:js,combine:rc,compact:ec,decode:Zs,encode:$s,isBuffer:nc,isRegExp:tc,maybeMap:oc,merge:Ks},Qo=Ws,Vt=Wo,rt=Vn,ic=Object.prototype.hasOwnProperty,Jo={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},me=Array.isArray,ac=Array.prototype.push,Xo=function(t,e){ac.apply(t,me(e)?e:[e])},sc=Date.prototype.toISOString,Yo=rt.default,ne={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Vt.encode,encodeValuesOnly:!1,format:Yo,formatter:rt.formatters[Yo],indices:!1,serializeDate:function(e){return sc.call(e)},skipNulls:!1,strictNullHandling:!1},cc=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},On={},lc=function t(e,r,o,i,a,c,d,x,l,f,m,s,h,u,p,y){for(var A=e,g=y,_=0,E=!1;(g=g.get(On))!==void 0&&!E;){var C=g.get(e);if(_+=1,typeof C<"u"){if(C===_)throw new RangeError("Cyclic object value");E=!0}typeof g.get(On)>"u"&&(_=0)}if(typeof x=="function"?A=x(r,A):A instanceof Date?A=m(A):o==="comma"&&me(A)&&(A=Vt.maybeMap(A,function(H){return H instanceof Date?m(H):H})),A===null){if(a)return d&&!u?d(r,ne.encoder,p,"key",s):r;A=""}if(cc(A)||Vt.isBuffer(A)){if(d){var v=u?r:d(r,ne.encoder,p,"key",s);return[h(v)+"="+h(d(A,ne.encoder,p,"value",s))]}return[h(r)+"="+h(String(A))]}var b=[];if(typeof A>"u")return b;var D;if(o==="comma"&&me(A))u&&d&&(A=Vt.maybeMap(A,d)),D=[{value:A.length>0?A.join(",")||null:void 0}];else if(me(x))D=x;else{var I=Object.keys(A);D=l?I.sort(l):I}for(var B=i&&me(A)&&A.length===1?r+"[]":r,k=0;k<D.length;++k){var F=D[k],S=typeof F=="object"&&typeof F.value<"u"?F.value:A[F];if(!(c&&S===null)){var O=me(A)?typeof o=="function"?o(B,F):B:B+(f?"."+F:"["+F+"]");y.set(e,_);var P=Qo();P.set(On,y),Xo(b,t(S,O,o,i,a,c,o==="comma"&&u&&me(A)?null:d,x,l,f,m,s,h,u,p,P))}}return b},dc=function(e){if(!e)return ne;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||ne.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=rt.default;if(typeof e.format<"u"){if(!ic.call(rt.formatters,e.format))throw new TypeError("Unknown format option provided.");o=e.format}var i=rt.formatters[o],a=ne.filter;return(typeof e.filter=="function"||me(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ne.addQueryPrefix,allowDots:typeof e.allowDots>"u"?ne.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ne.charsetSentinel,delimiter:typeof e.delimiter>"u"?ne.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ne.encode,encoder:typeof e.encoder=="function"?e.encoder:ne.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ne.encodeValuesOnly,filter:a,format:o,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ne.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ne.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ne.strictNullHandling}},fc=function(t,e){var r=t,o=dc(e),i,a;typeof o.filter=="function"?(a=o.filter,r=a("",r)):me(o.filter)&&(a=o.filter,i=a);var c=[];if(typeof r!="object"||r===null)return"";var d;e&&e.arrayFormat in Jo?d=e.arrayFormat:e&&"indices"in e?d=e.indices?"indices":"repeat":d="indices";var x=Jo[d];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=x==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),o.sort&&i.sort(o.sort);for(var f=Qo(),m=0;m<i.length;++m){var s=i[m];o.skipNulls&&r[s]===null||Xo(c,lc(r[s],s,x,l,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,f))}var h=c.join(o.delimiter),u=o.addQueryPrefix===!0?"?":"";return o.charsetSentinel&&(o.charset==="iso-8859-1"?u+="utf8=%26%2310003%3B&":u+="utf8=%E2%9C%93&"),h.length>0?u+h:""},qe=Wo,Pn=Object.prototype.hasOwnProperty,xc=Array.isArray,$={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:qe.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},uc=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Ko=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},hc="utf8=%26%2310003%3B",mc="utf8=%E2%9C%93",pc=function(e,r){var o={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,c=i.split(r.delimiter,a),d=-1,x,l=r.charset;if(r.charsetSentinel)for(x=0;x<c.length;++x)c[x].indexOf("utf8=")===0&&(c[x]===mc?l="utf-8":c[x]===hc&&(l="iso-8859-1"),d=x,x=c.length);for(x=0;x<c.length;++x)if(x!==d){var f=c[x],m=f.indexOf("]="),s=m===-1?f.indexOf("="):m+1,h,u;s===-1?(h=r.decoder(f,$.decoder,l,"key"),u=r.strictNullHandling?null:""):(h=r.decoder(f.slice(0,s),$.decoder,l,"key"),u=qe.maybeMap(Ko(f.slice(s+1),r),function(p){return r.decoder(p,$.decoder,l,"value")})),u&&r.interpretNumericEntities&&l==="iso-8859-1"&&(u=uc(u)),f.indexOf("[]=")>-1&&(u=xc(u)?[u]:u),Pn.call(o,h)?o[h]=qe.combine(o[h],u):o[h]=u}return o},gc=function(t,e,r,o){for(var i=o?e:Ko(e,r),a=t.length-1;a>=0;--a){var c,d=t[a];if(d==="[]"&&r.parseArrays)c=[].concat(i);else{c=r.plainObjects?Object.create(null):{};var x=d.charAt(0)==="["&&d.charAt(d.length-1)==="]"?d.slice(1,-1):d,l=parseInt(x,10);!r.parseArrays&&x===""?c={0:i}:!isNaN(l)&&d!==x&&String(l)===x&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(c=[],c[l]=i):x!=="__proto__"&&(c[x]=i)}i=c}return i},_c=function(e,r,o,i){if(e){var a=o.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,c=/(\[[^[\]]*])/,d=/(\[[^[\]]*])/g,x=o.depth>0&&c.exec(a),l=x?a.slice(0,x.index):a,f=[];if(l){if(!o.plainObjects&&Pn.call(Object.prototype,l)&&!o.allowPrototypes)return;f.push(l)}for(var m=0;o.depth>0&&(x=d.exec(a))!==null&&m<o.depth;){if(m+=1,!o.plainObjects&&Pn.call(Object.prototype,x[1].slice(1,-1))&&!o.allowPrototypes)return;f.push(x[1])}return x&&f.push("["+a.slice(x.index)+"]"),gc(f,r,o,i)}},yc=function(e){if(!e)return $;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?$.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?$.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:$.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:$.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:$.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:$.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:$.comma,decoder:typeof e.decoder=="function"?e.decoder:$.decoder,delimiter:typeof e.delimiter=="string"||qe.isRegExp(e.delimiter)?e.delimiter:$.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:$.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:$.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:$.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:$.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:$.strictNullHandling}},Ec=function(t,e){var r=yc(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var o=typeof t=="string"?pc(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),c=0;c<a.length;++c){var d=a[c],x=_c(d,o[d],r,typeof t=="string");i=qe.merge(i,x,r)}return r.allowSparse===!0?i:qe.compact(i)},Ac=fc,Bc=Ec,vc=Vn,Cc={formats:vc,parse:Bc,stringify:Ac};const bc=so(Cc);let jo=_a();an.CancelToken;let Ae=({url:t,params:e,method:r,ourl:o})=>{let i=o+t;if(r==="get")return jo.get(i,{params:e},{headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(r==="post")return jo.post(i,bc.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})};var Zo={exports:{}};function kc(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Hn={exports:{}},$o;function q(){return $o||($o=1,function(t,e){(function(r,o){t.exports=o()})(L,function(){var r=r||function(o,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof L<"u"&&L.crypto&&(a=L.crypto),!a&&typeof kc=="function")try{a=bo}catch{}var c=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},d=Object.create||function(){function g(){}return function(_){var E;return g.prototype=_,E=new g,g.prototype=null,E}}(),x={},l=x.lib={},f=l.Base=function(){return{extend:function(g){var _=d(this);return g&&_.mixIn(g),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var _ in g)g.hasOwnProperty(_)&&(this[_]=g[_]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),m=l.WordArray=f.extend({init:function(g,_){g=this.words=g||[],_!=i?this.sigBytes=_:this.sigBytes=g.length*4},toString:function(g){return(g||h).stringify(this)},concat:function(g){var _=this.words,E=g.words,C=this.sigBytes,v=g.sigBytes;if(this.clamp(),C%4)for(var b=0;b<v;b++){var D=E[b>>>2]>>>24-b%4*8&255;_[C+b>>>2]|=D<<24-(C+b)%4*8}else for(var I=0;I<v;I+=4)_[C+I>>>2]=E[I>>>2];return this.sigBytes+=v,this},clamp:function(){var g=this.words,_=this.sigBytes;g[_>>>2]&=4294967295<<32-_%4*8,g.length=o.ceil(_/4)},clone:function(){var g=f.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var _=[],E=0;E<g;E+=4)_.push(c());return new m.init(_,g)}}),s=x.enc={},h=s.Hex={stringify:function(g){for(var _=g.words,E=g.sigBytes,C=[],v=0;v<E;v++){var b=_[v>>>2]>>>24-v%4*8&255;C.push((b>>>4).toString(16)),C.push((b&15).toString(16))}return C.join("")},parse:function(g){for(var _=g.length,E=[],C=0;C<_;C+=2)E[C>>>3]|=parseInt(g.substr(C,2),16)<<24-C%8*4;return new m.init(E,_/2)}},u=s.Latin1={stringify:function(g){for(var _=g.words,E=g.sigBytes,C=[],v=0;v<E;v++){var b=_[v>>>2]>>>24-v%4*8&255;C.push(String.fromCharCode(b))}return C.join("")},parse:function(g){for(var _=g.length,E=[],C=0;C<_;C++)E[C>>>2]|=(g.charCodeAt(C)&255)<<24-C%4*8;return new m.init(E,_)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(u.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return u.parse(unescape(encodeURIComponent(g)))}},y=l.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new m.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var _,E=this._data,C=E.words,v=E.sigBytes,b=this.blockSize,D=b*4,I=v/D;g?I=o.ceil(I):I=o.max((I|0)-this._minBufferSize,0);var B=I*b,k=o.min(B*4,v);if(B){for(var F=0;F<B;F+=b)this._doProcessBlock(C,F);_=C.splice(0,B),E.sigBytes-=k}return new m.init(_,k)},clone:function(){var g=f.clone.call(this);return g._data=this._data.clone(),g},_minBufferSize:0});l.Hasher=y.extend({cfg:f.extend(),init:function(g){this.cfg=this.cfg.extend(g),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(g){return this._append(g),this._process(),this},finalize:function(g){g&&this._append(g);var _=this._doFinalize();return _},blockSize:16,_createHelper:function(g){return function(_,E){return new g.init(E).finalize(_)}},_createHmacHelper:function(g){return function(_,E){return new A.HMAC.init(g,E).finalize(_)}}});var A=x.algo={};return x}(Math);return r})}(Hn)),Hn.exports}var zn={exports:{}},e0;function It(){return e0||(e0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(o){var i=r,a=i.lib,c=a.Base,d=a.WordArray,x=i.x64={};x.Word=c.extend({init:function(l,f){this.high=l,this.low=f}}),x.WordArray=c.extend({init:function(l,f){l=this.words=l||[],f!=o?this.sigBytes=f:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,f=l.length,m=[],s=0;s<f;s++){var h=l[s];m.push(h.high),m.push(h.low)}return d.create(m,this.sigBytes)},clone:function(){for(var l=c.clone.call(this),f=l.words=this.words.slice(0),m=f.length,s=0;s<m;s++)f[s]=f[s].clone();return l}})}(),r})}(zn)),zn.exports}var Ln={exports:{}},t0;function Dc(){return t0||(t0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(){if(typeof ArrayBuffer=="function"){var o=r,i=o.lib,a=i.WordArray,c=a.init,d=a.init=function(x){if(x instanceof ArrayBuffer&&(x=new Uint8Array(x)),(x instanceof Int8Array||typeof Uint8ClampedArray<"u"&&x instanceof Uint8ClampedArray||x instanceof Int16Array||x instanceof Uint16Array||x instanceof Int32Array||x instanceof Uint32Array||x instanceof Float32Array||x instanceof Float64Array)&&(x=new Uint8Array(x.buffer,x.byteOffset,x.byteLength)),x instanceof Uint8Array){for(var l=x.byteLength,f=[],m=0;m<l;m++)f[m>>>2]|=x[m]<<24-m%4*8;c.call(this,f,l)}else c.apply(this,arguments)};d.prototype=a}}(),r.lib.WordArray})}(Ln)),Ln.exports}var Mn={exports:{}},n0;function wc(){return n0||(n0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=o.enc;c.Utf16=c.Utf16BE={stringify:function(x){for(var l=x.words,f=x.sigBytes,m=[],s=0;s<f;s+=2){var h=l[s>>>2]>>>16-s%4*8&65535;m.push(String.fromCharCode(h))}return m.join("")},parse:function(x){for(var l=x.length,f=[],m=0;m<l;m++)f[m>>>1]|=x.charCodeAt(m)<<16-m%2*16;return a.create(f,l*2)}},c.Utf16LE={stringify:function(x){for(var l=x.words,f=x.sigBytes,m=[],s=0;s<f;s+=2){var h=d(l[s>>>2]>>>16-s%4*8&65535);m.push(String.fromCharCode(h))}return m.join("")},parse:function(x){for(var l=x.length,f=[],m=0;m<l;m++)f[m>>>1]|=d(x.charCodeAt(m)<<16-m%2*16);return a.create(f,l*2)}};function d(x){return x<<8&4278255360|x>>>8&16711935}}(),r.enc.Utf16})}(Mn)),Mn.exports}var Un={exports:{}},r0;function Se(){return r0||(r0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=o.enc;c.Base64={stringify:function(x){var l=x.words,f=x.sigBytes,m=this._map;x.clamp();for(var s=[],h=0;h<f;h+=3)for(var u=l[h>>>2]>>>24-h%4*8&255,p=l[h+1>>>2]>>>24-(h+1)%4*8&255,y=l[h+2>>>2]>>>24-(h+2)%4*8&255,A=u<<16|p<<8|y,g=0;g<4&&h+g*.75<f;g++)s.push(m.charAt(A>>>6*(3-g)&63));var _=m.charAt(64);if(_)for(;s.length%4;)s.push(_);return s.join("")},parse:function(x){var l=x.length,f=this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var s=0;s<f.length;s++)m[f.charCodeAt(s)]=s}var h=f.charAt(64);if(h){var u=x.indexOf(h);u!==-1&&(l=u)}return d(x,l,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function d(x,l,f){for(var m=[],s=0,h=0;h<l;h++)if(h%4){var u=f[x.charCodeAt(h-1)]<<h%4*2,p=f[x.charCodeAt(h)]>>>6-h%4*2,y=u|p;m[s>>>2]|=y<<24-s%4*8,s++}return a.create(m,s)}}(),r.enc.Base64})}(Un)),Un.exports}var qn={exports:{}},o0;function Fc(){return o0||(o0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=o.enc;c.Base64url={stringify:function(x,l){l===void 0&&(l=!0);var f=x.words,m=x.sigBytes,s=l?this._safe_map:this._map;x.clamp();for(var h=[],u=0;u<m;u+=3)for(var p=f[u>>>2]>>>24-u%4*8&255,y=f[u+1>>>2]>>>24-(u+1)%4*8&255,A=f[u+2>>>2]>>>24-(u+2)%4*8&255,g=p<<16|y<<8|A,_=0;_<4&&u+_*.75<m;_++)h.push(s.charAt(g>>>6*(3-_)&63));var E=s.charAt(64);if(E)for(;h.length%4;)h.push(E);return h.join("")},parse:function(x,l){l===void 0&&(l=!0);var f=x.length,m=l?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var h=0;h<m.length;h++)s[m.charCodeAt(h)]=h}var u=m.charAt(64);if(u){var p=x.indexOf(u);p!==-1&&(f=p)}return d(x,f,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function d(x,l,f){for(var m=[],s=0,h=0;h<l;h++)if(h%4){var u=f[x.charCodeAt(h-1)]<<h%4*2,p=f[x.charCodeAt(h)]>>>6-h%4*2,y=u|p;m[s>>>2]|=y<<24-s%4*8,s++}return a.create(m,s)}}(),r.enc.Base64url})}(qn)),qn.exports}var Gn={exports:{}},i0;function Ne(){return i0||(i0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(o){var i=r,a=i.lib,c=a.WordArray,d=a.Hasher,x=i.algo,l=[];(function(){for(var p=0;p<64;p++)l[p]=o.abs(o.sin(p+1))*4294967296|0})();var f=x.MD5=d.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,y){for(var A=0;A<16;A++){var g=y+A,_=p[g];p[g]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var E=this._hash.words,C=p[y+0],v=p[y+1],b=p[y+2],D=p[y+3],I=p[y+4],B=p[y+5],k=p[y+6],F=p[y+7],S=p[y+8],O=p[y+9],P=p[y+10],H=p[y+11],Y=p[y+12],W=p[y+13],J=p[y+14],Q=p[y+15],N=E[0],R=E[1],V=E[2],T=E[3];N=m(N,R,V,T,C,7,l[0]),T=m(T,N,R,V,v,12,l[1]),V=m(V,T,N,R,b,17,l[2]),R=m(R,V,T,N,D,22,l[3]),N=m(N,R,V,T,I,7,l[4]),T=m(T,N,R,V,B,12,l[5]),V=m(V,T,N,R,k,17,l[6]),R=m(R,V,T,N,F,22,l[7]),N=m(N,R,V,T,S,7,l[8]),T=m(T,N,R,V,O,12,l[9]),V=m(V,T,N,R,P,17,l[10]),R=m(R,V,T,N,H,22,l[11]),N=m(N,R,V,T,Y,7,l[12]),T=m(T,N,R,V,W,12,l[13]),V=m(V,T,N,R,J,17,l[14]),R=m(R,V,T,N,Q,22,l[15]),N=s(N,R,V,T,v,5,l[16]),T=s(T,N,R,V,k,9,l[17]),V=s(V,T,N,R,H,14,l[18]),R=s(R,V,T,N,C,20,l[19]),N=s(N,R,V,T,B,5,l[20]),T=s(T,N,R,V,P,9,l[21]),V=s(V,T,N,R,Q,14,l[22]),R=s(R,V,T,N,I,20,l[23]),N=s(N,R,V,T,O,5,l[24]),T=s(T,N,R,V,J,9,l[25]),V=s(V,T,N,R,D,14,l[26]),R=s(R,V,T,N,S,20,l[27]),N=s(N,R,V,T,W,5,l[28]),T=s(T,N,R,V,b,9,l[29]),V=s(V,T,N,R,F,14,l[30]),R=s(R,V,T,N,Y,20,l[31]),N=h(N,R,V,T,B,4,l[32]),T=h(T,N,R,V,S,11,l[33]),V=h(V,T,N,R,H,16,l[34]),R=h(R,V,T,N,J,23,l[35]),N=h(N,R,V,T,v,4,l[36]),T=h(T,N,R,V,I,11,l[37]),V=h(V,T,N,R,F,16,l[38]),R=h(R,V,T,N,P,23,l[39]),N=h(N,R,V,T,W,4,l[40]),T=h(T,N,R,V,C,11,l[41]),V=h(V,T,N,R,D,16,l[42]),R=h(R,V,T,N,k,23,l[43]),N=h(N,R,V,T,O,4,l[44]),T=h(T,N,R,V,Y,11,l[45]),V=h(V,T,N,R,Q,16,l[46]),R=h(R,V,T,N,b,23,l[47]),N=u(N,R,V,T,C,6,l[48]),T=u(T,N,R,V,F,10,l[49]),V=u(V,T,N,R,J,15,l[50]),R=u(R,V,T,N,B,21,l[51]),N=u(N,R,V,T,Y,6,l[52]),T=u(T,N,R,V,D,10,l[53]),V=u(V,T,N,R,P,15,l[54]),R=u(R,V,T,N,v,21,l[55]),N=u(N,R,V,T,S,6,l[56]),T=u(T,N,R,V,Q,10,l[57]),V=u(V,T,N,R,k,15,l[58]),R=u(R,V,T,N,W,21,l[59]),N=u(N,R,V,T,I,6,l[60]),T=u(T,N,R,V,H,10,l[61]),V=u(V,T,N,R,b,15,l[62]),R=u(R,V,T,N,O,21,l[63]),E[0]=E[0]+N|0,E[1]=E[1]+R|0,E[2]=E[2]+V|0,E[3]=E[3]+T|0},_doFinalize:function(){var p=this._data,y=p.words,A=this._nDataBytes*8,g=p.sigBytes*8;y[g>>>5]|=128<<24-g%32;var _=o.floor(A/4294967296),E=A;y[(g+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(g+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,p.sigBytes=(y.length+1)*4,this._process();for(var C=this._hash,v=C.words,b=0;b<4;b++){var D=v[b];v[b]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return C},clone:function(){var p=d.clone.call(this);return p._hash=this._hash.clone(),p}});function m(p,y,A,g,_,E,C){var v=p+(y&A|~y&g)+_+C;return(v<<E|v>>>32-E)+y}function s(p,y,A,g,_,E,C){var v=p+(y&g|A&~g)+_+C;return(v<<E|v>>>32-E)+y}function h(p,y,A,g,_,E,C){var v=p+(y^A^g)+_+C;return(v<<E|v>>>32-E)+y}function u(p,y,A,g,_,E,C){var v=p+(A^(y|~g))+_+C;return(v<<E|v>>>32-E)+y}i.MD5=d._createHelper(f),i.HmacMD5=d._createHmacHelper(f)}(Math),r.MD5})}(Gn)),Gn.exports}var Wn={exports:{}},a0;function s0(){return a0||(a0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=i.Hasher,d=o.algo,x=[],l=d.SHA1=c.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(f,m){for(var s=this._hash.words,h=s[0],u=s[1],p=s[2],y=s[3],A=s[4],g=0;g<80;g++){if(g<16)x[g]=f[m+g]|0;else{var _=x[g-3]^x[g-8]^x[g-14]^x[g-16];x[g]=_<<1|_>>>31}var E=(h<<5|h>>>27)+A+x[g];g<20?E+=(u&p|~u&y)+1518500249:g<40?E+=(u^p^y)+1859775393:g<60?E+=(u&p|u&y|p&y)-1894007588:E+=(u^p^y)-899497514,A=y,y=p,p=u<<30|u>>>2,u=h,h=E}s[0]=s[0]+h|0,s[1]=s[1]+u|0,s[2]=s[2]+p|0,s[3]=s[3]+y|0,s[4]=s[4]+A|0},_doFinalize:function(){var f=this._data,m=f.words,s=this._nDataBytes*8,h=f.sigBytes*8;return m[h>>>5]|=128<<24-h%32,m[(h+64>>>9<<4)+14]=Math.floor(s/4294967296),m[(h+64>>>9<<4)+15]=s,f.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var f=c.clone.call(this);return f._hash=this._hash.clone(),f}});o.SHA1=c._createHelper(l),o.HmacSHA1=c._createHmacHelper(l)}(),r.SHA1})}(Wn)),Wn.exports}var Qn={exports:{}},c0;function Jn(){return c0||(c0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){return function(o){var i=r,a=i.lib,c=a.WordArray,d=a.Hasher,x=i.algo,l=[],f=[];(function(){function h(A){for(var g=o.sqrt(A),_=2;_<=g;_++)if(!(A%_))return!1;return!0}function u(A){return(A-(A|0))*4294967296|0}for(var p=2,y=0;y<64;)h(p)&&(y<8&&(l[y]=u(o.pow(p,1/2))),f[y]=u(o.pow(p,1/3)),y++),p++})();var m=[],s=x.SHA256=d.extend({_doReset:function(){this._hash=new c.init(l.slice(0))},_doProcessBlock:function(h,u){for(var p=this._hash.words,y=p[0],A=p[1],g=p[2],_=p[3],E=p[4],C=p[5],v=p[6],b=p[7],D=0;D<64;D++){if(D<16)m[D]=h[u+D]|0;else{var I=m[D-15],B=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,k=m[D-2],F=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;m[D]=B+m[D-7]+F+m[D-16]}var S=E&C^~E&v,O=y&A^y&g^A&g,P=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),H=(E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25),Y=b+H+S+f[D]+m[D],W=P+O;b=v,v=C,C=E,E=_+Y|0,_=g,g=A,A=y,y=Y+W|0}p[0]=p[0]+y|0,p[1]=p[1]+A|0,p[2]=p[2]+g|0,p[3]=p[3]+_|0,p[4]=p[4]+E|0,p[5]=p[5]+C|0,p[6]=p[6]+v|0,p[7]=p[7]+b|0},_doFinalize:function(){var h=this._data,u=h.words,p=this._nDataBytes*8,y=h.sigBytes*8;return u[y>>>5]|=128<<24-y%32,u[(y+64>>>9<<4)+14]=o.floor(p/4294967296),u[(y+64>>>9<<4)+15]=p,h.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var h=d.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=d._createHelper(s),i.HmacSHA256=d._createHmacHelper(s)}(Math),r.SHA256})}(Qn)),Qn.exports}var Xn={exports:{}},l0;function Sc(){return l0||(l0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Jn())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=o.algo,d=c.SHA256,x=c.SHA224=d.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=d._doFinalize.call(this);return l.sigBytes-=4,l}});o.SHA224=d._createHelper(x),o.HmacSHA224=d._createHmacHelper(x)}(),r.SHA224})}(Xn)),Xn.exports}var Yn={exports:{}},d0;function f0(){return d0||(d0=1,function(t,e){(function(r,o,i){t.exports=o(q(),It())})(L,function(r){return function(){var o=r,i=o.lib,a=i.Hasher,c=o.x64,d=c.Word,x=c.WordArray,l=o.algo;function f(){return d.create.apply(d,arguments)}var m=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],s=[];(function(){for(var u=0;u<80;u++)s[u]=f()})();var h=l.SHA512=a.extend({_doReset:function(){this._hash=new x.init([new d.init(1779033703,4089235720),new d.init(3144134277,2227873595),new d.init(1013904242,4271175723),new d.init(2773480762,1595750129),new d.init(1359893119,2917565137),new d.init(2600822924,725511199),new d.init(528734635,4215389547),new d.init(1541459225,327033209)])},_doProcessBlock:function(u,p){for(var y=this._hash.words,A=y[0],g=y[1],_=y[2],E=y[3],C=y[4],v=y[5],b=y[6],D=y[7],I=A.high,B=A.low,k=g.high,F=g.low,S=_.high,O=_.low,P=E.high,H=E.low,Y=C.high,W=C.low,J=v.high,Q=v.low,N=b.high,R=b.low,V=D.high,T=D.low,K=I,X=B,re=k,M=F,ct=S,We=O,vr=P,lt=H,ce=Y,oe=W,Mt=J,dt=Q,Ut=N,ft=R,Cr=V,xt=T,le=0;le<80;le++){var se,ve,qt=s[le];if(le<16)ve=qt.high=u[p+le*2]|0,se=qt.low=u[p+le*2+1]|0;else{var W0=s[le-15],Qe=W0.high,ut=W0.low,lh=(Qe>>>1|ut<<31)^(Qe>>>8|ut<<24)^Qe>>>7,Q0=(ut>>>1|Qe<<31)^(ut>>>8|Qe<<24)^(ut>>>7|Qe<<25),J0=s[le-2],Je=J0.high,ht=J0.low,dh=(Je>>>19|ht<<13)^(Je<<3|ht>>>29)^Je>>>6,X0=(ht>>>19|Je<<13)^(ht<<3|Je>>>29)^(ht>>>6|Je<<26),Y0=s[le-7],fh=Y0.high,xh=Y0.low,K0=s[le-16],uh=K0.high,j0=K0.low;se=Q0+xh,ve=lh+fh+(se>>>0<Q0>>>0?1:0),se=se+X0,ve=ve+dh+(se>>>0<X0>>>0?1:0),se=se+j0,ve=ve+uh+(se>>>0<j0>>>0?1:0),qt.high=ve,qt.low=se}var hh=ce&Mt^~ce&Ut,Z0=oe&dt^~oe&ft,mh=K&re^K&ct^re&ct,ph=X&M^X&We^M&We,gh=(K>>>28|X<<4)^(K<<30|X>>>2)^(K<<25|X>>>7),$0=(X>>>28|K<<4)^(X<<30|K>>>2)^(X<<25|K>>>7),_h=(ce>>>14|oe<<18)^(ce>>>18|oe<<14)^(ce<<23|oe>>>9),yh=(oe>>>14|ce<<18)^(oe>>>18|ce<<14)^(oe<<23|ce>>>9),ei=m[le],Eh=ei.high,ti=ei.low,ie=xt+yh,Ce=Cr+_h+(ie>>>0<xt>>>0?1:0),ie=ie+Z0,Ce=Ce+hh+(ie>>>0<Z0>>>0?1:0),ie=ie+ti,Ce=Ce+Eh+(ie>>>0<ti>>>0?1:0),ie=ie+se,Ce=Ce+ve+(ie>>>0<se>>>0?1:0),ni=$0+ph,Ah=gh+mh+(ni>>>0<$0>>>0?1:0);Cr=Ut,xt=ft,Ut=Mt,ft=dt,Mt=ce,dt=oe,oe=lt+ie|0,ce=vr+Ce+(oe>>>0<lt>>>0?1:0)|0,vr=ct,lt=We,ct=re,We=M,re=K,M=X,X=ie+ni|0,K=Ce+Ah+(X>>>0<ie>>>0?1:0)|0}B=A.low=B+X,A.high=I+K+(B>>>0<X>>>0?1:0),F=g.low=F+M,g.high=k+re+(F>>>0<M>>>0?1:0),O=_.low=O+We,_.high=S+ct+(O>>>0<We>>>0?1:0),H=E.low=H+lt,E.high=P+vr+(H>>>0<lt>>>0?1:0),W=C.low=W+oe,C.high=Y+ce+(W>>>0<oe>>>0?1:0),Q=v.low=Q+dt,v.high=J+Mt+(Q>>>0<dt>>>0?1:0),R=b.low=R+ft,b.high=N+Ut+(R>>>0<ft>>>0?1:0),T=D.low=T+xt,D.high=V+Cr+(T>>>0<xt>>>0?1:0)},_doFinalize:function(){var u=this._data,p=u.words,y=this._nDataBytes*8,A=u.sigBytes*8;p[A>>>5]|=128<<24-A%32,p[(A+128>>>10<<5)+30]=Math.floor(y/4294967296),p[(A+128>>>10<<5)+31]=y,u.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u},blockSize:1024/32});o.SHA512=a._createHelper(h),o.HmacSHA512=a._createHmacHelper(h)}(),r.SHA512})}(Yn)),Yn.exports}var Kn={exports:{}},x0;function Nc(){return x0||(x0=1,function(t,e){(function(r,o,i){t.exports=o(q(),It(),f0())})(L,function(r){return function(){var o=r,i=o.x64,a=i.Word,c=i.WordArray,d=o.algo,x=d.SHA512,l=d.SHA384=x.extend({_doReset:function(){this._hash=new c.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var f=x._doFinalize.call(this);return f.sigBytes-=16,f}});o.SHA384=x._createHelper(l),o.HmacSHA384=x._createHmacHelper(l)}(),r.SHA384})}(Kn)),Kn.exports}var jn={exports:{}},u0;function Tc(){return u0||(u0=1,function(t,e){(function(r,o,i){t.exports=o(q(),It())})(L,function(r){return function(o){var i=r,a=i.lib,c=a.WordArray,d=a.Hasher,x=i.x64,l=x.Word,f=i.algo,m=[],s=[],h=[];(function(){for(var y=1,A=0,g=0;g<24;g++){m[y+5*A]=(g+1)*(g+2)/2%64;var _=A%5,E=(2*y+3*A)%5;y=_,A=E}for(var y=0;y<5;y++)for(var A=0;A<5;A++)s[y+5*A]=A+(2*y+3*A)%5*5;for(var C=1,v=0;v<24;v++){for(var b=0,D=0,I=0;I<7;I++){if(C&1){var B=(1<<I)-1;B<32?D^=1<<B:b^=1<<B-32}C&128?C=C<<1^113:C<<=1}h[v]=l.create(b,D)}})();var u=[];(function(){for(var y=0;y<25;y++)u[y]=l.create()})();var p=f.SHA3=d.extend({cfg:d.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],A=0;A<25;A++)y[A]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,A){for(var g=this._state,_=this.blockSize/2,E=0;E<_;E++){var C=y[A+2*E],v=y[A+2*E+1];C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var b=g[E];b.high^=v,b.low^=C}for(var D=0;D<24;D++){for(var I=0;I<5;I++){for(var B=0,k=0,F=0;F<5;F++){var b=g[I+5*F];B^=b.high,k^=b.low}var S=u[I];S.high=B,S.low=k}for(var I=0;I<5;I++)for(var O=u[(I+4)%5],P=u[(I+1)%5],H=P.high,Y=P.low,B=O.high^(H<<1|Y>>>31),k=O.low^(Y<<1|H>>>31),F=0;F<5;F++){var b=g[I+5*F];b.high^=B,b.low^=k}for(var W=1;W<25;W++){var B,k,b=g[W],J=b.high,Q=b.low,N=m[W];N<32?(B=J<<N|Q>>>32-N,k=Q<<N|J>>>32-N):(B=Q<<N-32|J>>>64-N,k=J<<N-32|Q>>>64-N);var R=u[s[W]];R.high=B,R.low=k}var V=u[0],T=g[0];V.high=T.high,V.low=T.low;for(var I=0;I<5;I++)for(var F=0;F<5;F++){var W=I+5*F,b=g[W],K=u[W],X=u[(I+1)%5+5*F],re=u[(I+2)%5+5*F];b.high=K.high^~X.high&re.high,b.low=K.low^~X.low&re.low}var b=g[0],M=h[D];b.high^=M.high,b.low^=M.low}},_doFinalize:function(){var y=this._data,A=y.words;this._nDataBytes*8;var g=y.sigBytes*8,_=this.blockSize*32;A[g>>>5]|=1<<24-g%32,A[(o.ceil((g+1)/_)*_>>>5)-1]|=128,y.sigBytes=A.length*4,this._process();for(var E=this._state,C=this.cfg.outputLength/8,v=C/8,b=[],D=0;D<v;D++){var I=E[D],B=I.high,k=I.low;B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,b.push(k),b.push(B)}return new c.init(b,C)},clone:function(){for(var y=d.clone.call(this),A=y._state=this._state.slice(0),g=0;g<25;g++)A[g]=A[g].clone();return y}});i.SHA3=d._createHelper(p),i.HmacSHA3=d._createHmacHelper(p)}(Math),r.SHA3})}(jn)),jn.exports}var Zn={exports:{}},h0;function Rc(){return h0||(h0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){/** @preserve
|
|
13
9
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
14
10
|
|
|
15
11
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -18,8 +14,8 @@
|
|
|
18
14
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
19
15
|
|
|
20
16
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
21
|
-
*/return function(n){var o=r,a=o.lib,l=a.WordArray,c=a.Hasher,d=o.algo,f=l.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=l.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=l.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=l.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=l.create([0,1518500249,1859775393,2400959708,2840853838]),g=l.create([1352829926,1548603684,1836072691,2053994217,0]),A=d.RIPEMD160=c.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(C,w){for(var k=0;k<16;k++){var P=w+k,B=C[P];C[P]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var D=this._hash.words,R=h.words,S=g.words,I=f.words,V=s.words,M=x.words,j=u.words,K,X,U,F,T,O,N,J,H,Y;O=K=D[0],N=X=D[1],J=U=D[2],H=F=D[3],Y=T=D[4];for(var q,k=0;k<80;k+=1)q=K+C[w+I[k]]|0,k<16?q+=y(X,U,F)+R[0]:k<32?q+=_(X,U,F)+R[1]:k<48?q+=m(X,U,F)+R[2]:k<64?q+=p(X,U,F)+R[3]:q+=E(X,U,F)+R[4],q=q|0,q=b(q,M[k]),q=q+T|0,K=T,T=F,F=b(U,10),U=X,X=q,q=O+C[w+V[k]]|0,k<16?q+=E(N,J,H)+S[0]:k<32?q+=p(N,J,H)+S[1]:k<48?q+=m(N,J,H)+S[2]:k<64?q+=_(N,J,H)+S[3]:q+=y(N,J,H)+S[4],q=q|0,q=b(q,j[k]),q=q+Y|0,O=Y,Y=H,H=b(J,10),J=N,N=q;q=D[1]+U+H|0,D[1]=D[2]+F+Y|0,D[2]=D[3]+T+O|0,D[3]=D[4]+K+N|0,D[4]=D[0]+X+J|0,D[0]=q},_doFinalize:function(){var C=this._data,w=C.words,k=this._nDataBytes*8,P=C.sigBytes*8;w[P>>>5]|=128<<24-P%32,w[(P+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,C.sigBytes=(w.length+1)*4,this._process();for(var B=this._hash,D=B.words,R=0;R<5;R++){var S=D[R];D[R]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return B},clone:function(){var C=c.clone.call(this);return C._hash=this._hash.clone(),C}});function y(C,w,k){return C^w^k}function _(C,w,k){return C&w|~C&k}function m(C,w,k){return(C|~w)^k}function p(C,w,k){return C&k|w&~k}function E(C,w,k){return C^(w|~k)}function b(C,w){return C<<w|C>>>32-w}o.RIPEMD160=c._createHelper(A),o.HmacRIPEMD160=c._createHmacHelper(A)}(),r.RIPEMD160})}(Rn)),Rn.exports}var Nn={exports:{}},x0;function Tn(){return x0||(x0=1,function(t,e){(function(r,n){t.exports=n(Q())})(W,function(r){(function(){var n=r,o=n.lib,a=o.Base,l=n.enc,c=l.Utf8,d=n.algo;d.HMAC=a.extend({init:function(f,s){f=this._hasher=new f.init,typeof s=="string"&&(s=c.parse(s));var x=f.blockSize,u=x*4;s.sigBytes>u&&(s=f.finalize(s)),s.clamp();for(var h=this._oKey=s.clone(),g=this._iKey=s.clone(),A=h.words,y=g.words,_=0;_<x;_++)A[_]^=1549556828,y[_]^=909522486;h.sigBytes=g.sigBytes=u,this.reset()},reset:function(){var f=this._hasher;f.reset(),f.update(this._iKey)},update:function(f){return this._hasher.update(f),this},finalize:function(f){var s=this._hasher,x=s.finalize(f);s.reset();var u=s.finalize(this._oKey.clone().concat(x));return u}})})()})}(Nn)),Nn.exports}var On={exports:{}},h0;function pd(){return h0||(h0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),wn(),Tn())})(W,function(r){return function(){var n=r,o=n.lib,a=o.Base,l=o.WordArray,c=n.algo,d=c.SHA256,f=c.HMAC,s=c.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:d,iterations:25e4}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,u){for(var h=this.cfg,g=f.create(h.hasher,x),A=l.create(),y=l.create([1]),_=A.words,m=y.words,p=h.keySize,E=h.iterations;_.length<p;){var b=g.update(u).finalize(y);g.reset();for(var C=b.words,w=C.length,k=b,P=1;P<E;P++){k=g.finalize(k),g.reset();for(var B=k.words,D=0;D<w;D++)C[D]^=B[D]}A.concat(b),m[0]++}return A.sigBytes=p*4,A}});n.PBKDF2=function(x,u,h){return s.create(h).compute(x,u)}}(),r.PBKDF2})}(On)),On.exports}var Pn={exports:{}},p0;function ke(){return p0||(p0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),i0(),Tn())})(W,function(r){return function(){var n=r,o=n.lib,a=o.Base,l=o.WordArray,c=n.algo,d=c.MD5,f=c.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:d,iterations:1}),init:function(s){this.cfg=this.cfg.extend(s)},compute:function(s,x){for(var u,h=this.cfg,g=h.hasher.create(),A=l.create(),y=A.words,_=h.keySize,m=h.iterations;y.length<_;){u&&g.update(u),u=g.update(s).finalize(x),g.reset();for(var p=1;p<m;p++)u=g.finalize(u),g.reset();A.concat(u)}return A.sigBytes=_*4,A}});n.EvpKDF=function(s,x,u){return f.create(u).compute(s,x)}}(),r.EvpKDF})}(Pn)),Pn.exports}var In={exports:{}},m0;function re(){return m0||(m0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),ke())})(W,function(r){r.lib.Cipher||function(n){var o=r,a=o.lib,l=a.Base,c=a.WordArray,d=a.BufferedBlockAlgorithm,f=o.enc;f.Utf8;var s=f.Base64,x=o.algo,u=x.EvpKDF,h=a.Cipher=d.extend({cfg:l.extend(),createEncryptor:function(B,D){return this.create(this._ENC_XFORM_MODE,B,D)},createDecryptor:function(B,D){return this.create(this._DEC_XFORM_MODE,B,D)},init:function(B,D,R){this.cfg=this.cfg.extend(R),this._xformMode=B,this._key=D,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(B){return this._append(B),this._process()},finalize:function(B){B&&this._append(B);var D=this._doFinalize();return D},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function B(D){return typeof D=="string"?P:C}return function(D){return{encrypt:function(R,S,I){return B(S).encrypt(D,R,S,I)},decrypt:function(R,S,I){return B(S).decrypt(D,R,S,I)}}}}()});a.StreamCipher=h.extend({_doFinalize:function(){var B=this._process(!0);return B},blockSize:1});var g=o.mode={},A=a.BlockCipherMode=l.extend({createEncryptor:function(B,D){return this.Encryptor.create(B,D)},createDecryptor:function(B,D){return this.Decryptor.create(B,D)},init:function(B,D){this._cipher=B,this._iv=D}}),y=g.CBC=function(){var B=A.extend();B.Encryptor=B.extend({processBlock:function(R,S){var I=this._cipher,V=I.blockSize;D.call(this,R,S,V),I.encryptBlock(R,S),this._prevBlock=R.slice(S,S+V)}}),B.Decryptor=B.extend({processBlock:function(R,S){var I=this._cipher,V=I.blockSize,M=R.slice(S,S+V);I.decryptBlock(R,S),D.call(this,R,S,V),this._prevBlock=M}});function D(R,S,I){var V,M=this._iv;M?(V=M,this._iv=n):V=this._prevBlock;for(var j=0;j<I;j++)R[S+j]^=V[j]}return B}(),_=o.pad={},m=_.Pkcs7={pad:function(B,D){for(var R=D*4,S=R-B.sigBytes%R,I=S<<24|S<<16|S<<8|S,V=[],M=0;M<S;M+=4)V.push(I);var j=c.create(V,S);B.concat(j)},unpad:function(B){var D=B.words[B.sigBytes-1>>>2]&255;B.sigBytes-=D}};a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:y,padding:m}),reset:function(){var B;h.reset.call(this);var D=this.cfg,R=D.iv,S=D.mode;this._xformMode==this._ENC_XFORM_MODE?B=S.createEncryptor:(B=S.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==B?this._mode.init(this,R&&R.words):(this._mode=B.call(S,this,R&&R.words),this._mode.__creator=B)},_doProcessBlock:function(B,D){this._mode.processBlock(B,D)},_doFinalize:function(){var B,D=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(D.pad(this._data,this.blockSize),B=this._process(!0)):(B=this._process(!0),D.unpad(B)),B},blockSize:128/32});var p=a.CipherParams=l.extend({init:function(B){this.mixIn(B)},toString:function(B){return(B||this.formatter).stringify(this)}}),E=o.format={},b=E.OpenSSL={stringify:function(B){var D,R=B.ciphertext,S=B.salt;return S?D=c.create([1398893684,1701076831]).concat(S).concat(R):D=R,D.toString(s)},parse:function(B){var D,R=s.parse(B),S=R.words;return S[0]==1398893684&&S[1]==1701076831&&(D=c.create(S.slice(2,4)),S.splice(0,4),R.sigBytes-=16),p.create({ciphertext:R,salt:D})}},C=a.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(B,D,R,S){S=this.cfg.extend(S);var I=B.createEncryptor(R,S),V=I.finalize(D),M=I.cfg;return p.create({ciphertext:V,key:R,iv:M.iv,algorithm:B,mode:M.mode,padding:M.padding,blockSize:B.blockSize,formatter:S.format})},decrypt:function(B,D,R,S){S=this.cfg.extend(S),D=this._parse(D,S.format);var I=B.createDecryptor(R,S).finalize(D.ciphertext);return I},_parse:function(B,D){return typeof B=="string"?D.parse(B,this):B}}),w=o.kdf={},k=w.OpenSSL={execute:function(B,D,R,S,I){if(S||(S=c.random(64/8)),I)var V=u.create({keySize:D+R,hasher:I}).compute(B,S);else var V=u.create({keySize:D+R}).compute(B,S);var M=c.create(V.words.slice(D),R*4);return V.sigBytes=D*4,p.create({key:V,iv:M,salt:S})}},P=a.PasswordBasedCipher=C.extend({cfg:C.cfg.extend({kdf:k}),encrypt:function(B,D,R,S){S=this.cfg.extend(S);var I=S.kdf.execute(R,B.keySize,B.ivSize,S.salt,S.hasher);S.iv=I.iv;var V=C.encrypt.call(this,B,D,I.key,S);return V.mixIn(I),V},decrypt:function(B,D,R,S){S=this.cfg.extend(S),D=this._parse(D,S.format);var I=S.kdf.execute(R,B.keySize,B.ivSize,D.salt,S.hasher);S.iv=I.iv;var V=C.decrypt.call(this,B,D,I.key,S);return V}})}()})}(In)),In.exports}var Vn={exports:{}},g0;function md(){return g0||(g0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,l){var c=this._cipher,d=c.blockSize;o.call(this,a,l,d,c),this._prevBlock=a.slice(l,l+d)}}),n.Decryptor=n.extend({processBlock:function(a,l){var c=this._cipher,d=c.blockSize,f=a.slice(l,l+d);o.call(this,a,l,d,c),this._prevBlock=f}});function o(a,l,c,d){var f,s=this._iv;s?(f=s.slice(0),this._iv=void 0):f=this._prevBlock,d.encryptBlock(f,0);for(var x=0;x<c;x++)a[l+x]^=f[x]}return n}(),r.mode.CFB})}(Vn)),Vn.exports}var Ln={exports:{}},y0;function gd(){return y0||(y0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,l){var c=this._cipher,d=c.blockSize,f=this._iv,s=this._counter;f&&(s=this._counter=f.slice(0),this._iv=void 0);var x=s.slice(0);c.encryptBlock(x,0),s[d-1]=s[d-1]+1|0;for(var u=0;u<d;u++)a[l+u]^=x[u]}});return n.Decryptor=o,n}(),r.mode.CTR})}(Ln)),Ln.exports}var Hn={exports:{}},_0;function yd(){return _0||(_0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){/** @preserve
|
|
17
|
+
*/return function(o){var i=r,a=i.lib,c=a.WordArray,d=a.Hasher,x=i.algo,l=c.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=c.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),m=c.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=c.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=c.create([0,1518500249,1859775393,2400959708,2840853838]),u=c.create([1352829926,1548603684,1836072691,2053994217,0]),p=x.RIPEMD160=d.extend({_doReset:function(){this._hash=c.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(v,b){for(var D=0;D<16;D++){var I=b+D,B=v[I];v[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var k=this._hash.words,F=h.words,S=u.words,O=l.words,P=f.words,H=m.words,Y=s.words,W,J,Q,N,R,V,T,K,X,re;V=W=k[0],T=J=k[1],K=Q=k[2],X=N=k[3],re=R=k[4];for(var M,D=0;D<80;D+=1)M=W+v[b+O[D]]|0,D<16?M+=y(J,Q,N)+F[0]:D<32?M+=A(J,Q,N)+F[1]:D<48?M+=g(J,Q,N)+F[2]:D<64?M+=_(J,Q,N)+F[3]:M+=E(J,Q,N)+F[4],M=M|0,M=C(M,H[D]),M=M+R|0,W=R,R=N,N=C(Q,10),Q=J,J=M,M=V+v[b+P[D]]|0,D<16?M+=E(T,K,X)+S[0]:D<32?M+=_(T,K,X)+S[1]:D<48?M+=g(T,K,X)+S[2]:D<64?M+=A(T,K,X)+S[3]:M+=y(T,K,X)+S[4],M=M|0,M=C(M,Y[D]),M=M+re|0,V=re,re=X,X=C(K,10),K=T,T=M;M=k[1]+Q+X|0,k[1]=k[2]+N+re|0,k[2]=k[3]+R+V|0,k[3]=k[4]+W+T|0,k[4]=k[0]+J+K|0,k[0]=M},_doFinalize:function(){var v=this._data,b=v.words,D=this._nDataBytes*8,I=v.sigBytes*8;b[I>>>5]|=128<<24-I%32,b[(I+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,v.sigBytes=(b.length+1)*4,this._process();for(var B=this._hash,k=B.words,F=0;F<5;F++){var S=k[F];k[F]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return B},clone:function(){var v=d.clone.call(this);return v._hash=this._hash.clone(),v}});function y(v,b,D){return v^b^D}function A(v,b,D){return v&b|~v&D}function g(v,b,D){return(v|~b)^D}function _(v,b,D){return v&D|b&~D}function E(v,b,D){return v^(b|~D)}function C(v,b){return v<<b|v>>>32-b}i.RIPEMD160=d._createHelper(p),i.HmacRIPEMD160=d._createHmacHelper(p)}(),r.RIPEMD160})}(Zn)),Zn.exports}var $n={exports:{}},m0;function er(){return m0||(m0=1,function(t,e){(function(r,o){t.exports=o(q())})(L,function(r){(function(){var o=r,i=o.lib,a=i.Base,c=o.enc,d=c.Utf8,x=o.algo;x.HMAC=a.extend({init:function(l,f){l=this._hasher=new l.init,typeof f=="string"&&(f=d.parse(f));var m=l.blockSize,s=m*4;f.sigBytes>s&&(f=l.finalize(f)),f.clamp();for(var h=this._oKey=f.clone(),u=this._iKey=f.clone(),p=h.words,y=u.words,A=0;A<m;A++)p[A]^=1549556828,y[A]^=909522486;h.sigBytes=u.sigBytes=s,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var f=this._hasher,m=f.finalize(l);f.reset();var s=f.finalize(this._oKey.clone().concat(m));return s}})})()})}($n)),$n.exports}var tr={exports:{}},p0;function Vc(){return p0||(p0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Jn(),er())})(L,function(r){return function(){var o=r,i=o.lib,a=i.Base,c=i.WordArray,d=o.algo,x=d.SHA256,l=d.HMAC,f=d.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:x,iterations:25e4}),init:function(m){this.cfg=this.cfg.extend(m)},compute:function(m,s){for(var h=this.cfg,u=l.create(h.hasher,m),p=c.create(),y=c.create([1]),A=p.words,g=y.words,_=h.keySize,E=h.iterations;A.length<_;){var C=u.update(s).finalize(y);u.reset();for(var v=C.words,b=v.length,D=C,I=1;I<E;I++){D=u.finalize(D),u.reset();for(var B=D.words,k=0;k<b;k++)v[k]^=B[k]}p.concat(C),g[0]++}return p.sigBytes=_*4,p}});o.PBKDF2=function(m,s,h){return f.create(h).compute(m,s)}}(),r.PBKDF2})}(tr)),tr.exports}var nr={exports:{}},g0;function Be(){return g0||(g0=1,function(t,e){(function(r,o,i){t.exports=o(q(),s0(),er())})(L,function(r){return function(){var o=r,i=o.lib,a=i.Base,c=i.WordArray,d=o.algo,x=d.MD5,l=d.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:x,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,m){for(var s,h=this.cfg,u=h.hasher.create(),p=c.create(),y=p.words,A=h.keySize,g=h.iterations;y.length<A;){s&&u.update(s),s=u.update(f).finalize(m),u.reset();for(var _=1;_<g;_++)s=u.finalize(s),u.reset();p.concat(s)}return p.sigBytes=A*4,p}});o.EvpKDF=function(f,m,s){return l.create(s).compute(f,m)}}(),r.EvpKDF})}(nr)),nr.exports}var rr={exports:{}},_0;function ee(){return _0||(_0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Be())})(L,function(r){r.lib.Cipher||function(o){var i=r,a=i.lib,c=a.Base,d=a.WordArray,x=a.BufferedBlockAlgorithm,l=i.enc;l.Utf8;var f=l.Base64,m=i.algo,s=m.EvpKDF,h=a.Cipher=x.extend({cfg:c.extend(),createEncryptor:function(B,k){return this.create(this._ENC_XFORM_MODE,B,k)},createDecryptor:function(B,k){return this.create(this._DEC_XFORM_MODE,B,k)},init:function(B,k,F){this.cfg=this.cfg.extend(F),this._xformMode=B,this._key=k,this.reset()},reset:function(){x.reset.call(this),this._doReset()},process:function(B){return this._append(B),this._process()},finalize:function(B){B&&this._append(B);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function B(k){return typeof k=="string"?I:v}return function(k){return{encrypt:function(F,S,O){return B(S).encrypt(k,F,S,O)},decrypt:function(F,S,O){return B(S).decrypt(k,F,S,O)}}}}()});a.StreamCipher=h.extend({_doFinalize:function(){var B=this._process(!0);return B},blockSize:1});var u=i.mode={},p=a.BlockCipherMode=c.extend({createEncryptor:function(B,k){return this.Encryptor.create(B,k)},createDecryptor:function(B,k){return this.Decryptor.create(B,k)},init:function(B,k){this._cipher=B,this._iv=k}}),y=u.CBC=function(){var B=p.extend();B.Encryptor=B.extend({processBlock:function(F,S){var O=this._cipher,P=O.blockSize;k.call(this,F,S,P),O.encryptBlock(F,S),this._prevBlock=F.slice(S,S+P)}}),B.Decryptor=B.extend({processBlock:function(F,S){var O=this._cipher,P=O.blockSize,H=F.slice(S,S+P);O.decryptBlock(F,S),k.call(this,F,S,P),this._prevBlock=H}});function k(F,S,O){var P,H=this._iv;H?(P=H,this._iv=o):P=this._prevBlock;for(var Y=0;Y<O;Y++)F[S+Y]^=P[Y]}return B}(),A=i.pad={},g=A.Pkcs7={pad:function(B,k){for(var F=k*4,S=F-B.sigBytes%F,O=S<<24|S<<16|S<<8|S,P=[],H=0;H<S;H+=4)P.push(O);var Y=d.create(P,S);B.concat(Y)},unpad:function(B){var k=B.words[B.sigBytes-1>>>2]&255;B.sigBytes-=k}};a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:y,padding:g}),reset:function(){var B;h.reset.call(this);var k=this.cfg,F=k.iv,S=k.mode;this._xformMode==this._ENC_XFORM_MODE?B=S.createEncryptor:(B=S.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==B?this._mode.init(this,F&&F.words):(this._mode=B.call(S,this,F&&F.words),this._mode.__creator=B)},_doProcessBlock:function(B,k){this._mode.processBlock(B,k)},_doFinalize:function(){var B,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),B=this._process(!0)):(B=this._process(!0),k.unpad(B)),B},blockSize:128/32});var _=a.CipherParams=c.extend({init:function(B){this.mixIn(B)},toString:function(B){return(B||this.formatter).stringify(this)}}),E=i.format={},C=E.OpenSSL={stringify:function(B){var k,F=B.ciphertext,S=B.salt;return S?k=d.create([1398893684,1701076831]).concat(S).concat(F):k=F,k.toString(f)},parse:function(B){var k,F=f.parse(B),S=F.words;return S[0]==1398893684&&S[1]==1701076831&&(k=d.create(S.slice(2,4)),S.splice(0,4),F.sigBytes-=16),_.create({ciphertext:F,salt:k})}},v=a.SerializableCipher=c.extend({cfg:c.extend({format:C}),encrypt:function(B,k,F,S){S=this.cfg.extend(S);var O=B.createEncryptor(F,S),P=O.finalize(k),H=O.cfg;return _.create({ciphertext:P,key:F,iv:H.iv,algorithm:B,mode:H.mode,padding:H.padding,blockSize:B.blockSize,formatter:S.format})},decrypt:function(B,k,F,S){S=this.cfg.extend(S),k=this._parse(k,S.format);var O=B.createDecryptor(F,S).finalize(k.ciphertext);return O},_parse:function(B,k){return typeof B=="string"?k.parse(B,this):B}}),b=i.kdf={},D=b.OpenSSL={execute:function(B,k,F,S,O){if(S||(S=d.random(64/8)),O)var P=s.create({keySize:k+F,hasher:O}).compute(B,S);else var P=s.create({keySize:k+F}).compute(B,S);var H=d.create(P.words.slice(k),F*4);return P.sigBytes=k*4,_.create({key:P,iv:H,salt:S})}},I=a.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:D}),encrypt:function(B,k,F,S){S=this.cfg.extend(S);var O=S.kdf.execute(F,B.keySize,B.ivSize,S.salt,S.hasher);S.iv=O.iv;var P=v.encrypt.call(this,B,k,O.key,S);return P.mixIn(O),P},decrypt:function(B,k,F,S){S=this.cfg.extend(S),k=this._parse(k,S.format);var O=S.kdf.execute(F,B.keySize,B.ivSize,k.salt,S.hasher);S.iv=O.iv;var P=v.decrypt.call(this,B,k,O.key,S);return P}})}()})}(rr)),rr.exports}var or={exports:{}},y0;function Ic(){return y0||(y0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.mode.CFB=function(){var o=r.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(a,c){var d=this._cipher,x=d.blockSize;i.call(this,a,c,x,d),this._prevBlock=a.slice(c,c+x)}}),o.Decryptor=o.extend({processBlock:function(a,c){var d=this._cipher,x=d.blockSize,l=a.slice(c,c+x);i.call(this,a,c,x,d),this._prevBlock=l}});function i(a,c,d,x){var l,f=this._iv;f?(l=f.slice(0),this._iv=void 0):l=this._prevBlock,x.encryptBlock(l,0);for(var m=0;m<d;m++)a[c+m]^=l[m]}return o}(),r.mode.CFB})}(or)),or.exports}var ir={exports:{}},E0;function Oc(){return E0||(E0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.mode.CTR=function(){var o=r.lib.BlockCipherMode.extend(),i=o.Encryptor=o.extend({processBlock:function(a,c){var d=this._cipher,x=d.blockSize,l=this._iv,f=this._counter;l&&(f=this._counter=l.slice(0),this._iv=void 0);var m=f.slice(0);d.encryptBlock(m,0),f[x-1]=f[x-1]+1|0;for(var s=0;s<x;s++)a[c+s]^=m[s]}});return o.Decryptor=i,o}(),r.mode.CTR})}(ir)),ir.exports}var ar={exports:{}},A0;function Pc(){return A0||(A0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){/** @preserve
|
|
22
18
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
23
19
|
* derived from CryptoJS.mode.CTR
|
|
24
20
|
* Jan Hruby jhruby.web@gmail.com
|
|
25
|
-
*/return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function o(c){if((c>>24&255)===255){var d=c>>16&255,f=c>>8&255,s=c&255;d===255?(d=0,f===255?(f=0,s===255?s=0:++s):++f):++d,c=0,c+=d<<16,c+=f<<8,c+=s}else c+=1<<24;return c}function a(c){return(c[0]=o(c[0]))===0&&(c[1]=o(c[1])),c}var l=n.Encryptor=n.extend({processBlock:function(c,d){var f=this._cipher,s=f.blockSize,x=this._iv,u=this._counter;x&&(u=this._counter=x.slice(0),this._iv=void 0),a(u);var h=u.slice(0);f.encryptBlock(h,0);for(var g=0;g<s;g++)c[d+g]^=h[g]}});return n.Decryptor=l,n}(),r.mode.CTRGladman})}(Hn)),Hn.exports}var Mn={exports:{}},E0;function _d(){return E0||(E0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,l){var c=this._cipher,d=c.blockSize,f=this._iv,s=this._keystream;f&&(s=this._keystream=f.slice(0),this._iv=void 0),c.encryptBlock(s,0);for(var x=0;x<d;x++)a[l+x]^=s[x]}});return n.Decryptor=o,n}(),r.mode.OFB})}(Mn)),Mn.exports}var zn={exports:{}},A0;function Ed(){return A0||(A0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(o,a){this._cipher.encryptBlock(o,a)}}),n.Decryptor=n.extend({processBlock:function(o,a){this._cipher.decryptBlock(o,a)}}),n}(),r.mode.ECB})}(zn)),zn.exports}var Un={exports:{}},v0;function Ad(){return v0||(v0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.pad.AnsiX923={pad:function(n,o){var a=n.sigBytes,l=o*4,c=l-a%l,d=a+c-1;n.clamp(),n.words[d>>>2]|=c<<24-d%4*8,n.sigBytes+=c},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(Un)),Un.exports}var qn={exports:{}},B0;function vd(){return B0||(B0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,l=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(l-1)).concat(r.lib.WordArray.create([l<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(qn)),qn.exports}var Wn={exports:{}},C0;function Bd(){return C0||(C0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(Wn)),Wn.exports}var Gn={exports:{}},b0;function Cd(){return b0||(b0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(Gn)),Gn.exports}var Qn={exports:{}},w0;function bd(){return w0||(w0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(Qn)),Qn.exports}var jn={exports:{}},D0;function wd(){return D0||(D0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),re())})(W,function(r){return function(n){var o=r,a=o.lib,l=a.CipherParams,c=o.enc,d=c.Hex,f=o.format;f.Hex={stringify:function(s){return s.ciphertext.toString(d)},parse:function(s){var x=d.parse(s);return l.create({ciphertext:x})}}}(),r.format.Hex})}(jn)),jn.exports}var Kn={exports:{}},k0;function Dd(){return k0||(k0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,l=n.algo,c=[],d=[],f=[],s=[],x=[],u=[],h=[],g=[],A=[],y=[];(function(){for(var p=[],E=0;E<256;E++)E<128?p[E]=E<<1:p[E]=E<<1^283;for(var b=0,C=0,E=0;E<256;E++){var w=C^C<<1^C<<2^C<<3^C<<4;w=w>>>8^w&255^99,c[b]=w,d[w]=b;var k=p[b],P=p[k],B=p[P],D=p[w]*257^w*16843008;f[b]=D<<24|D>>>8,s[b]=D<<16|D>>>16,x[b]=D<<8|D>>>24,u[b]=D;var D=B*16843009^P*65537^k*257^b*16843008;h[w]=D<<24|D>>>8,g[w]=D<<16|D>>>16,A[w]=D<<8|D>>>24,y[w]=D,b?(b=k^p[p[p[B^k]]],C^=p[p[C]]):b=C=1}})();var _=[0,1,2,4,8,16,32,64,128,27,54],m=l.AES=a.extend({_doReset:function(){var p;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var E=this._keyPriorReset=this._key,b=E.words,C=E.sigBytes/4,w=this._nRounds=C+6,k=(w+1)*4,P=this._keySchedule=[],B=0;B<k;B++)B<C?P[B]=b[B]:(p=P[B-1],B%C?C>6&&B%C==4&&(p=c[p>>>24]<<24|c[p>>>16&255]<<16|c[p>>>8&255]<<8|c[p&255]):(p=p<<8|p>>>24,p=c[p>>>24]<<24|c[p>>>16&255]<<16|c[p>>>8&255]<<8|c[p&255],p^=_[B/C|0]<<24),P[B]=P[B-C]^p);for(var D=this._invKeySchedule=[],R=0;R<k;R++){var B=k-R;if(R%4)var p=P[B];else var p=P[B-4];R<4||B<=4?D[R]=p:D[R]=h[c[p>>>24]]^g[c[p>>>16&255]]^A[c[p>>>8&255]]^y[c[p&255]]}}},encryptBlock:function(p,E){this._doCryptBlock(p,E,this._keySchedule,f,s,x,u,c)},decryptBlock:function(p,E){var b=p[E+1];p[E+1]=p[E+3],p[E+3]=b,this._doCryptBlock(p,E,this._invKeySchedule,h,g,A,y,d);var b=p[E+1];p[E+1]=p[E+3],p[E+3]=b},_doCryptBlock:function(p,E,b,C,w,k,P,B){for(var D=this._nRounds,R=p[E]^b[0],S=p[E+1]^b[1],I=p[E+2]^b[2],V=p[E+3]^b[3],M=4,j=1;j<D;j++){var K=C[R>>>24]^w[S>>>16&255]^k[I>>>8&255]^P[V&255]^b[M++],X=C[S>>>24]^w[I>>>16&255]^k[V>>>8&255]^P[R&255]^b[M++],U=C[I>>>24]^w[V>>>16&255]^k[R>>>8&255]^P[S&255]^b[M++],F=C[V>>>24]^w[R>>>16&255]^k[S>>>8&255]^P[I&255]^b[M++];R=K,S=X,I=U,V=F}var K=(B[R>>>24]<<24|B[S>>>16&255]<<16|B[I>>>8&255]<<8|B[V&255])^b[M++],X=(B[S>>>24]<<24|B[I>>>16&255]<<16|B[V>>>8&255]<<8|B[R&255])^b[M++],U=(B[I>>>24]<<24|B[V>>>16&255]<<16|B[R>>>8&255]<<8|B[S&255])^b[M++],F=(B[V>>>24]<<24|B[R>>>16&255]<<16|B[S>>>8&255]<<8|B[I&255])^b[M++];p[E]=K,p[E+1]=X,p[E+2]=U,p[E+3]=F},keySize:256/32});n.AES=a._createHelper(m)}(),r.AES})}(Kn)),Kn.exports}var Xn={exports:{}},F0;function kd(){return F0||(F0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,l=o.BlockCipher,c=n.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=c.DES=l.extend({_doReset:function(){for(var _=this._key,m=_.words,p=[],E=0;E<56;E++){var b=d[E]-1;p[E]=m[b>>>5]>>>31-b%32&1}for(var C=this._subKeys=[],w=0;w<16;w++){for(var k=C[w]=[],P=s[w],E=0;E<24;E++)k[E/6|0]|=p[(f[E]-1+P)%28]<<31-E%6,k[4+(E/6|0)]|=p[28+(f[E+24]-1+P)%28]<<31-E%6;k[0]=k[0]<<1|k[0]>>>31;for(var E=1;E<7;E++)k[E]=k[E]>>>(E-1)*4+3;k[7]=k[7]<<5|k[7]>>>27}for(var B=this._invSubKeys=[],E=0;E<16;E++)B[E]=C[15-E]},encryptBlock:function(_,m){this._doCryptBlock(_,m,this._subKeys)},decryptBlock:function(_,m){this._doCryptBlock(_,m,this._invSubKeys)},_doCryptBlock:function(_,m,p){this._lBlock=_[m],this._rBlock=_[m+1],g.call(this,4,252645135),g.call(this,16,65535),A.call(this,2,858993459),A.call(this,8,16711935),g.call(this,1,1431655765);for(var E=0;E<16;E++){for(var b=p[E],C=this._lBlock,w=this._rBlock,k=0,P=0;P<8;P++)k|=x[P][((w^b[P])&u[P])>>>0];this._lBlock=w,this._rBlock=C^k}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,g.call(this,1,1431655765),A.call(this,8,16711935),A.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),_[m]=this._lBlock,_[m+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(_,m){var p=(this._lBlock>>>_^this._rBlock)&m;this._rBlock^=p,this._lBlock^=p<<_}function A(_,m){var p=(this._rBlock>>>_^this._lBlock)&m;this._lBlock^=p,this._rBlock^=p<<_}n.DES=l._createHelper(h);var y=c.TripleDES=l.extend({_doReset:function(){var _=this._key,m=_.words;if(m.length!==2&&m.length!==4&&m.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var p=m.slice(0,2),E=m.length<4?m.slice(0,2):m.slice(2,4),b=m.length<6?m.slice(0,2):m.slice(4,6);this._des1=h.createEncryptor(a.create(p)),this._des2=h.createEncryptor(a.create(E)),this._des3=h.createEncryptor(a.create(b))},encryptBlock:function(_,m){this._des1.encryptBlock(_,m),this._des2.decryptBlock(_,m),this._des3.encryptBlock(_,m)},decryptBlock:function(_,m){this._des3.decryptBlock(_,m),this._des2.encryptBlock(_,m),this._des1.decryptBlock(_,m)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=l._createHelper(y)}(),r.TripleDES})}(Xn)),Xn.exports}var Jn={exports:{}},S0;function Fd(){return S0||(S0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,l=n.algo,c=l.RC4=a.extend({_doReset:function(){for(var s=this._key,x=s.words,u=s.sigBytes,h=this._S=[],g=0;g<256;g++)h[g]=g;for(var g=0,A=0;g<256;g++){var y=g%u,_=x[y>>>2]>>>24-y%4*8&255;A=(A+h[g]+_)%256;var m=h[g];h[g]=h[A],h[A]=m}this._i=this._j=0},_doProcessBlock:function(s,x){s[x]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var s=this._S,x=this._i,u=this._j,h=0,g=0;g<4;g++){x=(x+1)%256,u=(u+s[x])%256;var A=s[x];s[x]=s[u],s[u]=A,h|=s[(s[x]+s[u])%256]<<24-g*8}return this._i=x,this._j=u,h}n.RC4=a._createHelper(c);var f=l.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)d.call(this)}});n.RC4Drop=a._createHelper(f)}(),r.RC4})}(Jn)),Jn.exports}var Yn={exports:{}},R0;function Sd(){return R0||(R0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,l=n.algo,c=[],d=[],f=[],s=l.Rabbit=a.extend({_doReset:function(){for(var u=this._key.words,h=this.cfg.iv,g=0;g<4;g++)u[g]=(u[g]<<8|u[g]>>>24)&16711935|(u[g]<<24|u[g]>>>8)&4278255360;var A=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],y=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var g=0;g<4;g++)x.call(this);for(var g=0;g<8;g++)y[g]^=A[g+4&7];if(h){var _=h.words,m=_[0],p=_[1],E=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,b=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,C=E>>>16|b&4294901760,w=b<<16|E&65535;y[0]^=E,y[1]^=C,y[2]^=b,y[3]^=w,y[4]^=E,y[5]^=C,y[6]^=b,y[7]^=w;for(var g=0;g<4;g++)x.call(this)}},_doProcessBlock:function(u,h){var g=this._X;x.call(this),c[0]=g[0]^g[5]>>>16^g[3]<<16,c[1]=g[2]^g[7]>>>16^g[5]<<16,c[2]=g[4]^g[1]>>>16^g[7]<<16,c[3]=g[6]^g[3]>>>16^g[1]<<16;for(var A=0;A<4;A++)c[A]=(c[A]<<8|c[A]>>>24)&16711935|(c[A]<<24|c[A]>>>8)&4278255360,u[h+A]^=c[A]},blockSize:128/32,ivSize:64/32});function x(){for(var u=this._X,h=this._C,g=0;g<8;g++)d[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<d[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<d[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<d[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<d[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<d[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<d[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<d[6]>>>0?1:0)|0,this._b=h[7]>>>0<d[7]>>>0?1:0;for(var g=0;g<8;g++){var A=u[g]+h[g],y=A&65535,_=A>>>16,m=((y*y>>>17)+y*_>>>15)+_*_,p=((A&4294901760)*A|0)+((A&65535)*A|0);f[g]=m^p}u[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,u[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,u[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,u[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,u[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,u[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,u[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,u[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}n.Rabbit=a._createHelper(s)}(),r.Rabbit})}(Yn)),Yn.exports}var Zn={exports:{}},N0;function Rd(){return N0||(N0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,l=n.algo,c=[],d=[],f=[],s=l.RabbitLegacy=a.extend({_doReset:function(){var u=this._key.words,h=this.cfg.iv,g=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],A=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var y=0;y<4;y++)x.call(this);for(var y=0;y<8;y++)A[y]^=g[y+4&7];if(h){var _=h.words,m=_[0],p=_[1],E=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,b=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,C=E>>>16|b&4294901760,w=b<<16|E&65535;A[0]^=E,A[1]^=C,A[2]^=b,A[3]^=w,A[4]^=E,A[5]^=C,A[6]^=b,A[7]^=w;for(var y=0;y<4;y++)x.call(this)}},_doProcessBlock:function(u,h){var g=this._X;x.call(this),c[0]=g[0]^g[5]>>>16^g[3]<<16,c[1]=g[2]^g[7]>>>16^g[5]<<16,c[2]=g[4]^g[1]>>>16^g[7]<<16,c[3]=g[6]^g[3]>>>16^g[1]<<16;for(var A=0;A<4;A++)c[A]=(c[A]<<8|c[A]>>>24)&16711935|(c[A]<<24|c[A]>>>8)&4278255360,u[h+A]^=c[A]},blockSize:128/32,ivSize:64/32});function x(){for(var u=this._X,h=this._C,g=0;g<8;g++)d[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<d[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<d[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<d[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<d[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<d[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<d[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<d[6]>>>0?1:0)|0,this._b=h[7]>>>0<d[7]>>>0?1:0;for(var g=0;g<8;g++){var A=u[g]+h[g],y=A&65535,_=A>>>16,m=((y*y>>>17)+y*_>>>15)+_*_,p=((A&4294901760)*A|0)+((A&65535)*A|0);f[g]=m^p}u[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,u[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,u[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,u[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,u[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,u[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,u[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,u[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}n.RabbitLegacy=a._createHelper(s)}(),r.RabbitLegacy})}(Zn)),Zn.exports}var $n={exports:{}},T0;function Nd(){return T0||(T0=1,function(t,e){(function(r,n,o){t.exports=n(Q(),We(),Ge(),ke(),re())})(W,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,l=n.algo;const c=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],f=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function x(y,_){let m=_>>24&255,p=_>>16&255,E=_>>8&255,b=_&255,C=y.sbox[0][m]+y.sbox[1][p];return C=C^y.sbox[2][E],C=C+y.sbox[3][b],C}function u(y,_,m){let p=_,E=m,b;for(let C=0;C<c;++C)p=p^y.pbox[C],E=x(y,p)^E,b=p,p=E,E=b;return b=p,p=E,E=b,E=E^y.pbox[c],p=p^y.pbox[c+1],{left:p,right:E}}function h(y,_,m){let p=_,E=m,b;for(let C=c+1;C>1;--C)p=p^y.pbox[C],E=x(y,p)^E,b=p,p=E,E=b;return b=p,p=E,E=b,E=E^y.pbox[1],p=p^y.pbox[0],{left:p,right:E}}function g(y,_,m){for(let w=0;w<4;w++){y.sbox[w]=[];for(let k=0;k<256;k++)y.sbox[w][k]=f[w][k]}let p=0;for(let w=0;w<c+2;w++)y.pbox[w]=d[w]^_[p],p++,p>=m&&(p=0);let E=0,b=0,C=0;for(let w=0;w<c+2;w+=2)C=u(y,E,b),E=C.left,b=C.right,y.pbox[w]=E,y.pbox[w+1]=b;for(let w=0;w<4;w++)for(let k=0;k<256;k+=2)C=u(y,E,b),E=C.left,b=C.right,y.sbox[w][k]=E,y.sbox[w][k+1]=b;return!0}var A=l.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var y=this._keyPriorReset=this._key,_=y.words,m=y.sigBytes/4;g(s,_,m)}},encryptBlock:function(y,_){var m=u(s,y[_],y[_+1]);y[_]=m.left,y[_+1]=m.right},decryptBlock:function(y,_){var m=h(s,y[_],y[_+1]);y[_]=m.left,y[_+1]=m.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=a._createHelper(A)}(),r.Blowfish})}($n)),$n.exports}(function(t,e){(function(r,n,o){t.exports=n(Q(),ar(),ld(),cd(),We(),fd(),Ge(),i0(),wn(),dd(),c0(),ud(),xd(),hd(),Tn(),pd(),ke(),re(),md(),gd(),yd(),_d(),Ed(),Ad(),vd(),Bd(),Cd(),bd(),wd(),Dd(),kd(),Fd(),Sd(),Rd(),Nd())})(W,function(r){return r})})(Ji);var Td=Ji.exports;const O0=Ko(Td),Od="7L4vPoAj6XLUFzSvMstMSwlRX8ZsEY1E";function Pd(t,e=Od){if(!t||typeof t!="object")return O0.MD5((t?String(t):"")+e).toString();const a=Object.entries(t).filter(([l,c])=>!(l==="sign"||c==null)).sort(([l],[c])=>l<c?-1:l>c?1:0).map(([l,c])=>`${c}`).join("&")+e;return O0.MD5(a).toString()}const Id="https://yunzhi.play.cn",sr=Nr.create({baseURL:Id,timeout:3e4,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}});sr.interceptors.request.use(t=>{const e=Ce.get("ass_access_token")||"",r=Ce.get("ass_channel_code")||"",n={...t.headers};if(e&&(n.authorization=e),r&&(n.channel_code=r),t.data&&typeof t.data=="object"&&!(typeof FormData<"u"&&t.data instanceof FormData)){const o=Pd(t.data);n.sign=o}return t.headers=n,t},t=>Promise.reject(t)),sr.interceptors.response.use(t=>t.data,t=>Promise.reject(t));function lr(t){return De({url:"/api/v6/terminal/configs/by_name",method:"get",params:t,ourl:""})}function Vd(t){return De({url:"/api/v1/user/info.json",method:"get",params:t,ourl:""})}function Ld(t){return De({url:"/api/v1/users/mobile/members/information",method:"get",params:t,ourl:""})}function P0(t){return De({url:`/api/v6/contents/${t||1981}`,method:"get",ourl:""})}function Bt(t){return De({url:`/api/v6/contents/games/${t}`,method:"get",ourl:""})}function Hd(t){return De({url:"http://192.168.251.90:13000/api/v1/paas/common/hang_up/list?access_token="+t+"&client_id=8888105",method:"get",ourl:""})}function Md(t,e){return De({url:`/api/v5/games/${t}/play?user_id=${e}`,method:"get",headers:{channel_code:"33040993",user_id:e,vc:99999,client_id:"8888107"},ourl:""})}function zd(t){return De({url:"/apis/logs",params:t,method:"get",ourl:""})}function Ud(t){return sr({url:"/yunzhi/api/benefit/hosting/game/check",method:"post",data:t})}function qd(t){return sr({url:"/yunzhi/api/benefit/hosting/game/scenario",method:"post",data:t})}const Kp="",cr=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r},Wd={name:"AnimatedIframe",props:{url:{type:String,required:!0},updateData:{type:Boolean,default:!1}},data(){return{isVisible:!1}},mounted(){},methods:{hide(){this.isVisible=!1},show(){this.isVisible=!0},toggleVisibility(){this.isVisible=!this.isVisible,this.$emit("updateData",this.isVisible)}}},Gd={class:"iframe-container"},Qd=["src"];function jd(t,e,r,n,o,a){return i.withDirectives((i.openBlock(),i.createElementBlock("div",Gd,[i.createElementVNode("iframe",{src:r.url,frameborder:"0"},null,8,Qd),i.createElementVNode("button",{onClick:e[0]||(e[0]=(...l)=>a.toggleVisibility&&a.toggleVisibility(...l)),class:"close-button",id:"close-button-id"})],512)),[[i.vShow,o.isVisible]])}const Kd=cr(Wd,[["render",jd],["__scopeId","data-v-b9639756"]]),I0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAAByCAYAAACP3YV9AAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAleSURBVHgB7Z1fSFRZHMd/7QYptIyy7Gq5rf3btgSNjQrS7aXViB0LbKSXFTL0pbYe8t3e9qmoh919k9gF98HIQNoeYi3C1KAgIyNbpQ2VtCTQgbYUKvd8nXvc6zgz99yZ++ecc+8HDlN6g/LT7/z5/c45dwWpyyrWClgrYi1i/DpiNJBnPJNMnLVZ1uaMX8+w9tL4/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R/6BeJ7gEJeWNVt24Od7y8krWB4H1zb+boSYaWgN3BkV5OKtH5PJNoasDBO0whPbV4h54QYVQFP4pvYOc4ABl23FcGo0VXB1zFIQ8a54SFi7YDh9Pba86jlIOAWFbvwv2DzsOy1vx2ad4eXruHflMEOp6DviAHDVbHK5HRBecWxf4xoQm30pN8IEuWnkmyRPSQeGohDlMpeg4DkV95hKOCSFKQ+SBiSAAdFngkDOL2fZ6Sd5AdzNcqOyoE+8WJto1Lkk40xAItSIaJZYNI02p/rAG+r0vR9ox7QK61K1xK85UlzS1QZvaAhOiQpxYRkkntH336ooQ7c2aNYDQmP44JhrtrabrBi4jVmANYTpklCkOxwZYmrE+ipnohfejNj6hdaNwV6j+dyjVcJZRHMeTHaaRss+woQpfrRPZxIo8qYbreLKIRul9lwpvcznOUW1bPeYkyUNev/NITGzWSKwoL5BJLwLzSM5zNpKJmlY4dQ2eXSBFIzI8jcQuGfaK5jVyJaZSxhVll3HSe1ZuXrPU67ACmFKHUteJJFHW0rrV0huq5vX3DGdgJ1zsLaOhOF2KMCT55mWq95atRS6NrLlIh0N4XEQzsYkrJT3myKM2p8Gyq6/M2neYr7vzwf4z3R+QMmM46qDmkKETOSLpc99ncmWOJ02olRIPa4M46OXqkslFdLiglEZE16IQQzD9umRnHIlTHwKCDK2xowmbnH04zmv1cxM1jzKqbLqva7AqaC1R8tC3LuRFdPzsVRDWBNnfXqQHWGMhouO1jJqJBT5d6D8kJiikyXkahRCdxqSDGh6xYQkyEg/5zo7J2CG2iyI3jcKJuqDrk7p0Zw1scHr0r42bVbiT/wGKENYdbKBOJQAAAABJRU5ErkJggg==",Xp="",Jd={name:"HangupStatus",props:{gameInfo:{type:Object,default:()=>({})},startTime:{type:Date,default:()=>new Date}},data(){return{currentTime:new Date,timer:null}},computed:{elapsedSeconds(){return Math.floor((this.currentTime-this.startTime)/1e3)},formattedTime(){const t=this.gameInfo.lockTime+this.gameInfo.lockSetTime*1e3,e=Math.floor(t/3600),r=Math.floor(t%3600/60),n=t%60;return console.log(`${e}:${r.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`,"hours,minutes,seconds"),`${e}:${r.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`},endTime(){const t=this.gameInfo.lockTime+this.gameInfo.lockSetTime*1e3,e=new Date(t);console.log("结束时间:",e.toLocaleString("zh-CN")),console.log("结束时间 ISO格式:",e.toISOString()),console.log("结束时间 年月日时分秒:",e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+" "+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0"));const r=String(e.getHours()).padStart(2,"0"),n=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return`${r}:${n}:${o}`}},watch:{gameInfo:{handler(t){console.log("HangupStatus组件gameInfo更新:",t)},deep:!0,immediate:!0}},mounted(){console.log("HangupStatus组件接收到的gameInfo:",this.gameInfo)},beforeDestroy(){this.stopCountdown()},methods:{startCountdown(){},stopCountdown(){this.timer&&(clearInterval(this.timer),this.timer=null)},enterGame(){this.$emit("handleEnterGame",{gameUrl:`https://h5.play.cn/h5/game_launch/${this.gameInfo.content_id}?caf=33040993&type=cloudgame`,gameInfo:this.gameInfo})},endHangup(){this.$emit("handleEndHangup",{name:"unlock_vm",gameid:this.gameInfo.gameid,gid:this.gameInfo.gid})}}},Yd={class:"hangup-status-container"},Zd={class:"hangup-card"},$d={class:"game-section"},eu={class:"game-avatar"},tu=["src","alt"],ru={class:"game-info"},nu={class:"game-name"},ou={class:"hangup-time"};function iu(t,e,r,n,o,a){return i.openBlock(),i.createElementBlock("div",Yd,[i.createElementVNode("div",Zd,[i.createElementVNode("div",$d,[i.createElementVNode("div",eu,[i.createElementVNode("img",{src:r.gameInfo.avatar,alt:t.头像,class:"avatar-image"},null,8,tu)]),i.createElementVNode("div",ru,[i.createElementVNode("div",nu,i.toDisplayString(r.gameInfo.name),1),i.createElementVNode("div",ou,"将于"+i.toDisplayString(a.endTime)+"结束运行",1),i.withDirectives(i.createElementVNode("button",{class:"enter-game-btn",onClick:e[0]||(e[0]=(...l)=>a.enterGame&&a.enterGame(...l))},"进入游戏",512),[[i.vShow,r.gameInfo.showEnterGame]])])]),i.createElementVNode("div",{class:"button-section",onClick:e[1]||(e[1]=(...l)=>a.endHangup&&a.endHangup(...l))},[...e[2]||(e[2]=[i.createElementVNode("img",{src:Xd,alt:"stop",class:"stop-icon"},null,-1),i.createElementVNode("button",{class:"end-hangup-btn"}," 结束运行 ",-1)])])])])}const au=cr(Jd,[["render",iu],["__scopeId","data-v-fa6afda0"]]),su="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAACURJREFUeAHtXD1sFEcUfkY0BAqUSFCAlLOVdDGQBuh84CZpCNChFDGSKZGdJoUpYgooaMBKGSNMAU5FAimgwXY6oMHEdCDYIimMBKEgUG7mu9mxb2/em53dmVvfWfmkse9u72f32/c/b2aANhBpmjbUvwNq7Fej0TZ2ZqMdiRpvs7GcPX+CxwMDA29pgzBANUIRBlKOqzGiRpM0WTGwnI3riswl2mxQxDXVWFTjn7T7wG9cw29SPwPSpsZ0Wg9pEl6q8R11EdFVONVqOqnGBNl2zI1/P6jxnmj1DX9898dEuz6hCkjUmFbqfZ0iIyqBijwQ9yP5EAeyVp4RPX2uCXv5N9GrN+SFwT2KSEXmkPr/xWdEw5+TJxI1JhWRtykSohCYam96jbRjkAHS7j8kerCiiYuF7ds0kYeHiUYP+XxiTo3zisiEAhFMoJfUQdLm78UlTQIkc1iReepr/VhGosbpUK9dmcDM1kHqjotvqpM4DqMHfYiEJE5TRVQiMFPZRZLiONi0mRsbR1wniomcU+P7KgF5aQILybt5l+iXe9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iJ4RXjTb8tgO1c55eFFHlBm2xN584kYiXudQIXlzAnJjnttNmHgTSBQuGtRzLVq3YBZqyenpqXIA0oRCDjVGUCcBrvYa9KI9AzVFTnz8VbbdpQm0IANtNsBaayrrdcFEIaIwT0vjU0ZZ6gCKhMIKBJR75kW3wDbCJV++rx+IlvTqE2trnLMilj3uCKvcn4aRCBQaBcBEAkS52vYd8GnWq2xRHoDxoQCEEygQaE0GiCfhWqD0BcR6naQLgT2h/b5Vau11E1XVdlORCMQ8N5L1WCtQPBM/8dzVz817Fl7eR/EDZZqArhCesfK0hst1goUZdV4nIZi9XWavnufRsBiKuz70tNQJz2S6l3FNwLYAPxyqrWiv4GLSGNJZTEW1ZhI2/Y16Cai2kAfZBLRJL1HA9SqQWFISPepoLvidt32rXYCO5FJClaMgkw8bhBPatL2HwN9jclGO4T/ADqY/I3FmuRQAAAAAElFTkSuQmCC",Jp="",lu={name:"DragTimer",components:{HangupStatus:au},props:{showafk:{type:Number,default:1},afkList:{type:Object,default:()=>({})},slots:{type:Array,default:()=>[]},maxSlots:{type:Number,default:3}},data(){return{currentMinutes:60,minMinutes:10,maxMinutes:360,isDragging:!1,showWaitingPanel:!1}},computed:{fillPercentage(){return(this.currentMinutes-this.minMinutes)/(this.maxMinutes-this.minMinutes)*100},formattedTime(){const t=Math.floor(this.currentMinutes/60),e=this.currentMinutes%60;return t>0&&e>0?`${t}小时${e}分钟`:t>0?`${t}小时`:`${e}分钟`},hasFreeSlot(){return this.slots.length<this.maxSlots},displaySlots(){const t=this.slots.slice(0,this.maxSlots),e=Math.max(this.maxSlots-t.length,0),r=Array(e).fill(null);return console.log(t,"filled"),console.log(r,"placeholders"),[...t,...r]}},methods:{showguaji(t){console.log(t,"slot"),t&&t.status!=="等待运行"?this.$emit("handleEnterGame",t):t&&t.status},openEndConfirmDialog(t,e){this.$emit("openEndConfirmDialog",{index:t,gameid:e.gameid,gid:e.gid,slot:e})},startDrag(t){t.preventDefault(),this.isDragging=!0;const e=n=>{this.isDragging&&this.updateTime(n)},r=()=>{this.isDragging=!1,document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",e),document.removeEventListener("touchend",r)};document.addEventListener("mousemove",e),document.addEventListener("mouseup",r),document.addEventListener("touchmove",e),document.addEventListener("touchend",r),this.updateTime(t)},updateTime(t){const r=this.$refs.track.getBoundingClientRect();let n;t.type.includes("touch")?n=t.touches[0].clientX:n=t.clientX;const o=Math.max(0,Math.min(1,(n-r.left)/r.width));this.currentMinutes=Math.round(this.minMinutes+o*(this.maxMinutes-this.minMinutes)),this.$emit("time-change",{currentMinutes:this.currentMinutes,lock_time:this.currentMinutes*60,formattedTime:this.formattedTime})},startHangup(){let t=this.currentMinutes*60;console.log(t,"seconds");let e={name:"lock_vm",lock_time:t};this.$emit("handleSetCloudIdle",e),this.showWaitingPanel=!1},openAddDialog(){this.$emit("openAddDialog")}}},cu={class:"drag-timer-container"},fu={class:"timer-card"},du={class:"slot-section"},uu={class:"slot-icon-wrapper"},xu=["onClick"],hu=["src","onClick"],pu={class:"slot-name"},mu={class:"tips"},gu={key:0,class:"timer-content"},yu={class:"slider-section"},_u={class:"slider-container"},Eu={class:"current-time"},Au={class:"button-section"};function vu(t,e,r,n,o,a){return i.openBlock(),i.createElementBlock("div",cu,[i.createElementVNode("div",fu,[i.createElementVNode("div",du,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.displaySlots,(l,c)=>(i.openBlock(),i.createElementBlock("div",{key:c,class:i.normalizeClass(["slot-card",{"slot-card--empty":!l,"slot-card--active":l&&l.isCurrent}])},[l?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",uu,[i.withDirectives(i.createElementVNode("img",{src:su,alt:"",class:"slot-icon-over",onClick:i.withModifiers(d=>a.openEndConfirmDialog(c,l),["stop"])},null,8,xu),[[i.vShow,l.status!=="等待运行"]]),i.createElementVNode("img",{src:l.icon,alt:"",class:"slot-icon",onClick:d=>a.showguaji(l)},null,8,hu)]),i.createElementVNode("div",pu,i.toDisplayString(l.name),1),i.createElementVNode("div",{class:i.normalizeClass(["slot-status",{"slot-status--waiting":l.status==="等待挂机"}])},i.toDisplayString(l.status),3)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createElementVNode("div",{class:"slot-add-icon",onClick:e[0]||(e[0]=(...d)=>a.openAddDialog&&a.openAddDialog(...d))},"+"),e[6]||(e[6]=i.createElementVNode("div",{class:"slot-add-text"},"新增常驻应用",-1))],64))],2))),128))]),i.withDirectives(i.createElementVNode("div",mu," 倒计时结束,系统将释放该游戏 ",512),[[i.vShow,o.showWaitingPanel]]),i.createVNode(i.Transition,{name:"afk-panel"},{default:i.withCtx(()=>[o.showWaitingPanel?(i.openBlock(),i.createElementBlock("div",gu,[i.createElementVNode("div",yu,[i.createElementVNode("div",_u,[i.createElementVNode("div",{class:"slider-track",ref:"track",onMousedown:e[3]||(e[3]=(...l)=>a.startDrag&&a.startDrag(...l)),onTouchstart:e[4]||(e[4]=(...l)=>a.startDrag&&a.startDrag(...l))},[i.createElementVNode("div",{class:"slider-fill",style:i.normalizeStyle({width:a.fillPercentage+"%"})},null,4),i.createElementVNode("div",{class:"slider-thumb",style:i.normalizeStyle({left:a.fillPercentage+"%"}),onMousedown:e[1]||(e[1]=(...l)=>a.startDrag&&a.startDrag(...l)),onTouchstart:e[2]||(e[2]=(...l)=>a.startDrag&&a.startDrag(...l))},[i.createElementVNode("div",Eu,i.toDisplayString(a.formattedTime),1)],36)],544)]),e[7]||(e[7]=i.createElementVNode("div",{class:"time-range"},[i.createElementVNode("span",{class:"min-time"},"15分钟"),i.createElementVNode("span",{class:"max-time"},"6小时")],-1))]),i.createElementVNode("div",Au,[i.createElementVNode("button",{class:"start-button",onClick:e[5]||(e[5]=(...l)=>a.startHangup&&a.startHangup(...l))}," 开始运行 ")])])):i.createCommentVNode("",!0)]),_:1})])])}const Bu=cr(lu,[["render",vu],["__scopeId","data-v-56c4615c"]]),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zZAaS/4gI15QSM3/zLLLobP8DM+bWTnMnDDwAAAAASUVORK5CYII=",V0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAAXNSR0IArs4c6QAAAHdJREFUKFOFkGERgmAQRN82MIJVTCANkCTSQCNAAxpAA4hABBusfM7JfMgw3q+be7O3tyfbNdBJmshKtu/ADbhImr9MqbH9AIocfkDAHjgFfOUgDUdgkFStIFRnICnbI9D8X2V7b277uRhfN+dG8nIXMMK1vy95AxCKOwb9TpvIAAAAAElFTkSuQmCC",bu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAcCAYAAAAnbDzKAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgBzZeNbYMwEIXvCLN0ga7RBdoB0gG6QBboAizQBTpGu0BHiQLuGYWXRDH+wXeKn2QJ8Jn7PskgIDKMc27vBxmmJ6PM4Gd4OSZmHsggTAa5hr904sFCQl0gCI9u+hKqAlF4dNSVUBPIgkdXPQkVgSJ4dNaR6KgyUXjnfmX8rcypvGKrBBLw37zbvct488crNdUSm7dQBvzh5tI4HmTbvATrK7bTJoFSeEwZSBQLbIVHibJEkUAtPEoVJbIFtOCxREkiS0AbHksVJJICVvC4RaVEVMAaHreqkFgVSMB/CfwnKUYkPgT2NTgZkeAwXwR+mgbue5OfE3c67anrij7F7wQeBY/+hRI3Ao+GB0eBBARagQdPpsQs0Br8khwJbhV+SUqio3EMr2wA3mdmEJbg5MLuLd00/WB468aSZERBg/BLkozueHymxiPP7NP1+T8OxHF5nfcjnQAAAABJRU5ErkJggg==",Yp="",Zp="",wu={components:{DragTimer:Bu,AnimatedIframe:Kd},name:"gameassis",props:["access_token","client_id","channel_code","game_id","game_cloud_service"],data(){return{activeMenuLink:"",sceneList:[],timer:null,currentTop:0,clientWidth:0,clientHeight:0,itemWidth:40,itemHeight:40,coefficientHeight:.1,gapWidth:10,left:0,top:0,timeOutEvent:0,numi:1,contentTab:1,anyhow:1,typesOf:1,computerTop:!0,computerOne:!1,computerTwo:!1,custom_menu:!1,isPad:"",isiPad:"",mobileOne:!1,mobileTwo:!1,expandShow:!0,setupTab:"",comTab:"",terminal_id:0,vc:50300,gameList:[],bitrateList:[],clearList:[],aspectList:[],codeTab:"",clearTab:"",aspectTab:"",wifiTab:1,honeyTab:1,head_url:"",nickname:"",duration:"",points:"",level:"",durationflag:!1,pointsflag:!1,showfull:!1,vip_centerflag:!0,dialogVisible:!1,screenImg:null,state_show:!1,user_id:"",phone:"",isHarmony:!1,isShowOperation:!1,remainder:null,url_chat:"https://act.play.cn/hd/t/chat/?dark="+this.isDark+"&modal=1",parentData:"初始数据",isFullscreen:!1,control_list:[],keyboardGuidance:"",leftGuidance:"",rightGuidance:"",easyShow:!1,enableRotation:null,showExitButton:!1,showQualityPanel:!1,showQualityDropdown:!1,selectedQuality:"high",selectedSmoothness:"smooth",afkTime:10,afkTimeRange:{min:15,max:360},isBlurred:!1,showTooltip:!0,tooltipFading:!1,currentQuality:"高清",currentGameName:"",currentGameIcon:"",functionButtons:[{type:"profile",name:"个人",icon:"../assets/image/head.png"},{type:"time",name:"时间",icon:"../assets/image/clock.png"},{type:"audio",name:"音频",icon:"../assets/image/operate.png"},{type:"help",name:"帮助",icon:"../assets/image/problem.png"},{type:"quality",name:"质量",icon:"../assets/image/Vector_right.png"}],qualityOptions:[{label:"流畅",value:"smooth",icon:"smooth-icon"},{label:"标清",value:"standard",icon:"standard-icon"},{label:"高清",value:"high",icon:"high-icon"},{label:"超清",value:"ultra",icon:"ultra-icon"}],smoothnessOptions:[{label:"流畅",value:"smooth"},{label:"标准",value:"standard"},{label:"高清",value:"high"},{label:"超清",value:"ultra"}],qualityDropdownOptions:[{label:"蓝光",value:"blue-ray"},{label:"高清",value:"high"},{label:"流畅",value:"smooth"}],currentMinutes:60,minMinutes:10,maxMinutes:360,isDragging:!1,afk_list:[],afk_slots:[],showafk:1,showAFKBubble:!1,isAfkBlack:!1,showToast:!1,toastMessage:"",showConfirmDialog:!1,showEnterGameConfirmDialog:!1,showAIHelperDialog:!1,enterGameData:null,arrowStyle:{},is_open:0,show_ai_pk:!1,game_id_test:"",_easyMenuBeforeAiFilter:null,showEndConfirmDialog:!1,endConfirmGameid:"",endConfirmGid:"",pendingEndSlot:null,istencent:!1}},watch:{showAFKBubble(t,e){e===!0&&t===!1&&this.clearLocalPendingAfkWhenBubbleCloses()}},created(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.left=0,this.top=46;const t=this.access_token,e="80000000",r=this.channel_code||e;if(Ce.set("ass_channel_code",r),Ce.set("ass_access_token",t),(this.channel_code=="33040993"||navigator.userAgent.indexOf("CloudPhone")!=-1)&&(this.easyShow=!0),this.easyShow=!0,this.show_ai_pk=!0,setTimeout(()=>{this.showExitButton=!0},500),!navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))this.typesOf=3;else{const n=navigator.userAgent.toLowerCase();this.isPad=/ipad/i.test(n),this.isiPad=/iphone/i.test(n)&&/os [6-9]_\d+ like mac os/i.test(n),this.isPad||this.isiPad?this.typesOf=2:this.typesOf=1}this.isHarmonyOS()&&(this.isHarmony=!0),console.log(this.game_cloud_service,"game_cloud_service"),Bt(this.game_id).then(n=>{var c;this.game_id_test=this.game_id,console.log(n,"gameRes"),n&&n.ext&&(this.currentGameName=n.ext.title||"",this.currentGameIcon=n.ext.img_square&&n.ext.img_square[0]||"");const o=(c=n==null?void 0:n.ext)==null?void 0:c.is_ai_play,a=o==1||o=="1",l=Number(this.game_id||5182430);a?((this.channel_code=="80000000"||this.channel_code==8e7)&&(this.easyShow=!0),Ud({gameId:l}).then(d=>{d&&d.code===0&&d.data===!0?(this.show_ai_pk=!0,this.getScenarioList()):this.show_ai_pk=!1,this.updateAiMenuVisibility()}).catch(()=>{this.show_ai_pk=!1,this.updateAiMenuVisibility()})):(this.show_ai_pk=!1,this.updateAiMenuVisibility()),this.easyShow==!0&&(setTimeout(()=>{this.showExitButton=!0},500),(n.ext.game_cloud_service==5||n.ext.game_cloud_service=="5")&&(this.istencent=!0)),this.comTab="",this.retract(),P0(n.ext.content_id).then(d=>{if(d.ext)if(d.ext&&Array.isArray(d.ext.control_list)&&d.ext.control_list.length>1){this.leftGuidance="",this.rightGuidance="";for(let f=0;f<d.ext.control_list.length;f++){const s=d.ext.control_list[f];if(!this.rightGuidance&&s.type==="keyboard"&&s.guidance&&(this.rightGuidance=s.guidance),!this.leftGuidance&&s.type==="handle"&&s.guidance&&(this.leftGuidance=s.guidance,this.isShowOperation=!0),this.leftGuidance&&this.rightGuidance)break}}else this.screenImg=d.ext.open_img_handle&&d.ext.open_img_handle[0],this.screenImg&&this.screenImg!=""&&(this.isShowOperation=!0)})}),this.getUserId(),this.getconfig(),this.getBitrate(),this.getClear(),this.getAspect(),this.checkAfkBlack()},mounted(){document.addEventListener("click",this.bodyCloseMenus),window.matchMedia("(orientation: landscape)").matches?this.anyhow=2:this.anyhow=1,this.$nextTick(()=>{window.addEventListener("resize",this.renderResize,!1),document.body.addEventListener("touchmove",function(e){e.preventDefault()},{passive:!1});const t=this.$refs.div;t.addEventListener("touchstart",e=>{if(e.stopPropagation(),e.targetTouches.length===1){const n=e.targetTouches[0].clientX-this.left;(n>60||n==60)&&e.preventDefault()}t.style.transition="none"}),t.addEventListener("touchmove",e=>{if(e.stopPropagation(),e.preventDefault(),e.targetTouches.length===1){let r=event.targetTouches[0];this.left=r.clientX-this.itemWidth/2,this.top=r.clientY-this.itemHeight/2}},!1),t.addEventListener("touchend",e=>{if(e.stopPropagation(),t.style.transition="all 0.3s",this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.left>this.clientWidth/2?this.left=this.clientWidth-this.itemWidth:this.left=0,this.top<=36)this.top=36+this.gapWidth;else{let r=this.clientHeight-50-this.itemHeight-this.gapWidth;this.top>=r&&(this.top=r)}},!1)}),this.startBlurTimer(),this.checkTooltipDisplay()},computed:{fillPercentage(){return(this.currentMinutes-this.minMinutes)/(this.maxMinutes-this.minMinutes)*100},formattedTime(){const t=Math.floor(this.currentMinutes/60),e=this.currentMinutes%60;return t>0&&e>0?`${t}小时${e}分钟`:t>0?`${t}小时`:`${e}分钟`},dragSlots(){return console.log(this.game_id_test,"this.game_id_test"),(this.afk_slots||[]).slice().reverse().slice(0,3).map(e=>{const r=this.formatEndTime(e),n=String(e.game_id)===String(this.game_id_test);return{icon:e.avatar||e.icon||"",name:e.name||e.title||"",status:r?`${r}结束运行`:e.status||"等待运行",isCurrent:n,gameid:e.gameid,gid:e.gid,game_id:e.game_id}})},afkButtonIndex(){const t=this.gameList.findIndex(e=>e.link==="cloud_afk");return t>=0?t:-1},afkBubbleStyle(){return this.afkButtonIndex>=4?{top:"79.2%"}:{top:"69%"}}},methods:{resolveUnlockVmIdsFromPayload(t){t=t||{};let e=t.gameid,r=t.gid;const n=t.slot||{};if((e==null||e==="")&&(e=n.gameid),(r==null||r==="")&&(r=n.gid),(e==null||e==="")&&t.index!=null){const a=(this.afk_slots||[]).slice().reverse().slice(0,3)[t.index];a&&(e=a.gameid,r=a.gid)}return{gameid:e,gid:r}},openEndConfirmDialog(t){t=t||{},console.log(t,"payload"),this.pendingEndSlot=t;const{gameid:e,gid:r}=this.resolveUnlockVmIdsFromPayload(t);this.endConfirmGameid=e,this.endConfirmGid=r,this.showEndConfirmDialog=!0},openAddDialog(){if(!this.game_id_test)return;if((this.afk_slots||[]).some(r=>r.localPending||!r.lockTime?!1:r.game_id!=null&&r.game_id!==""?String(r.game_id)===String(this.game_id_test):this.game_id!=null&&r.gameid!=null?String(r.gameid)===String(this.game_id):!1)){this.showToastMessage("当前游戏正在运行");return}(this.afk_slots||[]).some(r=>r.icon===this.currentGameIcon&&r.name===this.currentGameName)||(this.afk_slots.unshift({icon:this.currentGameIcon,name:this.currentGameName,status:"等待运行",isCurrent:!0,localPending:!0}),this.$refs.dragTimer&&(this.$refs.dragTimer.showWaitingPanel=!0))},clearLocalPendingAfkWhenBubbleCloses(){this.afk_slots=(this.afk_slots||[]).filter(t=>!(t.localPending||t.status==="等待运行"&&!t.lockTime)),this.$nextTick(()=>{this.$refs.dragTimer&&(this.$refs.dragTimer.showWaitingPanel=!1)}),this.afk_slots.length||(this.showafk=1,this.afk_list=[])},formatEndTime(t){if(!t||!t.lockTime||!t.lockSetTime)return"";const e=Number(t.lockTime)+Number(t.lockSetTime)*1e3,r=new Date(e),n=String(r.getHours()).padStart(2,"0"),o=String(r.getMinutes()).padStart(2,"0");return`${n}:${o}`},cancelEndConfirmDialog(){this.showEndConfirmDialog=!1},confirmEndConfirmDialog(){this.showEndConfirmDialog=!1,this.handleEndHangup({name:"unlock_vm",gameid:this.endConfirmGameid,gid:this.endConfirmGid,index:this.pendingEndSlot&&this.pendingEndSlot.index,slot:this.pendingEndSlot&&this.pendingEndSlot.slot})},handleSetCloudIdle(t){if(this.isAfkBlack){this.showToastMessage("当前游戏挂机功能维护中,暂时无法使用");return}console.log("收到DragTimer的挂机请求:",t),this.$emit("set_cloud_idle",t),setTimeout(()=>{this.queryLock_new(this.access_token)},1e3)},handleEndHangup(t){console.log("收到结束挂机请求:",t),this.showConfirmDialog=!0,this.confirmEndHangup(t)},handleEnterGame(t){console.log("收到进入游戏请求:",t),this.enterGameData=t,this.showEnterGameConfirmDialog=!0},confirmEndHangup(t){const e={...this.pendingEndSlot||{},...t||{}},{gameid:r,gid:n}=this.resolveUnlockVmIdsFromPayload(e);if(r==null||r===""){console.warn("unlock_vm: 缺少 gameid,已忽略本次结束挂机"),this.showConfirmDialog=!1;return}var o={name:"unlock_vm",gameid:r,gid:n};console.log("收到结束挂机请求111:",o),this.$emit("set_cloud_idle",o),this.afk_list=[],this.showafk=1,this.showAFKBubble=!1,this.showConfirmDialog=!1,setTimeout(()=>{this.queryLock_new(this.access_token)},1e3)},cancelEndHangup(){this.showConfirmDialog=!1},confirmEnterGame(){console.log(this.enterGameData,"this.enterGameData"),this.enterGameData&&Bt(this.enterGameData.gameid).then(t=>{console.log(t,"res");var e="https://h5.play.cn/h5/game_launch/"+t.ext.content_id+"?caf=33040993&type=cloudgame";console.log(e+"&access_token="+this.access_token,"gameUrl"),this.$emit("set_replace",{name:"replace",gameUrl:e+"&access_token="+this.access_token}),this.showEnterGameConfirmDialog=!1,this.enterGameData=null})},cancelEnterGame(){this.showEnterGameConfirmDialog=!1,this.enterGameData=null},openAIHelper(){this.is_open==0?this.is_open=1:this.is_open=0;var t={name:"aigame",is_open:this.is_open};console.log(t),this.$emit("set_aigame",t),this.showQualityPanel=!1,this.showAFKBubble=!1},closeAIHelperDialog(){var t={name:"aigame",is_open:0};console.log(t),this.$emit("set_aigame",t)},queryLock_new(t){Hd(t).then(e=>{console.log(e,"resqueryLock_new"),console.log(e,"resqueryLock_new"),e.code==200?e.data.length>0?(this.afk_slots=e.data,this.showafk=2,this.afk_list=e.data[0],Promise.all((e.data||[]).slice(0,3).map(r=>Bt(r.gameid).then(n=>{var o,a,l,c,d;return{gameid:r.gameid,game_id:(o=n==null?void 0:n.ext)==null?void 0:o.game_id,title:(a=n==null?void 0:n.ext)==null?void 0:a.title,icon:(c=(l=n==null?void 0:n.ext)==null?void 0:l.img_square)==null?void 0:c[0],content_id:(d=n==null?void 0:n.ext)==null?void 0:d.content_id}}).catch(()=>null))).then(r=>{const n=new Map;(r||[]).filter(Boolean).forEach(o=>n.set(String(o.gameid),o)),this.afk_slots=(this.afk_slots||[]).map(o=>{const a=n.get(String(o.gameid));return a?{...o,title:a.title||o.title,icon:a.icon||o.icon,name:a.title||o.name,avatar:a.icon||o.avatar,content_id:a.content_id||o.content_id,game_id:a.game_id||o.game_id}:o})}),Bt(this.afk_list.gameid).then(r=>{console.log(e,"res"),this.afk_list.title=r.ext.title,this.afk_list.icon=r.ext.img_square[0],this.afk_list.name=r.ext.title,this.afk_list.avatar=r.ext.img_square[0],this.afk_list.content_id=r.ext.content_id,r.ext.game_id==this.game_id_test?this.afk_list.showEnterGame=!1:this.afk_list.showEnterGame=!0,console.log(JSON.stringify(this.afk_list),"this.afk_list")})):(this.showafk=1,this.afk_slots=[]):(this.showafk=1,this.afk_slots=[])})},checkAfkBlack(){Md(this.game_id,this.user_id).then(t=>{t.code==200?this.isAfkBlack=t.ext.is_afk_black:this.isAfkBlack=t.ext.is_afk_black})},showToastMessage(t){this.toastMessage=t,this.showToast=!0,setTimeout(()=>{this.showToast=!1},3e3)},updateTimeSlider(t){this.afkTime=parseInt(t.target.value)},startSliderDrag(t){this.isSliderDragging=!0;const e=t.currentTarget.getBoundingClientRect(),n=(t.clientX-e.left)/e.width*100;this.updateSliderValue(n),document.addEventListener("mousemove",this.onSliderDrag),document.addEventListener("mouseup",this.endSliderDrag),t.preventDefault()},startSliderDragTouch(t){this.isSliderDragging=!0;const e=t.touches[0],r=t.currentTarget.getBoundingClientRect(),o=(e.clientX-r.left)/r.width*100;this.updateSliderValue(o),document.addEventListener("touchmove",this.onSliderDragTouch,{passive:!1}),document.addEventListener("touchend",this.endSliderDrag),t.preventDefault()},startThumbDrag(t){this.isSliderDragging=!0;const e=t.currentTarget.parentElement.getBoundingClientRect();this.sliderDragOffset.x=t.clientX-e.left,document.addEventListener("mousemove",this.onThumbDrag),document.addEventListener("mouseup",this.endSliderDrag),t.preventDefault()},startThumbDragTouch(t){this.isSliderDragging=!0;const e=t.touches[0],r=t.currentTarget.parentElement.getBoundingClientRect();this.sliderDragOffset.x=e.clientX-r.left,document.addEventListener("touchmove",this.onThumbDragTouch,{passive:!1}),document.addEventListener("touchend",this.endSliderDrag),t.preventDefault()},onSliderDrag(t){if(!this.isSliderDragging)return;const e=t.currentTarget.getBoundingClientRect(),n=(t.clientX-e.left)/e.width*100;this.updateSliderValue(n)},onSliderDragTouch(t){if(!this.isSliderDragging)return;const e=t.touches[0],r=t.currentTarget.getBoundingClientRect(),o=(e.clientX-r.left)/r.width*100;this.updateSliderValue(o),t.preventDefault()},onThumbDrag(t){if(!this.isSliderDragging)return;const e=t.currentTarget.parentElement.getBoundingClientRect(),n=(t.clientX-e.left)/e.width*100;this.updateSliderValue(n)},onThumbDragTouch(t){if(!this.isSliderDragging)return;const e=t.touches[0],r=t.currentTarget.parentElement.getBoundingClientRect(),o=(e.clientX-r.left)/r.width*100;this.updateSliderValue(o),t.preventDefault()},updateSliderValue(t){const e=Math.max(0,Math.min(100,t)),r=this.afkTimeRange.max-this.afkTimeRange.min,n=Math.round(e/100*r)+this.afkTimeRange.min;this.afkTime=n},endSliderDrag(){this.isSliderDragging=!1,document.removeEventListener("mousemove",this.onSliderDrag),document.removeEventListener("mouseup",this.endSliderDrag),document.removeEventListener("touchmove",this.onSliderDragTouch),document.removeEventListener("touchend",this.endSliderDrag),document.removeEventListener("mousemove",this.onThumbDrag),document.removeEventListener("touchmove",this.onThumbDragTouch)},updateParentData(t){t==!1&&(this.custom_menu=!1,this.dialogVisible=!1,this.comTab="")},isHarmonyOS(){return(navigator.userAgent||navigator.vendor||window.opera).toLowerCase().includes("harmonyos")},logReport(t){let e=navigator.userAgent,r=e.indexOf("Android")>-1||e.indexOf("Adr")>-1;var n="android";r||(n="ios");let o={channel_code:this.channel_code,into_type:t.into_type,phone:this.phone,event_from_id:t.event_from_id,into_type_id:t.into_type_id,event_from:t.event_from,user_id:this.user_id,visit_id:Date.now(),version_code:"50300",login_state:this.access_token?1:0,is_vip:sessionStorage.getItem("isVip"),dev_code:0,mac_addr:""},a={version:"50300",app_key:"8888107",from:"wap_cloud5g",channel_code:this.channel_code,req_time:Date.now(),timestamp:Date.now(),user_id:this.user_id,ip:"",screen_px:window.screen.width+"*"+window.screen.height,osStr:n,event_key:t.event_key,event_value:JSON.stringify(o)};zd(a)},getUserId(){let t={client_id:this.client_id,access_token:this.access_token};Vd(t).then(e=>{e.code==0&&(this.user_id=e.ext[0].id,Ce.set("ass_user_id",this.user_id),this.phone=e.ext[0].phone,this.getinformation(),this.head_url=e.ext[0].head_url?e.ext[0].head_url:"../assets/image/head.png",this.nickname=e.ext[0].nickname,console.log(this.head_url,"head_url"),this.queryLock_new(this.access_token))})},getinformation(){let t={user_id:this.user_id};Ld(t).then(e=>{e.code==200&&(this.points=e.ext.points,this.level=e.ext.level,this.countdownTimer(e.ext.duration))})},countdownTimer(t){if(t&&t===0){clearInterval(this.remainder);return}this.remainder||(this.duration=(t/60/1e3).toFixed(0),this.remainder=setInterval(()=>{if(t-=1e3,t<=0)this.duration=0,clearInterval(this.remainder),this.remainder=0;else{const e=(t/60/1e3).toFixed(0);e!=this.duration&&(this.duration=e)}},1e3))},getconfig(){lr({name:"game_header_menus"}).then(t=>{if(console.log(t,"res"),t.code==200){let n=[];for(var e=0;e<t.ext.value.length;e++){let o=!0;t.ext.value[e].link=="points"&&(this.pointsflag=!0,o=!1),t.ext.value[e].link=="duration"&&(this.durationflag=!0,o=!1),t.ext.value[e].link=="vip_center"&&(this.vip_centerflag=!0,o=!1),t.ext.value[e].link=="game_quit"&&(o=!1),o&&n.push(t.ext.value[e])}for(var r=0;r<n.length;r++)n[r].flag=!1,this.typesOf==1&&this.anyhow==1&&(r+1)%4==0&&(n[r].flag=!0),this.typesOf==1&&this.anyhow==2||this.typesOf==2?(r+1)%2==0&&(n[r].flag=!0):(r+1)%4==0&&(n[r].flag=!0);if(this.gameList=n,this.easyShow||(this.gameList=this.gameList.filter(o=>o.link!=="ai_auto"&&o.link!=="custom_menu"&&o.link!=="ai_hosting_scene")),this.easyShow){let o=t.ext.value;console.log(o,"extMenu"),o=o.filter(a=>a.link!=="AIHelper"),o=o.filter(a=>a.link!=="instructions"),this._easyMenuBeforeAiFilter=o.slice(),this.show_ai_pk||(o=o.filter(a=>a.link!=="ai_auto"&&a.link!=="custom_menu"&&a.link!=="ai_hosting_scene")),this.gameList=o,console.log(this.gameList," this.gameList ")}}})},getClear(){lr({name:"new_resolution"}).then(t=>{if(t.code==200){this.clearList=t.ext.value;var e={};this.easyShow?(e={name:"new_resolution",item_id:2},this.$emit("set_qualitys",e)):localStorage.getItem("new_resolution")?(this.clearTab=localStorage.getItem("new_resolution"),e={name:"new_resolution",item_id:localStorage.getItem("new_resolution")},this.$emit("set_qualitys",e)):(this.clearTab=t.ext.active_item,e={name:"new_resolution",item_id:t.ext.active_item},this.$emit("set_qualitys",e))}})},getBitrate(){lr({name:"new_bitrate"}).then(t=>{if(t.code==200){this.bitrateList=t.ext.value;var e={};if(this.easyShow){if(localStorage.getItem("yun_aspect_ratio")){e={name:"new_bitrate",item_id:localStorage.getItem("yun_aspect_ratio")},this.$emit("set_qualitys",e),console.log(e.item_id+"-初始化缓存清晰度-"),localStorage.getItem("yun_aspect_ratio")==4?this.currentQuality="超高清":localStorage.getItem("yun_aspect_ratio")==3?this.currentQuality="高清":localStorage.getItem("yun_aspect_ratio")==2?this.currentQuality="清晰":localStorage.getItem("yun_aspect_ratio")==1&&(this.currentQuality="流畅");return}e={name:"new_bitrate",item_id:4},this.$emit("set_qualitys",e),console.log(e.item_id+"-清晰度-");return}localStorage.getItem("new_bitrate")?(this.codeTab=localStorage.getItem("new_bitrate"),e={name:"new_bitrate",item_id:localStorage.getItem("new_bitrate")},this.$emit("set_qualitys",e)):(this.codeTab=t.ext.active_item,e={name:"new_bitrate",item_id:t.ext.active_item},this.$emit("set_qualitys",e))}})},getAspect(){if(this.easyShow){var t={name:"aspect_ratio",item_id:1};this.$emit("set_qualitys",t),console.log(t.item_id+"-清晰度-");return}lr({name:"aspect_ratio"}).then(e=>{if(e.code==200){this.aspectList=e.ext.value;var r={};localStorage.getItem("aspect_ratio")?(this.aspectTab=localStorage.getItem("aspect_ratio"),r={name:"aspect_ratio",item_id:localStorage.getItem("aspect_ratio")},this.$emit("set_qualitys",r)):(this.aspectTab=e.ext.active_item,r={name:"aspect_ratio",item_id:e.ext.active_item},this.$emit("set_qualitys",r))}})},bodyCloseMenus(){this.mobileOne===!0&&(this.mobileOne=!1,this.mobileTwo=!1,this.setupTab="",this.expandShow=!0,this.$emit("setting_show",0),this.drag())},onBtnClicked(){(this.typesOf==1||this.typesOf==2)&&(this.mobileOne=!0,this.expandShow=!1,this.$emit("setting_show",1)),this.durationflag&&this.getinformation()},computerHeader(t){t.stopPropagation(),this.computerOne=!0,this.computerTop=!1,this.computerOne==!0&&setTimeout(()=>{const e=document.getElementById("computer_c_data_id");if(e){const n=this.gameList.length*80;this.isShowOperation==!0?e.style.height=n+80+"px":e.style.height=n+"px"}else console.error("Element with ID computer_c_data_id not found.")},100)},closeDialog(){this.dialogVisible=!1,this.drag()},computerSetup(t){if(t.link=="setting_center"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"4",into_type_id:""};this.logReport(e),this.computerTwo=!this.computerTwo,this.dialogVisible=!1,this.computerTwo?this.comTab=t.link:this.comTab="",this.$refs.iframe.hide()}else if(t.link=="AIHelper"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"9",into_type_id:""};this.logReport(e),this.custom_menu=!this.custom_menu,this.dialogVisible=!1,this.custom_menu?this.comTab=t.link:this.comTab="",this.$refs.iframe.toggleVisibility()}else if(t.link=="share"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"5",into_type_id:""};this.logReport(e),navigator.share?navigator.share({url:window.location.href}):alert("该浏览器暂不支持分享功能")}else if(t.link=="state_monitor"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"7",into_type_id:""};this.logReport(e);let r=(this.state_show=!this.state_show)?1:0,n={event_from:"6",event_from_id:this.game_id,event_key:"e_assistant",into_type:r==1?3:4,into_type_id:""};this.logReport(n),this.$emit("state_show",r),this.$refs.iframe.hide()}else if(t.link=="feedback"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(e),window.open("https://act.play.cn/hd/t/feedback/?access_token="+this.access_token+"&caf="+this.channel_code,"_blank")}else if(t.link=="instructions"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"6",into_type_id:""};this.logReport(e),this.dialogVisible=!0,this.$refs.iframe.hide()}},retract(){this.computerOne=!1,this.computerTwo=!1,this.computerTop=!0},mobileSetup(t){if(t.link=="setting_center"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"4",into_type_id:""};this.logReport(e),this.mobileTwo=!this.mobileTwo,this.dialogVisible=!1,this.mobileTwo?this.setupTab=t.link:this.setupTab="",this.custom_menu=!1}else if(t.link=="AIHelper"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"9",into_type_id:""};this.logReport(e),this.custom_menu=!this.custom_menu,this.dialogVisible=!1,this.custom_menu?this.setupTab=t.link:this.setupTab="",this.mobileTwo=!1}else if(t.link=="share"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"5",into_type_id:""};this.logReport(e),navigator.share?navigator.share({url:window.location.href}):alert("该浏览器暂不支持分享功能")}else if(t.link=="state_monitor"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"7",into_type_id:""};this.logReport(e);let r=(this.state_show=!this.state_show)?1:0,n={event_from:"6",event_from_id:this.game_id,event_key:"e_assistant",into_type:r==1?3:4,into_type_id:""};this.logReport(n),this.$emit("state_show",r),this.custom_menu=!1}else if(t.link=="feedback"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(e),window.open("https://act.play.cn/hd/t/feedback/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0","_blank")}else if(t.link=="instructions"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"6",into_type_id:""};this.logReport(e),Bt(this.game_id).then(r=>{this.easyShow==!0&&setTimeout(()=>{this.showExitButton=!0},500),this.dialogVisible=!0,this.mobileTwo=!1,this.setupTab="",this.mobileOne=!1,this.expandShow=!0,P0(r.ext.content_id).then(n=>{n.ext&&(this.screenImg=n.ext.open_img_handle&&n.ext.open_img_handle[0])})})}else if(t.link=="vip_center")this.easyShow==!0&&window.open("https://h5.play.cn/c/pay/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0&needback=1","_blank");else if(t.link=="duration")this.easyShow==!0&&window.open("https://act.play.cn/hd/t/new_records/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0&needback=1","_blank");else if(t.link=="cloud_afk"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"10",into_type_id:""};this.logReport(e),this.showAFKBubble=!this.showAFKBubble,this.showQualityDropdown=!1,this.showAFKBubble&&(this.user_id&&this.queryLock_new(this.access_token),this.$nextTick(()=>{this.calculateArrowPosition()}))}else t.link=="ai_auto"&&this.openAIHelper()},calculateArrowPosition(){const t=document.querySelector('[data-link="cloud_afk"]').closest(".function-btn-container");if(t){const e=t.getBoundingClientRect(),r=document.querySelector(".exit-dialog-content");if(r){const n=r.getBoundingClientRect(),o=e.left-n.left+e.width/2,a=e.bottom-n.top+10;this.arrowStyle={left:o+"px",top:a+"px"}}}},durationT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"3",into_type_id:""};this.logReport(t),this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/setUp?link=duration","_blank"):window.open("https://h5.play.cn/c/dmg/home/setUp?link=duration")},pointsT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(t),this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/setUp?link=points"):window.open("https://h5.play.cn/c/dmg/home/setUp?link=points")},head_urlT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"1",into_type_id:""};this.logReport(t);let e=localStorage.getItem("topRouterId");this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/personalCtr?topRouterId="+e):window.open("https://h5.play.cn/c/dmg/home/personalCtr?topRouterId="+e)},fulls(){if(this.isFullscreen)document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullscreen=!1;else{const t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen(),this.isFullscreen=!0}},requestFulls(){if(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled){const t=document.documentElement;!document.fullscreenElement&&!document.webkitFullscreenElement&&!document.mozFullScreenElement&&!document.msFullscreenElement&&(t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen())}this.isFullscreen=!0},exitFulls(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullscreen=!1},logout(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"2",into_type_id:""};this.logReport(t),this.computerOne=!1,this.computerTwo=!1,this.computerTop=!0,this.mobileOne=!1,this.mobileTwo=!1,this.setupTab="",this.expandShow=!0,this.dialogVisible=!1,this.$emit("set_exit"),this.$emit("setting_show",0)},codeClear(t){let e={event_from:"6",event_from_id:this.game_id,event_key:"g_exchange_px",into_type:"",into_type_id:""};this.logReport(e),this.clearTab=t.item_id;var r={name:"new_resolution",item_id:t.item_id};localStorage.setItem("new_resolution",t.item_id),console.log(r),this.$emit("set_qualitys",r)},codeRate(t){console.log(t);let e={event_from:"6",event_from_id:this.game_id,event_key:"fps",into_type:"",into_type_id:""};this.logReport(e),this.codeTab=t.item_id;var r={name:"new_bitrate",item_id:t.item_id};localStorage.setItem("new_bitrate",t.item_id),console.log(r),this.easyShow?(r={name:"new_bitrate",item_id:3},this.$emit("set_qualitys",r)):this.$emit("set_qualitys",r)},codeAspect(t,e){e==4&&(t.item_id==2?this.requestFulls():this.exitFulls()),this.aspectTab=t.item_id;var r={name:"aspect_ratio",item_id:t.item_id};localStorage.setItem("aspect_ratio",t.item_id),this.$emit("set_qualitys",r)},renderResize(){window.matchMedia("(orientation: landscape)").matches?(this.anyhow=2,this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight):(this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.anyhow=1);for(var t=0;t<this.gameList.length;t++)this.gameList[t].flag=!1,this.typesOf==1&&this.anyhow==1&&(t+1)%4==0&&(this.gameList[t].flag=!0),this.typesOf==1&&this.anyhow==2&&(t+1)%2==0&&(this.gameList[t].flag=!0),this.typesOf==2&&(t+1)%2==0&&(this.gameList[t].flag=!0)},drag(){this.$nextTick(()=>{document.body.addEventListener("touchmove",function(e){e.preventDefault()},{passive:!1});const t=this.$refs.div;t.addEventListener("touchstart",e=>{if(e.stopPropagation(),e.targetTouches.length===1){const n=e.targetTouches[0].clientX-this.left;(n>60||n==60)&&e.preventDefault()}t.style.transition="none"}),t.addEventListener("touchmove",e=>{if(e.stopPropagation(),e.preventDefault(),e.targetTouches.length===1){let r=event.targetTouches[0];this.left=r.clientX-this.itemWidth/2,this.top=r.clientY-this.itemHeight/2}},!1),t.addEventListener("touchend",e=>{if(e.stopPropagation(),t.style.transition="all 0.3s",this.left>this.clientWidth/2?this.left=this.clientWidth-this.itemWidth:this.left=0,this.top<=36)this.top=36+this.gapWidth;else{let r=this.clientHeight-50-this.itemHeight-this.gapWidth;this.top>=r&&(this.top=r)}},!1)})},tabacTive(t){this.contentTab=t},handleFullscreenChange(){this.isFullscreen=!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)},toggleQualityPanel(){var t;if(this.showQualityPanel=!this.showQualityPanel,this.showQualityPanel){const e=Array.isArray(this.gameList)&&this.gameList.some(r=>r.link==="setting_center");this.activeMenuLink=e?"setting_center":this.gameList&&((t=this.gameList[0])==null?void 0:t.link)||""}},handleEasyMenuClick(t){!t||!t.link||(t.link==="setting_center"||t.link==="ai_hosting_scene"||t.link==="custom_menu"?this.activeMenuLink=t.link:t.link==="game_quit"?this.cancelExit():this.mobileSetup(t))},getScenarioList(){const t=Number(this.game_id||5182430);qd({gameId:t}).then(e=>{e&&e.code===0&&Array.isArray(e.data)&&e.data.length>0&&(this.sceneList=e.data,this.$emit("set_scenario",e.data))}).catch(e=>{console.log("获取场景列表失败:",e)})},updateAiMenuVisibility(){this.easyShow&&this._easyMenuBeforeAiFilter&&this._easyMenuBeforeAiFilter.length&&(this.gameList=this._easyMenuBeforeAiFilter.filter(t=>t.link!=="ai_auto"&&t.link!=="custom_menu"&&t.link!=="ai_hosting_scene"||this.show_ai_pk))},selectQuality(t){this.selectedQuality=t,this.showQualityPanel=!1,console.log("切换到清晰度:",t),this.$emit("quality-change",t)},selectSmoothness(t){this.selectedSmoothness=t,this.showQualityDropdown=!1,console.log("切换到流畅度:",t),this.$emit("smoothness-change",t)},cancelExit(){this.showQualityPanel=!1,this.$emit("set_exit")},confirmExit(){this.showQualityPanel=!1,this.showAFKBubble=!1},startBlurTimer(){setTimeout(()=>{this.isBlurred=!0},5e3)},startTooltipTimer(){setTimeout(()=>{this.tooltipFading=!0,setTimeout(()=>{this.showTooltip=!1,this.markTooltipAsSeen()},300)},4e3)},checkTooltipDisplay(){localStorage.getItem("game_exit_tooltip_seen")?this.showTooltip=!1:(this.showTooltip=!0,this.startTooltipTimer())},markTooltipAsSeen(){localStorage.setItem("game_exit_tooltip_seen","true")},resetTooltipDisplay(){localStorage.removeItem("game_exit_tooltip_seen"),console.log("气泡显示状态已重置,下次访问将重新显示气泡")},getExitButtonImage(){return I0},handleFunction(t){switch(t){case"profile":console.log("个人中心");break;case"time":console.log("时间设置");break;case"audio":console.log("音频设置");break;case"help":console.log("帮助");break;case"quality":console.log("清晰度设置");break}},toggleQualityDropdown(){this.showQualityDropdown=!this.showQualityDropdown,console.log("选 - showQualityDropdown:",this.showQualityDropdown),this.showAFKBubble=!1},selectQualityOption(t){console.log("选择前 - showQualityDropdown:",this.showQualityDropdown),this.currentQuality=t.item_name,this.showQualityDropdown=!1,console.log("选择后 - showQualityDropdown:",this.showQualityDropdown),console.log("选择清晰度:",t.item_name);var e={name:"aspect_ratio",item_id:t.item_id};console.log("选择清晰度:",e),localStorage.setItem("yun_aspect_ratio",t.item_id),console.log("选择缓存清晰度:",localStorage.getItem("yun_aspect_ratio")),this.$emit("set_qualitys",e)}},beforeDestroy(){document.removeEventListener("fullscreenchange",this.handleFullscreenChange),document.removeEventListener("webkitfullscreenchange",this.handleFullscreenChange),document.removeEventListener("mozfullscreenchange",this.handleFullscreenChange),document.removeEventListener("MSFullscreenChange",this.handleFullscreenChange)}},Du={key:0,class:"easyShow"},ku=["onClick"],Fu=["src"],Su={class:"easy-menu-title"},Ru={class:"easy-dialog-right"},Nu={key:0,class:"easy-panel-content"},Tu={class:"bitrate-options-grid"},Ou=["onClick"],Pu={class:"radio-label"},Iu={key:1,class:"easy-panel-content"},Vu={class:"scene-grid-container"},Lu={class:"scene-img-wrapper"},Hu=["src"],Mu=["title"],zu={key:2,class:"easy-panel-placeholder"},Uu={key:2,class:"toast-container",style:{"z-index":"10000000000"}},qu={class:"toast-message"},Wu={class:"end-confirm-message"},Gu={class:"end-confirm-actions"},Qu={class:"confirm-content"},ju={class:"confirm-message"},Ku={class:"confirm-buttons"},Xu={class:"confirm-content"},Ju={class:"confirm-buttons"},Yu=["src"],Zu={key:7},$u={key:0,class:"setup"},ex={key:0,class:"content"},tx={class:"content_top"},rx={key:0,class:"content_m"},nx={class:"content_m_n"},ox=["onClick"],ix={key:0,class:"content_sxy"},ax={key:0,class:"zxhy"},sx={class:"content_m_n"},lx=["onClick"],cx={key:0,class:"content_sxy"},fx={key:0,class:"zxhy"},dx={class:"content_m_n"},ux=["onClick"],xx={key:0,class:"content_sxy"},hx={key:0,class:"zxhy"},px={class:"info"},mx={class:"info_left"},gx=["src"],yx={key:1,src:Ct,class:"member",alt:""},_x={class:"info_left_cont"},Ex={class:"info_left_cont1"},Ax={class:"info_left_cont2"},vx={class:"info_left_cont2_text"},Bx={class:"info_left_cont2_text"},Cx={class:"setup_con"},bx=["onClick"],wx=["src"],Dx={class:"setup_text"},kx={key:1,class:"computer_ai_iframe",src:"https://act.play.cn/hd/t/chat/?modal=2",width:"100%",height:"100%",style:{border:"none",height:"25rem"}},Fx={key:1},Sx={class:"horiz"},Rx={class:"horiz_cont",style:{width:"120px !important"}},Nx={class:"horiz_setup_con",style:{"padding-top":"3px"}},Tx=["onClick"],Ox=["src"],Px={class:"setup_text"},Ix={key:0,class:"horiz_set"},Vx={class:"horiz_cont_info",style:{"padding-top":"10px","padding-left":"20px"}},Lx={class:"info_left"},Hx=["src"],Mx={key:1,src:Ct,class:"member",alt:""},zx={class:"info_left_cont"},Ux={class:"info_left_cont1"},qx={class:"info_left_cont2"},Wx={class:"info_left_cont2_text"},Gx={class:"info_left_cont2_text"},Qx={class:"content_top"},jx={key:0,class:"horiz_m"},Kx={class:"content_m_n"},Xx=["onClick"],Jx={key:0,class:"content_sxy"},Yx={key:0,class:"zxhy"},Zx={class:"content_m_n"},$x=["onClick"],eh={key:0,class:"content_sxy"},th={key:0,class:"zxhy"},rh={class:"content_m_n"},nh=["onClick"],oh={key:0,class:"content_sxy"},ih={key:0,class:"zxhy"},ah={key:1,class:"horiz_set",style:{width:"410px"}},sh={class:"horiz_cont_info",style:{"padding-top":"10px"}},lh={class:"info_left"},ch=["src"],fh={key:1,src:Ct,class:"member",alt:""},dh={class:"info_left_cont"},uh={class:"info_left_cont1"},xh={class:"info_left_cont2"},hh={class:"info_left_cont2_text"},ph={class:"info_left_cont2_text"},mh={key:0,src:"https://act.play.cn/hd/t/chat/?modal=2",style:{border:"none","border-width":"0px",position:"relative","margin-top":"9px",height:"calc(100% - 55px)",width:"100%"}},gh={key:8},yh={class:"horiz"},_h={key:0,class:"ipad_cont"},Eh={class:"horiz_cont_info"},Ah={class:"info_left"},vh=["src"],Bh={key:1,src:Ct,class:"member",style:{left:"30px",width:"35px"},alt:""},Ch={class:"info_left_cont"},bh={class:"info_left_cont1",style:{"font-size":"22px"}},wh={class:"info_left_cont2"},Dh={class:"info_left_cont2_text",style:{"font-size":"18px"}},kh={class:"info_left_cont2_text",style:{"font-size":"18px"}},Fh={class:"horiz_setup_con",style:{"padding-top":"23px"}},Sh=["onClick"],Rh=["src"],Nh={class:"setup_text"},Th={key:1,class:"horiz_set"},Oh={class:"content_top"},Ph={key:0,class:"horiz_m",style:{"margin-top":"56px","margin-left":"24px"}},Ih={class:"content_m_n",style:{"margin-top":"20px"}},Vh=["onClick"],Lh={key:0,class:"content_sxy"},Hh={key:0,class:"zxhy"},Mh={class:"content_m_n",style:{"margin-top":"20px"}},zh=["onClick"],Uh={key:0,class:"content_sxy"},qh={key:0,class:"zxhy"},Wh={class:"content_m_n",style:{"margin-top":"20px"}},Gh=["onClick"],Qh={key:0,class:"content_sxy"},jh={key:0,class:"zxhy"},Kh=["src"],Xh={key:1,class:"computer_content"},Jh={class:"computer_c_header"},Yh=["src"],Zh={key:1,class:"computer_c_two",src:Ct,alt:""},$h={class:"computer_c_time"},ep={class:"computer_c_time"},tp={class:"computer_c_data",id:"computer_c_data_id"},rp=["onMousedown"],np=["src"],op={class:"computer_c_item_text"},ip={class:"content_top"},ap={key:0,class:"horiz_m"},sp={class:"content_m_n"},lp=["onClick"],cp={key:0,class:"content_sxy"},fp={key:0,class:"zxhy"},dp={class:"content_m_n"},up=["onClick"],xp={key:0,class:"content_sxy"},hp={key:0,class:"zxhy"},pp={class:"content_m_n"},mp=["onClick"],gp={key:0,class:"content_sxy"},yp={key:0,class:"zxhy"},_p={class:"mask_img"},Ep={key:0,class:"guidance-row"},Ap=["src"],vp=["src"],Bp=["src"];function Cp(t,e,r,n,o,a){var d,f;const l=i.resolveComponent("DragTimer"),c=i.resolveComponent("AnimatedIframe");return i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:e[46]||(e[46]=i.withModifiers(()=>{},["stop"]))},[o.easyShow?(i.openBlock(),i.createElementBlock("div",Du,[i.withDirectives(i.createElementVNode("div",{class:"floating-quality-widget",style:i.normalizeStyle({width:o.itemWidth+"px",height:o.itemHeight+"px",left:o.left+"px",top:o.top+"px"}),ref:"div"},[i.createElementVNode("div",{class:"arrow-button",onClick:e[0]||(e[0]=(...s)=>a.toggleQualityPanel&&a.toggleQualityPanel(...s))},[...e[48]||(e[48]=[i.createElementVNode("img",{src:I0,alt:"退出按钮",class:"exit-button-img"},null,-1)])]),o.showTooltip?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["tooltip-bubble",{"fade-out":o.tooltipFading}])},[...e[49]||(e[49]=[i.createElementVNode("div",{class:"tooltip-content"},[i.createElementVNode("div",{class:"tooltip-text"},"点击按钮可以退出游戏"),i.createElementVNode("div",{class:"tooltip-arrow"})],-1)])],2)):i.createCommentVNode("",!0)],4),[[i.vShow,o.showExitButton]])])):i.createCommentVNode("",!0),o.showQualityPanel&&o.easyShow?(i.openBlock(),i.createElementBlock("div",{key:1,class:"exit-dialog-overlay",onClick:e[5]||(e[5]=i.withModifiers((...s)=>a.confirmExit&&a.confirmExit(...s),["self"]))},[i.createElementVNode("div",{class:i.normalizeClass(["exit-dialog-modal",{portrait:o.anyhow===1,rotated:o.enableRotation}]),onClick:e[4]||(e[4]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",{class:"easy-dialog-left",onTouchmove:e[1]||(e[1]=i.withModifiers(()=>{},["stop"]))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.gameList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{key:x,class:i.normalizeClass(["easy-menu-btn",{active:o.activeMenuLink===s.link}]),onClick:u=>a.handleEasyMenuClick(s)},[i.createElementVNode("img",{src:s.icon||t.defaultMenuIcon,class:"easy-menu-icon",referrerpolicy:"no-referrer"},null,8,Fu),i.createElementVNode("span",Su,i.toDisplayString(s.title),1)],10,ku))),128))],32),i.createElementVNode("div",Ru,[o.activeMenuLink==="setting_center"?(i.openBlock(),i.createElementBlock("div",Nu,[e[51]||(e[51]=i.createElementVNode("div",{class:"easy-panel-header"},[i.createElementVNode("span",{class:"easy-panel-title"},"新版码率档位配置"),i.createElementVNode("span",{class:"easy-panel-sub"},"(游戏内设置立即生效)")],-1)),i.createElementVNode("div",Tu,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.bitrateList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{key:x,class:i.normalizeClass(["bitrate-option-card",{active:o.currentQuality===s.item_name}]),onClick:u=>a.selectQualityOption(s)},[e[50]||(e[50]=i.createElementVNode("span",{class:"radio-icon"},null,-1)),i.createElementVNode("span",Pu,i.toDisplayString(s.item_name),1)],10,Ou))),128))])])):o.activeMenuLink==="ai_hosting_scene"||o.activeMenuLink==="custom_menu"?(i.openBlock(),i.createElementBlock("div",Iu,[e[52]||(e[52]=i.createElementVNode("div",{class:"easy-panel-header"},[i.createElementVNode("span",{class:"easy-panel-title"},"已适配场景"),i.createElementVNode("span",{class:"easy-panel-sub"},"(可以在以下游戏场景开启AI云托管)")],-1)),i.createElementVNode("div",{class:"scene-list-scroll",onTouchmove:e[2]||(e[2]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",Vu,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.sceneList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{key:s.id||x,class:"scene-item-card"},[i.createElementVNode("div",Lu,[i.createElementVNode("img",{src:s.scenarioPic||s.img,class:"scene-cover-img"},null,8,Hu)]),i.createElementVNode("div",{class:"scene-title-text",title:s.scenarioName||s.name},i.toDisplayString(s.scenarioName||s.name),9,Mu)]))),128))])],32)])):(i.openBlock(),i.createElementBlock("div",zu))]),o.showAFKBubble?(i.openBlock(),i.createElementBlock("div",{key:0,class:"afk-bubble",onClick:e[3]||(e[3]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",{class:"afk-bubble-content",style:i.normalizeStyle(a.afkBubbleStyle)},[i.createVNode(l,{ref:"dragTimer",showafk:o.showafk,"afk-list":o.afk_list,slots:a.dragSlots,onHandleSetCloudIdle:a.handleSetCloudIdle,onHandleEndHangup:a.handleEndHangup,onHandleEnterGame:a.handleEnterGame,onOpenEndConfirmDialog:a.openEndConfirmDialog,onOpenAddDialog:a.openAddDialog},null,8,["showafk","afk-list","slots","onHandleSetCloudIdle","onHandleEndHangup","onHandleEnterGame","onOpenEndConfirmDialog","onOpenAddDialog"])],4)])):i.createCommentVNode("",!0)],2)])):i.createCommentVNode("",!0),o.showToast?(i.openBlock(),i.createElementBlock("div",Uu,[i.createElementVNode("div",qu,i.toDisplayString(o.toastMessage),1)])):i.createCommentVNode("",!0),o.showEndConfirmDialog?(i.openBlock(),i.createElementBlock("div",{key:3,class:"end-confirm-overlay",onClick:e[9]||(e[9]=(...s)=>a.cancelEndConfirmDialog&&a.cancelEndConfirmDialog(...s))},[i.createElementVNode("div",{class:"end-confirm-dialog",onClick:e[8]||(e[8]=i.withModifiers(()=>{},["stop"]))},[e[53]||(e[53]=i.createElementVNode("div",{class:"end-confirm-title"},"确认结束后台常驻",-1)),i.createElementVNode("div",Wu," 继续退出将结束《"+i.toDisplayString(((f=(d=o.pendingEndSlot)==null?void 0:d.slot)==null?void 0:f.name)||"游戏")+"》后台常驻,是否继续? ",1),i.createElementVNode("div",Gu,[i.createElementVNode("button",{class:"end-confirm-btn cancel",onClick:e[6]||(e[6]=(...s)=>a.cancelEndConfirmDialog&&a.cancelEndConfirmDialog(...s))}," 取消 "),i.createElementVNode("button",{class:"end-confirm-btn confirm",onClick:e[7]||(e[7]=(...s)=>a.confirmEndConfirmDialog&&a.confirmEndConfirmDialog(...s))}," 继续退出 ")])])])):i.createCommentVNode("",!0),o.showEnterGameConfirmDialog?(i.openBlock(),i.createElementBlock("div",{key:4,class:"confirm-overlay",onClick:e[13]||(e[13]=(...s)=>a.cancelEnterGame&&a.cancelEnterGame(...s))},[i.createElementVNode("div",{class:"confirm-dialog",onClick:e[12]||(e[12]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",Qu,[e[54]||(e[54]=i.createElementVNode("div",{class:"confirm-title"},"确认跳转",-1)),i.createElementVNode("div",ju," 点击确认将跳转至《"+i.toDisplayString(o.enterGameData.name||"游戏")+"》内,当前游戏将被关闭 ",1),i.createElementVNode("div",Ku,[i.createElementVNode("button",{class:"confirm-btn cancel-btn",style:{background:"lightgray"},onClick:e[10]||(e[10]=(...s)=>a.cancelEnterGame&&a.cancelEnterGame(...s))}," 取消 "),i.createElementVNode("button",{class:"confirm-btn confirm-btn-primary",onClick:e[11]||(e[11]=(...s)=>a.confirmEnterGame&&a.confirmEnterGame(...s))}," 确认 ")])])])])):i.createCommentVNode("",!0),o.showAIHelperDialog?(i.openBlock(),i.createElementBlock("div",{key:5,class:"confirm-overlay",onClick:e[17]||(e[17]=(...s)=>a.closeAIHelperDialog&&a.closeAIHelperDialog(...s))},[i.createElementVNode("div",{class:"confirm-dialog",onClick:e[16]||(e[16]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",Xu,[e[55]||(e[55]=i.createElementVNode("div",{class:"confirm-title"},"AI助手",-1)),e[56]||(e[56]=i.createElementVNode("div",{class:"confirm-message"},"请选择操作",-1)),i.createElementVNode("div",Ju,[i.createElementVNode("button",{class:"confirm-btn cancel-btn",style:{background:"lightgray"},onClick:e[14]||(e[14]=(...s)=>a.closeAIHelperDialog&&a.closeAIHelperDialog(...s))}," 关闭 "),i.createElementVNode("button",{class:"confirm-btn confirm-btn-primary",onClick:e[15]||(e[15]=(...s)=>a.openAIHelper&&a.openAIHelper(...s))}," 开启 ")])])])])):i.createCommentVNode("",!0),o.typesOf!=3&&o.expandShow&&!o.easyShow?(i.openBlock(),i.createElementBlock("div",{key:6,class:"ys-float-btn",style:i.normalizeStyle({width:o.itemWidth+"px",height:o.itemHeight+"px",left:o.left+"px",top:o.top+"px"}),ref:"div",onClick:e[18]||(e[18]=(...s)=>a.onBtnClicked&&a.onBtnClicked(...s))},[i.createElementVNode("img",{src:o.head_url,alt:"",style:{width:"100%",height:"100%","border-radius":"100px"}},null,8,Yu)],4)):i.createCommentVNode("",!0),o.typesOf==1&&!o.easyShow?(i.openBlock(),i.createElementBlock("div",Zu,[o.anyhow==1&&o.mobileOne?(i.openBlock(),i.createElementBlock("div",$u,[o.mobileTwo?(i.openBlock(),i.createElementBlock("div",ex,[i.createElementVNode("div",tx,[i.createElementVNode("div",{onClick:e[19]||(e[19]=s=>a.tabacTive(1)),class:i.normalizeClass(["content_tab",[o.contentTab==1?"tabactive":""]])}," 画质 ",2)]),o.contentTab==1?(i.openBlock(),i.createElementBlock("div",rx,[e[57]||(e[57]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),i.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),i.createElementVNode("div",nx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.clearList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.clearTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeClear(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.clearTab==s.item_id?"content_yactive":""]])},[o.clearTab==s.item_id?(i.openBlock(),i.createElementBlock("div",ix)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.clearTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.resolution_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",ax,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,ox))),128))]),e[58]||(e[58]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),i.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),i.createElementVNode("div",sx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.bitrateList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.codeTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeRate(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.codeTab==s.item_id?"content_yactive":""]])},[o.codeTab==s.item_id?(i.openBlock(),i.createElementBlock("div",cx)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.codeTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",fx,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,lx))),128))]),e[59]||(e[59]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),i.createElementVNode("div",dx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.aspectList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.aspectTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeAspect(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.aspectTab==s.item_id?"content_yactive":""]])},[o.aspectTab==s.item_id?(i.openBlock(),i.createElementBlock("div",xx)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.aspectTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",hx,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,ux))),128))])])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),i.createElementVNode("div",px,[i.createElementVNode("div",mx,[o.vip_centerflag?(i.openBlock(),i.createElementBlock("img",{key:0,class:"info_left_img",onClick:e[20]||(e[20]=(...s)=>a.head_urlT&&a.head_urlT(...s)),src:o.head_url,alt:""},null,8,gx)):i.createCommentVNode("",!0),o.level==2?(i.openBlock(),i.createElementBlock("img",yx)):i.createCommentVNode("",!0),i.createElementVNode("div",_x,[i.createElementVNode("div",Ex,i.toDisplayString(o.nickname),1),i.createElementVNode("div",Ax,[o.durationflag?(i.openBlock(),i.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[21]||(e[21]=(...s)=>a.durationT&&a.durationT(...s))},[e[60]||(e[60]=i.createElementVNode("img",{src:bt,alt:""},null,-1)),i.createElementVNode("div",vx,i.toDisplayString(o.duration?o.duration:"0")+"分钟 ",1)])):i.createCommentVNode("",!0),o.pointsflag?(i.openBlock(),i.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[22]||(e[22]=(...s)=>a.pointsT&&a.pointsT(...s))},[e[61]||(e[61]=i.createElementVNode("img",{src:wt,alt:""},null,-1)),i.createElementVNode("div",Bx,i.toDisplayString(o.points),1)])):i.createCommentVNode("",!0)])])]),i.createElementVNode("div",{class:"info_right",onClick:e[23]||(e[23]=(...s)=>a.logout&&a.logout(...s))},[...e[62]||(e[62]=[i.createElementVNode("img",{src:fr,alt:""},null,-1),i.createElementVNode("div",{class:"info_right_exit"},"退出",-1)])])]),i.createElementVNode("div",Cx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.gameList,(s,x)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:x},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(o.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!o.isShowOperation))?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["setup_item",[o.setupTab==s.link?"setupactive":""]]),style:i.normalizeStyle({"margin-right":s.flag?"0px":"1%"}),onClick:u=>a.mobileSetup(s)},[i.createElementVNode("img",{src:s.icon,alt:""},null,8,wx),i.createElementVNode("div",Dx,i.toDisplayString(s.title),1)],14,bx)):i.createCommentVNode("",!0)],64))),128))]),o.custom_menu&&!o.easyShow?(i.openBlock(),i.createElementBlock("iframe",kx)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),o.anyhow==2&&o.mobileOne?(i.openBlock(),i.createElementBlock("div",Fx,[i.createElementVNode("div",Sx,[i.createElementVNode("div",Rx,[i.createElementVNode("div",Nx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.gameList,(s,x)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:x},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(o.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!o.isShowOperation))?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["horiz_item",[o.setupTab==s.link?"setupactive":""]]),onClick:u=>a.mobileSetup(s),style:i.normalizeStyle({"margin-right":s.flag?"0px":"15px"})},[i.createElementVNode("img",{src:s.icon,alt:""},null,8,Ox),i.createElementVNode("div",Px,i.toDisplayString(s.title),1)],14,Tx)):i.createCommentVNode("",!0)],64))),128)),i.createElementVNode("div",{class:"horiz_item",onClick:e[24]||(e[24]=(...s)=>a.logout&&a.logout(...s))},[...e[63]||(e[63]=[i.createElementVNode("img",{src:fr,alt:""},null,-1),i.createElementVNode("div",{class:"setup_text"},"退出",-1)])])])]),o.mobileTwo?(i.openBlock(),i.createElementBlock("div",Ix,[i.createElementVNode("div",Vx,[i.createElementVNode("div",Lx,[o.vip_centerflag?(i.openBlock(),i.createElementBlock("img",{key:0,class:"info_left_img",src:o.head_url,onClick:e[25]||(e[25]=(...s)=>a.head_urlT&&a.head_urlT(...s)),alt:""},null,8,Hx)):i.createCommentVNode("",!0),o.level==2?(i.openBlock(),i.createElementBlock("img",Mx)):i.createCommentVNode("",!0),i.createElementVNode("div",zx,[i.createElementVNode("div",Ux,i.toDisplayString(o.nickname),1),i.createElementVNode("div",qx,[o.durationflag?(i.openBlock(),i.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[26]||(e[26]=(...s)=>a.durationT&&a.durationT(...s))},[e[64]||(e[64]=i.createElementVNode("img",{src:bt,alt:""},null,-1)),i.createElementVNode("div",Wx,i.toDisplayString(o.duration?o.duration:"0")+"分钟 ",1)])):i.createCommentVNode("",!0),o.pointsflag?(i.openBlock(),i.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[27]||(e[27]=(...s)=>a.pointsT&&a.pointsT(...s))},[e[65]||(e[65]=i.createElementVNode("img",{src:wt,alt:""},null,-1)),i.createElementVNode("div",Gx,i.toDisplayString(o.points),1)])):i.createCommentVNode("",!0)])])])]),i.createElementVNode("div",Qx,[i.createElementVNode("div",{onClick:e[28]||(e[28]=s=>a.tabacTive(1)),class:i.normalizeClass(["content_tab",[o.contentTab==1?"tabactive":""]])}," 画质 ",2)]),o.contentTab==1?(i.openBlock(),i.createElementBlock("div",jx,[e[66]||(e[66]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),i.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),i.createElementVNode("div",Kx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.clearList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.clearTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeClear(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.clearTab==s.item_id?"content_yactive":""]])},[o.clearTab==s.item_id?(i.openBlock(),i.createElementBlock("div",Jx)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.clearTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.resolution_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",Yx,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,Xx))),128))]),e[67]||(e[67]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),i.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),i.createElementVNode("div",Zx,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.bitrateList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.codeTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeRate(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.codeTab==s.item_id?"content_yactive":""]])},[o.codeTab==s.item_id?(i.openBlock(),i.createElementBlock("div",eh)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.codeTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",th,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,$x))),128))]),e[68]||(e[68]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),i.createElementVNode("div",rh,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.aspectList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.aspectTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeAspect(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.aspectTab==s.item_id?"content_yactive":""]])},[o.aspectTab==s.item_id?(i.openBlock(),i.createElementBlock("div",oh)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.aspectTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",ih,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,nh))),128))])])):i.createCommentVNode("",!0)])):o.custom_menu?(i.openBlock(),i.createElementBlock("div",ah,[i.createElementVNode("div",sh,[i.createElementVNode("div",lh,[o.vip_centerflag?(i.openBlock(),i.createElementBlock("img",{key:0,class:"info_left_img",src:o.head_url,onClick:e[29]||(e[29]=(...s)=>a.head_urlT&&a.head_urlT(...s)),alt:""},null,8,ch)):i.createCommentVNode("",!0),o.level==2?(i.openBlock(),i.createElementBlock("img",fh)):i.createCommentVNode("",!0),i.createElementVNode("div",dh,[i.createElementVNode("div",uh,i.toDisplayString(o.nickname),1),i.createElementVNode("div",xh,[o.durationflag?(i.openBlock(),i.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[30]||(e[30]=(...s)=>a.durationT&&a.durationT(...s))},[e[69]||(e[69]=i.createElementVNode("img",{src:bt,alt:""},null,-1)),i.createElementVNode("div",hh,i.toDisplayString(o.duration?o.duration:"0")+"分钟 ",1)])):i.createCommentVNode("",!0),o.pointsflag?(i.openBlock(),i.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[31]||(e[31]=(...s)=>a.pointsT&&a.pointsT(...s))},[e[70]||(e[70]=i.createElementVNode("img",{src:wt,alt:""},null,-1)),i.createElementVNode("div",ph,i.toDisplayString(o.points),1)])):i.createCommentVNode("",!0)])])])]),o.easyShow?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("iframe",mh))])):i.createCommentVNode("",!0)])])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),o.typesOf==2&&!o.easyShow?(i.openBlock(),i.createElementBlock("div",gh,[i.createElementVNode("div",yh,[o.mobileOne?(i.openBlock(),i.createElementBlock("div",_h,[i.createElementVNode("div",Eh,[i.createElementVNode("div",Ah,[o.vip_centerflag?(i.openBlock(),i.createElementBlock("img",{key:0,style:{width:"65px",height:"65px"},class:"info_left_img",onClick:e[32]||(e[32]=(...s)=>a.head_urlT&&a.head_urlT(...s)),src:o.head_url,alt:""},null,8,vh)):i.createCommentVNode("",!0),o.level==2?(i.openBlock(),i.createElementBlock("img",Bh)):i.createCommentVNode("",!0),i.createElementVNode("div",Ch,[i.createElementVNode("div",bh,i.toDisplayString(o.nickname),1),i.createElementVNode("div",wh,[o.durationflag?(i.openBlock(),i.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[33]||(e[33]=(...s)=>a.durationT&&a.durationT(...s))},[e[71]||(e[71]=i.createElementVNode("img",{src:bt,style:{width:"16px",height:"16px"},alt:""},null,-1)),i.createElementVNode("div",Dh,i.toDisplayString(o.duration?o.duration:"0")+"分钟 ",1)])):i.createCommentVNode("",!0),o.pointsflag?(i.openBlock(),i.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[34]||(e[34]=(...s)=>a.pointsT&&a.pointsT(...s))},[e[72]||(e[72]=i.createElementVNode("img",{src:wt,style:{width:"16px",height:"16px"},alt:""},null,-1)),i.createElementVNode("div",kh,i.toDisplayString(o.points),1)])):i.createCommentVNode("",!0)])])]),i.createElementVNode("div",{class:"info_right",onClick:e[35]||(e[35]=(...s)=>a.logout&&a.logout(...s))},[...e[73]||(e[73]=[i.createElementVNode("img",{src:fr,style:{width:"22px",height:"22px"},alt:""},null,-1),i.createElementVNode("div",{class:"info_right_exit",style:{"font-size":"22px"}},"退出",-1)])])]),i.createElementVNode("div",null,[i.createElementVNode("div",Fh,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.gameList,(s,x)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:x},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(o.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!o.isShowOperation))?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["ipad_item",[o.setupTab==s.link?"setupactive":""]]),style:i.normalizeStyle({"margin-right":s.flag?"0px":"9%"}),onClick:u=>a.mobileSetup(s)},[i.createElementVNode("img",{src:s.icon,alt:""},null,8,Rh),i.createElementVNode("div",Nh,i.toDisplayString(s.title),1)],14,Sh)):i.createCommentVNode("",!0)],64))),128))])])])):i.createCommentVNode("",!0),o.mobileTwo?(i.openBlock(),i.createElementBlock("div",Th,[i.createElementVNode("div",Oh,[i.createElementVNode("div",{onClick:e[36]||(e[36]=s=>a.tabacTive(1)),class:i.normalizeClass(["content_tab",[o.contentTab==1?"tabactive":""]])}," 画质 ",2)]),o.contentTab==1?(i.openBlock(),i.createElementBlock("div",Ph,[e[74]||(e[74]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),i.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),i.createElementVNode("div",Ih,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.clearList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.clearTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeClear(s),style:{width:"116px",height:"48px"}},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.clearTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[o.clearTab==s.item_id?(i.openBlock(),i.createElementBlock("div",Lh)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.clearTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},i.toDisplayString(s.resolution_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",Hh,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,Vh))),128))]),e[75]||(e[75]=i.createElementVNode("div",{class:"content_mtitle",style:{"margin-top":"100px"}},[i.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),i.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),i.createElementVNode("div",Mh,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.bitrateList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.codeTab==s.item_id?"content_iactive":""]]),style:{width:"116px",height:"48px"},key:x,onClick:u=>a.codeRate(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.codeTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[o.codeTab==s.item_id?(i.openBlock(),i.createElementBlock("div",Uh)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.codeTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",qh,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,zh))),128))]),e[76]||(e[76]=i.createElementVNode("div",{class:"content_mtitle",style:{"margin-top":"100px"}},[i.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),i.createElementVNode("div",Wh,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.aspectList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.aspectTab==s.item_id?"content_iactive":""]]),key:x,style:{width:"116px",height:"48px"},onClick:u=>a.codeAspect(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.aspectTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[o.aspectTab==s.item_id?(i.openBlock(),i.createElementBlock("div",Qh)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.aspectTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",jh,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,Gh))),128))])])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)])])):i.createCommentVNode("",!0),o.typesOf==3&&!o.easyShow?(i.openBlock(),i.createElementBlock("div",{key:9,class:"computer_header",onMousedown:e[43]||(e[43]=i.withModifiers(()=>{},["stop"]))},[o.computerTop?(i.openBlock(),i.createElementBlock("div",{key:0,class:"header_one",onMousedown:e[37]||(e[37]=i.withModifiers(s=>a.computerHeader(s),["stop"]))},[e[77]||(e[77]=i.createElementVNode("img",{class:"img_one",src:Cu,alt:""},null,-1)),i.createElementVNode("img",{class:"img_two",src:o.head_url,alt:""},null,8,Kh)],32)):i.createCommentVNode("",!0),o.computerOne?(i.openBlock(),i.createElementBlock("div",Xh,[i.createElementVNode("div",Jh,[o.vip_centerflag?(i.openBlock(),i.createElementBlock("img",{key:0,class:"computer_c_one",src:o.head_url,alt:"",onMousedown:e[38]||(e[38]=i.withModifiers((...s)=>a.head_urlT&&a.head_urlT(...s),["stop"]))},null,40,Yh)):i.createCommentVNode("",!0),o.level==2?(i.openBlock(),i.createElementBlock("img",Zh)):i.createCommentVNode("",!0)]),o.durationflag?(i.openBlock(),i.createElementBlock("div",{key:0,class:"computer_c_Vector",onMousedown:e[39]||(e[39]=i.withModifiers((...s)=>a.durationT&&a.durationT(...s),["stop"]))},[e[78]||(e[78]=i.createElementVNode("img",{src:bt,alt:""},null,-1)),i.createElementVNode("div",$h,i.toDisplayString(o.duration?o.duration:"0")+"分钟 ",1),e[79]||(e[79]=i.createElementVNode("img",{class:"Vector_right",src:V0,alt:""},null,-1))],32)):i.createCommentVNode("",!0),o.pointsflag?(i.openBlock(),i.createElementBlock("div",{key:1,class:"computer_c_Vector",onMousedown:e[40]||(e[40]=i.withModifiers((...s)=>a.pointsT&&a.pointsT(...s),["stop"]))},[e[80]||(e[80]=i.createElementVNode("img",{src:wt,alt:""},null,-1)),i.createElementVNode("div",ep,i.toDisplayString(o.points),1),e[81]||(e[81]=i.createElementVNode("img",{class:"Vector_right",src:V0,alt:""},null,-1))],32)):i.createCommentVNode("",!0),i.createElementVNode("div",tp,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.gameList,(s,x)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:x},[(r.game_cloud_service==3?s.link==="feedback":!(o.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!o.isShowOperation))?(i.openBlock(),i.createElementBlock("div",{key:0,onMousedown:i.withModifiers(u=>a.computerSetup(s),["stop"]),class:i.normalizeClass(["computer_c_item",[o.comTab==s.link?"setupactive":""]])},[i.createElementVNode("img",{src:s.icon,alt:""},null,8,np),i.createElementVNode("div",op,i.toDisplayString(s.title),1)],42,rp)):i.createCommentVNode("",!0)],64))),128)),i.createElementVNode("div",{class:"computer_c_item",onMousedown:e[41]||(e[41]=i.withModifiers((...s)=>a.logout&&a.logout(...s),["stop"]))},[...e[82]||(e[82]=[i.createElementVNode("img",{src:fr,alt:""},null,-1),i.createElementVNode("div",{class:"computer_c_item_text"},"退出",-1)])],32)]),e[84]||(e[84]=i.createElementVNode("div",{class:"computer_c_border"},null,-1)),i.createElementVNode("div",{class:"computer_c_footer",onMousedown:e[42]||(e[42]=i.withModifiers((...s)=>a.retract&&a.retract(...s),["stop"]))},[...e[83]||(e[83]=[i.createElementVNode("img",{src:bu,alt:""},null,-1)])],32)])):i.createCommentVNode("",!0)],32)):i.createCommentVNode("",!0),o.computerTwo&&!o.easyShow?(i.openBlock(),i.createElementBlock("div",{key:10,class:"computer_left",onMousedown:e[45]||(e[45]=i.withModifiers(()=>{},["stop"]))},[i.createElementVNode("div",ip,[i.createElementVNode("div",{onMousedown:e[44]||(e[44]=i.withModifiers(s=>a.tabacTive(1),["stop"])),class:i.normalizeClass(["content_tab",[o.contentTab==1?"tabactive":""]])}," 画质 ",34)]),o.contentTab==1?(i.openBlock(),i.createElementBlock("div",ap,[e[85]||(e[85]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),i.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,下次启动游戏生效)")],-1)),i.createElementVNode("div",sp,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.clearList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.clearTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeClear(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.clearTab==s.item_id?"content_yactive":""]])},[o.clearTab==s.item_id?(i.openBlock(),i.createElementBlock("div",cp)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.clearTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.resolution_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",fp,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,lp))),128))]),e[86]||(e[86]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),i.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),i.createElementVNode("div",dp,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.bitrateList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.codeTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeRate(s)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.codeTab==s.item_id?"content_yactive":""]])},[o.codeTab==s.item_id?(i.openBlock(),i.createElementBlock("div",xp)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.codeTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",hp,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,up))),128))]),e[87]||(e[87]=i.createElementVNode("div",{class:"content_mtitle"},[i.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),i.createElementVNode("div",pp,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.aspectList,(s,x)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["content_m_item",[o.aspectTab==s.item_id?"content_iactive":""]]),key:x,onClick:u=>a.codeAspect(s,4)},[i.createElementVNode("div",{class:i.normalizeClass(["content_m_y",[o.aspectTab==s.item_id?"content_yactive":""]])},[o.aspectTab==s.item_id?(i.openBlock(),i.createElementBlock("div",gp)):i.createCommentVNode("",!0)],2),i.createElementVNode("div",{class:i.normalizeClass(["content_m_w",[o.aspectTab==s.item_id?"content_wactive":""]])},i.toDisplayString(s.item_name),3),s.condition_name?(i.openBlock(),i.createElementBlock("div",yp,i.toDisplayString(s.condition_name),1)):i.createCommentVNode("",!0)],10,mp))),128))])])):i.createCommentVNode("",!0)],32)):i.createCommentVNode("",!0),o.easyShow?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(c,{key:11,ref:"iframe",url:o.url_chat,parentData:o.parentData,onUpdateData:a.updateParentData},null,8,["url","parentData","onUpdateData"]))]),i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["mask",{rotated:o.enableRotation}])},[i.createElementVNode("div",_p,[o.rightGuidance?(i.openBlock(),i.createElementBlock("div",Ep,[i.createElementVNode("img",{src:o.leftGuidance,class:"guidance-img left-img",alt:"左图"},null,8,Ap),i.createElementVNode("img",{src:o.rightGuidance,class:"guidance-img right-img",alt:"右图"},null,8,vp)])):(i.openBlock(),i.createElementBlock("img",{key:1,class:"screenImg",src:o.screenImg,alt:""},null,8,Bp)),i.createElementVNode("div",{class:"close",onClick:e[47]||(e[47]=(...s)=>a.closeDialog&&a.closeDialog(...s))},"×")])],2),[[i.vShow,o.dialogVisible]])])}const bp=cr(wu,[["render",Cp],["__scopeId","data-v-b386ddef"]]);Oe.gameassis=bp,Object.defineProperty(Oe,Symbol.toStringTag,{value:"Module"})});
|
|
21
|
+
*/return r.mode.CTRGladman=function(){var o=r.lib.BlockCipherMode.extend();function i(d){if((d>>24&255)===255){var x=d>>16&255,l=d>>8&255,f=d&255;x===255?(x=0,l===255?(l=0,f===255?f=0:++f):++l):++x,d=0,d+=x<<16,d+=l<<8,d+=f}else d+=1<<24;return d}function a(d){return(d[0]=i(d[0]))===0&&(d[1]=i(d[1])),d}var c=o.Encryptor=o.extend({processBlock:function(d,x){var l=this._cipher,f=l.blockSize,m=this._iv,s=this._counter;m&&(s=this._counter=m.slice(0),this._iv=void 0),a(s);var h=s.slice(0);l.encryptBlock(h,0);for(var u=0;u<f;u++)d[x+u]^=h[u]}});return o.Decryptor=c,o}(),r.mode.CTRGladman})}(ar)),ar.exports}var sr={exports:{}},B0;function Hc(){return B0||(B0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.mode.OFB=function(){var o=r.lib.BlockCipherMode.extend(),i=o.Encryptor=o.extend({processBlock:function(a,c){var d=this._cipher,x=d.blockSize,l=this._iv,f=this._keystream;l&&(f=this._keystream=l.slice(0),this._iv=void 0),d.encryptBlock(f,0);for(var m=0;m<x;m++)a[c+m]^=f[m]}});return o.Decryptor=i,o}(),r.mode.OFB})}(sr)),sr.exports}var cr={exports:{}},v0;function zc(){return v0||(v0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.mode.ECB=function(){var o=r.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),o.Decryptor=o.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),o}(),r.mode.ECB})}(cr)),cr.exports}var lr={exports:{}},C0;function Lc(){return C0||(C0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.pad.AnsiX923={pad:function(o,i){var a=o.sigBytes,c=i*4,d=c-a%c,x=a+d-1;o.clamp(),o.words[x>>>2]|=d<<24-x%4*8,o.sigBytes+=d},unpad:function(o){var i=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=i}},r.pad.Ansix923})}(lr)),lr.exports}var dr={exports:{}},b0;function Mc(){return b0||(b0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.pad.Iso10126={pad:function(o,i){var a=i*4,c=a-o.sigBytes%a;o.concat(r.lib.WordArray.random(c-1)).concat(r.lib.WordArray.create([c<<24],1))},unpad:function(o){var i=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=i}},r.pad.Iso10126})}(dr)),dr.exports}var fr={exports:{}},k0;function Uc(){return k0||(k0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.pad.Iso97971={pad:function(o,i){o.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(o,i)},unpad:function(o){r.pad.ZeroPadding.unpad(o),o.sigBytes--}},r.pad.Iso97971})}(fr)),fr.exports}var xr={exports:{}},D0;function qc(){return D0||(D0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.pad.ZeroPadding={pad:function(o,i){var a=i*4;o.clamp(),o.sigBytes+=a-(o.sigBytes%a||a)},unpad:function(o){for(var i=o.words,a=o.sigBytes-1,a=o.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){o.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(xr)),xr.exports}var ur={exports:{}},w0;function Gc(){return w0||(w0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(ur)),ur.exports}var hr={exports:{}},F0;function Wc(){return F0||(F0=1,function(t,e){(function(r,o,i){t.exports=o(q(),ee())})(L,function(r){return function(o){var i=r,a=i.lib,c=a.CipherParams,d=i.enc,x=d.Hex,l=i.format;l.Hex={stringify:function(f){return f.ciphertext.toString(x)},parse:function(f){var m=x.parse(f);return c.create({ciphertext:m})}}}(),r.format.Hex})}(hr)),hr.exports}var mr={exports:{}},S0;function Qc(){return S0||(S0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.BlockCipher,c=o.algo,d=[],x=[],l=[],f=[],m=[],s=[],h=[],u=[],p=[],y=[];(function(){for(var _=[],E=0;E<256;E++)E<128?_[E]=E<<1:_[E]=E<<1^283;for(var C=0,v=0,E=0;E<256;E++){var b=v^v<<1^v<<2^v<<3^v<<4;b=b>>>8^b&255^99,d[C]=b,x[b]=C;var D=_[C],I=_[D],B=_[I],k=_[b]*257^b*16843008;l[C]=k<<24|k>>>8,f[C]=k<<16|k>>>16,m[C]=k<<8|k>>>24,s[C]=k;var k=B*16843009^I*65537^D*257^C*16843008;h[b]=k<<24|k>>>8,u[b]=k<<16|k>>>16,p[b]=k<<8|k>>>24,y[b]=k,C?(C=D^_[_[_[B^D]]],v^=_[_[v]]):C=v=1}})();var A=[0,1,2,4,8,16,32,64,128,27,54],g=c.AES=a.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var E=this._keyPriorReset=this._key,C=E.words,v=E.sigBytes/4,b=this._nRounds=v+6,D=(b+1)*4,I=this._keySchedule=[],B=0;B<D;B++)B<v?I[B]=C[B]:(_=I[B-1],B%v?v>6&&B%v==4&&(_=d[_>>>24]<<24|d[_>>>16&255]<<16|d[_>>>8&255]<<8|d[_&255]):(_=_<<8|_>>>24,_=d[_>>>24]<<24|d[_>>>16&255]<<16|d[_>>>8&255]<<8|d[_&255],_^=A[B/v|0]<<24),I[B]=I[B-v]^_);for(var k=this._invKeySchedule=[],F=0;F<D;F++){var B=D-F;if(F%4)var _=I[B];else var _=I[B-4];F<4||B<=4?k[F]=_:k[F]=h[d[_>>>24]]^u[d[_>>>16&255]]^p[d[_>>>8&255]]^y[d[_&255]]}}},encryptBlock:function(_,E){this._doCryptBlock(_,E,this._keySchedule,l,f,m,s,d)},decryptBlock:function(_,E){var C=_[E+1];_[E+1]=_[E+3],_[E+3]=C,this._doCryptBlock(_,E,this._invKeySchedule,h,u,p,y,x);var C=_[E+1];_[E+1]=_[E+3],_[E+3]=C},_doCryptBlock:function(_,E,C,v,b,D,I,B){for(var k=this._nRounds,F=_[E]^C[0],S=_[E+1]^C[1],O=_[E+2]^C[2],P=_[E+3]^C[3],H=4,Y=1;Y<k;Y++){var W=v[F>>>24]^b[S>>>16&255]^D[O>>>8&255]^I[P&255]^C[H++],J=v[S>>>24]^b[O>>>16&255]^D[P>>>8&255]^I[F&255]^C[H++],Q=v[O>>>24]^b[P>>>16&255]^D[F>>>8&255]^I[S&255]^C[H++],N=v[P>>>24]^b[F>>>16&255]^D[S>>>8&255]^I[O&255]^C[H++];F=W,S=J,O=Q,P=N}var W=(B[F>>>24]<<24|B[S>>>16&255]<<16|B[O>>>8&255]<<8|B[P&255])^C[H++],J=(B[S>>>24]<<24|B[O>>>16&255]<<16|B[P>>>8&255]<<8|B[F&255])^C[H++],Q=(B[O>>>24]<<24|B[P>>>16&255]<<16|B[F>>>8&255]<<8|B[S&255])^C[H++],N=(B[P>>>24]<<24|B[F>>>16&255]<<16|B[S>>>8&255]<<8|B[O&255])^C[H++];_[E]=W,_[E+1]=J,_[E+2]=Q,_[E+3]=N},keySize:256/32});o.AES=a._createHelper(g)}(),r.AES})}(mr)),mr.exports}var pr={exports:{}},N0;function Jc(){return N0||(N0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.WordArray,c=i.BlockCipher,d=o.algo,x=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],m=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=d.DES=c.extend({_doReset:function(){for(var A=this._key,g=A.words,_=[],E=0;E<56;E++){var C=x[E]-1;_[E]=g[C>>>5]>>>31-C%32&1}for(var v=this._subKeys=[],b=0;b<16;b++){for(var D=v[b]=[],I=f[b],E=0;E<24;E++)D[E/6|0]|=_[(l[E]-1+I)%28]<<31-E%6,D[4+(E/6|0)]|=_[28+(l[E+24]-1+I)%28]<<31-E%6;D[0]=D[0]<<1|D[0]>>>31;for(var E=1;E<7;E++)D[E]=D[E]>>>(E-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var B=this._invSubKeys=[],E=0;E<16;E++)B[E]=v[15-E]},encryptBlock:function(A,g){this._doCryptBlock(A,g,this._subKeys)},decryptBlock:function(A,g){this._doCryptBlock(A,g,this._invSubKeys)},_doCryptBlock:function(A,g,_){this._lBlock=A[g],this._rBlock=A[g+1],u.call(this,4,252645135),u.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),u.call(this,1,1431655765);for(var E=0;E<16;E++){for(var C=_[E],v=this._lBlock,b=this._rBlock,D=0,I=0;I<8;I++)D|=m[I][((b^C[I])&s[I])>>>0];this._lBlock=b,this._rBlock=v^D}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,u.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),u.call(this,16,65535),u.call(this,4,252645135),A[g]=this._lBlock,A[g+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function u(A,g){var _=(this._lBlock>>>A^this._rBlock)&g;this._rBlock^=_,this._lBlock^=_<<A}function p(A,g){var _=(this._rBlock>>>A^this._lBlock)&g;this._lBlock^=_,this._rBlock^=_<<A}o.DES=c._createHelper(h);var y=d.TripleDES=c.extend({_doReset:function(){var A=this._key,g=A.words;if(g.length!==2&&g.length!==4&&g.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var _=g.slice(0,2),E=g.length<4?g.slice(0,2):g.slice(2,4),C=g.length<6?g.slice(0,2):g.slice(4,6);this._des1=h.createEncryptor(a.create(_)),this._des2=h.createEncryptor(a.create(E)),this._des3=h.createEncryptor(a.create(C))},encryptBlock:function(A,g){this._des1.encryptBlock(A,g),this._des2.decryptBlock(A,g),this._des3.encryptBlock(A,g)},decryptBlock:function(A,g){this._des3.decryptBlock(A,g),this._des2.encryptBlock(A,g),this._des1.decryptBlock(A,g)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=c._createHelper(y)}(),r.TripleDES})}(pr)),pr.exports}var gr={exports:{}},T0;function Xc(){return T0||(T0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.StreamCipher,c=o.algo,d=c.RC4=a.extend({_doReset:function(){for(var f=this._key,m=f.words,s=f.sigBytes,h=this._S=[],u=0;u<256;u++)h[u]=u;for(var u=0,p=0;u<256;u++){var y=u%s,A=m[y>>>2]>>>24-y%4*8&255;p=(p+h[u]+A)%256;var g=h[u];h[u]=h[p],h[p]=g}this._i=this._j=0},_doProcessBlock:function(f,m){f[m]^=x.call(this)},keySize:256/32,ivSize:0});function x(){for(var f=this._S,m=this._i,s=this._j,h=0,u=0;u<4;u++){m=(m+1)%256,s=(s+f[m])%256;var p=f[m];f[m]=f[s],f[s]=p,h|=f[(f[m]+f[s])%256]<<24-u*8}return this._i=m,this._j=s,h}o.RC4=a._createHelper(d);var l=c.RC4Drop=d.extend({cfg:d.cfg.extend({drop:192}),_doReset:function(){d._doReset.call(this);for(var f=this.cfg.drop;f>0;f--)x.call(this)}});o.RC4Drop=a._createHelper(l)}(),r.RC4})}(gr)),gr.exports}var _r={exports:{}},R0;function Yc(){return R0||(R0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.StreamCipher,c=o.algo,d=[],x=[],l=[],f=c.Rabbit=a.extend({_doReset:function(){for(var s=this._key.words,h=this.cfg.iv,u=0;u<4;u++)s[u]=(s[u]<<8|s[u]>>>24)&16711935|(s[u]<<24|s[u]>>>8)&4278255360;var p=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],y=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var u=0;u<4;u++)m.call(this);for(var u=0;u<8;u++)y[u]^=p[u+4&7];if(h){var A=h.words,g=A[0],_=A[1],E=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,C=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,v=E>>>16|C&4294901760,b=C<<16|E&65535;y[0]^=E,y[1]^=v,y[2]^=C,y[3]^=b,y[4]^=E,y[5]^=v,y[6]^=C,y[7]^=b;for(var u=0;u<4;u++)m.call(this)}},_doProcessBlock:function(s,h){var u=this._X;m.call(this),d[0]=u[0]^u[5]>>>16^u[3]<<16,d[1]=u[2]^u[7]>>>16^u[5]<<16,d[2]=u[4]^u[1]>>>16^u[7]<<16,d[3]=u[6]^u[3]>>>16^u[1]<<16;for(var p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360,s[h+p]^=d[p]},blockSize:128/32,ivSize:64/32});function m(){for(var s=this._X,h=this._C,u=0;u<8;u++)x[u]=h[u];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<x[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<x[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<x[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<x[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<x[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<x[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<x[6]>>>0?1:0)|0,this._b=h[7]>>>0<x[7]>>>0?1:0;for(var u=0;u<8;u++){var p=s[u]+h[u],y=p&65535,A=p>>>16,g=((y*y>>>17)+y*A>>>15)+A*A,_=((p&4294901760)*p|0)+((p&65535)*p|0);l[u]=g^_}s[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,s[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,s[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,s[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,s[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,s[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,s[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,s[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}o.Rabbit=a._createHelper(f)}(),r.Rabbit})}(_r)),_r.exports}var yr={exports:{}},V0;function Kc(){return V0||(V0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.StreamCipher,c=o.algo,d=[],x=[],l=[],f=c.RabbitLegacy=a.extend({_doReset:function(){var s=this._key.words,h=this.cfg.iv,u=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],p=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var y=0;y<4;y++)m.call(this);for(var y=0;y<8;y++)p[y]^=u[y+4&7];if(h){var A=h.words,g=A[0],_=A[1],E=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,C=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,v=E>>>16|C&4294901760,b=C<<16|E&65535;p[0]^=E,p[1]^=v,p[2]^=C,p[3]^=b,p[4]^=E,p[5]^=v,p[6]^=C,p[7]^=b;for(var y=0;y<4;y++)m.call(this)}},_doProcessBlock:function(s,h){var u=this._X;m.call(this),d[0]=u[0]^u[5]>>>16^u[3]<<16,d[1]=u[2]^u[7]>>>16^u[5]<<16,d[2]=u[4]^u[1]>>>16^u[7]<<16,d[3]=u[6]^u[3]>>>16^u[1]<<16;for(var p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360,s[h+p]^=d[p]},blockSize:128/32,ivSize:64/32});function m(){for(var s=this._X,h=this._C,u=0;u<8;u++)x[u]=h[u];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<x[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<x[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<x[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<x[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<x[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<x[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<x[6]>>>0?1:0)|0,this._b=h[7]>>>0<x[7]>>>0?1:0;for(var u=0;u<8;u++){var p=s[u]+h[u],y=p&65535,A=p>>>16,g=((y*y>>>17)+y*A>>>15)+A*A,_=((p&4294901760)*p|0)+((p&65535)*p|0);l[u]=g^_}s[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,s[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,s[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,s[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,s[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,s[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,s[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,s[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}o.RabbitLegacy=a._createHelper(f)}(),r.RabbitLegacy})}(yr)),yr.exports}var Er={exports:{}},I0;function jc(){return I0||(I0=1,function(t,e){(function(r,o,i){t.exports=o(q(),Se(),Ne(),Be(),ee())})(L,function(r){return function(){var o=r,i=o.lib,a=i.BlockCipher,c=o.algo;const d=16,x=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var f={pbox:[],sbox:[]};function m(y,A){let g=A>>24&255,_=A>>16&255,E=A>>8&255,C=A&255,v=y.sbox[0][g]+y.sbox[1][_];return v=v^y.sbox[2][E],v=v+y.sbox[3][C],v}function s(y,A,g){let _=A,E=g,C;for(let v=0;v<d;++v)_=_^y.pbox[v],E=m(y,_)^E,C=_,_=E,E=C;return C=_,_=E,E=C,E=E^y.pbox[d],_=_^y.pbox[d+1],{left:_,right:E}}function h(y,A,g){let _=A,E=g,C;for(let v=d+1;v>1;--v)_=_^y.pbox[v],E=m(y,_)^E,C=_,_=E,E=C;return C=_,_=E,E=C,E=E^y.pbox[1],_=_^y.pbox[0],{left:_,right:E}}function u(y,A,g){for(let b=0;b<4;b++){y.sbox[b]=[];for(let D=0;D<256;D++)y.sbox[b][D]=l[b][D]}let _=0;for(let b=0;b<d+2;b++)y.pbox[b]=x[b]^A[_],_++,_>=g&&(_=0);let E=0,C=0,v=0;for(let b=0;b<d+2;b+=2)v=s(y,E,C),E=v.left,C=v.right,y.pbox[b]=E,y.pbox[b+1]=C;for(let b=0;b<4;b++)for(let D=0;D<256;D+=2)v=s(y,E,C),E=v.left,C=v.right,y.sbox[b][D]=E,y.sbox[b][D+1]=C;return!0}var p=c.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var y=this._keyPriorReset=this._key,A=y.words,g=y.sigBytes/4;u(f,A,g)}},encryptBlock:function(y,A){var g=s(f,y[A],y[A+1]);y[A]=g.left,y[A+1]=g.right},decryptBlock:function(y,A){var g=h(f,y[A],y[A+1]);y[A]=g.left,y[A+1]=g.right},blockSize:64/32,keySize:128/32,ivSize:64/32});o.Blowfish=a._createHelper(p)}(),r.Blowfish})}(Er)),Er.exports}(function(t,e){(function(r,o,i){t.exports=o(q(),It(),Dc(),wc(),Se(),Fc(),Ne(),s0(),Jn(),Sc(),f0(),Nc(),Tc(),Rc(),er(),Vc(),Be(),ee(),Ic(),Oc(),Pc(),Hc(),zc(),Lc(),Mc(),Uc(),qc(),Gc(),Wc(),Qc(),Jc(),Xc(),Yc(),Kc(),jc())})(L,function(r){return r})})(Zo);var Zc=Zo.exports;const O0=so(Zc),$c="7L4vPoAj6XLUFzSvMstMSwlRX8ZsEY1E";function el(t,e=$c){if(!t||typeof t!="object")return O0.MD5((t?String(t):"")+e).toString();const a=Object.entries(t).filter(([c,d])=>!(c==="sign"||d==null)).sort(([c],[d])=>c<d?-1:c>d?1:0).map(([c,d])=>`${d}`).join("&")+e;return O0.MD5(a).toString()}const tl="https://yunzhi.new-gm.cn",Ot=an.create({baseURL:tl,timeout:3e4,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}});function nl(){const t=typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"",e=/android/i.test(t);return/iphone|ipad|ipod/i.test(t)||typeof navigator<"u"&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?2:e?1:3}Ot.interceptors.request.use(t=>{const e=ge.get("ass_access_token")||"",r=ge.get("ass_channel_code")||"",o={...t.headers};if(e&&(o.authorization=e),r&&(o.channel_code=r),o.device_type=nl(),t.data&&typeof t.data=="object"&&!(typeof FormData<"u"&&t.data instanceof FormData)){const i=el(t.data);o.sign=i}return t.headers=o,t},t=>Promise.reject(t)),Ot.interceptors.response.use(t=>t.data,t=>Promise.reject(t));function Pt(t){return Ae({url:"/api/v6/terminal/configs/by_name",method:"get",params:t,ourl:""})}function rl(t){return Ae({url:"/api/v1/user/info.json",method:"get",params:t,ourl:""})}function ol(t){return Ae({url:"/api/v1/users/mobile/members/information",method:"get",params:t,ourl:""})}function P0(t){return Ae({url:`/api/v6/contents/${t||1981}`,method:"get",ourl:""})}function ot(t){return Ae({url:`/api/v6/contents/games/${t}`,method:"get",ourl:""})}function il(t){return Ae({url:"http://192.168.251.90:13000/api/v1/paas/common/hang_up/list?access_token="+t+"&client_id=8888105",method:"get",ourl:""})}function al(t,e){return Ae({url:`/api/v5/games/${t}/play?user_id=${e}`,method:"get",headers:{channel_code:"33040993",user_id:e,vc:99999,client_id:"8888107"},ourl:""})}function sl(t){return Ae({url:"/apis/logs",params:t,method:"get",ourl:""})}function cl(t){return Ot({url:"/yunzhi/api/benefit/hosting/game/check",method:"post",data:t})}function ll(t){return Ot({url:"/yunzhi/api/benefit/hosting/game/scenario",method:"post",data:t})}const Nh="",Ge=(t,e)=>{const r=t.__vccOpts||t;for(const[o,i]of e)r[o]=i;return r},dl={name:"AnimatedIframe",props:{url:{type:String,required:!0},updateData:{type:Boolean,default:!1}},data(){return{isVisible:!1}},mounted(){},methods:{hide(){this.isVisible=!1},show(){this.isVisible=!0},toggleVisibility(){this.isVisible=!this.isVisible,this.$emit("updateData",this.isVisible)}}},fl={class:"iframe-container"},xl=["src"];function ul(t,e,r,o,i,a){return n.withDirectives((n.openBlock(),n.createElementBlock("div",fl,[n.createElementVNode("iframe",{src:r.url,frameborder:"0"},null,8,xl),n.createElementVNode("button",{onClick:e[0]||(e[0]=(...c)=>a.toggleVisibility&&a.toggleVisibility(...c)),class:"close-button",id:"close-button-id"})],512)),[[n.vShow,i.isVisible]])}const hl=Ge(dl,[["render",ul],["__scopeId","data-v-b9639756"]]),Ar="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAAByCAYAAACP3YV9AAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAleSURBVHgB7Z1fSFRZHMd/7QYptIyy7Gq5rf3btgSNjQrS7aXViB0LbKSXFTL0pbYe8t3e9qmoh919k9gF98HIQNoeYi3C1KAgIyNbpQ2VtCTQgbYUKvd8nXvc6zgz99yZ++ecc+8HDlN6g/LT7/z5/c45dwWpyyrWClgrYi1i/DpiNJBnPJNMnLVZ1uaMX8+w9tL4/QvjUzlWkDpA1JeslRqfEXKHl0YbY22UErKlR3aRkPYVa1+Te+KsgEgIHTQ+pURGkVzedkrdNfoJl3qPElErDbKIhDCI20KJblMFIBJCH5IE+C0SAncbTbboEwVRepe1YfJxPPVLpA4Ck4FEROdt8gE/RFawVkP6CEwGQiHT0y7XS5FY70GgKmNgrkBoO3nU3Xolcq/Rgsht8qC7dVsk1n71lIjGION6dH5M7oGJTB35t5CXCaQLMTd4x9oEuYBbIjEWoitdSSEc/Cw2UWKS9w85jNNdK/6SDRR2pVYgOd9JDna1TkYkutBG1j6lECtWUyJ/jCSCI9UWp0RCYgOF46EdMG46JtMJkaHE7HFMZq4iQ4m544jM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+ipnohfejNj6hdaNwV6j+dyjVcJZRHMeTHaaRss+woQpfrRPZxIo8qYbreLKIRul9lwpvcznOUW1bPeYkyUNev/NITGzWSKwoL5BJLwLzSM5zNpKJmlY4dQ2eXSBFIzI8jcQuGfaK5jVyJaZSxhVll3HSe1ZuXrPU67ACmFKHUteJJFHW0rrV0huq5vX3DGdgJ1zsLaOhOF2KMCT55mWq95atRS6NrLlIh0N4XEQzsYkrJT3myKM2p8Gyq6/M2neYr7vzwf4z3R+QMmM46qDmkKETOSLpc99ncmWOJ02olRIPa4M46OXqkslFdLiglEZE16IQQzD9umRnHIlTHwKCDK2xowmbnH04zmv1cxM1jzKqbLqva7AqaC1R8tC3LuRFdPzsVRDWBNnfXqQHWGMhouO1jJqJBT5d6D8kJiikyXkahRCdxqSDGh6xYQkyEg/5zo7J2CG2iyI3jcKJuqDrk7p0Zw1scHr0r42bVbiT/wGKENYdbKBOJQAAAABJRU5ErkJggg==",Th="",pl={name:"HangupStatus",props:{gameInfo:{type:Object,default:()=>({})},startTime:{type:Date,default:()=>new Date}},data(){return{currentTime:new Date,timer:null}},computed:{elapsedSeconds(){return Math.floor((this.currentTime-this.startTime)/1e3)},formattedTime(){const t=this.gameInfo.lockTime+this.gameInfo.lockSetTime*1e3,e=Math.floor(t/3600),r=Math.floor(t%3600/60),o=t%60;return console.log(`${e}:${r.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`,"hours,minutes,seconds"),`${e}:${r.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`},endTime(){const t=this.gameInfo.lockTime+this.gameInfo.lockSetTime*1e3,e=new Date(t);console.log("结束时间:",e.toLocaleString("zh-CN")),console.log("结束时间 ISO格式:",e.toISOString()),console.log("结束时间 年月日时分秒:",e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+" "+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0"));const r=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0");return`${r}:${o}:${i}`}},watch:{gameInfo:{handler(t){console.log("HangupStatus组件gameInfo更新:",t)},deep:!0,immediate:!0}},mounted(){console.log("HangupStatus组件接收到的gameInfo:",this.gameInfo)},beforeDestroy(){this.stopCountdown()},methods:{startCountdown(){},stopCountdown(){this.timer&&(clearInterval(this.timer),this.timer=null)},enterGame(){this.$emit("handleEnterGame",{gameUrl:`https://h5.play.cn/h5/game_launch/${this.gameInfo.content_id}?caf=33040993&type=cloudgame`,gameInfo:this.gameInfo})},endHangup(){this.$emit("handleEndHangup",{name:"unlock_vm",gameid:this.gameInfo.gameid,gid:this.gameInfo.gid})}}},H0=t=>(n.pushScopeId("data-v-fa6afda0"),t=t(),n.popScopeId(),t),gl={class:"hangup-status-container"},_l={class:"hangup-card"},yl={class:"game-section"},El={class:"game-avatar"},Al=["src","alt"],Bl={class:"game-info"},vl={class:"game-name"},Cl={class:"hangup-time"},bl=[H0(()=>n.createElementVNode("img",{src:ml,alt:"stop",class:"stop-icon"},null,-1)),H0(()=>n.createElementVNode("button",{class:"end-hangup-btn"}," 结束运行 ",-1))];function kl(t,e,r,o,i,a){return n.openBlock(),n.createElementBlock("div",gl,[n.createElementVNode("div",_l,[n.createElementVNode("div",yl,[n.createElementVNode("div",El,[n.createElementVNode("img",{src:r.gameInfo.avatar,alt:t.头像,class:"avatar-image"},null,8,Al)]),n.createElementVNode("div",Bl,[n.createElementVNode("div",vl,n.toDisplayString(r.gameInfo.name),1),n.createElementVNode("div",Cl,"将于"+n.toDisplayString(a.endTime)+"结束运行",1),n.withDirectives(n.createElementVNode("button",{class:"enter-game-btn",onClick:e[0]||(e[0]=(...c)=>a.enterGame&&a.enterGame(...c))},"进入游戏",512),[[n.vShow,r.gameInfo.showEnterGame]])])]),n.createElementVNode("div",{class:"button-section",onClick:e[1]||(e[1]=(...c)=>a.endHangup&&a.endHangup(...c))},bl)])])}const Dl=Ge(pl,[["render",kl],["__scopeId","data-v-fa6afda0"]]),wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAACURJREFUeAHtXD1sFEcUfkY0BAqUSFCAlLOVdDGQBuh84CZpCNChFDGSKZGdJoUpYgooaMBKGSNMAU5FAimgwXY6oMHEdCDYIimMBKEgUG7mu9mxb2/em53dmVvfWfmkse9u72f32/c/b2aANhBpmjbUvwNq7Fej0TZ2ZqMdiRpvs7GcPX+CxwMDA29pgzBANUIRBlKOqzGiRpM0WTGwnI3riswl2mxQxDXVWFTjn7T7wG9cw29SPwPSpsZ0Wg9pEl6q8R11EdFVONVqOqnGBNl2zI1/P6jxnmj1DX9898dEuz6hCkjUmFbqfZ0iIyqBijwQ9yP5EAeyVp4RPX2uCXv5N9GrN+SFwT2KSEXmkPr/xWdEw5+TJxI1JhWRtykSohCYam96jbRjkAHS7j8kerCiiYuF7ds0kYeHiUYP+XxiTo3zisiEAhFMoJfUQdLm78UlTQIkc1iReepr/VhGosbpUK9dmcDM1kHqjotvqpM4DqMHfYiEJE5TRVQiMFPZRZLiONi0mRsbR1wniomcU+P7KgF5aQILybt5l+iXe9RzAHmnvnLZSATiJ8raxVIEKvKQdoE8295B6i7Oam/ay4A0jp/UjsdGosaRMiR6E+iUPNi6i1e1l+0HQBovnpVUOlHjS1919iLQSd7tJaKrv1LfAeRNjetY0gbU+YgPiYUEZt72MXHk9aq98wXUeOJbHT/amFMEni76ii1UjMu0GckDYHJgt1fYaGEsi3GdcEqg+oJp0kFyHpuBvHZAEi+cldQZ9nBZ+qhIYGb3XloHHvypHcZmg+xYEnI4FZcKL1qvIFSZ7UOH4QMUMi7McpFEgzgtzMASqKRvjDi7d+4n/4pJPwIx7Pxd7shkFgNb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dV4nIZi9XWavnufRsBiKuz70tNQJz2S6l3FNwLYAPxyqrWiv4GLSGNJZTEW1ZhI2/Y16Cai2kAfZBLRJL1HA9SqQWFISPepoLvidt32rXYCO5FJClaMgkw8bhBPatL2HwN9jclGO4T/ADqY/I3FmuRQAAAAAElFTkSuQmCC",Ih="",Fl={name:"DragTimer",components:{HangupStatus:Dl},props:{showafk:{type:Number,default:1},afkList:{type:Object,default:()=>({})},slots:{type:Array,default:()=>[]},maxSlots:{type:Number,default:3}},data(){return{currentMinutes:60,minMinutes:10,maxMinutes:360,isDragging:!1,showWaitingPanel:!1}},computed:{fillPercentage(){return(this.currentMinutes-this.minMinutes)/(this.maxMinutes-this.minMinutes)*100},formattedTime(){const t=Math.floor(this.currentMinutes/60),e=this.currentMinutes%60;return t>0&&e>0?`${t}小时${e}分钟`:t>0?`${t}小时`:`${e}分钟`},hasFreeSlot(){return this.slots.length<this.maxSlots},displaySlots(){const t=this.slots.slice(0,this.maxSlots),e=Math.max(this.maxSlots-t.length,0),r=Array(e).fill(null);return console.log(t,"filled"),console.log(r,"placeholders"),[...t,...r]}},methods:{showguaji(t){console.log(t,"slot"),t&&t.status!=="等待运行"?this.$emit("handleEnterGame",t):t&&t.status},openEndConfirmDialog(t,e){this.$emit("openEndConfirmDialog",{index:t,gameid:e.gameid,gid:e.gid,slot:e})},startDrag(t){t.preventDefault(),this.isDragging=!0;const e=o=>{this.isDragging&&this.updateTime(o)},r=()=>{this.isDragging=!1,document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",e),document.removeEventListener("touchend",r)};document.addEventListener("mousemove",e),document.addEventListener("mouseup",r),document.addEventListener("touchmove",e),document.addEventListener("touchend",r),this.updateTime(t)},updateTime(t){const r=this.$refs.track.getBoundingClientRect();let o;t.type.includes("touch")?o=t.touches[0].clientX:o=t.clientX;const i=Math.max(0,Math.min(1,(o-r.left)/r.width));this.currentMinutes=Math.round(this.minMinutes+i*(this.maxMinutes-this.minMinutes)),this.$emit("time-change",{currentMinutes:this.currentMinutes,lock_time:this.currentMinutes*60,formattedTime:this.formattedTime})},startHangup(){let t=this.currentMinutes*60;console.log(t,"seconds");let e={name:"lock_vm",lock_time:t};this.$emit("handleSetCloudIdle",e),this.showWaitingPanel=!1},openAddDialog(){this.$emit("openAddDialog")}}},z0=t=>(n.pushScopeId("data-v-56c4615c"),t=t(),n.popScopeId(),t),Sl={class:"drag-timer-container"},Nl={class:"timer-card"},Tl={class:"slot-section"},Rl={class:"slot-icon-wrapper"},Vl=["onClick"],Il=["src","onClick"],Ol={class:"slot-name"},Pl=z0(()=>n.createElementVNode("div",{class:"slot-add-text"},"新增常驻应用",-1)),Hl={class:"tips"},zl={key:0,class:"timer-content"},Ll={class:"slider-section"},Ml={class:"slider-container"},Ul={class:"current-time"},ql=z0(()=>n.createElementVNode("div",{class:"time-range"},[n.createElementVNode("span",{class:"min-time"},"15分钟"),n.createElementVNode("span",{class:"max-time"},"6小时")],-1)),Gl={class:"button-section"};function Wl(t,e,r,o,i,a){return n.openBlock(),n.createElementBlock("div",Sl,[n.createElementVNode("div",Nl,[n.createElementVNode("div",Tl,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.displaySlots,(c,d)=>(n.openBlock(),n.createElementBlock("div",{key:d,class:n.normalizeClass(["slot-card",{"slot-card--empty":!c,"slot-card--active":c&&c.isCurrent}])},[c?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("div",Rl,[n.withDirectives(n.createElementVNode("img",{src:wl,alt:"",class:"slot-icon-over",onClick:n.withModifiers(x=>a.openEndConfirmDialog(d,c),["stop"])},null,8,Vl),[[n.vShow,c.status!=="等待运行"]]),n.createElementVNode("img",{src:c.icon,alt:"",class:"slot-icon",onClick:x=>a.showguaji(c)},null,8,Il)]),n.createElementVNode("div",Ol,n.toDisplayString(c.name),1),n.createElementVNode("div",{class:n.normalizeClass(["slot-status",{"slot-status--waiting":c.status==="等待挂机"}])},n.toDisplayString(c.status),3)],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createElementVNode("div",{class:"slot-add-icon",onClick:e[0]||(e[0]=(...x)=>a.openAddDialog&&a.openAddDialog(...x))},"+"),Pl],64))],2))),128))]),n.withDirectives(n.createElementVNode("div",Hl," 倒计时结束,系统将释放该游戏 ",512),[[n.vShow,i.showWaitingPanel]]),n.createVNode(n.Transition,{name:"afk-panel"},{default:n.withCtx(()=>[i.showWaitingPanel?(n.openBlock(),n.createElementBlock("div",zl,[n.createElementVNode("div",Ll,[n.createElementVNode("div",Ml,[n.createElementVNode("div",{class:"slider-track",ref:"track",onMousedown:e[3]||(e[3]=(...c)=>a.startDrag&&a.startDrag(...c)),onTouchstart:e[4]||(e[4]=(...c)=>a.startDrag&&a.startDrag(...c))},[n.createElementVNode("div",{class:"slider-fill",style:n.normalizeStyle({width:a.fillPercentage+"%"})},null,4),n.createElementVNode("div",{class:"slider-thumb",style:n.normalizeStyle({left:a.fillPercentage+"%"}),onMousedown:e[1]||(e[1]=(...c)=>a.startDrag&&a.startDrag(...c)),onTouchstart:e[2]||(e[2]=(...c)=>a.startDrag&&a.startDrag(...c))},[n.createElementVNode("div",Ul,n.toDisplayString(a.formattedTime),1)],36)],544)]),ql]),n.createElementVNode("div",Gl,[n.createElementVNode("button",{class:"start-button",onClick:e[5]||(e[5]=(...c)=>a.startHangup&&a.startHangup(...c))}," 开始运行 ")])])):n.createCommentVNode("",!0)]),_:1})])])}const Ql=Ge(Fl,[["render",Wl],["__scopeId","data-v-56c4615c"]]),L0="GAME_VOICE_ASSISTANT_SETTINGS";function M0(){try{const t=localStorage.getItem(L0);if(t){const e=JSON.parse(t);return{enabled:typeof e.enabled=="boolean"?e.enabled:!0,record:typeof e.record=="boolean"?e.record:!0,voiceWakeupEnabled:typeof e.voiceWakeupEnabled=="boolean"?e.voiceWakeupEnabled:!0}}}catch{}return{enabled:!0,record:!0,voiceWakeupEnabled:!0}}function Br(t){try{localStorage.setItem(L0,JSON.stringify(t))}catch{}}function Ht(){return typeof window<"u"&&window.CTYunJSBridge?window.CTYunJSBridge:null}function zt(t,e={},r){const o=Ht();if(o&&typeof o.callNative=="function")o.callNative(t,e,r||(()=>{}));else if(typeof window<"u"){const i=()=>{document.removeEventListener("CTYunJSBridgeReady",i),window.removeEventListener("CTYunJSBridgeReady",i);const a=Ht();a&&typeof a.callNative=="function"&&a.callNative(t,e,r||(()=>{}))};document.addEventListener("CTYunJSBridgeReady",i),window.addEventListener("CTYunJSBridgeReady",i)}}function Jl({enabled:t,voiceWakeupEnabled:e}){zt("setGameVoiceAssistantSettings",{enabled:!!t,voiceWakeupEnabled:!!e})}function U0(t){zt("setGameVoiceAssistantSettings",t)}function Xl(){zt("openGroupChat",{})}function Yl(){zt("clearGameVoiceAssistantHistory",{})}function Kl(t){if(typeof window>"u"||typeof t!="function")return;const e=()=>{const o=Ht();o&&typeof o.on=="function"&&o.on("openGameVoiceAssistantSettings",t)};e();const r=()=>{e()};document.addEventListener("CTYunJSBridgeReady",r,{once:!0}),window.addEventListener("CTYunJSBridgeReady",r,{once:!0})}function q0(t){if(typeof window>"u"||typeof t!="function")return;const e=Ht();e&&typeof e.off=="function"&&e.off("openGameVoiceAssistantSettings",t)}const Oh="",jl={name:"AiGameAssistant",emits:["set-record","open-clear-confirm","toast"],data(){return{settings:{enabled:!0,record:!0,voiceWakeupEnabled:!0}}},created(){this.settings=M0()},methods:{toggleEnabled(){this.settings.enabled=!this.settings.enabled,Br(this.settings),U0({enabled:this.settings.enabled})},toggleRecord(){this.settings.record=!this.settings.record,Br(this.settings),this.$emit("set-record",{name:"record",is_open:this.settings.record?1:0})},toggleVoiceWakeup(){this.settings.voiceWakeupEnabled=!this.settings.voiceWakeupEnabled,Br(this.settings),U0({voiceWakeupEnabled:this.settings.voiceWakeupEnabled})},handlePrivacyClick(){this.$emit("toast","数据与隐私说明暂未配置")},handleClearClick(){this.$emit("open-clear-confirm")}}},Te=t=>(n.pushScopeId("data-v-e539e532"),t=t(),n.popScopeId(),t),Zl={class:"ai-assistant-panel"},$l=Te(()=>n.createElementVNode("div",{class:"ai-panel-header"},[n.createElementVNode("span",{class:"ai-panel-title"},"AI 游戏助手")],-1)),ed={class:"ai-switch-list"},td={class:"ai-switch-item"},nd=Te(()=>n.createElementVNode("span",{class:"switch-label"},"AI游戏助手开关",-1)),rd=[Te(()=>n.createElementVNode("div",{class:"switch-handle"},null,-1))],od={class:"ai-switch-item"},id=Te(()=>n.createElementVNode("span",{class:"switch-label"},"游戏复盘",-1)),ad=[Te(()=>n.createElementVNode("div",{class:"switch-handle"},null,-1))],sd={class:"ai-switch-item"},cd=Te(()=>n.createElementVNode("span",{class:"switch-label"},"语音唤醒",-1)),ld=[Te(()=>n.createElementVNode("div",{class:"switch-handle"},null,-1))],dd={class:"ai-footer-actions"};function fd(t,e,r,o,i,a){return n.openBlock(),n.createElementBlock("div",Zl,[$l,n.createElementVNode("div",ed,[n.createElementVNode("div",td,[nd,n.createElementVNode("div",{class:n.normalizeClass(["custom-switch",{active:i.settings.enabled}]),onClick:e[0]||(e[0]=(...c)=>a.toggleEnabled&&a.toggleEnabled(...c))},rd,2)]),n.createElementVNode("div",od,[id,n.createElementVNode("div",{class:n.normalizeClass(["custom-switch",{active:i.settings.record}]),onClick:e[1]||(e[1]=(...c)=>a.toggleRecord&&a.toggleRecord(...c))},ad,2)]),n.createElementVNode("div",sd,[cd,n.createElementVNode("div",{class:n.normalizeClass(["custom-switch",{active:i.settings.voiceWakeupEnabled}]),onClick:e[2]||(e[2]=(...c)=>a.toggleVoiceWakeup&&a.toggleVoiceWakeup(...c))},ld,2)])]),n.createElementVNode("div",dd,[n.createElementVNode("button",{class:"ai-action-btn",onClick:e[3]||(e[3]=(...c)=>a.handlePrivacyClick&&a.handlePrivacyClick(...c))}," 数据与隐私说明 "),n.createElementVNode("button",{class:"ai-action-btn",onClick:e[4]||(e[4]=(...c)=>a.handleClearClick&&a.handleClearClick(...c))}," 清除全部记录 ")])])}const xd=Ge(jl,[["render",fd],["__scopeId","data-v-e539e532"]]),Lh="",ud={name:"CommonConfirmDialog",props:{visible:{type:Boolean,default:!1},title:{type:String,default:"温馨提示"},message:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确定"}},emits:["cancel","confirm"],methods:{onCancel(){this.$emit("cancel")},onConfirm(){this.$emit("confirm")}}},hd={class:"common-confirm-title"},md={class:"common-confirm-message"},pd={class:"common-confirm-actions"};function gd(t,e,r,o,i,a){return r.visible?(n.openBlock(),n.createElementBlock("div",{key:0,class:"common-confirm-overlay",onClick:e[3]||(e[3]=n.withModifiers((...c)=>a.onCancel&&a.onCancel(...c),["self"]))},[n.createElementVNode("div",{class:"common-confirm-modal",onClick:e[2]||(e[2]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",hd,n.toDisplayString(r.title),1),n.createElementVNode("div",md,n.toDisplayString(r.message),1),n.createElementVNode("div",pd,[n.createElementVNode("button",{class:"common-confirm-btn cancel",onClick:e[0]||(e[0]=(...c)=>a.onCancel&&a.onCancel(...c))},n.toDisplayString(r.cancelText),1),n.createElementVNode("button",{class:"common-confirm-btn confirm",onClick:e[1]||(e[1]=(...c)=>a.onConfirm&&a.onConfirm(...c))},n.toDisplayString(r.confirmText),1)])])])):n.createCommentVNode("",!0)}const _d=Ge(ud,[["render",gd],["__scopeId","data-v-fca5d6c2"]]),it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAB7FJREFUWEell3uMXFUdx7+/c8+9c3d3dnd22t0usNJduwULSisFtFX6EHz8YTRReSTGUmMMakMQNDYEoktAA4lgTayGGINFSMAHCYqJD2iXpm4UNH0I+KDdndLS6e62u7Ozj7mvc37mnDuz7UxfC97sJpO5957f5/f7fn+/c4bwDi8+ekcPpP8hQAHkD9KS742+k6Xo7b7EIwM57cf3EvGdxJCcLhAw02PlcPb+jr5tpbez5oIBeNeAVCu828DqISJalAaphke6DAHH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Cz88dnpJmuS5o4hgUlrgYJ3BcMBRP2OGGqMW8astUgGhu1aFI64it1a2qy1SAqGhQNdCroWdUq3qnXb84sX5SUHQ53SbdqM+DQu5MVd77MpiY8xfrvd5ATLgbBWU1oJnF1akzwqWWtv4PbItWL193kJLDqc7mNZLIZbAWNM6C44BUAugdUupC8yOxjW73hm14aqUypXtu8TXl1IUWCoU+qr2+B8Z7OnayUVYTH6SqpTuqauoN8RfWD29FHydFFgOIDoYJhEiwvOJhHhErzF0LS4qGSp7eqUbiYDFgKWQgwF3lykxXAsB5xSLBuU7r7fLNXKCwAUsBTd/WYhqWgwnIhF4fDX7mYoircYjuUIPZrBX5xt5IwCRTVgaDjrRS18iast3Yf7luK7EreyG87t8JJsxZkARVD0MdfmqsBwuhZdjf5do/dE9EY6TrH2T1AlGLZrwRwLxjuOHLGcLtBdU7T092rBOLjfEdWfmIKmajCcruVII6U39ghN0RD3oSzGhGMK36PVxT8P9sbK7vyKvVMTFmMEyLX1PVqZwke3gSnzs01Be8LRHBhO91I7IOgq0G18ih1x+ADVLBgjQN4SEeZdakiY37glorscQPQCah4MB5CfiAhWBD5IaSEurAN8iJv+DKzcBB8GDAcQQAE4XmV2VAEDrAMGqLJah2bD1S3/XcYYWBKAgs1Qe3c3AAGWATB8zdlVrMnscBZjSSB2aeGPFhBENQAF39IIB5FE/wEM+BQNwlguCsbav4793ULzZAaS/4gI15QSM3/zLLLobP8DM+bWTnMnDDwAAAAASUVORK5CYII=",G0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAAXNSR0IArs4c6QAAAHdJREFUKFOFkGERgmAQRN82MIJVTCANkCTSQCNAAxpAA4hABBusfM7JfMgw3q+be7O3tyfbNdBJmshKtu/ADbhImr9MqbH9AIocfkDAHjgFfOUgDUdgkFStIFRnICnbI9D8X2V7b277uRhfN+dG8nIXMMK1vy95AxCKOwb9TpvIAAAAAElFTkSuQmCC",Ed="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAcCAYAAAAnbDzKAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgBzZeNbYMwEIXvCLN0ga7RBdoB0gG6QBboAizQBTpGu0BHiQLuGYWXRDH+wXeKn2QJ8Jn7PskgIDKMc27vBxmmJ6PM4Gd4OSZmHsggTAa5hr904sFCQl0gCI9u+hKqAlF4dNSVUBPIgkdXPQkVgSJ4dNaR6KgyUXjnfmX8rcypvGKrBBLw37zbvct488crNdUSm7dQBvzh5tI4HmTbvATrK7bTJoFSeEwZSBQLbIVHibJEkUAtPEoVJbIFtOCxREkiS0AbHksVJJICVvC4RaVEVMAaHreqkFgVSMB/CfwnKUYkPgT2NTgZkeAwXwR+mgbue5OfE3c67anrij7F7wQeBY/+hRI3Ao+GB0eBBARagQdPpsQs0Br8khwJbhV+SUqio3EMr2wA3mdmEJbg5MLuLd00/WB468aSZERBg/BLkozueHymxiPP7NP1+T8OxHF5nfcjnQAAAABJRU5ErkJggg==",Mh="",Uh="",Ad={components:{DragTimer:Ql,AnimatedIframe:hl,AiGameAssistant:xd,CommonConfirmDialog:_d},name:"gameassis",props:["access_token","client_id","channel_code","game_id","game_cloud_service"],data(){return{defaultMenuIcon:Ar,activeMenuLink:"",sceneList:[],timer:null,currentTop:0,clientWidth:0,clientHeight:0,itemWidth:40,itemHeight:40,coefficientHeight:.1,gapWidth:10,left:0,top:0,lastDragEndTime:0,lastToggleTime:0,timeOutEvent:0,numi:1,contentTab:1,anyhow:1,typesOf:1,computerTop:!0,computerOne:!1,computerTwo:!1,custom_menu:!1,isPad:"",isiPad:"",mobileOne:!1,mobileTwo:!1,expandShow:!0,setupTab:"",comTab:"",terminal_id:0,vc:50300,gameList:[],bitrateList:[],clearList:[],aspectList:[],codeTab:"",clearTab:"",aspectTab:"",wifiTab:1,honeyTab:1,head_url:"",nickname:"",duration:"",points:"",level:"",durationflag:!1,pointsflag:!1,showfull:!1,vip_centerflag:!0,dialogVisible:!1,screenImg:null,state_show:!1,user_id:"",phone:"",isHarmony:!1,isShowOperation:!1,remainder:null,url_chat:"https://act.play.cn/hd/t/chat/?dark="+this.isDark+"&modal=1",parentData:"初始数据",isFullscreen:!1,control_list:[],keyboardGuidance:"",leftGuidance:"",rightGuidance:"",easyShow:!1,enableRotation:null,showExitButton:!1,showQualityPanel:!1,showQualityDropdown:!1,selectedQuality:"high",selectedSmoothness:"smooth",afkTime:10,afkTimeRange:{min:15,max:360},isBlurred:!1,showTooltip:!0,tooltipFading:!1,currentQuality:"高清",currentGameName:"",currentGameIcon:"",functionButtons:[{type:"profile",name:"个人",icon:"../assets/image/head.png"},{type:"time",name:"时间",icon:"../assets/image/clock.png"},{type:"audio",name:"音频",icon:"../assets/image/operate.png"},{type:"help",name:"帮助",icon:"../assets/image/problem.png"},{type:"quality",name:"质量",icon:"../assets/image/Vector_right.png"}],qualityOptions:[{label:"流畅",value:"smooth",icon:"smooth-icon"},{label:"标清",value:"standard",icon:"standard-icon"},{label:"高清",value:"high",icon:"high-icon"},{label:"超清",value:"ultra",icon:"ultra-icon"}],smoothnessOptions:[{label:"流畅",value:"smooth"},{label:"标准",value:"standard"},{label:"高清",value:"high"},{label:"超清",value:"ultra"}],qualityDropdownOptions:[{label:"蓝光",value:"blue-ray"},{label:"高清",value:"high"},{label:"流畅",value:"smooth"}],currentMinutes:60,minMinutes:10,maxMinutes:360,isDragging:!1,afk_list:[],afk_slots:[],showafk:1,showAFKBubble:!1,isAfkBlack:!1,showToast:!1,toastMessage:"",showConfirmDialog:!1,showEnterGameConfirmDialog:!1,showAIHelperDialog:!1,showGameSpaceConfirm:!1,showClearHistoryConfirm:!1,enterGameData:null,arrowStyle:{},is_open:0,show_ai_pk:!1,game_id_test:"",_easyMenuBeforeAiFilter:null,showEndConfirmDialog:!1,endConfirmGameid:"",endConfirmGid:"",pendingEndSlot:null,istencent:!1}},watch:{showAFKBubble(t,e){e===!0&&t===!1&&this.clearLocalPendingAfkWhenBubbleCloses()}},created(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.left=0,this.top=46;const t=this.access_token,e=this.channel_code;if(ge.set("ass_channel_code",e),ge.set("ass_access_token",t),(this.channel_code=="33040993"||navigator.userAgent.indexOf("CloudPhone")!=-1)&&(this.easyShow=!0),!navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))this.typesOf=3;else{const r=navigator.userAgent.toLowerCase();this.isPad=/ipad/i.test(r),this.isiPad=/iphone/i.test(r)&&/os [6-9]_\d+ like mac os/i.test(r),this.isPad||this.isiPad?this.typesOf=2:this.typesOf=1}this.isHarmonyOS()&&(this.isHarmony=!0),console.log(this.game_cloud_service,"game_cloud_service"),ot(this.game_id).then(r=>{var c;this.game_id_test=this.game_id,r&&r.ext&&(this.currentGameName=r.ext.title||"",this.currentGameIcon=r.ext.img_square&&r.ext.img_square[0]||"");const o=(c=r==null?void 0:r.ext)==null?void 0:c.is_ai_play,i=o==1||o=="1",a=Number(this.game_id);i?((this.channel_code=="80000000"||this.channel_code==8e7)&&(this.easyShow=!0),cl({gameId:a}).then(d=>{d&&d.code===0&&d.data===!0?(this.show_ai_pk=!0,this.getScenarioList()):this.show_ai_pk=!1,this.updateAiMenuVisibility()}).catch(()=>{this.show_ai_pk=!1,this.updateAiMenuVisibility()})):(this.show_ai_pk=!1,this.updateAiMenuVisibility()),this.easyShow==!0&&(setTimeout(()=>{this.showExitButton=!0},500),(r.ext.game_cloud_service==5||r.ext.game_cloud_service=="5")&&(this.istencent=!0)),this.comTab="",this.retract(),P0(r.ext.content_id).then(d=>{if(d.ext)if(d.ext&&Array.isArray(d.ext.control_list)&&d.ext.control_list.length>1){this.leftGuidance="",this.rightGuidance="";for(let x=0;x<d.ext.control_list.length;x++){const l=d.ext.control_list[x];if(!this.rightGuidance&&l.type==="keyboard"&&l.guidance&&(this.rightGuidance=l.guidance),!this.leftGuidance&&l.type==="handle"&&l.guidance&&(this.leftGuidance=l.guidance,this.isShowOperation=!0),this.leftGuidance&&this.rightGuidance)break}}else this.screenImg=d.ext.open_img_handle&&d.ext.open_img_handle[0],this.screenImg&&this.screenImg!=""&&(this.isShowOperation=!0)})}),this.getUserId(),this.getconfig(),this.getBitrate(),this.getClear(),this.getAspect(),this.checkAfkBlack()},mounted(){document.addEventListener("click",this.bodyCloseMenus),window.matchMedia("(orientation: landscape)").matches?this.anyhow=2:this.anyhow=1,this.$nextTick(()=>{window.addEventListener("resize",this.renderResize,!1),document.body.addEventListener("touchmove",function(t){t.preventDefault()},{passive:!1}),this.bindDragEvent()}),this.startBlurTimer(),this.checkTooltipDisplay(),this.initVoiceAssistantSettings()},computed:{fillPercentage(){return(this.currentMinutes-this.minMinutes)/(this.maxMinutes-this.minMinutes)*100},formattedTime(){const t=Math.floor(this.currentMinutes/60),e=this.currentMinutes%60;return t>0&&e>0?`${t}小时${e}分钟`:t>0?`${t}小时`:`${e}分钟`},dragSlots(){return console.log(this.game_id_test,"this.game_id_test"),(this.afk_slots||[]).slice().reverse().slice(0,3).map(e=>{const r=this.formatEndTime(e),o=String(e.game_id)===String(this.game_id_test);return{icon:e.avatar||e.icon||"",name:e.name||e.title||"",status:r?`${r}结束运行`:e.status||"等待运行",isCurrent:o,gameid:e.gameid,gid:e.gid,game_id:e.game_id}})},afkButtonIndex(){const t=this.gameList.findIndex(e=>e.link==="cloud_afk");return t>=0?t:-1},afkBubbleStyle(){return this.afkButtonIndex>=4?{top:"79.2%"}:{top:"69%"}}},methods:{resolveUnlockVmIdsFromPayload(t){t=t||{};let e=t.gameid,r=t.gid;const o=t.slot||{};if((e==null||e==="")&&(e=o.gameid),(r==null||r==="")&&(r=o.gid),(e==null||e==="")&&t.index!=null){const a=(this.afk_slots||[]).slice().reverse().slice(0,3)[t.index];a&&(e=a.gameid,r=a.gid)}return{gameid:e,gid:r}},openEndConfirmDialog(t){t=t||{},console.log(t,"payload"),this.pendingEndSlot=t;const{gameid:e,gid:r}=this.resolveUnlockVmIdsFromPayload(t);this.endConfirmGameid=e,this.endConfirmGid=r,this.showEndConfirmDialog=!0},openAddDialog(){if(!this.game_id_test)return;if((this.afk_slots||[]).some(r=>r.localPending||!r.lockTime?!1:r.game_id!=null&&r.game_id!==""?String(r.game_id)===String(this.game_id_test):this.game_id!=null&&r.gameid!=null?String(r.gameid)===String(this.game_id):!1)){this.showToastMessage("当前游戏正在运行");return}(this.afk_slots||[]).some(r=>r.icon===this.currentGameIcon&&r.name===this.currentGameName)||(this.afk_slots.unshift({icon:this.currentGameIcon,name:this.currentGameName,status:"等待运行",isCurrent:!0,localPending:!0}),this.$refs.dragTimer&&(this.$refs.dragTimer.showWaitingPanel=!0))},clearLocalPendingAfkWhenBubbleCloses(){this.afk_slots=(this.afk_slots||[]).filter(t=>!(t.localPending||t.status==="等待运行"&&!t.lockTime)),this.$nextTick(()=>{this.$refs.dragTimer&&(this.$refs.dragTimer.showWaitingPanel=!1)}),this.afk_slots.length||(this.showafk=1,this.afk_list=[])},formatEndTime(t){if(!t||!t.lockTime||!t.lockSetTime)return"";const e=Number(t.lockTime)+Number(t.lockSetTime)*1e3,r=new Date(e),o=String(r.getHours()).padStart(2,"0"),i=String(r.getMinutes()).padStart(2,"0");return`${o}:${i}`},cancelEndConfirmDialog(){this.showEndConfirmDialog=!1},confirmEndConfirmDialog(){this.showEndConfirmDialog=!1,this.handleEndHangup({name:"unlock_vm",gameid:this.endConfirmGameid,gid:this.endConfirmGid,index:this.pendingEndSlot&&this.pendingEndSlot.index,slot:this.pendingEndSlot&&this.pendingEndSlot.slot})},handleSetCloudIdle(t){if(this.isAfkBlack){this.showToastMessage("当前游戏挂机功能维护中,暂时无法使用");return}console.log("收到DragTimer的挂机请求:",t),this.$emit("set_cloud_idle",t),setTimeout(()=>{this.queryLock_new(this.access_token)},1e3)},handleEndHangup(t){console.log("收到结束挂机请求:",t),this.showConfirmDialog=!0,this.confirmEndHangup(t)},handleEnterGame(t){console.log("收到进入游戏请求:",t),this.enterGameData=t,this.showEnterGameConfirmDialog=!0},confirmEndHangup(t){const e={...this.pendingEndSlot||{},...t||{}},{gameid:r,gid:o}=this.resolveUnlockVmIdsFromPayload(e);if(r==null||r===""){console.warn("unlock_vm: 缺少 gameid,已忽略本次结束挂机"),this.showConfirmDialog=!1;return}var i={name:"unlock_vm",gameid:r,gid:o};console.log("收到结束挂机请求111:",i),this.$emit("set_cloud_idle",i),this.afk_list=[],this.showafk=1,this.showAFKBubble=!1,this.showConfirmDialog=!1,setTimeout(()=>{this.queryLock_new(this.access_token)},1e3)},cancelEndHangup(){this.showConfirmDialog=!1},confirmEnterGame(){console.log(this.enterGameData,"this.enterGameData"),this.enterGameData&&ot(this.enterGameData.gameid).then(t=>{console.log(t,"res");var e="https://h5.play.cn/h5/game_launch/"+t.ext.content_id+"?caf=33040993&type=cloudgame";console.log(e+"&access_token="+this.access_token,"gameUrl"),this.$emit("set_replace",{name:"replace",gameUrl:e+"&access_token="+this.access_token}),this.showEnterGameConfirmDialog=!1,this.enterGameData=null})},cancelEnterGame(){this.showEnterGameConfirmDialog=!1,this.enterGameData=null},openAIHelper(){this.is_open==0?this.is_open=1:this.is_open=0;var t={name:"aigame",is_open:this.is_open};console.log(t),this.$emit("set_aigame",t),this.showQualityPanel=!1,this.showAFKBubble=!1},closeAIHelperDialog(){var t={name:"aigame",is_open:0};console.log(t),this.$emit("set_aigame",t)},queryLock_new(t){il(t).then(e=>{console.log(e,"resqueryLock_new"),console.log(e,"resqueryLock_new"),e.code==200?e.data.length>0?(this.afk_slots=e.data,this.showafk=2,this.afk_list=e.data[0],Promise.all((e.data||[]).slice(0,3).map(r=>ot(r.gameid).then(o=>{var i,a,c,d,x;return{gameid:r.gameid,game_id:(i=o==null?void 0:o.ext)==null?void 0:i.game_id,title:(a=o==null?void 0:o.ext)==null?void 0:a.title,icon:(d=(c=o==null?void 0:o.ext)==null?void 0:c.img_square)==null?void 0:d[0],content_id:(x=o==null?void 0:o.ext)==null?void 0:x.content_id}}).catch(()=>null))).then(r=>{const o=new Map;(r||[]).filter(Boolean).forEach(i=>o.set(String(i.gameid),i)),this.afk_slots=(this.afk_slots||[]).map(i=>{const a=o.get(String(i.gameid));return a?{...i,title:a.title||i.title,icon:a.icon||i.icon,name:a.title||i.name,avatar:a.icon||i.avatar,content_id:a.content_id||i.content_id,game_id:a.game_id||i.game_id}:i})}),ot(this.afk_list.gameid).then(r=>{console.log(e,"res"),this.afk_list.title=r.ext.title,this.afk_list.icon=r.ext.img_square[0],this.afk_list.name=r.ext.title,this.afk_list.avatar=r.ext.img_square[0],this.afk_list.content_id=r.ext.content_id,r.ext.game_id==this.game_id_test?this.afk_list.showEnterGame=!1:this.afk_list.showEnterGame=!0,console.log(JSON.stringify(this.afk_list),"this.afk_list")})):(this.showafk=1,this.afk_slots=[]):(this.showafk=1,this.afk_slots=[])})},checkAfkBlack(){al(this.game_id,this.user_id).then(t=>{t.code==200?this.isAfkBlack=t.ext.is_afk_black:this.isAfkBlack=t.ext.is_afk_black})},showToastMessage(t){this.toastMessage=t,this.showToast=!0,setTimeout(()=>{this.showToast=!1},3e3)},updateTimeSlider(t){this.afkTime=parseInt(t.target.value)},startSliderDrag(t){this.isSliderDragging=!0;const e=t.currentTarget.getBoundingClientRect(),o=(t.clientX-e.left)/e.width*100;this.updateSliderValue(o),document.addEventListener("mousemove",this.onSliderDrag),document.addEventListener("mouseup",this.endSliderDrag),t.preventDefault()},startSliderDragTouch(t){this.isSliderDragging=!0;const e=t.touches[0],r=t.currentTarget.getBoundingClientRect(),i=(e.clientX-r.left)/r.width*100;this.updateSliderValue(i),document.addEventListener("touchmove",this.onSliderDragTouch,{passive:!1}),document.addEventListener("touchend",this.endSliderDrag),t.preventDefault()},startThumbDrag(t){this.isSliderDragging=!0;const e=t.currentTarget.parentElement.getBoundingClientRect();this.sliderDragOffset.x=t.clientX-e.left,document.addEventListener("mousemove",this.onThumbDrag),document.addEventListener("mouseup",this.endSliderDrag),t.preventDefault()},startThumbDragTouch(t){this.isSliderDragging=!0;const e=t.touches[0],r=t.currentTarget.parentElement.getBoundingClientRect();this.sliderDragOffset.x=e.clientX-r.left,document.addEventListener("touchmove",this.onThumbDragTouch,{passive:!1}),document.addEventListener("touchend",this.endSliderDrag),t.preventDefault()},onSliderDrag(t){if(!this.isSliderDragging)return;const e=t.currentTarget.getBoundingClientRect(),o=(t.clientX-e.left)/e.width*100;this.updateSliderValue(o)},onSliderDragTouch(t){if(!this.isSliderDragging)return;const e=t.touches[0],r=t.currentTarget.getBoundingClientRect(),i=(e.clientX-r.left)/r.width*100;this.updateSliderValue(i),t.preventDefault()},onThumbDrag(t){if(!this.isSliderDragging)return;const e=t.currentTarget.parentElement.getBoundingClientRect(),o=(t.clientX-e.left)/e.width*100;this.updateSliderValue(o)},onThumbDragTouch(t){if(!this.isSliderDragging)return;const e=t.touches[0],r=t.currentTarget.parentElement.getBoundingClientRect(),i=(e.clientX-r.left)/r.width*100;this.updateSliderValue(i),t.preventDefault()},updateSliderValue(t){const e=Math.max(0,Math.min(100,t)),r=this.afkTimeRange.max-this.afkTimeRange.min,o=Math.round(e/100*r)+this.afkTimeRange.min;this.afkTime=o},endSliderDrag(){this.isSliderDragging=!1,document.removeEventListener("mousemove",this.onSliderDrag),document.removeEventListener("mouseup",this.endSliderDrag),document.removeEventListener("touchmove",this.onSliderDragTouch),document.removeEventListener("touchend",this.endSliderDrag),document.removeEventListener("mousemove",this.onThumbDrag),document.removeEventListener("touchmove",this.onThumbDragTouch)},updateParentData(t){t==!1&&(this.custom_menu=!1,this.dialogVisible=!1,this.comTab="")},isHarmonyOS(){return(navigator.userAgent||navigator.vendor||window.opera).toLowerCase().includes("harmonyos")},logReport(t){let e=navigator.userAgent,r=e.indexOf("Android")>-1||e.indexOf("Adr")>-1;var o="android";r||(o="ios");let i={channel_code:this.channel_code,into_type:t.into_type,phone:this.phone,event_from_id:t.event_from_id,into_type_id:t.into_type_id,event_from:t.event_from,user_id:this.user_id,visit_id:Date.now(),version_code:"50300",login_state:this.access_token?1:0,is_vip:sessionStorage.getItem("isVip"),dev_code:0,mac_addr:""},a={version:"50300",app_key:"8888107",from:"wap_cloud5g",channel_code:this.channel_code,req_time:Date.now(),timestamp:Date.now(),user_id:this.user_id,ip:"",screen_px:window.screen.width+"*"+window.screen.height,osStr:o,event_key:t.event_key,event_value:JSON.stringify(i)};sl(a)},getUserId(){let t={client_id:this.client_id,access_token:this.access_token};rl(t).then(e=>{e.code==0&&(this.user_id=e.ext[0].id,ge.set("ass_user_id",this.user_id),this.phone=e.ext[0].phone,this.getinformation(),this.head_url=e.ext[0].head_url?e.ext[0].head_url:"../assets/image/head.png",this.nickname=e.ext[0].nickname,console.log(this.head_url,"head_url"),this.queryLock_new(this.access_token))})},getinformation(){let t={user_id:this.user_id};ol(t).then(e=>{e.code==200&&(this.points=e.ext.points,this.level=e.ext.level,this.countdownTimer(e.ext.duration))})},countdownTimer(t){if(t&&t===0){clearInterval(this.remainder);return}this.remainder||(this.duration=(t/60/1e3).toFixed(0),this.remainder=setInterval(()=>{if(t-=1e3,t<=0)this.duration=0,clearInterval(this.remainder),this.remainder=0;else{const e=(t/60/1e3).toFixed(0);e!=this.duration&&(this.duration=e)}},1e3))},getconfig(){Pt({name:"game_header_menus"}).then(t=>{if(t.code==200){let o=[];for(var e=0;e<t.ext.value.length;e++){let i=!0;t.ext.value[e].link=="points"&&(this.pointsflag=!0,i=!1),t.ext.value[e].link=="duration"&&(this.durationflag=!0,i=!1),t.ext.value[e].link=="vip_center"&&(this.vip_centerflag=!0,i=!1),t.ext.value[e].link=="game_quit"&&(i=!1),i&&o.push(t.ext.value[e])}for(var r=0;r<o.length;r++)o[r].flag=!1,this.typesOf==1&&this.anyhow==1&&(r+1)%4==0&&(o[r].flag=!0),this.typesOf==1&&this.anyhow==2||this.typesOf==2?(r+1)%2==0&&(o[r].flag=!0):(r+1)%4==0&&(o[r].flag=!0);if(this.gameList=o,this.easyShow||(this.gameList=this.gameList.filter(i=>i.link!=="ai_auto"&&i.link!=="custom_menu"&&i.link!=="ai_hosting_scene")),this.easyShow){let i=t.ext.value;i=i.filter(a=>a.link!=="AIHelper"),i=i.filter(a=>a.link!=="instructions"),this._easyMenuBeforeAiFilter=i.slice(),this.show_ai_pk||(i=i.filter(a=>a.link!=="ai_auto"&&a.link!=="custom_menu"&&a.link!=="ai_hosting_scene")),this.gameList=i}}})},getClear(){Pt({name:"new_resolution"}).then(t=>{if(t.code==200){this.clearList=t.ext.value;var e={};this.easyShow?(e={name:"new_resolution",item_id:2},this.$emit("set_qualitys",e)):localStorage.getItem("new_resolution")?(this.clearTab=localStorage.getItem("new_resolution"),e={name:"new_resolution",item_id:localStorage.getItem("new_resolution")},this.$emit("set_qualitys",e)):(this.clearTab=t.ext.active_item,e={name:"new_resolution",item_id:t.ext.active_item},this.$emit("set_qualitys",e))}})},getBitrate(){Pt({name:"new_bitrate"}).then(t=>{if(t.code==200){this.bitrateList=t.ext.value;var e={};if(this.easyShow){if(localStorage.getItem("yun_aspect_ratio")){e={name:"new_bitrate",item_id:localStorage.getItem("yun_aspect_ratio")},this.$emit("set_qualitys",e),console.log(e.item_id+"-初始化缓存清晰度-"),localStorage.getItem("yun_aspect_ratio")==4?this.currentQuality="超高清":localStorage.getItem("yun_aspect_ratio")==3?this.currentQuality="高清":localStorage.getItem("yun_aspect_ratio")==2?this.currentQuality="清晰":localStorage.getItem("yun_aspect_ratio")==1&&(this.currentQuality="流畅");return}e={name:"new_bitrate",item_id:4},this.$emit("set_qualitys",e),console.log(e.item_id+"-清晰度-");return}localStorage.getItem("new_bitrate")?(this.codeTab=localStorage.getItem("new_bitrate"),e={name:"new_bitrate",item_id:localStorage.getItem("new_bitrate")},this.$emit("set_qualitys",e)):(this.codeTab=t.ext.active_item,e={name:"new_bitrate",item_id:t.ext.active_item},this.$emit("set_qualitys",e))}})},getAspect(){if(this.easyShow){var t={name:"aspect_ratio",item_id:1};this.$emit("set_qualitys",t),console.log(t.item_id+"-清晰度-");return}Pt({name:"aspect_ratio"}).then(e=>{if(e.code==200){this.aspectList=e.ext.value;var r={};localStorage.getItem("aspect_ratio")?(this.aspectTab=localStorage.getItem("aspect_ratio"),r={name:"aspect_ratio",item_id:localStorage.getItem("aspect_ratio")},this.$emit("set_qualitys",r)):(this.aspectTab=e.ext.active_item,r={name:"aspect_ratio",item_id:e.ext.active_item},this.$emit("set_qualitys",r))}})},bodyCloseMenus(){this.mobileOne===!0&&(this.mobileOne=!1,this.mobileTwo=!1,this.setupTab="",this.expandShow=!0,this.$emit("setting_show",0),this.drag())},onBtnClicked(){const t=Date.now();this.lastDragEndTime&&t-this.lastDragEndTime<250||this.lastToggleTime&&t-this.lastToggleTime<300||(this.lastToggleTime=t,(this.typesOf==1||this.typesOf==2)&&(this.mobileOne=!0,this.expandShow=!1,this.$emit("setting_show",1)),this.durationflag&&this.getinformation())},computerHeader(t){t.stopPropagation(),this.computerOne=!0,this.computerTop=!1,this.computerOne==!0&&setTimeout(()=>{const e=document.getElementById("computer_c_data_id");if(e){const o=this.gameList.length*80;this.isShowOperation==!0?e.style.height=o+80+"px":e.style.height=o+"px"}else console.error("Element with ID computer_c_data_id not found.")},100)},closeDialog(){this.dialogVisible=!1,this.drag()},computerSetup(t){if(t.link=="setting_center"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"4",into_type_id:""};this.logReport(e),this.computerTwo=!this.computerTwo,this.dialogVisible=!1,this.computerTwo?this.comTab=t.link:this.comTab="",this.$refs.iframe.hide()}else if(t.link=="AIHelper"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"9",into_type_id:""};this.logReport(e),this.custom_menu=!this.custom_menu,this.dialogVisible=!1,this.custom_menu?this.comTab=t.link:this.comTab="",this.$refs.iframe.toggleVisibility()}else if(t.link=="share"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"5",into_type_id:""};this.logReport(e),navigator.share?navigator.share({url:window.location.href}):alert("该浏览器暂不支持分享功能")}else if(t.link=="state_monitor"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"7",into_type_id:""};this.logReport(e);let r=(this.state_show=!this.state_show)?1:0,o={event_from:"6",event_from_id:this.game_id,event_key:"e_assistant",into_type:r==1?3:4,into_type_id:""};this.logReport(o),this.$emit("state_show",r),this.$refs.iframe.hide()}else if(t.link=="feedback"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(e),window.open("https://act.play.cn/hd/t/feedback/?access_token="+this.access_token+"&caf="+this.channel_code,"_blank")}else if(t.link=="instructions"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"6",into_type_id:""};this.logReport(e),this.dialogVisible=!0,this.$refs.iframe.hide()}},retract(){this.computerOne=!1,this.computerTwo=!1,this.computerTop=!0},mobileSetup(t){if(t.link=="setting_center"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"4",into_type_id:""};this.logReport(e),this.mobileTwo=!this.mobileTwo,this.dialogVisible=!1,this.mobileTwo?this.setupTab=t.link:this.setupTab="",this.custom_menu=!1}else if(t.link=="AIHelper"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"9",into_type_id:""};this.logReport(e),this.custom_menu=!this.custom_menu,this.dialogVisible=!1,this.custom_menu?this.setupTab=t.link:this.setupTab="",this.mobileTwo=!1}else if(t.link=="share"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"5",into_type_id:""};this.logReport(e),navigator.share?navigator.share({url:window.location.href}):alert("该浏览器暂不支持分享功能")}else if(t.link=="state_monitor"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"7",into_type_id:""};this.logReport(e);let r=(this.state_show=!this.state_show)?1:0,o={event_from:"6",event_from_id:this.game_id,event_key:"e_assistant",into_type:r==1?3:4,into_type_id:""};this.logReport(o),this.$emit("state_show",r),this.custom_menu=!1}else if(t.link=="feedback"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(e),window.open("https://act.play.cn/hd/t/feedback/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0","_blank")}else if(t.link=="instructions"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"6",into_type_id:""};this.logReport(e),ot(this.game_id).then(r=>{this.easyShow==!0&&setTimeout(()=>{this.showExitButton=!0},500),this.dialogVisible=!0,this.mobileTwo=!1,this.setupTab="",this.mobileOne=!1,this.expandShow=!0,P0(r.ext.content_id).then(o=>{o.ext&&(this.screenImg=o.ext.open_img_handle&&o.ext.open_img_handle[0])})})}else if(t.link=="vip_center")this.easyShow==!0&&window.open("https://h5.play.cn/c/pay/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0&needback=1","_blank");else if(t.link=="duration")this.easyShow==!0&&window.open("https://act.play.cn/hd/t/new_records/?access_token="+this.access_token+"&caf="+this.channel_code+"&dark=0&needback=1","_blank");else if(t.link=="cloud_afk"){let e={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"10",into_type_id:""};this.logReport(e),this.showAFKBubble=!this.showAFKBubble,this.showQualityDropdown=!1,this.showAFKBubble&&(this.user_id&&this.queryLock_new(this.access_token),this.$nextTick(()=>{this.calculateArrowPosition()}))}else t.link=="ai_auto"&&this.openAIHelper()},calculateArrowPosition(){const t=document.querySelector('[data-link="cloud_afk"]').closest(".function-btn-container");if(t){const e=t.getBoundingClientRect(),r=document.querySelector(".exit-dialog-content");if(r){const o=r.getBoundingClientRect(),i=e.left-o.left+e.width/2,a=e.bottom-o.top+10;this.arrowStyle={left:i+"px",top:a+"px"}}}},durationT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"3",into_type_id:""};this.logReport(t),this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/setUp?link=duration","_blank"):window.open("https://h5.play.cn/c/dmg/home/setUp?link=duration")},pointsT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"8",into_type_id:""};this.logReport(t),this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/setUp?link=points"):window.open("https://h5.play.cn/c/dmg/home/setUp?link=points")},head_urlT(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"1",into_type_id:""};this.logReport(t);let e=localStorage.getItem("topRouterId");this.client_id=="8888107"?window.open("https://h5.play.cn/h5/home/personalCtr?topRouterId="+e):window.open("https://h5.play.cn/c/dmg/home/personalCtr?topRouterId="+e)},fulls(){if(this.isFullscreen)document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullscreen=!1;else{const t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen(),this.isFullscreen=!0}},requestFulls(){if(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled){const t=document.documentElement;!document.fullscreenElement&&!document.webkitFullscreenElement&&!document.mozFullScreenElement&&!document.msFullscreenElement&&(t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen())}this.isFullscreen=!0},exitFulls(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullscreen=!1},logout(){let t={event_from:"6",event_from_id:this.game_id,event_key:"c_assistant",into_type:"2",into_type_id:""};this.logReport(t),this.computerOne=!1,this.computerTwo=!1,this.computerTop=!0,this.mobileOne=!1,this.mobileTwo=!1,this.setupTab="",this.expandShow=!0,this.dialogVisible=!1,this.$emit("set_exit"),this.$emit("setting_show",0)},codeClear(t){let e={event_from:"6",event_from_id:this.game_id,event_key:"g_exchange_px",into_type:"",into_type_id:""};this.logReport(e),this.clearTab=t.item_id;var r={name:"new_resolution",item_id:t.item_id};localStorage.setItem("new_resolution",t.item_id),console.log(r),this.$emit("set_qualitys",r)},codeRate(t){console.log(t);let e={event_from:"6",event_from_id:this.game_id,event_key:"fps",into_type:"",into_type_id:""};this.logReport(e),this.codeTab=t.item_id;var r={name:"new_bitrate",item_id:t.item_id};localStorage.setItem("new_bitrate",t.item_id),console.log(r),this.easyShow?(r={name:"new_bitrate",item_id:3},this.$emit("set_qualitys",r)):this.$emit("set_qualitys",r)},codeAspect(t,e){e==4&&(t.item_id==2?this.requestFulls():this.exitFulls()),this.aspectTab=t.item_id;var r={name:"aspect_ratio",item_id:t.item_id};localStorage.setItem("aspect_ratio",t.item_id),this.$emit("set_qualitys",r)},renderResize(){window.matchMedia("(orientation: landscape)").matches?(this.anyhow=2,this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight):(this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.anyhow=1);for(var t=0;t<this.gameList.length;t++)this.gameList[t].flag=!1,this.typesOf==1&&this.anyhow==1&&(t+1)%4==0&&(this.gameList[t].flag=!0),this.typesOf==1&&this.anyhow==2&&(t+1)%2==0&&(this.gameList[t].flag=!0),this.typesOf==2&&(t+1)%2==0&&(this.gameList[t].flag=!0)},drag(){this.$nextTick(()=>{document.body.addEventListener("touchmove",function(t){t.preventDefault()},{passive:!1}),this.bindDragEvent()})},bindDragEvent(){const t=this.$refs.div;if(!t)return;let e=0,r=0,o=0,i=0,a=!1;t.addEventListener("touchstart",c=>{if(c.stopPropagation(),c.targetTouches.length===1){const d=c.targetTouches[0];e=d.clientX,r=d.clientY,o=this.left,i=this.top,a=!1}t.style.transition="none"}),t.addEventListener("touchmove",c=>{if(c.stopPropagation(),c.targetTouches.length===1){const d=c.targetTouches[0],x=d.clientX-e,l=d.clientY-r;!a&&Math.hypot(x,l)>8&&(a=!0),a&&(c.preventDefault(),this.left=o+x,this.top=i+l)}},{passive:!1}),t.addEventListener("touchend",c=>{if(c.stopPropagation(),t.style.transition="all 0.3s",!!a)if(this.lastDragEndTime=Date.now(),this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.left>this.clientWidth/2?this.left=this.clientWidth-this.itemWidth:this.left=0,this.top<=36)this.top=36+this.gapWidth;else{let d=this.clientHeight-50-this.itemHeight-this.gapWidth;this.top>=d&&(this.top=d)}},!1)},tabacTive(t){this.contentTab=t},handleFullscreenChange(){this.isFullscreen=!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)},toggleQualityPanel(){var e;const t=Date.now();if(!(this.lastDragEndTime&&t-this.lastDragEndTime<250)&&!(this.lastToggleTime&&t-this.lastToggleTime<300)&&(this.lastToggleTime=t,this.showQualityPanel=!this.showQualityPanel,this.showQualityPanel)){const r=Array.isArray(this.gameList)&&this.gameList.some(o=>o.link==="setting_center");this.activeMenuLink=r?"setting_center":this.gameList&&((e=this.gameList[0])==null?void 0:e.link)||""}},handleEasyMenuClick(t){if(!t||!t.link)return;const e=(t.link||"").trim();if(e==="game_space"){this.showGameSpaceConfirm=!0;return}e==="setting_center"||e==="ai_hosting_scene"||e==="custom_menu"||e==="ai_game_assistant"?this.activeMenuLink=e:e==="game_quit"?this.cancelExit():this.mobileSetup(t)},getScenarioList(){const t=Number(this.game_id);ll({gameId:t}).then(e=>{e&&e.code===0&&Array.isArray(e.data)&&e.data.length>0&&(this.sceneList=e.data,this.$emit("set_scenario",e.data))}).catch(e=>{console.log("获取场景列表失败:",e)})},updateAiMenuVisibility(){this.easyShow&&this._easyMenuBeforeAiFilter&&this._easyMenuBeforeAiFilter.length&&(this.gameList=this._easyMenuBeforeAiFilter.filter(t=>t.link!=="ai_auto"&&t.link!=="custom_menu"&&t.link!=="ai_hosting_scene"||this.show_ai_pk))},selectQuality(t){this.selectedQuality=t,this.showQualityPanel=!1,console.log("切换到清晰度:",t),this.$emit("quality-change",t)},selectSmoothness(t){this.selectedSmoothness=t,this.showQualityDropdown=!1,console.log("切换到流畅度:",t),this.$emit("smoothness-change",t)},cancelExit(){this.showQualityPanel=!1,this.$emit("set_exit")},confirmExit(){this.lastToggleTime&&Date.now()-this.lastToggleTime<300||(this.showQualityPanel=!1,this.showAFKBubble=!1)},startBlurTimer(){setTimeout(()=>{this.isBlurred=!0},5e3)},startTooltipTimer(){setTimeout(()=>{this.tooltipFading=!0,setTimeout(()=>{this.showTooltip=!1,this.markTooltipAsSeen()},300)},4e3)},checkTooltipDisplay(){localStorage.getItem("game_exit_tooltip_seen")?this.showTooltip=!1:(this.showTooltip=!0,this.startTooltipTimer())},markTooltipAsSeen(){localStorage.setItem("game_exit_tooltip_seen","true")},resetTooltipDisplay(){localStorage.removeItem("game_exit_tooltip_seen"),console.log("气泡显示状态已重置,下次访问将重新显示气泡")},getExitButtonImage(){return Ar},handleFunction(t){switch(t){case"profile":console.log("个人中心");break;case"time":console.log("时间设置");break;case"audio":console.log("音频设置");break;case"help":console.log("帮助");break;case"quality":console.log("清晰度设置");break}},toggleQualityDropdown(){this.showQualityDropdown=!this.showQualityDropdown,console.log("选 - showQualityDropdown:",this.showQualityDropdown),this.showAFKBubble=!1},selectQualityOption(t){console.log("选择前 - showQualityDropdown:",this.showQualityDropdown),this.currentQuality=t.item_name,this.showQualityDropdown=!1,console.log("选择后 - showQualityDropdown:",this.showQualityDropdown),console.log("选择清晰度:",t.item_name);var e={name:"aspect_ratio",item_id:t.item_id};console.log("选择清晰度:",e),localStorage.setItem("yun_aspect_ratio",t.item_id),console.log("选择缓存清晰度:",localStorage.getItem("yun_aspect_ratio")),this.$emit("set_qualitys",e)},handleSetRecord(t){this.$emit("set_record",t)},confirmGameSpace(){Xl(),this.showGameSpaceConfirm=!1},confirmClearHistory(){Yl(),this.showClearHistoryConfirm=!1},handleOpenVoiceAssistantSettings(){this.showQualityPanel=!0,this.activeMenuLink="ai_game_assistant"},initVoiceAssistantSettings(){const t=M0();Jl({enabled:t.enabled,voiceWakeupEnabled:t.voiceWakeupEnabled}),this.$emit("set_record",{name:"record",is_open:t.record?1:0}),Kl(this.handleOpenVoiceAssistantSettings)}},beforeDestroy(){q0(this.handleOpenVoiceAssistantSettings),document.removeEventListener("fullscreenchange",this.handleFullscreenChange),document.removeEventListener("webkitfullscreenchange",this.handleFullscreenChange),document.removeEventListener("mozfullscreenchange",this.handleFullscreenChange),document.removeEventListener("MSFullscreenChange",this.handleFullscreenChange)},beforeUnmount(){q0(this.handleOpenVoiceAssistantSettings)}},z=t=>(n.pushScopeId("data-v-7f2fb070"),t=t(),n.popScopeId(),t),Bd={key:0,class:"easyShow"},vd=[z(()=>n.createElementVNode("img",{src:Ar,alt:"退出按钮",class:"exit-button-img"},null,-1))],Cd=[z(()=>n.createElementVNode("div",{class:"tooltip-content"},[n.createElementVNode("div",{class:"tooltip-text"},"点击按钮可以退出游戏"),n.createElementVNode("div",{class:"tooltip-arrow"})],-1))],bd=["onClick"],kd=["src"],Dd={class:"easy-menu-title"},wd={class:"easy-dialog-right"},Fd={key:0,class:"easy-panel-content"},Sd=z(()=>n.createElementVNode("div",{class:"easy-panel-header"},[n.createElementVNode("span",{class:"easy-panel-title"},"新版码率档位配置"),n.createElementVNode("span",{class:"easy-panel-sub"},"(游戏内设置立即生效)")],-1)),Nd={class:"bitrate-options-grid"},Td=["onClick"],Rd=z(()=>n.createElementVNode("span",{class:"radio-icon"},null,-1)),Vd={class:"radio-label"},Id={key:1,class:"easy-panel-content"},Od=z(()=>n.createElementVNode("div",{class:"easy-panel-header"},[n.createElementVNode("span",{class:"easy-panel-title"},"已适配场景"),n.createElementVNode("span",{class:"easy-panel-sub"},"(可以在以下游戏场景开启AI云托管)")],-1)),Pd={class:"scene-grid-container"},Hd={class:"scene-img-wrapper"},zd=["src"],Ld=["title"],Md={key:2,class:"easy-panel-content",style:{padding:"0",height:"100%"}},Ud={key:3,class:"easy-panel-placeholder"},qd={key:2,class:"toast-container",style:{"z-index":"10000000000"}},Gd={class:"toast-message"},Wd=z(()=>n.createElementVNode("div",{class:"end-confirm-title"},"确认结束后台常驻",-1)),Qd={class:"end-confirm-message"},Jd={class:"end-confirm-actions"},Xd={class:"confirm-content"},Yd=z(()=>n.createElementVNode("div",{class:"confirm-title"},"确认跳转",-1)),Kd={class:"confirm-message"},jd={class:"confirm-buttons"},Zd={class:"confirm-content"},$d=z(()=>n.createElementVNode("div",{class:"confirm-title"},"AI助手",-1)),ef=z(()=>n.createElementVNode("div",{class:"confirm-message"},"请选择操作",-1)),tf={class:"confirm-buttons"},nf=["src"],rf={key:7},of={key:0,class:"setup"},af={key:0,class:"content"},sf={class:"content_top"},cf={key:0,class:"content_m"},lf=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),n.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),df={class:"content_m_n"},ff=["onClick"],xf={key:0,class:"content_sxy"},uf={key:0,class:"zxhy"},hf=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),n.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),mf={class:"content_m_n"},pf=["onClick"],gf={key:0,class:"content_sxy"},_f={key:0,class:"zxhy"},yf=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),Ef={class:"content_m_n"},Af=["onClick"],Bf={key:0,class:"content_sxy"},vf={key:0,class:"zxhy"},Cf={class:"info"},bf={class:"info_left"},kf=["src"],Df={key:1,src:it,class:"member",alt:""},wf={class:"info_left_cont"},Ff={class:"info_left_cont1"},Sf={class:"info_left_cont2"},Nf=z(()=>n.createElementVNode("img",{src:at,alt:""},null,-1)),Tf={class:"info_left_cont2_text"},Rf=z(()=>n.createElementVNode("img",{src:st,alt:""},null,-1)),Vf={class:"info_left_cont2_text"},If=[z(()=>n.createElementVNode("img",{src:Lt,alt:""},null,-1)),z(()=>n.createElementVNode("div",{class:"info_right_exit"},"退出",-1))],Of={class:"setup_con"},Pf=["onClick"],Hf=["src"],zf={class:"setup_text"},Lf={key:1,class:"computer_ai_iframe",src:"https://act.play.cn/hd/t/chat/?modal=2",width:"100%",height:"100%",style:{border:"none",height:"25rem"}},Mf={key:1},Uf={class:"horiz"},qf={class:"horiz_cont",style:{width:"120px !important"}},Gf={class:"horiz_setup_con",style:{"padding-top":"3px"}},Wf=["onClick"],Qf=["src"],Jf={class:"setup_text"},Xf=[z(()=>n.createElementVNode("img",{src:Lt,alt:""},null,-1)),z(()=>n.createElementVNode("div",{class:"setup_text"},"退出",-1))],Yf={key:0,class:"horiz_set"},Kf={class:"horiz_cont_info",style:{"padding-top":"10px","padding-left":"20px"}},jf={class:"info_left"},Zf=["src"],$f={key:1,src:it,class:"member",alt:""},ex={class:"info_left_cont"},tx={class:"info_left_cont1"},nx={class:"info_left_cont2"},rx=z(()=>n.createElementVNode("img",{src:at,alt:""},null,-1)),ox={class:"info_left_cont2_text"},ix=z(()=>n.createElementVNode("img",{src:st,alt:""},null,-1)),ax={class:"info_left_cont2_text"},sx={class:"content_top"},cx={key:0,class:"horiz_m"},lx=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),n.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),dx={class:"content_m_n"},fx=["onClick"],xx={key:0,class:"content_sxy"},ux={key:0,class:"zxhy"},hx=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),n.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),mx={class:"content_m_n"},px=["onClick"],gx={key:0,class:"content_sxy"},_x={key:0,class:"zxhy"},yx=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),Ex={class:"content_m_n"},Ax=["onClick"],Bx={key:0,class:"content_sxy"},vx={key:0,class:"zxhy"},Cx={key:1,class:"horiz_set",style:{width:"410px"}},bx={class:"horiz_cont_info",style:{"padding-top":"10px"}},kx={class:"info_left"},Dx=["src"],wx={key:1,src:it,class:"member",alt:""},Fx={class:"info_left_cont"},Sx={class:"info_left_cont1"},Nx={class:"info_left_cont2"},Tx=z(()=>n.createElementVNode("img",{src:at,alt:""},null,-1)),Rx={class:"info_left_cont2_text"},Vx=z(()=>n.createElementVNode("img",{src:st,alt:""},null,-1)),Ix={class:"info_left_cont2_text"},Ox={key:0,src:"https://act.play.cn/hd/t/chat/?modal=2",style:{border:"none","border-width":"0px",position:"relative","margin-top":"9px",height:"calc(100% - 55px)",width:"100%"}},Px={key:8},Hx={class:"horiz"},zx={key:0,class:"ipad_cont"},Lx={class:"horiz_cont_info"},Mx={class:"info_left"},Ux=["src"],qx={key:1,src:it,class:"member",style:{left:"30px",width:"35px"},alt:""},Gx={class:"info_left_cont"},Wx={class:"info_left_cont1",style:{"font-size":"22px"}},Qx={class:"info_left_cont2"},Jx=z(()=>n.createElementVNode("img",{src:at,style:{width:"16px",height:"16px"},alt:""},null,-1)),Xx={class:"info_left_cont2_text",style:{"font-size":"18px"}},Yx=z(()=>n.createElementVNode("img",{src:st,style:{width:"16px",height:"16px"},alt:""},null,-1)),Kx={class:"info_left_cont2_text",style:{"font-size":"18px"}},jx=[z(()=>n.createElementVNode("img",{src:Lt,style:{width:"22px",height:"22px"},alt:""},null,-1)),z(()=>n.createElementVNode("div",{class:"info_right_exit",style:{"font-size":"22px"}},"退出",-1))],Zx={class:"horiz_setup_con",style:{"padding-top":"23px"}},$x=["onClick"],eu=["src"],tu={class:"setup_text"},nu={key:1,class:"horiz_set"},ru={class:"content_top"},ou={key:0,class:"horiz_m",style:{"margin-top":"56px","margin-left":"24px"}},iu=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),n.createElementVNode("div",{class:"content_mtitle2"}," (游戏内设置,下次启动游戏生效) ")],-1)),au={class:"content_m_n",style:{"margin-top":"20px"}},su=["onClick"],cu={key:0,class:"content_sxy"},lu={key:0,class:"zxhy"},du=z(()=>n.createElementVNode("div",{class:"content_mtitle",style:{"margin-top":"100px"}},[n.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),n.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),fu={class:"content_m_n",style:{"margin-top":"20px"}},xu=["onClick"],uu={key:0,class:"content_sxy"},hu={key:0,class:"zxhy"},mu=z(()=>n.createElementVNode("div",{class:"content_mtitle",style:{"margin-top":"100px"}},[n.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),pu={class:"content_m_n",style:{"margin-top":"20px"}},gu=["onClick"],_u={key:0,class:"content_sxy"},yu={key:0,class:"zxhy"},Eu=z(()=>n.createElementVNode("img",{class:"img_one",src:yd,alt:""},null,-1)),Au=["src"],Bu={key:1,class:"computer_content"},vu={class:"computer_c_header"},Cu=["src"],bu={key:1,class:"computer_c_two",src:it,alt:""},ku=z(()=>n.createElementVNode("img",{src:at,alt:""},null,-1)),Du={class:"computer_c_time"},wu=z(()=>n.createElementVNode("img",{class:"Vector_right",src:G0,alt:""},null,-1)),Fu=z(()=>n.createElementVNode("img",{src:st,alt:""},null,-1)),Su={class:"computer_c_time"},Nu=z(()=>n.createElementVNode("img",{class:"Vector_right",src:G0,alt:""},null,-1)),Tu={class:"computer_c_data",id:"computer_c_data_id"},Ru=["onMousedown"],Vu=["src"],Iu={class:"computer_c_item_text"},Ou=[z(()=>n.createElementVNode("img",{src:Lt,alt:""},null,-1)),z(()=>n.createElementVNode("div",{class:"computer_c_item_text"},"退出",-1))],Pu=z(()=>n.createElementVNode("div",{class:"computer_c_border"},null,-1)),Hu=[z(()=>n.createElementVNode("img",{src:Ed,alt:""},null,-1))],zu={class:"content_top"},Lu={key:0,class:"horiz_m"},Mu=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"分辨率"),n.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,下次启动游戏生效)")],-1)),Uu={class:"content_m_n"},qu=["onClick"],Gu={key:0,class:"content_sxy"},Wu={key:0,class:"zxhy"},Qu=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"清晰度"),n.createElementVNode("div",{class:"content_mtitle2"},"(游戏内设置,立即生效)")],-1)),Ju={class:"content_m_n"},Xu=["onClick"],Yu={key:0,class:"content_sxy"},Ku={key:0,class:"zxhy"},ju=z(()=>n.createElementVNode("div",{class:"content_mtitle"},[n.createElementVNode("div",{class:"content_mtitle1"},"画面比例")],-1)),Zu={class:"content_m_n"},$u=["onClick"],eh={key:0,class:"content_sxy"},th={key:0,class:"zxhy"},nh={class:"mask_img"},rh={key:0,class:"guidance-row"},oh=["src"],ih=["src"],ah=["src"];function sh(t,e,r,o,i,a){var f,m;const c=n.resolveComponent("AiGameAssistant"),d=n.resolveComponent("DragTimer"),x=n.resolveComponent("CommonConfirmDialog"),l=n.resolveComponent("AnimatedIframe");return n.openBlock(),n.createElementBlock("div",null,[n.createElementVNode("div",{onClick:e[49]||(e[49]=n.withModifiers(()=>{},["stop"]))},[i.easyShow?(n.openBlock(),n.createElementBlock("div",Bd,[n.withDirectives(n.createElementVNode("div",{class:"floating-quality-widget",style:n.normalizeStyle({width:i.itemWidth+"px",height:i.itemHeight+"px",left:i.left+"px",top:i.top+"px"}),ref:"div"},[n.createElementVNode("div",{class:"arrow-button",onClick:e[0]||(e[0]=(...s)=>a.toggleQualityPanel&&a.toggleQualityPanel(...s))},vd),i.showTooltip?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["tooltip-bubble",{"fade-out":i.tooltipFading}])},Cd,2)):n.createCommentVNode("",!0)],4),[[n.vShow,i.showExitButton]])])):n.createCommentVNode("",!0),i.showQualityPanel&&i.easyShow?(n.openBlock(),n.createElementBlock("div",{key:1,class:"exit-dialog-overlay",onClick:e[6]||(e[6]=n.withModifiers((...s)=>a.confirmExit&&a.confirmExit(...s),["self"]))},[n.createElementVNode("div",{class:n.normalizeClass(["exit-dialog-modal",{portrait:i.anyhow===1,rotated:i.enableRotation}]),onClick:e[5]||(e[5]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",{class:"easy-dialog-left",onTouchmove:e[1]||(e[1]=n.withModifiers(()=>{},["stop"]))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.gameList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{key:h,class:n.normalizeClass(["easy-menu-btn",{active:i.activeMenuLink===(s.link||"").trim()}]),onClick:u=>a.handleEasyMenuClick(s)},[n.createElementVNode("img",{src:s.icon||i.defaultMenuIcon,class:"easy-menu-icon",referrerpolicy:"no-referrer"},null,8,kd),n.createElementVNode("span",Dd,n.toDisplayString(s.title),1)],10,bd))),128))],32),n.createElementVNode("div",wd,[i.activeMenuLink==="setting_center"?(n.openBlock(),n.createElementBlock("div",Fd,[Sd,n.createElementVNode("div",Nd,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.bitrateList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{key:h,class:n.normalizeClass(["bitrate-option-card",{active:i.currentQuality===s.item_name}]),onClick:u=>a.selectQualityOption(s)},[Rd,n.createElementVNode("span",Vd,n.toDisplayString(s.item_name),1)],10,Td))),128))])])):i.activeMenuLink==="ai_hosting_scene"||i.activeMenuLink==="custom_menu"?(n.openBlock(),n.createElementBlock("div",Id,[Od,n.createElementVNode("div",{class:"scene-list-scroll",onTouchmove:e[2]||(e[2]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",Pd,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.sceneList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{key:s.id||h,class:"scene-item-card"},[n.createElementVNode("div",Hd,[n.createElementVNode("img",{src:s.scenarioPic||s.img,class:"scene-cover-img"},null,8,zd)]),n.createElementVNode("div",{class:"scene-title-text",title:s.scenarioName||s.name},n.toDisplayString(s.scenarioName||s.name),9,Ld)]))),128))])],32)])):i.activeMenuLink==="ai_game_assistant"?(n.openBlock(),n.createElementBlock("div",Md,[n.createVNode(c,{onSetRecord:a.handleSetRecord,onOpenClearConfirm:e[3]||(e[3]=s=>i.showClearHistoryConfirm=!0),onToast:a.showToastMessage},null,8,["onSetRecord","onToast"])])):(n.openBlock(),n.createElementBlock("div",Ud))]),i.showAFKBubble?(n.openBlock(),n.createElementBlock("div",{key:0,class:"afk-bubble",onClick:e[4]||(e[4]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",{class:"afk-bubble-content",style:n.normalizeStyle(a.afkBubbleStyle)},[n.createVNode(d,{ref:"dragTimer",showafk:i.showafk,"afk-list":i.afk_list,slots:a.dragSlots,onHandleSetCloudIdle:a.handleSetCloudIdle,onHandleEndHangup:a.handleEndHangup,onHandleEnterGame:a.handleEnterGame,onOpenEndConfirmDialog:a.openEndConfirmDialog,onOpenAddDialog:a.openAddDialog},null,8,["showafk","afk-list","slots","onHandleSetCloudIdle","onHandleEndHangup","onHandleEnterGame","onOpenEndConfirmDialog","onOpenAddDialog"])],4)])):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0),i.showToast?(n.openBlock(),n.createElementBlock("div",qd,[n.createElementVNode("div",Gd,n.toDisplayString(i.toastMessage),1)])):n.createCommentVNode("",!0),i.showEndConfirmDialog?(n.openBlock(),n.createElementBlock("div",{key:3,class:"end-confirm-overlay",onClick:e[10]||(e[10]=(...s)=>a.cancelEndConfirmDialog&&a.cancelEndConfirmDialog(...s))},[n.createElementVNode("div",{class:"end-confirm-dialog",onClick:e[9]||(e[9]=n.withModifiers(()=>{},["stop"]))},[Wd,n.createElementVNode("div",Qd," 继续退出将结束《"+n.toDisplayString(((m=(f=i.pendingEndSlot)==null?void 0:f.slot)==null?void 0:m.name)||"游戏")+"》后台常驻,是否继续? ",1),n.createElementVNode("div",Jd,[n.createElementVNode("button",{class:"end-confirm-btn cancel",onClick:e[7]||(e[7]=(...s)=>a.cancelEndConfirmDialog&&a.cancelEndConfirmDialog(...s))}," 取消 "),n.createElementVNode("button",{class:"end-confirm-btn confirm",onClick:e[8]||(e[8]=(...s)=>a.confirmEndConfirmDialog&&a.confirmEndConfirmDialog(...s))}," 继续退出 ")])])])):n.createCommentVNode("",!0),i.showEnterGameConfirmDialog?(n.openBlock(),n.createElementBlock("div",{key:4,class:"confirm-overlay",onClick:e[14]||(e[14]=(...s)=>a.cancelEnterGame&&a.cancelEnterGame(...s))},[n.createElementVNode("div",{class:"confirm-dialog",onClick:e[13]||(e[13]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",Xd,[Yd,n.createElementVNode("div",Kd," 点击确认将跳转至《"+n.toDisplayString(i.enterGameData.name||"游戏")+"》内,当前游戏将被关闭 ",1),n.createElementVNode("div",jd,[n.createElementVNode("button",{class:"confirm-btn cancel-btn",style:{background:"lightgray"},onClick:e[11]||(e[11]=(...s)=>a.cancelEnterGame&&a.cancelEnterGame(...s))}," 取消 "),n.createElementVNode("button",{class:"confirm-btn confirm-btn-primary",onClick:e[12]||(e[12]=(...s)=>a.confirmEnterGame&&a.confirmEnterGame(...s))}," 确认 ")])])])])):n.createCommentVNode("",!0),i.showAIHelperDialog?(n.openBlock(),n.createElementBlock("div",{key:5,class:"confirm-overlay",onClick:e[18]||(e[18]=(...s)=>a.closeAIHelperDialog&&a.closeAIHelperDialog(...s))},[n.createElementVNode("div",{class:"confirm-dialog",onClick:e[17]||(e[17]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",Zd,[$d,ef,n.createElementVNode("div",tf,[n.createElementVNode("button",{class:"confirm-btn cancel-btn",style:{background:"lightgray"},onClick:e[15]||(e[15]=(...s)=>a.closeAIHelperDialog&&a.closeAIHelperDialog(...s))}," 关闭 "),n.createElementVNode("button",{class:"confirm-btn confirm-btn-primary",onClick:e[16]||(e[16]=(...s)=>a.openAIHelper&&a.openAIHelper(...s))}," 开启 ")])])])])):n.createCommentVNode("",!0),n.createVNode(x,{visible:i.showGameSpaceConfirm,title:"温馨提示",message:"是否前往游戏空间?",cancelText:"取消",confirmText:"确定",onCancel:e[19]||(e[19]=s=>i.showGameSpaceConfirm=!1),onConfirm:a.confirmGameSpace},null,8,["visible","onConfirm"]),n.createVNode(x,{visible:i.showClearHistoryConfirm,title:"清除全部对话与语音记录?",message:"清除后无法恢复,请确认是否清除。",cancelText:"取消",confirmText:"确认清除",onCancel:e[20]||(e[20]=s=>i.showClearHistoryConfirm=!1),onConfirm:a.confirmClearHistory},null,8,["visible","onConfirm"]),i.typesOf!=3&&i.expandShow&&!i.easyShow?(n.openBlock(),n.createElementBlock("div",{key:6,class:"ys-float-btn",style:n.normalizeStyle({width:i.itemWidth+"px",height:i.itemHeight+"px",left:i.left+"px",top:i.top+"px"}),ref:"div",onClick:e[21]||(e[21]=(...s)=>a.onBtnClicked&&a.onBtnClicked(...s))},[n.createElementVNode("img",{src:i.head_url,alt:"",style:{width:"100%",height:"100%","border-radius":"100px"}},null,8,nf)],4)):n.createCommentVNode("",!0),i.typesOf==1&&!i.easyShow?(n.openBlock(),n.createElementBlock("div",rf,[i.anyhow==1&&i.mobileOne?(n.openBlock(),n.createElementBlock("div",of,[i.mobileTwo?(n.openBlock(),n.createElementBlock("div",af,[n.createElementVNode("div",sf,[n.createElementVNode("div",{onClick:e[22]||(e[22]=s=>a.tabacTive(1)),class:n.normalizeClass(["content_tab",[i.contentTab==1?"tabactive":""]])}," 画质 ",2)]),i.contentTab==1?(n.openBlock(),n.createElementBlock("div",cf,[lf,n.createElementVNode("div",df,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.clearList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.clearTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeClear(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.clearTab==s.item_id?"content_yactive":""]])},[i.clearTab==s.item_id?(n.openBlock(),n.createElementBlock("div",xf)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.clearTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.resolution_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",uf,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,ff))),128))]),hf,n.createElementVNode("div",mf,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.bitrateList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.codeTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeRate(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.codeTab==s.item_id?"content_yactive":""]])},[i.codeTab==s.item_id?(n.openBlock(),n.createElementBlock("div",gf)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.codeTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",_f,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,pf))),128))]),yf,n.createElementVNode("div",Ef,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.aspectList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.aspectTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeAspect(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.aspectTab==s.item_id?"content_yactive":""]])},[i.aspectTab==s.item_id?(n.openBlock(),n.createElementBlock("div",Bf)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.aspectTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",vf,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,Af))),128))])])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.createElementVNode("div",Cf,[n.createElementVNode("div",bf,[i.vip_centerflag?(n.openBlock(),n.createElementBlock("img",{key:0,class:"info_left_img",onClick:e[23]||(e[23]=(...s)=>a.head_urlT&&a.head_urlT(...s)),src:i.head_url,alt:""},null,8,kf)):n.createCommentVNode("",!0),i.level==2?(n.openBlock(),n.createElementBlock("img",Df)):n.createCommentVNode("",!0),n.createElementVNode("div",wf,[n.createElementVNode("div",Ff,n.toDisplayString(i.nickname),1),n.createElementVNode("div",Sf,[i.durationflag?(n.openBlock(),n.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[24]||(e[24]=(...s)=>a.durationT&&a.durationT(...s))},[Nf,n.createElementVNode("div",Tf,n.toDisplayString(i.duration?i.duration:"0")+"分钟 ",1)])):n.createCommentVNode("",!0),i.pointsflag?(n.openBlock(),n.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[25]||(e[25]=(...s)=>a.pointsT&&a.pointsT(...s))},[Rf,n.createElementVNode("div",Vf,n.toDisplayString(i.points),1)])):n.createCommentVNode("",!0)])])]),n.createElementVNode("div",{class:"info_right",onClick:e[26]||(e[26]=(...s)=>a.logout&&a.logout(...s))},If)]),n.createElementVNode("div",Of,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.gameList,(s,h)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:h},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(i.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!i.isShowOperation))?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["setup_item",[i.setupTab==s.link?"setupactive":""]]),style:n.normalizeStyle({"margin-right":s.flag?"0px":"1%"}),onClick:u=>a.mobileSetup(s)},[n.createElementVNode("img",{src:s.icon,alt:""},null,8,Hf),n.createElementVNode("div",zf,n.toDisplayString(s.title),1)],14,Pf)):n.createCommentVNode("",!0)],64))),128))]),i.custom_menu&&!i.easyShow?(n.openBlock(),n.createElementBlock("iframe",Lf)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),i.anyhow==2&&i.mobileOne?(n.openBlock(),n.createElementBlock("div",Mf,[n.createElementVNode("div",Uf,[n.createElementVNode("div",qf,[n.createElementVNode("div",Gf,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.gameList,(s,h)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:h},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(i.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!i.isShowOperation))?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["horiz_item",[i.setupTab==s.link?"setupactive":""]]),onClick:u=>a.mobileSetup(s),style:n.normalizeStyle({"margin-right":s.flag?"0px":"15px"})},[n.createElementVNode("img",{src:s.icon,alt:""},null,8,Qf),n.createElementVNode("div",Jf,n.toDisplayString(s.title),1)],14,Wf)):n.createCommentVNode("",!0)],64))),128)),n.createElementVNode("div",{class:"horiz_item",onClick:e[27]||(e[27]=(...s)=>a.logout&&a.logout(...s))},Xf)])]),i.mobileTwo?(n.openBlock(),n.createElementBlock("div",Yf,[n.createElementVNode("div",Kf,[n.createElementVNode("div",jf,[i.vip_centerflag?(n.openBlock(),n.createElementBlock("img",{key:0,class:"info_left_img",src:i.head_url,onClick:e[28]||(e[28]=(...s)=>a.head_urlT&&a.head_urlT(...s)),alt:""},null,8,Zf)):n.createCommentVNode("",!0),i.level==2?(n.openBlock(),n.createElementBlock("img",$f)):n.createCommentVNode("",!0),n.createElementVNode("div",ex,[n.createElementVNode("div",tx,n.toDisplayString(i.nickname),1),n.createElementVNode("div",nx,[i.durationflag?(n.openBlock(),n.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[29]||(e[29]=(...s)=>a.durationT&&a.durationT(...s))},[rx,n.createElementVNode("div",ox,n.toDisplayString(i.duration?i.duration:"0")+"分钟 ",1)])):n.createCommentVNode("",!0),i.pointsflag?(n.openBlock(),n.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[30]||(e[30]=(...s)=>a.pointsT&&a.pointsT(...s))},[ix,n.createElementVNode("div",ax,n.toDisplayString(i.points),1)])):n.createCommentVNode("",!0)])])])]),n.createElementVNode("div",sx,[n.createElementVNode("div",{onClick:e[31]||(e[31]=s=>a.tabacTive(1)),class:n.normalizeClass(["content_tab",[i.contentTab==1?"tabactive":""]])}," 画质 ",2)]),i.contentTab==1?(n.openBlock(),n.createElementBlock("div",cx,[lx,n.createElementVNode("div",dx,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.clearList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.clearTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeClear(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.clearTab==s.item_id?"content_yactive":""]])},[i.clearTab==s.item_id?(n.openBlock(),n.createElementBlock("div",xx)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.clearTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.resolution_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",ux,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,fx))),128))]),hx,n.createElementVNode("div",mx,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.bitrateList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.codeTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeRate(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.codeTab==s.item_id?"content_yactive":""]])},[i.codeTab==s.item_id?(n.openBlock(),n.createElementBlock("div",gx)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.codeTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",_x,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,px))),128))]),yx,n.createElementVNode("div",Ex,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.aspectList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.aspectTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeAspect(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.aspectTab==s.item_id?"content_yactive":""]])},[i.aspectTab==s.item_id?(n.openBlock(),n.createElementBlock("div",Bx)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.aspectTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",vx,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,Ax))),128))])])):n.createCommentVNode("",!0)])):i.custom_menu?(n.openBlock(),n.createElementBlock("div",Cx,[n.createElementVNode("div",bx,[n.createElementVNode("div",kx,[i.vip_centerflag?(n.openBlock(),n.createElementBlock("img",{key:0,class:"info_left_img",src:i.head_url,onClick:e[32]||(e[32]=(...s)=>a.head_urlT&&a.head_urlT(...s)),alt:""},null,8,Dx)):n.createCommentVNode("",!0),i.level==2?(n.openBlock(),n.createElementBlock("img",wx)):n.createCommentVNode("",!0),n.createElementVNode("div",Fx,[n.createElementVNode("div",Sx,n.toDisplayString(i.nickname),1),n.createElementVNode("div",Nx,[i.durationflag?(n.openBlock(),n.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[33]||(e[33]=(...s)=>a.durationT&&a.durationT(...s))},[Tx,n.createElementVNode("div",Rx,n.toDisplayString(i.duration?i.duration:"0")+"分钟 ",1)])):n.createCommentVNode("",!0),i.pointsflag?(n.openBlock(),n.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[34]||(e[34]=(...s)=>a.pointsT&&a.pointsT(...s))},[Vx,n.createElementVNode("div",Ix,n.toDisplayString(i.points),1)])):n.createCommentVNode("",!0)])])])]),i.easyShow?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("iframe",Ox))])):n.createCommentVNode("",!0)])])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),i.typesOf==2&&!i.easyShow?(n.openBlock(),n.createElementBlock("div",Px,[n.createElementVNode("div",Hx,[i.mobileOne?(n.openBlock(),n.createElementBlock("div",zx,[n.createElementVNode("div",Lx,[n.createElementVNode("div",Mx,[i.vip_centerflag?(n.openBlock(),n.createElementBlock("img",{key:0,style:{width:"65px",height:"65px"},class:"info_left_img",onClick:e[35]||(e[35]=(...s)=>a.head_urlT&&a.head_urlT(...s)),src:i.head_url,alt:""},null,8,Ux)):n.createCommentVNode("",!0),i.level==2?(n.openBlock(),n.createElementBlock("img",qx)):n.createCommentVNode("",!0),n.createElementVNode("div",Gx,[n.createElementVNode("div",Wx,n.toDisplayString(i.nickname),1),n.createElementVNode("div",Qx,[i.durationflag?(n.openBlock(),n.createElementBlock("div",{key:0,class:"info_left_cont2_1",onClick:e[36]||(e[36]=(...s)=>a.durationT&&a.durationT(...s))},[Jx,n.createElementVNode("div",Xx,n.toDisplayString(i.duration?i.duration:"0")+"分钟 ",1)])):n.createCommentVNode("",!0),i.pointsflag?(n.openBlock(),n.createElementBlock("div",{key:1,class:"info_left_cont2_1",style:{"margin-left":"10px"},onClick:e[37]||(e[37]=(...s)=>a.pointsT&&a.pointsT(...s))},[Yx,n.createElementVNode("div",Kx,n.toDisplayString(i.points),1)])):n.createCommentVNode("",!0)])])]),n.createElementVNode("div",{class:"info_right",onClick:e[38]||(e[38]=(...s)=>a.logout&&a.logout(...s))},jx)]),n.createElementVNode("div",null,[n.createElementVNode("div",Zx,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.gameList,(s,h)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:h},[(r.game_cloud_service==3?s.link==="feedback"||s.link==="game_quit":!(i.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!i.isShowOperation))?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["ipad_item",[i.setupTab==s.link?"setupactive":""]]),style:n.normalizeStyle({"margin-right":s.flag?"0px":"9%"}),onClick:u=>a.mobileSetup(s)},[n.createElementVNode("img",{src:s.icon,alt:""},null,8,eu),n.createElementVNode("div",tu,n.toDisplayString(s.title),1)],14,$x)):n.createCommentVNode("",!0)],64))),128))])])])):n.createCommentVNode("",!0),i.mobileTwo?(n.openBlock(),n.createElementBlock("div",nu,[n.createElementVNode("div",ru,[n.createElementVNode("div",{onClick:e[39]||(e[39]=s=>a.tabacTive(1)),class:n.normalizeClass(["content_tab",[i.contentTab==1?"tabactive":""]])}," 画质 ",2)]),i.contentTab==1?(n.openBlock(),n.createElementBlock("div",ou,[iu,n.createElementVNode("div",au,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.clearList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.clearTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeClear(s),style:{width:"116px",height:"48px"}},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.clearTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[i.clearTab==s.item_id?(n.openBlock(),n.createElementBlock("div",cu)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.clearTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},n.toDisplayString(s.resolution_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",lu,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,su))),128))]),du,n.createElementVNode("div",fu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.bitrateList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.codeTab==s.item_id?"content_iactive":""]]),style:{width:"116px",height:"48px"},key:h,onClick:u=>a.codeRate(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.codeTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[i.codeTab==s.item_id?(n.openBlock(),n.createElementBlock("div",uu)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.codeTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",hu,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,xu))),128))]),mu,n.createElementVNode("div",pu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.aspectList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.aspectTab==s.item_id?"content_iactive":""]]),key:h,style:{width:"116px",height:"48px"},onClick:u=>a.codeAspect(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.aspectTab==s.item_id?"content_yactive":""]]),style:{"margin-left":"17px"}},[i.aspectTab==s.item_id?(n.openBlock(),n.createElementBlock("div",_u)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.aspectTab==s.item_id?"content_wactive":""]]),style:{"font-size":"22px"}},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",yu,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,gu))),128))])])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)])])):n.createCommentVNode("",!0),i.typesOf==3&&!i.easyShow?(n.openBlock(),n.createElementBlock("div",{key:9,class:"computer_header",onMousedown:e[46]||(e[46]=n.withModifiers(()=>{},["stop"]))},[i.computerTop?(n.openBlock(),n.createElementBlock("div",{key:0,class:"header_one",onMousedown:e[40]||(e[40]=n.withModifiers(s=>a.computerHeader(s),["stop"]))},[Eu,n.createElementVNode("img",{class:"img_two",src:i.head_url,alt:""},null,8,Au)],32)):n.createCommentVNode("",!0),i.computerOne?(n.openBlock(),n.createElementBlock("div",Bu,[n.createElementVNode("div",vu,[i.vip_centerflag?(n.openBlock(),n.createElementBlock("img",{key:0,class:"computer_c_one",src:i.head_url,alt:"",onMousedown:e[41]||(e[41]=n.withModifiers((...s)=>a.head_urlT&&a.head_urlT(...s),["stop"]))},null,40,Cu)):n.createCommentVNode("",!0),i.level==2?(n.openBlock(),n.createElementBlock("img",bu)):n.createCommentVNode("",!0)]),i.durationflag?(n.openBlock(),n.createElementBlock("div",{key:0,class:"computer_c_Vector",onMousedown:e[42]||(e[42]=n.withModifiers((...s)=>a.durationT&&a.durationT(...s),["stop"]))},[ku,n.createElementVNode("div",Du,n.toDisplayString(i.duration?i.duration:"0")+"分钟 ",1),wu],32)):n.createCommentVNode("",!0),i.pointsflag?(n.openBlock(),n.createElementBlock("div",{key:1,class:"computer_c_Vector",onMousedown:e[43]||(e[43]=n.withModifiers((...s)=>a.pointsT&&a.pointsT(...s),["stop"]))},[Fu,n.createElementVNode("div",Su,n.toDisplayString(i.points),1),Nu],32)):n.createCommentVNode("",!0),n.createElementVNode("div",Tu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.gameList,(s,h)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:h},[(r.game_cloud_service==3?s.link==="feedback":!(i.isHarmony&&s.link==="share")&&!(s.link==="instructions"&&!i.isShowOperation))?(n.openBlock(),n.createElementBlock("div",{key:0,onMousedown:n.withModifiers(u=>a.computerSetup(s),["stop"]),class:n.normalizeClass(["computer_c_item",[i.comTab==s.link?"setupactive":""]])},[n.createElementVNode("img",{src:s.icon,alt:""},null,8,Vu),n.createElementVNode("div",Iu,n.toDisplayString(s.title),1)],42,Ru)):n.createCommentVNode("",!0)],64))),128)),n.createElementVNode("div",{class:"computer_c_item",onMousedown:e[44]||(e[44]=n.withModifiers((...s)=>a.logout&&a.logout(...s),["stop"]))},Ou,32)]),Pu,n.createElementVNode("div",{class:"computer_c_footer",onMousedown:e[45]||(e[45]=n.withModifiers((...s)=>a.retract&&a.retract(...s),["stop"]))},Hu,32)])):n.createCommentVNode("",!0)],32)):n.createCommentVNode("",!0),i.computerTwo&&!i.easyShow?(n.openBlock(),n.createElementBlock("div",{key:10,class:"computer_left",onMousedown:e[48]||(e[48]=n.withModifiers(()=>{},["stop"]))},[n.createElementVNode("div",zu,[n.createElementVNode("div",{onMousedown:e[47]||(e[47]=n.withModifiers(s=>a.tabacTive(1),["stop"])),class:n.normalizeClass(["content_tab",[i.contentTab==1?"tabactive":""]])}," 画质 ",34)]),i.contentTab==1?(n.openBlock(),n.createElementBlock("div",Lu,[Mu,n.createElementVNode("div",Uu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.clearList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.clearTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeClear(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.clearTab==s.item_id?"content_yactive":""]])},[i.clearTab==s.item_id?(n.openBlock(),n.createElementBlock("div",Gu)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.clearTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.resolution_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",Wu,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,qu))),128))]),Qu,n.createElementVNode("div",Ju,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.bitrateList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.codeTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeRate(s)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.codeTab==s.item_id?"content_yactive":""]])},[i.codeTab==s.item_id?(n.openBlock(),n.createElementBlock("div",Yu)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.codeTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",Ku,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,Xu))),128))]),ju,n.createElementVNode("div",Zu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.aspectList,(s,h)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["content_m_item",[i.aspectTab==s.item_id?"content_iactive":""]]),key:h,onClick:u=>a.codeAspect(s,4)},[n.createElementVNode("div",{class:n.normalizeClass(["content_m_y",[i.aspectTab==s.item_id?"content_yactive":""]])},[i.aspectTab==s.item_id?(n.openBlock(),n.createElementBlock("div",eh)):n.createCommentVNode("",!0)],2),n.createElementVNode("div",{class:n.normalizeClass(["content_m_w",[i.aspectTab==s.item_id?"content_wactive":""]])},n.toDisplayString(s.item_name),3),s.condition_name?(n.openBlock(),n.createElementBlock("div",th,n.toDisplayString(s.condition_name),1)):n.createCommentVNode("",!0)],10,$u))),128))])])):n.createCommentVNode("",!0)],32)):n.createCommentVNode("",!0),i.easyShow?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(l,{key:11,ref:"iframe",url:i.url_chat,parentData:i.parentData,onUpdateData:a.updateParentData},null,8,["url","parentData","onUpdateData"]))]),n.withDirectives(n.createElementVNode("div",{class:n.normalizeClass(["mask",{rotated:i.enableRotation}])},[n.createElementVNode("div",nh,[i.rightGuidance?(n.openBlock(),n.createElementBlock("div",rh,[n.createElementVNode("img",{src:i.leftGuidance,class:"guidance-img left-img",alt:"左图"},null,8,oh),n.createElementVNode("img",{src:i.rightGuidance,class:"guidance-img right-img",alt:"右图"},null,8,ih)])):(n.openBlock(),n.createElementBlock("img",{key:1,class:"screenImg",src:i.screenImg,alt:""},null,8,ah)),n.createElementVNode("div",{class:"close",onClick:e[50]||(e[50]=(...s)=>a.closeDialog&&a.closeDialog(...s))},"×")])],2),[[n.vShow,i.dialogVisible]])])}const ch=Ge(Ad,[["render",sh],["__scopeId","data-v-7f2fb070"]]);be.gameassis=ch,Object.defineProperty(be,Symbol.toStringTag,{value:"Module"})});
|