Files
tk-mini-program/unpackage/dist/build/mp-weixin/common/vendor.js

34 lines
1.3 MiB
JavaScript
Raw Normal View History

2025-06-09 19:18:38 +08:00
"use strict";
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
2025-07-18 13:06:06 +08:00
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=[],i=()=>{},o=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),r=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,l=(e,t)=>u.call(e,t),d=Array.isArray,p=e=>"[object Map]"===I(e),h=e=>"[object Set]"===I(e),g=e=>"function"==typeof e,f=e=>"string"==typeof e,m=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,v=e=>(_(e)||g(e))&&g(e.then)&&g(e.catch),y=Object.prototype.toString,I=e=>y.call(e),M=e=>"[object Object]"===I(e),C=e=>f(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-(\w)/g,k=E((e=>e.replace(T,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,R=E((e=>e.replace(D,"-$1").toLowerCase())),O=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),b=E((e=>e?`on${O(e)}`:"")),A=(e,t)=>!Object.is(e,t),L=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},P=e=>{const t=parseFloat(e);return isNaN(t)?e:t};function N(e){if(d(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],o=f(i)?x(i):N(i);if(o)for(const e in o)t[e]=o[e]}return t}if(f(e)||_(e))return e}const w=/;(?![^(]*\))/g,U=/:([^]+)/,G=/\/\*[^]*?\*\//g;function x(e){const t={};return e.replace(G,"").split(w).forEach((e=>{if(e){const n=e.split(U);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function F(e){let t="";if(f(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){const i=F(e[n]);i&&(t+=i+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const B=(e,t)=>t&&t.__v_isRef?B(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],i)=>(e[q(t,i)+" =>"]=n,e)),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>q(e)))}:m(t)?q(t):!_(t)||d(t)||M(t)?t:String(t),q=(e,t="")=>{var n;return m(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},V="onShow",j="onHide",H="onLaunch",K="onError",z="onThemeChange",W="onPageNotFound",Y="onUnhandledRejection",$="onLoad",J="onReady",X="onUnload",Q="onInit",Z="onSaveExitState",ee="onResize",te="onBackPress",ne="onPageScroll",ie="onTabItemTap",oe="onReachBottom",se="onPullDownRefresh",ae="onShareTimeline",re="onShareChat",ce="onAddToFavorites",ue="onShareAppMessage",le="onNavigationBarButtonTap",de="onNavigationBarSearchInputClicked",pe="onNavigationBarSearchInputChanged",he="onNavigationBarSearchInputConfirmed",ge="onNavigationBarSearchInputFocusChanged",fe="virtualHostId";function me(e,t=null){let n;return(...i)=>(e&&(n=e.apply(t,i),e=null),n)}function _e(e,t){if(!f(t))return;const n=(t=t.replace(/\[(\d+)\]/g,".$1")).split(".");let i=n[0];return e||(e={}),1===n.length?e[i]:_e(e[i],n.slice(1).join("."))}function ve(e){let t={};return M(e)&&Object.keys(e).sort().forEach((n=>{const i=n;t[i]=e[i]})),Object.keys(t)?t:e}const ye=/:/g;const Ie=encodeURIComponent;function Me(e,t=Ie){const n=e?Object.keys(e).map((n=>{let i=e[n];return void 0===typeof i||null===i?i="":M(i)&&(i=JSON.stringify(i)),t(n)+"="+t(i)})).filter((e=>e.length>0)).join("&"):null;return n?`?${n}`:""}const Ce=[Q,$,V,j,X,te,ne,ie,oe,se,ae,ue,re,ce,Z,le,de,pe,he,ge];const Se=[V,j,H,K,z,W,Y,"onExit",Q,$,J,X,ee,te,ne,ie,oe,se,ae,ce,ue,re,Z,le,de,pe,he,ge],Ee=(()=>({onPageScroll:1,onShareAppMessage:2,onShareTimeline:4}))();function Te(e,t,n=!0){return!(n&&!g(t))&&(Se.indexOf(e)>-1||0===e.indexOf("on"))}let ke;const De=[];const Re=me(((e,t)=>t(e))),Oe=function(){};Oe.prototype={_id:1,on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var i=this;function o(){i.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,o=n.length;i<o;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],o=[];if(i&&t){for(var s=i.length-1;
2025-06-09 19:18:38 +08:00
/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/
2025-07-18 13:06:06 +08:00
let Ar;const Lr=e=>Ar=e,Pr=Symbol();function Nr(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var wr,Ur;(Ur=wr||(wr={})).direct="direct",Ur.patchObject="patch object",Ur.patchFunction="patch function";const Gr=()=>{};function xr(e,t,n,i=Gr){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i())};return!n&&Fn()&&function(e){wn&&wn.cleanups.push(e)}(o),o}function Fr(e,...t){e.slice().forEach((e=>{e(...t)}))}const Br=e=>e();function qr(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],o=e[n];Nr(o)&&Nr(i)&&e.hasOwnProperty(n)&&!no(i)&&!zi(i)?e[n]=qr(o,i):e[n]=i}return e}const Vr=Symbol();const{assign:jr}=Object;function Hr(e,t,n,i){const{state:o,actions:s,getters:a}=t,r=n.state.value[e];let c;return c=Kr(e,(function(){r||(n.state.value[e]=o?o():{});const t=function(e){const t=d(e)?new Array(e.length):{};for(const n in e)t[n]=uo(e,n);return t}(n.state.value[e]);return jr(t,s,Object.keys(a||{}).reduce(((t,i)=>(t[i]=Ji(Qs((()=>{Lr(n);const t=n._s.get(e);return a[i].call(t,t)}))),t)),{}))}),t,n,i,!0),c}function Kr(e,t,n={},i,o,s){let a;const r=jr({actions:{}},n),c={deep:!0};let u,l,d,p=[],h=[];const g=i.state.value[e];let f;function m(t){let n;u=l=!1,"function"==typeof t?(t(i.state.value[e]),n={type:wr.patchFunction,storeId:e,events:d}):(qr(i.state.value[e],t),n={type:wr.patchObject,payload:t,storeId:e,events:d});const o=f=Symbol();Eo().then((()=>{f===o&&(u=!0)})),l=!0,Fr(p,n,i.state.value[e])}s||g||(i.state.value[e]={}),io({});const _=s?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{jr(e,t)}))}:Gr;function v(t,n){return function(){Lr(i);const o=Array.from(arguments),s=[],a=[];let r;Fr(h,{args:o,name:t,store:y,after:function(e){s.push(e)},onError:function(e){a.push(e)}});try{r=n.apply(this&&this.$id===e?this:y,o)}catch(c){throw Fr(a,c),c}return r instanceof Promise?r.then((e=>(Fr(s,e),e))).catch((e=>(Fr(a,e),Promise.reject(e)))):(Fr(s,r),r)}}const y=ji({_p:i,$id:e,$onAction:xr.bind(null,h),$patch:m,$reset:_,$subscribe(t,n={}){const o=xr(p,t,n.detached,(()=>s())),s=a.run((()=>Bo((()=>i.state.value[e]),(i=>{("sync"===n.flush?l:u)&&t({storeId:e,type:wr.direct,events:d},i)}),jr({},c,n))));return o},$dispose:function(){a.stop(),p=[],h=[],i._s.delete(e)}});i._s.set(e,y);const I=(i._a&&i._a.runWithContext||Br)((()=>i._e.run((()=>(a=xn()).run(t)))));for(const S in I){const t=I[S];if(no(t)&&(!no(C=t)||!C.effect)||zi(t))s||(!g||Nr(M=t)&&M.hasOwnProperty(Vr)||(no(t)?t.value=g[S]:qr(t,g[S])),i.state.value[e][S]=t);else if("function"==typeof t){const e=v(S,t);I[S]=e,r.actions[S]=t}}var M,C;return jr(y,I),jr($i(y),I),Object.defineProperty(y,"$state",{get:()=>i.state.value[e],set:e=>{m((t=>{jr(t,e)}))}}),i._p.forEach((e=>{jr(y,a.run((()=>e({store:y,app:i._a,pinia:i,options:r}))))})),g&&s&&n.hydrate&&n.hydrate(y.$state,g),u=!0,l=!0,y}var zr,Wr,Yr;(Yr=zr||(zr={})).UNIAPP="uniapp",Yr.REACT_NATIVE="rn",Yr.COCOS="cocos",Yr.UNKNOWN="unknown";let $r=class e{constructor(){this.framework=null,this.methods={[zr.UNIAPP]:this.isUniApp,[zr.REACT_NATIVE]:this.isReactNative,[zr.COCOS]:this.isCocos};const e=this.methods,t=Object.keys(e);for(const n of t)if((0,e[n])()){this.framework=n;break}this.framework=this.framework||zr.UNKNOWN,this.framework}static currentFramework(){return this.instance||(this.instance=new e),this.instance.framework}isUniApp(){try{return"function"==typeof Nn.getSystemInfoSync}catch(Yr){return!1}}isReactNative(){try{return"object"==typeof navigator&&"ReactNative"===navigator.product}catch(Yr){return!1}}isTaro(){try{return void 0!==process.env.TARO_ENV}catch(Yr){return!1}}isCocos(){try{return void 0!==cc.sys.localStorage}catch(Yr){return!1}}},Jr=class{static init(e){$r.currentFramework()===zr.REACT_NATIVE&&(this.validate(e),this.platform=e.platform,this.asyncStorage=e.asyncStorage)}static validate(e){if(!e)throw new Error("'reactNativeOptions' is missing when calling GoEasy.getInstance()");if(!e.platform)th
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
s=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(N){d=function(e,t,n){return e[t]=n}}function p(e,t,n,i){var s=t&&t.prototype instanceof y?t:y,a=Object.create(s.prototype),r=new L(i||[]);return o(a,"_invoke",{value:R(e,n,r)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}t.wrap=p;var g="suspendedStart",f="suspendedYield",m="executing",_="completed",v={};function y(){}function I(){}function M(){}var C={};d(C,c,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==n&&i.call(E,c)&&(C=E);var T=M.prototype=y.prototype=Object.create(C);function k(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function D(e,t){function n(o,s,a,c){var u=h(e[o],e,s);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var s;o(this,"_invoke",{value:function(e,i){function o(){return new t((function(t,o){n(e,i,t,o)}))}return s=s?s.then(o,o):o()}})}function R(t,n,i){var o=g;return function(s,a){if(o===m)throw Error("Generator is already running");if(o===_){if("throw"===s)throw a;return{value:e,done:!0}}for(i.method=s,i.arg=a;;){var r=i.delegate;if(r){var c=O(r,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===g)throw o=_,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=m;var u=h(t,n,i);if("normal"===u.type){if(o=i.done?_:f,u.arg===v)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o=_,i.method="throw",i.arg=u.arg)}}}function O(t,n){var i=n.method,o=t.iterator[i];if(o===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var s=h(o,t.iterator,n.arg);if("throw"===s.type)return n.method="throw",n.arg=s.arg,n.delegate=null,v;var a=s.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,s=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return s.next=s}}throw new TypeError(r(t)+" is not iterable")}return I.prototype=M,o(T,"constructor",{value:M,configurable:!0}),o(M,"constructor",{value:I,configurable:!0}),I.displayName=d(M,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===I||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},k(D.prototype),d(D.prototype,u,(function(){return this})),t.AsyncIterator=D,t.async=function(e,n,i,o,s){void 0===s&&(s=Promise);var a=new D(p(e,n,i,o),s);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(T),d(T,l,"Generator"),d(T,c,(function(){return thi
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
o=function(){return t};var e,t={},n=Object.prototype,s=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",u=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(N){d=function(e,t,n){return e[t]=n}}function p(e,t,n,i){var o=t&&t.prototype instanceof y?t:y,s=Object.create(o.prototype),r=new L(i||[]);return a(s,"_invoke",{value:R(e,n,r)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}t.wrap=p;var g="suspendedStart",f="suspendedYield",m="executing",_="completed",v={};function y(){}function I(){}function M(){}var C={};d(C,c,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==n&&s.call(E,c)&&(C=E);var T=M.prototype=y.prototype=Object.create(C);function k(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function D(e,t){function n(o,a,r,c){var u=h(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==i(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,r,c)}),(function(e){n("throw",e,r,c)})):t.resolve(d).then((function(e){l.value=e,r(l)}),(function(e){return n("throw",e,r,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(e,i){function s(){return new t((function(t,o){n(e,i,t,o)}))}return o=o?o.then(s,s):s()}})}function R(t,n,i){var o=g;return function(s,a){if(o===m)throw Error("Generator is already running");if(o===_){if("throw"===s)throw a;return{value:e,done:!0}}for(i.method=s,i.arg=a;;){var r=i.delegate;if(r){var c=O(r,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===g)throw o=_,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=m;var u=h(t,n,i);if("normal"===u.type){if(o=i.done?_:f,u.arg===v)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o=_,i.method="throw",i.arg=u.arg)}}}function O(t,n){var i=n.method,o=t.iterator[i];if(o===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var s=h(o,t.iterator,n.arg);if("throw"===s.type)return n.method="throw",n.arg=s.arg,n.delegate=null,v;var a=s.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(s.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(i(t)+" is not iterable")}return I.prototype=M,a(T,"constructor",{value:M,configurable:!0}),a(M,"constructor",{value:I,configurable:!0}),I.displayName=d(M,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===I||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},k(D.prototype),d(D.prototype,u,(function(){return this})),t.AsyncIterator=D,t.async=function(e,n,i,o,s){void 0===s&&(s=Promise);var a=new D(p(e,n,i,o),s);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(T),d(T,l,"Generator"),d(T,c,(function(){return thi
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
i=function(){return t};var e,t={},n=Object.prototype,s=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",u=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(N){d=function(e,t,n){return e[t]=n}}function p(e,t,n,i){var o=t&&t.prototype instanceof y?t:y,s=Object.create(o.prototype),r=new L(i||[]);return a(s,"_invoke",{value:R(e,n,r)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}t.wrap=p;var g="suspendedStart",f="suspendedYield",m="executing",_="completed",v={};function y(){}function I(){}function M(){}var C={};d(C,c,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==n&&s.call(E,c)&&(C=E);var T=M.prototype=y.prototype=Object.create(C);function k(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function D(e,t){function n(i,a,r,c){var u=h(e[i],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==o(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,r,c)}),(function(e){n("throw",e,r,c)})):t.resolve(d).then((function(e){l.value=e,r(l)}),(function(e){return n("throw",e,r,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,o){function s(){return new t((function(t,i){n(e,o,t,i)}))}return i=i?i.then(s,s):s()}})}function R(t,n,i){var o=g;return function(s,a){if(o===m)throw Error("Generator is already running");if(o===_){if("throw"===s)throw a;return{value:e,done:!0}}for(i.method=s,i.arg=a;;){var r=i.delegate;if(r){var c=O(r,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===g)throw o=_,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=m;var u=h(t,n,i);if("normal"===u.type){if(o=i.done?_:f,u.arg===v)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o=_,i.method="throw",i.arg=u.arg)}}}function O(t,n){var i=n.method,o=t.iterator[i];if(o===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var s=h(o,t.iterator,n.arg);if("throw"===s.type)return n.method="throw",n.arg=s.arg,n.delegate=null,v;var a=s.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(s.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(o(t)+" is not iterable")}return I.prototype=M,a(T,"constructor",{value:M,configurable:!0}),a(M,"constructor",{value:I,configurable:!0}),I.displayName=d(M,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===I||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},k(D.prototype),d(D.prototype,u,(function(){return this})),t.AsyncIterator=D,t.async=function(e,n,i,o,s){void 0===s&&(s=Promise);var a=new D(p(e,n,i,o),s);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(T),d(T,l,"Generator"),d(T,c,(function(){return thi
2025-06-09 19:18:38 +08:00
/** @preserve
(c) 2012 by C<EFBFBD><EFBFBD>dric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- 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.
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.
*/
2025-07-18 13:06:06 +08:00
function(){var e=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=e.algo,s=n.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]),a=n.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]),c=n.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=n.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]),l=n.create([0,1518500249,1859775393,2400959708,2840853838]),d=n.create([1352829926,1548603684,1836072691,2053994217,0]),p=o.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,o=e[i];e[i]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var r,p,y,I,M,C,S,E,T,k,D,R=this._hash.words,O=l.words,b=d.words,A=s.words,L=a.words,P=c.words,N=u.words;for(C=r=R[0],S=p=R[1],E=y=R[2],T=I=R[3],k=M=R[4],n=0;n<80;n+=1)D=r+e[t+A[n]]|0,D+=n<16?h(p,y,I)+O[0]:n<32?g(p,y,I)+O[1]:n<48?f(p,y,I)+O[2]:n<64?m(p,y,I)+O[3]:_(p,y,I)+O[4],D=(D=v(D|=0,P[n]))+M|0,r=M,M=I,I=v(y,10),y=p,p=D,D=C+e[t+L[n]]|0,D+=n<16?_(S,E,T)+b[0]:n<32?m(S,E,T)+b[1]:n<48?f(S,E,T)+b[2]:n<64?g(S,E,T)+b[3]:h(S,E,T)+b[4],D=(D=v(D|=0,N[n]))+k|0,C=k,k=T,T=v(E,10),E=S,S=D;D=R[1]+y+T|0,R[1]=R[2]+I+k|0,R[2]=R[3]+M+C|0,R[3]=R[4]+r+S|0,R[4]=R[0]+p+E|0,R[0]=D},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,s=o.words,a=0;a<5;a++){var r=s[a];s[a]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function g(e,t,n){return e&t|~e&n}function f(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function _(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}e.RIPEMD160=i._createHelper(p),e.HmacRIPEMD160=i._createHmacHelper(p)}(),function(){var e=r,t=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var i=e.blockSize,o=4*i;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),a=this._iKey=t.clone(),r=s.words,c=a.words,u=0;u<i;u++)r[u]^=1549556828,c[u]^=909522486;s.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}(),function(){var e=r,t=e.lib,n=t.Base,i=t.WordArray,o=e.algo,s=o.SHA1,a=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,o=a.create(n.hasher,e),s=i.create(),r=i.create([1]),c=s.words,u=r.words,l=n.keySize,d=n.iterations;c.length<l;){var p=o.update(t).finalize(r);o.reset();for(var h=p.words,g=h.length,f=p,m=1;m<d;m++){f=o.finalize(f),o.reset();for(var _=f.words,v=0;v<g;v++)h[v]^=_[v]}s.concat(p),u[0]++}return s.sigBytes=4*l,s}});e.PBKDF2=function(e,t,n){return c.create(n).compute(e,t)}}(),function(){var e=r,t=e.lib,n=t.Base,i=t.WordArray,o=e.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,o=this.cfg,s=o.hasher.create(),a=i.create(),r=a.words,c=o.keySize,u=o.iterations;r.length<c;){n&&s.update(n),n=s.update(e).finalize(t),s.re
2025-06-09 19:18:38 +08:00
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
2025-07-18 13:06:06 +08:00
r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var i,o=this._cipher,s=o.blockSize,a=this._iv,r=this._counter;a&&(r=this._counter=a.slice(0),this._iv=void 0),0===((i=r)[0]=t(i[0]))&&(i[1]=t(i[1]));var c=r.slice(0);o.encryptBlock(c,0);for(var u=0;u<s;u++)e[n+u]^=c[u]}});return e.Decryptor=n,e}(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],s=[],a=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)o[n]^=i[n+4&7];if(t){var s=t.words,a=s[0],r=s[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),d=u>>>16|4294901760&l,p=l<<16|65535&u;for(o[0]^=u,o[1]^=d,o[2]^=l,o[3]^=p,o[4]^=u,o[5]^=d,o[6]^=l,o[7]^=p,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],a=65535&i,r=i>>>16,c=((a*a>>>17)+a*r>>>15)+r*r,u=((4294901760&i)*i|0)+((65535&i)*i|0);s[n]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),r.mode.CTR=function(){var e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0);var a=s.slice(0);n.encryptBlock(a,0),s[i-1]=s[i-1]+1|0;for(var r=0;r<i;r++)e[t+r]^=a[r]}});return e.Decryptor=t,e}(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],s=[],a=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)i[o]^=n[o+4&7];if(t){var s=t.words,a=s[0],r=s[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),d=u>>>16|4294901760&l,p=l<<16|65535&u;for(i[0]^=u,i[1]^=d,i[2]^=l,i[3]^=p,i[4]^=u,i[5]^=d,i[6]^=l,i[7]^=p,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});fu