PageSourceSearch

https://www.starlight.org/_next/static/chunks/6085.0a30f8e2dc20de61.js

js starlight.org collected 2026-09-24 18:20:29 UTC 202,553 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6085],{604:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(55713).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},2826:(e,t,n)=>{"use strict";n.d(t,{VB:()=>Q});var r=n(41728),i=n(83542),a=n(88393);let o
vendor: 41,168 bytes, line 1
1=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function 
1c(e,t,n){let r=function(e){let{name:t}=e;if(t&&-1!==t.lastIndexOf(".")&&!e.type){let n=t.split(".").pop().toLowerCase(),r=o.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e),{webkitRelativePath:i}=e,a="string"==typeof t?t:"string"==typeof i&&i.length>0?i:`./${e.name}`;return"string"!=typeof r.path&&l(r,"path",a),void 0!==n&&Object.defineProperty(r,"handle",{value:n,writable:!1,configurable:!1,enumerable:!0}),l(r,"relativePath",a),r}function l(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}let s=[".DS_Store","Thumbs.db"];function p(e){return"object"==typeof e&&null!==e}function u(e){return e.filter(e=>-1===s.indexOf(e.name))}function d(e){if(null===e)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n];t.push(r)}return t}function f(e){if("function"!=typeof e.webkitGetAsEntry)return m(e);let t=e.webkitGetAsEntry();return t&&t.isDirectory?g(t):m(e,t)}function m(e,t){return(0,a.sH)(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&"function"==typeof e.getAsFileSystemHandle){let t=yield e.getAsFileSystemHandle();if(null===t)throw Error(`${e} is not a File`);if(void 0!==t){let e=yield t.getFile();return e.handle=t,c(e)}}let r=e.getAsFile();if(!r)throw Error(`${e} is not a File`);return c(r,null!=(n=null==t?void 0:t.fullPath)?n:void 0)})}function h(e){return(0,a.sH)(this,void 0,void 0,function*(){return e.isDirectory?g(e):function(e){return(0,a.sH)(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(n=>{t(c(n,e.fullPath))},e=>{n(e)})})})}(e)})}function g(e){let t=e.createReader();
1return new Promise((e,n)=>{let r=[];!function i(){t.readEntries(t=>(0,a.sH)(this,void 0,void 0,function*(){if(t.length){let e=Promise.all(t.map(h));r.push(e),i()}else try{let t=yield Promise.all(r);e(t)}catch(e){n(e)}}),e=>{n(e)})}()})}var v=n(31986);function x(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||k(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,c=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(c)throw r}}return a}}(e,t)||k(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var S="function"==typeof v?v:v.default,P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(","),n=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:"file-invalid-type",message:"File type must be ".concat(n)}},O=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},C=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},_={code:"too-many-files",message:"Too many files"};function T(e,t){var n="application/x-moz-file"===e.type||S(e,t);return[n,n?null:P(t)]}function j(e,t,n){if(A(e.size)){if(A(t)&&A(n)){if(e.size>n)return[!1,O(n)];if(e.size<t)return[!1,C(t)]}else if(A(t)&&e.size<t)return[!1,C(t)];else if(A(n)&&e.size>n)return[!1,O(n)]}return[!0,null]}function A(e){return null!=e}function L(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function B(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function F(e){e.preventDefault()}function I(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return!L(e)&&t&&t.apply(void 0,[e].concat(r)),L(e)})}}function D(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function z(e){return/^.*\.[\w]+$/.test(e)}var M=["children"],U=["open"],N=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],H=["refKey","onChange","onClick"];function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,c=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(c)throw r}}return a}}(e,t)||V(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,t)}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var X=(0,r.forwardRef)(function(e,t){var n=e.children,i=Q(K(e,M)),a=i.open,o=K(i,U);return(0,r.useImperativeHandle)(t,function(){return{open:a}},[a]),r.createElement(r.Fragment,null,n(J(J({},o),{},{open:a})))});X.displayName="Dropzone";var Y={disabled:!1,getFilesFromEvent:function(e){return(0,a.sH)(this,void 0,void 0,function*(){var t;if(p(e)&&p(e.dataTransfer))return function(e,t){return(0,a.sH)(this,void 0,void 0,function*(){if(e.items){let n=d(e.items).filter(e=>"file"===e.kind);return"drop"!==t?n:u(function e(t){return t.reduce((t,n)=>[...t,...Array.isArray(n)?e(n):[n]],[])}((yield Promise.all(n.map(f)))))}return u(d(e.files).map(e=>c(e)))})}(e.dataTransfer,e.type);if(p(t=e)&&p(t.target))return d(e.target.files).map(e=>c(e));return Array.isArray(e)&&e.every(e=>"getFile"in e&&"function"==typeof e.getFile)?function(e){return(0,a.sH)(this,void 0,void 0,function*(){return(yield Promise.all(e.map(e=>e.getFile()))).map(e=>c(e))})}(e):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};X.defaultProps=Y,X.propTypes={children:i.func,accept:i.objectOf(i.arrayOf(i.string)),multiple:i.bool,preventDropOnDocument:i.bool,noClick:i.bool,noKeyboard:i.bool,noDrag:i.bool,noDragEventsBubbling:i.bool,minSize:i.number,maxSize:i.number,maxFiles:i.number,disabled:i.bool,getFilesFromEvent:i.func,onFileDialogCancel:i.func,onFileDialogOpen:i.func,useFsAccessApi:i.bool,autoFocus:i.bool,onDragEnter:i.func,onDragLeave:i.func,onDragOver:i.func,onDrop:i.func,onDropAccepted:i.func,onDropRejected:i.func,onError:i.func,validator:i.func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=J(J({},Y),e),n=t.accept,i=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,c=t.minSize,l=t.multiple,s=t.maxFiles,p=t.onDragEnter,u=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,h=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,k=t.autoFocus,R=t.preventDropOnDocument,S=t.noClick,P=t.noKeyboard,O=t.noDrag,C=t.noDragEventsBubbling,M=t.onError,U=t.validator,$=(0,r.useMemo)(function(){return A(n)?Object.entries(n).reduce(function(e,t){var n=E(t,2),r=n[0],i=n[1];return[].concat(x(e),[r],x(i))},[]).filter(function(e){return D(e)||z(e)}).join(","):void 0},[n]),X=(0,r.useMemo)(function(){return A(n)?[{description:"Files",accept:Object.entries(n).filter(function(e){var t=E(e,2),n=t[0],r=t[1],i=!0;return D(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),Array.isArray(r)&&r.every(z)||(console.warn('Skipped "'.concat(n,'" because an invali
1d file extension was provided.')),i=!1),i}).reduce(function(e,t){var n=E(t,2),r=n[0],i=n[1];return b(b({},e),{},w({},r,i))},{})}]:n},[n]),Q=(0,r.useMemo)(function(){return"function"==typeof v?v:et},[v]),en=(0,r.useMemo)(function(){return"function"==typeof g?g:et},[g]),er=(0,r.useRef)(null),ei=(0,r.useRef)(null),ea=q((0,r.useReducer)(ee,Z),2),eo=ea[0],ec=ea[1],el=eo.isFocused,es=eo.isFileDialogActive,ep=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),eu=function(){!ep.current&&es&&setTimeout(function(){ei.current&&(ei.current.files.length||(ec({type:"closeDialog"}),en()))},300)};(0,r.useEffect)(function(){return window.addEventListener("focus",eu,!1),function(){window.removeEventListener("focus",eu,!1)}},[ei,es,en,ep]);var ed=(0,r.useRef)([]),ef=function(e){er.current&&er.current.contains(e.target)||(e.preventDefault(),ed.current=[])};(0,r.useEffect)(function(){return R&&(document.addEventListener("dragover",F,!1),document.addEventListener("drop",ef,!1)),function(){R&&(document.removeEventListener("dragover",F),document.removeEventListener("drop",ef))}},[er,R]),(0,r.useEffect)(function(){return!i&&k&&er.current&&er.current.focus(),function(){}},[er,k,i]);var em=(0,r.useCallback)(function(e){M?M(e):console.error(e)},[M]),eh=(0,r.useCallback)(function(e){var t;e.preventDefault(),e.persist(),eC(e),ed.current=[].concat(function(e){if(Array.isArray(e))return W(e)}(t=ed.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||V(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),B(e)&&Promise.resolve(a(e)).then(function(t){if(!L(e)||C){var n,r,i,a,u,d,f,m,h=t.length,g=h>0&&(r=(n={files:t,accept:$,minSize:c,maxSize:o,multiple:l,maxFiles:s,validator:U}).files,i=n.accept,a=n.minSize,u=n.maxSize,d=n.multiple,f=n.maxFiles,m=n.validator,(!!d||!(r.length>1))&&(!d||!(f>=1)||!(r.length>f))&&r.every(function(e){var t=E(T(e,i),1)[0],n=E(j(e,a,u),1)[0],r=m?m(e):null;return t&&n&&!r}));ec({isDragAccept:g,isDragReject:h>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e)}}).catch(function(e){return em(e)})},[a,p,em,C,$,c,o,l,s,U]),eg=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eC(e);var t=B(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1},[d,C]),ev=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eC(e);var t=ed.current.filter(function(e){return er.current&&er.current.contains(e)}),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ed.current=t,!(t.length>0)&&(ec({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),B(e)&&u&&u(e))},[er,u,C]),ex=(0,r.useCallback)(function(e,t){var n=[],r=[];e.forEach(function(e){var t=q(T(e,$),2),i=t[0],a=t[1],l=q(j(e,c,o),2),s=l[0],p=l[1],u=U?U(e):null;if(i&&s&&!u)n.push(e);else{var d=[a,p];u&&(d=d.concat(u)),r.push({file:e,errors:d.filter(function(e){return e})})}}),(!l&&n.length>1||l&&s>=1&&n.length>s)&&(n.forEach(function(e){r.push({file:e,errors:[_]})}),n.splice(0)),ec({acceptedFiles:n,fileRejections:r,isDragReject:r.length>0,type:"setFiles"}),f&&f(n,r,t),r.length>0&&h&&h(r,t),n.length>0&&m&&m(n,t)},[ec,l,$,c,o,s,f,m,h,U]),ey=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eC(e),ed.current=[],B(e)&&Promise.resolve(a(e)).then(function(t){(!L(e)||C)&&ex(t,e)}).catch(function(e){return em(e)}),ec({type:"reset"})},[a,ex,em,C]),eb=(0,r.useCallback)(function(){if(ep.current){ec({type:"openDialog"}),Q(),window.showOpenFilePicker({multiple:l,types:X}).then(function(e){return a(e)}).then(function(e){ex(e,null),ec({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(en(e),ec({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(ep.current=!1,ei.current?(ei.current.value=null,ei.current.click()):em(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):em(e)});return}ei.current&&(ec({type:"openDialog"}),Q(),ei.current.value=null,ei.current.click())}
1,[ec,Q,en,y,ex,em,X,l]),ew=(0,r.useCallback)(function(e){er.current&&er.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),eb())},[er,eb]),eE=(0,r.useCallback)(function(){ec({type:"focus"})},[]),ek=(0,r.useCallback)(function(){ec({type:"blur"})},[]),eR=(0,r.useCallback)(function(){S||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(eb,0):eb())},[S,eb]),eS=function(e){return i?null:e},eP=function(e){return P?null:eS(e)},eO=function(e){return O?null:eS(e)},eC=function(e){C&&e.stopPropagation()},e_=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.role,r=e.onKeyDown,a=e.onFocus,o=e.onBlur,c=e.onClick,l=e.onDragEnter,s=e.onDragOver,p=e.onDragLeave,u=e.onDrop,d=K(e,N);return J(J(G({onKeyDown:eP(I(r,ew)),onFocus:eP(I(a,eE)),onBlur:eP(I(o,ek)),onClick:eS(I(c,eR)),onDragEnter:eO(I(l,eh)),onDragOver:eO(I(s,eg)),onDragLeave:eO(I(p,ev)),onDrop:eO(I(u,ey)),role:"string"==typeof n&&""!==n?n:"presentation"},void 0===t?"ref":t,er),i||P?{}:{tabIndex:0}),d)}},[er,ew,eE,ek,eR,eh,eg,ev,ey,P,O,i]),eT=(0,r.useCallback)(function(e){e.stopPropagation()},[]),ej=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.onChange,r=e.onClick,i=K(e,H);return J(J({},G({accept:$,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:eS(I(n,ey)),onClick:eS(I(r,eT)),tabIndex:-1},void 0===t?"ref":t,ei)),i)}},[ei,n,l,ey,i]);return J(J({},eo),{},{isFocused:el&&!i,getRootProps:e_,getInputProps:ej,rootRef:er,inputRef:ei,open:eS(eb)})}function ee(e,t){switch(t.type){case"focus":return J(J({},e),{},{isFocused:!0});case"blur":return J(J({},e),{},{isFocused:!1});case"openDialog":return J(J({},Z),{},{isFileDialogActive:!0});case"closeDialog":return J(J({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return J(J({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return J(J({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return J({},Z);default:return e}}function et(){}},4608:(e,t,n)=>{"use strict";var r=n(41728),i=n(63252);function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o,c=a(r),l=a(i);t.UJ=void 0,(o=t.UJ||(t.UJ={}))[o.Text=1]="Text",o[o.Link=2]="Link",o[o.FreeText=3]="FreeText",o[o.Line=4]="Line",o[o.Square=5]="Square",o[o.Circle=6]="Circle",o[o.Polygon=7]="Polygon",o[o.Polyline=8]="Polyline",o[o.Highlight=9]="Highlight",o[o.Underline=10]="Underline",o[o.Squiggly=11]="Squiggly",o[o.StrikeOut=12]="StrikeOut",o[o.Stamp=13]="Stamp",o[o.Caret=14]="Caret",o[o.Ink=15]="Ink",o[o.Popup=16]="Popup",o[o.FileAttachment=17]="FileAttachment";var s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function p(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u,d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};t.z4=void 0,(u=t.z4||(t.z4={})).RightToLeft="RTL",u.LeftToRight="LTR";var f,m=c.createContext({currentTheme:"light",direction:t.z4.LeftToRight,setCurrentTheme:function(){}}),h=function(e){var t=[];return Object.keys(e).forEach(function(n){n&&e[n]&&t.push(n)}),t.join(" ")},g="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,v=function(e){var t=c.useRef(null),n=e.once,r=e.threshold,i=e.onVisibilityChanged;return g(function(){var e=t.current;if(e){var a=new IntersectionObserver(function(t){t.forEach(function(t){var r=t.isIntersecting;i({isVisible:r,ratio:t.intersectionRatio}),r&&n&&(a.unobserve(e),a.disconnect())})},{threshold:r||0});return a.observe(e),function(){a.unobserve(e),a.disconnect()}}},[]),t},x=function(e){var n=e.children,r=e.ignoreDirection,i=e.size,a=c.useContext(m).direction,o=!(void 0!==r&&r)&&a===t.z4.RightToLeft,l="".concat((void 0===i?24:i)||24,"px");return c.createElement("svg",{"aria-hidden":"true",className:h({"rpv-core__icon":!0,"rpv-core__icon--rtl":o}),focusable:"false",height:l,viewBox:"0 0 24 24",width:l},n)},y=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M23.5,0.499l-16.5,23l-6.5-6.5"}))},b=function(e){var n=e.children,r=e.testId,i=e.onClick,a=c.useContext(m).direction===t.z4.RightToLeft;return c.createElement("button",d({className:h({"rpv-core__primary-button":!0,"rpv-core__primary-button--rtl":a}),type:"button",onClick:i},r?{"data-testid":r}:{}),n)},w=function(e){var t=e.size,n=void 0===t?"4rem":t,r=e.testId,i=c.useState(!1),a=i[0],o=i[1],l=v({onVisibilityChanged:function(e){o(e.isVisible)}});return c.createElement("div",d({},r?{"data-testid":r}:{},{className:h({"rpv-core__spinner":!0,"rpv-core__spinner--animating":a}),ref:l,style:{height:n,width:n}}))},E=function(e){var n=e.ariaLabel,r=e.autoFocus,i=void 0!==r&&r,a=e.placeholder,o=e.testId,l=e.type,s=e.value,p=e.onChange,u=e.onKeyDown,f=c.useContext(m).direction,v=c.useRef(),x={ref:v,"data-testid":"","aria-label":void 0===n?"":n,className:h({"rpv-core__textbox":!0,"rpv-core__textbox--rtl":f===t.z4.RightToLeft}),placeholder:void 0===a?"":a,value:void 0===s?"":s,onChange:function(e){return p(e.target.value)},onKeyDown:void 0===u?function(){}:u};return o&&(x["data-testid"]=o),g(function(){if(i){var e=v.current;if(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)}}},[]),"text"===(void 0===l?"text":l)?c.createElement("input",d({type:"text"},x)):c.createElement("input",d({type:"password"},x))};!function(e){e[e.ExitFullScreen=0]="ExitFullScreen",e[e.FullScreenChange=1]="FullScreenChange",e[e.FullScreenElement=2]="FullScreenElement",e[e.FullScreenEnabled=3]="FullScreenEnabled",e[e.RequestFullScreen=4]="RequestFullScreen"}(f||(f={}));var k,R={ExitFullScreen:"exitFullscreen",FullScreenChange:"fullscreenchange",FullScreenElement:"fullscreenElement",FullScreenEnabled:"fullscreenEnabled",RequestFullScreen:"requestFullscreen"},S={ExitFullScreen:"webkitExitFullscreen",FullScreenChange:"webkitfullscreenchange",FullScreenElement:"webkitFullscreenElement",FullScreenEnabled:"webkitFullscreenEnabled",RequestFullScreen:"webkitRequestFullscreen"},P={ExitFullScreen:"msExitFullscreen",FullScreenChange:"msFullscreenChange",FullScreenElement:"msFullscreenElement",FullScreenEnabled:"msFullscreenEnabled",RequestFullScreen:"msRequestFullscreen"},O="undefined"!=typeof window,C=O&&(f.FullScreenEnabled in document&&R||S.FullScreenEnabled in document&&S||P.FullScreenEnabled in document&&P)||R,_=function(e){return O?e[C.ExitFullScreen]():Promise.resolve({})},T=function(){return O?document[C.FullScreenElement]:null},j=function(e,t){var n=c.useRef(),r=function(){n.current&&clearTimeout(n.current)};return c.useEffect(function(){return function(){return r()}},[]),c.useCallback(function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];r(),n.current=setTimeout(function(){e.apply(void 0,i)},t)},[e,t])},A=function(){var e=c.useRef(!1);return c.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),e},L=function(e){var t=c.useRef(e);return c.useEffect(function(){t.current=e},[e]),t.current};!function(e){e.NotRenderedYet="NotRenderedYet",e.Rendering="Rendering",e.Rendered="Rendered"}(k||(k={}));var B,F=function(e){var t=e.doc,n=t.numPages,r=t.loadingTask.docId,i=c.useMemo(function(){return Array(n).fill(null).map(function(e,t){return{pageIndex:t,render
1Status:k.NotRenderedYet,visibility:-9999}})},[r]),a=c.useRef({currentRenderingPage:-1,startRange:0,endRange:n-1,visibilities:i}),o=function(e,t){a.current.visibilities[e].visibility=t};return{getHighestPriorityPage:function(){var e=a.current.visibilities.slice(a.current.startRange,a.current.endRange+1).filter(function(e){return e.visibility>-9999});if(!e.length)return -1;for(var t=e[0].pageIndex,r=e[e.length-1].pageIndex,i=e.length,o=0;o<i;o++){if(e[o].renderStatus===k.Rendering)return -1;if(e[o].renderStatus===k.NotRenderedYet)return e[o].pageIndex}return r+1<n&&a.current.visibilities[r+1].renderStatus!==k.Rendered?r+1:t-1>=0&&a.current.visibilities[t-1].renderStatus!==k.Rendered?t-1:-1},isInRange:function(e){return e>=a.current.startRange&&e<=a.current.endRange},markNotRendered:function(){for(var e=0;e<n;e++)a.current.visibilities[e].renderStatus=k.NotRenderedYet},markRendered:function(e){a.current.visibilities[e].renderStatus=k.Rendered},markRendering:function(e){-1!==a.current.currentRenderingPage&&a.current.currentRenderingPage!==e&&a.current.visibilities[a.current.currentRenderingPage].renderStatus===k.Rendering&&(a.current.visibilities[a.current.currentRenderingPage].renderStatus=k.NotRenderedYet),a.current.visibilities[e].renderStatus=k.Rendering,a.current.currentRenderingPage=e},setOutOfRange:function(e){o(e,-9999)},setRange:function(e,t){a.current.startRange=e,a.current.endRange=t;for(var r=0;r<n;r++)(r<e||r>t)&&(a.current.visibilities[r].visibility=-9999,a.current.visibilities[r].renderStatus=k.NotRenderedYet)},setVisibility:o}},I={core:{askingPassword:{requirePasswordToOpen:"This document requires a password to open",submit:"Submit"},wrongPassword:{tryAgain:"The password is wrong. Please try again"},pageLabel:"Page {{pageIndex}}"}},D=c.createContext({l10n:I,setL10n:function(){}}),z=0,M=function(e,t,n){var r=function(e){var r=t.current;if(r){var i=e.target;if(i instanceof Element&&i.shadowRoot){var a=e.composedPath();a.length>0&&!r.contains(a[0])&&n()}else r.contains(i)||n()}};c.useEffect(function(){if(e){var t={capture:!0};return document.addEventListener("click",r,t),function(){document.removeEventListener("click",r,t)}}},[])},U=function(e){var t=function(t){"Escape"===t.key&&e()};c.useEffect(function(){return document.addEventListener("keyup",t),function(){document.removeEventListener("keyup",t)}},[])};t.$K=void 0,(B=t.$K||(t.$K={})).Close="Close",B.Open="Open",B.Toggle="Toggle";var N,H=function(e){var n=c.useState(e),r=n[0],i=n[1];return{opened:r,toggle:function(e){switch(e){case t.$K.Close:i(!1);break;case t.$K.Open:i(!0);break;case t.$K.Toggle:default:i(function(e){return!e})}}}};t.yX=void 0,(N=t.yX||(t.yX={})).TopLeft="TOP_LEFT",N.TopCenter="TOP_CENTER",N.TopRight="TOP_RIGHT",N.RightTop="RIGHT_TOP",N.RightCenter="RIGHT_CENTER",N.RightBottom="RIGHT_BOTTOM",N.BottomLeft="BOTTOM_LEFT",N.BottomCenter="BOTTOM_CENTER",N.BottomRight="BOTTOM_RIGHT",N.LeftTop="LEFT_TOP",N.LeftCenter="LEFT_CENTER",N.LeftBottom="LEFT_BOTTOM";var q,V,W,$,J,G,K,X,Y=function(e,n,r,i,a){g(function(){var o=n.current,c=e.current,l=r.current;if(c&&o&&l){var s=l.getBoundingClientRect(),p=function(e,n,r,i){var a=n.getBoundingClientRect(),o=e.getBoundingClientRect(),c=o.height,l=o.width,s=0,p=0;switch(r){case t.yX.TopLeft:s=a.top-c,p=a.left;break;case t.yX.TopCenter:s=a.top-c,p=a.left+a.width/2-l/2;break;case t.yX.TopRight:s=a.top-c,p=a.left+a.width-l;break;case t.yX.RightTop:s=a.top,p=a.left+a.width;break;case t.yX.RightCenter:s=a.top+a.height/2-c/2,p=a.left+a.width;break;case t.yX.RightBottom:s=a.top+a.height-c,p=a.left+a.width;break;case t.yX.BottomLeft:s=a.top+a.height,p=a.left;break;case t.yX.BottomCenter:s=a.top+a.height,p=a.left+a.width/2-l/2;break;case t.yX.BottomRight:s=a.top+a.height,p=a.left+a.width-l;break;case t.yX.LeftTop:s=a.top,p=a.left-l;break;case t.yX.LeftCenter:s=a.top+a.height/2-c/2,p=a.left-l;break;case t.yX.LeftBottom:s=a.top+a.height-c,p=a.left-l}return{left:p+(i.left||0),top:s+(i.top||0)}}(c,o,i,a),u=p.top,d=p.left;c.style.top="".concat(u-s.top,"px"),c.style.left="".concat(d-s.left,"px")}},[])},Z=function(e){var n,r=e.customClassName,i=e.position;return c.createElement("div",{className:h(((n={"rpv-core__arrow":!0,"rpv-core__arrow--tl":i===t.yX.TopLeft,"rpv-core__arrow--tc":i===t.yX.TopCenter,"rpv-core__arrow--tr":i===t.yX.TopRight,"rpv-core__arrow--rt":i===t.yX.RightTop,"rpv-core__arrow--rc":i===t.yX.RightCenter,"rpv-core__arrow--rb":i===t.yX.RightBottom,"rpv-core__arrow--bl":i===t.yX.BottomLeft,"rpv-core__arrow--bc":i===t.yX.BottomCenter,"rpv-core__arrow--br":i===t.yX.BottomRight,"rpv-core__arrow--lt":i===t.yX.LeftTop,"rpv-core__arrow--lc":i===t.yX.LeftCenter,"rpv-core__arrow--lb":i===t.yX.LeftBottom})["".concat(r)]=""!==r,n))})};t.HG=void 0,(q=t.HG||(t.HG={})).Normal="Normal",q.Entering="Entering",q.Entered="Entered",q.EnteredCompletely="EnteredCompletely",q.Exitting="Exitting",q.Exited="Exited",t._8=void 0,(V=t._8||(t._8={}))[V.PreRender=0]="PreRender",V[V.DidRender=1]="DidRender",t.bH=void 0,(W=t.bH||(t.bH={})).Attachments="UseAttachments",W.Bookmarks="UseOutlines",W.ContentGroup="UseOC",W.Default="UserNone",W.FullScreen="FullScreen",W.Thumbnails="UseThumbs",t.a9=void 0,($=t.a9||(t.a9={})).RequiredPassword="RequiredPassword",$.WrongPassword="WrongPassword",t.pT=void 0,(J=t.pT||(t.pT={})).Backward="Backward",J.Forward="Forward",t.VT=void 0,(G=t.VT||(t.VT={})).Page="Page",G.Horizontal="Horizontal",G.Vertical="Vertical",G.Wrapped="Wrapped",t.dD=void 0,(K=t.dD||(t.dD={})).ActualSize="ActualSize",K.PageFit="PageFit",K.PageWidth="PageWidth",t.nE=void 0,(X=t.nE||(t.nE={})).DualPage="DualPage",X.DualPageWithCover="DualPageWithCover",X.SinglePage="SinglePage";var Q,ee=function(e,t){return e.reduce(function(e,n,r){return r%t?e[e.length-1].push(n):e.push([n]),e},[])},et=function(e,n){switch(n[1].name){case"XYZ":return{bottomOffset:function(e,t){return null===n[3]?t:n[3]},leftOffset:function(e,t){return null===n[2]?0:n[2]},pageIndex:e,scaleTo:n[4]};case"Fit":case"FitB":return{bottomOffset:0,leftOffset:0,pageIndex:e,scaleTo:t.dD.PageFit};case"FitH":case"FitBH":return{bottomOffset:n[2],leftOffset:0,pageIndex:e,scaleTo:t.dD.PageWidth};default:return{bottomOffset:0,leftOffset:0,pageIndex:e,scaleTo:1}}},en=new Map,er=new Map,ei=function(e,t){return"".concat(e.loadingTask.docId,"___").concat(t.num,"R").concat(0===t.gen?"":t.gen)},ea=function(e,t,n){en.set(ei(e,t),n)},eo=function(e,t){if(!e)return Promise.reject("The document is not loaded yet");var n="".concat(e.loadingTask.docId,"___").concat(t),r=er.get(n);return r?Promise.resolve(r):new Promise(function(r,i){e.getPage(t+1).then(function(i){er.set(n,i),i.ref&&ea(e,i.ref,t),r(i)})})},ec=function(e,t){return new Promise(function(n){new Promise(function(n){"string"==typeof t?e.getDestination(t).then(function(e){n(e)}):n(t)}).then(function(r){if("object"==typeof r[0]&&null!==r[0]){var i,a=r[0],o=(i=ei(e,a),en.has(i)?en.get(i):null);null===o?e.getPageIndex(a).then(function(r){ea(e,a,r),ec(e,t).then(function(e){return n(e)})}):n(et(o,r))}else n(et(r[0],r))})})};!function(e){e[e.Solid=1]="Solid",e[e.Dashed=2]="Dashed",e[e.Beveled=3]="Beveled",e[e.Inset=4]="Inset",e[e.Underline=5]="Underline"}(Q||(Q={}));var el,es=RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"),ep=function(e,t,n,r){var i=parseInt(e,10);return i>=t&&i<=n?i:r},eu=function(e){return e.contentsObj?e.contentsObj.str:e.contents||""},ed=function(e){return e.titleObj?e.titleObj.str:e.title||""},ef=function(e){var n=e.annotation,r=c.useContext(m).direction,i=ed(n),a=eu(n),o=r===t.z4.RightToLeft,l=c.useRef(),s="";if(n.modificationDate){var p=function(e){var t=es.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=ep(t[2],1,12,1)-1,i=ep(t[3],1,31,1),a=ep(t[4],0,23,0),o=ep(t[5],0,59,0),c=ep(t[6],0,59,0),l=t[7]||"Z",s=ep(t[8],0,23,0),p=ep(t[9],0,59,0);switch(l){case"-":a+=s,o+=p;break;case"+":a-=s,o-=p}return new Date(Date.UTC(n,r,i,a,o,c))}(n.modificationDate);s=p?"".concat(p.toLocaleDateString(),", ").concat(p.toLocaleTimeString()):""}return c.useLayoutEffect(function(){if(l.current){var e=document.querySelector('[data-annotation-id="'.concat(n.id,'"]'));if(e)return e.style.zIndex+=1,function(){e.style.zIndex="".concat(parseInt(e.style.zIndex,10)-1)}}},[]),c.createElement("div",{ref:l,className:h({"rpv-core__annotation-popup-wrapper":!0,"rpv-core__annotation-popup-wrapper--rtl":o}
1),style:{top:n.annotationType===t.UJ.Popup?"":"100%"}},i&&c.createElement(c.Fragment,null,c.createElement("div",{className:h({"rpv-core__annotation-popup-title":!0,"rpv-core__annotation-popup-title--ltr":!o,"rpv-core__annotation-popup-title--rtl":o})},i),c.createElement("div",{className:"rpv-core__annotation-popup-date"},s)),a&&c.createElement("div",{className:"rpv-core__annotation-popup-content"},a.split("\n").map(function(e,t){return c.createElement(c.Fragment,{key:t},e,c.createElement("br",null))})))};!function(e){e.Click="Click",e.Hover="Hover"}(el||(el={}));var em,eh=function(e){var n,r,i,a,o,l,s,p=e.annotation,u=e.children,d=e.ignoreBorder,f=e.hasPopup,m=e.isRenderable,h=e.page,g=e.viewport,v=p.rect,x=(r=(n=H(!1)).opened,i=n.toggle,o=(a=c.useState(el.Hover))[0],l=a[1],{opened:r,closeOnHover:function(){o===el.Hover&&i(t.$K.Close)},openOnHover:function(){o===el.Hover&&i(t.$K.Open)},toggleOnClick:function(){switch(o){case el.Click:r&&l(el.Hover),i(t.$K.Toggle);break;case el.Hover:l(el.Click),i(t.$K.Open)}}}),y=x.closeOnHover,b=x.opened,w=x.openOnHover,E=x.toggleOnClick,k=[Math.min((s=[v[0],h.view[3]+h.view[1]-v[1],v[2],h.view[3]+h.view[1]-v[3]])[0],s[2]),Math.min(s[1],s[3]),Math.max(s[0],s[2]),Math.max(s[1],s[3])],R=v[2]-v[0],S=v[3]-v[1],P={borderColor:"",borderRadius:"",borderStyle:"",borderWidth:""};if(!d&&p.borderStyle.width>0){switch(p.borderStyle.style){case Q.Dashed:P.borderStyle="dashed";break;case Q.Solid:P.borderStyle="solid";break;case Q.Underline:P=Object.assign({borderBottomStyle:"solid"},P);case Q.Beveled:case Q.Inset:}var O=p.borderStyle.width;P.borderWidth="".concat(O,"px"),p.borderStyle.style!==Q.Underline&&(R-=2*O,S-=2*O);var C=p.borderStyle,_=C.horizontalCornerRadius,T=C.verticalCornerRadius;(_>0||T>0)&&(P.borderRadius="".concat(_,"px / ").concat(T,"px")),p.color?P.borderColor="rgb(".concat(0|p.color[0],", ").concat(0|p.color[1],", ").concat(0|p.color[2],")"):P.borderWidth="0"}return c.createElement(c.Fragment,null,m&&u({popup:{opened:b,closeOnHover:y,openOnHover:w,toggleOnClick:E}
1,slot:{attrs:{style:Object.assign({height:"".concat(S,"px"),left:"".concat(k[0],"px"),top:"".concat(k[1],"px"),transform:"matrix(".concat(g.transform.join(","),")"),transformOrigin:"-".concat(k[0],"px -").concat(k[1],"px"),width:"".concat(R,"px")},P)},children:c.createElement(c.Fragment,null,f&&b&&c.createElement(ef,{annotation:p}))}}))},eg=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--caret","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},ev=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--circle","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},c.createElement("circle",{cy:u/2,fill:"none",rx:p/2-f/2,ry:u/2-f/2,stroke:"transparent",strokeWidth:f||1})),e.slot.children)})},ex=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=ed(t),a=eu(t),o=!(!1!==t.hasPopup||!i&&!a),l=function(){var e,n,r,i,a,o=t.file;o&&(n=o.filename,i="string"==typeof(r=o.content)?"":URL.createObjectURL(new Blob([r],{type:""})),(a=document.createElement("a")).style.display="none",a.href=i||n,a.setAttribute("download",(e=n.split("/").pop())?e.split("#")[0].split("?")[0]:n),document.body.appendChild(a),a.click(),document.body.removeChild(a),i&&URL.revokeObjectURL(i))};return c.createElement(eh,{annotation:t,hasPopup:o,ignoreBorder:!0,isRenderable:!0,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--file-attachment","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onDoubleClick:l,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},ey=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--free-text","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},eb=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=ed(t),a=eu(t),o=!t.parentType||-1!==["Circle","Ink","Line","Polygon","PolyLine","Square"].indexOf(t.parentType);return g(function(){if(t.parentId){var e=document.querySelector('[data-annotation-id="'.concat(t.parentId,'"]')),n=document.querySelector('[data-annotation-id="'.concat(t.id,'"]'));if(e&&n){var r=parseFloat(e.style.left),i=parseFloat(e.style.top)+parseFloat(e.style.height);n.style.left="".concat(r,"px"),n.style.top="".concat(i,"px"),n.style.transformOrigin="-".concat(r,"px -").concat(i,"px")}}},[]),c.createElement(eh,{annotation:t,hasPopup:o,ignoreBorder:!1,isRenderable:!(!i&&!a),page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--popup","data-annotation-id":t.id}),c.createElement(ef,{annotation:t}))})},ew=function(e){var n=e.annotation,r=e.childAnnotation,i=e.page,a=e.viewport,o=!1===n.hasPopup,l=ed(n),s=eu(n),p=!!(n.hasPopup||l||s);if(n.quadPoints&&n.quadPoints.length>0){var u=n.quadPoints.map(function(e){return Object.assign({},n,{rect:[e[2].x,e[2].y,e[1].x,e[1].y],quadPoints:[]})});return c.createElement(c.Fragment,null,u.map(function(e,t){return c.createElement(ew,{key:t,annotation:e,childAnnotation:r,page:i,viewport:
1a})}))}return c.createElement(eh,{annotation:n,hasPopup:o,ignoreBorder:!0,isRenderable:p,page:i,viewport:a},function(e){return c.createElement(c.Fragment,null,c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--highlight","data-annotation-id":n.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children),r&&r.annotationType===t.UJ.Popup&&e.popup.opened&&c.createElement(eb,{annotation:r,page:i,viewport:a}))})},eE=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--ink","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),t.inkLists&&t.inkLists.length&&c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},t.inkLists.map(function(e,t){return c.createElement("polyline",{key:t,fill:"none",stroke:"transparent",strokeWidth:f||1,points:e.map(function(e){return"".concat(e.x-s[0],",").concat(s[3]-e.y)}).join(" ")})})),e.slot.children)})},ek=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--line","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},c.createElement("line",{stroke:"transparent",strokeWidth:f||1,x1:s[2]-t.lineCoordinates[0],x2:s[2]-t.lineCoordinates[2],y1:s[3]-t.lineCoordinates[1],y2:s[3]-t.lineCoordinates[3]})),e.slot.children)})},eR=/^([^\w]*)(javascript|data|vbscript)/im,eS=/&#(\w+)(^\w|;)?/g,eP=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,eO=/^([^:]+):/gm,eC=function(e,t){void 0===t&&(t="about:blank");var n=(e||"").replace(eS,function(e,t){return String.fromCharCode(t)}).replace(eP,"").trim();if(!n)return t;var r=n[0];if("."===r||"/"===r)return n;var i=n.match(eO);if(!i)return n;var a=i[0];return eR.test(a)?t:n},e_=function(e){var t,n=e.annotation,r=e.annotationContainerRef,i=e.doc,a=e.outlines,o=e.page,l=e.pageIndex,s=e.scale,p=e.viewport,u=e.onExecuteNamedAction,f=e.onJumpFromLinkAnnotation,m=e.onJumpToDest,h=c.useRef(),g=a&&a.length&&n.dest&&"string"==typeof n.dest?null==(t=a.find(function(e){return e.dest===n.dest}))?void 0:t.title:"",v=!!(n.url||n.dest||n.action||n.unsafeUrl),x={};if(n.url||n.unsafeUrl){var y=eC(n.url||n.unsafeUrl,"");y?x={"data-target":"external",href:y,rel:"noopener noreferrer nofollow",target:n.newWindow?"_blank":"",title:y}:v=!1}else x={href:"","data-annotation-link":n.id,onClick:function(e){e.preventDefault(),n.action?u(n.action):ec(i,n.dest).then(function(e){var t=h.current,n=r.current;if(t&&n){var i=t.getBoundingClientRect();n.style.setProperty("height","100%"),n.style.setProperty("width","100%");var a=n.getBoundingClientRect();n.style.removeProperty("height"),n.style.removeProperty("width");var o=(i.left-a.left)/s;f({bottomOffset:(a.bottom-i.bottom+i.height)/s,label:g,leftOffset:o,pageIndex:l})}m(e)})}};return g&&(x=Object.assign({},x,{title:g,"aria-label":g})),c.createElement(eh,{annotation:n,hasPopup:!1,ignoreBorder:!1,isRenderable:v,page:o,viewport:p},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--link","data-annotation-id":n.id,"data-testid":"core__annotation--link-".concat(n.id)}),c.createElement("a",d({ref:h},x)))})},eT=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--polygon","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),t.vertices&&t.vertices.length&&c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},c.createElement("polygon",{fill:"none",stroke:"transparent",strokeWidth:f||1,points:t.vertices.map(function(e){return"".concat(e.x-s[0],",").concat(s[3]-e.y)}).join(" ")})),e.slot.children)})},ej=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--polyline","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),t.vertices&&t.vertices.length&&c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},c.createElement("polyline",{fill:"none",stroke:"transparent",strokeWidth:f||1,points:t.vertices.map(function(e){return"".concat(e.x-s[0],",").concat(s[3]-e.y)}).join(" ")})),e.slot.children)})},eA=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o),s=t.rect,p=s[2]-s[0],u=s[3]-s[1],f=t.borderStyle.width;return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--square","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),c.createElement("svg",{height:"".concat(u,"px"),preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 ".concat(p," ").concat(u),width:"".concat(p,"px")},c.createElement("rect",{height:u-f,fill:"none",stroke:"transparent",strokeWidth:f||1,x:f/2,y:f/2,width:p-f})),e.slot.children)})},eL=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--squiggly","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},eB=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--stamp","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},eF=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--strike-out","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},eI=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M.5,16.5a1,1,0,0,0,1,1h2v4l4-4h15a1,1,0,0,0,1-1V3.5a1,1,0,0,0-1-1H1.5a1,1,0,0,0-1,1Z"}),c.createElement("path",{d:"M7.25,9.75A.25.25,0,1,1,7,10a.25.25,0,0,1,.25-.25"}),c.createElement("path",{d:"M12,9.75a.25.25,0,1,1-.25.25A.25.25,0,0,1,12,9.75"}),c.createElement("path",{d:"M16.75,9.75a.25.25,0,1,1-.25.25.25.25,0,0,1,.25-.25"}))},eD=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M0.500 12.001 A11.500 11.500 0 1 0 23.500 12.001 A11.500 11.500 0 1 0 0.500 12.001 Z"}),c.createElement("path",{d:"M6.000 12.001 A6.000 6.000 0 1 0 18.000 12.001 A6.000 6.000 0 1 0 6.000 12.001 Z"}),c.createElement("path",{d:"M21.423 5.406L17.415 9.414"}),c.createElement("path",{d:"M14.587 6.585L18.607 2.565"}),c.createElement("path",{d:"M5.405 21.424L9.413 17.416"}),c.createElement("path",{d:"M6.585 14.588L2.577 18.596"}),c.createElement("path",{d:"M18.602 21.419L14.595 17.412"}),c.createElement("path",{d:"M17.419 14.58L21.428 18.589"}),c.createElement("path",{d:"M2.582 5.399L6.588 9.406"}),c.createElement("path",{d:"M9.421 6.581L5.412 2.572"}))},ez=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M4.000 18.500 A1.500 1.500 0 1 0 7.000 18.500 A1.500 1.500 0 1 0 4.000 18.500 Z"}),c.createElement("path",{d:"M20.5.5l-9.782,9.783a7,7,0,1,0,3,3L17,10h1.5V8.5L19,8h1.5V6.5L21,6h1.5V4.5l1-1V.5Z"}))},eM=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M2.000 2.500 L22.000 2.500 L22.000 23.500 L2.000 23.500 Z"}),c.createElement("path",{d:"M6 4.5L6 0.5"}),c.createElement("path",{d:"M18 4.5L18 0.5"}),c.createElement("path",{d:"M10 4.5L10 0.5"}),c.createElement("path",{d:"M14 4.5L14 0.5"}))},eU=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M17.5 0.498L17.5 23.498"}),c.createElement("path",{d:"M10.5 0.498L10.5 23.498"}),c.createElement("path",{d:"M23.5.5H6.5a6,6,0,0,0,0,12h4"}))},eN=function(){return c.createElement(x,{size:16},c.createElement("path",{d:"M2.5 22.995L12 6.005 21.5 22.995 2.5 22.995z"}))},eH=function(e){var n=e.annotation,r=e.childAnnotation,i=e.page,a=e.viewport,o=!1===n.hasPopup,l=ed(n),s=eu(n),p=!!(n.hasPopup||l||s),u=n.name?n.name.toLowerCase():"";return c.createElement(eh,{annotation:n,hasPopup:o,ignoreBorder:!1,isRenderable:p,page:i,viewport:
1a},function(e){return c.createElement(c.Fragment,null,c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--text","data-annotation-id":n.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),u&&c.createElement("div",{className:"rpv-core__annotation-text-icon"},"check"===u&&c.createElement(y,null),"comment"===u&&c.createElement(eI,null),"help"===u&&c.createElement(eD,null),"insert"===u&&c.createElement(eN,null),"key"===u&&c.createElement(ez,null),"note"===u&&c.createElement(eM,null),("newparagraph"===u||"paragraph"===u)&&c.createElement(eU,null)),e.slot.children),r&&r.annotationType===t.UJ.Popup&&e.popup.opened&&c.createElement(eb,{annotation:r,page:i,viewport:a}))})},eq=function(e){var t=e.annotation,n=e.page,r=e.viewport,i=!1===t.hasPopup,a=ed(t),o=eu(t),l=!!(t.hasPopup||a||o);return c.createElement(eh,{annotation:t,hasPopup:i,ignoreBorder:!0,isRenderable:l,page:n,viewport:r},function(e){return c.createElement("div",d({},e.slot.attrs,{className:"rpv-core__annotation rpv-core__annotation--underline","data-annotation-id":t.id,onClick:e.popup.toggleOnClick,onMouseEnter:e.popup.openOnHover,onMouseLeave:e.popup.closeOnHover}),e.slot.children)})},eV=function(e){var n=e.annotations,r=e.doc,i=e.outlines,a=e.page,o=e.pageIndex,l=e.plugins,s=e.rotation,p=e.scale,u=e.onExecuteNamedAction,d=e.onJumpFromLinkAnnotation,f=e.onJumpToDest,m=c.useRef(),h=a.getViewport({rotation:s,scale:p}).clone({dontFlip:!0}),v=n.filter(function(e){return!e.parentId});return g(function(){var e=m.current;e&&l.forEach(function(t){t.onAnnotationLayerRender&&t.onAnnotationLayerRender({annotations:v,container:e,pageIndex:o,rotation:s,scale:p})})},[]),c.createElement("div",{ref:m,className:"rpv-core__annotation-layer","data-testid":"core__annotation-layer-".concat(o)},v.map(function(e){var l=n.find(function(t){return t.parentId===e.id});switch(e.annotationType){case t.UJ.Caret:return c.createElement(eg,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Circle:return c.createElement(ev,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.FileAttachment:return c.createElement(ex,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.FreeText:return c.createElement(ey,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Highlight:return c.createElement(ew,{key:e.id,annotation:e,childAnnotation:l,page:a,viewport:h});case t.UJ.Ink:return c.createElement(eE,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Line:return c.createElement(ek,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Link:return c.createElement(e_,{key:e.id,annotation:e,annotationContainerRef:m,doc:r,outlines:i,page:a,pageIndex:o,scale:p,viewport:h,onExecuteNamedAction:u,onJumpFromLinkAnnotation:d,onJumpToDest:f});case t.UJ.Polygon:return c.createElement(eT,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Polyline:return c.createElement(ej,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Popup:return c.createElement(eb,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Square:return c.createElement(eA,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Squiggly:return c.createElement(eL,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Stamp:return c.createElement(eB,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.StrikeOut:return c.createElement(eF,{key:e.id,annotation:e,page:a,viewport:h});case t.UJ.Text:return c.createElement(eH,{key:e.id,annotation:e,childAnnotation:l,page:a,viewport:h});case t.UJ.Underline:return c.createElement(eq,{key:e.id,annotation:e,page:a,viewport:h});default:return c.createElement(c.Fragment,{key:e.id})}}))},eW=function(e){var t=e.page,n=e.renderAnnotations,r=A(),i=c.useState({loading:!0,annotations:[]}),a=i[0],o=i[1];return c.useEffect(function(){t.getAnnotations({intent:"display"}).then(function(e){r.current&&o({loading:!1,annotations:e})})},[]),a.loading?c.createElement(c.Fragment,null):n(a.annotations)},e$=function(e){var t=e.doc,n=e.outlines,r=e.page,i=e.pageIndex,a=e.plugins,o=e.rotation,l=e.scale,s=e.onExecuteNamedAction,p=e.onJumpFromLinkAnnotation,u=e.onJumpToDest;return c.createElement(eW,{page:r,renderAnnotations:function(e){return c.createElement(eV,{annotations:e,doc:t,outlines:n,page:r,pageIndex:i,plugins:a,rotation:o,scale:l,onExecuteNamedAction:s,onJumpFromLinkAnnotation:p,onJumpToDest:u})}})},eJ=function(e,t){var n=e%t;return 0===n?e:Math.floor(e-n)},eG=function(e){var n=e.canvasLayerRef,r=e.height,i=e.page,a=e.pageIndex,o=e.plugins,l=e.rotation,s=e.scale,p=e.width,u=e.onRenderCanvasCompleted,d=c.useRef();return g(function(){var e=d.current;e&&e.cancel();var r=n.current;r.removeAttribute("data-testid"),o.forEach(function(e){e.onCanvasLayerRender&&e.onCanvasLayerRender({ele:r,pageIndex:a,rotation:l,scale:s,status:t._8.PreRender})});var c=i.getViewport({rotation:l,scale:s}),p=window.devicePixelRatio||1,f=Math.sqrt(0x1000000/(c.width*c.height)),m=p>f;m?r.style.transform="scale(1, 1)":r.style.removeProperty("transform");
1var h=Math.min(f,p),g=function(e,t){if(Math.floor(e)===e)return[e,1];var n,r,i=1/e;if(i>8)return[1,8];if(Math.floor(i)===i)return[1,i];for(var a=e>1?i:e,o=0,c=1,l=1,s=1;;){var p=o+l,u=c+s;if(u>t)break;a<=p/u?(l=(n=[p,u])[0],s=n[1]):(o=(r=[p,u])[0],c=r[1])}return a<(o/c+l/s)/2?a===e?[o,c]:[c,o]:a===e?[l,s]:[s,l]}(h,8),v=g[0],x=g[1];r.width=eJ(c.width*h,v),r.height=eJ(c.height*h,v),r.style.width="".concat(eJ(c.width,x),"px"),r.style.height="".concat(eJ(c.height,x),"px"),r.hidden=!0;var y=r.getContext("2d",{alpha:!1}),b=m||1!==p?[h,0,0,h,0,0]:null;return d.current=i.render({canvasContext:y,transform:b,viewport:c}),d.current.promise.then(function(){r.hidden=!1,r.setAttribute("data-testid","core__canvas-layer-".concat(a)),o.forEach(function(e){e.onCanvasLayerRender&&e.onCanvasLayerRender({ele:r,pageIndex:a,rotation:l,scale:s,status:t._8.DidRender})}),u()},function(){u()}),function(){r&&(r.width=0,r.height=0)}},[]),c.createElement("div",{className:"rpv-core__canvas-layer",style:{height:"".concat(r,"px"),width:"".concat(p,"px")}},c.createElement("canvas",{ref:n}))},eK=function(e){var t=e.height,n=e.page,r=e.rotation,i=e.scale,a=e.width,o=c.useRef();return g(function(){var e=o.current,c=n.getViewport({rotation:r,scale:i});n.getOperatorList().then(function(r){var i;(i=o.current)&&(i.innerHTML=""),new l.SVGGraphics(n.commonObjs,n.objs).getSVG(r,c).then(function(n){n.style.height="".concat(t,"px"),n.style.width="".concat(a,"px"),e.appendChild(n)})})},[]),c.createElement("div",{className:"rpv-core__svg-layer",ref:o})},eX=function(e){var n=e.containerRef,r=e.page,i=e.pageIndex,a=e.plugins,o=e.rotation,s=e.scale,p=e.onRenderTextCompleted,u=c.useRef(),d=function(){var e=n.current;e&&([].slice.call(e.querySelectorAll(".rpv-core__text-layer-text")).forEach(function(t){return e.removeChild(t)}),[].slice.call(e.querySelectorAll('br[role="presentation"]')).forEach(function(t){return e.removeChild(t)}))};return g(function(){var e=u.current;e&&e.cancel();var c=n.current;if(c){c.removeAttribute("data-testid");var f=r.getViewport({rotation:o,scale:s});return a.forEach(function(e){e.onTextLayerRender&&e.onTextLayerRender({ele:c,pageIndex:i,scale:s,status:t._8.PreRender})}),r.getTextContent().then(function(e){d(),u.current=l.renderTextLayer({container:c,textContent:e,textContentSource:e,viewport:f}),u.current.promise.then(function(){c.setAttribute("data-testid","core__text-layer-".concat(i)),[].slice.call(c.children).forEach(function(e){e.classList.contains("rpv-core__text-layer-text--not")||e.classList.add("rpv-core__text-layer-text")}),a.forEach(function(e){e.onTextLayerRender&&e.onTextLayerRender({ele:c,pageIndex:i,scale:s,status:t._8.DidRender})}),p()},function(){c.removeAttribute("data-testid"),p()})}),function(){var e;d(),null==(e=u.current)||e.cancel()}}},[]),c.createElement("div",{className:"rpv-core__text-layer",ref:n})},eY=function(e){var n=e.doc,r=e.measureRef,i=e.outlines,a=e.pageIndex,o=e.pageRotation,l=e.pageSize,s=e.plugins,p=e.renderPage,u=e.renderQueueKey,d=e.rotation,f=e.scale,m=e.shouldRender,g=e.viewMode,v=e.onExecuteNamedAction,x=e.onJumpFromLinkAnnotation,y=e.onJumpToDest,b=e.onRenderCompleted,E=e.onRotatePage,k=A(),R=c.useState(null),S=R[0],P=R[1],O=c.useState(!1),C=O[0],_=O[1],T=c.useState(!1),j=T[0],L=T[1],B=c.useRef(),F=c.useRef(),I=Math.abs(d+o)%180==0,D=l.pageWidth*f,z=l.pageHeight*f,M=I?D:z,U=I?z:D,N=(l.rotation+d+o)%360,H=c.useRef(0),q=p||function(e){return c.createElement(c.Fragment,null,e.canvasLayer.children,e.textLayer.children,e.annotationLayer.children)};return c.useEffect(function(){P(null),_(!1),L(!1)},[o,d,f]),c.useEffect(function(){m&&k.current&&!S&&eo(n,a).then(function(e){k.current&&(H.current=u,P(e))})},[m,S]),c.useEffect(function(){C&&j&&(u!==H.current?(P(null),_(!1),L(!1)):b(a))},[C,j]),c.createElement("div",{className:h({"rpv-core__page-layer":!0,"rpv-core__page-layer--dual":g===t.nE.DualPage,"rpv-core__page-layer--dual-cover":g===t.nE.DualPageWithCover,"rpv-core__page-layer--single":g===t.nE.SinglePage}),"data-testid":"core__page-layer-".concat(a),ref:r,style:{height:"".concat(U,"px"),width:"".concat(M,"px")}},S?c.createElement(c.Fragment,null,q({annotationLayer:{attrs:{},children:c.createElement(e$,{doc:n,outlines:i,page:S,pageIndex:a,plugins:s,rotation:N,scale:f,onExecuteNamedAction:v,onJumpFromLinkAnnotation:x,onJumpToDest:y})},canvasLayer:{attrs:{},children:c.createElement(eG,{canvasLayerRef:B,height:U,page:S,pageIndex:a,plugins:s,rotation:N,scale:f,width:M,onRenderCanvasCompleted:function(){k.current&&_(!0)}})},canvasLayerRendered:C,doc:n,height:U,pageIndex:a,rotation:N,scale:f,svgLayer:{attrs:{},children:c.createElement(eK,{height:U,page:S,rotation:N,scale:f,width:M})},textLayer:{attrs:{},children:c.createElement(eX,{containerRef:F,page:S,pageIndex:a,plugins:s,rotation:N,scale:f,onRenderTextCompleted:function(){k.current&&L(!0)}})},textLayerRendered:j,width:M,markRendered:b,onRotatePage:function(e){return E(a,e)}}),s.map(function(e,t){return e.renderPageLayer?c.createElement(c.Fragment,{key:t},e.renderPageLayer({canvasLayerRef:B,canvasLayerRendered:C,doc:n,height:U,pageIndex:a,rotation:N,scale:f,textLayerRef:F,textLayerRendered:j,width:M})):c.createElement(c.Fragment,{key:t})})):c.createElement(w,{testId:"core__page-layer-loading-".concat(a)}
1))},eZ=function(e,t){var n=t.rect;return e.height!==n.height||e.width!==n.width?n:e};!function(e){e.Horizontal="Horizontal",e.Vertical="Vertical",e.Both="Both"}(em||(em={}));var eQ=function(e){return 1-Math.pow(1-e,4)},e0={left:0,top:0},e1={capture:!1,passive:!0},e2=function(e){var t=e.elementRef,n=e.enableSmoothScroll,r=e.isRtl,i=e.scrollDirection,a=e.onSmoothScroll,o=c.useState(e0),l=o[0],s=o[1],p=c.useState(t.current),u=p[0],d=p[1],f=r?-1:1,m=c.useRef(i);m.current=i;var h=c.useRef(e0),v=c.useRef(!0),x=c.useCallback(function(){v.current=!0,n&&s(h.current),a(!1)},[]),y=c.useCallback(function(){if(u){switch(m.current){case em.Horizontal:h.current={left:f*u.scrollLeft,top:0};break;case em.Both:h.current={left:f*u.scrollLeft,top:u.scrollTop};break;case em.Vertical:default:h.current={left:0,top:u.scrollTop}}n&&!v.current||s(h.current)}},[u]);return g(function(){d(t.current)}),g(function(){if(u)return u.addEventListener("scroll",y,e1),function(){u.removeEventListener("scroll",y,e1)}},[u]),{scrollOffset:l,scrollTo:c.useCallback(function(e,n){var r=t.current;if(!r)return Promise.resolve();var i={left:0,top:0};switch(m.current){case em.Horizontal:i.left=f*e.left;break;case em.Both:i.left=f*e.left,i.top=e.top;break;case em.Vertical:default:i.top=e.top}return n?(v.current=!1,a(!0),new Promise(function(e,t){!function(e,t,n,r,i,a){void 0===i&&(i=function(e){return e}),void 0===a&&(a=function(){});var o=0,c=0,l=!1;switch(t){case em.Horizontal:c=e.scrollLeft,o=0;case em.Both:c=e.scrollLeft,o=e.scrollTop;break;case em.Vertical:default:c=0,o=e.scrollTop}var s=function(){l||(l=!0,e.scrollLeft=n.left,e.scrollTop=n.top,a())};if(1e-4>=Math.abs(o-n.top)&&t===em.Vertical)s();else if(1e-4>=Math.abs(c-n.left)&&t===em.Horizontal)s();else{var p,u=-1,d=c-n.left,f=o-n.top,m=function(r){-1===u&&(u=r);var a=r-u,h=i(Math.min(a/400,1)),g={left:c-d*h,top:o-f*h};switch(t){case em.Horizontal:e.scrollLeft=g.left;break;case em.Both:e.scrollLeft=g.left,e.scrollTop=g.top;break;case em.Vertical:default:e.scrollTop=g.top}1e-4>=Math.abs(g.top-n.top)&&1e-4>=Math.abs(g.left-n.left)&&!l&&(window.cancelAnimationFrame(p),s()),a<400?p=window.requestAnimationFrame(m):window.cancelAnimationFrame(p)};p=window.requestAnimationFrame(m)}}(r,m.current,i,400,eQ,function(){x(),e()})})):new Promise(function(e,t){switch(m.current){case em.Horizontal:r.scrollLeft=i.left;break;case em.Both:r.scrollLeft=i.left,r.scrollTop=i.top;break;case em.Vertical:default:r.scrollTop=i.top}e()})},[t])}},e5=function(e,t,n){return Math.max(e,Math.min(n,t))},e3=function(e,n){if(n!==t.nE.DualPageWithCover)return 0;if(!function(e){var t=e.length;if(1===t)return!1;for(var n=1;n<t;n++)if(e[n].height!==e[0].height||e[n].width!==e[0].width)return!0;return!1}(e))return 2*e[0].width;var r=ee(e.slice(1),2).map(function(e){return 2===e.length?e[0].width+e[1].width:e[0].width}),i=[e[0].width].concat(r);return Math.max.apply(Math,i)},e4={left:0,top:0},e6={left:0,top:0},e8={left:0,top:0},e9={left:0,top:0},e7={height:0,width:0},te={left:0,top:0},tt="data-virtual-index",tn=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],tr=function(e){var n,r,i,a,o,l,s,p=e.enableSmoothScroll,u=e.isRtl,f=e.numberOfItems,m=e.parentRef,h=e.setRenderRange,v=e.sizes,x=e.scrollMode,y=e.viewM
1ode,b=c.useState(!1),w=b[0],E=b[1],k=c.useCallback(function(e){return E(e)},[]),R=c.useRef(x);R.current=x;var S=c.useRef(y);S.current=y;var P=x===t.VT.Wrapped||y===t.nE.DualPageWithCover||y===t.nE.DualPage?em.Both:x===t.VT.Horizontal?em.Horizontal:em.Vertical,O=e2({elementRef:m,enableSmoothScroll:p,isRtl:u,scrollDirection:P,onSmoothScroll:k}),C=O.scrollOffset,_=O.scrollTo,T=(r=(n=c.useState(m.current))[0],i=n[1],a=c.useRef(!1),l=(o=c.useReducer(eZ,{height:0,width:0}))[0],s=o[1],g(function(){m.current!==r&&i(m.current)}),g(function(){if(r&&!a.current){a.current=!0;var e=r.getBoundingClientRect();s({rect:{height:e.height,width:e.width}})}},[r]),c.useEffect(function(){if(r){var e=new ResizeObserver(function(e,t){e.forEach(function(e){if(e.target===r){var t=e.contentRect;s({rect:{height:t.height,width:t.width}})}})});return e.observe(r),function(){e.unobserve(r)}}},[r]),l),j=c.useRef({scrollOffset:te,measurements:[]});j.current.scrollOffset=C;var A=c.useMemo(function(){return Array(f).fill(-1)},[]),L=c.useState(A),B=L[0],F=L[1],I=c.useMemo(function(){return new IntersectionObserver(function(e){e.forEach(function(e){var t=e.isIntersecting?e.intersectionRatio:-1,n=e.target.getAttribute(tt);if(n){var r=parseInt(n,10);0<=r&&r<f&&F(function(e){return e[r]=t,function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],e,!0)})}})},{threshold:tn})},[]),D=c.useMemo(function(){return x===t.VT.Page&&y===t.nE.SinglePage?function(e,t,n){for(var r=[],i=0;i<e;i++){var a={height:Math.max(t.height,n[i].height),width:Math.max(t.width,n[i].width)},o=0===i?e9:r[i-1].end,c={left:o.left+a.width,top:o.top+a.height};r[i]={index:i,start:o,size:a,end:c,visibility:-1}}return r}(f,T,v):y===t.nE.DualPageWithCover?function(e,n,r,i){for(var a=[],o=0,c=0,l=e8,s=0;s<e;s++){var p=0===s?{height:i===t.VT.Page?Math.max(n.height,r[s].height):r[s].height,width:i===t.VT.Page?Math.max(n.width,r[s].width):r[s].width}:{height:i===t.VT.Page?Math.max(n.height,r[s].height):r[s].height,width:Math.max(n.width/2,r[s].width)};i===t.VT.Page?l=0===s?e8:{left:s%2==0?p.width:0,top:Math.floor((s-1)/2)*p.height+a[0].end.top}:0===s?(l=e8,o=r[0].height,c=0):s%2==1?(l={left:0,top:o+=c},c=s===e-1?r[s].height:Math.max(r[s].height,r[s+1].height)):l={left:a[s-1].end.left,top:o};var u={left:l.left+p.width,top:l.top+p.height};a[s]={index:s,start:l,size:p,end:u,visibility:-1}}return a}(f,T,v,x):y===t.nE.DualPage?function(e,n,r,i){for(var a=[],o=0,c=0,l=e6,s=0;s<e;s++){var p={height:i===t.VT.Page?Math.max(n.height,r[s].height):r[s].height,width:Math.max(n.width/2,r[s].width)};i===t.VT.Page?l={left:s%2==0?0:p.width,top:Math.floor(s/2)*p.height}:s%2==0?(l={left:0,top:o+=c},c=s===e-1?r[s].height:Math.max(r[s].height,r[s+1].height)):l={left:a[s-1].end.left,top:o};var u={left:l.left+p.width,top:l.top+p.height};a[s]={index:s,start:l,size:p,end:u,visibility:-1}}return a}(f,T,v,x):function(e,n,r,i){for(var a=[],o=0,c={left:0,top:0},l=0,s=e4,p=0;p<e;p++){var u=r[p];if(0===p)o=u.width,c={left:0,top:0},l=u.height;else switch(i){case t.VT.Wrapped:(o+=u.width)<n.width?(s={left:a[p-1].end.left,top:c.top},l=Math.max(l,u.height)):(o=u.width,c={left:(s={left:c.left,top:c.top+l}).left,top:s.top},l=u.height);break;case t.VT.Horizontal:case t.VT.Vertical:default:s=a[p-1].end}var d={left:s.left+u.width,top:s.top+u.height};a[p]={index:p,start:s,size:u,end:d,visibility:-1}}return a}(f,T,v,x)},[x,v,y,T]),z=D[f-1]?{height:D[f-1].end.top,width:D[f-1].end.left}:e7;j.current.measurements=D;var M=c.useMemo(function(){var e=function(e,t,n,r){var i=0;switch(e){case em.Horizontal:i=r.left;break;case em.Vertical:default:i=r.top}var a=t.length-1,o=function(e,t,n,r){for(;e<=t;){var i=(e+t)/2|0,a=r(i);if(a<n)e=i+1;else{if(!(a>n))return i;t=i-1}}return e>0?e-1:0}(0,a,i,function(n){switch(e){case em.Horizontal:return t[n].start.left;case em.Both:case em.Vertical:default:return t[n].start.top}});if(e===em.Both)for(var c=t[o].start.top;o-1>=0&&t[o-1].start.top===c&&t[o-1].start.left>=r.left;)o--;for(var l=o;l<=a;
1){var s={top:t[l].start.top-r.top,left:t[l].start.left-r.left},p={height:n.height-s.top,width:n.width-s.left};if(e===em.Horizontal&&p.width<0||e===em.Vertical&&p.height<0||e===em.Both&&(p.width<0||p.height<0))break;l++}return{start:o,end:l}}(P,D,T,C),n=e.start,r=e.end,i=B.slice(e5(0,f,n),e5(0,f,r)),a=n+i.reduce(function(e,t,n,r){return t>r[e]?n:e},0),o=a=e5(0,f-1,a),c=h({endPage:r,numPages:f,startPage:n}),l=c.startPage,s=c.endPage;switch(l=Math.max(l,0),s=Math.min(s,f-1),y){case t.nE.DualPageWithCover:a>0&&(o=a%2==1?a:a-1),l=0===l?0:l%2==1?l:l-1,f-(s=s%2==1?s-1:s)<=2&&(s=f-1);break;case t.nE.DualPage:o=a%2==0?a:a-1,l=l%2==0?l:l-1,s=s%2==1?s:s-1;break;case t.nE.SinglePage:default:o=a}return{startPage:l,endPage:s,maxVisbilityIndex:o}},[D,T,C,y,B]),U=M.startPage,N=M.endPage,H=M.maxVisbilityIndex,q=c.useMemo(function(){for(var e=[],t=function(t){var n=D[t],r=d(d({},n),{visibility:void 0!==B[t]?B[t]:-1,measureRef:function(e){e&&(e.setAttribute(tt,"".concat(t)),I.observe(e))}});e.push(r)},n=U;n<=N;n++)t(n);return e},[U,N,B,D]),V=c.useCallback(function(e,n){var r=j.current.measurements[e5(0,f-1,e)],i=R.current===t.VT.Page?te:n;return r?_({left:i.left+r.start.left,top:i.top+r.start.top},p):Promise.resolve()},[_,p]),W=c.useCallback(function(e,n){var r=j.current.measurements,i=r[e].start,a=r.find(function(e){return e.start.top-i.top>1e-12});if(!a)return Promise.resolve();var o=a.index;switch(S.current){case t.nE.DualPage:o=o%2==0?o:o+1;break;case t.nE.DualPageWithCover:o=o%2==1?o:o+1}return V(o,n)},[]),$=c.useCallback(function(e,n){for(var r=j.current.measurements,i=r[e].start,a=e,o=!1,c=f-1;c>=0;c--)if(i.top-r[c].start.top>1e-12){o=!0,a=r[c].index;break}if(!o)return Promise.resolve();switch(S.current){case t.nE.DualPage:a=a%2==0?a:a-1;break;case t.nE.DualPageWithCover:a=a%2==0?a-1:a}return a===e&&(a=e-1),V(a,n)},[]),J=c.useCallback(function(e,n){if(S.current===t.nE.DualPageWithCover||S.current===t.nE.DualPage)return W(e,n);switch(R.current){case t.VT.Wrapped:return W(e,n);case t.VT.Horizontal:case t.VT.Vertical:default:return V(e+1,n)}},[]),G=c.useCallback(function(e,n){if(S.current===t.nE.DualPageWithCover||S.current===t.nE.DualPage)return $(e,n);switch(R.current){case t.VT.Wrapped:return $(e,n);case t.VT.Horizontal:case t.VT.Vertical:default:return V(e-1,n)}},[]),K=c.useCallback(function(){switch(R.current){case t.VT.Horizontal:return{position:"relative",height:"100%",width:"".concat(z.width,"px")};case t.VT.Vertical:default:return{position:"relative",height:"".concat(z.height,"px"),width:"100%"}}},[z]),X=c.useCallback(function(e){return R.current!==t.VT.Page?{}:{height:"".concat(T.height,"px"),width:"100%",position:"absolute",top:0,transform:"translateY(".concat(e.start.top,"px)")}},[T]),Y=c.useCallback(function(e){return function(e,n,r,i,a){var o,c,l,s,p,u,d,f=n?"right":"left",m=r.length,h=e.start.left*(n?-1:1),g=e.size,v=g.height,x=g.width;if(i===t.nE.DualPageWithCover){var y=a===t.VT.Page?0:e.start.top;return 0===e.index||m%2==0&&e.index===m-1?((o={height:"".concat(v,"px"),minWidth:"".concat(e3(r,i),"px"),width:"100%"})[f]=0,o.position="absolute",o.top=0,o.transform="translate(".concat(h,"px, ").concat(y,"px)"),o):((c={height:"".concat(v,"px"),width:"".concat(x,"px")})[f]=0,c.position="absolute",c.top=0,c.transform="translate(".concat(h,"px, ").concat(y,"px)"),c)}if(i===t.nE.DualPage)return(l={height:"".concat(v,"px"),width:"".concat(x,"px")})[f]=0,l.position="absolute",l.top=0,l.transform="translate(".concat(h,"px, ").concat(a===t.VT.Page?0:e.start.top,"px)"),l;switch(a){case t.VT.Horizontal:return(s={height:"100%",width:"".concat(x,"px")})[f]=0,s.position="absolute",s.top=0,s.transform="translateX(".concat(h,"px)"),s;case t.VT.Page:return(p={height:"".concat(v,"px"),width:"".concat(x,"px")})[f]=0,p.position="absolute",p.top=0,p;case t.VT.Wrapped:return(u={height:"".concat(v,"px"),width:"".concat(x,"px")})[f]=0,u.position="absolute",u.top=0,u.transform="translate(".concat(h,"px, ").concat(e.start.top,"px)"),u;case t.VT.Vertical:default:return(d={height:"".concat(v,"px"),width:"100%"})[f]=0,d.position="absolute",d.top=0,d.transform="translateY(".concat(e.start.top,"px)"),d}}(e,u,v,S.current,R.current)},[u,v]),Z=c.useCallback(function(e,n){var r=j.current,i=r.measurements,a=r.scrollOffset,o=i[e5(0,f-1,n)];return o?_(R.current===t.VT.Page?{left:o.start.left,top:o.start.top}:{left:a.left*e,top:a.top*e},!1):Promise.resolve()},[]);return c.useEffect(function(){return function(){I.disconnect()}},[]),{boundingClientRect:T,isSmoothScrolling:w,startPage:U,endPage:N,maxVisbilityIndex:H,virtualItems:q,getContainerStyles:K,getItemContainerStyles:X,getItemStyles:Y,scrollToItem:V,scrollToNextItem:J,scrollToPreviousItem:G,zoom:Z}},ti=function(e,n,r,i,a,o){var c=r;switch(!0){case a===t.nE.DualPageWithCover&&o>=3:case a===t.nE.DualPage&&o>=3:c=2*r;break;default:c=r}switch(i){case t.dD.ActualSize:return 1;case t.dD.PageFit:return Math.min((e.clientWidth-17)/c,(e.clientHeight-16)/n);case t.dD.PageWidth:return(e.clientWidth-17)/c}},ta=function(e){var t,n,r=e.getCurrentPage,i=(n=c.useRef([]),c.useEffect(function(){return function(){n.current=[]}},[]),{push:function(e){var t=n.current;t.length+1>50&&t.shift(),t.push(e),n.current=t},map:function(e){return n.current.map(function(t){return e(t)})},pop:function(){var e=n.current;if(0===e.length)return null;var t=e.pop();return n.current=e,t}}),a=(t=c.useRef([]),c.useEffect(function(){return function(){t.current=[]}},[]),{dequeue:function(){var e=t.current;if(0===e.length)return null;var n=e.shift();return t.current=e,n||null},enqueue:function(e){var n=t.current;n.length+1>50&&n.pop(),t.current=[e].concat(n)},map:function(e){return t.current.map(function(t){return e(t)})}}),o=function(){var e=a.dequeue();return e&&i.push(e),e&&e.pageIndex===r()?o():e},l=function(){var e=i.pop();return e&&a.enqueue(e),e&&e.pageIndex===r()?l():e};return{getNextDestination:o,getPreviousDestination:l,markVisitedDestination:c.useCallback(function(e){i.push(e)},[])}},to=function(e){var t=[];return e.map(function(e){var n;t=t.concat(e).concat((n=[],e.items&&e.items.length>0&&(n=n.concat(to(e.items))),n))}),t},tc={capture:!1,passive:!0},tl={height:0,width:0},ts={height:0,width:0},tp=function(e){var n,r,i,a,o=e.getCurrentPage,l=e.getCurrentScrollMode,s=e.jumpToPage,p=e.targetRef,u=c.useState(t.HG.Normal),d=u[0],f=u[1],m=(r=(n=c.useState(tl))[0],i=n[1],a=j(function(){i({height:window.innerHeight,width:window.innerWidth})},100),g(function(){return window.addEventListener("resize",a,tc),function(){window.removeEventListener("resize",a,tc)}},[]),r),h=c.useState(ts),v=h[0],x=h[1],y=c.useRef(ts),b=c.useRef(o()),w=c.useRef(ts),E=c.useState(p.current),k=E[0],R=E[1],S=c.useRef();g(function(){p.current!==k&&R(p.current)},[]),g(function(){if(k){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.target.getBoundingClientRect();x({height:t.height,width:t.width})})});return e.observe(k),function(){e.unobserve(k),e.disconnect()}}},[k]);var P=c.useCallback(function(e){var n=T();return n&&n!==e?(f(t.HG.Normal),_(n)):Promise.resolve()},[]),A=c.useCallback(function(e){e&&O&&C.FullScreenEnabled in document&&!0===document[C.FullScreenEnabled]&&(R(e),P(e).then(function(){S.current=e,f(t.HG.Entering),O&&e[C.RequestFullScreen]()}))},[]),L=c.useCallback(function(){T()&&(f(t.HG.Exitting),_(document))},[]),B=c.useCallback(function(){k&&T()!==k&&f(t.HG.Exitting)},[k]);return c.useEffect(function(){switch(d){case t.HG.Entering:S.current&&(S.current.style.backgroundColor="var(--rpv-core__full-screen-target-background-color)"),b.current=o(),y.current={height:window.innerHeight,width:window.innerWidth};break;case t.HG.Entered:l()===t.VT.Page?s(b.current).then(function(){f(t.HG.EnteredCompletely)}):f(t.HG.EnteredCompletely);break;case t.HG.Exitting:S.current&&(S.current.style.backgroundColor="",S.current=null),b.current=o();break;case t.HG.Exited:f(t.HG.Normal),l()===t.VT.Page&&s(b.current)}},[d]),c.useEffect(function(){if(d!==t.HG.Normal)return d===t.HG.Entering&&m.height===v.height&&m.width===v.width&&m.height>0&&m.width>0&&(0===w.current.height||m.height==w.current.height)?(w.current={height:window.innerHeight,width:window.innerWidth},void f(t.HG.Entered)):void(d===t.HG.Exitting&&y.current.height===m.height&&y.current.width===m.width&&m.height>0&&m.width>0&&f(t.HG.Exited))},[d,m,v]),c.useEffect(function(){return O&&document.addEventListener(C.FullScreenChange,B),function(){O&&document.removeEventListener(C.FullScreenChange,B)}},[k]),{enterFullScreenMode:A,exitFullScreenMode:L,fullScreenMode:d}},tu={buildPageStyles:function(){return{}},transformSize:function(e){return e.size}},td={left:0,top:0},tf=function(e){var n=e.currentFile,r=e.defaultScale,i=e.doc,a=e.enableSmoothScroll,o=e.initialPage,l=e.initialRotation,s=e.initialScale,p=e.pageLayout,u=e.pageSizes,f=e.plugins,v=e.renderPage,x=e.scrollMode,y=e.setRenderRange,b=e.viewMode,w=e.viewerState,E=e.onDocumentLoad,k=e.onOpenFile,R=e.onPageChange,S=e.onRotate,P=e.onRotatePage,O=e.onZoom,C=i.numPages,_=i.loadingTask.docId,T=c.useContext(D).l10n,B=c.useContext(m),I=B.direction===t.z4.RightToLeft,z=c.useRef(),M=c.useRef(),U=c.useState(o),N=U[0],H=U[1],q=c.useRef(null),V=ta({getCurrentPage:function(){return ex.current.pageIndex}}),W=c.useState(l),$=W[0],J=W[1],G=L($),K=c.useState(!1),X=K[0],Y=K[1],Z=c.useState(new Map),Q=Z[0],et=Z[1],ei=c.useState(x),ea=ei[0],ec=ei[1],el=L(ea),es=c.useState(b),ep=es[0],eu=es[1],ed=L(ep),ef=(e0=A(),e2=(e1=c.useState([]))[0],e5=e1[1],c.useEffect(function(){i.getOutline().then(function(e){e0.current&&null!==e&&e5(to(e))})},[]),e2),em=c.useState(s),eh=em[0],eg=em[1],ev=L(eh),ex=c.useRef(w),ey=c.useRef("string"==typeof r?r:null),eb=c.useRef(-1),ew=c.useRef(-1),eE=c.useRef(o),ek=tp({getCurrentPage:function(){return ex.current.pageIndex},getCurrentScrollMode:function(){return ex.current.scrollMode},jumpToPage:function(e){return eq(e)}
1,targetRef:M}),eR=c.useState(-1),eS=eR[0],eP=eR[1],eO=c.useState(0),eC=eO[0],e_=eO[1],eT=F({doc:i});c.useEffect(function(){return function(){en.clear(),er.clear()}},[_]);var ej=c.useMemo(function(){return Object.assign({},tu,p)},[]),eA=c.useMemo(function(){return Array(C).fill(0).map(function(e,t){var n=[u[t].pageHeight,u[t].pageWidth],r=Math.abs($)%180==0?{height:n[0],width:n[1]}:{height:n[1],width:n[0]},i={height:r.height*eh,width:r.width*eh};return ej.transformSize({numPages:C,pageIndex:t,size:i})})},[$,eh]),eL=tr({enableSmoothScroll:a,isRtl:I,numberOfItems:C,parentRef:M,scrollMode:ea,setRenderRange:y,sizes:eA,viewMode:ep});e4=(e3={targetRef:M,onResize:j(function(){!ey.current||ex.current.fullScreenMode!==t.HG.Normal||o>0&&eE.current===o||eX(ey.current)},200)}).targetRef,e6=e3.onResize,g(function(){var e=new ResizeObserver(function(e){e.forEach(function(e){e6(e.target)})}),t=e4.current;if(t)return e.observe(t),function(){e.unobserve(t)}},[]);var eB=function(e){var t=e;f.forEach(function(e){e.onViewerStateChange&&(t=e.onViewerStateChange(t))}),ex.current=t},eF=function(){return M.current},eI=function(){return ex.current},eD=c.useCallback(function(e){V.markVisitedDestination(e)},[]),ez=c.useCallback(function(e){var n=e.pageIndex,r=e.bottomOffset,a=e.leftOffset,o=e.scaleTo,c=M.current,l=ex.current;return c&&l?new Promise(function(e,s){eo(i,n).then(function(i){var s=i.getViewport({scale:1}),p=0,d=("function"==typeof r?r(s.width,s.height):r)||0,f=("function"==typeof a?a(s.width,s.height):a)||0,m=l.scale;switch(o){case t.dD.PageFit:p=0,f=0,eX(t.dD.PageFit);break;case t.dD.PageWidth:m=ti(c,u[n].pageHeight,u[n].pageWidth,t.dD.PageWidth,b,C),p=(s.height-d)*m,f*=m,eX(m);break;default:p=(s.height-d)*m,f*=m}switch(l.scrollMode){case t.VT.Horizontal:eL.scrollToItem(n,{left:f,top:0}).then(function(){e()});break;case t.VT.Vertical:default:eL.scrollToItem(n,{left:0,top:p}).then(function(){e()})}})}):Promise.resolve()},[]),eM=c.useCallback(function(e){return V.markVisitedDestination(e),ez(e)},[]),eU=c.useCallback(function(){var e=V.getNextDestination();return e?ez(e):Promise.resolve()},[]),eN=c.useCallback(function(){var e=V.getPreviousDestination();return e?ez(e):Promise.resolve()},[]),eH=c.useCallback(function(){return eL.scrollToNextItem(ex.current.pageIndex,td)},[]),eq=c.useCallback(function(e){return 0<=e&&e<C?eL.scrollToItem(e,td):Promise.resolve()},[]),eV=c.useCallback(function(){return eL.scrollToPreviousItem(ex.current.pageIndex,td)},[]),eW=c.useCallback(function(e){var t;"pdf"===((t=e.name.split(/\./).pop())?t.toLowerCase():"").toLowerCase()&&new Promise(function(t){var n=new FileReader;n.readAsArrayBuffer(e),n.onload=function(){t(new Uint8Array(n.result))}}).then(function(t){k(e.name,t)})},[k]),e$=c.useCallback(function(e){var n=e===t.pT.Backward?-90:90,r=ex.current.rotation,a=360===r||-360===r?n:r+n;eT.markNotRendered(),J(a),eB(d(d({},ex.current),{rotation:a})),S({direction:e,doc:i,rotation:a})},[]),eJ=c.useCallback(function(e,n){var r=n===t.pT.Backward?-90:90,a=ex.current.pagesRotation,o=(a.has(e)?a.get(e):l)+r,c=a.set(e,o);et(c),Y(function(e){return!e}),eB(d(d({},ex.current),{pagesRotation:c,rotatedPage:e})),P({direction:n,doc:i,pageIndex:e,rotation:o}),eT.markRendering(e),eP(e)},[]),eG=c.useCallback(function(e){eB(d(d({},ex.current),{scrollMode:e})),ec(e)},[]),eK=c.useCallback(function(e){eB(d(d({},ex.current),{viewMode:e})),eu(e)},[]),eX=c.useCallback(function(e){var t=M.current,n=ex.current.pageIndex;if(!(n<0||n>=C)){var r=u[n].pageHeight,a=u[n].pageWidth,o=t?"string"==typeof e?ti(t,r,a,e,ex.current.viewMode,C):e:1;ey.current="string"==typeof e?e:null,o!==ex.current.scale&&(e_(function(e){return e+1}),eT.markNotRendered(),eg(o),O({doc:i,scale:o}),eB(d(d({},ex.current),{scale:o})))}},[]),eZ=c.useCallback(function(e){ek.enterFullScreenMode(e)},[]),eQ=c.useCallback(function(){ek.exitFullScreenMode()},[]);c.useEffect(function(){eB(d(d({},ex.current),{fullScreenMode:ek.fullScreenMode}))},[ek.fullScreenMode]),c.useEffect(function(){var e={enterFullScreenMode:eZ,exitFullScreenMode:eQ,getPagesContainer:eF,getViewerState:eI,jumpToDestination:eM,jumpToNextDestination:eU,jumpToPreviousDestination:eN,jumpToNextPage:eH,jumpToPreviousPage:eV,jumpToPage:eq,openFile:eW,rotate:e$,rotatePage:eJ,setViewerState:eB,switchScrollMode:eG,switchViewMode:eK,zoom:eX};return f.forEach(function(t){t.install&&t.install(e)}),function(){f.forEach(function(t){t.uninstall&&t.uninstall(e)})}},[_]),c.useEffect(function(){E({doc:i,file:n}),f.forEach(function(e){e.onDocumentLoad&&e.onDocumentLoad({doc:i,file:n})})},[_]);var e0,e1,e2,e5,e3,e4,e6,e8,e9,e7,te=eL.boundingClientRect;e8=function(){o&&eq(o)},e9=te.height>0&&te.width>0,e7=c.useRef(!1),g(function(){e9&&!e7.current&&(e7.current=!0,e8())},[e8,e9]),g(function(){var e=ex.current.pageIndex;e>-1&&el!==ea&&eL.scrollToItem(e,td).then(function(){ek.fullScreenMode===t.HG.EnteredCompletely&&(a||eT.markNotRendered(),eb.current=-1)})},[ea]),g(function(){var e=ex.current.pageIndex;e>-1&&G!==$&&eL.scrollToItem(e,td)},[$]),g(function(){0!=ev&&ev!=ex.current.scale&&eL.zoom(ex.current.scale/ev,ex.current.pageIndex).then(function(){ek.fullScreenMode===t.HG.EnteredCompletely&&(ew.current=-1)})},[eh]),g(function(){if(ed!==ex.current.viewMode){var e=eL.startPage,t=eL.endPage,n=eL.virtualItems;eT.markNotRendered(),eT.setRange(e,t);for(var r=function(e){var t=n.find(function(t){return t.index===e});t&&eT.setVisibility(e,t.visibility)},i=e;i<=t;i++)r(i);tn()}},[ep]),g(function(){var e=ex.current.pageIndex;e>-1&&ed!==ep&&eL.scrollToItem(e,td)},[ep]),g(function(){var e=ex.current.pageIndex;e>0&&e===o&&eE.current===o&&ey.current&&(eE.current=-1,eX(ey.current))},[N]),c.useEffect(function(){eL.isSmoothScrolling||null!==q.current&&q.current===N||(q.current=N,R({currentPage:N,doc:i}))},[N,eL.isSmoothScrolling]),c.useEffect(function(){ek.fullScreenMode===t.HG.Entering&&ex.current.scrollMode===t.VT.Page&&(eb.current=ex.current.pageIndex),ek.fullScreenMode===t.HG.EnteredCompletely&&ex.current.scrollMode===t.VT.Page&&a&&(eb.current=-1),ek.fullScreenMode===t.HG.EnteredCompletely&&ey.current&&(ew.current=ex.current.pageIndex,eX(ey.current))},[ek.fullScreenMode]),c.useEffect(function(){if(ek.fullScreenMode!==t.HG.Entering&&ek.fullScreenMode!==t.HG.Exitting&&!eL.isSmoothScrolling){var e=eL.startPage,n=eL.endPage,r=eL.maxVisbilityIndex,i=eL.virtualItems,a=ek.fullScreenMode===t.HG.Entered||ek.fullScreenMode===t.HG.EnteredCompletely;if(!(a&&r!==eb.current&&eb.current>-1||a&&r!==ew.current&&ew.current>-1)){H(r),eB(d(d({},ex.current),{pageIndex:r})),eT.setRange(e,n);for(var o=function(e){var t=i.find(function(t){return t.index===e});t&&eT.setVisibility(e,t.visibility)},c=e;c<=n;c++)o(c);tn()}}},[eL.startPage,eL.endPage,eL.isSmoothScrolling,eL.maxVisbilityIndex,ek.fullScreenMode,X,$,eh]);var tt=c.useCallback(function(e){eT.markRendered(e),tn()},[eC]),tn=function(){var e=eT.getHighestPriorityPage();e>-1&&eT.isInRange(e)&&(eT.markRendering(e),eP(e))},tc=function(e){var t=N-1,n=N+1;switch(e){case"FirstPage":eq(0);break;case"LastPage":eq(C-1);break;case"NextPage":n<C&&eq(n);break;case"PrevPage":t>=0&&eq(t)}},tl=c.useCallback(function(){var e=eL.virtualItems,n=[];
1switch(ep){case t.nE.DualPage:n=ee(e,2);break;case t.nE.DualPageWithCover:e.length&&(n=0===e[0].index?[[e[0]]].concat(ee(e.slice(1),2)):ee(e,2));break;case t.nE.SinglePage:default:n=ee(e,1)}var r=T&&T.core?T.core.pageLabel:"Page {{pageIndex}}",a={attrs:{className:"rpv-core__inner-container","data-testid":"core__inner-container",ref:z,style:{height:"100%"}},children:c.createElement(c.Fragment,null),subSlot:{attrs:{"data-testid":"core__inner-pages",className:h({"rpv-core__inner-pages":!0,"rpv-core__inner-pages--horizontal":ea===t.VT.Horizontal,"rpv-core__inner-pages--rtl":I,"rpv-core__inner-pages--single":ea===t.VT.Page,"rpv-core__inner-pages--vertical":ea===t.VT.Vertical,"rpv-core__inner-pages--wrapped":ea===t.VT.Wrapped}),ref:M,style:{height:"100%",position:"relative"}},children:c.createElement("div",{"data-testid":"core__inner-current-page-".concat(N),style:Object.assign({"--scale-factor":eh},eL.getContainerStyles())},n.map(function(e){return c.createElement("div",{className:h({"rpv-core__inner-page-container":!0,"rpv-core__inner-page-container--single":ea===t.VT.Page}),style:eL.getItemContainerStyles(e[0]),key:"".concat(e[0].index,"-").concat(ep)},e.map(function(e){var n=ep===t.nE.DualPageWithCover&&(0===e.index||C%2==0&&e.index===C-1);return c.createElement("div",{"aria-label":r.replace("{{pageIndex}}","".concat(e.index+1)),className:h({"rpv-core__inner-page":!0,"rpv-core__inner-page--dual-even":ep===t.nE.DualPage&&e.index%2==0,"rpv-core__inner-page--dual-odd":ep===t.nE.DualPage&&e.index%2==1,"rpv-core__inner-page--dual-cover":n,"rpv-core__inner-page--dual-cover-even":ep===t.nE.DualPageWithCover&&!n&&e.index%2==0,"rpv-core__inner-page--dual-cover-odd":ep===t.nE.DualPageWithCover&&!n&&e.index%2==1,"rpv-core__inner-page--single":ep===t.nE.SinglePage&&ea===t.VT.Page}),role:"region",key:"".concat(e.index,"-").concat(ep),style:Object.assign({},eL.getItemStyles(e),ej.buildPageStyles({numPages:C,pageIndex:e.index,scrollMode:ea,viewMode:ep}))},c.createElement(eY,{doc:i,measureRef:e.measureRef,outlines:ef,pageIndex:e.index,pageRotation:Q.has(e.index)?Q.get(e.index):0,pageSize:u[e.index],plugins:f,renderPage:v,renderQueueKey:eC,rotation:$,scale:eh,shouldRender:eS===e.index,viewMode:ep,onExecuteNamedAction:tc,onJumpFromLinkAnnotation:eD,onJumpToDest:eM,onRenderCompleted:tt,onRotatePage:eJ}))}))}))}};return f.forEach(function(e){e.renderViewer&&(a=e.renderViewer({containerRef:z,doc:i,pagesContainerRef:M,pagesRotation:Q,pageSizes:u,rotation:$,slot:a,themeContext:B,jumpToPage:eq,openFile:eW,rotate:e$,rotatePage:eJ,switchScrollMode:eG,switchViewMode:eK,zoom:eX}))}),a},[f,eL]),ts=c.useCallback(function(e){return c.createElement("div",d({},e.attrs,{style:e.attrs&&e.attrs.style?e.attrs.style:{}}),e.children,e.subSlot&&ts(e.subSlot))},[]);return ts(tl())},tm=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1,1.1,1.3,1.5,1.7,1.9,2.1,2.4,2.7,3,3.3,3.7,4.1,4.6,5.1,5.7,6.3,7,7.7,8.5,9.4,10],th=function(e){var n=e.defaultScale,r=e.doc,i=e.render,a=e.scrollMode,o=e.viewMode,l=c.useRef(),s=c.useState({pageSizes:[],scale:0}),p=s[0],u=s[1];return c.useLayoutEffect(function(){Promise.all(Array(r.numPages).fill(0).map(function(e,t){return new Promise(function(e,n){eo(r,t).then(function(t){var n=t.getViewport({scale:1});e({pageHeight:n.height,pageWidth:n.width,rotation:n.rotation})})})})).then(function(e){var i=l.current;if(i&&0!==e.length){var c,s,p=e[0].pageWidth,d=e[0].pageHeight,f=i.parentElement,m=(f.clientWidth-45)/p,h=(f.clientHeight-45)/d,g=m;switch(a){case t.VT.Horizontal:g=Math.min(m,h);break;case t.VT.Vertical:default:g=m}u({pageSizes:e,scale:n?"string"==typeof n?ti(f,d,p,n,o,r.numPages):n:(c=g,-1===(s=tm.findIndex(function(e){return e>=c}))||0===s?c:tm[s-1])})}})},[r.loadingTask.docId]),0===p.pageSizes.length||0===p.scale?c.createElement("div",{className:"rpv-core__page-size-calculator","data-testid":"core__page-size-calculating",ref:l},c.createElement(w,null)):i(p.pageSizes,p.scale)},tg=function(){},tv=function(e){function t(t,n){var r=e.call(this)||this;return r.verifyPassword=t,r.passwordStatus=n,r}return p(t,e),t}(tg),tx=function(e){var n=e.passwordStatus,r=e.renderProtectedView,i=e.verifyPassword,a=e.onDocumentAskPassword,o=c.useContext(D).l10n,l=c.useState(""),s=l[0],p=l[1],u=c.useContext(m).direction===t.z4.RightToLeft,d=function(){return i(s)};return c.useEffect(function(){a&&a({verifyPassword:i})},[]),r?r({passwordStatus:n,verifyPassword:i}):c.createElement("div",{className:"rpv-core__asking-password-wrapper"},c.createElement("div",{className:h({"rpv-core__asking-password":!0,"rpv-core__asking-password--rtl":u})},c.createElement("div",{className:"rpv-core__asking-password-message"},n===t.a9.RequiredPassword&&o.core.askingPassword.requirePasswordToOpen,n===t.a9.WrongPassword&&o.core.wrongPassword.tryAgain),c.createElement("div",{className:"rpv-core__asking-password-body"},c.createElement("div",{className:h({"rpv-core__asking-password-input":!0,"rpv-core__asking-password-input--ltr":!u,"rpv-core__asking-password-input--rtl":u})},c.createElement(E,{testId:"core__asking-password-input",type:"password",value:s,onChange:p,onKeyDown:function(e){"Enter"===e.key&&d()}})),c.createElement(b,{onClick:d},o.core.askingPassword.submit))))},ty=function(e){function t(t){var n=e.call(this)||this;return n.doc=t,n}return p(t,e),t}(tg),tb=function(e){function t(t){var n=e.call(this)||this;return n.error=t,n}return p(t,e),t}(tg),tw=function(e){function t(t){var n=e.call(this)||this;return n.percentages=t,n}return p(t,e),t}(tg),tE=function(e){var n=e.characterMap,r=e.file,i=e.httpHeaders,a=e.render,o=e.renderError,s=e.renderLoader,p=e.renderProtectedView,u=e.transformGetDocumentParam
1s,d=e.withCredentials,f=e.onDocumentAskPassword,g=c.useContext(m).direction===t.z4.RightToLeft,v=c.useState(new tw(0)),x=v[0],y=v[1],b=c.useRef(""),E=A();return c.useEffect(function(){b.current="",y(new tw(0));var e=new l.PDFWorker({name:"PDFWorker_".concat(Date.now())}),a=Object.assign({httpHeaders:i,withCredentials:d,worker:e},"string"==typeof r?{url:r}:{data:r},n?{cMapUrl:n.url,cMapPacked:n.isCompressed}:{}),o=u?u(a):a,c=l.getDocument(o);return c.onPassword=function(e,n){switch(n){case l.PasswordResponses.NEED_PASSWORD:E.current&&y(new tv(e,t.a9.RequiredPassword));break;case l.PasswordResponses.INCORRECT_PASSWORD:E.current&&y(new tv(e,t.a9.WrongPassword))}},c.onProgress=function(e){var t=e.total>0?Math.min(100,100*e.loaded/e.total):100;E.current&&""===b.current&&y(new tw(t))},c.promise.then(function(e){b.current=e.loadingTask.docId,E.current&&y(new ty(e))},function(t){return E.current&&!e.destroyed&&y(new tb({message:t.message||"Cannot load document",name:t.name}))}),function(){c.destroy(),e.destroy()}},[r]),x instanceof tv?c.createElement(tx,{passwordStatus:x.passwordStatus,renderProtectedView:p,verifyPassword:x.verifyPassword,onDocumentAskPassword:f}):x instanceof ty?a(x.doc):x instanceof tb?o?o(x.error):c.createElement("div",{className:h({"rpv-core__doc-error":!0,"rpv-core__doc-error--rtl":g})},c.createElement("div",{className:"rpv-core__doc-error-text"},x.error.message)):c.createElement("div",{"data-testid":"core__doc-loading",className:h({"rpv-core__doc-loading":!0,"rpv-core__doc-loading--rtl":g})},s?s(x.percentages):c.createElement(w,null))},tk=function(e,t){var n=c.useMemo(function(){return"auto"===e?"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e},[]),r=c.useState(n),i=r[0],a=r[1],o=L(i);return c.useEffect(function(){if("auto"===e){var t=window.matchMedia("(prefers-color-scheme: dark)"),n=function(e){a(e.matches?"dark":"light")};return t.addEventListener("change",n),function(){return t.removeEventListener("change",n)}}},[]),c.useEffect(function(){i!==o&&t&&t(i)},[i]),c.useEffect(function(){e!==i&&a(e)},[e]),{currentTheme:i,setCurrentTheme:a}},tR=function(e){return{startPage:e.startPage-3,endPage:e.endPage+3}};t.Viewer=function(e){var n=e.characterMap,r=e.defaultScale,i=e.enableSmoothScroll,a=void 0===i||i,o=e.fileUrl,l=e.httpHeaders,s=e.initialPage,p=void 0===s?0:s,u=e.pageLayout,d=e.initialRotation,f=void 0===d?0:d,h=e.localization,g=e.plugins,x=void 0===g?[]:g,y=e.renderError,b=e.renderLoader,w=e.renderPage,E=e.renderProtectedView,k=e.scrollMode,R=void 0===k?t.VT.Vertical:k,S=e.setRenderRange,P=void 0===S?tR:S,O=e.transformGetDocumentParams,C=e.theme,_=void 0===C?{direction:t.z4.LeftToRight,theme:"light"}:C,T=e.viewMode,j=void 0===T?t.nE.SinglePage:T,A=e.withCredentials,B=e.onDocumentAskPassword,F=e.onDocumentLoad,z=void 0===F?function(){}:F,M=e.onPageChange,U=void 0===M?function(){}:M,N=e.onRotate,H=void 0===N?function(){}:N,q=e.onRotatePage,V=void 0===q?function(){}:q,W=e.onSwitchTheme,$=e.onZoom,J=void 0===$?function(){}:$,G=c.useState({data:o,name:"string"==typeof o?o:"",shouldLoad:!1}),K=G[0],X=G[1],Y=function(e,t){X({data:t,name:e,shouldLoad:!0})},Z=c.useState(!1),Q=Z[0],ee=Z[1],et=L(K);c.useEffect(function(){var e,t,n;e=et.data,n=typeof o,"string"==(t=typeof e)&&"string"===n&&e===o||"object"===t&&"object"===n&&e.length===o.length&&e.every(function(e,t){return e===o[t]})||X({data:o,name:"string"==typeof o?o:"",shouldLoad:Q})},[o,Q]);var en=v({onVisibilityChanged:function(e){ee(e.isVisible),e.isVisible&&X(function(e){return Object.assign({},e,{shouldLoad:!0})})}}),er="string"==typeof _?{direction:t.z4.LeftToRight,theme:_}:_,ei=c.useState(h||I),ea=ei[0],eo=ei[1],ec=Object.assign({},{direction:er.direction},tk(er.theme||"light",void 0===W?function(){}:W));return c.useEffect(function(){h&&eo(h)},[h]),c.createElement(D.Provider,{value:{l10n:ea,setL10n:eo}},c.createElement(m.Provider,{value:ec},c.createElement("div",{ref:en,className:"rpv-core__viewer rpv-core__viewer--".concat(ec.currentTheme),"data-testid":"core__viewer",style:{height:"100%",width:"100%"}},K.shouldLoad&&c.createElement(tE,{characterMap:n,file:K.data,httpHeaders:void 0===l?{}:l,render:function(e){return c.createElement(th,{defaultScale:r,doc:e,render:function(n,i){return c.createElement(tf,{currentFile:{data:K.data,name:K.name},defaultScale:r,doc:e,enableSmoothScroll:a,initialPage:p,initialRotation:f,initialScale:i,pageLayout:u,pageSizes:n,plugins:x,renderPage:w,scrollMode:R,setRenderRange:P,viewMode:j,viewerState:{file:K,fullScreenMode:t.HG.Normal,pageIndex:-1,pageHeight:n[0].pageHeight,pageWidth:n[0].pageWidth,pagesRotation:new Map,rotation:f,scale:i,scrollMode:R,viewMode:j},onDocumentLoad:z,onOpenFile:Y,onPageChange:U,onRotate:H,onRotatePage:V,onZoom:J})},scrollMode:R,viewMode:j})},renderError:y,renderLoader:b,renderProtectedView:E,transformGetDocumentParam
vendor: 21,444 bytes, line 1
1s:O,withCredentials:void 0!==A&&A,onDocumentAskPassword:B}))))},t.Worker=function(e){var t=e.children,n=e.workerUrl;return l.GlobalWorkerOptions.workerSrc=n,c.createElement(c.Fragment,null,t)}},8914:(e,t,n)=>{"use strict";let r=n(35226),i=n(73923),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!c.isEncoding(i))throw TypeError("Unknown encoding: "+i);let n=0|m(r,i),a=o(n),l=a.write(r,i);return l!==n&&(a=a.slice(0,l)),a}if(ArrayBuffer.isView(e)){var a=e;if(D(a,Uint8Array)){let e=new Uint8Array(a);return d(e.buffer,e.byteOffset,e.byteLength)}return u(a)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return c.from(l,t,n);let s=function(e){if(c.isBuffer(e)){let t=0|f(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return s(e),o(e<0?0:0|f(e))}function u(e){let t=e.length<0?0:0|f(e.length),n=o(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function d(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),c.prototype),r}function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function m(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(i)return r?-1:B(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=z[e[r]];return i}(this,t,n);case"utf8":case"utf-8":return y(this,t,n);case"ascii":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":var a,o,c;return a=this,o=t,c=n,0===o&&c===a.length?r.fromByteArray(a):r.fromByteArray(a.slice(o,c));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}(this,t,n);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function g(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){var a;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(a=n*=1)!=a&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return x(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function x(e,t,n,r,i){let a,o=1,c=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,c/=2,l/=2,n/=2}function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let r=-1;for(a=n;a<c;a++)if(s(e,a)===s(t,-1===r?0:a-r)){if(-1===r&&(r=a),a-r+1===l)return r*o}else -1!==r&&(a-=a-r),r=-1}else for(n+l>c&&(n=c-l),a=n;a>=0;a--){let n=!0;for(let r=0;r<l;r++)if(s(e,a+r)!==s(t,r)){n=!1;break}if(n)return a}return -1}function y(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,c,l;switch(o){case 1:t<128&&(a=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(a=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:n=e[i+1],r=e[i+2],c=e[i+3],(192&n)==128&&(192&r)==128&&(192&c)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&c)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=o}var a=r;let o=a.length;if(o<=4096)return String.fromCharCode.apply(String,a);let c="",l=0;for(;l<o;)c+=String.fromCharCode.apply(String,a.slice(l,l+=4096));return c}function b(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,a){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function E(e,t,n,r,i){T(t,r,i,e,n,7);let a=Number(t&BigInt(0xffffffff));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function k(e,t,n,r,i){T(t,r,i,e,n,7);let a=Number(t&BigInt(0xffffffff));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}function R(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function S(e,t,n,r,a){return t*=1,n>>>=0,a||R(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function P(e,t,n,r,a){return t*=1,n>>>=0,a||R(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.hp=c,t.IS=50,c.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return(s(e),e<=0)?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)},c.allocUnsafe=function(e){return p(e)},c.allocUnsafeSlow=function(e){return p(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(D(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(D(t,Uint8Array))i+t.length>r.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(c.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},c.byteLength=m,c.prototype._isBuffer=!0,c.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},c.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},c.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):h.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,i){if(D(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,o=n-t,l=Math.min(a,o),s=this.slice(r,i),p=e.slice(t,n);for(let e=0;e<l;++e)if(s[e]!==p[e]){a=s[e],o=p[e];break}return a<o?-1:+(o<a)},c.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){var i,a,o,c,l,s,p,u;if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-t;if((void 0===n||n>d)&&(n=d),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let f=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;let o=t.length;for(r>o/2&&(r=o/2),i=0;i<r;++i){var c;let r=parseInt(t.substr(2*i,2),16);if((c=r)!=c)break;e[n+i]=r}return i}(this,e,t,n);case"utf8":case"utf-8":return i=t,a=n,I(B(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return o=t,c=n,I(function(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,o,c);case"base64":return l=t,s=n,I(F(e),this,l,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p=t,u=n,I(function(e,t){let n,r,i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(e,this.length-p),this,p,u);default:if(f)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),f=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=M(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&A(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),c.prototype.readBigUInt64BE=M(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&A(e,this.length-8);let r=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=M(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&A(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),c.prototype.readBigInt64BE=M(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&A(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n)}),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=M(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=M(function(e,t=0){return k(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/a|0)-o&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a|0)-o&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=M(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=M(function(e,t=0){return k(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},c.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let a=c.isBuffer(e)?e:c.from(e,r),o=a.length;
1if(0===o)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};let O={};function C(e,t,n){O[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function _(e){let t="",n=e.length,r=+("-"===e[0]);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function T(e,t,n,r,i,a){if(e>n||e<t){let r,i="bigint"==typeof t?"n":"";throw r=a>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(a+1)*8}${i}`:`>= -(2${i} ** ${(a+1)*8-1}${i}) and < 2 ** ${(a+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new O.ERR_OUT_OF_RANGE("value",r,e)}j(i,"offset"),(void 0===r[i]||void 0===r[i+a])&&A(i,r.length-(a+1))}function j(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function A(e,t,n){if(Math.floor(e)!==e)throw j(e,n),new O.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new O.ERR_BUFFER_OUT_OF_BOUNDS;throw new O.ERR_OUT_OF_RANGE(n||"offset",`>= ${+!!n} and <= ${t}`,e)}C("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),C("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),C("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=_(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=_(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let L=/[^+/0-9A-Za-z-_]/g;function B(e,t){let n;t=t||1/0;let r=e.length,i=null,a=[];for(let o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function F(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let z=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function M(e){return"undefined"==typeof BigInt?U:e}function U(){throw Error("BigInt not supported")}},16843:(e,t,n)=>{!function(){var t={452:function(e){"use strict";e.exports=n(20655)}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,i),o=!1}finally{o&&delete r[e]}return a.exports}i.ab="//";var a={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function r(e){"string"==typeof e&&(e=v(e));var r,i,a,o,c,l,s,p,u,d=(i=(r=e).auth,a=r.hostname,o=r.protocol||"",c=r.pathname||"",l=r.hash||"",s=r.query||"",p=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",r.host?p=i+r.host:a&&(p=i+(~a.indexOf(":")?"["+a+"]":a),r.port&&(p+=":"+r.port)),s&&"object"==typeof s&&(s=t.encode(s)),u=r.search||s&&"?"+s||"",o&&":"!==o.substr(-1)&&(o+=":"),r.slashes||(!o||n.test(o))&&!1!==p?(p="//"+(p||""),c&&"/"!==c[0]&&(c="/"+c)):p||(p=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),{protocol:o,host:p,pathname:c=c.replace(/[?#]/g,encodeURIComponent),search:u=u.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var o="http://",c=o+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,s=/https?|ftp|gopher|file/;function p(e,t){var n="string"==typeof e?v(e):e;e="object"==typeof e?r(e):e;var i=v(t),a="";n.protocol&&!n.slashes&&(a=n.protocol,e=e.replace(n.protocol,""),a+="/"===t[0]||"/"===e[0]?"/":""),a&&i.protocol&&(a="",i.slashes||(a=i.protocol,t=t.replace(i.protocol,"")));var p=e.match(l);p&&!i.protocol&&(e=e.substr((a=p[1]+(p[2]||"")).length),/^\/\/[^/]/.test(t)&&(a=a.slice(0,-1)));var u=new URL(e,c+"/"),d=new URL(t,u).toString().replace(c,""),f=i.protocol||n.protocol;return f+=n.slashes||i.slashes?"//":"",!a&&f?d=d.replace(o,f):a&&(d=d.replace(o,"")),s.test(d)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),a&&(d=a+("/"===d[0]?d.substr(1):d)),d}function u(){}u.prototype.parse=v,u.prototype.format=r,u.prototype.resolve=p,u.prototype.resolveObject=p;var d=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,m=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,h=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function v(e,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof u)return e;var a=(e=e.trim()).match(f);e=a?a[1].replace(/\\/g,"/")+a[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(m),l=h.test(e),s="";o&&(d.test(o[1])||(s=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(l=!1,d.test(o[1])?(s=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(s=o[1],e="/"+o[3]));var p,v=(a?a[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),x=v&&v[1],y=new u,b="",w="";try{p=new URL(e)}catch(t){b=t,s||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{p=new URL(e,c)}catch(e){return y.protocol=s,y.href=s,y}}y.slashes=l&&!w,y.host="w.w"===p.host?"":p.host,y.hostname="w.w"===p.hostname?"":p.hostname.replace(/(\[|\])/g,""),y.protocol=b?s||null:p.protocol,y.search=p.search.replace(/\\/g,"%5C"),y.hash=p.hash.replace(/\\/g,"%5C");var E=e.split("#");!y.search&&~E[0].indexOf("?")&&(y.search="?"),y.hash||""!==E[1]||(y.hash="#"),y.query=n?t.decode(p.search.substr(1)):y.search.substr(1),y.pathname=w+(o?p.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):p.pathname),"about:"===y.protocol&&"blank"===y.pathname&&(y.protocol="",y.pathname=""),b&&"/"!==e[0]&&(y.pathname=y.pathname.substr(1)),s&&!d.test(s)&&"/"!==e.slice(-1)&&"/"===y.pathname&&(y.pathname=""),y.path=y.pathname+y.search,y.auth=[p.username,p.password].map(decodeURIComponent).filter(
1Boolean).join(":"),y.port=p.port,x&&!y.host.endsWith(x)&&(y.host+=x,y.port=x.slice(1)),y.href=w?""+y.pathname+y.search+y.hash:r(y);var k=/^(file)/.test(y.href)?["host","hostname"]:[];return Object.keys(y).forEach(function(e){~k.indexOf(e)||(y[e]=y[e]||null)}),y}a.parse=v,a.format=r,a.resolve=p,a.resolveObject=function(e,t){return v(p(e,t))},a.Url=u}(),e.exports=a}()},17781:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(55713).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},20655:e=>{!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(n);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var s=0;s<l;++s){var p,u,d,f,m=e[s].replace(o,"%20"),h=m.indexOf(r);(h>=0?(p=m.substr(0,h),u=m.substr(h+1)):(p=m,u=""),d=decodeURIComponent(p),f=decodeURIComponent(u),Object.prototype.hasOwnProperty.call(a,d))?t(a[d])?a[d].push(f):a[d]=[a[d],f]:a[d]=f}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,a,o,c){return(a=a||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e)?r(i(e),function(i){var c=encodeURIComponent(t(i))+o;return n(e[i])?r(e[i],function(e){return c+encodeURIComponent(t(e))}).join(a):c+encodeURIComponent(t(e[i]))}).join(a):c?encodeURIComponent(t(c))+o+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i={};i.decode=i.parse=r(815),i.encode=i.stringify=r(577),e.exports=i}()},31986:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),a=i.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):i===t})}return!0}},35226:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,a=l(e),o=a[0],c=a[1],s=new i((o+c)*3/4-c),p=0,u=c>0?o-4:o;for(n=0;n<u;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],s[p++]=t>>16&255,s[p++]=t>>8&255,s[p++]=255&t;return 2===c&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,s[p++]=255&t),1===c&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,s[p++]=t>>8&255,s[p++]=255&t),s},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],o=0,c=r-i;o<c;o+=16383)a.push(function(e,t,r){for(var i,a=[],o=t;o<r;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}(e,o,o+16383>c?c:o+16383));return 1===i?a.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&a.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),a.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=a.length;o<c;++o)n[o]=a[o],r[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},35752:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>ts});var i,a,o,c={};function l(e,t){return function(){return e.apply(t,arguments)}}n.r(c),n.d(c,{hasBrowserEnv:()=>ed,hasStandardBrowserEnv:()=>em,hasStandardBrowserWebWorkerEnv:()=>eh,navigator:()=>ef,origin:()=>eg});var s=n(37811);let{toString:p}=Object.prototype,{getPrototypeOf:u}=Object,{iterator:d,toStringTag:f}=Symbol,m=(e=>t=>{let n=p.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}
1)(Object.create(null)),h=e=>(e=e.toLowerCase(),t=>m(t)===e),g=e=>t=>typeof t===e,{isArray:v}=Array,x=g("undefined"),y=h("ArrayBuffer"),b=g("string"),w=g("function"),E=g("number"),k=e=>null!==e&&"object"==typeof e,R=e=>{if("object"!==m(e))return!1;let t=u(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(f in e)&&!(d in e)},S=h("Date"),P=h("File"),O=h("Blob"),C=h("FileList"),_=h("URLSearchParams"),[T,j,A,L]=["ReadableStream","Request","Response","Headers"].map(h);function B(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e)if("object"!=typeof e&&(e=[e]),v(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i,a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function F(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=e=>!x(e)&&e!==I,z=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&u(Uint8Array)),M=h("HTMLFormElement"),U=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N=h("RegExp"),H=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};B(n,(n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)}),Object.defineProperties(e,r)},q=h("AsyncFunction"),V=(i="function"==typeof setImmediate,a=w(I.postMessage),i?setImmediate:a?((e,t)=>(I.addEventListener("message",({source:n,data:r})=>{n===I&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),I.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),W="undefined"!=typeof queueMicrotask?queueMicrotask.bind(I):void 0!==s&&s.nextTick||V,$={isArray:v,isArrayBuffer:y,isBuffer:function(e){return null!==e&&!x(e)&&null!==e.constructor&&!x(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||w(e.append)&&("formdata"===(t=m(e))||"object"===t&&w(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&y(e.buffer)},isString:b,isNumber:E,isBoolean:e=>!0===e||!1===e,isObject:k,isPlainObject:R,isReadableStream:T,isRequest:j,isResponse:A,isHeaders:L,isUndefined:x,isDate:S,isFile:P,isBlob:O,isRegExp:N,isFunction:w,isStream:e=>k(e)&&w(e.pipe),isURLSearchParams:_,isTypedArray:z,isFileList:C,forEach:B,merge:function e(){let{caseless:t}=D(this)&&this||{},n={},r=(r,i)=>{let a=t&&F(n,i)||i;R(n[a])&&R(r)?n[a]=e(n[a],r):R(r)?n[a]=e({},r):v(r)?n[a]=r.slice():n[a]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&B(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(B(t,(t,r)=>{n&&w(t)?e[r]=l(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o,c={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!c[o]&&(t[o]=e[o],c[o]=!0);e=!1!==n&&u(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:h,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!E(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n,r=(e&&e[d]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n,r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,n)=>{if(w(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(w(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};
1return(v(e)?e:String(e).split(t)).forEach(e=>{n[e]=!0}),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:F,global:I,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&w(e.append)&&"FormData"===e[f]&&e[d])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(k(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=v(e)?[]:{};return B(e,(e,t)=>{let a=n(e,r+1);x(a)||(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:q,isThenable:e=>e&&(k(e)||w(e))&&w(e.then)&&w(e.catch),setImmediate:V,asap:W,isIterable:e=>null!=e&&w(e[d])};function J(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}$.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});let G=J.prototype,K={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{K[e]={value:e}}),Object.defineProperties(J,K),Object.defineProperty(G,"isAxiosError",{value:!0}),J.from=(e,t,n,r,i,a)=>{let o=Object.create(G);return $.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),J.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};var X=n(8914).hp;function Y(e){return $.isPlainObject(e)||$.isArray(e)}function Z(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,n){return e?e.concat(t).map(function(e,t){return e=Z(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let ee=$.toFlatObject($,{},null,function(e){return/^is[A-Z]/.test(e)}),et=function(e,t,n){if(!$.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!$.isUndefined(t[e])})).metaTokens,i=n.visitor||s,a=n.dots,o=n.indexes,c=(n.Blob||"undefined"!=typeof Blob&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if($.isDate(e))return e.toISOString();if($.isBoolean(e))return e.toString();if(!c&&$.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(e)||$.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):X.from(e):e}function s(e,n,i){let c=e;if(e&&!i&&"object"==typeof e)if($.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var s;if($.isArray(e)&&(s=e,$.isArray(s)&&!s.some(Y))||($.isFileList(e)||$.endsWith(n,"[]"))&&(c=$.toArray(e)))return n=Z(n),c.forEach(function(e,r){$.isUndefined(e)||null===e||t.append(!0===o?Q([n],r,a):null===o?n:n+"[]",l(e))}),!1}return!!Y(e)||(t.append(Q(i,n,a),l(e)),!1)}let p=[],u=Object.assign(ee,{defaultVisitor:s,convertValue:l,isVisitable:Y});if(!$.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!$.isUndefined(n)){if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+r.join("."));p.push(n),$.forEach(n,function(n,a){!0===(!($.isUndefined(n)||null===n)&&i.call(t,n,$.isString(a)?a.trim():a,r,u))&&e(n,r?r.concat(a):[a])}),p.pop()}}(e),t};function en(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function er(e,t){this._pairs=[],e&&et(e,this,t)}let ei=er.prototype;function ea(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eo(e,t,n){let r;if(!t)return e;let i=n&&n.encode||ea;$.isFunction(n)&&(n={serialize:n});let a=n&&n.serialize;if(r=a?a(t,n):$.isURLSearchParams(t)?t.toString():new er(t,n).toString(i)){let t=e.indexOf("#");
1-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}ei.append=function(e,t){this._pairs.push([e,t])},ei.toString=function(e){let t=e?function(t){return e.call(this,t,en)}:en;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ec{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){$.forEach(this.handlers,function(t){null!==t&&e(t)})}}let el={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},es="undefined"!=typeof URLSearchParams?URLSearchParams:er,ep="undefined"!=typeof FormData?FormData:null,eu="undefined"!=typeof Blob?Blob:null,ed="undefined"!=typeof window&&"undefined"!=typeof document,ef="object"==typeof navigator&&navigator||void 0,em=ed&&(!ef||0>["ReactNative","NativeScript","NS"].indexOf(ef.product)),eh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eg=ed&&window.location.href||"http://localhost",ev={...c,isBrowser:!0,classes:{URLSearchParams:es,FormData:ep,Blob:eu},protocols:["http","https","file","blob","url","data"]},ex=function(e){if($.isFormData(e)&&$.isFunction(e.entries)){let t={};return $.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let a=t[i++];if("__proto__"===a)return!0;let o=Number.isFinite(+a),c=i>=t.length;return(a=!a&&$.isArray(r)?r.length:a,c)?$.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n:(r[a]&&$.isObject(r[a])||(r[a]=[]),e(t,n,r[a],i)&&$.isArray(r[a])&&(r[a]=function(e){let t,n,r={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)r[n=i[t]]=e[n];return r}(r[a]))),!o}($.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null},ey={transitional:el,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=$.isObject(e);if(a&&$.isHTMLForm(e)&&(e=new FormData(e)),$.isFormData(e))return i?JSON.stringify(ex(e)):e;if($.isArrayBuffer(e)||$.isBuffer(e)||$.isStream(e)||$.isFile(e)||$.isBlob(e)||$.isReadableStream(e))return e;if($.isArrayBufferView(e))return e.buffer;if($.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1){var o,c;return(o=e,c=this.formSerializer,et(o,new ev.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ev.isNode&&$.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},c))).toString()}if((n=$.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return et(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(a||i){t.setContentType("application/json",!1);var l=e;if($.isString(l))try{return(0,JSON.parse)(l),$.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||ey.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if($.isResponse(e)||$.isReadableStream(e))return e;if(e&&$.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ev.classes.FormData,Blob:ev.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{ey.headers[e]={}});let eb=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ew=e=>{let t,n,r,i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&eb[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i},eE=Symbol("internals");function ek(e){return e&&String(e).trim().toLowerCase()}function eR(e){return!1===e||null==e?e:$.isArray(e)?e.map(eR):String(e)}let eS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eP(e,t,n,r,i){if($.isFunction(r))return r.call(this,t,n);if(i&&(t=n),$.isString(t)){if($.isString(r))return -1!==t.indexOf(r);if($.isRegExp(r))return r.test(t)}}class eO{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=ek(t);if(!i)throw Error("header name must be a non-empty string");let a=$.findKey(r,i);a&&void 0!==r[a]&&!0!==n&&(void 0!==n||!1===r[a])||(r[a||t]=eR(e))}let a=(e,t)=>$.forEach(e,(e,n)=>i(e,n,t));if($.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if($.isString(e)&&(e=e.trim())&&!eS(e))a(ew(e),t);else if($.isObject(e)&&$.isIterable(e)){let n={},r,i;for(let t of e){if(!$.isArray(t))throw TypeError("Object iterator must return a key-value pair");n[i=t[0]]=(r=n[i])?$.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=ek(e)){let n=$.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t){let t,n=Object.create(null),r=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}if($.isFunction(t))return t.call(this,e,n);if($.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ek(e)){let n=$.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eP(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=ek(e)){let i=$.findKey(n,e);i&&(!t||eP(n,n[i],i,t))&&(delete n[i],r=!0)}}return $.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eP(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return $.forEach(this,(r,i)=>{let a=$.findKey(n,i);if(a){t[a]=eR(r),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();o!==i&&delete t[i],t[o]=eR(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return $.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&$.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[eE]=this[eE]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=ek(e);if(!t[r]){let i=$.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(n,t+i,{value:function(n,r,i){return this[t].call(this,e,n,r,i)},configurable:!0})}),t[r]=!0}}return $.isArray(e)?e.forEach(r):r(e),this}}function eC(e,t){let n=this||ey,r=t||n,i=eO.from(r.headers),a=r.data;return $.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function e_(e){return!!(e&&e.__CANCEL__)}function eT(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}function ej(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eO.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(eO.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),$.freezeMethods(eO),$.inherits(eT,J,{__CANCEL__:!0});let eA=function(e,t){let n,r=Array(e=e||10),i=Array(e),a=0,o=0;return t=void 0!==t?t:1e3,function(c){let l=Date.now(),s=i[o];n||(n=l),r[a]=c,i[a]=l;let p=o,u=0;for(;p!==a;)u+=r[p++],p%=e;if((a=(a+1)%e)===o&&(o=(o+1)%e),l-n<t)return;let d=s&&l-s;return d?Math.round(1e3*u/d):void 0}},eL=function(e,t){let n,r,i=0,a=1e3/t,o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),c=t-i;c>=a?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},a-c)))},()=>n&&o(n)]},eB=(e,t,n=3)=>{let r=0,i=eA(50,250);return eL(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,c=a-r,l=i(c);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},eF=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eI=e=>(...t)=>$.asap(()=>e(...t)),eD=ev.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ev.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ev.origin),ev.navigator&&/(msie|trident)/i.test(ev.navigator.userAgent)):()=>!0,ez=ev.hasStandardBrowserEnv?{write(e,t,n,r,i,a){let o=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),$.isString(r)&&o.push("path="+r),$.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eM(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eU=e=>e instanceof eO?{...e}:e;
1function eN(e,t){t=t||{};let n={};function r(e,t,n,r){return $.isPlainObject(e)&&$.isPlainObject(t)?$.merge.call({caseless:r},e,t):$.isPlainObject(t)?$.merge({},t):$.isArray(t)?t.slice():t}function i(e,t,n,i){return $.isUndefined(t)?$.isUndefined(e)?void 0:r(void 0,e,n,i):r(e,t,n,i)}function a(e,t){if(!$.isUndefined(t))return r(void 0,t)}function o(e,t){return $.isUndefined(t)?$.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function c(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(eU(e),eU(t),n,!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(r){let a=l[r]||i,o=a(e[r],t[r],r);$.isUndefined(o)&&a!==c||(n[r]=o)}),n}let eH=e=>{let t,n=eN({},e),{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:c,auth:l}=n;if(n.headers=c=eO.from(c),n.url=eo(eM(n.baseURL,n.url,n.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&c.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),$.isFormData(r)){if(ev.hasStandardBrowserEnv||ev.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(!1!==(t=c.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];c.setContentType([e||"multipart/form-data",...n].join("; "))}}if(ev.hasStandardBrowserEnv&&(i&&$.isFunction(i)&&(i=i(n)),i||!1!==i&&eD(n.url))){let e=a&&o&&ez.read(o);e&&c.set(a,e)}return n},eq="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,a,o,c,l=eH(e),s=l.data,p=eO.from(l.headers).normalize(),{responseType:u,onUploadProgress:d,onDownloadProgress:f}=l;function m(){o&&o(),c&&c(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}let h=new XMLHttpRequest;function g(){if(!h)return;let r=eO.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());ej(function(e){t(e),m()},function(e){n(e),m()},{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(l.method.toUpperCase(),l.url,!0),h.timeout=l.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new J("Request aborted",J.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||el;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new J(t,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,h)),h=null},void 0===s&&p.setContentType(null),"setRequestHeader"in h&&$.forEach(p.toJSON(),function(e,t){h.setRequestHeader(t,e)}),$.isUndefined(l.withCredentials)||(h.withCredentials=!!l.withCredentials),u&&"json"!==u&&(h.responseType=l.responseType),f&&([a,c]=eB(f,!0),h.addEventListener("progress",a)),d&&h.upload&&([i,o]=eB(d),h.upload.addEventListener("progress",i),h.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(r=t=>{h&&(n(!t||t.type?new eT(null,e,h):t),h.abort(),h=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(v&&-1===ev.protocols.indexOf(v))return void n(new J("Unsupported protocol "+v+":",J.ERR_BAD_REQUEST,e));h.send(s||null)})},eV=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,o();let t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new eT(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t),o=()=>
1{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:c}=r;return c.unsubscribe=()=>$.asap(o),c}},eW=function*(e,t){let n,r=e.byteLength;if(!t||r<t)return void(yield e);let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},e$=async function*(e,t){for await(let n of eJ(e))yield*eW(n,t)},eJ=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eG=(e,t,n,r)=>{let i,a=e$(e,t),o=0,c=e=>{!i&&(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await a.next();if(t){c(),e.close();return}let i=r.byteLength;if(n){let e=o+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw c(e),e}},cancel:e=>(c(e),a.return())},{highWaterMark:2})},eK="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,eX=eK&&"function"==typeof ReadableStream,eY=eK&&("function"==typeof TextEncoder?(r=new TextEncoder,e=>r.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),eZ=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},eQ=eX&&eZ(()=>{let e=!1,t=new Request(ev.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e0=eX&&eZ(()=>$.isReadableStream(new Response("").body)),e1={stream:e0&&(e=>e.body)};eK&&(o=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e1[e]||(e1[e]=$.isFunction(o[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));let e2=async e=>{if(null==e)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e)){let t=new Request(ev.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return $.isArrayBufferView(e)||$.isArrayBuffer(e)?e.byteLength:($.isURLSearchParams(e)&&(e+=""),$.isString(e))?(await eY(e)).byteLength:void 0},e5=async(e,t)=>{let n=$.toFiniteNumber(e.getContentLength());return null==n?e2(t):n},e3={http:null,xhr:eq,fetch:eK&&(async e=>{let t,n,{url:r,method:i,data:a,signal:o,cancelToken:c,timeout:l,onDownloadProgress:s,onUploadProgress:p,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:m}=eH(e);u=u?(u+"").toLowerCase():"text";let h=eV([o,c&&c.toAbortSignal()],l),g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});try{if(p&&eQ&&"get"!==i&&"head"!==i&&0!==(n=await e5(d,a))){let e,t=new Request(r,{method:"POST",body:a,duplex:"half"});if($.isFormData(a)&&(e=t.headers.get("content-type"))&&d.setContentType(e),t.body){let[e,r]=eF(n,eB(eI(p)));a=eG(t.body,65536,e,r)}}$.isString(f)||(f=f?"include":"omit");let o="credentials"in Request.prototype;t=new Request(r,{...m,signal:h,method:i.toUpperCase(),headers:d.normalize().toJSON(),body:a,duplex:"half",credentials:o?f:void 0});let c=await fetch(t,m),l=e0&&("stream"===u||"response"===u);if(e0&&(s||l&&g)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});let t=$.toFiniteNumber(c.headers.get("content-length")),[n,r]=s&&eF(t,eB(eI(s),!0))||[];c=new Response(eG(c.body,65536,n,()=>{r&&r(),g&&g()}),e)}u=u||"text";let v=await e1[$.findKey(e1,u)||"text"](c,e);return!l&&g&&g(),await new Promise((n,r)=>{ej(n,r,{data:v,headers:eO.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:t})})}catch(n){if(g&&g(),n&&"TypeError"===n.name&&/Load failed|fetch/i.test(n.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,t),{cause:n.cause||n});throw J.from(n,n&&n.code,e,t)}})};$.forEach(e3,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e4=e=>`- ${e}`,e6=e=>$.isFunction(e)||null===e||!1===e,e8={getAdapter:e=>{let t,n,{length:r}=e=$.isArray(e)?e:[e],i={};for(let a=0;a<r;a++){let r;if(n=t=e[a],!e6(t)&&void 0===(n=e3[(r=String(t)).toLowerCase()]))throw new J(`Unknown adapter '${r}'`);if(n)break;i[r||"#"+a]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(r?e.length>
11?"since :\n"+e.map(e4).join("\n"):" "+e4(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function e9(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eT(null,e)}function e7(e){return e9(e),e.headers=eO.from(e.headers),e.data=eC.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e8.getAdapter(e.adapter||ey.adapter)(e).then(function(t){return e9(e),t.data=eC.call(e,e.transformResponse,t),t.headers=eO.from(t.headers),t},function(t){return!e_(t)&&(e9(e),t&&t.response&&(t.response.data=eC.call(e,e.transformResponse,t.response),t.response.headers=eO.from(t.response.headers))),Promise.reject(t)})}let te="1.10.0",tt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let tn={};tt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+te+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new J(r(i," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!tn[i]&&(tn[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},tt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};let tr={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new J("option "+a+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:tt},ti=tr.validators;class ta{constructor(e){this.defaults=e||{},this.interceptors={request:new ec,response:new ec}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:a,headers:o}=t=eN(this.defaults,t);void 0!==i&&tr.assertOptions(i,{silentJSONParsing:ti.transitional(ti.boolean),forcedJSONParsing:ti.transitional(ti.boolean),clarifyTimeoutError:ti.transitional(ti.boolean)},!1),null!=a&&($.isFunction(a)?t.paramsSerializer={serialize:a}:tr.assertOptions(a,{encode:ti.function,serialize:ti.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tr.assertOptions(t,{baseUrl:ti.spelling("baseURL"),withXsrfToken:ti.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let c=o&&$.merge(o.common,o[t.method]);o&&$.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eO.concat(c,o);let l=[],s=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let p=[];this.interceptors.response.forEach(function(e){p.push(e.fulfilled,e.rejected)});let u=0;if(!s){let e=[e7.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,p),r=e.length,n=Promise.resolve(t);u<r;)n=n.then(e[u++],e[u++]);return n}r=l.length;let d=t;for(u=0;
1u<r;){let e=l[u++],t=l[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{n=e7.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,r=p.length;u<r;)n=n.then(p[u++],p[u++]);return n}getUri(e){return eo(eM((e=eN(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(e){ta.prototype[e]=function(t,n){return this.request(eN(n||{},{method:e,url:t,data:(n||{}).data}))}}),$.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eN(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ta.prototype[e]=t(),ta.prototype[e+"Form"]=t(!0)});class to{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new eT(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new to(function(t){e=t}),cancel:e}}}let tc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tc).forEach(([e,t])=>{tc[t]=e});let tl=function e(t){let n=new ta(t),r=l(ta.prototype.request,n);return $.extend(r,ta.prototype,n,{allOwnKeys:!0}),$.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eN(t,n))},r}(ey);tl.Axios=ta,tl.CanceledError=eT,tl.CancelToken=to,tl.isCancel=e_,tl.VERSION=te,tl.toFormData=et,tl.AxiosError=J,tl.Cancel=tl.CanceledError,tl.all=function(e){return Promise.all(e)},tl.spread=function(e){return function(t){return e.apply(null,t)}},tl.isAxiosError=function(e){return $.isObject(e)&&!0===e.isAxiosError},tl.mergeConfig=eN,tl.AxiosHeaders=eO,tl.formToJSON=e=>ex($.isHTMLForm(e)?new FormData(e):e),tl.getAdapter=e8.getAdapter,tl.HttpStatusCode=tc,tl.default=tl;let ts=tl},73923:(e,t)=>{t.read=function(e,t,n,r,i){var a,o,c=8*i-r-1,l=(1<<c)-1,s=l>>1,p=-7,u=n?i-1:0,d=n?-1:1,f=e[t+u];for(u+=d,a=f&(1<<-p)-1,f>>=-p,p+=c;p>0;a=256*a+e[t+u],u+=d,p-=8);for(o=a&(1<<-p)-1,a>>=-p,p+=r;p>0;o=256*o+e[t+u],u+=d,p-=8);if(0===a)a=1-s;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=s}return(f?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,c,l,s=8*a-i-1,p=(1<<s)-1,u=p>>1,d=5960464477539062e-23*(23===i),f=r?0:a-1,m=r?1:-1,h=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(c=+!!isNaN(t),o=p):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+u>=1?t+=d/l:t+=d*Math.pow(2,1-u),t*l>=2&&(o++,l/=2),o+u>=p?(c=0,o=p):o+u>=1?(c=(t*l-1)*Math.pow(2,i),o+=u):(c=t*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&c,f+=m,c/=256,i-=8);for(o=o<<i|c,s+=i;s>0;e[n+f]=255&o,f+=m,o/=256,s-=8);e[n+f-m]|=128*h}},84338:(e,t,n)=>{"use strict";e.exports=n(4608)},96219:()=>{}}]);
2//# sourceMappingURL=6085.0a30f8e2dc20de61.js.map

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