From dd31262fa70ab5a71c74d92bb97484c0704b3821 Mon Sep 17 00:00:00 2001 From: Elias Lundgren <145569914+elias-lundgren@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:44:41 +0200 Subject: [PATCH] chore: update generated content Signed-off-by: Elias Lundgren <145569914+elias-lundgren@users.noreply.github.com> --- dist/index.js | 16 +++++++++++----- dist/index.js.map | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index e4f80c8..f561639 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,16 +1,22 @@ -require('./sourcemap-register.js');(()=>{var __webpack_modules__={7799:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.saveCache=i.restoreCache=i.isFeatureAvailable=i.ReserveCacheError=i.ValidationError=void 0;const d=l(a(2186));const u=l(a(1017));const m=l(a(1518));const h=l(a(8245));const g=a(3434);class ValidationError extends Error{constructor(r){super(r);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}i.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(r){super(r);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}i.ReserveCacheError=ReserveCacheError;function checkPaths(r){if(!r||r.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(r){if(r.length>512){throw new ValidationError(`Key Validation Error: ${r} cannot be larger than 512 characters.`)}const i=/^[^,]*$/;if(!i.test(r)){throw new ValidationError(`Key Validation Error: ${r} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}i.isFeatureAvailable=isFeatureAvailable;function restoreCache(r,i,a,s,p=false){return c(this,void 0,void 0,(function*(){checkPaths(r);a=a||[];const l=[i,...a];d.debug("Resolved Keys:");d.debug(JSON.stringify(l));if(l.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const r of l){checkKey(r)}const c=yield m.getCompressionMethod();let y="";try{const i=yield h.getCacheEntry(l,r,{compressionMethod:c,enableCrossOsArchive:p});if(!(i===null||i===void 0?void 0:i.archiveLocation)){return undefined}if(s===null||s===void 0?void 0:s.lookupOnly){d.info("Lookup only - skipping download");return i.cacheKey}y=u.join(yield m.createTempDirectory(),m.getCacheFileName(c));d.debug(`Archive Path: ${y}`);yield h.downloadCache(i.archiveLocation,y,s);if(d.isDebug()){yield(0,g.listTar)(y,c)}const a=m.getArchiveFileSizeInBytes(y);d.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);yield(0,g.extractTar)(y,c);d.info("Cache restored successfully");return i.cacheKey}catch(r){const i=r;if(i.name===ValidationError.name){throw r}else{d.warning(`Failed to restore: ${r.message}`)}}finally{try{yield m.unlinkFile(y)}catch(r){d.debug(`Failed to delete archive: ${r}`)}}return undefined}))}i.restoreCache=restoreCache;function saveCache(r,i,a,s=false){var p,l,y,v,b;return c(this,void 0,void 0,(function*(){checkPaths(r);checkKey(i);const c=yield m.getCompressionMethod();let x=-1;const w=yield m.resolvePaths(r);d.debug("Cache Paths:");d.debug(`${JSON.stringify(w)}`);if(w.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const S=yield m.createTempDirectory();const _=u.join(S,m.getCacheFileName(c));d.debug(`Archive Path: ${_}`);try{yield(0,g.createTar)(S,w,c);if(d.isDebug()){yield(0,g.listTar)(_,c)}const u=10*1024*1024*1024;const E=m.getArchiveFileSizeInBytes(_);d.debug(`File Size: ${E}`);if(E>u&&!m.isGhes()){throw new Error(`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const T=yield h.reserveCache(i,r,{compressionMethod:c,enableCrossOsArchive:s,cacheSize:E});if((p=T===null||T===void 0?void 0:T.result)===null||p===void 0?void 0:p.cacheId){x=(l=T===null||T===void 0?void 0:T.result)===null||l===void 0?void 0:l.cacheId}else if((T===null||T===void 0?void 0:T.statusCode)===400){throw new Error((v=(y=T===null||T===void 0?void 0:T.error)===null||y===void 0?void 0:y.message)!==null&&v!==void 0?v:`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(b=T===null||T===void 0?void 0:T.error)===null||b===void 0?void 0:b.message}`)}d.debug(`Saving Cache (ID: ${x})`);yield h.saveCache(x,_,a)}catch(r){const i=r;if(i.name===ValidationError.name){throw r}else if(i.name===ReserveCacheError.name){d.info(`Failed to save: ${i.message}`)}else{d.warning(`Failed to save: ${i.message}`)}}finally{try{yield m.unlinkFile(_)}catch(r){d.debug(`Failed to delete archive: ${r}`)}}return x}))}i.saveCache=saveCache},8245:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.saveCache=i.reserveCache=i.downloadCache=i.getCacheEntry=i.getCacheVersion=void 0;const d=l(a(2186));const u=a(6255);const m=a(5526);const h=l(a(6113));const g=l(a(7147));const y=a(7310);const v=l(a(1518));const b=a(5500);const x=a(6215);const w=a(3981);const S="1.0";function getCacheApiUrl(r){const i=process.env["ACTIONS_CACHE_URL"]||"";if(!i){throw new Error("Cache Service Url not found, unable to restore cache.")}const a=`${i}_apis/artifactcache/${r}`;d.debug(`Resource Url: ${a}`);return a}function createAcceptHeader(r,i){return`${r};api-version=${i}`}function getRequestOptions(){const r={headers:{Accept:createAcceptHeader("application/json","6.0-preview.1")}};return r}function createHttpClient(){const r=process.env["ACTIONS_RUNTIME_TOKEN"]||"";const i=new m.BearerCredentialHandler(r);return new u.HttpClient("actions/cache",[i],getRequestOptions())}function getCacheVersion(r,i,a=false){const s=r;if(i){s.push(i)}if(process.platform==="win32"&&!a){s.push("windows-only")}s.push(S);return h.createHash("sha256").update(s.join("|")).digest("hex")}i.getCacheVersion=getCacheVersion;function getCacheEntry(r,i,a){return c(this,void 0,void 0,(function*(){const s=createHttpClient();const p=getCacheVersion(i,a===null||a===void 0?void 0:a.compressionMethod,a===null||a===void 0?void 0:a.enableCrossOsArchive);const l=`cache?keys=${encodeURIComponent(r.join(","))}&version=${p}`;const u=yield(0,w.retryTypedResponse)("getCacheEntry",(()=>c(this,void 0,void 0,(function*(){return s.getJson(getCacheApiUrl(l))}))));if(u.statusCode===204){if(d.isDebug()){yield printCachesListForDiagnostics(r[0],s,p)}return null}if(!(0,w.isSuccessStatusCode)(u.statusCode)){throw new Error(`Cache service responded with ${u.statusCode}`)}const m=u.result;const h=m===null||m===void 0?void 0:m.archiveLocation;if(!h){throw new Error("Cache not found.")}d.setSecret(h);d.debug(`Cache Result:`);d.debug(JSON.stringify(m));return m}))}i.getCacheEntry=getCacheEntry;function printCachesListForDiagnostics(r,i,a){return c(this,void 0,void 0,(function*(){const s=`caches?key=${encodeURIComponent(r)}`;const p=yield(0,w.retryTypedResponse)("listCache",(()=>c(this,void 0,void 0,(function*(){return i.getJson(getCacheApiUrl(s))}))));if(p.statusCode===200){const i=p.result;const s=i===null||i===void 0?void 0:i.totalCount;if(s&&s>0){d.debug(`No matching cache found for cache key '${r}', version '${a} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const r of(i===null||i===void 0?void 0:i.artifactCaches)||[]){d.debug(`Cache Key: ${r===null||r===void 0?void 0:r.cacheKey}, Cache Version: ${r===null||r===void 0?void 0:r.cacheVersion}, Cache Scope: ${r===null||r===void 0?void 0:r.scope}, Cache Created: ${r===null||r===void 0?void 0:r.creationTime}`)}}}}))}function downloadCache(r,i,a){return c(this,void 0,void 0,(function*(){const s=new y.URL(r);const p=(0,x.getDownloadOptions)(a);if(s.hostname.endsWith(".blob.core.windows.net")){if(p.useAzureSdk){yield(0,b.downloadCacheStorageSDK)(r,i,p)}else if(p.concurrentBlobDownloads){yield(0,b.downloadCacheHttpClientConcurrent)(r,i,p)}else{yield(0,b.downloadCacheHttpClient)(r,i)}}else{yield(0,b.downloadCacheHttpClient)(r,i)}}))}i.downloadCache=downloadCache;function reserveCache(r,i,a){return c(this,void 0,void 0,(function*(){const s=createHttpClient();const p=getCacheVersion(i,a===null||a===void 0?void 0:a.compressionMethod,a===null||a===void 0?void 0:a.enableCrossOsArchive);const l={key:r,version:p,cacheSize:a===null||a===void 0?void 0:a.cacheSize};const d=yield(0,w.retryTypedResponse)("reserveCache",(()=>c(this,void 0,void 0,(function*(){return s.postJson(getCacheApiUrl("caches"),l)}))));return d}))}i.reserveCache=reserveCache;function getContentRange(r,i){return`bytes ${r}-${i}/*`}function uploadChunk(r,i,a,s,p){return c(this,void 0,void 0,(function*(){d.debug(`Uploading chunk of size ${p-s+1} bytes at offset ${s} with content range: ${getContentRange(s,p)}`);const l={"Content-Type":"application/octet-stream","Content-Range":getContentRange(s,p)};const u=yield(0,w.retryHttpClientResponse)(`uploadChunk (start: ${s}, end: ${p})`,(()=>c(this,void 0,void 0,(function*(){return r.sendStream("PATCH",i,a(),l)}))));if(!(0,w.isSuccessStatusCode)(u.message.statusCode)){throw new Error(`Cache service responded with ${u.message.statusCode} during upload chunk.`)}}))}function uploadFile(r,i,a,s){return c(this,void 0,void 0,(function*(){const p=v.getArchiveFileSizeInBytes(a);const l=getCacheApiUrl(`caches/${i.toString()}`);const u=g.openSync(a,"r");const m=(0,x.getUploadOptions)(s);const h=v.assertDefined("uploadConcurrency",m.uploadConcurrency);const y=v.assertDefined("uploadChunkSize",m.uploadChunkSize);const b=[...new Array(h).keys()];d.debug("Awaiting all uploads");let w=0;try{yield Promise.all(b.map((()=>c(this,void 0,void 0,(function*(){while(w
g.createReadStream(a,{fd:u,start:s,end:c,autoClose:false}).on("error",(r=>{throw new Error(`Cache upload failed because file read failed with ${r.message}`)}))),s,c)}})))))}finally{g.closeSync(u)}return}))}function commitCache(r,i,a){return c(this,void 0,void 0,(function*(){const s={size:a};return yield(0,w.retryTypedResponse)("commitCache",(()=>c(this,void 0,void 0,(function*(){return r.postJson(getCacheApiUrl(`caches/${i.toString()}`),s)}))))}))}function saveCache(r,i,a){return c(this,void 0,void 0,(function*(){const s=createHttpClient();d.debug("Upload cache");yield uploadFile(s,r,i,a);d.debug("Commiting cache");const p=v.getArchiveFileSizeInBytes(i);d.info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);const l=yield commitCache(s,r,p);if(!(0,w.isSuccessStatusCode)(l.statusCode)){throw new Error(`Cache service responded with ${l.statusCode} during commit cache.`)}d.info("Cache saved successfully")}))}i.saveCache=saveCache},1518:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};var d=this&&this.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r[Symbol.asyncIterator],a;return i?i.call(r):(r=typeof __values==="function"?__values(r):r[Symbol.iterator](),a={},verb("next"),verb("throw"),verb("return"),a[Symbol.asyncIterator]=function(){return this},a);function verb(i){a[i]=r[i]&&function(a){return new Promise((function(s,p){a=r[i](a),settle(s,p,a.done,a.value)}))}}function settle(r,i,a,s){Promise.resolve(s).then((function(i){r({value:i,done:a})}),i)}};Object.defineProperty(i,"__esModule",{value:true});i.isGhes=i.assertDefined=i.getGnuTarPathOnWindows=i.getCacheFileName=i.getCompressionMethod=i.unlinkFile=i.resolvePaths=i.getArchiveFileSizeInBytes=i.createTempDirectory=void 0;const u=l(a(2186));const m=l(a(1514));const h=l(a(8090));const g=l(a(7436));const y=l(a(7147));const v=l(a(1017));const b=l(a(5911));const x=l(a(3837));const w=a(4138);const S=a(3068);function createTempDirectory(){return c(this,void 0,void 0,(function*(){const r=process.platform==="win32";let i=process.env["RUNNER_TEMP"]||"";if(!i){let a;if(r){a=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){a="/Users"}else{a="/home"}}i=v.join(a,"actions","temp")}const a=v.join(i,(0,w.v4)());yield g.mkdirP(a);return a}))}i.createTempDirectory=createTempDirectory;function getArchiveFileSizeInBytes(r){return y.statSync(r).size}i.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;function resolvePaths(r){var i,a,s,p;var l;return c(this,void 0,void 0,(function*(){const c=[];const m=(l=process.env["GITHUB_WORKSPACE"])!==null&&l!==void 0?l:process.cwd();const g=yield h.create(r.join("\n"),{implicitDescendants:false});try{for(var y=true,b=d(g.globGenerator()),x;x=yield b.next(),i=x.done,!i;){p=x.value;y=false;try{const r=p;const i=v.relative(m,r).replace(new RegExp(`\\${v.sep}`,"g"),"/");u.debug(`Matched: ${i}`);if(i===""){c.push(".")}else{c.push(`${i}`)}}finally{y=true}}}catch(r){a={error:r}}finally{try{if(!y&&!i&&(s=b.return))yield s.call(b)}finally{if(a)throw a.error}}return c}))}i.resolvePaths=resolvePaths;function unlinkFile(r){return c(this,void 0,void 0,(function*(){return x.promisify(y.unlink)(r)}))}i.unlinkFile=unlinkFile;function getVersion(r,i=[]){return c(this,void 0,void 0,(function*(){let a="";i.push("--version");u.debug(`Checking ${r} ${i.join(" ")}`);try{yield m.exec(`${r}`,i,{ignoreReturnCode:true,silent:true,listeners:{stdout:r=>a+=r.toString(),stderr:r=>a+=r.toString()}})}catch(r){u.debug(r.message)}a=a.trim();u.debug(a);return a}))}function getCompressionMethod(){return c(this,void 0,void 0,(function*(){const r=yield getVersion("zstd",["--quiet"]);const i=b.clean(r);u.debug(`zstd version: ${i}`);if(r===""){return S.CompressionMethod.Gzip}else{return S.CompressionMethod.ZstdWithoutLong}}))}i.getCompressionMethod=getCompressionMethod;function getCacheFileName(r){return r===S.CompressionMethod.Gzip?S.CacheFilename.Gzip:S.CacheFilename.Zstd}i.getCacheFileName=getCacheFileName;function getGnuTarPathOnWindows(){return c(this,void 0,void 0,(function*(){if(y.existsSync(S.GnuTarPathOnWindows)){return S.GnuTarPathOnWindows}const r=yield getVersion("tar");return r.toLowerCase().includes("gnu tar")?g.which("tar"):""}))}i.getGnuTarPathOnWindows=getGnuTarPathOnWindows;function assertDefined(r,i){if(i===undefined){throw Error(`Expected ${r} but value was undefiend`)}return i}i.assertDefined=assertDefined;function isGhes(){const r=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");return r.hostname.toUpperCase()!=="GITHUB.COM"}i.isGhes=isGhes},3068:(r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.ManifestFilename=i.TarFilename=i.SystemTarPathOnWindows=i.GnuTarPathOnWindows=i.SocketTimeout=i.DefaultRetryDelay=i.DefaultRetryAttempts=i.ArchiveToolType=i.CompressionMethod=i.CacheFilename=void 0;var a;(function(r){r["Gzip"]="cache.tgz";r["Zstd"]="cache.tzst"})(a=i.CacheFilename||(i.CacheFilename={}));var s;(function(r){r["Gzip"]="gzip";r["ZstdWithoutLong"]="zstd-without-long";r["Zstd"]="zstd"})(s=i.CompressionMethod||(i.CompressionMethod={}));var p;(function(r){r["GNU"]="gnu";r["BSD"]="bsd"})(p=i.ArchiveToolType||(i.ArchiveToolType={}));i.DefaultRetryAttempts=2;i.DefaultRetryDelay=5e3;i.SocketTimeout=5e3;i.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;i.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;i.TarFilename="cache.tar";i.ManifestFilename="manifest.txt"},5500:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.downloadCacheStorageSDK=i.downloadCacheHttpClientConcurrent=i.downloadCacheHttpClient=i.DownloadProgress=void 0;const d=l(a(2186));const u=a(6255);const m=a(4100);const h=l(a(4300));const g=l(a(7147));const y=l(a(2781));const v=l(a(3837));const b=l(a(1518));const x=a(3068);const w=a(3981);const S=a(2557);function pipeResponseToStream(r,i){return c(this,void 0,void 0,(function*(){const a=v.promisify(y.pipeline);yield a(r.message,i)}))}class DownloadProgress{constructor(r){this.contentLength=r;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(r){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=r;this.receivedBytes=0;d.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(r){this.receivedBytes=r}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const r=this.segmentOffset+this.receivedBytes;const i=(100*(r/this.contentLength)).toFixed(1);const a=Date.now()-this.startTime;const s=(r/(1024*1024)/(a/1e3)).toFixed(1);d.info(`Received ${r} of ${this.contentLength} (${i}%), ${s} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return r=>{this.setReceivedBytes(r.loadedBytes)}}startDisplayTimer(r=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,r)}};this.timeoutHandle=setTimeout(displayCallback,r)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}i.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(r,i){return c(this,void 0,void 0,(function*(){const a=g.createWriteStream(i);const s=new u.HttpClient("actions/cache");const p=yield(0,w.retryHttpClientResponse)("downloadCache",(()=>c(this,void 0,void 0,(function*(){return s.get(r)}))));p.message.socket.setTimeout(x.SocketTimeout,(()=>{p.message.destroy();d.debug(`Aborting download, socket timed out after ${x.SocketTimeout} ms`)}));yield pipeResponseToStream(p,a);const l=p.message.headers["content-length"];if(l){const r=parseInt(l);const a=b.getArchiveFileSizeInBytes(i);if(a!==r){throw new Error(`Incomplete download. Expected file size: ${r}, actual file size: ${a}`)}}else{d.debug("Unable to validate download, no Content-Length header")}}))}i.downloadCacheHttpClient=downloadCacheHttpClient;function downloadCacheHttpClientConcurrent(r,i,a){var s;return c(this,void 0,void 0,(function*(){const p=yield g.promises.open(i,"w");const l=new u.HttpClient("actions/cache",undefined,{socketTimeout:a.timeoutInMs,keepAlive:true});try{const i=yield(0,w.retryHttpClientResponse)("downloadCacheMetadata",(()=>c(this,void 0,void 0,(function*(){return yield l.request("HEAD",r,null,{})}))));const d=i.message.headers["content-length"];if(d===undefined||d===null){throw new Error("Content-Length not found on blob response")}const u=parseInt(d);if(Number.isNaN(u)){throw new Error(`Could not interpret Content-Length: ${u}`)}const m=[];const h=4*1024*1024;for(let i=0;ic(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(l,r,i,a)}))})}m.reverse();let g=0;let y=0;const v=new DownloadProgress(u);v.startDisplayTimer();const b=v.onProgress();const x=[];let S;const waitAndWrite=()=>c(this,void 0,void 0,(function*(){const r=yield Promise.race(Object.values(x));yield p.write(r.buffer,0,r.count,r.offset);g--;delete x[r.offset];y+=r.count;b({loadedBytes:y})}));while(S=m.pop()){x[S.offset]=S.promiseGetter();g++;if(g>=((s=a.downloadConcurrency)!==null&&s!==void 0?s:10)){yield waitAndWrite()}}while(g>0){yield waitAndWrite()}}finally{l.dispose();yield p.close()}}))}i.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;function downloadSegmentRetry(r,i,a,s){return c(this,void 0,void 0,(function*(){const p=5;let l=0;while(true){try{const p=3e4;const l=yield promiseWithTimeout(p,downloadSegment(r,i,a,s));if(typeof l==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return l}catch(r){if(l>=p){throw r}l++}}}))}function downloadSegment(r,i,a,s){return c(this,void 0,void 0,(function*(){const p=yield(0,w.retryHttpClientResponse)("downloadCachePart",(()=>c(this,void 0,void 0,(function*(){return yield r.get(i,{Range:`bytes=${a}-${a+s-1}`})}))));if(!p.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:a,count:s,buffer:yield p.readBodyBuffer()}}))}function downloadCacheStorageSDK(r,i,a){var s;return c(this,void 0,void 0,(function*(){const p=new m.BlockBlobClient(r,undefined,{retryOptions:{tryTimeoutInMs:a.timeoutInMs}});const l=yield p.getProperties();const c=(s=l.contentLength)!==null&&s!==void 0?s:-1;if(c<0){d.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(r,i)}else{const r=Math.min(134217728,h.constants.MAX_LENGTH);const s=new DownloadProgress(c);const l=g.openSync(i,"w");try{s.startDisplayTimer();const i=new S.AbortController;const d=i.signal;while(!s.isDone()){const u=s.segmentOffset+s.segmentSize;const m=Math.min(r,c-u);s.nextSegment(m);const h=yield promiseWithTimeout(a.segmentTimeoutInMs||36e5,p.downloadToBuffer(u,m,{abortSignal:d,concurrency:a.downloadConcurrency,onProgress:s.onProgress()}));if(h==="timeout"){i.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(h)){g.writeFileSync(l,h)}}}finally{s.stopDisplayTimer();g.closeSync(l)}}}))}i.downloadCacheStorageSDK=downloadCacheStorageSDK;const promiseWithTimeout=(r,i)=>c(void 0,void 0,void 0,(function*(){let a;const s=new Promise((i=>{a=setTimeout((()=>i("timeout")),r)}));return Promise.race([i,s]).then((r=>{clearTimeout(a);return r}))}))},3981:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.retryHttpClientResponse=i.retryTypedResponse=i.retry=i.isRetryableStatusCode=i.isServerErrorStatusCode=i.isSuccessStatusCode=void 0;const d=l(a(2186));const u=a(6255);const m=a(3068);function isSuccessStatusCode(r){if(!r){return false}return r>=200&&r<300}i.isSuccessStatusCode=isSuccessStatusCode;function isServerErrorStatusCode(r){if(!r){return true}return r>=500}i.isServerErrorStatusCode=isServerErrorStatusCode;function isRetryableStatusCode(r){if(!r){return false}const i=[u.HttpCodes.BadGateway,u.HttpCodes.ServiceUnavailable,u.HttpCodes.GatewayTimeout];return i.includes(r)}i.isRetryableStatusCode=isRetryableStatusCode;function sleep(r){return c(this,void 0,void 0,(function*(){return new Promise((i=>setTimeout(i,r)))}))}function retry(r,i,a,s=m.DefaultRetryAttempts,p=m.DefaultRetryDelay,l=undefined){return c(this,void 0,void 0,(function*(){let c="";let u=1;while(u<=s){let m=undefined;let h=undefined;let g=false;try{m=yield i()}catch(r){if(l){m=l(r)}g=true;c=r.message}if(m){h=a(m);if(!isServerErrorStatusCode(h)){return m}}if(h){g=isRetryableStatusCode(h);c=`Cache service responded with ${h}`}d.debug(`${r} - Attempt ${u} of ${s} failed with error: ${c}`);if(!g){d.debug(`${r} - Error is not retryable`);break}yield sleep(p);u++}throw Error(`${r} failed: ${c}`)}))}i.retry=retry;function retryTypedResponse(r,i,a=m.DefaultRetryAttempts,s=m.DefaultRetryDelay){return c(this,void 0,void 0,(function*(){return yield retry(r,i,(r=>r.statusCode),a,s,(r=>{if(r instanceof u.HttpClientError){return{statusCode:r.statusCode,result:null,headers:{},error:r}}else{return undefined}}))}))}i.retryTypedResponse=retryTypedResponse;function retryHttpClientResponse(r,i,a=m.DefaultRetryAttempts,s=m.DefaultRetryDelay){return c(this,void 0,void 0,(function*(){return yield retry(r,i,(r=>r.message.statusCode),a,s)}))}i.retryHttpClientResponse=retryHttpClientResponse},3434:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.createTar=i.extractTar=i.listTar=void 0;const d=a(1514);const u=l(a(7436));const m=a(7147);const h=l(a(1017));const g=l(a(1518));const y=a(3068);const v=process.platform==="win32";function getTarPath(){return c(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const r=yield g.getGnuTarPathOnWindows();const i=y.SystemTarPathOnWindows;if(r){return{path:r,type:y.ArchiveToolType.GNU}}else if((0,m.existsSync)(i)){return{path:i,type:y.ArchiveToolType.BSD}}break}case"darwin":{const r=yield u.which("gtar",false);if(r){return{path:r,type:y.ArchiveToolType.GNU}}else{return{path:yield u.which("tar",true),type:y.ArchiveToolType.BSD}}}default:break}return{path:yield u.which("tar",true),type:y.ArchiveToolType.GNU}}))}function getTarArgs(r,i,a,s=""){return c(this,void 0,void 0,(function*(){const p=[`"${r.path}"`];const l=g.getCacheFileName(i);const c="cache.tar";const d=getWorkingDirectory();const u=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(a){case"create":p.push("--posix","-cf",u?c:l.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"--exclude",u?c:l.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"--files-from",y.ManifestFilename);break;case"extract":p.push("-xf",u?c:s.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${h.sep}`,"g"),"/"));break;case"list":p.push("-tf",u?c:s.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P");break}if(r.type===y.ArchiveToolType.GNU){switch(process.platform){case"win32":p.push("--force-local");break;case"darwin":p.push("--delay-directory-restore");break}}return p}))}function getCommands(r,i,a=""){return c(this,void 0,void 0,(function*(){let s;const p=yield getTarPath();const l=yield getTarArgs(p,r,i,a);const c=i!=="create"?yield getDecompressionProgram(p,r,a):yield getCompressionProgram(p,r);const d=p.type===y.ArchiveToolType.BSD&&r!==y.CompressionMethod.Gzip&&v;if(d&&i!=="create"){s=[[...c].join(" "),[...l].join(" ")]}else{s=[[...l].join(" "),[...c].join(" ")]}if(d){return s}return[s.join(" ")]}))}function getWorkingDirectory(){var r;return(r=process.env["GITHUB_WORKSPACE"])!==null&&r!==void 0?r:process.cwd()}function getDecompressionProgram(r,i,a){return c(this,void 0,void 0,(function*(){const s=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(i){case y.CompressionMethod.Zstd:return s?["zstd -d --long=30 --force -o",y.TarFilename,a.replace(new RegExp(`\\${h.sep}`,"g"),"/")]:["--use-compress-program",v?'"zstd -d --long=30"':"unzstd --long=30"];case y.CompressionMethod.ZstdWithoutLong:return s?["zstd -d --force -o",y.TarFilename,a.replace(new RegExp(`\\${h.sep}`,"g"),"/")]:["--use-compress-program",v?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(r,i){return c(this,void 0,void 0,(function*(){const a=g.getCacheFileName(i);const s=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(i){case y.CompressionMethod.Zstd:return s?["zstd -T0 --long=30 --force -o",a.replace(new RegExp(`\\${h.sep}`,"g"),"/"),y.TarFilename]:["--use-compress-program",v?'"zstd -T0 --long=30"':"zstdmt --long=30"];case y.CompressionMethod.ZstdWithoutLong:return s?["zstd -T0 --force -o",a.replace(new RegExp(`\\${h.sep}`,"g"),"/"),y.TarFilename]:["--use-compress-program",v?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(r,i){return c(this,void 0,void 0,(function*(){for(const a of r){try{yield(0,d.exec)(a,undefined,{cwd:i,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(r){throw new Error(`${a.split(" ")[0]} failed with error: ${r===null||r===void 0?void 0:r.message}`)}}}))}function listTar(r,i){return c(this,void 0,void 0,(function*(){const a=yield getCommands(i,"list",r);yield execCommands(a)}))}i.listTar=listTar;function extractTar(r,i){return c(this,void 0,void 0,(function*(){const a=getWorkingDirectory();yield u.mkdirP(a);const s=yield getCommands(i,"extract",r);yield execCommands(s)}))}i.extractTar=extractTar;function createTar(r,i,a){return c(this,void 0,void 0,(function*(){(0,m.writeFileSync)(h.join(r,y.ManifestFilename),i.join("\n"));const s=yield getCommands(a,"create");yield execCommands(s,r)}))}i.createTar=createTar},6215:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.getDownloadOptions=i.getUploadOptions=void 0;const c=l(a(2186));function getUploadOptions(r){const i={uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(r){if(typeof r.uploadConcurrency==="number"){i.uploadConcurrency=r.uploadConcurrency}if(typeof r.uploadChunkSize==="number"){i.uploadChunkSize=r.uploadChunkSize}}c.debug(`Upload concurrency: ${i.uploadConcurrency}`);c.debug(`Upload chunk size: ${i.uploadChunkSize}`);return i}i.getUploadOptions=getUploadOptions;function getDownloadOptions(r){const i={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(r){if(typeof r.useAzureSdk==="boolean"){i.useAzureSdk=r.useAzureSdk}if(typeof r.concurrentBlobDownloads==="boolean"){i.concurrentBlobDownloads=r.concurrentBlobDownloads}if(typeof r.downloadConcurrency==="number"){i.downloadConcurrency=r.downloadConcurrency}if(typeof r.timeoutInMs==="number"){i.timeoutInMs=r.timeoutInMs}if(typeof r.segmentTimeoutInMs==="number"){i.segmentTimeoutInMs=r.segmentTimeoutInMs}if(typeof r.lookupOnly==="boolean"){i.lookupOnly=r.lookupOnly}}const a=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(a&&!isNaN(Number(a))&&isFinite(Number(a))){i.segmentTimeoutInMs=Number(a)*60*1e3}c.debug(`Use Azure SDK: ${i.useAzureSdk}`);c.debug(`Download concurrency: ${i.downloadConcurrency}`);c.debug(`Request timeout (ms): ${i.timeoutInMs}`);c.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);c.debug(`Segment download timeout (ms): ${i.segmentTimeoutInMs}`);c.debug(`Lookup only: ${i.lookupOnly}`);return i}i.getDownloadOptions=getDownloadOptions},4138:(r,i,a)=>{var s=a(1610);var p=a(8373);var l=p;l.v1=s;l.v4=p;r.exports=l},5694:r=>{var i=[];for(var a=0;a<256;++a){i[a]=(a+256).toString(16).substr(1)}function bytesToUuid(r,a){var s=a||0;var p=i;return[p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]]].join("")}r.exports=bytesToUuid},4069:(r,i,a)=>{var s=a(6113);r.exports=function nodeRNG(){return s.randomBytes(16)}},1610:(r,i,a)=>{var s=a(4069);var p=a(5694);var l;var c;var d=0;var u=0;function v1(r,i,a){var m=i&&a||0;var h=i||[];r=r||{};var g=r.node||l;var y=r.clockseq!==undefined?r.clockseq:c;if(g==null||y==null){var v=s();if(g==null){g=l=[v[0]|1,v[1],v[2],v[3],v[4],v[5]]}if(y==null){y=c=(v[6]<<8|v[7])&16383}}var b=r.msecs!==undefined?r.msecs:(new Date).getTime();var x=r.nsecs!==undefined?r.nsecs:u+1;var w=b-d+(x-u)/1e4;if(w<0&&r.clockseq===undefined){y=y+1&16383}if((w<0||b>d)&&r.nsecs===undefined){x=0}if(x>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}d=b;u=x;c=y;b+=122192928e5;var S=((b&268435455)*1e4+x)%4294967296;h[m++]=S>>>24&255;h[m++]=S>>>16&255;h[m++]=S>>>8&255;h[m++]=S&255;var _=b/4294967296*1e4&268435455;h[m++]=_>>>8&255;h[m++]=_&255;h[m++]=_>>>24&15|16;h[m++]=_>>>16&255;h[m++]=y>>>8|128;h[m++]=y&255;for(var E=0;E<6;++E){h[m+E]=g[E]}return i?i:p(h)}r.exports=v1},8373:(r,i,a)=>{var s=a(4069);var p=a(5694);function v4(r,i,a){var l=i&&a||0;if(typeof r=="string"){i=r==="binary"?new Array(16):null;r=null}r=r||{};var c=r.random||(r.rng||s)();c[6]=c[6]&15|64;c[8]=c[8]&63|128;if(i){for(var d=0;d<16;++d){i[l+d]=c[d]}}return i||p(c)}r.exports=v4},7351:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.issue=i.issueCommand=void 0;const c=l(a(2037));const d=a(5278);function issueCommand(r,i,a){const s=new Command(r,i,a);process.stdout.write(s.toString()+c.EOL)}i.issueCommand=issueCommand;function issue(r,i=""){issueCommand(r,{},i)}i.issue=issue;const u="::";class Command{constructor(r,i,a){if(!r){r="missing.command"}this.command=r;this.properties=i;this.message=a}toString(){let r=u+this.command;if(this.properties&&Object.keys(this.properties).length>0){r+=" ";let i=true;for(const a in this.properties){if(this.properties.hasOwnProperty(a)){const s=this.properties[a];if(s){if(i){i=false}else{r+=","}r+=`${a}=${escapeProperty(s)}`}}}}r+=`${u}${escapeData(this.message)}`;return r}}function escapeData(r){return d.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(r){return d.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getIDToken=i.getState=i.saveState=i.group=i.endGroup=i.startGroup=i.info=i.notice=i.warning=i.error=i.debug=i.isDebug=i.setFailed=i.setCommandEcho=i.setOutput=i.getBooleanInput=i.getMultilineInput=i.getInput=i.addPath=i.setSecret=i.exportVariable=i.ExitCode=void 0;const d=a(7351);const u=a(717);const m=a(5278);const h=l(a(2037));const g=l(a(1017));const y=a(8041);var v;(function(r){r[r["Success"]=0]="Success";r[r["Failure"]=1]="Failure"})(v=i.ExitCode||(i.ExitCode={}));function exportVariable(r,i){const a=m.toCommandValue(i);process.env[r]=a;const s=process.env["GITHUB_ENV"]||"";if(s){return u.issueFileCommand("ENV",u.prepareKeyValueMessage(r,i))}d.issueCommand("set-env",{name:r},a)}i.exportVariable=exportVariable;function setSecret(r){d.issueCommand("add-mask",{},r)}i.setSecret=setSecret;function addPath(r){const i=process.env["GITHUB_PATH"]||"";if(i){u.issueFileCommand("PATH",r)}else{d.issueCommand("add-path",{},r)}process.env["PATH"]=`${r}${g.delimiter}${process.env["PATH"]}`}i.addPath=addPath;function getInput(r,i){const a=process.env[`INPUT_${r.replace(/ /g,"_").toUpperCase()}`]||"";if(i&&i.required&&!a){throw new Error(`Input required and not supplied: ${r}`)}if(i&&i.trimWhitespace===false){return a}return a.trim()}i.getInput=getInput;function getMultilineInput(r,i){const a=getInput(r,i).split("\n").filter((r=>r!==""));if(i&&i.trimWhitespace===false){return a}return a.map((r=>r.trim()))}i.getMultilineInput=getMultilineInput;function getBooleanInput(r,i){const a=["true","True","TRUE"];const s=["false","False","FALSE"];const p=getInput(r,i);if(a.includes(p))return true;if(s.includes(p))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${r}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}i.getBooleanInput=getBooleanInput;function setOutput(r,i){const a=process.env["GITHUB_OUTPUT"]||"";if(a){return u.issueFileCommand("OUTPUT",u.prepareKeyValueMessage(r,i))}process.stdout.write(h.EOL);d.issueCommand("set-output",{name:r},m.toCommandValue(i))}i.setOutput=setOutput;function setCommandEcho(r){d.issue("echo",r?"on":"off")}i.setCommandEcho=setCommandEcho;function setFailed(r){process.exitCode=v.Failure;error(r)}i.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}i.isDebug=isDebug;function debug(r){d.issueCommand("debug",{},r)}i.debug=debug;function error(r,i={}){d.issueCommand("error",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.error=error;function warning(r,i={}){d.issueCommand("warning",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.warning=warning;function notice(r,i={}){d.issueCommand("notice",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.notice=notice;function info(r){process.stdout.write(r+h.EOL)}i.info=info;function startGroup(r){d.issue("group",r)}i.startGroup=startGroup;function endGroup(){d.issue("endgroup")}i.endGroup=endGroup;function group(r,i){return c(this,void 0,void 0,(function*(){startGroup(r);let a;try{a=yield i()}finally{endGroup()}return a}))}i.group=group;function saveState(r,i){const a=process.env["GITHUB_STATE"]||"";if(a){return u.issueFileCommand("STATE",u.prepareKeyValueMessage(r,i))}d.issueCommand("save-state",{name:r},m.toCommandValue(i))}i.saveState=saveState;function getState(r){return process.env[`STATE_${r}`]||""}i.getState=getState;function getIDToken(r){return c(this,void 0,void 0,(function*(){return yield y.OidcClient.getIDToken(r)}))}i.getIDToken=getIDToken;var b=a(1327);Object.defineProperty(i,"summary",{enumerable:true,get:function(){return b.summary}});var x=a(1327);Object.defineProperty(i,"markdownSummary",{enumerable:true,get:function(){return x.markdownSummary}});var w=a(2981);Object.defineProperty(i,"toPosixPath",{enumerable:true,get:function(){return w.toPosixPath}});Object.defineProperty(i,"toWin32Path",{enumerable:true,get:function(){return w.toWin32Path}});Object.defineProperty(i,"toPlatformPath",{enumerable:true,get:function(){return w.toPlatformPath}})},717:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.prepareKeyValueMessage=i.issueFileCommand=void 0;const c=l(a(7147));const d=l(a(2037));const u=a(5840);const m=a(5278);function issueFileCommand(r,i){const a=process.env[`GITHUB_${r}`];if(!a){throw new Error(`Unable to find environment variable for file command ${r}`)}if(!c.existsSync(a)){throw new Error(`Missing file at path: ${a}`)}c.appendFileSync(a,`${m.toCommandValue(i)}${d.EOL}`,{encoding:"utf8"})}i.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(r,i){const a=`ghadelimiter_${u.v4()}`;const s=m.toCommandValue(i);if(r.includes(a)){throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`)}if(s.includes(a)){throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`)}return`${r}<<${a}${d.EOL}${s}${d.EOL}${a}`}i.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(r,i,a){"use strict";var s=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.OidcClient=void 0;const p=a(6255);const l=a(5526);const c=a(2186);class OidcClient{static createHttpClient(r=true,i=10){const a={allowRetries:r,maxRetries:i};return new p.HttpClient("actions/oidc-client",[new l.BearerCredentialHandler(OidcClient.getRequestToken())],a)}static getRequestToken(){const r=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!r){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return r}static getIDTokenUrl(){const r=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!r){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return r}static getCall(r){var i;return s(this,void 0,void 0,(function*(){const a=OidcClient.createHttpClient();const s=yield a.getJson(r).catch((r=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${r.statusCode}\n \n Error Message: ${r.message}`)}));const p=(i=s.result)===null||i===void 0?void 0:i.value;if(!p){throw new Error("Response json body do not have ID Token field")}return p}))}static getIDToken(r){return s(this,void 0,void 0,(function*(){try{let i=OidcClient.getIDTokenUrl();if(r){const a=encodeURIComponent(r);i=`${i}&audience=${a}`}c.debug(`ID token url is ${i}`);const a=yield OidcClient.getCall(i);c.setSecret(a);return a}catch(r){throw new Error(`Error message: ${r.message}`)}}))}}i.OidcClient=OidcClient},2981:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.toPlatformPath=i.toWin32Path=i.toPosixPath=void 0;const c=l(a(1017));function toPosixPath(r){return r.replace(/[\\]/g,"/")}i.toPosixPath=toPosixPath;function toWin32Path(r){return r.replace(/[/]/g,"\\")}i.toWin32Path=toWin32Path;function toPlatformPath(r){return r.replace(/[/\\]/g,c.sep)}i.toPlatformPath=toPlatformPath},1327:function(r,i,a){"use strict";var s=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.summary=i.markdownSummary=i.SUMMARY_DOCS_URL=i.SUMMARY_ENV_VAR=void 0;const p=a(2037);const l=a(7147);const{access:c,appendFile:d,writeFile:u}=l.promises;i.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";i.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return s(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const r=process.env[i.SUMMARY_ENV_VAR];if(!r){throw new Error(`Unable to find environment variable for $${i.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(r,l.constants.R_OK|l.constants.W_OK)}catch(i){throw new Error(`Unable to access summary file: '${r}'. Check if the file has correct read/write permissions.`)}this._filePath=r;return this._filePath}))}wrap(r,i,a={}){const s=Object.entries(a).map((([r,i])=>` ${r}="${i}"`)).join("");if(!i){return`<${r}${s}>`}return`<${r}${s}>${i}${r}>`}write(r){return s(this,void 0,void 0,(function*(){const i=!!(r===null||r===void 0?void 0:r.overwrite);const a=yield this.filePath();const s=i?u:d;yield s(a,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return s(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(r,i=false){this._buffer+=r;return i?this.addEOL():this}addEOL(){return this.addRaw(p.EOL)}addCodeBlock(r,i){const a=Object.assign({},i&&{lang:i});const s=this.wrap("pre",this.wrap("code",r),a);return this.addRaw(s).addEOL()}addList(r,i=false){const a=i?"ol":"ul";const s=r.map((r=>this.wrap("li",r))).join("");const p=this.wrap(a,s);return this.addRaw(p).addEOL()}addTable(r){const i=r.map((r=>{const i=r.map((r=>{if(typeof r==="string"){return this.wrap("td",r)}const{header:i,data:a,colspan:s,rowspan:p}=r;const l=i?"th":"td";const c=Object.assign(Object.assign({},s&&{colspan:s}),p&&{rowspan:p});return this.wrap(l,a,c)})).join("");return this.wrap("tr",i)})).join("");const a=this.wrap("table",i);return this.addRaw(a).addEOL()}addDetails(r,i){const a=this.wrap("details",this.wrap("summary",r)+i);return this.addRaw(a).addEOL()}addImage(r,i,a){const{width:s,height:p}=a||{};const l=Object.assign(Object.assign({},s&&{width:s}),p&&{height:p});const c=this.wrap("img",null,Object.assign({src:r,alt:i},l));return this.addRaw(c).addEOL()}addHeading(r,i){const a=`h${i}`;const s=["h1","h2","h3","h4","h5","h6"].includes(a)?a:"h1";const p=this.wrap(s,r);return this.addRaw(p).addEOL()}addSeparator(){const r=this.wrap("hr",null);return this.addRaw(r).addEOL()}addBreak(){const r=this.wrap("br",null);return this.addRaw(r).addEOL()}addQuote(r,i){const a=Object.assign({},i&&{cite:i});const s=this.wrap("blockquote",r,a);return this.addRaw(s).addEOL()}addLink(r,i){const a=this.wrap("a",r,{href:i});return this.addRaw(a).addEOL()}}const m=new Summary;i.markdownSummary=m;i.summary=m},5278:(r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.toCommandProperties=i.toCommandValue=void 0;function toCommandValue(r){if(r===null||r===undefined){return""}else if(typeof r==="string"||r instanceof String){return r}return JSON.stringify(r)}i.toCommandValue=toCommandValue;function toCommandProperties(r){if(!Object.keys(r).length){return{}}return{title:r.title,file:r.file,line:r.startLine,endLine:r.endLine,col:r.startColumn,endColumn:r.endColumn}}i.toCommandProperties=toCommandProperties},1514:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getExecOutput=i.exec=void 0;const d=a(1576);const u=l(a(8159));function exec(r,i,a){return c(this,void 0,void 0,(function*(){const s=u.argStringToArray(r);if(s.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const p=s[0];i=s.slice(1).concat(i||[]);const l=new u.ToolRunner(p,i,a);return l.exec()}))}i.exec=exec;function getExecOutput(r,i,a){var s,p;return c(this,void 0,void 0,(function*(){let l="";let c="";const u=new d.StringDecoder("utf8");const m=new d.StringDecoder("utf8");const h=(s=a===null||a===void 0?void 0:a.listeners)===null||s===void 0?void 0:s.stdout;const g=(p=a===null||a===void 0?void 0:a.listeners)===null||p===void 0?void 0:p.stderr;const stdErrListener=r=>{c+=m.write(r);if(g){g(r)}};const stdOutListener=r=>{l+=u.write(r);if(h){h(r)}};const y=Object.assign(Object.assign({},a===null||a===void 0?void 0:a.listeners),{stdout:stdOutListener,stderr:stdErrListener});const v=yield exec(r,i,Object.assign(Object.assign({},a),{listeners:y}));l+=u.end();c+=m.end();return{exitCode:v,stdout:l,stderr:c}}))}i.getExecOutput=getExecOutput},8159:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.argStringToArray=i.ToolRunner=void 0;const d=l(a(2037));const u=l(a(2361));const m=l(a(2081));const h=l(a(1017));const g=l(a(7436));const y=l(a(1962));const v=a(9512);const b=process.platform==="win32";class ToolRunner extends u.EventEmitter{constructor(r,i,a){super();if(!r){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=r;this.args=i||[];this.options=a||{}}_debug(r){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(r)}}_getCommandString(r,i){const a=this._getSpawnFileName();const s=this._getSpawnArgs(r);let p=i?"":"[command]";if(b){if(this._isCmdFile()){p+=a;for(const r of s){p+=` ${r}`}}else if(r.windowsVerbatimArguments){p+=`"${a}"`;for(const r of s){p+=` ${r}`}}else{p+=this._windowsQuoteCmdArg(a);for(const r of s){p+=` ${this._windowsQuoteCmdArg(r)}`}}}else{p+=a;for(const r of s){p+=` ${r}`}}return p}_processLineBuffer(r,i,a){try{let s=i+r.toString();let p=s.indexOf(d.EOL);while(p>-1){const r=s.substring(0,p);a(r);s=s.substring(p+d.EOL.length);p=s.indexOf(d.EOL)}return s}catch(r){this._debug(`error processing line. Failed with error ${r}`);return""}}_getSpawnFileName(){if(b){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(r){if(b){if(this._isCmdFile()){let i=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const a of this.args){i+=" ";i+=r.windowsVerbatimArguments?a:this._windowsQuoteCmdArg(a)}i+='"';return[i]}}return this.args}_endsWith(r,i){return r.endsWith(i)}_isCmdFile(){const r=this.toolPath.toUpperCase();return this._endsWith(r,".CMD")||this._endsWith(r,".BAT")}_windowsQuoteCmdArg(r){if(!this._isCmdFile()){return this._uvQuoteCmdArg(r)}if(!r){return'""'}const i=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let a=false;for(const s of r){if(i.some((r=>r===s))){a=true;break}}if(!a){return r}let s='"';let p=true;for(let i=r.length;i>0;i--){s+=r[i-1];if(p&&r[i-1]==="\\"){s+="\\"}else if(r[i-1]==='"'){p=true;s+='"'}else{p=false}}s+='"';return s.split("").reverse().join("")}_uvQuoteCmdArg(r){if(!r){return'""'}if(!r.includes(" ")&&!r.includes("\t")&&!r.includes('"')){return r}if(!r.includes('"')&&!r.includes("\\")){return`"${r}"`}let i='"';let a=true;for(let s=r.length;s>0;s--){i+=r[s-1];if(a&&r[s-1]==="\\"){i+="\\"}else if(r[s-1]==='"'){a=true;i+="\\"}else{a=false}}i+='"';return i.split("").reverse().join("")}_cloneExecOptions(r){r=r||{};const i={cwd:r.cwd||process.cwd(),env:r.env||process.env,silent:r.silent||false,windowsVerbatimArguments:r.windowsVerbatimArguments||false,failOnStdErr:r.failOnStdErr||false,ignoreReturnCode:r.ignoreReturnCode||false,delay:r.delay||1e4};i.outStream=r.outStream||process.stdout;i.errStream=r.errStream||process.stderr;return i}_getSpawnOptions(r,i){r=r||{};const a={};a.cwd=r.cwd;a.env=r.env;a["windowsVerbatimArguments"]=r.windowsVerbatimArguments||this._isCmdFile();if(r.windowsVerbatimArguments){a.argv0=`"${i}"`}return a}exec(){return c(this,void 0,void 0,(function*(){if(!y.isRooted(this.toolPath)&&(this.toolPath.includes("/")||b&&this.toolPath.includes("\\"))){this.toolPath=h.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield g.which(this.toolPath,true);return new Promise(((r,i)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const r of this.args){this._debug(` ${r}`)}const a=this._cloneExecOptions(this.options);if(!a.silent&&a.outStream){a.outStream.write(this._getCommandString(a)+d.EOL)}const s=new ExecState(a,this.toolPath);s.on("debug",(r=>{this._debug(r)}));if(this.options.cwd&&!(yield y.exists(this.options.cwd))){return i(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const p=this._getSpawnFileName();const l=m.spawn(p,this._getSpawnArgs(a),this._getSpawnOptions(this.options,p));let c="";if(l.stdout){l.stdout.on("data",(r=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(r)}if(!a.silent&&a.outStream){a.outStream.write(r)}c=this._processLineBuffer(r,c,(r=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(r)}}))}))}let u="";if(l.stderr){l.stderr.on("data",(r=>{s.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(r)}if(!a.silent&&a.errStream&&a.outStream){const i=a.failOnStdErr?a.errStream:a.outStream;i.write(r)}u=this._processLineBuffer(r,u,(r=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(r)}}))}))}l.on("error",(r=>{s.processError=r.message;s.processExited=true;s.processClosed=true;s.CheckComplete()}));l.on("exit",(r=>{s.processExitCode=r;s.processExited=true;this._debug(`Exit code ${r} received from tool '${this.toolPath}'`);s.CheckComplete()}));l.on("close",(r=>{s.processExitCode=r;s.processExited=true;s.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);s.CheckComplete()}));s.on("done",((a,s)=>{if(c.length>0){this.emit("stdline",c)}if(u.length>0){this.emit("errline",u)}l.removeAllListeners();if(a){i(a)}else{r(s)}}));if(this.options.input){if(!l.stdin){throw new Error("child process missing stdin")}l.stdin.end(this.options.input)}}))))}))}}i.ToolRunner=ToolRunner;function argStringToArray(r){const i=[];let a=false;let s=false;let p="";function append(r){if(s&&r!=='"'){p+="\\"}p+=r;s=false}for(let l=0;l {const m=generateBlockID(d,s);const h=a.blockSize*s;const g=s===p-1?i:h+a.blockSize;const y=g-h;l.push(m);await this.stageBlock(m,r(h,y),y,{abortSignal:a.abortSignal,conditions:a.conditions,encryptionScope:a.encryptionScope,tracingOptions:c.tracingOptions});u+=y;if(a.onProgress){a.onProgress({loadedBytes:u})}}))}await m.do();return this.commitBlockList(l,c)}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async uploadFile(r,i={}){const{span:a,updatedOptions:s}=Mo("BlockBlobClient-uploadFile",i);try{const a=(await Ko(r)).size;return await this.uploadSeekableInternal(((i,a)=>()=>Qo(r,{autoClose:true,end:a?i+a-1:Infinity,start:i})),a,Object.assign(Object.assign({},i),{tracingOptions:Object.assign(Object.assign({},i.tracingOptions),convertTracingToRequestOptionsBase(s))}))}catch(r){a.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{a.end()}}async uploadStream(r,i=so,a=5,p={}){if(!p.blobHTTPHeaders){p.blobHTTPHeaders={}}if(!p.conditions){p.conditions={}}const{span:c,updatedOptions:d}=Mo("BlockBlobClient-uploadStream",p);try{let l=0;const c=s.generateUuid();let u=0;const m=[];const h=new BufferScheduler(r,i,a,(async(r,i)=>{const a=generateBlockID(c,l);m.push(a);l++;await this.stageBlock(a,r,i,{conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:d.tracingOptions});u+=i;if(p.onProgress){p.onProgress({loadedBytes:u})}}),Math.ceil(a/4*3));await h.do();return await this.commitBlockList(m,Object.assign(Object.assign({},p),{tracingOptions:Object.assign(Object.assign({},p.tracingOptions),convertTracingToRequestOptionsBase(d))}))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}}class PageBlobClient extends BlobClient{constructor(r,i,a,p){let l;let c;p=p||{};if(isPipelineLike(i)){c=r;l=i}else if(s.isNode&&i instanceof StorageSharedKeyCredential||i instanceof AnonymousCredential||s.isTokenCredential(i)){c=r;p=a;l=newPipeline(i,p)}else if(!i&&typeof i!=="string"){c=r;l=newPipeline(new AnonymousCredential,p)}else if(i&&typeof i==="string"&&a&&typeof a==="string"){const d=i;const u=a;const m=extractConnectionStringParts(r);if(m.kind==="AccountConnString"){if(s.isNode){const r=new StorageSharedKeyCredential(m.accountName,m.accountKey);c=appendToURLPath(appendToURLPath(m.url,encodeURIComponent(d)),encodeURIComponent(u));if(!p.proxyOptions){p.proxyOptions=s.getDefaultProxySettings(m.proxyUri)}l=newPipeline(r,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(m.kind==="SASConnString"){c=appendToURLPath(appendToURLPath(m.url,encodeURIComponent(d)),encodeURIComponent(u))+"?"+m.accountSas;l=newPipeline(new AnonymousCredential,p)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(c,l);this.pageBlobContext=new PageBlob(this.storageClientContext)}withSnapshot(r){return new PageBlobClient(setURLParameter(this.url,uo.Parameters.SNAPSHOT,r.length===0?undefined:r),this.pipeline)}async create(r,i={}){var a,s,p;i.conditions=i.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-create",i);try{ensureCpkIfSpecified(i.customerProvidedKey,this.isHttps);return await this.pageBlobContext.create(0,r,Object.assign({abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,blobSequenceNumber:i.blobSequenceNumber,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:(s=i.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(p=i.immutabilityPolicy)===null||p===void 0?void 0:p.policyMode,legalHold:i.legalHold,tier:toAccessTier(i.tier),blobTagsString:toBlobTagsString(i.tags)},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async createIfNotExists(r,i={}){var a,s;const{span:p,updatedOptions:c}=Mo("PageBlobClient-createIfNotExists",i);try{const a={ifNoneMatch:go};const s=await this.create(r,Object.assign(Object.assign({},i),{conditions:a,tracingOptions:c.tracingOptions}));return Object.assign(Object.assign({succeeded:true},s),{_response:s._response})}catch(r){if(((a=r.details)===null||a===void 0?void 0:a.errorCode)==="BlobAlreadyExists"){p.setStatus({code:l.SpanStatusCode.ERROR,message:"Expected exception when creating a blob only if it does not already exist."});return Object.assign(Object.assign({succeeded:false},(s=r.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:r.response})}p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async uploadPages(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-uploadPages",s);try{ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return await this.pageBlobContext.uploadPages(a,r,Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),requestOptions:{onUploadProgress:s.onProgress},range:rangeToString({offset:i,count:a}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async uploadPagesFromURL(r,i,a,s,p={}){var c;p.conditions=p.conditions||{};p.sourceConditions=p.sourceConditions||{};const{span:d,updatedOptions:u}=Mo("PageBlobClient-uploadPagesFromURL",p);try{ensureCpkIfSpecified(p.customerProvidedKey,this.isHttps);return await this.pageBlobContext.uploadPagesFromURL(r,rangeToString({offset:i,count:s}),0,rangeToString({offset:a,count:s}),Object.assign({abortSignal:p.abortSignal,sourceContentMD5:p.sourceContentMD5,sourceContentCrc64:p.sourceContentCrc64,leaseAccessConditions:p.conditions,sequenceNumberAccessConditions:p.conditions,modifiedAccessConditions:Object.assign(Object.assign({},p.conditions),{ifTags:(c=p.conditions)===null||c===void 0?void 0:c.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:p.sourceConditions.ifMatch,sourceIfModifiedSince:p.sourceConditions.ifModifiedSince,sourceIfNoneMatch:p.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:p.sourceConditions.ifUnmodifiedSince},cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,copySourceAuthorization:httpAuthorizationToString(p.sourceAuthorization)},convertTracingToRequestOptionsBase(u)))}catch(r){d.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{d.end()}}async clearPages(r=0,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-clearPages",a);try{return await this.pageBlobContext.clearPages(0,Object.assign({abortSignal:a.abortSignal,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions}),range:rangeToString({offset:r,count:i}),sequenceNumberAccessConditions:a.conditions,cpkInfo:a.customerProvidedKey,encryptionScope:a.encryptionScope},convertTracingToRequestOptionsBase(c)))}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async getPageRanges(r=0,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-getPageRanges",a);try{return await this.pageBlobContext.getPageRanges(Object.assign({abortSignal:a.abortSignal,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions}),range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(c))).then(rangeResponseFromModel)}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async listPageRangesSegment(r=0,i,a,s={}){var p;const{span:c,updatedOptions:d}=Mo("PageBlobClient-getPageRangesSegment",s);try{return await this.pageBlobContext.getPageRanges(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),range:rangeToString({offset:r,count:i}),marker:a,maxPageSize:s.maxPageSize},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}listPageRangeItemSegments(r=0,i,a,s={}){return p.__asyncGenerator(this,arguments,(function*listPageRangeItemSegments_1(){let l;if(!!a||a===undefined){do{l=yield p.__await(this.listPageRangesSegment(r,i,a,s));a=l.continuationToken;yield yield p.__await(yield p.__await(l))}while(a)}}))}listPageRangeItems(r=0,i,a={}){return p.__asyncGenerator(this,arguments,(function*listPageRangeItems_1(){var s,l;let c;try{for(var d=p.__asyncValues(this.listPageRangeItemSegments(r,i,c,a)),u;u=yield p.__await(d.next()),!u.done;){const r=u.value;yield p.__await(yield*p.__asyncDelegator(p.__asyncValues(ExtractPageRangeInfoItems(r))))}}catch(r){s={error:r}}finally{try{if(u&&!u.done&&(l=d.return))yield p.__await(l.call(d))}finally{if(s)throw s.error}}}))}listPageRanges(r=0,i,a={}){a.conditions=a.conditions||{};const s=this.listPageRangeItems(r,i,a);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(r,i,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},a))}}async getPageRangesDiff(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-getPageRangesDiff",s);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),prevsnapshot:a,range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(d))).then(rangeResponseFromModel)}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async listPageRangesDiffSegment(r,i,a,s,p){var c;const{span:d,updatedOptions:u}=Mo("PageBlobClient-getPageRangesDiffSegment",p);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:p===null||p===void 0?void 0:p.abortSignal,leaseAccessConditions:p===null||p===void 0?void 0:p.conditions,modifiedAccessConditions:Object.assign(Object.assign({},p===null||p===void 0?void 0:p.conditions),{ifTags:(c=p===null||p===void 0?void 0:p.conditions)===null||c===void 0?void 0:c.tagConditions}),prevsnapshot:a,range:rangeToString({offset:r,count:i}),marker:s,maxPageSize:p===null||p===void 0?void 0:p.maxPageSize},convertTracingToRequestOptionsBase(u)))}catch(r){d.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{d.end()}}listPageRangeDiffItemSegments(r,i,a,s,l){return p.__asyncGenerator(this,arguments,(function*listPageRangeDiffItemSegments_1(){let c;if(!!s||s===undefined){do{c=yield p.__await(this.listPageRangesDiffSegment(r,i,a,s,l));s=c.continuationToken;yield yield p.__await(yield p.__await(c))}while(s)}}))}listPageRangeDiffItems(r,i,a,s){return p.__asyncGenerator(this,arguments,(function*listPageRangeDiffItems_1(){var l,c;let d;try{for(var u=p.__asyncValues(this.listPageRangeDiffItemSegments(r,i,a,d,s)),m;m=yield p.__await(u.next()),!m.done;){const r=m.value;yield p.__await(yield*p.__asyncDelegator(p.__asyncValues(ExtractPageRangeInfoItems(r))))}}catch(r){l={error:r}}finally{try{if(m&&!m.done&&(c=u.return))yield p.__await(c.call(u))}finally{if(l)throw l.error}}}))}listPageRangesDiff(r,i,a,s={}){s.conditions=s.conditions||{};const p=this.listPageRangeDiffItems(r,i,a,Object.assign({},s));return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(p={})=>this.listPageRangeDiffItemSegments(r,i,a,p.continuationToken,Object.assign({maxPageSize:p.maxPageSize},s))}}async getPageRangesDiffForManagedDisks(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-GetPageRangesDiffForManagedDisks",s);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),prevSnapshotUrl:a,range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(d))).then(rangeResponseFromModel)}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async resize(r,i={}){var a;i.conditions=i.conditions||{};const{span:s,updatedOptions:p}=Mo("PageBlobClient-resize",i);try{return await this.pageBlobContext.resize(r,Object.assign({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions}),encryptionScope:i.encryptionScope},convertTracingToRequestOptionsBase(p)))}catch(r){s.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{s.end()}}async updateSequenceNumber(r,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-updateSequenceNumber",a);try{return await this.pageBlobContext.updateSequenceNumber(r,Object.assign({abortSignal:a.abortSignal,blobSequenceNumber:i,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions})},convertTracingToRequestOptionsBase(c)))}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async startCopyIncremental(r,i={}){var a;const{span:s,updatedOptions:p}=Mo("PageBlobClient-startCopyIncremental",i);try{return await this.pageBlobContext.copyIncremental(r,Object.assign({abortSignal:i.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions})},convertTracingToRequestOptionsBase(p)))}catch(r){s.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{s.end()}}}async function getBodyAsText(r){let i=Buffer.alloc(bo);const a=await streamToBuffer2(r.readableStreamBody,i);i=i.slice(0,a);return i.toString()}function utf8ByteLength(r){return Buffer.byteLength(r)}const Jo=": ";const Yo=" ";const Zo=-1;class BatchResponseParser{constructor(r,i){if(!r||!r.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!i||i.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=r;this.subRequests=i;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${xo}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==mo.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const r=await getBodyAsText(this.batchResponse);const i=r.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const a=i.length;if(a!==this.subRequests.size&&a!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const p=new Array(a);let l=0;let c=0;for(let r=0;r=0&&y g.createReadStream(a,{fd:u,start:s,end:c,autoClose:false}).on("error",(r=>{throw new Error(`Cache upload failed because file read failed with ${r.message}`)}))),s,c)}})))))}finally{g.closeSync(u)}return}))}function commitCache(r,i,a){return c(this,void 0,void 0,(function*(){const s={size:a};return yield(0,w.retryTypedResponse)("commitCache",(()=>c(this,void 0,void 0,(function*(){return r.postJson(getCacheApiUrl(`caches/${i.toString()}`),s)}))))}))}function saveCache(r,i,a){return c(this,void 0,void 0,(function*(){const s=createHttpClient();d.debug("Upload cache");yield uploadFile(s,r,i,a);d.debug("Commiting cache");const p=v.getArchiveFileSizeInBytes(i);d.info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);const l=yield commitCache(s,r,p);if(!(0,w.isSuccessStatusCode)(l.statusCode)){throw new Error(`Cache service responded with ${l.statusCode} during commit cache.`)}d.info("Cache saved successfully")}))}i.saveCache=saveCache},1518:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};var d=this&&this.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r[Symbol.asyncIterator],a;return i?i.call(r):(r=typeof __values==="function"?__values(r):r[Symbol.iterator](),a={},verb("next"),verb("throw"),verb("return"),a[Symbol.asyncIterator]=function(){return this},a);function verb(i){a[i]=r[i]&&function(a){return new Promise((function(s,p){a=r[i](a),settle(s,p,a.done,a.value)}))}}function settle(r,i,a,s){Promise.resolve(s).then((function(i){r({value:i,done:a})}),i)}};Object.defineProperty(i,"__esModule",{value:true});i.isGhes=i.assertDefined=i.getGnuTarPathOnWindows=i.getCacheFileName=i.getCompressionMethod=i.unlinkFile=i.resolvePaths=i.getArchiveFileSizeInBytes=i.createTempDirectory=void 0;const u=l(a(2186));const m=l(a(1514));const h=l(a(8090));const g=l(a(7436));const y=l(a(7147));const v=l(a(1017));const b=l(a(5911));const x=l(a(3837));const w=a(4138);const S=a(8840);function createTempDirectory(){return c(this,void 0,void 0,(function*(){const r=process.platform==="win32";let i=process.env["RUNNER_TEMP"]||"";if(!i){let a;if(r){a=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){a="/Users"}else{a="/home"}}i=v.join(a,"actions","temp")}const a=v.join(i,(0,w.v4)());yield g.mkdirP(a);return a}))}i.createTempDirectory=createTempDirectory;function getArchiveFileSizeInBytes(r){return y.statSync(r).size}i.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;function resolvePaths(r){var i,a,s,p;var l;return c(this,void 0,void 0,(function*(){const c=[];const m=(l=process.env["GITHUB_WORKSPACE"])!==null&&l!==void 0?l:process.cwd();const g=yield h.create(r.join("\n"),{implicitDescendants:false});try{for(var y=true,b=d(g.globGenerator()),x;x=yield b.next(),i=x.done,!i;){p=x.value;y=false;try{const r=p;const i=v.relative(m,r).replace(new RegExp(`\\${v.sep}`,"g"),"/");u.debug(`Matched: ${i}`);if(i===""){c.push(".")}else{c.push(`${i}`)}}finally{y=true}}}catch(r){a={error:r}}finally{try{if(!y&&!i&&(s=b.return))yield s.call(b)}finally{if(a)throw a.error}}return c}))}i.resolvePaths=resolvePaths;function unlinkFile(r){return c(this,void 0,void 0,(function*(){return x.promisify(y.unlink)(r)}))}i.unlinkFile=unlinkFile;function getVersion(r,i=[]){return c(this,void 0,void 0,(function*(){let a="";i.push("--version");u.debug(`Checking ${r} ${i.join(" ")}`);try{yield m.exec(`${r}`,i,{ignoreReturnCode:true,silent:true,listeners:{stdout:r=>a+=r.toString(),stderr:r=>a+=r.toString()}})}catch(r){u.debug(r.message)}a=a.trim();u.debug(a);return a}))}function getCompressionMethod(){return c(this,void 0,void 0,(function*(){const r=yield getVersion("zstd",["--quiet"]);const i=b.clean(r);u.debug(`zstd version: ${i}`);if(r===""){return S.CompressionMethod.Gzip}else{return S.CompressionMethod.ZstdWithoutLong}}))}i.getCompressionMethod=getCompressionMethod;function getCacheFileName(r){return r===S.CompressionMethod.Gzip?S.CacheFilename.Gzip:S.CacheFilename.Zstd}i.getCacheFileName=getCacheFileName;function getGnuTarPathOnWindows(){return c(this,void 0,void 0,(function*(){if(y.existsSync(S.GnuTarPathOnWindows)){return S.GnuTarPathOnWindows}const r=yield getVersion("tar");return r.toLowerCase().includes("gnu tar")?g.which("tar"):""}))}i.getGnuTarPathOnWindows=getGnuTarPathOnWindows;function assertDefined(r,i){if(i===undefined){throw Error(`Expected ${r} but value was undefiend`)}return i}i.assertDefined=assertDefined;function isGhes(){const r=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");return r.hostname.toUpperCase()!=="GITHUB.COM"}i.isGhes=isGhes},8840:(r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.ManifestFilename=i.TarFilename=i.SystemTarPathOnWindows=i.GnuTarPathOnWindows=i.SocketTimeout=i.DefaultRetryDelay=i.DefaultRetryAttempts=i.ArchiveToolType=i.CompressionMethod=i.CacheFilename=void 0;var a;(function(r){r["Gzip"]="cache.tgz";r["Zstd"]="cache.tzst"})(a=i.CacheFilename||(i.CacheFilename={}));var s;(function(r){r["Gzip"]="gzip";r["ZstdWithoutLong"]="zstd-without-long";r["Zstd"]="zstd"})(s=i.CompressionMethod||(i.CompressionMethod={}));var p;(function(r){r["GNU"]="gnu";r["BSD"]="bsd"})(p=i.ArchiveToolType||(i.ArchiveToolType={}));i.DefaultRetryAttempts=2;i.DefaultRetryDelay=5e3;i.SocketTimeout=5e3;i.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;i.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;i.TarFilename="cache.tar";i.ManifestFilename="manifest.txt"},5500:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.downloadCacheStorageSDK=i.downloadCacheHttpClientConcurrent=i.downloadCacheHttpClient=i.DownloadProgress=void 0;const d=l(a(2186));const u=a(6255);const m=a(4100);const h=l(a(4300));const g=l(a(7147));const y=l(a(2781));const v=l(a(3837));const b=l(a(1518));const x=a(8840);const w=a(3981);const S=a(2557);function pipeResponseToStream(r,i){return c(this,void 0,void 0,(function*(){const a=v.promisify(y.pipeline);yield a(r.message,i)}))}class DownloadProgress{constructor(r){this.contentLength=r;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(r){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=r;this.receivedBytes=0;d.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(r){this.receivedBytes=r}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const r=this.segmentOffset+this.receivedBytes;const i=(100*(r/this.contentLength)).toFixed(1);const a=Date.now()-this.startTime;const s=(r/(1024*1024)/(a/1e3)).toFixed(1);d.info(`Received ${r} of ${this.contentLength} (${i}%), ${s} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return r=>{this.setReceivedBytes(r.loadedBytes)}}startDisplayTimer(r=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,r)}};this.timeoutHandle=setTimeout(displayCallback,r)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}i.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(r,i){return c(this,void 0,void 0,(function*(){const a=g.createWriteStream(i);const s=new u.HttpClient("actions/cache");const p=yield(0,w.retryHttpClientResponse)("downloadCache",(()=>c(this,void 0,void 0,(function*(){return s.get(r)}))));p.message.socket.setTimeout(x.SocketTimeout,(()=>{p.message.destroy();d.debug(`Aborting download, socket timed out after ${x.SocketTimeout} ms`)}));yield pipeResponseToStream(p,a);const l=p.message.headers["content-length"];if(l){const r=parseInt(l);const a=b.getArchiveFileSizeInBytes(i);if(a!==r){throw new Error(`Incomplete download. Expected file size: ${r}, actual file size: ${a}`)}}else{d.debug("Unable to validate download, no Content-Length header")}}))}i.downloadCacheHttpClient=downloadCacheHttpClient;function downloadCacheHttpClientConcurrent(r,i,a){var s;return c(this,void 0,void 0,(function*(){const p=yield g.promises.open(i,"w");const l=new u.HttpClient("actions/cache",undefined,{socketTimeout:a.timeoutInMs,keepAlive:true});try{const i=yield(0,w.retryHttpClientResponse)("downloadCacheMetadata",(()=>c(this,void 0,void 0,(function*(){return yield l.request("HEAD",r,null,{})}))));const d=i.message.headers["content-length"];if(d===undefined||d===null){throw new Error("Content-Length not found on blob response")}const u=parseInt(d);if(Number.isNaN(u)){throw new Error(`Could not interpret Content-Length: ${u}`)}const m=[];const h=4*1024*1024;for(let i=0;ic(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(l,r,i,a)}))})}m.reverse();let g=0;let y=0;const v=new DownloadProgress(u);v.startDisplayTimer();const b=v.onProgress();const x=[];let S;const waitAndWrite=()=>c(this,void 0,void 0,(function*(){const r=yield Promise.race(Object.values(x));yield p.write(r.buffer,0,r.count,r.offset);g--;delete x[r.offset];y+=r.count;b({loadedBytes:y})}));while(S=m.pop()){x[S.offset]=S.promiseGetter();g++;if(g>=((s=a.downloadConcurrency)!==null&&s!==void 0?s:10)){yield waitAndWrite()}}while(g>0){yield waitAndWrite()}}finally{l.dispose();yield p.close()}}))}i.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;function downloadSegmentRetry(r,i,a,s){return c(this,void 0,void 0,(function*(){const p=5;let l=0;while(true){try{const p=3e4;const l=yield promiseWithTimeout(p,downloadSegment(r,i,a,s));if(typeof l==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return l}catch(r){if(l>=p){throw r}l++}}}))}function downloadSegment(r,i,a,s){return c(this,void 0,void 0,(function*(){const p=yield(0,w.retryHttpClientResponse)("downloadCachePart",(()=>c(this,void 0,void 0,(function*(){return yield r.get(i,{Range:`bytes=${a}-${a+s-1}`})}))));if(!p.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:a,count:s,buffer:yield p.readBodyBuffer()}}))}function downloadCacheStorageSDK(r,i,a){var s;return c(this,void 0,void 0,(function*(){const p=new m.BlockBlobClient(r,undefined,{retryOptions:{tryTimeoutInMs:a.timeoutInMs}});const l=yield p.getProperties();const c=(s=l.contentLength)!==null&&s!==void 0?s:-1;if(c<0){d.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(r,i)}else{const r=Math.min(134217728,h.constants.MAX_LENGTH);const s=new DownloadProgress(c);const l=g.openSync(i,"w");try{s.startDisplayTimer();const i=new S.AbortController;const d=i.signal;while(!s.isDone()){const u=s.segmentOffset+s.segmentSize;const m=Math.min(r,c-u);s.nextSegment(m);const h=yield promiseWithTimeout(a.segmentTimeoutInMs||36e5,p.downloadToBuffer(u,m,{abortSignal:d,concurrency:a.downloadConcurrency,onProgress:s.onProgress()}));if(h==="timeout"){i.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(h)){g.writeFileSync(l,h)}}}finally{s.stopDisplayTimer();g.closeSync(l)}}}))}i.downloadCacheStorageSDK=downloadCacheStorageSDK;const promiseWithTimeout=(r,i)=>c(void 0,void 0,void 0,(function*(){let a;const s=new Promise((i=>{a=setTimeout((()=>i("timeout")),r)}));return Promise.race([i,s]).then((r=>{clearTimeout(a);return r}))}))},3981:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.retryHttpClientResponse=i.retryTypedResponse=i.retry=i.isRetryableStatusCode=i.isServerErrorStatusCode=i.isSuccessStatusCode=void 0;const d=l(a(2186));const u=a(6255);const m=a(8840);function isSuccessStatusCode(r){if(!r){return false}return r>=200&&r<300}i.isSuccessStatusCode=isSuccessStatusCode;function isServerErrorStatusCode(r){if(!r){return true}return r>=500}i.isServerErrorStatusCode=isServerErrorStatusCode;function isRetryableStatusCode(r){if(!r){return false}const i=[u.HttpCodes.BadGateway,u.HttpCodes.ServiceUnavailable,u.HttpCodes.GatewayTimeout];return i.includes(r)}i.isRetryableStatusCode=isRetryableStatusCode;function sleep(r){return c(this,void 0,void 0,(function*(){return new Promise((i=>setTimeout(i,r)))}))}function retry(r,i,a,s=m.DefaultRetryAttempts,p=m.DefaultRetryDelay,l=undefined){return c(this,void 0,void 0,(function*(){let c="";let u=1;while(u<=s){let m=undefined;let h=undefined;let g=false;try{m=yield i()}catch(r){if(l){m=l(r)}g=true;c=r.message}if(m){h=a(m);if(!isServerErrorStatusCode(h)){return m}}if(h){g=isRetryableStatusCode(h);c=`Cache service responded with ${h}`}d.debug(`${r} - Attempt ${u} of ${s} failed with error: ${c}`);if(!g){d.debug(`${r} - Error is not retryable`);break}yield sleep(p);u++}throw Error(`${r} failed: ${c}`)}))}i.retry=retry;function retryTypedResponse(r,i,a=m.DefaultRetryAttempts,s=m.DefaultRetryDelay){return c(this,void 0,void 0,(function*(){return yield retry(r,i,(r=>r.statusCode),a,s,(r=>{if(r instanceof u.HttpClientError){return{statusCode:r.statusCode,result:null,headers:{},error:r}}else{return undefined}}))}))}i.retryTypedResponse=retryTypedResponse;function retryHttpClientResponse(r,i,a=m.DefaultRetryAttempts,s=m.DefaultRetryDelay){return c(this,void 0,void 0,(function*(){return yield retry(r,i,(r=>r.message.statusCode),a,s)}))}i.retryHttpClientResponse=retryHttpClientResponse},3434:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.createTar=i.extractTar=i.listTar=void 0;const d=a(1514);const u=l(a(7436));const m=a(7147);const h=l(a(1017));const g=l(a(1518));const y=a(8840);const v=process.platform==="win32";function getTarPath(){return c(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const r=yield g.getGnuTarPathOnWindows();const i=y.SystemTarPathOnWindows;if(r){return{path:r,type:y.ArchiveToolType.GNU}}else if((0,m.existsSync)(i)){return{path:i,type:y.ArchiveToolType.BSD}}break}case"darwin":{const r=yield u.which("gtar",false);if(r){return{path:r,type:y.ArchiveToolType.GNU}}else{return{path:yield u.which("tar",true),type:y.ArchiveToolType.BSD}}}default:break}return{path:yield u.which("tar",true),type:y.ArchiveToolType.GNU}}))}function getTarArgs(r,i,a,s=""){return c(this,void 0,void 0,(function*(){const p=[`"${r.path}"`];const l=g.getCacheFileName(i);const c="cache.tar";const d=getWorkingDirectory();const u=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(a){case"create":p.push("--posix","-cf",u?c:l.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"--exclude",u?c:l.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"--files-from",y.ManifestFilename);break;case"extract":p.push("-xf",u?c:s.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${h.sep}`,"g"),"/"));break;case"list":p.push("-tf",u?c:s.replace(new RegExp(`\\${h.sep}`,"g"),"/"),"-P");break}if(r.type===y.ArchiveToolType.GNU){switch(process.platform){case"win32":p.push("--force-local");break;case"darwin":p.push("--delay-directory-restore");break}}return p}))}function getCommands(r,i,a=""){return c(this,void 0,void 0,(function*(){let s;const p=yield getTarPath();const l=yield getTarArgs(p,r,i,a);const c=i!=="create"?yield getDecompressionProgram(p,r,a):yield getCompressionProgram(p,r);const d=p.type===y.ArchiveToolType.BSD&&r!==y.CompressionMethod.Gzip&&v;if(d&&i!=="create"){s=[[...c].join(" "),[...l].join(" ")]}else{s=[[...l].join(" "),[...c].join(" ")]}if(d){return s}return[s.join(" ")]}))}function getWorkingDirectory(){var r;return(r=process.env["GITHUB_WORKSPACE"])!==null&&r!==void 0?r:process.cwd()}function getDecompressionProgram(r,i,a){return c(this,void 0,void 0,(function*(){const s=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(i){case y.CompressionMethod.Zstd:return s?["zstd -d --long=30 --force -o",y.TarFilename,a.replace(new RegExp(`\\${h.sep}`,"g"),"/")]:["--use-compress-program",v?'"zstd -d --long=30"':"unzstd --long=30"];case y.CompressionMethod.ZstdWithoutLong:return s?["zstd -d --force -o",y.TarFilename,a.replace(new RegExp(`\\${h.sep}`,"g"),"/")]:["--use-compress-program",v?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(r,i){return c(this,void 0,void 0,(function*(){const a=g.getCacheFileName(i);const s=r.type===y.ArchiveToolType.BSD&&i!==y.CompressionMethod.Gzip&&v;switch(i){case y.CompressionMethod.Zstd:return s?["zstd -T0 --long=30 --force -o",a.replace(new RegExp(`\\${h.sep}`,"g"),"/"),y.TarFilename]:["--use-compress-program",v?'"zstd -T0 --long=30"':"zstdmt --long=30"];case y.CompressionMethod.ZstdWithoutLong:return s?["zstd -T0 --force -o",a.replace(new RegExp(`\\${h.sep}`,"g"),"/"),y.TarFilename]:["--use-compress-program",v?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(r,i){return c(this,void 0,void 0,(function*(){for(const a of r){try{yield(0,d.exec)(a,undefined,{cwd:i,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(r){throw new Error(`${a.split(" ")[0]} failed with error: ${r===null||r===void 0?void 0:r.message}`)}}}))}function listTar(r,i){return c(this,void 0,void 0,(function*(){const a=yield getCommands(i,"list",r);yield execCommands(a)}))}i.listTar=listTar;function extractTar(r,i){return c(this,void 0,void 0,(function*(){const a=getWorkingDirectory();yield u.mkdirP(a);const s=yield getCommands(i,"extract",r);yield execCommands(s)}))}i.extractTar=extractTar;function createTar(r,i,a){return c(this,void 0,void 0,(function*(){(0,m.writeFileSync)(h.join(r,y.ManifestFilename),i.join("\n"));const s=yield getCommands(a,"create");yield execCommands(s,r)}))}i.createTar=createTar},6215:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;var p=Object.getOwnPropertyDescriptor(i,a);if(!p||("get"in p?!i.__esModule:p.writable||p.configurable)){p={enumerable:true,get:function(){return i[a]}}}Object.defineProperty(r,s,p)}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.prototype.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.getDownloadOptions=i.getUploadOptions=void 0;const c=l(a(2186));function getUploadOptions(r){const i={uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(r){if(typeof r.uploadConcurrency==="number"){i.uploadConcurrency=r.uploadConcurrency}if(typeof r.uploadChunkSize==="number"){i.uploadChunkSize=r.uploadChunkSize}}c.debug(`Upload concurrency: ${i.uploadConcurrency}`);c.debug(`Upload chunk size: ${i.uploadChunkSize}`);return i}i.getUploadOptions=getUploadOptions;function getDownloadOptions(r){const i={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(r){if(typeof r.useAzureSdk==="boolean"){i.useAzureSdk=r.useAzureSdk}if(typeof r.concurrentBlobDownloads==="boolean"){i.concurrentBlobDownloads=r.concurrentBlobDownloads}if(typeof r.downloadConcurrency==="number"){i.downloadConcurrency=r.downloadConcurrency}if(typeof r.timeoutInMs==="number"){i.timeoutInMs=r.timeoutInMs}if(typeof r.segmentTimeoutInMs==="number"){i.segmentTimeoutInMs=r.segmentTimeoutInMs}if(typeof r.lookupOnly==="boolean"){i.lookupOnly=r.lookupOnly}}const a=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(a&&!isNaN(Number(a))&&isFinite(Number(a))){i.segmentTimeoutInMs=Number(a)*60*1e3}c.debug(`Use Azure SDK: ${i.useAzureSdk}`);c.debug(`Download concurrency: ${i.downloadConcurrency}`);c.debug(`Request timeout (ms): ${i.timeoutInMs}`);c.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);c.debug(`Segment download timeout (ms): ${i.segmentTimeoutInMs}`);c.debug(`Lookup only: ${i.lookupOnly}`);return i}i.getDownloadOptions=getDownloadOptions},4138:(r,i,a)=>{var s=a(1610);var p=a(8373);var l=p;l.v1=s;l.v4=p;r.exports=l},5694:r=>{var i=[];for(var a=0;a<256;++a){i[a]=(a+256).toString(16).substr(1)}function bytesToUuid(r,a){var s=a||0;var p=i;return[p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],"-",p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]],p[r[s++]]].join("")}r.exports=bytesToUuid},4069:(r,i,a)=>{var s=a(6113);r.exports=function nodeRNG(){return s.randomBytes(16)}},1610:(r,i,a)=>{var s=a(4069);var p=a(5694);var l;var c;var d=0;var u=0;function v1(r,i,a){var m=i&&a||0;var h=i||[];r=r||{};var g=r.node||l;var y=r.clockseq!==undefined?r.clockseq:c;if(g==null||y==null){var v=s();if(g==null){g=l=[v[0]|1,v[1],v[2],v[3],v[4],v[5]]}if(y==null){y=c=(v[6]<<8|v[7])&16383}}var b=r.msecs!==undefined?r.msecs:(new Date).getTime();var x=r.nsecs!==undefined?r.nsecs:u+1;var w=b-d+(x-u)/1e4;if(w<0&&r.clockseq===undefined){y=y+1&16383}if((w<0||b>d)&&r.nsecs===undefined){x=0}if(x>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}d=b;u=x;c=y;b+=122192928e5;var S=((b&268435455)*1e4+x)%4294967296;h[m++]=S>>>24&255;h[m++]=S>>>16&255;h[m++]=S>>>8&255;h[m++]=S&255;var _=b/4294967296*1e4&268435455;h[m++]=_>>>8&255;h[m++]=_&255;h[m++]=_>>>24&15|16;h[m++]=_>>>16&255;h[m++]=y>>>8|128;h[m++]=y&255;for(var E=0;E<6;++E){h[m+E]=g[E]}return i?i:p(h)}r.exports=v1},8373:(r,i,a)=>{var s=a(4069);var p=a(5694);function v4(r,i,a){var l=i&&a||0;if(typeof r=="string"){i=r==="binary"?new Array(16):null;r=null}r=r||{};var c=r.random||(r.rng||s)();c[6]=c[6]&15|64;c[8]=c[8]&63|128;if(i){for(var d=0;d<16;++d){i[l+d]=c[d]}}return i||p(c)}r.exports=v4},7351:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.issue=i.issueCommand=void 0;const c=l(a(2037));const d=a(5278);function issueCommand(r,i,a){const s=new Command(r,i,a);process.stdout.write(s.toString()+c.EOL)}i.issueCommand=issueCommand;function issue(r,i=""){issueCommand(r,{},i)}i.issue=issue;const u="::";class Command{constructor(r,i,a){if(!r){r="missing.command"}this.command=r;this.properties=i;this.message=a}toString(){let r=u+this.command;if(this.properties&&Object.keys(this.properties).length>0){r+=" ";let i=true;for(const a in this.properties){if(this.properties.hasOwnProperty(a)){const s=this.properties[a];if(s){if(i){i=false}else{r+=","}r+=`${a}=${escapeProperty(s)}`}}}}r+=`${u}${escapeData(this.message)}`;return r}}function escapeData(r){return d.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(r){return d.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getIDToken=i.getState=i.saveState=i.group=i.endGroup=i.startGroup=i.info=i.notice=i.warning=i.error=i.debug=i.isDebug=i.setFailed=i.setCommandEcho=i.setOutput=i.getBooleanInput=i.getMultilineInput=i.getInput=i.addPath=i.setSecret=i.exportVariable=i.ExitCode=void 0;const d=a(7351);const u=a(717);const m=a(5278);const h=l(a(2037));const g=l(a(1017));const y=a(8041);var v;(function(r){r[r["Success"]=0]="Success";r[r["Failure"]=1]="Failure"})(v=i.ExitCode||(i.ExitCode={}));function exportVariable(r,i){const a=m.toCommandValue(i);process.env[r]=a;const s=process.env["GITHUB_ENV"]||"";if(s){return u.issueFileCommand("ENV",u.prepareKeyValueMessage(r,i))}d.issueCommand("set-env",{name:r},a)}i.exportVariable=exportVariable;function setSecret(r){d.issueCommand("add-mask",{},r)}i.setSecret=setSecret;function addPath(r){const i=process.env["GITHUB_PATH"]||"";if(i){u.issueFileCommand("PATH",r)}else{d.issueCommand("add-path",{},r)}process.env["PATH"]=`${r}${g.delimiter}${process.env["PATH"]}`}i.addPath=addPath;function getInput(r,i){const a=process.env[`INPUT_${r.replace(/ /g,"_").toUpperCase()}`]||"";if(i&&i.required&&!a){throw new Error(`Input required and not supplied: ${r}`)}if(i&&i.trimWhitespace===false){return a}return a.trim()}i.getInput=getInput;function getMultilineInput(r,i){const a=getInput(r,i).split("\n").filter((r=>r!==""));if(i&&i.trimWhitespace===false){return a}return a.map((r=>r.trim()))}i.getMultilineInput=getMultilineInput;function getBooleanInput(r,i){const a=["true","True","TRUE"];const s=["false","False","FALSE"];const p=getInput(r,i);if(a.includes(p))return true;if(s.includes(p))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${r}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}i.getBooleanInput=getBooleanInput;function setOutput(r,i){const a=process.env["GITHUB_OUTPUT"]||"";if(a){return u.issueFileCommand("OUTPUT",u.prepareKeyValueMessage(r,i))}process.stdout.write(h.EOL);d.issueCommand("set-output",{name:r},m.toCommandValue(i))}i.setOutput=setOutput;function setCommandEcho(r){d.issue("echo",r?"on":"off")}i.setCommandEcho=setCommandEcho;function setFailed(r){process.exitCode=v.Failure;error(r)}i.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}i.isDebug=isDebug;function debug(r){d.issueCommand("debug",{},r)}i.debug=debug;function error(r,i={}){d.issueCommand("error",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.error=error;function warning(r,i={}){d.issueCommand("warning",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.warning=warning;function notice(r,i={}){d.issueCommand("notice",m.toCommandProperties(i),r instanceof Error?r.toString():r)}i.notice=notice;function info(r){process.stdout.write(r+h.EOL)}i.info=info;function startGroup(r){d.issue("group",r)}i.startGroup=startGroup;function endGroup(){d.issue("endgroup")}i.endGroup=endGroup;function group(r,i){return c(this,void 0,void 0,(function*(){startGroup(r);let a;try{a=yield i()}finally{endGroup()}return a}))}i.group=group;function saveState(r,i){const a=process.env["GITHUB_STATE"]||"";if(a){return u.issueFileCommand("STATE",u.prepareKeyValueMessage(r,i))}d.issueCommand("save-state",{name:r},m.toCommandValue(i))}i.saveState=saveState;function getState(r){return process.env[`STATE_${r}`]||""}i.getState=getState;function getIDToken(r){return c(this,void 0,void 0,(function*(){return yield y.OidcClient.getIDToken(r)}))}i.getIDToken=getIDToken;var b=a(1327);Object.defineProperty(i,"summary",{enumerable:true,get:function(){return b.summary}});var x=a(1327);Object.defineProperty(i,"markdownSummary",{enumerable:true,get:function(){return x.markdownSummary}});var w=a(2981);Object.defineProperty(i,"toPosixPath",{enumerable:true,get:function(){return w.toPosixPath}});Object.defineProperty(i,"toWin32Path",{enumerable:true,get:function(){return w.toWin32Path}});Object.defineProperty(i,"toPlatformPath",{enumerable:true,get:function(){return w.toPlatformPath}})},717:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.prepareKeyValueMessage=i.issueFileCommand=void 0;const c=l(a(7147));const d=l(a(2037));const u=a(5840);const m=a(5278);function issueFileCommand(r,i){const a=process.env[`GITHUB_${r}`];if(!a){throw new Error(`Unable to find environment variable for file command ${r}`)}if(!c.existsSync(a)){throw new Error(`Missing file at path: ${a}`)}c.appendFileSync(a,`${m.toCommandValue(i)}${d.EOL}`,{encoding:"utf8"})}i.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(r,i){const a=`ghadelimiter_${u.v4()}`;const s=m.toCommandValue(i);if(r.includes(a)){throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`)}if(s.includes(a)){throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`)}return`${r}<<${a}${d.EOL}${s}${d.EOL}${a}`}i.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(r,i,a){"use strict";var s=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.OidcClient=void 0;const p=a(6255);const l=a(5526);const c=a(2186);class OidcClient{static createHttpClient(r=true,i=10){const a={allowRetries:r,maxRetries:i};return new p.HttpClient("actions/oidc-client",[new l.BearerCredentialHandler(OidcClient.getRequestToken())],a)}static getRequestToken(){const r=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!r){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return r}static getIDTokenUrl(){const r=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!r){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return r}static getCall(r){var i;return s(this,void 0,void 0,(function*(){const a=OidcClient.createHttpClient();const s=yield a.getJson(r).catch((r=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${r.statusCode}\n \n Error Message: ${r.message}`)}));const p=(i=s.result)===null||i===void 0?void 0:i.value;if(!p){throw new Error("Response json body do not have ID Token field")}return p}))}static getIDToken(r){return s(this,void 0,void 0,(function*(){try{let i=OidcClient.getIDTokenUrl();if(r){const a=encodeURIComponent(r);i=`${i}&audience=${a}`}c.debug(`ID token url is ${i}`);const a=yield OidcClient.getCall(i);c.setSecret(a);return a}catch(r){throw new Error(`Error message: ${r.message}`)}}))}}i.OidcClient=OidcClient},2981:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};Object.defineProperty(i,"__esModule",{value:true});i.toPlatformPath=i.toWin32Path=i.toPosixPath=void 0;const c=l(a(1017));function toPosixPath(r){return r.replace(/[\\]/g,"/")}i.toPosixPath=toPosixPath;function toWin32Path(r){return r.replace(/[/]/g,"\\")}i.toWin32Path=toWin32Path;function toPlatformPath(r){return r.replace(/[/\\]/g,c.sep)}i.toPlatformPath=toPlatformPath},1327:function(r,i,a){"use strict";var s=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.summary=i.markdownSummary=i.SUMMARY_DOCS_URL=i.SUMMARY_ENV_VAR=void 0;const p=a(2037);const l=a(7147);const{access:c,appendFile:d,writeFile:u}=l.promises;i.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";i.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return s(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const r=process.env[i.SUMMARY_ENV_VAR];if(!r){throw new Error(`Unable to find environment variable for $${i.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(r,l.constants.R_OK|l.constants.W_OK)}catch(i){throw new Error(`Unable to access summary file: '${r}'. Check if the file has correct read/write permissions.`)}this._filePath=r;return this._filePath}))}wrap(r,i,a={}){const s=Object.entries(a).map((([r,i])=>` ${r}="${i}"`)).join("");if(!i){return`<${r}${s}>`}return`<${r}${s}>${i}${r}>`}write(r){return s(this,void 0,void 0,(function*(){const i=!!(r===null||r===void 0?void 0:r.overwrite);const a=yield this.filePath();const s=i?u:d;yield s(a,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return s(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(r,i=false){this._buffer+=r;return i?this.addEOL():this}addEOL(){return this.addRaw(p.EOL)}addCodeBlock(r,i){const a=Object.assign({},i&&{lang:i});const s=this.wrap("pre",this.wrap("code",r),a);return this.addRaw(s).addEOL()}addList(r,i=false){const a=i?"ol":"ul";const s=r.map((r=>this.wrap("li",r))).join("");const p=this.wrap(a,s);return this.addRaw(p).addEOL()}addTable(r){const i=r.map((r=>{const i=r.map((r=>{if(typeof r==="string"){return this.wrap("td",r)}const{header:i,data:a,colspan:s,rowspan:p}=r;const l=i?"th":"td";const c=Object.assign(Object.assign({},s&&{colspan:s}),p&&{rowspan:p});return this.wrap(l,a,c)})).join("");return this.wrap("tr",i)})).join("");const a=this.wrap("table",i);return this.addRaw(a).addEOL()}addDetails(r,i){const a=this.wrap("details",this.wrap("summary",r)+i);return this.addRaw(a).addEOL()}addImage(r,i,a){const{width:s,height:p}=a||{};const l=Object.assign(Object.assign({},s&&{width:s}),p&&{height:p});const c=this.wrap("img",null,Object.assign({src:r,alt:i},l));return this.addRaw(c).addEOL()}addHeading(r,i){const a=`h${i}`;const s=["h1","h2","h3","h4","h5","h6"].includes(a)?a:"h1";const p=this.wrap(s,r);return this.addRaw(p).addEOL()}addSeparator(){const r=this.wrap("hr",null);return this.addRaw(r).addEOL()}addBreak(){const r=this.wrap("br",null);return this.addRaw(r).addEOL()}addQuote(r,i){const a=Object.assign({},i&&{cite:i});const s=this.wrap("blockquote",r,a);return this.addRaw(s).addEOL()}addLink(r,i){const a=this.wrap("a",r,{href:i});return this.addRaw(a).addEOL()}}const m=new Summary;i.markdownSummary=m;i.summary=m},5278:(r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.toCommandProperties=i.toCommandValue=void 0;function toCommandValue(r){if(r===null||r===undefined){return""}else if(typeof r==="string"||r instanceof String){return r}return JSON.stringify(r)}i.toCommandValue=toCommandValue;function toCommandProperties(r){if(!Object.keys(r).length){return{}}return{title:r.title,file:r.file,line:r.startLine,endLine:r.endLine,col:r.startColumn,endColumn:r.endColumn}}i.toCommandProperties=toCommandProperties},1514:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getExecOutput=i.exec=void 0;const d=a(1576);const u=l(a(8159));function exec(r,i,a){return c(this,void 0,void 0,(function*(){const s=u.argStringToArray(r);if(s.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const p=s[0];i=s.slice(1).concat(i||[]);const l=new u.ToolRunner(p,i,a);return l.exec()}))}i.exec=exec;function getExecOutput(r,i,a){var s,p;return c(this,void 0,void 0,(function*(){let l="";let c="";const u=new d.StringDecoder("utf8");const m=new d.StringDecoder("utf8");const h=(s=a===null||a===void 0?void 0:a.listeners)===null||s===void 0?void 0:s.stdout;const g=(p=a===null||a===void 0?void 0:a.listeners)===null||p===void 0?void 0:p.stderr;const stdErrListener=r=>{c+=m.write(r);if(g){g(r)}};const stdOutListener=r=>{l+=u.write(r);if(h){h(r)}};const y=Object.assign(Object.assign({},a===null||a===void 0?void 0:a.listeners),{stdout:stdOutListener,stderr:stdErrListener});const v=yield exec(r,i,Object.assign(Object.assign({},a),{listeners:y}));l+=u.end();c+=m.end();return{exitCode:v,stdout:l,stderr:c}}))}i.getExecOutput=getExecOutput},8159:function(r,i,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,i,a,s){if(s===undefined)s=a;Object.defineProperty(r,s,{enumerable:true,get:function(){return i[a]}})}:function(r,i,a,s){if(s===undefined)s=a;r[s]=i[a]});var p=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var l=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)if(a!=="default"&&Object.hasOwnProperty.call(r,a))s(i,r,a);p(i,r);return i};var c=this&&this.__awaiter||function(r,i,a,s){function adopt(r){return r instanceof a?r:new a((function(i){i(r)}))}return new(a||(a=Promise))((function(a,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?a(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.argStringToArray=i.ToolRunner=void 0;const d=l(a(2037));const u=l(a(2361));const m=l(a(2081));const h=l(a(1017));const g=l(a(7436));const y=l(a(1962));const v=a(9512);const b=process.platform==="win32";class ToolRunner extends u.EventEmitter{constructor(r,i,a){super();if(!r){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=r;this.args=i||[];this.options=a||{}}_debug(r){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(r)}}_getCommandString(r,i){const a=this._getSpawnFileName();const s=this._getSpawnArgs(r);let p=i?"":"[command]";if(b){if(this._isCmdFile()){p+=a;for(const r of s){p+=` ${r}`}}else if(r.windowsVerbatimArguments){p+=`"${a}"`;for(const r of s){p+=` ${r}`}}else{p+=this._windowsQuoteCmdArg(a);for(const r of s){p+=` ${this._windowsQuoteCmdArg(r)}`}}}else{p+=a;for(const r of s){p+=` ${r}`}}return p}_processLineBuffer(r,i,a){try{let s=i+r.toString();let p=s.indexOf(d.EOL);while(p>-1){const r=s.substring(0,p);a(r);s=s.substring(p+d.EOL.length);p=s.indexOf(d.EOL)}return s}catch(r){this._debug(`error processing line. Failed with error ${r}`);return""}}_getSpawnFileName(){if(b){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(r){if(b){if(this._isCmdFile()){let i=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const a of this.args){i+=" ";i+=r.windowsVerbatimArguments?a:this._windowsQuoteCmdArg(a)}i+='"';return[i]}}return this.args}_endsWith(r,i){return r.endsWith(i)}_isCmdFile(){const r=this.toolPath.toUpperCase();return this._endsWith(r,".CMD")||this._endsWith(r,".BAT")}_windowsQuoteCmdArg(r){if(!this._isCmdFile()){return this._uvQuoteCmdArg(r)}if(!r){return'""'}const i=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let a=false;for(const s of r){if(i.some((r=>r===s))){a=true;break}}if(!a){return r}let s='"';let p=true;for(let i=r.length;i>0;i--){s+=r[i-1];if(p&&r[i-1]==="\\"){s+="\\"}else if(r[i-1]==='"'){p=true;s+='"'}else{p=false}}s+='"';return s.split("").reverse().join("")}_uvQuoteCmdArg(r){if(!r){return'""'}if(!r.includes(" ")&&!r.includes("\t")&&!r.includes('"')){return r}if(!r.includes('"')&&!r.includes("\\")){return`"${r}"`}let i='"';let a=true;for(let s=r.length;s>0;s--){i+=r[s-1];if(a&&r[s-1]==="\\"){i+="\\"}else if(r[s-1]==='"'){a=true;i+="\\"}else{a=false}}i+='"';return i.split("").reverse().join("")}_cloneExecOptions(r){r=r||{};const i={cwd:r.cwd||process.cwd(),env:r.env||process.env,silent:r.silent||false,windowsVerbatimArguments:r.windowsVerbatimArguments||false,failOnStdErr:r.failOnStdErr||false,ignoreReturnCode:r.ignoreReturnCode||false,delay:r.delay||1e4};i.outStream=r.outStream||process.stdout;i.errStream=r.errStream||process.stderr;return i}_getSpawnOptions(r,i){r=r||{};const a={};a.cwd=r.cwd;a.env=r.env;a["windowsVerbatimArguments"]=r.windowsVerbatimArguments||this._isCmdFile();if(r.windowsVerbatimArguments){a.argv0=`"${i}"`}return a}exec(){return c(this,void 0,void 0,(function*(){if(!y.isRooted(this.toolPath)&&(this.toolPath.includes("/")||b&&this.toolPath.includes("\\"))){this.toolPath=h.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield g.which(this.toolPath,true);return new Promise(((r,i)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const r of this.args){this._debug(` ${r}`)}const a=this._cloneExecOptions(this.options);if(!a.silent&&a.outStream){a.outStream.write(this._getCommandString(a)+d.EOL)}const s=new ExecState(a,this.toolPath);s.on("debug",(r=>{this._debug(r)}));if(this.options.cwd&&!(yield y.exists(this.options.cwd))){return i(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const p=this._getSpawnFileName();const l=m.spawn(p,this._getSpawnArgs(a),this._getSpawnOptions(this.options,p));let c="";if(l.stdout){l.stdout.on("data",(r=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(r)}if(!a.silent&&a.outStream){a.outStream.write(r)}c=this._processLineBuffer(r,c,(r=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(r)}}))}))}let u="";if(l.stderr){l.stderr.on("data",(r=>{s.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(r)}if(!a.silent&&a.errStream&&a.outStream){const i=a.failOnStdErr?a.errStream:a.outStream;i.write(r)}u=this._processLineBuffer(r,u,(r=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(r)}}))}))}l.on("error",(r=>{s.processError=r.message;s.processExited=true;s.processClosed=true;s.CheckComplete()}));l.on("exit",(r=>{s.processExitCode=r;s.processExited=true;this._debug(`Exit code ${r} received from tool '${this.toolPath}'`);s.CheckComplete()}));l.on("close",(r=>{s.processExitCode=r;s.processExited=true;s.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);s.CheckComplete()}));s.on("done",((a,s)=>{if(c.length>0){this.emit("stdline",c)}if(u.length>0){this.emit("errline",u)}l.removeAllListeners();if(a){i(a)}else{r(s)}}));if(this.options.input){if(!l.stdin){throw new Error("child process missing stdin")}l.stdin.end(this.options.input)}}))))}))}}i.ToolRunner=ToolRunner;function argStringToArray(r){const i=[];let a=false;let s=false;let p="";function append(r){if(s&&r!=='"'){p+="\\"}p+=r;s=false}for(let l=0;l {const m=generateBlockID(d,s);const h=a.blockSize*s;const g=s===p-1?i:h+a.blockSize;const y=g-h;l.push(m);await this.stageBlock(m,r(h,y),y,{abortSignal:a.abortSignal,conditions:a.conditions,encryptionScope:a.encryptionScope,tracingOptions:c.tracingOptions});u+=y;if(a.onProgress){a.onProgress({loadedBytes:u})}}))}await m.do();return this.commitBlockList(l,c)}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async uploadFile(r,i={}){const{span:a,updatedOptions:s}=Mo("BlockBlobClient-uploadFile",i);try{const a=(await Ko(r)).size;return await this.uploadSeekableInternal(((i,a)=>()=>Qo(r,{autoClose:true,end:a?i+a-1:Infinity,start:i})),a,Object.assign(Object.assign({},i),{tracingOptions:Object.assign(Object.assign({},i.tracingOptions),convertTracingToRequestOptionsBase(s))}))}catch(r){a.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{a.end()}}async uploadStream(r,i=so,a=5,p={}){if(!p.blobHTTPHeaders){p.blobHTTPHeaders={}}if(!p.conditions){p.conditions={}}const{span:c,updatedOptions:d}=Mo("BlockBlobClient-uploadStream",p);try{let l=0;const c=s.generateUuid();let u=0;const m=[];const h=new BufferScheduler(r,i,a,(async(r,i)=>{const a=generateBlockID(c,l);m.push(a);l++;await this.stageBlock(a,r,i,{conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:d.tracingOptions});u+=i;if(p.onProgress){p.onProgress({loadedBytes:u})}}),Math.ceil(a/4*3));await h.do();return await this.commitBlockList(m,Object.assign(Object.assign({},p),{tracingOptions:Object.assign(Object.assign({},p.tracingOptions),convertTracingToRequestOptionsBase(d))}))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}}class PageBlobClient extends BlobClient{constructor(r,i,a,p){let l;let c;p=p||{};if(isPipelineLike(i)){c=r;l=i}else if(s.isNode&&i instanceof StorageSharedKeyCredential||i instanceof AnonymousCredential||s.isTokenCredential(i)){c=r;p=a;l=newPipeline(i,p)}else if(!i&&typeof i!=="string"){c=r;l=newPipeline(new AnonymousCredential,p)}else if(i&&typeof i==="string"&&a&&typeof a==="string"){const d=i;const u=a;const m=extractConnectionStringParts(r);if(m.kind==="AccountConnString"){if(s.isNode){const r=new StorageSharedKeyCredential(m.accountName,m.accountKey);c=appendToURLPath(appendToURLPath(m.url,encodeURIComponent(d)),encodeURIComponent(u));if(!p.proxyOptions){p.proxyOptions=s.getDefaultProxySettings(m.proxyUri)}l=newPipeline(r,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(m.kind==="SASConnString"){c=appendToURLPath(appendToURLPath(m.url,encodeURIComponent(d)),encodeURIComponent(u))+"?"+m.accountSas;l=newPipeline(new AnonymousCredential,p)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(c,l);this.pageBlobContext=new PageBlob(this.storageClientContext)}withSnapshot(r){return new PageBlobClient(setURLParameter(this.url,uo.Parameters.SNAPSHOT,r.length===0?undefined:r),this.pipeline)}async create(r,i={}){var a,s,p;i.conditions=i.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-create",i);try{ensureCpkIfSpecified(i.customerProvidedKey,this.isHttps);return await this.pageBlobContext.create(0,r,Object.assign({abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,blobSequenceNumber:i.blobSequenceNumber,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:(s=i.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(p=i.immutabilityPolicy)===null||p===void 0?void 0:p.policyMode,legalHold:i.legalHold,tier:toAccessTier(i.tier),blobTagsString:toBlobTagsString(i.tags)},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async createIfNotExists(r,i={}){var a,s;const{span:p,updatedOptions:c}=Mo("PageBlobClient-createIfNotExists",i);try{const a={ifNoneMatch:go};const s=await this.create(r,Object.assign(Object.assign({},i),{conditions:a,tracingOptions:c.tracingOptions}));return Object.assign(Object.assign({succeeded:true},s),{_response:s._response})}catch(r){if(((a=r.details)===null||a===void 0?void 0:a.errorCode)==="BlobAlreadyExists"){p.setStatus({code:l.SpanStatusCode.ERROR,message:"Expected exception when creating a blob only if it does not already exist."});return Object.assign(Object.assign({succeeded:false},(s=r.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:r.response})}p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async uploadPages(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-uploadPages",s);try{ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return await this.pageBlobContext.uploadPages(a,r,Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),requestOptions:{onUploadProgress:s.onProgress},range:rangeToString({offset:i,count:a}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async uploadPagesFromURL(r,i,a,s,p={}){var c;p.conditions=p.conditions||{};p.sourceConditions=p.sourceConditions||{};const{span:d,updatedOptions:u}=Mo("PageBlobClient-uploadPagesFromURL",p);try{ensureCpkIfSpecified(p.customerProvidedKey,this.isHttps);return await this.pageBlobContext.uploadPagesFromURL(r,rangeToString({offset:i,count:s}),0,rangeToString({offset:a,count:s}),Object.assign({abortSignal:p.abortSignal,sourceContentMD5:p.sourceContentMD5,sourceContentCrc64:p.sourceContentCrc64,leaseAccessConditions:p.conditions,sequenceNumberAccessConditions:p.conditions,modifiedAccessConditions:Object.assign(Object.assign({},p.conditions),{ifTags:(c=p.conditions)===null||c===void 0?void 0:c.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:p.sourceConditions.ifMatch,sourceIfModifiedSince:p.sourceConditions.ifModifiedSince,sourceIfNoneMatch:p.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:p.sourceConditions.ifUnmodifiedSince},cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,copySourceAuthorization:httpAuthorizationToString(p.sourceAuthorization)},convertTracingToRequestOptionsBase(u)))}catch(r){d.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{d.end()}}async clearPages(r=0,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-clearPages",a);try{return await this.pageBlobContext.clearPages(0,Object.assign({abortSignal:a.abortSignal,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions}),range:rangeToString({offset:r,count:i}),sequenceNumberAccessConditions:a.conditions,cpkInfo:a.customerProvidedKey,encryptionScope:a.encryptionScope},convertTracingToRequestOptionsBase(c)))}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async getPageRanges(r=0,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-getPageRanges",a);try{return await this.pageBlobContext.getPageRanges(Object.assign({abortSignal:a.abortSignal,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions}),range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(c))).then(rangeResponseFromModel)}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async listPageRangesSegment(r=0,i,a,s={}){var p;const{span:c,updatedOptions:d}=Mo("PageBlobClient-getPageRangesSegment",s);try{return await this.pageBlobContext.getPageRanges(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),range:rangeToString({offset:r,count:i}),marker:a,maxPageSize:s.maxPageSize},convertTracingToRequestOptionsBase(d)))}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}listPageRangeItemSegments(r=0,i,a,s={}){return p.__asyncGenerator(this,arguments,(function*listPageRangeItemSegments_1(){let l;if(!!a||a===undefined){do{l=yield p.__await(this.listPageRangesSegment(r,i,a,s));a=l.continuationToken;yield yield p.__await(yield p.__await(l))}while(a)}}))}listPageRangeItems(r=0,i,a={}){return p.__asyncGenerator(this,arguments,(function*listPageRangeItems_1(){var s,l;let c;try{for(var d=p.__asyncValues(this.listPageRangeItemSegments(r,i,c,a)),u;u=yield p.__await(d.next()),!u.done;){const r=u.value;yield p.__await(yield*p.__asyncDelegator(p.__asyncValues(ExtractPageRangeInfoItems(r))))}}catch(r){s={error:r}}finally{try{if(u&&!u.done&&(l=d.return))yield p.__await(l.call(d))}finally{if(s)throw s.error}}}))}listPageRanges(r=0,i,a={}){a.conditions=a.conditions||{};const s=this.listPageRangeItems(r,i,a);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(r,i,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},a))}}async getPageRangesDiff(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-getPageRangesDiff",s);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),prevsnapshot:a,range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(d))).then(rangeResponseFromModel)}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async listPageRangesDiffSegment(r,i,a,s,p){var c;const{span:d,updatedOptions:u}=Mo("PageBlobClient-getPageRangesDiffSegment",p);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:p===null||p===void 0?void 0:p.abortSignal,leaseAccessConditions:p===null||p===void 0?void 0:p.conditions,modifiedAccessConditions:Object.assign(Object.assign({},p===null||p===void 0?void 0:p.conditions),{ifTags:(c=p===null||p===void 0?void 0:p.conditions)===null||c===void 0?void 0:c.tagConditions}),prevsnapshot:a,range:rangeToString({offset:r,count:i}),marker:s,maxPageSize:p===null||p===void 0?void 0:p.maxPageSize},convertTracingToRequestOptionsBase(u)))}catch(r){d.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{d.end()}}listPageRangeDiffItemSegments(r,i,a,s,l){return p.__asyncGenerator(this,arguments,(function*listPageRangeDiffItemSegments_1(){let c;if(!!s||s===undefined){do{c=yield p.__await(this.listPageRangesDiffSegment(r,i,a,s,l));s=c.continuationToken;yield yield p.__await(yield p.__await(c))}while(s)}}))}listPageRangeDiffItems(r,i,a,s){return p.__asyncGenerator(this,arguments,(function*listPageRangeDiffItems_1(){var l,c;let d;try{for(var u=p.__asyncValues(this.listPageRangeDiffItemSegments(r,i,a,d,s)),m;m=yield p.__await(u.next()),!m.done;){const r=m.value;yield p.__await(yield*p.__asyncDelegator(p.__asyncValues(ExtractPageRangeInfoItems(r))))}}catch(r){l={error:r}}finally{try{if(m&&!m.done&&(c=u.return))yield p.__await(c.call(u))}finally{if(l)throw l.error}}}))}listPageRangesDiff(r,i,a,s={}){s.conditions=s.conditions||{};const p=this.listPageRangeDiffItems(r,i,a,Object.assign({},s));return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(p={})=>this.listPageRangeDiffItemSegments(r,i,a,p.continuationToken,Object.assign({maxPageSize:p.maxPageSize},s))}}async getPageRangesDiffForManagedDisks(r,i,a,s={}){var p;s.conditions=s.conditions||{};const{span:c,updatedOptions:d}=Mo("PageBlobClient-GetPageRangesDiffForManagedDisks",s);try{return await this.pageBlobContext.getPageRangesDiff(Object.assign({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(p=s.conditions)===null||p===void 0?void 0:p.tagConditions}),prevSnapshotUrl:a,range:rangeToString({offset:r,count:i})},convertTracingToRequestOptionsBase(d))).then(rangeResponseFromModel)}catch(r){c.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{c.end()}}async resize(r,i={}){var a;i.conditions=i.conditions||{};const{span:s,updatedOptions:p}=Mo("PageBlobClient-resize",i);try{return await this.pageBlobContext.resize(r,Object.assign({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions}),encryptionScope:i.encryptionScope},convertTracingToRequestOptionsBase(p)))}catch(r){s.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{s.end()}}async updateSequenceNumber(r,i,a={}){var s;a.conditions=a.conditions||{};const{span:p,updatedOptions:c}=Mo("PageBlobClient-updateSequenceNumber",a);try{return await this.pageBlobContext.updateSequenceNumber(r,Object.assign({abortSignal:a.abortSignal,blobSequenceNumber:i,leaseAccessConditions:a.conditions,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(s=a.conditions)===null||s===void 0?void 0:s.tagConditions})},convertTracingToRequestOptionsBase(c)))}catch(r){p.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{p.end()}}async startCopyIncremental(r,i={}){var a;const{span:s,updatedOptions:p}=Mo("PageBlobClient-startCopyIncremental",i);try{return await this.pageBlobContext.copyIncremental(r,Object.assign({abortSignal:i.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(a=i.conditions)===null||a===void 0?void 0:a.tagConditions})},convertTracingToRequestOptionsBase(p)))}catch(r){s.setStatus({code:l.SpanStatusCode.ERROR,message:r.message});throw r}finally{s.end()}}}async function getBodyAsText(r){let i=Buffer.alloc(bo);const a=await streamToBuffer2(r.readableStreamBody,i);i=i.slice(0,a);return i.toString()}function utf8ByteLength(r){return Buffer.byteLength(r)}const Jo=": ";const Yo=" ";const Zo=-1;class BatchResponseParser{constructor(r,i){if(!r||!r.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!i||i.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=r;this.subRequests=i;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${xo}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==mo.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const r=await getBodyAsText(this.batchResponse);const i=r.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const a=i.length;if(a!==this.subRequests.size&&a!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const p=new Array(a);let l=0;let c=0;for(let r=0;r=0&&y {r.exports=glob;var s=a(7147);var p=a(6863);var l=a(3973);var c=l.Minimatch;var d=a(4124);var u=a(2361).EventEmitter;var m=a(1017);var h=a(9491);var g=a(8714);var y=a(9010);var v=a(7625);var b=v.setopts;var x=v.ownProp;var w=a(2492);var S=a(3837);var _=v.childrenIgnored;var E=v.isIgnored;var T=a(1223);function glob(r,i,a){if(typeof i==="function")a=i,i={};if(!i)i={};if(i.sync){if(a)throw new TypeError("callback provided to sync glob");return y(r,i)}return new Glob(r,i,a)}glob.sync=y;var N=glob.GlobSync=y.GlobSync;glob.glob=glob;function extend(r,i){if(i===null||typeof i!=="object"){return r}var a=Object.keys(i);var s=a.length;while(s--){r[a[s]]=i[a[s]]}return r}glob.hasMagic=function(r,i){var a=extend({},i);a.noprocess=true;var s=new Glob(r,a);var p=s.minimatch.set;if(!r)return false;if(p.length>1)return true;for(var l=0;l this.maxLength)return i();if(!this.stat&&x(this.cache,a)){var l=this.cache[a];if(Array.isArray(l))l="DIR";if(!p||l==="DIR")return i(null,l);if(p&&l==="FILE")return i()}var c;var d=this.statCache[a];if(d!==undefined){if(d===false)return i(null,d);else{var u=d.isDirectory()?"DIR":"FILE";if(p&&u==="FILE")return i();else return i(null,u,d)}}var m=this;var h=w("stat\0"+a,lstatcb_);if(h)s.lstat(a,h);function lstatcb_(p,l){if(l&&l.isSymbolicLink()){return s.stat(a,(function(s,p){if(s)m._stat2(r,a,null,l,i);else m._stat2(r,a,s,p,i)}))}else{m._stat2(r,a,p,l,i)}}};Glob.prototype._stat2=function(r,i,a,s,p){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR")){this.statCache[i]=false;return p()}var l=r.slice(-1)==="/";this.statCache[i]=s;if(i.slice(-1)==="/"&&s&&!s.isDirectory())return p(null,false,s);var c=true;if(s)c=s.isDirectory()?"DIR":"FILE";this.cache[i]=this.cache[i]||c;if(l&&c==="FILE")return p();return p(null,c,s)}},9010:(r,i,a)=>{r.exports=globSync;globSync.GlobSync=GlobSync;var s=a(7147);var p=a(6863);var l=a(3973);var c=l.Minimatch;var d=a(1957).Glob;var u=a(3837);var m=a(1017);var h=a(9491);var g=a(8714);var y=a(7625);var v=y.setopts;var b=y.ownProp;var x=y.childrenIgnored;var w=y.isIgnored;function globSync(r,i){if(typeof i==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(r,i).found}function GlobSync(r,i){if(!r)throw new Error("must provide pattern");if(typeof i==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(r,i);v(this,r,i);if(this.noprocess)return this;var a=this.minimatch.set.length;this.matches=new Array(a);for(var s=0;sthis.maxLength)return false;if(!this.stat&&b(this.cache,i)){var p=this.cache[i];if(Array.isArray(p))p="DIR";if(!a||p==="DIR")return p;if(a&&p==="FILE")return false}var l;var c=this.statCache[i];if(!c){var d;try{d=s.lstatSync(i)}catch(r){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[i]=false;return false}}if(d&&d.isSymbolicLink()){try{c=s.statSync(i)}catch(r){c=d}}else{c=d}}this.statCache[i]=c;var p=true;if(c)p=c.isDirectory()?"DIR":"FILE";this.cache[i]=this.cache[i]||p;if(a&&p==="FILE")return false;return p};GlobSync.prototype._mark=function(r){return y.mark(this,r)};GlobSync.prototype._makeAbs=function(r){return y.makeAbs(this,r)}},6956:(r,i,a)=>{"use strict";i.__esModule=true;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(7390);var p=_interopRequireDefault(s);var l=a(9211);var c=_interopRequireDefault(l);var d=a(1475);var u=a(9081);var m=a(1617);var h=_interopRequireDefault(m);var g=a(4166);var y=_interopRequireDefault(g);var v=a(1983);var b=_interopRequireDefault(v);var x=p["default"].create;function create(){var r=x();r.compile=function(i,a){return u.compile(i,a,r)};r.precompile=function(i,a){return u.precompile(i,a,r)};r.AST=c["default"];r.Compiler=u.Compiler;r.JavaScriptCompiler=h["default"];r.Parser=d.parser;r.parse=d.parse;r.parseWithoutProcessing=d.parseWithoutProcessing;return r}var w=create();w.create=create;b["default"](w);w.Visitor=y["default"];w["default"]=w;i["default"]=w;r.exports=i["default"]},7390:(r,i,a)=>{"use strict";i.__esModule=true;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}function _interopRequireWildcard(r){if(r&&r.__esModule){return r}else{var i={};if(r!=null){for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a))i[a]=r[a]}}i["default"]=r;return i}}var s=a(4211);var p=_interopRequireWildcard(s);var l=a(3296);var c=_interopRequireDefault(l);var d=a(2879);var u=_interopRequireDefault(d);var m=a(1437);var h=_interopRequireWildcard(m);var g=a(7663);var y=_interopRequireWildcard(g);var v=a(1983);var b=_interopRequireDefault(v);function create(){var r=new p.HandlebarsEnvironment;h.extend(r,p);r.SafeString=c["default"];r.Exception=u["default"];r.Utils=h;r.escapeExpression=h.escapeExpression;r.VM=y;r.template=function(i){return y.template(i,r)};return r}var x=create();x.create=create;b["default"](x);x["default"]=x;i["default"]=x;r.exports=i["default"]},4211:(r,i,a)=>{"use strict";i.__esModule=true;i.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(1437);var p=a(2879);var l=_interopRequireDefault(p);var c=a(3066);var d=a(4168);var u=a(7142);var m=_interopRequireDefault(u);var h=a(6066);var g="4.7.8";i.VERSION=g;var y=8;i.COMPILER_REVISION=y;var v=7;i.LAST_COMPATIBLE_COMPILER_REVISION=v;var b={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};i.REVISION_CHANGES=b;var x="[object Object]";function HandlebarsEnvironment(r,i,a){this.helpers=r||{};this.partials=i||{};this.decorators=a||{};c.registerDefaultHelpers(this);d.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:m["default"],log:m["default"].log,registerHelper:function registerHelper(r,i){if(s.toString.call(r)===x){if(i){throw new l["default"]("Arg not supported with multiple helpers")}s.extend(this.helpers,r)}else{this.helpers[r]=i}},unregisterHelper:function unregisterHelper(r){delete this.helpers[r]},registerPartial:function registerPartial(r,i){if(s.toString.call(r)===x){s.extend(this.partials,r)}else{if(typeof i==="undefined"){throw new l["default"]('Attempting to register a partial called "'+r+'" as undefined')}this.partials[r]=i}},unregisterPartial:function unregisterPartial(r){delete this.partials[r]},registerDecorator:function registerDecorator(r,i){if(s.toString.call(r)===x){if(i){throw new l["default"]("Arg not supported with multiple decorators")}s.extend(this.decorators,r)}else{this.decorators[r]=i}},unregisterDecorator:function unregisterDecorator(r){delete this.decorators[r]},resetLoggedPropertyAccesses:function resetLoggedPropertyAccesses(){h.resetLoggedProperties()}};var w=m["default"].log;i.log=w;i.createFrame=s.createFrame;i.logger=m["default"]},9211:(r,i)=>{"use strict";i.__esModule=true;var a={helpers:{helperExpression:function helperExpression(r){return r.type==="SubExpression"||(r.type==="MustacheStatement"||r.type==="BlockStatement")&&!!(r.params&&r.params.length||r.hash)},scopedId:function scopedId(r){return/^\.|this\b/.test(r.original)},simpleId:function simpleId(r){return r.parts.length===1&&!a.helpers.scopedId(r)&&!r.depth}}};i["default"]=a;r.exports=i["default"]},1475:(r,i,a)=>{"use strict";i.__esModule=true;i.parseWithoutProcessing=parseWithoutProcessing;i.parse=parse;function _interopRequireWildcard(r){if(r&&r.__esModule){return r}else{var i={};if(r!=null){for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a))i[a]=r[a]}}i["default"]=r;return i}}function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(5505);var p=_interopRequireDefault(s);var l=a(5200);var c=_interopRequireDefault(l);var d=a(4706);var u=_interopRequireWildcard(d);var m=a(1437);i.parser=p["default"];var h={};m.extend(h,u);function parseWithoutProcessing(r,i){if(r.type==="Program"){return r}p["default"].yy=h;h.locInfo=function(r){return new h.SourceLocation(i&&i.srcName,r)};var a=p["default"].parse(r);return a}function parse(r,i){var a=parseWithoutProcessing(r,i);var s=new c["default"](i);return s.accept(a)}},3612:(r,i,a)=>{"use strict";i.__esModule=true;var s=a(1437);var p=undefined;try{if(typeof define!=="function"||!define.amd){var l=a(6594);p=l.SourceNode}}catch(r){}if(!p){p=function(r,i,a,s){this.src="";if(s){this.add(s)}};p.prototype={add:function add(r){if(s.isArray(r)){r=r.join("")}this.src+=r},prepend:function prepend(r){if(s.isArray(r)){r=r.join("")}this.src=r+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(r,i,a){if(s.isArray(r)){var p=[];for(var l=0,c=r.length;l {r.exports=glob;var s=a(7147);var p=a(6863);var l=a(3973);var c=l.Minimatch;var d=a(4124);var u=a(2361).EventEmitter;var m=a(1017);var h=a(9491);var g=a(8714);var y=a(9010);var v=a(7625);var b=v.setopts;var x=v.ownProp;var w=a(2492);var S=a(3837);var _=v.childrenIgnored;var E=v.isIgnored;var T=a(1223);function glob(r,i,a){if(typeof i==="function")a=i,i={};if(!i)i={};if(i.sync){if(a)throw new TypeError("callback provided to sync glob");return y(r,i)}return new Glob(r,i,a)}glob.sync=y;var N=glob.GlobSync=y.GlobSync;glob.glob=glob;function extend(r,i){if(i===null||typeof i!=="object"){return r}var a=Object.keys(i);var s=a.length;while(s--){r[a[s]]=i[a[s]]}return r}glob.hasMagic=function(r,i){var a=extend({},i);a.noprocess=true;var s=new Glob(r,a);var p=s.minimatch.set;if(!r)return false;if(p.length>1)return true;for(var l=0;l this.maxLength)return i();if(!this.stat&&x(this.cache,a)){var l=this.cache[a];if(Array.isArray(l))l="DIR";if(!p||l==="DIR")return i(null,l);if(p&&l==="FILE")return i()}var c;var d=this.statCache[a];if(d!==undefined){if(d===false)return i(null,d);else{var u=d.isDirectory()?"DIR":"FILE";if(p&&u==="FILE")return i();else return i(null,u,d)}}var m=this;var h=w("stat\0"+a,lstatcb_);if(h)s.lstat(a,h);function lstatcb_(p,l){if(l&&l.isSymbolicLink()){return s.stat(a,(function(s,p){if(s)m._stat2(r,a,null,l,i);else m._stat2(r,a,s,p,i)}))}else{m._stat2(r,a,p,l,i)}}};Glob.prototype._stat2=function(r,i,a,s,p){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR")){this.statCache[i]=false;return p()}var l=r.slice(-1)==="/";this.statCache[i]=s;if(i.slice(-1)==="/"&&s&&!s.isDirectory())return p(null,false,s);var c=true;if(s)c=s.isDirectory()?"DIR":"FILE";this.cache[i]=this.cache[i]||c;if(l&&c==="FILE")return p();return p(null,c,s)}},9010:(r,i,a)=>{r.exports=globSync;globSync.GlobSync=GlobSync;var s=a(7147);var p=a(6863);var l=a(3973);var c=l.Minimatch;var d=a(1957).Glob;var u=a(3837);var m=a(1017);var h=a(9491);var g=a(8714);var y=a(7625);var v=y.setopts;var b=y.ownProp;var x=y.childrenIgnored;var w=y.isIgnored;function globSync(r,i){if(typeof i==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(r,i).found}function GlobSync(r,i){if(!r)throw new Error("must provide pattern");if(typeof i==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(r,i);v(this,r,i);if(this.noprocess)return this;var a=this.minimatch.set.length;this.matches=new Array(a);for(var s=0;sthis.maxLength)return false;if(!this.stat&&b(this.cache,i)){var p=this.cache[i];if(Array.isArray(p))p="DIR";if(!a||p==="DIR")return p;if(a&&p==="FILE")return false}var l;var c=this.statCache[i];if(!c){var d;try{d=s.lstatSync(i)}catch(r){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[i]=false;return false}}if(d&&d.isSymbolicLink()){try{c=s.statSync(i)}catch(r){c=d}}else{c=d}}this.statCache[i]=c;var p=true;if(c)p=c.isDirectory()?"DIR":"FILE";this.cache[i]=this.cache[i]||p;if(a&&p==="FILE")return false;return p};GlobSync.prototype._mark=function(r){return y.mark(this,r)};GlobSync.prototype._makeAbs=function(r){return y.makeAbs(this,r)}},6956:(r,i,a)=>{"use strict";i.__esModule=true;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(7390);var p=_interopRequireDefault(s);var l=a(9211);var c=_interopRequireDefault(l);var d=a(1475);var u=a(9081);var m=a(1617);var h=_interopRequireDefault(m);var g=a(4166);var y=_interopRequireDefault(g);var v=a(1983);var b=_interopRequireDefault(v);var x=p["default"].create;function create(){var r=x();r.compile=function(i,a){return u.compile(i,a,r)};r.precompile=function(i,a){return u.precompile(i,a,r)};r.AST=c["default"];r.Compiler=u.Compiler;r.JavaScriptCompiler=h["default"];r.Parser=d.parser;r.parse=d.parse;r.parseWithoutProcessing=d.parseWithoutProcessing;return r}var w=create();w.create=create;b["default"](w);w.Visitor=y["default"];w["default"]=w;i["default"]=w;r.exports=i["default"]},7390:(r,i,a)=>{"use strict";i.__esModule=true;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}function _interopRequireWildcard(r){if(r&&r.__esModule){return r}else{var i={};if(r!=null){for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a))i[a]=r[a]}}i["default"]=r;return i}}var s=a(4211);var p=_interopRequireWildcard(s);var l=a(3296);var c=_interopRequireDefault(l);var d=a(2879);var u=_interopRequireDefault(d);var m=a(1437);var h=_interopRequireWildcard(m);var g=a(7663);var y=_interopRequireWildcard(g);var v=a(1983);var b=_interopRequireDefault(v);function create(){var r=new p.HandlebarsEnvironment;h.extend(r,p);r.SafeString=c["default"];r.Exception=u["default"];r.Utils=h;r.escapeExpression=h.escapeExpression;r.VM=y;r.template=function(i){return y.template(i,r)};return r}var x=create();x.create=create;b["default"](x);x["default"]=x;i["default"]=x;r.exports=i["default"]},4211:(r,i,a)=>{"use strict";i.__esModule=true;i.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(1437);var p=a(2879);var l=_interopRequireDefault(p);var c=a(3066);var d=a(4168);var u=a(7142);var m=_interopRequireDefault(u);var h=a(6066);var g="4.7.8";i.VERSION=g;var y=8;i.COMPILER_REVISION=y;var v=7;i.LAST_COMPATIBLE_COMPILER_REVISION=v;var b={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};i.REVISION_CHANGES=b;var x="[object Object]";function HandlebarsEnvironment(r,i,a){this.helpers=r||{};this.partials=i||{};this.decorators=a||{};c.registerDefaultHelpers(this);d.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:m["default"],log:m["default"].log,registerHelper:function registerHelper(r,i){if(s.toString.call(r)===x){if(i){throw new l["default"]("Arg not supported with multiple helpers")}s.extend(this.helpers,r)}else{this.helpers[r]=i}},unregisterHelper:function unregisterHelper(r){delete this.helpers[r]},registerPartial:function registerPartial(r,i){if(s.toString.call(r)===x){s.extend(this.partials,r)}else{if(typeof i==="undefined"){throw new l["default"]('Attempting to register a partial called "'+r+'" as undefined')}this.partials[r]=i}},unregisterPartial:function unregisterPartial(r){delete this.partials[r]},registerDecorator:function registerDecorator(r,i){if(s.toString.call(r)===x){if(i){throw new l["default"]("Arg not supported with multiple decorators")}s.extend(this.decorators,r)}else{this.decorators[r]=i}},unregisterDecorator:function unregisterDecorator(r){delete this.decorators[r]},resetLoggedPropertyAccesses:function resetLoggedPropertyAccesses(){h.resetLoggedProperties()}};var w=m["default"].log;i.log=w;i.createFrame=s.createFrame;i.logger=m["default"]},9211:(r,i)=>{"use strict";i.__esModule=true;var a={helpers:{helperExpression:function helperExpression(r){return r.type==="SubExpression"||(r.type==="MustacheStatement"||r.type==="BlockStatement")&&!!(r.params&&r.params.length||r.hash)},scopedId:function scopedId(r){return/^\.|this\b/.test(r.original)},simpleId:function simpleId(r){return r.parts.length===1&&!a.helpers.scopedId(r)&&!r.depth}}};i["default"]=a;r.exports=i["default"]},1475:(r,i,a)=>{"use strict";i.__esModule=true;i.parseWithoutProcessing=parseWithoutProcessing;i.parse=parse;function _interopRequireWildcard(r){if(r&&r.__esModule){return r}else{var i={};if(r!=null){for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a))i[a]=r[a]}}i["default"]=r;return i}}function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var s=a(5505);var p=_interopRequireDefault(s);var l=a(5200);var c=_interopRequireDefault(l);var d=a(4706);var u=_interopRequireWildcard(d);var m=a(1437);i.parser=p["default"];var h={};m.extend(h,u);function parseWithoutProcessing(r,i){if(r.type==="Program"){return r}p["default"].yy=h;h.locInfo=function(r){return new h.SourceLocation(i&&i.srcName,r)};var a=p["default"].parse(r);return a}function parse(r,i){var a=parseWithoutProcessing(r,i);var s=new c["default"](i);return s.accept(a)}},3612:(r,i,a)=>{"use strict";i.__esModule=true;var s=a(1437);var p=undefined;try{if(typeof define!=="function"||!define.amd){var l=a(6594);p=l.SourceNode}}catch(r){}if(!p){p=function(r,i,a,s){this.src="";if(s){this.add(s)}};p.prototype={add:function add(r){if(s.isArray(r)){r=r.join("")}this.src+=r},prepend:function prepend(r){if(s.isArray(r)){r=r.join("")}this.src=r+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(r,i,a){if(s.isArray(r)){var p=[];for(var l=0,c=r.length;l 1&&arguments[1]!==undefined?arguments[1]:{},p=a.size;let l=p===undefined?0:p;var c=a.timeout;let d=c===undefined?0:c;if(r==null){r=null}else if(isURLSearchParams(r)){r=Buffer.from(r.toString())}else if(isBlob(r));else if(Buffer.isBuffer(r));else if(Object.prototype.toString.call(r)==="[object ArrayBuffer]"){r=Buffer.from(r)}else if(ArrayBuffer.isView(r)){r=Buffer.from(r.buffer,r.byteOffset,r.byteLength)}else if(r instanceof s);else{r=Buffer.from(String(r))}this[v]={body:r,disturbed:false,error:null};this.size=l;this.timeout=d;if(r instanceof s){r.on("error",(function(r){const a=r.name==="AbortError"?r:new FetchError(`Invalid response body while trying to fetch ${i.url}: ${r.message}`,"system",r);i[v].error=a}))}}Body.prototype={get body(){return this[v].body},get bodyUsed(){return this[v].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(r){return r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}))},blob(){let r=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(i){return Object.assign(new Blob([],{type:r.toLowerCase()}),{[h]:i})}))},json(){var r=this;return consumeBody.call(this).then((function(i){try{return JSON.parse(i.toString())}catch(i){return Body.Promise.reject(new FetchError(`invalid json response body at ${r.url} reason: ${i.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(r){return r.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var r=this;return consumeBody.call(this).then((function(i){return convertBody(i,r.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(r){for(const i of Object.getOwnPropertyNames(Body.prototype)){if(!(i in r)){const a=Object.getOwnPropertyDescriptor(Body.prototype,i);Object.defineProperty(r,i,a)}}};function consumeBody(){var r=this;if(this[v].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[v].disturbed=true;if(this[v].error){return Body.Promise.reject(this[v].error)}let i=this.body;if(i===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(i)){i=i.stream()}if(Buffer.isBuffer(i)){return Body.Promise.resolve(i)}if(!(i instanceof s)){return Body.Promise.resolve(Buffer.alloc(0))}let a=[];let p=0;let l=false;return new Body.Promise((function(s,c){let d;if(r.timeout){d=setTimeout((function(){l=true;c(new FetchError(`Response timeout while trying to fetch ${r.url} (over ${r.timeout}ms)`,"body-timeout"))}),r.timeout)}i.on("error",(function(i){if(i.name==="AbortError"){l=true;c(i)}else{c(new FetchError(`Invalid response body while trying to fetch ${r.url}: ${i.message}`,"system",i))}}));i.on("data",(function(i){if(l||i===null){return}if(r.size&&p+i.length>r.size){l=true;c(new FetchError(`content size at ${r.url} over limit: ${r.size}`,"max-size"));return}p+=i.length;a.push(i)}));i.on("end",(function(){if(l){return}clearTimeout(d);try{s(Buffer.concat(a,p))}catch(i){c(new FetchError(`Could not create Buffer from response body for ${r.url}: ${i.message}`,"system",i))}}))}))}function convertBody(r,i){if(typeof y!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const a=i.get("content-type");let s="utf-8";let p,l;if(a){p=/charset=([^;]*)/i.exec(a)}l=r.slice(0,1024).toString();if(!p&&l){p=/ 1&&arguments[1]!==undefined?arguments[1]:{},p=a.size;let l=p===undefined?0:p;var c=a.timeout;let d=c===undefined?0:c;if(r==null){r=null}else if(isURLSearchParams(r)){r=Buffer.from(r.toString())}else if(isBlob(r));else if(Buffer.isBuffer(r));else if(Object.prototype.toString.call(r)==="[object ArrayBuffer]"){r=Buffer.from(r)}else if(ArrayBuffer.isView(r)){r=Buffer.from(r.buffer,r.byteOffset,r.byteLength)}else if(r instanceof s);else{r=Buffer.from(String(r))}this[v]={body:r,disturbed:false,error:null};this.size=l;this.timeout=d;if(r instanceof s){r.on("error",(function(r){const a=r.name==="AbortError"?r:new FetchError(`Invalid response body while trying to fetch ${i.url}: ${r.message}`,"system",r);i[v].error=a}))}}Body.prototype={get body(){return this[v].body},get bodyUsed(){return this[v].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(r){return r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}))},blob(){let r=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(i){return Object.assign(new Blob([],{type:r.toLowerCase()}),{[h]:i})}))},json(){var r=this;return consumeBody.call(this).then((function(i){try{return JSON.parse(i.toString())}catch(i){return Body.Promise.reject(new FetchError(`invalid json response body at ${r.url} reason: ${i.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(r){return r.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var r=this;return consumeBody.call(this).then((function(i){return convertBody(i,r.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(r){for(const i of Object.getOwnPropertyNames(Body.prototype)){if(!(i in r)){const a=Object.getOwnPropertyDescriptor(Body.prototype,i);Object.defineProperty(r,i,a)}}};function consumeBody(){var r=this;if(this[v].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[v].disturbed=true;if(this[v].error){return Body.Promise.reject(this[v].error)}let i=this.body;if(i===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(i)){i=i.stream()}if(Buffer.isBuffer(i)){return Body.Promise.resolve(i)}if(!(i instanceof s)){return Body.Promise.resolve(Buffer.alloc(0))}let a=[];let p=0;let l=false;return new Body.Promise((function(s,c){let d;if(r.timeout){d=setTimeout((function(){l=true;c(new FetchError(`Response timeout while trying to fetch ${r.url} (over ${r.timeout}ms)`,"body-timeout"))}),r.timeout)}i.on("error",(function(i){if(i.name==="AbortError"){l=true;c(i)}else{c(new FetchError(`Invalid response body while trying to fetch ${r.url}: ${i.message}`,"system",i))}}));i.on("data",(function(i){if(l||i===null){return}if(r.size&&p+i.length>r.size){l=true;c(new FetchError(`content size at ${r.url} over limit: ${r.size}`,"max-size"));return}p+=i.length;a.push(i)}));i.on("end",(function(){if(l){return}clearTimeout(d);try{s(Buffer.concat(a,p))}catch(i){c(new FetchError(`Could not create Buffer from response body for ${r.url}: ${i.message}`,"system",i))}}))}))}function convertBody(r,i){if(typeof y!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const a=i.get("content-type");let s="utf-8";let p,l;if(a){p=/charset=([^;]*)/i.exec(a)}l=r.slice(0,1024).toString();if(!p&&l){p=/ =0){if(typeof this.prerelease[a]==="number"){this.prerelease[a]++;a=-2}}if(a===-1){this.prerelease.push(0)}}if(i){if(this.prerelease[0]===i){if(isNaN(this.prerelease[1])){this.prerelease=[i,0]}}else{this.prerelease=[i,0]}}break;default:throw new Error("invalid increment argument: "+r)}this.format();this.raw=this.version;return this};i.inc=inc;function inc(r,i,a,s){if(typeof a==="string"){s=a;a=undefined}try{return new SemVer(r,a).inc(i,s).version}catch(r){return null}}i.diff=diff;function diff(r,i){if(eq(r,i)){return null}else{var a=parse(r);var s=parse(i);var p="";if(a.prerelease.length||s.prerelease.length){p="pre";var l="prerelease"}for(var c in a){if(c==="major"||c==="minor"||c==="patch"){if(a[c]!==s[c]){return p+c}}}return l}}i.compareIdentifiers=compareIdentifiers;var _=/^[0-9]+$/;function compareIdentifiers(r,i){var a=_.test(r);var s=_.test(i);if(a&&s){r=+r;i=+i}return r===i?0:a&&!s?-1:s&&!a?1:r0}i.lt=lt;function lt(r,i,a){return compare(r,i,a)<0}i.eq=eq;function eq(r,i,a){return compare(r,i,a)===0}i.neq=neq;function neq(r,i,a){return compare(r,i,a)!==0}i.gte=gte;function gte(r,i,a){return compare(r,i,a)>=0}i.lte=lte;function lte(r,i,a){return compare(r,i,a)<=0}i.cmp=cmp;function cmp(r,i,a,s){switch(i){case"===":if(typeof r==="object")r=r.version;if(typeof a==="object")a=a.version;return r===a;case"!==":if(typeof r==="object")r=r.version;if(typeof a==="object")a=a.version;return r!==a;case"":case"=":case"==":return eq(r,a,s);case"!=":return neq(r,a,s);case">":return gt(r,a,s);case">=":return gte(r,a,s);case"<":return lt(r,a,s);case"<=":return lte(r,a,s);default:throw new TypeError("Invalid operator: "+i)}}i.Comparator=Comparator;function Comparator(r,i){if(!i||typeof i!=="object"){i={loose:!!i,includePrerelease:false}}if(r instanceof Comparator){if(r.loose===!!i.loose){return r}else{r=r.value}}if(!(this instanceof Comparator)){return new Comparator(r,i)}r=r.trim().split(/\s+/).join(" ");a("comparator",r,i);this.options=i;this.loose=!!i.loose;this.parse(r);if(this.semver===E){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}var E={};Comparator.prototype.parse=function(r){var i=this.options.loose?u[h.COMPARATORLOOSE]:u[h.COMPARATOR];var a=r.match(i);if(!a){throw new TypeError("Invalid comparator: "+r)}this.operator=a[1]!==undefined?a[1]:"";if(this.operator==="="){this.operator=""}if(!a[2]){this.semver=E}else{this.semver=new SemVer(a[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(r){a("Comparator.test",r,this.options.loose);if(this.semver===E||r===E){return true}if(typeof r==="string"){try{r=new SemVer(r,this.options)}catch(r){return false}}return cmp(r,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(r,i){if(!(r instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!i||typeof i!=="object"){i={loose:!!i,includePrerelease:false}}var a;if(this.operator===""){if(this.value===""){return true}a=new Range(r.value,i);return satisfies(this.value,a,i)}else if(r.operator===""){if(r.value===""){return true}a=new Range(this.value,i);return satisfies(r.semver,a,i)}var s=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">");var p=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<");var l=this.semver.version===r.semver.version;var c=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<=");var d=cmp(this.semver,"<",r.semver,i)&&((this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"));var u=cmp(this.semver,">",r.semver,i)&&((this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">"));return s||p||l&&c||d||u};i.Range=Range;function Range(r,i){if(!i||typeof i!=="object"){i={loose:!!i,includePrerelease:false}}if(r instanceof Range){if(r.loose===!!i.loose&&r.includePrerelease===!!i.includePrerelease){return r}else{return new Range(r.raw,i)}}if(r instanceof Comparator){return new Range(r.value,i)}if(!(this instanceof Range)){return new Range(r,i)}this.options=i;this.loose=!!i.loose;this.includePrerelease=!!i.includePrerelease;this.raw=r.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(r){return this.parseRange(r.trim())}),this).filter((function(r){return r.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(r){return r.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(r){var i=this.options.loose;var s=i?u[h.HYPHENRANGELOOSE]:u[h.HYPHENRANGE];r=r.replace(s,hyphenReplace);a("hyphen replace",r);r=r.replace(u[h.COMPARATORTRIM],w);a("comparator trim",r,u[h.COMPARATORTRIM]);r=r.replace(u[h.TILDETRIM],b);r=r.replace(u[h.CARETTRIM],x);r=r.split(/\s+/).join(" ");var p=i?u[h.COMPARATORLOOSE]:u[h.COMPARATOR];var l=r.split(" ").map((function(r){return parseComparator(r,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){l=l.filter((function(r){return!!r.match(p)}))}l=l.map((function(r){return new Comparator(r,this.options)}),this);return l};Range.prototype.intersects=function(r,i){if(!(r instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(a){return isSatisfiable(a,i)&&r.set.some((function(r){return isSatisfiable(r,i)&&a.every((function(a){return r.every((function(r){return a.intersects(r,i)}))}))}))}))};function isSatisfiable(r,i){var a=true;var s=r.slice();var p=s.pop();while(a&&s.length){a=s.every((function(r){return p.intersects(r,i)}));p=s.pop()}return a}i.toComparators=toComparators;function toComparators(r,i){return new Range(r,i).set.map((function(r){return r.map((function(r){return r.value})).join(" ").trim().split(" ")}))}function parseComparator(r,i){a("comp",r,i);r=replaceCarets(r,i);a("caret",r);r=replaceTildes(r,i);a("tildes",r);r=replaceXRanges(r,i);a("xrange",r);r=replaceStars(r,i);a("stars",r);return r}function isX(r){return!r||r.toLowerCase()==="x"||r==="*"}function replaceTildes(r,i){return r.trim().split(/\s+/).map((function(r){return replaceTilde(r,i)})).join(" ")}function replaceTilde(r,i){var s=i.loose?u[h.TILDELOOSE]:u[h.TILDE];return r.replace(s,(function(i,s,p,l,c){a("tilde",r,i,s,p,l,c);var d;if(isX(s)){d=""}else if(isX(p)){d=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(l)){d=">="+s+"."+p+".0 <"+s+"."+(+p+1)+".0"}else if(c){a("replaceTilde pr",c);d=">="+s+"."+p+"."+l+"-"+c+" <"+s+"."+(+p+1)+".0"}else{d=">="+s+"."+p+"."+l+" <"+s+"."+(+p+1)+".0"}a("tilde return",d);return d}))}function replaceCarets(r,i){return r.trim().split(/\s+/).map((function(r){return replaceCaret(r,i)})).join(" ")}function replaceCaret(r,i){a("caret",r,i);var s=i.loose?u[h.CARETLOOSE]:u[h.CARET];return r.replace(s,(function(i,s,p,l,c){a("caret",r,i,s,p,l,c);var d;if(isX(s)){d=""}else if(isX(p)){d=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(l)){if(s==="0"){d=">="+s+"."+p+".0 <"+s+"."+(+p+1)+".0"}else{d=">="+s+"."+p+".0 <"+(+s+1)+".0.0"}}else if(c){a("replaceCaret pr",c);if(s==="0"){if(p==="0"){d=">="+s+"."+p+"."+l+"-"+c+" <"+s+"."+p+"."+(+l+1)}else{d=">="+s+"."+p+"."+l+"-"+c+" <"+s+"."+(+p+1)+".0"}}else{d=">="+s+"."+p+"."+l+"-"+c+" <"+(+s+1)+".0.0"}}else{a("no pr");if(s==="0"){if(p==="0"){d=">="+s+"."+p+"."+l+" <"+s+"."+p+"."+(+l+1)}else{d=">="+s+"."+p+"."+l+" <"+s+"."+(+p+1)+".0"}}else{d=">="+s+"."+p+"."+l+" <"+(+s+1)+".0.0"}}a("caret return",d);return d}))}function replaceXRanges(r,i){a("replaceXRanges",r,i);return r.split(/\s+/).map((function(r){return replaceXRange(r,i)})).join(" ")}function replaceXRange(r,i){r=r.trim();var s=i.loose?u[h.XRANGELOOSE]:u[h.XRANGE];return r.replace(s,(function(s,p,l,c,d,u){a("xRange",r,s,p,l,c,d,u);var m=isX(l);var h=m||isX(c);var g=h||isX(d);var y=g;if(p==="="&&y){p=""}u=i.includePrerelease?"-0":"";if(m){if(p===">"||p==="<"){s="<0.0.0-0"}else{s="*"}}else if(p&&y){if(h){c=0}d=0;if(p===">"){p=">=";if(h){l=+l+1;c=0;d=0}else{c=+c+1;d=0}}else if(p==="<="){p="<";if(h){l=+l+1}else{c=+c+1}}s=p+l+"."+c+"."+d+u}else if(h){s=">="+l+".0.0"+u+" <"+(+l+1)+".0.0"+u}else if(g){s=">="+l+"."+c+".0"+u+" <"+l+"."+(+c+1)+".0"+u}a("xRange return",s);return s}))}function replaceStars(r,i){a("replaceStars",r,i);return r.trim().replace(u[h.STAR],"")}function hyphenReplace(r,i,a,s,p,l,c,d,u,m,h,g,y){if(isX(a)){i=""}else if(isX(s)){i=">="+a+".0.0"}else if(isX(p)){i=">="+a+"."+s+".0"}else{i=">="+i}if(isX(u)){d=""}else if(isX(m)){d="<"+(+u+1)+".0.0"}else if(isX(h)){d="<"+u+"."+(+m+1)+".0"}else if(g){d="<="+u+"."+m+"."+h+"-"+g}else{d="<="+d}return(i+" "+d).trim()}Range.prototype.test=function(r){if(!r){return false}if(typeof r==="string"){try{r=new SemVer(r,this.options)}catch(r){return false}}for(var i=0;i =0){return i}}else{var a=s.toSetString(r);if(p.call(this._set,a)){return this._set[a]}}throw new Error('"'+r+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(r){if(r>=0&&r >1;return i?-a:a}i.encode=function base64VLQ_encode(r){var i="";var a;var l=toVLQSigned(r);do{a=l&c;l>>>=p;if(l>0){a|=d}i+=s.encode(a)}while(l>0);return i};i.decode=function base64VLQ_decode(r,i,a){var l=r.length;var u=0;var m=0;var h,g;do{if(i>=l){throw new Error("Expected more digits in base 64 VLQ value.")}g=s.decode(r.charCodeAt(i++));if(g===-1){throw new Error("Invalid base64 digit: "+r.charAt(i-1))}h=!!(g&d);g&=c;u=u+(g<{r.exports=function(r,i){Object.keys(i).forEach((function(a){r[a]=r[a]||i[a]}));return r}},7094:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(3233);var p=a(2557);var l=a(1333);const c=s.createClientLogger("core-lro");const d=2e3;const u=["succeeded","canceled","failed"];function deserializeState(r){try{return JSON.parse(r).state}catch(i){throw new Error(`Unable to deserialize input state: ${r}`)}}function setStateError(r){const{state:i,stateProxy:a,isOperationError:s}=r;return r=>{if(s(r)){a.setError(i,r);a.setFailed(i)}throw r}}function appendReadableErrorMessage(r,i){let a=r;if(a.slice(-1)!=="."){a=a+"."}return a+" "+i}function simplifyError(r){let i=r.message;let a=r.code;let s=r;while(s.innererror){s=s.innererror;a=s.code;i=appendReadableErrorMessage(i,s.message)}return{code:a,message:i}}function processOperationStatus(r){const{state:i,stateProxy:a,status:s,isDone:p,processResult:l,getError:d,response:u,setErrorAsResult:m}=r;switch(s){case"succeeded":{a.setSucceeded(i);break}case"failed":{const r=d===null||d===void 0?void 0:d(u);let s="";if(r){const{code:i,message:a}=simplifyError(r);s=`. ${i}. ${a}`}const p=`The long-running operation has failed${s}`;a.setError(i,new Error(p));a.setFailed(i);c.warning(p);break}case"canceled":{a.setCanceled(i);break}}if((p===null||p===void 0?void 0:p(u,i))||p===undefined&&["succeeded","canceled"].concat(m?[]:["failed"]).includes(s)){a.setResult(i,buildResult({response:u,state:i,processResult:l}))}}function buildResult(r){const{processResult:i,response:a,state:s}=r;return i?i(a,s):a}async function initOperation(r){const{init:i,stateProxy:a,processResult:s,getOperationStatus:p,withOperationLocation:l,setErrorAsResult:d}=r;const{operationLocation:u,resourceLocation:m,metadata:h,response:g}=await i();if(u)l===null||l===void 0?void 0:l(u,false);const y={metadata:h,operationLocation:u,resourceLocation:m};c.verbose(`LRO: Operation description:`,y);const v=a.initState(y);const b=p({response:g,state:v,operationLocation:u});processOperationStatus({state:v,status:b,stateProxy:a,response:g,setErrorAsResult:d,processResult:s});return v}async function pollOperationHelper(r){const{poll:i,state:a,stateProxy:s,operationLocation:p,getOperationStatus:l,getResourceLocation:d,isOperationError:m,options:h}=r;const g=await i(p,h).catch(setStateError({state:a,stateProxy:s,isOperationError:m}));const y=l(g,a);c.verbose(`LRO: Status:\n\tPolling from: ${a.config.operationLocation}\n\tOperation status: ${y}\n\tPolling status: ${u.includes(y)?"Stopped":"Running"}`);if(y==="succeeded"){const r=d(g,a);if(r!==undefined){return{response:await i(r).catch(setStateError({state:a,stateProxy:s,isOperationError:m})),status:y}}}return{response:g,status:y}}async function pollOperation(r){const{poll:i,state:a,stateProxy:s,options:p,getOperationStatus:l,getResourceLocation:c,getOperationLocation:d,isOperationError:m,withOperationLocation:h,getPollingInterval:g,processResult:y,getError:v,updateState:b,setDelay:x,isDone:w,setErrorAsResult:S}=r;const{operationLocation:_}=a.config;if(_!==undefined){const{response:r,status:E}=await pollOperationHelper({poll:i,getOperationStatus:l,state:a,stateProxy:s,operationLocation:_,getResourceLocation:c,isOperationError:m,options:p});processOperationStatus({status:E,response:r,state:a,stateProxy:s,isDone:w,processResult:y,getError:v,setErrorAsResult:S});if(!u.includes(E)){const i=g===null||g===void 0?void 0:g(r);if(i)x(i);const s=d===null||d===void 0?void 0:d(r,a);if(s!==undefined){const r=_!==s;a.config.operationLocation=s;h===null||h===void 0?void 0:h(s,r)}else h===null||h===void 0?void 0:h(_,false)}b===null||b===void 0?void 0:b(a,r)}}function getOperationLocationPollingUrl(r){const{azureAsyncOperation:i,operationLocation:a}=r;return a!==null&&a!==void 0?a:i}function getLocationHeader(r){return r.headers["location"]}function getOperationLocationHeader(r){return r.headers["operation-location"]}function getAzureAsyncOperationHeader(r){return r.headers["azure-asyncoperation"]}function findResourceLocation(r){var i;const{location:a,requestMethod:s,requestPath:p,resourceLocationConfig:l}=r;switch(s){case"PUT":{return p}case"DELETE":{return undefined}case"PATCH":{return(i=getDefault())!==null&&i!==void 0?i:p}default:{return getDefault()}}function getDefault(){switch(l){case"azure-async-operation":{return undefined}case"original-uri":{return p}case"location":default:{return a}}}}function inferLroMode(r){const{rawResponse:i,requestMethod:a,requestPath:s,resourceLocationConfig:p}=r;const l=getOperationLocationHeader(i);const c=getAzureAsyncOperationHeader(i);const d=getOperationLocationPollingUrl({operationLocation:l,azureAsyncOperation:c});const u=getLocationHeader(i);const m=a===null||a===void 0?void 0:a.toLocaleUpperCase();if(d!==undefined){return{mode:"OperationLocation",operationLocation:d,resourceLocation:findResourceLocation({requestMethod:m,location:u,requestPath:s,resourceLocationConfig:p})}}else if(u!==undefined){return{mode:"ResourceLocation",operationLocation:u}}else if(m==="PUT"&&s){return{mode:"Body",operationLocation:s}}else{return undefined}}function transformStatus(r){const{status:i,statusCode:a}=r;if(typeof i!=="string"&&i!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${i}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(i===null||i===void 0?void 0:i.toLocaleLowerCase()){case undefined:return toOperationStatus(a);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{c.verbose(`LRO: unrecognized operation status: ${i}`);return i}}}function getStatus(r){var i;const{status:a}=(i=r.body)!==null&&i!==void 0?i:{};return transformStatus({status:a,statusCode:r.statusCode})}function getProvisioningState(r){var i,a;const{properties:s,provisioningState:p}=(i=r.body)!==null&&i!==void 0?i:{};const l=(a=s===null||s===void 0?void 0:s.provisioningState)!==null&&a!==void 0?a:p;return transformStatus({status:l,statusCode:r.statusCode})}function toOperationStatus(r){if(r===202){return"running"}else if(r<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:r}){const i=r.headers["retry-after"];if(i!==undefined){const r=parseInt(i);return isNaN(r)?calculatePollingIntervalFromDate(new Date(i)):r*1e3}return undefined}function getErrorFromResponse(r){const i=r.flatResponse.error;if(!i){c.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!i.code||!i.message){c.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return i}function calculatePollingIntervalFromDate(r){const i=Math.floor((new Date).getTime());const a=r.getTime();if(i{const r=await p.sendInitialRequest();const i=inferLroMode({rawResponse:r.rawResponse,requestPath:p.requestPath,requestMethod:p.requestMethod,resourceLocationConfig:a});return Object.assign({response:r,operationLocation:i===null||i===void 0?void 0:i.operationLocation,resourceLocation:i===null||i===void 0?void 0:i.resourceLocation},(i===null||i===void 0?void 0:i.mode)?{metadata:{mode:i.mode}}:{})},stateProxy:i,processResult:s?({flatResponse:r},i)=>s(r,i):({flatResponse:r})=>r,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:l})}function getOperationLocation({rawResponse:r},i){var a;const s=(a=i.config.metadata)===null||a===void 0?void 0:a["mode"];switch(s){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(r),azureAsyncOperation:getAzureAsyncOperationHeader(r)})}case"ResourceLocation":{return getLocationHeader(r)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:r},i){var a;const s=(a=i.config.metadata)===null||a===void 0?void 0:a["mode"];switch(s){case"OperationLocation":{return getStatus(r)}case"ResourceLocation":{return toOperationStatus(r.statusCode)}case"Body":{return getProvisioningState(r)}default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}function getResourceLocation({flatResponse:r},i){if(typeof r==="object"){const a=r.resourceLocation;if(a!==undefined){i.config.resourceLocation=a}}return i.config.resourceLocation}function isOperationError(r){return r.name==="RestError"}async function pollHttpOperation(r){const{lro:i,stateProxy:a,options:s,processResult:p,updateState:l,setDelay:c,state:d,setErrorAsResult:u}=r;return pollOperation({state:d,stateProxy:a,setDelay:c,processResult:p?({flatResponse:r},i)=>p(r,i):({flatResponse:r})=>r,getError:getErrorFromResponse,updateState:l,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:s,poll:async(r,a)=>i.sendPollRequest(r,a),setErrorAsResult:u})}const createStateProxy$1=()=>({initState:r=>({status:"running",config:r}),setCanceled:r=>r.status="canceled",setError:(r,i)=>r.error=i,setResult:(r,i)=>r.result=i,setRunning:r=>r.status="running",setSucceeded:r=>r.status="succeeded",setFailed:r=>r.status="failed",getError:r=>r.error,getResult:r=>r.result,isCanceled:r=>r.status==="canceled",isFailed:r=>r.status==="failed",isRunning:r=>r.status==="running",isSucceeded:r=>r.status==="succeeded"});function buildCreatePoller(r){const{getOperationLocation:i,getStatusFromInitialResponse:a,getStatusFromPollResponse:s,isOperationError:c,getResourceLocation:u,getPollingInterval:m,getError:h,resolveOnUnsuccessful:g}=r;return async({init:r,poll:y},v)=>{const{processResult:b,updateState:x,withOperationLocation:w,intervalInMs:S=d,restoreFrom:_}=v||{};const E=createStateProxy$1();const T=w?(()=>{let r=false;return(i,a)=>{if(a)w(i);else if(!r)w(i);r=true}})():undefined;const N=_?deserializeState(_):await initOperation({init:r,stateProxy:E,processResult:b,getOperationStatus:a,withOperationLocation:T,setErrorAsResult:!g});let P;const C=new p.AbortController;const O=new Map;const handleProgressEvents=async()=>O.forEach((r=>r(N)));const R="Operation was canceled";let A=S;const k={getOperationState:()=>N,getResult:()=>N.result,isDone:()=>["succeeded","failed","canceled"].includes(N.status),isStopped:()=>P===undefined,stopPolling:()=>{C.abort()},toString:()=>JSON.stringify({state:N}),onProgress:r=>{const i=Symbol();O.set(i,r);return()=>O.delete(i)},pollUntilDone:r=>P!==null&&P!==void 0?P:P=(async()=>{const{abortSignal:i}=r||{};const{signal:a}=i?new p.AbortController([i,C.signal]):C;if(!k.isDone()){await k.poll({abortSignal:a});while(!k.isDone()){await l.delay(A,{abortSignal:a});await k.poll({abortSignal:a})}}if(g){return k.getResult()}else{switch(N.status){case"succeeded":return k.getResult();case"canceled":throw new Error(R);case"failed":throw N.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{P=undefined})),async poll(r){if(g){if(k.isDone())return}else{switch(N.status){case"succeeded":return;case"canceled":throw new Error(R);case"failed":throw N.error}}await pollOperation({poll:y,state:N,stateProxy:E,getOperationLocation:i,isOperationError:c,withOperationLocation:T,getPollingInterval:m,getOperationStatus:s,getResourceLocation:u,processResult:b,getError:h,updateState:x,options:r,setDelay:r=>{A=r},setErrorAsResult:!g});await handleProgressEvents();if(!g){switch(N.status){case"canceled":throw new Error(R);case"failed":throw N.error}}}};return k}}async function createHttpPoller(r,i){const{resourceLocationConfig:a,intervalInMs:s,processResult:p,restoreFrom:l,updateState:c,withOperationLocation:d,resolveOnUnsuccessful:u=false}=i||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:u})({init:async()=>{const i=await r.sendInitialRequest();const s=inferLroMode({rawResponse:i.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:i,operationLocation:s===null||s===void 0?void 0:s.operationLocation,resourceLocation:s===null||s===void 0?void 0:s.resourceLocation},(s===null||s===void 0?void 0:s.mode)?{metadata:{mode:s.mode}}:{})},poll:r.sendPollRequest},{intervalInMs:s,withOperationLocation:d,restoreFrom:l,updateState:c,processResult:p?({flatResponse:r},i)=>p(r,i):({flatResponse:r})=>r})}const createStateProxy=()=>({initState:r=>({config:r,isStarted:true}),setCanceled:r=>r.isCancelled=true,setError:(r,i)=>r.error=i,setResult:(r,i)=>r.result=i,setRunning:r=>r.isStarted=true,setSucceeded:r=>r.isCompleted=true,setFailed:()=>{},getError:r=>r.error,getResult:r=>r.result,isCanceled:r=>!!r.isCancelled,isFailed:r=>!!r.error,isRunning:r=>!!r.isStarted,isSucceeded:r=>Boolean(r.isCompleted&&!r.isCancelled&&!r.error)});class GenericPollOperation{constructor(r,i,a,s,p,l,c){this.state=r;this.lro=i;this.setErrorAsResult=a;this.lroResourceLocationConfig=s;this.processResult=p;this.updateState=l;this.isDone=c}setPollerConfig(r){this.pollerConfig=r}async update(r){var i;const a=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:a,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const s=this.updateState;const p=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:a,processResult:this.processResult,updateState:s?(r,{rawResponse:i})=>s(r,i):undefined,isDone:p?({flatResponse:r},i)=>p(r,i):undefined,options:r,setDelay:r=>{this.pollerConfig.intervalInMs=r},setErrorAsResult:this.setErrorAsResult})}(i=r===null||r===void 0?void 0:r.fireProgress)===null||i===void 0?void 0:i.call(r,this.state);return this}async cancel(){c.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(r){super(r);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(r){super(r);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(r){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=r;this.promise=new Promise(((r,i)=>{this.resolve=r;this.reject=i}));this.promise.catch((()=>{}))}async startPolling(r={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(r);await this.delay()}}async pollOnce(r={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:r.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(r){for(const i of this.pollProgressCallbacks){i(r)}}async cancelOnce(r={}){this.operation=await this.operation.cancel(r)}poll(r={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(r);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const r=new PollerCancelledError("Operation was canceled");this.reject(r);throw r}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(r={}){if(this.stopped){this.startPolling(r).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(r){this.pollProgressCallbacks.push(r);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((i=>i!==r))}}isDone(){const r=this.operation.state;return Boolean(r.isCompleted||r.isCancelled||r.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(r={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(r)}else if(r.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const r=this.operation.state;return r.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(r,i){const{intervalInMs:a=d,resumeFrom:s,resolveOnUnsuccessful:p=false,isDone:l,lroResourceLocationConfig:c,processResult:u,updateState:m}=i||{};const h=s?deserializeState(s):{};const g=new GenericPollOperation(h,r,!p,c,u,m,l);super(g);this.resolveOnUnsuccessful=p;this.config={intervalInMs:a};g.setPollerConfig(this.config)}delay(){return new Promise((r=>setTimeout((()=>r()),this.config.intervalInMs)))}}i.LroEngine=LroEngine;i.Poller=Poller;i.PollerCancelledError=PollerCancelledError;i.PollerStoppedError=PollerStoppedError;i.createHttpPoller=createHttpPoller},4559:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(4351);function getPagedAsyncIterator(r){var i;const a=getItemAsyncIterator(r);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:(i=r===null||r===void 0?void 0:r.byPage)!==null&&i!==void 0?i:i=>{const{continuationToken:a,maxPageSize:s}=i!==null&&i!==void 0?i:{};return getPageAsyncIterator(r,{pageLink:a,maxPageSize:s})}}}function getItemAsyncIterator(r){return s.__asyncGenerator(this,arguments,(function*getItemAsyncIterator_1(){var i,a,p,l;const c=getPageAsyncIterator(r);const d=yield s.__await(c.next());if(!Array.isArray(d.value)){const{toElements:p}=r;if(p){yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(p(d.value))));try{for(var u=s.__asyncValues(c),m;m=yield s.__await(u.next()),!m.done;){const r=m.value;yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(p(r))))}}catch(r){i={error:r}}finally{try{if(m&&!m.done&&(a=u.return))yield s.__await(a.call(u))}finally{if(i)throw i.error}}}else{yield yield s.__await(d.value);yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(c)))}}else{yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(d.value)));try{for(var h=s.__asyncValues(c),g;g=yield s.__await(h.next()),!g.done;){const r=g.value;yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(r)))}}catch(r){p={error:r}}finally{try{if(g&&!g.done&&(l=h.return))yield s.__await(l.call(h))}finally{if(p)throw p.error}}}}))}function getPageAsyncIterator(r,i={}){return s.__asyncGenerator(this,arguments,(function*getPageAsyncIterator_1(){const{pageLink:a,maxPageSize:p}=i;let l=yield s.__await(r.getPage(a!==null&&a!==void 0?a:r.firstPageLink,p));if(!l){return yield s.__await(void 0)}yield yield s.__await(l.page);while(l.nextPageLink){l=yield s.__await(r.getPage(l.nextPageLink,p));if(!l){return yield s.__await(void 0)}yield yield s.__await(l.page)}}))}i.getPagedAsyncIterator=getPagedAsyncIterator},4175:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(5163);(function(r){r[r["INTERNAL"]=0]="INTERNAL";r[r["SERVER"]=1]="SERVER";r[r["CLIENT"]=2]="CLIENT";r[r["PRODUCER"]=3]="PRODUCER";r[r["CONSUMER"]=4]="CONSUMER"})(i.SpanKind||(i.SpanKind={}));function getSpan(r){return s.trace.getSpan(r)}function setSpan(r,i){return s.trace.setSpan(r,i)}function setSpanContext(r,i){return s.trace.setSpanContext(r,i)}function getSpanContext(r){return s.trace.getSpanContext(r)}function isSpanContextValid(r){return s.trace.isSpanContextValid(r)}function getTracer(r,i){return s.trace.getTracer(r||"azure/core-tracing",i)}const p=s.context;(function(r){r[r["UNSET"]=0]="UNSET";r[r["OK"]=1]="OK";r[r["ERROR"]=2]="ERROR"})(i.SpanStatusCode||(i.SpanStatusCode={}));function isTracingDisabled(){var r;if(typeof process==="undefined"){return false}const i=(r=process.env.AZURE_TRACING_DISABLED)===null||r===void 0?void 0:r.toLowerCase();if(i==="false"||i==="0"){return false}return Boolean(i)}function createSpanFunction(r){return function(a,l){const c=getTracer();const d=(l===null||l===void 0?void 0:l.tracingOptions)||{};const u=Object.assign({kind:i.SpanKind.INTERNAL},d.spanOptions);const m=r.packagePrefix?`${r.packagePrefix}.${a}`:a;let h;if(isTracingDisabled()){h=s.trace.wrapSpanContext(s.INVALID_SPAN_CONTEXT)}else{h=c.startSpan(m,u,d.tracingContext)}if(r.namespace){h.setAttribute("az.namespace",r.namespace)}let g=d.spanOptions||{};if(h.isRecording()&&r.namespace){g=Object.assign(Object.assign({},d.spanOptions),{attributes:Object.assign(Object.assign({},u.attributes),{"az.namespace":r.namespace})})}const y=Object.assign(Object.assign({},d),{spanOptions:g,tracingContext:setSpan(d.tracingContext||p.active(),h)});const v=Object.assign(Object.assign({},l),{tracingOptions:y});return{span:h,updatedOptions:v}}}const l="00";function extractSpanContextFromTraceParentHeader(r){const i=r.split("-");if(i.length!==4){return}const[a,s,p,c]=i;if(a!==l){return}const d=parseInt(c,16);const u={spanId:p,traceId:s,traceFlags:d};return u}function getTraceParentHeader(r){const i=[];if(!r.traceId){i.push("traceId")}if(!r.spanId){i.push("spanId")}if(i.length){return}const a=r.traceFlags||0;const s=a.toString(16);const p=s.length===1?`0${s}`:s;return`${l}-${r.traceId}-${r.spanId}-${p}`}i.context=p;i.createSpanFunction=createSpanFunction;i.extractSpanContextFromTraceParentHeader=extractSpanContextFromTraceParentHeader;i.getSpan=getSpan;i.getSpanContext=getSpanContext;i.getTraceParentHeader=getTraceParentHeader;i.getTracer=getTracer;i.isSpanContextValid=isSpanContextValid;i.setSpan=setSpan;i.setSpanContext=setSpanContext},1333:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(2557);var p=a(6113);function createAbortablePromise(r,i){const{cleanupBeforeAbort:a,abortSignal:p,abortErrorMsg:l}=i!==null&&i!==void 0?i:{};return new Promise(((i,c)=>{function rejectOnAbort(){c(new s.AbortError(l!==null&&l!==void 0?l:"The operation was aborted."))}function removeListeners(){p===null||p===void 0?void 0:p.removeEventListener("abort",onAbort)}function onAbort(){a===null||a===void 0?void 0:a();removeListeners();rejectOnAbort()}if(p===null||p===void 0?void 0:p.aborted){return rejectOnAbort()}try{r((r=>{removeListeners();i(r)}),(r=>{removeListeners();c(r)}))}catch(r){c(r)}p===null||p===void 0?void 0:p.addEventListener("abort",onAbort)}))}const l="The delay was aborted.";function delay(r,i){let a;const{abortSignal:s,abortErrorMsg:p}=i!==null&&i!==void 0?i:{};return createAbortablePromise((i=>{a=setTimeout(i,r)}),{cleanupBeforeAbort:()=>clearTimeout(a),abortSignal:s,abortErrorMsg:p!==null&&p!==void 0?p:l})}function getRandomIntegerInclusive(r,i){r=Math.ceil(r);i=Math.floor(i);const a=Math.floor(Math.random()*(i-r+1));return a+r}function isObject(r){return typeof r==="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function isError(r){if(isObject(r)){const i=typeof r.name==="string";const a=typeof r.message==="string";return i&&a}return false}function getErrorMessage(r){if(isError(r)){return r.message}else{let i;try{if(typeof r==="object"&&r){i=JSON.stringify(r)}else{i=String(r)}}catch(r){i="[unable to stringify input]"}return`Unknown error ${i}`}}async function computeSha256Hmac(r,i,a){const s=Buffer.from(r,"base64");return p.createHmac("sha256",s).update(i).digest(a)}async function computeSha256Hash(r,i){return p.createHash("sha256").update(r).digest(i)}function isDefined(r){return typeof r!=="undefined"&&r!==null}function isObjectWithProperties(r,i){if(!isDefined(r)||typeof r!=="object"){return false}for(const a of i){if(!objectHasProperty(r,a)){return false}}return true}function objectHasProperty(r,i){return isDefined(r)&&typeof r==="object"&&i in r}function generateUUID(){let r="";for(let i=0;i<32;i++){const a=Math.floor(Math.random()*16);if(i===12){r+="4"}else if(i===16){r+=a&3|8}else{r+=a.toString(16)}if(i===7||i===11||i===15||i===19){r+="-"}}return r}var c;let d=typeof((c=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||c===void 0?void 0:c.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):p.randomUUID;if(!d){d=generateUUID}function randomUUID(){return d()}var u,m,h,g;const y=typeof window!=="undefined"&&typeof window.document!=="undefined";const v=typeof self==="object"&&typeof(self===null||self===void 0?void 0:self.importScripts)==="function"&&(((u=self.constructor)===null||u===void 0?void 0:u.name)==="DedicatedWorkerGlobalScope"||((m=self.constructor)===null||m===void 0?void 0:m.name)==="ServiceWorkerGlobalScope"||((h=self.constructor)===null||h===void 0?void 0:h.name)==="SharedWorkerGlobalScope");const b=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((g=process.versions)===null||g===void 0?void 0:g.node);const x=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";const w=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";const S=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative";function uint8ArrayToString(r,i){switch(i){case"utf-8":return uint8ArrayToUtf8String(r);case"base64":return uint8ArrayToBase64(r);case"base64url":return uint8ArrayToBase64Url(r)}}function stringToUint8Array(r,i){switch(i){case"utf-8":return utf8StringToUint8Array(r);case"base64":return base64ToUint8Array(r);case"base64url":return base64UrlToUint8Array(r)}}function uint8ArrayToBase64(r){return Buffer.from(r).toString("base64")}function uint8ArrayToBase64Url(r){return Buffer.from(r).toString("base64url")}function uint8ArrayToUtf8String(r){return Buffer.from(r).toString("utf-8")}function utf8StringToUint8Array(r){return Buffer.from(r)}function base64ToUint8Array(r){return Buffer.from(r,"base64")}function base64UrlToUint8Array(r){return Buffer.from(r,"base64url")}i.computeSha256Hash=computeSha256Hash;i.computeSha256Hmac=computeSha256Hmac;i.createAbortablePromise=createAbortablePromise;i.delay=delay;i.getErrorMessage=getErrorMessage;i.getRandomIntegerInclusive=getRandomIntegerInclusive;i.isBrowser=y;i.isBun=w;i.isDefined=isDefined;i.isDeno=x;i.isError=isError;i.isNode=b;i.isObject=isObject;i.isObjectWithProperties=isObjectWithProperties;i.isReactNative=S;i.isWebWorker=v;i.objectHasProperty=objectHasProperty;i.randomUUID=randomUUID;i.stringToUint8Array=stringToUint8Array;i.uint8ArrayToString=uint8ArrayToString},3233:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(2037);var p=a(3837);function _interopDefaultLegacy(r){return r&&typeof r==="object"&&"default"in r?r:{default:r}}var l=_interopDefaultLegacy(p);function log(r,...i){process.stderr.write(`${l["default"].format(r,...i)}${s.EOL}`)}const c=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let d;let u=[];let m=[];const h=[];if(c){enable(c)}const g=Object.assign((r=>createDebugger(r)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(r){d=r;u=[];m=[];const i=/\*/g;const a=r.split(",").map((r=>r.trim().replace(i,".*?")));for(const r of a){if(r.startsWith("-")){m.push(new RegExp(`^${r.substr(1)}$`))}else{u.push(new RegExp(`^${r}$`))}}for(const r of h){r.enabled=enabled(r.namespace)}}function enabled(r){if(r.endsWith("*")){return true}for(const i of m){if(i.test(r)){return false}}for(const i of u){if(i.test(r)){return true}}return false}function disable(){const r=d||"";enable("");return r}function createDebugger(r){const i=Object.assign(debug,{enabled:enabled(r),destroy:destroy,log:g.log,namespace:r,extend:extend});function debug(...a){if(!i.enabled){return}if(a.length>0){a[0]=`${r} ${a[0]}`}i.log(...a)}h.push(i);return i}function destroy(){const r=h.indexOf(this);if(r>=0){h.splice(r,1);return true}return false}function extend(r){const i=createDebugger(`${this.namespace}:${r}`);i.log=this.log;return i}var y=g;const v=new Set;const b=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let x;const w=y("azure");w.log=(...r)=>{y.log(...r)};const S=["verbose","info","warning","error"];if(b){if(isAzureLogLevel(b)){setLogLevel(b)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${b}'; logging is not enabled. Acceptable values: ${S.join(", ")}.`)}}function setLogLevel(r){if(r&&!isAzureLogLevel(r)){throw new Error(`Unknown log level '${r}'. Acceptable values: ${S.join(",")}`)}x=r;const i=[];for(const r of v){if(shouldEnable(r)){i.push(r.namespace)}}y.enable(i.join(","))}function getLogLevel(){return x}const _={verbose:400,info:300,warning:200,error:100};function createClientLogger(r){const i=w.extend(r);patchLogMethod(w,i);return{error:createLogger(i,"error"),warning:createLogger(i,"warning"),info:createLogger(i,"info"),verbose:createLogger(i,"verbose")}}function patchLogMethod(r,i){i.log=(...i)=>{r.log(...i)}}function createLogger(r,i){const a=Object.assign(r.extend(i),{level:i});patchLogMethod(r,a);if(shouldEnable(a)){const r=y.disable();y.enable(r+","+a.namespace)}v.add(a);return a}function shouldEnable(r){return Boolean(x&&_[r.level]<=_[x])}function isAzureLogLevel(r){return S.includes(r)}i.AzureLogger=w;i.createClientLogger=createClientLogger;i.getLogLevel=getLogLevel;i.setLogLevel=setLogLevel},4100:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(4607);var p=a(4351);var l=a(4175);var c=a(3233);var d=a(2557);var u=a(2037);var m=a(6113);var h=a(2781);a(4559);var g=a(7094);var y=a(2361);var v=a(7147);var b=a(3837);function _interopNamespace(r){if(r&&r.__esModule)return r;var i=Object.create(null);if(r){Object.keys(r).forEach((function(a){if(a!=="default"){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:true,get:function(){return r[a]}})}}))}i["default"]=r;return Object.freeze(i)}var x=_interopNamespace(s);var w=_interopNamespace(u);var S=_interopNamespace(v);var _=_interopNamespace(b);const E={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};const T={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const N={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};const P={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const C={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};const O={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};const R={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}}}}};const A={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const k={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};const D={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const I={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};const L={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};const M={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};const B={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const j={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const z={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};const q={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};const U={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const G={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};const H={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};const V={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const $={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const X={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};const W={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};const K={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};const Q={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const J={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const Y={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Z={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};const ee={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};const te={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};const re={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const ie={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const ae={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const ne={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};const se={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const oe={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"any"}}}}};const pe={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};const le={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const ce={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};const de={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};const ue={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const me={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fe={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const he={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ge={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ye={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ve={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const be={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xe={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const we={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Se={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _e={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ee={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Te={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ne={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pe={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ce={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Oe={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Re={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ae={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ke={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const De={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ie={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Le={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Me={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Be={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const je={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ze={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qe={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ue={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fe={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ge={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const He={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};const Ve={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $e={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Xe={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const We={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ke={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qe={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Je={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ye={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ze={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const et={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const tt={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rt={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const it={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nt={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const st={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ot={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pt={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ct={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}}}}};const dt={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ut={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-or-"},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const mt={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ft={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-or-"},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ht={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yt={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vt={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bt={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xt={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wt={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const St={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _t={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Et={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tt={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};const Nt={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pt={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ct={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ot={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};const Rt={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const At={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kt={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dt={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const It={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lt={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Mt={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bt={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const jt={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zt={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const qt={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ut={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ft={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gt={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ht={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vt={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $t={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xt={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Wt={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kt={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qt={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jt={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yt={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zt={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}}}}};const er={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const tr={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const rr={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ir={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ar={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nr={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sr={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const or={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pr={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lr={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const cr={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dr={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ur={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mr={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fr={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hr={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gr={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yr={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vr={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const br={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xr={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wr={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sr={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _r={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Er={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tr={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nr={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pr={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cr={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Or={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rr={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ar={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};const kr={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dr={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ir={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lr={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mr={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Br={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jr={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zr={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qr={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ur={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fr={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gr={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hr={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Vr=Object.freeze({__proto__:null,BlobServiceProperties:E,Logging:T,RetentionPolicy:N,Metrics:P,CorsRule:C,StaticWebsite:O,StorageError:R,BlobServiceStatistics:A,GeoReplication:k,ListContainersSegmentResponse:D,ContainerItem:I,ContainerProperties:L,KeyInfo:M,UserDelegationKey:B,FilterBlobSegment:j,FilterBlobItem:z,BlobTags:q,BlobTag:U,SignedIdentifier:G,AccessPolicy:H,ListBlobsFlatSegmentResponse:V,BlobFlatListSegment:$,BlobItemInternal:X,BlobName:W,BlobPropertiesInternal:K,ListBlobsHierarchySegmentResponse:Q,BlobHierarchyListSegment:J,BlobPrefix:Y,BlockLookupList:Z,BlockList:ee,Block:te,PageList:re,PageRange:ie,ClearRange:ae,QueryRequest:ne,QuerySerialization:se,QueryFormat:oe,DelimitedTextConfiguration:pe,JsonTextConfiguration:le,ArrowConfiguration:ce,ArrowField:de,ServiceSetPropertiesHeaders:ue,ServiceSetPropertiesExceptionHeaders:me,ServiceGetPropertiesHeaders:fe,ServiceGetPropertiesExceptionHeaders:he,ServiceGetStatisticsHeaders:ge,ServiceGetStatisticsExceptionHeaders:ye,ServiceListContainersSegmentHeaders:ve,ServiceListContainersSegmentExceptionHeaders:be,ServiceGetUserDelegationKeyHeaders:xe,ServiceGetUserDelegationKeyExceptionHeaders:we,ServiceGetAccountInfoHeaders:Se,ServiceGetAccountInfoExceptionHeaders:_e,ServiceSubmitBatchHeaders:Ee,ServiceSubmitBatchExceptionHeaders:Te,ServiceFilterBlobsHeaders:Ne,ServiceFilterBlobsExceptionHeaders:Pe,ContainerCreateHeaders:Ce,ContainerCreateExceptionHeaders:Oe,ContainerGetPropertiesHeaders:Re,ContainerGetPropertiesExceptionHeaders:Ae,ContainerDeleteHeaders:ke,ContainerDeleteExceptionHeaders:De,ContainerSetMetadataHeaders:Ie,ContainerSetMetadataExceptionHeaders:Le,ContainerGetAccessPolicyHeaders:Me,ContainerGetAccessPolicyExceptionHeaders:Be,ContainerSetAccessPolicyHeaders:je,ContainerSetAccessPolicyExceptionHeaders:ze,ContainerRestoreHeaders:qe,ContainerRestoreExceptionHeaders:Ue,ContainerRenameHeaders:Fe,ContainerRenameExceptionHeaders:Ge,ContainerSubmitBatchHeaders:He,ContainerSubmitBatchExceptionHeaders:Ve,ContainerFilterBlobsHeaders:$e,ContainerFilterBlobsExceptionHeaders:Xe,ContainerAcquireLeaseHeaders:We,ContainerAcquireLeaseExceptionHeaders:Ke,ContainerReleaseLeaseHeaders:Qe,ContainerReleaseLeaseExceptionHeaders:Je,ContainerRenewLeaseHeaders:Ye,ContainerRenewLeaseExceptionHeaders:Ze,ContainerBreakLeaseHeaders:et,ContainerBreakLeaseExceptionHeaders:tt,ContainerChangeLeaseHeaders:rt,ContainerChangeLeaseExceptionHeaders:it,ContainerListBlobFlatSegmentHeaders:nt,ContainerListBlobFlatSegmentExceptionHeaders:st,ContainerListBlobHierarchySegmentHeaders:ot,ContainerListBlobHierarchySegmentExceptionHeaders:pt,ContainerGetAccountInfoHeaders:ct,ContainerGetAccountInfoExceptionHeaders:dt,BlobDownloadHeaders:ut,BlobDownloadExceptionHeaders:mt,BlobGetPropertiesHeaders:ft,BlobGetPropertiesExceptionHeaders:ht,BlobDeleteHeaders:yt,BlobDeleteExceptionHeaders:vt,BlobUndeleteHeaders:bt,BlobUndeleteExceptionHeaders:xt,BlobSetExpiryHeaders:wt,BlobSetExpiryExceptionHeaders:St,BlobSetHttpHeadersHeaders:_t,BlobSetHttpHeadersExceptionHeaders:Et,BlobSetImmutabilityPolicyHeaders:Tt,BlobSetImmutabilityPolicyExceptionHeaders:Nt,BlobDeleteImmutabilityPolicyHeaders:Pt,BlobDeleteImmutabilityPolicyExceptionHeaders:Ct,BlobSetLegalHoldHeaders:Ot,BlobSetLegalHoldExceptionHeaders:Rt,BlobSetMetadataHeaders:At,BlobSetMetadataExceptionHeaders:kt,BlobAcquireLeaseHeaders:Dt,BlobAcquireLeaseExceptionHeaders:It,BlobReleaseLeaseHeaders:Lt,BlobReleaseLeaseExceptionHeaders:Mt,BlobRenewLeaseHeaders:Bt,BlobRenewLeaseExceptionHeaders:jt,BlobChangeLeaseHeaders:zt,BlobChangeLeaseExceptionHeaders:qt,BlobBreakLeaseHeaders:Ut,BlobBreakLeaseExceptionHeaders:Ft,BlobCreateSnapshotHeaders:Gt,BlobCreateSnapshotExceptionHeaders:Ht,BlobStartCopyFromURLHeaders:Vt,BlobStartCopyFromURLExceptionHeaders:$t,BlobCopyFromURLHeaders:Xt,BlobCopyFromURLExceptionHeaders:Wt,BlobAbortCopyFromURLHeaders:Kt,BlobAbortCopyFromURLExceptionHeaders:Qt,BlobSetTierHeaders:Jt,BlobSetTierExceptionHeaders:Yt,BlobGetAccountInfoHeaders:Zt,BlobGetAccountInfoExceptionHeaders:er,BlobQueryHeaders:tr,BlobQueryExceptionHeaders:rr,BlobGetTagsHeaders:ir,BlobGetTagsExceptionHeaders:ar,BlobSetTagsHeaders:nr,BlobSetTagsExceptionHeaders:sr,PageBlobCreateHeaders:or,PageBlobCreateExceptionHeaders:pr,PageBlobUploadPagesHeaders:lr,PageBlobUploadPagesExceptionHeaders:cr,PageBlobClearPagesHeaders:dr,PageBlobClearPagesExceptionHeaders:ur,PageBlobUploadPagesFromURLHeaders:mr,PageBlobUploadPagesFromURLExceptionHeaders:fr,PageBlobGetPageRangesHeaders:hr,PageBlobGetPageRangesExceptionHeaders:gr,PageBlobGetPageRangesDiffHeaders:yr,PageBlobGetPageRangesDiffExceptionHeaders:vr,PageBlobResizeHeaders:br,PageBlobResizeExceptionHeaders:xr,PageBlobUpdateSequenceNumberHeaders:wr,PageBlobUpdateSequenceNumberExceptionHeaders:Sr,PageBlobCopyIncrementalHeaders:_r,PageBlobCopyIncrementalExceptionHeaders:Er,AppendBlobCreateHeaders:Tr,AppendBlobCreateExceptionHeaders:Nr,AppendBlobAppendBlockHeaders:Pr,AppendBlobAppendBlockExceptionHeaders:Cr,AppendBlobAppendBlockFromUrlHeaders:Or,AppendBlobAppendBlockFromUrlExceptionHeaders:Rr,AppendBlobSealHeaders:Ar,AppendBlobSealExceptionHeaders:kr,BlockBlobUploadHeaders:Dr,BlockBlobUploadExceptionHeaders:Ir,BlockBlobPutBlobFromUrlHeaders:Lr,BlockBlobPutBlobFromUrlExceptionHeaders:Mr,BlockBlobStageBlockHeaders:Br,BlockBlobStageBlockExceptionHeaders:jr,BlockBlobStageBlockFromURLHeaders:zr,BlockBlobStageBlockFromURLExceptionHeaders:qr,BlockBlobCommitBlockListHeaders:Ur,BlockBlobCommitBlockListExceptionHeaders:Fr,BlockBlobGetBlockListHeaders:Gr,BlockBlobGetBlockListExceptionHeaders:Hr});const $r={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Xr={parameterPath:"blobServiceProperties",mapper:E};const Wr={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Kr={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const Qr={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Jr={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Yr={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const Zr={parameterPath:"version",mapper:{defaultValue:"2023-01-03",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const ei={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const ti={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const ri={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ii={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ai={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const ni={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const si={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const oi={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:s.QueryCollectionFormat.Csv};const pi={parameterPath:"keyInfo",mapper:M};const li={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ci={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const di={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const ui={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mi={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const fi={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const hi={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gi={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const yi={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const vi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"}};const bi={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const xi={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const wi={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const Si={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const _i={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const Ei={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const Ti={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ni={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Pi={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const Ci={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Oi={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const Ri={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const Ai={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ki={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const Di={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const Ii={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Li={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Mi={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Bi={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const ji={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const zi={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const qi={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ui={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Fi={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const Gi={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Hi={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Vi={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:s.QueryCollectionFormat.Csv};const $i={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const Xi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Wi={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const Ki={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const Qi={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Ji={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const Yi={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Zi={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const ea={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const ta={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const ra={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const ia={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const aa={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const na={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const sa={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const oa={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const pa={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const la={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const ca={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const da={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const ua={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const ma={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const fa={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const ha={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ga={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const ya={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const va={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ba={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const xa={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const wa={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Sa={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};const _a={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const Ea={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const Ta={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Na={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const Pa={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const Ca={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const Oa={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Ra={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const Aa={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const ka={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Da={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const Ia={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const La={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const Ma={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};const Ba={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ja={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const za={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const qa={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ua={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};const Fa={parameterPath:["options","queryRequest"],mapper:ne};const Ga={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ha={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Va={parameterPath:["options","tags"],mapper:q};const $a={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Xa={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const Wa={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Ka={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Qa={parameterPath:["options","blobSequenceNumber"],mapper:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const Ja={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Ya={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Za={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const en={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const tn={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const rn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const an={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const nn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const sn={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const on={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const pn={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const ln={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const cn={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const dn={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const un={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const mn={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const hn={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};const gn={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const yn={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const vn={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const bn={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const xn={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const wn={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const Sn={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const _n={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const En={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const Tn={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Nn={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const Pn={parameterPath:"blocks",mapper:Z};const Cn={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const On={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};class Service{constructor(r){this.client=r}setProperties(r,i){const a={blobServiceProperties:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,An)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,kn)}getStatistics(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Dn)}listContainersSegment(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,In)}getUserDelegationKey(r,i){const a={keyInfo:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ln)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Mn)}submitBatch(r,i,a,s){const p={contentLength:r,multipartContentType:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Bn)}filterBlobs(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,jn)}}const Rn=new x.Serializer(Vr,true);const An={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:ue},default:{bodyMapper:R,headersMapper:me}},requestBody:Xr,queryParameters:[Qr,Jr,Yr],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const kn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:E,headersMapper:fe},default:{bodyMapper:R,headersMapper:he}},queryParameters:[Qr,Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const Dn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A,headersMapper:ge},default:{bodyMapper:R,headersMapper:ye}},queryParameters:[Qr,Yr,ri],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const In={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:D,headersMapper:ve},default:{bodyMapper:R,headersMapper:be}},queryParameters:[Yr,ii,ai,ni,si,oi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const Ln={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:B,headersMapper:xe},default:{bodyMapper:R,headersMapper:we}},requestBody:pi,queryParameters:[Qr,Yr,li],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const Mn={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Se},default:{bodyMapper:R,headersMapper:_e}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:Rn};const Bn={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ee},default:{bodyMapper:R,headersMapper:Te}},requestBody:di,queryParameters:[Yr,ui],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,mi,fi],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const jn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:j,headersMapper:Ne},default:{bodyMapper:R,headersMapper:Pe}},queryParameters:[Yr,ni,si,hi,gi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};class Container{constructor(r){this.client=r}create(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,qn)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Un)}delete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Fn)}setMetadata(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Gn)}getAccessPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Hn)}setAccessPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Vn)}restore(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,$n)}rename(r,i){const a={sourceContainerName:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Xn)}submitBatch(r,i,a,s){const p={contentLength:r,multipartContentType:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Wn)}filterBlobs(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Kn)}acquireLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Qn)}releaseLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Jn)}renewLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Yn)}breakLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Zn)}changeLease(r,i,a){const s={leaseId:r,proposedLeaseId:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,es)}listBlobFlatSegment(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ts)}listBlobHierarchySegment(r,i){const a={delimiter:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,rs)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,is)}}const zn=new x.Serializer(Vr,true);const qn={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ce},default:{bodyMapper:R,headersMapper:Oe}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,bi,xi,wi],isXML:true,serializer:zn};const Un={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Re},default:{bodyMapper:R,headersMapper:Ae}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si],isXML:true,serializer:zn};const Fn={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:ke},default:{bodyMapper:R,headersMapper:De}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei],isXML:true,serializer:zn};const Gn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ie},default:{bodyMapper:R,headersMapper:Le}},queryParameters:[Yr,yi,Ti],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i],isXML:true,serializer:zn};const Hn={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:Me},default:{bodyMapper:R,headersMapper:Be}},queryParameters:[Yr,yi,Ni],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si],isXML:true,serializer:zn};const Vn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:je},default:{bodyMapper:R,headersMapper:ze}},requestBody:Pi,queryParameters:[Yr,yi,Ni],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,bi,Si,_i,Ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zn};const $n={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:qe},default:{bodyMapper:R,headersMapper:Ue}},queryParameters:[Yr,yi,Ci],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Oi,Ri],isXML:true,serializer:zn};const Xn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Fe},default:{bodyMapper:R,headersMapper:Ge}},queryParameters:[Yr,yi,Ai],urlParameters:[Kr],headerParameters:[Zr,ei,ti,ki,Di],isXML:true,serializer:zn};const Wn={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:He},default:{bodyMapper:R,headersMapper:Ve}},requestBody:di,queryParameters:[Yr,ui,yi],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,mi,fi],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zn};const Kn={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:j,headersMapper:$e},default:{bodyMapper:R,headersMapper:Xe}},queryParameters:[Yr,ni,si,hi,gi,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const Qn={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:We},default:{bodyMapper:R,headersMapper:Ke}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Li,Mi,Bi],isXML:true,serializer:zn};const Jn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qe},default:{bodyMapper:R,headersMapper:Je}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ji,zi],isXML:true,serializer:zn};const Yn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ye},default:{bodyMapper:R,headersMapper:Ze}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,qi],isXML:true,serializer:zn};const Zn={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:et},default:{bodyMapper:R,headersMapper:tt}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Ui,Fi],isXML:true,serializer:zn};const es={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rt},default:{bodyMapper:R,headersMapper:it}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,Gi,Hi],isXML:true,serializer:zn};const ts={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:V,headersMapper:nt},default:{bodyMapper:R,headersMapper:st}},queryParameters:[Yr,ii,ai,ni,si,yi,Vi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const rs={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Q,headersMapper:ot},default:{bodyMapper:R,headersMapper:pt}},queryParameters:[Yr,ii,ai,ni,si,yi,Vi,$i],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const is={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ct},default:{bodyMapper:R,headersMapper:dt}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:zn};class Blob$1{constructor(r){this.client=r}download(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ns)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ss)}delete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,os)}undelete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ps)}setExpiry(r,i){const a={expiryOptions:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ls)}setHttpHeaders(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,cs)}setImmutabilityPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ds)}deleteImmutabilityPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,us)}setLegalHold(r,i){const a={legalHold:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ms)}setMetadata(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,fs)}acquireLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,hs)}releaseLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,gs)}renewLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ys)}changeLease(r,i,a){const s={leaseId:r,proposedLeaseId:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,vs)}breakLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,bs)}createSnapshot(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,xs)}startCopyFromURL(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ws)}copyFromURL(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ss)}abortCopyFromURL(r,i){const a={copyId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,_s)}setTier(r,i){const a={tier:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Es)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ts)}query(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ns)}getTags(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ps)}setTags(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Cs)}}const as=new x.Serializer(Vr,true);const ns={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ut},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ut},default:{bodyMapper:R,headersMapper:mt}},queryParameters:[Yr,Xi,Wi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,Qi,Ji,Yi,Zi,ea,ta,ra,ia],isXML:true,serializer:as};const ss={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:ft},default:{bodyMapper:R,headersMapper:ht}},queryParameters:[Yr,Xi,Wi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia],isXML:true,serializer:as};const os={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:yt},default:{bodyMapper:R,headersMapper:vt}},queryParameters:[Yr,Xi,Wi,na],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,aa],isXML:true,serializer:as};const ps={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bt},default:{bodyMapper:R,headersMapper:xt}},queryParameters:[Yr,Ci],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:as};const ls={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wt},default:{bodyMapper:R,headersMapper:St}},queryParameters:[Yr,sa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,oa,pa],isXML:true,serializer:as};const cs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_t},default:{bodyMapper:R,headersMapper:Et}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,la,ca,da,ua,ma,fa],isXML:true,serializer:as};const ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Tt},default:{bodyMapper:R,headersMapper:Nt}},queryParameters:[Yr,ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Ei,ga,ya],isXML:true,serializer:as};const us={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Pt},default:{bodyMapper:R,headersMapper:Ct}},queryParameters:[Yr,ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:as};const ms={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ot},default:{bodyMapper:R,headersMapper:Rt}},queryParameters:[Yr,va],urlParameters:[Kr],headerParameters:[Zr,ei,ti,ba],isXML:true,serializer:as};const fs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:At},default:{bodyMapper:R,headersMapper:kt}},queryParameters:[Yr,Ti],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa],isXML:true,serializer:as};const hs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Dt},default:{bodyMapper:R,headersMapper:It}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Li,Mi,Bi,ta,ra,ia],isXML:true,serializer:as};const gs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Lt},default:{bodyMapper:R,headersMapper:Mt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ji,zi,ta,ra,ia],isXML:true,serializer:as};const ys={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bt},default:{bodyMapper:R,headersMapper:jt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,qi,ta,ra,ia],isXML:true,serializer:as};const vs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zt},default:{bodyMapper:R,headersMapper:qt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,Gi,Hi,ta,ra,ia],isXML:true,serializer:as};const bs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Ut},default:{bodyMapper:R,headersMapper:Ft}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Ui,Fi,ta,ra,ia],isXML:true,serializer:as};const xs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Gt},default:{bodyMapper:R,headersMapper:Ht}},queryParameters:[Yr,wa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa],isXML:true,serializer:as};const ws={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Vt},default:{bodyMapper:R,headersMapper:$t}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,ta,ra,ia,ga,ya,Sa,_a,Ea,Ta,Na,Pa,Ca,Oa,Ra,Aa,ka],isXML:true,serializer:as};const Ss={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Xt},default:{bodyMapper:R,headersMapper:Wt}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,ta,ra,ia,ga,ya,xa,Sa,Ea,Ta,Na,Pa,Oa,Ra,ka,Da,Ia,La,Ma],isXML:true,serializer:as};const _s={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Kt},default:{bodyMapper:R,headersMapper:Qt}},queryParameters:[Yr,Ba,za],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ja],isXML:true,serializer:as};const Es={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Jt},202:{headersMapper:Jt},default:{bodyMapper:R,headersMapper:Yt}},queryParameters:[Yr,Xi,Wi,qa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia,_a,Ua],isXML:true,serializer:as};const Ts={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Zt},default:{bodyMapper:R,headersMapper:er}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:as};const Ns={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tr},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tr},default:{bodyMapper:R,headersMapper:rr}},requestBody:Fa,queryParameters:[Yr,Xi,Ga],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:as};const Ps={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:q,headersMapper:ir},default:{bodyMapper:R,headersMapper:ar}},queryParameters:[Yr,Xi,Wi,Ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia],isXML:true,serializer:as};const Cs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:nr},default:{bodyMapper:R,headersMapper:sr}},requestBody:Va,queryParameters:[Yr,Wi,Ha],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,Si,ia,$a,Xa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:as};class PageBlob{constructor(r){this.client=r}create(r,i,a){const s={contentLength:r,blobContentLength:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,As)}uploadPages(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,ks)}clearPages(r,i){const a={contentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ds)}uploadPagesFromURL(r,i,a,s,p){const l={sourceUrl:r,sourceRange:i,contentLength:a,range:s,options:x.operationOptionsToRequestOptionsBase(p||{})};return this.client.sendOperationRequest(l,Is)}getPageRanges(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ls)}getPageRangesDiff(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ms)}resize(r,i){const a={blobContentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Bs)}updateSequenceNumber(r,i){const a={sequenceNumberAction:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,js)}copyIncremental(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,zs)}}const Os=new x.Serializer(Vr,true);const Rs=new x.Serializer(Vr,false);const As={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:or},default:{bodyMapper:R,headersMapper:pr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,ka,Wa,Ka,Qa],isXML:true,serializer:Os};const ks={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lr},default:{bodyMapper:R,headersMapper:cr}},requestBody:Ya,queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,_i,Ei,Ki,Yi,Zi,ea,ta,ra,ia,xa,$a,Xa,Ja,Za,tn,rn,an,nn],mediaType:"binary",serializer:Rs};const Ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dr},default:{bodyMapper:R,headersMapper:ur}},queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Ki,Yi,Zi,ea,ta,ra,ia,xa,rn,an,nn,sn],isXML:true,serializer:Os};const Is={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mr},default:{bodyMapper:R,headersMapper:fr}},queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ea,Ta,Na,Pa,Ia,La,tn,rn,an,nn,on,pn,ln,cn],isXML:true,serializer:Os};const Ls={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:re,headersMapper:hr},default:{bodyMapper:R,headersMapper:gr}},queryParameters:[Yr,ni,si,Xi,dn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,ta,ra,ia],isXML:true,serializer:Os};const Ms={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:re,headersMapper:yr},default:{bodyMapper:R,headersMapper:vr}},queryParameters:[Yr,ni,si,Xi,dn,un],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,ta,ra,ia,mn],isXML:true,serializer:Os};const Bs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:br},default:{bodyMapper:R,headersMapper:xr}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ka],isXML:true,serializer:Os};const js={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wr},default:{bodyMapper:R,headersMapper:Sr}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,Qa,hn],isXML:true,serializer:Os};const zs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:_r},default:{bodyMapper:R,headersMapper:Er}},queryParameters:[Yr,gn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ta,ra,ia,Oa],isXML:true,serializer:Os};class AppendBlob{constructor(r){this.client=r}create(r,i){const a={contentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Fs)}appendBlock(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Gs)}appendBlockFromUrl(r,i,a){const s={sourceUrl:r,contentLength:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Hs)}seal(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Vs)}}const qs=new x.Serializer(Vr,true);const Us=new x.Serializer(Vr,false);const Fs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Tr},default:{bodyMapper:R,headersMapper:Nr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Ra,ka,yn],isXML:true,serializer:qs};const Gs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Pr},default:{bodyMapper:R,headersMapper:Cr}},requestBody:Ya,queryParameters:[Yr,vn],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,$a,Xa,Ja,Za,bn,xn],mediaType:"binary",serializer:Us};const Hs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Or},default:{bodyMapper:R,headersMapper:Rr}},queryParameters:[Yr,vn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ea,Ta,Na,Pa,Ia,La,$a,on,ln,bn,xn,wn],isXML:true,serializer:qs};const Vs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ar},default:{bodyMapper:R,headersMapper:kr}},queryParameters:[Yr,Sn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,xn],isXML:true,serializer:qs};class BlockBlob{constructor(r){this.client=r}upload(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Ws)}putBlobFromUrl(r,i,a){const s={contentLength:r,copySource:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Ks)}stageBlock(r,i,a,s){const p={blockId:r,contentLength:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Qs)}stageBlockFromURL(r,i,a,s){const p={blockId:r,contentLength:i,sourceUrl:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Js)}commitBlockList(r,i){const a={blocks:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ys)}getBlockList(r,i){const a={listType:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Zs)}}const $s=new x.Serializer(Vr,true);const Xs=new x.Serializer(Vr,false);const Ws={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Dr},default:{bodyMapper:R,headersMapper:Ir}},requestBody:Ya,queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,ka,$a,Xa,Ja,Za,_n],mediaType:"binary",serializer:Xs};const Ks={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Lr},default:{bodyMapper:R,headersMapper:Mr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,xa,Sa,Ea,Ta,Na,Pa,Ca,Oa,Ra,Ia,La,Ma,$a,_n,En],isXML:true,serializer:$s};const Qs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Br},default:{bodyMapper:R,headersMapper:jr}},requestBody:Ya,queryParameters:[Yr,Tn,Nn],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,Yi,Zi,ea,xa,$a,Xa,Ja,Za],mediaType:"binary",serializer:Xs};const Js={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zr},default:{bodyMapper:R,headersMapper:qr}},queryParameters:[Yr,Tn,Nn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,Yi,Zi,ea,xa,Ea,Ta,Na,Pa,Ia,La,on,ln,wn],isXML:true,serializer:$s};const Ys={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ur},default:{bodyMapper:R,headersMapper:Fr}},requestBody:Pn,queryParameters:[Yr,Cn],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,ka,$a,Xa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$s};const Zs={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ee,headersMapper:Gr},default:{bodyMapper:R,headersMapper:Hr}},queryParameters:[Yr,Xi,Cn,On],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia],isXML:true,serializer:$s};const eo=c.createClientLogger("storage-blob");const to="12.15.0";const ro="2023-01-03";const io=256*1024*1024;const ao=4e3*1024*1024;const no=5e4;const so=8*1024*1024;const oo=4*1024*1024;const po=5;const lo=100*1e3;const co="https://storage.azure.com/.default";const uo={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const mo={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const fo={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"};const ho="";const go="*";const yo=1*1024*1024;const vo=256;const bo=4*yo;const xo="\r\n";const wo="HTTP/1.1";const So="AES256";const _o=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Eo=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-if-tags","x-ms-source-if-tags"];const To=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];const No="BlobUsesCustomerSpecifiedEncryption";const Po="BlobDoesNotUseCustomerSpecifiedEncryption";const Co=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function escapeURLPath(r){const i=s.URLBuilder.parse(r);let a=i.getPath();a=a||"/";a=escape(a);i.setPath(a);return i.toString()}function getProxyUriFromDevConnString(r){let i="";if(r.search("DevelopmentStorageProxyUri=")!==-1){const a=r.split(";");for(const r of a){if(r.trim().startsWith("DevelopmentStorageProxyUri=")){i=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return i}function getValueInConnString(r,i){const a=r.split(";");for(const r of a){if(r.trim().startsWith(i)){return r.trim().match(i+"=(.*)")[1]}}return""}function extractConnectionStringParts(r){let i="";if(r.startsWith("UseDevelopmentStorage=true")){i=getProxyUriFromDevConnString(r);r=_o}let a=getValueInConnString(r,"BlobEndpoint");a=a.endsWith("/")?a.slice(0,-1):a;if(r.search("DefaultEndpointsProtocol=")!==-1&&r.search("AccountKey=")!==-1){let s="";let p="";let l=Buffer.from("accountKey","base64");let c="";p=getValueInConnString(r,"AccountName");l=Buffer.from(getValueInConnString(r,"AccountKey"),"base64");if(!a){s=getValueInConnString(r,"DefaultEndpointsProtocol");const i=s.toLowerCase();if(i!=="https"&&i!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}c=getValueInConnString(r,"EndpointSuffix");if(!c){throw new Error("Invalid EndpointSuffix in the provided Connection String")}a=`${s}://${p}.blob.${c}`}if(!p){throw new Error("Invalid AccountName in the provided Connection String")}else if(l.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:a,accountName:p,accountKey:l,proxyUri:i}}else{const i=getValueInConnString(r,"SharedAccessSignature");const s=getAccountNameFromUrl(a);if(!a){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!i){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}return{kind:"SASConnString",url:a,accountName:s,accountSas:i}}}function escape(r){return encodeURIComponent(r).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(r,i){const a=s.URLBuilder.parse(r);let p=a.getPath();p=p?p.endsWith("/")?`${p}${i}`:`${p}/${i}`:i;a.setPath(p);const l=new URL(a.toString());return l.toString()}function setURLParameter(r,i,a){const p=s.URLBuilder.parse(r);p.setQueryParameter(i,a);return p.toString()}function getURLParameter(r,i){const a=s.URLBuilder.parse(r);return a.getQueryParameterValue(i)}function setURLHost(r,i){const a=s.URLBuilder.parse(r);a.setHost(i);return a.toString()}function getURLPath(r){const i=s.URLBuilder.parse(r);return i.getPath()}function getURLScheme(r){const i=s.URLBuilder.parse(r);return i.getScheme()}function getURLPathAndQuery(r){const i=s.URLBuilder.parse(r);const a=i.getPath();if(!a){throw new RangeError("Invalid url without valid path.")}let p=i.getQuery()||"";p=p.trim();if(p!==""){p=p.startsWith("?")?p:`?${p}`}return`${a}${p}`}function getURLQueries(r){let i=s.URLBuilder.parse(r).getQuery();if(!i){return{}}i=i.trim();i=i.startsWith("?")?i.substr(1):i;let a=i.split("&");a=a.filter((r=>{const i=r.indexOf("=");const a=r.lastIndexOf("=");return i>0&&i===a&&aNumber.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return s}return a>>1^-(a&1)}static async readLong(r,i={}){return AvroParser.readZigZagLong(r,i)}static async readInt(r,i={}){return AvroParser.readZigZagLong(r,i)}static async readNull(){return null}static async readBoolean(r,i={}){const a=await AvroParser.readByte(r,i);if(a===1){return true}else if(a===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(r,i={}){const a=await AvroParser.readFixedBytes(r,4,i);const s=new DataView(a.buffer,a.byteOffset,a.byteLength);return s.getFloat32(0,true)}static async readDouble(r,i={}){const a=await AvroParser.readFixedBytes(r,8,i);const s=new DataView(a.buffer,a.byteOffset,a.byteLength);return s.getFloat64(0,true)}static async readBytes(r,i={}){const a=await AvroParser.readLong(r,i);if(a<0){throw new Error("Bytes size was negative.")}return r.read(a,{abortSignal:i.abortSignal})}static async readString(r,i={}){const a=await AvroParser.readBytes(r,i);const s=new TextDecoder;return s.decode(a)}static async readMapPair(r,i,a={}){const s=await AvroParser.readString(r,a);const p=await i(r,a);return{key:s,value:p}}static async readMap(r,i,a={}){const readPairMethod=(r,a={})=>AvroParser.readMapPair(r,i,a);const s=await AvroParser.readArray(r,readPairMethod,a);const p={};for(const r of s){p[r.key]=r.value}return p}static async readArray(r,i,a={}){const s=[];for(let p=await AvroParser.readLong(r,a);p!==0;p=await AvroParser.readLong(r,a)){if(p<0){await AvroParser.readLong(r,a);p=-p}while(p--){const p=await i(r,a);s.push(p)}}return s}}var Uo;(function(r){r["RECORD"]="record";r["ENUM"]="enum";r["ARRAY"]="array";r["MAP"]="map";r["UNION"]="union";r["FIXED"]="fixed"})(Uo||(Uo={}));var Fo;(function(r){r["NULL"]="null";r["BOOLEAN"]="boolean";r["INT"]="int";r["LONG"]="long";r["FLOAT"]="float";r["DOUBLE"]="double";r["BYTES"]="bytes";r["STRING"]="string"})(Fo||(Fo={}));class AvroType{static fromSchema(r){if(typeof r==="string"){return AvroType.fromStringSchema(r)}else if(Array.isArray(r)){return AvroType.fromArraySchema(r)}else{return AvroType.fromObjectSchema(r)}}static fromStringSchema(r){switch(r){case Fo.NULL:case Fo.BOOLEAN:case Fo.INT:case Fo.LONG:case Fo.FLOAT:case Fo.DOUBLE:case Fo.BYTES:case Fo.STRING:return new AvroPrimitiveType(r);default:throw new Error(`Unexpected Avro type ${r}`)}}static fromArraySchema(r){return new AvroUnionType(r.map(AvroType.fromSchema))}static fromObjectSchema(r){const i=r.type;try{return AvroType.fromStringSchema(i)}catch(r){}switch(i){case Uo.RECORD:if(r.aliases){throw new Error(`aliases currently is not supported, schema: ${r}`)}if(!r.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${r}`)}const a={};if(!r.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${r}`)}for(const i of r.fields){a[i.name]=AvroType.fromSchema(i.type)}return new AvroRecordType(a,r.name);case Uo.ENUM:if(r.aliases){throw new Error(`aliases currently is not supported, schema: ${r}`)}if(!r.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${r}`)}return new AvroEnumType(r.symbols);case Uo.MAP:if(!r.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${r}`)}return new AvroMapType(AvroType.fromSchema(r.values));case Uo.ARRAY:case Uo.FIXED:default:throw new Error(`Unexpected Avro type ${i} in ${r}`)}}}class AvroPrimitiveType extends AvroType{constructor(r){super();this._primitive=r}read(r,i={}){switch(this._primitive){case Fo.NULL:return AvroParser.readNull();case Fo.BOOLEAN:return AvroParser.readBoolean(r,i);case Fo.INT:return AvroParser.readInt(r,i);case Fo.LONG:return AvroParser.readLong(r,i);case Fo.FLOAT:return AvroParser.readFloat(r,i);case Fo.DOUBLE:return AvroParser.readDouble(r,i);case Fo.BYTES:return AvroParser.readBytes(r,i);case Fo.STRING:return AvroParser.readString(r,i);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{constructor(r){super();this._symbols=r}async read(r,i={}){const a=await AvroParser.readInt(r,i);return this._symbols[a]}}class AvroUnionType extends AvroType{constructor(r){super();this._types=r}async read(r,i={}){const a=await AvroParser.readInt(r,i);return this._types[a].read(r,i)}}class AvroMapType extends AvroType{constructor(r){super();this._itemType=r}read(r,i={}){const readItemMethod=(r,i)=>this._itemType.read(r,i);return AvroParser.readMap(r,readItemMethod,i)}}class AvroRecordType extends AvroType{constructor(r,i){super();this._fields=r;this._name=i}async read(r,i={}){const a={};a["$schema"]=this._name;for(const s in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,s)){a[s]=await this._fields[s].read(r,i)}}return a}}function arraysEqual(r,i){if(r===i)return true;if(r==null||i==null)return false;if(r.length!==i.length)return false;for(let a=0;a0){r[0]=r[0].slice(l)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{constructor(r,i,a,s,p,l){this.emitter=new y.EventEmitter;this.offset=0;this.isStreamEnd=false;this.isError=false;this.executingOutgoingHandlers=0;this.numBuffers=0;this.unresolvedDataArray=[];this.unresolvedLength=0;this.incoming=[];this.outgoing=[];if(i<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${i}`)}if(a<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${a}`)}if(p<=0){throw new RangeError(`concurrency must be larger than 0, current is ${p}`)}this.bufferSize=i;this.maxBuffers=a;this.readable=r;this.outgoingHandler=s;this.concurrency=p;this.encoding=l}async do(){return new Promise(((r,i)=>{this.readable.on("data",(r=>{r=typeof r==="string"?Buffer.from(r,this.encoding):r;this.appendUnresolvedData(r);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(r=>{this.emitter.emit("error",r)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(r=>{this.isError=true;this.readable.pause();i(r)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLength1){a=i}else if(this.head){s=this.head.next;a=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var p=0;s!==null;p++){a=r(a,s.value,p);s=s.next}return a};Yallist.prototype.reduceReverse=function(r,i){var a;var s=this.tail;if(arguments.length>1){a=i}else if(this.tail){s=this.tail.prev;a=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var p=this.length-1;s!==null;p--){a=r(a,s.value,p);s=s.prev}return a};Yallist.prototype.toArray=function(){var r=new Array(this.length);for(var i=0,a=this.head;a!==null;i++){r[i]=a.value;a=a.next}return r};Yallist.prototype.toArrayReverse=function(){var r=new Array(this.length);for(var i=0,a=this.tail;a!==null;i++){r[i]=a.value;a=a.prev}return r};Yallist.prototype.slice=function(r,i){i=i||this.length;if(i<0){i+=this.length}r=r||0;if(r<0){r+=this.length}var a=new Yallist;if(i{r.exports=function(r,i){Object.keys(i).forEach((function(a){r[a]=r[a]||i[a]}));return r}},7094:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(3233);var p=a(2557);var l=a(1333);const c=s.createClientLogger("core-lro");const d=2e3;const u=["succeeded","canceled","failed"];function deserializeState(r){try{return JSON.parse(r).state}catch(i){throw new Error(`Unable to deserialize input state: ${r}`)}}function setStateError(r){const{state:i,stateProxy:a,isOperationError:s}=r;return r=>{if(s(r)){a.setError(i,r);a.setFailed(i)}throw r}}function appendReadableErrorMessage(r,i){let a=r;if(a.slice(-1)!=="."){a=a+"."}return a+" "+i}function simplifyError(r){let i=r.message;let a=r.code;let s=r;while(s.innererror){s=s.innererror;a=s.code;i=appendReadableErrorMessage(i,s.message)}return{code:a,message:i}}function processOperationStatus(r){const{state:i,stateProxy:a,status:s,isDone:p,processResult:l,getError:d,response:u,setErrorAsResult:m}=r;switch(s){case"succeeded":{a.setSucceeded(i);break}case"failed":{const r=d===null||d===void 0?void 0:d(u);let s="";if(r){const{code:i,message:a}=simplifyError(r);s=`. ${i}. ${a}`}const p=`The long-running operation has failed${s}`;a.setError(i,new Error(p));a.setFailed(i);c.warning(p);break}case"canceled":{a.setCanceled(i);break}}if((p===null||p===void 0?void 0:p(u,i))||p===undefined&&["succeeded","canceled"].concat(m?[]:["failed"]).includes(s)){a.setResult(i,buildResult({response:u,state:i,processResult:l}))}}function buildResult(r){const{processResult:i,response:a,state:s}=r;return i?i(a,s):a}async function initOperation(r){const{init:i,stateProxy:a,processResult:s,getOperationStatus:p,withOperationLocation:l,setErrorAsResult:d}=r;const{operationLocation:u,resourceLocation:m,metadata:h,response:g}=await i();if(u)l===null||l===void 0?void 0:l(u,false);const y={metadata:h,operationLocation:u,resourceLocation:m};c.verbose(`LRO: Operation description:`,y);const v=a.initState(y);const b=p({response:g,state:v,operationLocation:u});processOperationStatus({state:v,status:b,stateProxy:a,response:g,setErrorAsResult:d,processResult:s});return v}async function pollOperationHelper(r){const{poll:i,state:a,stateProxy:s,operationLocation:p,getOperationStatus:l,getResourceLocation:d,isOperationError:m,options:h}=r;const g=await i(p,h).catch(setStateError({state:a,stateProxy:s,isOperationError:m}));const y=l(g,a);c.verbose(`LRO: Status:\n\tPolling from: ${a.config.operationLocation}\n\tOperation status: ${y}\n\tPolling status: ${u.includes(y)?"Stopped":"Running"}`);if(y==="succeeded"){const r=d(g,a);if(r!==undefined){return{response:await i(r).catch(setStateError({state:a,stateProxy:s,isOperationError:m})),status:y}}}return{response:g,status:y}}async function pollOperation(r){const{poll:i,state:a,stateProxy:s,options:p,getOperationStatus:l,getResourceLocation:c,getOperationLocation:d,isOperationError:m,withOperationLocation:h,getPollingInterval:g,processResult:y,getError:v,updateState:b,setDelay:x,isDone:w,setErrorAsResult:S}=r;const{operationLocation:_}=a.config;if(_!==undefined){const{response:r,status:E}=await pollOperationHelper({poll:i,getOperationStatus:l,state:a,stateProxy:s,operationLocation:_,getResourceLocation:c,isOperationError:m,options:p});processOperationStatus({status:E,response:r,state:a,stateProxy:s,isDone:w,processResult:y,getError:v,setErrorAsResult:S});if(!u.includes(E)){const i=g===null||g===void 0?void 0:g(r);if(i)x(i);const s=d===null||d===void 0?void 0:d(r,a);if(s!==undefined){const r=_!==s;a.config.operationLocation=s;h===null||h===void 0?void 0:h(s,r)}else h===null||h===void 0?void 0:h(_,false)}b===null||b===void 0?void 0:b(a,r)}}function getOperationLocationPollingUrl(r){const{azureAsyncOperation:i,operationLocation:a}=r;return a!==null&&a!==void 0?a:i}function getLocationHeader(r){return r.headers["location"]}function getOperationLocationHeader(r){return r.headers["operation-location"]}function getAzureAsyncOperationHeader(r){return r.headers["azure-asyncoperation"]}function findResourceLocation(r){var i;const{location:a,requestMethod:s,requestPath:p,resourceLocationConfig:l}=r;switch(s){case"PUT":{return p}case"DELETE":{return undefined}case"PATCH":{return(i=getDefault())!==null&&i!==void 0?i:p}default:{return getDefault()}}function getDefault(){switch(l){case"azure-async-operation":{return undefined}case"original-uri":{return p}case"location":default:{return a}}}}function inferLroMode(r){const{rawResponse:i,requestMethod:a,requestPath:s,resourceLocationConfig:p}=r;const l=getOperationLocationHeader(i);const c=getAzureAsyncOperationHeader(i);const d=getOperationLocationPollingUrl({operationLocation:l,azureAsyncOperation:c});const u=getLocationHeader(i);const m=a===null||a===void 0?void 0:a.toLocaleUpperCase();if(d!==undefined){return{mode:"OperationLocation",operationLocation:d,resourceLocation:findResourceLocation({requestMethod:m,location:u,requestPath:s,resourceLocationConfig:p})}}else if(u!==undefined){return{mode:"ResourceLocation",operationLocation:u}}else if(m==="PUT"&&s){return{mode:"Body",operationLocation:s}}else{return undefined}}function transformStatus(r){const{status:i,statusCode:a}=r;if(typeof i!=="string"&&i!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${i}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(i===null||i===void 0?void 0:i.toLocaleLowerCase()){case undefined:return toOperationStatus(a);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{c.verbose(`LRO: unrecognized operation status: ${i}`);return i}}}function getStatus(r){var i;const{status:a}=(i=r.body)!==null&&i!==void 0?i:{};return transformStatus({status:a,statusCode:r.statusCode})}function getProvisioningState(r){var i,a;const{properties:s,provisioningState:p}=(i=r.body)!==null&&i!==void 0?i:{};const l=(a=s===null||s===void 0?void 0:s.provisioningState)!==null&&a!==void 0?a:p;return transformStatus({status:l,statusCode:r.statusCode})}function toOperationStatus(r){if(r===202){return"running"}else if(r<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:r}){const i=r.headers["retry-after"];if(i!==undefined){const r=parseInt(i);return isNaN(r)?calculatePollingIntervalFromDate(new Date(i)):r*1e3}return undefined}function getErrorFromResponse(r){const i=r.flatResponse.error;if(!i){c.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!i.code||!i.message){c.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return i}function calculatePollingIntervalFromDate(r){const i=Math.floor((new Date).getTime());const a=r.getTime();if(i{const r=await p.sendInitialRequest();const i=inferLroMode({rawResponse:r.rawResponse,requestPath:p.requestPath,requestMethod:p.requestMethod,resourceLocationConfig:a});return Object.assign({response:r,operationLocation:i===null||i===void 0?void 0:i.operationLocation,resourceLocation:i===null||i===void 0?void 0:i.resourceLocation},(i===null||i===void 0?void 0:i.mode)?{metadata:{mode:i.mode}}:{})},stateProxy:i,processResult:s?({flatResponse:r},i)=>s(r,i):({flatResponse:r})=>r,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:l})}function getOperationLocation({rawResponse:r},i){var a;const s=(a=i.config.metadata)===null||a===void 0?void 0:a["mode"];switch(s){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(r),azureAsyncOperation:getAzureAsyncOperationHeader(r)})}case"ResourceLocation":{return getLocationHeader(r)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:r},i){var a;const s=(a=i.config.metadata)===null||a===void 0?void 0:a["mode"];switch(s){case"OperationLocation":{return getStatus(r)}case"ResourceLocation":{return toOperationStatus(r.statusCode)}case"Body":{return getProvisioningState(r)}default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}function getResourceLocation({flatResponse:r},i){if(typeof r==="object"){const a=r.resourceLocation;if(a!==undefined){i.config.resourceLocation=a}}return i.config.resourceLocation}function isOperationError(r){return r.name==="RestError"}async function pollHttpOperation(r){const{lro:i,stateProxy:a,options:s,processResult:p,updateState:l,setDelay:c,state:d,setErrorAsResult:u}=r;return pollOperation({state:d,stateProxy:a,setDelay:c,processResult:p?({flatResponse:r},i)=>p(r,i):({flatResponse:r})=>r,getError:getErrorFromResponse,updateState:l,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:s,poll:async(r,a)=>i.sendPollRequest(r,a),setErrorAsResult:u})}const createStateProxy$1=()=>({initState:r=>({status:"running",config:r}),setCanceled:r=>r.status="canceled",setError:(r,i)=>r.error=i,setResult:(r,i)=>r.result=i,setRunning:r=>r.status="running",setSucceeded:r=>r.status="succeeded",setFailed:r=>r.status="failed",getError:r=>r.error,getResult:r=>r.result,isCanceled:r=>r.status==="canceled",isFailed:r=>r.status==="failed",isRunning:r=>r.status==="running",isSucceeded:r=>r.status==="succeeded"});function buildCreatePoller(r){const{getOperationLocation:i,getStatusFromInitialResponse:a,getStatusFromPollResponse:s,isOperationError:c,getResourceLocation:u,getPollingInterval:m,getError:h,resolveOnUnsuccessful:g}=r;return async({init:r,poll:y},v)=>{const{processResult:b,updateState:x,withOperationLocation:w,intervalInMs:S=d,restoreFrom:_}=v||{};const E=createStateProxy$1();const T=w?(()=>{let r=false;return(i,a)=>{if(a)w(i);else if(!r)w(i);r=true}})():undefined;const N=_?deserializeState(_):await initOperation({init:r,stateProxy:E,processResult:b,getOperationStatus:a,withOperationLocation:T,setErrorAsResult:!g});let P;const C=new p.AbortController;const O=new Map;const handleProgressEvents=async()=>O.forEach((r=>r(N)));const R="Operation was canceled";let A=S;const D={getOperationState:()=>N,getResult:()=>N.result,isDone:()=>["succeeded","failed","canceled"].includes(N.status),isStopped:()=>P===undefined,stopPolling:()=>{C.abort()},toString:()=>JSON.stringify({state:N}),onProgress:r=>{const i=Symbol();O.set(i,r);return()=>O.delete(i)},pollUntilDone:r=>P!==null&&P!==void 0?P:P=(async()=>{const{abortSignal:i}=r||{};const{signal:a}=i?new p.AbortController([i,C.signal]):C;if(!D.isDone()){await D.poll({abortSignal:a});while(!D.isDone()){await l.delay(A,{abortSignal:a});await D.poll({abortSignal:a})}}if(g){return D.getResult()}else{switch(N.status){case"succeeded":return D.getResult();case"canceled":throw new Error(R);case"failed":throw N.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{P=undefined})),async poll(r){if(g){if(D.isDone())return}else{switch(N.status){case"succeeded":return;case"canceled":throw new Error(R);case"failed":throw N.error}}await pollOperation({poll:y,state:N,stateProxy:E,getOperationLocation:i,isOperationError:c,withOperationLocation:T,getPollingInterval:m,getOperationStatus:s,getResourceLocation:u,processResult:b,getError:h,updateState:x,options:r,setDelay:r=>{A=r},setErrorAsResult:!g});await handleProgressEvents();if(!g){switch(N.status){case"canceled":throw new Error(R);case"failed":throw N.error}}}};return D}}async function createHttpPoller(r,i){const{resourceLocationConfig:a,intervalInMs:s,processResult:p,restoreFrom:l,updateState:c,withOperationLocation:d,resolveOnUnsuccessful:u=false}=i||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:u})({init:async()=>{const i=await r.sendInitialRequest();const s=inferLroMode({rawResponse:i.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:i,operationLocation:s===null||s===void 0?void 0:s.operationLocation,resourceLocation:s===null||s===void 0?void 0:s.resourceLocation},(s===null||s===void 0?void 0:s.mode)?{metadata:{mode:s.mode}}:{})},poll:r.sendPollRequest},{intervalInMs:s,withOperationLocation:d,restoreFrom:l,updateState:c,processResult:p?({flatResponse:r},i)=>p(r,i):({flatResponse:r})=>r})}const createStateProxy=()=>({initState:r=>({config:r,isStarted:true}),setCanceled:r=>r.isCancelled=true,setError:(r,i)=>r.error=i,setResult:(r,i)=>r.result=i,setRunning:r=>r.isStarted=true,setSucceeded:r=>r.isCompleted=true,setFailed:()=>{},getError:r=>r.error,getResult:r=>r.result,isCanceled:r=>!!r.isCancelled,isFailed:r=>!!r.error,isRunning:r=>!!r.isStarted,isSucceeded:r=>Boolean(r.isCompleted&&!r.isCancelled&&!r.error)});class GenericPollOperation{constructor(r,i,a,s,p,l,c){this.state=r;this.lro=i;this.setErrorAsResult=a;this.lroResourceLocationConfig=s;this.processResult=p;this.updateState=l;this.isDone=c}setPollerConfig(r){this.pollerConfig=r}async update(r){var i;const a=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:a,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const s=this.updateState;const p=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:a,processResult:this.processResult,updateState:s?(r,{rawResponse:i})=>s(r,i):undefined,isDone:p?({flatResponse:r},i)=>p(r,i):undefined,options:r,setDelay:r=>{this.pollerConfig.intervalInMs=r},setErrorAsResult:this.setErrorAsResult})}(i=r===null||r===void 0?void 0:r.fireProgress)===null||i===void 0?void 0:i.call(r,this.state);return this}async cancel(){c.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(r){super(r);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(r){super(r);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(r){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=r;this.promise=new Promise(((r,i)=>{this.resolve=r;this.reject=i}));this.promise.catch((()=>{}))}async startPolling(r={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(r);await this.delay()}}async pollOnce(r={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:r.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(r){for(const i of this.pollProgressCallbacks){i(r)}}async cancelOnce(r={}){this.operation=await this.operation.cancel(r)}poll(r={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(r);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const r=new PollerCancelledError("Operation was canceled");this.reject(r);throw r}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(r={}){if(this.stopped){this.startPolling(r).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(r){this.pollProgressCallbacks.push(r);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((i=>i!==r))}}isDone(){const r=this.operation.state;return Boolean(r.isCompleted||r.isCancelled||r.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(r={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(r)}else if(r.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const r=this.operation.state;return r.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(r,i){const{intervalInMs:a=d,resumeFrom:s,resolveOnUnsuccessful:p=false,isDone:l,lroResourceLocationConfig:c,processResult:u,updateState:m}=i||{};const h=s?deserializeState(s):{};const g=new GenericPollOperation(h,r,!p,c,u,m,l);super(g);this.resolveOnUnsuccessful=p;this.config={intervalInMs:a};g.setPollerConfig(this.config)}delay(){return new Promise((r=>setTimeout((()=>r()),this.config.intervalInMs)))}}i.LroEngine=LroEngine;i.Poller=Poller;i.PollerCancelledError=PollerCancelledError;i.PollerStoppedError=PollerStoppedError;i.createHttpPoller=createHttpPoller},4559:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(4351);function getPagedAsyncIterator(r){var i;const a=getItemAsyncIterator(r);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:(i=r===null||r===void 0?void 0:r.byPage)!==null&&i!==void 0?i:i=>{const{continuationToken:a,maxPageSize:s}=i!==null&&i!==void 0?i:{};return getPageAsyncIterator(r,{pageLink:a,maxPageSize:s})}}}function getItemAsyncIterator(r){return s.__asyncGenerator(this,arguments,(function*getItemAsyncIterator_1(){var i,a,p,l;const c=getPageAsyncIterator(r);const d=yield s.__await(c.next());if(!Array.isArray(d.value)){const{toElements:p}=r;if(p){yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(p(d.value))));try{for(var u=s.__asyncValues(c),m;m=yield s.__await(u.next()),!m.done;){const r=m.value;yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(p(r))))}}catch(r){i={error:r}}finally{try{if(m&&!m.done&&(a=u.return))yield s.__await(a.call(u))}finally{if(i)throw i.error}}}else{yield yield s.__await(d.value);yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(c)))}}else{yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(d.value)));try{for(var h=s.__asyncValues(c),g;g=yield s.__await(h.next()),!g.done;){const r=g.value;yield s.__await(yield*s.__asyncDelegator(s.__asyncValues(r)))}}catch(r){p={error:r}}finally{try{if(g&&!g.done&&(l=h.return))yield s.__await(l.call(h))}finally{if(p)throw p.error}}}}))}function getPageAsyncIterator(r,i={}){return s.__asyncGenerator(this,arguments,(function*getPageAsyncIterator_1(){const{pageLink:a,maxPageSize:p}=i;let l=yield s.__await(r.getPage(a!==null&&a!==void 0?a:r.firstPageLink,p));if(!l){return yield s.__await(void 0)}yield yield s.__await(l.page);while(l.nextPageLink){l=yield s.__await(r.getPage(l.nextPageLink,p));if(!l){return yield s.__await(void 0)}yield yield s.__await(l.page)}}))}i.getPagedAsyncIterator=getPagedAsyncIterator},4175:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(5163);(function(r){r[r["INTERNAL"]=0]="INTERNAL";r[r["SERVER"]=1]="SERVER";r[r["CLIENT"]=2]="CLIENT";r[r["PRODUCER"]=3]="PRODUCER";r[r["CONSUMER"]=4]="CONSUMER"})(i.SpanKind||(i.SpanKind={}));function getSpan(r){return s.trace.getSpan(r)}function setSpan(r,i){return s.trace.setSpan(r,i)}function setSpanContext(r,i){return s.trace.setSpanContext(r,i)}function getSpanContext(r){return s.trace.getSpanContext(r)}function isSpanContextValid(r){return s.trace.isSpanContextValid(r)}function getTracer(r,i){return s.trace.getTracer(r||"azure/core-tracing",i)}const p=s.context;(function(r){r[r["UNSET"]=0]="UNSET";r[r["OK"]=1]="OK";r[r["ERROR"]=2]="ERROR"})(i.SpanStatusCode||(i.SpanStatusCode={}));function isTracingDisabled(){var r;if(typeof process==="undefined"){return false}const i=(r=process.env.AZURE_TRACING_DISABLED)===null||r===void 0?void 0:r.toLowerCase();if(i==="false"||i==="0"){return false}return Boolean(i)}function createSpanFunction(r){return function(a,l){const c=getTracer();const d=(l===null||l===void 0?void 0:l.tracingOptions)||{};const u=Object.assign({kind:i.SpanKind.INTERNAL},d.spanOptions);const m=r.packagePrefix?`${r.packagePrefix}.${a}`:a;let h;if(isTracingDisabled()){h=s.trace.wrapSpanContext(s.INVALID_SPAN_CONTEXT)}else{h=c.startSpan(m,u,d.tracingContext)}if(r.namespace){h.setAttribute("az.namespace",r.namespace)}let g=d.spanOptions||{};if(h.isRecording()&&r.namespace){g=Object.assign(Object.assign({},d.spanOptions),{attributes:Object.assign(Object.assign({},u.attributes),{"az.namespace":r.namespace})})}const y=Object.assign(Object.assign({},d),{spanOptions:g,tracingContext:setSpan(d.tracingContext||p.active(),h)});const v=Object.assign(Object.assign({},l),{tracingOptions:y});return{span:h,updatedOptions:v}}}const l="00";function extractSpanContextFromTraceParentHeader(r){const i=r.split("-");if(i.length!==4){return}const[a,s,p,c]=i;if(a!==l){return}const d=parseInt(c,16);const u={spanId:p,traceId:s,traceFlags:d};return u}function getTraceParentHeader(r){const i=[];if(!r.traceId){i.push("traceId")}if(!r.spanId){i.push("spanId")}if(i.length){return}const a=r.traceFlags||0;const s=a.toString(16);const p=s.length===1?`0${s}`:s;return`${l}-${r.traceId}-${r.spanId}-${p}`}i.context=p;i.createSpanFunction=createSpanFunction;i.extractSpanContextFromTraceParentHeader=extractSpanContextFromTraceParentHeader;i.getSpan=getSpan;i.getSpanContext=getSpanContext;i.getTraceParentHeader=getTraceParentHeader;i.getTracer=getTracer;i.isSpanContextValid=isSpanContextValid;i.setSpan=setSpan;i.setSpanContext=setSpanContext},1333:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(2557);var p=a(6113);function createAbortablePromise(r,i){const{cleanupBeforeAbort:a,abortSignal:p,abortErrorMsg:l}=i!==null&&i!==void 0?i:{};return new Promise(((i,c)=>{function rejectOnAbort(){c(new s.AbortError(l!==null&&l!==void 0?l:"The operation was aborted."))}function removeListeners(){p===null||p===void 0?void 0:p.removeEventListener("abort",onAbort)}function onAbort(){a===null||a===void 0?void 0:a();removeListeners();rejectOnAbort()}if(p===null||p===void 0?void 0:p.aborted){return rejectOnAbort()}try{r((r=>{removeListeners();i(r)}),(r=>{removeListeners();c(r)}))}catch(r){c(r)}p===null||p===void 0?void 0:p.addEventListener("abort",onAbort)}))}const l="The delay was aborted.";function delay(r,i){let a;const{abortSignal:s,abortErrorMsg:p}=i!==null&&i!==void 0?i:{};return createAbortablePromise((i=>{a=setTimeout(i,r)}),{cleanupBeforeAbort:()=>clearTimeout(a),abortSignal:s,abortErrorMsg:p!==null&&p!==void 0?p:l})}function getRandomIntegerInclusive(r,i){r=Math.ceil(r);i=Math.floor(i);const a=Math.floor(Math.random()*(i-r+1));return a+r}function isObject(r){return typeof r==="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function isError(r){if(isObject(r)){const i=typeof r.name==="string";const a=typeof r.message==="string";return i&&a}return false}function getErrorMessage(r){if(isError(r)){return r.message}else{let i;try{if(typeof r==="object"&&r){i=JSON.stringify(r)}else{i=String(r)}}catch(r){i="[unable to stringify input]"}return`Unknown error ${i}`}}async function computeSha256Hmac(r,i,a){const s=Buffer.from(r,"base64");return p.createHmac("sha256",s).update(i).digest(a)}async function computeSha256Hash(r,i){return p.createHash("sha256").update(r).digest(i)}function isDefined(r){return typeof r!=="undefined"&&r!==null}function isObjectWithProperties(r,i){if(!isDefined(r)||typeof r!=="object"){return false}for(const a of i){if(!objectHasProperty(r,a)){return false}}return true}function objectHasProperty(r,i){return isDefined(r)&&typeof r==="object"&&i in r}function generateUUID(){let r="";for(let i=0;i<32;i++){const a=Math.floor(Math.random()*16);if(i===12){r+="4"}else if(i===16){r+=a&3|8}else{r+=a.toString(16)}if(i===7||i===11||i===15||i===19){r+="-"}}return r}var c;let d=typeof((c=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||c===void 0?void 0:c.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):p.randomUUID;if(!d){d=generateUUID}function randomUUID(){return d()}var u,m,h,g;const y=typeof window!=="undefined"&&typeof window.document!=="undefined";const v=typeof self==="object"&&typeof(self===null||self===void 0?void 0:self.importScripts)==="function"&&(((u=self.constructor)===null||u===void 0?void 0:u.name)==="DedicatedWorkerGlobalScope"||((m=self.constructor)===null||m===void 0?void 0:m.name)==="ServiceWorkerGlobalScope"||((h=self.constructor)===null||h===void 0?void 0:h.name)==="SharedWorkerGlobalScope");const b=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((g=process.versions)===null||g===void 0?void 0:g.node);const x=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";const w=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";const S=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative";function uint8ArrayToString(r,i){switch(i){case"utf-8":return uint8ArrayToUtf8String(r);case"base64":return uint8ArrayToBase64(r);case"base64url":return uint8ArrayToBase64Url(r)}}function stringToUint8Array(r,i){switch(i){case"utf-8":return utf8StringToUint8Array(r);case"base64":return base64ToUint8Array(r);case"base64url":return base64UrlToUint8Array(r)}}function uint8ArrayToBase64(r){return Buffer.from(r).toString("base64")}function uint8ArrayToBase64Url(r){return Buffer.from(r).toString("base64url")}function uint8ArrayToUtf8String(r){return Buffer.from(r).toString("utf-8")}function utf8StringToUint8Array(r){return Buffer.from(r)}function base64ToUint8Array(r){return Buffer.from(r,"base64")}function base64UrlToUint8Array(r){return Buffer.from(r,"base64url")}i.computeSha256Hash=computeSha256Hash;i.computeSha256Hmac=computeSha256Hmac;i.createAbortablePromise=createAbortablePromise;i.delay=delay;i.getErrorMessage=getErrorMessage;i.getRandomIntegerInclusive=getRandomIntegerInclusive;i.isBrowser=y;i.isBun=w;i.isDefined=isDefined;i.isDeno=x;i.isError=isError;i.isNode=b;i.isObject=isObject;i.isObjectWithProperties=isObjectWithProperties;i.isReactNative=S;i.isWebWorker=v;i.objectHasProperty=objectHasProperty;i.randomUUID=randomUUID;i.stringToUint8Array=stringToUint8Array;i.uint8ArrayToString=uint8ArrayToString},3233:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(2037);var p=a(3837);function _interopDefaultLegacy(r){return r&&typeof r==="object"&&"default"in r?r:{default:r}}var l=_interopDefaultLegacy(p);function log(r,...i){process.stderr.write(`${l["default"].format(r,...i)}${s.EOL}`)}const c=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let d;let u=[];let m=[];const h=[];if(c){enable(c)}const g=Object.assign((r=>createDebugger(r)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(r){d=r;u=[];m=[];const i=/\*/g;const a=r.split(",").map((r=>r.trim().replace(i,".*?")));for(const r of a){if(r.startsWith("-")){m.push(new RegExp(`^${r.substr(1)}$`))}else{u.push(new RegExp(`^${r}$`))}}for(const r of h){r.enabled=enabled(r.namespace)}}function enabled(r){if(r.endsWith("*")){return true}for(const i of m){if(i.test(r)){return false}}for(const i of u){if(i.test(r)){return true}}return false}function disable(){const r=d||"";enable("");return r}function createDebugger(r){const i=Object.assign(debug,{enabled:enabled(r),destroy:destroy,log:g.log,namespace:r,extend:extend});function debug(...a){if(!i.enabled){return}if(a.length>0){a[0]=`${r} ${a[0]}`}i.log(...a)}h.push(i);return i}function destroy(){const r=h.indexOf(this);if(r>=0){h.splice(r,1);return true}return false}function extend(r){const i=createDebugger(`${this.namespace}:${r}`);i.log=this.log;return i}var y=g;const v=new Set;const b=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let x;const w=y("azure");w.log=(...r)=>{y.log(...r)};const S=["verbose","info","warning","error"];if(b){if(isAzureLogLevel(b)){setLogLevel(b)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${b}'; logging is not enabled. Acceptable values: ${S.join(", ")}.`)}}function setLogLevel(r){if(r&&!isAzureLogLevel(r)){throw new Error(`Unknown log level '${r}'. Acceptable values: ${S.join(",")}`)}x=r;const i=[];for(const r of v){if(shouldEnable(r)){i.push(r.namespace)}}y.enable(i.join(","))}function getLogLevel(){return x}const _={verbose:400,info:300,warning:200,error:100};function createClientLogger(r){const i=w.extend(r);patchLogMethod(w,i);return{error:createLogger(i,"error"),warning:createLogger(i,"warning"),info:createLogger(i,"info"),verbose:createLogger(i,"verbose")}}function patchLogMethod(r,i){i.log=(...i)=>{r.log(...i)}}function createLogger(r,i){const a=Object.assign(r.extend(i),{level:i});patchLogMethod(r,a);if(shouldEnable(a)){const r=y.disable();y.enable(r+","+a.namespace)}v.add(a);return a}function shouldEnable(r){return Boolean(x&&_[r.level]<=_[x])}function isAzureLogLevel(r){return S.includes(r)}i.AzureLogger=w;i.createClientLogger=createClientLogger;i.getLogLevel=getLogLevel;i.setLogLevel=setLogLevel},4100:(r,i,a)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});var s=a(4607);var p=a(4351);var l=a(4175);var c=a(3233);var d=a(2557);var u=a(2037);var m=a(6113);var h=a(2781);a(4559);var g=a(7094);var y=a(2361);var v=a(7147);var b=a(3837);function _interopNamespace(r){if(r&&r.__esModule)return r;var i=Object.create(null);if(r){Object.keys(r).forEach((function(a){if(a!=="default"){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:true,get:function(){return r[a]}})}}))}i["default"]=r;return Object.freeze(i)}var x=_interopNamespace(s);var w=_interopNamespace(u);var S=_interopNamespace(v);var _=_interopNamespace(b);const E={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};const T={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const N={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};const P={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const C={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};const O={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};const R={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}}}}};const A={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const D={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};const k={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const I={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};const L={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};const M={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};const B={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const j={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const z={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};const q={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};const U={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const G={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};const H={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};const V={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const $={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const X={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};const W={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};const K={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};const Q={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const J={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const Y={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Z={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};const ee={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};const te={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};const re={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const ie={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const ae={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const ne={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};const se={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const oe={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"any"}}}}};const pe={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};const le={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const ce={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};const de={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};const ue={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const me={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fe={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const he={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ge={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ye={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ve={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const be={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xe={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const we={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Se={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _e={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ee={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Te={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ne={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pe={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ce={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Oe={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Re={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ae={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const De={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ke={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ie={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Le={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Me={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Be={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const je={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ze={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qe={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ue={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fe={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ge={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const He={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};const Ve={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $e={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Xe={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const We={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ke={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qe={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Je={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ye={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ze={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const et={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const tt={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rt={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const it={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nt={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const st={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ot={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pt={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ct={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}}}}};const dt={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ut={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-or-"},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const mt={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ft={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-or-"},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ht={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yt={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vt={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bt={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xt={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wt={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const St={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _t={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Et={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tt={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};const Nt={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pt={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ct={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ot={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};const Rt={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const At={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dt={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kt={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const It={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lt={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Mt={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bt={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const jt={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zt={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const qt={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ut={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ft={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gt={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ht={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vt={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $t={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xt={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Wt={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kt={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qt={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jt={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yt={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zt={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}}}}};const er={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const tr={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const rr={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ir={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ar={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nr={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sr={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const or={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pr={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lr={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const cr={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dr={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ur={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mr={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fr={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hr={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gr={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yr={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vr={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const br={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xr={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wr={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sr={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _r={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Er={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tr={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nr={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pr={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cr={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Or={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rr={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ar={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};const Dr={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kr={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ir={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lr={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mr={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Br={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jr={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zr={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qr={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ur={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fr={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gr={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hr={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Vr=Object.freeze({__proto__:null,BlobServiceProperties:E,Logging:T,RetentionPolicy:N,Metrics:P,CorsRule:C,StaticWebsite:O,StorageError:R,BlobServiceStatistics:A,GeoReplication:D,ListContainersSegmentResponse:k,ContainerItem:I,ContainerProperties:L,KeyInfo:M,UserDelegationKey:B,FilterBlobSegment:j,FilterBlobItem:z,BlobTags:q,BlobTag:U,SignedIdentifier:G,AccessPolicy:H,ListBlobsFlatSegmentResponse:V,BlobFlatListSegment:$,BlobItemInternal:X,BlobName:W,BlobPropertiesInternal:K,ListBlobsHierarchySegmentResponse:Q,BlobHierarchyListSegment:J,BlobPrefix:Y,BlockLookupList:Z,BlockList:ee,Block:te,PageList:re,PageRange:ie,ClearRange:ae,QueryRequest:ne,QuerySerialization:se,QueryFormat:oe,DelimitedTextConfiguration:pe,JsonTextConfiguration:le,ArrowConfiguration:ce,ArrowField:de,ServiceSetPropertiesHeaders:ue,ServiceSetPropertiesExceptionHeaders:me,ServiceGetPropertiesHeaders:fe,ServiceGetPropertiesExceptionHeaders:he,ServiceGetStatisticsHeaders:ge,ServiceGetStatisticsExceptionHeaders:ye,ServiceListContainersSegmentHeaders:ve,ServiceListContainersSegmentExceptionHeaders:be,ServiceGetUserDelegationKeyHeaders:xe,ServiceGetUserDelegationKeyExceptionHeaders:we,ServiceGetAccountInfoHeaders:Se,ServiceGetAccountInfoExceptionHeaders:_e,ServiceSubmitBatchHeaders:Ee,ServiceSubmitBatchExceptionHeaders:Te,ServiceFilterBlobsHeaders:Ne,ServiceFilterBlobsExceptionHeaders:Pe,ContainerCreateHeaders:Ce,ContainerCreateExceptionHeaders:Oe,ContainerGetPropertiesHeaders:Re,ContainerGetPropertiesExceptionHeaders:Ae,ContainerDeleteHeaders:De,ContainerDeleteExceptionHeaders:ke,ContainerSetMetadataHeaders:Ie,ContainerSetMetadataExceptionHeaders:Le,ContainerGetAccessPolicyHeaders:Me,ContainerGetAccessPolicyExceptionHeaders:Be,ContainerSetAccessPolicyHeaders:je,ContainerSetAccessPolicyExceptionHeaders:ze,ContainerRestoreHeaders:qe,ContainerRestoreExceptionHeaders:Ue,ContainerRenameHeaders:Fe,ContainerRenameExceptionHeaders:Ge,ContainerSubmitBatchHeaders:He,ContainerSubmitBatchExceptionHeaders:Ve,ContainerFilterBlobsHeaders:$e,ContainerFilterBlobsExceptionHeaders:Xe,ContainerAcquireLeaseHeaders:We,ContainerAcquireLeaseExceptionHeaders:Ke,ContainerReleaseLeaseHeaders:Qe,ContainerReleaseLeaseExceptionHeaders:Je,ContainerRenewLeaseHeaders:Ye,ContainerRenewLeaseExceptionHeaders:Ze,ContainerBreakLeaseHeaders:et,ContainerBreakLeaseExceptionHeaders:tt,ContainerChangeLeaseHeaders:rt,ContainerChangeLeaseExceptionHeaders:it,ContainerListBlobFlatSegmentHeaders:nt,ContainerListBlobFlatSegmentExceptionHeaders:st,ContainerListBlobHierarchySegmentHeaders:ot,ContainerListBlobHierarchySegmentExceptionHeaders:pt,ContainerGetAccountInfoHeaders:ct,ContainerGetAccountInfoExceptionHeaders:dt,BlobDownloadHeaders:ut,BlobDownloadExceptionHeaders:mt,BlobGetPropertiesHeaders:ft,BlobGetPropertiesExceptionHeaders:ht,BlobDeleteHeaders:yt,BlobDeleteExceptionHeaders:vt,BlobUndeleteHeaders:bt,BlobUndeleteExceptionHeaders:xt,BlobSetExpiryHeaders:wt,BlobSetExpiryExceptionHeaders:St,BlobSetHttpHeadersHeaders:_t,BlobSetHttpHeadersExceptionHeaders:Et,BlobSetImmutabilityPolicyHeaders:Tt,BlobSetImmutabilityPolicyExceptionHeaders:Nt,BlobDeleteImmutabilityPolicyHeaders:Pt,BlobDeleteImmutabilityPolicyExceptionHeaders:Ct,BlobSetLegalHoldHeaders:Ot,BlobSetLegalHoldExceptionHeaders:Rt,BlobSetMetadataHeaders:At,BlobSetMetadataExceptionHeaders:Dt,BlobAcquireLeaseHeaders:kt,BlobAcquireLeaseExceptionHeaders:It,BlobReleaseLeaseHeaders:Lt,BlobReleaseLeaseExceptionHeaders:Mt,BlobRenewLeaseHeaders:Bt,BlobRenewLeaseExceptionHeaders:jt,BlobChangeLeaseHeaders:zt,BlobChangeLeaseExceptionHeaders:qt,BlobBreakLeaseHeaders:Ut,BlobBreakLeaseExceptionHeaders:Ft,BlobCreateSnapshotHeaders:Gt,BlobCreateSnapshotExceptionHeaders:Ht,BlobStartCopyFromURLHeaders:Vt,BlobStartCopyFromURLExceptionHeaders:$t,BlobCopyFromURLHeaders:Xt,BlobCopyFromURLExceptionHeaders:Wt,BlobAbortCopyFromURLHeaders:Kt,BlobAbortCopyFromURLExceptionHeaders:Qt,BlobSetTierHeaders:Jt,BlobSetTierExceptionHeaders:Yt,BlobGetAccountInfoHeaders:Zt,BlobGetAccountInfoExceptionHeaders:er,BlobQueryHeaders:tr,BlobQueryExceptionHeaders:rr,BlobGetTagsHeaders:ir,BlobGetTagsExceptionHeaders:ar,BlobSetTagsHeaders:nr,BlobSetTagsExceptionHeaders:sr,PageBlobCreateHeaders:or,PageBlobCreateExceptionHeaders:pr,PageBlobUploadPagesHeaders:lr,PageBlobUploadPagesExceptionHeaders:cr,PageBlobClearPagesHeaders:dr,PageBlobClearPagesExceptionHeaders:ur,PageBlobUploadPagesFromURLHeaders:mr,PageBlobUploadPagesFromURLExceptionHeaders:fr,PageBlobGetPageRangesHeaders:hr,PageBlobGetPageRangesExceptionHeaders:gr,PageBlobGetPageRangesDiffHeaders:yr,PageBlobGetPageRangesDiffExceptionHeaders:vr,PageBlobResizeHeaders:br,PageBlobResizeExceptionHeaders:xr,PageBlobUpdateSequenceNumberHeaders:wr,PageBlobUpdateSequenceNumberExceptionHeaders:Sr,PageBlobCopyIncrementalHeaders:_r,PageBlobCopyIncrementalExceptionHeaders:Er,AppendBlobCreateHeaders:Tr,AppendBlobCreateExceptionHeaders:Nr,AppendBlobAppendBlockHeaders:Pr,AppendBlobAppendBlockExceptionHeaders:Cr,AppendBlobAppendBlockFromUrlHeaders:Or,AppendBlobAppendBlockFromUrlExceptionHeaders:Rr,AppendBlobSealHeaders:Ar,AppendBlobSealExceptionHeaders:Dr,BlockBlobUploadHeaders:kr,BlockBlobUploadExceptionHeaders:Ir,BlockBlobPutBlobFromUrlHeaders:Lr,BlockBlobPutBlobFromUrlExceptionHeaders:Mr,BlockBlobStageBlockHeaders:Br,BlockBlobStageBlockExceptionHeaders:jr,BlockBlobStageBlockFromURLHeaders:zr,BlockBlobStageBlockFromURLExceptionHeaders:qr,BlockBlobCommitBlockListHeaders:Ur,BlockBlobCommitBlockListExceptionHeaders:Fr,BlockBlobGetBlockListHeaders:Gr,BlockBlobGetBlockListExceptionHeaders:Hr});const $r={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Xr={parameterPath:"blobServiceProperties",mapper:E};const Wr={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Kr={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const Qr={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Jr={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Yr={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const Zr={parameterPath:"version",mapper:{defaultValue:"2023-01-03",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const ei={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const ti={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const ri={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ii={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ai={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const ni={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const si={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const oi={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:s.QueryCollectionFormat.Csv};const pi={parameterPath:"keyInfo",mapper:M};const li={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ci={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const di={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const ui={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mi={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const fi={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const hi={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gi={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const yi={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const vi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}},headerCollectionPrefix:"x-ms-meta-"}};const bi={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const xi={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const wi={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const Si={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const _i={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const Ei={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const Ti={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ni={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Pi={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const Ci={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Oi={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const Ri={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const Ai={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Di={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const ki={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const Ii={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Li={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Mi={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Bi={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const ji={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const zi={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const qi={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ui={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Fi={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const Gi={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Hi={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Vi={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:s.QueryCollectionFormat.Csv};const $i={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const Xi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Wi={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const Ki={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const Qi={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Ji={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const Yi={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Zi={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const ea={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const ta={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const ra={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const ia={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const aa={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const na={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const sa={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const oa={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const pa={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const la={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const ca={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const da={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const ua={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const ma={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const fa={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const ha={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ga={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const ya={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const va={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ba={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const xa={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const wa={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Sa={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};const _a={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const Ea={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const Ta={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Na={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const Pa={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const Ca={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const Oa={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Ra={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const Aa={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const Da={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const ka={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const Ia={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const La={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const Ma={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};const Ba={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ja={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const za={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const qa={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ua={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};const Fa={parameterPath:["options","queryRequest"],mapper:ne};const Ga={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ha={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Va={parameterPath:["options","tags"],mapper:q};const $a={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Xa={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const Wa={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Ka={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Qa={parameterPath:["options","blobSequenceNumber"],mapper:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const Ja={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Ya={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Za={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const en={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const tn={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const rn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const an={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const nn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const sn={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const on={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const pn={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const ln={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const cn={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const dn={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const un={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const mn={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const hn={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};const gn={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const yn={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const vn={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const bn={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const xn={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const wn={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const Sn={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const _n={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const En={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const Tn={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Nn={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const Pn={parameterPath:"blocks",mapper:Z};const Cn={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const On={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};class Service{constructor(r){this.client=r}setProperties(r,i){const a={blobServiceProperties:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,An)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Dn)}getStatistics(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,kn)}listContainersSegment(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,In)}getUserDelegationKey(r,i){const a={keyInfo:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ln)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Mn)}submitBatch(r,i,a,s){const p={contentLength:r,multipartContentType:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Bn)}filterBlobs(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,jn)}}const Rn=new x.Serializer(Vr,true);const An={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:ue},default:{bodyMapper:R,headersMapper:me}},requestBody:Xr,queryParameters:[Qr,Jr,Yr],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const Dn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:E,headersMapper:fe},default:{bodyMapper:R,headersMapper:he}},queryParameters:[Qr,Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const kn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A,headersMapper:ge},default:{bodyMapper:R,headersMapper:ye}},queryParameters:[Qr,Yr,ri],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const In={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:k,headersMapper:ve},default:{bodyMapper:R,headersMapper:be}},queryParameters:[Yr,ii,ai,ni,si,oi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};const Ln={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:B,headersMapper:xe},default:{bodyMapper:R,headersMapper:we}},requestBody:pi,queryParameters:[Qr,Yr,li],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const Mn={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Se},default:{bodyMapper:R,headersMapper:_e}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:Rn};const Bn={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ee},default:{bodyMapper:R,headersMapper:Te}},requestBody:di,queryParameters:[Yr,ui],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,mi,fi],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rn};const jn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:j,headersMapper:Ne},default:{bodyMapper:R,headersMapper:Pe}},queryParameters:[Yr,ni,si,hi,gi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:Rn};class Container{constructor(r){this.client=r}create(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,qn)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Un)}delete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Fn)}setMetadata(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Gn)}getAccessPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Hn)}setAccessPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Vn)}restore(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,$n)}rename(r,i){const a={sourceContainerName:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Xn)}submitBatch(r,i,a,s){const p={contentLength:r,multipartContentType:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Wn)}filterBlobs(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Kn)}acquireLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Qn)}releaseLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Jn)}renewLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Yn)}breakLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Zn)}changeLease(r,i,a){const s={leaseId:r,proposedLeaseId:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,es)}listBlobFlatSegment(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ts)}listBlobHierarchySegment(r,i){const a={delimiter:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,rs)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,is)}}const zn=new x.Serializer(Vr,true);const qn={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ce},default:{bodyMapper:R,headersMapper:Oe}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,bi,xi,wi],isXML:true,serializer:zn};const Un={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Re},default:{bodyMapper:R,headersMapper:Ae}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si],isXML:true,serializer:zn};const Fn={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:De},default:{bodyMapper:R,headersMapper:ke}},queryParameters:[Yr,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei],isXML:true,serializer:zn};const Gn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ie},default:{bodyMapper:R,headersMapper:Le}},queryParameters:[Yr,yi,Ti],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i],isXML:true,serializer:zn};const Hn={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:Me},default:{bodyMapper:R,headersMapper:Be}},queryParameters:[Yr,yi,Ni],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si],isXML:true,serializer:zn};const Vn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:je},default:{bodyMapper:R,headersMapper:ze}},requestBody:Pi,queryParameters:[Yr,yi,Ni],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,bi,Si,_i,Ei],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zn};const $n={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:qe},default:{bodyMapper:R,headersMapper:Ue}},queryParameters:[Yr,yi,Ci],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Oi,Ri],isXML:true,serializer:zn};const Xn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Fe},default:{bodyMapper:R,headersMapper:Ge}},queryParameters:[Yr,yi,Ai],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Di,ki],isXML:true,serializer:zn};const Wn={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:He},default:{bodyMapper:R,headersMapper:Ve}},requestBody:di,queryParameters:[Yr,ui,yi],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,mi,fi],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zn};const Kn={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:j,headersMapper:$e},default:{bodyMapper:R,headersMapper:Xe}},queryParameters:[Yr,ni,si,hi,gi,yi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const Qn={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:We},default:{bodyMapper:R,headersMapper:Ke}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Li,Mi,Bi],isXML:true,serializer:zn};const Jn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qe},default:{bodyMapper:R,headersMapper:Je}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ji,zi],isXML:true,serializer:zn};const Yn={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ye},default:{bodyMapper:R,headersMapper:Ze}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,qi],isXML:true,serializer:zn};const Zn={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:et},default:{bodyMapper:R,headersMapper:tt}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Ui,Fi],isXML:true,serializer:zn};const es={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rt},default:{bodyMapper:R,headersMapper:it}},queryParameters:[Yr,yi,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,Gi,Hi],isXML:true,serializer:zn};const ts={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:V,headersMapper:nt},default:{bodyMapper:R,headersMapper:st}},queryParameters:[Yr,ii,ai,ni,si,yi,Vi],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const rs={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Q,headersMapper:ot},default:{bodyMapper:R,headersMapper:pt}},queryParameters:[Yr,ii,ai,ni,si,yi,Vi,$i],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:zn};const is={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ct},default:{bodyMapper:R,headersMapper:dt}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:zn};class Blob$1{constructor(r){this.client=r}download(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ns)}getProperties(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ss)}delete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,os)}undelete(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ps)}setExpiry(r,i){const a={expiryOptions:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ls)}setHttpHeaders(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,cs)}setImmutabilityPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,ds)}deleteImmutabilityPolicy(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,us)}setLegalHold(r,i){const a={legalHold:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ms)}setMetadata(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,fs)}acquireLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,hs)}releaseLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,gs)}renewLease(r,i){const a={leaseId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ys)}changeLease(r,i,a){const s={leaseId:r,proposedLeaseId:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,vs)}breakLease(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,bs)}createSnapshot(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,xs)}startCopyFromURL(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ws)}copyFromURL(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ss)}abortCopyFromURL(r,i){const a={copyId:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,_s)}setTier(r,i){const a={tier:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Es)}getAccountInfo(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ts)}query(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ns)}getTags(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ps)}setTags(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Cs)}}const as=new x.Serializer(Vr,true);const ns={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ut},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ut},default:{bodyMapper:R,headersMapper:mt}},queryParameters:[Yr,Xi,Wi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,Qi,Ji,Yi,Zi,ea,ta,ra,ia],isXML:true,serializer:as};const ss={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:ft},default:{bodyMapper:R,headersMapper:ht}},queryParameters:[Yr,Xi,Wi],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia],isXML:true,serializer:as};const os={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:yt},default:{bodyMapper:R,headersMapper:vt}},queryParameters:[Yr,Xi,Wi,na],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,aa],isXML:true,serializer:as};const ps={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bt},default:{bodyMapper:R,headersMapper:xt}},queryParameters:[Yr,Ci],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:as};const ls={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wt},default:{bodyMapper:R,headersMapper:St}},queryParameters:[Yr,sa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,oa,pa],isXML:true,serializer:as};const cs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_t},default:{bodyMapper:R,headersMapper:Et}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,la,ca,da,ua,ma,fa],isXML:true,serializer:as};const ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Tt},default:{bodyMapper:R,headersMapper:Nt}},queryParameters:[Yr,ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Ei,ga,ya],isXML:true,serializer:as};const us={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Pt},default:{bodyMapper:R,headersMapper:Ct}},queryParameters:[Yr,ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti],isXML:true,serializer:as};const ms={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ot},default:{bodyMapper:R,headersMapper:Rt}},queryParameters:[Yr,va],urlParameters:[Kr],headerParameters:[Zr,ei,ti,ba],isXML:true,serializer:as};const fs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:At},default:{bodyMapper:R,headersMapper:Dt}},queryParameters:[Yr,Ti],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa],isXML:true,serializer:as};const hs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kt},default:{bodyMapper:R,headersMapper:It}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Li,Mi,Bi,ta,ra,ia],isXML:true,serializer:as};const gs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Lt},default:{bodyMapper:R,headersMapper:Mt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ji,zi,ta,ra,ia],isXML:true,serializer:as};const ys={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bt},default:{bodyMapper:R,headersMapper:jt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,qi,ta,ra,ia],isXML:true,serializer:as};const vs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zt},default:{bodyMapper:R,headersMapper:qt}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,zi,Gi,Hi,ta,ra,ia],isXML:true,serializer:as};const bs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Ut},default:{bodyMapper:R,headersMapper:Ft}},queryParameters:[Yr,Ii],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,Ui,Fi,ta,ra,ia],isXML:true,serializer:as};const xs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Gt},default:{bodyMapper:R,headersMapper:Ht}},queryParameters:[Yr,wa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa],isXML:true,serializer:as};const ws={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Vt},default:{bodyMapper:R,headersMapper:$t}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,ta,ra,ia,ga,ya,Sa,_a,Ea,Ta,Na,Pa,Ca,Oa,Ra,Aa,Da],isXML:true,serializer:as};const Ss={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Xt},default:{bodyMapper:R,headersMapper:Wt}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,vi,Si,_i,Ei,ta,ra,ia,ga,ya,xa,Sa,Ea,Ta,Na,Pa,Oa,Ra,Da,ka,Ia,La,Ma],isXML:true,serializer:as};const _s={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Kt},default:{bodyMapper:R,headersMapper:Qt}},queryParameters:[Yr,Ba,za],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ja],isXML:true,serializer:as};const Es={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Jt},202:{headersMapper:Jt},default:{bodyMapper:R,headersMapper:Yt}},queryParameters:[Yr,Xi,Wi,qa],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia,_a,Ua],isXML:true,serializer:as};const Ts={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Zt},default:{bodyMapper:R,headersMapper:er}},queryParameters:[Jr,ci],urlParameters:[Kr],headerParameters:[Zr,ti],isXML:true,serializer:as};const Ns={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tr},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tr},default:{bodyMapper:R,headersMapper:rr}},requestBody:Fa,queryParameters:[Yr,Xi,Ga],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:as};const Ps={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:q,headersMapper:ir},default:{bodyMapper:R,headersMapper:ar}},queryParameters:[Yr,Xi,Wi,Ha],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia],isXML:true,serializer:as};const Cs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:nr},default:{bodyMapper:R,headersMapper:sr}},requestBody:Va,queryParameters:[Yr,Wi,Ha],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,Si,ia,$a,Xa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:as};class PageBlob{constructor(r){this.client=r}create(r,i,a){const s={contentLength:r,blobContentLength:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,As)}uploadPages(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Ds)}clearPages(r,i){const a={contentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,ks)}uploadPagesFromURL(r,i,a,s,p){const l={sourceUrl:r,sourceRange:i,contentLength:a,range:s,options:x.operationOptionsToRequestOptionsBase(p||{})};return this.client.sendOperationRequest(l,Is)}getPageRanges(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ls)}getPageRangesDiff(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Ms)}resize(r,i){const a={blobContentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Bs)}updateSequenceNumber(r,i){const a={sequenceNumberAction:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,js)}copyIncremental(r,i){const a={copySource:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,zs)}}const Os=new x.Serializer(Vr,true);const Rs=new x.Serializer(Vr,false);const As={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:or},default:{bodyMapper:R,headersMapper:pr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,Da,Wa,Ka,Qa],isXML:true,serializer:Os};const Ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lr},default:{bodyMapper:R,headersMapper:cr}},requestBody:Ya,queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,_i,Ei,Ki,Yi,Zi,ea,ta,ra,ia,xa,$a,Xa,Ja,Za,tn,rn,an,nn],mediaType:"binary",serializer:Rs};const ks={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dr},default:{bodyMapper:R,headersMapper:ur}},queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Ki,Yi,Zi,ea,ta,ra,ia,xa,rn,an,nn,sn],isXML:true,serializer:Os};const Is={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mr},default:{bodyMapper:R,headersMapper:fr}},queryParameters:[Yr,en],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ea,Ta,Na,Pa,Ia,La,tn,rn,an,nn,on,pn,ln,cn],isXML:true,serializer:Os};const Ls={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:re,headersMapper:hr},default:{bodyMapper:R,headersMapper:gr}},queryParameters:[Yr,ni,si,Xi,dn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,ta,ra,ia],isXML:true,serializer:Os};const Ms={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:re,headersMapper:yr},default:{bodyMapper:R,headersMapper:vr}},queryParameters:[Yr,ni,si,Xi,dn,un],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Ki,ta,ra,ia,mn],isXML:true,serializer:Os};const Bs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:br},default:{bodyMapper:R,headersMapper:xr}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ka],isXML:true,serializer:Os};const js={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wr},default:{bodyMapper:R,headersMapper:Sr}},queryParameters:[Jr,Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,ia,Qa,hn],isXML:true,serializer:Os};const zs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:_r},default:{bodyMapper:R,headersMapper:Er}},queryParameters:[Yr,gn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,_i,Ei,ta,ra,ia,Oa],isXML:true,serializer:Os};class AppendBlob{constructor(r){this.client=r}create(r,i){const a={contentLength:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Fs)}appendBlock(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Gs)}appendBlockFromUrl(r,i,a){const s={sourceUrl:r,contentLength:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Hs)}seal(r){const i={options:x.operationOptionsToRequestOptionsBase(r||{})};return this.client.sendOperationRequest(i,Vs)}}const qs=new x.Serializer(Vr,true);const Us=new x.Serializer(Vr,false);const Fs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Tr},default:{bodyMapper:R,headersMapper:Nr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Ra,Da,yn],isXML:true,serializer:qs};const Gs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Pr},default:{bodyMapper:R,headersMapper:Cr}},requestBody:Ya,queryParameters:[Yr,vn],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,$a,Xa,Ja,Za,bn,xn],mediaType:"binary",serializer:Us};const Hs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Or},default:{bodyMapper:R,headersMapper:Rr}},queryParameters:[Yr,vn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,xa,Ea,Ta,Na,Pa,Ia,La,$a,on,ln,bn,xn,wn],isXML:true,serializer:qs};const Vs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ar},default:{bodyMapper:R,headersMapper:Dr}},queryParameters:[Yr,Sn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,_i,Ei,ta,ra,xn],isXML:true,serializer:qs};class BlockBlob{constructor(r){this.client=r}upload(r,i,a){const s={contentLength:r,body:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Ws)}putBlobFromUrl(r,i,a){const s={contentLength:r,copySource:i,options:x.operationOptionsToRequestOptionsBase(a||{})};return this.client.sendOperationRequest(s,Ks)}stageBlock(r,i,a,s){const p={blockId:r,contentLength:i,body:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Qs)}stageBlockFromURL(r,i,a,s){const p={blockId:r,contentLength:i,sourceUrl:a,options:x.operationOptionsToRequestOptionsBase(s||{})};return this.client.sendOperationRequest(p,Js)}commitBlockList(r,i){const a={blocks:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Ys)}getBlockList(r,i){const a={listType:r,options:x.operationOptionsToRequestOptionsBase(i||{})};return this.client.sendOperationRequest(a,Zs)}}const $s=new x.Serializer(Vr,true);const Xs=new x.Serializer(Vr,false);const Ws={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kr},default:{bodyMapper:R,headersMapper:Ir}},requestBody:Ya,queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,Da,$a,Xa,Ja,Za,_n],mediaType:"binary",serializer:Xs};const Ks={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Lr},default:{bodyMapper:R,headersMapper:Mr}},queryParameters:[Yr],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,xa,Sa,Ea,Ta,Na,Pa,Ca,Oa,Ra,Ia,La,Ma,$a,_n,En],isXML:true,serializer:$s};const Qs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Br},default:{bodyMapper:R,headersMapper:jr}},requestBody:Ya,queryParameters:[Yr,Tn,Nn],urlParameters:[Kr],headerParameters:[Zr,ei,mi,Si,Yi,Zi,ea,xa,$a,Xa,Ja,Za],mediaType:"binary",serializer:Xs};const Js={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zr},default:{bodyMapper:R,headersMapper:qr}},queryParameters:[Yr,Tn,Nn],urlParameters:[Kr],headerParameters:[Zr,ei,ti,mi,Si,Yi,Zi,ea,xa,Ea,Ta,Na,Pa,Ia,La,on,ln,wn],isXML:true,serializer:$s};const Ys={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ur},default:{bodyMapper:R,headersMapper:Fr}},requestBody:Pn,queryParameters:[Yr,Cn],urlParameters:[Kr],headerParameters:[$r,Wr,Zr,ei,vi,Si,_i,Ei,Yi,Zi,ea,ta,ra,ia,la,ca,da,ua,ma,fa,ga,ya,xa,Sa,Ra,Da,$a,Xa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$s};const Zs={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ee,headersMapper:Gr},default:{bodyMapper:R,headersMapper:Hr}},queryParameters:[Yr,Xi,Cn,On],urlParameters:[Kr],headerParameters:[Zr,ei,ti,Si,ia],isXML:true,serializer:$s};const eo=c.createClientLogger("storage-blob");const to="12.15.0";const ro="2023-01-03";const io=256*1024*1024;const ao=4e3*1024*1024;const no=5e4;const so=8*1024*1024;const oo=4*1024*1024;const po=5;const lo=100*1e3;const co="https://storage.azure.com/.default";const uo={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const mo={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const fo={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"};const ho="";const go="*";const yo=1*1024*1024;const vo=256;const bo=4*yo;const xo="\r\n";const wo="HTTP/1.1";const So="AES256";const _o=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Eo=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-if-tags","x-ms-source-if-tags"];const To=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];const No="BlobUsesCustomerSpecifiedEncryption";const Po="BlobDoesNotUseCustomerSpecifiedEncryption";const Co=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function escapeURLPath(r){const i=s.URLBuilder.parse(r);let a=i.getPath();a=a||"/";a=escape(a);i.setPath(a);return i.toString()}function getProxyUriFromDevConnString(r){let i="";if(r.search("DevelopmentStorageProxyUri=")!==-1){const a=r.split(";");for(const r of a){if(r.trim().startsWith("DevelopmentStorageProxyUri=")){i=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return i}function getValueInConnString(r,i){const a=r.split(";");for(const r of a){if(r.trim().startsWith(i)){return r.trim().match(i+"=(.*)")[1]}}return""}function extractConnectionStringParts(r){let i="";if(r.startsWith("UseDevelopmentStorage=true")){i=getProxyUriFromDevConnString(r);r=_o}let a=getValueInConnString(r,"BlobEndpoint");a=a.endsWith("/")?a.slice(0,-1):a;if(r.search("DefaultEndpointsProtocol=")!==-1&&r.search("AccountKey=")!==-1){let s="";let p="";let l=Buffer.from("accountKey","base64");let c="";p=getValueInConnString(r,"AccountName");l=Buffer.from(getValueInConnString(r,"AccountKey"),"base64");if(!a){s=getValueInConnString(r,"DefaultEndpointsProtocol");const i=s.toLowerCase();if(i!=="https"&&i!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}c=getValueInConnString(r,"EndpointSuffix");if(!c){throw new Error("Invalid EndpointSuffix in the provided Connection String")}a=`${s}://${p}.blob.${c}`}if(!p){throw new Error("Invalid AccountName in the provided Connection String")}else if(l.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:a,accountName:p,accountKey:l,proxyUri:i}}else{const i=getValueInConnString(r,"SharedAccessSignature");const s=getAccountNameFromUrl(a);if(!a){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!i){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}return{kind:"SASConnString",url:a,accountName:s,accountSas:i}}}function escape(r){return encodeURIComponent(r).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(r,i){const a=s.URLBuilder.parse(r);let p=a.getPath();p=p?p.endsWith("/")?`${p}${i}`:`${p}/${i}`:i;a.setPath(p);const l=new URL(a.toString());return l.toString()}function setURLParameter(r,i,a){const p=s.URLBuilder.parse(r);p.setQueryParameter(i,a);return p.toString()}function getURLParameter(r,i){const a=s.URLBuilder.parse(r);return a.getQueryParameterValue(i)}function setURLHost(r,i){const a=s.URLBuilder.parse(r);a.setHost(i);return a.toString()}function getURLPath(r){const i=s.URLBuilder.parse(r);return i.getPath()}function getURLScheme(r){const i=s.URLBuilder.parse(r);return i.getScheme()}function getURLPathAndQuery(r){const i=s.URLBuilder.parse(r);const a=i.getPath();if(!a){throw new RangeError("Invalid url without valid path.")}let p=i.getQuery()||"";p=p.trim();if(p!==""){p=p.startsWith("?")?p:`?${p}`}return`${a}${p}`}function getURLQueries(r){let i=s.URLBuilder.parse(r).getQuery();if(!i){return{}}i=i.trim();i=i.startsWith("?")?i.substr(1):i;let a=i.split("&");a=a.filter((r=>{const i=r.indexOf("=");const a=r.lastIndexOf("=");return i>0&&i===a&&aNumber.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return s}return a>>1^-(a&1)}static async readLong(r,i={}){return AvroParser.readZigZagLong(r,i)}static async readInt(r,i={}){return AvroParser.readZigZagLong(r,i)}static async readNull(){return null}static async readBoolean(r,i={}){const a=await AvroParser.readByte(r,i);if(a===1){return true}else if(a===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(r,i={}){const a=await AvroParser.readFixedBytes(r,4,i);const s=new DataView(a.buffer,a.byteOffset,a.byteLength);return s.getFloat32(0,true)}static async readDouble(r,i={}){const a=await AvroParser.readFixedBytes(r,8,i);const s=new DataView(a.buffer,a.byteOffset,a.byteLength);return s.getFloat64(0,true)}static async readBytes(r,i={}){const a=await AvroParser.readLong(r,i);if(a<0){throw new Error("Bytes size was negative.")}return r.read(a,{abortSignal:i.abortSignal})}static async readString(r,i={}){const a=await AvroParser.readBytes(r,i);const s=new TextDecoder;return s.decode(a)}static async readMapPair(r,i,a={}){const s=await AvroParser.readString(r,a);const p=await i(r,a);return{key:s,value:p}}static async readMap(r,i,a={}){const readPairMethod=(r,a={})=>AvroParser.readMapPair(r,i,a);const s=await AvroParser.readArray(r,readPairMethod,a);const p={};for(const r of s){p[r.key]=r.value}return p}static async readArray(r,i,a={}){const s=[];for(let p=await AvroParser.readLong(r,a);p!==0;p=await AvroParser.readLong(r,a)){if(p<0){await AvroParser.readLong(r,a);p=-p}while(p--){const p=await i(r,a);s.push(p)}}return s}}var Uo;(function(r){r["RECORD"]="record";r["ENUM"]="enum";r["ARRAY"]="array";r["MAP"]="map";r["UNION"]="union";r["FIXED"]="fixed"})(Uo||(Uo={}));var Fo;(function(r){r["NULL"]="null";r["BOOLEAN"]="boolean";r["INT"]="int";r["LONG"]="long";r["FLOAT"]="float";r["DOUBLE"]="double";r["BYTES"]="bytes";r["STRING"]="string"})(Fo||(Fo={}));class AvroType{static fromSchema(r){if(typeof r==="string"){return AvroType.fromStringSchema(r)}else if(Array.isArray(r)){return AvroType.fromArraySchema(r)}else{return AvroType.fromObjectSchema(r)}}static fromStringSchema(r){switch(r){case Fo.NULL:case Fo.BOOLEAN:case Fo.INT:case Fo.LONG:case Fo.FLOAT:case Fo.DOUBLE:case Fo.BYTES:case Fo.STRING:return new AvroPrimitiveType(r);default:throw new Error(`Unexpected Avro type ${r}`)}}static fromArraySchema(r){return new AvroUnionType(r.map(AvroType.fromSchema))}static fromObjectSchema(r){const i=r.type;try{return AvroType.fromStringSchema(i)}catch(r){}switch(i){case Uo.RECORD:if(r.aliases){throw new Error(`aliases currently is not supported, schema: ${r}`)}if(!r.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${r}`)}const a={};if(!r.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${r}`)}for(const i of r.fields){a[i.name]=AvroType.fromSchema(i.type)}return new AvroRecordType(a,r.name);case Uo.ENUM:if(r.aliases){throw new Error(`aliases currently is not supported, schema: ${r}`)}if(!r.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${r}`)}return new AvroEnumType(r.symbols);case Uo.MAP:if(!r.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${r}`)}return new AvroMapType(AvroType.fromSchema(r.values));case Uo.ARRAY:case Uo.FIXED:default:throw new Error(`Unexpected Avro type ${i} in ${r}`)}}}class AvroPrimitiveType extends AvroType{constructor(r){super();this._primitive=r}read(r,i={}){switch(this._primitive){case Fo.NULL:return AvroParser.readNull();case Fo.BOOLEAN:return AvroParser.readBoolean(r,i);case Fo.INT:return AvroParser.readInt(r,i);case Fo.LONG:return AvroParser.readLong(r,i);case Fo.FLOAT:return AvroParser.readFloat(r,i);case Fo.DOUBLE:return AvroParser.readDouble(r,i);case Fo.BYTES:return AvroParser.readBytes(r,i);case Fo.STRING:return AvroParser.readString(r,i);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{constructor(r){super();this._symbols=r}async read(r,i={}){const a=await AvroParser.readInt(r,i);return this._symbols[a]}}class AvroUnionType extends AvroType{constructor(r){super();this._types=r}async read(r,i={}){const a=await AvroParser.readInt(r,i);return this._types[a].read(r,i)}}class AvroMapType extends AvroType{constructor(r){super();this._itemType=r}read(r,i={}){const readItemMethod=(r,i)=>this._itemType.read(r,i);return AvroParser.readMap(r,readItemMethod,i)}}class AvroRecordType extends AvroType{constructor(r,i){super();this._fields=r;this._name=i}async read(r,i={}){const a={};a["$schema"]=this._name;for(const s in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,s)){a[s]=await this._fields[s].read(r,i)}}return a}}function arraysEqual(r,i){if(r===i)return true;if(r==null||i==null)return false;if(r.length!==i.length)return false;for(let a=0;a0){r[0]=r[0].slice(l)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{constructor(r,i,a,s,p,l){this.emitter=new y.EventEmitter;this.offset=0;this.isStreamEnd=false;this.isError=false;this.executingOutgoingHandlers=0;this.numBuffers=0;this.unresolvedDataArray=[];this.unresolvedLength=0;this.incoming=[];this.outgoing=[];if(i<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${i}`)}if(a<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${a}`)}if(p<=0){throw new RangeError(`concurrency must be larger than 0, current is ${p}`)}this.bufferSize=i;this.maxBuffers=a;this.readable=r;this.outgoingHandler=s;this.concurrency=p;this.encoding=l}async do(){return new Promise(((r,i)=>{this.readable.on("data",(r=>{r=typeof r==="string"?Buffer.from(r,this.encoding):r;this.appendUnresolvedData(r);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(r=>{this.emitter.emit("error",r)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(r=>{this.isError=true;this.readable.pause();i(r)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLength1){a=i}else if(this.head){s=this.head.next;a=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var p=0;s!==null;p++){a=r(a,s.value,p);s=s.next}return a};Yallist.prototype.reduceReverse=function(r,i){var a;var s=this.tail;if(arguments.length>1){a=i}else if(this.tail){s=this.tail.prev;a=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var p=this.length-1;s!==null;p--){a=r(a,s.value,p);s=s.prev}return a};Yallist.prototype.toArray=function(){var r=new Array(this.length);for(var i=0,a=this.head;a!==null;i++){r[i]=a.value;a=a.next}return r};Yallist.prototype.toArrayReverse=function(){var r=new Array(this.length);for(var i=0,a=this.tail;a!==null;i++){r[i]=a.value;a=a.prev}return r};Yallist.prototype.slice=function(r,i){i=i||this.length;if(i<0){i+=this.length}r=r||0;if(r<0){r+=this.length}var a=new Yallist;if(i=0){return[i,p]}}}};function precompile(r,i,a){if(r==null||typeof r!=="string"&&r.type!=="Program"){throw new p["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+r)}i=i||{};if(!("data"in i)){i.data=true}if(i.compat){i.useDepths=true}var s=a.parse(r,i),l=(new a.Compiler).compile(s,i);return(new a.JavaScriptCompiler).compile(l,i)}function compile(r,i,a){if(i===undefined)i={};if(r==null||typeof r!=="string"&&r.type!=="Program"){throw new p["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+r)}i=l.extend({},i);if(!("data"in i)){i.data=true}if(i.compat){i.useDepths=true}var s=undefined;function compileInput(){var s=a.parse(r,i),p=(new a.Compiler).compile(s,i),l=(new a.JavaScriptCompiler).compile(p,i,undefined,true);return a.template(l)}function ret(r,i){if(!s){s=compileInput()}return s.call(this,r,i)}ret._setup=function(r){if(!s){s=compileInput()}return s._setup(r)};ret._child=function(r,i,a,p){if(!s){s=compileInput()}return s._child(r,i,a,p)};return ret}function argEquals(r,i){if(r===i){return true}if(l.isArray(r)&&l.isArray(i)&&r.length===i.length){for(var a=0;a "+i+" }}")};PrintVisitor.prototype.PartialBlockStatement=function(r){var i="PARTIAL BLOCK:"+r.name.original;if(r.params[0]){i+=" "+this.accept(r.params[0])}if(r.hash){i+=" "+this.accept(r.hash)}i+=" "+this.pad("PROGRAM:");this.padding++;i+=this.accept(r.program);this.padding--;return this.pad("{{> "+i+" }}")};PrintVisitor.prototype.ContentStatement=function(r){return this.pad("CONTENT[ '"+r.value+"' ]")};PrintVisitor.prototype.CommentStatement=function(r){return this.pad("{{! '"+r.value+"' }}")};PrintVisitor.prototype.SubExpression=function(r){var i=r.params,a=[],s=undefined;for(var p=0,l=i.length;p=0){return[i,p]}}}};function precompile(r,i,a){if(r==null||typeof r!=="string"&&r.type!=="Program"){throw new p["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+r)}i=i||{};if(!("data"in i)){i.data=true}if(i.compat){i.useDepths=true}var s=a.parse(r,i),l=(new a.Compiler).compile(s,i);return(new a.JavaScriptCompiler).compile(l,i)}function compile(r,i,a){if(i===undefined)i={};if(r==null||typeof r!=="string"&&r.type!=="Program"){throw new p["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+r)}i=l.extend({},i);if(!("data"in i)){i.data=true}if(i.compat){i.useDepths=true}var s=undefined;function compileInput(){var s=a.parse(r,i),p=(new a.Compiler).compile(s,i),l=(new a.JavaScriptCompiler).compile(p,i,undefined,true);return a.template(l)}function ret(r,i){if(!s){s=compileInput()}return s.call(this,r,i)}ret._setup=function(r){if(!s){s=compileInput()}return s._setup(r)};ret._child=function(r,i,a,p){if(!s){s=compileInput()}return s._child(r,i,a,p)};return ret}function argEquals(r,i){if(r===i){return true}if(l.isArray(r)&&l.isArray(i)&&r.length===i.length){for(var a=0;a "+i+" }}")};PrintVisitor.prototype.PartialBlockStatement=function(r){var i="PARTIAL BLOCK:"+r.name.original;if(r.params[0]){i+=" "+this.accept(r.params[0])}if(r.hash){i+=" "+this.accept(r.hash)}i+=" "+this.pad("PROGRAM:");this.padding++;i+=this.accept(r.program);this.padding--;return this.pad("{{> "+i+" }}")};PrintVisitor.prototype.ContentStatement=function(r){return this.pad("CONTENT[ '"+r.value+"' ]")};PrintVisitor.prototype.CommentStatement=function(r){return this.pad("{{! '"+r.value+"' }}")};PrintVisitor.prototype.SubExpression=function(r){var i=r.params,a=[],s=undefined;for(var p=0,l=i.length;p=0;c--){l=r[c];if(l)break}for(c=0;c
"||isWhitespace(r)}function isMatch(r,i){return r.test(i)}function notMatch(r,i){return!isMatch(r,i)}var b=0;r.STATE={BEGIN:b++,BEGIN_WHITESPACE:b++,TEXT:b++,TEXT_ENTITY:b++,OPEN_WAKA:b++,SGML_DECL:b++,SGML_DECL_QUOTED:b++,DOCTYPE:b++,DOCTYPE_QUOTED:b++,DOCTYPE_DTD:b++,DOCTYPE_DTD_QUOTED:b++,COMMENT_STARTING:b++,COMMENT:b++,COMMENT_ENDING:b++,COMMENT_ENDED:b++,CDATA:b++,CDATA_ENDING:b++,CDATA_ENDING_2:b++,PROC_INST:b++,PROC_INST_BODY:b++,PROC_INST_ENDING:b++,OPEN_TAG:b++,OPEN_TAG_SLASH:b++,ATTRIB:b++,ATTRIB_NAME:b++,ATTRIB_NAME_SAW_WHITE:b++,ATTRIB_VALUE:b++,ATTRIB_VALUE_QUOTED:b++,ATTRIB_VALUE_CLOSED:b++,ATTRIB_VALUE_UNQUOTED:b++,ATTRIB_VALUE_ENTITY_Q:b++,ATTRIB_VALUE_ENTITY_U:b++,CLOSE_TAG:b++,CLOSE_TAG_SAW_WHITE:b++,SCRIPT:b++,SCRIPT_ENDING:b++};r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(r.ENTITIES).forEach((function(i){var a=r.ENTITIES[i];var s=typeof a==="number"?String.fromCharCode(a):a;r.ENTITIES[i]=s}));for(var x in r.STATE){r.STATE[r.STATE[x]]=x}b=r.STATE;function emit(r,i,a){r[i]&&r[i](a)}function emitNode(r,i,a){if(r.textNode)closeText(r);emit(r,i,a)}function closeText(r){r.textNode=textopts(r.opt,r.textNode);if(r.textNode)emit(r,"ontext",r.textNode);r.textNode=""}function textopts(r,i){if(r.trim)i=i.trim();if(r.normalize)i=i.replace(/\s+/g," ");return i}function error(r,i){closeText(r);if(r.trackPosition){i+="\nLine: "+r.line+"\nColumn: "+r.column+"\nChar: "+r.c}i=new Error(i);r.error=i;emit(r,"onerror",i);return r}function end(r){if(r.sawRoot&&!r.closedRoot)strictFail(r,"Unclosed root tag");if(r.state!==b.BEGIN&&r.state!==b.BEGIN_WHITESPACE&&r.state!==b.TEXT){error(r,"Unexpected end")}closeText(r);r.c="";r.closed=true;emit(r,"onend");SAXParser.call(r,r.strict,r.opt);return r}function strictFail(r,i){if(typeof r!=="object"||!(r instanceof SAXParser)){throw new Error("bad call to strictFail")}if(r.strict){error(r,i)}}function newTag(r){if(!r.strict)r.tagName=r.tagName[r.looseCase]();var i=r.tags[r.tags.length-1]||r;var a=r.tag={name:r.tagName,attributes:{}};if(r.opt.xmlns){a.ns=i.ns}r.attribList.length=0;emitNode(r,"onopentagstart",a)}function qname(r,i){var a=r.indexOf(":");var s=a<0?["",r]:r.split(":");var p=s[0];var l=s[1];if(i&&r==="xmlns"){p="xmlns";l=""}return{prefix:p,local:l}}function attrib(r){if(!r.strict){r.attribName=r.attribName[r.looseCase]()}if(r.attribList.indexOf(r.attribName)!==-1||r.tag.attributes.hasOwnProperty(r.attribName)){r.attribName=r.attribValue="";return}if(r.opt.xmlns){var i=qname(r.attribName,true);var a=i.prefix;var s=i.local;if(a==="xmlns"){if(s==="xml"&&r.attribValue!==d){strictFail(r,"xml: prefix must be bound to "+d+"\n"+"Actual: "+r.attribValue)}else if(s==="xmlns"&&r.attribValue!==u){strictFail(r,"xmlns: prefix must be bound to "+u+"\n"+"Actual: "+r.attribValue)}else{var p=r.tag;var l=r.tags[r.tags.length-1]||r;if(p.ns===l.ns){p.ns=Object.create(l.ns)}p.ns[s]=r.attribValue}}r.attribList.push([r.attribName,r.attribValue])}else{r.tag.attributes[r.attribName]=r.attribValue;emitNode(r,"onattribute",{name:r.attribName,value:r.attribValue})}r.attribName=r.attribValue=""}function openTag(r,i){if(r.opt.xmlns){var a=r.tag;var s=qname(r.tagName);a.prefix=s.prefix;a.local=s.local;a.uri=a.ns[s.prefix]||"";if(a.prefix&&!a.uri){strictFail(r,"Unbound namespace prefix: "+JSON.stringify(r.tagName));a.uri=s.prefix}var p=r.tags[r.tags.length-1]||r;if(a.ns&&p.ns!==a.ns){Object.keys(a.ns).forEach((function(i){emitNode(r,"onopennamespace",{prefix:i,uri:a.ns[i]})}))}for(var l=0,c=r.attribList.length;l=0;c--){l=r[c];if(l)break}for(c=0;c
"||isWhitespace(r)}function isMatch(r,i){return r.test(i)}function notMatch(r,i){return!isMatch(r,i)}var b=0;r.STATE={BEGIN:b++,BEGIN_WHITESPACE:b++,TEXT:b++,TEXT_ENTITY:b++,OPEN_WAKA:b++,SGML_DECL:b++,SGML_DECL_QUOTED:b++,DOCTYPE:b++,DOCTYPE_QUOTED:b++,DOCTYPE_DTD:b++,DOCTYPE_DTD_QUOTED:b++,COMMENT_STARTING:b++,COMMENT:b++,COMMENT_ENDING:b++,COMMENT_ENDED:b++,CDATA:b++,CDATA_ENDING:b++,CDATA_ENDING_2:b++,PROC_INST:b++,PROC_INST_BODY:b++,PROC_INST_ENDING:b++,OPEN_TAG:b++,OPEN_TAG_SLASH:b++,ATTRIB:b++,ATTRIB_NAME:b++,ATTRIB_NAME_SAW_WHITE:b++,ATTRIB_VALUE:b++,ATTRIB_VALUE_QUOTED:b++,ATTRIB_VALUE_CLOSED:b++,ATTRIB_VALUE_UNQUOTED:b++,ATTRIB_VALUE_ENTITY_Q:b++,ATTRIB_VALUE_ENTITY_U:b++,CLOSE_TAG:b++,CLOSE_TAG_SAW_WHITE:b++,SCRIPT:b++,SCRIPT_ENDING:b++};r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(r.ENTITIES).forEach((function(i){var a=r.ENTITIES[i];var s=typeof a==="number"?String.fromCharCode(a):a;r.ENTITIES[i]=s}));for(var x in r.STATE){r.STATE[r.STATE[x]]=x}b=r.STATE;function emit(r,i,a){r[i]&&r[i](a)}function emitNode(r,i,a){if(r.textNode)closeText(r);emit(r,i,a)}function closeText(r){r.textNode=textopts(r.opt,r.textNode);if(r.textNode)emit(r,"ontext",r.textNode);r.textNode=""}function textopts(r,i){if(r.trim)i=i.trim();if(r.normalize)i=i.replace(/\s+/g," ");return i}function error(r,i){closeText(r);if(r.trackPosition){i+="\nLine: "+r.line+"\nColumn: "+r.column+"\nChar: "+r.c}i=new Error(i);r.error=i;emit(r,"onerror",i);return r}function end(r){if(r.sawRoot&&!r.closedRoot)strictFail(r,"Unclosed root tag");if(r.state!==b.BEGIN&&r.state!==b.BEGIN_WHITESPACE&&r.state!==b.TEXT){error(r,"Unexpected end")}closeText(r);r.c="";r.closed=true;emit(r,"onend");SAXParser.call(r,r.strict,r.opt);return r}function strictFail(r,i){if(typeof r!=="object"||!(r instanceof SAXParser)){throw new Error("bad call to strictFail")}if(r.strict){error(r,i)}}function newTag(r){if(!r.strict)r.tagName=r.tagName[r.looseCase]();var i=r.tags[r.tags.length-1]||r;var a=r.tag={name:r.tagName,attributes:{}};if(r.opt.xmlns){a.ns=i.ns}r.attribList.length=0;emitNode(r,"onopentagstart",a)}function qname(r,i){var a=r.indexOf(":");var s=a<0?["",r]:r.split(":");var p=s[0];var l=s[1];if(i&&r==="xmlns"){p="xmlns";l=""}return{prefix:p,local:l}}function attrib(r){if(!r.strict){r.attribName=r.attribName[r.looseCase]()}if(r.attribList.indexOf(r.attribName)!==-1||r.tag.attributes.hasOwnProperty(r.attribName)){r.attribName=r.attribValue="";return}if(r.opt.xmlns){var i=qname(r.attribName,true);var a=i.prefix;var s=i.local;if(a==="xmlns"){if(s==="xml"&&r.attribValue!==d){strictFail(r,"xml: prefix must be bound to "+d+"\n"+"Actual: "+r.attribValue)}else if(s==="xmlns"&&r.attribValue!==u){strictFail(r,"xmlns: prefix must be bound to "+u+"\n"+"Actual: "+r.attribValue)}else{var p=r.tag;var l=r.tags[r.tags.length-1]||r;if(p.ns===l.ns){p.ns=Object.create(l.ns)}p.ns[s]=r.attribValue}}r.attribList.push([r.attribName,r.attribValue])}else{r.tag.attributes[r.attribName]=r.attribValue;emitNode(r,"onattribute",{name:r.attribName,value:r.attribValue})}r.attribName=r.attribValue=""}function openTag(r,i){if(r.opt.xmlns){var a=r.tag;var s=qname(r.tagName);a.prefix=s.prefix;a.local=s.local;a.uri=a.ns[s.prefix]||"";if(a.prefix&&!a.uri){strictFail(r,"Unbound namespace prefix: "+JSON.stringify(r.tagName));a.uri=s.prefix}var p=r.tags[r.tags.length-1]||r;if(a.ns&&p.ns!==a.ns){Object.keys(a.ns).forEach((function(i){emitNode(r,"onopennamespace",{prefix:i,uri:a.ns[i]})}))}for(var l=0,c=r.attribList.length;l{var s;var p=a(2344);var l=a(3600);var c=a(6375).I;var d=a(5807);var u=a(3254).U;function SourceMapConsumer(r,i){var a=r;if(typeof r==="string"){a=p.parseSourceMapInput(r)}return a.sections!=null?new IndexedSourceMapConsumer(a,i):new BasicSourceMapConsumer(a,i)}SourceMapConsumer.fromSourceMap=function(r,i){return BasicSourceMapConsumer.fromSourceMap(r,i)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(r,i){var a=r.charAt(i);return a===";"||a===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(r,i){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(r,i,a){var s=i||null;var l=a||SourceMapConsumer.GENERATED_ORDER;var c;switch(l){case SourceMapConsumer.GENERATED_ORDER:c=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var d=this.sourceRoot;c.map((function(r){var i=r.source===null?null:this._sources.at(r.source);i=p.computeSourceURL(d,i,this._sourceMapURL);return{source:i,generatedLine:r.generatedLine,generatedColumn:r.generatedColumn,originalLine:r.originalLine,originalColumn:r.originalColumn,name:r.name===null?null:this._names.at(r.name)}}),this).forEach(r,s)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(r){var i=p.getArg(r,"line");var a={source:p.getArg(r,"source"),originalLine:i,originalColumn:p.getArg(r,"column",0)};a.source=this._findSourceIndex(a.source);if(a.source<0){return[]}var s=[];var c=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",p.compareByOriginalPositions,l.LEAST_UPPER_BOUND);if(c>=0){var d=this._originalMappings[c];if(r.column===undefined){var u=d.originalLine;while(d&&d.originalLine===u){s.push({line:p.getArg(d,"generatedLine",null),column:p.getArg(d,"generatedColumn",null),lastColumn:p.getArg(d,"lastGeneratedColumn",null)});d=this._originalMappings[++c]}}else{var m=d.originalColumn;while(d&&d.originalLine===i&&d.originalColumn==m){s.push({line:p.getArg(d,"generatedLine",null),column:p.getArg(d,"generatedColumn",null),lastColumn:p.getArg(d,"lastGeneratedColumn",null)});d=this._originalMappings[++c]}}}return s};i.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(r,i){var a=r;if(typeof r==="string"){a=p.parseSourceMapInput(r)}var s=p.getArg(a,"version");var l=p.getArg(a,"sources");var d=p.getArg(a,"names",[]);var u=p.getArg(a,"sourceRoot",null);var m=p.getArg(a,"sourcesContent",null);var h=p.getArg(a,"mappings");var g=p.getArg(a,"file",null);if(s!=this._version){throw new Error("Unsupported version: "+s)}if(u){u=p.normalize(u)}l=l.map(String).map(p.normalize).map((function(r){return u&&p.isAbsolute(u)&&p.isAbsolute(r)?p.relative(u,r):r}));this._names=c.fromArray(d.map(String),true);this._sources=c.fromArray(l,true);this._absoluteSources=this._sources.toArray().map((function(r){return p.computeSourceURL(u,r,i)}));this.sourceRoot=u;this.sourcesContent=m;this._mappings=h;this._sourceMapURL=i;this.file=g}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(r){var i=r;if(this.sourceRoot!=null){i=p.relative(this.sourceRoot,i)}if(this._sources.has(i)){return this._sources.indexOf(i)}var a;for(a=0;a0){i=[];for(a=0;a=0;d--)if(c=r[d])l=(p<3?c(l):p>3?c(i,a,l):c(i,a))||l;return p>3&&l&&Object.defineProperty(i,a,l),l};l=function(r,i){return function(a,s){i(a,s,r)}};c=function(r,i,a,s,p,l){function accept(r){if(r!==void 0&&typeof r!=="function")throw new TypeError("Function expected");return r}var c=s.kind,d=c==="getter"?"get":c==="setter"?"set":"value";var u=!i&&r?s["static"]?r:r.prototype:null;var m=i||(u?Object.getOwnPropertyDescriptor(u,s.name):{});var h,g=false;for(var y=a.length-1;y>=0;y--){var v={};for(var b in s)v[b]=b==="access"?{}:s[b];for(var b in s.access)v.access[b]=s.access[b];v.addInitializer=function(r){if(g)throw new TypeError("Cannot add initializers after decoration has completed");l.push(accept(r||null))};var x=(0,a[y])(c==="accessor"?{get:m.get,set:m.set}:m[d],v);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!=="object")throw new TypeError("Object expected");if(h=accept(x.get))m.get=h;if(h=accept(x.set))m.set=h;if(h=accept(x.init))p.unshift(h)}else if(h=accept(x)){if(c==="field")p.unshift(h);else m[d]=h}}if(u)Object.defineProperty(u,s.name,m);g=true};d=function(r,i,a){var s=arguments.length>2;for(var p=0;p