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