小工具整理

This commit is contained in:
Abin committed 2025-07-31 16:05:55 +08:00
commit 1011eb44e1
566 files changed
+267142

No files matched your search

@@ -0,0 +1,3 @@
/*! For license information please see polyfills.js.LICENSE.txt */
(()=>{var t={76990:(t,e,r)=>{var n=r(6133),o=r(88081),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},70638:(t,e,r)=>{var n=r(38577),o=r(88081),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},20154:(t,e,r)=>{var n=r(6133),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},26258:(t,e,r)=>{var n=r(34344),o=r(73941),i=r(49659).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},98204:(t,e,r)=>{"use strict";var n=r(80952).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},91943:(t,e,r)=>{var n=r(43865),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation")}},24892:(t,e,r)=>{var n=r(89783),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},91725:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},99992:(t,e,r)=>{var n=r(55168);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},92176:(t,e,r)=>{"use strict";var n,o,i,a=r(91725),s=r(81314),u=r(74935),c=r(6133),f=r(89783),l=r(89301),p=r(56185),h=r(88081),d=r(30421),v=r(55794),g=r(49659).f,y=r(43865),m=r(55211),b=r(57663),w=r(34344),x=r(73084),E=r(17535),S=E.enforce,T=E.get,k=u.Int8Array,_=k&&k.prototype,O=u.Uint8ClampedArray,A=O&&O.prototype,M=k&&m(k),R=_&&m(_),P=Object.prototype,I=u.TypeError,j=w("toStringTag"),D=x("TYPED_ARRAY_TAG"),C="TypedArrayConstructor",L=a&&!!b&&"Opera"!==p(u.opera),N=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},z=function(t){var e=m(t);if(f(e)){var r=T(e);return r&&l(r,C)?r.TypedArrayConstructor:z(e)}},Z=function(t){if(!f(t))return!1;var e=p(t);return l(F,e)||l(U,e)};for(n in F)(i=(o=u[n])&&o.prototype)?S(i).TypedArrayConstructor=o:L=!1;for(n in U)(i=(o=u[n])&&o.prototype)&&(S(i).TypedArrayConstructor=o);if((!L||!c(M)||M===Function.prototype)&&(M=function(){throw I("Incorrect invocation")},L))for(n in F)u[n]&&b(u[n],M);if((!L||!R||R===P)&&(R=M.prototype,L))for(n in F)u[n]&&b(u[n].prototype,R);if(L&&m(A)!==R&&b(A,R),s&&!l(R,j))for(n in N=!0,g(R,j,{get:function(){return f(this)?this[D]:void 0}}),F)u[n]&&d(u[n],D,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:N&&D,aTypedArray:function(t){if(Z(t))return t;throw I("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!b||y(M,t)))return t;throw I(h(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(s){if(r)for(var o in F){var i=u[o];if(i&&l(i.prototype,t))try{delete i.prototype[t]}catch(r){try{i.prototype[t]=e}catch(t){}}}R[t]&&!r||v(R,t,r?e:L&&_[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(s){if(b){if(r)for(n in F)if((o=u[n])&&l(o,t))try{delete o[t]}catch(t){}if(M[t]&&!r)return;try{return v(M,t,r?e:L&&M[t]||e)}catch(t){}}for(n in F)!(o=u[n])||o[t]&&!r||v(o,t,e)}},getTypedArrayConstructor:z,isView:function(t){if(!f(t))return!1;var e=p(t);return"DataView"===e||l(F,e)||l(U,e)},isTypedArray:Z,TypedArray:M,TypedArrayPrototype:R}},22951:(t,e,r)=>{"use strict";var n=r(74935),o=r(72749),i=r(81314),a=r(91725),s=r(89190),u=r(30421),c=r(6896),f=r(55168),l=r(91943),p=r(80659),h=r(31586),d=r(16507),v=r(66076),g=r(55211),y=r(57663),m=r(80897).f,b=r(49659).f,w=r(49137),x=r(16791),E=r(1399),S=r(17535),T=s.PROPER,k=s.CONFIGURABLE,_=S.get,O=S.set,A="ArrayBuffer",M="DataView",R="Wrong index",P=n.ArrayBuffer,I=P,j=I&&I.prototype,D=n.DataView,C=D&&D.prototype,L=Object.prototype,N=n.Array,F=n.RangeError,U=o(w),z=o([].reverse),Z=v.pack,B=v.unpack,H=function(t){return[255&t]},W=function(t){return[255&t,t>>8&255]},G=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},V=function(t){return Z(t,23,4)},Y=function(t){return Z(t,52,8)},J=function(t,e){b(t.prototype,e,{get:function(){return _(this)[e]}})},$=function(t,e,r,n){var o=d(r),i=_(t);if(o+e>i.byteLength)throw F(R);var a=_(i.buffer).bytes,s=o+i.byteOffset,u=x(a,s,s+e);return n?u:z(u)},X=function(t,e,r,n,o,i){var a=d(r),s=_(t);if(a+e>s.byteLength)throw F(R);for(var u=_(s.buffer).bytes,c=a+s.byteOffset,f=n(+o),l=0;l<e;l++)u[c+l]=f[i?l:e-l-1]};if(a){var K=T&&P.name!==A;if(f((function(){P(1)}))&&f((function(){new P(-1)}))&&!f((function(){return new P,new P(1.5),new P(NaN),K&&!k})))K&&k&&u(P,"name",A);else{(I=function(t){return l(this,j),new P(d(t))}).prototype=j;for(var Q,tt=m(P),et=0;tt.length>et;)(Q=tt[et++])in I||u(I,Q,P[Q]);j.constructor=I}y&&g(C)!==L&&y(C,L);var rt=new D(new I(2)),nt=o(C.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||c(C,{setInt8:function(t,e){nt(this,t,e<<24>>24)},setUint8:function(t,e){nt(this,t,eLine truncated
//# sourceMappingURL=polyfills.js.map