3 lines
85 KiB
JavaScript
3 lines
85 KiB
JavaScript
![]() |
"use strict";var BasicBeauty=(()=>{var cA=Object.defineProperty;var DC=Object.getOwnPropertyDescriptor;var dC=Object.getOwnPropertyNames;var uC=Object.prototype.hasOwnProperty;var lC=(d,o,l)=>o in d?cA(d,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):d[o]=l;var yC=(d,o)=>{for(var l in o)cA(d,l,{get:o[l],enumerable:!0})},hC=(d,o,l,p)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of dC(o))!uC.call(d,r)&&r!==l&&cA(d,r,{get:()=>o[r],enumerable:!(p=DC(o,r))||p.enumerable});return d};var RC=d=>hC(cA({},"__esModule",{value:!0}),d);var K=(d,o,l)=>(lC(d,typeof o!="symbol"?o+"":o,l),l);var NC={};yC(NC,{BasicBeauty:()=>dA,default:()=>mC});function TA(d){return{name:"BasicBeautyOptions",type:"object",required:!0,allowEmpty:!1,properties:{beauty:{required:!1,type:"number"},brightness:{required:!1,type:"number"},ruddy:{required:!1,type:"number"}},validate(o,l,p,r){let{RtcError:AA,ErrorCode:O,ErrorCodeDictionary:lA}=d.errorModule;if(d.utils.isOverseaSdkAppId(o.sdkAppId))throw new AA({code:O.INVALID_OPERATION,extraCode:lA.INVALID_OPERATION,message:"This feature is not yet available in your country or region. If you have any questions, you can go to the community for consultation: https://zhiliao.qq.com/s/cWSPGIIM62CC/c3TPGIIM62CQ"})}}}function ug(d){return{name:"StopBasicBeautyOptions",required:!1}}var GC=(()=>{var o;var d=typeof document!="undefined"?(o=document.currentScript)==null?void 0:o.src:void 0;return function(l={}){var p,r=Object.assign({},l),AA,O,lA=new Promise((g,A)=>{AA=g,O=A}),yg=!0,yA=!1,vA=Object.assign({},r),hg=[],Rg="./this.program",Gg=(g,A)=>{throw A},M="",mg,Ng,hA;(yg||yA)&&(yA?M=self.location.href:typeof document!="undefined"&&document.currentScript&&(M=document.currentScript.src),d&&(M=d),M.startsWith("blob:")?M="":M=M.substr(0,M.replace(/[?#].*/,"").lastIndexOf("/")+1),mg=g=>{var A=new XMLHttpRequest;return A.open("GET",g,!1),A.send(null),A.responseText},yA&&(hA=g=>{var A=new XMLHttpRequest;return A.open("GET",g,!1),A.responseType="arraybuffer",A.send(null),new Uint8Array(A.response)}),Ng=(g,A,I)=>{var C=new XMLHttpRequest;C.open("GET",g,!0),C.responseType="arraybuffer",C.onload=()=>{if(C.status==200||C.status==0&&C.response){A(C.response);return}I()},C.onerror=I,C.send(null)});var wC=r.print||console.log.bind(console),RA=r.printErr||console.error.bind(console);Object.assign(r,vA),vA=null,r.arguments&&(hg=r.arguments),r.thisProgram&&(Rg=r.thisProgram),r.quit&&(Gg=r.quit);var gA;r.wasmBinary&&(gA=r.wasmBinary);function wg(g){for(var A=atob(g),I=new Uint8Array(A.length),C=0;C<A.length;++C)I[C]=A.charCodeAt(C);return I}function pg(g){if(vg(g))return wg(g.slice(jA.length))}var JA,PA=!1,Sg,H,G,Z,IA,j,u,KA,OA;function bg(){var g=JA.buffer;r.HEAP8=H=new Int8Array(g),r.HEAP16=Z=new Int16Array(g),r.HEAPU8=G=new Uint8Array(g),r.HEAPU16=IA=new Uint16Array(g),r.HEAP32=j=new Int32Array(g),r.HEAPU32=u=new Uint32Array(g),r.HEAPF32=KA=new Float32Array(g),r.HEAPF64=OA=new Float64Array(g)}var xA=[],WA=[],ZA=[],Ug=!1;function fg(){if(r.preRun)for(typeof r.preRun=="function"&&(r.preRun=[r.preRun]);r.preRun.length;)kg(r.preRun.shift());NA(xA)}function Fg(){Ug=!0,NA(WA)}function Mg(){if(r.postRun)for(typeof r.postRun=="function"&&(r.postRun=[r.postRun]);r.postRun.length;)Lg(r.postRun.shift());NA(ZA)}function kg(g){xA.unshift(g)}function Yg(g){WA.unshift(g)}function Lg(g){ZA.unshift(g)}var T=0,GA=null,_=null;function Hg(g){var A;T++,(A=r.monitorRunDependencies)==null||A.call(r,T)}function Tg(g){var I;if(T--,(I=r.monitorRunDependencies)==null||I.call(r,T),T==0&&(GA!==null&&(clearInterval(GA),GA=null),_)){var A=_;_=null,A()}}function mA(g){var I;(I=r.onAbort)==null||I.call(r,g),g="Aborted("+g+")",RA(g),PA=!0,Sg=1,g+=". Build with -sASSERTIONS for more info.";var A=new WebAssembly.RuntimeError(g);throw O(A),A}var jA="data:application/octet-stream;base64,",vg=g=>g.startsWith(jA);function Jg(){var g="data:application/octet-stream;base64,AGFzbQEAAAAB2AEcYAJ/fwBgAX8Bf2ABfwBgA39/fwF/YAN/f38AYAJ/fwF/YAAAYAR/f39/AGAFf39/f38AYAZ/f39/f38AYAd/f39/f39/AGAFf3x8fHwAYAZ/fHx8fHwAYAV/f39/fwF8YAl/f39/f39/f38AYAN/f38BfGAKf39/f39/f39/fw
|
||
|
`+e.replace(/^Error(:[^\n]*)?\n/,""))});return I.prototype=Object.create(g.prototype),I.prototype.constructor=I,I.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},I},eg,Bg=g=>{var A=og(g),I=m(A);return f(A),I},$=(g,A)=>{var I=[],C={};function e(Q){if(!C[Q]&&!v[Q]){if(eA[Q]){eA[Q].forEach(e);return}I.push(Q),C[Q]=!0}}throw A.forEach(e),new eg(`${g}: `+I.map(Bg).join([", "]))},NI=(g,A,I,C,e,Q,E,B,i,a,t,n,c)=>{t=m(t),Q=Y(e,Q),B&&(B=Y(E,B)),a&&(a=Y(i,a)),c=Y(n,c);var D=nI(t);aI(D,function(){$(`Cannot construct ${t} due to unbound types`,[C])}),J([g,A,I],C?[C]:[],y=>{var cg,Dg;y=y[0];var w,N;C?(w=y.registeredClass,N=w.instancePrototype):N=QA.prototype;var h=EA(t,function(...HA){if(Object.getPrototypeOf(this)!==P)throw new W("Use 'new' to construct "+t);if(R.constructor_body===void 0)throw new W(t+" has no accessible constructor");var dg=R.constructor_body[HA.length];if(dg===void 0)throw new W(`Tried to invoke ctor of ${t} with invalid number of parameters (${HA.length}) - expected (${Object.keys(R.constructor_body).toString()}) parameters instead!`);return dg.apply(this,HA)}),P=Object.create(N,{constructor:{value:h}});h.prototype=P;var R=new cI(t,h,P,c,w,Q,B,a);R.baseClass&&((Dg=(cg=R.baseClass).__derivedClasses)!=null||(cg.__derivedClasses=[]),R.baseClass.__derivedClasses.push(R));var LA=new aA(t,R,!0,!1,!1),F=new aA(t+"*",R,!1,!1,!1),nA=new aA(t+" const*",R,!1,!0,!1);return Ag[g]={pointerType:F,constPointerType:nA},yI(D,h),[LA,F,nA]})},rg=(g,A)=>{for(var I=[],C=0;C<g;C++)I.push(u[A+C*4>>2]);return I},bA=g=>{for(;g.length;){var A=g.pop(),I=g.pop();I(A)}};function wI(g){for(var A=1;A<g.length;++A)if(g[A]!==null&&g[A].destructorFunction===void 0)return!0;return!1}function Qg(g,A,I,C,e,Q){var E=A.length;E<2&&s("argTypes array size mismatch! Must at least get return value and 'this' types!");var B=A[1]!==null&&I!==null,i=wI(A),a=A[0].name!=="void",t=E-2,n=new Array(t),c=[],D=[],y=function(...w){w.length!==t&&s(`function ${g} called with ${w.length} arguments, expected ${t}`),D.length=0;var N;c.length=B?2:1,c[0]=e,B&&(N=A[1].toWireType(D,this),c[1]=N);for(var h=0;h<t;++h)n[h]=A[h+2].toWireType(D,w[h]),c.push(n[h]);var P=C(...c);function R(LA){if(i)bA(D);else for(var F=B?1:2;F<A.length;F++){var nA=F===1?N:n[F-2];A[F].destructorFunction!==null&&A[F].destructorFunction(nA)}if(a)return A[0].fromWireType(LA)}return R(P)};return EA(g,y)}var pI=(g,A,I,C,e,Q)=>{var E=rg(A,I);e=Y(C,e),J([],[g],B=>{B=B[0];var i=`constructor ${B.name}`;if(B.registeredClass.constructor_body===void 0&&(B.registeredClass.constructor_body=[]),B.registeredClass.constructor_body[A-1]!==void 0)throw new W(`Cannot register multiple constructors with identical number of parameters (${A-1}) for class '${B.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return B.registeredClass.constructor_body[A-1]=()=>{$(`Cannot construct ${B.name} due to unbound types`,E)},J([],E,a=>(a.splice(1,0,null),B.registeredClass.constructor_body[A-1]=Qg(i,a,null,e,Q),[])),[]})},SI=g=>{g=g.trim();let A=g.indexOf("(");return A!==-1?g.substr(0,A):g},bI=(g,A,I,C,e,Q,E,B,i)=>{var a=rg(I,C);A=m(A),A=SI(A),Q=Y(e,Q),J([],[g],t=>{t=t[0];var n=`${t.name}.${A}`;A.startsWith("@@")&&(A=Symbol[A.substring(2)]),B&&t.registeredClass.pureVirtualFunctions.push(A);function c(){$(`Cannot call ${n} due to unbound types`,a)}var D=t.registeredClass.instancePrototype,y=D[A];return y===void 0||y.overloadTable===void 0&&y.className!==t.name&&y.argCount===I-2?(c.argCount=I-2,c.className=t.name,D[A]=c):(gg(D,A,n),D[A].overloadTable[I-2]=c),J([],a,w=>{var N=Qg(n,w,t,Q,E,i);return D[A].overloadTable===void 0?(N.argCount=I-2,D[A]=N):D[A].overloadTable[I-2]=N,[]}),[]})},Eg=(g,A,I)=>(g instanceof Object||s(`${I} with invalid "this": ${g}`),g instanceof A.registeredClass.constructor||s(`${I} incompatible with "this" of type ${g.constructor.name}`),g.$$.ptr||s(`cannot call emscripten binding method ${I} on deleted object`),iA(g.$$.ptr,g.$$.ptrType.registeredClass,A.registeredClass)),UI=(g,A,I,C,e,Q,E,B,i,a)=>{A=m(
|