"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9539],{29539:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var n=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);let a=document.createElement("a"),n=e;"body"in e&&(n=await async function(e,t){let a=e.getReader(),n=new Response(new ReadableStream({start:e=>(async function t(){return a.read().then(({done:a,value:n})=>{if(!a)return e.enqueue(n),t();e.close()})})()})),r=await n.blob();return a.releaseLock(),new Blob([r],{type:t})}(e.body,e.headers.get("content-type"))),a.download=t.fileName||"Untitled",a.href=URL.createObjectURL(await n);let r=()=>{"function"==typeof c&&c()},c=t.legacySetup&&t.legacySetup(r,()=>c(reject),a);return a.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(a.href),3e4),r()}),a.click(),null}}}]);