yifengyide/public/dist/assets/activity_index-d69c6a33.js

7 lines
115 KiB
JavaScript
Raw Normal View History

import{c as _e,g as be,s as ut,n as xe}from"./index-2b234fd0.js";import{a as Ce,u as ke}from"./index.esm-41c14e67.js";import{l as Ae}from"./lodash-3692acb0.js";import{C as Ee}from"./cloud-download-9e3d3399.js";var we={exports:{}};(function(i,z){(function(f,I){i.exports=I()})(_e,function(){return function(f){var I={};function w(S){if(I[S])return I[S].exports;var B=I[S]={i:S,l:!1,exports:{}};return f[S].call(B.exports,B,B.exports,w),B.l=!0,B.exports}return w.m=f,w.c=I,w.d=function(S,B,j){w.o(S,B)||Object.defineProperty(S,B,{enumerable:!0,get:j})},w.r=function(S){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(S,"__esModule",{value:!0})},w.t=function(S,B){if(1&B&&(S=w(S)),8&B||4&B&&typeof S=="object"&&S&&S.__esModule)return S;var j=Object.create(null);if(w.r(j),Object.defineProperty(j,"default",{enumerable:!0,value:S}),2&B&&typeof S!="string")for(var O in S)w.d(j,O,(function(K){return S[K]}).bind(null,O));return j},w.n=function(S){var B=S&&S.__esModule?function(){return S.default}:function(){return S};return w.d(B,"a",B),B},w.o=function(S,B){return Object.prototype.hasOwnProperty.call(S,B)},w.p="/dist/",w(w.s=13)}([function(f,I){f.exports=function(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")},f.exports.__esModule=!0,f.exports.default=f.exports},function(f,I){function w(S,B){for(var j=0;j<B.length;j++){var O=B[j];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}f.exports=function(S,B,j){return B&&w(S.prototype,B),j&&w(S,j),Object.defineProperty(S,"prototype",{writable:!1}),S},f.exports.__esModule=!0,f.exports.default=f.exports},function(f,I){function w(S){return f.exports=w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},f.exports.__esModule=!0,f.exports.default=f.exports,w(S)}f.exports=w,f.exports.__esModule=!0,f.exports.default=f.exports},function(f,I,w){f.exports=w(14)()},function(f,I,w){w.d(I,"a",function(){return u}),w.d(I,"b",function(){return M}),w.d(I,"c",function(){return c});var S=w(0),B=w.n(S),j=w(1),O=w.n(j);function K(g){var s=encodeURI(g).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return s.length+(s.length!=Number(g)?3:0)}var D=function(){function g(s){B()(this,g),this.mode=p.MODE_8BIT_BYTE,this.parsedData=[],this.data=s;for(var l=[],n=0,o=this.data.length;n<o;n++){var a=[],v=this.data.charCodeAt(n);v>65536?(a[0]=240|(1835008&v)>>>18,a[1]=128|(258048&v)>>>12,a[2]=128|(4032&v)>>>6,a[3]=128|63&v):v>2048?(a[0]=224|(61440&v)>>>12,a[1]=128|(4032&v)>>>6,a[2]=128|63&v):v>128?(a[0]=192|(1984&v)>>>6,a[1]=128|63&v):a[0]=v,l.push(a)}this.parsedData=Array.prototype.concat.apply([],l),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}return O()(g,[{key:"getLength",value:function(){return this.parsedData.length}},{key:"write",value:function(s){for(var l=0,n=this.parsedData.length;l<n;l++)s.put(this.parsedData[l],8)}}]),g}(),u=function(){function g(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:M.L;B()(this,g),this.moduleCount=0,this.dataList=[],this.typeNumber=s,this.errorCorrectLevel=l,this.moduleCount=0,this.dataList=[]}return O()(g,[{key:"addData",value:function(s){if(this.typeNumber<=0)this.typeNumber=function(n,o){for(var a=1,v=K(n),T=0,A=P.length;T<A;T++){var R=0;switch(o){case M.L:R=P[T][0];break;case M.M:R=P[T][1];break;case M.Q:R=P[T][2];break;case M.H:R=P[T][3]}if(v<=R)break;a++}if(a>P.length)throw new Error("Too long data");return a}(s,this.errorCorrectLevel);else{if(this.typeNumber>40)throw new Error("Invalid QR version: ".concat(this.typeNumber));if(!function(n,o,a){var v=K(o),T=n-1,A=0;switch(a){case M.L:A=P[T][0];break;case M.M:A=P[T][1];break;case M.Q:A=P[T][2];break;case M.H:A=P[T][3]}return v<=A}(this.typeNumber,s,this.errorCorre
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var B=w(16),j=w(17),O=w(18);function K(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function D(t,e){if(K()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(t===null&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return M(this,t,e,r)}function M(t,e,r,_){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?function(b,h,q,G){if(h.byteLength,q<0||h.byteLength<q)throw new RangeError("'offset' is out of bounds");if(h.byteLength<q+(G||0))throw new RangeError("'length' is out of bounds");return h=q===void 0&&G===void 0?new Uint8Array(h):G===void 0?new Uint8Array(h,q):new Uint8Array(h,q,G),u.TYPED_ARRAY_SUPPORT?(b=h).__proto__=u.prototype:b=c(b,h),b}(t,e,r,_):typeof e=="string"?function(b,h,q){if(typeof q=="string"&&q!==""||(q="utf8"),!u.isEncoding(q))throw new TypeError('"encoding" must be a valid string encoding');var G=0|m(h,q),et=(b=D(b,G)).write(h,q);return et!==G&&(b=b.slice(0,et)),b}(t,e,r):function(b,h){if(u.isBuffer(h)){var q=0|y(h.length);return(b=D(b,q)).length===0||h.copy(b,0,0,q),b}if(h){if(typeof ArrayBuffer<"u"&&h.buffer instanceof ArrayBuffer||"length"in h)return typeof h.length!="number"||(G=h.length)!=G?D(b,0):c(b,h);if(h.type==="Buffer"&&O(h.data))return c(b,h.data)}var G;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function p(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(p(e),t=D(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function c(t,e){var r=e.length<0?0:0|y(e.length);t=D(t,r);for(var _=0;_<r;_+=1)t[_]=255&e[_];return t}function y(t){if(t>=K())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K().toString(16)+" bytes");return 0|t}function m(t,e){if(u.isBuffer(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var _=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return nt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(_)return nt(t).length;e=(""+e).toLowerCase(),_=!0}}function k(t,e,r){var _=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return T(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,r);default:if(_)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),_=!0}}function C(t,e,r){var _=t[e];t[e]=t[r],t[r]=_}function P(t,e,r,_,b){if(t.length===0)return-1;if(typeof r=="string"?(_=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=b?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(b)return-1;r=t.length-1}else if(r<0){if(!b)return-1;r=0}if(typeof e=="string"&&(e=u.from(e,_)),u.isBuffer(e))return e.length===0?-1:g(t,e,r,_,b);if(typeof e=="number")return e&=255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?b?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,_,b);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,_,b){var h,q=1,G=t.length,et=e.length;if(_!==void 0&&((_=String(_).toLowerCase())==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le