PageSourceSearch

https://www.is.fi/supersaa/_next/static/chunks/1-j0wm3527_ov.js

js is.fi collected 2026-09-24 08:35:45 UTC 395,018 bytes, 16 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20301,(e,t,r)=>{t.exports={name:"@aws-sdk/client-s3",version:"3.1136.0",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/checksums":"^3.1001.0","@aws-sdk/core":"^3.978.0","@aws-sdk/credential-provider-node":"^3.972.83","@aws-sdk/middleware-sdk-s3":"^3.972.76","@aws-sdk/signature-v4-multi-region":"^3.996.46","@aws-sdk/types":"^3.974.5","@smithy/core":"^3.33.3","@smithy/fetch-http-handler":"^5.7.2","@smithy/node-http-handler":"^4.11.3","@smithy/types":"^4.17.2",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.1136.0","@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}}},54471,(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return n}}),e.r(70090),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39149,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return S},useLinkStatus:function(){return k}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(52456),s=e.r(91398),o=a._(e.r(91788)),l=e.r(60472),c=e.r(71112),u=e.r(28169),d=e.r(89129),f=e.r(14862),h=e.r(74835),p=e.r(71914),m=e.r(54471),g=e.r(44113),y=e.r(63230),x=new Set;function b(e,t,r,n){if(!("u"<typeof window)&&(0,c.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(x.has(i))return;x.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function w(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let C=o.default.forwardRef(function(e,t){let r,n,{href:i,as:a,children:u,prefetch:x=null,passHref:C,replace:v,shallow:k,scroll:S,locale:E,onClick:A,onNavigate:R,onMouseEnter:T,onTouchStart:j,legacyBehavior:O=!1,transitionTypes:P,...L}=e;r=u,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,s.jsx)("a",{children:r}));let M=o.default.useContext(h.RouterContext),N=!1!==x,{href:I,as:B}=o.default.useMemo(()=>
1{if(!M){let e=w(i);return{href:e,as:a?w(a):e}}let[e,t]=(0,l.resolveHref)(M,i,!0);return{href:e,as:a?(0,l.resolveHref)(M,a):t||e}},[M,i,a]),D=o.default.useRef(I),U=o.default.useRef(B);O&&(n=o.default.Children.only(r));let _=O?n&&"object"==typeof n&&n.ref:t,[$,z,q]=(0,p.useIntersection)({rootMargin:"200px"}),H=o.default.useCallback(e=>{(U.current!==B||D.current!==I)&&(q(),U.current=B,D.current=I),$(e)},[B,I,q,$]),G=(0,y.useMergedRef)(H,_);o.default.useEffect(()=>{!M||z&&N&&b(M,I,B,{bypassPrefetchedCheck:!1,locale:E})},[B,I,z,E,N,M?.locale,M]);let F={ref:G,onClick(e){O||"function"!=typeof A||A(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!M||e.defaultPrevented||function(e,t,r,n,i,a,s,o,l){let u,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,c.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=s??!0;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:o,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,M,I,B,v,k,S,E,R)},onMouseEnter(e){O||"function"!=typeof T||T(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&b(M,I,B,{locale:E,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){O||"function"!=typeof j||j(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&b(M,I,B,{locale:E,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(B))F.href=B;else if(!O||C||"a"===n.type&&!("href"in n.props)){let e=void 0!==E?E:M?.locale;F.href=M?.isLocaleDomain&&(0,m.getDomainLocale)(B,e,M?.locales,M?.domainLocales)||(0,g.addBasePath)((0,f.addLocale)(B,e,M?.defaultLocale))}return O?o.default.cloneElement(n,F):(0,s.jsx)("a",{...L,...F,children:r})}),v=(0,o.createContext)({pending:!1}),k=()=>(0,o.useContext)(v),S=C;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41158,(e,t,r)=>{t.exports=e.r(39149)},71914,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return l}});let n=e.r(91788),i=e.r(99604),a="function"==typeof IntersectionObserver,s=new Map,o=[];function l({rootRef:e,rootMargin:t,disabled:r}){let c=r||!a,[u,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(c||u)return;let r=f.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:i,elements:a}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=o.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=s.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},o.push(r),s.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),s.delete(n);let e=o.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&o.splice(e,1)}}}(r,e=>e&&d(e),{root:e?.current,rootMargin:t})}else if(!u){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,t,e,u,f.current]),[h,u,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},21168,(e,t,r)=>{var n={872:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=l(e),s=a[0],o=a[1],c=new i((s+o)*3/4-o),u=0,d=o>0?s-4:s;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===o&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===o&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],s=0,o=n-i;s<o;s+=16383)a.push(function(e,t,n){for(var i,a=[],s=t;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,s,s+16383>o?o:s+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 18,974 bytes, line 1
1+/",s=0,o=a.length;s<o;++s)r[s]=a[s],n[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},230:function(e,t,r){"use strict";var n=r(872),i=r(321),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);var a=0|h(n,i),l=s(a),c=l.write(n,i);return c!==a&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),o.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return o.from(u,t,r);var p=function(e){if(o.isBuffer(e)){var t=0|f(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(p)return p;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),s(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=o,t.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!o.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},o.allocUnsafe=function(e){return u(e)},o.allocUnsafeSlow=function(e){return u(e)};function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(e).length;default:if(i)return n?-1:E(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,a,s,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=O[e[a]];return i}(this,t,r);case"utf8":case"utf-8":return x(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,a=t,s=r,0===a&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var a,s=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,o/=2,l/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(a=r;a<o;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*s}else -1!==u&&(a-=a-u),u=-1}else for(r+l>o&&(r=o-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(c(e,a+f)!==c(t,f)){d=!1;break}if(d)return a}return -1}o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(j(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(j(a,Uint8Array)&&(a=o.from(a)),!o.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},o.byteLength=h,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?x(this,0,e):p.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(o.prototype[a]=o.prototype.inspect),o.prototype.compare=function(e,t,r,n,i){if(j(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,s=r-t,l=Math.min(a,s),c=this.slice(n,i),u=e.slice(t,r),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],s=u[d];break}return a<s?-1:+(s<a)},o.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function x(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,s,o,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],s=e[i+2],(192&a)==128&&(192&s)==128&&(l=(15&c)<<12|(63&a)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],s=e[i+2],o=e[i+3],(192&a)==128&&(192&s)==128&&(192&o)==128&&(l=(15&c)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}var f=n,h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var p="",m=0;m<h;)p+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return p}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,a){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function C(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function v(e,t,r,n,a){return t*=1,r>>>=0,a||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function k(e,t,r,n,a){return t*=1,r>>>=0,a||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,s,o,l,c,u,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var o,l=parseInt(t.substr(2*s,2),16);if((o=l)!=o)break;e[r+s]=l}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,a=r,T(E(e,this.length-i),this,i,a);case"ascii":return s=t,o=r,T(A(e),this,s,o);case"latin1":case"binary":return function(e,t,r,n){return T(A(t),e,r,n)}(this,e,t,r);case"base64":return l=t,c=r,T(R(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,d=r,T(function(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-u),this,u,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,o.prototype),n},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},o.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var a=1,s=0;for(this[t]=255&e;++s<r&&(a*=256);)this[t+s]=e/a&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var a=r-1,s=1;for(this[t+a]=255&e;--a>=0&&(s*=256);)this[t+a]=e/s&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var a=0,s=1,o=0;for(this[t]=255&e;++a<r&&(s*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var a=r-1,s=1,o=0;for(this[t+a]=255&e;--a>=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return v(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return v(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return k(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return k(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},o.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=o.isBuffer(e)?e:o.from(e,n),l=s.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function E(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function A(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function R(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},321:function(e,t){t.read=function(e,t,r,n,i){var a,s,o=8*i-n-1,l=(1<<o)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,a=h&(1<<-u)-1,h>>=-u,u+=o;u>0;a=256*a+e[t+d],d+=f,u-=8);for(s=a&(1<<-u)-1,a>>=-u,u+=n;u>0;s=256*s+e[t+d],d+=f,u-=8);if(0===a)a=1-c;else{if(a===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),a-=c}return(h?-1:1)*s*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var s,o,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,f=5960464477539062e-23*(23===i),h=n?0:a-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(o=0,s=u):s+d>=1?(o=(t*l-1)*Math.pow(2,i),s+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+h]=255&o,h+=p,o/=256,i-=8);for(s=s<<i|o,c+=i;c>0;e[r+h]=255&s,h+=p,s/=256,c-=8);e[r+h-p]|=128*m}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},s=!0;try{n[e](r,r.exports,a),s=!1}finally{s&&delete i[e]}return r.exports}a.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=a(230)},58678,(e,t,r)=>{t.exports=e.r(80963)},17176,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10432,(e,t,r)=>{"use strict";var n=e.r(17176);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,a,s){if(s!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
1;return r.PropTypes=r,r}},91567,(e,t,r)=>{e.i(50461),t.exports=e.r(10432)()},81524,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,r){return t.concat(r.shadowRoot?e(r.shadowRoot):[r])},[]).filter(i)};var n=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t,r,i=e.getAttribute("tabindex");null===i&&(i=void 0);var a=isNaN(i);return(a||i>=0)&&(t=!a,r=e.nodeName.toLowerCase(),(n.test(r)&&!e.disabled||"a"===r&&e.href||t)&&function(e){for(var t=e,r=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(r&&t===r&&(t=r.host.parentNode),function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),n=r.getPropertyValue("display");return t?"contents"!==n&&("visible"!==r.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0):"none"===n}catch(e){return console.warn("Failed to inspect element style"),!1}}(t))return!1;t=t.parentNode}return!0}(e))}t.exports=r.default},72195,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.resetState=function(){a=[]},r.log=function(){},r.handleBlur=l,r.handleFocus=c,r.markForFocusLater=function(){a.push(document.activeElement)},r.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{0!==a.length&&(t=a.pop()).focus({preventScroll:e});return}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},r.popWithoutFocus=function(){a.length>0&&a.pop()},r.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",c))},r.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",c))};var n,i=(n=e.r(81524))&&n.__esModule?n:{default:n},a=[],s=null,o=!1;function l(){o=!0}function c(){o&&(o=!1,s&&setTimeout(function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()},0))}},53579,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r=(0,i.default)(e);if(!r.length)return void t.preventDefault();var n=void 0,a=t.shiftKey,s=r[0],o=r[r.length-1],l=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===l){if(!a)return;n=o}if(o!==l||a||(n=s),s===l&&a&&(n=o),n){t.preventDefault(),n.focus();return}var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=c&&"Chrome"!=c[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var u=r.indexOf(l);if(u>-1&&(u+=a?-1:1),void 0===(n=r[u])){t.preventDefault(),(n=a?o:s).focus();return}t.preventDefault(),n.focus()}};var n,i=(n=e.r(81524))&&n.__esModule?n:{default:n};t.exports=r.default},40137,(e,t,r)=>{"use strict";e.i(50461),t.exports=function(){}},54416,(e,t,r)=>{!function(){"use strict";var r=!!("u">typeof window&&window.document&&window.document.createElement),n={canUseDOM:r,canUseWorkers:"u">typeof Worker,canUseEventListeners:r&&!!(window.addEventListener||window.attachEvent),canUseViewport:r&&!!window.screen};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)e.r,void 0!==n&&e.v(n);else t.exports?t.exports=n:window.ExecutionEnvironment=n}()},73835,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.canUseDOM=r.SafeNodeList=r.SafeHTMLCollection=void 0;var n,i=((n=e.r(54416))&&n.__esModule?n:{default:n}).default,a=i.canUseDOM?window.HTMLElement:{};r.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},r.SafeNodeList=i.canUseDOM?window.NodeList:{},r.canUseDOM=i.canUseDOM,r.default=a},55142,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEac
1h(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(s).forEach(function(e){return e.removeAttribute("aria-hidden")})),s=null},r.log=function(){},r.assertNodeList=o,r.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var r=document.querySelectorAll(t);o(r,t),t=r}return s=t||s},r.validateElement=l,r.hide=function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=l(e)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)i.value.setAttribute("aria-hidden","true")}catch(e){r=!0,n=e}finally{try{!t&&a.return&&a.return()}finally{if(r)throw n}}},r.show=function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=l(e)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)i.value.removeAttribute("aria-hidden")}catch(e){r=!0,n=e}finally{try{!t&&a.return&&a.return()}finally{if(r)throw n}}},r.documentNotReadyOrSSRTesting=function(){s=null};var n,i=(n=e.r(40137))&&n.__esModule?n:{default:n},a=e.r(73835),s=null;function o(e,t){if(!e||!e.length)throw Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),[])}},74576,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)a(e,n[t]);var r=document.body;for(var s in i)a(r,i[s]);n={},i={}},r.log=function(){};var n={},i={};function a(e,t){e.classList.remove(t)}var s=function(e,t,r){r.forEach(function(r){t[r]||(t[r]=0),t[r]+=1,e.add(r)})},o=function(e,t,r){r.forEach(function(r){t[r]&&(t[r]-=1),0===t[r]&&e.remove(r)})};r.add=function(e,t){return s(e.classList,"html"==e.nodeName.toLowerCase()?n:i,t.split(" "))},r.remove=function(e,t){return o(e.classList,"html"==e.nodeName.toLowerCase()?n:i,t.split(" "))}},21809,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.log=function(){console.log("portalOpenInstances ----------"),console.log(i.openInstances.length),i.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},r.resetState=function(){i=new n};var n=function e(){var t=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.register=function(e){-1!==t.openInstances.indexOf(e)||(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var r=t.openInstances.indexOf(e);-1===r||(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(r){return r(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},i=new n;r.default=i},87997,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var r=e[t];r&&r.parentNode&&r.parentNode.removeChild(r)}a=s=null,o=[]},r.log=function(){console.log("bodyTrap ----------"),console.log(o.length);for(var e=[a,s],t=0;t<e.length;t++){var r=e[t]||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")};var n,i=(n=e.r(21809))&&n.__esModule?n:{default:n},a=void 0,s=void 0,o=[];function l(){0===o.length||o[o.length-1].focusContent()}i.default.subscribe(function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",l),(s=a.cloneNode()).addEventListener("focus",l)),(o=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))})},67213,(e,t,r)=>{"use strict";
vendor: 8,900 bytes, line 1
1e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=e.r(91788),o=g(e.r(91567)),l=m(e.r(72195)),c=g(e.r(53579)),u=m(e.r(55142)),d=m(e.r(74576)),f=e.r(73835),h=g(f),p=g(e.r(21809));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}e.r(87997);var y={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},x=0,b=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.setOverlayRef=function(e){r.overlay=e,r.props.overlayRef&&r.props.overlayRef(e)},r.setContentRef=function(e){r.content=e,r.props.contentRef&&r.props.contentRef(e)},r.afterClose=function(){var e=r.props,t=e.appElement,n=e.ariaHideApp,i=e.htmlOpenClassName,a=e.bodyOpenClassName,s=e.parentSelector,o=s&&s().ownerDocument||document;a&&d.remove(o.body,a),i&&d.remove(o.getElementsByTagName("html")[0],i),n&&x>0&&0==(x-=1)&&u.show(t),r.props.shouldFocusAfterRender&&(r.props.shouldReturnFocusAfterClose?(l.returnFocus(r.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),r.props.onAfterClose&&r.props.onAfterClose(),p.default.deregister(r)},r.open=function(){r.beforeOpen(),r.state.afterOpen&&r.state.beforeClose?(clearTimeout(r.closeTimer),r.setState({beforeClose:!1})):(r.props.shouldFocusAfterRender&&(l.setupScopedFocus(r.node),l.markForFocusLater()),r.setState({isOpen:!0},function(){r.openAnimationFrame=requestAnimationFrame(function(){r.setState({afterOpen:!0}),r.props.isOpen&&r.props.onAfterOpen&&r.props.onAfterOpen({overlayEl:r.overlay,contentEl:r.content})})}))},r.close=function(){r.props.closeTimeoutMS>0?r.closeWithTimeout():r.closeWithoutTimeout()},r.focusContent=function(){return r.content&&!r.contentHasFocus()&&r.content.focus({preventScroll:!0})},r.closeWithTimeout=function(){var e=Date.now()+r.props.closeTimeoutMS;r.setState({beforeClose:!0,closesAt:e},function(){r.closeTimer=setTimeout(r.closeWithoutTimeout,r.state.closesAt-Date.now())})},r.closeWithoutTimeout=function(){r.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},r.afterClose)},r.handleKeyDown=function(e){("Tab"===e.code||9===e.keyCode)&&(0,c.default)(r.content,e),r.props.shouldCloseOnEsc&&("Escape"===e.code||27===e.keyCode)&&(e.stopPropagation(),r.requestClose(e))},r.handleOverlayOnClick=function(e){null===r.shouldClose&&(r.shouldClose=!0),r.shouldClose&&r.props.shouldCloseOnOverlayClick&&(r.ownerHandlesClose()?r.requestClose(e):r.focusContent()),r.shouldClose=null},r.handleContentOnMouseUp=function(){r.shouldClose=!1},r.handleOverlayOnMouseDown=function(e){r.props.shouldCloseOnOverlayClick||e.target!=r.overlay||e.preventDefault()},r.handleContentOnClick=function(){r.shouldClose=!1},r.handleContentOnMouseDown=function(){r.shouldClose=!1},r.requestClose=function(e){return r.ownerHandlesClose()&&r.props.onRequestClose(e)},r.ownerHandlesClose=function(){return r.props.onRequestClose},r.shouldBeClosed=function(){return!r.state.isOpen&&!r.state.beforeClose},r.contentHasFocus=function(){return document.activeElement===r.content||r.content.contains(document.activeElement)},r.buildClassName=function(e,t){var n=(void 0===t?"undefined":i(t))==="object"?t:{base:y[e],afterOpen:y[e]+"--after-open",beforeClose:y[e]+"--before-close"},a=n.base;return r.state.afterOpen&&(a=a+" "+n.afterOpen),r.state.beforeClose&&(a=a+" "+n.beforeClose),"string"==typeof t&&t?a+" "+t:a},r.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(r,n){return r[e+"-"+n]=t[n],r},{})},r.state={afterOpen:!1,beforeClose:!1},r.shouldClose=null,r.moveFromContentToOverlay=null,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,r=e.ariaHideApp,n=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.add(s.body,i),n&&d.add(s.getElementsByTagName("html")[0],n),r&&(x+=1,u.hide(t)),p.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,i=e.overlayClassName,a=e.defaultStyles,s=e.children,o=r?{}:a.content,l=i?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},o,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:o.default.bool.isRequired,defaultStyles:o.default.shape({content:o.default.object,overlay:o.default.object}),style:o.default.shape({content:o.default.object,overlay:o.default.object}),className:o.default.oneOfType([o.default.string,o.default.object]),overlayClassName:o.default.oneOfType([o.default.string,o.default.object]),parentSelector:o.default.func,bodyOpenClassName:o.default.string,htmlOpenClassName:o.default.string,ariaHideApp:o.default.bool,appElement:o.default.oneOfType([o.default.instanceOf(h.default),o.default.instanceOf(f.SafeHTMLCollection),o.default.instanceOf(f.SafeNodeList),o.default.arrayOf(o.default.instanceOf(h.default))]),onAfterOpen:o.default.func,onAfterClose:o.default.func,onRequestClose:o.default.func,closeTimeoutMS:o.default.number,shouldFocusAfterRender:o.default.bool,shouldCloseOnOverlayClick:o.default.bool,shouldReturnFocusAfterClose:o.default.bool,preventScroll:o.default.bool,role:o.default.string,contentLabel:o.default.string,aria:o.default.object,data:o.default.object,children:o.default.node,shouldCloseOnEsc:o.default.bool,overlayRef:o.default.func,contentRef:o.default.func,id:o.default.string,overlayElement:o.default.func,contentElement:o.default.func,testId:o.default.string},r.default=b,t.exports=r.default},13453,e=>{"use strict";function t(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState((function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}).bind(this))}function n(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}t.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0,e.s(["polyfill",0,function(e){var i=e.prototype;if(!i||!i.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof i.getSnapshotBeforeUpdate)return e;var a=null,s=null,o=null;if("function"==typeof i.componentWillMount?a="componentWillMount":"function"==typeof i.UNSAFE_componentWillMount&&(a="UNSAFE_componentWillMount"),"function"==typeof i.componentWillReceiveProps?s="c
1omponentWillReceiveProps":"function"==typeof i.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof i.componentWillUpdate?o="componentWillUpdate":"function"==typeof i.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==a||null!==s||null!==o)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(i.componentWillMount=t,i.componentWillReceiveProps=r),"function"==typeof i.getSnapshotBeforeUpdate){if("function"!=typeof i.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");i.componentWillUpdate=n;var l=i.componentDidUpdate;i.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;l.call(this,e,t,n)}}return e}])},92623,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),r.bodyOpenClassName=r.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e.r(91788),s=p(a),o=p(e.r(30943)),l=p(e.r(91567)),c=p(e.r(67213)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e.r(55142)),d=e.r(73835),f=p(d),h=e.r(13453);function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var g=r.portalClassName="ReactModalPortal",y=r.bodyOpenClassName="ReactModal__Body--open",x=d.canUseDOM&&void 0!==o.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return x?o.default.createPortal:o.default.unstable_renderSubtreeIntoContainer},C=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,r,i,a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return r=i=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.removePortal=function(){x||o.default.unmountComponentAtNode(i.node);var e=(0,i.props.parentSelector)();e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var r=w()(i,s.default.createElement(c.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(r)},m(i,r)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(x||(this.node=b("div")),this.node.className=this.props.portalClassName,(0,this.props.parentSelector)().appendChild(this.node),x||this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:(0,e.parentSelector)(),nextParent:(0,this.props.parentSelector)()}}},{key:"componentDidUpdate",value:function(e,t,r){if(d.canUseDOM){var n=this.props,i=n.isOpen,a=n.portalClassName;e.portalClassName!==a&&(this.node.className=a);var s=r.prevParent,o=r.nextParent;o!==s&&(s.removeChild(this.node),o.appendChild(this.node)),(e.isOpen||i)&&(x||this.renderPortal(this.props))}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),r=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);r?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,r-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&x?(!this.node&&x&&(this.node=b("div")),w()(s.default.createElement(c.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(a.Component);C.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base
1:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(f.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(f.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},C.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,h.polyfill)(C),r.default=C},70267,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=((n=e.r(92623))&&n.__esModule?n:{default:n}).default,t.exports=r.default},3115,e=>{"use strict";let t,r,n,i,a,s,o,l,c,u,d,f,h;var p,m,g,y,x,b,w,C,v,k,S,E,A,R,T,j,O,P,L,M,N,I=e.i(91398),B=e.i(72043),D=e.i(82725),U=e.i(3828),_=e.i(91788),$=e.i(41220),z=e.i(98125);let q=({analyticsMetadata:e,asPath:t})=>{let r=(0,z.createInitialPageViewAnalyticsScript)(e,t);return(0,I.jsx)("script",{dangerouslySetInnerHTML:{__html:r}})};var H=e.i(70567),G=e.i(30794);let F=({loading:e,environment:t})=>{let{userProfile:r}=(0,H.useUserProfile)();return(0,_.useEffect)(()=>{e||(0,G.updateAdParams)(r,t)},[e,r,t]),null};var K=e.i(58678),W=e.i(17419);let V="Supersää näyttää yhdellä silmäyksellä kaksi kilpailevaa sääennustetta. Toinen ennuste tulee Ilmatieteen laitokselta, toinen Forecalta. Mukana on myös sadetutka.",Z="657765123",X=({locationData:e,currentPage:t,asPath:r})=>{let n=r.split("?")[0],i=`https://www.is.fi/supersaa${n}`,a=(0,W.getSeoTitle)(t,e),s=(0,W.getAppleWebAppTitle)(t,e);return(0,I.jsxs)(K.default,{children:[(0,I.jsx)("title",{children:a}),(0,I.jsx)("meta",{property:"og:url",content:i}),(0,I.jsx)("meta",{name:"application-name",content:"Supersää"}),(0,I.jsx)("meta",{name:"description",content:V}),(0,I.jsx)("link",{rel:"icon",type:"image/svg+xml",href:"/supersaa/assets/favicon-v1.ico",sizes:"any"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-32.png",rel:"icon",type:"image/png",sizes:"32x32"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-240.png",rel:"icon",type:"image/png",sizes:"240x240"}),(0,I.jsx)("link",{rel:"manifest",href:"/supersaa/assets/manifest.json"}),(0,I.jsx)("meta",{name:"msapplication-config",content:"/supersaa/assets/browserconfig.xml"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-120.png",rel:"apple-touch-icon",type:"image/png",sizes:"120x120"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-152.png",rel:"apple-touch-icon",type:"image/png",sizes:"152x152"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-167.png",rel:"apple-touch-icon",type:"image/png",sizes:"167x167"}),(0,I.jsx)("link",{href:"/supersaa/assets/favicon-180.png",rel:"apple-touch-icon",type:"image/png",sizes:"180x180"}
1),(0,I.jsx)("meta",{property:"og:site_name",content:"Supersää"}),(0,I.jsx)("meta",{property:"og:locale",content:"fi_FI"}),(0,I.jsx)("meta",{property:"og:image",content:"/supersaa/assets/favicon-1920.png"}),(0,I.jsx)("meta",{property:"og:image:type",content:"image/png"}),(0,I.jsx)("meta",{property:"og:image:width",content:"1920"}),(0,I.jsx)("meta",{property:"og:image:height",content:"1920"}),(0,I.jsx)("meta",{property:"og:type",content:"website"}),(0,I.jsx)("meta",{property:"og:title",content:"Supersää"}),(0,I.jsx)("meta",{property:"og:description",content:V}),(0,I.jsx)("meta",{name:"apple-mobile-web-app-title",content:s}),(0,I.jsx)("meta",{name:"apple-itunes-app",content:`app-id=${Z}`}),(0,I.jsx)("meta",{property:"twitter:image",content:"/supersaa/assets/favicon-1920.png"}),(0,I.jsx)("meta",{name:"twitter:title",content:"Supersää"}),(0,I.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,I.jsx)("meta",{name:"twitter:site",content:"@IS_Supersaa"}),(0,I.jsx)("meta",{name:"twitter:creator",content:"@iltasanomat"}),(0,I.jsx)("meta",{name:"twitter:card",content:"app"}),(0,I.jsx)("meta",{name:"twitter:app:country",content:"FI"}),(0,I.jsx)("meta",{name:"twitter:app:name:iphone",content:"Supersää"}),(0,I.jsx)("meta",{name:"twitter:appidiphone",content:Z}),(0,I.jsx)("meta",{name:"twitter:app:name:ipad",content:"Supersää"}),(0,I.jsx)("meta",{name:"twitter:appidipad",content:Z}),(0,I.jsx)("meta",{name:"twitter:app:name:googleplay",content:"Supersää"}),(0,I.jsx)("meta",{name:"twitter:appidgoogleplay",content:"fi.supersaa"}),(0,I.jsx)("meta",{name:"theme-color",content:"#FFEC47"})]})};var J=e.i(49749),Y=e.i(45246),Q=e.i(70267),ee=e.i(86485);let et="/supersaa/api/locations",er=(e,t)=>{switch(e){case"radar":return`/sadetutka${t}`;case"app-promo":return"/sovellukset/";case"embed-promo":return"/promo/";default:return t}},en=(e,t,r,n)=>{let i=(0,U.useRouter)();return{geoLocationSuccess:async({coords:{latitude:t,longitude:r}})=>{try{let n=await fetch(`${et}/${t}/${r}`);if(n.ok){let t=await n.json();if(t.length>0)if(t[0].url){let r=`${t[0].url}?located=1`;e(r),i.replace(r)}else ee.logger.error("Locating failed, no URL to redirect to returned by the backend")}}catch(e){ee.logger.error(e)}},geoLocationFailure:({code:e,message:i})=>{ee.logger.error(e,i),1===e&&"app"!==n&&(r("browser"),t(!0))}}},ei=()=>(0,I.jsxs)("svg",{width:"24px",height:"24px",fill:"#191919",children:[(0,I.jsx)("title",{children:"Sulje"}),(0,I.jsx)("g",{stroke:"none",strokeWidth:"1",children:(0,I.jsx)("g",{children:(0,I.jsx)("path",{d:"M2.80761184,1.39339828 L11.9995051,10.5845051 L21.1923882,1.39339828 C21.5829124,1.00287399 22.2160774,1.00287399 22.6066017,1.39339828 C22.997126,1.78392257 22.997126,2.41708755 22.6066017,2.80761184 L13.4145051,11.9995051 L22.6066017,21.1923882 C22.997126,21.5829124 22.997126,22.2160774 22.6066017,22.6066017 C22.2160774,22.997126 21.5829124,22.997126 21.1923882,22.6066017 L11.9995051,13.4145051 L2.80761184,22.6066017 C2.41708755,22.997126 1.78392257,22.997126 1.39339828,22.6066017 C1.00287399,22.2160774 1.00287399,21.5829124 1.39339828,21.1923882 L10.5845051,11.9995051 L1.39339828,2.80761184 C1.00287399,2.41708755 1.00287399,1.78392257 1.39339828,1.39339828 C1.78392257,1.00287399 2.41708755,1.00287399 2.80761184,1.39339828 Z"})})})]});var ea=e.i(41158);let es=({children:e,onClick:t,href:r,forceNormalLink:n=!1,forwardRef:i,ariaCurrentOverride:a,...s})=>{let{asPath:o}=(0,U.useRouter)(),[l,c]=(0,_.useState)(!1);if((0,_.useEffect)(()=>{c(!0)},[]),!r)return e?(0,I.jsx)("div",{...s,children:e}):null;let u=a??(l&&o===r?"page":void 0);return eo(r)||n?(0,I.jsx)("a",{...s,ref:i,href:r,onClick:t,"aria-current":u,children:e}):(0,I.jsx)(ea.default,{prefetch:!1,href:r,...s,ref:i,onClick:t,"aria-current":u,children:e})},eo=e=>!!/^https?/.exec(e),el=({modalOpen:e,setlocationPermissionDialogOpen:t,setPermissionLevel:r,permissionLevel:n,setLastPathCookie:i,setLocationPermissionCookie:a})=>{let{geoLocationSuccess:s,geoLocationFailure:o}=en(i,t,r,n);return Q.default.setAppElement("#__next"),(0,I.jsx)(Q.default,{isOpen:e,onRequestClose:()=>{t(!1)},style:{overlay:{backgroundColor:"rgba(0, 0, 0, 0.4)"},content:{itemsCenter:"flex-end"}},className:(0,B.default)("w-full h-full fixed top-0 left-0 flex justify-center items-center"),children:(0,I.jsx)(ec,{permissionLevel:n,getCurrentPosition:()=>{navigator.geolocation.getCurrentPosition(s,o),t(!1),(0,z.sendUIActionAnalyticsEvent)("top menu","locate")},setlocationPermissionDialogOpen:t,setLocationPermissionCookie:a})})},ec=({permissionLevel:e,getCurrentPosition:t,setlocationPermissionDialogOpen:r,setLocationPermissionCookie:n})=>(0,I.jsxs)("article",{className:"jsx-ee961d2d4ca48494 w-full px-4 flex justify-center",children:[(0,I.jsxs)("div",{className:"jsx-ee961d2d4ca48494 w-full relative bg-white p-8 modal-content",children:[(0,I.jsx)("button",{onClick:()=>{r(!1)},className:"jsx-ee961d2d4ca48494 absolute right-8 top-8",children:(0,I.jsx)(ei,{})}),"app"===e&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("h2",{className:"jsx-ee961d2d4ca48494 ui-title-20 mb-8 mr-8",children:"Säätiedot juuri sieltä, missä olet"}),(0,I.jsxs)("p",{className:"jsx-ee961d2d4ca48494 ui-text-40 mb-8",children:["Saat käyttöösi tarkemmat sääennusteet sekä paikalliset varoitukset ja näet sijaintisi sadekartalla sallimalla laitteesi paikannuksen. Jos sallit paikannuksen, SupersäÃ
1¤n ja Sanoman palveluiden sisällöt ja mainokset voivat perustua laitteesi sijainnista johdettuun tietoon ja paikkoihin, joissa olet käynyt aiemmin."," ",(0,I.jsx)(es,{href:"https://www.sanoma.fi/sijainti/",children:(0,I.jsx)("span",{className:"jsx-ee961d2d4ca48494 "+((0,B.default)("text-text-20","border-b","border-divider-2","text-sm","mt-2")||""),children:"Lue lisää paikannuksesta"})})]}),(0,I.jsxs)("div",{className:"jsx-ee961d2d4ca48494 "+((0,B.default)("flex","flex-col","items-end","text-right","sm:flex-row","justify-end")||""),children:[(0,I.jsx)("button",{onClick:()=>{r(!1)},className:"jsx-ee961d2d4ca48494 "+((0,B.default)("px-4","py-3","border-2","button-20","button--secondary")||""),children:"Ei nyt"}),(0,I.jsx)("button",{onClick:()=>{n(),t()},className:"jsx-ee961d2d4ca48494 "+((0,B.default)("px-4","py-3","border-2","border-black","mt-4","bg-black","text-text-white","button-20","button--primary","sm:ml-4","sm:mt-0")||""),children:"Salli paikannus"})]})]}),"browser"===e&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("h2",{className:"jsx-ee961d2d4ca48494 ui-title-20 mb-8 mr-8",children:"Et ole sallinut paikannusta selaimen asetuksista"}),(0,I.jsxs)("p",{className:"jsx-ee961d2d4ca48494 ui-text-40 mb-8",children:["Saat käyttöösi tarkemmat sääennusteet sekä paikalliset varoitukset ja näet sijaintisi sadekartalla sallimalla laitteesi paikannuksen. Jos sallit paikannuksen, Supersään ja Sanoman palveluiden sisällöt ja mainokset voivat perustua laitteesi sijainnista johdettuun tietoon ja paikkoihin, joissa olet käynyt aiemmin. Voit sallia paikannuksen selaimesi asetuksissa."," ",(0,I.jsx)(es,{href:"https://www.sanoma.fi/sijainti/",children:(0,I.jsx)("span",{className:"jsx-ee961d2d4ca48494 "+((0,B.default)("text-text-20","border-b","border-divider-2","text-sm","mt-2")||""),children:"Lue lisää paikannuksesta"})})]}),(0,I.jsx)("div",{className:"jsx-ee961d2d4ca48494 "+((0,B.default)("flex","flex-col","items-end","text-right","sm:flex-row","justify-end")||""),children:(0,I.jsx)("button",{onClick:()=>{r(!1)},className:"jsx-ee961d2d4ca48494 "+((0,B.default)("px-4","py-3","border-2","button-20","button--secondary")||""),children:"Ok"})})]})]}),(0,I.jsx)(Y.default,{id:"ee961d2d4ca48494",children:".modal-content.jsx-ee961d2d4ca48494{max-width:544px}"})]});var eu=e.i(26019),ed=e.i(84002);let ef={espoo:"/suomi/espoo/660158",helsinki:"/suomi/helsinki/658225",joensuu:"/suomi/joensuu/655808",kuopio:"/suomi/kuopio/650224",lahti:"/suomi/lahti/649360",lappeenranta:"/suomi/lappeenranta/648900/",oulu:"/suomi/oulu/643492",pori:"/suomi/pori/640999",rovaniemi:"/suomi/rovaniemi/638936/",tampere:"/suomi/tampere/634963",turku:"/suomi/turku/633679",vantaa:"/suomi/vantaa/632453"},eh={amsterdam:"/alankomaat/amsterdam/2759794/",barcelona:"/espanja/barcelona/3128760/",berliini:"/saksa/berliini/2950159/",kööpenhamina:"/tanska/kööpenhamina/2618425/","las palmas":"/espanja/las%20palmas/2515270/",lontoo:"/britannia/lontoo/2643743/",pariisi:"/ranska/pariisi/2988507/",praha:"/tÅ¡ekki/praha/3067696/",rodos:"/kreikka/ródos/400666/",rooma:"/italia/rooma/3169070/",tallinna:"/viro/tallinna/588409/",tukholma:"/ruotsi/tukholma/2673730/"},ep={alanya:"/turkki/alanya/324190/",bangkok:"/thaimaa/bangkok/1609350/","buenos aires":"/argentiina/buenos%20aires/3435910/",dubai:"/arabiemiirikunnat/dubai/292223/","hong kong":"/hong%20kong/1819729/","new york":"/ny,%20yhdysvallat/new%20york/5128581/",peking:"/kiina/peking/1816670/",pattaya:"/thaimaa/pattaya/1614295/",phuket:"/thaimaa/phuket/1151254/",sydney:"/australia/sydney/2147714/",tokio:"/japani/tokio/1850147/",toronto:"/kanada/toronto/6167865/"};var em=e.i(87899);let eg=({currentPath:e,isCentered:t})=>(0,I.jsx)("footer",{className:"bg-yellow relative",children:(0,I.jsx)("div",{className:(0,B.default)("flex","justify-start","lg:w-wide","md:w-main","mx-auto",{"xl:w-wider":!t}),children:(0,I.jsxs)("div",{className:"lg:w-wide w-full md:px-0 px-3 md:pt-6 pt-4 md:pb-8 pb-6",children:[(0,I.jsx)(ey,{}),(0,I.jsx)(ex,{currentPath:e}),(0,I.jsx)(eb,{}),(0,I.jsx)(ew,{})]})})}),ey=()=>(0,I.jsxs)("button",{className:"flex flex-row navbar-button-text",onClick:()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t="smooth";(!e||e.matches)&&(t="auto"),window.scrollTo({top:0,left:0,behavior:t})},children:[(0,I.jsx)("span",{className:"my-auto mr-2 uppercase",children:"Takaisin sivun alkuun"}),(0,I.jsx)("div",{className:"transform rotate-180",children:(0,I.jsx)(ed.default,{fillColor:"#191919"})})]}),ex=({currentPath:e})=>{let t=[["Etusivu",er("weather",e)],["Sadetutka",er("radar",e)],["SupersäÃ
1¤-sovellus",er("app-promo",e)]],r=Object.entries(ef);return(0,I.jsx)("section",{className:"pt-6 pb-5 border-b border-black",children:(0,I.jsx)("ul",{className:"grid sm:grid-flow-col sm:grid-cols-5 grid-cols-2 sm:grid-rows-3 grid-rows-7 gap-3",children:[...t,...r].map(([e,t])=>(0,I.jsx)("li",{children:(0,I.jsx)(es,{href:t??"#",className:"flex items-center navbar-button-text uppercase",children:e})},e))})})},eb=()=>(0,I.jsxs)("section",{className:"flex flex-row flex-wrap justify-around px-4 pt-4 footer-info-link",children:[(0,I.jsx)("a",{className:"pb-2 pt-1 px-1",href:"https://oma.sanoma.fi/asiakastuki/yleiset/kayttoehdot",children:"Käyttöehdot"}),(0,I.jsx)("a",{className:"pb-2 pt-1 px-1",href:"https://www.sanoma.fi/tietosuojalauseke/",children:"Tietosuojalauseke"}),(0,I.jsx)("a",{className:"pb-2 pt-1 px-1",href:"https://oma.sanoma.fi/aihe/tietosuojakuvaukset/ilta-sanomien-palvelukohtainen-tietosuojakuvaus",children:"Tietosuojakuvaus"}),(0,I.jsx)("a",{className:"pb-2 pt-1 px-1",href:"https://www.sanoma.fi/evastekaytannot/",children:"Evästekäytännöt"}),(0,I.jsx)("button",{className:"pb-2 pt-1 px-1",onClick:()=>{(0,G.openPrivacyManager)()},children:"Evästeasetukset"}),(0,I.jsx)("a",{className:"pb-2 pt-1 px-1",href:"https://www.youronlinechoices.eu/fi/",children:"Käyttäytymiseen perustuva mainonta"})]}),ew=()=>(0,I.jsxs)("section",{className:"flex flex-col items-center pt-5 footer-info-link text-center",children:[(0,I.jsx)("div",{className:"mb-5 w-12 h-12",children:(0,I.jsx)(eu.default,{src:"/supersaa/assets/logo-circle-pos.svg",width:46,height:46,alt:""})}),(0,I.jsx)("span",{children:"Lataa IS Supersää – tuplasti parempi sääpalvelu!"}),(0,I.jsx)(em.DownloadButtons,{smaller:!0}),(0,I.jsx)("span",{children:"Google Play ja Google Play -logo ovat Google LLC:n tavamerkkejä."}),(0,I.jsx)("span",{children:"App Store ja Apple -logo ovat Apple Inc:n tavaramerkkejä."})]}),eC=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"icon/burgermenu",fill:"#191919",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M22,17 C22.5522847,17 23,17.4477153 23,18 C23,18.5522847 22.5522847,19 22,19 L2,19 C1.44771525,19 1,18.5522847 1,18 C1,17.4477153 1.44771525,17 2,17 L22,17 Z M22,11 C22.5522847,11 23,11.4477153 23,12 C23,12.5522847 22.5522847,13 22,13 L2,13 C1.44771525,13 1,12.5522847 1,12 C1,11.4477153 1.44771525,11 2,11 L22,11 Z M22,5 C22.5522847,5 23,5.44771525 23,6 C23,6.55228475 22.5522847,7 22,7 L2,7 C1.44771525,7 1,6.55228475 1,6 C1,5.44771525 1.44771525,5 2,5 L22,5 Z",id:"Shape"})})})}),ev=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("path",{d:"M12,1 C16.418278,1 20,4 20,9 C20,14 13.1428571,24 12,24 C10.8571429,24 4,14 4,9 C4,4 7.581722,1 12,1 Z M12,6 C10.3431458,6 9,7.34314575 9,9 C9,10.6568542 10.3431458,12 12,12 C13.6568542,12 15,10.6568542 15,9 C15,7.34314575 13.6568542,6 12,6 Z",fill:"#191919",fillRule:"nonzero"})})}),ek=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"icon/location",fill:"#191919",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M12,1 C16.418278,1 20,4 20,9 C20,14 13.1428571,24 12,24 C10.8571429,24 4,14 4,9 C4,4 7.581722,1 12,1 Z M12,3 C8.45236354,3 6,5.32918722 6,9 C6,10.7839542 7.28932393,13.9854849 9.29073359,17.3532416 C10.0579544,18.6442381 10.8754651,19.8641942 11.598853,20.8126057 L11.9105868,21.2117013 L12,21.321 L12.1637018,21.1184106 C12.942245,20.1344185 13.8567988,18.7876822 14.7092664,17.3532416 L15.1130013,16.6592466 L15.4952789,15.9724582 C17.0418223,13.1292734 18,10.5378916 18,9 C18,5.32918722 15.5476365,3 12,3 Z M12,5 C14.209139,5 16,6.790861 16,9 C16,11.209139 14.209139,13 12,13 C9.790861,13 8,11.209139 8,9 C8,6.790861 9.790861,5 12,5 Z M12,7 C10.8954305,7 10,7.8954305 10,9 C10,10.1045695 10.8954305,11 12,11 C13.1045695,11 14,10.1045695 14,9 C14,7.8954305 13.1045695,7 12,7 Z",id:"location"})})})}),eS=({filled:e})=>e?(0,I.jsx)(ev,{}):(0,I.jsx)(ek,{}),eE=({filled:e})=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsxs)("g",{id:"icon/mobile",fill:"#191919",fillRule:"nonzero",children:[(0,I.jsx)("path",{d:"M17,1 C18.1045695,1 19,1.8954305 19,3 L19,21 C19,22.1045695 18.1045695,23 17,23 L7,23 C5.8954305,23 5,22.1045695 5,21 L5,3 C5,1.8954305 5.8954305,1 7,1 L17,1 Z M17,6 L7,6 L7,21 L17,21 L17,6 Z M14,18 C14.5522847,18 15,18.4477153 15,19 C15,19.5128358 14.6139598,19.9355072 14.1166211,19.9932723 L14,20 L10,20 C9.44771525,20 9,19.5522847 9,19 C9,18.4871642 9.38604019,18.0644928 9.88337887,18.0067277 L10,18 L14,18 Z M17,3 L7,3 L7,4 L17,4 L17,3 Z",id:"mobile"}
1),e&&(0,I.jsx)("rect",{x:"8",y:"7",width:"8",height:"10",fill:"#191919"})]})})}),eA=({fillColor:e})=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"icon/search",fill:e??"#191919",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M10,1 C14.9705627,1 19,5.02943725 19,10 C19,12.124779 18.2636898,14.0775836 17.0323074,15.6171757 L22.2426407,20.8284271 C22.633165,21.2189514 22.633165,21.8521164 22.2426407,22.2426407 C21.8521164,22.633165 21.2189514,22.633165 20.8284271,22.2426407 L15.6171757,17.0323074 C14.0775836,18.2636898 12.124779,19 10,19 C5.02943725,19 1,14.9705627 1,10 C1,5.02943725 5.02943725,1 10,1 Z M10,3 C6.13400675,3 3,6.13400675 3,10 C3,13.8659932 6.13400675,17 10,17 C13.8659932,17 17,13.8659932 17,10 C17,6.13400675 13.8659932,3 10,3 Z",id:"search"})})})}),eR=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"White-Label-Icons",transform:"translate(-326.000000, -829.000000)",fill:"#191919",fillRule:"nonzero",children:(0,I.jsx)("g",{id:"Stacked-Group-2-Copy",transform:"translate(128.000000, 781.000000)",children:(0,I.jsx)("g",{id:"Group-12-Copy",transform:"translate(140.000000, 0.000000)",children:(0,I.jsx)("g",{id:"weather-filled",transform:"translate(58.000000, 48.000000)",children:(0,I.jsx)("path",{d:"M16.3671433,11 C20.945612,11 22.9172793,13.812304 22.997445,17.3134931 L23,17.5378884 L23,22 C23,22.5128358 22.6139598,22.9355072 22.1166211,22.9932723 L22,23 L2.09477906,23 C1.55129417,23 1.10731063,22.5659255 1.09503374,22.0225793 C0.999402532,17.7860878 2.8360563,15.475827 6.60499503,15.0917969 C7.77533469,14.972547 8.90700301,15.1490606 10,15.6213379 C11.1275069,12.540446 13.249888,11 16.3671433,11 Z M4.30239822,11.5400185 C4.4351299,12.0353799 4.1716391,12.5435636 3.70619753,12.7280811 L3.59529144,12.7647634 L1.66343979,13.2824015 C1.12997368,13.4253433 0.581636728,13.1087608 0.438694917,12.5752947 C0.305963235,12.0799333 0.569454036,11.5717496 1.03489561,11.3872321 L1.1458017,11.3505498 L3.07765335,10.8329117 C3.61111945,10.6899699 4.15945641,11.0065524 4.30239822,11.5400185 Z M14.9275823,8.69300899 C14.9627491,8.82425341 14.9923533,8.95567784 15.0165392,9.08703196 C12.4265769,9.42310946 10.398353,10.7572517 9.04734053,12.985832 L8.917,13.208 L8.80636205,13.1863089 C8.01898787,13.0476067 7.21593504,13.0191906 6.40225789,13.102099 L6.20311669,13.1244239 C5.77861546,12.598013 5.45461413,11.9764435 5.26832405,11.2811994 C4.55361499,8.61386893 6.13652744,5.87218415 8.80385795,5.15747509 C11.4711885,4.44276603 14.2128733,6.02567848 14.9275823,8.69300899 Z M2.25526346,5.23404325 L2.36380136,5.27723208 L4.17641693,6.1224686 C4.6769569,6.35587422 4.89351208,6.95085468 4.66010646,7.45139465 C4.44337267,7.91618176 3.91487282,8.13610444 3.4397183,7.978273 L3.33118041,7.93508417 L1.51856483,7.08984765 C1.01802487,6.85644203 0.801469688,6.26146157 1.03487531,5.7609216 C1.2516091,5.29613449 1.78010895,5.07621181 2.25526346,5.23404325 Z M18.2894736,4.25133986 C18.5836242,4.67143038 18.5098329,5.23908602 18.1355696,5.57166617 L18.043898,5.64406834 L16.4055939,6.79122121 C15.9531887,7.10799873 15.329643,6.99805078 15.0128654,6.5456456 C14.7187149,6.12555508 14.7925062,5.55789944 15.1667695,5.22531928 L15.2584411,5.15291712 L16.8967451,4.00576425 C17.3491503,3.68898673 17.9726961,3.79893467 18.2894736,4.25133986 Z M7.145313,1.3048645 L7.20069661,1.40771587 L8.04593313,3.22033145 C8.27933876,3.72087142 8.06278358,4.31585188 7.56224361,4.5492575 C7.09745649,4.76599129 6.55123855,4.59474868 6.28870117,4.16841934 L6.23331756,4.06556797 L5.38808104,2.2529524 C5.15467542,1.75241243 5.37123059,1.15743197 5.87177056,0.924026349 C6.33655768,0.707292558 6.88277562,0.878535169 7.145313,1.3048645 Z M12.6861436,0.327845956 C13.181505,0.460577639 13.4898596,0.942859216 13.4169357,1.43820221 L13.3932504,1.55259083 L12.8756123,3.48444248 C12.7326705,4.01790858 12.1843336,4.33449107 11.6508675,4.19154926 C11.1555061,4.05881758 10.8471515,3.576536 10.9200754,3.08119301 L10.9437607,2.96680439 L11.4613988,1.03495274 C11.6043406,0.501486634 12.1526775,0.184904145 12.6861436,0.327845956 Z"})})})})})})}),eT=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"icon/weather",fill:"#191919",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M16.3671433,11 C20.945612,11 22.9172793,13.812304 22.997445,17.3134931 L23,17.5378884 L23,22 C23,22.5128358 22.6139598,22.9355072 22.1166211,22.9932723 L22,23 L2.09477906,23 C1.55129417,23 1.10731063,22.5659255 1.09503374,22.0225793 C0.999402532,17.7860878 2.8360563,15.475827 6.60499503,15.0917969 C7.77533469,14.972547 8.90700301,15.1490606 10,15.6213379 C11.1275069,12.540446 13.249888,11 16.3671433,11 Z M16.3671433,13 C14.1848513,13 12.8217794,13.9327626 11.9706548,16.0666363 L11.8781766,
116.3086898 L11.1504593,18.2971641 L9.20670143,17.4572784 C8.42616178,17.120012 7.63729679,16.9969676 6.80773218,17.0814948 C4.51008456,17.31561 3.37133331,18.3660443 3.13716433,20.6940313 L3.112,21 L21,21 L21,17.5378884 C21,14.6902172 19.6207898,13.0903995 16.6276556,13.003718 L16.3671433,13 Z M4.30239822,11.5400185 C4.4351299,12.0353799 4.1716391,12.5435636 3.70619753,12.7280811 L3.59529144,12.7647634 L1.66343979,13.2824015 C1.12997368,13.4253433 0.581636728,13.1087608 0.438694917,12.5752947 C0.305963235,12.0799333 0.569454036,11.5717496 1.03489561,11.3872321 L1.1458017,11.3505498 L3.07765335,10.8329117 C3.61111945,10.6899699 4.15945641,11.0065524 4.30239822,11.5400185 Z M14.9275823,8.69300899 C14.9627491,8.82425341 14.9923533,8.95567784 15.0165392,9.08703196 C12.4265769,9.42310946 10.398353,10.7572517 9.04734053,12.985832 L8.917,13.208 L8.80636205,13.1863089 C8.01898787,13.0476067 7.21593504,13.0191906 6.40225789,13.102099 L6.20311669,13.1244239 C5.77861546,12.598013 5.45461413,11.9764435 5.26832405,11.2811994 C4.55361499,8.61386893 6.13652744,5.87218415 8.80385795,5.15747509 C11.4711885,4.44276603 14.2128733,6.02567848 14.9275823,8.69300899 Z M9.49308057,7.04862315 L9.32149604,7.08932674 C7.72109773,7.51815218 6.77135027,9.16316304 7.2001757,10.7635614 C7.2185317,10.8320669 7.23911901,10.8995142 7.26188399,10.9658413 L7.29600921,11.0578157 L7.47736671,11.0575761 L7.69047468,11.0632602 L7.92382516,11.0749073 L8.10643592,10.835456 C9.13474861,9.52711515 10.4090711,8.53496542 11.8872847,7.88827746 L12.1345413,7.78395738 C11.4381847,7.14493898 10.4657093,6.84748618 9.49308057,7.04862315 Z M2.25526346,5.23404325 L2.36380136,5.27723208 L4.17641693,6.1224686 C4.6769569,6.35587422 4.89351208,6.95085468 4.66010646,7.45139465 C4.44337267,7.91618176 3.91487282,8.13610444 3.4397183,7.978273 L3.33118041,7.93508417 L1.51856483,7.08984765 C1.01802487,6.85644203 0.801469688,6.26146157 1.03487531,5.7609216 C1.2516091,5.29613449 1.78010895,5.07621181 2.25526346,5.23404325 Z M18.2894736,4.25133986 C18.5836242,4.67143038 18.5098329,5.23908602 18.1355696,5.57166617 L18.043898,5.64406834 L16.4055939,6.79122121 C15.9531887,7.10799873 15.329643,6.99805078 15.0128654,6.5456456 C14.7187149,6.12555508 14.7925062,5.55789944 15.1667695,5.22531928 L15.2584411,5.15291712 L16.8967451,4.00576425 C17.3491503,3.68898673 17.9726961,3.79893467 18.2894736,4.25133986 Z M7.145313,1.3048645 L7.20069661,1.40771587 L8.04593313,3.22033145 C8.27933876,3.72087142 8.06278358,4.31585188 7.56224361,4.5492575 C7.09745649,4.76599129 6.55123855,4.59474868 6.28870117,4.16841934 L6.23331756,4.06556797 L5.38808104,2.2529524 C5.15467542,1.75241243 5.37123059,1.15743197 5.87177056,0.924026349 C6.33655768,0.707292558 6.88277562,0.878535169 7.145313,1.3048645 Z M12.6861436,0.327845956 C13.181505,0.460577639 13.4898596,0.942859216 13.4169357,1.43820221 L13.3932504,1.55259083 L12.8756123,3.48444248 C12.7326705,4.01790858 12.1843336,4.33449107 11.6508675,4.19154926 C11.1555061,4.05881758 10.8471515,3.576536 10.9200754,3.08119301 L10.9437607,2.96680439 L11.4613988,1.03495274 C11.6043406,0.501486634 12.1526775,0.184904145 12.6861436,0.327845956 Z",id:"weather"})})})}),ej=({filled:e})=>e?(0,I.jsx)(eR,{}):(0,I.jsx)(eT,{}),eO=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{fill:"#6F6F6F",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M12,2 C18.4693277,2 21.8869277,5.6794949 21.9972416,12.6487953 L22,13 L22,21 C22,22.0543618 21.1841222,22.9181651 20.1492623,22.9945143 L20,23 L17,23 C15.9456382,23 15.0818349,22.1841222 15.0054857,21.1492623 L15,21 L15,16 C15,14.9456382 15.8158778,14.0818349 16.8507377,14.0054857 L17,14 L19.999,14 L20,13 C20,6.97308022 17.5140694,4.10331154 12.2877891,4.00274165 L12,4 C6.67398648,4 4.0929485,6.76214511 4.00246691,12.6743876 L4,13 L3.999,14 L7,14 C8.0543618,14 8.91816512,14.8158778 8.99451426,15.8507377 L9,16 L9,21 C9,22.0543618 8.18412221,22.9181651 7.14926234,22.9945143 L7,23 L4,23 C2.9456382,23 2.08183488,22.1841222 2.00548574,21.1492623 L2,21 L2,13 C2,5.80316681 5.42285013,2 12,2 Z M3.999,16 L4,21 L7,21 L7,16 L3.999,16 Z M20,21 L19.999,16 L17,16 L17,21 L20,21 Z",id:"content-audio"})})})}),eP=({fillColor:e})=>(0,I.jsx)("svg",{width:"22px",height:"24px",viewBox:"0 0 22 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"White-Label-Icons",transform:"translate(-887.000000, -1232.000000)",fill:e??"#191919",fillRule:"nonzero",children:(0,I.jsx)("g",{id:"Stacked-Group-2-Copy-9",transform:"translate(548.000000, 1184.000000)",children:(0,I.jsx)("g",{id:"Group-11",transform:"translate(280.000000, 0.000000)",children:(0,I.jsx)("g",{id:"customerservice",transform:"translate(58.000000, 48.000000)",children:(0,I.jsx)("path",{d:"M12,0 C17.9787016,0 22.8433652,4.76976358 22.9962926,10.7115925 L23,11 L23,16 C23,16.5128358 22.6139598,16.9355072 22.1166211,16.9932723 L22,17 C21.9838649,17.360594 21.9684261,17.6445106 21.9401937,17.967167 C21.6073705,21.7708613 19.4343865,23.9115274 14.3232798,23.9973173 L14,24 L10,24 C9.48716416,24 9.06449284,23.6139598 9.00672773,23.1166211 L9,23 L9,21 C9,20.4871642 9.38604019,20.0644928 9.88337887,20.0067277 L10,20 L14,20 C14.5128358,20 14.9355072,20.3860402 14.9932723,20.8833789 L15,21 L15,21.972 L15.1235168,21.9650391 C18.4532791,21.7431507 19.6583915,20.4606041 19.9284101,17.990325 L19.9680939,17.5290219 C19.978977,17.3631748 19.9863541,17.1950338 19.9912472,17.0014008 L19,17 C18.5350142,17 18.1441524,16.6826379 18.0322042,16.2527035 C16.5673542,17.9361837 14.4079109,19 12,19 C9.59208909,19 7.43264578,17.9361837 5.96602576,16.2529069 C5.86534521,16.6461627 5.52929888,16.9453404 5.11662113,16.9932723 L5,17 L2,17 C1.48716416,17 1.06449284,16.6139598 1.00672773,16.1166211 L1,16 L1.000242,10.9780014 C1.13244672,4.96977059 6.05181799,0 12,0 Z M12,5 C8.6862915,5 6,7.6862915 6,11 C6,14.3137085 8.6862915,17 12,17 C15.3137085,17 18,14.3137085 18,11 C18,7.6862915 15.3137085,5 12,5 Z M15,13 C16,13 14,15 12,15 C10,15 8,13 9,13 L9,13 Z M21,12 L20,12 L20,15 L21,15 L21,12 Z M4,12 L3,12 L3,15 L4,15 L4,12 Z M9,9 C9.55228475,9 10,9.44771525 10,10 C10,10.5522847 9.55228475,11 9,11 C8.44771525,11 8,10.5522847 8,10 C8,9.44771525 8.44771525,9 9,9 Z M15,9 C15.5522847,9 16,9.44771525 16,10 C16,10.5522847 15.5522847,11 15,11 C14.4477153,11 14,10.5522847 14,10 C14,9.44771525 14.4477153,9 15,9 Z M12,2 C7.58819213,2 3.84001798,5.38706682 3.12177619,9.70109197 L3.077,10 L4.06188768,10.0000487 C4.55396414,6.05371356 7.92036556,3 12,3 C16.0796344,3 19.4460359,6.05371356 19.9381123,10.0000487 L20.944,10 L20.9394504,9.95040987 C20.4295623,5.56043956 16.7606173,2.13399974 12.2653623,2.00383711 L12,2 Z"})})})})})})}),eL=({fillColor:e})=>(0,I.jsx)("svg",{width:"22px",height:"22px",viewBox:"0 0 22 22",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"White-Label-Icons",transform:"translate(-481.000000, -974.000000)",fill:e??"#191919",fillRule:"nonzero",children:(0,I.jsx)("g",{id:"Group-12-Copy-2",transform:"translate(422.000000, 925.000000)",children:(0,I.jsx)("g",{id:"info",transform:"translate(58.000000, 48.000000)",children:(0,I.jsx)("path",{d:"M12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 Z M12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 C16.970
15627,21 21,16.9705627 21,12 C21,7.02943725 16.9705627,3 12,3 Z M12,10.5 C12.5522847,10.5 13,10.9477153 13,11.5 L13,16.5 C13,17.0522847 12.5522847,17.5 12,17.5 C11.4477153,17.5 11,17.0522847 11,16.5 L11,11.5 C11,10.9477153 11.4477153,10.5 12,10.5 Z M12,6.5 C12.5522847,6.5 13,6.94771525 13,7.5 C13,8.05228475 12.5522847,8.5 12,8.5 C11.4477153,8.5 11,8.05228475 11,7.5 C11,6.94771525 11.4477153,6.5 12,6.5 Z"})})})})})}),eM=[{content:"Nettipelit",url:"https://pelikone.fi/"},{content:"Älypää",url:"https://alypaa.com/"},{content:"Iltapulu – TV-ohjelmaopas",url:"https://www.iltapulu.fi/"},{content:"IS Alennuskoodit",url:"https://www.is.fi/alennuskoodi/"}],eN=[{content:"Lähetä palautetta palvelusta",url:"https://www.is.fi/palaute/"},{content:"IS:n asiakaspalvelu",url:"https://oma.sanoma.fi/tuote/ilta-sanomat"},{content:"Yhteystiedot",url:"https://www.is.fi/info/art-2000000000013.html"},{content:"Mainosta Supersäässä",url:"http://media.sanoma.fi/"},{content:"Käyttäytymiseen perustuva mainonta",url:"https://www.youronlinechoices.eu/fi/"}],eI=[{content:"Käyttöehdot",url:"https://oma.sanoma.fi/asiakastuki/yleiset/kayttoehdot"},{content:"Tietosuojalauseke",url:"https://www.sanoma.fi/tietosuojalauseke/"},{content:"Tietosuojakuvaus",url:"https://oma.sanoma.fi/asiakastuki/urheilulehti-is-digilehdet/tietosuojakuvaus"},{content:"Evästekäytännöt",url:"https://www.sanoma.fi/evastekaytannot/"},{content:"Evästeasetukset",url:"",privacyManager:!0}],eB=({isMobile:e})=>(0,I.jsx)("div",{className:"flex md:flex-row flex-col md:w-3/4 w-full",children:[{title:"HUPI & HYÖTY",links:eM,icon:(0,I.jsx)(eO,{})},{title:"ASIAKASPALVELU",links:eN,icon:(0,I.jsx)(eP,{fillColor:"#6F6F6F"})},{title:"EHDOT & EVÄSTEET",links:eI,icon:(0,I.jsx)(eL,{fillColor:"#6F6F6F"})}].map(({title:t,links:r,icon:n})=>e?(0,I.jsx)(eU,{title:t,links:r,icon:n},t):(0,I.jsx)(eD,{title:t,links:r,icon:n},t))}),eD=({title:e,icon:t,links:r})=>(0,I.jsxs)("div",{className:"flex flex-col w-1/3 pr-1",children:[(0,I.jsxs)("div",{className:"flex flex-row lg:h-8 h-10 menu-faded-title-small",children:[(0,I.jsx)("div",{className:"my-auto",children:t}),(0,I.jsx)("h3",{className:"ml-2 my-auto",children:e})]}),(0,I.jsx)(e_,{isMobile:!1,links:r})]}),eU=({title:e,icon:t,links:r})=>{let[n,i]=(0,_.useState)(!1);return(0,I.jsxs)("div",{className:"flex flex-col",children:[(0,I.jsxs)("button",{className:(0,B.default)("flex flex-row justify-between h-12 menu-faded-title-small border-separator border-b",{"px-4":!n},{"mx-4":n}),"aria-expanded":n,onClick:()=>{i(!n)},children:[(0,I.jsxs)("div",{className:"flex flex-row h-full",children:[(0,I.jsx)("div",{className:"my-auto",children:t}),(0,I.jsx)("h3",{className:"ml-2 my-auto",children:e})]}),(0,I.jsx)("div",{className:(0,B.default)("ml-2 my-auto",{"transform rotate-180":n}),children:(0,I.jsx)(ed.default,{})})]}),n&&(0,I.jsx)(e_,{isMobile:!0,links:r})]})},e_=({isMobile:e,links:t})=>(0,I.jsx)("ul",{children:t.map(({content:r,url:n,privacyManager:i},a)=>(0,I.jsx)("li",{className:(0,B.default)({"border-separator border-b":e},{"mx-4":e&&a!==t.length-1},{"px-4":e&&a===t.length-1}),children:i?(0,I.jsx)("button",{className:"flex items-center lg:h-8 md:h-10 h-12 menu-text",onClick:()=>{(0,G.openPrivacyManager)()},children:r}):(0,I.jsx)("a",{className:"flex items-center lg:h-8 md:h-10 h-12 menu-text",href:n,children:r})},a))});var e$=e.i(79407);let ez=({isMobile:e,onNavigation:t,setLastPathCookie:r})=>(0,I.jsx)("div",{className:"flex md:flex-row flex-col md:w-3/4 w-full",children:[{title:"SUOMI",locations:ef},{title:"EUROOPPA",locations:eh},{title:"MUU MAAILMA",locations:ep}].map(({title:n,locations:i})=>e?(0,I.jsx)(eH,{title:n,locations:i,onNavigation:t,setLastPathCookie:r},n):(0,I.jsx)(eq,{title:n,locations:i,onNavigation:t,setLastPathCookie:r},n))}),eq=({title:e,locations:t,onNavigation:r,setLastPathCookie:n})=>(0,I.jsxs)("div",{className:"pr-1 w-1/3",children:[(0,I.jsx)("h2",{className:"search-menu-title lg:h-8 h-10",children:e}),(0,I.jsx)(eG,{isMobile:!1,locations:t,onNavigation:r,setLastPathCookie:n})]}),eH=({title:e,locations:t,onNavigation:r,setLastPathCookie:n})=>{let[i,a]=(0,_.useState)(!1);return(0,I.jsxs)("div",{className:"flex flex-col",children:[(0,I.jsxs)("button",{className:(0,B.default)("flex flex-row justify-between h-12 border-separator border-b",{"px-4":!i},{"mx-4":i}),onClick:()=>{a(!i)},"aria-expanded":i,children:[(0,I.jsx)("h2",{className:"navbar-button-text my-auto",children:e}),(0,I.jsx)("div",{className:(0,B.default)("ml-2 my-auto",{"transform rotate-180":i}),children:(0,I.jsx)(ed.default,{})})]}),i&&(0,I.jsx)(eG,{isMobile:!0,locations:t,onNavigation:r,setLastPathCookie:n})]})},eG=({isMobile:e,locations:t,onNavigation:r,setLastPathCookie:n})=>{let i=Object.keys(t);return(0,I.jsx)("ul",{className:"flex flex-col",role:"listbox",children:i.map((a,s)=>(0,I.jsx)("li",{className:(0,B.default)({"border-separator border-b":e},{"mx-4":e&&s!==i.length-1},{"px-4":e&&s===i.length-1}),children:(0,I.jsx)(es,{href:t[a]??"#",className:"flex items-center lg:h-8 md:h-10 h-12",onClick:()=>{r(),n(t[a]??"")},children:a.split(" ").map(e$.capitalize).join(" ")})}
1,s))})},eF=({currentPath:e,isMobile:t,onNavigation:r})=>(0,I.jsx)("ul",{className:"flex flex-col md:w-1/4 md:pt-1 md:pr-1 navbar-button-text",children:[{content:"sää",url:er("weather",e)},{content:"sadetutka",url:er("radar",e)},{content:"supersää-sovellus",url:er("app-promo",e)},{content:"lähetä palautetta",url:"https://www.is.fi/palaute/"},{content:void 0,url:""},{content:"ilta-sanomat",url:"https://www.is.fi"}].map(({content:e,url:n},i)=>!e&&t?null:e?(0,I.jsx)("li",{className:"md:h-5 h-12 lg:mb-3 md:mb-5 md:pl-0 pl-4 md:border-0 border-b border-separator",children:(0,I.jsxs)(es,{href:n,className:"flex flex-row h-full",onClick:r,children:[(0,I.jsx)("span",{className:"md:mr-2 my-auto",children:e.toUpperCase()}),!t&&(0,I.jsx)("div",{className:"transform -rotate-90",style:{marginTop:"-2px"},children:(0,I.jsx)(ed.default,{fillColor:"#191919",size:12})})]})},i):(0,I.jsx)("li",{className:"h-5 lg:mb-3 mb-5"},i))}),eK=({currentPath:e,onNavigation:t,setLastPathCookie:r,isCentered:n})=>(0,I.jsxs)("section",{className:"bg-default w-full",children:[(0,I.jsx)(eW,{currentPath:e,onNavigation:t,setLastPathCookie:r}),(0,I.jsx)(eZ,{currentPath:e,onNavigation:t,setLastPathCookie:r,isCentered:n}),(0,I.jsx)("div",{className:"h-8 bg-light-grey border-separator border-t"})]}),eW=({currentPath:e,onNavigation:t,setLastPathCookie:r})=>(0,I.jsxs)("div",{className:"md:hidden w-full",children:[(0,I.jsx)("section",{className:"border-separator border-b",children:(0,I.jsx)(eF,{currentPath:e,isMobile:!0,onNavigation:t})}),(0,I.jsxs)("section",{children:[(0,I.jsx)(eV,{title:"SUPERSÄÄN SUOSIKKIKOHTEET"}),(0,I.jsx)(ez,{isMobile:!0,onNavigation:t,setLastPathCookie:r})]}),(0,I.jsxs)("section",{children:[(0,I.jsx)(eV,{title:"SUPERSÄÄN PALVELUT & APU"}),(0,I.jsx)("div",{className:"flex flex-col",children:(0,I.jsx)(eB,{isMobile:!0})})]})]}),eV=({title:e})=>(0,I.jsx)("div",{className:"flex flex-col justify-end h-12 bg-grey menu-separator-mobile-text border-separator border-b",children:(0,I.jsx)("h2",{className:"pl-4 pb-2",children:e})}),eZ=({currentPath:e,onNavigation:t,setLastPathCookie:r,isCentered:n})=>(0,I.jsxs)("div",{className:(0,B.default)("md:block","hidden","lg:w-wide","w-full","mx-auto",{"xl:w-wider":!n}),children:[(0,I.jsxs)("section",{className:"flex flex-row lg:w-wide lg:mx-0 mx-8 py-8 border-separator border-b",children:[(0,I.jsx)(eF,{currentPath:e,isMobile:!1,onNavigation:t}),(0,I.jsx)(ez,{isMobile:!1,onNavigation:t,setLastPathCookie:r})]}),(0,I.jsxs)("section",{className:"lg:w-wide lg:mx-0 mx-8 py-8",children:[(0,I.jsx)("h2",{className:"search-menu-title",children:"PALVELUT, INFOT JA APU"}),(0,I.jsx)("div",{className:"flex flex-row justify-between mt-5",children:(0,I.jsx)(eB,{isMobile:!1})})]})]});var eX=e.i(85204);let eJ=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{stroke:"none",strokeWidth:"1",children:(0,I.jsx)("path",{d:"M12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 Z M12,15.370875 C9.74381308,15.370875 7.84401072,16.2183182 7.62113217,16.9048142 L7.60372928,16.9777055 L7.33292135,19.6968871 C8.69374868,20.5238067 10.2912639,21 12,21 C13.7083154,21 15.3054647,20.5240411 16.6660736,19.6974978 L16.4008916,17.0260638 C16.2898692,16.2799933 14.3356092,15.370875 12,15.370875 Z M12,3 C7.02943725,3 3,7.02943725 3,12 C3,14.4015645 3.94063642,16.5834316 5.47358219,18.1972742 L5.61951658,16.7316862 C5.92092353,14.7062315 8.79194002,13.370875 12,13.370875 C15.1152653,13.370875 17.9134018,14.631157 18.3525315,16.6041236 L18.3851043,16.7800445 L18.5264178,18.1972742 C20.0593636,16.5834316 21,14.4015645 21,12 C21,7.02943725 16.9705627,3 12,3 Z M12,5 C14.2087221,5 16,6.79078303 16,9 C16,11.2085695 14.2085695,13 12,13 C9.79078303,13 8,11.2087221 8,9 C8,6.7906305 9.7906305,5 12,5 Z M12,7 C10.8952,7 10,7.8952 10,9 C10,10.104 10.8952,11 12,11 C13.104,11 14,10.104 14,9 C14,7.8952 13.104,7 12,7 Z"})})});var eY=e.i(33396),eQ=e.i(83958),e0=e.i(64793);let e1=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","data-testid":"svg-profile-filled",children:(0,I.jsx)("g",{stroke:"none",strokeWidth:"1",children:(0,I.jsx)("path",{d:"M6.303375,18.952375 L6.608625,16.878875 C6.814875,15.492875 9.228,14.370875 12,14.370875 C14.770625,14.370875 17.18375,15.492875 17.39,16.878875 L17.69525,18.952375 C16.213,20.371375 14.209625,21.25 12,21.25 C9.789,21.25 7.785625,20.371375 6.303375,18.952375 M15,9 C15,10.656 13.656,12 12,12 C10.3428,12 9,10.656 9,9 C9,7.3428 10.3428,6 12,6 C13.656,6 15,7.3428 15,9 Z M20.881125,18.472125 C20.922375,18.41575 20.965,18.36075 21.004875,18.304375 C21.48475,17.621 21.887625,16.88125 22.2025,16.096125 C22.2355,16.016375 22.26025,15.933875 22.291875,15.854125 C22.40875,15.543375 22.5105,15.2285 22.599875,14.905375 C22.62875,14.79675 22.657625,14.68675 22.682375,14.57675 C22.76075,14.256375 22.822625,13.9305 22.87075,13.599125 C22.8845,13.502875 22.902375,13.406625 22.91475,13.309 C22.965625,12.88 23,12.444125 23,12 C23,6.68425 19.228375,2.2485 14.2165,1.22275 C14.160125,1.21175 14.102375,1.207625 14.046,1.196625 C13.381875,1.072875 12.699875,1 12,1 C11.29875,1 10.61675,1.072875 9.952625,1.196625 C9.89625,1.207625 9.8385,1.21175 9.782125,1.22275 C4.77025,2.2485 1,6.68425 1,12 C1,12.444125 1.033,12.88 1.083875,13.309 C1.09625,13.406625 1.1155,13.502875 1.127875,13.599125 C1.176,13.9305 1.237875,14.256375 1.31625,14.57675 C1.342375,14.68675 1.369875,14.79675 1.400125,14.905375 C1.488125,15.2285 1.589875,15.543375 1.70675,15.854125 C1.738375,15.933875 1.763125,16.016375 1.796125,16.096125 C2.111,16.882625 2.513875,17.621 2.99375,18.304375 C3.033625,18.36075 3.07625,18.414375 3.1175,18.469375 C3.322375,18.749875 3.53825,19.019375 3.767875,19.27925 C3.827,19.348 3.888875,19.412625 3.95075,19.48 C4.18725,19.734375 4.436125,19.97775 4.694625,20.20875 C4.744125,20.25275 4.790875,20.298125 4.84175,20.34075 C6.765375,21.994875 9.262375,23 12,23 C14.73625,23 17.231875,21.994875 19.156875,20.342125 C19.20775,20.298125 19.25587
15,20.251375 19.305375,20.207375 C19.56525,19.97775 19.811375,19.734375 20.047875,19.48 C20.10975,19.414 20.171625,19.346625 20.232125,19.277875 C20.460375,19.019375 20.67625,18.75125 20.881125,18.472125 Z"})})}),e2=({text:e,onClick:t,active:r,className:n,testID:i,textIcon:a})=>(0,I.jsxs)("button",{"data-testid":i,className:(0,B.default)(n,"min-w-0","navbar-link","navbar-link-small","md:text-base","header-10-neg","flex","flex-row-reverse","uppercase","md:normal-case","md:flex-row","px-2","md:px-0","items-center","justify-center","relative",{"header-dropdown-button--active":r}),onClick:t,"aria-haspopup":!0,"aria-expanded":r,children:[(0,I.jsx)("span",{className:"mr-2 hidden md:block truncate md:max-w-100 md:truncate",children:e}),a?(0,I.jsx)("div",{className:"uppercase","initials-icon":a}):(0,I.jsx)(e1,{})]}),e5=({userProfile:e,...t})=>{let r=(0,eX.useConfig)(),n=(0,eQ.createLoginUrl)(r.origin);switch(e.authenticationStatus){case eY.AuthenticationStatus.AutoWelcomeBack:return null;case eY.AuthenticationStatus.Authenticated:return(0,I.jsx)(e2,{text:e.firstName??"",textIcon:e.firstName&&e.lastName&&e.firstName.charAt(0)+e.lastName.charAt(0),...t});case eY.AuthenticationStatus.Unauthenticated:case eY.AuthenticationStatus.Unknown:default:return(0,I.jsxs)(es,{className:(0,B.default)("navbar-link","px-2","md:px-0","items-center","flex","flex-row","md:flex-row-reverse"),href:n,onClick:()=>{(0,z.sendUIActionAnalyticsEvent)("top menu","Kirjaudu sisään"),(0,e0.initializeLoginFlow)(r.environment)},forceNormalLink:!0,children:[(0,I.jsx)(eJ,{}),(0,I.jsx)("span",{className:(0,B.default)("hidden","md:block","navbar-link-small","md:text-base","uppercase","md:normal-case","header-10-neg","md:mr-2","md:ml-0"),children:"Kirjaudu"})]})}},e3=({fillColor:e="currentColor"})=>(0,I.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 24 24",fill:e,xmlns:"http://www.w3.org/2000/svg",children:(0,I.jsx)("path",{d:"M5.3077 20.5C4.80257 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.3077C3.5 4.80257 3.675 4.375 4.025 4.025C4.375 3.675 4.80257 3.5 5.3077 3.5H10.8654C11.0782 3.5 11.2564 3.5718 11.4 3.7154C11.5435 3.85898 11.6153 4.03718 11.6153 4.25C11.6153 4.46282 11.5435 4.64102 11.4 4.7846C11.2564 4.92818 11.0782 4.99998 10.8654 4.99998H5.3077C5.23077 4.99998 5.16024 5.03203 5.09612 5.09613C5.03202 5.16024 4.99997 5.23077 4.99997 5.3077V18.6923C4.99997 18.7692 5.03202 18.8397 5.09612 18.9038C5.16024 18.9679 5.23077 19 5.3077 19H18.6923C18.7692 19 18.8397 18.9679 18.9038 18.9038C18.9679 18.8397 19 18.7692 19 18.6923V13.1346C19 12.9218 19.0718 12.7436 19.2154 12.6C19.3589 12.4564 19.5371 12.3846 19.75 12.3846C19.9628 12.3846 20.141 12.4564 20.2845 12.6C20.4282 12.7436 20.5 12.9218 20.5 13.1346V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.3077ZM19 6.0538L10.2461 14.8077C10.1077 14.9461 9.93363 15.017 9.72403 15.0202C9.51441 15.0234 9.33717 14.9525 9.1923 14.8077C9.04743 14.6628 8.975 14.4872 8.975 14.2808C8.975 14.0743 9.04743 13.8987 9.1923 13.7538L17.9461 4.99998H14.75C14.5371 4.99998 14.3589 4.92818 14.2154 4.7846C14.0718 4.64102 14 4.46282 14 4.25C14 4.03718 14.0718 3.85898 14.2154 3.7154C14.3589 3.5718 14.5371 3.5 14.75 3.5H20.5V9.25C20.5 9.46282 20.4282 9.64102 20.2845 9.7846C20.141 9.92818 19.9628 9.99998 19.75 9.99998C19.5371 9.99998 19.3589 9.92818 19.2154 9.7846C19.0718 9.64102 19 9.46282 19 9.25V6.0538Z"})}),e4=async(t,r)=>{let{initialize:n,wipeData:i}=await e.A(45534);n(t,{baseUrl:r}),i()};var e6=e.i(75443);let e9=({userProfile:e})=>{if(e.authenticationStatus!==eY.AuthenticationStatus.Authenticated)return null;let{firstName:t,email:r}=e,n=e8(e),i=t?`${e7()}, ${t}!`:`${e7()}!`;return(0,I.jsxs)("div",{className:"flex items-center gap-3",children:[(0,I.jsx)("div",{className:"profile-menu__avatar [&_svg_path]:fill-white",children:n??(0,I.jsx)(e1,{})}),(0,I.jsxs)("div",{className:"min-w-0",children:[(0,I.jsx)("h4",{className:"font-is-condensed font-semibold text-26 leading-normal text-text-default break-words",children:i}),r&&(0,I.jsx)("p",{className:"font-is-source text-16 text-text-30 break-words",children:r})]})]})},e8=e=>{if(e.authenticationStatus!==eY.AuthenticationStatus.Authenticated)return;let{firstName:t,lastName:r}=e;if(t||r)return`${t?.charAt(0)??""}${r?.charAt(0)??""}`},e7=()=>{let e=new Date().getHours();return e>=6&&e<10?"Huomenta":e>=10&&e<17?"Päivää":e>=17&&e<22?"Iltaa":"Hei"},te=({userProfile:e,isCentered:t})=>{let r=(0,eX.useConfig)();if(e.authenticationStatus!==eY.AuthenticationStatus.Authenticated)return null;let{userType:n}=e;return(0,I.jsxs)("section",{className:"bg-default w-full",children:[(0,I.jsx)("div",{className:(0,B.default)("lg:w-wide w-full mx-auto",{"xl:w-wider":!t}),children:(0,I.jsxs)("div",{className:(0,B.default)("mx-4","md:mx-8","lg:mx-0","py-6"),children:[(0,I.jsx)(e9,{userProfile:e}),(0,I.jsx)("hr",{className:"my-2 border-divider border-t"}),(0,I.jsxs)("ul",{className:"mt-4",children:["REGULAR"===n&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(tt,{href:"https://oma.sanoma.fi/tietoni",children:"Omat tietoni"}),(0,I.jsx)(tt,{href:"https://oma.sanoma.fi/tilaukseni",children:"Tilaukseni"})]}),(0,I.jsx)(tt,{href:(0,eQ.createLogoutUrl)(),onClick:()=>{let t=r.braze,n=!!t&&(0,e6.hasSpadCookieConsent)()&&(0,e6.hasOdcConsent)(e);(0,e0.clearUserInfo)(r.environment,!0),n&&e4(t.clientToken,t.sdkEndpoint),(0,z.sendUIActionAnalyticsEvent)("top menu","Kirjaudu ulos")},className:"text-text-warning",showExternalIcon:!1,children:"Kirjaudu ulos"})]})]})}),(0,I.jsx)("div",{className:"h-8 bg-light-grey border-separator border-t"})]})},tt=({children:e,href:t,isInternal:r=!1,onClick:n,className:i,showExternalIcon:a=!0})=>(0,I.jsx)("li",{children:(0,I.jsxs)(es,{href:t,className:(0,B.default)("menu-primary-link h-8 flex items-center gap-1.5 md:h-8 text-16",i),onClick:n,forceNormalLink:!r,children:[e,a&&(0,I.jsx)(e3,{})]})}),tr=()=>(0,I.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,I.jsx)("g",{id:"Icons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,I.jsx)("g",{id:"icon/locate",fill:"#191919",fillRule:"nonzero",children:(0,I.jsx)("path",{d:"M20.2256941,1.19426033 L2.201719,8.69079691 C1.45780595,9.00079346 0.968079641,9.7697044 1.00161742,10.5744123 C1.03535992,11.3791712 1.58713554,12.1045671 2.35363483,12.3515016 L2.4735082,12.3820802 L10.217,13.854 L11.6170114,21.5193709 L11.648936,21.646441 C11.8959109,22.4129658 12.6214278,22.9648395 13.4260618,22.9983742 C14.2305976,23.0321032 14.9995857,22.5422899 15.309483,21.7988545 L22.854112,3.70447838 C23.5442089,2.15828187 21.7863347,0.39587872 20.2256941,1.19426033 Z M20.959,3.051 L13.531,20.867 L11.9386802,12.1456902 L3.129,10.471 L20.959,3.051 Z",id:"locate"})})})}),tn=({setlocationPermissionDialogOpen:e,setPermissionLevel:t,setLastPathCookie:r,permissionLevel:n})=>{let{geoLocationSuccess:i,geoLocationFailure:a}=en(r,e,t,n);return(0,I.jsx)("div",{className:"flex justify-end lg:w-right w-20 md:ml-8 ml-4 my-auto",children:(0,I.jsxs)("button",{className:"flex p-2 mr-1 border-2 sm:rounded-none rounded-full","aria-label":"Paikanna minut",onClick:()=>{let r=(()=>{let e=D.default.get("geolocationPermission");if(!e)return null;try{return JSON.parse(e)}catch{return ee.logger.warn("Failed to parse geolocationPermission cookie"),null}})();r?.permission?(navigator.geolocation.getCurrentPosition(i,a),e(!1)):(t("app"),e(!0))},children:[(0,I.jsx)("span",{className:"hidden sm:inline-flex navbar-button-text my-auto mr-1 uppercase",children:"Paikanna"}),(0,I.jsx)(tr,{})]})})};function ti(){return!!("u">typeof window&&window.document&&window.document.createElement)}function ta(e,t){return r=>{if(e&&e(r),!r.defaultPrevented)return t(r)}}function ts(e){return"boolean"==typeof e}function to(e){return!!(e&&"[object Function]"==({}).toString.call(e))}function tl(...e){return(0,_.useCallback)(t=>{for(let r of e)if(null!=r)if(to(r))r(t);else try{r.current=t}catch(e){throw Error(`Cannot assign value "${t}" to ref "${r}"`)}},e)}function tc(e,t){let r=_.createContext(t);return r.displayName=e,r}function tu(){}function td(){let[,e]=(0,_.useState)(Object.create(null));return(0,_.useCallback)(()=>{e(Object.create(null))},[])}var tf=ti()?_.useLayoutEffect:_.useEffect;function th({context:e,children:t,items:r,set:n}){let i=_.useCallback(({element:e,index:t,...r})=>e?(n(n=>{if(null!=t&&-1!==t)return tm(n,{element:e,index:t,...r},t);if(0===n.length)return[{...r,element:e,index:0}];if(n.find(t=>t.element===e))return console.warn("[reach-ui]: `useDescendant` was called with an element that was already registered.\n\n
1If you are using the `@reach/descendants` package directly, make sure to only register descendants once. Registering a descendant more than once will lead to bugs in your app.\n\nIf you are using another `reach-ui` package, this is probably our bug!\n\nTo report a bug, open a new issue:\n\n  https://github.com/reach/reach-ui/issues/new?assignees=&labels=&template=Bug_report.md\n\nIMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed."),n.sort((e,t)=>e.element&&t.element?tp(e.element,t.element)?-1:1:0).map((e,t)=>({...e,index:t}));let i=function(e,t){if(!t||!e.length)return -1;let r=e.length;for(;r--;){let n=e[r].element;if(n&&tp(n,t))return r+1}return -1}(n,e);return -1===i?[...n,{...r,element:e,index:n.length}]:tm(n,{...r,element:e,index:i},i)}),()=>{e&&n(t=>t.filter(t=>e!==t.element))}):tu,[]);return _.createElement(e.Provider,{value:_.useMemo(()=>({descendants:r,registerDescendant:i}),[r,i])},t)}function tp(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function tm(e,t,r){return null!=r&&r in e?[...e.slice(0,r),t,...e.slice(r)]:[...e,t]}var tg=!1,ty=0,tx=_["useId".toString()],tb=e.i(30943),tw=({children:e,type:t="reach-portal",containerRef:r})=>{let n=_.useRef(null),i=_.useRef(null),a=td();return _.useEffect(()=>{null!=r&&("object"==typeof r&&"current"in r?null==r.current&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."):console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."))},[r]),tf(()=>{if(!n.current)return;let e=n.current.ownerDocument,s=r?.current||e.body;return i.current=e?.createElement(t),s.appendChild(i.current),a(),()=>{i.current&&s&&s.removeChild(i.current)}},[t,a,r]),i.current?(0,tb.createPortal)(e,i.current):_.createElement("span",{ref:n})},tC=({unstable_skipInitialRender:e,...t})=>{let[r,n]=_.useState(!1);return(_.useEffect(()=>{e&&n(!0)},[e]),e&&!r)?null:_.createElement(tw,{...t})};tC.displayName="Portal";var tv=["bottom","height","left","right","top","width"],tk=new Map,tS=function e(){var t=[];tk.forEach(function(e,r){var n,i,a=r.getBoundingClientRect();n=a,i=e.rect,void 0===n&&(n={}),void 0===i&&(i={}),tv.some(function(e){return n[e]!==i[e]})&&(e.rect=a,t.push(e))}),t.forEach(function(e){e.callbacks.forEach(function(t){return t(e.rect)})}),A=window.requestAnimationFrame(e)};function tE(e,t,r){let n,i;ts(t)?n=t:(n=t?.observe??!0,i=t?.onChange),to(r)&&(i=r),_.useEffect(()=>{ts(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),_.useEffect(()=>{to(r)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[r]);let[a,s]=_.useState(e.current),o=_.useRef(!1),l=_.useRef(!1),[c,u]=_.useState(null),d=_.useRef(i);return tf(()=>{d.current=i,e.current!==a&&s(e.current)}),tf(()=>{a&&!o.current&&(o.current=!0,u(a.getBoundingClientRect()))},[a]),tf(()=>{var t,r;if(!n)return;let i=a;if(l.current||(l.current=!0,i=e.current),!i)return void console.warn("You need to place the ref");let s=(t=i,r=e=>{d.current?.(e),u(e)},{observe:function(){var e=0===tk.size;tk.has(t)?tk.get(t).callbacks.push(r):tk.set(t,{rect:void 0,hasRectChanged:!1,callbacks:[r]}),e&&tS()},unobserve:function(){var e=tk.get(t);if(e){var n=e.callbacks.indexOf(r);n>=0&&e.callbacks.splice(n,1),e.callbacks.length||tk.delete(t),tk.size||cancelAnimationFrame(A)}}});return s.observe(),()=>{s.unobserve()}},[n,a,e]),c}
1var tA='input,select,textarea,a[href],button,[tabindex]:not(slot),audio[controls],video[controls],[contenteditable]:not([contenteditable="false"]),details>summary:first-of-type,details',tR="u"<typeof Element,tT=tR?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,tj=!tR&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},tO=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(tA));return t&&tT.call(e,tA)&&n.unshift(e),n=n.filter(r)},tP=function e(t,r,n){for(var i=[],a=Array.from(t);a.length;){var s=a.shift();if("SLOT"===s.tagName){var o=s.assignedElements(),l=e(o.length?o:s.children,!0,n);n.flatten?i.push.apply(i,l):i.push({scope:s,candidates:l})}else{tT.call(s,tA)&&n.filter(s)&&(r||!t.includes(s))&&i.push(s);var c=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),u=!n.shadowRootFilter||n.shadowRootFilter(s);if(c&&u){var d=e(!0===c?s.children:c.children,!0,n);n.flatten?i.push.apply(i,d):i.push({scope:s,candidates:d})}else a.unshift.apply(a,s.children)}}return i},tL=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},tM=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},tN=function(e){return"INPUT"===e.tagName},tI=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},tB=function(e){if(!e.name)return!0;var t,r=e.form||tj(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=tI(t,e.form);return!i||i===e},tD=function(e){return tN(e)&&"radio"===e.type&&!tB(e)},tU=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},t_=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=tT.call(e,"details>summary:first-of-type")?e.parentElement:e;if(tT.call(i,"details:not([open]) *"))return!0;var a=tj(e).host,s=(null==a?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(r&&"full"!==r){if("non-zero-area"===r)return tU(e)}else{if("function"==typeof n){for(var o=e;e;){var l=e.parentElement,c=tj(e);if(l&&!l.shadowRoot&&!0===n(l))return tU(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(s)return!e.getClientRects().length}return!1},t$=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!tT.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1},tz=function(e,t){return!(t.disabled||tN(t)&&"hidden"===t.type||t_(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||t$(t))},tq=function(e,t){return!(tD(t)||0>tL(t))&&!!tz(e,t)},tH=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},tG=function e(t){var r=[],n=[];return t.forEach(function(t,i){var a=!!t.scope,s=a?t.scope:t,o=tL(s,a),l=a?e(t.candidates):s;0===o?a?r.push.apply(r,l):r.push(s):n.push({documentOrder:i,tabIndex:o,item:t,isScope:a,content:l})}),n.sort(tM).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(r)},tF=function(e,t){return tG((t=t||{}).getShadowRoot?tP([e],t.includeContainer,{filter:tq.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:tH}):tO(e,t.includeContainer,tq.bind(null,t)))},tK=_.forwardRef(function({unstable_skipInitialPortalRender:e,...t},r){return _.createElement(tC,{unstable_skipInitialRender:e},_.createElement(tW,{ref:r,...t}))});tK.displayName="Popover";
1var tW=_.forwardRef(function({as:e="div",targetRef:t,position:r=tZ,unstable_observableRefs:n=[],...i},a){let s=_.useRef(null),o=tE(s,{observe:!i.hidden}),l=tE(t,{observe:!0}),c=tl(s,a);return function(e,t){var r;let n=(r=e.current,ti()?r?r.ownerDocument:document:null);function i(r){var i,s,l,c,u;let d,f,h,p,m,g;("Tab"!==r.key||!t.current||0!==tF(t.current).length)&&("Tab"===r.key&&r.shiftKey?function(e){if(!e.shiftKey)return;let t=a();return e.target===t}(r)?(i=r,(f=(d=t.current&&tF(t.current))&&d[d.length-1])&&(i.preventDefault(),f.focus())):(s=r,(h=t.current&&tF(t.current))&&0!==h.length&&s.target===h[0])?(r.preventDefault(),e.current?.focus()):r.target===tF(n)[0]&&o():"Tab"===r.key&&(e.current&&e.current===n.activeElement?(l=r,(p=t.current&&tF(t.current))&&p[0]&&(l.preventDefault(),p[0].focus())):function(){if(t.current&&t.current.contains(n.activeElement||null)){let e=t.current&&tF(t.current);return!!(e&&e[e.length-1]===n.activeElement)}return!1}()?(c=r,(m=a())&&(c.preventDefault(),m.focus())):(u=r,(g=t.current?tF(n).filter(e=>!t.current.contains(e)):null)&&u.target===g[g.length-1]&&o())))}function a(){let r=tF(n),i=r&&e.current?r.indexOf(e.current):-1,a=r&&r[i+1];return!(t.current&&t.current.contains(a||null))&&a}_.useEffect(()=>(n.addEventListener("keydown",i),()=>{n.removeEventListener("keydown",i)}),[]);let s=[];function o(){let e=t.current&&tF(t.current);e&&(e.forEach(e=>{s.push([e,e.tabIndex]),e.tabIndex=-1}),n.addEventListener("focusin",l))}function l(){n.removeEventListener("focusin",l),s.forEach(([e,t])=>{e.tabIndex=t})}}(t,s),_.createElement(e,{"data-reach-popover":"",ref:c,...i,style:{position:"absolute",...function(e,t,r,...n){return r?e(t,r,...n.map(e=>e.current)):{visibility:"hidden"}}(r,l,o,...n),...i.style}})});function tV(e,t,r){return{top:r?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}
1tW.displayName="PopoverImpl";var tZ=(e,t)=>{if(!e||!t)return{};let{directionRight:r,directionUp:n}=tJ(e,t);return{left:r?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...tV(e,t,n)}},tX=(e,t)=>{if(!e||!t)return{};let{directionUp:r}=tJ(e,t);return{width:e.width,left:e.left,...tV(e,t,r)}};function tJ(e,t,r=0,n=0){let i={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-r,bottom:window.innerHeight<e.bottom+t.height-n,left:e.left+e.width-t.width<0},a=i.right&&!i.left,s=i.left&&!i.right;return{directionRight:a,directionLeft:s,directionUp:i.bottom&&!i.top,directionDown:i.top&&!i.bottom}}function tY({autoEscape:e,caseSensitive:t,sanitize:r=tQ,searchWords:n,textToHighlight:i}){return i=r(i||""),n.filter(e=>e).reduce((n,a)=>{let s;a=r(a),e&&(a=a.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"));let o=new RegExp(a,t?"g":"gi");for(;s=o.exec(i||"");){let e=s.index,t=o.lastIndex;t>e&&n.push({highlight:!1,start:e,end:t}),s.index===o.lastIndex&&o.lastIndex++}return n},[])}function tQ(e){return e}var t0="IDLE",t1="SUGGESTING",t2="NAVIGATING",t5="INTERACTING",t3="CLEAR",t4="CHANGE",t6="INITIAL_CHANGE",t9="NAVIGATE",t8="SELECT_WITH_KEYBOARD",t7="SELECT_WITH_CLICK",re="ESCAPE",rt="BLUR",rr="INTERACT",rn="FOCUS",ri="OPEN_WITH_BUTTON",ra="OPEN_WITH_INPUT_CLICK",rs="CLOSE_WITH_BUTTON",ro={initial:t0,states:{[t0]:{on:{[rt]:t0,[t3]:t0,[t4]:t1,[t6]:t0,[rn]:t1,[t9]:t2,[ri]:t1,[ra]:t1}},[t1]:{on:{[t4]:t1,[rn]:t1,[t9]:t2,[t3]:t0,[re]:t0,[rt]:t0,[t7]:t0,[rr]:t5,[rs]:t0}},[t2]:{on:{[t4]:t1,[rn]:t1,[t3]:t0,[rt]:t0,[re]:t0,[t9]:t2,[t7]:t0,[t8]:t0,[rs]:t0,[rr]:t5}},[t5]:{on:{[t3]:t0,[t4]:t1,[rn]:t1,[rt]:t0,[re]:t0,[t9]:t2,[rs]:t0,[t7]:t0}}}},rl=(e,t)=>{let r={...e,lastEventType:t.type};switch(t.type){case t4:case t6:return{...r,navigationValue:null,value:t.value};case t9:case ri:case ra:return{...r,navigationValue:rc(r,t)};case t3:return{...r,value:"",navigationValue:null};case rt:case re:return{...r,navigationValue:null};case t7:return{...r,value:t.isControlled?e.value:t.value,navigationValue:null};case t8:return{...r,value:t.isControlled?e.value:e.navigationValue,navigationValue:null};case rs:return{...r,navigationValue:null};case rr:return r;case rn:return{...r,navigationValue:rc(r,t)};default:return r}};function rc(e,t){return t.value?t.value:t.persistSelection?e.value:null}var ru=function(e,t={}){let r=_.createContext({descendants:[],registerDescendant:()=>tu,...t});return r.displayName=e,r}("ComboboxDescendantContext"),rd=tc("ComboboxContext",{}),rf=tc("OptionContext",{}),rh=_.forwardRef(({onSelect:e,openOnFocus:t=!1,children:r,as:n="div","aria-label":i,"aria-labelledby":a,...s},o)=>{var l,c;let[u,d]=_.useState([]),f=_.useRef(),h=_.useRef(),p=_.useRef(),m=_.useRef(!1),g=_.useRef(!1),[y,x,b]=function(e,t,r){let[n,i]=_.useState(e.initial),[a,s]=_.useReducer(t,r);return[n,a,(t,r={})=>{let a=e.states[n],o=a&&a.on[t];if(o){s({type:t,state:n,nextState:n,...r}),i(o);return}}]}(ro,rl,{value:"",navigationValue:null});l=x.lastEventType,tf(()=>{(l===t9||l===re||l===t7||l===ri)&&c.current?.focus()},[c=f,l]);let w=function(e){if(void 0!==tx){let t=tx();return e??t}let t=e??(tg?++ty:null),[r,n]=_.useState(t);return tf(()=>{null===r&&n(++ty)},[]),_.useEffect(()=>{!1===tg&&(tg=!0)},[]),e??r??void 0}(s.id),C=w?function(...e){return e.filter(e=>null!=e).join("--")}("listbox",w):"listbox",v=_.useRef(!1),k=[t1,t2,t5].includes(y);return _.createElement(th,{context:ru,items:u,set:d},_.createElement(rd.Provider,{value:{ariaLabel:i,ariaLabelledby:a,autocompletePropRef:m,buttonRef:p,comboboxId:w,data:x,inputRef:f,isExpanded:k,listboxId:C,onSelect:e||tu,openOnFocus:t,persistSelectionRef:g,popoverRef:h,state:y,transition:b,isControlledRef:v}},_.createElement(n,{...s,"data-reach-combobox":"","data-state":rv(y),"data-expanded":k||void 0,ref:o},to(r)?r({id:w,isExpanded:k,navigationValue:x.navigationValue??null,state:y}):r)))});rh.displayName="Combobox";var rp=_.forwardRef(({as:e="input",selectOnClick:t=!1,autocomplete:r=!0,onClick:n,onChange:i,onKeyDown:a,onBlur:s,onFocus:o,value:l,...c},u)=>{var d;let f,{current:h}=_.useRef(l),p=_.useRef(!1);d=[l],f=(0,_.useRef)(!1),(0,_.useEffect)(()=>{f.current?(()=>{p.current=!0})():f.current=!0},d);let{data:{navigationValue:m,value:g,lastEventType:y},inputRef:x,state:b,transition:w,listboxId:C,autocompletePropRef:v,openOnFocus:k,isExpanded:S,ariaLabel:E,ariaLabelledby:A,persistSelectionRef:R,isControlledRef:T}=_.useContext(rd),j=tl(x,u),O=_.useRef(!1),P=rb(),L=rw(),M=void 0!==l,N=void 0!==h;!M&&N&&console.warn("ComboboxInput is changing from controlled to uncontrolled. ComboboxInput should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled ComboboxInput for the lifetime of the component. Check the `value` prop being passed in."),M&&!N&&console.warn("ComboboxInput is changing from uncontrolled to controlled. ComboboxInput should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled ComboboxInput for the lifetime of the component. Check the `value` prop being passed in."),_.useEffect(()=>{T.current=M},[M]),tf(()=>{v.current=r},[r,v]);let I=_.useCallback(e=>{""===e.trim()?w(t3,{isControlled:M}):e!==h||p.current?w(t4,{value:e}):w(t6,{value:e})},[h,w,M]);_.useEffect(()=>{M&&l!==g&&(""!==l.trim()||""!==(g||"").trim())&&I(l)},[l,I,M,g]),_.useEffect(()=>{let e=x.current?.form;if(e)return e.addEventListener("reset",t),()=>{e?.removeEventListener("reset",t)};function t(e){w(t3,{isControlled:M})}},[x,M,w]);let B=r&&(b===t2||b===t5)?m||l||g:l||g;return _.createElement(e,{"aria-activedescendant":m?String(rC(m)):void 0,"aria-autocomplete":"both","aria-controls":C,"aria-expanded":S,"aria-haspopup":"listbox","aria-label":E,"aria-labelledby":E?void 0:A,role:"combobox",...c,"data-reach-combobox-input":"","data-state":rv(b),ref:j,onBlur:ta(s,L),onChange:ta(i,function(e){let{value:t}=e.target;M||I(t)}),onClick:ta(n,function(){O.current&&(O.current=!1,x.current?.select()),k&&b===t0&&w(ra)}),onFocus:ta(o,function(){t&&(O.current=!0),k&&y!==t7&&w(rn,{persistSelection:R.current})}),onKeyDown:ta(a,P),value:B||""})});rp.displayName="ComboboxInput";var rm=_.forwardRef(({as:e="div",children:t,portal:r=!0,onKeyDown:n,onBlur:i,position:a=tX,...s},o)=>{let{popoverRef:l,inputRef:c,isExpanded:u,state:d}=_.useContext(rd),f=tl(l,o),h=rb(),p=rw(),m={"data-reach-combobox-popover":"","data-state":rv(d),onKeyDown:ta(n,h),onBlur:ta(i,p),hidden:!u,tabIndex:-1,
1children:t};return r?_.createElement(tK,{as:e,...s,ref:f,"data-expanded":u||void 0,position:a,targetRef:c,unstable_skipInitialPortalRender:!0,...m}):_.createElement(e,{ref:f,...s,...m})});rm.displayName="ComboboxPopover";var rg=_.forwardRef(({persistSelection:e=!1,as:t="ul",...r},n)=>{let{persistSelectionRef:i,listboxId:a}=_.useContext(rd);return e&&(i.current=!0),_.createElement(t,{role:"listbox",...r,ref:n,"data-reach-combobox-list":"",id:a})});rg.displayName="ComboboxList";var ry=_.forwardRef(({as:e="li",children:t,index:r,value:n,onClick:i,...a},s)=>{let{onSelect:o,data:{navigationValue:l},transition:c,isControlledRef:u}=_.useContext(rd),[d,f]=function(e){let[t,r]=(0,_.useState)(null);return[t,(0,_.useCallback)(t=>{e.current=t,r(t)},[])]}(_.useRef(null)),h=function(e,t,r){let n=td(),{registerDescendant:i,descendants:a}=_.useContext(t),s=r??a.findIndex(t=>t.element===e.element);return tf(()=>(e.element||n(),i({...e,index:s})),[e,n,s,i,...Object.values(e)]),s}(_.useMemo(()=>({element:d,value:n}),[n,d]),ru,r),p=tl(s,f),m=l===n;return _.createElement(rf.Provider,{value:{value:n,index:h}},_.createElement(e,{"aria-selected":m,role:"option",...a,"data-reach-combobox-option":"",ref:p,id:String(rC(n)),"data-highlighted":m?"":void 0,tabIndex:-1,onClick:ta(i,()=>{o&&o(n),c(t7,{value:n,isControlled:u.current})})},t?to(t)?t({value:n,index:h}):t:_.createElement(rx,null)))});function rx(){let{value:e}=_.useContext(rf),{data:{value:t}}=_.useContext(rd),r=_.useMemo(()=>(function({autoEscape:e,caseSensitive:t=!1,findChunks:r=tY,sanitize:n,searchWords:i,textToHighlight:a}){return function({chunksToHighlight:e,totalLength:t}){let r=[];if(0===e.length)n(0,t,!1);else{let r=0;e.forEach(e=>{n(r,e.start,!1),n(e.start,e.end,!0),r=e.end}),n(r,t,!1)}return r;function n(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})}}({chunksToHighlight:function({chunks:e}){return e.sort((e,t)=>e.start-t.start).reduce((e,t)=>{if(0===e.length)return[t];{let r=e.pop();if(t.start<=r.end){let n=Math.max(r.end,t.end);e.push({highlight:!1,start:r.start,end:n})}else e.push(r,t);return e}},[])}({chunks:r({autoEscape:e,caseSensitive:t,sanitize:n,searchWords:i,textToHighlight:a})}),totalLength:a?a.length:0})})({searchWords:String(t||"").replace(/([.*+?=^!:${}()|[\]/\\])/g,"\\$1").split(/\s+/),textToHighlight:e}),[t,e]);return _.createElement(_.Fragment,null,r.length?r.map((t,r)=>{let n=e.slice(t.start,t.end);return _.createElement("span",{key:r,"data-reach-combobox-option-text":"","data-user-value":!!t.highlight||void 0,"data-suggested-value":!t.highlight||void 0},n)}):e)}function rb(){let{data:{navigationValue:e},onSelect:t,state:r,transition:n,autocompletePropRef:i,persistSelectionRef:a,inputRef:s,isControlledRef:o}=_.useContext(rd),l=_.useContext(ru).descendants;return function(c){let u=l.findIndex(({value:t})=>t===e);function d(){return l[l.length-1]}let f=s.current?.tagName.toUpperCase()==="TEXTAREA"&&s.current.value.includes(`
2`);switch(c.key){case"ArrowDown":if(!l||!l.length)return;if(r===t0){if(f)return;c.preventDefault(),n(t9,{persistSelection:a.current})}else{c.preventDefault();let e=u!==l.length-1?l[(u+1)%l.length]:i.current?null:l[0];n(t9,{value:e?e.value:null})}break;case"ArrowUp":if(!l||!l.length)return;if(r===t0){if(f)return;c.preventDefault(),n(t9,{persistSelection:a.current})}else{c.preventDefault();let e=function(){if(0===u)if(i.current)return null;else return d();return -1===u?d():l[(u-1+l.length)%l.length]}();n(t9,{value:e?e.value:null})}break;case"Home":case"PageUp":if(c.preventDefault(),!l||0===l.length)return;r===t0?n(t9):n(t9,{value:l[0].value});break;case"End":case"PageDown":if(c.preventDefault(),!l||0===l.length)return;r===t0?n(t9):n(t9,{value:d().value});break;case"Escape":r!==t0&&n(re);break;case"Enter":r===t2&&null!==e&&(c.preventDefault(),t&&t(e),n(t8,{isControlled:o.current}))}}}function rw(){let{state:e,transition:t,popoverRef:r,inputRef:n,buttonRef:i}=_.useContext(rd);return function(a){let s=r.current,o=n.current,l=i.current,c=a.relatedTarget;c!==o&&c!==l&&s&&(s.contains(c)?e!==t5&&t(rr):t(rt))}}function rC(e){let t=0;if(0===e.length)return t;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}function rv(e){return e.toLowerCase()}ry.displayName="ComboboxOption",rx.displayName="ComboboxOptionText",_.forwardRef(({as:e="button",onClick:t,onKeyDown:r,...n},i)=>{let{transition:a,state:s,buttonRef:o,listboxId:l,isExpanded:c}=_.useContext(rd),u=tl(o,i),d=rb();return _.createElement(e,{"aria-controls":l,"aria-haspopup":"listbox","aria-expanded":c,...n,"data-reach-combobox-button":"",ref:u,onClick:ta(t,()=>{s===t0?a(ri):a(rs)}),onKeyDown:ta(r,d)})}).displayName="ComboboxButton";let rk="NotAsked",rS="Loading",rE="Success",rA="Failure",rR=e=>e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase():"",rT=({onNavigation:e,setLastPathCookie:t})=>{let[r,n]=(0,_.useState)({status:rk}),i=(0,U.useRouter)(),a=r.status===rA||r.status===rE&&0===r.data.length,s=r.data?.map(({url:e,name:t,regi
2on:r})=>{let n=[t,r].filter(e=>e).join(", ");return{url:e,name:t,title:n}}),o=(r,n)=>{let a=rR(r),o=n?s?.find(e=>rR(e.title)===a):void 0,l=s?.filter(e=>rR(e.name)===a),c=o?.url??(l?.length===1&&l[0]?.url);c&&(e(),t(c),i.replace(c))};return(0,I.jsxs)(rh,{className:"w-full",openOnFocus:!0,onSelect:e=>{o(e,!0)},children:[(0,I.jsx)("div",{className:"jsx-73da7a5478213bf3",children:(0,I.jsx)(rj,{emptyOrError:a,setLocationResp:n,navigate:o})}),(0,I.jsx)(Y.default,{id:"73da7a5478213bf3",children:"[data-reach-combobox-list]{max-height:30vh;overflow:auto}@media only screen and (width<=768px){.popover{margin-top:10px;width:100%!important;left:0!important}}@media only screen and (width>=768px){.popover{margin-top:2px;width:640px!important}}@media only screen and (width>=1024px){.popover{width:980px!important}}"}),r.status!==rk&&(0,I.jsxs)(rm,{className:"popover relative",children:[r.status===rS&&(0,I.jsx)("div",{className:"jsx-73da7a5478213bf3 "+((0,B.default)("flex justify-center h-11 p-3",{"absolute w-full":!!s})||""),children:(0,I.jsx)(J.LoadingIndicator,{})}),void 0!==s&&(0,I.jsx)(rO,{locations:s,error:r.status===rA,onNavigation:e,setLastPathCookie:t})]})]})},rj=({emptyOrError:e,setLocationResp:t,navigate:r})=>{let[n,i]=(0,_.useState)(!1),[a,s]=(0,_.useState)(""),o=(e=>{let[t,r]=(0,_.useState)(e);return(0,_.useEffect)(()=>{let t=setTimeout(()=>{r(e)},300);return()=>{clearTimeout(t)}},[e,300]),t})(a);return(0,_.useEffect)(()=>{o.length>0?(t(e=>({...e,status:rS})),fetch(`${et}/${encodeURIComponent(a)}/`).then(async e=>{e.ok?t({status:rE,data:await e.json().catch(()=>{})??[]}):t({status:rA})}).catch(e=>{ee.logger.error("ERROR",e),t({status:rA})})):t({status:rk})},[o]),(0,I.jsxs)("form",{className:"flex flex-row",onFocus:()=>{i(!0)},onBlur:()=>{i(!1)},onSubmit:e=>{e.preventDefault()},children:[(0,I.jsx)(rp,{className:(0,B.default)("w-full","border-l","border-t","border-b","outline-hidden","p-3","appearance-none","rounded-none",{"border-separator":!n&&!e},{"border-yellow":n&&!e},{"border-red":e}),type:"search",onChange:e=>{s(e.target.value)},"data-testid":"combobox-input"}),(0,I.jsxs)("button",{className:(0,B.default)("flex","justify-center","px-3","focus:outline-hidden",{"bg-black":!n&&!e},{"bg-yellow":n&&!e},{"bg-red":e}),type:"submit",onClick:()=>{r(a,!1)},children:[(0,I.jsx)("span",{className:"sr-only",children:"Hae"}),(0,I.jsx)("span",{className:"my-auto","aria-hidden":"true",children:(0,I.jsx)(eA,{fillColor:"#FFFFFF"})})]})]})},rO=({locations:e,error:t,onNavigation:r,setLastPathCookie:n})=>t?(0,I.jsx)("span",{className:"block p-3 text-text-warning",children:"Tapahtui virhe."}):0===e.length?(0,I.jsx)("span",{className:"block p-3 text-text-warning",children:"Hakusi ei tuottanut tuloksia."}):(0,I.jsx)(rg,{children:e.map(({url:e,title:t},i)=>(0,I.jsx)(ry,{style:{padding:0},className:(0,B.default)({"border-t border-separator":0!==i}),value:t,children:(0,I.jsx)(es,{href:e,className:"inline-block w-full h-full p-3",onClick:()=>{r(),n(e)},children:t})},e))}),rP=({onNavigation:e,setLastPathCookie:t})=>(0,I.jsxs)("section",{className:"bg-default w-full",children:[(0,I.jsx)("div",{className:"xl:w-wider lg:w-wide md:w-main mx-auto",children:(0,I.jsxs)("div",{className:"flex flex-col justify-start lg:w-wide md:w-main md:px-0 px-3 py-6",children:[(0,I.jsx)("h2",{className:"xs:search-menu-title search-menu-title-small mb-6",children:"MINKÄSLAISTA SÄÄTÄ LAITETTAISIIN?"}),(0,I.jsxs)("label",{className:"mb-6 flex flex-col",children:[(0,I.jsx)("span",{className:"search-text mb-3",children:"Hae kaupunkia, kuntaa tai paikkaa"}),(0,I.jsx)(rT,{onNavigation:e,setLastPathCookie:t})]}),(0,I.jsx)("p",{className:"search-text",children:"...tai valitse suosituista paikoista"}),(0,I.jsx)(rL,{onNavigation:e,setLastPathCookie:t})]})}),(0,I.jsx)("div",{className:"h-6 bg-light-grey border-separator border-t"})]}),rL=({onNavigation:e,setLastPathCookie:t})=>(0,I.jsx)("ul",{className:"flex flex-row flex-wrap",role:"listbox",children:Object.keys(ef).map(r=>(0,I.jsx)("li",{className:"mt-3 mr-3",children:(0,I.jsx)(es,{href:ef[r]??"#",className:"flex items-center navbar-button-text w-full h-10 px-2 border-2",onClick:()=>{e(),t(ef[r]??"")},children:(0,e$.capitalize)(r)})},r))}),rM=({currentPage:e,currentPath:t,loading:r,locationData:n,setlocationPermissionDialogOpen:i,setPermissionLevel:a,isCentered:s,setLastPathCookie:o,permissionLevel:l})=>{let c=(0,_.useRef)(null),[u,d]=(0,_.useState)("none"),f=(0,_.useCallback)(()=>{d("none"),document.body.classList.remove("supersaa-wallpaper-ad")},[]),{userProfile:h}=(0,H.useUserProfile)();return(0,_.useEffect)(()=>{let e=e=>{let{current:t}=c;t&&e.target instanceof HTMLElement&&!t.contains(e&&e.target)&&f()},t=e=>{"Escape"===e.code&&f()};return document.body.addEventListener("click",e),document.body.addEventListener("keydown",t),function(){document.body.removeEventListener("click",e),document.body.removeEventListener("keydown",t)}},[f]),(0,I.jsxs)("header",{children:[(0,I.jsxs)("div",{className:"bg-yellow",ref:c,children:[(0,I.jsx)("nav",{className:(0,B.default)("p-3","mx-auto","lg:w-wide","md:w-main","md:px-0",{"xl:w-wider":!s}),children:(0,I.jsxs)("div",{className:"flex h-full items-center lg:w-wide",children:[(0,I.jsxs)(es,{href:t,onClick:f,children:[(0,I.jsx)("span",{className:"sr-only",children:"SupersäÃ
2¤n etusivulle"}),(0,I.jsx)("span",{className:(0,B.default)("block","header__logo","bg-no-repeat","bg-contain","bg-center")})]}),(0,I.jsxs)("div",{className:"flex w-full justify-end",children:[(0,I.jsxs)(es,{href:er("weather",t),className:"mr-2 lg:mr-6 navbar-link items-center hidden md:flex",onClick:f,children:[(0,I.jsx)("span",{className:"lg:mr-2",children:"Sää"}),(0,I.jsx)(ej,{filled:"weather"===e})]}),(0,I.jsxs)(es,{href:er("radar",t),className:"mr-2 lg:mr-6 navbar-link items-center hidden md:flex",onClick:f,children:[(0,I.jsx)("span",{className:"lg:mr-2",children:"Sadetutka"}),(0,I.jsx)(eS,{filled:"radar"===e})]}),(0,I.jsx)("div",{className:"flex mr-2 lg:mr-6",children:(0,I.jsx)(e5,{userProfile:h,onClick:function(){"profile"!==u?d("profile"):d("none")},active:"profile"===u})}),(0,I.jsx)("div",{className:"mr-2 lg:mr-6 navbar-link",children:(0,I.jsxs)("button",{className:(0,B.default)("flex","items-center","relative","justify-center",{"header-dropdown-button--active":"search"===u}),"aria-expanded":"search"===u,onClick:()=>{"search"!==u?(d("search"),(0,z.sendUIActionAnalyticsEvent)("top menu","search")):d("none")},children:[(0,I.jsx)("span",{className:"lg:mr-2 navbar-link sr-only md:not-sr-only md:mr-2",children:"Hae paikkaa"}),(0,I.jsx)(eA,{})]})}),(0,I.jsx)("div",{className:"navbar-link",children:(0,I.jsxs)("button",{className:(0,B.default)("flex","items-center","relative","justify-center",{"header-dropdown-button--active":"menu"===u}),"aria-expanded":"menu"===u,onClick:()=>{"menu"!==u?(d("menu"),(0,z.sendUIActionAnalyticsEvent)("top menu","menu")):d("none")},children:[(0,I.jsx)("span",{className:"my-auto mr-2 sr-only md:not-sr-only md:mr-2",children:"Valikko"}),"menu"===u?(0,I.jsx)(ei,{}):(0,I.jsx)(eC,{})]})})]})]})}),"search"===u&&(0,I.jsx)(rP,{onNavigation:f,setLastPathCookie:o}),"menu"===u&&(0,I.jsx)(eK,{currentPath:t,onNavigation:f,setLastPathCookie:o,isCentered:s}),!!h&&"profile"===u&&(0,I.jsx)(te,{userProfile:h,isCentered:s})]}),(0,I.jsxs)("section",{className:"md:hidden flex py-3 px-2 bg-default border-b border-separator",children:[(0,I.jsxs)(es,{href:t,className:"navbar-link px-2 flex items-center",children:[(0,I.jsx)(ej,{filled:"weather"===e}),(0,I.jsx)("span",{className:"navbar-link-small uppercase ml-1",children:"Sää"})]}),(0,I.jsxs)(es,{href:er("radar",t),className:"navbar-link px-2 flex items-center",children:[(0,I.jsx)(eS,{filled:"radar"===e}),(0,I.jsx)("span",{className:"navbar-link-small uppercase ml-1",children:"Sadetutka"})]}),(0,I.jsxs)(es,{href:er("app-promo",t),className:"navbar-link px-2 flex items-center",children:[(0,I.jsx)(eE,{filled:"app-promo"===e}),(0,I.jsx)("span",{className:"navbar-link-small uppercase ml-1",children:"Sovellus"})]})]}),(0,I.jsx)(rN,{loading:r,currentPage:e,locationData:n,setlocationPermissionDialogOpen:i,setPermissionLevel:a,isCentered:s,setLastPathCookie:o,permissionLevel:l})]})},rN=({loading:e,currentPage:t,locationData:r,setlocationPermissionDialogOpen:n,setPermissionLevel:i,isCentered:a,setLastPathCookie:s,permissionLevel:o})=>{let l=(0,W.getTitleForSubMenu)(t,r);return(0,I.jsx)("nav",{className:"bg-default border-separator border-b",children:(0,I.jsxs)("div",{className:(0,B.default)("flex","flex-row","lg:w-wide","md:w-main","md:mx-auto","md:px-0","sm:px-3","px-2","sm:py-3","py-2",{"xl:w-wider":!a}),children:[(0,I.jsx)("div",{className:"lg:w-main w-full  my-auto",children:!e&&(0,I.jsx)("h1",{className:"navbar-title",children:l})}),"weather"===t&&(0,I.jsx)(tn,{setlocationPermissionDialogOpen:n,setPermissionLevel:i,setLastPathCookie:s,permissionLevel:o})]})})};var rI=e.i(98986),rB=e.i(50461);class rD{static v2026=void 0!==rB.default&&rB.default.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return rD.v2026?50:100}static throttlingDelay(){return rD.v2026?1e3:500}static cost(){return rD.v2026?14:5}static throttlingCost(){return rD.v2026?5:10}static modifiedCostType(){return rD.v2026?"THROTTLING":"TRANSIENT"}}function rU(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}rD.v2026||="object"==typeof rB.default&&rB.default.env?.AWS_NEW_RETRIES_202
26==="true";let r_="WHEN_SUPPORTED",r$="WHEN_SUPPORTED";(p=R||(R={})).MD5="MD5",p.CRC32="CRC32",p.CRC32C="CRC32C",p.CRC64NVME="CRC64NVME",p.SHA1="SHA1",p.SHA256="SHA256",(m=T||(T={})).HEADER="header",m.TRAILER="trailer";let rz=R.CRC32,rq={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0};class rH{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new rH({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return rH.clone(this)}}var rG=e.i(21168);class rF{allocByteArray;byteLength=0;byteArrays=[];constructor(e){this.allocByteArray=e}push(e){this.byteArrays.push(e),this.byteLength+=e.byteLength}flush(){if(1===this.byteArrays.length){let e=this.byteArrays[0];return this.reset(),e}let e=this.allocByteArray(this.byteLength),t=0;for(let r=0;r<this.byteArrays.length;++r){let n=this.byteArrays[r];e.set(n,t),t+=n.byteLength}return this.reset(),e}reset(){this.byteArrays=[],this.byteLength=0}}let rK=function(e,t,r){let n=e.getReader(),i=!1,a=0,s=["",new rF(e=>new Uint8Array(e))],o=-1,l=async e=>{let{value:c,done:u}=await n.read();if(u){if(-1!==o){let t=rW(s,o);rV(t)>0&&e.enqueue(t)}e.close()}else{let n=function(e,t=!0){return t&&void 0!==rG.Buffer&&e instanceof rG.Buffer?2:e instanceof Uint8Array?1:"string"==typeof e?0:-1}(c,!1);if(o!==n&&(o>=0&&e.enqueue(rW(s,o)),o=n),-1===o)return void e.enqueue(c);let u=rV(c);a+=u;let d=rV(s[o]);if(u>=t&&0===d)e.enqueue(c);else{let n=function(e,t,r){switch(t){case 0:return e[0]+=r,rV(e[0]);case 1:case 2:return e[t].push(r),rV(e[t])}}(s,o,c);!i&&a>2*t&&(i=!0,r?.warn(`@smithy/util-stream - stream chunk size ${u} is below threshold of ${t}, automatically buffering.`)),n>=t?e.enqueue(rW(s,o)):await l(e)}}};return new ReadableStream({pull:l})};function rW(e,t){switch(t){case 0:let r=e[0];return e[0]="",r;case 1:case 2:return e[t].flush()}throw Error(`@smithy/util-stream - invalid index ${t} given to flush()`)}function rV(e){return e?.byteLength??e?.length??0}let rZ=e=>e===R.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`,rX=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e),rJ=e=>void 0!==e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&!rX(e);var rY=e.i(3);let rQ=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=1&t?0x82f63b78^t>>>1:t>>>1;rQ[e]=t>>>0}class r0{digestLength=4;crc=0xffffffff;update(e){let t=this.crc;for(let r=0;r<e.length;++r)t=t>>>8^rQ[(t^e[r])&255];this.crc=t}async digest(){let e=(0xffffffff^this.crc)>>>0,t=new Uint8Array(4);return t[0]=e>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=255&e,t}reset(){this.crc=0xffffffff}}class r1{c1=0;c2=0;constructor(){t||(t=(()=>{let e=Array(8);for(let t=0;t<8;t++){let r=Array(512);for(let e=0;e<256;e++){let n=BigInt(e);for(let e=0;e<8*(t+1);e++)1n&n?n=n>>1n^0x9a6c9329ac4bc9b5n:n>>=1n;r[2*e]=Number(n>>32n&4294967295n),r[2*e+1]=Number(4294967295n&n)}e[t]=new Uint32Array(r)}return e})(),[r,n,i,a,s,o,l,c]=t),this.reset()}update(e){let t=e.length,u=0,d=this.c1,f=this.c2;for(;u+8<=t;){let t=((f^e[u++])&255)<<1,h=((f>>>8^e[u++])&255)<<1,p=((f>>>16^e[u++])&255)<<1,m=((f>>>24^e[u++])&255)<<1,g=((d^e[u++])&255)<<1,y=((d>>>8^e[u++])&255)<<1,x=((d>>>16^e[u++])&255)<<1,b=((d>>>24^e[u++])&255)<<1;d=c[t]^l[h]^o[p]^s[m]^a[g]^i[y]^n[x]^r[b],f=c[t+1]^l[h+1]^o[p+1]^s[m+1]^a[g+1]^i[y+1]^n[x+1]^r[b+1]}for(;u<t;){let t=((f^e[u])&255)<<1;f=(f>>>8|(255&d)<<24)>>>0,d=d>>>8^r[t],f^=r[t+1],++u}this.c1=d,this.c2=f}async digest(){let e=0xffffffff^this.c1,t=0xffffffff^this.c2;return new Uint8Array([e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t])}reset(){this.c1=0xffffffff,this.c2=0xffffffff}}let r2=[R.CRC32,R.CRC32C,R.CRC64NVME,R.SHA1,R.SHA256],r5=[R.SHA256,R.SHA1,R.CRC32,R.CRC32C,R.CRC64NVME],r3=(e,t)=>
2{let{checksumAlgorithms:r={}}=t;switch(e){case R.MD5:return r?.MD5??t.md5;case R.CRC32:return r?.CRC32??rY.Crc32;case R.CRC32C:return r?.CRC32C??r0;case R.CRC64NVME:return r?.CRC64NVME??r1;case R.SHA1:return r?.SHA1??t.sha1;case R.SHA256:return r?.SHA256??t.sha256;default:if(r?.[e])return r[e];throw Error(`The checksum algorithm "${e}" is not supported by the client. Select one of ${r2}, or provide an implementation to  the client constructor checksums field.`)}};var r4=e.i(75540);let r6=e=>e instanceof Uint8Array?e:"string"==typeof e?(0,r4.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),r9=(e,t)=>{let r=new e;return r.update(r6(t||"")),r.digest()},r8={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},r7=(e=[])=>{let t=[],r=r5.length;for(let n of e){let e=r5.indexOf(n);-1!==e?t[e]=n:t[r++]=n}return t.filter(Boolean)},ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nt=Object.entries(ne).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),nr=ne.split("");function nn(e){let t,r="object"==typeof(t="string"==typeof e?(0,r4.fromUtf8)(e):e)&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let i=e,a=Math.min(e+3,t.length);i<a;i++)r|=t[i]<<(a-i-1)*8,n+=8;let a=Math.ceil(n/6);r<<=6*a-n;for(let e=1;e<=a;e++){let t=(a-e)*6;i+=nr[(r&63<<t)>>t]}i+="==".slice(0,4-a)}return i}let ni=e=>"function"==typeof ReadableStream&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),na="function"==typeof ReadableStream?ReadableStream:function(){};class ns extends na{}let no=({expectedChecksum:e,checksum:t,source:r,checksumSourceLocation:n,base64Encoder:i})=>{if(!ni(r))throw Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);let a=i??nn;if("function"!=typeof TransformStream)throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let s=new TransformStream({start(){},async transform(e,r){t.update(e),r.enqueue(e)},async flush(r){let i=a(await t.digest());if(e!==i){let t=Error(`Checksum mismatch: expected "${e}" but received "${i}" in response header "${n}".`);r.error(t)}else r.terminate()}});r.pipeThrough(s);let o=s.readable;return Object.setPrototypeOf(o,ns.prototype),o},nl=async(e,{checksumAlgorithmFn:t,base64Encoder:r})=>r(await r9(t,e)),nc=async(e,{config:t,responseAlgorithms:r,logger:n})=>{let i=r7(r),{body:a,headers:s}=e;for(let r of i){let i=rZ(r),o=s[i];if(o){let s;try{s=r3(r,t)}catch(e){if(r===R.CRC64NVME){n?.warn(`Skipping ${R.CRC64NVME} checksum validation: ${e.message}`);continue}throw e}let{base64Encoder:l}=t;if(rJ(a)){e.body=no({expectedChecksum:o,checksumSourceLocation:i,checksum:new s,source:a,base64Encoder:l});return}let c=await nl(a,{checksumAlgorithmFn:s,base64Encoder:l});if(c===o)break;throw Error(`Checksum mismatch: expected "${c}" but received "${o}" in response header "${i}".`)}}},nu={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},nd=(e,t)=>({applyToStack:r=>{r.add((r,n)=>async i=>{if(!rH.isInstance(i.request)||((e,t)=>{let r=e.toLowerCase();for(let e of Object.keys(t))if(e.toLowerCase().startsWith(r))return!0;return!1})("x-amz-checksum-",i.request.headers))return r(i);let{request:a,input:s}=i,{body:o,headers:l}=a,{base64Encoder:c,streamHasher:u}=e,{requestChecksumRequired:d,requestAlgorithmMember:f}=t,h=await e.requestChecksumCalculation(),p=f?.name,m=f?.httpHeader;p&&!s[p]&&(h===r_||d)&&(s[p]=rz,m&&(l[m]=rz));let g=((e,{requestChecksumRequired:t,requestAlgorithmMember:r,requestChecksumCalculation:n})=>r?e[r]?e[r]:void 0:n===r_||t?rz:void 0)(s,{requestChecksumRequired:d,requestAlgorithmMember:f?.name,requestChecksumCalculation:h}),y=o,x=l;if(g){switch(g){case R.CRC32:rU(n,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case R.CRC32C:rU(n,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case R.CRC64NVME:rU(n,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case R.SHA1:rU(n,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case R.SHA256:rU(n,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}let t=rZ(g),r=r3(g,e);if(rJ(o)){let{getAwsChunkedEncodingStream:i,bodyLengthChecker:a}=e;y=i("number"==typeof e.requestStreamBufferSize&&e.requestStreamBufferSize>=8192?rK(o,e.requestStreamBufferSize,n.logger):o,{base64Encoder:c,bodyLengthChecker:a,checksumLocationName:t,checksumAlgorithmFn:r,streamHasher:u}),x={...l,"content-encoding":l["content-encoding"]?`${l["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":l["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":t},delete x["content-length"]}else if(!((e,t)=>{let r=e.toLowerCase();for(let e of Object.keys(t))if(r===e.toLowerCase())return!0;return!1})(t,l)){let e=await r9(r,o);x={...l,[t]:c(e)}}}try{return await r({...i,request:{...a,headers:x,body:y}})}catch(e){if(e instanceof Error&&"InvalidChunkSizeError"===e.name)try{e.message.endsWith(".")||(e.message+="."),e.message+=" Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."}catch(e){}throw e}},r8),r.addRelativeTo((r,n)=>async i=>{let a=i.input,{requestValidationModeMember:s}=t,o=await e.requestChecksumCalculation(),l=await e.responseChecksumValidation();switch(o){case"WHEN_REQUIRED":rU(n,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case r_:rU(n,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(l){case"WHEN_REQUIRED":rU(n,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case r$:rU(n,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return s&&!a[s]&&l===r$&&(a[s]="ENABLED"),r(i)},rq),r.addRelativeTo((r,n)=>async i=>{if(!rH.isInstance(i.request))return r(i);let a=i.input,s=await r(i),o=s.response,{requestValidationModeMember:l,responseAlgorithms:c}=t;if(l&&"ENABLED"===a[l]){let{clientName:t,commandName:r}=n,i=r7([...c??[],...Object.keys(e.checksumAlgorithms??{}).filter(e=>{let t=rZ(e);return void 0!==o.headers[t]})]);if("S3Client"===t&&"GetObjectCommand"===r&&i.every(e=>{let t=rZ(e),r=o.headers[t];return!r||(e=>{let t=e.lastIndexOf("-");if(-1!==t){let r=e.slice(t+1);if(!r.startsWith("0")){let e=parseInt(r,10);if(!isNaN(e)&&e>=1&&e<=1e4)return!0}}return!1})(r)}))return s;await nc(o,{config:e,responseAlgorithms:i,logger:n.logger})}return s},nu)}});
2class nf{trace(){}debug(){}info(){}warn(){}error(){}}let nh={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},np={step:"initialize",tags:["LOCATION_CONSTRAINT","CREATE_BUCKET_CONFIGURATION"],name:"locationConstraintMiddleware",override:!0};class nm{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}var ng=e.i(74733);let ny=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),nx=e=>{let t=(e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&nE.warn(nS(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}})(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>ny)throw TypeError(`Expected 32-bit float, got ${e}`);return t},nb=(e,t)=>{let r=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==r&&nw(r,t)!==r)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return r},nw=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},nC=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,nv=e=>{let t=e.match(nC);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},nk=e=>"string"==typeof e?nb(nv(e),16):nb(e,16),nS=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),nE={warn:console.warn},nA=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],nR=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nT(e){let t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),s=e.getUTCMinutes(),o=e.getUTCSeconds(),l=i<10?`0${i}`:`${i}`,c=a<10?`0${a}`:`${a}`,u=s<10?`0${s}`:`${s}`,d=o<10?`0${o}`:`${o}`;return`${nA[n]}, ${l} ${nR[r]} ${t} ${c}:${u}:${d} GMT`}new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}:\d{2})|[zZ])$/);let nj=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),nO=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),nP=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),nL=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=nj.exec(e);if(t){let[e,r,n,i,a,s,o,l]=t;return nM(nk(nq(i)),nB(n),n$(r,"day",1,31),{hours:a,minutes:s,seconds:o,fractionalMilliseconds:l})}if(t=nO.exec(e)){let[e,r,n,i,a,s,o,l]=t;return nI(nM(nN(i),nB(n),n$(r,"day",1,31),{hours:a,minutes:s,seconds:o,fractionalMilliseconds:l}))}if(t=nP.exec(e)){let[e,r,n,i,a,s,o,l]=t;return nM(nk(nq(l)),nB(r),n$(n.trimLeft(),"day",1,31),{hours:i,minutes:a,seconds:s,fractionalMilliseconds:o})}throw TypeError("Invalid RFC-7231 date-time value")},nM=(e,t,r,n)=>{let i=t-1;return nU(e,i,r),new Date(Date.UTC(e,i,r,n$(n.hours,"hour",0,23),n$(n.minutes,"minute",0,59),n$(n.seconds,"seconds",0,60),nz(n.fractionalMilliseconds)))},nN=e=>{let t=new Date().getUTCFullYear(),r=100*Math.floor(t/100)+nk(nq(e));return r<t?r+100:r},nI=e=>e.getTime()-new Date().getTime()>15768e8?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,nB=e=>{let t=nR.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},nD=[31,28,31,30,31,30,31,31,30,31,30,31],nU=(e,t,r)=>{let n=nD[t];if(1===t&&n_(e)&&(n=29),r>n)throw TypeError(`Invalid day for ${nR[t]} in ${e}: ${r}`)},n_=e=>e%4==0&&(e%100!=0||e%400==0),n$=(e,t,r,n)=>{var i;let a="string"==typeof(i=nq(e))?nb(nv(i),8):nb(i,8);if(a<r||a>n)throw TypeError(`${t} must be between ${r} and ${n}, inclusive`);return a},nz=e=>{var t;return null==e?0:1e3*("string"==typeof(t="0."+e)?nx(nv(t)):nx(t))},nq=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)},nH={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},nG=e=>({applyToStack:e=>{e.addRelativeTo((e,t)=>async r=>{let n=await e(r),{response:i}=n;if(nm.isInstance(i)&&i.headers.expires){i.headers.expiresstring=i.headers.expires;try{nL(i.headers.expires)}catch(e){t.logger?.warn(`AWS SDK Warning for ${t.clientName}::${t.commandName} response parsing (${i.headers.expires}): ${e}`),delete i.headers.expires}}return n},nH)}}),nF={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},nK=e=>({applyToStack:t=>{t.add(t=>async r=>{let n={...r.input};for(let t of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let r=n[t.target];
2if(r){let i;"string"==typeof r?function(e,t){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))return!1;try{let r=t.base64Decoder(e);return 32===r.length}catch{return!1}}(r,e)?i=e.base64Decoder(r):(i=e.utf8Decoder(r),n[t.target]=e.base64Encoder(i)):(i=ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r),n[t.target]=e.base64Encoder(i));let a=new e.md5;a.update(i),n[t.hash]=e.base64Encoder(await a.digest())}}return t({...r,input:n})},nF)}}),nW={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},nV={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},nZ=e=>({applyToStack:t=>{t.addRelativeTo((t,r)=>async n=>{let i=await t(n),{response:a}=i;if(!nm.isInstance(a))return i;let{statusCode:s,body:o}=a;if(s<200||s>=300)return i;let l=await ((e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array))(o,e);if(a.body=new ReadableStream({start(e){e.enqueue(l),e.close()}}),0===l.length&&nW[r.commandName]){let e=Error("S3 aborted request");throw e.$metadata={httpStatusCode:503},e.name="InternalError",e}let c=e.utf8Encoder(l.subarray(l.length-16));return c&&c.endsWith("</Error>")&&(a.statusCode=503),i},nV)}}),nX="__smithy_context",nJ=(e,t)=>{let r=[];if(e&&r.push(e),t)for(let e of t)r.push(e);return r},nY=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,nQ=()=>{let e=[],t=[],r=!1,n=new Set,i=r=>(e.forEach(e=>{r.add(e.middleware,{...e})}),t.forEach(e=>{r.addRelativeTo(e.middleware,{...e})}),r.identifyOnResolve?.(o.identifyOnResolve()),r),a=e=>{let t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...a(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...a(e))}),t},s=(r=!1)=>{let n=[],i=[],s={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of nJ(t.name,t.aliases))s[e]=t;n.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of nJ(t.name,t.aliases))s[e]=t;i.push(t)}),i.forEach(e=>{if(e.toMiddleware){let t=s[e.toMiddleware];if(void 0===t){if(r)return;throw Error(`${e.toMiddleware} is not found when adding ${nY(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),n.sort((e,t)=>n0[t.step]-n0[e.step]||n1[t.priority||"normal"]-n1[e.priority||"normal"]).map(a).reduce((e,t)=>(e.push(...t),e),[])},o={add:(t,r={})=>{let{name:i,override:a,aliases:s}=r,o={step:"initialize",priority:"normal",middleware:t,...r},l=nJ(i,s);if(l.length>0){if(l.some(e=>n.has(e))){if(!a)throw Error(`Duplicate middleware name '${nY(i,s)}'`);for(let t of l){let r=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===r)continue;let n=e[r];if(n.step!==o.step||o.priority!==n.priority)throw Error(`"${nY(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${nY(i,s)}" middleware with ${o.priority} priority in ${o.step} step.`);e.splice(r,1)}}for(let e of l)n.add(e)}e.push(o)},addRelativeTo:(e,r)=>{let{name:i,override:a,aliases:s}=r,o={middleware:e,...r},l=nJ(i,s);if(l.length>0){if(l.some(e=>n.has(e))){if(!a)throw Error(`Duplicate middleware name '${nY(i,s)}'`);for(let e of l){let r=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===r)continue;let n=t[r];if(n.toMiddleware!==o.toMiddleware||n.relation!==o.relation)throw Error(`"${nY(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${nY(i,s)}" middleware ${o.relation} "${o.toMiddleware}" middleware.`);t.splice(r,1)}}for(let e of l)n.add(e)}t.push(o)},clone:()=>i(nQ()),use:e=>{e.applyToStack(o)},remove:r=>{let i,a;if("string"==typeof r){let i,a;return i=!1,a=e=>{let t=nJ(e.name,e.aliases);if(t.includes(r)){for(let e of(i=!0,t))n.delete(e);return!1}return!0},e=e.filter(a),t=t.filter(a),i}return i=!1,a=e=>{if(e.middleware===r){for(let t of(i=!0,nJ(e.name,e.aliases)))n.delete(t);return!1}return!0},e=e.filter(a),t=t.filter(a),i},removeByTag:r=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:s}=e;if(t&&t.includes(r)){for(let e of nJ(a,s))n.delete(e);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=i(nQ());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:i,identify:()=>s(!0).map(e=>{let t=e.step??e.relation+" "+e.toMiddleware;return nY(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>
2{for(let r of s().map(e=>e.middleware).reverse())e=r(e,t);return r&&console.log(o.identify()),e}};return o},n0={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},n1={high:3,normal:2,low:1},n2=e=>"function"==typeof e?e():e,n5=[];function n3(e){if("object"==typeof e)return e;if(n5[e|=0])return n5[e];let t={},r=0;for(let n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])(e>>r++&1)==1&&(t[n]=1);return n5[e]=t}let n4={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},n6=[],n9={};class n8{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=n8.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const r=[];let n=e,i=e;for(this._isMemberSchema=!1;ie(n);)r.push(n[1]),i=n2(n=n[0]),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){const t=r[e];Object.assign(this.memberTraits,n3(t))}}else this.memberTraits=0;if(i instanceof n8){const e=this.memberTraits;Object.assign(this,i),this.memberTraits=Object.assign({},e,i.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=t??i.memberName;return}if(this.schema=n2(i),it(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(i),this.traits=0),this._isMemberSchema&&!t)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){let t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){let t="function"==typeof e||"object"==typeof e&&null!==e;if("number"==typeof e){if(n6[e])return n6[e]}else if("string"==typeof e){if(n9[e])return n9[e]}else if(t&&e[n4.ns])return e[n4.ns];let r=n2(e);if(r instanceof n8)return r;if(ie(r)){let[t,n]=r;if(t instanceof n8)return Object.assign(t.getMergedTraits(),n3(n)),t;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}let n=new n8(r);return t?e[n4.ns]=n:"string"==typeof r?n9[r]=n:"number"==typeof r?n6[r]=n:n}getSchema(){let e=this.schema;return Array.isArray(e)&&0===e[0]?e[4]:e}getName(e=!1){let{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){let e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){let e=this.getSchema();if("object"!=typeof e)return!1;let t=e[0];return 3===t||-3===t||4===t}isUnionSchema(){let e=this.getSchema();return"object"==typeof e&&4===e[0]}isBlobSchema(){let e=this.getSchema();return 21===e||42===e}isTimestampSchema(){let e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){let{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return n3(this.memberTraits)}getOwnTraits(){return n3(this.traits)}getKeySchema(){let[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let r=this.getSchema();return n7([e?15:r[4]??0,0],"key")}getValueSchema(){let e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=i)return n7([i,0],r?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){let t=this.getSchema();
2if(this.isStructSchema()&&t[4].includes(e)){let r=t[4].indexOf(e),n=t[5][r];return n7(ie(n)?n:[n,0],e)}if(this.isDocumentSchema())return n7([15,0],e);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){let e={};try{for(let[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema()){for(let[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let e=this.getSchema(),t=e[4].length,r=e[n4.it];if(r&&t===r.length)return void(yield*r);r=Array(t);for(let n=0;n<t;++n){let t=e[4][n],i=n7([e[5][n],0],t);yield r[n]=[t,i]}e[n4.it]=r}}function n7(e,t){return e instanceof n8?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new n8(e,t)}let ie=e=>Array.isArray(e)&&2===e.length,it=e=>Array.isArray(e)&&e.length>=5,ir="***SensitiveInformation***";function ii(e,t){if(null==t)return t;let r=n8.of(e);if(r.getMergedTraits().sensitive)return ir;
2if(r.isListSchema()){if(r.getValueSchema().getMergedTraits().sensitive)return ir}else if(r.isMapSchema()){if(r.getKeySchema().getMergedTraits().sensitive||r.getValueSchema().getMergedTraits().sensitive)return ir}else if(r.isStructSchema()&&"object"==typeof t){let e={};for(let[n,i]of r.structIterator())null!=t[n]&&(e[n]=ii(i,t[n]));return e}return t}class ia{middlewareStack=nQ();schema;static classBuilder(){return new is}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:i,commandName:a,inputFilterSensitiveLog:s,outputFilterSensitiveLog:o,smithyContext:l,additionalContext:c,CommandCtor:u}){for(let i of n.bind(this)(u,e,t,r))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:f}=t,h={logger:f,clientName:i,commandName:a,inputFilterSensitiveLog:s,outputFilterSensitiveLog:o,[nX]:{commandInstance:this,...l},...c},{requestHandler:p}=t,m=r??{};return l.eventStream&&(m={isEventStream:!0,...m}),d.resolve(e=>p.handle(e.request,m),h)}}class is{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e,t=this;return e=class extends ia{input;static getEndpointParameterInstructions(){return t._ep}constructor(...[e]){super(),this.input=e??{},t._init(this),this.schema=t._operationSchema}resolveMiddleware(r,n,i){let a=t._operationSchema,s=a?.[4]??a?.input,o=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(r,n,i,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog??(a?ii.bind(null,s):e=>e),outputFilterSensitiveLog:t._outputFilterSensitiveLog??(a?ii.bind(null,o):e=>e),smithyContext:t._smithyContext,additionalContext:t._additionalContext})}serialize=t._serializer;deserialize=t._deserializer}}}let io=async e=>void 0,il=async e=>{let t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),ip(t)){if(!0===e.ForcePathStyle)throw Error("Path-style addressing cannot be used with ARN buckets")}else ih(t)&&(-1===t.indexOf(".")||String(e.Endpoint).startsWith("http:"))&&t.toLowerCase()===t&&!(t.length<3)||(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},ic=/^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/,iu=/(\d+\.){3}\d+/,id=/\.\./,ih=e=>ic.test(e)&&!iu.test(e)&&!id.test(e),ip=e=>{let[t,r,n,,,i]=e.split(":"),a="arn"===t&&e.split(":").length>=6,s=!!(a&&r&&n&&i);if(a&&!s)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return s},im=(e,t,r,n=!1)=>{let i=async()=>{let i;if(n){let n=r.clientContextParams;i=n?.[e]??r[e]??r[t]}else i=r[e]??r[t];return"function"==typeof i?i():i};return"credentialScope"===e||"CredentialScope"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===r.isCustomEndpoint)return;let e=await i();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){let{protocol:t,hostname:r,port:n,path:i}=e;return`${t}//${r}${n?":"+n:""}${i}`}}return e}:i},ig=e=>{let t;if("string"==typeof e)return ig(new URL(e));let{hostname:r,pathname:n,port:i,protocol:a,search:s}=e;return s&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(s)),{hostname:r,port:i?parseInt(i):void 0,protocol:a,path:n,query:t}},iy=e=>{if("object"==typeof e){if("url"in e){let t=ig(e.url);if(e.headers)for(let r in t.headers={},e.headers)(0,ng.hasOwn)(e.headers,r)&&(t.headers[r.toLowerCase()]=e.headers[r].join(", "));return t}return e}return ig(e)};function ix(e){return async(t,r,n,i)=>
2{if(!n.isCustomEndpoint&&!n.ignoreConfiguredEndpointUrls){let t;(t=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await e(n.serviceId))&&(n.endpoint=()=>Promise.resolve(iy(t)),n.isCustomEndpoint=!0,i?.logger?.debug?.(`@smithy/core/endpoints - resolved endpoint from config: ${t}`))}let a=await ib(t,r,n);if("function"!=typeof n.endpointProvider)throw Error("config.endpointProvider is not set.");let s=n.endpointProvider(a,i);if(n.isCustomEndpoint&&n.endpoint){let e=await n.endpoint();if(e?.headers)for(let[t,r]of(s.headers??={},Object.entries(e.headers)))s.headers[t]=Array.isArray(r)?r:[r]}return s}}let ib=async(e,t,r)=>{let n={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,a]of Object.entries(i))switch(a.type){case"staticContextParams":n[t]=a.value;break;case"contextParams":n[t]=e[a.name];break;case"clientContextParams":case"builtInParams":n[t]=await im(a.name,t,r,"builtInParams"!==a.type)();break;case"operationContextParams":n[t]=a.get(e);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(a))}return 0===Object.keys(i).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await il(n),n},iw=e=>e[nX]||(e[nX]={});function iC(e){let t=ix(e);return({config:e,instructions:r})=>(n,i)=>async a=>{e.isCustomEndpoint&&(i.__smithy_context?i.__smithy_context.features||(i.__smithy_context.features={}):i.__smithy_context={features:{}},i.__smithy_context.features.ENDPOINT_OVERRIDE="N");let s=await t(a.input,{getEndpointParameterInstructions:()=>r},{...e},i);i.endpointV2=s,i.authSchemes=s.properties?.authSchemes;let o=i.authSchemes?.[0];if(o){i.signing_region=o.signingRegion,i.signing_service=o.signingName;let e=iw(i),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return n({...a})}}let iv={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},ik=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t};ix(io);let iS=e=>{let t,r=e.tls??!0,{endpoint:n,useDualstackEndpoint:i,useFipsEndpoint:a}=e,s=Object.assign(e,{endpoint:null!=n?async()=>iy(await ik(n)()):void 0,tls:r,isCustomEndpoint:!!n,useDualstackEndpoint:ik(i??!1),useFipsEndpoint:ik(a??!1),ignoreConfiguredEndpointUrls:!!e.ignoreConfiguredEndpointUrls});return s.serviceConfiguredEndpoint=async()=>(e.serviceId&&!t&&(t=io(e.serviceId)),t),s};iC(io);let iE=(d=iC(io),(e,t)=>({applyToStack:r=>{r.addRelativeTo(d({config:e,instructions:t}),iv)}})),iA=(g={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},function(e,t,r,n,i={}){let a=Object.assign({},g,e);return ia.classBuilder().ep(a).m(function(e,r,n,i){let a=t.call(this,e,r,n,i);return a.unshift(iE(n,e.getEndpointParameterInstructions())),a}).s("AmazonS3",r,i).n("S3Client",r.charAt(0).toUpperCase()+r.slice(1)+"Command").sc(n).build()}),iR={Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}},iT={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"},CopySource:{type:"contextParams",name:"CopySource"}},ij={UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},DisableAccessPoints:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},iO={UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},iP={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},iL={Bucket:{type:"contextParams",name:"Bucket"}},iM={},iN={UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0}},iI={Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}},iB={UseObjectLambdaEndpoint:{type:"staticContextParams",value:!0}},iD=(e,t,r,n)=>[nZ(r)],iU=(e,t,r,n)=>[nZ(r),nK(r)],i_=(e,t,r,n)=>[nZ(r),{applyToStack:e=>{e.add(e=>async t=>{let{CreateBucketConfiguration:n}=t.input,i=await r.region();return n?.LocationConstraint||n?.Location||"us-east-1"===i||(t.input.CreateBucketConfiguration=t.input.CreateBucketConfiguration??{},t.input.CreateBucketConfiguration.LocationConstraint=i),e(t)},np)}}],i$=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!0})],iz=(e,t,r,n)=>[],iq=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!0}),nZ(r)],iH=(e,t,r,n)=>[nd(r,{requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC64NVME","CRC32","CRC32C","SHA256","SHA1","SHA512","MD5","XXHASH64","XXHASH3","XXHASH128"]})],iG=(e,t,r,n)=>[nd(r,{requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC64NVME","CRC32","CRC32C","SHA256","SHA1","SHA512","MD5","XXHASH64","XXHASH3","XXHASH128"]}),nK(r),nG(r)],iF=(e,t,r,n)=>[nZ(r),nK(r),nG(r)],iK=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1})],iW=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),nZ(r)],iV=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),{applyToStack:e=>{e.add((e,t)=>async r=>{let{request:n}=r;if(rH.isInstance(n)&&!("content-length"in n.headers)&&!("x-amz-decoded-content-length"in n.headers)){let e="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";"function"!=typeof t?.logger?.warn||t.logger instanceof nf?console.warn(e):t.logger.warn(e)}return e({...r})},nh)}},nZ(r),nK(r)],iZ=(e,t,r,n)=>[nK(r)],iX=(e,t,r,n)=>[nd(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),nZ(r),nK(r)];var iJ=e.i(22144);
2class iY extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){return!!e&&(iY.prototype.isPrototypeOf(e)||!!e.$fault&&!!e.$metadata&&("client"===e.$fault||"server"===e.$fault))}static[Symbol.hasInstance](e){return!!e&&(this===iY?iY.isInstance(e):!!iY.isInstance(e)&&(e.name&&this.name?this.prototype.isPrototypeOf(e)||e.name===this.name:this.prototype.isPrototypeOf(e)))}}let iQ=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{(void 0==e[t]||""===e[t])&&(e[t]=r)});let r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class i0 extends iY{constructor(e){super(e),Object.setPrototypeOf(this,i0.prototype)}}class i1 extends i0{name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,i1.prototype)}}class i2 extends i0{name="AccessDenied";$fault="client";constructor(e){super({name:"AccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,i2.prototype)}}class i5 extends i0{name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,i5.prototype)}}class i3 extends i0{name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,i3.prototype)}}class i4 extends i0{name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,i4.prototype)}}class i6 extends i0{name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,i6.prototype)}}class i9 extends i0{name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,i9.prototype)}}class i8 extends i0{name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,i8.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}}class i7 extends i0{name="NoSuchAnnotation";$fault="client";constructor(e){super({name:"NoSuchAnnotation",$fault:"client",...e}),Object.setPrototypeOf(this,i7.prototype)}}class ae extends i0{name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,ae.prototype)}}class at extends i0{name="InvalidPrefix";$fault="client";constructor(e){super({name:"InvalidPrefix",$fault:"client",...e}),Object.setPrototypeOf(this,at.prototype)}}class ar extends i0{name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,ar.prototype)}}class an extends i0{name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,an.prototype)}}class ai extends i0{name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,ai.prototype)}}class aa extends i0{name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,aa.prototype)}}class as extends i0{name="AnnotationLimitExceeded";$fault="client";constructor(e){super({name:"AnnotationLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,as.prototype)}}class ao extends i0{name="AnnotationNameTooLong";$fault="client";constructor(e){super({name:"AnnotationNameTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,ao.prototype)}}class al extends i0{name="InvalidAnnotationName";$fault="client";constructor(e){super({name:"InvalidAnnotationName",$fault:"client",...e}),Object.setPrototypeOf(this,al.prototype)}}class ac extends i0{name="UnsupportedMediaType";$fault="client";constructor(e){super({name:"UnsupportedMediaType",$fault:"client",...e}),Object.setPrototypeOf(this,ac.prototype)}}class au extends i0{name="IdempotencyParameterMismatch";$fault="client";constructor(e){super({name:"IdempotencyParameterMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,au.prototype)}}class ad extends i0{name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,ad.prototype)}}let af="AccelerateConfiguration",ah="AccessControlList",ap="AnalyticsConfigurationList",am="AccessControlPolicy",ag="AccessControlTranslation",ay="AnalyticsConfiguration",ax="AbortDate",ab="AnnotationEntry",aw="AbortIncompleteMultipartUpload",aC="AccessKeyId",av="AnnotationName",ak="AnnotationPayload",aS="AccessPointArn",aE="AnnotationPrefix",aA="AcceptRanges",aR="AbortRuleId",aT="AbacStatus",aj="AccessTier",aO="AnnotationTableConfiguration",aP="AnnotationTableConfigurationResult",aL="Bucket",aM="BucketArn",aN="BlockedEncryptionTypes",aI="BypassGovernanceRetention",aB="BucketKeyEnabled",aD="BucketLoggingStatus",aU="BytesProcessed",a_="BlockPublicAcls",a$="BlockPublicPolicy",az="BucketRegion",aq="BytesReturned",aH="BytesScanned",aG="Body",aF="Buckets",aK="Checksum",aW="ChecksumAlgorithm",aV="CreateBucketConfiguration",aZ="CacheControl",aX="ChecksumCRC32",aJ="ChecksumCRC32C",aY="ChecksumCRC64NVME",aQ="Cache-Control",a0="Content-Disposition",a1="ContentDisposition",a2="Content-Encoding",a5="ContentEncoding",a3="ContentLanguage",a4="Content-Language",a6="Content-Length",a9="ContentLength",a8="Content-MD5",a7="ChecksumMD5",se="ContentMD5",st="CompleteMultipartUpload",sr="ChecksumMode",sn="CopyObjectResult",si="CORSConfiguration",sa="CORSRules",ss="CORSRule",so="CopyPartResult",sl="CommonPrefixes",sc="ContentRange",su="Content-Range",sd="ConfigurationState",sf="ChecksumSHA1",sh="
2ChecksumSHA256",sp="ChecksumSHA512",sm="CopySourceIfMatch",sg="CopySourceIfModifiedSince",sy="CopySourceIfNoneMatch",sx="CopySourceIfUnmodifiedSince",sb="CopySourceSSECustomerAlgorithm",sw="CopySourceSSECustomerKey",sC="CopySourceSSECustomerKeyMD5",sv="CopySourceVersionId",sk="CopySource",sS="ChecksumType",sE="Content-Type",sA="ContentType",sR="ContinuationToken",sT="ChecksumXXHASH64",sj="ChecksumXXHASH3",sO="ChecksumXXHASH128",sP="Condition",sL="Contents",sM="Credentials",sN="Days",sI="DeleteMarker",sB="DeleteMarkerReplication",sD="DeleteMarkers",sU="DisplayName",s_="DefaultRetention",s$="DestinationResult",sz="Date",sq="Delete",sH="Delimiter",sG="Destination",sF="Details",sK="Error",sW="EventBridgeConfiguration",sV="ExpectedBucketOwner",sZ="EncryptionConfiguration",sX="ErrorCode",sJ="ErrorDocument",sY="EventHoldDuration",sQ="ErrorMessage",s0="ExistingObjectReplication",s1="ExpiresString",s2="ExpectedSourceBucketOwner",s5="ETag",s3="EncryptionType",s4="EncodingType",s6="ExpressionType",s9="Encryption",s8="Errors",s7="Events",oe="Event",ot="Expiration",or="Expires",on="Expression",oi="Filter",oa="FieldDelimiter",os="FilterRule",oo="Format",ol="Grants",oc="GetBucketMetadataConfigurationResult",ou="GetBucketMetadataTableConfigurationResult",od="GrantFullControl",of="GlacierJobParameters",oh="GrantRead",op="GrantReadACP",om="GrantWrite",og="GrantWriteACP",oy="Grant",ox="Grantee",ob="HostName",ow="InventoryConfiguration",oC="InventoryConfigurationList",ov="IndexDocument",ok="IsLatest",oS="IfMatch",oE="If-Modified-Since",oA="IfModifiedSince",oR="If-Match",oT="IfNoneMatch",oj="If-None-Match",oO="IgnorePublicAcls",oP="IsPublic",oL="InputSerialization",oM="IsTruncated",oN="IntelligentTieringConfiguration",oI="IntelligentTieringConfigurationList",oB="InventoryTableConfigurationResult",oD="InventoryTableConfiguration",oU="IfUnmodifiedSince",o_="If-Unmodified-Since",o$="Initiator",oz="JSON",oq="JournalTableConfiguration",oH="JournalTableConfigurationResult",oG="KeyMarker",oF="Location",oK="ListBucketResult",oW="LocationConstraint",oV="LifecycleConfiguration",oZ="LoggingEnabled",oX="LegalHold",oJ="LastModified",oY="Last-Modified",oQ="Metadata",o0="MaxAnnotationResults",o1="MetadataConfiguration",o2="MetricsConfigurationList",o5="MetadataConfigurationResult",o3="MetricsConfiguration",o4="MfaDelete",o6="MetadataEntry",o9="MFADelete",o8="MaxKeys",o7="MissingMeta",le="MaxParts",lt="MetadataTableConfiguration",lr="MetadataTableConfigurationResult",ln="MultipartUpload",li="MaxUploads",la="Marker",ls="Metrics",lo="Mode",ll="Name",lc="NotificationConfiguration",lu="NextContinuationToken",ld="NoncurrentDays",lf="NextKeyMarker",lh="NewerNoncurrentVersions",lp="NextPartNumberMarker",lm="NoncurrentVersionExpiration",lg="NoncurrentVersionTransition",ly="Owner",lx="OwnershipControls",lb="ObjectEncryption",lw="ObjectIfMatch",lC="OutputLocation",lv="ObjectLockConfiguration",lk="ObjectLockEventHold",lS="ObjectLockEventHoldDurationDays",lE="ObjectLockEventHoldDurationYears",lA="ObjectLockLegalHoldStatus",lR="ObjectLockMode",lT="ObjectLockRetainUntilDate",lj="ObjectOwnership",lO="OptionalObjectAttributes",lP="ObjectSizeGreaterThan",lL="ObjectSizeLessThan",lM="OutputSerialization",lN="ObjectVersionId",lI="Object",lB="Prefix",lD="PublicAccessBlockConfiguration",lU="PartsCount",l_="PartNumber",l$="PartNumberMarker",lz="PartitionedPrefix",lq="PolicyStatus",lH="Parts",lG="Part",lF="Payer",lK="Payload",lW="Permission",lV="Policy",lZ="Progress",lX="Protocol",lJ="QuoteCharacter",lY="QueueConfiguration",lQ="QuoteEscapeCharacter",l0="Role",l1="RedirectAllRequestsTo",l2="RequestCharged",l5="ResponseCacheControl",l3="ResponseContentDisposition",l4="ResponseContentEncoding",l6="ResponseContentLanguage",l9="ResponseContentType",l8="ReplicationConfiguration",l7="RecordDelimiter",ce="ResponseExpires",ct="RecordExpiration",cr="ReplicaModifications",cn="RequestPayer",ci="RestrictPublicBuckets",ca="RequestPaymentConfiguration",cs="RequestProgress",co="RoutingRules",cl="RestoreRequest",cc="RoutingRule",cu="ReplicationStatus",cd="RestoreStatus",cf="ReplicationTime",ch="Range",cp="Restore",cm="Redirect",cg="Retention",cy="Rules",cx="Rule",cb="Status",cw="StartAfter",cC="SecretAccessKey",cv="S3BucketDestination",ck="StorageClass",cS="StorageClassAnalysis",cE="SSE-KMS",cA="SseKmsEncryptedObjects",cR="SelectParameters",cT="SimplePrefix",cj="ScanRange",cO="SSE-S3",cP="SourceSelectionCriteria",cL="ServerSideEncryption",cM="ServerSideEncryptionConfiguration",cN="SSECustomerAlgorithm",cI="SSECustomerKey",cB="SSECustomerKeyMD5",cD="SSEKMS",cU="SSEKMSEncryptionContext",c_="SSEKMSKeyId",c$="SSES3",cz="SessionToken",cq="S3TablesDestination",cH="S3TablesDestinationResult",cG="Size",cF="Stats",cK="Tags",cW="TableArn",cV="TableBucketArn",cZ="TagCount",cX="TopicConfiguration",cJ="TransitionDefaultMinimumOb
2jectSize",cY="TargetGrants",cQ="TableName",c0="TableNamespace",c1="TargetObjectKeyFormat",c2="TableStatus",c5="TagSet",c3="Tagging",c4="Tier",c6="Tiering",c9="Token",c8="Transition",c7="Type",ue="UploadId",ut="UploadIdMarker",ur="UserMetadata",un="Value",ui="VersioningConfiguration",ua="VersionId",us="VersionIdMarker",uo="WebsiteConfiguration",ul="WebsiteRedirectLocation",uc="Years",uu="annotationName",ud="accept-ranges",uf="client",uh="continuation-token",up="delimiter",um="error",ug="eventPayload",uy="encoding-type",ux="http",ub="httpChecksum",uw="httpError",uC="httpHeader",uv="httpPayload",uk="httpPrefixHeaders",uS="httpQuery",uE="http://www.w3.org/2001/XMLSchema-instance",uA="key-marker",uR="max-keys",uT="prefix",uj="partNumber",uO="response-cache-control",uP="response-content-disposition",uL="response-content-encoding",uM="response-content-language",uN="response-content-type",uI="response-expires",uB="smithy.ts.sdk.synthetic.com.amazonaws.s3",uD="streaming",uU="uploadId",u_="versionId",u$="xmlFlattened",uz="xmlName",uq="xmlNamespace",uH="x-amz-acl",uG="x-amz-abort-date",uF="x-amz-abort-rule-id",uK="x-amz-bucket-arn",uW="x-amz-bypass-governance-retention",uV="x-amz-bucket-object-lock-token",uZ="x-amz-checksum-algorithm",uX="x-amz-checksum-crc32",uJ="x-amz-checksum-crc32c",uY="x-amz-checksum-crc64nvme",uQ="x-amz-checksum-md5",u0="x-amz-checksum-mode",u1="x-amz-checksum-sha1",u2="x-amz-checksum-sha256",u5="x-amz-checksum-sha512",u3="x-amz-copy-source",u4="x-amz-copy-source-if-match",u6="x-amz-copy-source-if-modified-since",u9="x-amz-copy-source-if-none-match",u8="x-amz-copy-source-if-unmodified-since",u7="x-amz-copy-source-server-side-encryption-customer-algorithm",de="x-amz-copy-source-server-side-encryption-customer-key",dt="x-amz-copy-source-server-side-encryption-customer-key-MD5",dr="x-amz-copy-source-version-id",dn="x-amz-checksum-type",di="x-amz-checksum-xxhash64",da="x-amz-checksum-xxhash3",ds="x-amz-checksum-xxhash128",dl="x-amz-delete-marker",dc="x-amz-expiration",du="x-amz-expected-bucket-owner",dd="x-amz-grant-full-control",df="x-amz-grant-read",dh="x-amz-grant-read-acp",dp="x-amz-grant-write",dm="x-amz-grant-write-acp",dg="x-amz-meta-",dy="x-amz-mfa",dx="x-amz-missing-meta",db="x-amz-mp-parts-count",dw="x-amz-object-if-match",dC="x-amz-object-lock-event-hold",dv="x-amz-object-lock-event-hold-duration-days",dk="x-amz-object-lock-event-hold-duration-years",dS="x-amz-object-lock-legal-hold",dE="x-amz-object-lock-mode",dA="x-amz-object-lock-retain-until-date",dR="x-amz-optional-object-attributes",dT="x-amz-object-version-id",dj="x-amz-restore",dO="x-amz-request-charged",dP="x-amz-request-payer",dL="x-amz-replication-status",dM="x-amz-storage-class",dN="x-amz-sdk-checksum-algorithm",dI="x-amz-source-expected-bucket-owner",dB="x-amz-server-side-encryption",dD="x-amz-server-side-encryption-aws-kms-key-id",dU="x-amz-server-side-encryption-bucket-key-enabled",d_="x-amz-server-side-encryption-context",d$="x-amz-server-side-encryption-customer-algorithm",dz="x-amz-server-side-encryption-customer-key",dq="x-amz-server-side-encryption-customer-key-MD5",dH="x-amz-tagging",dG="x-amz-tagging-count",dF="x-amz-transition-default-minimum-object-size",dK="x-amz-version-id",dW="x-amz-website-redirect-location",dV="com.amazonaws.s3",dZ=iJ.TypeRegistry.for(uB);var dX=[-3,uB,"S3ServiceException",0,[],[]];dZ.registerError(dX,i0);let dJ=iJ.TypeRegistry.for(dV);var dY=[-3,dV,"AccessDenied",{[um]:uf,[uw]:403},[],[]];dJ.registerError(dY,i2);var dQ=[-3,dV,"AnnotationLimitExceeded",{[um]:uf,[uw]:400},[],[]];dJ.registerError(dQ,as);var d0=[-3,dV,"AnnotationNameTooLong",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d0,ao);var d1=[-3,dV,"BucketAlreadyExists",{[um]:uf,[uw]:409},[],[]];dJ.registerError(d1,i3);var d2=[-3,dV,"BucketAlreadyOwnedByYou",{[um]:uf,[uw]:409},[],[]];dJ.registerError(d2,i4);var d5=[-3,dV,"EncryptionTypeMismatch",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d5,ar);var d3=[-3,dV,"IdempotencyParameterMismatch",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d3,au);var d4=[-3,dV,"InvalidAnnotationName",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d4,al);var d6=[-3,dV,"InvalidObjectState",{[um]:uf,[uw]:403},[ck,aj],[0,0]];dJ.registerError(d6,i8);var d9=[-3,dV,"InvalidPrefix",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d9,at);var d8=[-3,dV,"InvalidRequest",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d8,an);var d7=[-3,dV,"InvalidWriteOffset",{[um]:uf,[uw]:400},[],[]];dJ.registerError(d7,ai);var fe=[-3,dV,"NoSuchAnnotation",{[um]:uf,[uw]:404},[],[]];dJ.registerError(fe,i7);var ft=[-3,dV,"NoSuchBucket",{[um]:uf,[uw]:404},[],[]];dJ.registerError(ft,i6);var fr=[-3,dV,"NoSuchKey",{[um]:uf,[uw]:404},[],[]];dJ.registerError(fr,i9);var fn=[-3,dV,"NoSuchUpload",{[um]:uf,[uw]:404},[],[]];dJ.registerError(fn,i1);var fi=[-3,dV,"NotFound",{[um]:uf},[],[]];dJ.registerError(fi,ae);var fa=[-3,dV,"ObjectAlreadyInActiveTierError",{[um]:uf,[uw]:403},[],[]];dJ.registerError(fa,ad);var fs=[-3,dV,"ObjectNotInActiveTierError",{[um]:uf,[uw]:403},[],[]];dJ.registerError(fs,i5);var fo=[-3,dV,"TooManyParts",{[um]:uf,[uw]:400},[],[]];dJ.registerError(fo,aa);var fl=[-3,dV,"UnsupportedMediaType",{[um]:uf,[uw]:415},[],[]];dJ.registerError(fl,ac);let fc=[dZ,dJ];var fu=[0,dV,sw,8,0],fd=[0,dV,"NonEmptyKmsKeyArnString",8,0],ff=[0,dV,"SessionCredentialValue",8,0],fh=[0,dV,cI,8,0],fp=[0,dV,cU,8,0],fm=[0,dV,c_,8,0],fg=[0,dV,"StreamingBlob",{[uD]:1},42],fy=[3,dV,aT,0,[cb],[0]],fx=[3,dV,aw,0,["DaysAfterInitiation"],[1]],fb=[3,dV,"AbortMultipartUploadOutput",0,[l2],[[0,{[uC]:dO}]]],fw=[3,dV,"AbortMultipartUploadRequest",0,[aL,"Key",ue,cn,sV,"IfMatchInitiatedTime"],[[0,1],[0,1],[0,{[uS]:uU}],[0,{[uC]:dP}],[0,{[uC]:du}],[6,{[uC]:"x-amz-if-match-initiated-time"}]],3],fC=[3,dV,af,0,[cb],[0]],fv=[3,dV,am,0,[ol,ly],[[()=>yY,{[uz]:ah}],()=>m9]],fk=[3,dV,ag,0,[ly],[0],1],fS=[3,dV,"AnalyticsAndOperator",0,[lB,cK],[0,[()=>xo,{[u$]:1,[uz]:"Tag"}]]],fE=[3,dV,ay,0,["Id",cS,oi],[0,()=>yb,[()=>xh,0]],2],fA=[3,dV,"AnalyticsExportDestination",0,[cv],[()=>fR],1],fR=[3,dV,"AnalyticsS3BucketDestination",0,[oo,aL,"BucketAccountId",lB],[0,0,0,0],2],fT=[3,dV,ab,0,[av,oJ,cG,s5,aW,cu],[0,4,1,0,[64,{[u$]:1}],0],3],fj=[3,dV,aO,0,[sd,sZ,l0],[0,()=>mq,0],1],fO=[3,dV,aP,0,[sd,c2,sK,cQ,cW,l0],[0,0,()=>hM,0,0,0],1],fP=[3,dV,"AnnotationTableConfigurationUpdates",0,[sd,sZ,l0],[0,()=>mq,0],1],fL=[3,dV,aN,0,[s3],[[()=>yZ,{[u$]:1}]]],fM=[3,dV,aL,0,[ll,"CreationDate",az,aM],[0,4,0,0]],fN=[3,dV,"BucketInfo",0,["DataRedundancy",c7],[0,0]],fI=[3,dV,"BucketLifecycleConfiguration",0,[cy],[[()=>y5,{[u$]:1,[uz]:cx}]],1],fB=[3,dV,aD,0,[oZ],[[()=>mB,0]]],fD=[3,dV,aK,0,[aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS],[0,0,0,0,0,0,0,0,0,0,0]],fU=[3,dV,"CommonPrefix",0,[lB],[0]],f_=[3,dV,"CompletedMultipartUpload",0,[lH],[[()=>yF,{[u$]:1,[uz]:lG}
2]]],f$=[3,dV,"CompletedPart",0,[s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,l_],[0,0,0,0,0,0,0,0,0,0,0,1]],fz=[3,dV,"CompleteMultipartUploadOutput",{[uz]:"CompleteMultipartUploadResult"},[oF,aL,"Key",ot,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,cL,ua,c_,aB,l2],[0,0,0,[0,{[uC]:dc}],0,0,0,0,0,0,0,0,0,0,0,0,[0,{[uC]:dB}],[0,{[uC]:dK}],[()=>fm,{[uC]:dD}],[2,{[uC]:dU}],[0,{[uC]:dO}]]],fq=[3,dV,"CompleteMultipartUploadRequest",0,[aL,"Key",ue,ln,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,"MpuObjectSize",cn,sV,oS,oT,cN,cI,cB],[[0,1],[0,1],[0,{[uS]:uU}],[()=>f_,{[uv]:1,[uz]:st}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[1,{[uC]:"x-amz-mp-object-size"}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:oR}],[0,{[uC]:oj}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}]],3],fH=[3,dV,sP,0,["HttpErrorCodeReturnedEquals","KeyPrefixEquals"],[0,0]],fG=[3,dV,"ContinuationEvent",0,[],[]],fF=[3,dV,"CopyObjectOutput",0,[sn,ot,sv,ua,cL,cN,cB,c_,cU,aB,l2],[[()=>fW,16],[0,{[uC]:dc}],[0,{[uC]:dr}],[0,{[uC]:dK}],[0,{[uC]:dB}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[0,{[uC]:dO}]]],fK=[3,dV,"CopyObjectRequest",0,[aL,sk,"Key","ACL",aZ,aW,a1,a5,a3,sA,sm,sg,sy,sx,or,od,oh,op,og,oS,oT,oQ,"MetadataDirective","TaggingDirective","AnnotationDirective",cL,ck,ul,cN,cI,cB,c_,cU,aB,sb,sw,sC,cn,c3,lR,lT,lA,lk,lS,lE,sV,s2],[[0,1],[0,{[uC]:u3}],[0,1],[0,{[uC]:uH}],[0,{[uC]:aQ}],[0,{[uC]:uZ}],[0,{[uC]:a0}],[0,{[uC]:a2}],[0,{[uC]:a4}],[0,{[uC]:sE}],[0,{[uC]:u4}],[4,{[uC]:u6}],[0,{[uC]:u9}],[4,{[uC]:u8}],[4,{[uC]:or}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dm}],[0,{[uC]:oR}],[0,{[uC]:oj}],[128,{[uk]:dg}],[0,{[uC]:"x-amz-metadata-directive"}],[0,{[uC]:"x-amz-tagging-directive"}],[0,{[uC]:"x-amz-object-annotation-directive"}],[0,{[uC]:dB}],[0,{[uC]:dM}],[0,{[uC]:dW}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[0,{[uC]:u7}],[()=>fu,{[uC]:de}],[0,{[uC]:dt}],[0,{[uC]:dP}],[0,{[uC]:dH}],[0,{[uC]:dE}],[5,{[uC]:dA}],[0,{[uC]:dS}],[0,{[uC]:dC}],[1,{[uC]:dv}],[1,{[uC]:dk}],[0,{[uC]:du}],[0,{[uC]:dI}]],3],fW=[3,dV,sn,0,[s5,oJ,sS,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO],[0,4,0,0,0,0,0,0,0,0,0,0,0]],fV=[3,dV,so,0,[s5,oJ,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO],[0,4,0,0,0,0,0,0,0,0,0,0]],fZ=[3,dV,si,0,[sa],[[()=>yK,{[u$]:1,[uz]:ss}]],1],fX=[3,dV,ss,0,["AllowedMethods","AllowedOrigins","ID","AllowedHeaders","ExposeHeaders","MaxAgeSeconds"],[[64,{[u$]:1,[uz]:"AllowedMethod"}],[64,{[u$]:1,[uz]:"AllowedOrigin"}],0,[64,{[u$]:1,[uz]:"AllowedHeader"}],[64,{[u$]:1,[uz]:"ExposeHeader"}],1],2],fJ=[3,dV,aV,0,[oW,oF,aL,cK],[0,()=>mI,()=>fN,[()=>xo,0]]],fY=[3,dV,"CreateBucketMetadataConfigurationRequest",0,[aL,o1,se,aW,sV],[[0,1],[()=>mD,{[uv]:1,[uz]:o1}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],fQ=[3,dV,"CreateBucketMetadataTableConfigurationRequest",0,[aL,lt,se,aW,sV],[[0,1],[()=>m$,{[uv]:1,[uz]:lt}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],f0=[3,dV,"CreateBucketOutput",0,[oF,aM],[[0,{[uC]:oF}],[0,{[uC]:uK}]]],f1=[3,dV,"CreateBucketRequest",0,[aL,"ACL",aV,od,oh,op,om,og,"ObjectLockEnabledForBucket",lj,"BucketNamespace"],[[0,1],[0,{[uC]:uH}],[()=>fJ,{[uv]:1,[uz]:aV}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dp}],[0,{[uC]:dm}],[2,{[uC]:"x-amz-bucket-object-lock-enabled"}],[0,{[uC]:"x-amz-object-ownership"}],[0,{[uC]:"x-amz-bucket-namespace"}]],1],f2=[3,dV,"CreateMultipartUploadOutput",{[uz]:"InitiateMultipartUploadResult"},[ax,aR,aL,"Key",ue,cL,cN,cB,c_,cU,aB,l2,aW,sS],[[4,{[uC]:uG}],[0,{[uC]:uF}],[0,{[uz]:aL}],0,0,[0,{[uC]:dB}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[0,{[uC]:dO}],[0,{[uC]:uZ}],[0,{[uC]:dn}]]],f5=[3,dV,"CreateMultipartUploadRequest",0,[aL,"Key","ACL",aZ,a1,a5,a3,sA,or,od,oh,op,og,oQ,cL,ck,ul,cN,cI,cB,c_,cU,aB,cn,c3,lR,lT,lA,lk,lS,lE,sV,aW,sS],[[0,1],[0,1],[0,{[uC]:uH}],[0,{[uC]:aQ}],[0,{[uC]:a0}],[0,{[uC]:a2}],[0,{[uC]:a4}],[0,{[uC]:sE}],[4,{[uC]:or}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dm}],[128,{[uk]:dg}],[0,{[uC]:dB}],[0,{[uC]:dM}],[0,{[uC]:dW}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[0,{[uC]:dP}],[0,{[uC]:dH}],[0,{[uC]:dE}],[5,{[uC]:dA}],[0,{[uC]:dS}],[0,{[uC]:dC}],[1,{[uC]:dv}],[1,{[uC]:dk}],[0,{[uC]:du}],[0,{[uC]:uZ}],[0,{[uC]:dn}]],2],f3=[3,dV,"CreateSessionOutput",{[uz]:"CreateSessionResult"},[sM,cL,c_,cU,aB],[[()=>yu,{[uz]:sM}],[0,{[uC]:dB}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}]],1],f4=[3,dV,"CreateSessionRequest",0,[aL,"SessionMode",cL,c_,cU,aB],[[0,1],[0,{[uC]:"x-amz-create-session-mode"}],[0,{[uC]:dB}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}]],1],f6=[3,dV,"CSVInput",0,["FileHeaderInfo","Comments",lQ,l7,oa,lJ,"AllowQuotedRecordDelimiter"],[0,0,0,0,0,0,2]],f9=[3,dV,"CSVOutput",0,["QuoteFields",lQ,l7,oa,lJ],[0,0,0,0,0]],f8=[3,dV,s_,0,[lo,sN,uc,"DefaultEventHold"],[0,1,1,()=>hB]],f7=[3,dV,sq,0,["Objects","Quiet"],[[()=>y9,{[u$]:1,[uz]:lI}
2],2],1],he=[3,dV,"DeleteBucketAnalyticsConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],ht=[3,dV,"DeleteBucketCorsRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hr=[3,dV,"DeleteBucketEncryptionRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hn=[3,dV,"DeleteBucketIntelligentTieringConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],hi=[3,dV,"DeleteBucketInventoryConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],ha=[3,dV,"DeleteBucketLifecycleRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hs=[3,dV,"DeleteBucketMetadataConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],ho=[3,dV,"DeleteBucketMetadataTableConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hl=[3,dV,"DeleteBucketMetricsConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],hc=[3,dV,"DeleteBucketOwnershipControlsRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hu=[3,dV,"DeleteBucketPolicyRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hd=[3,dV,"DeleteBucketReplicationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hf=[3,dV,"DeleteBucketRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hh=[3,dV,"DeleteBucketTaggingRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hp=[3,dV,"DeleteBucketWebsiteRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hm=[3,dV,"DeletedObject",0,["Key",ua,sI,"DeleteMarkerVersionId"],[0,0,2,0]],hg=[3,dV,"DeleteMarkerEntry",0,[ly,"Key",ua,ok,oJ],[()=>m9,0,0,2,4]],hy=[3,dV,sB,0,[cb],[0]],hx=[3,dV,"DeleteObjectAnnotationOutput",0,[lN,l2],[[0,{[uC]:dT}],[0,{[uC]:dO}]]],hb=[3,dV,"DeleteObjectAnnotationRequest",0,[aL,"Key",av,ua,cn,sV,lw],[[0,1],[0,1],[0,{[uS]:uu}],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:dw}]],3],hw=[3,dV,"DeleteObjectOutput",0,[sI,ua,l2],[[2,{[uC]:dl}],[0,{[uC]:dK}],[0,{[uC]:dO}]]],hC=[3,dV,"DeleteObjectRequest",0,[aL,"Key","MFA",ua,cn,aI,sV,oS,"IfMatchLastModifiedTime","IfMatchSize"],[[0,1],[0,1],[0,{[uC]:dy}],[0,{[uS]:u_}],[0,{[uC]:dP}],[2,{[uC]:uW}],[0,{[uC]:du}],[0,{[uC]:oR}],[6,{[uC]:"x-amz-if-match-last-modified-time"}],[1,{[uC]:"x-amz-if-match-size"}]],2],hv=[3,dV,"DeleteObjectsOutput",{[uz]:"DeleteResult"},["Deleted",l2,s8],[[()=>yW,{[u$]:1}],[0,{[uC]:dO}],[()=>yX,{[u$]:1,[uz]:sK}]]],hk=[3,dV,"DeleteObjectsRequest",0,[aL,sq,"MFA",cn,aI,sV,aW],[[0,1],[()=>f7,{[uv]:1,[uz]:sq}],[0,{[uC]:dy}],[0,{[uC]:dP}],[2,{[uC]:uW}],[0,{[uC]:du}],[0,{[uC]:dN}]],2],hS=[3,dV,"DeleteObjectTaggingOutput",0,[ua],[[0,{[uC]:dK}]]],hE=[3,dV,"DeleteObjectTaggingRequest",0,[aL,"Key",ua,sV],[[0,1],[0,1],[0,{[uS]:u_}],[0,{[uC]:du}]],2],hA=[3,dV,"DeletePublicAccessBlockRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hR=[3,dV,sG,0,[aL,"Account",ck,ag,sZ,cf,ls],[0,0,0,()=>fk,()=>hO,()=>g0,()=>mH],1],hT=[3,dV,s$,0,["TableBucketType",cV,c0],[0,0,0]],hj=[3,dV,s9,0,[s3,"KMSKeyId","KMSContext"],[0,[()=>fm,0],0],1],hO=[3,dV,sZ,0,["ReplicaKmsKeyID"],[0]],hP=[3,dV,"EndEvent",0,[],[]],hL=[3,dV,sK,0,["Key",ua,"Code","Message"],[0,0,0,0]],hM=[3,dV,"ErrorDetails",0,[sX,sQ],[0,0]],hN=[3,dV,sJ,0,["Key"],[0],1],hI=[3,dV,sW,0,[],[]],hB=[3,dV,sY,0,[sN,uc],[1,1]],hD=[3,dV,s0,0,[cb],[0],1],hU=[3,dV,os,0,[ll,un],[0,0]],h_=[3,dV,"GetBucketAbacOutput",0,[aT],[[()=>fy,16]]],h$=[3,dV,"GetBucketAbacRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hz=[3,dV,"GetBucketAccelerateConfigurationOutput",{[uz]:af},[cb,l2],[0,[0,{[uC]:dO}]]],hq=[3,dV,"GetBucketAccelerateConfigurationRequest",0,[aL,sV,cn],[[0,1],[0,{[uC]:du}],[0,{[uC]:dP}]],1],hH=[3,dV,"GetBucketAclOutput",{[uz]:am},[ly,ol],[()=>m9,[()=>yY,{[uz]:ah}]]],hG=[3,dV,"GetBucketAclRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hF=[3,dV,"GetBucketAnalyticsConfigurationOutput",0,[ay],[[()=>fE,16]]],hK=[3,dV,"GetBucketAnalyticsConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],hW=[3,dV,"GetBucketCorsOutput",{[uz]:si},[sa],[[()=>yK,{[u$]:1,[uz]:ss}]]],hV=[3,dV,"GetBucketCorsRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hZ=[3,dV,"GetBucketEncryptionOutput",0,[cM],[[()=>yl,16]]],hX=[3,dV,"GetBucketEncryptionRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],hJ=[3,dV,"GetBucketIntelligentTieringConfigurationOutput",0,[oN],[[()=>p0,16]]],hY=[3,dV,"GetBucketIntelligentTieringConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],hQ=[3,dV,"GetBucketInventoryConfigurationOutput",0,[ow],[[()=>p2,16]]],h0=[3,dV,"GetBucketInventoryConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],h1=[3,dV,"GetBucketLifecycleConfigurationOutput",{[uz]:oV},[cy,cJ],[[()=>y5,{[u$]:1,[uz]:cx}],[0,{[uC]:dF}]]],h2=[3,dV,"GetBucketLifecycleConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],h5=[3,dV,"GetBucketLocationOutput",{[uz]:oW},[oW],[0]],h3=[3,dV,"GetBucketLocationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],h4=[3,dV,"GetBucketLoggingOutput",{[uz]:aD},[oZ],[[()=>mB,0]]],h6=[3,dV,"GetBucketLoggingRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],h9=[3,dV,"GetBucketMetadataConfigurationOutput",0,[oc],[[()=>h7,16]]],h8=[3,dV,"GetBucketMetadataConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],h7=[3,dV,oc,0,[o5],[()=>mU],1],pe=[3,dV,"GetBucketMetadataTableConfigurationOutput",0,[ou],[[()=>pr,16]]],pt=[3,dV,"GetBucketMetadataTableConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pr=[3,dV,ou,0,[lr,cb,sK],[()=>mz,0,()=>hM],2],pn=[3,dV,"GetBucketMetricsConfigurationOutput",0,[o3],[[()=>mF,16]]],pi=[3,dV,"GetBucketMetricsConfigurationRequest",0,[aL,"Id",sV],[[0,1],[0,{[uS]:"id"}],[0,{[uC]:du}]],2],pa=[3,dV,"GetBucketNotificationConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}
2]],1],ps=[3,dV,"GetBucketOwnershipControlsOutput",0,[lx],[[()=>m8,16]]],po=[3,dV,"GetBucketOwnershipControlsRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pl=[3,dV,"GetBucketPolicyOutput",0,[lV],[[0,16]]],pc=[3,dV,"GetBucketPolicyRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pu=[3,dV,"GetBucketPolicyStatusOutput",0,[lq],[[()=>gn,16]]],pd=[3,dV,"GetBucketPolicyStatusRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pf=[3,dV,"GetBucketReplicationOutput",0,[l8],[[()=>gX,16]]],ph=[3,dV,"GetBucketReplicationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pp=[3,dV,"GetBucketRequestPaymentOutput",{[uz]:ca},[lF],[0]],pm=[3,dV,"GetBucketRequestPaymentRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pg=[3,dV,"GetBucketTaggingOutput",{[uz]:c3},[c5],[[()=>xo,0]],1],py=[3,dV,"GetBucketTaggingRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],px=[3,dV,"GetBucketVersioningOutput",{[uz]:ui},[cb,o9],[0,[0,{[uz]:o4}]]],pb=[3,dV,"GetBucketVersioningRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pw=[3,dV,"GetBucketWebsiteOutput",{[uz]:uo},[l1,ov,sJ,co],[()=>gK,()=>pX,()=>hN,[()=>xa,0]]],pC=[3,dV,"GetBucketWebsiteRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pv=[3,dV,"GetObjectAclOutput",{[uz]:am},[ly,ol,l2],[()=>m9,[()=>yY,{[uz]:ah}],[0,{[uC]:dO}]]],pk=[3,dV,"GetObjectAclRequest",0,[aL,"Key",ua,cn,sV],[[0,1],[0,1],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}]],2],pS=[3,dV,"GetObjectAnnotationOutput",0,[ak,lN,oJ,a9,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,cL,l2,cu],[[()=>fg,16],[0,{[uC]:dT}],[4,{[uC]:oY}],[1,{[uC]:a6}],[0,{[uC]:s5}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[0,{[uC]:dB}],[0,{[uC]:dO}],[0,{[uC]:dL}]]],pE=[3,dV,"GetObjectAnnotationRequest",0,[aL,"Key",av,ua,cn,sV,sr],[[0,1],[0,1],[0,{[uS]:uu}],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:u0}]],3],pA=[3,dV,"GetObjectAttributesOutput",{[uz]:"GetObjectAttributesResponse"},[sI,oJ,ua,l2,s5,aK,"ObjectParts",ck,"ObjectSize"],[[2,{[uC]:dl}],[4,{[uC]:oY}],[0,{[uC]:dK}],[0,{[uC]:dO}],0,()=>fD,[()=>pR,0],0,1]],pR=[3,dV,"GetObjectAttributesParts",0,["TotalPartsCount",l$,lp,le,oM,lH],[[1,{[uz]:lU}],0,0,1,2,[()=>xr,{[u$]:1,[uz]:lG}]]],pT=[3,dV,"GetObjectAttributesRequest",0,[aL,"Key","ObjectAttributes",ua,le,l$,cN,cI,cB,cn,sV],[[0,1],[0,1],[64,{[uC]:"x-amz-object-attributes"}],[0,{[uS]:u_}],[1,{[uC]:"x-amz-max-parts"}],[0,{[uC]:"x-amz-part-number-marker"}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[0,{[uC]:dP}],[0,{[uC]:du}]],3],pj=[3,dV,"GetObjectLegalHoldOutput",0,[oX],[[()=>m0,{[uv]:1,[uz]:oX}]]],pO=[3,dV,"GetObjectLegalHoldRequest",0,[aL,"Key",ua,cn,sV],[[0,1],[0,1],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}]],2],pP=[3,dV,"GetObjectLockConfigurationOutput",0,[lv],[[()=>mQ,16]]],pL=[3,dV,"GetObjectLockConfigurationRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pM=[3,dV,"GetObjectOutput",0,[aG,sI,aA,ot,cp,oJ,a9,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,o7,ua,aZ,a1,a5,a3,sc,sA,or,s1,ul,cL,oQ,cN,cB,c_,aB,ck,l2,cu,lU,cZ,lR,lT,lA,lk,lS,lE],[[()=>fg,16],[2,{[uC]:dl}],[0,{[uC]:ud}],[0,{[uC]:dc}],[0,{[uC]:dj}],[4,{[uC]:oY}],[1,{[uC]:a6}],[0,{[uC]:s5}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[1,{[uC]:dx}],[0,{[uC]:dK}],[0,{[uC]:aQ}],[0,{[uC]:a0}],[0,{[uC]:a2}],[0,{[uC]:a4}],[0,{[uC]:su}],[0,{[uC]:sE}],[4,{[uC]:or}],[0,{[uC]:s1}],[0,{[uC]:dW}],[0,{[uC]:dB}],[128,{[uk]:dg}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[2,{[uC]:dU}],[0,{[uC]:dM}],[0,{[uC]:dO}],[0,{[uC]:dL}],[1,{[uC]:db}],[1,{[uC]:dG}],[0,{[uC]:dE}],[5,{[uC]:dA}],[0,{[uC]:dS}],[0,{[uC]:dC}],[1,{[uC]:dv}],[1,{[uC]:dk}]]],pN=[3,dV,"GetObjectRequest",0,[aL,"Key",oS,oA,oT,oU,ch,l5,l3,l4,l6,l9,ce,ua,cN,cI,cB,cn,l_,sV,sr],[[0,1],[0,1],[0,{[uC]:oR}],[4,{[uC]:oE}],[0,{[uC]:oj}],[4,{[uC]:o_}],[0,{[uC]:ch}],[0,{[uS]:uO}],[0,{[uS]:uP}],[0,{[uS]:uL}],[0,{[uS]:uM}],[0,{[uS]:uN}],[6,{[uS]:uI}],[0,{[uS]:u_}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[0,{[uC]:dP}],[1,{[uS]:uj}],[0,{[uC]:du}],[0,{[uC]:u0}]],2],pI=[3,dV,"GetObjectRetentionOutput",0,[cg],[[()=>m1,{[uv]:1,[uz]:cg}]]],pB=[3,dV,"GetObjectRetentionRequest",0,[aL,"Key",ua,cn,sV],[[0,1],[0,1],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}]],2],pD=[3,dV,"GetObjectTaggingOutput",{[uz]:c3},[c5,ua],[[()=>xo,0],[0,{[uC]:dK}]],1],pU=[3,dV,"GetObjectTaggingRequest",0,[aL,"Key",ua,sV,cn],[[0,1],[0,1],[0,{[uS]:u_}],[0,{[uC]:du}],[0,{[uC]:dP}]],2],p_=[3,dV,"GetObjectTorrentOutput",0,[aG,l2],[[()=>fg,16],[0,{[uC]:dO}]]],p$=[3,dV,"GetObjectTorrentRequest",0,[aL,"Key",cn,sV],[[0,1],[0,1],[0,{[uC]:dP}],[0,{[uC]:du}]],2],pz=[3,dV,"GetPublicAccessBlockOutput",0,[lD],[[()=>gs,16]]],pq=[3,dV,"GetPublicAccessBlockRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pH=[3,dV,of,0,[c4],[0],1],pG=[3,dV,oy,0,[ox,lW],[[()=>pF,{[uq]:["xsi",uE]}],0]],pF=[3,dV,ox,0,[c7,sU,"EmailAddress","ID","URI"],[[0,{xmlAttribute:1,[uz]:"xsi:type"}],0,0,0,0],1],pK=[3,dV,"HeadBucketOutput",0,[aM,"BucketLocationType","BucketLocationName",az,"AccessPointAlias"],[[0,{[uC]:uK}],[0,{[uC]:"x-amz-bucket-location-type"}],[0,{[uC]:"x-amz-bucket-location-name"}],[0,{[uC]:"x-amz-bucket-region"}],[2,{[uC]:"x-amz-access-point-alias"}]]],pW=[3,dV,"HeadBucketRequest",0,[aL,sV],[[0,1],[0,{[uC]:du}]],1],pV=[3,dV,"HeadObjectOutput",0,[sI,aA,ot,cp,"ArchiveStatus",oJ,a9,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,s5,o7,ua,aZ,a1,a5,a3,sA,sc,or,s1,ul,cL,oQ,cN,cB,c_,aB,ck,l2,cu,lU,cZ,lR,lT,lA,lk,lS,lE],[[2,{[uC]:dl}],[0,{[uC]:ud}],[0,{[uC]:dc}],[0,{[uC]:dj}],[0,{[uC]:"x-amz-archive-status"}],[4,{[uC]:oY}],[1,{[uC]:a6}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[0,{[uC]:s5}],[1,{[uC]:dx}],[0,{[uC]:dK}],[0,{[uC]:aQ}],[0,{[uC]:a0}],[0,{[uC]:a2}],[0,{[uC]:a4}],[0,{[uC]:sE}],[0,{[uC]:su}],[4,{[uC]:or}],[0,{[uC]:s1}],[0,{[uC]:dW}],[0,{[uC]:dB}],[128,{[uk]:dg}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[2,{[uC]:dU}],[0,{[uC]:dM}],[0,{[uC]:dO}],[0,{[uC]:dL}],[1,{[uC]:db}],[1,{[uC]:dG}],[0,{[uC]:dE}],[5,{[uC]:dA}],[0,{[uC]:dS}],[0,{[uC]:dC}],[1,{[uC]:dv}],[1,{[uC]:dk}]]],pZ=[3,dV,"HeadObjectRequest",0,[aL,"Key",oS,oA,oT,oU,ch,l5,l3,l4,l6,l9,ce,ua,cN,
2cI,cB,cn,l_,sV,sr],[[0,1],[0,1],[0,{[uC]:oR}],[4,{[uC]:oE}],[0,{[uC]:oj}],[4,{[uC]:o_}],[0,{[uC]:ch}],[0,{[uS]:uO}],[0,{[uS]:uP}],[0,{[uS]:uL}],[0,{[uS]:uM}],[0,{[uS]:uN}],[6,{[uS]:uI}],[0,{[uS]:u_}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[0,{[uC]:dP}],[1,{[uS]:uj}],[0,{[uC]:du}],[0,{[uC]:u0}]],2],pX=[3,dV,ov,0,["Suffix"],[0],1],pJ=[3,dV,o$,0,["ID",sU],[0,0]],pY=[3,dV,oL,0,["CSV","CompressionType",oz,"Parquet"],[()=>f6,0,()=>mi,()=>ge]],pQ=[3,dV,"IntelligentTieringAndOperator",0,[lB,cK],[0,[()=>xo,{[u$]:1,[uz]:"Tag"}]]],p0=[3,dV,oN,0,["Id",cb,"Tierings",oi],[0,0,[()=>xc,{[u$]:1,[uz]:c6}],[()=>p1,0]],3],p1=[3,dV,"IntelligentTieringFilter",0,[lB,"Tag","And"],[0,()=>yC,[()=>pQ,0]]],p2=[3,dV,ow,0,[sG,"IsEnabled","Id","IncludedObjectVersions","Schedule",oi,"OptionalFields"],[[()=>p5,0],2,0,0,()=>p9,()=>p4,[()=>y1,0]],5],p5=[3,dV,"InventoryDestination",0,[cv],[[()=>p6,0]],1],p3=[3,dV,"InventoryEncryption",0,[c$,cD],[[()=>yg,{[uz]:cO}],[()=>yh,{[uz]:cE}]]],p4=[3,dV,"InventoryFilter",0,[lB],[0],1],p6=[3,dV,"InventoryS3BucketDestination",0,[aL,oo,"AccountId",lB,s9],[0,0,0,0,[()=>p3,0]],2],p9=[3,dV,"InventorySchedule",0,["Frequency"],[0],1],p8=[3,dV,oD,0,[sd,sZ],[0,()=>mq],1],p7=[3,dV,oB,0,[sd,c2,sK,cQ,cW],[0,0,()=>hM,0,0],1],me=[3,dV,"InventoryTableConfigurationUpdates",0,[sd,sZ],[0,()=>mq],1],mt=[3,dV,oq,0,[ct,sZ],[()=>gH,()=>mq],1],mr=[3,dV,oH,0,[c2,cQ,ct,sK,cW],[0,0,()=>gH,()=>hM,0],3],mn=[3,dV,"JournalTableConfigurationUpdates",0,[ct],[()=>gH],1],mi=[3,dV,"JSONInput",0,[c7],[0]],ma=[3,dV,"JSONOutput",0,[l7],[0]],ms=[3,dV,"LambdaFunctionConfiguration",0,["LambdaFunctionArn",s7,"Id",oi],[[0,{[uz]:"CloudFunction"}],[64,{[u$]:1,[uz]:oe}],0,[()=>mX,0]],2],mo=[3,dV,"LifecycleExpiration",0,[sz,sN,"ExpiredObjectDeleteMarker"],[5,1,2]],ml=[3,dV,"LifecycleRule",0,[cb,ot,"ID",lB,oi,"Transitions","NoncurrentVersionTransitions",lm,aw],[0,()=>mo,0,0,[()=>mu,0],[()=>xd,{[u$]:1,[uz]:c8}],[()=>y6,{[u$]:1,[uz]:lg}],()=>mW,()=>fx],1],mc=[3,dV,"LifecycleRuleAndOperator",0,[lB,cK,lP,lL],[0,[()=>xo,{[u$]:1,[uz]:"Tag"}],1,1]],mu=[3,dV,"LifecycleRuleFilter",0,[lB,"Tag",lP,lL,"And"],[0,()=>yC,1,1,[()=>mc,0]]],md=[3,dV,"ListBucketAnalyticsConfigurationsOutput",{[uz]:"ListBucketAnalyticsConfigurationResult"},[oM,sR,lu,ap],[2,0,0,[()=>yz,{[u$]:1,[uz]:ay}]]],mf=[3,dV,"ListBucketAnalyticsConfigurationsRequest",0,[aL,sR,sV],[[0,1],[0,{[uS]:uh}],[0,{[uC]:du}]],1],mh=[3,dV,"ListBucketIntelligentTieringConfigurationsOutput",0,[oM,sR,lu,oI],[2,0,0,[()=>yQ,{[u$]:1,[uz]:oN}]]],mp=[3,dV,"ListBucketIntelligentTieringConfigurationsRequest",0,[aL,sR,sV],[[0,1],[0,{[uS]:uh}],[0,{[uC]:du}]],1],mm=[3,dV,"ListBucketInventoryConfigurationsOutput",{[uz]:"ListInventoryConfigurationsResult"},[sR,oC,oM,lu],[0,[()=>y0,{[u$]:1,[uz]:ow}],2,0]],mg=[3,dV,"ListBucketInventoryConfigurationsRequest",0,[aL,sR,sV],[[0,1],[0,{[uS]:uh}],[0,{[uC]:du}]],1],my=[3,dV,"ListBucketMetricsConfigurationsOutput",{[uz]:"ListMetricsConfigurationsResult"},[oM,sR,lu,o2],[2,0,0,[()=>y3,{[u$]:1,[uz]:o3}]]],mx=[3,dV,"ListBucketMetricsConfigurationsRequest",0,[aL,sR,sV],[[0,1],[0,{[uS]:uh}],[0,{[uC]:du}]],1],mb=[3,dV,"ListBucketsOutput",{[uz]:"ListAllMyBucketsResult"},[aF,ly,sR,lB],[[()=>yH,0],()=>m9,0,0]],mw=[3,dV,"ListBucketsRequest",0,["MaxBuckets",sR,lB,az],[[1,{[uS]:"max-buckets"}],[0,{[uS]:uh}],[0,{[uS]:uT}],[0,{[uS]:"bucket-region"}]]],mC=[3,dV,"ListDirectoryBucketsOutput",{[uz]:"ListAllMyDirectoryBucketsResult"},[aF,sR],[[()=>yH,0],0]],mv=[3,dV,"ListDirectoryBucketsRequest",0,[sR,"MaxDirectoryBuckets"],[[0,{[uS]:uh}],[1,{[uS]:"max-directory-buckets"}]]],mk=[3,dV,"ListMultipartUploadsOutput",{[uz]:"ListMultipartUploadsResult"},[aL,oG,ut,lf,lB,sH,"NextUploadIdMarker",li,oM,"Uploads",sl,s4,l2],[0,0,0,0,0,0,0,1,2,[()=>y4,{[u$]:1,[uz]:"Upload"}],[()=>yG,{[u$]:1}],0,[0,{[uC]:dO}]]],mS=[3,dV,"ListMultipartUploadsRequest",0,[aL,sH,s4,oG,li,lB,ut,sV,cn],[[0,1],[0,{[uS]:up}],[0,{[uS]:uy}],[0,{[uS]:uA}],[1,{[uS]:"max-uploads"}],[0,{[uS]:uT}],[0,{[uS]:"upload-id-marker"}],[0,{[uC]:du}],[0,{[uC]:dP}]],1],mE=[3,dV,"ListObjectAnnotationsOutput",0,["Annotations",aL,"Key",lN,aE,o0,"AnnotationCount",sR,lu,l2],[[()=>yq,0],0,0,[0,{[uC]:dT}],0,1,1,0,0,[0,{[uC]:dO}]]],mA=[3,dV,"ListObjectAnnotationsRequest",0,[aL,"Key",ua,o0,aE,sR,cn,sV],[[0,1],[0,1],[0,{[uS]:u_}],[1,{[uS]:"max-annotation-results"}],[0,{[uS]:"annotation-prefix"}],[0,{[uS]:uh}],[0,{[uC]:dP}],[0,{[uC]:du}]],2],mR=[3,dV,"ListObjectsOutput",{[uz]:oK},[oM,la,"NextMarker",sL,ll,lB,sH,o8,sl,s4,l2],[2,0,0,[()=>y8,{[u$]:1}],0,0,0,1,[()=>yG,{[u$]:1}],0,[0,{[uC]:dO}]]],mT=[3,dV,"ListObjectsRequest",0,[aL,sH,s4,la,o8,lB,cn,sV,lO],[[0,1],[0,{[uS]:up}],[0,{[uS]:uy}],[0,{[uS]:"marker"}],[1,{[uS]:uR}],[0,{[uS]:uT}],[0,{[uC]:dP}],[0,{[uC]:du}],[64,{[uC]:dR}]],1],mj=[3,dV,"ListObjectsV2Output",{[uz]:oK},[oM,sL,ll,lB,sH,o8,sl,s4,"KeyCount",sR,lu,cw,l2],[2,[()=>y8,{[u$]:1}],0,0,0,1,[()=>yG,{[u$]:1}],0,1,0,0,0,[0,{[uC]:dO}]]],mO=[3,dV,"ListObjectsV2Request",0,[aL,sH,s4,o8,lB,sR,"FetchOwner",cw,cn,sV,lO],[[0,1],[0,{[uS]:up}],[0,{[uS]:uy}],[1,{[uS]:uR}],[0,{[uS]:uT}],[0,{[uS]:uh}],[2,{[uS]:"fetch-owner"}],[0,{[uS]:"start-after"}],[0,{[uC]:dP}],[0,{[uC]:du}],[64,{[uC]:dR}]],1],mP=[3,dV,"ListObjectVersionsOutput",{[uz]:"ListVersionsResult"},[oM,oG,us,lf,"NextVersionIdMarker","Versions",sD,ll,lB,sH,o8,sl,s4,l2],[2,0,0,0,0,[()=>y7,{[u$]:1,[uz]:"Version"}],[()=>yV,{[u$]:1,[uz]:sI}],0,0,0,1,[()=>yG,{[u$]:1}],0,[0,{[uC]:dO}]]],mL=[3,dV,"ListObjectVersionsRequest",0,[aL,sH,s4,oG,o8,lB,us,sV,cn,lO],[[0,1],[0,{[uS]:up}],[0,{[uS]:uy}],[0,{[uS]:uA}],[1,{[uS]:uR}],[0,{[uS]:uT}],[0,{[uS]:"version-id-marker"}],[0,{[uC]:du}],[0,{[uC]:dP}],[64,{[uC]:dR}]],1],mM=[3,dV,"ListPartsOutput",{[uz]:"ListPartsResult"},[ax,aR,aL,"Key",ue,l$,lp,le,oM,lH,o$,ly,ck,l2,aW,sS],[[4,{[uC]:uG}],[0,{[uC]:uF}],0,0,0,0,0,1,2,[()=>xt,{[u$]:1,[uz]:lG}],()=>pJ,()=>m9,0,[0,{[uC]:dO}],0,0]],mN=[3,dV,"ListPartsRequest",0,[aL,"Key",ue,le,l$,cn,sV,cN,cI,cB],[[0,1],[0,1],[0,{[uS]:uU}
2],[1,{[uS]:"max-parts"}],[0,{[uS]:"part-number-marker"}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}]],3],mI=[3,dV,"LocationInfo",0,[c7,ll],[0,0]],mB=[3,dV,oZ,0,["TargetBucket","TargetPrefix",cY,c1],[0,0,[()=>xl,0],[()=>yS,0]],2],mD=[3,dV,o1,0,[oq,oD,aO],[()=>mt,()=>p8,()=>fj],1],mU=[3,dV,o5,0,[s$,oH,oB,aP],[()=>hT,()=>mr,()=>p7,()=>fO],1],m_=[3,dV,o6,0,[ll,un],[0,0]],m$=[3,dV,lt,0,[cq],[()=>yt],1],mz=[3,dV,lr,0,[cH],[()=>yr],1],mq=[3,dV,"MetadataTableEncryptionConfiguration",0,["SseAlgorithm","KmsKeyArn"],[0,0],1],mH=[3,dV,ls,0,[cb,"EventThreshold"],[0,()=>g1],1],mG=[3,dV,"MetricsAndOperator",0,[lB,cK,aS],[0,[()=>xo,{[u$]:1,[uz]:"Tag"}],0]],mF=[3,dV,o3,0,["Id",oi],[0,[()=>xp,0]],1],mK=[3,dV,ln,0,[ue,"Key","Initiated",ck,ly,o$,aW,sS],[0,0,4,0,()=>m9,()=>pJ,0,0]],mW=[3,dV,lm,0,[ld,lh],[1,1]],mV=[3,dV,lg,0,[ld,ck,lh],[1,0,1]],mZ=[3,dV,lc,0,["TopicConfigurations","QueueConfigurations","LambdaFunctionConfigurations",sW],[[()=>xu,{[u$]:1,[uz]:cX}],[()=>xn,{[u$]:1,[uz]:lY}],[()=>y2,{[u$]:1,[uz]:"CloudFunctionConfiguration"}],()=>hI]],mX=[3,dV,"NotificationConfigurationFilter",0,["Key"],[[()=>g7,{[uz]:"S3Key"}]]],mJ=[3,dV,lI,0,["Key",oJ,s5,aW,sS,cG,ck,ly,cd],[0,4,0,[64,{[u$]:1}],0,1,0,()=>m9,()=>g9]],mY=[3,dV,"ObjectIdentifier",0,["Key",ua,s5,"LastModifiedTime",cG],[0,0,0,6,1],1],mQ=[3,dV,lv,0,["ObjectLockEnabled",cx],[0,()=>m2]],m0=[3,dV,"ObjectLockLegalHold",0,[cb],[0]],m1=[3,dV,"ObjectLockRetention",0,[lo,"RetainUntilDate","EventHold",sY],[0,5,0,()=>hB]],m2=[3,dV,"ObjectLockRule",0,[s_],[()=>f8]],m5=[3,dV,"ObjectPart",0,[l_,cG,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO],[1,1,0,0,0,0,0,0,0,0,0,0]],m3=[3,dV,"ObjectVersion",0,[s5,aW,sS,cG,ck,"Key",ua,ok,oJ,ly,cd],[0,[64,{[u$]:1}],0,1,0,0,0,2,4,()=>m9,()=>g9]],m4=[3,dV,lC,0,["S3"],[[()=>ye,0]]],m6=[3,dV,lM,0,["CSV",oz],[()=>f9,()=>ma]],m9=[3,dV,ly,0,[sU,"ID"],[0,0]],m8=[3,dV,lx,0,[cy],[[()=>xe,{[u$]:1,[uz]:cx}]],1],m7=[3,dV,"OwnershipControlsRule",0,[lj],[0],1],ge=[3,dV,"ParquetInput",0,[],[]],gt=[3,dV,lG,0,[l_,oJ,s5,cG,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO],[1,4,0,1,0,0,0,0,0,0,0,0,0,0]],gr=[3,dV,lz,{[uz]:lz},["PartitionDateSource"],[0]],gn=[3,dV,lq,0,[oP],[[2,{[uz]:oP}]]],gi=[3,dV,lZ,0,[aH,aU,aq],[1,1,1]],ga=[3,dV,"ProgressEvent",0,[sF],[[()=>gi,{[ug]:1}]]],gs=[3,dV,lD,0,[a_,oO,a$,ci],[[2,{[uz]:a_}],[2,{[uz]:oO}],[2,{[uz]:a$}],[2,{[uz]:ci}]]],go=[3,dV,"PutBucketAbacRequest",0,[aL,aT,se,aW,sV],[[0,1],[()=>fy,{[uv]:1,[uz]:aT}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gl=[3,dV,"PutBucketAccelerateConfigurationRequest",0,[aL,af,sV,aW],[[0,1],[()=>fC,{[uv]:1,[uz]:af}],[0,{[uC]:du}],[0,{[uC]:dN}]],2],gc=[3,dV,"PutBucketAclRequest",0,[aL,"ACL",am,se,aW,od,oh,op,om,og,sV],[[0,1],[0,{[uC]:uH}],[()=>fv,{[uv]:1,[uz]:am}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dp}],[0,{[uC]:dm}],[0,{[uC]:du}]],1],gu=[3,dV,"PutBucketAnalyticsConfigurationRequest",0,[aL,"Id",ay,sV],[[0,1],[0,{[uS]:"id"}],[()=>fE,{[uv]:1,[uz]:ay}],[0,{[uC]:du}]],3],gd=[3,dV,"PutBucketCorsRequest",0,[aL,si,se,aW,sV],[[0,1],[()=>fZ,{[uv]:1,[uz]:si}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gf=[3,dV,"PutBucketEncryptionRequest",0,[aL,cM,se,aW,sV],[[0,1],[()=>yl,{[uv]:1,[uz]:cM}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gh=[3,dV,"PutBucketIntelligentTieringConfigurationRequest",0,[aL,"Id",oN,sV],[[0,1],[0,{[uS]:"id"}],[()=>p0,{[uv]:1,[uz]:oN}],[0,{[uC]:du}]],3],gp=[3,dV,"PutBucketInventoryConfigurationRequest",0,[aL,"Id",ow,sV],[[0,1],[0,{[uS]:"id"}],[()=>p2,{[uv]:1,[uz]:ow}],[0,{[uC]:du}]],3],gm=[3,dV,"PutBucketLifecycleConfigurationOutput",0,[cJ],[[0,{[uC]:dF}]]],gg=[3,dV,"PutBucketLifecycleConfigurationRequest",0,[aL,aW,oV,sV,cJ],[[0,1],[0,{[uC]:dN}],[()=>fI,{[uv]:1,[uz]:oV}],[0,{[uC]:du}],[0,{[uC]:dF}]],1],gy=[3,dV,"PutBucketLoggingRequest",0,[aL,aD,se,aW,sV],[[0,1],[()=>fB,{[uv]:1,[uz]:aD}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gx=[3,dV,"PutBucketMetricsConfigurationRequest",0,[aL,"Id",o3,sV],[[0,1],[0,{[uS]:"id"}],[()=>mF,{[uv]:1,[uz]:o3}],[0,{[uC]:du}]],3],gb=[3,dV,"PutBucketNotificationConfigurationRequest",0,[aL,lc,sV,"SkipDestinationValidation"],[[0,1],[()=>mZ,{[uv]:1,[uz]:lc}],[0,{[uC]:du}],[2,{[uC]:"x-amz-skip-destination-validation"}
2]],2],gw=[3,dV,"PutBucketOwnershipControlsRequest",0,[aL,lx,se,sV,aW],[[0,1],[()=>m8,{[uv]:1,[uz]:lx}],[0,{[uC]:a8}],[0,{[uC]:du}],[0,{[uC]:dN}]],2],gC=[3,dV,"PutBucketPolicyRequest",0,[aL,lV,se,aW,"ConfirmRemoveSelfBucketAccess",sV],[[0,1],[0,16],[0,{[uC]:a8}],[0,{[uC]:dN}],[2,{[uC]:"x-amz-confirm-remove-self-bucket-access"}],[0,{[uC]:du}]],2],gv=[3,dV,"PutBucketReplicationRequest",0,[aL,l8,se,aW,c9,sV],[[0,1],[()=>gX,{[uv]:1,[uz]:l8}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:uV}],[0,{[uC]:du}]],2],gk=[3,dV,"PutBucketRequestPaymentRequest",0,[aL,ca,se,aW,sV],[[0,1],[()=>g2,{[uv]:1,[uz]:ca}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gS=[3,dV,"PutBucketTaggingRequest",0,[aL,c3,se,aW,sV],[[0,1],[()=>yv,{[uv]:1,[uz]:c3}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gE=[3,dV,"PutBucketVersioningRequest",0,[aL,ui,se,aW,"MFA",sV],[[0,1],[()=>yD,{[uv]:1,[uz]:ui}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:dy}],[0,{[uC]:du}]],2],gA=[3,dV,"PutBucketWebsiteRequest",0,[aL,uo,se,aW,sV],[[0,1],[()=>yU,{[uv]:1,[uz]:uo}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gR=[3,dV,"PutObjectAclOutput",0,[l2],[[0,{[uC]:dO}]]],gT=[3,dV,"PutObjectAclRequest",0,[aL,"Key","ACL",am,se,aW,od,oh,op,om,og,cn,ua,sV],[[0,1],[0,1],[0,{[uC]:uH}],[()=>fv,{[uv]:1,[uz]:am}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dp}],[0,{[uC]:dm}],[0,{[uC]:dP}],[0,{[uS]:u_}],[0,{[uC]:du}]],2],gj=[3,dV,"PutObjectAnnotationOutput",0,["Key",av,lN,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,cL,l2],[0,0,[0,{[uC]:dT}],[0,{[uC]:s5}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[0,{[uC]:dB}],[0,{[uC]:dO}]]],gO=[3,dV,"PutObjectAnnotationRequest",0,[aL,"Key",av,ak,ua,lw,aW,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,se,cn,sV],[[0,1],[0,1],[0,{[uS]:uu}],[()=>fg,16],[0,{[uS]:u_}],[0,{[uC]:dw}],[0,{[uC]:dN}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:a8}],[0,{[uC]:dP}],[0,{[uC]:du}]],4],gP=[3,dV,"PutObjectLegalHoldOutput",0,[l2],[[0,{[uC]:dO}]]],gL=[3,dV,"PutObjectLegalHoldRequest",0,[aL,"Key",oX,cn,ua,se,aW,sV],[[0,1],[0,1],[()=>m0,{[uv]:1,[uz]:oX}],[0,{[uC]:dP}],[0,{[uS]:u_}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gM=[3,dV,"PutObjectLockConfigurationOutput",0,[l2],[[0,{[uC]:dO}]]],gN=[3,dV,"PutObjectLockConfigurationRequest",0,[aL,lv,cn,c9,se,aW,sV],[[0,1],[()=>mQ,{[uv]:1,[uz]:lv}],[0,{[uC]:dP}],[0,{[uC]:uV}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],1],gI=[3,dV,"PutObjectOutput",0,[ot,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sS,cL,ua,cN,cB,c_,cU,aB,cG,l2],[[0,{[uC]:dc}],[0,{[uC]:s5}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:dn}],[0,{[uC]:dB}],[0,{[uC]:dK}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[1,{[uC]:"x-amz-object-size"}],[0,{[uC]:dO}]]],gB=[3,dV,"PutObjectRequest",0,[aL,"Key","ACL",aG,aZ,a1,a5,a3,a9,se,sA,aW,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,or,oS,oT,od,oh,op,og,"WriteOffsetBytes",oQ,cL,ck,ul,cN,cI,cB,c_,cU,aB,cn,c3,lR,lT,lA,lk,lS,lE,sV],[[0,1],[0,1],[0,{[uC]:uH}],[()=>fg,16],[0,{[uC]:aQ}],[0,{[uC]:a0}],[0,{[uC]:a2}],[0,{[uC]:a4}],[1,{[uC]:a6}],[0,{[uC]:a8}],[0,{[uC]:sE}],[0,{[uC]:dN}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[4,{[uC]:or}],[0,{[uC]:oR}],[0,{[uC]:oj}],[0,{[uC]:dd}],[0,{[uC]:df}],[0,{[uC]:dh}],[0,{[uC]:dm}],[1,{[uC]:"x-amz-write-offset-bytes"}],[128,{[uk]:dg}],[0,{[uC]:dB}],[0,{[uC]:dM}],[0,{[uC]:dW}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[()=>fp,{[uC]:d_}],[2,{[uC]:dU}],[0,{[uC]:dP}],[0,{[uC]:dH}],[0,{[uC]:dE}],[5,{[uC]:dA}],[0,{[uC]:dS}],[0,{[uC]:dC}],[1,{[uC]:dv}],[1,{[uC]:dk}],[0,{[uC]:du}]],2],gD=[3,dV,"PutObjectRetentionOutput",0,[l2],[[0,{[uC]:dO}]]],gU=[3,dV,"PutObjectRetentionRequest",0,[aL,"Key",cg,cn,ua,aI,se,aW,sV],[[0,1],[0,1],[()=>m1,{[uv]:1,[uz]:cg}],[0,{[uC]:dP}],[0,{[uS]:u_}],[2,{[uC]:uW}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],g_=[3,dV,"PutObjectTaggingOutput",0,[ua],[[0,{[uC]:dK}]]],g$=[3,dV,"PutObjectTaggingRequest",0,[aL,"Key",c3,ua,se,aW,sV,cn],[[0,1],[0,1],[()=>yv,{[uv]:1,[uz]:c3}],[0,{[uS]:u_}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}],[0,{[uC]:dP}]],3],gz=[3,dV,"PutPublicAccessBlockRequest",0,[aL,lD,se,aW,sV],[[0,1],[()=>gs,{[uv]:1,[uz]:lD}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],gq=[3,dV,lY,0,["QueueArn",s7,"Id",oi],[[0,{[uz]:"Queue"}],[64,{[u$]:1,[uz]:oe}],0,[()=>
2mX,0]],2],gH=[3,dV,ct,0,[ot,sN],[0,1],1],gG=[3,dV,"RecordsEvent",0,[lK],[[21,{[ug]:1}]]],gF=[3,dV,cm,0,[ob,"HttpRedirectCode",lX,"ReplaceKeyPrefixWith","ReplaceKeyWith"],[0,0,0,0,0]],gK=[3,dV,l1,0,[ob,lX],[0,0],1],gW=[3,dV,"RenameObjectOutput",0,[],[]],gV=[3,dV,"RenameObjectRequest",0,[aL,"Key","RenameSource","DestinationIfMatch","DestinationIfNoneMatch","DestinationIfModifiedSince","DestinationIfUnmodifiedSince","SourceIfMatch","SourceIfNoneMatch","SourceIfModifiedSince","SourceIfUnmodifiedSince","ClientToken"],[[0,1],[0,1],[0,{[uC]:"x-amz-rename-source"}],[0,{[uC]:oR}],[0,{[uC]:oj}],[4,{[uC]:oE}],[4,{[uC]:o_}],[0,{[uC]:"x-amz-rename-source-if-match"}],[0,{[uC]:"x-amz-rename-source-if-none-match"}],[6,{[uC]:"x-amz-rename-source-if-modified-since"}],[6,{[uC]:"x-amz-rename-source-if-unmodified-since"}],[0,{[uC]:"x-amz-client-token",idempotencyToken:1}]],3],gZ=[3,dV,cr,0,[cb],[0],1],gX=[3,dV,l8,0,[l0,cy],[0,[()=>xi,{[u$]:1,[uz]:cx}]],2],gJ=[3,dV,"ReplicationRule",0,[cb,sG,"ID","Priority",lB,oi,cP,s0,sB],[0,()=>hR,0,1,0,[()=>gQ,0],()=>yf,()=>hD,()=>hy],2],gY=[3,dV,"ReplicationRuleAndOperator",0,[lB,cK],[0,[()=>xo,{[u$]:1,[uz]:"Tag"}]]],gQ=[3,dV,"ReplicationRuleFilter",0,[lB,"Tag","And"],[0,()=>yC,[()=>gY,0]]],g0=[3,dV,cf,0,[cb,"Time"],[0,()=>g1],2],g1=[3,dV,"ReplicationTimeValue",0,["Minutes"],[1]],g2=[3,dV,ca,0,[lF],[0],1],g5=[3,dV,cs,0,["Enabled"],[2]],g3=[3,dV,"RestoreObjectOutput",0,[l2,"RestoreOutputPath"],[[0,{[uC]:dO}],[0,{[uC]:"x-amz-restore-output-path"}]]],g4=[3,dV,"RestoreObjectRequest",0,[aL,"Key",ua,cl,cn,aW,sV],[[0,1],[0,1],[0,{[uS]:u_}],[()=>g6,{[uv]:1,[uz]:cl}],[0,{[uC]:dP}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],g6=[3,dV,cl,0,[sN,of,c7,c4,"Description",cR,lC],[1,()=>pH,0,0,0,()=>ys,[()=>m4,0]]],g9=[3,dV,cd,0,["IsRestoreInProgress","RestoreExpiryDate"],[2,4]],g8=[3,dV,cc,0,[cm,sP],[()=>gF,()=>fH],1],g7=[3,dV,"S3KeyFilter",0,["FilterRules"],[[()=>yJ,{[u$]:1,[uz]:os}]]],ye=[3,dV,"S3Location",0,["BucketName",lB,s9,"CannedACL",ah,c3,ur,ck],[0,0,[()=>hj,0],0,[()=>yY,0],[()=>yv,0],[()=>xf,0],0],2],yt=[3,dV,cq,0,[cV,cQ],[0,0],2],yr=[3,dV,cH,0,[cV,cQ,cW,c0],[0,0,0,0],4],yn=[3,dV,cj,0,["Start","End"],[1,1]],yi=[3,dV,"SelectObjectContentOutput",0,[lK],[[()=>xg,16]]],ya=[3,dV,"SelectObjectContentRequest",0,[aL,"Key",on,s6,oL,lM,cN,cI,cB,cs,cj,sV],[[0,1],[0,1],0,0,()=>pY,()=>m6,[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],()=>g5,()=>yn,[0,{[uC]:du}]],6],ys=[3,dV,cR,0,[oL,s6,on,lM],[()=>pY,0,0,()=>m6],4],yo=[3,dV,"ServerSideEncryptionByDefault",0,["SSEAlgorithm","KMSMasterKeyID"],[0,[()=>fm,0]],1],yl=[3,dV,cM,0,[cy],[[()=>xs,{[u$]:1,[uz]:cx}]],1],yc=[3,dV,"ServerSideEncryptionRule",0,["ApplyServerSideEncryptionByDefault",aB,aN],[[()=>yo,0],2,[()=>fL,0]]],yu=[3,dV,"SessionCredentials",0,[aC,cC,cz,ot],[[0,{[uz]:aC}],[()=>ff,{[uz]:cC}],[()=>ff,{[uz]:cz}],[4,{[uz]:ot}]],4],yd=[3,dV,cT,{[uz]:cT},[],[]],yf=[3,dV,cP,0,[cA,cr],[()=>yp,()=>gZ]],yh=[3,dV,cD,{[uz]:cE},["KeyId"],[[()=>fm,0]],1],yp=[3,dV,cA,0,[cb],[0],1],ym=[3,dV,"SSEKMSEncryption",{[uz]:cE},["KMSKeyArn",aB],[[()=>fd,0],2],1],yg=[3,dV,c$,{[uz]:cO},[],[]],yy=[3,dV,cF,0,[aH,aU,aq],[1,1,1]],yx=[3,dV,"StatsEvent",0,[sF],[[()=>yy,{[ug]:1}]]],yb=[3,dV,cS,0,["DataExport"],[()=>yw]],yw=[3,dV,"StorageClassAnalysisDataExport",0,["OutputSchemaVersion",sG],[0,()=>fA],2],yC=[3,dV,"Tag",0,["Key",un],[0,0],2],yv=[3,dV,c3,0,[c5],[[()=>xo,0]],1],yk=[3,dV,"TargetGrant",0,[ox,lW],[[()=>pF,{[uq]:["xsi",uE]}],0]],yS=[3,dV,c1,0,[cT,lz],[[()=>yd,{[uz]:cT}],[()=>gr,{[uz]:lz}]]],yE=[3,dV,c6,0,[sN,aj],[1,0],2],yA=[3,dV,cX,0,["TopicArn",s7,"Id",oi],[[0,{[uz]:"Topic"}],[64,{[u$]:1,[uz]:oe}],0,[()=>mX,0]],2],yR=[3,dV,c8,0,[sz,sN,ck],[5,1,0]],yT=[3,dV,"UpdateBucketMetadataAnnotationTableConfigurationRequest",0,[aL,aO,se,aW,sV],[[0,1],[()=>fP,{[uv]:1,[uz]:aO}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],yj=[3,dV,"UpdateBucketMetadataInventoryTableConfigurationRequest",0,[aL,oD,se,aW,sV],[[0,1],[()=>me,{[uv]:1,[uz]:oD}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],yO=[3,dV,"UpdateBucketMetadataJournalTableConfigurationRequest",0,[aL,oq,se,aW,sV],[[0,1],[()=>mn,{[uv]:1,[uz]:oq}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:du}]],2],yP=[3,dV,"UpdateObjectEncryptionRequest",0,[aL,"Key",lb,ua,cn,sV,se,aW],[[0,1],[0,1],[()=>xm,16],[0,{[uS]:u_}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:a8}],[0,{[uC]:dN}]],3],yL=[3,dV,"UpdateObjectEncryptionResponse",0,[l2],[[0,{[uC]:dO}
2]]],yM=[3,dV,"UploadPartCopyOutput",0,[sv,so,cL,cN,cB,c_,aB,l2],[[0,{[uC]:dr}],[()=>fV,16],[0,{[uC]:dB}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[2,{[uC]:dU}],[0,{[uC]:dO}]]],yN=[3,dV,"UploadPartCopyRequest",0,[aL,sk,"Key",l_,ue,sm,sg,sy,sx,"CopySourceRange",cN,cI,cB,sb,sw,sC,cn,sV,s2],[[0,1],[0,{[uC]:u3}],[0,1],[1,{[uS]:uj}],[0,{[uS]:uU}],[0,{[uC]:u4}],[4,{[uC]:u6}],[0,{[uC]:u9}],[4,{[uC]:u8}],[0,{[uC]:"x-amz-copy-source-range"}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[0,{[uC]:u7}],[()=>fu,{[uC]:de}],[0,{[uC]:dt}],[0,{[uC]:dP}],[0,{[uC]:du}],[0,{[uC]:dI}]],5],yI=[3,dV,"UploadPartOutput",0,[cL,s5,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,cN,cB,c_,aB,l2],[[0,{[uC]:dB}],[0,{[uC]:s5}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:d$}],[0,{[uC]:dq}],[()=>fm,{[uC]:dD}],[2,{[uC]:dU}],[0,{[uC]:dO}]]],yB=[3,dV,"UploadPartRequest",0,[aL,"Key",l_,ue,aG,a9,se,aW,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,cN,cI,cB,cn,sV],[[0,1],[0,1],[1,{[uS]:uj}],[0,{[uS]:uU}],[()=>fg,16],[1,{[uC]:a6}],[0,{[uC]:a8}],[0,{[uC]:dN}],[0,{[uC]:uX}],[0,{[uC]:uJ}],[0,{[uC]:uY}],[0,{[uC]:u1}],[0,{[uC]:u2}],[0,{[uC]:u5}],[0,{[uC]:uQ}],[0,{[uC]:di}],[0,{[uC]:da}],[0,{[uC]:ds}],[0,{[uC]:d$}],[()=>fh,{[uC]:dz}],[0,{[uC]:dq}],[0,{[uC]:dP}],[0,{[uC]:du}]],4],yD=[3,dV,ui,0,[o9,cb],[[0,{[uz]:o4}],0]],yU=[3,dV,uo,0,[sJ,ov,l1,co],[()=>hN,()=>pX,()=>gK,[()=>xa,0]]],y_=[3,dV,"WriteGetObjectResponseRequest",0,["RequestRoute","RequestToken",aG,"StatusCode",sX,sQ,aA,aZ,a1,a5,a3,a9,sc,sA,aX,aJ,aY,sf,sh,sp,a7,sT,sj,sO,sI,s5,or,ot,oJ,o7,oQ,lR,lA,lT,lU,cu,l2,cp,cL,cN,c_,cB,ck,cZ,ua,aB],[[0,{hostLabel:1,[uC]:"x-amz-request-route"}],[0,{[uC]:"x-amz-request-token"}],[()=>fg,16],[1,{[uC]:"x-amz-fwd-status"}],[0,{[uC]:"x-amz-fwd-error-code"}],[0,{[uC]:"x-amz-fwd-error-message"}],[0,{[uC]:"x-amz-fwd-header-accept-ranges"}],[0,{[uC]:"x-amz-fwd-header-Cache-Control"}],[0,{[uC]:"x-amz-fwd-header-Content-Disposition"}],[0,{[uC]:"x-amz-fwd-header-Content-Encoding"}],[0,{[uC]:"x-amz-fwd-header-Content-Language"}],[1,{[uC]:a6}],[0,{[uC]:"x-amz-fwd-header-Content-Range"}],[0,{[uC]:"x-amz-fwd-header-Content-Type"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-crc32"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-crc32c"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-crc64nvme"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-sha1"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-sha256"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-sha512"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-md5"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-xxhash64"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-xxhash3"}],[0,{[uC]:"x-amz-fwd-header-x-amz-checksum-xxhash128"}],[2,{[uC]:"x-amz-fwd-header-x-amz-delete-marker"}],[0,{[uC]:"x-amz-fwd-header-ETag"}],[4,{[uC]:"x-amz-fwd-header-Expires"}],[0,{[uC]:"x-amz-fwd-header-x-amz-expiration"}],[4,{[uC]:"x-amz-fwd-header-Last-Modified"}],[1,{[uC]:"x-amz-fwd-header-x-amz-missing-meta"}],[128,{[uk]:dg}],[0,{[uC]:"x-amz-fwd-header-x-amz-object-lock-mode"}],[0,{[uC]:"x-amz-fwd-header-x-amz-object-lock-legal-hold"}],[5,{[uC]:"x-amz-fwd-header-x-amz-object-lock-retain-until-date"}],[1,{[uC]:"x-amz-fwd-header-x-amz-mp-parts-count"}],[0,{[uC]:"x-amz-fwd-header-x-amz-replication-status"}],[0,{[uC]:"x-amz-fwd-header-x-amz-request-charged"}],[0,{[uC]:"x-amz-fwd-header-x-amz-restore"}],[0,{[uC]:"x-amz-fwd-header-x-amz-server-side-encryption"}],[0,{[uC]:"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"}],[()=>fm,{[uC]:"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"}],[0,{[uC]:"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"}],[0,{[uC]:"x-amz-fwd-header-x-amz-storage-class"}],[1,{[uC]:"x-amz-fwd-header-x-amz-tagging-count"}],[0,{[uC]:"x-amz-fwd-header-x-amz-version-id"}],[2,{[uC]:"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled"}]],2],y$="unit",yz=[1,dV,ap,0,[()=>fE,0]],yq=[1,dV,"AnnotationList",0,[()=>fT,{[uz]:ab}]],yH=[1,dV,aF,0,[()=>fM,{[uz]:aL}]],yG=[1,dV,"CommonPrefixList",0,()=>fU],yF=[1,dV,"CompletedPartList",0,()=>f$],yK=[1,dV,sa,0,[()=>fX,0]],yW=[1,dV,"DeletedObjects",0,()=>hm],yV=[1,dV,sD,0,()=>hg],yZ=[1,dV,"EncryptionTypeList",0,[0,{[uz]:s3}]],yX=[1,dV,s8,0,()=>hL],yJ=[1,dV,"FilterRuleList",0,()=>hU],yY=[1,dV,ol,0,[()=>pG,{[uz]:oy}]],yQ=[1,dV,oI,0,[()=>p0,0]],y0=[1,dV,oC,0,[()=>p2,0]],y1=[1,dV,"InventoryOptionalFields",0,[0,{[uz]:"Field"}]],y2=[1,dV,"LambdaFunctionConfigurationList",0,[()=>ms,0]],y5=[1,dV,"LifecycleRules",0,[()=>ml,0]],y3=[1,dV,o2,0,[()=>mF,0]],y4=[1,dV,"MultipartUploadList",0,()=>mK],y6=[1,dV,"NoncurrentVersionTransitionList",0,()=>mV],y9=[1,dV,"ObjectIdentifierList",0,()=>mY],y8=[1,dV,"ObjectList",0,[()=>mJ,0]],y7=[1,dV,"ObjectVersionList",0,[()=>
2m3,0]],xe=[1,dV,"OwnershipControlsRules",0,()=>m7],xt=[1,dV,lH,0,()=>gt],xr=[1,dV,"PartsList",0,()=>m5],xn=[1,dV,"QueueConfigurationList",0,[()=>gq,0]],xi=[1,dV,"ReplicationRules",0,[()=>gJ,0]],xa=[1,dV,co,0,[()=>g8,{[uz]:cc}]],xs=[1,dV,"ServerSideEncryptionRules",0,[()=>yc,0]],xo=[1,dV,c5,0,[()=>yC,{[uz]:"Tag"}]],xl=[1,dV,cY,0,[()=>yk,{[uz]:oy}]],xc=[1,dV,"TieringList",0,()=>yE],xu=[1,dV,"TopicConfigurationList",0,[()=>yA,0]],xd=[1,dV,"TransitionList",0,()=>yR],xf=[1,dV,ur,0,[()=>m_,{[uz]:o6}]],xh=[4,dV,"AnalyticsFilter",0,[lB,"Tag","And"],[0,()=>yC,[()=>fS,0]]],xp=[4,dV,"MetricsFilter",0,[lB,"Tag",aS,"And"],[0,()=>yC,0,[()=>mG,0]]],xm=[4,dV,lb,0,[cD],[[()=>ym,{[uz]:cE}]]],xg=[4,dV,"SelectObjectContentEventStream",{[uD]:1},["Records",cF,lZ,"Cont","End"],[[()=>gG,0],[()=>yx,0],[()=>ga,0],()=>fG,()=>hP]],xy=[9,dV,"AbortMultipartUpload",{[ux]:["DELETE","/{Key+}?x-id=AbortMultipartUpload",204]},()=>fw,()=>fb],xx=[9,dV,st,{[ux]:["POST","/{Key+}",200]},()=>fq,()=>fz],xb=[9,dV,"CopyObject",{[ux]:["PUT","/{Key+}?x-id=CopyObject",200]},()=>fK,()=>fF],xw=[9,dV,"CreateBucket",{[ux]:["PUT","/",200]},()=>f1,()=>f0],xC=[9,dV,"CreateBucketMetadataConfiguration",{[ub]:"-",[ux]:["POST","/?metadataConfiguration",200]},()=>fY,()=>y$],xv=[9,dV,"CreateBucketMetadataTableConfiguration",{[ub]:"-",[ux]:["POST","/?metadataTable",200]},()=>fQ,()=>y$],xk=[9,dV,"CreateMultipartUpload",{[ux]:["POST","/{Key+}?uploads",200]},()=>f5,()=>f2],xS=[9,dV,"CreateSession",{[ux]:["GET","/?session",200]},()=>f4,()=>f3],xE=[9,dV,"DeleteBucket",{[ux]:["DELETE","/",204]},()=>hf,()=>y$],xA=[9,dV,"DeleteBucketAnalyticsConfiguration",{[ux]:["DELETE","/?analytics",204]},()=>he,()=>y$],xR=[9,dV,"DeleteBucketCors",{[ux]:["DELETE","/?cors",204]},()=>ht,()=>y$],xT=[9,dV,"DeleteBucketEncryption",{[ux]:["DELETE","/?encryption",204]},()=>hr,()=>y$],xj=[9,dV,"DeleteBucketIntelligentTieringConfiguration",{[ux]:["DELETE","/?intelligent-tiering",204]},()=>hn,()=>y$],xO=[9,dV,"DeleteBucketInventoryConfiguration",{[ux]:["DELETE","/?inventory",204]},()=>hi,()=>y$],xP=[9,dV,"DeleteBucketLifecycle",{[ux]:["DELETE","/?lifecycle",204]},()=>ha,()=>y$],xL=[9,dV,"DeleteBucketMetadataConfiguration",{[ux]:["DELETE","/?metadataConfiguration",204]},()=>hs,()=>y$],xM=[9,dV,"DeleteBucketMetadataTableConfiguration",{[ux]:["DELETE","/?metadataTable",204]},()=>ho,()=>y$],xN=[9,dV,"DeleteBucketMetricsConfiguration",{[ux]:["DELETE","/?metrics",204]},()=>hl,()=>y$],xI=[9,dV,"DeleteBucketOwnershipControls",{[ux]:["DELETE","/?ownershipControls",204]},()=>hc,()=>y$],xB=[9,dV,"DeleteBucketPolicy",{[ux]:["DELETE","/?policy",204]},()=>hu,()=>y$],xD=[9,dV,"DeleteBucketReplication",{[ux]:["DELETE","/?replication",204]},()=>hd,()=>y$],xU=[9,dV,"DeleteBucketTagging",{[ux]:["DELETE","/?tagging",204]},()=>hh,()=>y$],x_=[9,dV,"DeleteBucketWebsite",{[ux]:["DELETE","/?website",204]},()=>hp,()=>y$],x$=[9,dV,"DeleteObject",{[ux]:["DELETE","/{Key+}?x-id=DeleteObject",204]},()=>hC,()=>hw],xz=[9,dV,"DeleteObjectAnnotation",{[ux]:["DELETE","/{Key+}?annotation",204]},()=>hb,()=>hx],xq=[9,dV,"DeleteObjects",{[ub]:"-",[ux]:["POST","/?delete",200]},()=>hk,()=>hv],xH=[9,dV,"DeleteObjectTagging",{[ux]:["DELETE","/{Key+}?tagging",204]},()=>hE,()=>hS],xG=[9,dV,"DeletePublicAccessBlock",{[ux]:["DELETE","/?publicAccessBlock",204]},()=>hA,()=>y$],xF=[9,dV,"GetBucketAbac",{[ux]:["GET","/?abac",200]},()=>h$,()=>h_],xK=[9,dV,"GetBucketAccelerateConfiguration",{[ux]:["GET","/?accelerate",200]},()=>hq,()=>hz],xW=[9,dV,"GetBucketAcl",{[ux]:["GET","/?acl",200]},()=>hG,()=>hH],xV=[9,dV,"GetBucketAnalyticsConfiguration",{[ux]:["GET","/?analytics&x-id=GetBucketAnalyticsConfiguration",200]},()=>hK,()=>hF],xZ=[9,dV,"GetBucketCors",{[ux]:["GET","/?cors",200]},()=>hV,()=>hW],xX=[9,dV,"GetBucketEncryption",{[ux]:["GET","/?encryption",200]},()=>hX,()=>hZ],xJ=[9,dV,"GetBucketIntelligentTieringConfiguration",{[ux]:["GET","/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration",200]},()=>hY,()=>hJ],xY=[9,dV,"GetBucketInventoryConfiguration",{[ux]:["GET","/?inventory&x-id=GetBucketInventoryConfiguration",200]},()=>h0,()=>hQ],xQ=[9,dV,"GetBucketLifecycleConfiguration",{[ux]:["GET","/?lifecycle",200]},()=>h2,()=>h1],x0=[9,dV,"GetBucketLocation",{[ux]:["GET","/?location",200]},()=>h3,()=>h5],x1=[9,dV,"GetBucketLogging",{[ux]:["GET","/?logging",200]},()=>h6,()=>h4],x2=[9,dV,"GetBucketMetadataConfiguration",{[ux]:["GET","/?metadataConfiguration",200]},()=>h8,()=>h9],x5=[9,dV,"GetBucketMetadataTableConfiguration",{[ux]:["GET","/?metadataTable",200]},()=>pt,()=>pe],x3=[9,dV,"GetBucketMetricsConfiguration",{[ux]:["GET","/?metrics&x-id=GetBucketMetricsConfiguration",200]},()=>pi,()=>pn],x4=[9,dV,"GetBucketNotificationConfiguration",{[ux]:["GET","/?notification",200]},()=>pa,()=>
2mZ],x6=[9,dV,"GetBucketOwnershipControls",{[ux]:["GET","/?ownershipControls",200]},()=>po,()=>ps],x9=[9,dV,"GetBucketPolicy",{[ux]:["GET","/?policy",200]},()=>pc,()=>pl],x8=[9,dV,"GetBucketPolicyStatus",{[ux]:["GET","/?policyStatus",200]},()=>pd,()=>pu],x7=[9,dV,"GetBucketReplication",{[ux]:["GET","/?replication",200]},()=>ph,()=>pf],be=[9,dV,"GetBucketRequestPayment",{[ux]:["GET","/?requestPayment",200]},()=>pm,()=>pp],bt=[9,dV,"GetBucketTagging",{[ux]:["GET","/?tagging",200]},()=>py,()=>pg],br=[9,dV,"GetBucketVersioning",{[ux]:["GET","/?versioning",200]},()=>pb,()=>px],bn=[9,dV,"GetBucketWebsite",{[ux]:["GET","/?website",200]},()=>pC,()=>pw],bi=[9,dV,"GetObject",{[ub]:"-",[ux]:["GET","/{Key+}?x-id=GetObject",200]},()=>pN,()=>pM],ba=[9,dV,"GetObjectAcl",{[ux]:["GET","/{Key+}?acl",200]},()=>pk,()=>pv],bs=[9,dV,"GetObjectAnnotation",{[ub]:"-",[ux]:["GET","/{Key+}?annotation&x-id=GetObjectAnnotation",200]},()=>pE,()=>pS],bo=[9,dV,"GetObjectAttributes",{[ux]:["GET","/{Key+}?attributes",200]},()=>pT,()=>pA],bl=[9,dV,"GetObjectLegalHold",{[ux]:["GET","/{Key+}?legal-hold",200]},()=>pO,()=>pj],bc=[9,dV,"GetObjectLockConfiguration",{[ux]:["GET","/?object-lock",200]},()=>pL,()=>pP],bu=[9,dV,"GetObjectRetention",{[ux]:["GET","/{Key+}?retention",200]},()=>pB,()=>pI],bd=[9,dV,"GetObjectTagging",{[ux]:["GET","/{Key+}?tagging",200]},()=>pU,()=>pD],bf=[9,dV,"GetObjectTorrent",{[ux]:["GET","/{Key+}?torrent",200]},()=>p$,()=>p_],bh=[9,dV,"GetPublicAccessBlock",{[ux]:["GET","/?publicAccessBlock",200]},()=>pq,()=>pz],bp=[9,dV,"HeadBucket",{[ux]:["HEAD","/",200]},()=>pW,()=>pK],bm=[9,dV,"HeadObject",{[ux]:["HEAD","/{Key+}",200]},()=>pZ,()=>pV],bg=[9,dV,"ListBucketAnalyticsConfigurations",{[ux]:["GET","/?analytics&x-id=ListBucketAnalyticsConfigurations",200]},()=>mf,()=>md],by=[9,dV,"ListBucketIntelligentTieringConfigurations",{[ux]:["GET","/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations",200]},()=>mp,()=>mh],bx=[9,dV,"ListBucketInventoryConfigurations",{[ux]:["GET","/?inventory&x-id=ListBucketInventoryConfigurations",200]},()=>mg,()=>mm],bb=[9,dV,"ListBucketMetricsConfigurations",{[ux]:["GET","/?metrics&x-id=ListBucketMetricsConfigurations",200]},()=>mx,()=>my],bw=[9,dV,"ListBuckets",{[ux]:["GET","/?x-id=ListBuckets",200]},()=>mw,()=>mb],bC=[9,dV,"ListDirectoryBuckets",{[ux]:["GET","/?x-id=ListDirectoryBuckets",200]},()=>mv,()=>mC],bv=[9,dV,"ListMultipartUploads",{[ux]:["GET","/?uploads",200]},()=>mS,()=>mk],bk=[9,dV,"ListObjectAnnotations",{[ux]:["GET","/{Key+}?annotation&x-id=ListObjectAnnotations",200]},()=>mA,()=>mE],bS=[9,dV,"ListObjects",{[ux]:["GET","/",200]},()=>mT,()=>mR],bE=[9,dV,"ListObjectsV2",{[ux]:["GET","/?list-type=2",200]},()=>mO,()=>mj],bA=[9,dV,"ListObjectVersions",{[ux]:["GET","/?versions",200]},()=>mL,()=>mP],bR=[9,dV,"ListParts",{[ux]:["GET","/{Key+}?x-id=ListParts",200]},()=>mN,()=>mM],bT=[9,dV,"PutBucketAbac",{[ub]:"-",[ux]:["PUT","/?abac",200]},()=>go,()=>y$],bj=[9,dV,"PutBucketAccelerateConfiguration",{[ub]:"-",[ux]:["PUT","/?accelerate",200]},()=>gl,()=>y$],bO=[9,dV,"PutBucketAcl",{[ub]:"-",[ux]:["PUT","/?acl",200]},()=>gc,()=>y$],bP=[9,dV,"PutBucketAnalyticsConfiguration",{[ux]:["PUT","/?analytics",200]},()=>gu,()=>y$],bL=[9,dV,"PutBucketCors",{[ub]:"-",[ux]:["PUT","/?cors",200]},()=>gd,()=>y$],bM=[9,dV,"PutBucketEncryption",{[ub]:"-",[ux]:["PUT","/?encryption",200]},()=>gf,()=>y$],bN=[9,dV,"PutBucketIntelligentTieringConfiguration",{[ux]:["PUT","/?intelligent-tiering",200]},()=>gh,()=>y$],bI=[9,dV,"PutBucketInventoryConfiguration",{[ux]:["PUT","/?inventory",200]},()=>gp,()=>y$],bB=[9,dV,"PutBucketLifecycleConfiguration",{[ub]:"-",[ux]:["PUT","/?lifecycle",200]},()=>gg,()=>gm],bD=[9,dV,"PutBucketLogging",{[ub]:"-",[ux]:["PUT","/?logging",200]},()=>gy,()=>y$],bU=[9,dV,"PutBucketMetricsConfiguration",{[ux]:["PUT","/?metrics",200]},()=>gx,()=>y$],b_=[9,dV,"PutBucketNotificationConfiguration",{[ux]:["PUT","/?notification",200]},()=>gb,()=>y$],b$=[9,dV,"PutBucketOwnershipControls",{[ub]:"-",[ux]:["PUT","/?ownershipControls",200]},()=>gw,()=>y$],bz=[9,dV,"PutBucketPolicy",{[ub]:"-",[ux]:["PUT","/?policy",200]},()=>gC,()=>y$],bq=[9,dV,"PutBucketReplication",{[ub]:"-",[ux]:["PUT","/?replication",200]},()=>gv,()=>y$],bH=[9,dV,"PutBucketRequestPayment",{[ub]:"-",[ux]:["PUT","/?requestPayment",200]},()=>gk,()=>y$],bG=[9,dV,"PutBucketTagging",{[ub]:"-",[ux]:["PUT","/?tagging",200]},()=>gS,()=>y$],bF=[9,dV,"PutBucketVersioning",{[ub]:"-",[ux]:["PUT","/?versioning",200]},()=>gE,()=>y$],bK=[9,dV,"PutBucketWebsite",{[ub]:"-",[ux]:["PUT","/?website",200]},()=>gA,()=>y$],bW=[9,dV,"PutObject",{[ub]:"-",[ux]:["PUT","/{Key+}?x-id=PutObject",200]},()=>gB,()=>gI],bV=[9,dV,"PutObjectAcl",{[ub]:"-",[ux]:["PUT","/{Key+}?acl",200]},()=>gT,()=>gR],bZ=[9,dV,"PutObjectAnnotation",{[ub]:"-",[ux]:["PUT","/{Key+}?annotation",200]},()=>gO,()=>gj],bX=[9,dV,"PutObjectLegalHold",{[ub]:"-",[ux]:["PUT","/{Key+}?legal-hold",200]},()=>gL,()=>gP],bJ=[9,dV,"PutObjectLockConfiguration",{[ub]:"-",[ux]:["PUT","/?object-lock",200]},()=>gN,()=>gM],bY=[9,dV,"PutObjectRetention",{[ub]:"-",[ux]:["PUT","/{Key+}?retention",200]},()=>gU,()=>gD],bQ=[9,dV,"PutObjectTagging",{[ub]:"-",[ux]:["PUT","/{Key+}?tagging",200]},()=>g$,()=>g_],b0=[9,dV,"PutPublicAccessBlock",{[ub]:"-",[ux]:["PUT","/?publicAccessBlock",200]},()=>gz,()=>y$],b1=[9,dV,"RenameObject",{[ux]:["PUT","/{Key+}?renameObject",200]},()=>
2gV,()=>gW],b2=[9,dV,"RestoreObject",{[ub]:"-",[ux]:["POST","/{Key+}?restore",200]},()=>g4,()=>g3],b5=[9,dV,"SelectObjectContent",{[ux]:["POST","/{Key+}?select&select-type=2",200]},()=>ya,()=>yi],b3=[9,dV,"UpdateBucketMetadataAnnotationTableConfiguration",{[ub]:"-",[ux]:["PUT","/?metadataAnnotationTable",200]},()=>yT,()=>y$],b4=[9,dV,"UpdateBucketMetadataInventoryTableConfiguration",{[ub]:"-",[ux]:["PUT","/?metadataInventoryTable",200]},()=>yj,()=>y$],b6=[9,dV,"UpdateBucketMetadataJournalTableConfiguration",{[ub]:"-",[ux]:["PUT","/?metadataJournalTable",200]},()=>yO,()=>y$],b9=[9,dV,"UpdateObjectEncryption",{[ub]:"-",[ux]:["PUT","/{Key+}?encryption",200]},()=>yP,()=>yL],b8=[9,dV,"UploadPart",{[ub]:"-",[ux]:["PUT","/{Key+}?x-id=UploadPart",200]},()=>yB,()=>yI],b7=[9,dV,"UploadPartCopy",{[ux]:["PUT","/{Key+}?x-id=UploadPartCopy",200]},()=>yN,()=>yM],we=[9,dV,"WriteGetObjectResponse",{endpoint:["{RequestRoute}."],[ux]:["POST","/WriteGetObjectResponse",200]},()=>y_,()=>y$];class wt extends iA(iR,iD,"AbortMultipartUpload",xy){}class wr extends iA(iR,iU,"CompleteMultipartUpload",xx){}class wn extends iA(iT,iU,"CopyObject",xb){}class wi extends iA(ij,i_,"CreateBucket",xw){}class wa extends iA(iO,i$,"CreateBucketMetadataConfiguration",xC){}class ws extends iA(iO,i$,"CreateBucketMetadataTableConfiguration",xv){}class wo extends iA(iR,iU,"CreateMultipartUpload",xk){}class wl extends iA(iP,iD,"CreateSession",xS){}class wc extends iA(iO,iz,"DeleteBucketAnalyticsConfiguration",xA){}class wu extends iA(iO,iz,"DeleteBucket",xE){}class wd extends iA(iO,iz,"DeleteBucketCors",xR){}class wf extends iA(iO,iz,"DeleteBucketEncryption",xT){}class wh extends iA(iO,iz,"DeleteBucketIntelligentTieringConfiguration",xj){}class wp extends iA(iO,iz,"DeleteBucketInventoryConfiguration",xO){}class wm extends iA(iO,iz,"DeleteBucketLifecycle",xP){}class wg extends iA(iO,iz,"DeleteBucketMetadataConfiguration",xL){}class wy extends iA(iO,iz,"DeleteBucketMetadataTableConfiguration",xM){}class wx extends iA(iO,iz,"DeleteBucketMetricsConfiguration",xN){}class wb extends iA(iO,iz,"DeleteBucketOwnershipControls",xI){}class ww extends iA(iO,iz,"DeleteBucketPolicy",xB){}class wC extends iA(iO,iz,"DeleteBucketReplication",xD){}class wv extends iA(iO,iz,"DeleteBucketTagging",xU){}class wk extends iA(iO,iz,"DeleteBucketWebsite",x_){}class wS extends iA(iL,iD,"DeleteObjectAnnotation",xz){}class wE extends iA(iR,iD,"DeleteObject",x$){}class wA extends iA(iL,iq,"DeleteObjects",xq){}class wR extends iA(iL,iD,"DeleteObjectTagging",xH){}class wT extends iA(iO,iz,"DeletePublicAccessBlock",xG){}class wj extends iA(iL,iD,"GetBucketAbac",xF){}class wO extends iA(iO,iD,"GetBucketAccelerateConfiguration",xK){}class wP extends iA(iO,iD,"GetBucketAcl",xW){}class wL extends iA(iO,iD,"GetBucketAnalyticsConfiguration",xV){}class wM extends iA(iO,iD,"GetBucketCors",xZ){}class wN extends iA(iO,iD,"GetBucketEncryption",xX){}class wI extends iA(iO,iD,"GetBucketIntelligentTieringConfiguration",xJ){}class wB extends iA(iO,iD,"GetBucketInventoryConfiguration",xY){}class wD extends iA(iO,iD,"GetBucketLifecycleConfiguration",xQ){}class wU extends iA(iO,iD,"GetBucketLocation",x0){}class w_ extends iA(iO,iD,"GetBucketLogging",x1){}class w$ extends iA(iO,iD,"GetBucketMetadataConfiguration",x2){}class wz extends iA(iO,iD,"GetBucketMetadataTableConfiguration",x5){}class wq extends iA(iO,iD,"GetBucketMetricsConfiguration",x3){}class wH extends iA(iO,iD,"GetBucketNotificationConfiguration",x4){}class wG extends iA(iO,iD,"GetBucketOwnershipControls",x6){}class wF extends iA(iO,iz,"GetBucketPolicy",x9){}class wK extends iA(iO,iD,"GetBucketPolicyStatus",x8){}class wW extends iA(iO,iD,"GetBucketReplication",x7){}class wV extends iA(iO,iD,"GetBucketRequestPayment",be){}class wZ extends iA(iO,iD,"GetBucketTagging",bt){}class wX extends iA(iO,iD,"GetBucketVersioning",br){}class wJ extends iA(iO,iD,"GetBucketWebsite",bn){}class wY extends iA(iR,iD,"GetObjectAcl",ba){}class wQ extends iA(iR,iH,"GetObjectAnnotation",bs){}class w0 extends iA(iL,iU,"GetObjectAttributes",bo){}class w1 extends iA(iR,iG,"GetObject",bi){}class w2 extends iA(iL,iD,"GetObjectLegalHold",bl){}class w5 extends iA(iL,iD,"GetObjectLockConfiguration",bc){}class w3 extends iA(iL,iD,"GetObjectRetention",bu){}class w4 extends iA(iL,iD,"GetObjectTagging",bd){}class w6 extends iA(iL,iz,"GetObjectTorrent",bf){}class w9 extends iA(iO,iD,"GetPublicAccessBlock",bh){}class w8 extends iA(iL,iD,"HeadBucket",bp){}class w7 extends iA(iR,iF,"HeadObject",bm){}class Ce extends iA(iO,iD,"ListBucketAnalyticsConfigurations",bg){}class Ct extends iA(iO,iD,"ListBucketIntelligentTieringConfigurations",by){}class Cr extends iA(iO,iD,"ListBucketInventoryConfigurations",bx){}class Cn extends iA(iO,iD,"ListBucketMetricsConfigurations",bb){}class Ci extends iA(iM,iD,"ListBuckets",bw){}class Ca extends iA(iN,iD,"ListDirectoryBuckets",bC){}class Cs extends iA(iI,iD,"ListMultipartUploads",bv){}class Co extends iA(iL,iD,"ListObjectAnnotations",bk){}class Cl extends iA(iI,iD,"ListObjects",bS){}class Cc extends iA(iI,iD,"ListObjectsV2",bE){}class Cu extends iA(iI,iD,"ListObjectVersions",bA){}class Cd extends iA(iR,iU,"ListParts",bR){}class Cf extends iA(iL,iK,"PutBucketAbac",bT){}class Ch extends iA(iO,iK,"PutBucketAccelerateConfiguration",bj){}class Cp extends iA(iO,i$,"PutBucketAcl",bO){}class Cm extends iA(iO,iz,"PutBucketAnalyticsConfiguration",bP){}class Cg extends iA(iO,i$,"PutBucketCors",bL){}class Cy extends iA(iO,i$,"PutBucketEncryption",bM){}class Cx extends iA(iO,iz,"PutBucketIntelligentTieringConfiguration",bN){}class Cb extends iA(iO,iz,"PutBucketInventoryConfiguration",bI){}class Cw extends iA(iO,iq,"PutBucketLifecycleConfiguration",bB){}class CC extends iA(iO,i$,"PutBucketLogging",bD){}class Cv extends iA(iO,iz,"PutBucketMetricsConfiguration",bU){}class Ck extends iA(iO,iz,"PutBucketNotificationConfiguration",b_){}
2class CS extends iA(iO,i$,"PutBucketOwnershipControls",b$){}class CE extends iA(iO,i$,"PutBucketPolicy",bz){}class CA extends iA(iO,i$,"PutBucketReplication",bq){}class CR extends iA(iO,i$,"PutBucketRequestPayment",bH){}class CT extends iA(iO,i$,"PutBucketTagging",bG){}class Cj extends iA(iO,i$,"PutBucketVersioning",bF){}class CO extends iA(iO,i$,"PutBucketWebsite",bK){}class CP extends iA(iR,iq,"PutObjectAcl",bV){}class CL extends iA(iR,iW,"PutObjectAnnotation",bZ){}class CM extends iA(iR,iV,"PutObject",bW){}class CN extends iA(iL,iq,"PutObjectLegalHold",bX){}class CI extends iA(iL,iq,"PutObjectLockConfiguration",bJ){}class CB extends iA(iL,iq,"PutObjectRetention",bY){}class CD extends iA(iL,iq,"PutObjectTagging",bQ){}class CU extends iA(iO,i$,"PutPublicAccessBlock",b0){}class C_ extends iA(iR,iD,"RenameObject",b1){}class C$ extends iA(iL,iW,"RestoreObject",b2){}class Cz extends iA(iL,iZ,"SelectObjectContent",b5){}class Cq extends iA(iO,i$,"UpdateBucketMetadataAnnotationTableConfiguration",b3){}class CH extends iA(iO,i$,"UpdateBucketMetadataInventoryTableConfiguration",b4){}class CG extends iA(iO,i$,"UpdateBucketMetadataJournalTableConfiguration",b6){}class CF extends iA(iL,iq,"UpdateObjectEncryption",b9){}class CK extends iA(iR,iX,"UploadPart",b8){}class CW extends iA(iP,iU,"UploadPartCopy",b7){}class CV extends iA(iB,iz,"WriteGetObjectResponse",we){}let CZ=async(e,t,r,n=e=>e,...i)=>{let a=new e(r);return a=n(a)??a,await t.send(a,...i)};function CX(e,t,r,n,i){return async function*(a,s,...o){let l,c=a.startingToken??s[r],u=!0;for(;u;){if(s[r]=c,i&&(s[i]=s[i]??a.pageSize),a.client instanceof e)l=await CZ(t,a.client,s,a.withCommand,...o);else throw Error(`Invalid client, expected instance of ${e.name}`);yield l;let d=c;u=!!((c=CJ(l,n))&&(!a.stopOnSameToken||c!==d))}}}let CJ=(e,t)=>{let r=e;for(let e of t.split(".")){if(!r||"object"!=typeof r)return;r=r[e]}return r},CY={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},CQ={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},C0={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supp
2ortsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"};(y=j||(j={})).STANDARD="standard",y.ADAPTIVE="adaptive";let C1=j.STANDARD,C2=/\d{12}\.ddb/;async function C5(e,t,r){let n=r.request;if(n?.headers?.["smithy-protocol"]==="rpc-v2-cbor"&&rU(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){let r=await t.retryStrategy();if("string"==typeof r.mode)switch(r.mode){case j.ADAPTIVE:rU(e,"RETRY_MODE_ADAPTIVE","F");break;case j.STANDARD:rU(e,"RETRY_MODE_STANDARD","E")}}if("function"==typeof t.accountIdEndpointMode){let r=e.endpointV2;switch(String(r?.url?.hostname).match(C2)&&rU(e,"ACCOUNT_ID_ENDPOINT","O"),await t.accountIdEndpointMode?.()){case"disabled":rU(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":rU(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":rU(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}let i=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source)for(let[t,r]of(i.accountId&&rU(e,"RESOLVED_ACCOUNT_ID","T"),Object.entries(i.$source??{})))rU(e,t,r)}let C3="user-agent",C4="x-amz-user-agent",C6=/[^!$%&'*+\-.^_`|~\w]/g,C9=/[^!$%&'*+\-.^_`|~\w#]/g,C8=e=>{let t=e[0].split("/").map(e=>e.replace(C6,"-")).join("/"),r=e[1]?.replace(C9,"-"),n=t.indexOf("/"),i=t.substring(0,n),a=t.substring(n+1);return"api"===i&&(a=a.toLowerCase()),[i,a,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},C7={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},ve=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},vt,vr={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},vn={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},vi={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},va={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},vs=async(e,t,r,n)=>{let i=await n.signWithCredentials(r,e,{});if(i.headers["X-Amz-Security-Token"]||i.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return i};(x=O||(O={})).ENV="env",x.CONFIG="shared config entry";let vo={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},vl={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"},vc={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0};class vu{data;
2lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+vu.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;n.expiration&&n.expiration.getTime()<e&&delete this.data[t]}}}}class vd{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class vf{createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,t=new vu){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,i=n.get(r);return i?i.identity.then(e=>(e.expiration?.getTime()??0)<Date.now()?n.set(r,new vd(this.getIdentity(r))).identity:((e.expiration?.getTime()??0)<Date.now()+vf.REFRESH_WINDOW_MS&&!i.isRefreshing&&(i.isRefreshing=!0,this.getIdentity(r).then(e=>{n.set(r,new vd(Promise.resolve(e)))})),e)):n.set(r,new vd(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}class vh{authSchemes=new Map;constructor(e){for(const t in e){if(!(0,ng.hasOwn)(e,t))continue;const r=e[t];void 0!==r&&this.authSchemes.set(t,r)}}getIdentityProvider(e){return this.authSchemes.get(e)}}let vp={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class vm{config;middlewareStack=nQ();initConfig;handlers;constructor(e){this.config=e;const{protocol:t,protocolSettings:r}=e;r&&"function"==typeof t&&(e.protocol=new t(r))}send(e,t,r){let n,i="function"!=typeof t?t:void 0,a="function"==typeof t?t:r;if(void 0===i&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);let t=this.handlers;t.has(e.constructor)?n=t.get(e.constructor):(n=e.resolveMiddleware(this.middlewareStack,this.config,i),t.set(e.constructor,n))}else delete this.handlers,n=e.resolveMiddleware(this.middlewareStack,this.config,i);if(!a)return n(e).then(e=>e.output);n(e).then(e=>a(null,e.output),e=>a(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}let vg=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),vy=(e,t=!1)=>{if(!t)return vg.test(e);for(let t of e.split("."))if(!vy(t))return!1;return!0},vx=new Set,vb=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),vw="content-length",vC={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},vv=e=>e?.body instanceof ReadableStream,vk=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,i=0;for(let n=t,a=t+3;n<=a;n++)if("="!==e[n]){if(!(e[n]in nt))throw TypeError(`Invalid character ${e[n]} in base64 string.`);r|=nt[e[n]]<<(a-n)*6,i+=6}else r>>=6;let a=t/4*3;r>>=i%8;let s=Math.floor(i/8);for(let e=0;e<s;e++){let t=(s-e-1)*8;n.setUint8(a+e,(r&255<<t)>>t)}}return new Uint8Array(r)};function vS(e,t,r,n){return class i extends Uint8Array{static fromString(e,r="utf-8"){if("string"==typeof e)return"base64"===r?i.mutate(n(e)):i.mutate(t(e));throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,i.prototype),e}transformToString(t="utf-8"){return"base64"===t?r(this):e(this)}}}var vE=r4,vA=e.i(35245);let vR=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));Symbol.for("node-only");class vT extends vS(vA.toUtf8,vE.fromUtf8,nn,vk){}let vj=(b=e=>crypto.getRandomValues(e),"u">typeof crypto&&"function"==typeof crypto.randomUUID?()=>crypto.randomUUID():()=>{let e=new Uint8Array(16);return b(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,vR[e[0]]+vR[e[1]]+vR[e[2]]+vR[e[3]]+"-"+vR[e[4]]+vR[e[5]]+"-"+vR[e[6]]+vR[e[7]]+"-"+vR[e[8]]+vR[e[9]]+"-"+vR[e[10]]+vR[e[11]]+vR[e[12]]+vR[e[13]]+vR[e[14]]+vR[e[15]]}),vO=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],vP=["TimeoutError","RequestTimeout","RequestTimeoutException"],vL=[500,502,503,504],vM=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],vN=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],vI=e=>e.$metadata?.httpStatusCode===429||vO.includes(e.name)||e.$retryable?.throttling==!0,vB=(e,t=0)=>{var r;let n;return e?.name!=="AbortError"&&(e?.$retryable!==void 0||e.$metadata?.clockSkewCorrected||"InvalidSignatureException"===e.name&&e.message?.includes("Signature expired")||vP.includes(e.name)||vM.includes(e?.code||"")||vN.includes(e?.code||"")||vL.includes(e.$metadata?.httpStatusCode||0)||(n=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]),!!(e&&e instanceof TypeError)&&n.has(e.message))||"ERR_HTTP2_STREAM_ERROR"===(r=e).code&&r.message.includes("NGHTTP2_REFUSED_STREAM")||void 0!==e.cause&&t<=10&&vB(e.cause,t+1))},vD=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):"string"==typeof e?Error(e):Error(`AWS SDK error wrapper for ${e}`);function vU(e){return t=>(r,n)=>async i=>{let a=await t.retryStrategy(),s=await t.maxAttempts();if(!v$(a))return a?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",a.mode]]),a.retry(r,i);{let o=await a.acquireInitialRetryToken((n.partition_id??"")+(n.__retryLongPoll?":longpoll":"")),l=Error(),c=0,u=0,{request:d}=i,f=rH.isInstance(d);for(f&&(d.headers["amz-sdk-invocation-id"]=vj());;)try{f&&(d.headers["amz-sdk-request"]=`attempt=${c+1}; max=${s}`);let{response:e,output:t}=await r(i);return a.recordSuccess(o),t.$metadata.attempts=c+1,t.$metadata.totalRetryDelay=u,{response:e,output:t}}catch(s){let r=vz(s,t.logger);if(l=vD(s),f&&e(d))throw(n.logger instanceof nf?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),l;try{o=await a.refreshRetryTokenForRetry(o,r)}catch(e){throw l.$metadata||(l.$metadata={}),l.$metadata.attempts=c+1,l.$metadata.totalRetryDelay=u,l}c=o.getRetryCount();let i=o.getRetryDelay();u+=(o?.$retryLog?.acquisitionDelay??0)+i,i>0&&await v_(i)}}}}let v_=e=>new Promise(t=>setTimeout(t,e)),v$=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,vz=(e,t)=>{let r={error:e,errorType:vq(e)},n=function(e,t){if(nm.isInstance(e))for(let r in e.headers){if(!(0,ng.hasOwn)(e.headers,r))continue;let n=r.toLowerCase();if("retry-after"===n){let n=e.headers[r],i=NaN;if(n.endsWith("GMT"))try{i=(nL(n).getTime()-Date.now())/1e3}catch(e){t?.trace?.("Failed to parse retry-after header"),t?.trace?.(e)}else n.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(n.match(/ GMT, ([\d.]+)$/)?.[1]):n.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(n):Date.parse(n)>=Date.now()&&(i=(Date.parse(n)-Date.now())/1e3);if(isNaN(i))return;return new Date(Date.now()+1e3*i)}if("x-amz-retry-after"===n){let n=e.headers[r],i=Number(n);if(isNaN(i))return void t?.trace?.(`Failed to parse x-amz-retry-after=${n}`);return new Date(Date.now()+i)}}}(e.$response,t);return n&&(r.retryAfterHint=n),r},vq=e=>vI(e)?"THROTTLING":vB(e)?"TRANSIENT":(e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!vB(e))return!0}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",vH={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};Symbol.for("node-only"),vU(vv);let vG=(f=vU(vv),e=>({applyToStack:t=>{t.add(f(e),vH)}}));class vF{static setTimeoutFn=(e,t)=>setTimeout(e,t);beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;
2if(this.updateMeasuredRate(),e?.errorType==="THROTTLING"||vI(e?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(e){if(this.enabled){for(this.refillTokenBucket();e>this.availableTokens;){let t=(e-this.availableTokens)/this.fillRate*1e3;await new Promise(e=>vF.setTimeoutFn(e,t)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-e}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}
2cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=Math.floor(2*this.getCurrentTimeInSeconds())/2;if(this.requestCount++,e>this.lastTxRateBucket){let t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(e){return parseFloat(e.toFixed(8))}}class vK{x=rD.delay();computeNextBackoffDelay(e){return Math.floor(Math.random()*Math.min(this.x*2**e,2e4))}setDelayBase(e){this.x=e}}class vW{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,t,r,n){this.delay=e,this.count=t,this.cost=r,this.longPoll=n}getRetryCount(){return this.count}getRetryDelay(){return Math.min(2e4,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}class vV{mode=j.STANDARD;retryBackoffStrategy;capacity=500;maxAttemptsProvider;baseDelay;constructor(e){"number"==typeof e?this.maxAttemptsProvider=async()=>e:"function"==typeof e?this.maxAttemptsProvider=e:e&&"object"==typeof e&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=rD.delay(),this.retryBackoffStrategy??=new vK}async acquireInitialRetryToken(e){return new vW(rD.delay(),0,void 0,rD.v2026&&e.includes(":longpoll"))}async refreshRetryTokenForRetry(e,t){let r=await this.getMaxAttempts(),n=this.retryCode(e,t,r),i=0===n,a=e.isLongPoll?.();if(i||a){let r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?rD.throttlingDelay():this.baseDelay);let s=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=s;if(t.retryAfterHint instanceof Date&&(o=Math.max(s,Math.min(t.retryAfterHint.getTime()-Date.now(),s+5e3))),i){let t=this.getCapacityCost(r);this.capacity-=t;let n=new vW(0,e.getRetryCount()+1,t,e.isLongPoll?.()??!1);return await new Promise(e=>setTimeout(e,o)),n.$retryLog.acquisitionDelay=o,n}{let e=rD.v2026&&3===n&&a?o:0;e>0&&await new Promise(t=>setTimeout(t,e))}}throw Error("No retry token available")}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}retryCode(e,t,r){let n=e.getRetryCount()+1,i=1*!this.isRetryableError(t.errorType),a=this.capacity>=this.getCapacityCost(t.errorType)?0:3;return i||(n<r?0:2)||a}getCapacityCost(e){return e===rD.modifiedCostType()?rD.throttlingCost():rD.cost()}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class vZ{mode=j.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){const{rateLimiter:r}=t??{};this.rateLimiter=r??new vF,this.standardRetryStrategy=new vV(t?{maxAttempts:"number"==typeof e?e:3,...t}:e)}async acquireInitialRetryToken(e){let t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);let r=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),r}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}}let vX=(e,t,r,n,i)=>({name:t,namespace:e,traits:r,input:n,output:i}),vJ=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],vY={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},vQ={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0},v0=function(e){return v1(e)&&e.expiration.getTime()-Date.now()<3e5},v1=e=>void 0!==e.expiration;var v2=e.i(55535);class v5{format(e){let t=[];for(let r in e){if(!(0,ng.hasOwn)(e,r))continue;let n=(0,r4.fromUtf8)(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>
2e+t.byteLength,0)),n=0;for(let e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case"string":let s=(0,r4.fromUtf8)(e.value),o=new DataView(new ArrayBuffer(3+s.byteLength));o.setUint8(0,7),o.setUint16(1,s.byteLength,!1);let l=new Uint8Array(o.buffer);return l.set(s,3),l;case"timestamp":let c=new Uint8Array(9);return c[0]=8,c.set(v4.fromNumber(e.value.valueOf()).bytes,1),c;case"uuid":if(!v3.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set((0,v2.fromHex)(e.value.replace(/-/g,"")),1),u}}}(w=P||(P={}))[w.boolTrue=0]="boolTrue",w[w.boolFalse=1]="boolFalse",w[w.byte=2]="byte",w[w.short=3]="short",w[w.integer=4]="integer",w[w.long=5]="long",w[w.byteArray=6]="byteArray",w[w.string=7]="string",w[w.timestamp=8]="timestamp",w[w.uuid=9]="uuid";let v3=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class v4{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&v6(t),new v4(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&v6(e),parseInt((0,v2.toHex)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function v6(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}let v9=e=>encodeURIComponent(e).replace(/[!'()*]/g,v8),v8=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,v7="X-Amz-Date",ke="X-Amz-Signature",kt="X-Amz-Security-Token",kr="authorization",kn=v7.toLowerCase(),ki=[kr,kn,"date"],ka=ke.toLowerCase(),ks="x-amz-content-sha256",ko=kt.toLowerCase(),kl={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},kc=/^proxy-/,ku=/^sec-/,kd="AWS4-HMAC-SHA256",kf="aws4_request";class kh{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:a=!0}){this.service=n,this.sha256=i,this.uriEscapePath=a,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=ik(r),this.credentialProvider=ik(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
3${this.getCanonicalPath(e)}
4${(({query:e={}})=>{let t=[],r={};for(let n in e){if(!(0,ng.hasOwn)(e,n)||n.toLowerCase()===ka)continue;let i=v9(n);t.push(i);let a=e[n];"string"==typeof a?r[i]=`${i}=${v9(a)}`:Array.isArray(a)&&(r[i]=a.slice(0).reduce((e,t)=>e.concat([`${i}=${v9(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")})(e)}
5${n.map(e=>`${e}:${t[e]}`).join("\n")}
6
7${n.join(";")}
8${r}`}async createStringToSign(e,t,r,n){let i=new this.sha256;i.update(r6(r));let a=await i.digest();return`${n}
9${e}
10${t}
11${(0,v2.toHex)(a)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let r of e.split("/"))r?.length!==0&&"."!==r&&(".."===r?t.pop():t.push(r));return v9(`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not valid")}formatDate(e){var t;let r=("number"==typeof(t=e)?new Date(1e3*t):"string"==typeof t?new Date(Number(t)?1e3*Number(t):t):t).toISOString().replace(/\.\d{3}Z$/,"Z").replace(/[-:]/g,"");return{longDate:r,shortDate:r.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}let kp={},km=[],kg=(e,t,r)=>`${e}/${t}/${r}/${kf}`,ky=async(e,t,r,n,i)=>{let a=await kx(e,t.secretAccessKey,t.accessKeyId),s=`${r}:${n}:${i}:${(0,v2.toHex)(a)}:${t.sessionToken}`;if(s in kp)return kp[s];for(km.push(s);km.length>50;)delete kp[km.shift()];let o=`AWS4${t.secretAccessKey}`;for(let t of[r,n,i,kf])o=await kx(e,o,t);return kp[s]=o},kx=(e,t,r)=>{let n=new e(t);return n.update(r6(r)),n.digest()},kb=({headers:e},t,r)=>{let n={};for(let i of Object.keys(e).sort()){if(void 0==e[i])continue;let a=i.toLowerCase();(!(a in kl||t?.has(a)||kc.test(a)||ku.test(a))||r&&(!r||r.has(a)))&&(n[a]=e[i].trim().replace(/\s+/g," "))}return n},kw=async({headers:e,body:t},r)=>{for(let t in e)if((0,ng.hasOwn)(e,t)&&t.toLowerCase()===ks)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||rX(t)){let e=new r;return e.update(r6(t)),(0,v2.toHex)(await e.digest())}return"UNSIGNED-PAYLOAD"},kC=e=>{for(let t in(e=rH.clone(e)).headers)(0,ng.hasOwn)(e.headers,t)&&ki.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e};class kv extends kh{headerFormatter=new v5;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:a=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:a})}async presign(e,t={}
11){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:s,hoistableHeaders:o,signingRegion:l,signingService:c}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);let d=l??await this.regionProvider(),{longDate:f,shortDate:h}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let p=kg(h,d,c??this.service),m=((e,t={})=>{let{headers:r,query:n={}}=rH.clone(e);for(let e in r){if(!(0,ng.hasOwn)(r,e))continue;let i=e.toLowerCase();("x-amz-"===i.slice(0,6)&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(kC(e),{unhoistableHeaders:a,hoistableHeaders:o});u.sessionToken&&(m.query[kt]=u.sessionToken),m.query["X-Amz-Algorithm"]=kd,m.query["X-Amz-Credential"]=`${u.accessKeyId}/${p}`,m.query[v7]=f,m.query["X-Amz-Expires"]=n.toString(10);let g=kb(m,i,s);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[ke]=await this.get
11Signature(f,p,this.getSigningKey(u,d,h,c),this.createCanonicalRequest(m,g,await kw(e,this.sha256))),m}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:i,signingService:a,eventStreamCredentials:s}){let o=i??await this.regionProvider(),{shortDate:l,longDate:c}=this.formatDate(r),u=kg(l,o,a??this.service),d=await kw({headers:{},body:t},this.sha256),f=new this.sha256;f.update(e);let h=["AWS4-HMAC-SHA256-PAYLOAD",c,u,n,(0,v2.toHex)(await f.digest()),d].join("\n");return this.signString(h,{signingDate:r,signingRegion:o,signingService:a,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:i}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:i}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:i}={}){let a=i??await this.credentialProvider();this.validateResolvedCredentials(a);let s=r??await this.regionProvider(),{shortDate:o}
11=this.formatDate(t),l=new this.sha256(await this.getSigningKey(a,s,o,n));return l.update(r6(e)),(0,v2.toHex)(await l.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:i,signingService:a}={}){let s=await this.credentialProvider();this.validateResolvedCredentials(s);let o=i??await this.regionProvider(),l=kC(e),{longDate:c,shortDate:u}=this.formatDate(t),d=kg(u,o,a??this.service);l.headers[kn]=c,s.sessionToken&&(l.headers[ko]=s.sessionToken);let f=await kw(l,this.sha256);!((e,t)=>{for(let r in e=e.toLowerCase(),t)if((0,ng.hasOwn)(t,r)&&e===r.toLowerCase())return!0;return!1})(ks,l.headers)&&this.applyChecksum&&(l.headers[ks]=f);let h=kb(l,n,r),p=await this.getSignature(c,d,this.getSigningKey(s,o,u,a),this.createCanonicalRequest(l,h,f));return l.headers[kr]=`${kd} Credential=${s.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${p}`,l}async getSignature(e,t,r,n){let i=await this.createStringToSign(e,t,n,kd),a=new this.sha256(await r);return a.update(r6(i)),(0,v2.toHex)(await a.digest())}getSigningKey(e,t,r,n){return ky(this.sha256,e,r,t,n||this.service)}}Symbol.for("node-only");let kk=e=>{let t,r,n=e.credentials,i=!!e.credentials;Object.defineProperty(e,"credentials",{set(r){r&&r!==n&&r!==t&&(i=!0);let a=function(e,{credentials:t,credentialDefaultProvider:r}){let n;return(n=t?t?.memoized?t:((e,t,r)=>{let n,i,a;if(void 0===e)return;let s="function"!=typeof e?async()=>Promise.resolve(e):e,o=!1,l=async e=>{i||(i=s(e));try{n=await i,a=!0,o=!1}finally{i=void 0}return n};return void 0===t?async e=>((!a||e?.forceRefresh)&&(n=await l(e)),n):async e=>((!a||e?.forceRefresh)&&(n=await l(e)),o||(r(n)?t(n)&&await l(e):o=!0),n)})(t,v0,v1):r?ve(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}).memoized=!0,n}(e,{credentials:n=r,credentialDefaultProvider:e.credentialDefaultProvider}),s=function(e,t){if(t.configBound)return t;let r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,a);if(i&&!s.attributed){let e="object"==typeof n&&null!==n;(t=async t=>{let r=await s(t);if(e&&(!r.$source||0===Object.keys(r.$source).length))return r.$source||(r.$source={}),r.$source.CREDENTIALS_CODE="e",r;return r}).memoized=s.memoized,t.configBound=s.configBound,t.attributed=!0}else t=s},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=n;let{signingEscapePath:a=!0,systemClockOffset:s=e.systemClockOffset||0,sha256:o}=e;return r=e.signer?ve(e.signer):e.regionInfoProvider?()=>ve(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{let{signingRegion:n,signingService:i}=t;e.signingRegion=e.signingRegion||n||r,e.signingName=e.signingName||i||e.serviceId;let s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:a};return new(e.signerConstructor||kv)(s)}):async t=>{let r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await ve(e.region)(),properties:{}},t)).signingRegion,n=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||n||e.serviceId;let i={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:a};return new(e.signerConstructor||kv)(i)},Object.assign(e,{systemClockOffset:s,signingEscapePath:a,signer:r,disableClockSkewCorrection:ve(e.disableClockSkewCorrection??!1)})},kS="X-Amz-S3session-Token",kE=kS.toLowerCase();class kA extends kv{async signWithCredentials(e,t,r){let n=kR(t);return e.headers[kE]=t.sessionToken,kT(this,n),this.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=kR(t);return delete e.headers[kE],e.headers[kS]=t.sessionToken,e.query=e.query??{},e.query[kS]=t.sessionToken,kT(this,n),this.presign(e,r)}}function kR(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function kT(e,t){let r=e.credentialProvider;e.credentialProvider=()=>(e.credentialProvider=r,Promise.resolve(t))}class kj{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return"none"}constructor(e){this.sigv4Signer=new kA(e),this.signerOptions=e}async sign(e,t={}
11){return"*"===t.signingRegion?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if("*"===r.signingRegion){let e=this.getSigv4aSigner();!1;throw Error('signWithCredentials with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if("*"===t.signingRegion){let e=this.getSigv4aSigner();!1;throw Error('presign with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if("*"===r.signingRegion)throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner)if("node"===this.signerOptions.runtime){!0;throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{!0;throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a")}return this.sigv4aSigner}}let kO={},kP=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),kL=e=>kP.test(e)||e.startsWith("[")&&e.endsWith("]"),kM=(e,t=!1)=>{if(t){for(let t of e.split("."))if(!kM(t))return!1;return!0}return!(!vy(e)||e.length<3||e.length>63||e!==e.toLowerCase()||kL(e))},kN={isVirtualHostableS3Bucket:kM,parseArn:e=>{let t=e.split(":");if(t.length<6)return null;let[r,n,i,a,s,...o]=t;return"arn"!==r||""===n||""===i||""===o.join(":")?null:{partition:n,service:i,region:a,accountId:s,resourceId:o.map(e=>e.split("/")).flat()}},partition:e=>{let{partitions:t}=C0;for(let r of t){let{regions:t,outputs:n}=r;for(let[r,i]of Object.entries(t))if(r===e)return{...n,...i}}for(let r of t){let{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}let r=t.find(e=>"aws"===e.id);if(!r)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};kO.aws=kN;class kI extends Error{constructor(e){super(e),this.name="EndpointError"}}function kB(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${kB(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(kB).join(", ")})`:JSON.stringify(e,null,2)}let kD=(e,t)=>(e=>{let t=e.split("."),r=[];for(let n of t){let t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new kI(`Path: '${e}' does not end with ']'`);let i=n.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new kI(`Invalid array index: '${i}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(i)}else r.push(n)}return r})(t).reduce((r,n)=>{if("object"!=typeof r)throw new kI(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(r)){let e=parseInt(n);return r[e<0?r.length+e:e]}return r[n]},e);(C=L||(L={})).HTTP="http",C.HTTPS="https";let kU={[L.HTTP]:80,[L.HTTPS]:443},k_={booleanEquals:(e,t)=>e===t,coalesce:function(...e){for(let t of e)if(null!=t)return t},getAttr:kD,isSet:e=>null!=e,isValidHostLabel:vy,ite:function(e,t,r){return e?t:r},not:e=>!e,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){let{hostname:t,port:r,protocol:n="",path:i="",query:a={}}=e,s=new URL(`${n}//${t}${r?`:${r}`:""}${i}`);return s.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join("&"),s}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let r=t.href,{host:n,hostname:i,pathname:a,protocol:s,search:o}=t;if(o)return null;let l=s.slice(0,-1);if(!Object.values(L).includes(l))return null;
11let c=kL(i),u=r.includes(`${n}:${kU[l]}`)||"string"==typeof e&&e.includes(`${n}:${kU[l]}`),d=`${n}${u?`:${kU[l]}`:""}`;return{scheme:l,authority:d,path:a,normalizedPath:a.endsWith("/")?a:`${a}/`,isIp:c}},split:function(e,t,r){if(1===r)return[e];if(""===e)return[""];let n=e.split(t);return 0===r?n:n.slice(0,r-1).concat(n.slice(1).join(t))},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>null==e||t>=r||e.length<r||/[^\u0000-\u007f]/.test(e)?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},k$=(e,t)=>{let r=[],{referenceRecord:n,endpointParams:i}=t,a=0;for(;a<e.length;){let t=e.indexOf("{",a);if(-1===t){r.push(e.slice(a));break}r.push(e.slice(a,t));let s=e.indexOf("}",t);if(-1===s){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[s+1]&&(r.push(e.slice(t+1,s)),a=s+2);let o=e.substring(t+1,s);if(o.includes("#")){let[e,t]=o.split("#");r.push(kD(n[e]??i[e],t))}else r.push(n[o]??i[o]);a=s+1}return r.join("")},kz=(e,t,r)=>{if("string"==typeof e)return k$(e,r);if(e.fn)return kH.callFunction(e,r);if(e.ref)return(({ref:e},t)=>t.referenceRecord[e]??t.endpointParams[e])(e,r);throw new kI(`'${t}': ${String(e)} is not a string, function or reference.`)},kq=({fn:e,argv:t},r)=>{let n=Array(t.length);for(let e=0;e<n.length;++e){let i=t[e];"boolean"==typeof i||"number"==typeof i?n[e]=i:n[e]=kH.evaluateExpression(i,"arg",r)}let i=e.indexOf(".");if(-1!==i){let t=kO[e.slice(0,i)],r=t?.[e.slice(i+1)];if("function"==typeof r)return r(...n)}let a=k_[e];
11if("function"==typeof a)return a(...n);throw Error(`function ${e} not loaded in endpointFunctions.`)},kH={evaluateExpression:kz,callFunction:kq},kG=(e,t)=>{let{assign:r}=e;if(r&&r in t.referenceRecord)throw new kI(`'${r}' is already defined in Reference Record.`);let n=kq(e,t);t.logger?.debug?.(`endpoints evaluateCondition: ${kB(e)} = ${kB(n)}`);let i=""===n||!!n;return null!=r?{result:i,toAssign:{name:r,value:n}}:{result:i}},kF=(e,t)=>Object.entries(e).reduce((e,[r,n])=>(e[r]=kW.getEndpointProperty(n,t),e),{}),kK=(e,t)=>{if(Array.isArray(e))return e.map(e=>kK(e,t));switch(typeof e){case"string":return k$(e,t);case"object":if(null===e)throw new kI(`Unexpected endpoint property: ${e}`);return kW.getEndpointProperties(e,t);case"boolean":return e;default:throw new kI(`Unexpected endpoint property type: ${typeof e}`)}},kW={getEndpointProperty:kK,getEndpointProperties:kF};class kV{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:r,done:n}=e.next();if(this.data.delete(r),n||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="",{parameters:r}=this;if(0===r.length)return!1;for(let n of r){let r=String(e[n]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}let kZ="argv",kX="backend",kJ="authSchemes",kY="disableDoubleEncoding",kQ="signingName",k0="signingRegion",k1="signingRegionSet",k2="isSet",k5="booleanEquals",k3="stringEquals",k4="coalesce",k6="substring",k9="aws.partition",k8="partitionResult",k7="accessPointSuffix",Se="regionPrefix",St="hardwareType",Sr="isValidHostLabel",Sn="sigv4",Si="aws.isVirtualHostableS3Bucket",Sa="getAttr",Ss="bucketArn",So="arnType",Sl="accesspoint",Sc="s3-object-lambda",Su="s3-outposts",Sd="bucketPartition",Sf="us-east-1",Sh="outpostType",Sp="name",Sm="{url#scheme}://{Bucket}.{url#authority}{url#path}",Sg="{url#scheme}://{url#authority}{url#path}",Sy="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",Sx="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",Sb="https://{Bucket}.s3.{partitionResult#dnsSuffix}",Sw="sigv4a",SC="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",Sv="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Sk="https://s3.{partitionResult#dnsSuffix}",SS={ref:"UseFIPS"},SE={ref:"UseDualStack"},SA={ref:"Bucket"},SR={fn:Sa,[kZ]:[{ref:k8},Sp]},ST={ref:"url"},Sj={ref:"Region"},SO={ref:Ss},SP={ref:So},SL={ref:"accessPointName_ssa_1"},SM={fn:Sa,[kZ]:[SO,"region"]},SN={ref:St},SI={fn:Sa,[kZ]:[SO,"service"]},SB={fn:Sa,[kZ]:[SO,"accountId"]},SD={[kX]:"S3Express",[kJ]:[{[kY]:!0,[Sp]:"{_s3e_auth}",[kQ]:"s3express",[k0]:"{Region}"}]},SU={[kX]:"S3Express",[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:"s3express",[k0]:"{Region}"}]},S_={[kJ]:[{[kY]:!0,[Sp]:Sw,[kQ]:Su,[k1]:["*"]},{[kY]:!0,[Sp]:Sn,[kQ]:Su,[k0]:"{Region}"}]},S$={[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:"s3",[k0]:Sf}]},Sz={[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:"s3",[k0]:"{Region}"}]},Sq={[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:Sc,[k0]:"{bucketArn#region}"}]},SH={[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:"s3",[k0]:"{bucketArn#region}"}]},SG={[kJ]:[{[kY]:!0,[Sp]:Sw,[kQ]:Su,[k1]:["*"]},{[kY]:!0,[Sp]:Sn,[kQ]:Su,[k0]:"{bucketArn#region}"}]},SF={[kJ]:[{[kY]:!0,[Sp]:Sn,[kQ]:Sc,[k0]:"{Region}"}]},SK=[Sj],SW=[{ref:"Endpoint"}],SV=[SA],SZ=[SA,0,7,!0],SX=[SO,"resourceId[1]"],SJ=[[k2,SK],[k5,[{ref:"Accelerate"},!0]],[k5,[SS,!0]],[k5,[SE,!0]],[k2,SW],[k2,SV],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,0,6,!0]},""]},"--x-s3"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:SZ},""]},"--xa-s3"]],[k9,SK,k8],[k6,SZ,k7],[k3,[{ref:k7},"--op-s3"]],[k6,[SA,8,12,!0],Se],[k6,[SA,32,49,!0],"outpostId_ssa_2"],[k6,[SA,49,50,!0],St],[k5,[{ref:"ForcePathStyle"},!0]],[k3,[SR,"aws-cn"]],["ite",[SE,".dualstack",""],"_s3e_ds"],[Sr,[{ref:"outpostId_ssa_2"},!1]],["ite",[SS,"-fips",""],"_s3e_fips"],["ite",[{fn:k4,[kZ]:[{ref:"DisableS3ExpressSessionAuth"},!1]},Sn,"sigv4-s3express"],"_s3e_auth"],[Si,[SA,!1]],["parseURL",SW,"url"],[k5,[{fn:k4,[kZ]:[{ref:"UseS3ExpressControlEndpoint"},!1]},!0]],[Si,[SA,!0]],[k3,[{fn:Sa,[kZ]:[ST,"scheme"]},"http"]],[Sr,[Sj,!1]],["aws.parseArn",SV,Ss],[Sa,[{fn:"split",[kZ]:[SA,"--",0]},"[-2]"],"s3expressAvailabilityZoneId"],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,0,4,!1]},""]}
11,"arn:"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,16,18,!0]},""]},"--"]],[k5,[{fn:Sa,[kZ]:[ST,"isIp"]},!0]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,21,23,!0]},""]},"--"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,27,29,!0]},""]},"--"]],[k3,[{ref:Se},"beta"]],["uriEncode",SV,"uri_encoded_bucket"],[Sr,[Sj,!0]],[k5,[{fn:k4,[kZ]:[{ref:"UseObjectLambdaEndpoint"},!1]},!0]],[Sa,[SO,"resourceId[0]"],So],[k3,[SP,""]],[k3,[SP,Sl]],[Sa,SX,"accessPointName_ssa_1"],[k3,[SL,""]],[k3,[SM,""]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,14,16,!0]},""]},"--"]],[k3,[SN,"e"]],[k3,[SN,"o"]],[k3,[Sj,"aws-global"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,19,21,!0]},""]},"--"]],[k3,[SI,Sc]],[k5,[{fn:k4,[kZ]:[{ref:"DisableAccessPoints"},!1]},!0]],[k3,[SI,Su]],[k9,[SM],Sd],[Sr,[SL,!0]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,26,28,!0]},""]},"--"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,15,17,!0]},""]},"--"]],[Sa,[SO,"resourceId[4]"]],[k3,[{fn:k4,[kZ]:[{fn:k6,[kZ]:[SA,20,22,!0]},""]},"--"]],[k5,[{ref:"UseGlobalEndpoint"},!0]],[k3,[Sj,Sf]],[Sa,SX,"outpostId_ssa_1"],[k5,[{fn:k4,[kZ]:[{ref:"UseArnRegion"},!0]},!0]],[Sr,[{ref:"outpostId_ssa_1"},!1]],[Sa,[SO,"resourceId[2]"],Sh],[k3,[Sj,SM]],[k3,[{fn:Sa,[kZ]:[{ref:Sd},Sp]},SR]],[k5,[{ref:"DisableMultiRegionAccessPoints"},!0]],[Sr,[SM,!0]],[k3,[{fn:Sa,[kZ]:[SO,"partition"]},SR]],[k3,[SB,""]],[k3,[SI,"s3"]],[Sr,[SB,!1]],[Sa,[SO,"resourceId[3]"],"accessPointName_ssa_2"],[Sr,[SL,!1]],[k3,[{ref:Sh},Sl]],[Sr,[{ref:"accessPointName_ssa_2"},!1]]],SY=[[-1],[-1,"Accelerate cannot be used with FIPS"],[-1,"Cannot set dual-stack in combination with a custom endpoint."],[-1,"A custom endpoint cannot be combined with FIPS"],[-1,"A custom endpoint cannot be combined with S3 Accelerate"],[-1,"Partition does not support FIPS"],[-1,"S3Express does not support S3 Accelerate."],["{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",SD],[Sm,SD],[-1,"S3Express bucket name is not a valid virtual hostable name."],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",SU],["https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",SD],[-1,"Unrecognized S3Express bucket name format."],[Sg,SD],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",SU],[-1,"Expected a endpoint to be specified but no endpoint was found"],["https://{Bucket}.ec2.{url#authority}",S_],["https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}",S_],["https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}",S_],["https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}",S_],[-1,'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'],[-1,"Invalid Outposts Bucket alias - it must be a valid bucket name."],[-1,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[-1,"Custom endpoint `{Endpoint}` was not a valid URI"],[-1,"S3 Accelerate cannot be used in this region"],["https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",S$],["https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Sz],["https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",S$],["https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",Sz],["https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",S$],["https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",Sz],["https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",S$],["https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Sz],[Sy,S$],[Sm,S$],[Sy,Sz],[Sm,Sz],[Sx,S$],[Sx,Sz],[Sb,S$],[Sb,Sz],["https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",Sz],[-1,"Invalid region: region was not a valid DNS name."],[-1,"S3 Object Lambda does not support Dual-stack"],[-1,"S3 Object Lambda does not support S3 Accelerate"],[-1,"Access points are not supported for this operation"],[-1,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[-1,"Invalid ARN: Missing account id"],["{url#scheme}://{accessPointName_ssa_1}-{bucketArn#accountId}.{url#authority}{url#path}",Sq],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",Sq],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",Sq],[-1,"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_1}`"],[-1,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[-1,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[-1,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[-1,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[-1,"Invalid ARN: bucket ARN is missing a regi
11on"],[-1,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[-1,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[-1,"Access Points do not support S3 Accelerate"],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",SH],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",SH],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",SH],["{url#scheme}://{accessPointName_ssa_1}-{bucketArn#accountId}.{url#authority}{url#path}",SH],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",SH],[-1,"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"],[-1,"S3 MRAP does not support dual-stack"],[-1,"S3 MRAP does not support FIPS"],[-1,"S3 MRAP does not support S3 Accelerate"],[-1,"Invalid configuration: Multi-Region Access Point ARNs are disabled."],["https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}",{[kJ]:[{[kY]:!0,name:Sw,[kQ]:"s3",[k1]:["*"]}]}],[-1,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[-1,"Invalid Access Point Name"],[-1,"S3 Outposts does not support Dual-stack"],[-1,"S3 Outposts does not support FIPS"],[-1,"S3 Outposts does not support S3 Accelerate"],[-1,"Invalid Arn: Outpost Access Point ARN contains sub resources"],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}",SG],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",SG],[-1,"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_2}`"],[-1,"Expected an outpost type `accesspoint`, found {outpostType}"],[-1,"Invalid ARN: expected an access point name"],[-1,"Invalid ARN: Expected a 4-component resource"],[-1,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[-1,"Invalid ARN: The Outpost Id was not set"],[-1,"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"],[-1,"Invalid ARN: No ARN type specified"],[-1,"Invalid ARN: `{Bucket}` was not a valid ARN"],[-1,"Path-style addressing cannot be used with ARN buckets"],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",S$],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Sz],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",S$],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Sz],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",S$],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Sz],[SC,S$],[SC,Sz],[Sv,S$],[Sv,Sz],["https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Sz],[-1,"Path-style addressing cannot be used with S3 Accelerate"],[Sg,SF],["https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",SF],["https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",SF],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",S$],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Sz],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",S$],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}",Sz],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",S$],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Sz],[Sg,S$],[Sg,Sz],[Sk,S$],[Sk,Sz],["https://s3.{Region}.{partitionResult#dnsSuffix}",Sz],[-1,"A region must be set when sending requests to S3."]],SQ=new Int32Array([-1,1,-1,0,3,0x5f5e173,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,0x5f5e173,16,10,13,18,11,13,19,12,13,22,0x5f5e10e,13,35,14,0x5f5e12a,36,0x5f5e167,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,0x5f5e156,38,0x5f5e156,29,39,47,30,48,0x5f5e13a,31,50,32,0x5f5e155,51,33,136,55,0x5f5e14c,34,59,35,0x5f5e154,60,39,36,61,37,0x5f5e153,62,38,146,63,41,0x5f5e12e,61,40,0x5f5e153,62,41,150,64,42,0x5f5e136,66,43,0x5f5e135,70,44,0x5f5e134,71,45,0x5f5e151,73,46,0x5f5e150,74,0x5f5e14e,0x5f5e14f,40,48,0x5f5e139,41,0x5f5e139,49,42,185,50,48,62,51,49,0x5f5e12d,52,51,53,526,60,56,54,62,0x5f5e137,55,63,57,0x5f5e12e,62,0x5f5e137,57,64,58,0x5f5e136,66,59,0x5f5e135,69,60,0x5f5e141,70,61,0x5f5e134,72,0x5f5e140,0x5f5e133,49,0x5f5e12d,63,51,64,526,60,67,65,62,0x5f5e137,66,63,68,0x5f5e12e,62,0x5f5e137,68,64,69,0x5f5e136,66,70,0x5f5e135,68,0x5f5e12f,71,70,72,0x5f5e134,72,0x5f5e132,0x5f5e133,25,74,0x5f5e12a,46,0x5f5e127,75,57,76,0x5f5e129,58,0x5f5e128,0x5f5e129,26,0x5f5e158,78,28,0x5f5e157,79,34,82,80,35,81,545,36,0x5f5e167,0x5f5e173,46,0x5f5e161,83,57,84,0x5f5e163,58,0x5f5e162,0x5f5e163,5,101,86,8,87,0x5f5e173,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,0x5f5e10e,95,35,96,0x5f5e12a,36,0x5f5e167,0x5f5e12a,22,0x5f5e10d,98,35,99,0x5f5e12a,36,0x5f5e165,100,46,0x5f5e16e,0x5f5e16f,6,214,102,7,208,103,8,119,104,14,118,105,21,106,0x5f5e117,26,107,502,37,108,0x5f5e156,38,0x5f5e156,109,39,112,110,48,0x5f5e13a,111,50,136,0x5f5e155,40,113,0x5f5e139,41,0x5f5e139,114,42,115,500,48,0x5f5e138,116,52,117,0x5f5e148,65,0x5f5e145,0x5f5e148,21,501,0x5f5e117,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,0x5f5e117,23,128,129,24,189,129,26,130,197,37,131,0x5f5e156,38,0x5f5e156,132,39,159,133,48,0x5f5e13a,134,50,135,0x5f5e155,51,141,136,55,0x5f5e14c,137,59,138,0x5f5e154,60,0x5f5e153,139,61,140,0x5f5e153,63,0x5f5e153,0x5f5e12e,55,0x5f5e14c,142,59,143,0x5f5e154,60,148,144,61,145,0x5f5e153,62,147,146,63,150,0x5f5e12e,63,153,0x5f5e12e,61,149,0x5f5e153,62,153,150,64,151,0x5f5e136,66,152,0x5f5e135,70,0x5f5e152,0x5f5e134,64,154,0x5f5e136,66,155,0x5f5e135,70,156,0x5f5e134,71,157,0x5f5e151,73,158,0x5f5e150,74,0x5f5e14d,0x5f5e14f,40,160,0x5f5e139,41,0x5f5e139,161,42,185,162,48,174,163,49,0x5f5e12d,164,51,165,526,60,168,166,62,0x5f5e137,167,63,169,0x5f5e12e,62,0x5f5e137,169,64,170,0x5f5e136,66,171,0x5f5e135,69,172,0x5f5e141,70,173,0x5f5e134,72,0x5f5e13f,0x5f5e133,49,0x5f5e12d,175,51,176,526,60,179,177,62,0x5f5e137,178,63,180,0x5f5e12e,62,0x5f5e137,180,64,181,0x5f5e136,66,182,0x5f5e135,68,0x5f5e12f,183,70,184,0x5f5e134,72,0x5f5e130,0x5f5e133,48,0x5f5e138,186,52,187,0x5f5e148,65,0x5f5e145,188,67,0x5f5e146,0x5f5e147,25,0x5f5e124,0x5f5e12a,21,191,0x5f5e117,25,192,0x5f5e12a,30,194,193,46,0x5f5e122,0x5f5e124,46,0x5f5e121,0x5f5e123,21,196,0x5f5e117,26,0x5f5e158,197,28,0x5f5e157,198,34,201,199,35,200,545,36,0x5f5e165,0x5f5e173,46,0x5f5e15f,0x5f5e160,17,203,0x5f5e116,20,204,0x5f5e115,21,205,550,33,206,550,44,0x5f5e110,207,45,0x5f5e112,0x5f5e114,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,0x5f5e109,20,217,227,21,231,0x5f5e109,16,219,220,18,223,220,19,221,224,20,222,227,21,231,0x5f5e10c,19,226,224,20,225,0x5f5e109,21,0x5f5e109,0x5f5e10c,20,230,227,21,228,0x5f5e109,30,229,0x5f5e109,34,0x5f5e107,0x5f5e109,21,231,415,30,232,0x5f5e108,34,0x5f5e107,0x5f5e108,4,0x5f5e102,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,0x5f5e156,38,0x5f5e156,248,39,249,518,40,250,
110x5f5e139,41,0x5f5e139,251,42,538,252,48,0x5f5e12b,253,49,0x5f5e12d,254,51,255,526,60,258,256,62,0x5f5e137,257,63,259,0x5f5e12e,62,0x5f5e137,259,64,260,0x5f5e136,66,261,0x5f5e135,69,262,0x5f5e141,70,263,0x5f5e134,72,0x5f5e13e,0x5f5e133,25,265,0x5f5e12a,46,0x5f5e11f,0x5f5e120,26,0x5f5e158,267,28,0x5f5e157,268,34,269,544,46,0x5f5e15d,0x5f5e15e,8,397,0x5f5e109,8,407,0x5f5e109,3,346,273,4,0x5f5e103,274,5,284,275,8,276,0x5f5e173,15,0x5f5e105,277,16,278,281,18,279,281,19,280,281,22,0x5f5e10e,281,35,282,0x5f5e12a,36,0x5f5e166,283,46,0x5f5e16a,0x5f5e16b,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,0x5f5e156,38,0x5f5e156,291,39,292,307,40,293,0x5f5e139,41,0x5f5e139,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,0x5f5e105,302,20,337,303,26,304,341,37,305,0x5f5e156,38,0x5f5e156,306,39,309,307,48,0x5f5e13a,308,50,0x5f5e14a,0x5f5e155,40,310,0x5f5e139,41,0x5f5e139,311,42,335,312,48,324,313,49,0x5f5e12d,314,51,315,526,60,318,316,62,0x5f5e137,317,63,319,0x5f5e12e,62,0x5f5e137,319,64,320,0x5f5e136,66,321,0x5f5e135,69,322,0x5f5e141,70,323,0x5f5e134,72,0x5f5e13d,0x5f5e133,49,0x5f5e12d,325,51,326,526,60,329,327,62,0x5f5e137,328,63,330,0x5f5e12e,62,0x5f5e137,330,64,331,0x5f5e136,66,332,0x5f5e135,68,0x5f5e12f,333,70,334,0x5f5e134,72,0x5f5e131,0x5f5e133,48,0x5f5e138,336,52,0x5f5e143,0x5f5e148,25,338,0x5f5e12a,46,0x5f5e11b,0x5f5e11c,15,0x5f5e105,340,26,0x5f5e158,341,28,0x5f5e157,342,34,345,343,35,344,545,36,0x5f5e166,0x5f5e173,46,0x5f5e15b,0x5f5e15c,4,0x5f5e102,347,5,357,348,8,349,0x5f5e173,15,0x5f5e105,350,16,351,354,18,352,354,19,353,354,22,0x5f5e10e,354,35,355,0x5f5e12a,36,0x5f5e12b,356,46,0x5f5e168,0x5f5e169,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,0x5f5e105,367,20,387,368,26,369,391,37,370,0x5f5e156,38,0x5f5e156,371,39,372,518,40,373,0x5f5e139,41,0x5f5e139,374,42,538,375,48,0x5f5e12b,376,49,0x5f5e12d,377,51,378,526,60,381,379,62,0x5f5e137,380,63,382,0x5f5e12e,62,0x5f5e137,382,64,383,0x5f5e136,66,384,0x5f5e135,69,385,0x5f5e141,70,386,0x5f5e134,72,0x5f5e13c,0x5f5e133,25,388,0x5f5e12a,46,0x5f5e119,0x5f5e11a,15,0x5f5e105,390,26,0x5f5e158,391,28,0x5f5e157,392,34,393,544,46,0x5f5e159,0x5f5e15a,15,0x5f5e105,547,8,396,0x5f5e109,15,0x5f5e105,397,16,398,410,18,399,410,19,400,410,20,401,0x5f5e109,27,402,0x5f5e10c,29,0x5f5e10b,403,31,0x5f5e10b,404,32,0x5f5e10b,422,8,406,0x5f5e109,15,0x5f5e105,407,16,408,410,18,409,410,19,411,410,20,0x5f5e10c,0x5f5e109,20,414,412,22,413,0x5f5e109,34,0x5f5e10a,0x5f5e109,22,416,415,27,419,0x5f5e10c,27,418,417,34,0x5f5e10a,0x5f5e10c,34,0x5f5e10a,419,43,0x5f5e10b,420,47,0x5f5e10b,421,53,0x5f5e10b,422,54,0x5f5e10b,423,56,0x5f5e10b,0x5f5e10c,2,0x5f5e101,425,3,478,426,4,0x5f5e104,427,5,438,428,8,429,0x5f5e173,16,430,433,18,431,433,19,432,433,22,0x5f5e10e,433,35,434,0x5f5e12a,36,0x5f5e12c,435,46,0x5f5e170,436,57,437,0x5f5e172,58,0x5f5e171,0x5f5e172,6,0x5f5e106,439,7,0x5f5e106,440,8,450,441,14,501,442,26,443,502,37,444,0x5f5e156,38,0x5f5e156,445,39,446,465,40,447,0x5f5e139,41,0x5f5e139,448,42,471,449,48,0x5f5e12c,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,0x5f5e12a,46,0x5f5e125,0x5f5e126,20,540,461,26,462,474,37,463,0x5f5e156,38,0x5f5e156,464,39,467,465,48,0x5f5e13a,466,50,0x5f5e14b,0x5f5e155,40,468,0x5f5e139,41,0x5f5e139,469,42,471,470,48,0x5f5e12c,524,48,0x5f5e12c,472,52,0x5f5e144,0x5f5e148,26,0x5f5e158,474,28,0x5f5e157,475,34,0x5f5e164,476,35,477,545,36,0x5f5e12c,0x5f5e173,4,0x5f5e102,479,5,488,480,8,481,0x5f5e173,16,482,485,18,483,485,19,484,485,22,0x5f5e10e,485,35,486,0x5f5e12a,36,0x5f5e12b,487,46,0x5f5e16c,0x5f5e16d,6,0x5f5e106,489,7,0x5f5e106,490,8,503,491,14,501,492,26,493,502,37,494,0x5f5e156,38,0x5f5e156,495,39,496,518,40,497,0x5f5e139,41,0x5f5e139,498,42,538,499,48,0x5f5e12b,500,49,0x5f5e12d,526,26,0x5f5e158,502,28,0x5f5e157,0x5f5e173,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,0x5f5e12a,46,0x5f5e11d,0x5f5e11e,20,540,514,26,515,542,37,516,0x5f5e156,38,0x5f5e156,517,39,520,518,48,0x5f5e13a,519,50,0x5f5e149,0x5f5e155,40,521,0x5f5e139,41,0x5f5e139,522,42,538,523,48,0x5f5e12b,524,49,0x5f5e12d,525,51,529,526,60,0x5f5e137,527,
1162,0x5f5e137,528,63,0x5f5e137,0x5f5e12e,60,532,530,62,0x5f5e137,531,63,533,0x5f5e12e,62,0x5f5e137,533,64,534,0x5f5e136,66,535,0x5f5e135,69,536,0x5f5e141,70,537,0x5f5e134,72,0x5f5e13b,0x5f5e133,48,0x5f5e12b,539,52,0x5f5e142,0x5f5e148,25,0x5f5e118,0x5f5e12a,26,0x5f5e158,542,28,0x5f5e157,543,34,0x5f5e164,544,35,546,545,36,0x5f5e12a,0x5f5e173,36,0x5f5e12b,0x5f5e173,17,548,0x5f5e116,20,549,0x5f5e115,33,552,550,44,0x5f5e111,551,45,0x5f5e113,0x5f5e114,44,0x5f5e10f,553,45,0x5f5e10f,0x5f5e114]),S0=(class e{nodes;root;conditions;results;constructor(e,t,r,n){this.nodes=e,this.root=t,this.conditions=r,this.results=n}static from(t,r,n,i){return new e(t,r,n,i)}}).from(SQ,2,SJ,SY),S1=new kV({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),S2=(e,t={})=>S1.get(e,()=>((e,t)=>{let{nodes:r,root:n,results:i,conditions:a}=e,s=n,o={},l={referenceRecord:o,endpointParams:t.endpointParams,logger:t.logger};for(;1!==s&&-1!==s&&s<1e8;){let e=3*(Math.abs(s)-1),[t,n,i]=[r[e],r[e+1],r[e+2]],[c,u,d]=a[t],f=kG({fn:c,assign:d,argv:u},l);if(f.toAssign){let{name:e,value:t}=f.toAssign;o[e]=t}s=s>=0===f.result?n:i}if(s>=1e8){let e=i[s-1e8];if(-1===e[0]){let[,t]=e;throw new kI(kz(t,"Error",l))}let[t,r,n]=e;return{url:((e,t)=>{let r=kz(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new kI(`Endpoint URL must be a string, got ${typeof r}`)})(t,l),properties:kF(r,l),headers:Object.entries(n??{}??{}).reduce((e,[t,r])=>(e[t]=r.map(e=>{let r=kz(e,"Header value entry",l);if("string"!=typeof r)throw new kI(`Header '${t}' value '${r}' is not a string`);return r}),e),{})}}throw new kI("No matching endpoint.")})(S0,{endpointParams:e,logger:t.logger}));kO.aws=kN;let S5=(h=async(e,t,r)=>({operation:iw(t).operation,region:await ik(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),async(e,t,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let n=await h(e,t,r),i=iw(t)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!i)throw Error(`getEndpointParameterInstructions() is not defined on '${t.commandName}'`);return Object.assign(n,await ib(r,{getEndpointParameterInstructions:i},e))});function S3(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function S4(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}let S6=(v=e=>{let t=[];return e.operation,t.push(S3(e)),t.push(S4(e)),t},k={"aws.auth#sigv4":S3,"aws.auth#sigv4a":S4},e=>{let t=S2(e),r=t.properties?.authSchemes;if(!r)return v(e);let n=[];for(let t of r){let i,{name:a,properties:s={},...o}=t,l=a.toLowerCase();if(a!==l&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${a}' to '${l}'`),"sigv4a"===l){i="aws.auth#sigv4a";let e=r.find(e=>{let t=e.name.toLowerCase();return"sigv4a"!==t&&t.startsWith("sigv4")});if("none"===kj.sigv4aDependency()&&e)continue}else if(l.startsWith("sigv4"))i="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${l}'`);let c=k[i];if(!c)throw Error(`Could not find HttpAuthOption create function for '${i}'`);let u=c(e);u.schemeId=i,u.signingProperties={...u.signingProperties||{},...o,...s},n.push(u)}return n});var S9=e.i(20301);let S8=e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,S7=e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0;async function Ee(e,t,r=1048576){let n=e.size,i=0;for(;i<n;){let a=e.slice(i,Math.min(n,i+r));t(new Uint8Array(await a.arrayBuffer())),i+=a.size}}let Et=async function(e,t){let r=new e;return await Ee(t,e=>{r.update(e)}),r.digest()},Er=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};Symbol.for("node-only");let En=["in-region","cross-region","mobile","standard","legacy"];var Ei=e.i(845);let Ea="function"==typeof TextEncoder?new TextEncoder:null,Es=e=>{if("string"==typeof e){if(Ea)return Ea.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){let n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw Error(`Body Length computation failed for ${e}`)};
11function Eo(e,t){return new Request(e,t)}let El={supported:void 0};class Ec{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new Ec(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===El.supported&&(El.supported=!!("u">typeof Request&&"keepalive"in Eo("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:r}={}){this.config||(this.config=await this.configProvider);let n=r??this.config.requestTimeout,i=!0===this.config.keepAlive,a=this.config.credentials,s=this.config.customFetch??fetch;if(t?.aborted)return Promise.reject(Eu(t));let o=e.path,l=function(e){let t=[];for(let r of Object.keys(e).sort()){let n=e[r];if(r=v9(r),Array.isArray(n))for(let e=0,i=n.length;e<i;e++)t.push(`${r}=${v9(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${v9(n)}`),t.push(e)}}return t.join("&")}(e.query||{});l&&(o+=`?${l}`),e.fragment&&(o+=`#${e.fragment}`);let c="";if(null!=e.username||null!=e.password){let t=e.username??"",r=e.password??"";c=`${t}:${r}@`}let{port:u,method:d}=e,f=`${e.protocol}//${c}${e.hostname}${u?`:${u}`:""}${o}`,h="GET"===d||"HEAD"===d?void 0:e.body,p={body:h,headers:new Headers(e.headers),method:d,credentials:a};this.config?.cache&&(p.cache=this.config.cache),h&&(p.duplex="half"),"u">typeof AbortController&&(p.signal=t),El.supported&&(p.keepalive=i),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(e));let m=()=>{},g=[s(Eo(f,p)).then(e=>{let t=e.headers,r={};for(let e of t.entries())r[e[0]]=e[1];return void 0==e.body?e.blob().then(t=>({response:new nm({headers:r,reason:e.statusText,statusCode:e.status,body:t})})):{response:new nm({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}}),function(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}(n)];return t&&g.push(new Promise((e,r)=>{let n=()=>{r(Eu(t))};"function"==typeof t.addEventListener?(t.addEventListener("abort",n,{once:!0}),m=()=>t.removeEventListener("abort",n)):t.onabort=n})),Promise.race(g).finally(m)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}function Eu(e){let t=e&&"object"==typeof e&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error("Request aborted");return e.name="AbortError",e.cause=t,e}let e=Error(String(t));return e.name="AbortError",e}let r=Error("Request aborted");return r.name="AbortError",r}function Ed(e,t){if(void 0===t)for(let r of(t=0,e))t+=r.byteLength;let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.byteLength;return r}let Ef=async e=>"function"==typeof Blob&&(e?.constructor?.name===Blob.name||e instanceof Blob)?Eh(e):Ep(e);async function Eh(e){return e.arrayBuffer().then(e=>new Uint8Array(e))}async function Ep(e){let t=[],r=e.getReader(),n=0;for(;;){let{done:e,value:i}=await r.read();if(i&&(t.push(i),n+=i.length),e)break}return Ed(t,n)}let Em=new Int32Array([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]),Eg=new Int32Array([0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6]);class Ey{digestLength=20;state=Int32Array.from(Em);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){const t=Ey.normalizeKey(e);this.inner=new Ey,this.outer=new Ey;const r=new Uint8Array(128);for(let e=0;e<64;++e)r[e]=54^t[e],r[e+64]=92^t[e];this.inner.update(r.subarray(0,64)),this.outer.update(r.subarray(64))}}update(e){if(this.finished)throw Error("Attempted to update an already finished HMAC.");if(this.inner)return void this.inner.update(e);let t=0,{length:r}=e;if(this.bytesHashed+=r,this.bufferLength>0){for(;r>0&&this.bufferLength<64;)this.buffer[this.bufferLength++]=e[t++],--r;64===this.bufferLength&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;r>=64;)this.hashBuffer(e,t),t+=64,r-=64;for(;r>0;)this.buffer[this.bufferLength++]=e[t++],--r}async digest(){if(this.inner&&this.outer){if(this.finished)throw Error("Attempted to digest an already finished HMAC.");this.finished=!0;let e=this.inner.digestSync();return this.outer.update(e),this.outer.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(Em),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),r=this.bufferLength,n=this.bytesHashed/0x20000000|0,i=this.bytesHashed<<3;if(t[r++]=128,r>56){for(let e=r;e<64;++e)t[e]=0;this.hashBufferWith(e,t,0),r=0}for(let e=r;e<56;++e)t[e]=0;let a=new DataView(t.buffer,t.byteOffset,64);a.setUint32(56,n,!1),a.setUint32(60,i,!1),this.hashBufferWith(e,t,0);let s=new Uint8Array(20);return s[0]=e[0]>>>24&255,s[1]=e[0]>>>16&255,s[2]=e[0]>>>8&255,s[3]=255&e[0],s[4]=e[1]>>>24&255,s[5]=e[1]>>>16&255,s[6]=e[1]>>>8&255,s[7]=255&e[1],s[8]=e[2]>>>24&255,s[9]=e[2]>>>16&255,s[10]=e[2]>>>8&255,s[11]=255&e[2],s[12]=e[3]>>>24&255,s[13]=e[3]>>>16&255,s[14]=e[3]>>>8&255,s[15]=255&e[3],s[16]=e[4]>>>24&255,s[17]=e[4]>>>16&255,s[18]=e[4]>>>8&255,s[19]=255&e[4],s}static normalizeKey(e){let t=r6(e);if(t.byteLength>64){let e=new Ey;e.update(t);let r=e.digestSync(),n=new Uint8Array(64);return n.set(r),n}let r=new Uint8Array(64);return r.set(t),r}hashBuffer(e,t){this.hashBufferWith(this.state,e,t)}hashBufferWith(e,t,r){let n=this.w??=new Int32Array(80),i=e[0],a=e[1],s=e[2],o=e[3],l=e[4];for(let e=0;e<16;++e)n[e]=(255&t[r+4*e])<<24|(255&t[r+4*e+1])<<16|(255&t[r+4*e+2])<<8|255&t[r+4*e+3];for(let e=16;e<80;++e){let t=n[e-3]^n[e-8]^n[e-14]^n[e-16];n[e]=t<<1|t>>>31}for(let e=0;e<80;++e){let t=e<20?0:e<40?1:e<60?2:3,r=((i<<5|i>>>27)+(0===t?a&s^~a&o:2===t?a&s^a&o^s&o:a^s^o)|0)+(l+(Eg[t]+n[e]|0)|0)|0;l=o,o=s,s=a<<30|a>>>2,a=i,i=r}e[0]=e[0]+i|0,e[1]=e[1]+a|0,e[2]=e[2]+s|0,e[3]=e[3]+o|0,e[4]=e[4]+l|0}}let Ex=e=>
11new Date(Date.now()+e),Eb=e=>nm.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Ew=e=>nm.isInstance(e)?e.headers?.age??e.headers?.Age:void 0,EC=(e,t,r,n)=>{if(void 0!==n)return t;let i=Date.parse(e),a=Date.now();return void 0!==r&&a-r>9e5?t:void 0!==r?i-(r+a)/2:i-a},Ev=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},Ek=async e=>{let t=Ev("context",e.context),r=Ev("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],i=Ev("signer",r.signer),a=await i(n),s=e?.signingRegion;return{config:r,signer:a,signingRegion:s,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}};class ES{async sign(e,t,r){if(!rH.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let n=await Ek(r),{config:i,signer:a}=n,{signingRegion:s,signingName:o}=n,l=r.context;if(l?.authSchemes?.length){let[e,t]=l.authSchemes;e?.name==="sigv4a"&&t?.name==="sigv4"&&(s=t?.signingRegion??s,o=t?.signingName??o)}let c=await i.disableClockSkewCorrection?.()===!0;return r._disableClockSkewCorrection=c,c||(r._preRequestSystemClockOffset=i.systemClockOffset,r._requestSentAt=Date.now()),await a.sign(e,{signingDate:c?new Date:Ex(i.systemClockOffset),signingRegion:s,signingService:o})}errorHandler(e){return t=>{if(!e._disableClockSkewCorrection){let r=t.ServerTime??Eb(t.$response);if(r){let n=Ev("config",e.config),i=e._preRequestSystemClockOffset,a=e._requestSentAt,s=Ew(t.$response),o=EC(r,n.systemClockOffset,a,s);n.systemClockOffset=o,Math.abs(o)>=24e4&&(o!==i||void 0!==i&&i!==o)&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}}throw t}}successHandler(e,t){if(t._disableClockSkewCorrection)return;let r=Eb(e);if(r){let n=Ev("config",t.config),i=t._requestSentAt,a=Ew(e);n.systemClockOffset=EC(r,n.systemClockOffset,i,a)}}}
11class EE extends ES{async sign(e,t,r){if(!rH.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:n,signer:i,signingRegion:a,signingRegionSet:s,signingName:o}=await Ek(r),l=(await n.sigv4aSigningRegionSet?.()??s??[a]).join(","),c=await n.disableClockSkewCorrection?.()===!0;return r._disableClockSkewCorrection=c,c||(r._preRequestSystemClockOffset=n.systemClockOffset,r._requestSentAt=Date.now()),await i.sign(e,{signingDate:c?new Date:Ex(n.systemClockOffset),signingRegion:l,signingService:o})}}let EA="The stream has already been transformed.",ER=e=>{if(!ET(e)&&!ni(e)){let t=e?.__proto__?.constructor?.name||e;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=!1,r=async()=>{if(t)throw Error(EA);return t=!0,await Ef(e)};return Object.assign(e,{transformToByteArray:r,transformToString:async e=>{let t=await r();if("base64"===e)return nn(t);if("hex"===e)return(0,v2.toHex)(t);if(void 0===e||"utf8"===e||"utf-8"===e)return(0,vA.toUtf8)(t);if("function"==typeof TextDecoder)return new TextDecoder(e).decode(t);throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw Error(EA);if(t=!0,ET(e)){if("function"!=typeof e.stream)throw Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return e.stream()}if(ni(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},ET=e=>"function"==typeof Blob&&e instanceof Blob,Ej=e=>{let t,r=e.length,n=[],i=!1,a=0;for(let s=0;s<r;++s){let r=e[s];switch(r){case'"':"\\"!==t&&(i=!i);break;case",":i||(n.push(e.slice(a,s)),a=s+1)}t=r}return n.push(e.slice(a)),n.map(e=>{let t=(e=e.trim()).length;return t<2?e:('"'===e[0]&&'"'===e[t-1]&&(e=e.slice(1,t-1)),e.replace(/\\"/g,'"'))})};class EO{serdeContext;setSerdeContext(e){this.serdeContext=e}}class EP extends EO{options;compositeErrorRegistry;constructor(e){for(const t of(super(),this.options=e,this.compositeErrorRegistry=iJ.TypeRegistry.for(e.defaultNamespace),e.errorTypeRegistries??[]))this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return rH}getResponseType(){return nm}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){for(let[r,n]of(e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={}),t.url.searchParams.entries()))e.query[r]=n;if(t.headers)for(let r in t.headers)(0,ng.hasOwn)(t.headers,r)&&(e.headers[r]=t.headers[r].join(", "));return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let r in t.headers)(0,ng.hasOwn)(t.headers,r)&&(e.headers[r]=t.headers[r]);return e}setHostPrefix(e,t,r){if(this.serdeContext?.disableHostPrefix)return;let n=n8.of(t.input),i=n3(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if("string"==typeof t){var a;for(let[e,i]of n.structIterator()){if(!i.getMergedTraits().hostLabel)continue;let n=r[e];if("string"!=typeof n)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,n)}if(e.hostname=t+e.hostname,a=e.hostname,!/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(a))throw Error(`[${e.hostname}] is not a valid hostname.`)}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r})}async loadEventStreamCapability(){let{EventStreamSerde:t,eventStreamSerdeProvider:r}=await e.A(51195);return new t({marshaller:this.resolveEventStreamMarshaller(r),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType(),compositeErrorRegistry:this.compositeErrorRegistry})}resolveEventStreamMarshaller(e){let t=this.serdeContext;return t.eventStreamMarshaller?t.eventStreamMarshaller:e(this.serdeContext)}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,r,n,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}let EL=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return vT.mutate(e);if(!e)return vT.mutate(new Uint8Array);let r=t.streamCollector(e);return vT.mutate(await r)};function EM(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}
11class EN extends EP{async serializeRequest(e,t,r){let n,i=t&&"object"==typeof t?t:{},a=this.serializer,s={},o={},l=await r.endpoint(),c=n8.of(e?.input),u=[],d=[],f=!1,h=new rH({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:s,headers:o,body:void 0});if(l){this.updateServiceEndpoint(h,l),this.setHostPrefix(h,e,i);let t=n3(e.traits);if(t.http){h.method=t.http[0];let[e,r]=t.http[1].split("?");for(let[t,n]of("/"==h.path?h.path=e:h.path+=e,new URLSearchParams(r??"")))s[t]=n}}for(let[e,t]of c.structIterator()){let r=t.getMergedTraits()??{},l=i[e];if(null==l&&!t.isIdempotencyToken()){if(r.httpLabel&&(h.path.includes(`{${e}+}`)||h.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`);continue}if(r.httpPayload)t.isStreaming()?t.isStructSchema()?i[e]&&(n=await this.serializeEventStream({eventStream:i[e],requestSchema:c})):n=l:(a.write(t,l),n=a.flush());else if(r.httpLabel){a.write(t,l);let r=a.flush();h.path.includes(`{${e}+}`)?h.path=h.path.replace(`{${e}+}`,r.split("/").map(EM).join("/")):h.path.includes(`{${e}}`)&&(h.path=h.path.replace(`{${e}}`,EM(r)))}else if(r.httpHeader)a.write(t,l),o[r.httpHeader.toLowerCase()]=String(a.flush());else if("string"==typeof r.httpPrefixHeaders)for(let e in l){if(!(0,ng.hasOwn)(l,e))continue;let n=l[e],i=r.httpPrefixHeaders+e;a.write([t.getValueSchema(),{httpHeader:i}],n),o[i.toLowerCase()]=a.flush()}else r.httpQuery||r.httpQueryParams?this.serializeQuery(t,l,s):(f=!0,u.push(e),d.push(t))}if(f&&i){let[e,t]=(c.getName(!0)??"#Unknown").split("#"),r=c.getSchema()[6],s=[3,e,t,c.getMergedTraits(),u,d,void 0];r?s[6]=r:s.pop(),a.write(s,i),n=a.flush()}return h.headers=o,h.query=s,h.body=n,h}serializeQuery(e,t,r){let n=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let n in t)if((0,ng.hasOwn)(t,n)&&!(n in r)){let a=t[n],s=e.getValueSchema();Object.assign(s.getMergedTraits(),{...i,httpQuery:n,httpQueryParams:void 0}),this.serializeQuery(s,a,r)}return}if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,s=[];for(let r of t){n.write([e.getValueSchema(),i],r);let t=n.flush();(a||void 0!==t)&&s.push(t)}r[i.httpQuery]=s}else n.write([e,i],t),r[i.httpQuery]=n.flush()}async deserializeResponse(e,t,r){let n=this.deserializer,i=n8.of(e.output),a={};if(r.statusCode>=300){let i=await EL(r.body,t);throw i.byteLength>0&&Object.assign(a,await n.read(15,i)),await this.handleError(e,t,r,a,this.deserializeMetadata(r)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let e in r.headers){if(!(0,ng.hasOwn)(r.headers,e))continue;let t=r.headers[e];delete r.headers[e],r.headers[e.toLowerCase()]=t}let s=await this.deserializeHttpMessage(i,t,r,a);if(s.length){let e=await EL(r.body,t);if(e.byteLength>0){let t=await n.read(i,e);for(let e of s)null!=t[e]&&(a[e]=t[e])}}else s.discardResponseBody&&await EL(r.body,t);return a.$metadata=this.deserializeMetadata(r),a}async deserializeHttpMessage(e,t,r,n,i){let a;a=n instanceof Set?i:n;let s=!0,o=this.deserializer,l=n8.of(e),c=[];for(let[e,n]of l.structIterator()){let i=n.getMemberTraits();if(i.httpPayload){if(s=!1,n.isStreaming())n.isStructSchema()?a[e]=await this.deserializeEventStream({response:r,responseSchema:l}):a[e]=ER(r.body);else if(r.body){let i=await EL(r.body,t);i.byteLength>0&&(a[e]=await o.read(n,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),s=r.headers[t];if(null!=s)if(n.isListSchema()){let r=n.getValueSchema();r.getMergedTraits().httpHeader=t;let i=[];for(let e of r.isTimestampSchema()&&4===r.getSchema()?function(e){if(!Number.isInteger(2))throw Error("Invalid number of delimiters (2) for splitEvery.");let t=e.split(","),r=[],n="";for(let e=0;e<t.length;e++)""===n?n=t[e]:n+=","+t[e],(e+1)%2==0&&(r.push(n),n="");return""!==n&&r.push(n),r}(s):Ej(s))i.push(await o.read(r,e.trim()));a[e]=i}else a[e]=await o.read(n,s)}else if(void 0!==i.httpPrefixHeaders){for(let t in a[e]={},r.headers)if((0,ng.hasOwn)(r.headers,t)&&t.startsWith(i.httpPrefixHeaders)){let s=r.headers[t],l=n.getValueSchema();l.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await o.read(l,s)}}else i.httpResponseCode?a[e]=r.statusCode:c.push(e)}return c.discardResponseBody=s,c}}let EI=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};EI.from=e=>e&&"object"==typeof e&&(e instanceof EI||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?EI(String(e)):EI(JSON.stringify(e)),EI.fromObject=EI.from;let EB=/^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;class ED{string;type;constructor(e,t){if(this.string=e,this.type=t,!EB.test(e))throw Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${e}"`)}toString(){return this.string}static[Symbol.hasInstance](e){return!!e&&"object"==typeof e&&(ED.prototype.isPrototypeOf(e)||"bigDecimal"===e.type&&EB.test(e.string))}}let EU="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",E_="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",E$="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",Ez="(\\d?\\d)",Eq="(\\d{4})",EH=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),EG=RegExp(`^${EU}, ${Ez} ${E_} ${Eq} ${E$} GMT$`),EF=RegExp(`^${EU}, ${Ez}-${E_}-(\\d\\d) ${E$} GMT$`),EK=RegExp(`^${EU} ${E_} ( [1-9]|\\d\\d) ${E$} ${Eq}$`),EW=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function EV(e,t,r){let n=Number(e);if(n<t||n>r)throw Error(`Value ${n} out of range [${t}, ${r}]`)}function EZ(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();let{httpLabel:r,httpPrefixHeaders:n,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?"string"==typeof n||i?6:a||r?5:void 0:void 0)??t.timestampFormat.default}
11class EX extends EO{settings;constructor(e){super(),this.settings=e}read(e,t){let r=n8.of(e);if(r.isListSchema())return Ej(t).map(e=>this.read(r.getValueSchema(),e));if(r.isBlobSchema())return(this.serdeContext?.base64Decoder??vk)(t);if(r.isTimestampSchema())switch(EZ(r,this.settings)){case 5:return(e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC3339 timestamps must be strings");let t=EH.exec(e);if(!t)throw TypeError(`Invalid RFC3339 timestamp format ${e}`);let[,r,n,i,a,s,o,,l,c]=t;EV(n,1,12),EV(i,1,31),EV(a,0,23),EV(s,0,59),EV(o,0,60);let u=new Date(Date.UTC(Number(r),Number(n)-1,Number(i),Number(a),Number(s),Number(o),Number(l)?Math.round(1e3*parseFloat(`0.${l}`)):0));if(u.setUTCFullYear(Number(r)),"Z"!=c.toUpperCase()){let[,e,t,r]=/([+-])(\d\d):(\d\d)/.exec(c)||[void 0,"+",0,0];u.setTime(u.getTime()+("-"===e?1:-1)*(60*Number(t)*6e4+60*Number(r)*1e3))}return u})(t);case 6:return(e=>{let t,r,n,i,a,s,o,l;if(null!=e){if("string"!=typeof e)throw TypeError("RFC7231 timestamps must be strings.");if((l=EG.exec(e))?[,t,r,n,i,a,s,o]=l:(l=EF.exec(e))?([,t,r,n,i,a,s,o]=l,n=(Number(n)+1900).toString()):(l=EK.exec(e))&&([,r,t,i,a,s,o,n]=l),n&&s){let e=Date.UTC(Number(n),EW.indexOf(r),Number(t),Number(i),Number(a),Number(s),o?Math.round(1e3*parseFloat(`0.${o}`)):0);EV(t,1,31),EV(i,0,23),EV(a,0,59),EV(s,0,60);let l=new Date(e);return l.setUTCFullYear(Number(n)),l}throw TypeError(`Invalid RFC7231 date-time value ${e}.`)}})(t);case 7:if(null==t)return;let n=NaN;if("number"==typeof t)n=t;else if("string"==typeof t){if(!/^-?\d*\.?\d+$/.test(t))throw TypeError("parseEpochTimestamp - numeric string invalid.");n=Number.parseFloat(t)}else"object"==typeof t&&1===t.tag&&(n=t.value);if(isNaN(n)||Math.abs(n)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(1e3*n));default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(r.isStringSchema()){let e=r.getMergedTraits().mediaType,n=t;if(e)return r.getMergedTraits().httpHeader&&(n=this.base64ToUtf8(n)),("application/json"===e||e.endsWith("+json"))&&(n=EI.from(n)),n}return r.isNumericSchema()?Number(t):r.isBigIntegerSchema()?BigInt(t):r.isBigDecimalSchema()?new ED(t,"bigDecimal"):r.isBooleanSchema()?"true"===String(t).toLowerCase():t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??vA.toUtf8)((this.serdeContext?.base64Decoder??vk)(e))}}class EJ extends EO{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new EX(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let r=n8.of(e),n=r.getMergedTraits(),i=this.serdeContext?.utf8Encoder??vA.toUtf8;if(n.httpHeader||n.httpResponseCode)return this.stringDeserializer.read(r,i(t));if(n.httpPayload){if(r.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??r4.fromUtf8;return"string"==typeof t?e(t):t}else if(r.isStringSchema())return"byteLength"in t?i(t):t}return this.codecDeserializer.read(r,t)}}class EY extends EO{settings;stringBuffer="";constructor(e){super(),this.settings=e}write(e,t){let r=n8.of(e);switch(typeof t){case"object":if(null===t){this.stringBuffer="null";return}if(r.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${r.getName(!0)}`);switch(EZ(r,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=nT(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",t),this.stringBuffer=String(t.getTime()/1e3)}return}if(r.isBlobSchema()&&"byteLength"in t){this.stringBuffer=(this.serdeContext?.base64Encoder??nn)(t);return}if(r.isListSchema()&&Array.isArray(t)){let e="";for(let i of t){var n;this.write([r.getValueSchema(),r.getMergedTraits()],i);let t=this.flush();""!==e&&(e+=", "),e+=r.getValueSchema().isTimestampSchema()?t:(((n=t).includes(",")||n.includes('"'))&&(n=`"${n.replace(/"/g,'\\"')}"`),n)}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case"string":let i=r.getMergedTraits().mediaType,a=t;if(i&&(("application/json"===i||i.endsWith("+json"))&&(a=EI.from(a)),r.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??nn)(a.toString());return}this.stringBuffer=t;break;default:r.isIdempotencyToken()?this.stringBuffer=vj():this.stringBuffer=String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer="",e}}class EQ{codecSerializer;stringSerializer;buffer;
11constructor(e,t,r=new EY(t)){this.codecSerializer=e,this.stringSerializer=r}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let r=n8.of(e),n=r.getMergedTraits();if(n.httpHeader||n.httpLabel||n.httpQuery){this.stringSerializer.write(r,t),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(r,t)}flush(){if(void 0!==this.buffer){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}}class E0{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let r=t.getMemberSchemas(),n=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(n){let t=n.getMergedTraits().mediaType;return t?t:n.isStringSchema()?"text/plain":n.isBlobSchema()?"application/octet-stream":e}if(!t.isUnitSchema()&&Object.values(r).find(e=>{let{httpQuery:t,httpQueryParams:r,httpHeader:n,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!r&&!n&&!i&&void 0===a}))return e}async getErrorSchemaOrThrowBaseException(e,t,r,n,i,a){let s=e;e.includes("#")&&([,s]=e.split("#"));let o={$metadata:i,$fault:r.statusCode<500?"client":"server"};if(!this.errorRegistry)throw Error("@aws-sdk/core/protocols - error handler not initialized.");try{return{errorSchema:a?.(this.errorRegistry,s)??this.errorRegistry.getSchema(e),errorMetadata:o}}catch(i){n.message=n.message??n.Message??"UnknownError";let e=this.errorRegistry,t=e.getBaseException();if(t){let r=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new r({name:s}),o),n)}let r=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(r),{name:s},o),n)}}compose(e,t,r){let n=r;t.includes("#")&&([n]=t.split("#"));let i=iJ.TypeRegistry.for(n),a=iJ.TypeRegistry.for("smithy.ts.sdk.synthetic."+r);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let r=e.Message??t.Message,n=iQ(e,t);r&&(n.message=r);let i=n.Error??{};i.Type=n.Error?.Type,i.Code=n.Error?.Code,i.Message=n.Error?.message??n.Error?.Message??r,n.Error=i;let a=n.$metadata.requestId;return a&&(n.RequestId=a),n}return iQ(e,t)}setQueryCompatError(e,t){let r=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=r){let[t,n]=r.split(";"),i=Object.keys(e),a={Code:t,Type:n};e.Code=t,e.Type=n;for(let t=0;t<i.length;t++){let r=i[t];a["message"===r?"Message":r]=e[r]}delete a.__type,e.Error=a}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(r){return e.find(e=>n8.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}let E1=e=>{let t="#text";for(let r in e)(0,ng.hasOwn)(e,r)&&(void 0!==e[r][t]?e[r]=e[r][t]:"object"==typeof e[r]&&null!==e[r]&&(e[r]=E1(e[r])));return e};class E2{serdeContext;setSerdeContext(e){this.serdeContext=e}}class E5{from;to;keys;constructor(e,t){this.from=e,this.to=t;const r=new Set(Object.keys(this.from));r.delete("__type"),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return 1===this.keys.size&&0===Object.keys(this.to).length}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}class E3 extends E2{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new EX(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,r){let n=n8.of(e),i=n.getMemberSchemas();if(n.isStructSchema()&&n.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){let e={},r=Object.keys(i)[0];return i[r].isBlobSchema()?e[r]=t:e[r]=this.read(i[r],t),e}let a=(this.serdeContext?.utf8Encoder??vA.toUtf8)(t),s=this.parseXml(a);return this.readSchema(e,r?s[r]:s)}readSchema(e,t){let r=n8.of(e);if(r.isUnitSchema())return;let n=r.getMergedTraits();if(r.isListSchema()&&!Array.isArray(t))return this.readSchema(r,[t]);if(null==t)return t;if("object"==typeof t){let e=!!n.xmlFlattened;
11if(r.isListSchema()){let n=r.getValueSchema(),i=[],a=n.getMergedTraits().xmlName??"member",s=e?t:(t[0]??t)[a];if(null==s)return i;for(let e of Array.isArray(s)?s:[s])i.push(this.readSchema(n,e));return i}let i={};if(r.isMapSchema()){let n,a=r.getKeySchema(),s=r.getValueSchema();n=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];let o=a.getMergedTraits().xmlName??"key",l=s.getMergedTraits().xmlName??"value";for(let e of n){let t=e[o],r=e[l];"__proto__"===t&&Object.defineProperty(i,"__proto__",{value:void 0,writable:!0,enumerable:!0,configurable:!0}),i[t]=this.readSchema(s,r)}return i}if(r.isStructSchema()){let e,n=r.isUnionSchema();for(let[a,s]of(n&&(e=new E5(t,i)),r.structIterator())){let r=s.getMergedTraits(),o=r.httpPayload?r.xmlName??s.getName():s.getMemberTraits().xmlName??a;n&&e.mark(o),null!=t[o]&&(i[a]=this.readSchema(s,t[o]))}return n&&e.writeUnknown(),i}if(r.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${r.getName(!0)}`)}return r.isListSchema()?[]:r.isMapSchema()||r.isStructSchema()?{}:this.stringDeserializer.read(r,t)}parseXml(e){if(e.length){let t;try{t=function(e){u||(u=new DOMParser);let t=u.parseFromString(e,"application/xml");if(t.getElementsByTagName("parsererror").length>0)throw Error("DOMParser XML parsing error.");let r=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){if(0===e.attributes.length&&0===e.childNodes.length)return"";let t={},n=Array.from(e.attributes);for(let e of n)t[`${e.name}`]=e.value;let i=Array.from(e.childNodes);for(let a of i){let s=r(a);if(null!=s){let e=a.nodeName;if(1===i.length&&0===n.length&&"#text"===e)return s;e in t?Array.isArray(t[e])?t[e].push(s):t[e]=[t[e],s]:t[e]=s}else if(1===i.length&&0===n.length)return e.textContent}return t}return null};return{[t.documentElement.nodeName]:r(t.documentElement)}}(e)}catch(t){throw t&&"object"==typeof t&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}let r="#text",n=Object.keys(t)[0],i=t[n];return i[r]&&(i[n]=i[r],delete i[r]),E1(i)}return{}}}let E4=/[&<>"]/g,E6={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},E9=/[&"'<>\r\n\u0085\u2028]/g,E8={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;","\r":"&#x0D;","\n":"&#x0A;","…":"&#x85;","\u2028":"&#x2028;"};class E7{value;constructor(e){this.value=e}toString(){return(""+this.value).replace(E9,e=>E8[e])}}class Ae{name;children;attributes={};static of(e,t,r){let n=new Ae(e);return void 0!==t&&n.addChildNode(new E7(t)),void 0!==r&&n.withName(r),n}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return null!=t&&(this.attributes[e]=t),this}cc(e,t,r=t){if(null!=e[t]){let n=Ae.of(t,e[t]).withName(r);this.c(n)}}l(e,t,r,n){null!=e[t]&&n().map(e=>{e.withName(r),this.c(e)})}lc(e,t,r,n){if(null!=e[t]){let e=n(),t=new Ae(r);e.map(e=>{t.c(e)}),this.c(t)}}toString(){let e=!!this.children.length,t=`<${this.name}`,r=this.attributes;for(let e of Object.keys(r)){let n=r[e];null!=n&&(t+=` ${e}="${(""+n).replace(E4,e=>E6[e])}"`)}return t+(e?`>${this.children.map(e=>e.toString()).join("")}</${this.name}>`:"/>")}}class At extends E2{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){let r=n8.of(e);if(r.isStringSchema()&&"string"==typeof t)this.stringBuffer=t;else if(r.isBlobSchema())this.byteBuffer="byteLength"in t?t:(this.serdeContext?.base64Decoder??vk)(t);else{this.buffer=this.writeStruct(r,t,void 0);let e=r.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(r.getName())}}flush(){if(void 0!==this.byteBuffer){let e=this.byteBuffer;return delete this.byteBuffer,e}if(void 0!==this.stringBuffer){let e=this.stringBuffer;return delete this.stringBuffer,e}let e=this.buffer;return this.settings.xmlNamespace&&!e?.attributes?.xmlns&&e.addAttribute("xmlns",this.settings.xmlNamespace),delete this.buffer,e.toString()}writeStruct(e,t,r){let n=e.getMergedTraits(),i=e.isMemberSchema()&&
11!n.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():n.xmlName??e.getName();if(!i||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let a=Ae.of(i),[s,o]=this.getXmlnsAttribute(e,r);for(let[r,n]of e.structIterator()){let e=t[r];if(null!=e||n.isIdempotencyToken()){if(n.getMergedTraits().xmlAttribute){a.addAttribute(n.getMergedTraits().xmlName??r,this.writeSimple(n,e));continue}if(n.isListSchema())this.writeList(n,e,a,o);else if(n.isMapSchema())this.writeMap(n,e,a,o);else if(n.isStructSchema())a.addChildNode(this.writeStruct(n,e,o));else{let t=Ae.of(n.getMergedTraits().xmlName??n.getMemberName());this.writeSimpleInto(n,e,t,o),a.addChildNode(t)}}}let{$unknown:l}=t;if(l&&e.isUnionSchema()&&Array.isArray(l)&&1===Object.keys(t).length){let[e,r]=l,n=Ae.of(e);if("string"!=typeof r)if(t instanceof Ae||t instanceof E7)a.addChildNode(t);else throw Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,r,n,o),a.addChildNode(n)}return o&&a.addAttribute(s,o),a}writeList(e,t,r,n){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let i=e.getMergedTraits(),a=e.getValueSchema(),s=a.getMergedTraits(),o=!!s.sparse,l=!!i.xmlFlattened,[c,u]=this.getXmlnsAttribute(e,n),d=(t,r)=>{if(a.isListSchema())this.writeList(a,Array.isArray(r)?r:[r],t,u);else if(a.isMapSchema())this.writeMap(a,r,t,u);else if(a.isStructSchema()){let n=this.writeStruct(a,r,u);t.addChildNode(n.withName(l?i.xmlName??e.getMemberName():s.xmlName??"member"))}else{let n=Ae.of(l?i.xmlName??e.getMemberName():s.xmlName??"member");this.writeSimpleInto(a,r,n,u),t.addChildNode(n)}};if(l)for(let e of t)(o||null!=e)&&d(r,e);else{let n=Ae.of(i.xmlName??e.getMemberName());for(let e of(u&&n.addAttribute(c,u),t))(o||null!=e)&&d(n,e);r.addChildNode(n)}}writeMap(e,t,r,n,i=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let a=e.getMergedTraits(),s=e.getKeySchema(),o=s.getMergedTraits().xmlName??"key",l=e.getValueSchema(),c=l.getMergedTraits(),u=c.xmlName??"value",d=!!c.sparse,f=!!a.xmlFlattened,[h,p]=this.getXmlnsAttribute(e,n),m=(e,t,r)=>{let n=Ae.of(o,t),[i,a]=this.getXmlnsAttribute(s,p);a&&n.addAttribute(i,a),e.addChildNode(n);let c=Ae.of(u);l.isListSchema()?this.writeList(l,r,c,p):l.isMapSchema()?this.writeMap(l,r,c,p,!0):l.isStructSchema()?c=this.writeStruct(l,r,p):this.writeSimpleInto(l,r,c,p),e.addChildNode(c)};if(f)for(let n in t){let i=t[n];if(d||null!=i){let t=Ae.of(a.xmlName??e.getMemberName());m(t,n,i),r.addChildNode(t)}}else{let n;for(let s in i||(n=Ae.of(a.xmlName??e.getMemberName()),p&&n.addAttribute(h,p),r.addChildNode(n)),t){let e=t[s];if(d||null!=e){let t=Ae.of("entry");m(t,s,e),(i?r:n).addChildNode(t)}}}}writeSimple(e,t){if(null===t)throw Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let r=n8.of(e),n=null;if(t&&"object"==typeof t)if(r.isBlobSchema())n=(this.serdeContext?.base64Encoder??nn)(t);else if(r.isTimestampSchema()&&t instanceof Date)switch(EZ(r,this.settings)){case 5:n=t.toISOString().replace(".000Z","Z");break;case 6:n=nT(t);break;case 7:n=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",t),n=nT(t)}else if(r.isBigDecimalSchema()&&t)return t instanceof ED?t.string:String(t);else if(r.isMapSchema()||r.isListSchema())throw Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.");else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${r.getName(!0)}`);if((r.isBooleanSchema()||r.isNumericSchema()||r.isBigIntegerSchema()||r.isBigDecimalSchema())&&(n=String(t)),r.isStringSchema()&&(n=void 0===t&&r.isIdempotencyToken()?vj():String(t)),null===n)throw Error(`Unhandled schema-value pair ${r.getName(!0)}=${t}`);return n}writeSimpleInto(e,t,r,n){let i=this.writeSimple(e,t),a=n8.of(e),s=new E7(i),[o,l]=this.getXmlnsAttribute(a,n);l&&r.addAttribute(o,l),r.addChildNode(s)}getXmlnsAttribute(e,t){let[r,n]=e.getMergedTraits().xmlNamespace??[];return n&&n!==t?[r?`xmlns:${r}`:"xmlns",n]:[void 0,void 0]}}
11class Ar extends E2{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new At(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new E3(this.settings);return e.setSerdeContext(this.serdeContext),e}}class An extends EN{codec;serializer;deserializer;mixin=new E0;constructor(e){super(e);const t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new Ar(t),this.serializer=new EQ(this.codec.createSerializer(),t),this.deserializer=new EJ(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),i=n8.of(e.input);if(!n.headers["content-type"]){let e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(n.headers["content-type"]=e)}return"string"!=typeof n.body||n.headers["content-type"]!==this.getDefaultContentType()||n.body.startsWith("<?xml ")||this.hasUnstructuredPayloadBinding(i)||(n.body='<?xml version="1.0" encoding="UTF-8"?>'+n.body),n}async deserializeResponse(e,t,r){return super.deserializeResponse(e,t,r)}async handleError(e,t,r,n,i){let a=(n?.Error?.Code!==void 0?n.Error.Code:n?.Code!==void 0?n.Code:404==r.statusCode?"NotFound":void 0)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace),n.Error&&"object"==typeof n.Error)for(let e of Object.keys(n.Error))n[e]=n.Error[e],"message"===e.toLowerCase()&&(n.message=n.Error[e]);n.RequestId&&!i.requestId&&(i.requestId=n.RequestId);let{errorSchema:s,errorMetadata:o}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,r,n,i),l=n8.of(s),c=n.Error?.message??n.Error?.Message??n.message??n.Message??"UnknownError",u=new(this.compositeErrorRegistry.getErrorCtor(s)??Error)({});await this.deserializeHttpMessage(s,t,r,n);let d={},f=this.codec.createDeserializer();for(let[e,t]of l.structIterator()){let r=t.getMergedTraits().xmlName??e,i=n.Error?.[r]??n[r];d[e]=f.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,o,{$fault:l.getMergedTraits().error,message:c},d),n)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}}class Ai extends An{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),i=n8.of(e.input),a=i.getSchema(),s=0,o=a[6]??0;if(t&&"object"==typeof t)for(let[e,r]of i.structIterator()){if(++s>o)break;if("Bucket"===e){if(!t.Bucket&&r.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}class Aa{digestLength=16;state=Uint32Array.from(As);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(e){let t=r6(e),r=0,n=t.byteLength;for(this.bytesHashed+=n;n>0;)this.writeBuffer.setUint8(this.bufferLength++,t[r++]),--n,64===this.bufferLength&&(Ac(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){let e=Uint32Array.from(this.state),t=new DataView(this.writeBuffer.buffer.slice(0)),r=this.bufferLength,n=8*this.bytesHashed;if(t.setUint8(r++,128),this.bufferLength%64>=56){for(let e=r;e<64;++e)t.setUint8(e,0);Ac(e,t),r=0}for(let e=r;e<56;++e)t.setUint8(e,0);t.setUint32(56,n>>>0,!0),t.setUint32(60,Math.floor(n/0x100000000),!0),Ac(e,t);let i=new Uint8Array(16),a=new DataView(i.buffer);for(let t=0;t<4;++t)a.setUint32(4*t,e[t],!0);return i}reset(){this.state.set(As),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}}let As=[0x67452301,0xefcdab89,0x98badcfe,0x10325476],Ao=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),Al=Array.from({length:64},(e,t)=>0x100000000*Math.abs(Math.sin(t+1))>>>0);function Ac(e,t){let r=e[0],n=e[1],i=e[2],a=e[3];for(let e=0;e<64;++e){let s,o;e<16?(s=n&i|~n&a,o=e):e<32?(s=a&n|i&~a,o=(5*e+1)%16):e<48?(s=n^i^a,o=(3*e+5)%16):(s=i^(n|~a),o=7*e%16);let l=t.getUint32(4*o,!0),c=a;a=i,i=n;let u=Ao[(e>>4)*4+(3&e)],d=(r+s|0)+(l+Al[e]|0)|0;n=n+((d<<u|d>>>32-u)>>>0)|0,r=c}e[0]=e[0]+r|0,e[1]=e[1]+n|0,e[2]=e[2]+i|0,e[3]=e[3]+a|0}let Au=0x20000000000000-1;class Ad{digestLength=32;state=Int32Array.from(Af);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){const t=Ad.normalizeKey(e);this.inner=new Ad,this.outer=new Ad;const{inner:r,outer:n}=this,i=new Uint8Array(128);for(let e=0;e<64;++e)i[e]=54^t[e],i[e+64]=92^t[e];r.update(i.subarray(0,64)),n.update(i.subarray(64))}}update(e){if(this.finished)throw Error("Attempted to update an already finished HMAC.");if(this.inner)return void this.inner.update(e);let t=r6(e),r=0,{byteLength:n}=t;if(this.bytesHashed+=n,8*this.bytesHashed>Au)throw Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=t[r++],n--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)}async digest(){let{inner:e,outer:t}=this;if(e&&t){if(this.finished)throw Error("Attempted to digest an already finished HMAC.");this.finished=!0;let r=e.digestSync();return t.update(r),t.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(Af),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),r=this.bufferLength,n=8*this.bytesHashed,i=new DataView(t.buffer,t.byteOffset,t.byteLength);if(i.setUint8(r++,128),(r-1)%64>=56){for(let e=r;e<64;++e)i.setUint8(e,0);this.hashBufferWith(e,t),r=0}for(let e=r;e<56;++e)i.setUint8(e,0);i.setUint32(56,Math.floor(n/0x100000000),!1),i.setUint32(60,n,!1),this.hashBufferWith(e,t);let a=new Uint8Array(32);for(let t=0;t<8;++t)a[4*t]=e[t]>>>24&255,a[4*t+1]=e[t]>>>16&255,a[4*t+2]=e[t]>>>8&255,a[4*t+3]=e[t]>>>0&255;return a}static normalizeKey(e){let t=r6(e);if(t.byteLength>64){let e=new Ad;e.update(t);let r=e.digestSync(),n=new Uint8Array(64);return n.set(r),n}if(t.byteLength<64){let e=new Uint8Array(64);return e.set(t),e}return t}hashBuffer(){this.hashBufferWith(this.state,this.buffer)}hashBufferWith(e,t){let r=this.w??=new Int32Array(64),n=e[0],i=e[1],a=e[2],s=e[3],o=e[4],l=e[5],c=e[6],u=e[7];for(let e=0;e<64;++e){if(e<16)r[e]=(255&t[4*e])<<24|(255&t[4*e+1])<<16|(255&t[4*e+2])<<8|255&t[4*e+3];else{let t=r[e-2],n=(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10,i=((t=r[e-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3;r[e]=(n+r[e-7]|0)+(i+r[e-16]|0)}let d=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&l^~o&c)|0)+(u+(Ah[e]+r[e]|0)|0)|0,f=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&a^i&a)|0;u=c,c=l,l=o,o=s+d|0,s=a,a=i,i=n,n=d+f|0}e[0]+=n,e[1]+=i,e[2]+=a,e[3]+=s,e[4]+=o,e[5]+=l,e[6]+=c,e[7]+=u}}
11let Af=new Int32Array([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),Ah=new Int32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),{digest:Ap,sign:Am,importKey:Ag}=globalThis?.crypto?.subtle??{},Ay="function"==typeof Ap&&"function"==typeof Am&&"function"==typeof Ag?globalThis.crypto.subtle:void 0;class Ax{digestLength=32;secret;pending=[];pendingBytes=0;fallback;finished=!1;constructor(e){e&&(this.secret=r6(e))}update(e){if(this.finished)throw Error("Attempted to update an already finished HMAC.");this.fallback?this.fallback.update(e):(this.pending.push(e.slice()),this.pendingBytes+=e.byteLength,this.pendingBytes>=8388608&&this.switchToFallback())}async digest(){if(this.fallback)return this.fallback.digest();if(this.secret&&this.finished)throw Error("Attempted to digest an already finished HMAC.");let e=Ed(this.pending);if(Ay){if(this.secret){this.finished=!0;let t=await Ay.importKey("raw",this.secret,{name:"HMAC",hash:"SHA-256"},!1,["sign"]);return new Uint8Array(await Ay.sign("HMAC",t,e))}return new Uint8Array(await Ay.digest("SHA-256",e))}let t=new Ad(this.secret);return t.update(e),t.digest()}reset(){this.pending=[],this.pendingBytes=0,this.fallback=void 0,this.finished=!1}switchToFallback(){let e=new Ad(this.secret);for(let t of this.pending)e.update(t);this.fallback=e,this.pending=[],this.pendingBytes=0}}let Ab=(e,t)=>{let{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:i,checksumLocationName:a,streamHasher:s}=t,o=void 0!==r&&void 0!==n&&void 0!==i&&void 0!==a&&void 0!==s,l=o?s(i,e):void 0;Promise.resolve(l).catch(()=>{});let c=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:i}=await c.read();if(i){if(e.enqueue(`0\r
12`),o){let t=r(await l);e.enqueue(`${a}:${t}\r
13`),e.enqueue(`\r
14`)}e.close()}else e.enqueue(`${(n(t)||0).toString(16)}\r
15${t}\r
16`)}})};(S=M||(M={})).MD5="md5",S.CRC32="crc32",S.CRC32C="crc32c",S.SHA1="sha1",S.SHA256="sha256";let Aw=Object.values(M);class AC extends vm{config;constructor(...[e]){const t=(e=>{let t=(({defaultsMode:e}={})=>{var t;let r,n,i,a;return t=async()=>{let t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve((()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:r,downlink:n}=e.connection;if("string"==typeof t&&"4g"!==t||Number(r)>100||10>Number(n))return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1})()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${En.join(", ")}, got ${t}`)}},a=async()=>{n||(n=t());try{r=await n,i=!0}finally{n=void 0}return r},async e=>((!i||e?.forceRefresh)&&(r=await a()),r)})(e),r=()=>t().then(Er),n={apiVersion:"2006-03-01",base64Decoder:e?.base64Decoder??vk,base64Encoder:e?.base64Encoder??nn,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??S2,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??Ab,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??S6,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new ES},{schemeId:"aws.auth#sigv4a",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4a"),signer:new EE}],logger:e?.logger??new nf,md5:e?.md5??Aa,protocol:e?.protocol??Ai,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.s3",errorTypeRegistries:fc,xmlNamespace:"http://s3.amazonaws.com/doc/2006-03-01/",version:"2006-03-01",serviceTarget:"AmazonS3"}
16,sdkStreamMixin:e?.sdkStreamMixin??ER,serviceId:e?.serviceId??"S3",sha1:e?.sha1??Ey,sha256:e?.sha256??Ax,signerConstructor:e?.signerConstructor??kj,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??ig,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??r4.fromUtf8,utf8Encoder:e?.utf8Encoder??vA.toUtf8};return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Es,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??(({serviceId:e,clientVersion:t})=>async r=>{let n="u">typeof window?window.navigator:void 0,i=n?.userAgent??"",a=n?.userAgentData?.platform??S8(i)??"other",s=n?.userAgentData?.brands??[],o=s[s.length-1],l=o?.brand??S7(i)??"unknown",c=o?.version??"unknown",u=[["aws-sdk-js",t],["ua","2.1"],[`os/${a}`,void 0],["lang/js"],["md/browser",`${l}_${c}`]];e&&u.push([`api/${e}`,t]);let d=await r?.userAgentAppId?.();return d&&u.push([`app/${d}`]),u})({serviceId:n.serviceId,clientVersion:S9.default.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Ei.eventStreamSerdeProvider,maxAttempts:e?.maxAttempts??3,region:e?.region??(()=>Promise.reject("Region is missing")),requestHandler:Ec.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||C1),streamCollector:e?.streamCollector??Ef,streamHasher:e?.streamHasher??Et,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}})(e||{});super(t),this.initConfig=t;const r=((e,t)=>{var r;let n,i,a,s,o,l=Object.assign({setRegion(t){e.region=t},region:()=>e.region},Object.assign((e=>{let t=[];for(let r in M){if(!(0,ng.hasOwn)(M,r))continue;let n=M[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}for(let[r,n]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>r,checksumConstructor:()=>n});return{addChecksumAlgorithm(r){e.checksumAlgorithms=e.checksumAlgorithms??{};let n=r.algorithmId(),i=r.checksumConstructor();Aw.includes(n)?e.checksumAlgorithms[n.toUpperCase()]=i:e.checksumAlgorithms[n]=i,t.push(r)},checksumAlgorithms:()=>t}})(e),{setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}),(e.logger&&e.logger.constructor?.name!=="NoOpLogger"&&e.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"),e.logger),{setHttpHandler(t){e.requestHandler=t},httpHandler:()=>e.requestHandler,updateHttpClientConfig(t,r){e.requestHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.requestHandler.httpHandlerConfigs()}),(a=e.httpAuthSchemes,s=e.httpAuthSchemeProvider,o=e.credentials,{setHttpAuthScheme(e){let t=a.findIndex(t=>t.schemeId===e.schemeId);-1===t?a.push(e):a.splice(t,1,e)},httpAuthSchemes:()=>a,setHttpAuthSchemeProvider(e){s=e},httpAuthSchemeProvider:()=>s,setCredentials(e){o=e},credentials:()=>o}));t.forEach(e=>e.configure(l));return Object.assign(e,{region:l.region()},Object.assign((n={},(r=l).checksumAlgorithms().forEach(e=>{let t=e.algorithmId();Aw.includes(t)&&(n[t]=e.checksumConstructor())}),n),((i={}).retryStrategy=r.retryStrategy(),i)),{requestHandler:l.httpHandler()},{httpAuthSchemes:l.httpAuthSchemes(),httpAuthSchemeProvider:l.httpAuthSchemeProvider(),credentials:l.credentials()})})(((e,{session:t})=>{let[r,n]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:s,followRegionRedirects:o,s3ExpressIdentityProvider:l,bucketEndpoint:c,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:s??!1,followRegionRedirects:o??!1,s3ExpressIdentityProvider:l??new vf(async e=>r().send(new n({Bucket:e}))),bucketEndpoint:c??!1,expectContinueHeader:u??2097152})})((e=>{var t;return Object.assign(((t=kk(e)).sigv4aSigningRegionSet=ve(t.sigv4aSigningRegionSet),t),{authSchemePreference:ik(e.authSchemePreference??[])})})((e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))(iS((e=>{let{region:t,useFipsEndpoint:r}=e;if(!t)throw Error("Region is missing");return Object.assign(e,{region:async()=>{let e,r=vb(e="function"==typeof t?await t():t)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;return((e,t=vy)=>{if(vx.has(e)||t(e))vx.add(e);else if("*"===e)console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`)})(r),r},useFipsEndpoint:async()=>!!vb("string"==typeof t?t:await t())||("function"!=typeof r?Promise.resolve(!!r):r())})})((e=>{let{retryStrategy:t,retryMode:r}=e,{defaultMaxAttempts:n=3,defaultBaseDelay:i=rD.delay()}=(void 0)??{},a=ik(e.maxAttempts??n),s=t?Promise.resolve(t):void 0,o=async()=>{let e=await a();return await ik(r)()===j.ADAPTIVE?new vZ(a,{maxAttempts:e,baseDelay:i}):new vV({maxAttempts:e,baseDelay:i})};return Object.assign(e,{maxAttempts:a,retryStrategy:()=>s??=o()})})((e=>{let{requestChecksumCalculation:t,responseChecksumValidation:r,requestStreamBufferSize:n}=e;return Object.assign(e,{requestChecksumCalculation:ik(t??r_),responseChecksumValidation:ik(r??r_),requestStreamBufferSize:Number(n??0),checksumAlgorithms:e.checksumAlgorithms??{}})})(function(e){let t=ve(e.userAgentAppId??vt),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{let r=await t();if(!(void 0===r||"string"==typeof r&&r.length<=50)){let t=e.logger?.constructor?.name!=="NoOpLogger"&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}((e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:"s3",clientContextParams:e.clientContextParams??{}}))(t)))))))),{session:[()=>this,wl]}),e?.extensions||[]);this.config=r,this.middlewareStack.use(function(e){return{applyToStack:t=>{t.add((t,r)=>async n=>{let{operationSchema:i}=iw(r),[,a,s,o,l,c]=i??[],u=r.endpointV2?async()=>iy(r.endpointV2):e.endpoint,d=await e.protocol.serializeRequest(vX(a,s,o,l,c),n.input,{...e,...r,endpoint:u});return t({...n,request:d})},vQ),t.add((t,r)=>async n=>{let{response:i}=await t(n),{operationSchema:a}=iw(r),[,s,o,l,c,u]=a??[];try{let t=await e.protocol.deserializeResponse(vX(s,o,l,c,u),{...e,...r},i);return{response:i,output:t}}catch(e){if(Object.defineProperty(e,"$response",{value:i,enumerable:!1,writable:!1,
16configurable:!1}),!("$metadata"in e)){let t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n  "+t}catch(e){r.logger&&r.logger?.constructor?.name!=="NoOpLogger"?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(nm.isInstance(i)){let{headers:t={},statusCode:r}=i,n=Object.entries(t);e.$metadata={httpStatusCode:r,requestId:vJ(/^x-[\w-]+-request-?id$/,n),extendedRequestId:vJ(/^x-[\w-]+-id-2$/,n),cfId:vJ(/^x-[\w-]+-cf-id$/,n)}}}catch(e){}}throw e}},vY),e.protocol.setSerdeContext(e)}}}(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((t,r)=>async n=>{let{request:i}=n;if(!rH.isInstance(i))return t(n);let{headers:a}=i,s=r?.userAgent?.map(C8)||[],o=(await e.defaultUserAgentProvider()).map(C8);await C5(r,e,n),o.push(`m/${function(e){let t="";for(let r in e){let n=e[r];if(t.length+n.length+1<=1024){t.length?t+=","+n:t+=n;continue}break}return t}(Object.assign({},r.__smithy_context?.features,r.__aws_sdk_context?.features))}`);let l=e?.customUserAgent?.map(C8)||[],c=await e.userAgentAppId();c&&o.push(C8(["app",`${c}`]));let u=[].concat([...o,...s,...l]).join(" "),d=[...o.filter(e=>e.startsWith("aws-sdk-")),...l].join(" ");return"browser"!==e.runtime?(d&&(a[C4]=a[C4]?`${a[C3]} ${d}`:d),a[C3]=u):a[C4]=u,t({...n,request:i})},C7)}}))(this.config)),this.middlewareStack.use(vG(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{let n=t.request;if(rH.isInstance(n)){let{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(vw))try{let t=r(e);null!=t&&(n.headers={...n.headers,[vw]:String(t)})}catch(e){}}return e({...t,request:n})}),vC)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(t=>async r=>{if(!rH.isInstance(r.request))return t(r);let{request:n}=r,{handlerProtocol:i=""}=e.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)},CY)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:e=>{e.add((e,t)=>async r=>{try{let n=await e(r),{clientName:i,commandName:a,logger:s,dynamoDbDocumentClientOptions:o={}}=t,{overrideInputFilterSensitiveLog:l,overrideOutputFilterSensitiveLog:c}=o,u=l??t.inputFilterSensitiveLog,d=c??t.outputFilterSensitiveLog,{$metadata:f,...h}=n.output;return s?.info?.({clientName:i,commandName:a,input:u(r.input),output:d(h),metadata:f}),n}catch(l){let{clientName:e,commandName:n,logger:i,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:s}=a,o=s??t.inputFilterSensitiveLog;throw i?.error?.({clientName:e,commandName:n,input:o(r.input),error:l,metadata:l.$metadata}),l}},CQ)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:e=>{}}))(this.config)),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{let i;n.addRelativeTo((i={httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r},(t,r)=>async n=>{let a=((e,t)=>{if(!t||0===t.length)return e;let r=[];for(let n of t)for(let t of e)t.schemeId.split("#")[1]===n&&r.push(t);for(let t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r})(e.httpAuthSchemeProvider(await i.httpAuthSchemeParametersProvider(e,r,n.input)),e.authSchemePreference?await e.authSchemePreference():[]),s=function(e){let t=new Map;for(let r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),o=iw(r),l=[];for(let t of a){let n=s.get(t.schemeId);if(!n){l.push(`HttpAuthScheme \`${t.schemeId}\` was not enabled for this service.`);continue}let a=n.identityProvider(await i.identityProviderConfigProvider(e));if(!a){l.push(`HttpAuthScheme \`${t.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:c={},signingProperties:u={}}=t.propertiesExtractor?.(e,r)||{};
16t.identityProperties=Object.assign(t.identityProperties||{},c),t.signingProperties=Object.assign(t.signingProperties||{},u),o.selectedHttpAuthScheme={httpAuthOption:t,identity:await a(t.identityProperties),signer:n.signer};break}if(!o.selectedHttpAuthScheme)throw Error(l.join("\n"));return t(n)}),vp)}}))(this.config,{httpAuthSchemeParametersProvider:S5,identityProviderConfigProvider:async e=>new vh({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use((e=>({applyToStack:e=>{e.addRelativeTo((e,t)=>async r=>{if(!rH.isInstance(r.request))return e(r);let n=iw(t).selectedHttpAuthScheme;if(!n)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:i={}},identity:a,signer:s}=n,o=await e({...r,request:await s.sign(r.request,a,i)}).catch((s.errorHandler||(e=>e=>{throw e}))(i));return(s.successHandler||((e,t)=>{}))(o.response,i),o},va)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(function({bucketEndpoint:e}){return t=>async r=>{let{input:{Bucket:n}}=r;if(!e&&"string"==typeof n&&!("string"==typeof n&&0===n.indexOf("arn:")&&n.split(":").length>=6)&&n.indexOf("/")>=0){let e=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw e.name="InvalidBucketName",e}return t({...r})}}(e),vc),t.addRelativeTo((t,r)=>async n=>{if(e.bucketEndpoint){let e=r.endpointV2;if(e){let t=n.input.Bucket;if("string"==typeof t)try{let n=new URL(t);r.endpointV2={...e,url:n}}catch(n){let e=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw r.logger?.constructor?.name==="NoOpLogger"?console.warn(e):r.logger?.warn?.(e),n}}}return t(n)},vl)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(t=>async r=>{let{request:n}=r;if(!1!==e.expectContinueHeader&&rH.isInstance(n)&&n.body&&"node"===e.runtime&&e.requestHandler?.constructor?.name!=="FetchHttpHandler"){let t=!0;if("number"==typeof e.expectContinueHeader)try{t=(Number(n.headers?.["content-length"])??e.bodyLengthChecker?.(n.body)??1/0)>=e.expectContinueHeader}catch(e){}else t=!!e.expectContinueHeader;t&&(n.headers.Expect="100-continue")}return t({...r,request:n})},vr)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((t,r)=>async n=>{try{return await t(n)}catch(i){if(e.followRegionRedirects){let a=i?.$metadata?.httpStatusCode,s="HeadBucketCommand"===r.commandName,o=i?.$response?.headers?.["x-amz-bucket-region"];if(o&&(301===a||400===a&&(i?.name==="IllegalLocationConstraintException"||s))){try{r.logger?.debug(`Redirecting from ${await e.region()} to ${o}`),r.__s3RegionRedirect=o}catch(e){throw Error("Region redirect failed: "+e)}return t(n)}}throw i}},vi),t.addRelativeTo((t,r)=>async n=>{let i=await e.region(),a=e.region,s=()=>{};r.__s3RegionRedirect&&(Object.defineProperty(e,"region",{writable:!1,value:async()=>r.__s3RegionRedirect}),s=()=>Object.defineProperty(e,"region",{writable:!0,value:a}));try{let a=await t(n);if(r.__s3RegionRedirect){s();let t=await e.region();if(i!==t)throw Error("Region was not restored following S3 region redirect.")}return a}catch(e){throw s(),e}},vn)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((t,r)=>async n=>{if(r.endpointV2){let t=r.endpointV2,i=t.properties?.authSchemes?.[0]?.name==="sigv4-s3express";if((t.properties?.backend==="S3Express"||t.properties?.bucketType==="Directory")&&(rU(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0),i){let t=n.input.Bucket;if(t){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});r.s3ExpressIdentity=i,rH.isInstance(n.request)&&i.sessionToken&&(n.request.headers["x-amz-s3session-token"]=i.sessionToken)}}}return t(n)},vo)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.addRelativeTo((t,r)=>async n=>{let i;if(!rH.isInstance(n.request))return t(n);let a=iw(r).selectedHttpAuthScheme;if(!a)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:s={}},identity:o,signer:l}=a;i=r.s3ExpressIdentity?await vs(r.s3ExpressIdentity,s,n.request,await e.signer()):await l.sign(n.request,o,s);let c=await t({...n,request:i}
16).catch((l.errorHandler||(e=>e=>{throw e}))(s));return(l.successHandler||((e,t)=>{}))(c.response,s),c},va)}}))(this.config))}destroy(){super.destroy()}}let Av=CX(AC,Ci,"ContinuationToken","ContinuationToken","MaxBuckets"),Ak=CX(AC,Ca,"ContinuationToken","ContinuationToken","MaxDirectoryBuckets"),AS=CX(AC,Co,"ContinuationToken","NextContinuationToken","MaxAnnotationResults"),AE=CX(AC,Cc,"ContinuationToken","NextContinuationToken","MaxKeys"),AA=CX(AC,Cd,"PartNumberMarker","NextPartNumberMarker","MaxParts"),AR=()=>{let e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return"[Circular]";e.add(r)}return r}},AT={minDelay:2,maxDelay:120};(E=N||(N={})).ABORTED="ABORTED",E.FAILURE="FAILURE",E.SUCCESS="SUCCESS",E.RETRY="RETRY",E.TIMEOUT="TIMEOUT";let Aj=e=>{if(e.state===N.ABORTED){let t=Error(`${JSON.stringify({...e,reason:"Request was aborted"},AR())}`);throw t.name="AbortError",t}if(e.state===N.TIMEOUT){let t=Error(`${JSON.stringify({...e,reason:"Waiter has timed out"},AR())}`);throw t.name="TimeoutError",t}if(e.state!==N.SUCCESS)throw Error(`${JSON.stringify(e,AR())}`);return e},AO=e=>new Promise(t=>setTimeout(t,1e3*e)),AP=async({minDelay:e,maxDelay:t,maxWaitTime:r,abortController:n,client:i,abortSignal:a},s,o)=>{let l={},[c,u]=[1e3*e,1e3*t],d=0,f=Date.now()+1e3*r,h=Date.now()+6e4,p=!1;for(;;){if(d>0){let e=AN(c,u,d,f);if(n?.signal?.aborted||a?.aborted){let e="AbortController signal aborted.";return l[e]|=0,l[e]+=1,{state:N.ABORTED,observedResponses:l}}if(Date.now()+e>f)return{state:N.TIMEOUT,observedResponses:l};await AO(e/1e3)}let{state:e,reason:t}=await o(i,s);if(t){let e=AM(t);l[e]|=0,l[e]+=1}if(e!==N.RETRY)return{state:e,reason:t,final:t,observedResponses:l};d+=1,!p&&Date.now()>=h&&(AL(l,i),p=!0)}},AL=(e={},t)=>{let r=Object.keys(e),n=0,i=0;for(let t of r){let r=0|e[t];n=Math.max(r,n),t.startsWith("403:")&&(i+=r)}let a=t?.config?.logger,s="function"!=typeof a?.warn||a.constructor?.name?.includes?.("NoOpLogger")?console:a;(i>=3||r[r.length-1]?.startsWith("403:"))&&s.warn("@smithy/util-waiter WARN - 403 status code encountered during waiter polling.")},AM=e=>{let t=e?.$response?.statusCode??e?.$metadata?.httpStatusCode;return e?.$responseBodyText?`${t?t+": ":""}Deserialization error for body: ${e.$responseBodyText}`:t?e?.$response||e?.message?`${t??"Unknown"}: ${e?.message}`:`${t}: OK`:String(e?.message??JSON.stringify(e,AR())??"Unknown")},AN=(e,t,r,n)=>{if(r>Math.log(t/e)/Math.log(2)+1)return t;let i=Math.min(e*2**(r-1),t),a=AI(e,i);return Date.now()+a>n?Math.max(0,n-Date.now()-500):a},AI=(e,t)=>e+Math.random()*(t-e),AB=e=>{let t;return{clearListener(){"function"==typeof e.removeEventListener&&e.removeEventListener("abort",t)},aborted:new Promise(r=>{t=()=>r({state:N.ABORTED}),"function"==typeof e.addEventListener?e.addEventListener("abort",t):e.onabort=t})}},AD=async(e,t,r)=>{let n={...AT,...e};if(n.maxWaitTime<=0)throw Error("WaiterConfiguration.maxWaitTime must be greater than 0");if(n.minDelay<=0)throw Error("WaiterConfiguration.minDelay must be greater than 0");if(n.maxDelay<=0)throw Error("WaiterConfiguration.maxDelay must be greater than 0");if(n.maxWaitTime<=n.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${n.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${n.minDelay}] for this waiter`);if(n.maxDelay<n.minDelay)throw Error(`WaiterConfiguration.maxDelay [${n.maxDelay}] must be greater than WaiterConfiguration.minDelay [${n.minDelay}] for this waiter`);let i=[AP(n,t,r)],a=[];if(e.abortSignal){let{aborted:t,clearListener:r}=AB(e.abortSignal);a.push(r),i.push(t)}if(e.abortController?.signal){let{aborted:t,clearListener:r}=AB(e.abortController.signal);a.push(r),i.push(t)}return Promise.race(i).then(e=>{for(let e of a)e();return e})},AU=async(e,t)=>{let r;try{return r=await e.send(new w8(t)),{state:N.SUCCESS,reason:r}}catch(e){r=e,e.name}return{state:N.RETRY,reason:r}},A_=async(e,t)=>Aj(await AD({minDelay:5,maxDelay:120,...e},t,AU)),A$=async(e,t)=>{let r;try{r=await e.send(new w8(t))}catch(e){if(r=e,"NotFound"===e.name)return{state:N.SUCCESS,reason:r}}return{state:N.RETRY,reason:r}},Az=async(e,t)=>Aj(await AD({minDelay:5,maxDelay:120,...e},t,A$)),Aq=async(e,t)=>{let r;try{return r=await e.send(new w7(t)),{state:N.SUCCESS,reason:r}}catch(e){r=e,e.name}return{state:N.RETRY,reason:r}},AH=async(e,t)=>Aj(await AD({minDelay:5,maxDelay:120,...e},t,Aq)),AG=async(e,t)=>{let r;try{r=await e.send(new w7(t))}catch(e){if(r=e,"NotFound"===e.name)return{state:N.SUCCESS,reason:r}}return{state:N.RETRY,reason:r}},AF=async(e,t)=>Aj(await AD({minDelay:5,maxDelay:120,...e},t,AG));class AK extends AC{}((e,t,r)=>{for(let[r,n]of Object.entries(e)){let e=async function(e,t,r){let i=new n(e);if("function"==typeof t)this.send(i,t);else{if("function"!=typeof r)return this.send(i,t);if("object"!=typeof t)throw Error(`Expected http options but got ${typeof t}`);this.send(i,t||{},r)}},i=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[i]=e}let{paginators:n={},waiters:i={}}=r??{};for(let[e,r]of Object.entries(n))void 0===t.prototype[e]&&(t.prototype[e]=function(e={},t,...n){return r({...t,client:this},e,...n)});for(let[e,r]of Object.entries(i))void 0===t.prototype[e]&&(t.prototype[e]=async function(e={},t,...n){let i=t;return"number"==typeof t&&(i={maxWaitTime:t}),r({...i,client:this},e,...n)})})({AbortMultipartUploadCommand:wt,CompleteMultipartUploadCommand:wr,CopyObjectCommand:wn,CreateBucketCommand:wi,CreateBucketMetadataConfigurationCommand:wa,CreateBucketMetadataTableConfigurationCommand:ws,CreateMultipartUploadCommand:wo,CreateSessionCommand:wl,DeleteBucketCommand:wu,DeleteBucketAnalyticsConfigurationCommand:wc,DeleteBucketCorsCommand:wd,DeleteBucketEncryptionCommand:wf,DeleteBucketIntelligentTieringConfigurationCommand:wh,DeleteBucketInventoryConfigurationCommand:wp,DeleteBucketLifecycleCommand:wm,DeleteBucketMetadataConfigurationCommand:wg,DeleteBucketMetadataTableConfigurationCommand:wy,DeleteBucketMetricsConfigurationCommand:wx,DeleteBucketOwnershipControl
16sCommand:wb,DeleteBucketPolicyCommand:ww,DeleteBucketReplicationCommand:wC,DeleteBucketTaggingCommand:wv,DeleteBucketWebsiteCommand:wk,DeleteObjectCommand:wE,DeleteObjectAnnotationCommand:wS,DeleteObjectsCommand:wA,DeleteObjectTaggingCommand:wR,DeletePublicAccessBlockCommand:wT,GetBucketAbacCommand:wj,GetBucketAccelerateConfigurationCommand:wO,GetBucketAclCommand:wP,GetBucketAnalyticsConfigurationCommand:wL,GetBucketCorsCommand:wM,GetBucketEncryptionCommand:wN,GetBucketIntelligentTieringConfigurationCommand:wI,GetBucketInventoryConfigurationCommand:wB,GetBucketLifecycleConfigurationCommand:wD,GetBucketLocationCommand:wU,GetBucketLoggingCommand:w_,GetBucketMetadataConfigurationCommand:w$,GetBucketMetadataTableConfigurationCommand:wz,GetBucketMetricsConfigurationCommand:wq,GetBucketNotificationConfigurationCommand:wH,GetBucketOwnershipControlsCommand:wG,GetBucketPolicyCommand:wF,GetBucketPolicyStatusCommand:wK,GetBucketReplicationCommand:wW,GetBucketRequestPaymentCommand:wV,GetBucketTaggingCommand:wZ,GetBucketVersioningCommand:wX,GetBucketWebsiteCommand:wJ,GetObjectCommand:w1,GetObjectAclCommand:wY,GetObjectAnnotationCommand:wQ,GetObjectAttributesCommand:w0,GetObjectLegalHoldCommand:w2,GetObjectLockConfigurationCommand:w5,GetObjectRetentionCommand:w3,GetObjectTaggingCommand:w4,GetObjectTorrentCommand:w6,GetPublicAccessBlockCommand:w9,HeadBucketCommand:w8,HeadObjectCommand:w7,ListBucketAnalyticsConfigurationsCommand:Ce,ListBucketIntelligentTieringConfigurationsCommand:Ct,ListBucketInventoryConfigurationsCommand:Cr,ListBucketMetricsConfigurationsCommand:Cn,ListBucketsCommand:Ci,ListDirectoryBucketsCommand:Ca,ListMultipartUploadsCommand:Cs,ListObjectAnnotationsCommand:Co,ListObjectsCommand:Cl,ListObjectsV2Command:Cc,ListObjectVersionsCommand:Cu,ListPartsCommand:Cd,PutBucketAbacCommand:Cf,PutBucketAccelerateConfigurationCommand:Ch,PutBucketAclCommand:Cp,PutBucketAnalyticsConfigurationCommand:Cm,PutBucketCorsCommand:Cg,PutBucketEncryptionCommand:Cy,PutBucketIntelligentTieringConfigurationCommand:Cx,PutBucketInventoryConfigurationCommand:Cb,PutBucketLifecycleConfigurationCommand:Cw,PutBucketLoggingCommand:CC,PutBucketMetricsConfigurationCommand:Cv,PutBucketNotificationConfigurationCommand:Ck,PutBucketOwnershipControlsCommand:CS,PutBucketPolicyCommand:CE,PutBucketReplicationCommand:CA,PutBucketRequestPaymentCommand:CR,PutBucketTaggingCommand:CT,PutBucketVersioningCommand:Cj,PutBucketWebsiteCommand:CO,PutObjectCommand:CM,PutObjectAclCommand:CP,PutObjectAnnotationCommand:CL,PutObjectLegalHoldCommand:CN,PutObjectLockConfigurationCommand:CI,PutObjectRetentionCommand:CB,PutObjectTaggingCommand:CD,PutPublicAccessBlockCommand:CU,RenameObjectCommand:C_,RestoreObjectCommand:C$,SelectObjectContentCommand:Cz,UpdateBucketMetadataAnnotationTableConfigurationCommand:Cq,UpdateBucketMetadataInventoryTableConfigurationCommand:CH,UpdateBucketMetadataJournalTableConfigurationCommand:CG,UpdateObjectEncryptionCommand:CF,UploadPartCommand:CK,UploadPartCopyCommand:CW,WriteGetObjectResponseCommand:CV},AK,{paginators:{paginateListBuckets:Av,paginateListDirectoryBuckets:Ak,paginateListObjectAnnotations:AS,paginateListObjectsV2:AE,paginateListParts:AA},waiters:{waitUntilBucketExists:A_,waitUntilBucketNotExists:Az,waitUntilObjectExists:AH,waitUntilObjectNotExists:AF}});let AW=new AK({region:"eu-west-1"}),AV=null,AZ=async()=>{let e="prod"===(0,rI.getAPIEnv)()?"prod":"test",t={Bucket:`sndp-configuration-${e}`,Key:"html.json"};try{let e=await AW.getObject(t);if(void 0!==e.Body){let t=await e.Body.transformToString();return JSON.parse(t)}}catch(e){throw console.error("Failed to read HTML configurations from S3",e),e}throw Error("Failed to read HTML configurations from S3")},AX=async()=>{let e=Date.now();if(!AV||e>AV.expiresAt){let{config:t}=await AZ();AV={brazeWebSdkEnabled:t.is?.["braze.web-sdk.enabled"]??!1,copFunnelPath:t.is?.["html.cop.funnel"],expiresAt:e+6e4}}return AV},AJ=async()=>{let{brazeWebSdkEnabled:e}=await AX();return e},AY=async()=>{let{copFunnelPath:e}=await AX();return e};var AQ=e.i(47174);let A0=(0,rI.getEnv)(),A1={environment:A0,origin:(0,AQ.getOrigin)(A0)};var A2=e.i(67599);let A5=({Component:e,pageProps:t,asPath:r,braze:n,copFunnelPath:i})=>{var a;let s,o=(0,U.useRouter)(),[l,c]=(0,_.useState)(!0),[u,d]=(0,_.useState)(!1),[f,h]=(0,_.useState)(""),[p,m]=(0,_.useState)(!1);(0,_.useEffect)(()=>{let e=()=>{m(!0),document.body.setAttribute("tabIndex","-1")},t=()=>{c(!1),m(!1),document.body.focus()},r=()=>{document.body.removeAttribute("tabIndex")};return document.body.addEventListener("blur-sm",r),o.events.on("routeChangeStart",e),o.events.on("routeChangeComplete",t),o.events.on("routeChangeError",t),function(){o.events.off("routeChangeStart",e),o.events.off("routeChangeComplete",t),o.events.off("routeChangeError",t),document.body.removeEventListener("blur-sm",r)}},[o.asPath,o.events]);let g=(0,_.useCallback)(e=>{D.default.set("supersaaLastPath",e,{expires:365,path:"/"})},[]),y=(0,_.useCallback)(()=>{D.default.set("geolocationPermission",JSON.stringify({permission:!0,askedTimes:0,timestamp:Date.now()}),{expires:393})},[]),x=(a=r).startsWith("/sadetutka/")?"radar":/sovellukset/.exec(a)?"app-promo":/promo/.exec(a)?"embed-promo":"/404/"===a?"not-found":"weather",b=(s=t?.locationData,"/"!==r&&s?.url?s.url:"/"),w="app-promo"===x;return"embed-promo"===x?(0,I.jsx)(A2.default,{}):(0,I.jsx)(eX.ConfigProvider,{config:{...A1,braze:n,copFunnelPath:i},children:(0,I.jsxs)(H.UserProfileHandler,{children:[(0,I.jsx)(X,{currentPage:x,asPath:r,locationData:t?.locationData}),(0,I.jsxs)("div",{className:"flex flex-col min-h-screen",children:[(0,I.jsx)(rM,{currentPage:x,currentPath:b,loading:p,locationData:t?.locationData,setlocationPermissionDialogOpen:d,setPermissionLevel:h,isCentered:w,setLastPathCookie:g,permissionLevel:f}),(0,I.jsx)("main",{className:(0,B.default)("text-normal","flex","flex-col","flex-1","mb-4","z-0"),children:p?(0,I.jsx)(J.LoadingIndicator,{className:"text-center flex flex-col items-center min-h-screen loading-wrapper"}):(0,I.jsx)(e,{...t,isFirstPageLoad:l})}),(0,I.jsx)(eg,{currentPath:b,isCentered:w})]}),(0,I.jsx)(el,{modalOpen:u,setlocationPermissionDialogOpen:d,setPermissionLevel:h,permissionLevel:f,setLastPathCookie:g,setLocationPermissionCookie:y}),(0,I.jsx)($.InitialPageViewAds,{currentPage:x,locationData:t?.locationData,environment:A1.environment,asPath:r,copFunnelPath:i}),(0,I.jsx)(q,{analyticsMetadata:(0,z.getAnalyticsMetadata)(t),asPath:r}),(0,I.jsx)(F,{loading:p,environment:A1.environment})]})})};A5.getInitialProps=async({ctx:e})=>{let t=e.asPath;
16e.res&&e.res.setHeader("Cache-Control","max-age=0, s-maxage=300");let[r,n]=e.res?await Promise.all([AJ().then(e=>e?{clientToken:"prod"===(0,rI.getAPIEnv)()?"a6559bab-bbca-437a-bdf9-a457f6cc57d2":"4ad61b95-b7dd-426a-b0b2-2f0e978f5b4a",sdkEndpoint:"sdk.fra-02.braze.eu"}:void 0),AY()]):[void 0,void 0];return{asPath:t,braze:r,copFunnelPath:n}},e.s(["default",0,A5],3115)},68146,(e,t,r)=>{let n="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(3115)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.