@glodon-aiot/libs 0.0.0-20251107034219
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/README.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/aiot-lib-jssdk.js +20019 -0
- package/dist/aiot-lib-jssdk.umd.cjs +37 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/upload/index.d.ts +10 -0
- package/dist/src/upload/model.d.ts +12 -0
- package/package.json +87 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
(function(ye,Pe){typeof exports=="object"&&typeof module<"u"?Pe(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],Pe):(ye=typeof globalThis<"u"?globalThis:ye||self,Pe(ye.AiotLibJssdk={},ye.axios))})(this,function(ye,Pe){"use strict";function ha(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(r,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Sr="ARRAYBUFFER not supported by this environment",Dr="UINT8ARRAY not supported by this environment";function Tr(e,t,o,r){let i,n,x;const c=t||[0],l=(o=o||0)>>>3,a=r===-1?3:0;for(i=0;i<e.length;i+=1)x=i+l,n=x>>>2,c.length<=n&&c.push(0),c[n]|=e[i]<<8*(a+r*(x%4));return{value:c,binLen:8*e.length+o}}function ke(e,t,o){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(r,i,n){return function(x,c,l,a){let d,p,s,u;if(x.length%2!=0)throw new Error("String of HEX type must be in byte increments");const h=c||[0],m=(l=l||0)>>>3,f=a===-1?3:0;for(d=0;d<x.length;d+=2){if(p=parseInt(x.substr(d,2),16),isNaN(p))throw new Error("String of HEX type contains invalid characters");for(u=(d>>>1)+m,s=u>>>2;h.length<=s;)h.push(0);h[s]|=p<<8*(f+a*(u%4))}return{value:h,binLen:4*x.length+l}}(r,i,n,o)};case"TEXT":return function(r,i,n){return function(x,c,l,a,d){let p,s,u,h,m,f,C,A,y=0;const g=l||[0],b=(a=a||0)>>>3;if(c==="UTF8")for(C=d===-1?3:0,u=0;u<x.length;u+=1)for(p=x.charCodeAt(u),s=[],128>p?s.push(p):2048>p?(s.push(192|p>>>6),s.push(128|63&p)):55296>p||57344<=p?s.push(224|p>>>12,128|p>>>6&63,128|63&p):(u+=1,p=65536+((1023&p)<<10|1023&x.charCodeAt(u)),s.push(240|p>>>18,128|p>>>12&63,128|p>>>6&63,128|63&p)),h=0;h<s.length;h+=1){for(f=y+b,m=f>>>2;g.length<=m;)g.push(0);g[m]|=s[h]<<8*(C+d*(f%4)),y+=1}else for(C=d===-1?2:0,A=c==="UTF16LE"&&d!==1||c!=="UTF16LE"&&d===1,u=0;u<x.length;u+=1){for(p=x.charCodeAt(u),A===!0&&(h=255&p,p=h<<8|p>>>8),f=y+b,m=f>>>2;g.length<=m;)g.push(0);g[m]|=p<<8*(C+d*(f%4)),y+=2}return{value:g,binLen:8*y+a}}(r,t,i,n,o)};case"B64":return function(r,i,n){return function(x,c,l,a){let d,p,s,u,h,m,f,C=0;const A=c||[0],y=(l=l||0)>>>3,g=a===-1?3:0,b=x.indexOf("=");if(x.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(x=x.replace(/=/g,""),b!==-1&&b<x.length)throw new Error("Invalid '=' found in base-64 string");for(p=0;p<x.length;p+=4){for(h=x.substr(p,4),u=0,s=0;s<h.length;s+=1)d=vr.indexOf(h.charAt(s)),u|=d<<18-6*s;for(s=0;s<h.length-1;s+=1){for(f=C+y,m=f>>>2;A.length<=m;)A.push(0);A[m]|=(u>>>16-8*s&255)<<8*(g+a*(f%4)),C+=1}}return{value:A,binLen:8*C+l}}(r,i,n,o)};case"BYTES":return function(r,i,n){return function(x,c,l,a){let d,p,s,u;const h=c||[0],m=(l=l||0)>>>3,f=a===-1?3:0;for(p=0;p<x.length;p+=1)d=x.charCodeAt(p),u=p+m,s=u>>>2,h.length<=s&&h.push(0),h[s]|=d<<8*(f+a*(u%4));return{value:h,binLen:8*x.length+l}}(r,i,n,o)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Sr)}return function(r,i,n){return function(x,c,l,a){return Tr(new Uint8Array(x),c,l,a)}(r,i,n,o)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Dr)}return function(r,i,n){return Tr(r,i,n,o)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function Fr(e,t,o,r){switch(e){case"HEX":return function(i){return function(n,x,c,l){const a="0123456789abcdef";let d,p,s="";const u=x/8,h=c===-1?3:0;for(d=0;d<u;d+=1)p=n[d>>>2]>>>8*(h+c*(d%4)),s+=a.charAt(p>>>4&15)+a.charAt(15&p);return l.outputUpper?s.toUpperCase():s}(i,t,o,r)};case"B64":return function(i){return function(n,x,c,l){let a,d,p,s,u,h="";const m=x/8,f=c===-1?3:0;for(a=0;a<m;a+=3)for(s=a+1<m?n[a+1>>>2]:0,u=a+2<m?n[a+2>>>2]:0,p=(n[a>>>2]>>>8*(f+c*(a%4))&255)<<16|(s>>>8*(f+c*((a+1)%4))&255)<<8|u>>>8*(f+c*((a+2)%4))&255,d=0;d<4;d+=1)h+=8*a+6*d<=x?vr.charAt(p>>>6*(3-d)&63):l.b64Pad;return h}(i,t,o,r)};case"BYTES":return function(i){return function(n,x,c){let l,a,d="";const p=x/8,s=c===-1?3:0;for(l=0;l<p;l+=1)a=n[l>>>2]>>>8*(s+c*(l%4))&255,d+=String.fromCharCode(a);return d}(i,t,o)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Sr)}return function(i){return function(n,x,c){let l;const a=x/8,d=new ArrayBuffer(a),p=new Uint8Array(d),s=c===-1?3:0;for(l=0;l<a;l+=1)p[l]=n[l>>>2]>>>8*(s+c*(l%4))&255;return d}(i,t,o)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Dr)}return function(i){return function(n,x,c){let l;const a=x/8,d=c===-1?3:0,p=new Uint8Array(a);for(l=0;l<a;l+=1)p[l]=n[l>>>2]>>>8*(d+c*(l%4))&255;return p}(i,t,o)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Me=4294967296,q=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],pe=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],he=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Ie="Chosen SHA variant is not supported",Rr="Cannot set numRounds with MAC";function Ve(e,t){let o,r;const i=e.binLen>>>3,n=t.binLen>>>3,x=i<<3,c=4-i<<3;if(i%4!=0){for(o=0;o<n;o+=4)r=i+o>>>2,e.value[r]|=t.value[o>>>2]<<x,e.value.push(0),e.value[r+1]|=t.value[o>>>2]>>>c;return(e.value.length<<2)-4>=n+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function Or(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},o=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=o.outputUpper||!1,o.b64Pad&&(t.b64Pad=o.b64Pad),o.outputLen){if(o.outputLen%8!=0)throw new Error(r);t.outputLen=o.outputLen}else if(o.shakeLen){if(o.shakeLen%8!=0)throw new Error(r);t.outputLen=o.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function xe(e,t,o,r){const i=e+" must include a value and format";if(!t){if(!r)throw new Error(i);return r}if(t.value===void 0||!t.format)throw new Error(i);return ke(t.format,t.encoding||"UTF8",o)(t.value)}class $e{constructor(t,o,r){const i=r||{};if(this.t=o,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.o=t,this.h=[],this.u=0,this.l=!1,this.A=0,this.H=!1,this.S=[],this.p=[]}update(t){let o,r=0;const i=this.m>>>5,n=this.C(t,this.h,this.u),x=n.binLen,c=n.value,l=x>>>5;for(o=0;o<l;o+=i)r+this.m<=x&&(this.U=this.v(c.slice(o,o+i),this.U),r+=this.m);return this.A+=r,this.h=c.slice(r>>>5),this.u=x%this.m,this.l=!0,this}getHash(t,o){let r,i,n=this.R;const x=Or(o);if(this.K){if(x.outputLen===-1)throw new Error("Output length must be specified in options");n=x.outputLen}const c=Fr(t,n,this.T,x);if(this.H&&this.g)return c(this.g(x));for(i=this.F(this.h.slice(),this.u,this.A,this.L(this.U),n),r=1;r<this.numRounds;r+=1)this.K&&n%32!=0&&(i[i.length-1]&=16777215>>>24-n%32),i=this.F(i,n,0,this.B(this.o),n);return c(i)}setHMACKey(t,o,r){if(!this.M)throw new Error("Variant does not support HMAC");if(this.l)throw new Error("Cannot set MAC key after calling update");const i=ke(o,(r||{}).encoding||"UTF8",this.T);this.k(i(t))}k(t){const o=this.m>>>3,r=o/4-1;let i;if(this.numRounds!==1)throw new Error(Rr);if(this.H)throw new Error("MAC key already set");for(o<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.o),this.R));t.value.length<=r;)t.value.push(0);for(i=0;i<=r;i+=1)this.S[i]=909522486^t.value[i],this.p[i]=1549556828^t.value[i];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,o){const r=Or(o);return Fr(t,this.R,this.T,r)(this.Y())}Y(){let t;if(!this.H)throw new Error("Cannot call getHMAC without first setting MAC key");const o=this.F(this.h.slice(),this.u,this.A,this.L(this.U),this.R);return t=this.v(this.p,this.B(this.o)),t=this.F(o,this.R,this.m,t,this.R),t}}function Be(e,t){return e<<t|e>>>32-t}function ue(e,t){return e>>>t|e<<32-t}function Mr(e,t){return e>>>t}function Ir(e,t,o){return e^t^o}function Lr(e,t,o){return e&t^~e&o}function qr(e,t,o){return e&t^e&o^t&o}function xa(e){return ue(e,2)^ue(e,13)^ue(e,22)}function te(e,t){const o=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(o>>>16))<<16|65535&o}function fa(e,t,o,r){const i=(65535&e)+(65535&t)+(65535&o)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(o>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}function Le(e,t,o,r,i){const n=(65535&e)+(65535&t)+(65535&o)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(o>>>16)+(r>>>16)+(i>>>16)+(n>>>16))<<16|65535&n}function Aa(e){return ue(e,7)^ue(e,18)^Mr(e,3)}function ma(e){return ue(e,6)^ue(e,11)^ue(e,25)}function ya(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function _r(e,t){let o,r,i,n,x,c,l;const a=[];for(o=t[0],r=t[1],i=t[2],n=t[3],x=t[4],l=0;l<80;l+=1)a[l]=l<16?e[l]:Be(a[l-3]^a[l-8]^a[l-14]^a[l-16],1),c=l<20?Le(Be(o,5),Lr(r,i,n),x,1518500249,a[l]):l<40?Le(Be(o,5),Ir(r,i,n),x,1859775393,a[l]):l<60?Le(Be(o,5),qr(r,i,n),x,2400959708,a[l]):Le(Be(o,5),Ir(r,i,n),x,3395469782,a[l]),x=n,n=i,i=Be(r,30),r=o,o=c;return t[0]=te(o,t[0]),t[1]=te(r,t[1]),t[2]=te(i,t[2]),t[3]=te(n,t[3]),t[4]=te(x,t[4]),t}function ga(e,t,o,r){let i;const n=15+(t+65>>>9<<4),x=t+o;for(;e.length<=n;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[n]=4294967295&x,e[n-1]=x/Me|0,i=0;i<e.length;i+=16)r=_r(e.slice(i,i+16),r);return r}let Ca=class extends $e{constructor(e,t,o){if(e!=="SHA-1")throw new Error(Ie);super(e,t,o);const r=o||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=ke(this.t,this.i,this.T),this.v=_r,this.L=function(i){return i.slice()},this.B=ya,this.F=ga,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(xe("hmacKey",r.hmacKey,this.T))}};function jr(e){let t;return t=e=="SHA-224"?pe.slice():he.slice(),t}function Gr(e,t){let o,r,i,n,x,c,l,a,d,p,s;const u=[];for(o=t[0],r=t[1],i=t[2],n=t[3],x=t[4],c=t[5],l=t[6],a=t[7],s=0;s<64;s+=1)u[s]=s<16?e[s]:fa(ue(h=u[s-2],17)^ue(h,19)^Mr(h,10),u[s-7],Aa(u[s-15]),u[s-16]),d=Le(a,ma(x),Lr(x,c,l),q[s],u[s]),p=te(xa(o),qr(o,r,i)),a=l,l=c,c=x,x=te(n,d),n=i,i=r,r=o,o=te(d,p);var h;return t[0]=te(o,t[0]),t[1]=te(r,t[1]),t[2]=te(i,t[2]),t[3]=te(n,t[3]),t[4]=te(x,t[4]),t[5]=te(c,t[5]),t[6]=te(l,t[6]),t[7]=te(a,t[7]),t}let ba=class extends $e{constructor(e,t,o){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(Ie);super(e,t,o);const r=o||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=ke(this.t,this.i,this.T),this.v=Gr,this.L=function(i){return i.slice()},this.B=jr,this.F=function(i,n,x,c){return function(l,a,d,p,s){let u,h;const m=15+(a+65>>>9<<4),f=a+d;for(;l.length<=m;)l.push(0);for(l[a>>>5]|=128<<24-a%32,l[m]=4294967295&f,l[m-1]=f/Me|0,u=0;u<l.length;u+=16)p=Gr(l.slice(u,u+16),p);return h=s==="SHA-224"?[p[0],p[1],p[2],p[3],p[4],p[5],p[6]]:p,h}(i,n,x,c,e)},this.U=jr(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(xe("hmacKey",r.hmacKey,this.T))}};class v{constructor(t,o){this.N=t,this.I=o}}function Ur(e,t){let o;return t>32?(o=64-t,new v(e.I<<t|e.N>>>o,e.N<<t|e.I>>>o)):t!==0?(o=32-t,new v(e.N<<t|e.I>>>o,e.I<<t|e.N>>>o)):e}function de(e,t){let o;return t<32?(o=32-t,new v(e.N>>>t|e.I<<o,e.I>>>t|e.N<<o)):(o=64-t,new v(e.I>>>t|e.N<<o,e.N>>>t|e.I<<o))}function Hr(e,t){return new v(e.N>>>t,e.I>>>t|e.N<<32-t)}function Pa(e,t,o){return new v(e.N&t.N^e.N&o.N^t.N&o.N,e.I&t.I^e.I&o.I^t.I&o.I)}function ka(e){const t=de(e,28),o=de(e,34),r=de(e,39);return new v(t.N^o.N^r.N,t.I^o.I^r.I)}function se(e,t){let o,r;o=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(o>>>16);const i=(65535&r)<<16|65535&o;return o=(65535&e.N)+(65535&t.N)+(r>>>16),r=(e.N>>>16)+(t.N>>>16)+(o>>>16),new v((65535&r)<<16|65535&o,i)}function Ba(e,t,o,r){let i,n;i=(65535&e.I)+(65535&t.I)+(65535&o.I)+(65535&r.I),n=(e.I>>>16)+(t.I>>>16)+(o.I>>>16)+(r.I>>>16)+(i>>>16);const x=(65535&n)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&o.N)+(65535&r.N)+(n>>>16),n=(e.N>>>16)+(t.N>>>16)+(o.N>>>16)+(r.N>>>16)+(i>>>16),new v((65535&n)<<16|65535&i,x)}function wa(e,t,o,r,i){let n,x;n=(65535&e.I)+(65535&t.I)+(65535&o.I)+(65535&r.I)+(65535&i.I),x=(e.I>>>16)+(t.I>>>16)+(o.I>>>16)+(r.I>>>16)+(i.I>>>16)+(n>>>16);const c=(65535&x)<<16|65535&n;return n=(65535&e.N)+(65535&t.N)+(65535&o.N)+(65535&r.N)+(65535&i.N)+(x>>>16),x=(e.N>>>16)+(t.N>>>16)+(o.N>>>16)+(r.N>>>16)+(i.N>>>16)+(n>>>16),new v((65535&x)<<16|65535&n,c)}function qe(e,t){return new v(e.N^t.N,e.I^t.I)}function Ea(e){const t=de(e,19),o=de(e,61),r=Hr(e,6);return new v(t.N^o.N^r.N,t.I^o.I^r.I)}function va(e){const t=de(e,1),o=de(e,8),r=Hr(e,7);return new v(t.N^o.N^r.N,t.I^o.I^r.I)}function Sa(e){const t=de(e,14),o=de(e,18),r=de(e,41);return new v(t.N^o.N^r.N,t.I^o.I^r.I)}const Da=[new v(q[0],3609767458),new v(q[1],602891725),new v(q[2],3964484399),new v(q[3],2173295548),new v(q[4],4081628472),new v(q[5],3053834265),new v(q[6],2937671579),new v(q[7],3664609560),new v(q[8],2734883394),new v(q[9],1164996542),new v(q[10],1323610764),new v(q[11],3590304994),new v(q[12],4068182383),new v(q[13],991336113),new v(q[14],633803317),new v(q[15],3479774868),new v(q[16],2666613458),new v(q[17],944711139),new v(q[18],2341262773),new v(q[19],2007800933),new v(q[20],1495990901),new v(q[21],1856431235),new v(q[22],3175218132),new v(q[23],2198950837),new v(q[24],3999719339),new v(q[25],766784016),new v(q[26],2566594879),new v(q[27],3203337956),new v(q[28],1034457026),new v(q[29],2466948901),new v(q[30],3758326383),new v(q[31],168717936),new v(q[32],1188179964),new v(q[33],1546045734),new v(q[34],1522805485),new v(q[35],2643833823),new v(q[36],2343527390),new v(q[37],1014477480),new v(q[38],1206759142),new v(q[39],344077627),new v(q[40],1290863460),new v(q[41],3158454273),new v(q[42],3505952657),new v(q[43],106217008),new v(q[44],3606008344),new v(q[45],1432725776),new v(q[46],1467031594),new v(q[47],851169720),new v(q[48],3100823752),new v(q[49],1363258195),new v(q[50],3750685593),new v(q[51],3785050280),new v(q[52],3318307427),new v(q[53],3812723403),new v(q[54],2003034995),new v(q[55],3602036899),new v(q[56],1575990012),new v(q[57],1125592928),new v(q[58],2716904306),new v(q[59],442776044),new v(q[60],593698344),new v(q[61],3733110249),new v(q[62],2999351573),new v(q[63],3815920427),new v(3391569614,3928383900),new v(3515267271,566280711),new v(3940187606,3454069534),new v(4118630271,4000239992),new v(116418474,1914138554),new v(174292421,2731055270),new v(289380356,3203993006),new v(460393269,320620315),new v(685471733,587496836),new v(852142971,1086792851),new v(1017036298,365543100),new v(1126000580,2618297676),new v(1288033470,3409855158),new v(1501505948,4234509866),new v(1607167915,987167468),new v(1816402316,1246189591)];function Nr(e){return e==="SHA-384"?[new v(3418070365,pe[0]),new v(1654270250,pe[1]),new v(2438529370,pe[2]),new v(355462360,pe[3]),new v(1731405415,pe[4]),new v(41048885895,pe[5]),new v(3675008525,pe[6]),new v(1203062813,pe[7])]:[new v(he[0],4089235720),new v(he[1],2227873595),new v(he[2],4271175723),new v(he[3],1595750129),new v(he[4],2917565137),new v(he[5],725511199),new v(he[6],4215389547),new v(he[7],327033209)]}function Kr(e,t){let o,r,i,n,x,c,l,a,d,p,s,u;const h=[];for(o=t[0],r=t[1],i=t[2],n=t[3],x=t[4],c=t[5],l=t[6],a=t[7],s=0;s<80;s+=1)s<16?(u=2*s,h[s]=new v(e[u],e[u+1])):h[s]=Ba(Ea(h[s-2]),h[s-7],va(h[s-15]),h[s-16]),d=wa(a,Sa(x),(f=c,C=l,new v((m=x).N&f.N^~m.N&C.N,m.I&f.I^~m.I&C.I)),Da[s],h[s]),p=se(ka(o),Pa(o,r,i)),a=l,l=c,c=x,x=se(n,d),n=i,i=r,r=o,o=se(d,p);var m,f,C;return t[0]=se(o,t[0]),t[1]=se(r,t[1]),t[2]=se(i,t[2]),t[3]=se(n,t[3]),t[4]=se(x,t[4]),t[5]=se(c,t[5]),t[6]=se(l,t[6]),t[7]=se(a,t[7]),t}let Ta=class extends $e{constructor(e,t,o){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(Ie);super(e,t,o);const r=o||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=ke(this.t,this.i,this.T),this.v=Kr,this.L=function(i){return i.slice()},this.B=Nr,this.F=function(i,n,x,c){return function(l,a,d,p,s){let u,h;const m=31+(a+129>>>10<<5),f=a+d;for(;l.length<=m;)l.push(0);for(l[a>>>5]|=128<<24-a%32,l[m]=4294967295&f,l[m-1]=f/Me|0,u=0;u<l.length;u+=32)p=Kr(l.slice(u,u+32),p);return h=s==="SHA-384"?[p[0].N,p[0].I,p[1].N,p[1].I,p[2].N,p[2].I,p[3].N,p[3].I,p[4].N,p[4].I,p[5].N,p[5].I]:[p[0].N,p[0].I,p[1].N,p[1].I,p[2].N,p[2].I,p[3].N,p[3].I,p[4].N,p[4].I,p[5].N,p[5].I,p[6].N,p[6].I,p[7].N,p[7].I],h}(i,n,x,c,e)},this.U=Nr(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(xe("hmacKey",r.hmacKey,this.T))}};const Fa=[new v(0,1),new v(0,32898),new v(2147483648,32906),new v(2147483648,2147516416),new v(0,32907),new v(0,2147483649),new v(2147483648,2147516545),new v(2147483648,32777),new v(0,138),new v(0,136),new v(0,2147516425),new v(0,2147483658),new v(0,2147516555),new v(2147483648,139),new v(2147483648,32905),new v(2147483648,32771),new v(2147483648,32770),new v(2147483648,128),new v(0,32778),new v(2147483648,2147483658),new v(2147483648,2147516545),new v(2147483648,32896),new v(0,2147483649),new v(2147483648,2147516424)],Ra=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function Pt(e){let t;const o=[];for(t=0;t<5;t+=1)o[t]=[new v(0,0),new v(0,0),new v(0,0),new v(0,0),new v(0,0)];return o}function Oa(e){let t;const o=[];for(t=0;t<5;t+=1)o[t]=e[t].slice();return o}function Xe(e,t){let o,r,i,n;const x=[],c=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=qe(t[(r>>>1)%5][(r>>>1)/5|0],new v(e[r+1],e[r]));for(o=0;o<24;o+=1){for(n=Pt(),r=0;r<5;r+=1)x[r]=(l=t[r][0],a=t[r][1],d=t[r][2],p=t[r][3],s=t[r][4],new v(l.N^a.N^d.N^p.N^s.N,l.I^a.I^d.I^p.I^s.I));for(r=0;r<5;r+=1)c[r]=qe(x[(r+4)%5],Ur(x[(r+1)%5],1));for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=qe(t[r][i],c[r]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)n[i][(2*r+3*i)%5]=Ur(t[r][i],Ra[r][i]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=qe(n[r][i],new v(~n[(r+1)%5][i].N&n[(r+2)%5][i].N,~n[(r+1)%5][i].I&n[(r+2)%5][i].I));t[0][0]=qe(t[0][0],Fa[o])}var l,a,d,p,s;return t}function zr(e){let t,o,r=0;const i=[0,0],n=[4294967295&e,e/Me&2097151];for(t=6;t>=0;t--)o=n[t>>2]>>>8*t&255,o===0&&r===0||(i[r+1>>2]|=o<<8*(r+1),r+=1);return r=r!==0?r:1,i[0]|=r,{value:r+1>4?i:[i[0]],binLen:8+8*r}}function kt(e){return Ve(zr(e.binLen),e)}function Wr(e,t){let o,r=zr(t);r=Ve(r,e);const i=t>>>2,n=(i-r.value.length%i)%i;for(o=0;o<n;o++)r.value.push(0);return r.value}let Ma=class extends $e{constructor(e,t,o){let r=6,i=0;super(e,t,o);const n=o||{};if(this.numRounds!==1){if(n.kmacKey||n.hmacKey)throw new Error(Rr);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=ke(this.t,this.i,this.T),this.v=Xe,this.L=Oa,this.B=Pt,this.U=Pt(),this.K=!1,e){case"SHA3-224":this.m=i=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=i=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=i=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=i=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=i=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=i=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=i=1344,this.X(o),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=i=1088,this.X(o),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=i=1344,r=this.O(o),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=i=1088,r=this.O(o),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(Ie)}this.F=function(x,c,l,a,d){return function(p,s,u,h,m,f,C){let A,y,g=0;const b=[],P=m>>>5,w=s>>>5;for(A=0;A<w&&s>=m;A+=P)h=Xe(p.slice(A,A+P),h),s-=m;for(p=p.slice(A),s%=m;p.length<P;)p.push(0);for(A=s>>>3,p[A>>2]^=f<<A%4*8,p[P-1]^=2147483648,h=Xe(p,h);32*b.length<C&&(y=h[g%5][g/5|0],b.push(y.I),!(32*b.length>=C));)b.push(y.N),g+=1,64*g%m==0&&(Xe(null,h),g=0);return b}(x,c,0,a,i,r,d)},n.hmacKey&&this.k(xe("hmacKey",n.hmacKey,this.T))}O(e,t){const o=function(i){const n=i||{};return{funcName:xe("funcName",n.funcName,1,{value:[],binLen:0}),customization:xe("Customization",n.customization,1,{value:[],binLen:0})}}(e||{});t&&(o.funcName=t);const r=Ve(kt(o.funcName),kt(o.customization));if(o.customization.binLen!==0||o.funcName.binLen!==0){const i=Wr(r,this.m>>>3);for(let n=0;n<i.length;n+=this.m>>>5)this.U=this.v(i.slice(n,n+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const i=r||{};return{kmacKey:xe("kmacKey",i.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:xe("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const o=Wr(kt(t.kmacKey),this.m>>>3);for(let r=0;r<o.length;r+=this.m>>>5)this.U=this.v(o.slice(r,r+(this.m>>>5)),this.U),this.A+=this.m;this.H=!0}_(e){const t=Ve({value:this.h.slice(),binLen:this.u},function(o){let r,i,n=0;const x=[0,0],c=[4294967295&o,o/Me&2097151];for(r=6;r>=0;r--)i=c[r>>2]>>>8*r&255,i===0&&n===0||(x[n>>2]|=i<<8*n,n+=1);return n=n!==0?n:1,x[n>>2]|=n<<8*n,{value:n+1>4?x:[x[0]],binLen:8+8*n}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class Vr{constructor(t,o,r){if(t=="SHA-1")this.P=new Ca(t,o,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new ba(t,o,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new Ta(t,o,r);else{if(t!="SHA3-224"&&t!="SHA3-256"&&t!="SHA3-384"&&t!="SHA3-512"&&t!="SHAKE128"&&t!="SHAKE256"&&t!="CSHAKE128"&&t!="CSHAKE256"&&t!="KMAC128"&&t!="KMAC256")throw new Error(Ie);this.P=new Ma(t,o,r)}}update(t){return this.P.update(t),this}getHash(t,o){return this.P.getHash(t,o)}setHMACKey(t,o,r){this.P.setHMACKey(t,o,r)}getHMAC(t,o){return this.P.getHMAC(t,o)}}function Ia(){let e=function(r){let i=JSON.stringify(r,void 0,2).replace(/(\\t|\\r|\\n)/g,"").replace(/"",[\n\t\r\s]+""[,]*/g,"").replace(/(\n[\t\s\r]*\n)/g,"").replace(/[\s\t]{2,}""[,]{0,1}/g,"").replace(/"[\s\t]{1,}"[,]{0,1}/g,"");return i.indexOf('"parsererror": {')===-1?i:"Invalid XML format"},t=function(r){let i={};if(r.nodeType===1){if(r.attributes.length>0){i["@attributes"]={};for(let n=0;n<r.attributes.length;n++){let x=r.attributes.item(n);i["@attributes"][x.nodeName]=x.value}}}else r.nodeType===3&&(i=r.nodeValue);if(r.hasChildNodes())for(let n=0;n<r.childNodes.length;n++){let x=r.childNodes.item(n),c=x.nodeName;if(i[c]===void 0)i[c]=t(x);else{if(i[c].push===void 0){let l=i[c];i[c]=[],i[c].push(l)}i[c].push(t(x))}}return i},o=this;o.parseString=function(r,i){let n;window.DOMParser?n=new window.DOMParser().parseFromString(r,"text/xml"):(n=new window.ActiveXObject("Microsoft.XMLDOM"),n.async="false");let x=e(t(n));return i===void 0?JSON.parse(x):x}}const La=new Ia,Qe={location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Action:{type:"string",sentAs:"Action"},Status:{type:"string",sentAs:"Status"},Agency:{type:"string",sentAs:"Agency"},Filter:{type:"object",sentAs:"Filter",parameters:{Object:{type:"object",sentAs:"Object",parameters:{FilterRule:{type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Value:{type:"string",sentAs:"Value"}}}}}}}},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}},X={SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseMode:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseAlgorithm:{location:"header",sentAs:"server-side-data-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},BucketKeyEnabled:{location:"header",sentAs:"server-side-encryption-bucket-key-enabled",withPrefix:!0},BucketKeyRotationPeriod:{location:"header",sentAs:"server-side-encryption-bucket-key-rotation-period",withPrefix:!0}},$r={SseMode:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseAlgorithm:{location:"header",sentAs:"server-side-data-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},BucketKeyEnabled:{location:"header",sentAs:"server-side-encryption-bucket-key-enabled",withPrefix:!0},BucketKeyRotationPeriod:{location:"header",sentAs:"server-side-encryption-bucket-key-rotation-period",withPrefix:!0}},Xr={httpMethod:"POST",parameters:{ApiPath:{location:"uri"},CreateReviewTask:{required:!0,location:"body"}}},Qr={data:{type:"body"},parameters:{CreateReviewTask:{location:"body"}}},Yr={httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},Zr={data:{type:"body"},parameters:{result:{location:"body"}}},Jr={httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},CreateReviewTask:{required:!0,location:"body"}}},eo={data:{type:"body"},parameters:{CreateReviewTask:{location:"body"}}},to={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"task_name"}}},ro={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Type:{location:"urlPath",sentAs:"type"},Limit:{type:"number",location:"urlPath",sentAs:"limit"},Offset:{type:"number",location:"urlPath",sentAs:"offset"}}},oo={data:{type:"body"},parameters:{result:{location:"body"}}},Ye={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"},Tag:{type:"array",sentAs:"Tag",items:{type:"object",location:"xml",sentAs:"Tag",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},And:{type:"object",sentAs:"And",parameters:{Prefix:{sentAs:"Prefix"},Tag:{type:"array",sentAs:"Tag",items:{type:"object",location:"xml",sentAs:"Tag",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}}}}}},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"},ExpiredObjectDeleteMarker:{sentAs:"ExpiredObjectDeleteMarker"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},Ze={location:"xml",type:"object",parameters:{DefaultRetention:{type:"object",sentAs:"DefaultRetention",parameters:{Days:{sentAs:"Days"},Years:{sentAs:"Years"},Mode:{sentAs:"Mode"}}}}},io={Name:{location:"xml",sentAs:"Name"},CertificateId:{location:"xml",sentAs:"CertificateId"},Certificate:{location:"xml",sentAs:"Certificate"},CertificateChain:{location:"xml",sentAs:"CertificateChain"},PrivateKey:{location:"xml",sentAs:"PrivateKey"}},Je={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},et={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},tt={type:"array",location:"xml",sentAs:"EventGridConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},ChannelId:{},ObjectKeyEncode:{},UseOBSMessageLayout:{},Event:{type:"array",items:{type:"adapter"}}}}},rt={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},ot={BlockPublicAcls:{location:"xml",sentAs:"BlockPublicAcls"},IgnorePublicAcls:{location:"xml",sentAs:"IgnorePublicAcls"},BlockPublicPolicy:{location:"xml",sentAs:"BlockPublicPolicy"},RestrictPublicBuckets:{location:"xml",sentAs:"RestrictPublicBuckets"}},it={ReservedDays:{location:"xml",sentAs:"ReservedDays"}},qa={httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"storage-class",withPrefix:!0},ObjectLockEnabeld:{location:"header",sentAs:"bucket-object-lock-enabled",withPrefix:!0},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},IsFusionAllowUpgrade:{location:"header",sentAs:"fusion-allow-upgrade",withPrefix:!0},IsFusionAllowAlternative:{location:"header",sentAs:"fusion-allow-alternative",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantFullControlDelivered:{location:"header",sentAs:"grant-full-control-delivered",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadDelivered:{location:"header",sentAs:"grant-read-delivered",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},EdgeLocation:{location:"header",sentAs:"edge-location",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},...$r}},_a={httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},ja={parameters:{StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},ObsVersion:{location:"header",sentAs:"version",withPrefix:!0},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},RedundancyClustergroupId:{location:"header",sentAs:"redundancy-clustergroup-id",withPrefix:!0},EdgeLocation:{location:"header",sentAs:"edge-location",withPrefix:!0}}},Ga={httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},Ua={httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0},BucketRegion:{location:"urlPath",sentAs:"bucket-region"}}},Ha={data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"},IESLocation:{sentAs:"IESLocation"},BucketType:{sentAs:"BucketType"},EdgeLocation:{sentAs:"EdgeLocation"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},Na={httpMethod:"PUT",urlPath:"publicAccessBlock",data:{xmlRoot:"PublicAccessBlockConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},...ot}},Ka={httpMethod:"GET",urlPath:"publicAccessBlock",parameters:{Bucket:{required:!0,location:"uri"}}},za={data:{type:"xml",xmlRoot:"PublicAccessBlockConfiguration"},parameters:{...ot}},Wa={httpMethod:"DELETE",urlPath:"publicAccessBlock",parameters:{Bucket:{required:!0,location:"uri"}}},Va={httpMethod:"GET",urlPath:"policyStatus",parameters:{Bucket:{required:!0,location:"uri"}}},$a={data:{type:"xml",xmlRoot:"PolicyStatus"},parameters:{IsPublic:{location:"xml",sentAs:"IsPublic"}}},Xa={httpMethod:"GET",urlPath:"bucketStatus",parameters:{Bucket:{required:!0,location:"uri"}}},Qa={data:{type:"xml",xmlRoot:"BucketStatus"},parameters:{IsPublic:{location:"xml",sentAs:"IsPublic"}}},Ya={httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{ApiPath:{location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"storage-class",withPrefix:!0},ObjectLockEnabeld:{location:"header",sentAs:"bucket-object-lock-enabled",withPrefix:!0},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},IsFusionAllowUpgrade:{location:"header",sentAs:"fusion-allow-upgrade",withPrefix:!0},IsFusionAllowAlternative:{location:"header",sentAs:"fusion-allow-alternative",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"Location"}}},Za={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}},Ja={httpMethod:"PUT",urlPath:"x-obs-trash",data:{xmlRoot:"BucketTrashConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},...it}},en={httpMethod:"GET",urlPath:"x-obs-trash",parameters:{Bucket:{required:!0,location:"uri"}}},tn={data:{type:"xml",xmlRoot:"BucketTrashConfiguration"},parameters:{...it}},rn={httpMethod:"DELETE",urlPath:"x-obs-trash",parameters:{Bucket:{required:!0,location:"uri"}}},Bt={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"}}},ao={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},on={httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},an={data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:Bt}}},CommonPrefixes:ao}},nn={httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},sn={data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:Bt,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:Bt}}},CommonPrefixes:ao}},cn={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},ln={httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},un={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},dn={data:{type:"body"},parameters:{workflows:{location:"body"}}},pn={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},hn={data:{type:"body"},parameters:{templates:{location:"body"}}},xn={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},fn={data:{type:"body"},parameters:{instances:{location:"body"}}},we={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"}}},no={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"}}},so={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},An={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},at={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},URI:{sentAs:"Canned",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"},Delivered:{sentAs:"Delivered"}}}},co={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},URI:{sentAs:"Canned",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},lo={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},uo={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},po={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"},Type:{sentAs:"Type"}}},ho={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"},HttpStatus:{sentAs:"HttpStatus"}}},xo={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},nt={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},fo={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},st={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"},KMSDataEncryption:{sentAs:"KMSDataEncryption"}}},BucketKeyEnabled:{sentAs:"BucketKeyEnabled"},BucketKeyRotationPeriod:{sentAs:"BucketKeyRotationPeriod"}}},wt={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Et={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateSfsBucket:Ya,DeleteSfsBucket:Za,CreateBucket:qa,GetBucketMetadata:_a,GetBucketMetadataOutput:ja,DeleteBucket:Ga,ListBuckets:Ua,ListBucketsOutput:Ha,PutBucketPublicAccessBlock:Na,GetBucketPublicAccessBlock:Ka,GetBucketPublicAccessBlockOutput:za,DeleteBucketPublicAccessBlock:Wa,GetBucketPolicyPublicStatus:Va,GetBucketPolicyPublicStatusOutput:$a,GetBucketPublicStatus:Xa,GetBucketPublicStatusOutput:Qa,SetBucketTrash:Ja,GetBucketTrash:en,GetBucketTrashOutput:tn,DeleteBucketTrash:rn,ListSfsBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},ApiPath:{location:"uri"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListSfsBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"},IESLocation:{sentAs:"IESLocation"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:on,ListObjectsOutput:an,ListVersions:nn,ListVersionsOutput:sn,PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:so,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:so}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml"},parameters:{Location:{location:"xml",sentAs:"Location"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"},StandardSize:{location:"xml",sentAs:"StandardSize"},StandardObjectNumber:{location:"xml",sentAs:"StandardObjectNumber"},WarmSize:{location:"xml",sentAs:"WarmSize"},WarmObjectNumber:{location:"xml",sentAs:"WarmObjectNumber"},ColdSize:{location:"xml",sentAs:"ColdSize"},ColdObjectNumber:{location:"xml",sentAs:"ColdObjectNumber"},DeepArchiveSize:{location:"xml",sentAs:"DeepArchiveSize"},DeepArchiveObjectNumber:{location:"xml",sentAs:"DeepArchiveObjectNumber"},HighPerformanceSize:{location:"xml",sentAs:"HighPerformanceSize"},HighPerformanceObjectNumber:{location:"xml",sentAs:"HighPerformanceObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"},NumberQuota:{required:!1,location:"xml",sentAs:"NumberQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"},NumberQuota:{location:"xml",sentAs:"NumberQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:we,Grants:at}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:wt}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:wt}},DeleteBucketInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:wt}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:we,Grants:at}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:co}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:co}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:Ye}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:Ye}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},SignatureVerification:{location:"xml",sentAs:"SignatureVerification"},RedirectAllRequestsTo:lo,IndexDocument:po,ErrorDocument:ho,RoutingRules:uo}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{SignatureVerification:{location:"xml",sentAs:"SignatureVerification"},RedirectAllRequestsTo:lo,IndexDocument:po,ErrorDocument:ho,RoutingRules:uo}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:xo}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:xo}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:et,FunctionGraphConfigurations:Je,FunctionStageConfigurations:rt,EventGridConfigurations:tt}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{RequestId:{location:"header",sentAs:"x-obs-request-id"},TopicConfigurations:et,FunctionGraphConfigurations:Je,FunctionStageConfigurations:rt,EventGridConfigurations:tt}},GetBucketObjectLockConfiguration:{httpMethod:"GET",urlPath:"object-lock",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketObjectLockConfigurationOutput:{data:{type:"xml",xmlRoot:"ObjectLockConfiguration"},parameters:{ObjectLockEnabled:{location:"xml",sentAs:"ObjectLockEnabled"},Rule:Ze}},SetBucketObjectLockConfig:{httpMethod:"PUT",urlPath:"object-lock",data:{type:"xml",xmlAllowEmpty:!0,xmlRoot:"ObjectLockConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ObjectLockEnabled:{location:"xml",sentAs:"ObjectLockEnabled"},Rule:Ze}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:nt}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:nt}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"StorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"StorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:fo}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:fo}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{ObjectLockMode:{location:"header",sentAs:"object-lock-mode",withPrefix:!0},ObjectLockRetainUntailDate:{location:"header",sentAs:"object-lock-retain-until-date",withPrefix:!0},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentSHA256:{location:"header",sentAs:"content-sha256",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},...X,Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}},ForbidOverwrite:{location:"header",sentAs:"forbid-overwrite",withPrefix:!0}}},PutObjectOutput:{data:{type:"body"},parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},...X},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},...X,Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"next-append-position",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},...X}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},...X,Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},TagDirective:{location:"header",sentAs:"tagging-directive",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},...X,CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},...X}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"RestoreJob",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{ObjectLockMode:{location:"header",sentAs:"object-lock-mode",withPrefix:!0},ObjectLockRetainUntilDate:{location:"header",sentAs:"object-lock-retain-until-date",withPrefix:!0},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},TaggingCount:{location:"header",sentAs:"tagging-count",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},...X,Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Delivered:{location:"xml",sentAs:"Delivered"},Owner:we,Grants:at}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},SetObjectObjectLock:{httpMethod:"PUT",urlPath:"retention",data:{xmlRoot:"Retention"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Mode:{sentAs:"Mode",location:"xml"},RetainUntilDate:{sentAs:"RetainUntilDate",location:"xml"}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Delivered:{location:"xml",sentAs:"Delivered"},Owner:we,Grants:at}},GetObjectTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:nt}},SetObjectTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Tags:nt}},DeleteObjectTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},EncodingType:{location:"xml",sentAs:"EncodingType"},parameters:{Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},ObjectLockMode:{location:"header",sentAs:"object-lock-mode",withPrefix:!0},ObjectLockRetainUntailDate:{location:"header",sentAs:"object-lock-retain-until-date",withPrefix:!0},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},...X}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},ObjectEncryptionRule:X}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:we,Initiator:no}}},CommonPrefixes:An}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentSHA256:{location:"header",sentAs:"content-sha256",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},...X}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:no,Owner:we,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},...X}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},...X,Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}},ForbidOverwrite:{location:"header",sentAs:"forbid-overwrite",withPrefix:!0}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:st}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:st}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:st}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:st}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"},CertificateId:{sentAs:"CertificateId"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",data:{xmlRoot:"CustomDomainConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"},...io}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"},NotForwardTag:{type:"string",sentAs:"x-obs-not-forward-tag",location:"header"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:Qe}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},NotForwardTag:{type:"string",sentAs:"x-obs-not-forward-tag",location:"header"},Domain:Qe}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},CreateAuditPolicy:Xr,CreateAuditPolicyOutput:Qr,GetAuditPolicy:Yr,GetAuditPolicyOutput:Zr,PutAuditPolicy:Jr,PutAuditPolicyOutPut:eo,DeleteAuditPolicy:to,GetAuditResult:ro,GetAuditResultOutput:oo,DeleteWorkflow:cn,UpdateWorkflow:ln,GetWorkflowList:un,GetWorkflowListOutput:dn,GetWorkflowTemplateList:pn,GetWorkflowTemplateListOutput:hn,GetWorkflowInstanceList:xn,GetWorkflowInstanceListOutput:fn,DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{actions:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}},getSFSPermissionAcl:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},getSFSPermissionAclOutput:{data:{type:"body"},parameters:{PermissionGroup:{location:"body"}}},updateSFSPermissionAcl:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},deleteSFSPermissionAcl:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}},getSFSPermissionGroupList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Limit:{location:"urlPath",sentAs:"limit"},Offset:{location:"urlPath",sentAs:"offset"}}},getSFSPermissionGroupListOutput:{data:{type:"body"},parameters:{PermissionGroups:{location:"body"}}},setSFSPermissionGroup:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},updateSFSPermissionGroup:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},getSFSPermissionGroup:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},getSFSPermissionGroupOutput:{data:{type:"body"},parameters:{PermissionGroup:{location:"body"}}},deleteSFSPermissionGroup:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}}},mn={httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"x-default-storage-class"},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},ObjectLockEnabeld:{location:"header",sentAs:"bucket-object-lock-enabled",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},IsFusionAllowUpgrade:{location:"header",sentAs:"fusion-allow-upgrade",withPrefix:!0},IsFusionAllowAlternative:{location:"header",sentAs:"fusion-allow-alternative",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantFullControlDelivered:{location:"header",sentAs:"grant-full-control-delivered",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadDelivered:{location:"header",sentAs:"grant-read-delivered",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},EdgeLocation:{location:"header",sentAs:"edge-location",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"LocationConstraint"},...$r}},yn={httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},gn={parameters:{StorageClass:{location:"header",sentAs:"x-default-storage-class"},ObsVersion:{location:"header",sentAs:"x-obs-version"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},RedundancyClustergroupId:{location:"header",sentAs:"redundancy-clustergroup-id",withPrefix:!0},EdgeLocation:{location:"header",sentAs:"edge-location",withPrefix:!0}}},Cn={httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},bn={httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0},BucketRegion:{location:"urlPath",sentAs:"bucket-region"}}},Pn={data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"},IESLocation:{sentAs:"IESLocation"},BucketType:{sentAs:"BucketType"},EdgeLocation:{sentAs:"EdgeLocation"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},kn={httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},Bn={data:{type:"xml",xmlRoot:"CreateBucketConfiguration"},parameters:{Location:{location:"xml",sentAs:"LocationConstraint"}}},wn={httpMethod:"PUT",urlPath:"publicAccessBlock",data:{xmlRoot:"PublicAccessBlockConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},...ot}},En={httpMethod:"GET",urlPath:"publicAccessBlock",parameters:{Bucket:{required:!0,location:"uri"}}},vn={data:{type:"xml",xmlRoot:"PublicAccessBlockConfiguration"},parameters:{...ot}},Sn={httpMethod:"DELETE",urlPath:"publicAccessBlock",parameters:{Bucket:{required:!0,location:"uri"}}},Dn={httpMethod:"GET",urlPath:"policyStatus",parameters:{Bucket:{required:!0,location:"uri"}}},Tn={data:{type:"xml",xmlRoot:"PolicyStatus"},parameters:{IsPublic:{location:"xml",sentAs:"IsPublic"}}},Fn={httpMethod:"GET",urlPath:"bucketStatus",parameters:{Bucket:{required:!0,location:"uri"}}},Rn={data:{type:"xml",xmlRoot:"BucketStatus"},parameters:{IsPublic:{location:"xml",sentAs:"IsPublic"}}},On={httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{ApiPath:{location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"x-default-storage-class"},IESLocation:{location:"header",sentAs:"ies-location",withPrefix:!0},ObjectLockEnabeld:{location:"header",sentAs:"bucket-object-lock-enabled",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Redundancy:{location:"header",sentAs:"bucket-redundancy",withPrefix:!0},IsFusionAllowUpgrade:{location:"header",sentAs:"fusion-allow-upgrade",withPrefix:!0},IsFusionAllowAlternative:{location:"header",sentAs:"fusion-allow-alternative",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"LocationConstraint"}}},Mn={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}},In={httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},ApiPath:{location:"uri"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},Ln={data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"},IESLocation:{sentAs:"IESLocation"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},qn={httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},_n={httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},jn={data:{type:"body"},parameters:{Policy:{location:"body"}}},Gn={httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},Un={httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},Hn={data:{type:"body"},parameters:{PermissionGroup:{location:"body"}}},Nn={httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},Kn={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}},zn={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Limit:{location:"urlPath",sentAs:"limit"},Offset:{location:"urlPath",sentAs:"offset"}}},Wn={data:{type:"body"},parameters:{PermissionGroups:{location:"body"}}},Vn={httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},$n={httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Params:{location:"body"}}},Xn={httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},Qn={data:{type:"body"},parameters:{PermissionGroup:{location:"body"}}},Yn={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"}}},Zn={httpMethod:"PUT",urlPath:"x-obs-trash",data:{xmlRoot:"BucketTrashConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},...it}},Jn={httpMethod:"GET",urlPath:"x-obs-trash",parameters:{Bucket:{required:!0,location:"uri"}}},es={data:{type:"xml",xmlRoot:"BucketTrashConfiguration"},parameters:{...it}},ts={httpMethod:"DELETE",urlPath:"x-obs-trash",parameters:{Bucket:{required:!0,location:"uri"}}},rs={httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},os={httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},is={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},as={data:{type:"body"},parameters:{workflows:{location:"body"}}},ns={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},ss={data:{type:"body"},parameters:{templates:{location:"body"}}},cs={httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},ls={data:{type:"body"},parameters:{instances:{location:"body"}}},vt={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ao={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},us={httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ds={data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:vt}}},CommonPrefixes:Ao}},ps={httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},hs={data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:vt,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:vt}}},CommonPrefixes:Ao}},Ee={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},ct={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"},KMSDataEncryption:{sentAs:"KMSDataEncryption"}}},BucketKeyEnabled:{sentAs:"BucketKeyEnabled"},BucketKeyRotationPeriod:{sentAs:"BucketKeyRotationPeriod"}}},St={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},mo={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},yo={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},xs={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},lt={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"}}}},go={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},Co={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},bo={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},Po={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"},Type:{sentAs:"Type"}}},ko={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"},HttpStatus:{sentAs:"HttpStatus"}}},Bo={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},ut={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},wo={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},Dt={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:mn,CreateSfsBucket:On,DeleteSfsBucket:Mn,ListSfsBuckets:In,ListSfsBucketsOutput:Ln,SetSFSAcl:qn,GetSFSAcl:_n,GetSFSAclOutput:jn,DeleteSFSAcl:Gn,getSFSPermissionAcl:Un,getSFSPermissionAclOutput:Hn,updateSFSPermissionAcl:Nn,deleteSFSPermissionAcl:Kn,getSFSPermissionGroupList:zn,getSFSPermissionGroupListOutput:Wn,setSFSPermissionGroup:Vn,updateSFSPermissionGroup:$n,getSFSPermissionGroup:Xn,getSFSPermissionGroupOutput:Qn,deleteSFSPermissionGroup:Yn,PutBucketPublicAccessBlock:wn,GetBucketPublicAccessBlock:En,GetBucketPublicAccessBlockOutput:vn,DeleteBucketPublicAccessBlock:Sn,GetBucketPolicyPublicStatus:Dn,GetBucketPolicyPublicStatusOutput:Tn,GetBucketPublicStatus:Fn,GetBucketPublicStatusOutput:Rn,SetBucketTrash:Zn,GetBucketTrash:Jn,GetBucketTrashOutput:es,DeleteBucketTrash:ts,GetBucketMetadata:yn,GetBucketMetadataOutput:gn,DeleteBucket:Cn,ListBuckets:bn,ListBucketsOutput:Pn,GetBucketLocation:kn,GetBucketLocationOutput:Bn,ListObjects:us,ListObjectsOutput:ds,ListVersions:ps,ListVersionsOutput:hs,PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:yo,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:yo}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"},StandardSize:{location:"xml",sentAs:"StandardSize"},StandardObjectNumber:{location:"xml",sentAs:"StandardObjectNumber"},Standard_IASize:{location:"xml",sentAs:"Standard_IASize"},Standard_IAObjectNumber:{location:"xml",sentAs:"Standard_IAObjectNumber"},GlacierSize:{location:"xml",sentAs:"GlacierSize"},GlacierObjectNumber:{location:"xml",sentAs:"GlacierObjectNumber"},DeepArchiveSize:{location:"xml",sentAs:"DeepArchiveSize"},DeepArchiveObjectNumber:{location:"xml",sentAs:"DeepArchiveObjectNumber"},HighPerformanceSize:{location:"xml",sentAs:"HighPerformanceSize"},HighPerformanceObjectNumber:{location:"xml",sentAs:"HighPerformanceObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"},NumberQuota:{required:!1,location:"xml",sentAs:"NumberQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"},NumberQuota:{location:"xml",sentAs:"NumberQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:Ee,Grants:lt}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:Ee,Grants:lt}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},LoggingEnabled:go}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{LoggingEnabled:go}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:Ye}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:Ye}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},SignatureVerification:{location:"xml",sentAs:"SignatureVerification"},RedirectAllRequestsTo:Co,IndexDocument:Po,ErrorDocument:ko,RoutingRules:bo}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{SignatureVerification:{location:"xml",sentAs:"SignatureVerification"},RedirectAllRequestsTo:Co,IndexDocument:Po,ErrorDocument:ko,RoutingRules:bo}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:Bo}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:Bo}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:et,FunctionGraphConfigurations:Je,FunctionStageConfigurations:rt,EventGridConfigurations:tt}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{TopicConfigurations:et,FunctionGraphConfigurations:Je,FunctionStageConfigurations:rt,EventGridConfigurations:tt}},GetBucketObjectLockConfiguration:{httpMethod:"GET",urlPath:"object-lock",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketObjectLockConfigurationOutput:{data:{type:"xml",xmlRoot:"ObjectLockConfiguration"},parameters:{ObjectLockEnabled:{location:"xml",sentAs:"ObjectLockEnabled"},Rule:Ze}},SetBucketObjectLockConfig:{httpMethod:"PUT",urlPath:"object-lock",data:{type:"xml",xmlAllowEmpty:!0,xmlRoot:"ObjectLockConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ObjectLockEnabled:{location:"xml",sentAs:"ObjectLockEnabled"},Rule:Ze}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:ut}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:ut}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storagePolicy",data:{xmlRoot:"StoragePolicy"},parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"DefaultStorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storagePolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml",xmlRoot:"StoragePolicy"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"DefaultStorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:wo}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:wo}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentSHA256:{location:"header",sentAs:"content-sha256",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},...X,Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}},ForbidOverwrite:{location:"header",sentAs:"forbid-overwrite",withPrefix:!0}}},PutObjectOutput:{data:{type:"body"},parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},...X},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Offset:{type:"plain"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},...X,Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},...X}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},...X,Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},TagDirective:{location:"header",sentAs:"tagging-directive",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},...X,CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},...X}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"GlacierJobParameters",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{ObjectLockMode:{location:"header",sentAs:"object-lock-mode",withPrefix:!0},ObjectLockRetainUntilDate:{location:"header",sentAs:"object-lock-retain-until-date",withPrefix:!0},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},...X,Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},TaggingCount:{location:"header",sentAs:"tagging-count",withPrefix:!0},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:Ee,Grants:lt}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},SetObjectObjectLock:{httpMethod:"PUT",urlPath:"retention",data:{xmlRoot:"Retention"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Mode:{sentAs:"Mode",location:"xml"},RetainUntilDate:{sentAs:"RetainUntilDate",location:"xml"}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Owner:Ee,Grants:lt}},GetObjectTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:ut}},SetObjectTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Tags:ut}},DeleteObjectTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},ObjectLockMode:{location:"header",sentAs:"object-lock-mode",withPrefix:!0},ObjectLockRetainUntailDate:{location:"header",sentAs:"object-lock-retain-until-date",withPrefix:!0},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Tags:{location:"header",sentAs:"tagging",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},ContentType:{location:"header",sentAs:"Content-Type"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},...X}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},...X}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:Ee,Initiator:mo}}},CommonPrefixes:xs}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentSHA256:{location:"header",sentAs:"content-sha256",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},...X}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:mo,Owner:Ee,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},...X}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}},ForbidOverwrite:{location:"header",sentAs:"forbid-overwrite",withPrefix:!0}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},...X},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:St}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:St}},DeleteInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:St}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:ct}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:ct}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:ct}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:ct}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},deleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"},CertificateId:{sentAs:"CertificateId"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",data:{xmlRoot:"CustomDomainConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"},...io}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"},NotForwardTag:{type:"string",sentAs:"x-obs-not-forward-tag",location:"header"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:Qe}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},NotForwardTag:{type:"string",sentAs:"x-obs-not-forward-tag",location:"header"},Domain:Qe}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},CreateAuditPolicy:Xr,CreateAuditPolicyOutput:Qr,GetAuditPolicy:Yr,GetAuditPolicyOutput:Zr,PutAuditPolicy:Jr,PutAuditPolicyOutPut:eo,DeleteAuditPolicy:to,GetAuditResult:ro,GetAuditResultOutput:oo,DeleteWorkflow:rs,UpdateWorkflow:os,GetWorkflowList:is,GetWorkflowListOutput:as,GetWorkflowTemplateList:ns,GetWorkflowTemplateListOutput:ss,GetWorkflowInstanceList:cs,GetWorkflowInstanceListOutput:ls,DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}};var K=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function As(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),o}var N={},ms=N.AclPrivate="private",ys=N.AclPublicRead="public-read",gs=N.AclPublicReadWrite="public-read-write",Cs=N.AclPublicReadDelivered="public-read-delivered",bs=N.AclPublicReadWriteDelivered="public-read-write-delivered",Ps=N.AclAuthenticatedRead="authenticated-read",ks=N.AclBucketOwnerRead="bucket-owner-read",Bs=N.AclBucketOwnerFullControl="bucket-owner-full-control",ws=N.AclLogDeliveryWrite="log-delivery-write",Es=N.StorageClassStandard="STANDARD",vs=N.StorageClassWarm="WARM",Ss=N.StorageClassCold="COLD",Ds=N.StorageClassDeepArchive="DEEP_ARCHIVE",Ts=N.StorageClassIntelligentTiering="INTELLIGENT_TIERING",Fs=N.PermissionRead="READ",Rs=N.PermissionWrite="WRITE",Os=N.PermissionReadAcp="READ_ACP",Ms=N.PermissionWriteAcp="WRITE_ACP",Is=N.PermissionFullControl="FULL_CONTROL",Ls=N.GroupAllUsers="AllUsers",qs=N.GroupAuthenticatedUsers="AuthenticatedUsers",_s=N.GroupLogDelivery="LogDelivery",js=N.RestoreTierExpedited="Expedited",Gs=N.RestoreTierStandard="Standard",Us=N.RestoreTierBulk="Bulk",Hs=N.GranteeGroup="Group",Ns=N.GranteeUser="CanonicalUser",Ks=N.CopyMetadata="COPY",zs=N.ReplaceMetadata="REPLACE",Ws=N.EventObjectCreatedAll="ObjectCreated:*",Vs=N.EventObjectCreatedPut="ObjectCreated:Put",$s=N.EventObjectCreatedPost="ObjectCreated:Post",Xs=N.EventObjectCreatedCopy="ObjectCreated:Copy",Qs=N.EventObjectCreatedCompleteMultipartUpload="ObjectCreated:CompleteMultipartUpload",Ys=N.EventObjectRemovedAll="ObjectRemoved:*",Zs=N.EventObjectRemovedDelete="ObjectRemoved:Delete",Js=N.EventObjectRemovedDeleteMarkerCreated="ObjectRemoved:DeleteMarkerCreated",Tt=N.ContentMD5="Content-MD5",dt=N.ContentSHA256="Content-SHA256";const e0=ha({__proto__:null,AclAuthenticatedRead:Ps,AclBucketOwnerFullControl:Bs,AclBucketOwnerRead:ks,AclLogDeliveryWrite:ws,AclPrivate:ms,AclPublicRead:ys,AclPublicReadDelivered:Cs,AclPublicReadWrite:gs,AclPublicReadWriteDelivered:bs,ContentMD5:Tt,ContentSHA256:dt,CopyMetadata:Ks,EventObjectCreatedAll:Ws,EventObjectCreatedCompleteMultipartUpload:Qs,EventObjectCreatedCopy:Xs,EventObjectCreatedPost:$s,EventObjectCreatedPut:Vs,EventObjectRemovedAll:Ys,EventObjectRemovedDelete:Zs,EventObjectRemovedDeleteMarkerCreated:Js,GranteeGroup:Hs,GranteeUser:Ns,GroupAllUsers:Ls,GroupAuthenticatedUsers:qs,GroupLogDelivery:_s,PermissionFullControl:Is,PermissionRead:Fs,PermissionReadAcp:Os,PermissionWrite:Rs,PermissionWriteAcp:Ms,ReplaceMetadata:zs,RestoreTierBulk:Us,RestoreTierExpedited:js,RestoreTierStandard:Gs,StorageClassCold:Ss,StorageClassDeepArchive:Ds,StorageClassIntelligentTiering:Ts,StorageClassStandard:Es,StorageClassWarm:vs,default:N},[N]);var Eo={exports:{}};function t0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ft={exports:{}};const r0=As(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var vo;function V(){return vo||(vo=1,function(e,t){(function(o,r){e.exports=r()})(K,function(){var o=o||function(r,i){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof K<"u"&&K.crypto&&(n=K.crypto),!n&&typeof t0=="function")try{n=r0}catch{}var x=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||function(){function A(){}return function(y){var g;return A.prototype=y,g=new A,A.prototype=null,g}}(),l={},a=l.lib={},d=a.Base=function(){return{extend:function(A){var y=c(this);return A&&y.mixIn(A),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var y in A)A.hasOwnProperty(y)&&(this[y]=A[y]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),p=a.WordArray=d.extend({init:function(A,y){A=this.words=A||[],y!=i?this.sigBytes=y:this.sigBytes=A.length*4},toString:function(A){return(A||u).stringify(this)},concat:function(A){var y=this.words,g=A.words,b=this.sigBytes,P=A.sigBytes;if(this.clamp(),b%4)for(var w=0;w<P;w++){var E=g[w>>>2]>>>24-w%4*8&255;y[b+w>>>2]|=E<<24-(b+w)%4*8}else for(var M=0;M<P;M+=4)y[b+M>>>2]=g[M>>>2];return this.sigBytes+=P,this},clamp:function(){var A=this.words,y=this.sigBytes;A[y>>>2]&=4294967295<<32-y%4*8,A.length=r.ceil(y/4)},clone:function(){var A=d.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var y=[],g=0;g<A;g+=4)y.push(x());return new p.init(y,A)}}),s=l.enc={},u=s.Hex={stringify:function(A){for(var y=A.words,g=A.sigBytes,b=[],P=0;P<g;P++){var w=y[P>>>2]>>>24-P%4*8&255;b.push((w>>>4).toString(16)),b.push((w&15).toString(16))}return b.join("")},parse:function(A){for(var y=A.length,g=[],b=0;b<y;b+=2)g[b>>>3]|=parseInt(A.substr(b,2),16)<<24-b%8*4;return new p.init(g,y/2)}},h=s.Latin1={stringify:function(A){for(var y=A.words,g=A.sigBytes,b=[],P=0;P<g;P++){var w=y[P>>>2]>>>24-P%4*8&255;b.push(String.fromCharCode(w))}return b.join("")},parse:function(A){for(var y=A.length,g=[],b=0;b<y;b++)g[b>>>2]|=(A.charCodeAt(b)&255)<<24-b%4*8;return new p.init(g,y)}},m=s.Utf8={stringify:function(A){try{return decodeURIComponent(escape(h.stringify(A)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(A){return h.parse(unescape(encodeURIComponent(A)))}},f=a.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new p.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=m.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var y,g=this._data,b=g.words,P=g.sigBytes,w=this.blockSize,E=w*4,M=P/E;A?M=r.ceil(M):M=r.max((M|0)-this._minBufferSize,0);var B=M*w,k=r.min(B*4,P);if(B){for(var S=0;S<B;S+=w)this._doProcessBlock(b,S);y=b.splice(0,B),g.sigBytes-=k}return new p.init(y,k)},clone:function(){var A=d.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0});a.Hasher=f.extend({cfg:d.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(A){return function(y,g){return new A.init(g).finalize(y)}},_createHmacHelper:function(A){return function(y,g){return new C.HMAC.init(A,g).finalize(y)}}});var C=l.algo={};return l}(Math);return o})}(Ft)),Ft.exports}var Rt={exports:{}},So;function pt(){return So||(So=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(r){var i=o,n=i.lib,x=n.Base,c=n.WordArray,l=i.x64={};l.Word=x.extend({init:function(a,d){this.high=a,this.low=d}}),l.WordArray=x.extend({init:function(a,d){a=this.words=a||[],d!=r?this.sigBytes=d:this.sigBytes=a.length*8},toX32:function(){for(var a=this.words,d=a.length,p=[],s=0;s<d;s++){var u=a[s];p.push(u.high),p.push(u.low)}return c.create(p,this.sigBytes)},clone:function(){for(var a=x.clone.call(this),d=a.words=this.words.slice(0),p=d.length,s=0;s<p;s++)d[s]=d[s].clone();return a}})}(),o})}(Rt)),Rt.exports}var Ot={exports:{}},Do;function o0(){return Do||(Do=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(){if(typeof ArrayBuffer=="function"){var r=o,i=r.lib,n=i.WordArray,x=n.init,c=n.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var a=l.byteLength,d=[],p=0;p<a;p++)d[p>>>2]|=l[p]<<24-p%4*8;x.call(this,d,a)}else x.apply(this,arguments)};c.prototype=n}}(),o.lib.WordArray})}(Ot)),Ot.exports}var Mt={exports:{}},To;function i0(){return To||(To=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=r.enc;x.Utf16=x.Utf16BE={stringify:function(l){for(var a=l.words,d=l.sigBytes,p=[],s=0;s<d;s+=2){var u=a[s>>>2]>>>16-s%4*8&65535;p.push(String.fromCharCode(u))}return p.join("")},parse:function(l){for(var a=l.length,d=[],p=0;p<a;p++)d[p>>>1]|=l.charCodeAt(p)<<16-p%2*16;return n.create(d,a*2)}},x.Utf16LE={stringify:function(l){for(var a=l.words,d=l.sigBytes,p=[],s=0;s<d;s+=2){var u=c(a[s>>>2]>>>16-s%4*8&65535);p.push(String.fromCharCode(u))}return p.join("")},parse:function(l){for(var a=l.length,d=[],p=0;p<a;p++)d[p>>>1]|=c(l.charCodeAt(p)<<16-p%2*16);return n.create(d,a*2)}};function c(l){return l<<8&4278255360|l>>>8&16711935}}(),o.enc.Utf16})}(Mt)),Mt.exports}var It={exports:{}},Fo;function ge(){return Fo||(Fo=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=r.enc;x.Base64={stringify:function(l){var a=l.words,d=l.sigBytes,p=this._map;l.clamp();for(var s=[],u=0;u<d;u+=3)for(var h=a[u>>>2]>>>24-u%4*8&255,m=a[u+1>>>2]>>>24-(u+1)%4*8&255,f=a[u+2>>>2]>>>24-(u+2)%4*8&255,C=h<<16|m<<8|f,A=0;A<4&&u+A*.75<d;A++)s.push(p.charAt(C>>>6*(3-A)&63));var y=p.charAt(64);if(y)for(;s.length%4;)s.push(y);return s.join("")},parse:function(l){var a=l.length,d=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var s=0;s<d.length;s++)p[d.charCodeAt(s)]=s}var u=d.charAt(64);if(u){var h=l.indexOf(u);h!==-1&&(a=h)}return c(l,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(l,a,d){for(var p=[],s=0,u=0;u<a;u++)if(u%4){var h=d[l.charCodeAt(u-1)]<<u%4*2,m=d[l.charCodeAt(u)]>>>6-u%4*2,f=h|m;p[s>>>2]|=f<<24-s%4*8,s++}return n.create(p,s)}}(),o.enc.Base64})}(It)),It.exports}var Lt={exports:{}},Ro;function a0(){return Ro||(Ro=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=r.enc;x.Base64url={stringify:function(l,a){a===void 0&&(a=!0);var d=l.words,p=l.sigBytes,s=a?this._safe_map:this._map;l.clamp();for(var u=[],h=0;h<p;h+=3)for(var m=d[h>>>2]>>>24-h%4*8&255,f=d[h+1>>>2]>>>24-(h+1)%4*8&255,C=d[h+2>>>2]>>>24-(h+2)%4*8&255,A=m<<16|f<<8|C,y=0;y<4&&h+y*.75<p;y++)u.push(s.charAt(A>>>6*(3-y)&63));var g=s.charAt(64);if(g)for(;u.length%4;)u.push(g);return u.join("")},parse:function(l,a){a===void 0&&(a=!0);var d=l.length,p=a?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var u=0;u<p.length;u++)s[p.charCodeAt(u)]=u}var h=p.charAt(64);if(h){var m=l.indexOf(h);m!==-1&&(d=m)}return c(l,d,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(l,a,d){for(var p=[],s=0,u=0;u<a;u++)if(u%4){var h=d[l.charCodeAt(u-1)]<<u%4*2,m=d[l.charCodeAt(u)]>>>6-u%4*2,f=h|m;p[s>>>2]|=f<<24-s%4*8,s++}return n.create(p,s)}}(),o.enc.Base64url})}(Lt)),Lt.exports}var qt={exports:{}},Oo;function Ce(){return Oo||(Oo=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(r){var i=o,n=i.lib,x=n.WordArray,c=n.Hasher,l=i.algo,a=[];(function(){for(var m=0;m<64;m++)a[m]=r.abs(r.sin(m+1))*4294967296|0})();var d=l.MD5=c.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,f){for(var C=0;C<16;C++){var A=f+C,y=m[A];m[A]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var g=this._hash.words,b=m[f+0],P=m[f+1],w=m[f+2],E=m[f+3],M=m[f+4],B=m[f+5],k=m[f+6],S=m[f+7],D=m[f+8],L=m[f+9],_=m[f+10],U=m[f+11],G=m[f+12],j=m[f+13],$=m[f+14],W=m[f+15],T=g[0],R=g[1],O=g[2],F=g[3];T=p(T,R,O,F,b,7,a[0]),F=p(F,T,R,O,P,12,a[1]),O=p(O,F,T,R,w,17,a[2]),R=p(R,O,F,T,E,22,a[3]),T=p(T,R,O,F,M,7,a[4]),F=p(F,T,R,O,B,12,a[5]),O=p(O,F,T,R,k,17,a[6]),R=p(R,O,F,T,S,22,a[7]),T=p(T,R,O,F,D,7,a[8]),F=p(F,T,R,O,L,12,a[9]),O=p(O,F,T,R,_,17,a[10]),R=p(R,O,F,T,U,22,a[11]),T=p(T,R,O,F,G,7,a[12]),F=p(F,T,R,O,j,12,a[13]),O=p(O,F,T,R,$,17,a[14]),R=p(R,O,F,T,W,22,a[15]),T=s(T,R,O,F,P,5,a[16]),F=s(F,T,R,O,k,9,a[17]),O=s(O,F,T,R,U,14,a[18]),R=s(R,O,F,T,b,20,a[19]),T=s(T,R,O,F,B,5,a[20]),F=s(F,T,R,O,_,9,a[21]),O=s(O,F,T,R,W,14,a[22]),R=s(R,O,F,T,M,20,a[23]),T=s(T,R,O,F,L,5,a[24]),F=s(F,T,R,O,$,9,a[25]),O=s(O,F,T,R,E,14,a[26]),R=s(R,O,F,T,D,20,a[27]),T=s(T,R,O,F,j,5,a[28]),F=s(F,T,R,O,w,9,a[29]),O=s(O,F,T,R,S,14,a[30]),R=s(R,O,F,T,G,20,a[31]),T=u(T,R,O,F,B,4,a[32]),F=u(F,T,R,O,D,11,a[33]),O=u(O,F,T,R,U,16,a[34]),R=u(R,O,F,T,$,23,a[35]),T=u(T,R,O,F,P,4,a[36]),F=u(F,T,R,O,M,11,a[37]),O=u(O,F,T,R,S,16,a[38]),R=u(R,O,F,T,_,23,a[39]),T=u(T,R,O,F,j,4,a[40]),F=u(F,T,R,O,b,11,a[41]),O=u(O,F,T,R,E,16,a[42]),R=u(R,O,F,T,k,23,a[43]),T=u(T,R,O,F,L,4,a[44]),F=u(F,T,R,O,G,11,a[45]),O=u(O,F,T,R,W,16,a[46]),R=u(R,O,F,T,w,23,a[47]),T=h(T,R,O,F,b,6,a[48]),F=h(F,T,R,O,S,10,a[49]),O=h(O,F,T,R,$,15,a[50]),R=h(R,O,F,T,B,21,a[51]),T=h(T,R,O,F,G,6,a[52]),F=h(F,T,R,O,E,10,a[53]),O=h(O,F,T,R,_,15,a[54]),R=h(R,O,F,T,P,21,a[55]),T=h(T,R,O,F,D,6,a[56]),F=h(F,T,R,O,W,10,a[57]),O=h(O,F,T,R,k,15,a[58]),R=h(R,O,F,T,j,21,a[59]),T=h(T,R,O,F,M,6,a[60]),F=h(F,T,R,O,U,10,a[61]),O=h(O,F,T,R,w,15,a[62]),R=h(R,O,F,T,L,21,a[63]),g[0]=g[0]+T|0,g[1]=g[1]+R|0,g[2]=g[2]+O|0,g[3]=g[3]+F|0},_doFinalize:function(){var m=this._data,f=m.words,C=this._nDataBytes*8,A=m.sigBytes*8;f[A>>>5]|=128<<24-A%32;var y=r.floor(C/4294967296),g=C;f[(A+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,f[(A+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,m.sigBytes=(f.length+1)*4,this._process();for(var b=this._hash,P=b.words,w=0;w<4;w++){var E=P[w];P[w]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return b},clone:function(){var m=c.clone.call(this);return m._hash=this._hash.clone(),m}});function p(m,f,C,A,y,g,b){var P=m+(f&C|~f&A)+y+b;return(P<<g|P>>>32-g)+f}function s(m,f,C,A,y,g,b){var P=m+(f&A|C&~A)+y+b;return(P<<g|P>>>32-g)+f}function u(m,f,C,A,y,g,b){var P=m+(f^C^A)+y+b;return(P<<g|P>>>32-g)+f}function h(m,f,C,A,y,g,b){var P=m+(C^(f|~A))+y+b;return(P<<g|P>>>32-g)+f}i.MD5=c._createHelper(d),i.HmacMD5=c._createHmacHelper(d)}(Math),o.MD5})}(qt)),qt.exports}var _t={exports:{}},Mo;function Io(){return Mo||(Mo=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=i.Hasher,c=r.algo,l=[],a=c.SHA1=x.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,p){for(var s=this._hash.words,u=s[0],h=s[1],m=s[2],f=s[3],C=s[4],A=0;A<80;A++){if(A<16)l[A]=d[p+A]|0;else{var y=l[A-3]^l[A-8]^l[A-14]^l[A-16];l[A]=y<<1|y>>>31}var g=(u<<5|u>>>27)+C+l[A];A<20?g+=(h&m|~h&f)+1518500249:A<40?g+=(h^m^f)+1859775393:A<60?g+=(h&m|h&f|m&f)-1894007588:g+=(h^m^f)-899497514,C=f,f=m,m=h<<30|h>>>2,h=u,u=g}s[0]=s[0]+u|0,s[1]=s[1]+h|0,s[2]=s[2]+m|0,s[3]=s[3]+f|0,s[4]=s[4]+C|0},_doFinalize:function(){var d=this._data,p=d.words,s=this._nDataBytes*8,u=d.sigBytes*8;return p[u>>>5]|=128<<24-u%32,p[(u+64>>>9<<4)+14]=Math.floor(s/4294967296),p[(u+64>>>9<<4)+15]=s,d.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var d=x.clone.call(this);return d._hash=this._hash.clone(),d}});r.SHA1=x._createHelper(a),r.HmacSHA1=x._createHmacHelper(a)}(),o.SHA1})}(_t)),_t.exports}var jt={exports:{}},Lo;function Gt(){return Lo||(Lo=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){return function(r){var i=o,n=i.lib,x=n.WordArray,c=n.Hasher,l=i.algo,a=[],d=[];(function(){function u(C){for(var A=r.sqrt(C),y=2;y<=A;y++)if(!(C%y))return!1;return!0}function h(C){return(C-(C|0))*4294967296|0}for(var m=2,f=0;f<64;)u(m)&&(f<8&&(a[f]=h(r.pow(m,1/2))),d[f]=h(r.pow(m,1/3)),f++),m++})();var p=[],s=l.SHA256=c.extend({_doReset:function(){this._hash=new x.init(a.slice(0))},_doProcessBlock:function(u,h){for(var m=this._hash.words,f=m[0],C=m[1],A=m[2],y=m[3],g=m[4],b=m[5],P=m[6],w=m[7],E=0;E<64;E++){if(E<16)p[E]=u[h+E]|0;else{var M=p[E-15],B=(M<<25|M>>>7)^(M<<14|M>>>18)^M>>>3,k=p[E-2],S=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;p[E]=B+p[E-7]+S+p[E-16]}var D=g&b^~g&P,L=f&C^f&A^C&A,_=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),U=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),G=w+U+D+d[E]+p[E],j=_+L;w=P,P=b,b=g,g=y+G|0,y=A,A=C,C=f,f=G+j|0}m[0]=m[0]+f|0,m[1]=m[1]+C|0,m[2]=m[2]+A|0,m[3]=m[3]+y|0,m[4]=m[4]+g|0,m[5]=m[5]+b|0,m[6]=m[6]+P|0,m[7]=m[7]+w|0},_doFinalize:function(){var u=this._data,h=u.words,m=this._nDataBytes*8,f=u.sigBytes*8;return h[f>>>5]|=128<<24-f%32,h[(f+64>>>9<<4)+14]=r.floor(m/4294967296),h[(f+64>>>9<<4)+15]=m,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=c.clone.call(this);return u._hash=this._hash.clone(),u}});i.SHA256=c._createHelper(s),i.HmacSHA256=c._createHmacHelper(s)}(Math),o.SHA256})}(jt)),jt.exports}var Ut={exports:{}},qo;function n0(){return qo||(qo=1,function(e,t){(function(o,r,i){e.exports=r(V(),Gt())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=r.algo,c=x.SHA256,l=x.SHA224=c.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=c._doFinalize.call(this);return a.sigBytes-=4,a}});r.SHA224=c._createHelper(l),r.HmacSHA224=c._createHmacHelper(l)}(),o.SHA224})}(Ut)),Ut.exports}var Ht={exports:{}},_o;function jo(){return _o||(_o=1,function(e,t){(function(o,r,i){e.exports=r(V(),pt())})(K,function(o){return function(){var r=o,i=r.lib,n=i.Hasher,x=r.x64,c=x.Word,l=x.WordArray,a=r.algo;function d(){return c.create.apply(c,arguments)}var p=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],s=[];(function(){for(var h=0;h<80;h++)s[h]=d()})();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new l.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(h,m){for(var f=this._hash.words,C=f[0],A=f[1],y=f[2],g=f[3],b=f[4],P=f[5],w=f[6],E=f[7],M=C.high,B=C.low,k=A.high,S=A.low,D=y.high,L=y.low,_=g.high,U=g.low,G=b.high,j=b.low,$=P.high,W=P.low,T=w.high,R=w.low,O=E.high,F=E.low,Z=M,Q=B,re=k,z=S,Ge=D,Fe=L,wr=_,Ue=U,ce=G,oe=j,gt=$,He=W,Ct=T,Ne=R,Er=O,Ke=F,le=0;le<80;le++){var ne,Ae,bt=s[le];if(le<16)Ae=bt.high=h[m+le*2]|0,ne=bt.low=h[m+le*2+1]|0;else{var ta=s[le-15],Re=ta.high,ze=ta.low,lc=(Re>>>1|ze<<31)^(Re>>>8|ze<<24)^Re>>>7,ra=(ze>>>1|Re<<31)^(ze>>>8|Re<<24)^(ze>>>7|Re<<25),oa=s[le-2],Oe=oa.high,We=oa.low,uc=(Oe>>>19|We<<13)^(Oe<<3|We>>>29)^Oe>>>6,ia=(We>>>19|Oe<<13)^(We<<3|Oe>>>29)^(We>>>6|Oe<<26),aa=s[le-7],dc=aa.high,pc=aa.low,na=s[le-16],hc=na.high,sa=na.low;ne=ra+pc,Ae=lc+dc+(ne>>>0<ra>>>0?1:0),ne=ne+ia,Ae=Ae+uc+(ne>>>0<ia>>>0?1:0),ne=ne+sa,Ae=Ae+hc+(ne>>>0<sa>>>0?1:0),bt.high=Ae,bt.low=ne}var xc=ce>^~ce&Ct,ca=oe&He^~oe&Ne,fc=Z&re^Z&Ge^re&Ge,Ac=Q&z^Q&Fe^z&Fe,mc=(Z>>>28|Q<<4)^(Z<<30|Q>>>2)^(Z<<25|Q>>>7),la=(Q>>>28|Z<<4)^(Q<<30|Z>>>2)^(Q<<25|Z>>>7),yc=(ce>>>14|oe<<18)^(ce>>>18|oe<<14)^(ce<<23|oe>>>9),gc=(oe>>>14|ce<<18)^(oe>>>18|ce<<14)^(oe<<23|ce>>>9),ua=p[le],Cc=ua.high,da=ua.low,ie=Ke+gc,me=Er+yc+(ie>>>0<Ke>>>0?1:0),ie=ie+ca,me=me+xc+(ie>>>0<ca>>>0?1:0),ie=ie+da,me=me+Cc+(ie>>>0<da>>>0?1:0),ie=ie+ne,me=me+Ae+(ie>>>0<ne>>>0?1:0),pa=la+Ac,bc=mc+fc+(pa>>>0<la>>>0?1:0);Er=Ct,Ke=Ne,Ct=gt,Ne=He,gt=ce,He=oe,oe=Ue+ie|0,ce=wr+me+(oe>>>0<Ue>>>0?1:0)|0,wr=Ge,Ue=Fe,Ge=re,Fe=z,re=Z,z=Q,Q=ie+pa|0,Z=me+bc+(Q>>>0<ie>>>0?1:0)|0}B=C.low=B+Q,C.high=M+Z+(B>>>0<Q>>>0?1:0),S=A.low=S+z,A.high=k+re+(S>>>0<z>>>0?1:0),L=y.low=L+Fe,y.high=D+Ge+(L>>>0<Fe>>>0?1:0),U=g.low=U+Ue,g.high=_+wr+(U>>>0<Ue>>>0?1:0),j=b.low=j+oe,b.high=G+ce+(j>>>0<oe>>>0?1:0),W=P.low=W+He,P.high=$+gt+(W>>>0<He>>>0?1:0),R=w.low=R+Ne,w.high=T+Ct+(R>>>0<Ne>>>0?1:0),F=E.low=F+Ke,E.high=O+Er+(F>>>0<Ke>>>0?1:0)},_doFinalize:function(){var h=this._data,m=h.words,f=this._nDataBytes*8,C=h.sigBytes*8;m[C>>>5]|=128<<24-C%32,m[(C+128>>>10<<5)+30]=Math.floor(f/4294967296),m[(C+128>>>10<<5)+31]=f,h.sigBytes=m.length*4,this._process();var A=this._hash.toX32();return A},clone:function(){var h=n.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});r.SHA512=n._createHelper(u),r.HmacSHA512=n._createHmacHelper(u)}(),o.SHA512})}(Ht)),Ht.exports}var Nt={exports:{}},Go;function s0(){return Go||(Go=1,function(e,t){(function(o,r,i){e.exports=r(V(),pt(),jo())})(K,function(o){return function(){var r=o,i=r.x64,n=i.Word,x=i.WordArray,c=r.algo,l=c.SHA512,a=c.SHA384=l.extend({_doReset:function(){this._hash=new x.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var d=l._doFinalize.call(this);return d.sigBytes-=16,d}});r.SHA384=l._createHelper(a),r.HmacSHA384=l._createHmacHelper(a)}(),o.SHA384})}(Nt)),Nt.exports}var Kt={exports:{}},Uo;function c0(){return Uo||(Uo=1,function(e,t){(function(o,r,i){e.exports=r(V(),pt())})(K,function(o){return function(r){var i=o,n=i.lib,x=n.WordArray,c=n.Hasher,l=i.x64,a=l.Word,d=i.algo,p=[],s=[],u=[];(function(){for(var f=1,C=0,A=0;A<24;A++){p[f+5*C]=(A+1)*(A+2)/2%64;var y=C%5,g=(2*f+3*C)%5;f=y,C=g}for(var f=0;f<5;f++)for(var C=0;C<5;C++)s[f+5*C]=C+(2*f+3*C)%5*5;for(var b=1,P=0;P<24;P++){for(var w=0,E=0,M=0;M<7;M++){if(b&1){var B=(1<<M)-1;B<32?E^=1<<B:w^=1<<B-32}b&128?b=b<<1^113:b<<=1}u[P]=a.create(w,E)}})();var h=[];(function(){for(var f=0;f<25;f++)h[f]=a.create()})();var m=d.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],C=0;C<25;C++)f[C]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,C){for(var A=this._state,y=this.blockSize/2,g=0;g<y;g++){var b=f[C+2*g],P=f[C+2*g+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360;var w=A[g];w.high^=P,w.low^=b}for(var E=0;E<24;E++){for(var M=0;M<5;M++){for(var B=0,k=0,S=0;S<5;S++){var w=A[M+5*S];B^=w.high,k^=w.low}var D=h[M];D.high=B,D.low=k}for(var M=0;M<5;M++)for(var L=h[(M+4)%5],_=h[(M+1)%5],U=_.high,G=_.low,B=L.high^(U<<1|G>>>31),k=L.low^(G<<1|U>>>31),S=0;S<5;S++){var w=A[M+5*S];w.high^=B,w.low^=k}for(var j=1;j<25;j++){var B,k,w=A[j],$=w.high,W=w.low,T=p[j];T<32?(B=$<<T|W>>>32-T,k=W<<T|$>>>32-T):(B=W<<T-32|$>>>64-T,k=$<<T-32|W>>>64-T);var R=h[s[j]];R.high=B,R.low=k}var O=h[0],F=A[0];O.high=F.high,O.low=F.low;for(var M=0;M<5;M++)for(var S=0;S<5;S++){var j=M+5*S,w=A[j],Z=h[j],Q=h[(M+1)%5+5*S],re=h[(M+2)%5+5*S];w.high=Z.high^~Q.high&re.high,w.low=Z.low^~Q.low&re.low}var w=A[0],z=u[E];w.high^=z.high,w.low^=z.low}},_doFinalize:function(){var f=this._data,C=f.words;this._nDataBytes*8;var A=f.sigBytes*8,y=this.blockSize*32;C[A>>>5]|=1<<24-A%32,C[(r.ceil((A+1)/y)*y>>>5)-1]|=128,f.sigBytes=C.length*4,this._process();for(var g=this._state,b=this.cfg.outputLength/8,P=b/8,w=[],E=0;E<P;E++){var M=g[E],B=M.high,k=M.low;B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,w.push(k),w.push(B)}return new x.init(w,b)},clone:function(){for(var f=c.clone.call(this),C=f._state=this._state.slice(0),A=0;A<25;A++)C[A]=C[A].clone();return f}});i.SHA3=c._createHelper(m),i.HmacSHA3=c._createHmacHelper(m)}(Math),o.SHA3})}(Kt)),Kt.exports}var zt={exports:{}},Ho;function l0(){return Ho||(Ho=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){/** @preserve
|
|
2
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
5
|
+
|
|
6
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
*/return function(r){var i=o,n=i.lib,x=n.WordArray,c=n.Hasher,l=i.algo,a=x.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]),d=x.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]),p=x.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=x.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]),u=x.create([0,1518500249,1859775393,2400959708,2840853838]),h=x.create([1352829926,1548603684,1836072691,2053994217,0]),m=l.RIPEMD160=c.extend({_doReset:function(){this._hash=x.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(P,w){for(var E=0;E<16;E++){var M=w+E,B=P[M];P[M]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var k=this._hash.words,S=u.words,D=h.words,L=a.words,_=d.words,U=p.words,G=s.words,j,$,W,T,R,O,F,Z,Q,re;O=j=k[0],F=$=k[1],Z=W=k[2],Q=T=k[3],re=R=k[4];for(var z,E=0;E<80;E+=1)z=j+P[w+L[E]]|0,E<16?z+=f($,W,T)+S[0]:E<32?z+=C($,W,T)+S[1]:E<48?z+=A($,W,T)+S[2]:E<64?z+=y($,W,T)+S[3]:z+=g($,W,T)+S[4],z=z|0,z=b(z,U[E]),z=z+R|0,j=R,R=T,T=b(W,10),W=$,$=z,z=O+P[w+_[E]]|0,E<16?z+=g(F,Z,Q)+D[0]:E<32?z+=y(F,Z,Q)+D[1]:E<48?z+=A(F,Z,Q)+D[2]:E<64?z+=C(F,Z,Q)+D[3]:z+=f(F,Z,Q)+D[4],z=z|0,z=b(z,G[E]),z=z+re|0,O=re,re=Q,Q=b(Z,10),Z=F,F=z;z=k[1]+W+Q|0,k[1]=k[2]+T+re|0,k[2]=k[3]+R+O|0,k[3]=k[4]+j+F|0,k[4]=k[0]+$+Z|0,k[0]=z},_doFinalize:function(){var P=this._data,w=P.words,E=this._nDataBytes*8,M=P.sigBytes*8;w[M>>>5]|=128<<24-M%32,w[(M+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,P.sigBytes=(w.length+1)*4,this._process();for(var B=this._hash,k=B.words,S=0;S<5;S++){var D=k[S];k[S]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return B},clone:function(){var P=c.clone.call(this);return P._hash=this._hash.clone(),P}});function f(P,w,E){return P^w^E}function C(P,w,E){return P&w|~P&E}function A(P,w,E){return(P|~w)^E}function y(P,w,E){return P&E|w&~E}function g(P,w,E){return P^(w|~E)}function b(P,w){return P<<w|P>>>32-w}i.RIPEMD160=c._createHelper(m),i.HmacRIPEMD160=c._createHmacHelper(m)}(),o.RIPEMD160})}(zt)),zt.exports}var Wt={exports:{}},No;function Vt(){return No||(No=1,function(e,t){(function(o,r){e.exports=r(V())})(K,function(o){(function(){var r=o,i=r.lib,n=i.Base,x=r.enc,c=x.Utf8,l=r.algo;l.HMAC=n.extend({init:function(a,d){a=this._hasher=new a.init,typeof d=="string"&&(d=c.parse(d));var p=a.blockSize,s=p*4;d.sigBytes>s&&(d=a.finalize(d)),d.clamp();for(var u=this._oKey=d.clone(),h=this._iKey=d.clone(),m=u.words,f=h.words,C=0;C<p;C++)m[C]^=1549556828,f[C]^=909522486;u.sigBytes=h.sigBytes=s,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var d=this._hasher,p=d.finalize(a);d.reset();var s=d.finalize(this._oKey.clone().concat(p));return s}})})()})}(Wt)),Wt.exports}var $t={exports:{}},Ko;function u0(){return Ko||(Ko=1,function(e,t){(function(o,r,i){e.exports=r(V(),Gt(),Vt())})(K,function(o){return function(){var r=o,i=r.lib,n=i.Base,x=i.WordArray,c=r.algo,l=c.SHA256,a=c.HMAC,d=c.PBKDF2=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,s){for(var u=this.cfg,h=a.create(u.hasher,p),m=x.create(),f=x.create([1]),C=m.words,A=f.words,y=u.keySize,g=u.iterations;C.length<y;){var b=h.update(s).finalize(f);h.reset();for(var P=b.words,w=P.length,E=b,M=1;M<g;M++){E=h.finalize(E),h.reset();for(var B=E.words,k=0;k<w;k++)P[k]^=B[k]}m.concat(b),A[0]++}return m.sigBytes=y*4,m}});r.PBKDF2=function(p,s,u){return d.create(u).compute(p,s)}}(),o.PBKDF2})}($t)),$t.exports}var Xt={exports:{}},zo;function fe(){return zo||(zo=1,function(e,t){(function(o,r,i){e.exports=r(V(),Io(),Vt())})(K,function(o){return function(){var r=o,i=r.lib,n=i.Base,x=i.WordArray,c=r.algo,l=c.MD5,a=c.EvpKDF=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,p){for(var s,u=this.cfg,h=u.hasher.create(),m=x.create(),f=m.words,C=u.keySize,A=u.iterations;f.length<C;){s&&h.update(s),s=h.update(d).finalize(p),h.reset();for(var y=1;y<A;y++)s=h.finalize(s),h.reset();m.concat(s)}return m.sigBytes=C*4,m}});r.EvpKDF=function(d,p,s){return a.create(s).compute(d,p)}}(),o.EvpKDF})}(Xt)),Xt.exports}var Qt={exports:{}},Wo;function J(){return Wo||(Wo=1,function(e,t){(function(o,r,i){e.exports=r(V(),fe())})(K,function(o){o.lib.Cipher||function(r){var i=o,n=i.lib,x=n.Base,c=n.WordArray,l=n.BufferedBlockAlgorithm,a=i.enc;a.Utf8;var d=a.Base64,p=i.algo,s=p.EvpKDF,u=n.Cipher=l.extend({cfg:x.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,S){this.cfg=this.cfg.extend(S),this._xformMode=B,this._key=k,this.reset()},reset:function(){l.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"?M:P}return function(k){return{encrypt:function(S,D,L){return B(D).encrypt(k,S,D,L)},decrypt:function(S,D,L){return B(D).decrypt(k,S,D,L)}}}}()});n.StreamCipher=u.extend({_doFinalize:function(){var B=this._process(!0);return B},blockSize:1});var h=i.mode={},m=n.BlockCipherMode=x.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}}),f=h.CBC=function(){var B=m.extend();B.Encryptor=B.extend({processBlock:function(S,D){var L=this._cipher,_=L.blockSize;k.call(this,S,D,_),L.encryptBlock(S,D),this._prevBlock=S.slice(D,D+_)}}),B.Decryptor=B.extend({processBlock:function(S,D){var L=this._cipher,_=L.blockSize,U=S.slice(D,D+_);L.decryptBlock(S,D),k.call(this,S,D,_),this._prevBlock=U}});function k(S,D,L){var _,U=this._iv;U?(_=U,this._iv=r):_=this._prevBlock;for(var G=0;G<L;G++)S[D+G]^=_[G]}return B}(),C=i.pad={},A=C.Pkcs7={pad:function(B,k){for(var S=k*4,D=S-B.sigBytes%S,L=D<<24|D<<16|D<<8|D,_=[],U=0;U<D;U+=4)_.push(L);var G=c.create(_,D);B.concat(G)},unpad:function(B){var k=B.words[B.sigBytes-1>>>2]&255;B.sigBytes-=k}};n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:f,padding:A}),reset:function(){var B;u.reset.call(this);var k=this.cfg,S=k.iv,D=k.mode;this._xformMode==this._ENC_XFORM_MODE?B=D.createEncryptor:(B=D.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==B?this._mode.init(this,S&&S.words):(this._mode=B.call(D,this,S&&S.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 y=n.CipherParams=x.extend({init:function(B){this.mixIn(B)},toString:function(B){return(B||this.formatter).stringify(this)}}),g=i.format={},b=g.OpenSSL={stringify:function(B){var k,S=B.ciphertext,D=B.salt;return D?k=c.create([1398893684,1701076831]).concat(D).concat(S):k=S,k.toString(d)},parse:function(B){var k,S=d.parse(B),D=S.words;return D[0]==1398893684&&D[1]==1701076831&&(k=c.create(D.slice(2,4)),D.splice(0,4),S.sigBytes-=16),y.create({ciphertext:S,salt:k})}},P=n.SerializableCipher=x.extend({cfg:x.extend({format:b}),encrypt:function(B,k,S,D){D=this.cfg.extend(D);var L=B.createEncryptor(S,D),_=L.finalize(k),U=L.cfg;return y.create({ciphertext:_,key:S,iv:U.iv,algorithm:B,mode:U.mode,padding:U.padding,blockSize:B.blockSize,formatter:D.format})},decrypt:function(B,k,S,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var L=B.createDecryptor(S,D).finalize(k.ciphertext);return L},_parse:function(B,k){return typeof B=="string"?k.parse(B,this):B}}),w=i.kdf={},E=w.OpenSSL={execute:function(B,k,S,D,L){if(D||(D=c.random(64/8)),L)var _=s.create({keySize:k+S,hasher:L}).compute(B,D);else var _=s.create({keySize:k+S}).compute(B,D);var U=c.create(_.words.slice(k),S*4);return _.sigBytes=k*4,y.create({key:_,iv:U,salt:D})}},M=n.PasswordBasedCipher=P.extend({cfg:P.cfg.extend({kdf:E}),encrypt:function(B,k,S,D){D=this.cfg.extend(D);var L=D.kdf.execute(S,B.keySize,B.ivSize,D.salt,D.hasher);D.iv=L.iv;var _=P.encrypt.call(this,B,k,L.key,D);return _.mixIn(L),_},decrypt:function(B,k,S,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var L=D.kdf.execute(S,B.keySize,B.ivSize,k.salt,D.hasher);D.iv=L.iv;var _=P.decrypt.call(this,B,k,L.key,D);return _}})}()})}(Qt)),Qt.exports}var Yt={exports:{}},Vo;function d0(){return Vo||(Vo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.mode.CFB=function(){var r=o.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(n,x){var c=this._cipher,l=c.blockSize;i.call(this,n,x,l,c),this._prevBlock=n.slice(x,x+l)}}),r.Decryptor=r.extend({processBlock:function(n,x){var c=this._cipher,l=c.blockSize,a=n.slice(x,x+l);i.call(this,n,x,l,c),this._prevBlock=a}});function i(n,x,c,l){var a,d=this._iv;d?(a=d.slice(0),this._iv=void 0):a=this._prevBlock,l.encryptBlock(a,0);for(var p=0;p<c;p++)n[x+p]^=a[p]}return r}(),o.mode.CFB})}(Yt)),Yt.exports}var Zt={exports:{}},$o;function p0(){return $o||($o=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.mode.CTR=function(){var r=o.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(n,x){var c=this._cipher,l=c.blockSize,a=this._iv,d=this._counter;a&&(d=this._counter=a.slice(0),this._iv=void 0);var p=d.slice(0);c.encryptBlock(p,0),d[l-1]=d[l-1]+1|0;for(var s=0;s<l;s++)n[x+s]^=p[s]}});return r.Decryptor=i,r}(),o.mode.CTR})}(Zt)),Zt.exports}var Jt={exports:{}},Xo;function h0(){return Xo||(Xo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){/** @preserve
|
|
11
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
12
|
+
* derived from CryptoJS.mode.CTR
|
|
13
|
+
* Jan Hruby jhruby.web@gmail.com
|
|
14
|
+
*/return o.mode.CTRGladman=function(){var r=o.lib.BlockCipherMode.extend();function i(c){if((c>>24&255)===255){var l=c>>16&255,a=c>>8&255,d=c&255;l===255?(l=0,a===255?(a=0,d===255?d=0:++d):++a):++l,c=0,c+=l<<16,c+=a<<8,c+=d}else c+=1<<24;return c}function n(c){return(c[0]=i(c[0]))===0&&(c[1]=i(c[1])),c}var x=r.Encryptor=r.extend({processBlock:function(c,l){var a=this._cipher,d=a.blockSize,p=this._iv,s=this._counter;p&&(s=this._counter=p.slice(0),this._iv=void 0),n(s);var u=s.slice(0);a.encryptBlock(u,0);for(var h=0;h<d;h++)c[l+h]^=u[h]}});return r.Decryptor=x,r}(),o.mode.CTRGladman})}(Jt)),Jt.exports}var er={exports:{}},Qo;function x0(){return Qo||(Qo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.mode.OFB=function(){var r=o.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(n,x){var c=this._cipher,l=c.blockSize,a=this._iv,d=this._keystream;a&&(d=this._keystream=a.slice(0),this._iv=void 0),c.encryptBlock(d,0);for(var p=0;p<l;p++)n[x+p]^=d[p]}});return r.Decryptor=i,r}(),o.mode.OFB})}(er)),er.exports}var tr={exports:{}},Yo;function f0(){return Yo||(Yo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.mode.ECB=function(){var r=o.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,n){this._cipher.encryptBlock(i,n)}}),r.Decryptor=r.extend({processBlock:function(i,n){this._cipher.decryptBlock(i,n)}}),r}(),o.mode.ECB})}(tr)),tr.exports}var rr={exports:{}},Zo;function A0(){return Zo||(Zo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.pad.AnsiX923={pad:function(r,i){var n=r.sigBytes,x=i*4,c=x-n%x,l=n+c-1;r.clamp(),r.words[l>>>2]|=c<<24-l%4*8,r.sigBytes+=c},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},o.pad.Ansix923})}(rr)),rr.exports}var or={exports:{}},Jo;function m0(){return Jo||(Jo=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.pad.Iso10126={pad:function(r,i){var n=i*4,x=n-r.sigBytes%n;r.concat(o.lib.WordArray.random(x-1)).concat(o.lib.WordArray.create([x<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},o.pad.Iso10126})}(or)),or.exports}var ir={exports:{}},ei;function y0(){return ei||(ei=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.pad.Iso97971={pad:function(r,i){r.concat(o.lib.WordArray.create([2147483648],1)),o.pad.ZeroPadding.pad(r,i)},unpad:function(r){o.pad.ZeroPadding.unpad(r),r.sigBytes--}},o.pad.Iso97971})}(ir)),ir.exports}var ar={exports:{}},ti;function g0(){return ti||(ti=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.pad.ZeroPadding={pad:function(r,i){var n=i*4;r.clamp(),r.sigBytes+=n-(r.sigBytes%n||n)},unpad:function(r){for(var i=r.words,n=r.sigBytes-1,n=r.sigBytes-1;n>=0;n--)if(i[n>>>2]>>>24-n%4*8&255){r.sigBytes=n+1;break}}},o.pad.ZeroPadding})}(ar)),ar.exports}var nr={exports:{}},ri;function C0(){return ri||(ri=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return o.pad.NoPadding={pad:function(){},unpad:function(){}},o.pad.NoPadding})}(nr)),nr.exports}var sr={exports:{}},oi;function b0(){return oi||(oi=1,function(e,t){(function(o,r,i){e.exports=r(V(),J())})(K,function(o){return function(r){var i=o,n=i.lib,x=n.CipherParams,c=i.enc,l=c.Hex,a=i.format;a.Hex={stringify:function(d){return d.ciphertext.toString(l)},parse:function(d){var p=l.parse(d);return x.create({ciphertext:p})}}}(),o.format.Hex})}(sr)),sr.exports}var cr={exports:{}},ii;function P0(){return ii||(ii=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.BlockCipher,x=r.algo,c=[],l=[],a=[],d=[],p=[],s=[],u=[],h=[],m=[],f=[];(function(){for(var y=[],g=0;g<256;g++)g<128?y[g]=g<<1:y[g]=g<<1^283;for(var b=0,P=0,g=0;g<256;g++){var w=P^P<<1^P<<2^P<<3^P<<4;w=w>>>8^w&255^99,c[b]=w,l[w]=b;var E=y[b],M=y[E],B=y[M],k=y[w]*257^w*16843008;a[b]=k<<24|k>>>8,d[b]=k<<16|k>>>16,p[b]=k<<8|k>>>24,s[b]=k;var k=B*16843009^M*65537^E*257^b*16843008;u[w]=k<<24|k>>>8,h[w]=k<<16|k>>>16,m[w]=k<<8|k>>>24,f[w]=k,b?(b=E^y[y[y[B^E]]],P^=y[y[P]]):b=P=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],A=x.AES=n.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,b=g.words,P=g.sigBytes/4,w=this._nRounds=P+6,E=(w+1)*4,M=this._keySchedule=[],B=0;B<E;B++)B<P?M[B]=b[B]:(y=M[B-1],B%P?P>6&&B%P==4&&(y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>8&255]<<8|c[y&255]):(y=y<<8|y>>>24,y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>8&255]<<8|c[y&255],y^=C[B/P|0]<<24),M[B]=M[B-P]^y);for(var k=this._invKeySchedule=[],S=0;S<E;S++){var B=E-S;if(S%4)var y=M[B];else var y=M[B-4];S<4||B<=4?k[S]=y:k[S]=u[c[y>>>24]]^h[c[y>>>16&255]]^m[c[y>>>8&255]]^f[c[y&255]]}}},encryptBlock:function(y,g){this._doCryptBlock(y,g,this._keySchedule,a,d,p,s,c)},decryptBlock:function(y,g){var b=y[g+1];y[g+1]=y[g+3],y[g+3]=b,this._doCryptBlock(y,g,this._invKeySchedule,u,h,m,f,l);var b=y[g+1];y[g+1]=y[g+3],y[g+3]=b},_doCryptBlock:function(y,g,b,P,w,E,M,B){for(var k=this._nRounds,S=y[g]^b[0],D=y[g+1]^b[1],L=y[g+2]^b[2],_=y[g+3]^b[3],U=4,G=1;G<k;G++){var j=P[S>>>24]^w[D>>>16&255]^E[L>>>8&255]^M[_&255]^b[U++],$=P[D>>>24]^w[L>>>16&255]^E[_>>>8&255]^M[S&255]^b[U++],W=P[L>>>24]^w[_>>>16&255]^E[S>>>8&255]^M[D&255]^b[U++],T=P[_>>>24]^w[S>>>16&255]^E[D>>>8&255]^M[L&255]^b[U++];S=j,D=$,L=W,_=T}var j=(B[S>>>24]<<24|B[D>>>16&255]<<16|B[L>>>8&255]<<8|B[_&255])^b[U++],$=(B[D>>>24]<<24|B[L>>>16&255]<<16|B[_>>>8&255]<<8|B[S&255])^b[U++],W=(B[L>>>24]<<24|B[_>>>16&255]<<16|B[S>>>8&255]<<8|B[D&255])^b[U++],T=(B[_>>>24]<<24|B[S>>>16&255]<<16|B[D>>>8&255]<<8|B[L&255])^b[U++];y[g]=j,y[g+1]=$,y[g+2]=W,y[g+3]=T},keySize:256/32});r.AES=n._createHelper(A)}(),o.AES})}(cr)),cr.exports}var lr={exports:{}},ai;function k0(){return ai||(ai=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.WordArray,x=i.BlockCipher,c=r.algo,l=[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],a=[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],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{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],u=c.DES=x.extend({_doReset:function(){for(var C=this._key,A=C.words,y=[],g=0;g<56;g++){var b=l[g]-1;y[g]=A[b>>>5]>>>31-b%32&1}for(var P=this._subKeys=[],w=0;w<16;w++){for(var E=P[w]=[],M=d[w],g=0;g<24;g++)E[g/6|0]|=y[(a[g]-1+M)%28]<<31-g%6,E[4+(g/6|0)]|=y[28+(a[g+24]-1+M)%28]<<31-g%6;E[0]=E[0]<<1|E[0]>>>31;for(var g=1;g<7;g++)E[g]=E[g]>>>(g-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var B=this._invSubKeys=[],g=0;g<16;g++)B[g]=P[15-g]},encryptBlock:function(C,A){this._doCryptBlock(C,A,this._subKeys)},decryptBlock:function(C,A){this._doCryptBlock(C,A,this._invSubKeys)},_doCryptBlock:function(C,A,y){this._lBlock=C[A],this._rBlock=C[A+1],h.call(this,4,252645135),h.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),h.call(this,1,1431655765);for(var g=0;g<16;g++){for(var b=y[g],P=this._lBlock,w=this._rBlock,E=0,M=0;M<8;M++)E|=p[M][((w^b[M])&s[M])>>>0];this._lBlock=w,this._rBlock=P^E}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,h.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),C[A]=this._lBlock,C[A+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(C,A){var y=(this._lBlock>>>C^this._rBlock)&A;this._rBlock^=y,this._lBlock^=y<<C}function m(C,A){var y=(this._rBlock>>>C^this._lBlock)&A;this._lBlock^=y,this._rBlock^=y<<C}r.DES=x._createHelper(u);var f=c.TripleDES=x.extend({_doReset:function(){var C=this._key,A=C.words;if(A.length!==2&&A.length!==4&&A.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=A.slice(0,2),g=A.length<4?A.slice(0,2):A.slice(2,4),b=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=u.createEncryptor(n.create(y)),this._des2=u.createEncryptor(n.create(g)),this._des3=u.createEncryptor(n.create(b))},encryptBlock:function(C,A){this._des1.encryptBlock(C,A),this._des2.decryptBlock(C,A),this._des3.encryptBlock(C,A)},decryptBlock:function(C,A){this._des3.decryptBlock(C,A),this._des2.encryptBlock(C,A),this._des1.decryptBlock(C,A)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=x._createHelper(f)}(),o.TripleDES})}(lr)),lr.exports}var ur={exports:{}},ni;function B0(){return ni||(ni=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.StreamCipher,x=r.algo,c=x.RC4=n.extend({_doReset:function(){for(var d=this._key,p=d.words,s=d.sigBytes,u=this._S=[],h=0;h<256;h++)u[h]=h;for(var h=0,m=0;h<256;h++){var f=h%s,C=p[f>>>2]>>>24-f%4*8&255;m=(m+u[h]+C)%256;var A=u[h];u[h]=u[m],u[m]=A}this._i=this._j=0},_doProcessBlock:function(d,p){d[p]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var d=this._S,p=this._i,s=this._j,u=0,h=0;h<4;h++){p=(p+1)%256,s=(s+d[p])%256;var m=d[p];d[p]=d[s],d[s]=m,u|=d[(d[p]+d[s])%256]<<24-h*8}return this._i=p,this._j=s,u}r.RC4=n._createHelper(c);var a=x.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)l.call(this)}});r.RC4Drop=n._createHelper(a)}(),o.RC4})}(ur)),ur.exports}var dr={exports:{}},si;function w0(){return si||(si=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.StreamCipher,x=r.algo,c=[],l=[],a=[],d=x.Rabbit=n.extend({_doReset:function(){for(var s=this._key.words,u=this.cfg.iv,h=0;h<4;h++)s[h]=(s[h]<<8|s[h]>>>24)&16711935|(s[h]<<24|s[h]>>>8)&4278255360;var m=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],f=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 h=0;h<4;h++)p.call(this);for(var h=0;h<8;h++)f[h]^=m[h+4&7];if(u){var C=u.words,A=C[0],y=C[1],g=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,P=g>>>16|b&4294901760,w=b<<16|g&65535;f[0]^=g,f[1]^=P,f[2]^=b,f[3]^=w,f[4]^=g,f[5]^=P,f[6]^=b,f[7]^=w;for(var h=0;h<4;h++)p.call(this)}},_doProcessBlock:function(s,u){var h=this._X;p.call(this),c[0]=h[0]^h[5]>>>16^h[3]<<16,c[1]=h[2]^h[7]>>>16^h[5]<<16,c[2]=h[4]^h[1]>>>16^h[7]<<16,c[3]=h[6]^h[3]>>>16^h[1]<<16;for(var m=0;m<4;m++)c[m]=(c[m]<<8|c[m]>>>24)&16711935|(c[m]<<24|c[m]>>>8)&4278255360,s[u+m]^=c[m]},blockSize:128/32,ivSize:64/32});function p(){for(var s=this._X,u=this._C,h=0;h<8;h++)l[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<l[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<l[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<l[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<l[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<l[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<l[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<l[6]>>>0?1:0)|0,this._b=u[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var m=s[h]+u[h],f=m&65535,C=m>>>16,A=((f*f>>>17)+f*C>>>15)+C*C,y=((m&4294901760)*m|0)+((m&65535)*m|0);a[h]=A^y}s[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,s[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,s[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,s[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,s[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,s[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,s[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,s[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}r.Rabbit=n._createHelper(d)}(),o.Rabbit})}(dr)),dr.exports}var pr={exports:{}},ci;function E0(){return ci||(ci=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.StreamCipher,x=r.algo,c=[],l=[],a=[],d=x.RabbitLegacy=n.extend({_doReset:function(){var s=this._key.words,u=this.cfg.iv,h=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],m=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 f=0;f<4;f++)p.call(this);for(var f=0;f<8;f++)m[f]^=h[f+4&7];if(u){var C=u.words,A=C[0],y=C[1],g=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,P=g>>>16|b&4294901760,w=b<<16|g&65535;m[0]^=g,m[1]^=P,m[2]^=b,m[3]^=w,m[4]^=g,m[5]^=P,m[6]^=b,m[7]^=w;for(var f=0;f<4;f++)p.call(this)}},_doProcessBlock:function(s,u){var h=this._X;p.call(this),c[0]=h[0]^h[5]>>>16^h[3]<<16,c[1]=h[2]^h[7]>>>16^h[5]<<16,c[2]=h[4]^h[1]>>>16^h[7]<<16,c[3]=h[6]^h[3]>>>16^h[1]<<16;for(var m=0;m<4;m++)c[m]=(c[m]<<8|c[m]>>>24)&16711935|(c[m]<<24|c[m]>>>8)&4278255360,s[u+m]^=c[m]},blockSize:128/32,ivSize:64/32});function p(){for(var s=this._X,u=this._C,h=0;h<8;h++)l[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<l[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<l[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<l[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<l[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<l[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<l[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<l[6]>>>0?1:0)|0,this._b=u[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var m=s[h]+u[h],f=m&65535,C=m>>>16,A=((f*f>>>17)+f*C>>>15)+C*C,y=((m&4294901760)*m|0)+((m&65535)*m|0);a[h]=A^y}s[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,s[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,s[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,s[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,s[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,s[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,s[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,s[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}r.RabbitLegacy=n._createHelper(d)}(),o.RabbitLegacy})}(pr)),pr.exports}var hr={exports:{}},li;function v0(){return li||(li=1,function(e,t){(function(o,r,i){e.exports=r(V(),ge(),Ce(),fe(),J())})(K,function(o){return function(){var r=o,i=r.lib,n=i.BlockCipher,x=r.algo;const c=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[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 d={pbox:[],sbox:[]};function p(f,C){let A=C>>24&255,y=C>>16&255,g=C>>8&255,b=C&255,P=f.sbox[0][A]+f.sbox[1][y];return P=P^f.sbox[2][g],P=P+f.sbox[3][b],P}function s(f,C,A){let y=C,g=A,b;for(let P=0;P<c;++P)y=y^f.pbox[P],g=p(f,y)^g,b=y,y=g,g=b;return b=y,y=g,g=b,g=g^f.pbox[c],y=y^f.pbox[c+1],{left:y,right:g}}function u(f,C,A){let y=C,g=A,b;for(let P=c+1;P>1;--P)y=y^f.pbox[P],g=p(f,y)^g,b=y,y=g,g=b;return b=y,y=g,g=b,g=g^f.pbox[1],y=y^f.pbox[0],{left:y,right:g}}function h(f,C,A){for(let w=0;w<4;w++){f.sbox[w]=[];for(let E=0;E<256;E++)f.sbox[w][E]=a[w][E]}let y=0;for(let w=0;w<c+2;w++)f.pbox[w]=l[w]^C[y],y++,y>=A&&(y=0);let g=0,b=0,P=0;for(let w=0;w<c+2;w+=2)P=s(f,g,b),g=P.left,b=P.right,f.pbox[w]=g,f.pbox[w+1]=b;for(let w=0;w<4;w++)for(let E=0;E<256;E+=2)P=s(f,g,b),g=P.left,b=P.right,f.sbox[w][E]=g,f.sbox[w][E+1]=b;return!0}var m=x.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var f=this._keyPriorReset=this._key,C=f.words,A=f.sigBytes/4;h(d,C,A)}},encryptBlock:function(f,C){var A=s(d,f[C],f[C+1]);f[C]=A.left,f[C+1]=A.right},decryptBlock:function(f,C){var A=u(d,f[C],f[C+1]);f[C]=A.left,f[C+1]=A.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=n._createHelper(m)}(),o.Blowfish})}(hr)),hr.exports}(function(e,t){(function(o,r,i){e.exports=r(V(),pt(),o0(),i0(),ge(),a0(),Ce(),Io(),Gt(),n0(),jo(),s0(),c0(),l0(),Vt(),u0(),fe(),J(),d0(),p0(),h0(),x0(),f0(),A0(),m0(),y0(),g0(),C0(),b0(),P0(),k0(),B0(),w0(),E0(),v0())})(K,function(o){return o})})(Eo);var S0=Eo.exports;const be=fs(S0),ui="3.7.7",D0=ui,ve=typeof Buffer=="function",di=typeof TextDecoder=="function"?new TextDecoder:void 0,pi=typeof TextEncoder=="function"?new TextEncoder:void 0,T0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_e=Array.prototype.slice.call(T0),ht=(e=>{let t={};return e.forEach((o,r)=>t[o]=r),t})(_e),F0=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,ee=String.fromCharCode.bind(String),hi=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),xi=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),fi=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Ai=e=>{let t,o,r,i,n="";const x=e.length%3;for(let c=0;c<e.length;){if((o=e.charCodeAt(c++))>255||(r=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=o<<16|r<<8|i,n+=_e[t>>18&63]+_e[t>>12&63]+_e[t>>6&63]+_e[t&63]}return x?n.slice(0,x-3)+"===".substring(x):n},xr=typeof btoa=="function"?e=>btoa(e):ve?e=>Buffer.from(e,"binary").toString("base64"):Ai,fr=ve?e=>Buffer.from(e).toString("base64"):e=>{let o=[];for(let r=0,i=e.length;r<i;r+=4096)o.push(ee.apply(null,e.subarray(r,r+4096)));return xr(o.join(""))},xt=(e,t=!1)=>t?xi(fr(e)):fr(e),R0=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ee(192|t>>>6)+ee(128|t&63):ee(224|t>>>12&15)+ee(128|t>>>6&63)+ee(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ee(240|t>>>18&7)+ee(128|t>>>12&63)+ee(128|t>>>6&63)+ee(128|t&63)}},O0=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,mi=e=>e.replace(O0,R0),yi=ve?e=>Buffer.from(e,"utf8").toString("base64"):pi?e=>fr(pi.encode(e)):e=>xr(mi(e)),Se=(e,t=!1)=>t?xi(yi(e)):yi(e),gi=e=>Se(e,!0),M0=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,I0=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),o=t-65536;return ee((o>>>10)+55296)+ee((o&1023)+56320);case 3:return ee((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return ee((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Ci=e=>e.replace(M0,I0),bi=e=>{if(e=e.replace(/\s+/g,""),!F0.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,o="",r,i;for(let n=0;n<e.length;)t=ht[e.charAt(n++)]<<18|ht[e.charAt(n++)]<<12|(r=ht[e.charAt(n++)])<<6|(i=ht[e.charAt(n++)]),o+=r===64?ee(t>>16&255):i===64?ee(t>>16&255,t>>8&255):ee(t>>16&255,t>>8&255,t&255);return o},Ar=typeof atob=="function"?e=>atob(fi(e)):ve?e=>Buffer.from(e,"base64").toString("binary"):bi,Pi=ve?e=>hi(Buffer.from(e,"base64")):e=>hi(Ar(e).split("").map(t=>t.charCodeAt(0))),ki=e=>Pi(Bi(e)),L0=ve?e=>Buffer.from(e,"base64").toString("utf8"):di?e=>di.decode(Pi(e)):e=>Ci(Ar(e)),Bi=e=>fi(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),mr=e=>L0(Bi(e)),q0=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},wi=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),Ei=function(){const e=(t,o)=>Object.defineProperty(String.prototype,t,wi(o));e("fromBase64",function(){return mr(this)}),e("toBase64",function(t){return Se(this,t)}),e("toBase64URI",function(){return Se(this,!0)}),e("toBase64URL",function(){return Se(this,!0)}),e("toUint8Array",function(){return ki(this)})},vi=function(){const e=(t,o)=>Object.defineProperty(Uint8Array.prototype,t,wi(o));e("toBase64",function(t){return xt(this,t)}),e("toBase64URI",function(){return xt(this,!0)}),e("toBase64URL",function(){return xt(this,!0)})},ft={version:ui,VERSION:D0,atob:Ar,atobPolyfill:bi,btoa:xr,btoaPolyfill:Ai,fromBase64:mr,toBase64:Se,encode:Se,encodeURI:gi,encodeURL:gi,utob:mi,btou:Ci,decode:mr,isValid:q0,fromUint8Array:xt,toUint8Array:ki,extendString:Ei,extendUint8Array:vi,extendBuiltins:()=>{Ei(),vi()}},_0=Pe.create(),At=be.MD5,Si=be.enc.Base64,ae={createHmac:function(e,t){let o;e==="sha1"?o="SHA-1":e==="sha512"?o="SHA-512":o="SHA-256";let r=new Vr(o,"TEXT");return r.setHMACKey(t,t instanceof ArrayBuffer?"ARRAYBUFFER":"TEXT"),{update:function(i){return r.update(i),this},digest:function(i){return i==="hex"?r.getHMAC("HEX"):i==="base64"?r.getHMAC("B64"):r.getHMAC("ARRAYBUFFER")}}},createHash:function(e){if(e==="md5")return{update:function(r){return this.message?this.message+=r:this.message=r,this},digest:function(r){return r==="hex"?At(this.message):r==="base64"?Si.stringify(At(this.message,!1,!0)):r==="rawbase64"?Si.stringify(At(this.message,!1,!0)):At(this.message,!1,!0)}};let t;e==="sha1"?t="SHA-1":e==="sha512"?t="SHA-512":t="SHA-256";let o=new Vr(t,"TEXT");return{update:function(r){return o.update(r),this},digest:function(r){return r==="hex"?o.getHash("HEX"):r==="base64"?o.getHash("B64"):o.getHash("ARRAYBUFFER")}}}},j0={parse:function(e){const t=new URL(e),o=t.port||(t.protocol==="https:"?"443":"80");return{hostname:t.hostname,port:o,host:t.hostname,protocol:t.protocol,query:t.search.slice(1)||"",path:t.pathname+t.search,pathname:t.pathname,search:t.search}}},Di="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",G0="3.25.3",U0={"7z":"application/x-7z-compressed",aac:"audio/x-aac",ai:"application/postscript",aif:"audio/x-aiff",asc:"text/plain",asf:"video/x-ms-asf",atom:"application/atom+xml",avi:"video/x-msvideo",bmp:"image/bmp",bz2:"application/x-bzip2",cer:"application/pkix-cert",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cu:"application/cu-seeme",deb:"application/x-debian-package",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dvi:"application/x-dvi",eot:"application/vnd.ms-fontobject",eps:"application/postscript",epub:"application/epub+zip",etx:"text/x-setext",flac:"audio/flac",flv:"video/x-flv",gif:"image/gif",gz:"application/gzip",htm:"text/html",html:"text/html",ico:"image/x-icon",ics:"text/calendar",ini:"text/plain",iso:"application/x-iso9660-image",jar:"application/java-archive",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",latex:"application/x-latex",log:"text/plain",m4a:"audio/mp4",m4v:"video/mp4",mid:"audio/midi",midi:"audio/midi",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4a:"audio/mp4",mp4v:"video/mp4",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpg4:"video/mp4",oga:"audio/ogg",ogg:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pgm:"image/x-portable-graymap",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ps:"application/postscript",qt:"video/quicktime",rar:"application/x-rar-compressed",ras:"image/x-cmu-raster",rss:"application/rss+xml",rtf:"application/rtf",sgm:"text/sgml",sgml:"text/sgml",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",ttf:"application/x-font-ttf",txt:"text/plain",wav:"audio/x-wav",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",woff:"application/x-font-woff",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xpm:"image/x-xpixmap",xwd:"image/x-xwindowdump",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"},Ti=["inventory","acl","backtosource","policy","torrent","logging","location","storageinfo","quota","storageclass","storagepolicy","mirrorbacktosource","requestpayment","versions","versioning","versionid","uploads","uploadid","partnumber","website","notification","replication","lifecycle","deletebucket","delete","cors","restore","tagging","append","position","response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding","x-image-process","x-image-save-object","x-image-save-bucket","x-oss-process","encryption","obsworkflowtriggerpolicy","x-workflow-limit","x-workflow-prefix","x-workflow-start","x-workflow-template-name","x-workflow-graph-name","x-workflow-execution-state","x-workflow-category","x-workflow-prefix","x-workflow-create","directcoldaccess","customdomain","cdnnotifyconfiguration","metadata","dispolicy","obscompresspolicy","template_name","template_name_prefix","x-workflow-status","x-workflow-type","x-workflow-forbid","sfsacl","obsbucketalias","obsalias","rename","name","modify","attname","inventory","truncate","object-lock","retention","x-obs-security-token","publicaccessblock","x-obs-trash","bucketstatus","policystatus","x-obs-callback"],Fi=["content-type","content-md5","content-length","content-language","expires","origin","cache-control","content-disposition","content-encoding","x-default-storage-class","location","date","etag","host","last-modified","content-range","x-reserved","access-control-allow-origin","access-control-allow-headers","access-control-max-age","access-control-allow-methods","access-control-expose-headers","connection","x-obs-location-clustergroup-id"],yr={"content-length":"ContentLength",date:"Date","x-reserved":"Reserved"},H0=["STANDARD","WARM","COLD","DEEP_ARCHIVE","INTELLIGENT_TIERING","HIGH_PERFORMANCE"],N0=["STANDARD","STANDARD_IA","GLACIER","DEEP_ARCHIVE","INTELLIGENT_TIERING","HIGH_PERFORMANCE"],K0=["private","public-read","public-read-write","public-read-delivered","public-read-write-delivered"],z0=["private","public-read","public-read-write","authenticated-read","bucket-owner-read","bucket-owner-full-control","log-delivery-write"],W0=["Everyone","LogDelivery"],V0=["http://acs.amazonaws.com/groups/global/AllUsers","http://acs.amazonaws.com/groups/global/AuthenticatedUsers","http://acs.amazonaws.com/groups/s3/LogDelivery"],Ri=["ObjectCreated","ObjectCreated:*","ObjectCreated:Put","ObjectCreated:Post","ObjectCreated:Copy","ObjectCreated:CompleteMultipartUpload","ObjectRemoved","ObjectRemoved:*","ObjectRemoved:Delete","ObjectRemoved:DeleteMarkerCreated","ObjectChanged:*","ObjectChanged:Rename","ObjectChanged:Truncate","ObjectChanged:Modify"],Oi=["ObjectCreated","s3:ObjectCreated:*","s3:ObjectCreated:Put","s3:ObjectCreated:Post","s3:ObjectCreated:Copy","s3:ObjectCreated:CompleteMultipartUpload","ObjectRemoved","s3:ObjectRemoved:*","s3:ObjectRemoved:Delete","s3:ObjectRemoved:DeleteMarkerCreated","ObjectRemoved:*","ObjectRemoved:Delete","ObjectRemoved:DeleteMarkerCreated","ObjectChanged:*","ObjectChanged:Rename","ObjectChanged:Truncate","ObjectChanged:Modify"],$0=["CreateBucket","SetBucketAlias","BindBucketAlias","UnbindBucketAlias","DeleteBucketAlias","GetBucketAlias"],gr="HeadApiVersion",Mi={signature:"obs",headerPrefix:"x-obs-",headerMetaPrefix:"x-obs-meta-",authPrefix:"OBS"},Cr={signature:"v2",headerPrefix:"x-amz-",headerMetaPrefix:"x-amz-meta-",authPrefix:"AWS"};function Y(e,t,o){if(e=String(e),e.length===0)return"";if(o)return e;let r;if(t){r=[];for(const i of e)r.push(t.indexOf(i)>=0?i:encodeURIComponent(i));r=r.join("")}else r=encodeURIComponent(e);return r.replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}function je(e){return JSON?JSON.stringify(e):""}function X0(e,t){let o={};for(let r in t)if({}.hasOwnProperty.call(t,r)){let i=String(r).toLowerCase();i.indexOf(e)===0&&(o[i.slice(e.length)]=t[r])}return o}function Q0(e){return Object.prototype.toString.call(e)==="[object Array]"}function De(e){return Object.prototype.toString.call(e)==="[object Function]"}function br(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ii(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}function Li(e,t){if(typeof e=="object")return t(null,e);try{return t(null,La.parseString(e))}catch(o){return t(o,null)}}function qi(e){let t=new Date(Date.parse(e)),o=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),n=t.getUTCDate(),x=t.getUTCMonth()+1,c=t.getUTCFullYear(),l="";return l+=c+"-",x<10&&(l+="0"),l+=x+"-",n<10&&(l+="0"),l+=n+"T",o<10&&(l+="0"),l+=o+":",r<10&&(l+="0"),l+=r+":",i<10&&(l+="0"),l+=i+"Z",l}function mt(e){let t=new Date(Date.parse(e)),o=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),n=t.getUTCDate(),x=t.getUTCMonth()+1,c=t.getUTCFullYear(),l="",a="";return l+=c,x<10&&(l+="0"),l+=x,n<10&&(l+="0"),l+=n,a+=l+"T",o<10&&(a+="0"),a+=o,r<10&&(a+="0"),a+=r,i<10&&(a+="0"),a+=i+"Z",[l,a]}function _i(e){let t=[],o={};for(let n in e)({}).hasOwnProperty.call(e,n)&&(t.push(n.toLowerCase()),o[n.toLowerCase()]=e[n]);t=t.sort();let r="",i="";for(let n=0;n<t.length;n++)n!==0&&(r+=";"),r+=t[n],i+=t[n]+":"+o[t[n]]+`
|
|
15
|
+
`;return[r,i]}function ji(e,t,o,r){let i=ae.createHmac("sha256","AWS4"+t).update(e).digest(),n=ae.createHmac("sha256",i).update(o).digest(),x=ae.createHmac("sha256",n).update("s3").digest(),c=ae.createHmac("sha256",x).update("aws4_request").digest();return ae.createHmac("sha256",c).update(r).digest("hex")}function Gi(e,t,o,r,i){let n=e+"/"+r+"/s3/aws4_request",x=`AWS4-HMAC-SHA256
|
|
16
|
+
`;return x+=t+`
|
|
17
|
+
`,x+=n+`
|
|
18
|
+
`,x+=ae.createHash("sha256").update(i).digest("hex"),ji(e,o,r,x)}function H(e){this.log=e,this.ak=null,this.sk=null,this.securityToken=null,this.isSecure=!0,this.server=null,this.pathStyle=!1,this.signatureContext=null,this.isSignatureNegotiation=!0,this.bucketSignatureCache={},this.region="region",this.port=null,this.timeout=300,this.obsSdkVersion=G0,this.isCname=!1,this.bucketEventEmitters={},this.useRawXhr=!1}H.prototype.encodeURIWithSafe=Y,H.prototype.mimeTypes=U0,H.prototype.refresh=function(e,t,o){this.ak=e?String(e).trim():null,this.sk=t?String(t).trim():null,this.securityToken=o?String(o).trim():null},H.prototype.initFactory=function(e,t,o,r,i,n,x,c,l,a,d,p,s,u,h,m,f){if(this.refresh(e,t,a),this.urlPrefix=s||"",this.regionDomains=u||null,this.setRequestHeaderHook=h||null,this.checkAlgorithm=Tt,typeof f=="string"&&f.toLowerCase()==="sha256"&&(this.checkAlgorithm=dt),!r)throw new Error("Server is not set");r=String(r).trim(),r.indexOf("https://")===0?(r=r.slice(8),o=!0):r.indexOf("http://")===0&&(r=r.slice(7),o=!1);let C=r.lastIndexOf("/");for(;C>=0;)r=r.slice(0,C),C=r.lastIndexOf("/");C=r.indexOf(":"),C>=0&&(c=r.slice(C+1),r=r.slice(0,C)),this.server=r,/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/.test(this.server)&&(i=!0),o!==void 0&&(this.isSecure=o),i!==void 0&&(this.pathStyle=i),n!==void 0?n=String(n).trim().toLowerCase():n="obs",d!==void 0&&(this.isSignatureNegotiation=d),this.isCname=p,(this.pathStyle||this.isCname)&&(this.isSignatureNegotiation=!1,n==="obs"&&(n="v2")),this.signatureContext=n==="obs"?Mi:Cr,x!==void 0&&(this.region=String(x)),this.port=c?parseInt(c,10):this.isSecure?443:80,l!==void 0&&(this.timeout=parseInt(l,10)),m!==void 0&&(this.useRawXhr=m)},H.prototype.SseKmsAdapter=function(e,t){e=e||"",e=String(e);let o=e.indexOf("aws:");return t.signature==="obs"?o===0?e.slice(4):e:o===0?e:"aws:"+e},H.prototype.SseModeAdapter=function(e,t){e=e||"",e=String(e);let o=e.indexOf("aws:");return t.signature==="obs"?o===0?e.slice(4):e:o===0?e:"aws:"+e},H.prototype.BucketAdapter=function(e,t){e=e||"",e=String(e);let o=e.indexOf("arn:aws:s3:::");return t.signature==="obs"?o===0?e.slice(13):e:o===0?e:"arn:aws:s3:::"+e},H.prototype.EventAdapter=function(e,t){return e=e||"",e=String(e),t.signature==="obs"?Ri.indexOf(e)>=0?e:Oi.indexOf(e)>=0?e.substring(3):"":Oi.indexOf(e)>=0?e:Ri.indexOf(e)>=0?"s3:"+e:""},H.prototype.EventsAdapter=function(e,t){return this.EventAdapter(e,t)},H.prototype.URIAdapter=function(e,t){return e=e||"",e=String(e),t.signature==="obs"?W0.indexOf(e)>=0?e:e==="AllUsers"||e==="http://acs.amazonaws.com/groups/global/AllUsers"?"Everyone":"":V0.indexOf(e)>=0?e:e==="Everyone"||e==="AllUsers"?"http://acs.amazonaws.com/groups/global/AllUsers":e==="AuthenticatedUsers"?"http://acs.amazonaws.com/groups/global/AuthenticatedUsers":e==="LogDelivery"?"http://acs.amazonaws.com/groups/s3/LogDelivery":""},H.prototype.StorageClassAdapter=function(e,t){return e=e||"",e=String(e).toUpperCase(),t.signature==="obs"?H0.indexOf(e)>=0?e:e==="STANDARD_IA"?"WARM":e==="GLACIER"?"COLD":"":N0.indexOf(e)>=0?e:e==="WARM"?"STANDARD_IA":e==="COLD"?"GLACIER":""},H.prototype.ACLAdapter=function(e,t){return e=e||"",e=String(e).toLowerCase(),t.signature==="obs"?K0.indexOf(e)>=0?e:"":(e==="public-read-delivered"?e="public-read":e==="public-read-write-delivered"&&(e="public-read-write"),z0.indexOf(e)>=0?e:"")},H.prototype.doExec=function(e,t,o){let r=this.makeParam(e,t);if("err"in r)return o(r.err,null);e==="HeadApiVersion"&&{}.hasOwnProperty.call(t,"hasRegion")&&(r.headers.Region=t.region||t.bucketRegion),this.sendRequest(e,r,o)},H.prototype.doNegotiation=function(e,t,o,r,i,n){let x=null,c=this;if(i&&t.Bucket){let l=this.bucketSignatureCache[t.Bucket];if(l&&l.signatureContext&&l.expireTime>new Date().getTime()){t.signatureContext=l.signatureContext;let a=this.makeParam(e,t);return"err"in a?o(a.err,null):(a.signatureContext=l.signatureContext,this.sendRequest(e,a,o))}if(x=this.bucketEventEmitters[t.Bucket],x||(x={s:0,n:function(){for(;this.e&&this.e.length>0;)this.e.shift()()}},this.bucketEventEmitters[t.Bucket]=x),x.s){x.e.push(function(){c.doNegotiation(e,t,o,r,i,n)});return}x.e=[],x.s=1}this.doExec(gr,r?{Bucket:t.Bucket,hasRegion:t.hasRegion,region:t.region||t.bucketRegion}:{},function(l,a){if(l){o(l,null),x&&(x.s=0,x.n());return}if(r&&a.CommonMsg.Status===404||a.CommonMsg.Status>=500){o(l,a),x&&(x.s=0,x.n());return}let d=Cr;a.CommonMsg.Status<300&&a.InterfaceResult&&a.InterfaceResult.ApiVersion>="3.0"&&(d=Mi),n&&(c.bucketSignatureCache[t.Bucket]={signatureContext:d,expireTime:new Date().getTime()+15+Math.ceil(Math.random()*5)*60*1e3}),x&&(x.s=0,x.n()),t.signatureContext=d;let p=c.makeParam(e,t);if("err"in p)return o(p.err,null);p.signatureContext=d,c.sendRequest(e,p,o)})},H.prototype.exec=function(e,t,o){let r=this;if(r.isSignatureNegotiation&&e!==gr){if(e==="ListBuckets")r.doNegotiation(e,t,o,!1,!1,!1);else if($0.indexOf(e)>-1){let i=function(n,x){if(!n&&x.CommonMsg.Status===400&&x.CommonMsg.Message==="Unsupported Authorization Type"&&t.signatureContext&&t.signatureContext.signature==="v2"){t.signatureContext=Cr;let c=r.makeParam(e,t);if("err"in c)return o(c.err,null);c.signatureContext=t.signatureContext,r.sendRequest(e,c,o);return}o(n,x)};r.doNegotiation(e,t,i,!1,!0,!1)}else r.doNegotiation(e,t,o,!0,!0,!0);return}r.doExec(e,t,o)},H.prototype.sliceBlob=function(e,t,o,r){return r=r||e.type,e.mozSlice?e.mozSlice(t,o,r):e.webkitSlice?e.webkitSlice(t,o,r):e.slice(t,o,r)},H.prototype.toXml=function(e,t,o,r,i){let n="";if(o!==null)return n+=this.buildXml(e,t,o,r,i),n;for(let x in t)if(x in e){let c=t[x].sentAs||x;n+=this.buildXml(e,t[x],x,c,i)}return n},H.prototype.buildXml=function(e,t,o,r,i){let n="",x=t.type;if(x==="array")for(let c=0;c<e[o].length;c++)if(t.items.type==="object"){if(!e[o][c])return n;let l=this.toXml(e[o][c],t.items.parameters,null,null,i);l!==""&&(n+="<"+r+">"+l+"</"+r+">")}else t.items.type==="adapter"?n+="<"+r+">"+String(this[o+"Adapter"](e[o][c],i)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":t.items.type!=="array"&&(n+="<"+r+">"+String(e[o][c]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");else if(x==="object"){if(!e[o])return n;let c=this.toXml(e[o],t.parameters,null,null,i);c!==""&&(n+="<"+r,"data"in t&&("xsiNamespace"in t.data&&(n+=' xmlns:xsi="'+t.data.xsiNamespace+'"'),"xsiType"in t.data&&(n+=' xsi:type="'+e[o][t.data.xsiType]+'"')),n+=">",n+=c+"</"+r+">")}else x==="adapter"?n+="<"+r+">"+String(this[o+"Adapter"](e[o],i)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":x!=="ignore"&&(n+="<"+r+">"+String(e[o]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");if(n&&t.wrapper){let c=t.wrapper;n="<"+c+">"+n+"</"+c+">"}return n},H.prototype.jsonToObject=function(e,t,o,r){let i={};if(o!==null)this.buildObject(e,t,o,i,r);else for(let n in e)({}).hasOwnProperty.call(e,n)&&this.buildObject(e,t,n,i,r);return i},H.prototype.buildObject=function(e,t,o,r,i){let n=function(x){return x===void 0?"":x&&e[o].decode&&i?decodeURIComponent(x.replace(/\+/g,"%20")):x};if(br(t)){let x=!0,c=e[o].wrapper;if(c&&c in t&&(t=t[c],x=br(t)),x){let l=e[o].sentAs||o;if(l in t)if(e[o].type==="object")r[o]=this.jsonToObject(e[o].parameters,t[l],null,i);else if(e[o].type==="array"){let a=[];if(!Q0(t[l]))a[0]=e[o].items.type==="object"?this.jsonToObject(e[o].items.parameters,t[l],null,i):n(t[l]["#text"]||"");else for(let d=0;d<t[l].length;d++)a[d]=e[o].items.type==="object"?this.jsonToObject(e[o].items.parameters,t[l][d],null,i):n(t[l][d]["#text"]);r[o]=a}else r[o]=n(t[l]["#text"])}}r[o]===void 0&&(e[o].type==="object"?r[o]=e[o].parameters?this.jsonToObject(e[o].parameters,null,null,i):{}:e[o].type==="array"&&(r[o]=[]))},H.prototype.makeParam=function(e,t){let o=t.signatureContext||this.signatureContext,r=o.signature==="obs"?Et[e]:Dt[e],i=r.httpMethod,n="/",x="",c="",l={},a={};a.$requestParam=t,"urlPath"in r&&(x+="?",x+=r.urlPath);for(let p in r.parameters)if({}.hasOwnProperty.call(r.parameters,p)){let s=r.parameters[p];if(p==="Bucket"&&this.isCname)continue;let u=t[p];if(s.type==="callback"&&u===void 0&&s.parameters&&(t.CallbackUrl!==void 0||t.CallbackBody!==void 0)){u={};for(let h of Object.keys(s.parameters)){const m=s.parameters[h],f=t[h];if(m.required&&(f==null||Object.prototype.toString.call(f)==="[object String]"&&f===""))return a.err=h+" is a required element!",this.log.runLog("error",e,a.err),a;const C=h.slice(0,1).toLowerCase()+h.slice(1);u[C]=f}}if(s.required&&(u==null||Object.prototype.toString.call(u)==="[object String]"&&u===""))return a.err=p+" is a required element!",this.log.runLog("error",e,a.err),a;if(u!=null){if(s.type==="srcFile"||s.type==="dstFile"){a[s.type]=u;continue}s.type==="plain"&&(a[p]=u);let h=s.sentAs||p;if(s.withPrefix&&(h=o.headerPrefix+h),s.location==="uri")n!=="/"&&(n+="/"),n+=u;else if(s.location==="header"){let m=s.encodingSafe||" ;/?:@&=+$,";if(s.type==="object"){if(o.headerMetaPrefix===h){for(let f in u)if({}.hasOwnProperty.call(u,f)){let C=u[f];f=String(f).trim().toLowerCase(),l[f.indexOf(h)===0?f:h+f]=Y(C,m)}}}else if(s.type==="array"){let f=[];for(let C in u)({}).hasOwnProperty.call(u,C)&&(f[C]=Y(u[C],m));l[h]=f}else if(s.type==="password"){let f=window.btoa?window.btoa:ft.encode;l[h]=f(u);let C=s.pwdSentAs||h+"-MD5";l[C]=this.rawBufMD5(u)}else if(s.type==="number"&&Number(u))l[h]=Y(String(u),m);else if(s.type==="boolean")l[h]=Y(u?"true":"false",m);else if(s.type==="callback")l[h]=ft.encode(JSON.stringify(u));else if(s.type==="adapter"){let f=this[p+"Adapter"](u,o);f&&(l[h]=Y(String(f),m))}else l[h]=Y(String(u),m,s.skipEncoding)}else if(s.location==="urlPath"){let m=x===""?"?":"&",f=u;(s.type!=="number"||s.type==="number"&&Number(f)>=0)&&(x+=m+Y(h,"/")+"="+Y(String(f),"/"))}else if(s.location==="xml"){let m=this.toXml(t,s,p,h,o);m&&(c+=m)}else s.location==="body"&&(c=u)}}let d=a.dstFile==="file";if(!("Content-Type"in l)&&!d&&(l["Content-Type"]="binary/octet-stream"),"data"in r&&"xmlRoot"in r.data&&(c||r.data.xmlAllowEmpty)){let p=r.data.xmlRoot;c="<"+p+">"+c+"</"+p+">",l["Content-Type"]="application/xml"}if(d&&(a.rawUri=n),l.Host=this.server+(this.port===80||this.port===443?"":":"+this.port),!this.pathStyle&&!this.isCname){let p=n.split("/");if(p.length>=2&&p[1]){l.Host=p[1]+"."+l.Host;let s=n.replace(p[1],"");s.indexOf("//")===0&&(s=s.slice(1)),o.signature==="v4"?n=s:s==="/"&&(n+="/"),a.requestUri=Y(s,"/")}}if(a.method=i,a.uri=Y(n,"/"),a.urlPath=x,c&&(r.data&&r.data.md5&&(this.checkAlgorithm===dt?l[`${o.headerPrefix}${dt.toLowerCase()}`]=this.bufSHA256(c,"hex"):l[Tt]=this.bufMD5(c),l["Content-Length"]=c.length===0?"0":String(c.length)),a.xml=c,this.log.runLog("debug",e,"request content:"+c)),a.headers=l,"srcFile"in a&&(a.srcFile instanceof window.File||a.srcFile instanceof window.Blob)){let p=a.srcFile.size;if("Content-Length"in a.headers||"PartSize"in a||"Offset"in a){let s=a.Offset;s=s&&s>=0&&s<p?s:0;let u;"PartSize"in a?u=a.PartSize:"Content-Length"in a.headers?u=parseInt(a.headers["Content-Length"],10):u=p,u=u&&u>0&&u<=p-s?u:p-s,a.PartSize=u,a.Offset=s,a.headers["Content-Length"]=String(a.PartSize)}}return a},H.prototype.parseCommonHeaders=function(e,t,o){for(let r in yr)({}).hasOwnProperty.call(yr,r)&&(e.InterfaceResult[yr[r]]=t[r]);e.InterfaceResult.RequestId=t[o.headerPrefix+"request-id"],e.InterfaceResult.Id2=t[o.headerPrefix+"id-2"],e.CommonMsg.RequestId=e.InterfaceResult.RequestId,e.CommonMsg.Id2=e.InterfaceResult.Id2},H.prototype.contrustCommonMsg=function(e,t,o,r){e.InterfaceResult={},this.parseCommonHeaders(e,o,r);for(let i in t){if(t[i].location!=="header")continue;let n=t[i].sentAs||i;if(t[i].withPrefix&&(n=r.headerPrefix+n),t[i].type==="object")e.InterfaceResult[i]=X0(n,o);else{let x=null;n in o?x=o[n]:n.toLowerCase()in o&&(x=o[n.toLowerCase()]),x!==null&&(e.InterfaceResult[i]=x)}}},H.prototype.getRequest=function(e,t,o,r,i,n){let x=this.regionDomains,c={},l=this.log,a=o.signature==="obs"?Et[e+"Output"]:Dt[e+"Output"];a=a||{};let d=a.parameters||{};c.CommonMsg={Status:t.status,Code:"",Message:"",HostId:"",RequestId:"",InterfaceResult:null};let p=t.headers,s=je(p);l.runLog("info",e,"get response start, statusCode:"+t.status),l.runLog("debug",e,"response msg :statusCode:"+t.status+", headers:"+s);let u=function(){let f="Status:"+c.CommonMsg.Status+", Code:"+c.CommonMsg.Code+", Message:"+c.CommonMsg.Message;l.runLog("debug",e,"exec interface "+e+" finish, "+f),n(null,c)};if(t.status>=300&&t.status<400&&t.status!==304&&r<=5){let f=p.location||p.Location;if(f){let A="http code is 3xx, need to redirect to "+f;l.runLog("warn",e,A);let y=new Error("redirect");return y.location=f,y.bucketLocation=p["x-amz-bucket-region"]||p["x-obs-bucket-region"],n(y)}let C=p["x-amz-bucket-region"]||p["x-obs-bucket-location"];if(C&&x[C]){let A=(this.isSecure?"https://":"http://")+x[C];De(this.setRequestHeaderHook)&&this.setRequestHeaderHook(p,i,e,x[C]);let y="get redirect code 3xx, need to redirect to"+A;l.runLog("error",e,y);let g=new Error("redirect");return g.location=A,n(g)}l.runLog("error",e,"get redirect code 3xx, but no location in headers")}if(t.status<300){let f=t.data;this.contrustCommonMsg(c,d,p,o);let C="Status: "+c.CommonMsg.Status+", headers: "+s;if(f&&(C+="body length: "+f.length,l.runLog("debug",e,"response body length:"+f.length)),l.runLog("debug",e,C),f&&"data"in a){if(i.CallbackUrl&&a.CallbackResponse){c.InterfaceResult[a.CallbackResponse.sentAs]=Ii(f),u();return}if(a.data.type==="xml"){let A=this;return Li(f,function(y,g){if(y)return l.runLog("error",e,"change xml to json err ["+je(y)+"]"),n(y,null);let b=g;a.data.xmlRoot&&a.data.xmlRoot in b&&(b=g[a.data.xmlRoot]);let P=!!b.EncodingType;if(br(b))for(let w in d)d[w].location==="xml"&&(c.InterfaceResult[w]=A.jsonToObject(d,b,w,P)[w]);u()})}if(a.data.type==="body"){for(let A in d)if(d[A].location==="body"){c.InterfaceResult[A]=Ii(f);break}}}return u()}let h=t.data,m="Status: "+c.CommonMsg.Status+", headers: "+s;return h!==""&&(m+="body: "+h,l.runLog("debug",e,"response body :"+h)),c.CommonMsg.RequestId=p[o.headerPrefix+"request-id"],c.CommonMsg.Id2=p[o.headerPrefix+"id2"],c.CommonMsg.Indicator=p["x-reserved-indicator"],l.runLog("info",e,"request finished with request id:"+c.CommonMsg.RequestId),l.runLog("debug",e,m),h?Li(h,function(f,C){if(f)l.runLog("error",e,"change xml to json err ["+je(f)+"]"),c.CommonMsg.Message=f.message;else if(C){if("Error"in C){let A=C.Error;for(let y in A)A[y]&&A[y]["#text"]&&(c.CommonMsg[y]=A[y]["#text"])}else{let A=C;"code"in A&&(c.CommonMsg.Code=A.code),"message"in A&&(c.CommonMsg.Message=A.message),"hostId"in A&&(c.CommonMsg.HostId=A.hostId),"request_id"in A&&A.request_id&&(c.CommonMsg.RequestId=A.request_id)}l.runLog("error",e,"request error with error code:"+c.CommonMsg.Code+", error message:"+c.CommonMsg.Message+", request id:"+c.CommonMsg.RequestId)}u()}):u()},H.prototype.makeRequest=function(e,t,o,r){let i=this.log,n=t.xml||null,x=t.signatureContext||this.signatureContext;if(delete t.headers.Authorization,t.dstFile==="file"){let k={};if(t.urlPath){let $=t.urlPath.slice(1).split("&");for(let W=0;W<$.length;W++)if($[W].indexOf("=")===-1)k[$[W]]="";else{let T=$[W].split("=");k[T[0]]=T[1]}}let D=t.rawUri.split("/")[1],L=t.rawUri.slice(("/"+D+"/").length);this.isCname&&(L=t.rawUri.slice(1),D="");let _={};_.CommonMsg={Status:0,Code:"",Message:"",HostId:""},_.InterfaceResult={};let G=(x.signature==="obs"?Et[e+"Output"]:Dt[e+"Output"]).parameters;for(let j in G)if(G[j].location==="body"){_.InterfaceResult[j]=this.createSignedUrlSync({Method:t.method,Bucket:D,Key:L,Expires:3600,Headers:t.headers,QueryParams:k,signatureContext:x});break}return r(null,_)}let c=t.$requestParam.RequestDate,l,a=Object.prototype.toString.call(c);if(a==="[object Date]")l=c;else if(a==="[object String]")try{l=new Date,l.setTime(Date.parse(c))}catch{}l||(l=new Date);let d=l.toUTCString(),p=x.signature.toLowerCase()==="v4";t.headers[x.headerPrefix+"date"]=p?mt(d)[1]:d;let s=(t.requestUri?t.requestUri:t.uri)+t.urlPath;this.ak&&this.sk&&e!==gr&&(this.securityToken&&(t.headers[x.headerPrefix+"security-token"]=this.securityToken),p?this.v4Auth(t,e,x):this.doAuth(t,e,x));let u=t.headers;De(this.setRequestHeaderHook)&&this.setRequestHeaderHook(u,t.$requestParam,e);let h=u.Host,m=t.method,f={};for(let k in u)({}).hasOwnProperty.call(u,k)&&(f[k]=u[k]);f.Authorization="****";let C="method:"+m+", path:"+s+"headers:"+je(f);n&&(C+="body:"+n),i.runLog("info",e,"prepare request parameters ok,then Send request to service start"),i.runLog("debug",e,"request msg:"+C);let A=t.protocol?t.protocol.toLowerCase().indexOf("https")===0:this.isSecure,y=t.port||this.port;delete u.Host,delete u["Content-Length"];let g="text";t.dstFile&&t.dstFile!=="file"&&(t.dstFile==="arraybuffer"||t.dstFile==="blob")&&(g=String(t.dstFile));let b=l.getTime(),P=this,w=function(k){try{let S=je(k);i.runLog("error",e,"Send request to service error ["+S+"]")}catch{k.toString&&i.runLog("error",e,"Send request to service error ["+k.toString()+"]")}i.runLog("info",e,"http cost "+(new Date().getTime()-b)+" ms"),r(k,null)};if(!this.useRawXhr){let k=null,S=null;if(De(t.ProgressCallback)){let G=function(j){j.lengthComputable&&t.ProgressCallback(j.loaded,j.total,(new Date().getTime()-b)/1e3)};m==="GET"?S=G:(m==="PUT"||m==="POST")&&(k=G)}let D=":"+y;h.indexOf(":")>=0&&(D="");let L="",_=A?"https://":"http://";if(this.urlPrefix&&De(this.setRequestHeaderHook)&&e!=="UploadPart"){let G=!0;(t.$requestParam.hasRegion||t.$requestParam.redirectRegion)&&(G=!1);let j="";y===5443&&(j="-5443"),G?t.$requestParam.Bucket?(t.$requestParam.Bucket.indexOf(".")!==-1&&(L=_+this.urlPrefix+"/bucket"+j),L=_+this.urlPrefix+"/bucket"+j):s.split("?")[0]==="/"?L=_+this.urlPrefix+j:L=_+this.urlPrefix+"/place"+j:t.$requestParam.Bucket?L=_+this.urlPrefix+"/region-bucket"+j:L=_+this.urlPrefix+"/region"+j}else L=_+h+D;let U={method:m,url:L+s,withCredentials:!1,headers:u,validateStatus:function(G){return G>=200},maxRedirects:0,responseType:g,data:n,timeout:this.timeout*1e3,onUploadProgress:k,onDownloadProgress:S,cancelToken:new Pe.CancelToken(function(G){t.$requestParam.cancelHook=G})};if(t.srcFile){if(!(t.srcFile instanceof window.File)&&!(t.srcFile instanceof window.Blob))return r(new Error("source file must be an instance of window.File or window.Blob"),null);let G=t.srcFile;try{if(t.Offset>=0&&t.PartSize>0)G=this.sliceBlob(G,t.Offset,t.Offset+t.PartSize);else if("ContentLength"in t){let j=parseInt(t.ContentLength,10);j>0&&(G=this.sliceBlob(G,0,j))}}catch(j){return r(j)}U.data=G}_0.request(U).then(function(G){i.runLog("info",e,"http cost "+(new Date().getTime()-b)+" ms"),P.getRequest(e,G,x,o,t.$requestParam,r)}).catch(function(G){w(G)});return}let E=null;try{E=new XMLHttpRequest}catch{try{E=new ActiveXObject("Msxml2.XMLHTTP")}catch{try{E=new ActiveXObject("Microsoft.XMLHTTP")}catch{}}}if(E===null)return r(new Error("XHR is not available"),null);if(t.srcFile){if(!(t.srcFile instanceof window.File)&&!(t.srcFile instanceof window.Blob))return r(new Error("source file must be an instance of window.File or window.Blob"),null);try{let k=t.srcFile;if(t.Offset>=0&&t.PartSize>0)k=this.sliceBlob(k,t.Offset,t.Offset+t.PartSize);else if("ContentLength"in t){let S=parseInt(t.ContentLength,10);S>0&&(k=this.sliceBlob(k,0,S))}n=k}catch(k){return r(k)}}E.open(m,(A?"https://"+this.urlPrefix+h:"http://"+this.urlPrefix+h)+s),E.withCredentials=!1;for(let k in u)({}).hasOwnProperty.call(u,k)&&E.setRequestHeader(k,u[k]);E.timeout=P.timeout*1e3,E.responseType=g,t.$requestParam.cancelHook=function(){E.abort()},E.onreadystatechange=function(){if(E.readyState===4&&E.status>=200){i.runLog("info",e,"http cost "+(new Date().getTime()-b)+" ms");let S=E.getAllResponseHeaders().trim().split(/[\r\n]+/),D={};for(let U=0;U<S.length;U++){let j=S[U].split(": "),$=j.shift(),W=j.join(": ");D[$.toLowerCase()]=W}let L=E.response;!L&&(g===""||g==="text")&&(L=E.responseText);let _={status:E.status,headers:D,data:L};P.getRequest(e,_,x,o,t.$requestParam,r)}};let M=!1,B=function(k){M||(M=!0,w(k))};E.ontimeout=function(){B(new Error("timeout of "+E.timeout+"ms exceed"))},E.onerror=function(){B(new Error("Network Error"))},E.onabort=function(){B(new Error("Cancel"))},E.upload&&(E.upload.ontimeout=function(){B(new Error("timeout of "+E.timeout+"ms exceed"))},E.upload.onerror=function(){B(new Error("Network Error"))},E.upload.onabort=function(k){B(new Error("Cancel"))}),De(t.ProgressCallback)&&(m==="GET"||!E.upload?E.onprogress=function(k){k.lengthComputable&&t.ProgressCallback(k.loaded,k.total,(new Date().getTime()-b)/1e3)}:(m==="PUT"||m==="POST")&&(E.upload.onprogress=function(k){k.lengthComputable&&t.ProgressCallback(k.loaded,k.total,(new Date().getTime()-b)/1e3)})),E.send(n)},H.prototype.sendRequest=function(e,t,o,r){r===void 0&&(r=1);let i=!1;r<=t.$requestParam.maxPartRetryCount&&(i=!0);const n=t.headers.Host;let x=this;x.makeRequest(e,t,r,function(c,l){if(c&&c.message==="redirect"){let a=j0.parse(c.location);c.bucketLocation&&a.hostname.indexOf(t.$requestParam.Bucket)!==-1&&(t.$requestParam.redirectRegion=c.bucketLocation),t.headers.Host=a.hostname,t.protocol=a.protocol,t.port=a.port||(t.protocol&&t.protocol.toLowerCase().indexOf("https")===0?443:80),x.sendRequest(e,t,o,r+1)}else e==="UploadPart"&&i&&(c||l.CommonMsg.Status>300)?(t.headers.Host=n,x.sendRequest(e,t,o,r+1)):o(c,l)})},H.prototype.doAuth=function(e,t,o){let r=["Content-MD5","Content-Type"],i=e.method+`
|
|
19
|
+
`;for(let c=0;c<r.length;c++)r[c]in e.headers&&(i+=e.headers[r[c]]),i+=`
|
|
20
|
+
`;o.headerPrefix+"date"in e.headers||(i+=e.headers.Date),i+=`
|
|
21
|
+
`;let n=[];for(let c in e.headers)if({}.hasOwnProperty.call(e.headers,c)){let l=c.toLowerCase();l.indexOf(o.headerPrefix)===0&&n.push({key:l,value:e.headers[c]})}n=n.sort(function(c,l){return c.key<l.key?-1:c.key>l.key?1:0});for(let c=0;c<n.length;c++){let l=n[c].key,a=l.indexOf(o.headerMetaPrefix)===0?n[c].value.trim():n[c].value;i+=l+":"+a+`
|
|
22
|
+
`}let x=e.uri;if(this.isCname&&(x==="/"?x+=e.headers.Host+"/":x.indexOf("/")===0&&(x="/"+e.headers.Host+x)),e.urlPath){let l=e.urlPath.slice(1).split("&").sort(),a="";for(let d=0;d<l.length;d++){let p=l[d].split("="),s=decodeURIComponent(p[0]);Ti.indexOf(s.toLowerCase())>=0&&(a+=a===""?"?":"&",a+=s,p.length===2&&p[1]&&(a+="="+decodeURIComponent(p[1])))}x+=a}i+=x,this.log.runLog("debug",t,"stringToSign:"+i),e.headers.Authorization=o.authPrefix+" "+this.ak+":"+ae.createHmac("sha1",this.sk).update(i).digest("base64")},H.prototype.v4Auth=function(e,t,o){e.headers[o.headerPrefix+"content-sha256"]=Di;let r=e.headers,i=this.log,n=null,x=null;if(o.headerPrefix+"date"in r)x=r[o.headerPrefix+"date"],n=x.slice(0,x.indexOf("T"));else{let h=mt(r.Date);n=h[0],x=h[1]}let c=this.ak+"/"+n+"/"+this.region+"/s3/aws4_request",l=_i(r),a=l[0],d=l[1],p="";if(e.urlPath){let m=e.urlPath.slice(1).split("&");m=m.sort();for(let f=0;f<m.length;f++)p+=m[f],m[f].indexOf("=")===-1&&(p+="="),f!==m.length-1&&(p+="&")}let s=e.method+`
|
|
23
|
+
`;s+=e.uri+`
|
|
24
|
+
`,s+=p+`
|
|
25
|
+
`,s+=d+`
|
|
26
|
+
`,s+=a+`
|
|
27
|
+
`,s+=Di,i.runLog("debug",t,"canonicalRequest:"+s);let u=Gi(n,x,this.sk,this.region,s);e.headers.Authorization="AWS4-HMAC-SHA256 Credential="+c+",SignedHeaders="+a+",Signature="+u},H.prototype.bufMD5=function(e){return ae.createHash("md5").update(e).digest("base64")},H.prototype.bufSHA256=function(e,t="base64"){return ae.createHash("sha256").update(e).digest(t)},H.prototype.rawBufMD5=function(e){return ae.createHash("md5").update(e).digest("rawbase64")},H.prototype.createSignedUrl=function(e){return(e.signatureContext||this.signatureContext).signature.toLowerCase()==="v4"?this.createV4SignedUrlSync(e):this.createV2SignedUrl(e)},H.prototype.createSignedUrlSync=function(e){return(e.signatureContext||this.signatureContext).signature.toLowerCase()==="v4"?this.createV4SignedUrlSync(e):this.createV2SignedUrlSync(e)},H.prototype.getStringToSign=function(e,t){let{isShareFolder:o,queryParams:r,queryParamsKeys:i}=e,n=t.signatureContext||this.signatureContext,x=t.Method?String(t.Method):"GET",c=t.Bucket?String(t.Bucket):null,l=t.Key?String(t.Key):null,a=t.Policy?String(t.Policy):null,d=t.Expires?parseInt(t.Expires,10):300;d<0&&(d=300),d=parseInt(new Date().getTime()/1e3,10)+d;let p={};if(t.Headers&&t.Headers instanceof Object&&!(t.Headers instanceof Array))for(let y in t.Headers)({}).hasOwnProperty.call(t.Headers,y)&&(p[y]=t.Headers[y]);let s={};for(let y in p)if({}.hasOwnProperty.call(p,y)){let g=String(y).toLowerCase();(g==="content-type"||g==="content-md5"||g.length>n.headerPrefix.length&&g.slice(0,n.headerPrefix.length)===n.headerPrefix)&&(s[g]=p[y])}let u="",h=this.server;this.isCname?u+="/"+h+"/":c&&(u+="/"+c,this.pathStyle||(h=c+"."+h,u+="/")),l&&(u.lastIndexOf("/")!==u.length-1&&(u+="/"),l=Y(l,"/"),u+=l),u===""&&(u="/"),i.sort();let m=!1,f=[],C=o?"":"/";for(let y=0;y<i.length;y++){let g=i[y],b=r[g];if(g=Y(g,C),b=Y(b,C),(!o||g.toLowerCase()!=="policy")&&(Ti.indexOf(g.toLowerCase())>=0||g.toLowerCase().indexOf(n.headerPrefix)===0)){m=!0;let P=b?g+"="+decodeURIComponent(b):g;f.push(P)}}f=f.join("&"),m&&(f="?"+f),u+=f;let A=[x];if(A.push(`
|
|
28
|
+
`),"content-md5"in s&&A.push(s["content-md5"]),A.push(`
|
|
29
|
+
`),"content-type"in s&&A.push(s["content-type"]),A.push(`
|
|
30
|
+
`),o?A.push(a):A.push(String(d)),A.push(`
|
|
31
|
+
`),o)A.push(f);else{let y=[],g=0;for(let b in s)b.length>n.headerPrefix.length&&b.slice(0,n.headerPrefix.length)===n.headerPrefix&&(y[g++]=b);y=y.sort();for(let b=0;b<y.length;b++)A.push(y[b]),A.push(":"),A.push(s[y[b]]),A.push(`
|
|
32
|
+
`);A.push(u)}return{stringToSign:A.join(""),headers:p,host:h}};function Y0(e,t){if(["storageClass","storagePolicy"].includes(e)){if(t==="obs")return"storageClass";if(t==="v2")return"storagePolicy"}}H.prototype.getQueryParams=function(e){let t=e.Policy?String(e.Policy):null,o=e.Prefix?String(e.Prefix):null,r=e.Expires?parseInt(e.Expires,10):300,i={};if(e.QueryParams&&e.QueryParams instanceof Object&&!(e.QueryParams instanceof Array))for(let d of Object.keys(e.QueryParams))i[d]=e.QueryParams[d];let n=e.SpecialParam?String(e.SpecialParam):null,x=e.signatureContext||this.signatureContext,c=Y0(n,x.signature.toLowerCase());if(c&&(n=c),n&&(i[n]=""),e.AfterStringToSign){const d="$";i[x.headerPrefix+"security-token"]=d+"{hws:security-token}"}else this.securityToken&&!i[x.headerPrefix+"security-token"]&&(i[x.headerPrefix+"security-token"]=this.securityToken);r<0&&(r=300),r=parseInt(new Date().getTime()/1e3,10)+r;let l=t&&o;l?(i.Policy=t,i.prefix=o):i.Expires=String(r);let a=[];return Object.keys(i).forEach(d=>{a.push(d)}),a.sort(),{isShareFolder:l,queryParams:i,queryParamsKeys:a}},H.prototype.getSignResult=function(e,t,o){let{bucketName:r,objectKey:i,signatureContext:n,isShareFolder:x,queryParams:c,queryParamsKeys:l}=e;o&&(c[n.headerPrefix+"security-token"]=o),n.signature.toLowerCase()==="v2"?(c.AWSAccessKeyId=t,l.push("AWSAccessKeyId")):(c.AccessKeyId=t,l.push("AccessKeyId"));let a="";r&&this.pathStyle&&(a+="/"+r),i&&(i=Y(i,"/"),a+="/"+i),a+="?",l.sort();let d=x?"":"/";for(let p=0;p<l.length;p++){let s=l[p],u=c[s];s=Y(s,d),u=Y(u,d),a+=s,u&&(a+="="+u),a+="&"}return a},H.prototype.createV2SignedUrl=function(e){const t=this.isSecure,o=this.port;let{isShareFolder:r,queryParams:i,queryParamsKeys:n}=this.getQueryParams(e),{stringToSign:x,headers:c,host:l}=this.getStringToSign({isShareFolder:r,queryParams:i,queryParamsKeys:n},e),a={bucketName:e.Bucket?String(e.Bucket):null,objectKey:e.Key?String(e.Key):null,signatureContext:e.signatureContext||this.signatureContext,isShareFolder:r,queryParams:i,queryParamsKeys:n};if(De(e.AfterStringToSign))return Promise.resolve(e.AfterStringToSign(x)).then(({signature:p,ak:s,stsToken:u})=>{let h=this.getSignResult(a,s,u);return d(p,h)});function d(p,s){return r?s+="Signature="+Y(p):s+="Signature="+Y(p,"/"),{ActualSignedRequestHeaders:c,SignedUrl:(t?"https":"http")+"://"+l+":"+o+s}}},H.prototype.createV2SignedUrlSync=function(e){let{isShareFolder:t,queryParams:o,queryParamsKeys:r}=this.getQueryParams(e),{stringToSign:i,headers:n,host:x}=this.getStringToSign({isShareFolder:t,queryParams:o,queryParamsKeys:r},e),c={bucketName:e.Bucket?String(e.Bucket):null,objectKey:e.Key?String(e.Key):null,signatureContext:e.signatureContext||this.signatureContext,isShareFolder:t,queryParams:o,queryParamsKeys:r},l=this.getSignResult(c,this.ak,this.securityToken),a=ae.createHmac("sha1",this.sk);return a.update(i),t?l+="Signature="+Y(a.digest("base64")):l+="Signature="+Y(a.digest("base64"),"/"),{ActualSignedRequestHeaders:n,SignedUrl:(this.isSecure?"https":"http")+"://"+x+":"+this.port+l}},H.prototype.createV4SignedUrlSync=function(e){e=e||{};let t=e.signatureContext||this.signatureContext,o=e.Method?String(e.Method):"GET",r=e.Bucket?String(e.Bucket):null,i=e.Key?String(e.Key):null,n=e.SpecialParam?String(e.SpecialParam):null;n==="storageClass"&&(n="storagePolicy");let x=e.Expires?parseInt(e.Expires,10):300,c={};if(e.Headers&&e.Headers instanceof Object&&!(e.Headers instanceof Array))for(let P in e.Headers)({}).hasOwnProperty.call(e.Headers,P)&&(c[P]=e.Headers[P]);let l={};if(e.QueryParams&&e.QueryParams instanceof Object&&!(e.QueryParams instanceof Array))for(let P in e.QueryParams)({}).hasOwnProperty.call(e.QueryParams,P)&&(l[P]=e.QueryParams[P]);this.securityToken&&!l[t.headerPrefix+"security-token"]&&(l[t.headerPrefix+"security-token"]=this.securityToken);let a="",d="",p=this.server;r&&(this.pathStyle?(a+="/"+r,d+="/"+r):p=r+"."+p),i&&(i=Y(i,"/"),a+="/"+i,d+="/"+i),d===""&&(d="/"),a+="?",n&&(l[n]=""),x<0&&(x=300);let s=c.date||c.Date||new Date().toUTCString(),u=mt(s),h=u[0],m=u[1];c.Host=p+(this.port===80||this.port===443?"":":"+this.port),l["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",l["X-Amz-Credential"]=this.ak+"/"+h+"/"+this.region+"/s3/aws4_request",l["X-Amz-Date"]=m,l["X-Amz-Expires"]=String(x);let f=_i(c);l["X-Amz-SignedHeaders"]=f[0];let C={},A=[];for(let P in l)if({}.hasOwnProperty.call(l,P)){let w=l[P];P=Y(P,"/"),w=Y(w),C[P]=w,A.push(P),a+=P,w&&(a+="="+w),a+="&"}let y="";A.sort();for(let P=0;P<A.length;)y+=A[P]+"="+C[A[P]],++P!==A.length&&(y+="&");let g=o+`
|
|
33
|
+
`;g+=d+`
|
|
34
|
+
`,g+=y+`
|
|
35
|
+
`,g+=f[1]+`
|
|
36
|
+
`,g+=f[0]+`
|
|
37
|
+
`,g+="UNSIGNED-PAYLOAD";let b=Gi(h,m,this.sk,this.region,g);return a+="X-Amz-Signature="+Y(b),{ActualSignedRequestHeaders:c,SignedUrl:(this.isSecure?"https":"http")+"://"+p+":"+this.port+a}},H.prototype.createPostSignatureSync=function(e){let t=e.signatureContext||this.signatureContext;if(t.signature==="v4")return this.createV4PostSignatureSync(e);e=e||{};let o=e.Bucket?String(e.Bucket):null,r=e.Key?String(e.Key):null,i=e.Expires?parseInt(e.Expires,10):300,n={};if(e.FormParams&&e.FormParams instanceof Object&&!(e.FormParams instanceof Array))for(let u in e.FormParams)({}).hasOwnProperty.call(e.FormParams,u)&&(n[u]=e.FormParams[u]);this.securityToken&&!n[t.headerPrefix+"security-token"]&&(n[t.headerPrefix+"security-token"]=this.securityToken);let x=new Date;x.setTime(parseInt(new Date().getTime(),10)+i*1e3),x=qi(x.toUTCString()),o&&(n.bucket=o),r&&(n.key=r);let c=[];c.push('{"expiration":"'),c.push(x),c.push('", "conditions":[');let l=!0,a=!0,d=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(let u in n){if(!u)continue;let h=n[u];u=String(u).toLowerCase(),u==="bucket"?l=!1:u==="key"&&(a=!1),!(Fi.indexOf(u)<0&&d.indexOf(u)<0&&u.indexOf(t.headerPrefix)!==0)&&(c.push('{"'),c.push(u),c.push('":"'),c.push(h!==null?String(h):""),c.push('"},'))}l&&c.push('["starts-with", "$bucket", ""],'),a&&c.push('["starts-with", "$key", ""],'),c.push("]}");let p=c.join("");window.btoa?c=window.btoa(p):c=ft.encode(p);let s=ae.createHmac("sha1",this.sk).update(c).digest("base64");return{OriginPolicy:p,Policy:c,Signature:s,Token:this.ak+":"+s+":"+c}},H.prototype.createV4PostSignatureSync=function(e){e=e||{};let t=e.signatureContext||this.signatureContext,o=e.Bucket?String(e.Bucket):null,r=e.Key?String(e.Key):null,i=e.Expires?parseInt(e.Expires,10):300,n={};if(e.FormParams&&e.FormParams instanceof Object&&!(e.FormParams instanceof Array))for(let A in e.FormParams)({}).hasOwnProperty.call(e.FormParams,A)&&(n[A]=e.FormParams[A]);this.securityToken&&!n[t.headerPrefix+"security-token"]&&(n[t.headerPrefix+"security-token"]=this.securityToken);let x=new Date().toUTCString(),c=mt(x),l=c[0],a=c[1],d=this.ak+"/"+l+"/"+this.region+"/s3/aws4_request",p=new Date;p.setTime(parseInt(new Date().getTime(),10)+i*1e3),p=qi(p.toUTCString()),n["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",n["X-Amz-Date"]=a,n["X-Amz-Credential"]=d,o&&(n.bucket=o),r&&(n.key=r);let s=[];s.push('{"expiration":"'),s.push(p),s.push('", "conditions":[');let u=!0,h=!0,m=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(let A in n){if(!A)continue;let y=n[A];A=String(A).toLowerCase(),A==="bucket"?u=!1:A==="key"&&(h=!1),!(Fi.indexOf(A)<0&&m.indexOf(A)<0&&A.indexOf(t.headerPrefix)!==0)&&(s.push('{"'),s.push(A),s.push('":"'),s.push(y!==null?String(y):""),s.push('"},'))}u&&s.push('["starts-with", "$bucket", ""],'),h&&s.push('["starts-with", "$key", ""],'),s.push("]}");let f=s.join("");window.btoa?s=window.btoa(f):s=ft.encode(f);let C=ji(l,this.sk,this.region,s);return{OriginPolicy:f,Policy:s,Algorithm:n["X-Amz-Algorithm"],Credential:n["X-Amz-Credential"],Date:n["X-Amz-Date"],Signature:C}};const Ui=Number.MAX_VALUE,Hi=10,Ni=20,Ki=30,zi=40;function Pr(){this.consoleLog=window.console,this._level=Ui}Pr.prototype.setLevel=function(e){e&&(e=String(e).toLowerCase(),e==="info"?e=Ni:e==="warn"?e=Ki:e==="error"?e=zi:e==="debug"?e=Hi:e=Ui,this._level=e)},Pr.prototype.runLog=function(e,t,o){if(!e)return;let r=[new Date().toLocaleString(),e.toLowerCase(),t,o].join("|");e.toLowerCase()==="debug"&&this._level<=Hi?this.consoleLog.debug(r):e.toLowerCase()==="info"&&this._level<=Ni?this.consoleLog.info(r):e.toLowerCase()==="warn"&&this._level<=Ki?this.consoleLog.warn(r):e.toLowerCase()==="error"&&this._level<=zi&&this.consoleLog.error(r)};let Z0=function(e,t,o){e=e||function(){};let r=new Date().getTime();return function(i,n){return t.runLog("info",o,"ObsClient cost "+(new Date().getTime()-r)+" ms"),Object.prototype.toString.call(i)==="[object String]"?e(new Error(i),n):e(i,n)}},J0=function(e){return e=e||function(){},function(t,o,r){if(Object.prototype.toString.call(r)==="[object Error]")return e(t,o,r);if(Object.prototype.toString.call(r)==="[object String]")return e(t,o,new Error(r));if(r){if(r.CommonMsg.Status>300)return e(t,o,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message));e(t,o,r)}}},Wi=function(e){return Object.prototype.toString.call(e)==="[object String]"&&e.lastIndexOf("/")!==e.length-1&&(e+="/"),e},Vi={};Vi.extend=function(e){e.prototype.dropFile=function(t,o){this.deleteObject(t,o)},e.prototype.dropFolder=function(t,o){let r=this;t=t||{};let i=Z0(o,r.log,"dropFolder"),n=J0(t.EventCallback),x=t.TaskNum||1,c=0,l=[],a=function(){for(;c<x&&l.length>0;)l.shift()()},d=function(m,f,C,A){if(A){f.finished++,C(f);return}let y=function(){c++,r.dropFile({Bucket:f.bucket,Key:m},(g,b)=>{c--,f.finished++,a(),g?(n("dropFileFailed",m,g),f.subDeleted=!1):b.CommonMsg.Status>=300?(n("dropFileFailed",m,b),f.subDeleted=!1):n("dropFileSucceed",m,b),C(f)})};c<x?y():l.push(y)},p="/",s=function(m,f,C){return function(A){!A.isTruncated&&A.finished===A.total&&A.subDeleted&&d(m,f,C,!1)}},u=function(m,f,C,A,y){c++,r.listObjects({Bucket:f,Prefix:C,Delimiter:p,Marker:A},(g,b)=>{if(c--,g)return i(g);if(b.CommonMsg.Status>=300)return i(null,b);if(m.total+=b.InterfaceResult.Contents.length,m.total+=b.InterfaceResult.CommonPrefixes.length,m.total===0){y(m);return}m.isTruncated=b.InterfaceResult.IsTruncated==="true";let P=function(w){return function(){u({total:0,finished:0,isTruncated:!1,bucket:f,subDeleted:!0},f,w,null,s(w,m,y))}};for(let w=0;w<b.InterfaceResult.CommonPrefixes.length;w++){let E=Wi(b.InterfaceResult.CommonPrefixes[w].Prefix);c<x?u({total:0,finished:0,isTruncated:!1,bucket:f,subDeleted:!0},f,E,null,s(E,m,y)):l.push(P(E))}for(let w=0;w<b.InterfaceResult.Contents.length;w++){let E=b.InterfaceResult.Contents[w].Key;d(E,m,y,E.lastIndexOf(p)===E.length-1)}m.isTruncated&&(c<x?u(m,f,C,b.InterfaceResult.NextMarker,y):l.push(()=>{u(m,f,C,b.InterfaceResult.NextMarker,y)}))})},h=Wi(t.Prefix);u({total:0,finished:0,isTruncated:!1,bucket:t.Bucket,subDeleted:!0},t.Bucket,h,null,m=>{if(m.isTruncated||m.finished!==m.total)return;if(m.subDeleted){r.dropFile({Bucket:m.bucket,Key:h},(C,A)=>C?(n("dropFileFailed",h,C),i(C)):A.CommonMsg.Status>=300?(n("dropFileFailed",h,A),i(null,A)):(n("dropFileSucceed",h,A),i(null,A)));return}let f="drop folder "+h+" failed due to child file deletion failed";n("dropFileFailed",h,new Error(f)),i(f)})}};const ec=be.MD5,tc=be.enc.Base64,rc=100*1024,oc=9*1024*1024,$i=5*1024*1024*1024;let ic=function(e,t,o){e=e||function(){};let r=new Date().getTime();return function(i,n){return t.runLog("info",o,"ObsClient cost "+(new Date().getTime()-r)+" ms"),Object.prototype.toString.call(i)==="[object String]"?e(new Error(i),n):e(i,n)}},Xi=function(e){return Object.prototype.toString.call(e)==="[object Function]"},ac=function(e){return e=e||function(){},function(t,o,r){if(Object.prototype.toString.call(r)==="[object Error]")return e(t,o,r);if(Object.prototype.toString.call(r)==="[object String]")return e(t,o,new Error(r));if(r){if(r.CommonMsg.Status>300)return e(t,o,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message));e(t,o,r)}}},yt=function(e){let t=[];if(t.push(e.bucket),t.push(e.key),t.push(e.sourceFile.name),t.push(String(e.partSize)),t.push(String(e.partCount)),t.push(String(e.fileStat.fileSize)),t.push(String(e.fileStat.lastModified)),e.uploadId&&t.push(e.uploadId),e.sseC&&t.push(e.sseC),e.sseCKey&&t.push(e.sseCKey),e.parts)for(let o=0;o<e.parts.length;o++){let r=e.parts[o];r&&(t.push(String(r.partNumber)),t.push(String(r.offset)),t.push(String(r.partSize)),t.push(String(r.isCompleted)),r.etag&&t.push(String(r.etag)))}return tc.stringify(ec(t.join(""),!1,!0))},kr=function(e,t,o){e&&e.uploadId&&o.abortMultipartUpload({Bucket:e.bucket,Key:e.key,RequestDate:e.requestDate,UploadId:e.uploadId},(r,i)=>{if(r){o.log.runLog("warn",t,"abort multipart upload failed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId+", err:"+r);return}if(i.CommonMsg.Status>=300){o.log.runLog("warn",t,"abort multipart upload failed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId+", status:"+i.CommonMsg.Status+", code:"+i.CommonMsg.Code+", message:"+i.CommonMsg.Message);return}delete e.uploadId,o.log.runLog("warn",t,"abort multipart upload succeed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId)})},Qi=function(e){if(e.finishedCount<e.uploadCheckpoint.partCount)return;if(e.isAbort)return kr(e.uploadCheckpoint,e.funcName,e.that),e.callback("uploadFile failed the upload task is aborted");if(e.isSuspend)return e.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(e.hasError)return e.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");let t=[];for(let o=0;o<e.uploadCheckpoint.partCount;o++){let r=e.uploadCheckpoint.parts[o];t.push({PartNumber:r.partNumber,ETag:r.etag})}e.that.completeMultipartUpload({Bucket:e.uploadCheckpoint.bucket,Key:e.uploadCheckpoint.key,RequestDate:e.uploadCheckpoint.requestDate,UploadId:e.uploadCheckpoint.uploadId,Parts:t,CallbackUrl:e.callbackUrl,CallbackHost:e.callbackHost,CallbackBody:e.callbackBody,CallbackBodyType:e.callbackBodyType,ForbidOverwrite:e.forbidOverwrite},(o,r)=>{let i={bucket:e.uploadCheckpoint.bucket,key:e.uploadCheckpoint.key,uploadId:e.uploadCheckpoint.uploadId};if(o)return e.eventCallback("completeMultipartUploadFailed",i,o),e.callback(o);if(r.CommonMsg.Status>=500)return e.eventCallback("completeMultipartUploadFailed",i,r),e.callback(null,r);if(r.CommonMsg.Status>=300&&r.CommonMsg.Status<500)return e.eventCallback("completeMultipartUploadAborted",i,r),kr(e.uploadCheckpoint,e.funcName,e.that),e.callback(null,r);e.eventCallback("completeMultipartUploadSucceed",i,r),e.callback(null,r)})},Yi=function(e){function t(){e.isSuspend=!0;for(let c=0;c<e.uploadPartParams.length;c++){let l=e.uploadPartParams[c].cancelHook;Xi(l)&&l()}}e.resumeCallback({cancel:t,abort:function(){e.isAbort=!0;for(let c=0;c<e.uploadPartParams.length;c++){let l=e.uploadPartParams[c].abortHook;Xi(l)&&l()}}},e.uploadCheckpoint);let o=[],r=function(){if(o.length===0){Qi(e);return}for(;e.runningTask<e.taskNum&&o.length>0;)o.shift()()},i=function(c){return function(l,a,d){e.progressCallback(c,l)}},n=function(c,l,a,d){return d=d||c.type,c.mozSlice?c.mozSlice(l,a,d):c.webkitSlice?c.webkitSlice(l,a,d):c.slice(l,a,d)},x=function(c){return function(){if(e.runningTask++,e.isSuspend||e.isAbort)return e.runningTask--,e.finishedCount++,e.finishedCount+=o.length,o=[],r();let l=0,a=function(d){if(l)return;l=1;let p={Bucket:e.uploadCheckpoint.bucket,Key:e.uploadCheckpoint.key,RequestDate:e.uploadCheckpoint.requestDate,PartNumber:c.partNumber,UploadId:e.uploadCheckpoint.uploadId,SourceFile:e.uploadCheckpoint.sourceFile,maxPartRetryCount:e.maxPartRetryCount,Offset:c.offset,PartSize:c.partSize,SseC:e.uploadCheckpoint.sseC,SseCKey:e.uploadCheckpoint.sseCKey,ProgressCallback:i(c.partNumber),ContentMD5:d};e.uploadPartParams.push(p),e.that.uploadPart(p,(s,u)=>{if(e.runningTask--,e.finishedCount++,e.isSuspend)return r();let h={partNumber:c.partNumber,bucket:e.uploadCheckpoint.bucket,key:e.uploadCheckpoint.key,uploadId:e.uploadCheckpoint.uploadId};s?(e.eventCallback("uploadPartFailed",h,s),e.hasError=!0):u.CommonMsg.Status>=500||u.CommonMsg.Status===400&&u.CommonMsg.Code==="BadDigest"?(e.eventCallback("uploadPartFailed",h,u),e.hasError=!0):u.CommonMsg.Status>=300&&u.CommonMsg.Status<500?(e.isAbort=!0,e.hasError=!0,e.eventCallback("uploadPartAborted",h,u)):(c.etag=u.InterfaceResult.ETag,c.isCompleted=!0,h.etag=c.etag,e.uploadCheckpoint.md5=yt(e.uploadCheckpoint),e.eventCallback("uploadPartSucceed",h,u),e.that.log.runLog("debug",e.funcName,"Part "+String(c.partNumber)+" is finished, uploadId "+e.uploadCheckpoint.uploadId)),r()})};if(e.verifyMd5&&window.FileReader&&(e.uploadCheckpoint.sourceFile instanceof window.File||e.uploadCheckpoint.sourceFile instanceof window.Blob)){let d=n(e.uploadCheckpoint.sourceFile,c.offset,c.offset+c.partSize),p=new window.FileReader;p.onload=function(s){let u=be.lib.WordArray.create(s.target.result),h=be.MD5(u),m=be.enc.Base64.stringify(h);u=null,a(m)},p.onerror=function(s){e.that.log.runLog("error",e.funcName,"Caculate md5 for part "+String(c.partNumber)+" failed"),a()},p.readAsArrayBuffer(d);return}a()}};if(!e.isSuspend){for(let c=0;c<e.uploadCheckpoint.partCount;c++){let l=e.uploadCheckpoint.parts[c];l.isCompleted?(e.finishedCount++,e.finishedBytes+=l.partSize):o.push(x(l))}return o.length===0?Qi(e):r()}e.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Zi={};Zi.extend=function(e){e.prototype.uploadFile=function(t,o){let r=this;t=t||{};let i="uploadFile",n=ic(o,r.log,i),x=ac(t.EventCallback),c=t.TaskNum||1,l=t.PartRetryNum||0,a=t.ProgressCallback||function(){},d=t.ResumeCallback||function(){},p=t.VerifyMd5||!1;r.log.runLog("info",i,"enter "+i+"...");let s=null;if(t.UploadCheckpoint&&t.UploadCheckpoint.sourceFile&&t.UploadCheckpoint.fileStat&&t.UploadCheckpoint.uploadId&&t.UploadCheckpoint.md5===yt(t.UploadCheckpoint)?s=t.UploadCheckpoint:kr(t.UploadCheckpoint,i,r),s){let h=s.sourceFile;if(!(h instanceof window.File)&&!(h instanceof window.Blob))return n("source file is not valid, must be an instanceof [File | Blob]");if(!h.mozSlice&&!h.webkitSlice&&!h.slice)return n("your browser cannot support the slice method for [File | Blob]")}else{let h=t.SourceFile;if(!(h instanceof window.File)&&!(h instanceof window.Blob))return n("source file is not valid, must be an instanceof [File | Blob]");if(!h.mozSlice&&!h.webkitSlice&&!h.slice)return n("your browser cannot support the slice method for [File | Blob]");r.log.runLog("debug",i,"Begin to uploadFile to OBS from file:"+h.name);let m=h.size,f=parseInt(t.PartSize,10),C=0,A=[];if(m===0)f=0,C=1,A.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(isNaN(f)||f<rc?f=oc:f=Math.min(f,$i),C=Math.floor(m/f),C>=1e4&&(f=Math.floor(m/1e4),m%1e4!==0&&(f+=1),C=Math.floor(m/f)),f>$i)return n("The source file "+h.name+" is too large");let y=m%f;y!==0&&C++;for(let g=0;g<C;g++)A.push({partNumber:g+1,offset:g*f,partSize:f,isCompleted:!1});y!==0&&(A[C-1].partSize=y)}r.log.runLog("debug",i,"Total parts count "+C),s={bucket:t.Bucket,key:t.Key,sourceFile:h,partSize:f,partCount:C,parts:A},s.fileStat={fileSize:m,lastModified:h.lastModified},t.SseC&&t.SseCKey&&(s.sseC=t.SseC,s.sseCKey=t.SseCKey),s.md5=yt(s)}s.requestDate=t.RequestDate;let u={start:new Date().getTime(),uploadCheckpoint:s,funcName:i,maxPartRetryCount:l,taskNum:c,callback:n,that:r,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:d,isSuspend:!1,partsLoaded:{},requestDate:t.RequestDate,uploadPartParams:[],verifyMd5:p,callbackUrl:t.CallbackUrl,callbackHost:t.CallbackHost,callbackBody:t.CallbackBody,callbackBodyType:t.CallbackBodyType,forbidOverwrite:t.ForbidOverwrite};if(u.eventCallback=function(h,m,f){u.isSuspend||x(h,m,f)},u.progressCallback=function(h,m){u.isSuspend||(u.finishedBytes+=m,u.partsLoaded[h]&&(u.finishedBytes-=u.partsLoaded[h]),u.partsLoaded[h]=m,a(u.finishedBytes,u.uploadCheckpoint.fileStat.fileSize,(new Date().getTime()-u.start)/1e3))},!s.uploadId){let h=t.ContentType;!h&&s.key&&(h=r.util.mimeTypes[s.key.substring(s.key.lastIndexOf(".")+1)]),!h&&s.sourceFile.name&&(h=r.util.mimeTypes[s.sourceFile.name.substring(s.sourceFile.name.lastIndexOf(".")+1)]),r.initiateMultipartUpload({Bucket:t.Bucket,Key:t.Key,RequestDate:t.RequestDate,ACL:t.ACL,Metadata:t.Metadata,WebsiteRedirectLocation:t.WebsiteRedirectLocation,StorageClass:t.StorageClass,ContentType:h,Expires:t.Expires,SseKms:t.SseKms,SseKmsKey:t.SseKmsKey,SseC:t.SseC,SseCKey:t.SseCKey},(m,f)=>{let C={bucket:t.Bucket,key:t.Key};if(m)return u.eventCallback("initiateMultipartUploadFailed",C,m),n(m);if(f.CommonMsg.Status>=300)return u.eventCallback("initiateMultipartUploadFailed",C,f),n(null,f);let A=f.InterfaceResult.UploadId;s.uploadId=A,s.md5=yt(s),u.uploadCheckpoint=s,C.uploadId=A,r.log.runLog("info",i,"Claim a new upload id "+A),u.eventCallback("initiateMultipartUploadSucceed",C,f),Yi(u)});return}Yi(u)}};function I(e){this.factory(e)}function Ji(e){return e.slice(0,1).toUpperCase()+e.slice(1)}const ea=["createBucket","createSfsBucket","listBuckets","listSfsBuckets","getBucketMetadata","headBucket","deleteBucket","deleteSfsBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","getBucketObjectLockConfiguration","setBucketObjectLockConfig","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","setObjectObjectLock","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","createAuditPolicy","getAuditPolicy","deleteAuditPolicy","getAuditResult","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias","getSFSPermissionAcl","updateSFSPermissionAcl","deleteSFSPermissionAcl","getSFSPermissionGroupList","setSFSPermissionGroup","updateSFSPermissionGroup","getSFSPermissionGroup","deleteSFSPermissionGroup","setObjectTagging","getObjectTagging","deleteObjectTagging","putBucketPublicAccessBlock","getBucketPublicAccessBlock","deleteBucketPublicAccessBlock","getBucketPolicyPublicStatus","getBucketPublicStatus","setBucketTrash","getBucketTrash","deleteBucketTrash"];function nc(e){return function(t,o){this.exec(Ji(e),t,o)}}for(let e=0;e<ea.length;e++){let t=ea[e];I.prototype[t]=nc(t)}I.prototype.createTemplate=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",e,t)},I.prototype.createWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("CreateWorkflow",e,t)},I.prototype.createAuditPolicy=function(e,t){e.ApiPath="v2/audit/policy",this.exec("CreateAuditPolicy",e,t)},I.prototype.getAuditPolicy=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/audit/policy",this.exec("GetAuditPolicy",e,t),this.util.pathStyle=!1},I.prototype.putAuditPolicy=function(e,t){e.ApiPath="v2/audit/policy",this.exec("PutAuditPolicy",e,t)},I.prototype.deleteAuditPolicy=function(e,t){e.ApiPath="v2/audit/policy",this.exec("DeleteAuditPolicy",e,t)},I.prototype.restoreFailedWorkflowExecution=function(e,t){e.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",e,t)},I.prototype.getWorkflowList=function(e,t){e.ApiPath="v2/workflows",this.exec("GetWorkflowList",e,t)},I.prototype.getAuditResult=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/audit/result",this.exec("GetAuditResult",e,t),this.util.pathStyle=!1},I.prototype.deleteWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("DeleteWorkflow",e,t)},I.prototype.deleteTemplate=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",e,t)},I.prototype.getWorkflowTemplateList=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",e,t)},I.prototype.getWorkflowInstanceList=function(e,t){e.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",e,t)},I.prototype.updateWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("UpdateWorkflow",e,t)},I.prototype.getActionTemplates=function(e,t){e.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",e,t)},I.prototype.getWorkflowAuthorization=function(e,t){e.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",e,t)},I.prototype.openWorkflowAuthorization=function(e,t){e.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",e,t)},I.prototype.getPublicationTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",e,t),this.util.pathStyle=!1},I.prototype.getPublicationTemplateDetail=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",e,t),this.util.pathStyle=!1},I.prototype.getWorkflowAgreements=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",e,t),this.util.pathStyle=!1},I.prototype.openWorkflowAgreements=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",e,t),this.util.pathStyle=!1},I.prototype.createMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",e,t),this.util.pathStyle=!1},I.prototype.getMyActionTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",e,t),this.util.pathStyle=!1},I.prototype.getMyactiontemplateDetail=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",e,t),this.util.pathStyle=!1},I.prototype.updateMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",e,t),this.util.pathStyle=!1},I.prototype.deleteMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",e,t),this.util.pathStyle=!1},I.prototype.createSfsBucket=function(e,t){this.util.pathStyle=!0;const o={...e},r=o.Bucket;o.ApiPath=`v1/sfs/${r}`,delete o.Bucket,this.exec("CreateSfsBucket",o,t),this.util.pathStyle=!1},I.prototype.listSfsBuckets=function(e,t){this.util.pathStyle=!0;const o={...e};o.ApiPath="v1/sfs",this.exec("ListSfsBuckets",o,t),this.util.pathStyle=!1},I.prototype.deleteSfsBucket=function(e,t){this.util.pathStyle=!0;const o={...e},r=o.Bucket;o.ApiPath=`v1/sfs/${r}`,delete o.Bucket,this.exec("DeleteSfsBucket",o,t),this.util.pathStyle=!1},I.prototype.forbidMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",e,t),this.util.pathStyle=!1},I.prototype.updatePublicActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",e,t),this.util.pathStyle=!1},I.prototype.getOmPublicActionTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",e,t),this.util.pathStyle=!1},I.prototype.putObject=function(e,t){if("Body"in e&&"SourceFile"in e){let o="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",o),t(new Error(o),null)}if(!("ContentType"in e)&&("Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),!e.ContentType&&"SourceFile"in e)){let o=e.SourceFile.name;e.ContentType=this.util.mimeTypes[o.substring(o.lastIndexOf(".")+1)]}this.exec("PutObject",e,t)},I.prototype.appendObject=function(e,t){if("Body"in e&&"SourceFile"in e){let o="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",o),t(new Error(o),null)}"ContentType"in e||("Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),!e.ContentType&&"SourceFile"in e&&(e.ContentType=this.util.mimeTypes[e.SourceFile.substring(e.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",e,t)},I.prototype.copyObject=function(e,t){let o="CopySource";if(o in e){let r=e[o],i=r.lastIndexOf("?versionId=");i>0?e[o]=this.util.encodeURIWithSafe(r.slice(0,i))+r.slice(i):e[o]=this.util.encodeURIWithSafe(r)}this.exec("CopyObject",e,t)},I.prototype.copyPart=function(e,t){let o="CopySource";if(o in e){let r=e[o],i=r.lastIndexOf("?versionId=");i>0?e[o]=this.util.encodeURIWithSafe(r.slice(0,i))+r.slice(i):e[o]=this.util.encodeURIWithSafe(r)}this.exec("CopyPart",e,t)},I.prototype.restoreObject=function(e,t){this.exec("RestoreObject",e,(o,r)=>{!o&&r.InterfaceResult&&r.CommonMsg.Status<300&&(r.InterfaceResult.RestoreStatus=r.CommonMsg.Status===200?"AVALIABLE":"INPROGRESS"),t(o,r)})},I.prototype.initiateMultipartUpload=function(e,t){"ContentType"in e||"Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",e,t)},I.prototype.uploadPart=function(e,t){if("Body"in e&&"SourceFile"in e){let o="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",o),t(new Error(o),null)}this.exec("UploadPart",e,t)},I.prototype.getSFSPermissionAcl=function(e,t){this.util.pathStyle=!0;const o={...e};o.ApiPath=`v3/bucket/${e.Bucket}/sfsacl`,delete o.Bucket,this.exec("getSFSPermissionAcl",o,t),this.util.pathStyle=!1},I.prototype.updateSFSPermissionAcl=function(e,t){this.util.pathStyle=!0;const o={...e};o.ApiPath=`v3/bucket/${e.Bucket}/sfsacl`,delete o.Bucket,this.exec("updateSFSPermissionAcl",o,t),this.util.pathStyle=!1},I.prototype.deleteSFSPermissionAcl=function(e,t){this.util.pathStyle=!0;const o={...e};o.ApiPath=`v3/bucket/${e.Bucket}/sfsacl`,delete o.Bucket,this.exec("deleteSFSPermissionAcl",o,t),this.util.pathStyle=!1},I.prototype.getSFSPermissionGroupList=function(e,t){e||(e={}),this.util.pathStyle=!0,e.ApiPath="v3/sfs/permission-group",this.exec("getSFSPermissionGroupList",e,t),this.util.pathStyle=!1},I.prototype.setSFSPermissionGroup=function(e,t){this.util.pathStyle=!0,e.ApiPath="v3/sfs/permission-group",this.exec("setSFSPermissionGroup",e,t),this.util.pathStyle=!1},I.prototype.updateSFSPermissionGroup=function(e,t){this.util.pathStyle=!0,e.ApiPath=`v3/sfs/permission-group/${e.id}`,this.exec("updateSFSPermissionGroup",e,t),this.util.pathStyle=!1},I.prototype.getSFSPermissionGroup=function(e,t){this.util.pathStyle=!0,e.ApiPath=`v3/sfs/permission-group/${e.id}`,this.exec("getSFSPermissionGroup",e,t),this.util.pathStyle=!1},I.prototype.deleteSFSPermissionGroup=function(e,t){this.util.pathStyle=!0,e.ApiPath=`v3/sfs/permission-group/${e.id}`,this.exec("deleteSFSPermissionGroup",e,t),this.util.pathStyle=!1},Vi.extend(I),Zi.extend(I);function Br(e){return Object.prototype.toString.call(e)==="[object Function]"}function sc(e){return function(t,o){if(Br(t)){e.call(this,null,t);return}if(Br(o)){e.call(this,t,o);return}let r=this;return new Promise((i,n)=>{e.call(r,t,(x,c)=>{if(x)return n(x);i(c)})})}}if(Br(Promise)){for(let e in I.prototype)if({}.hasOwnProperty.call(I.prototype,e)){let t=I.prototype[e];I.prototype[e]=sc(t)}}I.prototype.exec=function(e,t,o){let r=this.log;r.runLog("info",e,"enter "+e+"...");let i=new Date().getTime();t=t||{},o=o||function(){};let n=function(x,c){n.$called||(n.$called=!0,x&&!(x instanceof Error)&&(x=new Error(x)),r.runLog("debug",e,"ObsClient cost "+(new Date().getTime()-i)+" ms"),o(x,c))};this.util.exec(e,t,n)},I.prototype.initLog=function(e){e=e||{},this.log.setLevel(e.level);let t=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){let o=this.util.port?":"+this.util.port:"";t.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+o)}t.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",t.join("];["))},I.prototype.factory=function(e){this.log=new Pr,this.util=new H(this.log),e=e||{},this.util.initFactory(e.access_key_id,e.secret_access_key,e.is_secure,e.server,e.path_style,e.signature,e.region,e.port,e.timeout,e.security_token,e.is_signature_negotiation,e.is_cname,e.url_prefix,e.region_domains,e.setRequestHeaderHook,e.useRawXhr,e.checksum_algorithm)},I.prototype.refresh=function(e,t,o){this.util.refresh(e,t,o)},I.prototype.createSignedUrl=function(e){return this.util.createSignedUrl(e)},I.prototype.createSignedUrlSync=function(e){return this.util.createSignedUrlSync(e)},I.prototype.createV2SignedUrlSync=function(e){return this.util.createV2SignedUrlSync(e)},I.prototype.createV4SignedUrlSync=function(e){return this.util.createV4SignedUrlSync(e)},I.prototype.createPostSignatureSync=function(e){return this.util.createPostSignatureSync(e)},I.prototype.createV4PostSignatureSync=function(e){return this.util.createV4PostSignatureSync(e)},I.prototype.enums=e0;for(let e in I.prototype)({}).hasOwnProperty.call(I.prototype,e)&&(I.prototype[Ji(e)]=I.prototype[e]);for(let e in I.prototype)if({}.hasOwnProperty.call(I.prototype,e)){let t=e.indexOf("Configuration");t>0&&t+13===e.length&&(I.prototype[e.slice(0,t)]=I.prototype[e])}var Te;(function(e){e.UploadPartSucceed="uploadPartSucceed",e.CompleteMultipartUploadSucceed="completeMultipartUploadSucceed"})(Te||(Te={}));const cc=e=>{const t=new I({access_key_id:e.hw.accessKey,secret_access_key:e.hw.secretKey,security_token:e.hw.securityToken,server:e.hw.endPoint,timeout:300}),o=e.sourceFiles.length,r=new Array(o).fill(0),i=[];for(let n=0;n<o;n++){let x;const c=e.hw.fileKeys[n],l=localStorage.getItem(c);if(l){let a=JSON.parse(l);a.sourceFile=e.sourceFiles[n],t.uploadFile({Bucket:e.hw.bucket,Key:c,UploadCheckpoint:a,SourceFile:e.sourceFiles[n],ProgressCallback:(d,p)=>{r[n]=d/p,e.progress&&e.progress(r)},EventCallback:d=>{d===Te.UploadPartSucceed&&localStorage.setItem(c,JSON.stringify(a)),d===Te.CompleteMultipartUploadSucceed&&localStorage.removeItem(c)},ResumeCallback:(d,p)=>{a=p,localStorage.setItem(c,JSON.stringify(a))}},(d,p)=>{d&&e.error&&e.error(d),i[n]=p,r.every(s=>s>=1)&&e.success&&e.success(i)})}else t.uploadFile({Bucket:e.hw.bucket,Key:c,SourceFile:e.sourceFiles[n],PartSize:9*1024*1024,ProgressCallback:(a,d)=>{r[n]=a/d,e.progress&&e.progress(r)},EventCallback:a=>{a===Te.UploadPartSucceed&&localStorage.setItem(c,JSON.stringify(x)),a===Te.CompleteMultipartUploadSucceed&&localStorage.removeItem(c)},ResumeCallback:(a,d)=>{x=d,localStorage.setItem(c,JSON.stringify(x))}},(a,d)=>{a&&e.error&&e.error(a),i[n]=d,r.every(p=>p>=1)&&e.success&&e.success(i)})}};ye.uploadFile=cc,Object.defineProperty(ye,Symbol.toStringTag,{value:"Module"})});
|