axe-mcp-server 1.2.1-next.c4e5c114 → 1.2.1-next.ca930708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see vendor.bundle.js.LICENSE.txt */
2
- (this.webpackChunk=this.webpackChunk||[]).push([[121],{21919(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",u="object",l="string",c="model",f="name",p="type",d="vendor",h="version",y="architecture",g="console",m="mobile",v="tablet",b="smarttv",w="wearable",S="embedded",E="Amazon",_="Apple",k="ASUS",x="BlackBerry",O="Browser",I="Chrome",T="Firefox",A="Google",C="Huawei",R="LG",N="Microsoft",P="Motorola",j="Opera",L="Samsung",D="Sharp",M="Sony",U="Xiaomi",F="Zebra",$="Facebook",z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===l&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},G=function(e,t){for(var n,r,o,s,l,c,f=0;f<t.length&&!l;){var p=t[f],d=t[f+1];for(n=r=0;n<p.length&&!l;)if(l=p[n++].exec(e))for(o=0;o<d.length;o++)c=l[++r],typeof(s=d[o])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):i:this[s[0]]=c?s[1].call(this,c,s[2]):i:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):i):this[s]=c||i;f+=2}},W=function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e))return"?"===n?i:n}else if(B(t[n],e))return"?"===n?i:n;return e},V={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,j+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[f,j]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+O],h],[/\bfocus\/([\w\.]+)/i],[h,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[f,j+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[f,j+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[f,"MIUI "+O]],[/fxios\/([-\w\.]+)/i],[h,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+O]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+O],h],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,$],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,I+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,h],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,q]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,L],[p,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,L],[p,m]],[/((ipod|iphone)\d+,\d+)/i],[c,[d,_],[p,m]],[/(ipad\d+,\d+)/i],[c,[d,_],[p,v]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[d,_],[p,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,_],[p,v]],[/(macintosh);/i],[c,[d,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,C],[p,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,C],[p,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[d,U],[p,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,U],[p,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[p,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[p,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[p,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[d,P],[p,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,P],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,R],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,R],[p,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[p,m]],[/(pixel c)\b/i],[c,[d,A],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,A],[p,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,M],[p,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,M],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[p,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,E],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,E],[p,m]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,x],[p,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,k],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,k],[p,m]],[/(nexus 9)/i],[c,[d,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[p,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[p,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,D],[p,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[p,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,c,[p,v]],[/(surface duo)/i],[c,[d,N],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[p,m]],[/(u304aa)/i],[c,[d,"AT&T"],[p,m]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[p,m]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[p,v]],[/\b(k88) b/i],[c,[d,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[p,m]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[p,m]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[p,v]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[p,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[p,m]],[/\b(ph-1) /i],[c,[d,"Essential"],[p,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[p,v]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[p,v]],[/(sprint) (\w+)/i],[d,c,[p,m]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,N],[p,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,F],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,F],[p,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[p,g]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[c,[d,M],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,N],[p,g]],[/smart-tv.+(samsung)/i],[d,[p,b]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,L],[p,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,R],[p,b]],[/(apple) ?tv/i],[d,[c,_+" TV"],[p,b]],[/crkey/i],[[c,I+"cast"],[d,A],[p,b]],[/droid.+aft(\w)( bui|\))/i],[c,[d,E],[p,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,D],[p,b]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,M],[p,b]],[/(mitv-\w{5}) bui/i],[c,[d,U],[p,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,H],[c,H],[p,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,b]],[/((pebble))app/i],[d,c,[p,w]],[/droid.+; (glass) \d/i],[c,[d,A],[p,w]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,F],[p,w]],[/(quest( 2)?)/i],[c,[d,$],[p,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[p,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[p,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,m]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[f,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[h,W,V]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[h,W,V]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,h],[/\(bb(10);/i],[h,[f,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[f,I+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[f,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[f,h]]},K=function(e,t){if(typeof e===u&&(t=e,e=i),!(this instanceof K))return new K(e,t).getResult();var n=e||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(X,t):X;return this.getBrowser=function(){var e,t={};return t[f]=i,t[h]=i,G.call(t,n,r.browser),t.major=typeof(e=t.version)===l?e.replace(/[^\d\.]/g,"").split(".")[0]:i,t},this.getCPU=function(){var e={};return e[y]=i,G.call(e,n,r.cpu),e},this.getDevice=function(){var e={};return e[d]=i,e[c]=i,e[p]=i,G.call(e,n,r.device),e},this.getEngine=function(){var e={};return e[f]=i,e[h]=i,G.call(e,n,r.engine),e},this.getOS=function(){var e={};return e[f]=i,e[h]=i,G.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===l&&e.length>350?H(e,350):e,this},this.setUA(n),this};K.VERSION="0.7.33",K.BROWSER=z([f,h,"major"]),K.CPU=z([y]),K.DEVICE=z([c,d,p,g,m,b,v,w,S]),K.ENGINE=K.OS=z([f,h]),typeof t!==s?(e.exports&&(t=e.exports=K),t.UAParser=K):n.amdO?(r=function(){return K}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=K);var Y=typeof o!==s&&(o.jQuery||o.Zepto);if(Y&&!Y.ua){var Q=new K;Y.ua=Q.getResult(),Y.ua.get=function(){return Q.getUA()},Y.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)Y.ua[n]=t[n]}}}(window)},76551(e,t,n){"use strict";n.d(t,{datadogLogs:()=>Io});const r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},o=console,i={};Object.keys(r).forEach(e=>{i[e]=o[e]});const a="Datadog Browser SDK:",s={debug:i.debug.bind(o,a),log:i.log.bind(o,a),info:i.info.bind(o,a),warn:i.warn.bind(o,a),error:i.error.bind(o,a)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`,c="More details:";function f(e,t){return(...n)=>{try{return e(...n)}catch(e){s.error(t,e)}}}let p,d=!1;function h(e){d=e}function y(e){return function(...t){return g(e,this,t)}}function g(e,t,n){try{return e.apply(t,n)}catch(e){m(e)}}function m(e){if(v(e),p)try{p(e)}catch(e){v(e)}}function v(...e){d&&s.error("[MONITOR]",...e)}function b(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:window),e}const w=b(),S="WorkerGlobalScope"in w;function E(e){const t=w.queueMicrotask;"function"==typeof t?t(y(e)):Promise.resolve().then(y(e))}class _{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function k(...e){return new _(t=>{const n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}class x extends _{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;const n={unsubscribe:()=>{t=!0,this.removeObserver(e)}};return E(()=>{for(const n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),n}unbuffer(){E(()=>{this.maxBufferSize=this.buffer.length=0})}}const O={GRANTED:"granted",NOT_GRANTED:"not-granted"};new Map;function I(e,t){const n=b();let r;return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function T(e,t){return I(b(),"setTimeout")(y(e),t)}function A(e){I(b(),"clearTimeout")(e)}function C(e,t){return I(b(),"setInterval")(y(e),t)}function R(e){I(b(),"clearInterval")(e)}function N(){}function P(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function j(e){return"object"===P(e)}const L="?";function D(e){var t,n;const r=[];let o=G(e,"stack");const i=String(e);if(o&&o.startsWith(i)&&(o=o.slice(i.length)),o&&o.split("\n").forEach(e=>{const t=function(e){const t=F.exec(e);if(!t)return;const n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=$.exec(t[2]);r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){const t=z.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:t[3]?+t[3]:void 0,url:t[2]}}(e)||function(e){const t=B.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:+t[3],url:t[2]}}(e)||function(e){const t=q.exec(e);if(!t)return;const n=t[3]&&t[3].indexOf(" > eval")>-1,r=H.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||L,line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func=L),r.push(t))}),r.length>0&&function(){if(void 0!==K)return K;class e extends Error{constructor(){super(),this.name="Error"}}const[t,n]=[e,Error].map(e=>new e);return K=X(Object.getPrototypeOf(t))&&n.stack!==t.stack,K}()&&e instanceof Error){const o=[];let i=e;for(;(i=Object.getPrototypeOf(i))&&X(i);){const e=(null===(t=i.constructor)||void 0===t?void 0:t.name)||L;o.push(e)}for(let e=o.length-1;e>=0&&(null===(n=r[0])||void 0===n?void 0:n.func)===o[e];e--)r.shift()}return{message:G(e,"message"),name:G(e,"name"),stack:r}}const M="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",U="(?::(\\d+))",F=new RegExp(`^\\s*at (.*?) ?\\(${M}${U}?${U}?\\)?\\s*$`,"i"),$=new RegExp(`\\((\\S*)${U}${U}\\)`);const z=new RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${M}${U}?${U}??\\s*$`,"i");const B=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;const q=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,H=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function G(e,t){return j(e)&&"string"==typeof e[t]?e[t]:void 0}function W(e,t,n,r){if(void 0===t)return;const{name:o,message:i}=function(e){let t,n;"[object String]"==={}.toString.call(e)&&([,t,n]=V.exec(e));return{name:t,message:n}}(e);return{name:o,message:i,stack:[{url:t,column:r,line:n}]}}const V=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function X(e){return String(e.constructor).startsWith("class ")}let K;function Y(e){const t=new Error(e);let n;return t.name="HandlingStack",g(()=>{const e=D(t);e.stack=e.stack.slice(2),n=Q(e)}),n}function Q(e){let t=J(e);return e.stack.forEach(e=>{const n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",o=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=`\n at ${n}${r} @ ${e.url}${o}${i}`}),t}function J(e){return`${e.name||"Error"}: ${e.message}`}function Z(e,t,n,{computeHandlingStack:r}={}){let o=e[t];if("function"!=typeof o){if(!(t in e)||"string"!=typeof t||!t.startsWith("on"))return{stop:N};o=N}let i=!1;const a=function(){if(i)return o.apply(this,arguments);const e=Array.from(arguments);let t;g(n,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:r?Y("instrumented method"):void 0}]);const a=o.apply(this,e);return t&&g(t,null,[a]),a};return e[t]=a,{stop:()=>{i=!0,e[t]===a&&(e[t]=o)}}}const ee=1e3,te=6e4,ne=31536e6;function re(){return(new Date).getTime()}function oe(){return re()}function ie(){return performance.now()}function ae(){return{relative:ie(),timeStamp:oe()}}function se(e,t){return t-e}function ue(e,t){return e+t}function le(e){return e-fe()}let ce;function fe(){var e,t;return void 0===ce&&(ce=null!==(t=null===(e=performance.timing)||void 0===e?void 0:e.navigationStart)&&void 0!==t?t:performance.timeOrigin),ce}const pe=/[^\u0000-\u007F]/;function de(e){return pe.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length}function he(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);const r=ye(Object.prototype),o=ye(Array.prototype),i=ye(Object.getPrototypeOf(e)),a=ye(e);try{return JSON.stringify(e,t,n)}catch(e){return"<error: unable to serialize object>"}finally{r(),o(),i(),a()}}function ye(e){const t=e,n=t.toJSON;return n?(delete t.toJSON,()=>{t.toJSON=n}):N}function ge(e,t=225280){const n=ye(Object.prototype),r=ye(Array.prototype),o=[],i=new WeakMap,a=me(e,"$",void 0,o,i),s=JSON.stringify(a);let u=s?s.length:0;if(!(u>t)){for(;o.length>0&&u<t;){const n=o.shift();let r=0;if(Array.isArray(n.source))for(let a=0;a<n.source.length;a++){const s=me(n.source[a],n.path,a,o,i);if(u+=void 0!==s?JSON.stringify(s).length:4,u+=r,r=1,u>t){be(t,"truncated",e);break}n.target[a]=s}else for(const a in n.source)if(Object.prototype.hasOwnProperty.call(n.source,a)){const s=me(n.source[a],n.path,a,o,i);if(void 0!==s&&(u+=JSON.stringify(s).length+r+a.length+3,r=1),u>t){be(t,"truncated",e);break}n.target[a]=s}}return n(),r(),a}be(t,"discarded",e)}function me(e,t,n,r,o){const i=function(e){const t=e;if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(e){}return e}(e);if(!i||"object"!=typeof i)return function(e){if("bigint"==typeof e)return`[BigInt] ${e.toString()}`;if("function"==typeof e)return`[Function] ${e.name||"unknown"}`;if("symbol"==typeof e)return`[Symbol] ${e.description||e.toString()}`;return e}(i);const a=ve(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;const s=e;if(o.has(s))return`[Reference seen at ${o.get(s)}]`;const u=void 0!==n?`${t}.${n}`:t,l=Array.isArray(i)?[]:{};return o.set(s,u),r.push({source:i,target:l,path:u}),l}function ve(e){try{if(e instanceof Event)return function(e){return{type:e.type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?ve(e.currentTarget):null,target:e.target?ve(e.target):null}}(e);if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;const t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return`[${t[1]}]`}catch(e){}return"[Unserializable]"}function be(e,t,n){s.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}const we="No stack, consider using an instance of Error";function Se({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:o}){const i=Oe(e);return!t&&i&&(t=D(e)),{source:n,type:t?t.name:void 0,message:_e(t,i,o,e),stack:t?Q(t):r?we:void 0}}function Ee({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:o,nonErrorPrefix:i,useFallbackStack:a=!0,source:s,handling:u}){return{startClocks:o,handling:u,handlingStack:n,componentStack:r,originalError:t,...Se({originalError:t,stackTrace:e,source:s,useFallbackStack:a,nonErrorPrefix:i}),causes:Oe(t)?Ie(t,s):void 0,fingerprint:ke(t),context:xe(t)}}function _e(e,t,n,r){return(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:t?"Empty message":n?`${n} ${he(ge(r))}`:he(ge(r))}function ke(e){return Oe(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function xe(e){if(j(e))return e.dd_context}function Oe(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function Ie(e,t){const n=[];let r=e.cause;for(;null!=r&&n.length<10;){const e=Se({originalError:r,source:t,useFallbackStack:!1});n.push(e),r=Oe(r)?r.cause:void 0}return n.length?n:void 0}const Te="agent",Ae="console",Ce="logger",Re="network",Ne="source",Pe="report";function je(){return new _(e=>{const t=(t,n)=>{const r=Ee({stackTrace:n,originalError:t,startClocks:ae(),nonErrorPrefix:"Uncaught",source:Ne,handling:"unhandled"});e.notify(r)},{stop:n}=(r=t,Z(b(),"onerror",({parameters:[e,t,n,o,i]})=>{let a;Oe(i)||(a=W(e,t,n,o)),r(null!=i?i:e,a)}));var r;const{stop:o}=function(e){return Z(b(),"onunhandledrejection",({parameters:[t]})=>{e(t.reason||"Empty reason")})}(t);return()=>{n(),o()}})}function Le(e){return{...e}}function De(e,t){return Object.keys(e).some(n=>e[n]===t)}function Me(e){return 0===Object.keys(e).length}var Ue;!function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",e.FEATURE_OPERATION_VITAL="feature_operation_vital",e.START_STOP_ACTION="start_stop_action",e.START_STOP_RESOURCE="start_stop_resource",e.USE_CHANGE_RECORDS="use_change_records",e.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",e.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",e.TRACK_RESOURCE_HEADERS="track_resource_headers"}(Ue||(Ue={}));const Fe=new Set;function $e(e){Array.isArray(e)&&e.filter(e=>De(Ue,e)).forEach(e=>{Fe.add(e)})}function ze(){return Fe}function Be(e){const{env:t,service:n,version:r,datacenter:o,sdkVersion:i,variant:a}=e,s=[qe("sdk_version",null!=i?i:"6.33.0")];return t&&s.push(qe("env",t)),n&&s.push(qe("service",n)),r&&s.push(qe("version",r)),o&&s.push(qe("datacenter",o)),a&&s.push(qe("variant",a)),s}function qe(e,t){const n=t?`${e}:${t}`:e;return(n.length>200||function(e){if(!function(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}())return!1;return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(e)}(n))&&s.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${c} ${u}/getting_started/tagging/#defining-tags`),He(n)}function He(e){return e.replace(/,/g,"_")}const Ge="datad0g.com",We="dd0g-gov.com",Ve="datadoghq.com",Xe="pci.browser-intake-datadoghq.com",Ke=["ddsource","dd-api-key","dd-request-id"];function Ye(e,t){const n=w.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function Qe(e){return 0!==e&&100*Math.random()<=e}function Je(e,t,n=function(){if("undefined"!=typeof WeakSet){const e=new WeakSet;return{hasAlreadyBeenSeen(t){const n=e.has(t);return n||e.add(t),n}}}const e=[];return{hasAlreadyBeenSeen(t){const n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){const r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=Je(r[e],t[e],n);return r}const r="object"===P(e)?e:{};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=Je(r[e],t[e],n));return r}function Ze(e){return Je(void 0,e)}function et(...e){let t;for(const n of e)null!=n&&(t=Je(t,n));return t}function tt(){var e;const t=w.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}function nt(){const e=b().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){const o=r?{id:r}:void 0;e.send(JSON.stringify({eventType:t,event:n,view:o}))}}}function rt(e){var t;void 0===e&&(e=null===(t=b().location)||void 0===t?void 0:t.hostname);const n=nt();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function ot(e){return Object.values(e)}function it(e,t,n,r,o){return at(e,t,[n],r,o)}function at(e,t,n,r,{once:o,capture:i,passive:a}={}){const s=y(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(o&&f(),r(t))}),u=a?{capture:i,passive:a}:i,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=I(l,"addEventListener");function f(){const e=I(l,"removeEventListener");n.forEach(n=>e.call(t,n,s,u))}return n.forEach(e=>c.call(t,e,s,u)),{stop:f}}const st={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function ut(e){return new _(t=>{if(S)return;const{stop:n}=at(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:st.HIDDEN}):"freeze"===e.type&&t.notify({reason:st.FROZEN})},{capture:!0}),r=it(e,window,"beforeunload",()=>{t.notify({reason:st.UNLOADING})}).stop;return()=>{n(),r()}})}const lt=262144;function ct({encoder:e,request:t,flushController:n}){let r={};const o=n.flushObservable.subscribe(n=>function(n){const o=ot(r).join("\n");r={};const i=(s=n.reason,ot(st).includes(s)),a=i?t.sendOnExit:t.send;var s;if(i&&e.isAsync){const t=e.finishSync();t.outputBytesCount&&a(ft(t));const n=[t.pendingData,o].filter(Boolean).join("\n");n&&a({data:n,bytesCount:de(n)})}else o&&e.write(e.isEmpty?o:`\n${o}`),e.finish(e=>{a(ft(e))})}(n));function i(t,o){const i=he(t),a=e.estimateEncodedBytesCount(i);a>=lt?s.warn(`Discarded a message whose size was bigger than the maximum allowed size 256KiB. ${c} ${l}/#technical-limitations`):(function(e){return void 0!==e&&void 0!==r[e]}(o)&&function(t){const o=r[t];delete r[t];const i=e.estimateEncodedBytesCount(o);n.notifyAfterRemoveMessage(i)}(o),function(t,o,i){n.notifyBeforeAddMessage(o),void 0!==i?(r[i]=t,n.notifyAfterAddMessage()):e.write(e.isEmpty?t:`\n${t}`,e=>{n.notifyAfterAddMessage(e-o)})}(i,a,o))}return{flushController:n,add:i,upsert:i,stop:o.unsubscribe}}function ft(e){let t;return t="string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}function pt(e){return e>=500}const dt=20971520,ht=ee;function yt(e,t,n,r,o,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?mt(e,t,n,i,{onSuccess:()=>vt(0,t,n,r,o,i),onFailure:()=>{t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),gt(t,n,r,o,i)}}):t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function gt(e,t,n,r,o){2===e.transportStatus&&T(()=>{mt(e.queuedPayloads.first(),e,t,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=ht,vt(1,e,t,n,r,o)},onFailure:()=>{e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),gt(e,t,n,r,o)}})},e.currentBackoffTime)}function mt(e,t,n,r,{onSuccess:o,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||pt(e.status))}(n)?(t.transportStatus=0,r.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},r.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function vt(e,t,n,r,o,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:`Reached max ${r} events size queued for upload: 20MiB`,source:Te,startClocks:ae()}),t.queueFullReported=!0);const a=t.queuedPayloads;for(t.queuedPayloads=bt();a.size()>0;)yt(a.dequeue(),t,n,r,o,i)}function bt(){const e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){const t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=dt}}}const wt=16384;function St(e,t,n=16384){const r=new _,o={transportStatus:0,currentBackoffTime:ht,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:bt(),queueFullReported:!1};return{observable:r,send:n=>{for(const i of e)yt(n,o,(e,t)=>{kt(i,e,t)},i.trackType,t,r)},sendOnExit:t=>{for(const r of e)Et(r,n,t)}}}function Et(e,t,n){if(!!navigator.sendBeacon&&n.bytesCount<t)try{const t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){!function(e){_t||(_t=!0,m(e))}(e)}kt(e,n)}let _t=!1;function kt(e,t,n){const r=e.build("fetch",t);var o,i;(o=r,i={method:"POST",body:t.data,mode:"cors"},I(b(),"fetch")(o,i)).then(y(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(y(()=>null==n?void 0:n({status:0})))}const xt=S?1:50;function Ot({pageMayExitObservable:e,sessionExpireObservable:t}){let n;const r=new _,o=e.subscribe(e=>{n=e.reason;try{r.notify(e.reason)}finally{n=void 0}c(e.reason)}),i=t.subscribe(()=>c("session_expire")),a=new _(()=>()=>{o.unsubscribe(),i.unsubscribe()});let s,u=0,l=0;function c(e){if(0===l)return;const t=l,n=u;l=0,u=0,f(),a.notify({reason:e,messagesCount:t,bytesCount:n})}function f(){A(s),s=void 0}return{flushObservable:a,preparePageExitFlushObservable:r,get messagesCount(){return l},notifyBeforeAddMessage(e){u+e>=wt&&c(null!=n?n:"bytes_limit"),l+=1,u+=e,void 0===s&&(s=T(()=>{c("duration_limit")},3e4))},notifyAfterAddMessage(e=0){u+=e,l>=xt?c(null!=n?n:"messages_limit"):u>=wt&&c(null!=n?n:"bytes_limit")},notifyAfterRemoveMessage(e){u-=e,l-=1,0===l&&f()}}}function It(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){const o=de(n);t+=o,e+=n,r&&r(o)},finish(e){e(this.finishSync())},finishSync(){const n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}const Tt="DISCARDED",At="SKIPPED";const Ct="log",Rt="configuration",Nt="usage";const Pt=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],jt=["ddog-gov.com","us2.ddog-gov.com"];let Lt;function Dt(){return Lt||(Lt=new x(100)),Lt}function Mt(e,t,n){const r=new _,{enabled:o,metricsEnabled:i}=function(e,t,n,r,o=1,i=15){const a={},s=!jt.includes(t.site)&&Qe(t.telemetrySampleRate),u={[Ct]:s,[Rt]:s&&Qe(t.telemetryConfigurationSampleRate),[Nt]:s&&Qe(t.telemetryUsageSampleRate),metric:s&&Qe(o)},l={is_local_file:"file:"===(null===(f=w.location)||void 0===f?void 0:f.protocol),is_worker:S},c=Dt();var f;return c.subscribe(({rawEvent:t,metricName:o})=>{if(o&&!u.metric||!u[t.type])return;const s=o||t.status||t.type;let c=a[s];if(c||(c=a[s]=new Set),c.size>=i)return;const f=he(t);if(c.has(f))return;const p=n.triggerHook(1,{startTime:ae().relative});if(p===Tt)return;const h=d(p,e,t,l);r.notify(h),Ye("telemetry",h),c.add(f)}),c.unbuffer(),function(e){p=e}(Ft),{enabled:s,metricsEnabled:u.metric};function d(e,n,r,o){const i={type:"telemetry",date:ae().timeStamp,service:n,version:"6.33.0",source:"browser",_dd:{format_version:2},telemetry:et(r,{runtime_env:o,connectivity:tt(),sdk_setup:"npm"}),ddtags:Be(t).join(","),experimental_features:Array.from(ze())};return et(i,e)}}(e,t,n,r),{stop:a}=function(e,t){const n=[];if(rt()){const e=nt(),r=t.subscribe(t=>e.send("internal_telemetry",t));n.push(r.unsubscribe)}else{const r=[e.rumEndpointBuilder];e.replica&&function(e){return e.site===Ge}(e)&&r.push(e.replica.rumEndpointBuilder);const o=ct({encoder:It(),request:St(r,N),flushController:Ot({pageMayExitObservable:ut(e),sessionExpireObservable:new _})});n.push(o.stop);const i=t.subscribe(o.add);n.push(i.unsubscribe)}return{stop:()=>n.forEach(e=>e())}}(t,r);return{stop:a,enabled:o,metricsEnabled:i}}function Ut(e,t){v(r.debug,e,t),Dt().notify({rawEvent:{type:Ct,message:e,status:"debug",...t}})}function Ft(e,t){Dt().notify({rawEvent:{type:Ct,status:"error",...zt(e),...t}})}function $t(e){Dt().notify({rawEvent:{type:Nt,usage:e}})}function zt(e){if(Oe(e)){const t=D(e);return{error:{kind:t.name,stack:Q(Bt(t))},message:t.message}}return{error:{stack:we},message:`Uncaught ${he(e)}`}}function Bt(e){return e.stack=e.stack.filter(e=>!e.url||Pt.some(t=>e.url.startsWith(t))),e}function qt(e,t,n,r){return y((...o)=>(r&&$t({feature:r}),e()[t][n](...o)))}function Ht(e,t,n){e.changeObservable.subscribe(()=>{const r=e.getContext();n.add(e=>e[t].setContext(r))})}const Gt="userContext",Wt="globalContext",Vt="accountContext",Xt="getContext",Kt="setContext",Yt="setContextProperty",Qt="removeContextProperty",Jt="clearContext";function Zt(e,t){t.silentMultipleInit||s.error(`${e} is already initialized.`)}function en(e,t,n){const r={...e};for(const[e,{required:o,type:i}]of Object.entries(t))"string"!==i||tn(r[e])||(r[e]=String(r[e])),o&&tn(r[e])&&s.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function tn(e){return null==e||""===e}function nn(e="",{propertiesConfig:t={}}={}){let n={};const r=new _,o={getContext:()=>Ze(n),setContext:i=>{!function(e){const t="object"===P(e);return t||s.error("Unsupported context:",e),t}(i)?o.clearContext():n=ge(en(i,t,e)),r.notify()},setContextProperty:(o,i)=>{n=ge(en({...n,[o]:i},t,e)),r.notify()},removeContextProperty:o=>{delete n[o],en(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return o}function rn(e,t,n){const r=n.getHandler(),o=Array.isArray(r)?r:[r];return an[e]>=an[n.getLevel()]&&o.includes(t)}const on={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},an={[on.ok]:0,[on.debug]:1,[on.info]:2,[on.notice]:4,[on.warn]:5,[on.error]:6,[on.critical]:7,[on.alert]:8,[on.emerg]:9};function sn(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}var un=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const ln="console",cn="http",fn=Object.keys(on);class pn{constructor(e,t,n=cn,r=on.debug,o={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=nn("logger"),this.tags=[],this.contextManager.setContext(o),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=on.info,r,o){const i=ge(t);let a;if(null!=r){const e=Ee({originalError:r,nonErrorPrefix:"Provided",source:Ce,handling:"handled",startClocks:ae()});a=et({error:sn(e,{includeMessage:!0})},e.context,i)}else a=i;this.handleLogStrategy({message:ge(e),context:a,status:n},this,o)}log(e,t,n=on.info,r){let o;rn(n,cn,this)&&(o=Y("log")),this.logImplementation(e,t,n,r,o)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}addTag(e,t){this.tags.push(qe(e,t))}removeTagsWithKey(e){const t=He(e);this.tags=this.tags.filter(e=>e!==t&&!e.startsWith(`${t}:`))}getTags(){return this.tags.slice()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function dn(e){return function(t,n,r){let o;rn(e,cn,this)&&(o=Y("log")),this.logImplementation(t,n,e,r,o)}}function hn(){return S?{}:{view:{referrer:document.referrer,url:window.location.href}}}function yn(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,yn)}un([function(e,t,n){const r=n.value;n.value=function(...e){return(p?y(r):r).apply(this,e)}}],pn.prototype,"logImplementation",null),pn.prototype.ok=dn(on.ok),pn.prototype.debug=dn(on.debug),pn.prototype.info=dn(on.info),pn.prototype.notice=dn(on.notice),pn.prototype.warn=dn(on.warn),pn.prototype.error=dn(on.error),pn.prototype.critical=dn(on.critical),pn.prototype.alert=dn(on.alert),pn.prototype.emerg=dn(on.emerg);const gn=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function mn(e,t,n=""){const r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:`${e.slice(0,o)}${n}`}function vn(e){return bn(e,location.href).href}function bn(e,t){const{URL:n}=function(){var e;if(!wn){let t,n;try{t=document.createElement("iframe"),t.style.display="none",document.body.appendChild(t),n=null!==(e=t.contentWindow)&&void 0!==e?e:w}catch(e){n=w}wn={URL:n.URL},null==t||t.remove()}return wn}();try{return void 0!==t?new n(e,t):new n(e)}catch(e){throw new Error(`Failed to construct URL: ${String(e)}`)}}let wn,Sn,En;function _n(e,t,n=0,r){const o=new Date;o.setTime(o.getTime()+n);const i=`expires=${o.toUTCString()}`,a=r&&r.crossSite?"none":"strict",s=r&&r.domain?`;domain=${r.domain}`:"",u=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${a}${s}${u}${l}`}function kn(e){return function(e,t){for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;if(n[1]===t)return n[2]}}(document.cookie,e)}function xn(e){return function(e){const t=new Map;for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;{const e=n[1],r=n[2];t.has(e)?t.get(e).push(r):t.set(e,[r])}}return t}(document.cookie).get(e)||[]}function On(e){return Sn||(Sn=function(e){const t=new Map;for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;t.set(n[1],n[2])}return t}(document.cookie)),Sn.get(e)}function In(e,t){_n(e,"",0,t)}function Tn(e=location.hostname,t=document.referrer){if(void 0===En){const n=function(e,t){try{return e||bn(t).hostname}catch(e){}}(e,t);if(n){const e=`dd_site_test_${yn()}`,t="test",r=n.split(".");let o=r.pop();for(;r.length&&!kn(e);)o=`${r.pop()}.${o}`,_n(e,t,ee,{domain:o});In(e,{domain:o}),En=o}}return En}const An="datadog-synthetics-",Cn=`${An}public-id`,Rn=`${An}result-id`,Nn=`${An}injects-rum`,Pn=`${An}rum-context`;function jn(){return!S&&Boolean(w._DATADOG_SYNTHETICS_INJECTS_RUM||On(Nn))}function Ln(){const e=function(){const e=w._DATADOG_SYNTHETICS_RUM_CONTEXT;if(e)return e;const t=On(Pn);if(t)return function(e){try{return JSON.parse(e)}catch(e){}}(decodeURIComponent(t));return{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||On(Cn),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||On(Rn)}}();return"object"==typeof(t=e)&&null!==t&&"string"==typeof t.test_id&&"string"==typeof t.result_id?e:void 0;var t}function Dn(){return Boolean(Ln())}const Mn="_dd_c",Un=[];function Fn(e,t,n,r){const o=function(e,t){return`${Mn}_${e}_${t}`}(n,r);Un.push(it(e,window,"storage",({key:e})=>{o===e&&t.setContext(a())})),t.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(t.getContext()))});const i=et(a(),t.getContext());function a(){const e=localStorage.getItem(o);return e?JSON.parse(e):{}}Me(i)||t.setContext(i)}function $n(){return nn("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function zn(){return nn("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function Bn(){return nn("global context")}const qn="_dd_tab_id";let Hn;function Gn(e){const t=function(){var e;Hn||(Hn=null!==(e=function(){try{const e=sessionStorage.getItem(qn);if(e)return e;const t=yn();return sessionStorage.setItem(qn,t),t}catch(e){return}}())&&void 0!==e?e:yn());return Hn}();e.register(0,()=>({tab:{id:t}}))}function Wn(e,t){const n=e.indexOf(t);n>=0&&e.splice(n,1)}const Vn=1/0;let Xn;const Kn=new Set;function Yn({expireDelay:e,maxEntries:t}){let n=[];Xn||(Xn=C(()=>{Kn.forEach(e=>e())},6e4));const r=()=>{const t=ie()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return Kn.add(r),{add:function(e,r){const o={value:e,startTime:r,endTime:Vn,remove:()=>{Wn(n,o)},close:e=>{o.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(o),o},find:function(e=Infinity,t={returnInactive:!1}){for(const r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){const t=n[0];t&&t.endTime===Vn&&t.close(e)},findAll:function(e=Infinity,t=0){const r=ue(e,t);return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},getEntries:function(e){return n.filter(t=>t.startTime===e)},reset:function(){n=[]},stop:function(){Kn.delete(r),0===Kn.size&&Xn&&(R(Xn),Xn=void 0)}}}const Qn=144e5,Jn=9e5,Zn=ne,er="cookie",tr="memory",nr="local-storage";let rr;function or(){return null!=rr?rr:rr=function(e=window){var t;const n=e.navigator.userAgent;if(e.chrome||/HeadlessChrome/.test(n))return 0;if(0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 1;return 2}()}const ir="_dd_s",ar=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function sr(e,t){const n={isExpired:"1"};return t.trackAnonymousUser&&(null==e?void 0:e.anonymousId)&&(n.anonymousId=null==e?void 0:e.anonymousId),n}function ur(e){return Me(e)}function lr(e){return!ur(e)}function cr(e){return void 0!==e.isExpired||!((void 0===(t=e).created||re()-Number(t.created)<Qn)&&(void 0===t.expire||re()<Number(t.expire)));var t}function fr(e){e.expire=String(re()+Jn)}function pr(e){return(t=e,Object.entries(t)).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&");var t}function dr(e){const t={};return function(e){return!!e&&(-1!==e.indexOf("&")||ar.test(e))}(e)&&e.split("&").forEach(e=>{const n=ar.exec(e);if(null!==n){const[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function hr(e){const t=function(e){const t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){const e=Tn();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{const t=`dd_cookie_test_${yn()}`,n="test";_n(t,n,te,e);const r=kn(t)===n;return In(t,e),r}catch(e){return s.error(e),!1}}(t)?{type:er,cookieOptions:t}:void 0}function yr(e,t){const n={isLockEnabled:0===or(),persistSession:n=>gr(t,e,n,Jn),retrieveSession:()=>mr(t,e),expireSession:n=>gr(t,e,sr(n,e),Qn)};return function(e){if(!On(ir)){const t=On("_dd"),n=On("_dd_r"),r=On("_dd_l"),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o.logs=r),n&&/^[012]$/.test(n)&&(o.rum=n),lr(o)&&(fr(o),e.persistSession(o))}}(n),n}function gr(e,t,n,r){let o=pr(n);t.betaEncodeCookieOptions&&(o=pr({...n,...Me(n)?{}:{c:vr(e)}})),_n(ir,o,t.trackAnonymousUser?Zn:r,e)}function mr(e,t){if(t.betaEncodeCookieOptions)return function(e){const t=xn(ir),n=vr(e);let r;for(const e of t.reverse())if(r=dr(e),r.c===n)break;return null==r||delete r.c,null!=r?r:{}}(e);return dr(kn(ir))}function vr(e){let t=0;return t|=0,t|=(e.domain?e.domain.split(".").length-1:0)<<1,t|=e.crossSite?1:0,t.toString(16)}function br(e){return{isLockEnabled:!1,persistSession:wr,retrieveSession:Sr,expireSession:t=>function(e,t){wr(sr(e,t))}(t,e)}}function wr(e){localStorage.setItem(ir,pr(e))}function Sr(){return dr(localStorage.getItem(ir))}const Er="--",_r=[];let kr;function xr(e,t,n=0){var r;const{isLockEnabled:o,persistSession:i,expireSession:a}=t,s=e=>i({...e,lock:l}),u=()=>{const{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!Tr(e)?e:void 0}};if(kr||(kr=e),e!==kr)return void _r.push(e);if(o&&n>=100)return void Ir(t);let l,c=u();if(o){if(c.lock)return void Or(e,t,n);if(l=yn()+Er+oe(),s(c.session),c=u(),c.lock!==l)return void Or(e,t,n)}let f=e.process(c.session);if(o&&(c=u(),c.lock!==l))Or(e,t,n);else{if(f&&(cr(f)?a(f):(fr(f),o?s(f):i(f))),o&&(!f||!cr(f))){if(c=u(),c.lock!==l)return void Or(e,t,n);i(c.session),f=c.session}null===(r=e.after)||void 0===r||r.call(e,f||c.session),Ir(t)}}function Or(e,t,n){T(()=>{xr(e,t,n+1)},10)}function Ir(e){kr=void 0;const t=_r.shift();t&&xr(t,e)}function Tr(e){const[,t]=e.split(Er);return!t||se(Number(t),oe())>1e3}const Ar="_DD_SESSION";function Cr(e){return{expireSession:t=>function(e,t){Nr(sr(e,t))}(t,e),isLockEnabled:!1,persistSession:Nr,retrieveSession:Rr}}function Rr(){const e=b();return e[Ar]||(e[Ar]={}),Le(e[Ar])}function Nr(e){b()[Ar]=Le(e)}const Pr=ee;function jr(e){const{sessionPersistence:t}=e,n=function(e,t){if(Array.isArray(e))return e;if(void 0!==e)return[e];return t.allowFallbackToLocalStorage?[er,nr]:[er]}(t,e);for(const t of n){const n=Lr(t,e);if(void 0!==n)return n}}function Lr(e,t){switch(e){case er:return hr(t);case nr:return function(){try{const e=yn(),t=`_dd_test_${e}`;localStorage.setItem(t,e);const n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:nr}:void 0}catch(e){return}}();case tr:return{type:tr};default:return void s.error(`Invalid session persistence '${String(e)}'`)}}function Dr(e,t,n,r,o=function(e,t){return e.type===er?yr(t,e.cookieOptions):e.type===nr?br(t):Cr(t)}(e,t)){const i=new _,a=new _,s=new _,u=C(function(){const e=o.retrieveSession();cr(e)?xr({process:e=>cr(e)?sr(e,t):void 0,after:p},o):p(e)},Pr);let l;d();const{throttled:c,cancel:f}=function(e,t,n){const r=!n||void 0===n.leading||n.leading,o=!n||void 0===n.trailing||n.trailing;let i,a,s=!1;return{throttled:(...n)=>{s?i=n:(r?e(...n):i=n,s=!0,a=T(()=>{o&&i&&e(...i),s=!1,i=void 0},t))},cancel:()=>{A(a),s=!1,i=void 0}}}(()=>{xr({process:e=>{if(ur(e))return;const o=p(e);return function(e){if(ur(e))return!1;const o=r(e[n]);e[n]=o,delete e.isExpired,"0"===o||e.id||(e.id=yn(),e.created=String(re()));t.trackAnonymousUser&&!e.anonymousId&&(e.anonymousId=yn())}(o),o},after:e=>{lr(e)&&!h()&&function(e){l=e,i.notify()}(e),l=e}},o)},Pr);function p(e){return cr(e)&&(e=sr(e,t)),h()&&(!function(e){return l.id!==e.id||l[n]!==e[n]}(e)?(s.notify({previousState:l,newState:e}),l=e):(l=sr(l,t),a.notify())),e}function d(){xr({process:e=>{if(ur(e))return e.anonymousId=yn(),sr(e,t)},after:e=>{l=e}},o)}function h(){return void 0!==(null==l?void 0:l[n])}return{expandOrRenewSession:c,expandSession:function(){xr({process:e=>h()?p(e):void 0},o)},getSession:()=>l,renewObservable:i,expireObservable:a,sessionStateUpdateObservable:s,restartSession:d,expire:e=>{f(),!1===e&&l&&delete l.anonymousId,o.expireSession(l),p(sr(l,t))},stop:()=>{R(u)},updateSessionState:function(e){xr({process:t=>({...t,...e}),after:p},o)}}}const Mr=te,Ur=Qn;let Fr=[];function $r(e,t,n,r){const o=new _,i=new _,a=Dr(e.sessionStoreStrategyType,e,t,n);Fr.push(()=>a.stop());const s=Yn({expireDelay:Ur});function u(){const n=a.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(async function(e){const t=e.sessionStoreStrategyType;if(!t)return;let n,r;t.type===er?(n=mr(t.cookieOptions,e),r={cookie:await zr(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=Sr();Ut("Unexpected session state",{sessionStoreStrategyType:t.type,session:n,isSyntheticsTest:Dn(),createdTimestamp:null==n?void 0:n.created,expireTimestamp:null==n?void 0:n.expire,...r})}(e).catch(()=>{}),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return Fr.push(()=>s.stop()),a.renewObservable.subscribe(()=>{s.add(u(),ie()),o.notify()}),a.expireObservable.subscribe(()=>{i.notify(),s.closeActive(ie())}),a.expandOrRenewSession(),s.add(u(),[0,fe()][0]),r.observable.subscribe(()=>{r.isGranted()?a.expandOrRenewSession():a.expire(!1)}),function(e,t){const{stop:n}=at(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});Fr.push(n)}(e,()=>{r.isGranted()&&a.expandOrRenewSession()}),function(e,t){const n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=it(e,document,"visibilitychange",n);Fr.push(r);const o=C(n,Mr);Fr.push(()=>{R(o)})}(e,()=>a.expandSession()),function(e,t){const{stop:n}=it(e,window,"resume",t,{capture:!0});Fr.push(n)}(e,()=>a.restartSession()),{findSession:(e,t)=>s.find(e,t),renewObservable:o,expireObservable:i,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}async function zr(){let e;return e="cookieStore"in window?await window.cookieStore.getAll(ir):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(ir)),{count:e.length,domain:Tn()||"undefined",...e}}function Br(e,t){return"0"===(n=t)||"1"===n?t:Qe(e.sessionSampleRate)?"1":"0";var n}function qr(e,t,n,r,o,i){const a=fn.concat(["custom"]),s={};a.forEach(e=>{s[e]=function(e,t,n=3e3){let r=0,o=!1;return{isLimitReached(){if(0===r&&T(()=>{r=0},te),r+=1,r<=n||o)return o=!1,!1;if(r===n+1){o=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:Te,startClocks:ae()})}finally{o=!1}}return!0}}}(e,o,i)}),t.subscribe(0,({rawLogsEvent:o,messageContext:i,savedCommonContext:a,domainContext:u,ddtags:l=[]})=>{var c,f;const p=le(o.date),d=a||r(),h=n.triggerHook(0,{startTime:p});if(h===Tt)return;const y=Be(e),g=et({view:d.view},h,o,i,{ddtags:y.concat(l).join(",")});!1===(null===(c=e.beforeSend)||void 0===c?void 0:c.call(e,g,u))||g.origin!==Te&&(null!==(f=s[g.status])&&void 0!==f?f:s.custom).isLimitReached()||t.notify(1,g)})}let Hr={};function Gr(e){return k(...e.map(e=>(Hr[e]||(Hr[e]=function(e){return new _(t=>{const n=o[e];return o[e]=(...o)=>{n.apply(console,o);const i=Y("console error");g(()=>{t.notify(function(e,t,n){const o=e.map(e=>function(e){if("string"==typeof e)return ge(e);if(Oe(e))return J(D(e));return he(ge(e),void 0,2)}(e)).join(" ");if(t===r.error){const r=Ee({originalError:e.find(Oe),handlingStack:n,startClocks:ae(),source:Ae,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return r.message=o,{api:t,message:o,handlingStack:n,error:r}}return{api:t,message:o,error:void 0,handlingStack:n}}(o,e,i))})},()=>{o[e]=n}})}(e)),Hr[e])))}const Wr={[r.log]:on.info,[r.debug]:on.debug,[r.info]:on.info,[r.warn]:on.warn,[r.error]:on.error};const Vr={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Xr(e,t){const n=[];t.includes(Vr.cspViolation)&&n.push(function(e){return new _(t=>{const{stop:n}=it(e,document,"securitypolicyviolation",e=>{t.notify(function(e){const t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return Kr({type:e.effectiveDirective,message:`${Vr.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:Yr(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${mn(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))});return n})}(e));const r=t.filter(e=>e!==Vr.cspViolation);return r.length&&n.push(function(e){return new _(t=>{if(!window.ReportingObserver)return;const n=y((e,n)=>e.forEach(e=>t.notify(function(e){const{type:t,body:n}=e;return Kr({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:Yr(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(e)))),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),()=>{r.disconnect()}})}(r)),k(...n)}function Kr(e){return{startClocks:ae(),source:Pe,handling:"unhandled",...e}}function Yr(e,t,n,r,o){return n?Q({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}let Qr;const Jr=new WeakMap;function Zr(e){return Qr||(Qr=function(e){return new _(t=>{const{stop:n}=Z(XMLHttpRequest.prototype,"open",eo),{stop:r}=Z(XMLHttpRequest.prototype,"send",n=>{!function({target:e,parameters:[t],handlingStack:n},r,o){const i=Jr.get(e);if(!i)return;const a=i;a.state="start",a.startClocks=ae(),a.isAborted=!1,a.xhr=e,a.handlingStack=n,a.requestBody=t;let s=!1;const{stop:u}=Z(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&l()}),l=()=>{if(c(),u(),s)return;s=!0;const t=i;t.state="complete",t.duration=se(a.startClocks.timeStamp,oe()),t.status=e.status,"string"==typeof e.response&&(t.responseBody=e.response),o.notify(Le(t))},{stop:c}=it(r,e,"loadend",l);o.notify(a)}(n,e,t)},{computeHandlingStack:!0}),{stop:o}=Z(XMLHttpRequest.prototype,"abort",to);return()=>{n(),r(),o()}})}(e)),Qr}function eo({target:e,parameters:[t,n]}){Jr.set(e,{state:"open",method:String(t).toUpperCase(),url:vn(String(n))})}function to({target:e}){const t=Jr.get(e);t&&(t.isAborted=!0)}const no={FETCH:"fetch",XHR:"xhr"};async function ro(e,t){const n=e.getReader(),r=[];for(;;){const e=await n.read();if(e.done)break;t.collectStreamBody&&r.push(e.value)}return n.cancel().catch(N),t.collectStreamBody?function(e){if(1===e.length)return e[0];const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r):void 0}let oo;const io=[];function ao({responseBodyAction:e}={}){return e&&io.push(e),oo||(oo=new _(e=>{if(!w.fetch)return;const{stop:t}=Z(w,"fetch",t=>function({parameters:e,onPostCall:t,handlingStack:n},r){var o,i;const[a,s]=e;let u=s&&s.method;void 0===u&&a instanceof Request&&(u=a.method);const l=void 0!==u?String(u).toUpperCase():"GET",c=a instanceof Request?a.url:vn(String(a)),f=ae(),p={state:"start",init:s,input:a,method:l,startClocks:f,url:c,handlingStack:n,isAbortedOnStart:a instanceof Request&&(null===(o=a.signal)||void 0===o?void 0:o.aborted)||(null===(i=null==s?void 0:s.signal)||void 0===i?void 0:i.aborted)||!1};r.notify(p),e[0]=p.input,e[1]=p.init,t(e=>{(async function(e,t,n){var r,o;const i=n;let a;i.state="resolve";try{a=await t}catch(t){return i.status=0,i.isAborted=(null===(o=null===(r=i.init)||void 0===r?void 0:r.signal)||void 0===o?void 0:o.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,i.error=t,void e.notify(i)}i.response=a,i.status=a.status,i.responseType=a.type,i.isAborted=!1;const s=io.reduce((e,t)=>Math.max(e,t(i)),0);if(0!==s){const e=function(e){try{return e.clone()}catch(e){return}}(a);if(e&&e.body)try{const t=await ro(e.body,{collectStreamBody:2===s});i.responseBody=t&&(new TextDecoder).decode(t)}catch(e){}}e.notify(i)})(r,e,p).catch(m)})}(t,e),{computeHandlingStack:!0});return t})),oo}function so(e,t,n){const r=function(e,t){const n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){const e=vn(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});const o=function(e,t){const{site:n=Ve,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===Ve)return Xe;if(r&&n===Ve)return`${r}.${Ve}`;if(n===We)return`http-intake.logs.${n}`;const o=n.split("."),i=o.pop();return`browser-intake-${o.join("-")}.${i}`}(t,e);return e=>`https://${o}${n}?${e}`}(e,t);return{build(o,i){const a=function({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},r,o,{retry:i,encoding:a},s=[]){const u=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.33.0")}`,"dd-evp-origin=browser",`dd-request-id=${yn()}`].concat(s);a&&u.push(`dd-evp-encoding=${a}`);"rum"===r&&(u.push(`batch_time=${oe()}`,`_dd.api=${o}`),i&&u.push(`_dd.retry_count=${i.count}`,`_dd.retry_after=${i.lastFailureStatus}`));t&&u.reverse();return u.join("&")}(e,t,o,i,n);return r(a)},trackType:t}}function uo(e){const t=e.site||Ve,n=function(e){if("flutter"===e||"unity"===e)return e;return"browser"}(e.source),r=function(e){return{logsEndpointBuilder:so(e,"logs"),rumEndpointBuilder:so(e,"rum"),profilingEndpointBuilder:so(e,"profile"),sessionReplayEndpointBuilder:so(e,"replay"),exposuresEndpointBuilder:so(e,"exposures"),flagEvaluationEndpointBuilder:so(e,"flagevaluation")}}({...e,site:t,source:n}),o=function(e){if(!e.replica)return;const t={...e,site:Ve,clientToken:e.replica.clientToken};return{logsEndpointBuilder:so(t,"logs"),rumEndpointBuilder:so(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:t,source:n});return{replica:o,site:t,source:n,...r}}function lo(e,t){if(!e.forwardErrorsToLogs)return{stop:N};const n=(S?new _:Zr(e)).subscribe(e=>{"complete"===e.state&&i(no.XHR,e)}),r=ao({responseBodyAction:e=>o(e)?2:0}).subscribe(e=>{"resolve"===e.state&&i(no.FETCH,e)});function o(e){return t=e.url,!Ke.every(e=>t.includes(e))&&(function(e){return 0===e.status&&"opaque"!==e.responseType}(e)||pt(e.status));var t}function i(n,r){if(!o(r))return;const i="error"in r&&r.error?Q(D(r.error)):r.responseBody||"Failed to load",a={isAborted:r.isAborted,handlingStack:r.handlingStack};t.notify(0,{rawLogsEvent:{message:`${co(n)} error ${r.method} ${r.url}`,date:r.startClocks.timeStamp,error:{stack:mn(i,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:on.error,origin:Re},domainContext:a})}return{stop:()=>{n.unsubscribe(),r.unsubscribe()}}}function co(e){return no.XHR===e?"XHR":"Fetch"}const fo=class{constructor(){this.callbacks={}}notify(e,t){const n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}};function po(e){return{handleLog:function(t,n,r,a,s){const u=et(n.getContext(),t.context);if(rn(t.status,ln,n)&&function({status:e,message:t},n){i[ho[e]].call(o,t,n)}(t,u),rn(t.status,cn,n)){const o={rawLogsEvent:{date:s||oe(),message:t.message,status:t.status,origin:Ce},messageContext:u,savedCommonContext:a,ddtags:n.getTags()};r&&(o.domainContext={handlingStack:r}),e.notify(0,o)}}}}const ho={[on.ok]:r.debug,[on.debug]:r.debug,[on.info]:r.info,[on.notice]:r.info,[on.warn]:r.warn,[on.error]:r.error,[on.critical]:r.error,[on.alert]:r.error,[on.emerg]:r.error};const yo="logs";function go(e,t,n,r,o){const i=new fo,a=[];i.subscribe(1,e=>Ye("logs",e));const s=function(e){return t=>{e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Te,status:on.error}}),Ut("Error reported to customer",{"error.message":t.message})}}(i),u=ut(e),l=!e.sessionStoreStrategyType||rt()||jn()?function(e){const t="1"===Br(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new _}}(e):function(e,t){const n=$r(e,"logs",t=>Br(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{const r=n.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:n.expireObservable}}(e,n);!function(e,t){function n(){return t.isGranted()?At:Tt}e.register(0,n),e.register(1,n)}(o,n),function(e,t,n){e.register(0,({startTime:e})=>{const r=n.findTrackedSession(e);return n.findTrackedSession(e,{returnInactive:!0})?{service:t.service,session_id:r?r.id:void 0,session:r?{id:r.id}:void 0}:Tt}),e.register(1,({startTime:e})=>{const t=n.findTrackedSession(e);return t&&t.id?{session:{id:t.id}}:At})}(o,e,l);const c=function(e,t,n){const r=$n();return t.storeContextsAcrossPages&&Fn(t,r,n,4),e.register(0,()=>{const e=r.getContext();return Me(e)||!e.id?At:{account:e}}),r}(o,e,yo),f=function(e,t,n,r){const o=zn();return t.storeContextsAcrossPages&&Fn(t,o,r,1),e.register(0,({eventType:e,startTime:r})=>{const i=o.getContext(),a=n.findTrackedSession(r);return a&&a.anonymousId&&!i.anonymous_id&&t.trackAnonymousUser&&(i.anonymous_id=a.anonymousId),Me(i)?At:{type:e,usr:i}}),e.register(1,({startTime:e})=>{var t;return{anonymous_id:null===(t=n.findTrackedSession(e))||void 0===t?void 0:t.anonymousId}}),o}(o,e,l,yo),p=function(e,t,n,r){const o=Bn();return t.storeContextsAcrossPages&&Fn(t,o,n,2),e.register(0,()=>{const e=o.getContext();return r?{context:e}:e}),o}(o,e,yo,!1);!function(e){const t=w;function n(e){const n=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,jn()?t.DD_RUM_SYNTHETICS:t.DD_RUM);if(n)return n}e.register(0,({startTime:e})=>n(e)||At),e.register(1,({startTime:e})=>{var t,r;const o=n(e);return o?{application:{id:o.application_id},view:{id:null===(t=o.view)||void 0===t?void 0:t.id},action:{id:null===(r=o.user_action)||void 0===r?void 0:r.id}}:At})}(o),Gn(o),lo(e,i),function(e,t,n){if(!e.forwardErrorsToLogs)return{stop:N};const r=n.subscribe(e=>{if(0===e.type){const n=e.error;t.notify(0,{rawLogsEvent:{message:n.message,date:n.startClocks.timeStamp,error:sn(n),origin:Ne,status:on.error},messageContext:n.context})}})}(e,i,r),r.unbuffer(),function(e,t){const n=Gr(e.forwardConsoleLogs).subscribe(e=>{var n;const r={rawLogsEvent:{date:oe(),message:e.message,origin:Ae,error:e.error&&sn(e.error),status:Wr[e.api]},messageContext:null===(n=e.error)||void 0===n?void 0:n.context,domainContext:{handlingStack:e.handlingStack}};t.notify(0,r)})}(e,i),function(e,t){const n=Xr(e,e.forwardReports).subscribe(e=>{let n,r=e.message;const o="deprecation"===e.originalError.type?on.warn:on.error;var i,a;o===on.error?n=sn(e):e.stack&&(r+=` Found in ${i=e.stack,null===(a=/@ (.+)/.exec(i))||void 0===a?void 0:a[1]}`),t.notify(0,{rawLogsEvent:{date:oe(),message:r,origin:Pe,error:n,status:o}})})}(e,i);const{handleLog:d}=po(i);if(qr(e,i,o,t,s),rt())!function(e){const t=nt();e.subscribe(1,e=>{t.send("log",e)})}(i);else{const{stop:t}=function(e,t,n,r,o){const i=[e.logsEndpointBuilder];e.replica&&i.push(e.replica.logsEndpointBuilder);const a=ct({encoder:It(),request:St(i,n),flushController:Ot({pageMayExitObservable:r,sessionExpireObservable:o.expireObservable})});return t.subscribe(1,e=>{a.add(e)}),a}(e,i,s,u,l);a.push(()=>t())}var h;return{handleLog:d,getInternalContext:(h=l,{get:e=>{const t=h.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,accountContext:c,globalContext:p,userContext:f,stop:()=>{a.forEach(e=>e())}}}const mo=function(){const e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){const r=e[t]||[],o=[];for(const e of r){const t=e(n);if(t===Tt)return Tt;t!==At&&o.push(t)}return et(...o)}}};const vo=["chrome-extension://","moz-extension://"];function bo(e){return vo.some(t=>e.includes(t))}function wo(e,t){const n=b().location,r=n?n.origin:"",o=e.allowedTrackingOrigins;if(!o)return!function(e,t=""){return!bo(e)&&bo(t.split("\n").filter(e=>{const t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(r,t)||(s.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);const i=function(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.lastIndex=0,e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){s.error(e)}return!1})}(o,r);return i||s.error("SDK initialized on a non-allowed domain."),i}function So(e,t){return null==e||"string"==typeof e||(s.error(`${t} must be defined as a string`),!1)}function Eo(e,t){return!!(void 0===e||(n=e,function(e){return"number"==typeof e}(n)&&n>=0&&n<=100))||(s.error(`${t} Sample Rate should be a number between 0 and 100`),!1);var n}function _o(e,t){var n,r,o,i,a,l,p,d,h,y;if(e&&e.clientToken)if(void 0===e.allowedTrackingOrigins||Array.isArray(e.allowedTrackingOrigins)){if((!(g=e.site)||"string"!=typeof g||/(datadog|ddog|datad0g|dd0g)/.test(g)||(s.error(`Site should be a valid Datadog site. ${c} ${u}/getting_started/site/.`),0))&&Eo(e.sessionSampleRate,"Session")&&Eo(e.telemetrySampleRate,"Telemetry")&&Eo(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&Eo(e.telemetryUsageSampleRate,"Telemetry Usage")&&So(e.version,"Version")&&So(e.env,"Env")&&So(e.service,"Service")&&wo(e,null!=t?t:"")){var g;if(void 0===e.trackingConsent||De(O,e.trackingConsent))return{beforeSend:e.beforeSend&&f(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:S?void 0:jr(e),sessionSampleRate:null!==(n=e.sessionSampleRate)&&void 0!==n?n:100,telemetrySampleRate:null!==(r=e.telemetrySampleRate)&&void 0!==r?r:20,telemetryConfigurationSampleRate:null!==(o=e.telemetryConfigurationSampleRate)&&void 0!==o?o:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:null!==(a=e.service)&&void 0!==a?a:void 0,env:null!==(l=e.env)&&void 0!==l?l:void 0,version:null!==(p=e.version)&&void 0!==p?p:void 0,datacenter:null!==(d=e.datacenter)&&void 0!==d?d:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(h=e.trackingConsent)&&void 0!==h?h:O.GRANTED,trackAnonymousUser:null===(y=e.trackAnonymousUser)||void 0===y||y,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...uo(e)};s.error('Tracking Consent should be either "granted" or "not-granted"')}}else s.error("Allowed Tracking Origins must be an array");else s.error("Client Token is not configured, we will not send any data.")}function ko(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(e=>t.includes(e))?"all"===e?t:function(e){const t=new Set;return e.forEach(e=>t.add(e)),Array.from(t)}(e):void s.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`)}function xo(e){const t={session_sample_rate:(n=e).sessionSampleRate,telemetry_sample_rate:n.telemetrySampleRate,telemetry_configuration_sample_rate:n.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:n.telemetryUsageSampleRate,use_before_send:!!n.beforeSend,use_partitioned_cross_site_session_cookie:n.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:n.useSecureSessionCookie,use_proxy:!!n.proxy,silent_multiple_init:n.silentMultipleInit,track_session_across_subdomains:n.trackSessionAcrossSubdomains,track_anonymous_user:n.trackAnonymousUser,session_persistence:Array.isArray(n.sessionPersistence)?n.sessionPersistence[0]:n.sessionPersistence,allow_fallback_to_local_storage:!!n.allowFallbackToLocalStorage,store_contexts_across_pages:!!n.storeContextsAcrossPages,allow_untrusted_events:!!n.allowUntrustedEvents,tracking_consent:n.trackingConsent,use_allowed_tracking_origins:Array.isArray(n.allowedTrackingOrigins),beta_encode_cookie_options:n.betaEncodeCookieOptions,source:n.source,sdk_version:n.sdkVersion,variant:n.variant};var n;return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}function Oo(e,t,n){const o=function(){const e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{Wn(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}(),i=Bn();Ht(i,Wt,o);const a=$n();Ht(a,Vt,o);const u=zn();let l,c;Ht(u,Gt,o);const f=mo(),p=t.observable.subscribe(d);function d(){if(!c||!l||!t.isGranted())return;Mt("browser-logs-sdk",c,f),p.unsubscribe();const e=n(l,c,f);o.drain(e)}return{init(e,n){if(!e)return void s.error("Missing configuration");if($e(e.enableExperimentalFeatures),rt()&&(e=function(e){return{...e,clientToken:"empty"}}(e)),l=e,function(e){Dt().notify({rawEvent:{type:Rt,configuration:e}})}(xo(e)),c)return void Zt("DD_LOGS",e);const o=function(e,t){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&s.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");const n=_o(e,t),o=ko(e.forwardConsoleLogs,ot(r),"Forward Console Logs"),i=ko(e.forwardReports,ot(Vr),"Forward Reports");if(n&&o&&i)return e.forwardErrorsToLogs&&!o.includes(r.error)&&o.push(r.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:o,forwardReports:i,requestErrorResponseLengthLimit:32768,...n}}(e,n);o&&(c=o,ao().subscribe(N),t.tryToInit(o.trackingConsent),d())},get initConfiguration(){return l},globalContext:i,accountContext:a,userContext:u,getInternalContext:N,handleLog(t,n,r,i=e(),a=oe()){o.add(e=>e.handleLog(t,n,r,i,a))}}}const Io=function(){const e=function(e){const t=new _;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===O.GRANTED,observable:t}}(),t=function(){const e=new x(500),t=je().subscribe(t=>{e.notify({type:0,error:t})});return{observable:e,stop:()=>{t.unsubscribe()}}}().observable;let n=Oo(hn,e,(r,o,i)=>{const a=go(o,hn,e,t,i);return n=function(e,t){return{init:e=>{Zt("DD_LOGS",e)},initConfiguration:e,...t}}(r,a),a});const r=()=>n,o={};return function(e){const t={version:"6.33.0",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>h,enumerable:!1}),t}({logger:new pn((...e)=>n.handleLog(...e)),init:e=>{const t=(new Error).stack;g(()=>n.init(e,t))},setTrackingConsent:y(t=>{e.update(t),$t({feature:"set-tracking-consent",tracking_consent:t})}),getGlobalContext:qt(r,Wt,Xt),setGlobalContext:qt(r,Wt,Kt),setGlobalContextProperty:qt(r,Wt,Yt),removeGlobalContextProperty:qt(r,Wt,Qt),clearGlobalContext:qt(r,Wt,Jt),createLogger:y((e,t={})=>(o[e]=new pn((...e)=>n.handleLog(...e),ge(e),t.handler,t.level,ge(t.context)),o[e])),getLogger:y(e=>o[e]),getInitConfiguration:y(()=>Ze(n.initConfiguration)),getInternalContext:y(e=>n.getInternalContext(e)),setUser:qt(r,Gt,Kt),getUser:qt(r,Gt,Xt),setUserProperty:qt(r,Gt,Yt),removeUserProperty:qt(r,Gt,Qt),clearUser:qt(r,Gt,Jt),setAccount:qt(r,Vt,Kt),getAccount:qt(r,Vt,Xt),setAccountProperty:qt(r,Vt,Yt),removeAccountProperty:qt(r,Vt,Qt),clearAccount:qt(r,Vt,Jt)})}();!function(e,t,n){const r=e[t];r&&!r.q&&r.version&&s.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>f(e,"onReady callback threw an error:")())}(b(),"DD_LOGS",Io)},92891(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taxIdTypes=t.countryCodeToName=t.stringToNumber=t.getFormattedAmount=t.calculateDiscountPercentage=t.formatTaxDescription=t.formatCurrency=t.roundCurrency=t.formatPrices=void 0;const n=new Intl.NumberFormat([],{minimumFractionDigits:2,maximumFractionDigits:2});function r(e){if(null!=e)return n.format(e)}function o(e){return e<.5?.5:Math.round(100*e)/100}function i(e){if("string"!=typeof e)throw new Error(`Invalid string: ${e}`);const t=Number(e.replace(/,/g,""));if(Number.isNaN(t))throw new Error(`Invalid number: ${e}`);return t}t.formatPrices=r,t.roundCurrency=o,t.formatCurrency=function(e){let t=e;if("string"==typeof t&&(t=i(t)),Number.isNaN(t))throw new Error(`Invalid currency value: ${t}. Must be a number or a string - received ${typeof t}.`);return i(n.format(t))},t.formatTaxDescription=function(e){if("object"!=typeof e)throw new Error("Invalid tax rate: must be an expanded object.");const{display_name:t,percentage:n,jurisdiction:r}=e;return`${t} - ${r} (${n}%)`},t.calculateDiscountPercentage=function(e,t){return o(e-e*t/100)},t.getFormattedAmount=function(e){const t=e.toString().padStart(2,"0"),n=`${t.slice(0,t.length-2)}.${t.slice(t.length-2)}`;return`${e<0?"-$":"$"}${r(parseFloat(n))?.replace("-","")||"0.00"}`},t.stringToNumber=i,t.countryCodeToName=function(e){return new Intl.DisplayNames([],{type:"region"}).of(e)},t.taxIdTypes=[{country:"Australia",countryCode:"AU",type:"au_abn",description:"Australian Business Number (AU ABN)",placeholder:"12345678912"},{country:"Australia",countryCode:"AU",type:"au_arn",description:"Australian Taxation Office Reference Number",placeholder:"123456789123"},{country:"Brazil",countryCode:"BR",type:"br_cnpj",description:"Brazilian CNPJ number",placeholder:"01.234.456/5432-10"},{country:"Brazil",countryCode:"BR",type:"br_cpf",description:"Brazilian CPF number",placeholder:"123.456.789-87"},{country:"Bulgaria",countryCode:"BG",type:"bg_uic",description:"Bulgaria Unified Identification Code",placeholder:"123456789"},{country:"Canada",countryCode:"CA",type:"ca_bn",description:"Canadian BN",placeholder:"123456789"},{country:"Canada",countryCode:"CA",type:"ca_gst_hst",description:"Canadian GST/HST number",placeholder:"123456789RT0002"},{country:"Canada",countryCode:"CA",type:"ca_pst_bc",description:"Canadian PST number (British Columbia)",placeholder:"PST-1234-5678"},{country:"Canada",countryCode:"CA",type:"ca_pst_mb",description:"Canadian PST number (Manitoba)",placeholder:"123456-7"},{country:"Canada",countryCode:"CA",type:"ca_pst_sk",description:"Canadian PST number (Saskatchewan)",placeholder:"1234567"},{country:"Canada",countryCode:"CA",type:"ca_qst",description:"Canadian QST number (Québec)",placeholder:"1234567890TQ1234"},{country:"Chile",countryCode:"CL",type:"cl_tin",description:"Chilean TIN",placeholder:"12.345.678-K"},{country:"Egypt",countryCode:"EG",type:"eg_tin",description:"Egyptian Tax Identification Number",placeholder:"123456789"},{country:"EU",countryCode:"EU",type:"eu_oss_vat",description:"European One Stop Shop VAT number for non-Union scheme",placeholder:"EU123456789"},{country:"EU VAT",countryCode:"EU",type:"eu_vat",description:"European VAT number",placeholder:"EU123456789"},{country:"Georgia",countryCode:"GE",type:"ge_vat",description:"Georgian VAT",placeholder:"123456789"},{country:"Hong Kong",countryCode:"HK",type:"hk_br",description:"Hong Kong BR number",placeholder:"12345678"},{country:"Hungary",countryCode:"HU",type:"hu_tin",description:"Hungary tax number (adószám)",placeholder:"12345678-1-23"},{country:"Iceland",countryCode:"IS",type:"is_vat",description:"Icelandic VAT",placeholder:"123456"},{country:"India",countryCode:"IN",type:"in_gst",description:"Indian GST number",placeholder:"12ABCDE3456FGZH"},{country:"Indonesia",countryCode:"ID",type:"id_npwp",description:"Indonesian NPWP number",placeholder:"12.345.678.9-012.345"},{country:"Israel",countryCode:"IL",type:"il_vat",description:"Israel VAT",placeholder:"12345"},{country:"Japan",countryCode:"JP",type:"jp_cn",description:"Japanese Corporate Number",placeholder:"1234567891234"},{country:"Japan",countryCode:"JP",type:"jp_rn",description:"Japanese Registered Foreign Businesses Number",placeholder:"12345"},{country:"Japan",countryCode:"JP",type:"jp_trn",description:"Japanese Tax Registration Number",placeholder:"T1234567891234"},{country:"Kenya",countryCode:"KE",type:"ke_pin",description:"Kenya PIN",placeholder:"P000111111A"},{country:"Liechtenstein",countryCode:"LI",type:"li_uid",description:"Liechtensteinian UID number",placeholder:"CHE123456789"},{country:"Malaysia",countryCode:"MY",type:"my_frp",description:"Malaysian FRP number",placeholder:"12345678"},{country:"Malaysia",countryCode:"MY",type:"my_itn",description:"Malaysian ITN",placeholder:"C 1234567890"},{country:"Malaysia",countryCode:"MY",type:"my_sst",description:"Malaysian SST number",placeholder:"A12-3456-78912345"},{country:"Mexico",countryCode:"MX",type:"mx_rfc",description:"Mexican RFC number",placeholder:"ABC010203AB9"},{country:"New Zealand",countryCode:"NZ",type:"nz_gst",description:"New Zealand GST number",placeholder:"123456789"},{country:"Norway",countryCode:"NO",type:"no_vat",description:"Norwegian VAT number",placeholder:"123456789MVA"},{country:"Philippines",countryCode:"PH",type:"ph_tin",description:"Philippines TIN",placeholder:"123456789012"},{country:"Russia",countryCode:"RU",type:"ru_inn",description:"Russian INN",placeholder:"1234567891"},{country:"Russia",countryCode:"RU",type:"ru_kpp",description:"Russian KPP",placeholder:"123456789"},{country:"Saudi Arabia",countryCode:"SA",type:"sa_vat",description:"Saudi Arabia VAT",placeholder:"`123456789012345"},{country:"Singapore",countryCode:"SG",type:"sg_gst",description:"Singaporean GST",placeholder:"M12345678X"},{country:"Singapore",countryCode:"SG",type:"sg_uen",description:"Singaporean UEN",placeholder:"123456789F"},{country:"Slovenia",countryCode:"SI",type:"si_tin",description:"Slovenia tax number",placeholder:"12345678"},{country:"South Africa",countryCode:"ZA",type:"za_vat",description:"South African VAT number",placeholder:"4123456789"},{country:"South Korea",countryCode:"KR",type:"kr_brn",description:"Korean BRN",placeholder:"123-45-67890"},{country:"Spain",countryCode:"ES",type:"es_cif",description:"Spanish NIF",placeholder:"A12345678"},{country:"Switzerland",countryCode:"CH",type:"ch_vat",description:"Switzerland VAT number",placeholder:"CHE-123.456.789 MWST"},{country:"Taiwan",countryCode:"TW",type:"tw_vat",description:"Taiwanese VAT",placeholder:"12345678"},{country:"Thailand",countryCode:"TH",type:"th_vat",description:"Thai VAT",placeholder:"1234567891234"},{country:"Turkey",countryCode:"TR",type:"tr_tin",description:"Turkish Tax Identification Number",placeholder:"123456789"},{country:"Ukraine",countryCode:"UA",type:"ua_vat",description:"Ukrainian VAT",placeholder:"123456789"},{country:"United Arab Emirates",countryCode:"AE",type:"ae_trn",description:"United Arab Emirates TRN",placeholder:"123456789012345"},{country:"United Kingdom",countryCode:"GB",type:"eu_vat",description:"Northern Ireland VAT number",placeholder:"XI123456789"},{country:"United Kingdom",countryCode:"GB",type:"gb_vat",description:"United Kingdom VAT number",placeholder:"GB123456789"},{country:"United States",countryCode:"US",type:"us_ein",description:"United States EIN",placeholder:"12-3456789"}]},90270(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.MetricActionNames=t.MetricPeriodId=t.listEnterpriseProductAccess=t.listUserProductAccess=t.getPrioritySubscription=t.getControllingProductSubscription=t.isPriceTaxable=t.getPriceFromSubscription=t.getTrialEligibility=t.canUserStartTrial=t.getProductSubscription=t.getAllUserSubscriptions=t.listProductAccess=t.PRODUCT_BUNDLES=t.ProductSlugs=void 0,i(n(92891),t),function(e){e.advancedRules="advanced-rules",e.axeDevToolsHTML="axe-devtools-html",e.axeDevToolsMobile="axe-devtools-mobile",e.axeDevToolsExtension="axe-devtools-pro",e.axeDevToolsWatcher="axe-devtools-watcher",e.axeLinter="axe-devtools-linter",e.axeReports="axe-reports",e.axeMonitor="axe-monitor",e.axeAuditor="axe-auditor",e.dequeUniversity="deque-university",e.axeSpider="axe-spider",e.jiraIntegration="jira-integration",e.jiraOnPremIntegration="jira-on-prem-integration",e.jiraDirectCloudIntegration="jira-direct-cloud-integration",e.axeAuditorIntegration="axe-auditor-integration",e.customIntegration="custom-integration",e.axeAssistantSlack="axe-assistant-slack",e.axeAssistantTeams="axe-assistant-teams",e.scimService="scim-service",e.axeMCPServer="axe-mcp-server"}(r||(t.ProductSlugs=r={}));const a="none",s={[r.advancedRules]:a,[r.axeDevToolsHTML]:a,[r.axeDevToolsMobile]:a,[r.axeDevToolsExtension]:a,[r.axeDevToolsWatcher]:a,[r.axeLinter]:a,[r.axeReports]:a,[r.axeMonitor]:a,[r.axeAuditor]:a,[r.dequeUniversity]:a,[r.axeSpider]:a,[r.jiraIntegration]:a,[r.jiraOnPremIntegration]:a,[r.jiraDirectCloudIntegration]:a,[r.axeAuditorIntegration]:a,[r.customIntegration]:a,[r.axeAssistantSlack]:a,[r.axeAssistantTeams]:a,[r.scimService]:a,[r.axeMCPServer]:a},u={none:1,free:2,free_payment_failed:3,trial_ended:4,trial_payment_failed:5,paid_payment_failed:6,trialing:7,paid:8};t.PRODUCT_BUNDLES={[r.axeDevToolsExtension]:[r.axeDevToolsHTML],[r.axeMCPServer]:[r.axeDevToolsHTML]};t.listProductAccess=e=>{if(!Array.isArray(e))throw new TypeError("`subscriptions` must be an array");const n={...s};for(const t of e){const e=t.purchase_state,r=t.product_slug,o=n[r];o?u[e]>u[o]&&(n[r]=e):n[r]=e}for(const[e,r]of Object.entries(t.PRODUCT_BUNDLES)){const t=e;for(const e of r){const r=n[e];r!==a&&(n[t]=l([n[t],r]))}}return n};const l=e=>e.filter(e=>Boolean(e)).reduce((e,t)=>u[t]>u[e]?t:e,a);t.getAllUserSubscriptions=(e,t="all")=>"all"===t?[...e.subscriptions,...e.enterprises.flatMap(e=>e.subscriptions)]:[...e.subscriptions,...e.enterprises[0]?.subscriptions||[]],t.getProductSubscription=function(e,n){return(0,t.getPrioritySubscription)(e,void 0,n)};t.canUserStartTrial=({user:e,productSlug:n,enterprise:r,isEnterpriseAdmin:o=!1})=>{if(r){return"none"===(0,t.listProductAccess)(r.subscriptions)[n]&&o}return"none"===(0,t.listProductAccess)(e.subscriptions)[n]};t.getTrialEligibility=({user:e,product:n,enterprise:r,isEnterpriseAdmin:o=!1})=>{if(r&&!o)return{canStartTrial:!1,isRestart:!1};const i=n.slug;let a;if(a=r?(0,t.getControllingProductSubscription)({entity:r,productSlug:i}):(0,t.getControllingProductSubscription)({entity:e,productSlug:i}),null===a)return{canStartTrial:!0,isRestart:!1};if(a.stripe_id)return{canStartTrial:!1,isRestart:!1};const s=a.purchase_state;if("paid"!==s&&!a.trial_expires)return{canStartTrial:!0,isRestart:!1};if("trialing"!==s&&"paid"!==s&&null!==a.trial_expires&&null!==n.reactivate_trial_cutoff){const e=new Date(a.trial_expires)<new Date(n.reactivate_trial_cutoff);return{canStartTrial:e,isRestart:e}}return{canStartTrial:!1,isRestart:!1}};t.getPriceFromSubscription=e=>e.items.data[0].price;t.isPriceTaxable=e=>!(!e.metadata.taxable||"true"!==e.metadata.taxable);t.getControllingProductSubscription=({entity:e,productSlug:n,favoredProduct:r,includeEnterprises:o="all"})=>{const i=e=>e.length?(0,t.getPrioritySubscription)(e,r,n):null;if("keycloak_id"in e){const t=e.enterprises.length>0;let n=[];return t&&(n="all"===o?e.enterprises.flatMap(e=>e.subscriptions):"active-only"===o?e.enterprises[0].subscriptions:e.enterprises.find(e=>e.id===o)?.subscriptions||[]),i(t?n:e.subscriptions)}return i(e.subscriptions)};t.getPrioritySubscription=(e,n,o=r.axeDevToolsExtension)=>{const i=t.PRODUCT_BUNDLES[o];return e.filter(e=>e.product_slug===o||i?.includes(e.product_slug)).sort((e,t)=>{const r=u[e.purchase_state],i=u[t.purchase_state];return r!==i?i-r:e.product_slug===(n??o)?-1:t.product_slug===(n??o)?1:0})[0]??null};const c=(e,n="all")=>{const o=structuredClone(s);for(const i of Object.values(r)){const r=(0,t.getControllingProductSubscription)({entity:e,productSlug:i,includeEnterprises:n});r&&(o[i]=r.purchase_state)}return o};t.listUserProductAccess=(e,t="all")=>c(e,t);var f,p;t.listEnterpriseProductAccess=e=>c(e),function(e){e.calendarMonthly="calendar-monthly",e.calendarAnnual="calendar-annual",e.billingMonthly="billing-monthly"}(f||(t.MetricPeriodId=f={})),function(e){e.sendIssue="send issue"}(p||(t.MetricActionNames=p={}))},66452(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.browser=globalThis.browser}return e.prototype.get=function(t){if(this.contextIsBrowserApp)return new Promise(function(e){var n=localStorage.getItem(t);if(!n)return e(null);try{e(JSON.parse(n))}catch(t){e(n)}});var n=this.browserStorageArea;return n?n.get(t).then(function(e){var n=e[t];if(!n)return null;try{return JSON.parse(n)}catch(e){return n}}):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},e.prototype.set=function(t,n){var r,o=n;if("string"!=typeof n)try{o=JSON.stringify(n)}catch(e){}if(this.contextIsBrowserApp)return new Promise(function(e){localStorage.setItem(t,o),e()});var i=this.browserStorageArea;return i?i.set((r={},r[t]=o,r)).then(function(){}):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},Object.defineProperty(e.prototype,"contextIsBrowserApp",{get:function(){return void 0===this.browser||void 0===this.browser.storage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"browserStorageArea",{get:function(){var e,t,n,r;return(null===(t=null===(e=this.browser)||void 0===e?void 0:e.storage)||void 0===t?void 0:t.sync)||(null===(r=null===(n=this.browser)||void 0===n?void 0:n.storage)||void 0===r?void 0:r.local)},enumerable:!1,configurable:!0}),e.STORAGE_AREA_ERROR="Failed to determine which storage area is suitable to use.",e}();t.default=n},99524(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setDistinctIdCookie=t.getDistinctIdCookie=void 0;var u=s(n(95796)),l=s(n(66452)),c=s(n(42668)),f="https://axe.deque.com",p=null===(r=globalThis.location)||void 0===r?void 0:r.origin,d="distinct_id",h=new l.default;t.getDistinctIdCookie=function(e){return void 0===e&&(e={}),i(void 0,void 0,void 0,function(){var n,r,i,s,l,y,g,m,v,b,w,S,E,_;return a(this,function(a){switch(a.label){case 0:return n=!!e.token,r=e.key,i=void 0===r?d:r,s=e.host,l=void 0===s?f:s,y=e.origin,g=void 0===y?p:y,[4,h.get(i)];case 1:return m=a.sent()||{},v=m.distinct_id,b=m.keycloak_id,[4,(0,c.default)({method:"GET",host:l,origin:g,token:e.token})];case 2:return w=a.sent()||{},S=w.distinct_id,E=w.keycloak_id,v&&v===S&&b&&b===E&&(0,u.default)(w.data,m.data)?[2,m]:(_={distinct_id:""},S||v?S?E?[3,10]:n?(_.distinct_id=S,_.data=v!==S?w.data:o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]):v?[3,5]:(_.distinct_id=S,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,4]):[3,15]:(_.distinct_id=crypto.randomUUID(),_.keycloak_id=E||b,_.data=E!==b&&b?w.data:o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]));case 3:case 8:case 13:return a.sent(),[2,_];case 4:case 9:case 14:return[2,(0,t.setDistinctIdCookie)(_,e)];case 5:return v===S?[3,7]:[4,h.set(i,w)];case 6:case 11:return a.sent(),[2,w];case 7:return b?(_.keycloak_id=b,_.distinct_id=v,_.data=o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]):(_.distinct_id=S,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,9]);case 10:return v&&S!==v?E===b?[3,12]:[4,h.set(i,w)]:[3,12];case 12:return _.distinct_id=S,_.keycloak_id=E,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,14];case 15:return E&&E!==b?(_.distinct_id=crypto.randomUUID(),_.keycloak_id=E,_.data=w.data):(_.distinct_id=v,_.keycloak_id=b,_.data=o(o({},m.data),w.data)),[2,(0,t.setDistinctIdCookie)(_,e)]}})})};t.default=function(e){return void 0===e&&(e={}),i(void 0,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,(0,t.getDistinctIdCookie)(e)];case 1:return[2,n.sent().distinct_id]}})})};t.setDistinctIdCookie=function(e,t){var n=void 0===t?{}:t,r=n.key,o=void 0===r?d:r,s=n.host,u=void 0===s?f:s,l=n.origin,y=void 0===l?p:l,g=n.token;return i(void 0,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return[4,h.set(o,e)];case 1:return t.sent(),[4,(0,c.default)({method:"POST",host:u,origin:y,token:g,payload:e})];case 2:return t.sent(),[2,e]}})})}},42668(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(80763));t.default=function(e){return r(void 0,void 0,void 0,function(){var t,n,r,i,s;return o(this,function(o){switch(o.label){case 0:t=(0,a.default)(e.host)+"/api/distinct_id",n={Origin:e.origin},e.payload&&(r=JSON.stringify(e.payload),n["Content-Type"]="application/json"),e.token&&(n.Authorization="Bearer ".concat(e.token)),i={credentials:"include",method:e.method,headers:n,body:r},o.label=1;case 1:return o.trys.push([1,4,,5]),[4,fetch(t,i)];case 2:return(s=o.sent()).ok?[4,s.json()]:[2,null];case 3:return[2,o.sent()];case 4:return o.sent(),[2,null];case 5:return[2]}})})}},8433(e,t){"use strict";const n=[{key:"devInstance",suffix:"DEV_INSTANCE",override:!0},{key:"loggedIn",suffix:"LOGGED_IN",override:!1}],r=[{key:"keycloakId",suffix:"KEYCLOAK_ID",override:!1},{key:"userId",suffix:"USER_ID",override:!1},{key:"organization",suffix:"ORGANIZATION",override:!0},{key:"department",suffix:"DEPARTMENT",override:!0},{key:"application",suffix:"APPLICATION",override:!1},{key:"sessionId",suffix:"SESSION_ID",override:!1},{key:"userStatus",suffix:"USER_STATUS",override:!1},{key:"userJobRole",suffix:"USER_JOB_ROLE",override:!1}],o=["userJobRole","applicationProperties","distinctId","keycloakId","loggedIn","userStatus"];function i(e){return{NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}[e]||null}async function a(e,t,n){if(!function(e){if("object"!=typeof e||null===e)return!1;const t=e;if("ECONNREFUSED"===t.code)return!0;const{cause:n}=t;return"object"==typeof n&&null!==n&&"ECONNREFUSED"===n.code}(n))return;const r=new URL(e);if("https:"===r.protocol){r.protocol="http:";try{const e=await s(r.href,t);await(e.body?.cancel())}catch{}}}async function s(e,t){return fetch(e,{method:"POST",credentials:"omit",headers:{"Content-Type":"application/json",Accept:"application/json, text/plain, */*"},body:JSON.stringify(t),signal:AbortSignal.timeout(1e4)})}t.Ay=class{productName;productComponent;productComponentVersion;myUrl;myTrackUsage;myDistinctId;enableTrackingFromEnv;urlFromEnv;didFromEnv;constructor(e,t,n){this.productName=e,this.productComponent=t,this.productComponentVersion=n;const r=i("AXE_TRACK_USAGE");this.myTrackUsage="true"===r,this.enableTrackingFromEnv=null!==r;const o=i("AXE_METRICS_URL");this.myUrl=o||"https://usage.deque.com",this.urlFromEnv=null!==o,i("AXE_DISTINCT_ID"),this.didFromEnv=!1}distinctId(e){return e&&(this.myDistinctId=e),this.myDistinctId}enableTracking(e){return void 0!==e&&(this.myTrackUsage=e),this.myTrackUsage}url(e){return void 0!==e&&(this.myUrl=e),this.myUrl}prepareEventData(e){if(!this.myTrackUsage)return null;let t="v1";for(const n of o)if(Object.prototype.hasOwnProperty.call(e,n)){t="v2";break}const a={dateTime:new Date,productComponent:this.productComponent,productName:this.productName,version:t};return"v2"===t&&(a.productComponentVersion=this.productComponentVersion,function(e){for(const{key:t,suffix:r,override:o}of n){if(t in e&&!o)continue;const n=i(`AXE_${r}`);null!==n&&(e[t]="true"===n)}for(const{key:t,suffix:n,override:o}of r){if(t in e&&!o)continue;const r=i(`AXE_${n}`);null!==r&&(e[t]=r)}}(e)),{...a,...e}}postEvent(e){const t=this.prepareEventData(e);if(!t)return;const n=`${this.myUrl}/${t.version}/event`;s(n,t).then(e=>e.body?.cancel()).catch(e=>{a(n,t,e)})}async postEventAsync(e){const t=this.prepareEventData(e);if(!t)return;const n=`${this.myUrl}/${t.version}/event`;try{const e=await s(n,t);await(e.body?.cancel())}catch(e){await a(n,t,e)}}}},96367(e,t,n){"use strict";t._O=t.yS=void 0;var r=n(23092),o=a(n(92859)),i=a(n(35226));function a(e){return e&&e.__esModule?e:{default:e}}const{background:s,devtools:u,content:l}=o.default,c=Object.values(o.default),f=(0,i.default)("bridge"),p=(0,i.default)("bridge:message"),d=(0,i.default)("bridge:response");const h=new class{constructor(){if(!c.includes(r.browser.context||""))throw new Error(`Unable to initialize web-extension bridge. Unsupported context: ${r.browser.context}`);this.messageListeners=new Map,this.attachListener()}get context(){return r.browser.context}attachListener=()=>{const{browserListener:e}=this;r.browser.hasListener(e)||(f("web-extension bridge initialized with context %s",r.browser.context),r.browser.addListener(e))};browserListener=(e,t)=>{const{origin:n,context:o,topic:i,message:a,options:c={}}=e,{tab:f,frameId:p}=t,d=f&&-1!==f.id?f.id:c?.tabId;if(!n)return;if(r.browser.context===s&&o===l){const{frameId:e,allFrames:t}=c;return this.send(o,i,a,{tabId:c?.tabId||d,frameId:e,allFrames:t})}const h=r.browser.context!==u||r.browser.tabId===d;if(o!==r.browser.context||!h)return;const y=this.getListeners(i),g=e=>{console.error(e)};try{for(const e of y){const t=e({context:o,topic:i,message:a,origin:n,tabId:d,frameId:p});if(!e.isGlobal&&void 0!==t)return Promise.resolve(t).catch(g)}}catch(e){g(e)}};async send(e,t,n,{tabId:i,frameId:a=0,allFrames:s=!1}={}){if(!r.browser.context)return;if(!e||!c.includes(e))throw new Error(`Cannot send web-extension bridge message without a valid destination context: ['${c.join("', '")}'].`);let f;i||r.browser.context!==u||(i=r.browser.tabId),f=r.browser.context===u?`${r.browser.context}:${i}`:r.browser.context;let h=e;[r.browser.context,e].includes(l)&&i&&(h+=`:${i}`),p(`[${t}] ${f} → ${h}: %O`,void 0!==n?n:"");const y={origin:f,context:e,topic:t,message:n,options:e===l?{tabId:i,frameId:a,allFrames:s}:{tabId:i}},g=e===o.default.content?{tabId:i,frameId:a,allFrames:s}:void 0;let m=null;try{m=await r.browser.sendMessage(y,g)}catch(e){let t;if(e instanceof Error&&(t=e.message),"Could not establish connection. Receiving end does not exist."!==t)throw e}return null!==m&&d(`[${t}] ${h} → ${f}: %O`,m),m}getListeners(e){const{messageListeners:t}=this;return e&&"*"!==e?[...t.get(e)||[],...t.get("*")||[]]:t.get("*")||[]}listen(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=n.get(e)||[];"*"===e&&(t.isGlobal=!0),r.length?n.set(e,[...r,t]):n.set(e,[t])}unlisten(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=(n.get(e)||[]).filter(e=>e!==t);r.length?n.set(e,r):n.delete(e)}};t.yS=h;const y=o.default;t._O=y},23092(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0;var r,o=(r=n(92859))&&r.__esModule?r:{default:r};const i=e=>void 0!==globalThis.browser&&e in globalThis.browser,a={hasApi:i,get tabId(){return globalThis.browser.devtools?.inspectedWindow.tabId},get context(){return i("devtools")?o.default.devtools:i("tabs")?o.default.background:i("extension")?o.default.content:null},addListener(e){globalThis.browser.runtime.onMessage.addListener(e)},hasListener:e=>globalThis.browser.runtime.onMessage.hasListener(e),removeListener(e){globalThis.browser.runtime.onMessage.removeListener(e)},async sendMessage(e,t={}){if(void 0===a)throw new Error("Cannot send bridge message in a non-browser context.");const{tabId:n,frameId:r,allFrames:o}=t;return n&&globalThis.browser.tabs&&"function"==typeof globalThis.browser.tabs.sendMessage?globalThis.browser.tabs.sendMessage(n,e,{frameId:o?void 0:r}):globalThis.browser.runtime.sendMessage(e)}};t.browser=a},92859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={background:"background",devtools:"devtools",content:"content-script"};t.default=n},27134(e,t){"use strict";t.BRIDGE_TOPIC_PREFIX=t.CHROME_DEBUGGER_VERSION=t.MINIMUM_ML_SCREENSHOT_MARGIN=t.MAX_ML_SCREENSHOT_WIDTH=t.MAX_SCREENSHOT_HEIGHT=t.DEFAULT_IMAGE_TYPE=void 0,t.DEFAULT_IMAGE_TYPE="webp",t.MAX_SCREENSHOT_HEIGHT=16384,t.MAX_ML_SCREENSHOT_WIDTH=1500,t.MINIMUM_ML_SCREENSHOT_MARGIN=500,t.CHROME_DEBUGGER_VERSION="1.3",t.BRIDGE_TOPIC_PREFIX="web-extension-utils"},86652(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.failedToAttach=t.detach=t.sendCommand=t.attach=t.isRuntimeError=t.DEBUGGER=void 0;const o=r(n(35226)),i=n(27134),a=(0,o.default)("debugger:command"),s=(0,o.default)("debugger:response");t.DEBUGGER={CANNOT_ATTACH_TO_THIS_TARGET:"Cannot attach to this target.",CANNOT_ACCESS_DIFFERENT_EXTENSION:/Cannot access a chrome-extension:\/\/ URL of different extension/i};t.isRuntimeError=e=>"object"==typeof e&&null!==e&&"errorSource"in e&&"runtime"===e.errorSource;t.attach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.attach({tabId:e},i.CHROME_DEBUGGER_VERSION,()=>{if(chrome.runtime.lastError){a(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else a(`attach:${e}`),t(!0)})}catch(e){n(e)}});t.sendCommand=async(e,t,n)=>new Promise(r=>{a(`[${t}] command:${e.tabId}`,n),chrome.debugger.sendCommand(e,t,n,n=>{try{chrome.runtime.lastError&&a(chrome.runtime.lastError.message)}finally{s(`[${t}] command:${e.tabId}`,{...n}),r(n)}})});t.detach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.detach({tabId:e},()=>{if(chrome.runtime.lastError){a(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else a(`detach:${e}`),t(!0)})}catch(e){n(e)}});t.failedToAttach=()=>chrome.runtime.lastError&&chrome.runtime.lastError.message&&(chrome.runtime.lastError.message===t.DEBUGGER.CANNOT_ATTACH_TO_THIS_TARGET||t.DEBUGGER.CANNOT_ACCESS_DIFFERENT_EXTENSION.test(chrome.runtime.lastError.message))},86171(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.listeners=t.screenshots=t.debugger=void 0,t.debugger=a(n(86652)),t.screenshots=a(n(28190)),t.listeners=a(n(13810))},13810(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarEventTopics=t.ScrollbarHandler=t.initContentBridgeListeners=void 0;var r=n(60247);Object.defineProperty(t,"initContentBridgeListeners",{enumerable:!0,get:function(){return r.initContentBridgeListeners}});var o=n(75981);Object.defineProperty(t,"ScrollbarHandler",{enumerable:!0,get:function(){return o.ScrollbarHandler}}),Object.defineProperty(t,"ScrollbarEventTopics",{enumerable:!0,get:function(){return o.ScrollbarEventTopics}})},75981(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarHandler=t.ScrollbarEventTopics=void 0;const r=n(27134);t.ScrollbarEventTopics={CURRENT_SCROLL:`${r.BRIDGE_TOPIC_PREFIX}:current-scroll`,SCROLL_TO_TOP:`${r.BRIDGE_TOPIC_PREFIX}:scroll-to-top`,HIDE_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:hide-scrollbars`,SHOW_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:show-scrollbars`};t.ScrollbarHandler=class{constructor(){this.scrollbarStyleElement=null,this.getCurrentScroll=()=>document.documentElement.scrollTop,this.scrollToTop=({message:e})=>{window.scrollTo(e?.x||0,e?.y||0)},this.hideScrollbars=()=>{this.scrollbarStyleElement||(this.scrollbarStyleElement=document.createElement("style"),this.scrollbarStyleElement.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyleElement))},this.showScrollbars=()=>{this.scrollbarStyleElement&&(document.head.removeChild(this.scrollbarStyleElement),this.scrollbarStyleElement=null)}}}},60247(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initContentBridgeListeners=function(e){(e=>{const t=new r.ScrollbarHandler;e.listen(r.ScrollbarEventTopics.CURRENT_SCROLL,t.getCurrentScroll),e.listen(r.ScrollbarEventTopics.SCROLL_TO_TOP,t.scrollToTop),e.listen(r.ScrollbarEventTopics.HIDE_SCROLLBARS,t.hideScrollbars),e.listen(r.ScrollbarEventTopics.SHOW_SCROLLBARS,t.showScrollbars)})(e)};const r=n(75981)},90833(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase64EncodedString=async function(e,t=r.DEFAULT_IMAGE_TYPE){if("toDataURL"in e)return e.toDataURL(t,1);const n=await new Promise(n=>{const r=()=>{const r={type:`image/${t}`,quality:1};e.convertToBlob(r).then(n)};"requestAnimationFrame"in globalThis?requestAnimationFrame(r):setTimeout(r)}),o=new FileReader;return o.readAsDataURL(n),new Promise(e=>{o.onload=()=>{e(o.result)}})},t.convertBase64StringToImage=async function(e){return await new Promise(t=>{const n=new Image;n.src=e,n.onload=()=>t(n)})};const r=n(27134)},4225(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsScreenshots=async function(e,t,n,r){return d(e,t,n,y,r)},t.getElementsScreenshotsWithBoxes=async function(e,t,n,r){return d(e,t,n,g,r)};const o=n(86658),i=n(27134),a=n(86652),s=r(n(44735)),u=r(n(35226)),l=n(75981),c=n(11856),f=(0,s.default)("elementsScreenshots"),p=(0,s.default)("elementScreenshot");async function d(e,t,n,r,o){if(!e)throw new SyntaxError('"bridge" is a required parameter');const s={},p="boolean"==typeof n?.areScrollbarsHidden&&n?.areScrollbarsHidden,d=n?.tabId||browser.devtools.inspectedWindow.tabId,h=n?.format||i.DEFAULT_IMAGE_TYPE;let y=null;if(!n?.isDebuggerAttached)try{await(0,a.attach)(d)}catch(e){if(!(0,a.isRuntimeError)(e)||(0,a.failedToAttach)())return y={message:(0,c.getErrorMessage)(e,"failed to attach debugger")},{screenshots:null,type:h,error:y}}p||await e.send("content-script",l.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:d});try{f.start();for(const i of t){const t=await r(e,i.selector,n);s[i.vnodeId]=t,"function"==typeof o&&o({...i,screenshot:t})}f.end(),(0,u.default)(`getElementsScreenshots: ${f.measure().duration}ms`)}finally{const t=[];if(p||t.push(e.send("content-script",l.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:d})),!n?.isDebuggerAttached){const e=async e=>{try{await(0,a.detach)(e)}catch(e){y={message:(0,c.getErrorMessage)(e,"failed to detach debugger")}}};t.push(e(d))}await Promise.all(t)}return{screenshots:s,type:h,error:y}}async function h(e,t,n,r){const o=n?.tabId||browser.devtools.inspectedWindow.tabId;p.start(),n?.focusElement&&(await(0,a.sendCommand)({tabId:o},"Emulation.setFocusEmulationEnabled",{enabled:!0}),await e.send("content-script","node:focus",{selector:t}));try{const e=await r(o);return p.end(),(0,u.default)(`getElementScreenshots: ${p.measure().duration}ms`),e}finally{n?.focusElement&&await e.send("content-script","node:reset-focus",{selector:t})}}function y(e,t,n){return h(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0}},{tabId:r})??null;return i&&await(0,o.getRectScreenshot)(e,i,n)})}function g(e,t,n){return h(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0,includePageScroll:!0}},{tabId:r})??null,a=i?.rect&&await(0,o.getRectScreenshotWithBox)(e,i.rect,n);return a&&i?.rect?{screenshot:a.screenshot,pageRelativeBoundingBox:m(i.rect,i.scroll),boxInScreenshot:a.boxInScreenshot}:null})}function m(e,t){const n=e.left+t.x,r=e.top+t.y,o=e.width,i=e.height;return{top:r,left:n,right:n+o,bottom:r+i,width:o,height:i}}},7691(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageAreaForMLFeatureDetection=async function(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const a=n?.tabId||browser.devtools?.inspectedWindow?.tabId;try{await(0,o.attach)(a)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return t}const s=await(0,i.getContentSize)(e,a),u=await(0,i.cssToDeviceIndependentPixels)(a,t),l=Math.min(s.width,Math.max(r.MAX_ML_SCREENSHOT_WIDTH,u.width+r.MINIMUM_ML_SCREENSHOT_MARGIN)),c=Math.min(s.height,Math.max(2*l-1,u.height+r.MINIMUM_ML_SCREENSHOT_MARGIN)),f=(l-u.width)/2,p=s.width-(u.x+u.width),d=Math.max(0,u.x-f-Math.max(0,f-p)),h=(c-u.height)/2,y=s.height-(u.y+u.height),g=Math.max(0,u.y-h-Math.max(0,h-y));return{x:d,y:g,width:l,height:c}};const r=n(27134),o=n(86652),i=n(66021)},87131(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getPageScreenshot=async function(e,t){if(!e)throw new SyntaxError('"bridge" is a required parameter');const n=t?.tabId||browser.devtools?.inspectedWindow?.tabId,r=t?.format||p.DEFAULT_IMAGE_TYPE;let l=null;if(!t?.isDebuggerAttached)try{await(0,o.attach)(n)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return l={message:(0,c.getErrorMessage)(e,"failed to attach debugger")},{screenshot:null,zoom:-1,error:l,type:r}}const g=await async function(e,t){const n="boolean"==typeof t.areScrollbarsHidden&&t.areScrollbarsHidden,r="boolean"!=typeof t.fullScreen||t.fullScreen,{tabId:o,format:i}=t;try{n||await e.send("content-script",h.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:o}),y.start();const a=await(0,u.createTimeoutPromise)(()=>(0,f.getScreenshot)(e,{...t,fullScreen:r}),t?.timeout);return y.end(),(0,d.default)(`getPageScreenshot: ${y.measure().duration}ms`),a?{...a,screenshot:`data:image/${i};base64,${a.screenshot}`}:null}finally{n||await e.send("content-script",h.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:o})}}(e,{...t,tabId:n,format:r}),m=await(0,s.getZoomLevel)(n);if(!t?.isDebuggerAttached)try{await(0,o.detach)(n)}catch(e){l={message:(0,c.getErrorMessage)(e,"failed to detach debugger")}}if(!g)return l={message:"failed to get screenshot response probably due to a timeout"},{screenshot:null,zoom:m,error:l,type:r};const{pageWidthDIP:v,pageHeightDIP:b}=g;let w;try{w=await async function(e,t){const{screenshot:n,pageHeightDIP:r,pageWidthDIP:o}=e;if(!o||!r)return n;let s,u,l;if("Image"in globalThis){const e=s=new Image;e.src=n,await new Promise((t,n)=>{e.onload=()=>t(),e.onerror=()=>n(new Error("failed to decode screenshot"))}),u=e.naturalWidth}else{const e=await fetch(n),t=await createImageBitmap(await e.blob());s=t,u=t.width}try{if(u<=Math.ceil(o))return n;l=await createImageBitmap(s,{resizeQuality:"high",resizeWidth:o,resizeHeight:r});const e=(0,i.getCanvas)(o,r),c=e.getContext("2d");if(!c)throw new Error("Unable to resize image. Error creating canvas context");return c.drawImage(l,0,0,o,r),await(0,a.getBase64EncodedString)(e,t)}finally{l?.close(),"close"in s&&s.close()}}(g,r)}catch(e){return{screenshot:null,zoom:m,error:{message:(0,c.getErrorMessage)(e,"failed to normalize screenshot")},pageWidthDIP:v,pageHeightDIP:b,type:r}}return{screenshot:w,error:l,zoom:m,pageWidthDIP:v,pageHeightDIP:b,type:r}};const o=n(86652),i=n(70825),a=n(90833),s=n(66021),u=n(50090),l=r(n(44735)),c=n(11856),f=n(47620),p=n(27134),d=r(n(35226)),h=n(75981),y=(0,l.default)("pageScreenshot")},86658(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRectScreenshot=async function(e,t,n){const r=await p(e,t,n);return r?.screenshot??null},t.getRectScreenshotWithBox=p;const o=r(n(35226)),i=r(n(44735)),a=n(27134),s=n(47620),u=n(90833),l=n(86652),c=(0,o.default)("screenshots"),f=(0,i.default)("rectScreenshot");async function p(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const r=n?.tabId||browser.devtools.inspectedWindow.tabId;f.start();const o=n?.format||a.DEFAULT_IMAGE_TYPE;if(!t||0===Math.floor(t.width)||0===Math.floor(t.height))return null;const i=await(0,s.getScreenshot)(e,{...n,format:o,fullScreen:!1});if(!i||!i.screenshot)return null;const p=await(0,u.convertBase64StringToImage)(`data:image/${o};base64,${i.screenshot}`),g=await async function(e){try{const{cssVisualViewport:t}=await(0,l.sendCommand)({tabId:e},"Page.getLayoutMetrics"),{result:{value:n}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerWidth"}),{result:{value:r}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerHeight"});return{...t,innerWidth:n,innerHeight:r}}catch{return null}}(r),m=h(p,g),v=y(t,g);if(v.left<0||v.top<0)return null;const b={x:v.left,y:v.top,height:v.height,width:v.width},w=await(0,s.clipScreenshot)(p,m,b,n);if(f.end(),c(`getRectScreenshot: ${f.measure().duration}ms`),!w)return null;if(c.enabled){(new Image).src=w}return{screenshot:w,boxInScreenshot:d(b,m,n)}}function d(e,t,n){const r=(0,s.getClipRect)(e,t,n?.offset||0),o=Math.floor(e.x*t)-r.left,i=Math.floor(e.y*t)-r.top,a=Math.floor(e.width*t),u=Math.floor(e.height*t);return{top:i,left:o,right:o+a,bottom:i+u,width:a,height:u}}const h=(e,t)=>{if(!t)return 1;const n=t.innerWidth*t.scale;return e.naturalWidth/n},y=(e,t)=>{if(!t)return e;const{offsetX:n,offsetY:r,scale:o}=t;return{x:(e.x-n)*o,y:(e.y-r)*o,left:(e.left-n)*o,top:(e.top-r)*o,height:e.height*o,width:e.width*o}}},47620(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getScreenshot=async function(e,t){const n="boolean"!=typeof t.fullScreen||t.fullScreen;let r,o=0,a=0;try{const u=t?.tabId||browser.devtools?.inspectedWindow?.tabId;t?.allowPageToContinueLoading||await(0,i.sendCommand)({tabId:u},"Page.stopLoading");const p={fromSurface:!0,captureBeyondViewport:n,format:t?.format,quality:t?.quality};let d=0;if(n){d=await e.send("content-script",c.ScrollbarEventTopics.CURRENT_SCROLL,null,{tabId:u})??null;const t=await(0,l.getContentSize)(e,u);o=t.width,a=Math.min(t.height,s.MAX_SCREENSHOT_HEIGHT),p.clip={x:0,y:0,width:o,height:a,scale:1}}else{const{cssVisualViewport:e}=await(0,i.sendCommand)({tabId:u},"Page.getLayoutMetrics"),{clientWidth:t,clientHeight:n}=e,r=await(0,f.cssToDeviceIndependentPixels)(u,{width:t,height:n,x:0,y:0});o=r.width,a=r.height}t?.beforeScreenshot&&await t.beforeScreenshot();const h=async()=>{const e=await(0,i.sendCommand)({tabId:u},"Page.captureScreenshot",p);return e?.data};n?(r=await new Promise(e=>setTimeout(()=>e(h()),250)),d&&await e.send("content-script",c.ScrollbarEventTopics.SCROLL_TO_TOP,{y:d},{tabId:u})):r=await h()}catch{return null}if(r&&p.enabled){(new Image).src=`data:image/${t?.format||s.DEFAULT_IMAGE_TYPE};base64,${r}`}return{screenshot:r,pageWidthDIP:o,pageHeightDIP:a}},t.getClipRect=d,t.clipScreenshot=async function(e,t,n,r){const{left:o,top:i,width:s,height:l}=d(n,t,r?.offset||0),c=(0,u.getCanvas)(s,l),f=await createImageBitmap(e,o,i,s,l,{resizeQuality:"high"}),p=c.getContext("2d");if(p&&"drawImage"in p)return p.drawImage(f,0,0,f.width,f.height),await(0,a.getBase64EncodedString)(c,r?.format);return null};const o=r(n(35226)),i=n(86652),a=n(90833),s=n(27134),u=n(70825),l=n(27588),c=n(75981),f=n(29323),p=(0,o.default)("screenshots");function d(e,t,n=0){return{left:Math.floor(Math.max(0,e.x-n)*t),top:Math.floor(Math.max(0,e.y-n)*t),width:Math.floor((e.width+2*n)*t),height:Math.floor((e.height+2*n)*t)}}},66021(e,t,n){"use strict";t.getZoomLevel=t.cssToDeviceIndependentPixels=t.getContentSize=void 0;var r=n(27588);Object.defineProperty(t,"getContentSize",{enumerable:!0,get:function(){return r.getContentSize}});var o=n(29323);Object.defineProperty(t,"cssToDeviceIndependentPixels",{enumerable:!0,get:function(){return o.cssToDeviceIndependentPixels}});var i=n(18627);Object.defineProperty(t,"getZoomLevel",{enumerable:!0,get:function(){return i.getZoomLevel}})},29323(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssToDeviceIndependentPixels=async function(e,t){const n=await(0,r.getZoomLevel)(e);return{x:t.x*n,y:t.y*n,height:t.height*n,width:t.width*n}};const r=n(18627)},27588(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentSize=async function(e,t){await e.send("content-script",a.ScrollbarEventTopics.SCROLL_TO_TOP,null,{tabId:t}),await(0,o.sleep)();const{cssContentSize:n}=await(0,r.sendCommand)({tabId:t},"Page.getLayoutMetrics");return(0,i.cssToDeviceIndependentPixels)(t,n)};const r=n(86652),o=n(42586),i=n(29323),a=n(75981)},18627(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZoomLevel=async function(e){try{const{cssVisualViewport:{zoom:t=1}}=await(0,r.sendCommand)({tabId:e},"Page.getLayoutMetrics");return t}catch{return 1}};const r=n(86652)},28190(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64StringToImage=t.getBase64EncodedString=t.getCanvas=t.clipScreenshot=t.getPageAreaForMLFeatureDetection=t.getPageScreenshot=t.getElementsScreenshotsWithBoxes=t.getElementsScreenshots=t.getRectScreenshot=void 0;var r=n(86658);Object.defineProperty(t,"getRectScreenshot",{enumerable:!0,get:function(){return r.getRectScreenshot}});var o=n(4225);Object.defineProperty(t,"getElementsScreenshots",{enumerable:!0,get:function(){return o.getElementsScreenshots}}),Object.defineProperty(t,"getElementsScreenshotsWithBoxes",{enumerable:!0,get:function(){return o.getElementsScreenshotsWithBoxes}});var i=n(87131);Object.defineProperty(t,"getPageScreenshot",{enumerable:!0,get:function(){return i.getPageScreenshot}});var a=n(7691);Object.defineProperty(t,"getPageAreaForMLFeatureDetection",{enumerable:!0,get:function(){return a.getPageAreaForMLFeatureDetection}});var s=n(47620);Object.defineProperty(t,"clipScreenshot",{enumerable:!0,get:function(){return s.clipScreenshot}});var u=n(70825);Object.defineProperty(t,"getCanvas",{enumerable:!0,get:function(){return u.getCanvas}});var l=n(90833);Object.defineProperty(t,"getBase64EncodedString",{enumerable:!0,get:function(){return l.getBase64EncodedString}}),Object.defineProperty(t,"convertBase64StringToImage",{enumerable:!0,get:function(){return l.convertBase64StringToImage}})},50090(e,t){"use strict";t.createTimeoutPromise=async function(e,t){if(!t)return e();let n;const r=new Promise(e=>{n=setTimeout(()=>e(null),t)}),o=await Promise.race([e(),r]);return clearTimeout(n),o}},70825(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanvas=function(e,t){let n;"OffscreenCanvas"in self&&!browser?.devtools?n=new self.OffscreenCanvas(e,t):(n=document.createElement("canvas"),n.width=e,n.height=t);return n}},11856(e,t){"use strict";t.getErrorMessage=void 0;t.getErrorMessage=(e,t)=>e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:t},44735(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=`${e}-start`,n=`${e}-end`,r=()=>{performance.clearMarks(t),performance.clearMarks(n),performance.clearMeasures(e)};return{start:()=>{r(),performance.mark(t)},end:()=>performance.mark(n),clear:r,measure:()=>(performance.measure(e,t,n),performance.getEntriesByName(e,"measure")[0])}}},42586(e,t){"use strict";t.sleep=void 0;t.sleep=e=>new Promise(t=>setTimeout(t,e||50))},75478(e,t,n){"use strict";n.d(t,{default:()=>mn});var r={};function o(){return void 0!==(null===window||void 0===window?void 0:window.document)}n.r(r),n.d(r,{exclude:()=>T,extract:()=>E,parse:()=>_,parseUrl:()=>x,pick:()=>I,stringify:()=>k,stringifyUrl:()=>O});var i=n(43855),a=n.n(i);const s="%[a-f0-9]{2}",u=new RegExp("("+s+")|([^%]+?)","gi"),l=new RegExp("("+s+")+","gi");function c(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],c(n),c(r))}function f(e){try{return decodeURIComponent(e)}catch{let t=e.match(u)||[];for(let n=1;n<t.length;n++)t=(e=c(t,n).join("")).match(u)||[];return e}}function p(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=l.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const e=f(n[0]);e!==n[0]&&(t[n[0]]=e)}n=l.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const n of r)e=e.replace(new RegExp(n,"g"),t[n]);return e}(e)}}function d(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const n=e.indexOf(t);return-1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}function h(e,t){const n={};if(Array.isArray(t))for(const r of t){const t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(const r of Reflect.ownKeys(e)){const o=Object.getOwnPropertyDescriptor(e,r);if(o.enumerable){t(r,e[r],e)&&Object.defineProperty(n,r,o)}}return n}const y=Symbol("encodeFragmentIdentifier");function g(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function m(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function v(e,t){return t.decode?p(e):e}function b(e){return Array.isArray(e)?e.sort():"object"==typeof e?b(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function w(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function S(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function E(e){const t=(e=w(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function _(e,t){g((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&v(n,e).includes(e.arrayFormatSeparator);n=i?v(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map(t=>v(t,e)):null===n?n:v(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?v(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>v(t,e));void 0!==r[t]?r[t]=[...r[t],...i]:r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[...[n[e]].flat(),t]:n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=d(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:v(a,t),n(v(i,t),a,r)}for(const[e,n]of Object.entries(r))if("object"==typeof n&&null!==n)for(const[e,r]of Object.entries(n))n[e]=S(r,t);else r[e]=S(n,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=b(n):e[t]=n,e},Object.create(null))}function k(e,t){if(!e)return"";g((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),"[",o,"]"].join("")]:[...n,[m(t,e),"[",m(o,e),"]=",m(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),"[]"].join("")]:[...n,[m(t,e),"[]=",m(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),":list="].join("")]:[...n,[m(t,e),":list=",m(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[m(n,e),t,m(o,e)].join("")]:[[r,m(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,m(t,e)]:[...n,[m(t,e),"=",m(r,e)].join("")]}}(t),o={};for(const[t,r]of Object.entries(e))n(t)||(o[t]=r);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const o=e[n];return void 0===o?"":null===o?m(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?m(n,t)+"[]":o.reduce(r(n),[]).join("&"):m(n,t)+"="+m(o,t)}).filter(e=>e.length>0).join("&")}function x(e,t){t={decode:!0,...t};let[n,r]=d(e,"#");return void 0===n&&(n=e),{url:n?.split("?")?.[0]??"",query:_(E(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:v(r,t)}:{}}}function O(e,t){t={encode:!0,strict:!0,[y]:!0,...t};const n=w(e.url).split("?")[0]||"";let r=k({..._(E(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[y]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function I(e,t,n){n={parseFragmentIdentifier:!0,[y]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=x(e,n);return O({url:r,query:h(o,t),fragmentIdentifier:i},n)}function T(e,t,n){return I(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}const A=r;var C=n(21919),R=n.n(C),N=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:P(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),P=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},j=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length<512&&this.queue.push(e)},e.prototype.setEventReceiver=function(e){this.receiver=e,this.queue.length>0&&(this.queue.forEach(function(t){e(t)}),this.queue=[])},e}(),L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},L.apply(this,arguments)},D=function(e,t){var n=typeof e;if(n!==typeof t)return!1;for(var r=0,o=["string","number","boolean","undefined"];r<o.length;r++){if(o[r]===n)return e===t}if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;var i=Array.isArray(e),a=Array.isArray(t);if(i!==a)return!1;if(!i||!a){var s=Object.keys(e).sort(),u=Object.keys(t).sort();if(!D(s,u))return!1;var l=!0;return Object.keys(e).forEach(function(n){D(e[n],t[n])||(l=!1)}),l}for(var c=0;c<e.length;c++)if(!D(e[c],t[c]))return!1;return!0};Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});var M=function(){function e(){this.identity={userProperties:{}},this.listeners=new Set}return e.prototype.editIdentity=function(){var e=this,t=L({},this.identity.userProperties),n=L(L({},this.identity),{userProperties:t});return{setUserId:function(e){return n.userId=e,this},setDeviceId:function(e){return n.deviceId=e,this},setUserProperties:function(e){return n.userProperties=e,this},setOptOut:function(e){return n.optOut=e,this},updateUserProperties:function(e){for(var t=n.userProperties||{},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];switch(a){case"$set":for(var u=0,l=Object.entries(s);u<l.length;u++){var c=l[u],f=c[0],p=c[1];t[f]=p}break;case"$unset":for(var d=0,h=Object.keys(s);d<h.length;d++){delete t[f=h[d]]}break;case"$clearAll":t={}}}return n.userProperties=t,this},commit:function(){return e.setIdentity(n),this}}},e.prototype.getIdentity=function(){return L({},this.identity)},e.prototype.setIdentity=function(e){var t=L({},this.identity);this.identity=L({},e),D(t,this.identity)||this.listeners.forEach(function(t){t(e)})},e.prototype.addIdentityListener=function(e){this.listeners.add(e)},e.prototype.removeIdentityListener=function(e){this.listeners.delete(e)},e}(),U="undefined"!=typeof globalThis||"undefined"!=typeof globalThis?globalThis:self,F=function(){function e(){this.identityStore=new M,this.eventBridge=new j,this.applicationContextProvider=new N}return e.getInstance=function(t){return U.analyticsConnectorInstances||(U.analyticsConnectorInstances={}),U.analyticsConnectorInstances[t]||(U.analyticsConnectorInstances[t]=new e),U.analyticsConnectorInstances[t]},e}();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 z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(t){W(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 B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q(r.key),r)}}function G(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function W(e,t,n){return(t=Q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||K(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e){return function(e){if(Array.isArray(e))return Y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||K(e)||function(){throw new TypeError("Invalid attempt to spread 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 Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var J="$default_instance",Z=2,ee=4096,te=1e3,ne="$identify",re="$groupidentify",oe="api.amplitude.com",ie="api.eu.amplitude.com",ae="regionconfig.amplitude.com",se="regionconfig.eu.amplitude.com",ue=0,le=1,ce=2,fe=3,pe=4,de=5,he=6,ye=7,ge="amp_cookie_test",me="amp",ve="",be="cookies",we="none",Se="localStorage",Ee="sessionStorage",_e="revenue_amount",ke="$productId",xe="$quantity",Oe="$price",Ie="$revenueType",Te="amp_device_id",Ae="amp_referrer",Ce="referrer",Re="referring_domain",Ne="utm_source",Pe="utm_medium",je="utm_campaign",Le="utm_term",De="utm_content",Me="[Amplitude] Attribution Captured",Ue="http",Fe="beacon",$e=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},ze=function(e){for(var t="",n=0,r=0,o=0,i=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(o=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&o),n+=2):(o=e.charCodeAt(n+1),i=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&i),n+=3);return t},Be="undefined"!=typeof globalThis?globalThis:window,qe={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){try{if(Be.btoa&&Be.atob)return Be.btoa(unescape(encodeURIComponent(e)))}catch(e){}return qe._encode(e)},_encode:function(e){var t,n,r,o,i,a,s,u="",l=0;for(e=$e(e);l<e.length;)o=(t=e.charCodeAt(l++))>>2,i=(3&t)<<4|(n=e.charCodeAt(l++))>>4,a=(15&n)<<2|(r=e.charCodeAt(l++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),u=u+qe._keyStr.charAt(o)+qe._keyStr.charAt(i)+qe._keyStr.charAt(a)+qe._keyStr.charAt(s);return u},decode:function(e){try{if(Be.btoa&&Be.atob)return decodeURIComponent(escape(Be.atob(e)))}catch(e){}return qe._decode(e)},_decode:function(e){var t,n,r,o,i,a,s="",u=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");u<e.length;)t=qe._keyStr.indexOf(e.charAt(u++))<<2|(o=qe._keyStr.indexOf(e.charAt(u++)))>>4,n=(15&o)<<4|(i=qe._keyStr.indexOf(e.charAt(u++)))>>2,r=(3&i)<<6|(a=qe._keyStr.indexOf(e.charAt(u++))),s+=String.fromCharCode(t),64!==i&&(s+=String.fromCharCode(n)),64!==a&&(s+=String.fromCharCode(r));return s=ze(s)}},He=Object.prototype.toString;function Ge(e){switch(He.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)?"buffer":B(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e))}var We,Ve={DISABLE:0,ERROR:1,WARN:2,INFO:3},Xe=Ve.WARN,Ke={error:function(e){Xe>=Ve.ERROR&&Ye(e)},warn:function(e){Xe>=Ve.WARN&&Ye(e)},info:function(e){Xe>=Ve.INFO&&Ye(e)}},Ye=function(e){try{console.log("[Amplitude] "+e)}catch(e){}},Qe=function(e){return"string"===Ge(e)&&e.length>ee?e.substring(0,ee):e},Je=function(e,t,n){return Ge(e)===n||(Ke.error("Invalid "+t+" input type. Expected "+n+" but received "+Ge(e)),!1)},Ze=function(e){var t=Ge(e);if("object"!==t)return Ke.error("Error: invalid properties format. Expecting Javascript object, received "+t+", ignoring"),{};if(Object.keys(e).length>te)return Ke.error("Error: too many properties (more than 1000), ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=r,i=Ge(o);"string"!==i&&(o=String(o),Ke.warn("WARNING: Non-string property key, received type "+i+', coercing to string "'+o+'"'));var a=tt(o,e[r]);null!==a&&(n[o]=a)}return n},et=["nan","function","arguments","regexp","element"],tt=function e(t,n){var r=Ge(n);if(-1!==et.indexOf(r))Ke.warn('WARNING: Property key "'+t+'" with invalid value type '+r+", ignoring"),n=null;else if("undefined"===r)n=null;else if("error"===r)n=String(n),Ke.warn('WARNING: Property key "'+t+'" with value type error, coercing to '+n);else if("array"===r){for(var o=[],i=0;i<n.length;i++){var a=n[i],s=Ge(a);"array"!==s?"object"===s?o.push(Ze(a)):o.push(e(t,a)):Ke.warn("WARNING: Cannot have "+s+" nested in an array property value, skipping")}n=o}else"object"===r&&(n=Ze(n));return n},nt=function(e,t){var n=Ge(t);if("string"===n)return t;if("date"===n||"number"===n||"boolean"===n)return t=String(t),Ke.warn("WARNING: Non-string groupName, received type "+n+', coercing to string "'+t+'"'),t;if("array"===n){for(var r=[],o=0;o<t.length;o++){var i=t[o],a=Ge(i);"array"!==a&&"object"!==a?"string"===a?r.push(i):"date"!==a&&"number"!==a&&"boolean"!==a||(i=String(i),Ke.warn("WARNING: Non-string groupName, received type "+a+', coercing to string "'+i+'"'),r.push(i)):Ke.warn("WARNING: Skipping nested "+a+" in array groupName")}return r}Ke.warn("WARNING: Non-string groupName, received type "+n+". Please use strings or array of strings for groupName")},rt=function(e){Object.prototype.hasOwnProperty.call(Ve,e)&&(Xe=Ve[e])},ot=Ke,it=function(e){return!e||0===e.length},at=function(){return"undefined"!=typeof WorkerGlobalScope},st=function(e,t){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===n?void 0:decodeURIComponent(n[1].replace(/\+/g," "))},ut=function e(t){if("array"===Ge(t))for(var n=0;n<t.length;n++)t[n]=e(t[n]);else if("object"===Ge(t))for(var r in t)r in t&&(t[r]=e(t[r]));else t=Qe(t);return t},lt=function(e){var t=Ge(e);if("object"!==t)return Ke.error("Error: invalid groups format. Expecting Javascript object, received "+t+", ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=r,i=Ge(o);"string"!==i&&(o=String(o),Ke.warn("WARNING: Non-string groupType, received type "+i+', coercing to string "'+o+'"'));var a=nt(o,e[r]);null!==a&&(n[o]=a)}return n},ct=Je,ft=Ze,pt=function(e){return!!Je(e,"deviceId","string")&&(!(e.indexOf(".")>=0)||(Ke.error("Device IDs may not contain '.' characters. Value will be ignored: \"".concat(e,'"')),!1))},dt=function(e){return!!Je(e,"transport","string")&&(e!==Ue&&e!==Fe?(Ke.error("transport value must be one of '".concat(Fe,"' or '").concat(Ue,"'")),!1):!(e!==Ue&&"undefined"!=typeof navigator&&!navigator.sendBeacon)||(Ke.error("browser does not support sendBeacon, so transport must be HTTP"),!1))},ht=function(e){return!!(Je(e,"sessionId","number")&&new Date(e).getTime()>0)||(Ke.error("sessionId value must in milliseconds since epoch (Unix Timestamp)"),!1)},yt=function(){return Be.location},gt=function(e){var t=Be.location?Be.location.hostname:"";if(e){if("undefined"!=typeof document){var n=document.createElement("a");return n.href=e,n.hostname||t}if("function"==typeof URL)return new URL(e).hostname||t}return t},mt=function(e){try{for(var t=document.cookie.split(";"),n=null,r=0;r<t.length;r++){for(var o=t[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e)){n=o.substring(e.length,o.length);break}}return n}catch(e){return null}},vt=function(e,t,n){var r=null!==t?n.expirationDays:-1;if(r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3),r=o}var i=e+"="+t;r&&(i+="; expires="+r.toUTCString()),i+="; path=/",n.domain&&(i+="; domain="+n.domain),n.secure&&(i+="; Secure"),n.sameSite&&(i+="; SameSite="+n.sameSite),document.cookie=i},bt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.split(".")[pe];return n&&(e=parseInt(n,32)),e||(ot.warn("unable to parse malformed cookie: ".concat(t)),0)},wt=vt,St=mt,Et=function(e){try{var t,n=document.cookie.split(";").map(function(e){return e.trimStart()}),r=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=K(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(n);try{for(o.s();!(t=o.n()).done;){for(var i=t.value;" "===i.charAt(0);)i=i.substring(1);0===i.indexOf(e)&&r.push(i.substring(e.length))}}catch(e){o.e(e)}finally{o.f()}return r}catch(e){return[]}},_t=function(e){return X(e).sort(function(e,t){var n=bt(e);return bt(t)-n})},kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ge;if("undefined"==typeof document)return!1;var n=!1;try{var r=String(Date.now());vt(t,r,e),ot.info("Testing if cookies available"),n=mt(t+"=")===r}catch(e){ot.warn('Error thrown when checking for cookies. Reason: "'.concat(e,'"'))}finally{ot.info("Cleaning up cookies availability test"),vt(t,null,e)}return n},xt=function(){for(var e=crypto.getRandomValues(new Uint8Array(22)),t="",n=0;n<22;++n)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(e[n]%64);return t},Ot=function(e){var t=gt(e).split("."),n=[],r="_tldtest_"+xt();if(at())return"";for(var o=t.length-2;o>=0;--o)n.push(t.slice(o).join("."));for(var i=0;i<n.length;++i){var a=n[i],s={domain:"."+a};if(wt(r,1,s),St(r))return wt(r,null,s),a}return""},It={expirationDays:void 0,domain:void 0},Tt=function(e){var t="";return It.domain&&(t="."===It.domain.charAt(0)?It.domain.substring(1):It.domain),e+t},At=function(e){var t=Tt(e)+"=",n=St(t);try{if(n)return JSON.parse(qe.decode(n))}catch(e){return null}return null},Ct=function(e,t){try{return wt(Tt(e),qe.encode(JSON.stringify(t)),It),!0}catch(e){return!1}},Rt=function(e){try{return wt(Tt(e),null,It),!0}catch(e){return!1}},Nt={reset:function(){It={expirationDays:void 0,domain:void 0}},options:function(e){if(0===arguments.length)return It;e=e||{},It.expirationDays=e.expirationDays,It.secure=e.secure,It.sameSite=e.sameSite;var t=it(e.domain)?"."+Ot(yt().href):e.domain,n=Math.random();It.domain=t,Ct("amplitude_test",n);var r=At("amplitude_test");return r&&r===n||(t=null),Rt("amplitude_test"),It.domain=t,It},get:At,set:Ct,remove:Rt,setRaw:function(e,t){try{return wt(Tt(e),t,It),!0}catch(e){return!1}},getRaw:function(e){var t=Tt(e)+"=";return St(t)}},Pt=function(){function e(){q(this,e),this.map=new Map,this.length=0}return G(e,[{key:"key",value:function(e){var t=Array.from(this.map.keys())[e];return this.map.get(t)}},{key:"getItem",value:function(e){return this.map.get(e)}},{key:"setItem",value:function(e,t){this.map.has(e)||(this.length+=1),this.map.set(e,t)}},{key:"removeItem",value:function(e){this.map.has(e)&&(this.length-=1,this.map.delete(e))}},{key:"clear",value:function(){this.map.clear(),this.length=0}}]),e}();if(function(){var e,t=new Date;try{return Be.localStorage.setItem(t,t),e=Be.localStorage.getItem(t)===String(t),Be.localStorage.removeItem(t),e}catch(e){}return!1}())We=Be.localStorage;else if(void 0!==Be&&Be.globalStorage)try{We=Be.globalStorage[Be.location.hostname]}catch(e){}else if("undefined"!=typeof document){var jt=document.createElement("div"),Lt="localStorage";jt.style.display="none",document.getElementsByTagName("head")[0].appendChild(jt),jt.addBehavior&&(jt.addBehavior("#default#userdata"),We={length:0,setItem:function(e,t){jt.load(Lt),jt.getAttribute(e)||this.length++,jt.setAttribute(e,t),jt.save(Lt)},getItem:function(e){return jt.load(Lt),jt.getAttribute(e)},removeItem:function(e){jt.load(Lt),jt.getAttribute(e)&&this.length--,jt.removeAttribute(e),jt.save(Lt)},clear:function(){jt.load(Lt);for(var e,t=0;e=jt.XMLDocument.documentElement.attributes[t++];)jt.removeAttribute(e.name);jt.save(Lt),this.length=0},key:function(e){return jt.load(Lt),jt.XMLDocument.documentElement.attributes[e]}},jt.load(Lt),We.length=jt.XMLDocument.documentElement.attributes.length)}else at()&&(We=new Pt);We||(We={length:0,setItem:function(e,t){},getItem:function(e){},removeItem:function(e){},clear:function(){},key:function(e){}});var Dt,Mt=We,Ut=function(){this.storage=null};Ut.prototype.getStorage=function(e){if(null!==this.storage)return this.storage;if(!e&&kt())this.storage=Nt;else{var t="amp_cookiestore_";this.storage={_options:{expirationDays:void 0,domain:void 0,secure:!1},reset:function(){this._options={expirationDays:void 0,domain:void 0,secure:!1}},options:function(e){return 0===arguments.length?this._options:(e=e||{},this._options.expirationDays=e.expirationDays||this._options.expirationDays,this._options.domain=e.domain||this._options.domain||Be&&Be.location&&Be.location.hostname,this._options.secure=e.secure||!1)},get:function(e){try{return JSON.parse(Mt.getItem(t+e))}catch(e){}return null},set:function(e,n){try{return Mt.setItem(t+e,JSON.stringify(n)),!0}catch(e){}return!1},remove:function(e){try{Mt.removeItem(t+e)}catch(e){return!1}}}}return this.storage};var Ft=(W(Dt={},be,!0),W(Dt,we,!0),W(Dt,Se,!0),W(Dt,Ee,!0),Dt),$t=function(){function e(t){var n=t.storageKey,r=t.disableCookies,o=t.domain,i=t.secure,a=t.sameSite,s=t.expirationDays,u=t.storage;q(this,e),this.storageKey=n,this.domain=o,this.secure=i,this.sameSite=a,this.expirationDays=s,this.cookieDomain="";var l=yt()?yt().href:void 0,c=r?"":Ot(l);if(this.cookieDomain=o||(c?"."+c:null),Ft[u])this.storage=u;else{var f=r||!kt({domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays});this.storage=f?Se:be}}return G(e,[{key:"getCookieStorageKey",value:function(){if(!this.domain)return this.storageKey;var e="."===this.domain.charAt(0)?this.domain.substring(1):this.domain;return"".concat(this.storageKey).concat(e?"_".concat(e):"")}},{key:"save",value:function(e){var t=e.deviceId,n=e.userId,r=e.optOut,o=e.sessionId,i=e.lastEventTime,a=e.eventId,s=e.identifyId,u=e.sequenceNumber;if(this.storage!==we){var l=[t,qe.encode(n||""),r?"1":"",o?o.toString(32):"0",i?i.toString(32):"0",a?a.toString(32):"0",s?s.toString(32):"0",u?u.toString(32):"0"].join(".");switch(this.storage){case Ee:Be.sessionStorage&&Be.sessionStorage.setItem(this.storageKey,l);break;case Se:Mt.setItem(this.storageKey,l);break;case be:this.saveCookie(l)}}}},{key:"saveCookie",value:function(e){wt(this.getCookieStorageKey(),e,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays})}},{key:"load",value:function(){var e,t=this;if(this.storage===be){var n=this.getCookieStorageKey()+"=",r=Et(n);if(0===r.length||1===r.length)e=r[0];else{var o=_t(r)[0];r.forEach(function(){return wt(t.getCookieStorageKey(),null,{})}),this.saveCookie(o),e=St(n)}}if(e||(e=Mt.getItem(this.storageKey)),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey)}catch(e){ot.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}if(!e)return null;var i=e.split("."),a=null;if(i[le])try{a=qe.decode(i[le])}catch(e){a=null}return{deviceId:i[ue],userId:a,optOut:"1"===i[ce],sessionId:parseInt(i[fe],32),lastEventTime:parseInt(i[pe],32),eventId:parseInt(i[de],32),identifyId:parseInt(i[he],32),sequenceNumber:parseInt(i[ye],32)}}},{key:"clear",value:function(){var e;if(this.storage===be&&(e=St(this.getCookieStorageKey()+"="),wt(this.getCookieStorageKey(),null,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:0})),e||(e=Mt.getItem(this.storageKey),Mt.clear()),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey),Be.sessionStorage.clear()}catch(e){ot.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}return!!e}}]),e}(),zt="$clearAll",Bt=function(){this.userPropertiesOperations={},this.properties=[]};Bt.prototype.add=function(e,t){return"number"===Ge(t)||"string"===Ge(t)?this._addOperation("$add",e,t):ot.error("Unsupported type for value: "+Ge(t)+", expecting number or string"),this},Bt.prototype.append=function(e,t){return this._addOperation("$append",e,t),this},Bt.prototype.clearAll=function(){return Object.keys(this.userPropertiesOperations).length>0?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,zt)||ot.error("Need to send $clearAll on its own Identify object without any other operations, skipping $clearAll"),this):(this.userPropertiesOperations[zt]="-",this)},Bt.prototype.prepend=function(e,t){return this._addOperation("$prepend",e,t),this},Bt.prototype.set=function(e,t){return this._addOperation("$set",e,t),this},Bt.prototype.setOnce=function(e,t){return this._addOperation("$setOnce",e,t),this},Bt.prototype.unset=function(e){return this._addOperation("$unset",e,"-"),this},Bt.prototype.preInsert=function(e,t){return this._addOperation("$preInsert",e,t),this},Bt.prototype.postInsert=function(e,t){return this._addOperation("$postInsert",e,t),this},Bt.prototype.remove=function(e,t){return this._addOperation("$remove",e,t),this},Bt.prototype._addOperation=function(e,t,n){Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,zt)?ot.error("This identify already contains a $clearAll operation, skipping operation "+e):-1===this.properties.indexOf(t)?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,e)||(this.userPropertiesOperations[e]={}),this.userPropertiesOperations[e][t]=n,this.properties.push(t)):ot.error('User property "'+t+'" already used in this identify, skipping operation '+e)};var qt=function(e,t,n){this.url=e,this.data=t||{},this.headers=n};qt.prototype.send=function(e){if(!!Be.XDomainRequest){var t=new Be.XDomainRequest;t.open("POST",this.url,!0),t.onload=function(){e(200,t.responseText)},t.onerror=function(){"Request Entity Too Large"===t.responseText?e(413,t.responseText):e(500,t.responseText)},t.ontimeout=function(){},t.onprogress=function(){},t.send(A.stringify(this.data))}else if("undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.open("POST",this.url,!0),n.onreadystatechange=function(){4===n.readyState&&e(n.status,n.responseText)},function(e,t){for(var n in t)("Cross-Origin-Resource-Policy"!==n||t[n])&&e.setRequestHeader(n,t[n])}(n,this.headers),n.send(A.stringify(this.data))}else{var r=void 0;fetch(this.url,{method:"POST",headers:this.headers,body:A.stringify(this.data)}).then(function(e){return r=e.status,e.text()}).then(function(t){e(r,t)})}};var Ht=function(){this._price=null,this._productId=null,this._quantity=1,this._revenueType=null,this._properties=null};Ht.prototype.setProductId=function(e){return"string"!==Ge(e)?ot.error("Unsupported type for productId: "+Ge(e)+", expecting string"):it(e)?ot.error("Invalid empty productId"):this._productId=e,this},Ht.prototype.setQuantity=function(e){return"number"!==Ge(e)?ot.error("Unsupported type for quantity: "+Ge(e)+", expecting number"):this._quantity=parseInt(e),this},Ht.prototype.setPrice=function(e){return"number"!==Ge(e)?ot.error("Unsupported type for price: "+Ge(e)+", expecting number"):this._price=e,this},Ht.prototype.setRevenueType=function(e){return"string"!==Ge(e)?ot.error("Unsupported type for revenueType: "+Ge(e)+", expecting string"):this._revenueType=e,this},Ht.prototype.setEventProperties=function(e){return"object"!==Ge(e)?ot.error("Unsupported type for eventProperties: "+Ge(e)+", expecting object"):this._properties=ft(e),this},Ht.prototype._isValidRevenue=function(){return"number"===Ge(this._price)||(ot.error("Invalid revenue, need to set price field"),!1)},Ht.prototype._toJSONObject=function(){var e="object"===Ge(this._properties)?this._properties:{};return null!==this._productId&&(e[ke]=this._productId),null!==this._quantity&&(e[xe]=this._quantity),null!==this._price&&(e[Oe]=this._price),null!==this._revenueType&&(e[Ie]=this._revenueType),e};var Gt=X(Array(256).keys()).map(function(e){return e.toString(16).padStart(2,"0")}),Wt="US",Vt="EU",Xt=function(e){var t=oe;switch(e){case Vt:t=ie;break;case Wt:t=oe}return t},Kt="8.21.10",Yt={apiEndpoint:oe,batchEvents:!1,cookieExpiration:365,cookieName:"amplitude_id",sameSiteCookie:"Lax",cookieForceUpgrade:!1,deferInitialization:!1,disableCookies:!1,deviceIdFromUrlParam:!1,domain:"",eventUploadPeriodMillis:3e4,eventUploadThreshold:30,forceHttps:!0,includeFbclid:!1,includeGclid:!1,includeReferrer:!1,includeUtm:!1,ingestionMetadata:{sourceName:"",sourceVersion:""},language:function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage)||""}(),library:{name:"amplitude-js",version:Kt},logLevel:"WARN",logAttributionCapturedEvent:!1,optOut:!1,onError:function(){},onExitPage:function(){},onNewSessionStart:function(){},plan:{branch:"",source:"",version:"",versionId:""},platform:"Web",savedMaxCount:1e3,saveEvents:!0,saveParamsReferrerOncePerSession:!0,secureCookie:!1,sessionTimeout:18e5,storage:ve,trackingOptions:{city:!0,country:!0,carrier:!0,device_manufacturer:!0,device_model:!0,dma:!0,ip_address:!0,language:!0,os_name:!0,os_version:!0,platform:!0,region:!0,version_name:!0},transport:Ue,unsetParamsReferrerOnNewSession:!1,unsentKey:"amplitude_unsent",unsentIdentifyKey:"amplitude_unsent_identify",uploadBatchSize:100,headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Cross-Origin-Resource-Policy":"cross-origin"},serverZone:Wt,useDynamicConfig:!1,serverZoneBasedApi:!1,sessionId:null,partnerId:""},Qt=new(function(){function e(){return q(this,e),e.instance||(this.ingestionEndpoint=oe,e.instance=this),e.instance}return G(e,[{key:"refresh",value:function(e,t,n){var r="https";t||"https:"===Be.location.protocol||(r="http");var o=r+"://"+function(e){var t=ae;switch(e){case Vt:t=se;break;case Wt:t=ae}return t}(e),i=this;if(!!Be.XDomainRequest){var a=new Be.XDomainRequest;a.open("GET",o,!0),a.onload=function(){var e=JSON.parse(a.responseText);i.ingestionEndpoint=e.ingestionEndpoint,n&&n()},a.onerror=function(){},a.ontimeout=function(){},a.onprogress=function(){},a.send()}else{var s=new XMLHttpRequest;s.open("GET",o,!0),s.onreadystatechange=function(){if(4===s.readyState&&200===s.status){var e=JSON.parse(s.responseText);i.ingestionEndpoint=e.ingestionEndpoint,n&&n()}},s.send()}}}]),e}()),Jt=function(e){o()||at()||ot.warn("amplitude-js will not work in a non-browser environment. If you are planning to add Amplitude to a node environment, please use @amplitude/node"),this._instanceName=it(e)?J:e.toLowerCase(),this._unsentEvents=[],this._unsentIdentifys=[],this.options=z(z({},Yt),{},{headers:z({},Yt.headers),ingestionMetadata:z({},Yt.ingestionMetadata),library:z({},Yt.library),plan:z({},Yt.plan),trackingOptions:z({},Yt.trackingOptions)}),this._q=[],this._sending=!1,this._updateScheduled=!1,this._onInitCallbacks=[],this._onNewSessionStartCallbacks=[],this._eventId=0,this._identifyId=0,this._lastEventTime=null,this._newSession=!1,this._sequenceNumber=0,this._sessionId=null,this._isInitialized=!1,this._connector=null,this._userAgent="undefined"!=typeof navigator&&navigator&&navigator.userAgent||null,this._ua=new(R())(this._userAgent).getResult()};Jt.prototype.Identify=Bt,Jt.prototype.Revenue=Ht,Jt.prototype.init=function(e,t,n,r){var i=this;if("string"!==Ge(e)||it(e))ot.error("Invalid apiKey. Please re-initialize with a valid apiKey");else try{this._connector=F.getInstance(this._instanceName),en(this.options,n),(o()||at())&&void 0!==Be.Prototype&&Array.prototype.toJSON&&(!function(){var e;if(o()){var t=window,n=Array;if(void 0!==t.Prototype&&void 0!==(null===(e=n.prototype)||void 0===e?void 0:e.toJSON))return delete n.prototype.toJSON,!0}}(),ot.warn("Prototype.js injected Array.prototype.toJSON. Deleting Array.prototype.toJSON to prevent double-stringify")),this.options.cookieName!==Yt.cookieName&&ot.warn("The cookieName option is deprecated. We will be ignoring it for newer cookies"),this.options.serverZoneBasedApi&&(this.options.apiEndpoint=Xt(this.options.serverZone)),this._refreshDynamicConfig(),this.options.apiKey=e,this._storageSuffix="_"+e+(this._instanceName===J?"":"_"+this._instanceName),this._storageSuffixV5=e.slice(0,6),this._oldCookiename=this.options.cookieName+this._storageSuffix,this._unsentKey=this.options.unsentKey+this._storageSuffix,this._unsentIdentifyKey=this.options.unsentIdentifyKey+this._storageSuffix,this._cookieName=me+"_"+this._storageSuffixV5,this.cookieStorage=(new Ut).getStorage(this.options.disableCookies),this.cookieStorage.options({expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie}),this._metadataStorage=new $t({storageKey:this._cookieName,disableCookies:this.options.disableCookies,expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie,storage:this.options.storage});var a=!!this.cookieStorage.get(this._oldCookiename),s=!!this._metadataStorage.load();this._useOldCookie=!s&&a&&!this.options.cookieForceUpgrade;var u=s||a;if(this.options.deferInitialization&&!u)return void this._deferInitialization(e,t,n,r);this.options.domain=this.cookieStorage.options().domain,"string"===Ge(this.options.logLevel)&&rt(this.options.logLevel);var l=fn(this);this._apiPropertiesTrackingOptions=Object.keys(l).length>0?{tracking_options:l}:{},this.options.cookieForceUpgrade&&a&&(s||nn(this),this.cookieStorage.remove(this._oldCookiename)),tn(this),this._pendingReadStorage=!0;this.options.saveEvents&&(this._unsentEvents=this._loadSavedUnsentEvents(this.options.unsentKey).map(function(e){return{event:e}}).concat(this._unsentEvents),this._unsentIdentifys=this._loadSavedUnsentEvents(this.options.unsentIdentifyKey).map(function(e){return{event:e}}).concat(this._unsentIdentifys)),n&&n.onNewSessionStart&&this.onNewSessionStart(this.options.onNewSessionStart),function(e){n&&n.deviceId&&!pt(n.deviceId)&&(ot.error('Invalid device ID rejected. Randomly generated UUID will be used instead of "'.concat(n.deviceId,'"')),delete n.deviceId),i.options.deviceId=i._getInitialDeviceId(n&&n.deviceId,e),i.options.userId="string"===Ge(t)&&!it(t)&&t||"number"===Ge(t)&&t.toString()||i.options.userId||null;var r=(new Date).getTime(),o=!i._sessionId||!i._lastEventTime||r-i._lastEventTime>i.options.sessionTimeout||i.options.sessionId;o&&(i.options.unsetParamsReferrerOnNewSession&&i._unsetUTMParams(),i._newSession=!0,i._sessionId=i.options.sessionId||r,i.options.sessionId=void 0,i.options.saveParamsReferrerOncePerSession&&i._trackParamsAndReferrer()),i.options.saveParamsReferrerOncePerSession||i._trackParamsAndReferrer(),i.options.saveEvents&&(Zt(i._unsentEvents),Zt(i._unsentIdentifys)),i._lastEventTime=r,on(i),i._pendingReadStorage=!1,i._sendEventsIfReady();for(var a=0;a<i._onInitCallbacks.length;a++)i._onInitCallbacks[a](i);i._onInitCallbacks=[],i._isInitialized=!0,o&&i._runNewSessionStartCallbacks()}(),this.runQueuedFunctions(),"function"===Ge(r)&&r(this);var c=this.options.onExitPage;if("function"===Ge(c)&&Be.addEventListener&&!this.pageHandlersAdded){this.pageHandlersAdded=!0;Be.addEventListener("pagehide",function(){var e;e=i.options.transport,i.setTransport(Fe),c(),i.setTransport(e)},!1)}this._connector.eventBridge.setEventReceiver(function(e){i._logEvent(e.eventType,e.eventProperties,e.userProperties)});var f=this._connector.identityStore.editIdentity();this.options.deviceId&&f.setDeviceId(this.options.deviceId),this.options.userId&&f.setUserId(this.options.userId),f.commit()}catch(e){ot.error(e),n&&"function"===Ge(n.onError)&&n.onError(e)}},Jt.prototype._runNewSessionStartCallbacks=function(){for(var e=0;e<this._onNewSessionStartCallbacks.length;e++)this._onNewSessionStartCallbacks[e](this)},Jt.prototype.deleteLowerLevelDomainCookies=function(){var e=gt(),t=this.options.domain&&"."===this.options.domain[0]?this.options.domain.slice(1):this.options.domain;if(t&&at()&&e!==t&&new RegExp(t+"$").test(e)){for(var n=e.split("."),r=t.split("."),o=n.length;o>r.length;--o){var i=n.slice(n.length-o).join(".");wt(this._cookieName,null,{domain:"."+i})}wt(this._cookieName,null,{})}},Jt.prototype._getInitialDeviceId=function(e,t){if(e)return e;if(this.options.deviceIdFromUrlParam){var n=this._getDeviceIdFromUrlParam(this._getUrlParams());if(n)return n}return this.options.deviceId?this.options.deviceId:t||xt()};var Zt=function(e){for(var t=0;t<e.length;t++){var n=e[t].event.user_properties,r=e[t].event.event_properties,o=e[t].event.groups;e[t].event.user_properties=ft(n),e[t].event.event_properties=ft(r),e[t].event.groups=lt(o)}};Jt.prototype._trackParamsAndReferrer=function(){var e,t,n,r;if(this.options.includeUtm&&(e=this._initUtmData()),this.options.includeReferrer&&(t=this._saveReferrer(this._getReferrer())),this.options.includeGclid&&(n=this._saveGclid(this._getUrlParams())),this.options.includeFbclid&&(r=this._saveFbclid(this._getUrlParams())),this.options.logAttributionCapturedEvent){var o=z(z(z(z({},e),t),n),r);Object.keys(o).length>0&&this.logEvent(Me,o)}};var en=function e(t,n){if("object"===Ge(n)){var r=new Set(["headers"]),o=new Set(["eventUploadPeriodMillis"]),i=function(r){if(Object.prototype.hasOwnProperty.call(t,r)){var i=n[r],a=Ge(t[r]);("transport"!==r||dt(i))&&("sessionId"!==r||null===i?ct(i,r+" option",a)&&("boolean"===a?t[r]=!!i:"string"===a&&!it(i)||"number"===a&&(i>0||0===i&&o.has(r))||"function"===a?t[r]=i:"object"===a&&e(t[r],i)):t[r]=ht(i)?i:null)}};for(var a in n)r.has(a)?t[a]=z(z({},t[a]),n[a]):Object.prototype.hasOwnProperty.call(n,a)&&i(a)}};Jt.prototype.runQueuedFunctions=function(){var e=this._q;this._q=[];for(var t=0;t<e.length;t++){var n=this[e[t][0]];"function"===Ge(n)&&n.apply(this,e[t].slice(1))}},Jt.prototype._apiKeySet=function(e){return!it(this.options.apiKey)||(ot.error("Invalid apiKey. Please set a valid apiKey with init() before calling "+e),!1)},Jt.prototype._loadSavedUnsentEvents=function(e){var t=this._getFromStorage(Mt,e),n=this._parseSavedUnsentEventsString(t,e);return this._setInStorage(Mt,e,JSON.stringify(n)),n},Jt.prototype._parseSavedUnsentEventsString=function(e,t){if(it(e))return[];if("string"===Ge(e))try{var n=JSON.parse(e);if("array"===Ge(n))return n}catch(e){}return ot.error("Unable to load "+t+" events. Restart with a new empty queue."),[]},Jt.prototype.isNewSession=function(){return this._newSession},Jt.prototype.onInit=function(e){this._isInitialized?e(this):this._onInitCallbacks.push(e)},Jt.prototype.onNewSessionStart=function(e){this._onNewSessionStartCallbacks.push(e)},Jt.prototype.getSessionId=function(){return this._sessionId},Jt.prototype.nextEventId=function(){return this._eventId++,this._eventId},Jt.prototype.nextIdentifyId=function(){return this._identifyId++,this._identifyId},Jt.prototype.nextSequenceNumber=function(){return this._sequenceNumber++,this._sequenceNumber},Jt.prototype._unsentCount=function(){return this._unsentEvents.length+this._unsentIdentifys.length},Jt.prototype._sendEventsIfReady=function(){return 0!==this._unsentCount()&&(this.options.batchEvents?this._unsentCount()>=this.options.eventUploadThreshold||this.options.transport===Fe?(this.sendEvents(),!0):(this._updateScheduled||(this._updateScheduled=!0,setTimeout(function(){this._updateScheduled=!1,this.sendEvents()}.bind(this),this.options.eventUploadPeriodMillis)),!1):(this.sendEvents(),!0))},Jt.prototype.clearStorage=function(){return this._metadataStorage.clear()},Jt.prototype._getFromStorage=function(e,t){return e.getItem(t+this._storageSuffix)},Jt.prototype._setInStorage=function(e,t,n){e.setItem(t+this._storageSuffix,n)};var tn=function(e){if(e._useOldCookie){var t=e.cookieStorage.get(e._oldCookiename);"object"!==Ge(t)||rn(e,t)}else{var n=e._metadataStorage.load();"object"===Ge(n)&&rn(e,n)}},nn=function(e){var t=e.cookieStorage.get(e._oldCookiename);"object"===Ge(t)&&(rn(e,t),on(e))},rn=function(e,t){t.deviceId&&(e.options.deviceId=t.deviceId),t.userId&&(e.options.userId=t.userId),null!==t.optOut&&void 0!==t.optOut&&!1!==t.optOut&&(e.options.optOut=t.optOut),t.sessionId&&(e._sessionId=parseInt(t.sessionId,10)),t.lastEventTime&&(e._lastEventTime=parseInt(t.lastEventTime,10)),t.eventId&&(e._eventId=parseInt(t.eventId,10)),t.identifyId&&(e._identifyId=parseInt(t.identifyId,10)),t.sequenceNumber&&(e._sequenceNumber=parseInt(t.sequenceNumber,10))},on=function(e){var t={deviceId:e.options.deviceId,userId:e.options.userId,optOut:e.options.optOut,sessionId:e._sessionId,lastEventTime:e._lastEventTime,eventId:e._eventId,identifyId:e._identifyId,sequenceNumber:e._sequenceNumber};e._useOldCookie?e.cookieStorage.set(e.options.cookieName+e._storageSuffix,t):e._metadataStorage.save(t)};Jt.prototype._initUtmData=function(e,t){e=e||this._getUrlParams(),t=t||this.cookieStorage.get("__utmz");var n,r,o,i,a,s,u,l,c,f,p,d=(r=e,o=(n=t)?"?"+n.split(".").slice(-1)[0].replace(/\|/g,"&"):"",i=function(e,t,n,r){return st(e,t)||st(n,r)},a=i(Ne,r,"utmcsr",o),s=i(Pe,r,"utmcmd",o),u=i(je,r,"utmccn",o),l=i(Le,r,"utmctr",o),c=i(De,r,"utmcct",o),f={},(p=function(e,t){it(t)||(f[e]=t)})(Ne,a),p(Pe,s),p(je,u),p(Le,l),p(De,c),f);return an(this,d),d},Jt.prototype._unsetUTMParams=function(){var e=new Bt;e.unset(Ce),e.unset(Re),e.unset(Ne),e.unset(Pe),e.unset(je),e.unset(Le),e.unset(De),this.identify(e)};var an=function(e,t){if("object"===Ge(t)&&0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n.setOnce("initial_"+r,t[r]),n.set(r,t[r]));e.identify(n)}};Jt.prototype._getReferrer=function(){var e=this._getReferrerFromUrlParam(this._getUrlParams());return e||("undefined"!=typeof document?document.referrer:"")},Jt.prototype._getUrlParams=function(){return Be.location.search},Jt.prototype._saveGclid=function(e){var t=st("gclid",e);if(!it(t)){var n={gclid:t};return an(this,n),n}},Jt.prototype._saveFbclid=function(e){var t=st("fbclid",e);if(!it(t)){var n={fbclid:t};return an(this,n),n}},Jt.prototype._getDeviceIdFromUrlParam=function(e){return st(Te,e)},Jt.prototype._getReferrerFromUrlParam=function(e){return st(Ae,e)},Jt.prototype._getReferringDomain=function(e){if(it(e))return null;var t=e.split("/");return t.length>=3?t[2]:null},Jt.prototype._saveReferrer=function(e){if(!it(e)){var t={referrer:e,referring_domain:this._getReferringDomain(e)};return an(this,t),t}},Jt.prototype.saveEvents=function(){try{var e=JSON.stringify(this._unsentEvents.map(function(e){return e.event}));this._setInStorage(Mt,this.options.unsentKey,e)}catch(e){}try{var t=JSON.stringify(this._unsentIdentifys.map(function(e){return e.event}));this._setInStorage(Mt,this.options.unsentIdentifyKey,t)}catch(e){}},Jt.prototype.setDomain=function(e){if(this._shouldDeferCall())return this._q.push(["setDomain"].concat(Array.prototype.slice.call(arguments,0)));if(ct(e,"domain","string"))try{this.cookieStorage.options({expirationDays:this.options.cookieExpiration,secure:this.options.secureCookie,domain:e,sameSite:this.options.sameSiteCookie}),this.options.domain=this.cookieStorage.options().domain,tn(this),on(this)}catch(e){ot.error(e)}},Jt.prototype.setUserId=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ct(t,"startNewSession","boolean")){if(this._shouldDeferCall())return this._q.push(["setUserId"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.userId=null!=e&&""+e||null,t&&(this.options.unsetParamsReferrerOnNewSession&&this._unsetUTMParams(),this._newSession=!0,this._sessionId=(new Date).getTime(),this._runNewSessionStartCallbacks(),this.options.saveParamsReferrerOncePerSession&&this._trackParamsAndReferrer()),on(this),this._connector&&this._connector.identityStore.editIdentity().setUserId(this.options.userId).commit()}catch(e){ot.error(e)}}},Jt.prototype.setGroup=function(e,t){if(this._shouldDeferCall())return this._q.push(["setGroup"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setGroup()")&&ct(e,"groupType","string")&&!it(e)){var n={};n[e]=t;var r=(new Bt).set(e,t);this._logEvent(ne,null,null,r.userPropertiesOperations,n,null,null,null)}},Jt.prototype.setOptOut=function(e){if(this._shouldDeferCall())return this._q.push(["setOptOut"].concat(Array.prototype.slice.call(arguments,0)));if(ct(e,"enable","boolean"))try{this.options.optOut=e,on(this)}catch(e){ot.error(e)}},Jt.prototype.setSessionId=function(e){if(ct(e,"sessionId","number"))try{this._sessionId=e,on(this)}catch(e){ot.error(e)}},Jt.prototype.resetSessionId=function(){this.setSessionId((new Date).getTime())},Jt.prototype.regenerateDeviceId=function(){if(this._shouldDeferCall())return this._q.push(["regenerateDeviceId"].concat(Array.prototype.slice.call(arguments,0)));this.setDeviceId(xt())},Jt.prototype.setDeviceId=function(e){if(this._shouldDeferCall())return this._q.push(["setDeviceId"].concat(Array.prototype.slice.call(arguments,0)));if(pt(e))try{it(e)||(this.options.deviceId=""+e,on(this),this._connector&&this._connector.identityStore.editIdentity().setDeviceId(this.options.deviceId).commit())}catch(e){ot.error(e)}},Jt.prototype.setTransport=function(e){if(this._shouldDeferCall())return this._q.push(["setTransport"].concat(Array.prototype.slice.call(arguments,0)));dt(e)&&(this.options.transport=e)},Jt.prototype.setUserProperties=function(e){if(this._shouldDeferCall())return this._q.push(["setUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setUserProperties()")&&ct(e,"userProperties","object")){var t=ut(ft(e));if(0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.set(r,t[r]);this.identify(n)}}},Jt.prototype.clearUserProperties=function(){if(this._shouldDeferCall())return this._q.push(["clearUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("clearUserProperties()")){var e=new Bt;e.clearAll(),this.identify(e)}};var sn=function(e,t){for(var n=0;n<t._q.length;n++){var r=e[t._q[n][0]];"function"===Ge(r)&&r.apply(e,t._q[n].slice(1))}return e};Jt.prototype.identify=function(e,t,n,r){if(this._shouldDeferCall())return this._q.push(["identify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("identify()"))if("object"===Ge(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new Bt,e)),e instanceof Bt){if(Object.keys(e.userPropertiesOperations).length>0)return this._logEvent(ne,null,null,e.userPropertiesOperations,null,null,null,t,n,r);dn(t,n,0,"No request sent",{reason:"No user property operations"})}else ot.error("Invalid identify input type. Expected Identify object but saw "+Ge(e)),dn(t,n,0,"No request sent",{reason:"Invalid identify input type"});else dn(t,n,0,"No request sent",{reason:"API key is not set"})},Jt.prototype.groupIdentify=function(e,t,n,r,o,i){if(this._shouldDeferCall())return this._q.push(["groupIdentify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("groupIdentify()"))if(ct(e,"group_type","string")&&!it(e))if(null!=t)if("object"===Ge(n)&&Object.prototype.hasOwnProperty.call(n,"_q")&&(n=sn(new Bt,n)),n instanceof Bt){if(Object.keys(n.userPropertiesOperations).length>0)return this._logEvent(re,null,null,null,W({},e,t),n.userPropertiesOperations,null,r,o,i);dn(r,o,0,"No request sent",{reason:"No group property operations"})}else ot.error("Invalid identify input type. Expected Identify object but saw "+Ge(n)),dn(r,o,0,"No request sent",{reason:"Invalid identify input type"});else dn(r,o,0,"No request sent",{reason:"Invalid group name"});else dn(r,o,0,"No request sent",{reason:"Invalid group type"});else dn(r,o,0,"No request sent",{reason:"API key is not set"})},Jt.prototype.setVersionName=function(e){if(this._shouldDeferCall())return this._q.push(["setVersionName"].concat(Array.prototype.slice.call(arguments,0)));ct(e,"versionName","string")&&(this.options.versionName=e)},Jt.prototype._logEvent=function(e,t,n,r,o,i,a,s,u,l){var c;if(tn(this),e)if(this.options.optOut)dn(s,u,0,"No request sent",{reason:"optOut is set to true"});else try{var f;f=e===ne||e===re?this.nextIdentifyId():this.nextEventId();var p=this.nextSequenceNumber(),d="number"===Ge(a)?a:(new Date).getTime();l?this._sessionId=-1:(!this._sessionId||!this._lastEventTime||d-this._lastEventTime>this.options.sessionTimeout)&&(this._sessionId=d,this._runNewSessionStartCallbacks()),this._lastEventTime=d,on(this);var h=this._ua.browser.name,y=this._ua.browser.major,g=this._ua.device.model||this._ua.os.name,m=this._ua.device.vendor;r=r||{};var v=z({},this._apiPropertiesTrackingOptions);n=z(z({},n||{}),v),t=t||{},o=o||{},i=i||{};var b={device_id:this.options.deviceId,user_id:this.options.userId,timestamp:d,event_id:f,session_id:this._sessionId||-1,event_type:e,version_name:this.options.versionName||null,platform:cn(this,"platform")?this.options.platform:null,os_name:cn(this,"os_name")&&h||null,os_version:cn(this,"os_version")&&y||null,device_model:cn(this,"device_model")&&g||null,device_manufacturer:cn(this,"device_manufacturer")&&m||null,language:cn(this,"language")?this.options.language:null,api_properties:n,event_properties:ut(ft(t)),user_properties:ut(ft(r)),uuid:(c=crypto.getRandomValues(new Uint8Array(16)),c[6]=15&c[6]|64,c[8]=63&c[8]|128,X(c.entries()).map(function(e){var t=V(e,2),n=t[0],r=t[1];return[4,6,8,10].includes(n)?"-".concat(Gt[r]):Gt[r]}).join("")),library:this.options.library,sequence_number:p,groups:ut(lt(o)),group_properties:ut(ft(i)),user_agent:this._userAgent,partner_id:this.options.partnerId||null};return un(this)&&(b.plan={branch:this.options.plan.branch||void 0,source:this.options.plan.source||void 0,version:this.options.plan.version||void 0,versionId:this.options.plan.versionId||void 0}),ln(this)&&(b.ingestion_metadata={source_name:this.options.ingestionMetadata.sourceName||void 0,source_version:this.options.ingestionMetadata.sourceVersion||void 0}),e===ne||e===re?(this._unsentIdentifys.push({event:b,callback:s,errorCallback:u}),this._limitEventsQueued(this._unsentIdentifys)):(this._unsentEvents.push({event:b,callback:s,errorCallback:u}),this._limitEventsQueued(this._unsentEvents)),this.options.saveEvents&&this.saveEvents(),this._sendEventsIfReady(),e===ne&&this._connector&&this._connector.identityStore.editIdentity().updateUserProperties(ut(ft(r))).commit(),f}catch(e){ot.error(e)}else dn(s,u,0,"No request sent",{reason:"Missing eventType"})};var un=function(e){return e.options.plan&&(e.options.plan.source||e.options.plan.branch||e.options.plan.version||e.options.plan.versionId)},ln=function(e){return e.options.ingestionMetadata&&(e.options.ingestionMetadata.sourceName||e.options.ingestionMetadata.sourceVersion)},cn=function(e,t){return!!e.options.trackingOptions[t]},fn=function(e){for(var t=["city","country","dma","ip_address","region"],n={},r=0;r<t.length;r++){var o=t[r];cn(e,o)||(n[o]=!1)}return n};Jt.prototype._limitEventsQueued=function(e){e.length>this.options.savedMaxCount&&e.splice(0,e.length-this.options.savedMaxCount).forEach(function(e){dn(e.callback,e.errorCallback,0,"No request sent",{reason:"Event dropped because options.savedMaxCount exceeded. User may be offline or have a content blocker"})})},Jt.prototype.logEvent=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this._shouldDeferCall()?this._q.push(["logEvent"].concat(Array.prototype.slice.call(arguments,0))):this.logEventWithTimestamp(e,t,null,n,r,o)},Jt.prototype.logEventWithTimestamp=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithTimestamp"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEvent()")?ct(e,"eventType","string")?it(e)?(dn(r,o,0,"No request sent",{reason:"Missing eventType"}),-1):(ct(i,"outOfSession","boolean")||dn(r,o,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,null,null,n,r,o,i)):(dn(r,o,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(dn(r,o,0,"No request sent",{reason:"API key not set"}),-1)},Jt.prototype.logEventWithGroups=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithGroups"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEventWithGroups()")?ct(e,"eventType","string")?(ct(i,"outOfSession","boolean")||dn(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,n,null,null,r,o,i)):(dn(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(dn(event.callback,event.errorCallback,0,"No request sent",{reason:"API key not set"}),-1)};var pn=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},dn=function(e,t,n,r,o){"function"===Ge(e)&&e(n,r,o),"function"===Ge(t)&&t(n,r,o)};Jt.prototype.logRevenueV2=function(e){if(this._shouldDeferCall())return this._q.push(["logRevenueV2"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("logRevenueV2()"))if("object"===Ge(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new Ht,e)),e instanceof Ht){if(e&&e._isValidRevenue())return this.logEvent(_e,e._toJSONObject())}else ot.error("Invalid revenue input type. Expected Revenue object but saw "+Ge(e))},Jt.prototype.logRevenue=function(e,t,n){return this._shouldDeferCall()?this._q.push(["logRevenue"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logRevenue()")&&pn(e)&&(void 0===t||pn(t))?this._logEvent(_e,{},{productId:n,special:"revenue_amount",quantity:t||1,price:e},null,null,null,null,null):-1},Jt.prototype._logErrorsOnEvents=function(e,t,n,r){for(var o=["_unsentEvents","_unsentIdentifys"],i=0;i<o.length;i++)for(var a=o[i],s="_unsentEvents"===a?e:t,u=0;u<this[a].length;u++){var l=this[a][u];l.event.event_id<=s&&l.errorCallback&&l.errorCallback(n,r)}},Jt.prototype.removeEvents=function(e,t,n,r){hn(this,"_unsentEvents",e,n,r),hn(this,"_unsentIdentifys",t,n,r)};var hn=function(e,t,n,r,o){if(!(n<0)){for(var i=[],a=0;a<e[t].length;a++){var s=e[t][a];s.event.event_id>n?i.push(s):s.callback&&s.callback(r,o)}e[t]=i}};Jt.prototype.sendEvents=function(){if(this._apiKeySet("sendEvents()")){if(this.options.optOut)this.removeEvents(1/0,1/0,0,"No request sent",{reason:"Opt out is set to true"});else if(0!==this._unsentCount()){if(this.options.transport!==Fe){if(this._sending)return;this._sending=!0}var e=(this.options.forceHttps||"https:"===Be.location.protocol?"https":"http")+"://"+this.options.apiEndpoint,t=Math.min(this._unsentCount(),this.options.uploadBatchSize),n=this._mergeEventsAndIdentifys(t),r=n.maxEventId,o=n.maxIdentifyId,i=JSON.stringify(n.eventsToSend.map(function(e){return e.event})),s=(new Date).getTime(),u={client:this.options.apiKey,e:i,v:Z,upload_time:s,checksum:a()(Z+this.options.apiKey+i+s)};if(this.options.transport!==Fe||"undefined"==typeof navigator){var l=this;try{new qt(e,u,this.options.headers).send(function(e,n){l._sending=!1;try{200===e?(l.removeEvents(r,o,e,n),l.options.saveEvents&&l.saveEvents(),l._sendEventsIfReady()):(l._logErrorsOnEvents(r,o,e,n),413===e&&(1===l.options.uploadBatchSize&&l.removeEvents(r,o,e,n),l.options.uploadBatchSize=Math.ceil(t/2),l.sendEvents()))}catch(e){}})}catch(e){var c="Request failed to send";ot.error(c),l._logErrorsOnEvents(r,o,0,c),l.removeEvents(r,o,0,c,{reason:e.message})}}else{navigator.sendBeacon(e,new URLSearchParams(u))?(this.removeEvents(r,o,200,"success"),this.options.saveEvents&&this.saveEvents()):this._logErrorsOnEvents(r,o,0,"")}}}else this.removeEvents(1/0,1/0,0,"No request sent",{reason:"API key not set"})},Jt.prototype._mergeEventsAndIdentifys=function(e){for(var t=[],n=0,r=-1,o=0,i=-1;t.length<e;){var a=void 0,s=o>=this._unsentIdentifys.length,u=n>=this._unsentEvents.length;if(u&&s){ot.error("Merging Events and Identifys, less events and identifys than expected");break}s?r=(a=this._unsentEvents[n++]).event.event_id:u?i=(a=this._unsentIdentifys[o++]).event.event_id:!("sequence_number"in this._unsentEvents[n].event)||this._unsentEvents[n].event.sequence_number<this._unsentIdentifys[o].event.sequence_number?r=(a=this._unsentEvents[n++]).event.event_id:i=(a=this._unsentIdentifys[o++]).event.event_id,t.push(a)}return{eventsToSend:t,maxEventId:r,maxIdentifyId:i}},Jt.prototype.setGlobalUserProperties=function(e){this.setUserProperties(e)},Jt.prototype.__VERSION__=function(){return this.options.library.version},Jt.prototype.setLibrary=function(e,t){null!=e&&(this.options.library.name=e),null!=t&&(this.options.library.version=t)},Jt.prototype._shouldDeferCall=function(){return this._pendingReadStorage||this._initializationDeferred},Jt.prototype._deferInitialization=function(){this._initializationDeferred=!0,this._q.push(["init"].concat(Array.prototype.slice.call(arguments,0)))},Jt.prototype.enableTracking=function(){this._initializationDeferred=!1,on(this),this.runQueuedFunctions()},Jt.prototype._refreshDynamicConfig=function(){this.options.useDynamicConfig&&Qt.refresh(this.options.serverZone,this.options.forceHttps,function(){this.options.apiEndpoint=Qt.ingestionEndpoint}.bind(this))},Jt.prototype.getDeviceId=function(){return this.options.deviceId},Jt.prototype.getUserId=function(){return this.options.userId},Jt.prototype.setMinTimeBetweenSessionsMillis=function(e){if(ct(e,"timeInMillis","number")){if(this._shouldDeferCall())return this._q.push(["setMinTimeBetweenSessionsMillis"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.sessionTimeout=e}catch(e){ot.error(e)}}},Jt.prototype.setEventUploadThreshold=function(e){if(ct(e,"eventUploadThreshold","number")){if(this._shouldDeferCall())return this._q.push(["setEventUploadThreshold"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.eventUploadThreshold=e}catch(e){ot.error(e)}}},Jt.prototype.setUseDynamicConfig=function(e){if(ct(e,"useDynamicConfig","boolean")){if(this._shouldDeferCall())return this._q.push(["setUseDynamicConfig"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.useDynamicConfig=e,this._refreshDynamicConfig()}catch(e){ot.error(e)}}},Jt.prototype.setServerZone=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((e===Vt||e===Wt)&&ct(t,"serverZoneBasedApi","boolean")){if(this._shouldDeferCall())return this._q.push(["setServerZone"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.serverZone=e,this.options.serverZoneBasedApi=t,t&&(this.options.apiEndpoint=Xt(this.options.serverZone))}catch(e){ot.error(e)}}},Jt.prototype.setServerUrl=function(e){if(ct(e,"serverUrl","string")){if(this._shouldDeferCall())return this._q.push(["setServerUrl"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.apiEndpoint=e}catch(e){ot.error(e)}}};var yn=function(){this.options=z({},Yt),this._q=[],this._instances={}};yn.prototype.Identify=Bt,yn.prototype.Revenue=Ht,yn.prototype.getInstance=function(e){e=it(e)?J:e.toLowerCase();var t=this._instances[e];return void 0===t&&(t=new Jt(e),this._instances[e]=t),t},yn.prototype.init=function(e,t,n,r){this.getInstance().init(e,t,n,function(e){this.options=e.options,"function"===Ge(r)&&r(e)}.bind(this))},yn.prototype.isNewSession=function(){return this.getInstance().isNewSession()},yn.prototype.getSessionId=function(){return this.getInstance().getSessionId()},yn.prototype.nextEventId=function(){return this.getInstance().nextEventId()},yn.prototype.nextIdentifyId=function(){return this.getInstance().nextIdentifyId()},yn.prototype.nextSequenceNumber=function(){return this.getInstance().nextSequenceNumber()},yn.prototype.saveEvents=function(){this.getInstance().saveEvents()},yn.prototype.setDomain=function(e){this.getInstance().setDomain(e)},yn.prototype.setUserId=function(e){this.getInstance().setUserId(e)},yn.prototype.setGroup=function(e,t){this.getInstance().setGroup(e,t)},yn.prototype.setOptOut=function(e){this.getInstance().setOptOut(e)},yn.prototype.regenerateDeviceId=function(){this.getInstance().regenerateDeviceId()},yn.prototype.setDeviceId=function(e){this.getInstance().setDeviceId(e)},yn.prototype.setUserProperties=function(e){this.getInstance().setUserProperties(e)},yn.prototype.clearUserProperties=function(){this.getInstance().clearUserProperties()},yn.prototype.identify=function(e,t){this.getInstance().identify(e,t)},yn.prototype.setVersionName=function(e){this.getInstance().setVersionName(e)},yn.prototype.logEvent=function(e,t,n){return this.getInstance().logEvent(e,t,n)},yn.prototype.logEventWithGroups=function(e,t,n,r){return this.getInstance().logEventWithGroups(e,t,n,r)},yn.prototype.logRevenueV2=function(e){return this.getInstance().logRevenueV2(e)},yn.prototype.logRevenue=function(e,t,n){return this.getInstance().logRevenue(e,t,n)},yn.prototype.removeEvents=function(e,t){this.getInstance().removeEvents(e,t)},yn.prototype.sendEvents=function(e){this.getInstance().sendEvents(e)},yn.prototype.setGlobalUserProperties=function(e){this.getInstance().setUserProperties(e)},yn.prototype.__VERSION__=Kt;var gn=void 0!==Be&&Be.amplitude||{},mn=new yn;for(var vn in mn._q=gn._q||[],gn._iq)Object.prototype.hasOwnProperty.call(gn._iq,vn)&&(mn.getInstance(vn)._q=gn._iq[vn]._q||[])},95672(e,t,n){"use strict";var r=n(6046)("ArrayBuffer.prototype.byteLength",!0),o=n(6705);e.exports=function(e){return o(e)?r?r(e):e.byteLength:NaN}},83141(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}var s,u,l=n(75078).codes,c=l.ERR_AMBIGUOUS_ARGUMENT,f=l.ERR_INVALID_ARG_TYPE,p=l.ERR_INVALID_ARG_VALUE,d=l.ERR_INVALID_RETURN_VALUE,h=l.ERR_MISSING_ARGS,y=n(15841),g=n(41835).inspect,m=n(41835).types,v=m.isPromise,b=m.isRegExp,w=n(91636)(),S=n(25649)(),E=n(16380)("RegExp.prototype.test");new Map;function _(){var e=n(17392);s=e.isDeepEqual,u=e.isDeepStrictEqual}var k=!1,x=e.exports=A,O={};function I(e){if(e.message instanceof Error)throw e.message;throw new y(e)}function T(e,t,n,r){if(!n){var o=!1;if(0===t)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new y({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T.apply(void 0,[A,t.length].concat(t))}x.fail=function e(t,n,r,o,i){var a,s=arguments.length;if(0===s)a="Failed";else if(1===s)r=t,t=void 0;else{if(!1===k)k=!0,({}.emitWarning?{}.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===s&&(o="!=")}if(r instanceof Error)throw r;var u={actual:t,expected:n,operator:void 0===o?"fail":o,stackStartFn:i||e};void 0!==r&&(u.message=r);var l=new y(u);throw a&&(l.message=a,l.generatedMessage=!0),l},x.AssertionError=y,x.ok=A,x.equal=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t!=n&&I({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},x.notEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t==n&&I({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},x.deepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),s(t,n)||I({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},x.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),s(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},x.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),u(t,n)||I({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},x.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_();u(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},x.strictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");S(t,n)||I({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},x.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");S(t,n)&&I({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var C=i(function e(t,n,r){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach(function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&b(t[e])&&E(t[e],r[e])?o[e]=r[e]:o[e]=t[e])})});function R(e,t,n,o){if("function"!=typeof t){if(b(t))return E(t,e);if(2===arguments.length)throw new f("expected",["Function","RegExp"],t);if("object"!==r(e)||null===e){var i=new y({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:o});throw i.operator=o.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new p("error",t,"may not be an empty object");return void 0===s&&_(),a.forEach(function(r){"string"==typeof e[r]&&b(t[r])&&E(t[r],e[r])||function(e,t,n,r,o,i){if(!(n in e)||!u(e[n],t[n])){if(!r){var a=new C(e,o),s=new C(t,o,e),l=new y({actual:a,expected:s,operator:"deepStrictEqual",stackStartFn:i});throw l.actual=e,l.expected=t,l.operator=i.name,l}I({actual:e,expected:t,message:r,operator:i.name,stackStartFn:i})}}(e,t,r,n,a,o)}),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function N(e){if("function"!=typeof e)throw new f("fn","Function",e);try{e()}catch(e){return e}return O}function P(e){return v(e)||null!==e&&"object"===r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return Promise.resolve().then(function(){var t;if("function"==typeof e){if(!P(t=e()))throw new d("instance of Promise","promiseFn",t)}else{if(!P(e))throw new f("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then(function(){return t}).then(function(){return O}).catch(function(e){return e})})}function L(e,t,n,o){if("string"==typeof n){if(4===arguments.length)throw new f("error",["Object","Error","Function","RegExp"],n);if("object"===r(t)&&null!==t){if(t.message===n)throw new c("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new c("error/message",'The error "'.concat(t,'" is identical to the message.'));o=n,n=void 0}else if(null!=n&&"object"!==r(n)&&"function"!=typeof n)throw new f("error",["Object","Error","Function","RegExp"],n);if(t===O){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=o?": ".concat(o):".";var a="rejects"===e.name?"rejection":"exception";I({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(n&&!R(t,n,o,e))throw t}function D(e,t,n,r){if(t!==O){if("string"==typeof n&&(r=n,n=void 0),!n||R(t,n)){var o=r?": ".concat(r):".",i="doesNotReject"===e.name?"rejection":"exception";I({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function M(e,t,n,o,i){if(!b(t))throw new f("regexp","RegExp",t);var a="match"===i;if("string"!=typeof e||E(t,e)!==a){if(n instanceof Error)throw n;var s=!n;n=n||("string"!=typeof e?'The "string" argument must be of type string. Received type '+"".concat(r(e)," (").concat(g(e),")"):(a?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(g(t),". Input:\n\n").concat(g(e),"\n"));var u=new y({actual:e,expected:t,message:n,operator:i,stackStartFn:o});throw u.generatedMessage=s,u}}function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T.apply(void 0,[U,t.length].concat(t))}x.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];L.apply(void 0,[e,N(t)].concat(r))},x.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return j(t).then(function(t){return L.apply(void 0,[e,t].concat(r))})},x.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];D.apply(void 0,[e,N(t)].concat(r))},x.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return j(t).then(function(t){return D.apply(void 0,[e,t].concat(r))})},x.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===r(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=g(t);var o=new y({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=o.stack.split("\n"),u=0;u<a.length;u++){var l=s.indexOf(a[u]);if(-1!==l){s=s.slice(0,l);break}}o.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw o}},x.match=function e(t,n,r){M(t,n,r,e,"match")},x.doesNotMatch=function e(t,n,r){M(t,n,r,e,"doesNotMatch")},x.strict=w(U,x,{equal:x.strictEqual,deepEqual:x.deepStrictEqual,notEqual:x.notStrictEqual,notDeepEqual:x.notDeepStrictEqual}),x.strict.strict=x.strict},15841(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}function u(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},c(e)}function f(e,t,n){return f=p()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o},f.apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}var g=n(41835).inspect,m=n(75078).codes.ERR_INVALID_ARG_TYPE;function v(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var b="",w="",S="",E="",_={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function k(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){n[t]=e[t]}),Object.defineProperty(n,"message",{value:e.message}),n}function x(e){return g(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(e,t,n){var r="",o="",i=0,a="",s=!1,u=x(e),l=u.split("\n"),c=x(t).split("\n"),f=0,p="";if("strictEqual"===n&&"object"===y(e)&&"object"===y(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===c.length&&l[0]!==c[0]){var d=l[0].length+c[0].length;if(d<=10){if(!("object"===y(e)&&null!==e||"object"===y(t)&&null!==t||0===e&&0===t))return"".concat(_[n],"\n\n")+"".concat(l[0]," !== ").concat(c[0],"\n")}else if("strictEqualObject"!==n){if(d<({}.stderr&&{}.stderr.isTTY?{}.stderr.columns:80)){for(;l[0][f]===c[0][f];)f++;f>2&&(p="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",f),"^"),f=0)}}}for(var h=l[l.length-1],g=c[c.length-1];h===g&&(f++<2?a="\n ".concat(h).concat(a):r=h,l.pop(),c.pop(),0!==l.length&&0!==c.length);)h=l[l.length-1],g=c[c.length-1];var m=Math.max(l.length,c.length);if(0===m){var k=u.split("\n");if(k.length>30)for(k[26]="".concat(b,"...").concat(E);k.length>27;)k.pop();return"".concat(_.notIdentical,"\n\n").concat(k.join("\n"),"\n")}f>3&&(a="\n".concat(b,"...").concat(E).concat(a),s=!0),""!==r&&(a="\n ".concat(r).concat(a),r="");var O=0,I=_[n]+"\n".concat(w,"+ actual").concat(E," ").concat(S,"- expected").concat(E),T=" ".concat(b,"...").concat(E," Lines skipped");for(f=0;f<m;f++){var A=f-i;if(l.length<f+1)A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(c[f-2]),O++),o+="\n ".concat(c[f-1]),O++),i=f,r+="\n".concat(S,"-").concat(E," ").concat(c[f]),O++;else if(c.length<f+1)A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(l[f-2]),O++),o+="\n ".concat(l[f-1]),O++),i=f,o+="\n".concat(w,"+").concat(E," ").concat(l[f]),O++;else{var C=c[f],R=l[f],N=R!==C&&(!v(R,",")||R.slice(0,-1)!==C);N&&v(C,",")&&C.slice(0,-1)===R&&(N=!1,R+=","),N?(A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(l[f-2]),O++),o+="\n ".concat(l[f-1]),O++),i=f,o+="\n".concat(w,"+").concat(E," ").concat(R),r+="\n".concat(S,"-").concat(E," ").concat(C),O+=2):(o+=r,r="",1!==A&&0!==f||(o+="\n ".concat(R),O++))}if(O>20&&f<m-2)return"".concat(I).concat(T,"\n").concat(o,"\n").concat(b,"...").concat(E).concat(r,"\n")+"".concat(b,"...").concat(E)}return"".concat(I).concat(s?T:"","\n").concat(o).concat(r).concat(a).concat(p)}var I=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(v,e);var n,r,i,s,c,f=(n=v,r=p(),function(){var e,t=h(n);if(r){var o=h(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return u(this,e)});function v(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),"object"!==y(e)||null===e)throw new m("options","Object",e);var n=e.message,r=e.operator,o=e.stackStartFn,i=e.actual,a=e.expected,s=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=f.call(this,String(n));else if({}.stderr&&{}.stderr.isTTY&&({}.stderr&&{}.stderr.getColorDepth&&1!=={}.stderr.getColorDepth()?(b="",w="",E="",S=""):(b="",w="",E="",S="")),"object"===y(i)&&null!==i&&"object"===y(a)&&null!==a&&"stack"in i&&i instanceof Error&&"stack"in a&&a instanceof Error&&(i=k(i),a=k(a)),"deepStrictEqual"===r||"strictEqual"===r)t=f.call(this,O(i,a,r));else if("notDeepStrictEqual"===r||"notStrictEqual"===r){var c=_[r],p=x(i).split("\n");if("notStrictEqual"===r&&"object"===y(i)&&null!==i&&(c=_.notStrictEqualObject),p.length>30)for(p[26]="".concat(b,"...").concat(E);p.length>27;)p.pop();t=1===p.length?f.call(this,"".concat(c," ").concat(p[0])):f.call(this,"".concat(c,"\n\n").concat(p.join("\n"),"\n"))}else{var d=x(i),h="",g=_[r];"notDeepEqual"===r||"notEqual"===r?(d="".concat(_[r],"\n\n").concat(d)).length>1024&&(d="".concat(d.slice(0,1021),"...")):(h="".concat(x(a)),d.length>512&&(d="".concat(d.slice(0,509),"...")),h.length>512&&(h="".concat(h.slice(0,509),"...")),"deepEqual"===r||"equal"===r?d="".concat(g,"\n\n").concat(d,"\n\nshould equal\n\n"):h=" ".concat(r," ").concat(h)),t=f.call(this,"".concat(d).concat(h))}return Error.stackTraceLimit=s,t.generatedMessage=!n,Object.defineProperty(l(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=i,t.expected=a,t.operator=r,Error.captureStackTrace&&Error.captureStackTrace(l(t),o),t.stack,t.name="AssertionError",u(t)}return i=v,(s=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return g(this,o(o({},t),{},{customInspect:!1,depth:0}))}}])&&a(i.prototype,s),c&&a(i,c),Object.defineProperty(i,"prototype",{writable:!1}),v}(c(Error),g.custom);e.exports=I},75078(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,o=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l,c,f={};function p(e,t,n){n||(n=Error);var r=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(c,n);var r,i,u,l=s(c);function c(n,r,o){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i=l.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o)),i.code=e,i}return r=c,i&&o(r.prototype,i),u&&o(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r}(n);f[e]=r}function d(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}p("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),p("ERR_INVALID_ARG_TYPE",function(e,t,o){var i,a,s,u;if(void 0===l&&(l=n(83141)),l("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!s||s<0?0:+s,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(i," ").concat(d(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(d(t,"type"))}return u+=". Received type ".concat(r(o))},TypeError),p("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(41835));var o=c.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)},TypeError,RangeError),p("ERR_INVALID_RETURN_VALUE",function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")},TypeError),p("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===l&&(l=n(83141)),l(t.length>0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", "),o+=", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")},TypeError),e.exports.codes=f},17392(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},u=function(e){var t=[];return e.forEach(function(e,n){return t.push([n,e])}),t},l=Object.is?Object.is:n(25184),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:n(96989);function p(e){return e.call.bind(e)}var d=p(Object.prototype.hasOwnProperty),h=p(Object.prototype.propertyIsEnumerable),y=p(Object.prototype.toString),g=n(41835).types,m=g.isAnyArrayBuffer,v=g.isArrayBufferView,b=g.isDate,w=g.isMap,S=g.isRegExp,E=g.isSet,_=g.isNativeError,k=g.isBoxedPrimitive,x=g.isNumberObject,O=g.isStringObject,I=g.isBooleanObject,T=g.isBigIntObject,A=g.isSymbolObject,C=g.isFloat32Array,R=g.isFloat64Array;function N(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function P(e){return Object.keys(e).filter(N).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function j(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0}function L(e,t,n,r){if(e===t)return 0!==e||(!n||l(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&f(e)&&f(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var o,s,u,c,p=y(e);if(p!==y(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var d=P(e),h=P(t);return d.length===h.length&&M(e,t,n,r,1,d)}if("[object Object]"===p&&(!w(e)&&w(t)||!E(e)&&E(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(S(e)){if(!S(t)||(u=e,c=t,!(a?u.source===c.source&&u.flags===c.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(c))))return!1}else if(_(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(v(e)){if(n||!C(e)&&!R(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===j(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var g=P(e),N=P(t);return g.length===N.length&&M(e,t,n,r,0,g)}if(E(e))return!(!E(t)||e.size!==t.size)&&M(e,t,n,r,2);if(w(e))return!(!w(t)||e.size!==t.size)&&M(e,t,n,r,3);if(m(e)){if(s=t,(o=e).byteLength!==s.byteLength||0!==j(new Uint8Array(o),new Uint8Array(s)))return!1}else if(k(e)&&!function(e,t){return x(e)?x(t)&&l(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):O(e)?O(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):I(e)?I(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):T(e)?T(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):A(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return M(e,t,n,r,0)}function D(e,t){return t.filter(function(t){return h(e,t)})}function M(e,t,n,o,a,l){if(5===arguments.length){l=Object.keys(e);var f=Object.keys(t);if(l.length!==f.length)return!1}for(var p=0;p<l.length;p++)if(!d(t,l[p]))return!1;if(n&&5===arguments.length){var y=c(e);if(0!==y.length){var g=0;for(p=0;p<y.length;p++){var m=y[p];if(h(e,m)){if(!h(t,m))return!1;l.push(m),g++}else if(h(t,m))return!1}var v=c(t);if(y.length!==v.length&&D(t,v).length!==g)return!1}else{var b=c(t);if(0!==b.length&&0!==D(t,b).length)return!1}}if(0===l.length&&(0===a||1===a&&0===e.length||0===e.size))return!0;if(void 0===o)o={val1:new Map,val2:new Map,position:0};else{var w=o.val1.get(e);if(void 0!==w){var S=o.val2.get(t);if(void 0!==S)return w===S}o.position++}o.val1.set(e,o.position),o.val2.set(t,o.position);var E=function(e,t,n,o,a,l){var c=0;if(2===l){if(!function(e,t,n,r){for(var o=null,a=s(e),u=0;u<a.length;u++){var l=a[u];if("object"===i(l)&&null!==l)null===o&&(o=new Set),o.add(l);else if(!t.has(l)){if(n)return!1;if(!$(e,t,l))return!1;null===o&&(o=new Set),o.add(l)}}if(null!==o){for(var c=s(t),f=0;f<c.length;f++){var p=c[f];if("object"===i(p)&&null!==p){if(!U(o,p,n,r))return!1}else if(!n&&!e.has(p)&&!U(o,p,n,r))return!1}return 0===o.size}return!0}(e,t,n,a))return!1}else if(3===l){if(!function(e,t,n,o){for(var a=null,s=u(e),l=0;l<s.length;l++){var c=r(s[l],2),f=c[0],p=c[1];if("object"===i(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var d=t.get(f);if(void 0===d&&!t.has(f)||!L(p,d,n,o)){if(n)return!1;if(!z(e,t,f,p,o))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var h=u(t),y=0;y<h.length;y++){var g=r(h[y],2),m=g[0],v=g[1];if("object"===i(m)&&null!==m){if(!B(a,e,m,v,n,o))return!1}else if(!(n||e.has(m)&&L(e.get(m),v,!1,o)||B(a,e,m,v,!1,o)))return!1}return 0===a.size}return!0}(e,t,n,a))return!1}else if(1===l)for(;c<e.length;c++){if(!d(e,c)){if(d(t,c))return!1;for(var f=Object.keys(e);c<f.length;c++){var p=f[c];if(!d(t,p)||!L(e[p],t[p],n,a))return!1}return f.length===Object.keys(t).length}if(!d(t,c)||!L(e[c],t[c],n,a))return!1}for(c=0;c<o.length;c++){var h=o[c];if(!L(e[h],t[h],n,a))return!1}return!0}(e,t,n,l,o,a);return o.val1.delete(e),o.val2.delete(t),E}function U(e,t,n,r){for(var o=s(e),i=0;i<o.length;i++){var a=o[i];if(L(t,a,n,r))return e.delete(a),!0}return!1}function F(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(f(e))return!1}return!0}function $(e,t,n){var r=F(n);return null!=r?r:t.has(r)&&!e.has(r)}function z(e,t,n,r,o){var i=F(n);if(null!=i)return i;var a=t.get(i);return!(void 0===a&&!t.has(i)||!L(r,a,!1,o))&&(!e.has(i)&&L(r,a,!1,o))}function B(e,t,n,r,o,i){for(var a=s(e),u=0;u<a.length;u++){var l=a[u];if(L(n,l,o,i)&&L(r,t.get(l),o,i))return e.delete(l),!0}return!1}e.exports={isDeepEqual:function(e,t){return L(e,t,false)},isDeepStrictEqual:function(e,t){return L(e,t,true)}}},43855(e,t,n){var r;!function(){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,r,i,a){return o((s=o(o(t,e),o(r,a)))<<(u=i)|s>>>32-u,n);var s,u}function a(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function l(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function c(e,t){var n,r,i,c,f;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,d=-271733879,h=-1732584194,y=271733878;for(n=0;n<e.length;n+=16)r=p,i=d,c=h,f=y,p=a(p,d,h,y,e[n],7,-680876936),y=a(y,p,d,h,e[n+1],12,-389564586),h=a(h,y,p,d,e[n+2],17,606105819),d=a(d,h,y,p,e[n+3],22,-1044525330),p=a(p,d,h,y,e[n+4],7,-176418897),y=a(y,p,d,h,e[n+5],12,1200080426),h=a(h,y,p,d,e[n+6],17,-1473231341),d=a(d,h,y,p,e[n+7],22,-45705983),p=a(p,d,h,y,e[n+8],7,1770035416),y=a(y,p,d,h,e[n+9],12,-1958414417),h=a(h,y,p,d,e[n+10],17,-42063),d=a(d,h,y,p,e[n+11],22,-1990404162),p=a(p,d,h,y,e[n+12],7,1804603682),y=a(y,p,d,h,e[n+13],12,-40341101),h=a(h,y,p,d,e[n+14],17,-1502002290),p=s(p,d=a(d,h,y,p,e[n+15],22,1236535329),h,y,e[n+1],5,-165796510),y=s(y,p,d,h,e[n+6],9,-1069501632),h=s(h,y,p,d,e[n+11],14,643717713),d=s(d,h,y,p,e[n],20,-373897302),p=s(p,d,h,y,e[n+5],5,-701558691),y=s(y,p,d,h,e[n+10],9,38016083),h=s(h,y,p,d,e[n+15],14,-660478335),d=s(d,h,y,p,e[n+4],20,-405537848),p=s(p,d,h,y,e[n+9],5,568446438),y=s(y,p,d,h,e[n+14],9,-1019803690),h=s(h,y,p,d,e[n+3],14,-187363961),d=s(d,h,y,p,e[n+8],20,1163531501),p=s(p,d,h,y,e[n+13],5,-1444681467),y=s(y,p,d,h,e[n+2],9,-51403784),h=s(h,y,p,d,e[n+7],14,1735328473),p=u(p,d=s(d,h,y,p,e[n+12],20,-1926607734),h,y,e[n+5],4,-378558),y=u(y,p,d,h,e[n+8],11,-2022574463),h=u(h,y,p,d,e[n+11],16,1839030562),d=u(d,h,y,p,e[n+14],23,-35309556),p=u(p,d,h,y,e[n+1],4,-1530992060),y=u(y,p,d,h,e[n+4],11,1272893353),h=u(h,y,p,d,e[n+7],16,-155497632),d=u(d,h,y,p,e[n+10],23,-1094730640),p=u(p,d,h,y,e[n+13],4,681279174),y=u(y,p,d,h,e[n],11,-358537222),h=u(h,y,p,d,e[n+3],16,-722521979),d=u(d,h,y,p,e[n+6],23,76029189),p=u(p,d,h,y,e[n+9],4,-640364487),y=u(y,p,d,h,e[n+12],11,-421815835),h=u(h,y,p,d,e[n+15],16,530742520),p=l(p,d=u(d,h,y,p,e[n+2],23,-995338651),h,y,e[n],6,-198630844),y=l(y,p,d,h,e[n+7],10,1126891415),h=l(h,y,p,d,e[n+14],15,-1416354905),d=l(d,h,y,p,e[n+5],21,-57434055),p=l(p,d,h,y,e[n+12],6,1700485571),y=l(y,p,d,h,e[n+3],10,-1894986606),h=l(h,y,p,d,e[n+10],15,-1051523),d=l(d,h,y,p,e[n+1],21,-2054922799),p=l(p,d,h,y,e[n+8],6,1873313359),y=l(y,p,d,h,e[n+15],10,-30611744),h=l(h,y,p,d,e[n+6],15,-1560198380),d=l(d,h,y,p,e[n+13],21,1309151649),p=l(p,d,h,y,e[n+4],6,-145523070),y=l(y,p,d,h,e[n+11],10,-1120210379),h=l(h,y,p,d,e[n+2],15,718787259),d=l(d,h,y,p,e[n+9],21,-343485551),p=o(p,r),d=o(d,i),h=o(h,c),y=o(y,f);return[p,d,h,y]}function f(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function d(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function h(e){return unescape(encodeURIComponent(e))}function y(e){return function(e){return f(c(p(e),8*e.length))}(h(e))}function g(e,t){return function(e,t){var n,r,o=p(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=c(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=c(i.concat(p(t)),512+8*t.length),f(c(a.concat(r),640))}(h(e),h(t))}function m(e,t,n){return t?n?g(t,e):d(g(t,e)):n?y(e):d(y(e))}void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}()},57846(e,t,n){"use strict";var r=n(94867),o=n(43920),i=n(57522),a=n(34873);e.exports=a||r.call(i,o)},127(e,t,n){"use strict";var r=n(94867),o=n(43920),i=n(57846);e.exports=function(){return i(r,o,arguments)}},43920(e){"use strict";e.exports=Function.prototype.apply},57522(e){"use strict";e.exports=Function.prototype.call},26948(e,t,n){"use strict";var r=n(94867),o=n(41623),i=n(57522),a=n(57846);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,i,e)}},34873(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},16380(e,t,n){"use strict";var r=n(39619),o=n(42896),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},42896(e,t,n){"use strict";var r=n(11256),o=n(69001),i=n(26948),a=n(127);e.exports=function(e){var t=i(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},41233(e,t,n){"use strict";var r=n(39619),o=n(60001),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},60001(e,t,n){"use strict";var r=n(11256),o=n(69001),i=n(26948),a=n(127);e.exports=function(e){var t=i(arguments),n=1+e.length-(arguments.length-1);return r(t,n>0?n:0,!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},6046(e,t,n){"use strict";var r=n(39619),o=n(26948),i=o([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o([n]):n}},70367(e,t,n){"use strict";n.d(t,{A:()=>u});var r,o,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=(r=["",""],o=["",""],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));var s=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return i(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return this.tag(a,e.apply(void 0,[t].concat(r)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce(function(e,t){return t.onString?t.onString(e):e},e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce(function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e},e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce(function(e,t){return t.onEndResult?t.onEndResult(e):e},e)}}]),e}();const u=s},71448(e,t,n){"use strict";n(68446)},7955(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:","}),o.A,a.A)},3958(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:",",conjunction:"and"}),o.A,a.A)},50700(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:",",conjunction:"or"}),o.A,a.A)},14442(e,t,n){"use strict";n.d(t,{A:()=>o});var r=/^8(69|87)$/.test(n.j)?null:{separator:"",conjunction:"",serial:!1};const o=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,o=e.separator,i=e.conjunction,a=e.serial,s=n.match(/(\n?[^\S\n]+)$/);if(t=s?t.join(o+s[1]):t.join(o+" "),i&&r>1){var u=t.lastIndexOf(o);t=t.slice(0,u)+(a?o:"")+" "+i+t.slice(u+1)}}return t}}}},8853(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A(i.A,o.A,a.A)},43837(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:","}),(0,a.A)(/(?:\s+)/g," "),i.A)},39811(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:",",conjunction:"and"}),(0,a.A)(/(?:\s+)/g," "),i.A)},24181(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:",",conjunction:"or"}),(0,a.A)(/(?:\s+)/g," "),i.A)},66684(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A(o.A,(0,a.A)(/(?:\s+)/g," "),i.A)},80426(e,t,n){"use strict";n.d(t,{A:()=>o});var r=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e};const o=/^8(69|87)$/.test(n.j)?null:function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(r):r(e)?e:""}}}},94800(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}}},56649(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454),s=n(6084);const u=function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}};new r.A((0,s.A)("\n"),i.A,o.A,a.A,u(/&/g,"&amp;"),u(/</g,"&lt;"),u(/>/g,"&gt;"),u(/"/g,"&quot;"),u(/'/g,"&#x27;"),u(/`/g,"&#x60;"))},38555(e,t,n){"use strict";n(68446)},6084(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}}},11(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(39454);new r.A(o.A,i.A)},47274(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n.map(function(e){return e.length})));if(r){var o=new RegExp("^.{"+r+"}","gm");return t.replace(o,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}}},80607(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(39454);new r.A((0,o.A)("all"),i.A)},39454(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}}},23569(e){function t(e,t=100,n={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:r}="boolean"==typeof n?{immediate:n}:n;let o,i,a,s,u;function l(){const t=o,n=i;return o=void 0,i=void 0,u=e.apply(t,n),u}function c(){const e=Date.now()-s;e<t&&e>=0?a=setTimeout(c,t-e):(a=void 0,r||(u=l()))}const f=function(...e){if(o&&this!==o&&Object.getPrototypeOf(this)===Object.getPrototypeOf(o))throw new Error("Debounced method called with different contexts of the same prototype.");o=this,i=e,s=Date.now();const n=r&&!a;return a||(a=setTimeout(c,t)),n&&(u=l()),u};return Object.defineProperty(f,"isPending",{get:()=>void 0!==a}),f.clear=()=>{a&&(clearTimeout(a),a=void 0)},f.flush=()=>{a&&f.trigger()},f.trigger=()=>{u=l(),f.clear()},f}e.exports.debounce=t,e.exports=t},35226(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))}),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"env"in{}&&(e={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.DEBUG);return e},t.useColors=function(){if(window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(54613)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},54613(e,t,n){e.exports=function(e){function t(e){let n,o,i,a=null;function s(...e){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,o)=>{if("%%"===n)return"%";a++;const i=t.formatters[o];if("function"==typeof i){const t=e[a];n=i.call(r,t),e.splice(a,1),a--}return n}),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e,t){let n=0,r=0,o=-1,i=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(o=r,i=n,r++):(n++,r++);else{if(-1===o)return!1;r=o+1,i++,n=i}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=n(8141),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},95796(e,t,n){"use strict";var r=n(11887),o=n(41233),i=n(24589),a=n(39619),s=n(18748),u=n(88409),l=n(97091),c=n(26800),f=n(25344),p=n(6705),d=n(90669),h=n(86335),y=n(14110),g=n(3528),m=n(7104),v=n(93232),b=n(55632),w=n(95672),S=o("SharedArrayBuffer.prototype.byteLength",!0),E=o("Date.prototype.getTime"),_=Object.getPrototypeOf,k=o("Object.prototype.toString"),x=a("%Set%",!0),O=o("Map.prototype.has",!0),I=o("Map.prototype.get",!0),T=o("Map.prototype.size",!0),A=o("Set.prototype.add",!0),C=o("Set.prototype.delete",!0),R=o("Set.prototype.has",!0),N=o("Set.prototype.size",!0);function P(e,t,n,r){for(var o,i=s(e);(o=i.next())&&!o.done;)if(U(t,o.value,n,r))return C(e,o.value),!0;return!1}function j(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function L(e,t,n,o,i,a){var s=j(n);if(null!=s)return s;var u=I(t,s),l=r({},i,{strict:!1});return!(void 0===u&&!O(t,s)||!U(o,u,l,a))&&(!O(e,s)&&U(o,u,l,a))}function D(e,t,n){var r=j(n);return null!=r?r:R(t,r)&&!R(e,r)}function M(e,t,n,r,o,i){for(var a,u,l=s(e);(a=l.next())&&!a.done;)if(U(n,u=a.value,o,i)&&U(r,I(t,u),o,i))return C(e,u),!0;return!1}function U(e,t,n,o){var a=n||{};if(a.strict?l(e,t):e===t)return!0;if(m(e)!==m(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return a.strict?l(e,t):e==t;var u,C=o.has(e),j=o.has(t);if(C&&j){if(o.get(e)===o.get(t))return!0}else u={};return C||o.set(e,u),j||o.set(t,u),function(e,t,n,o){var a,u;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(k(e)!==k(t))return!1;if(c(e)!==c(t))return!1;var l=f(e),m=f(t);if(l!==m)return!1;var C=e instanceof Error,j=t instanceof Error;if(C!==j)return!1;if((C||j)&&(e.name!==t.name||e.message!==t.message))return!1;var $=h(e),z=h(t);if($!==z)return!1;if(($||z)&&(e.source!==t.source||i(e)!==i(t)))return!1;var B=d(e),q=d(t);if(B!==q)return!1;if((B||q)&&E(e)!==E(t))return!1;if(n.strict&&_&&_(e)!==_(t))return!1;var H=b(e),G=b(t);if(H!==G)return!1;if(H||G){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var W=F(e),V=F(t);if(W!==V)return!1;if(W||V){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var X=p(e),K=p(t);if(X!==K)return!1;if(X||K)return w(e)===w(t)&&("function"==typeof Uint8Array&&U(new Uint8Array(e),new Uint8Array(t),n,o));var Y=y(e),Q=y(t);if(Y!==Q)return!1;if(Y||Q)return S(e)===S(t)&&("function"==typeof Uint8Array&&U(new Uint8Array(e),new Uint8Array(t),n,o));if(typeof e!=typeof t)return!1;var J=g(e),Z=g(t);if(J.length!==Z.length)return!1;for(J.sort(),Z.sort(),a=J.length-1;a>=0;a--)if(J[a]!=Z[a])return!1;for(a=J.length-1;a>=0;a--)if(!U(e[u=J[a]],t[u],n,o))return!1;var ee=v(e),te=v(t);if(ee!==te)return!1;if("Set"===ee||"Set"===te)return function(e,t,n,r){if(N(e)!==N(t))return!1;var o,i,a,u=s(e),l=s(t);for(;(o=u.next())&&!o.done;)if(o.value&&"object"==typeof o.value)a||(a=new x),A(a,o.value);else if(!R(t,o.value)){if(n.strict)return!1;if(!D(e,t,o.value))return!1;a||(a=new x),A(a,o.value)}if(a){for(;(i=l.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!P(a,i.value,n.strict,r))return!1}else if(!n.strict&&!R(e,i.value)&&!P(a,i.value,n.strict,r))return!1;return 0===N(a)}return!0}(e,t,n,o);if("Map"===ee)return function(e,t,n,o){if(T(e)!==T(t))return!1;var i,a,u,l,c,f,p=s(e),d=s(t);for(;(i=p.next())&&!i.done;)if(l=i.value[0],c=i.value[1],l&&"object"==typeof l)u||(u=new x),A(u,l);else if(void 0===(f=I(t,l))&&!O(t,l)||!U(c,f,n,o)){if(n.strict)return!1;if(!L(e,t,l,c,n,o))return!1;u||(u=new x),A(u,l)}if(u){for(;(a=d.next())&&!a.done;)if(l=a.value[0],f=a.value[1],l&&"object"==typeof l){if(!M(u,e,l,f,n,o))return!1}else if(!(n.strict||e.has(l)&&U(I(e,l),f,n,o)||M(u,e,l,f,r({},n,{strict:!1}),o)))return!1;return 0===N(u)}return!0}(e,t,n,o);return!0}(e,t,a,o)}function F(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0&&"number"!=typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))))}e.exports=function(e,t,n){return U(e,t,n,u())}},7001(e,t,n){"use strict";var r=n(69001),o=n(70064),i=n(41623),a=n(67768);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},81265(e,t,n){"use strict";var r=n(3528),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=n(7001),u=n(73560)(),l=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;u?s(e,t,n,!0):s(e,t,n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};c.supportsDescriptors=!!u,e.exports=c},59681(e){e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}},83773(e,t,n){"use strict";var r,o=n(26948),i=n(67768);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof u&&function(e){return u(null==e?e:s(e))}},69001(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},16233(e){"use strict";e.exports=EvalError},66307(e){"use strict";e.exports=Error},33654(e){"use strict";e.exports=RangeError},96758(e){"use strict";e.exports=ReferenceError},70064(e){"use strict";e.exports=SyntaxError},41623(e){"use strict";e.exports=TypeError},13789(e){"use strict";e.exports=URIError},24462(e){"use strict";e.exports=Object},56009(e){"use strict";e.exports=Object},19135(e,t,n){"use strict";var r=n(96219),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a,s;arguments.length>=3&&(a=n),s=e,"[object Array]"===o.call(s)?function(e,t,n){for(var r=0,o=e.length;r<o;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,o=e.length;r<o;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},46501(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),s=n(0,o.length-a.length),u=[],l=0;l<s;l++)u[l]="$"+l;if(i=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(e,r(a,arguments))}),o.prototype){var c=function(){};c.prototype=o.prototype,i.prototype=new c,c.prototype=null}return i}},94867(e,t,n){"use strict";var r=n(46501);e.exports=Function.prototype.bind||r},19769(e){"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n(function(){},"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},39619(e,t,n){"use strict";var r,o=n(56009),i=n(66307),a=n(16233),s=n(33654),u=n(96758),l=n(70064),c=n(41623),f=n(13789),p=n(3763),d=n(49893),h=n(83277),y=n(58471),g=n(27709),m=n(82587),v=n(38478),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},S=n(67768),E=n(69001),_=function(){throw new c},k=S?function(){try{return _}catch(e){try{return S(arguments,"callee").get}catch(e){return _}}}():_,x=n(12877)(),O=n(28495),I=n(55311),T=n(21033),A=n(43920),C=n(57522),R={},N="undefined"!=typeof Uint8Array&&O?O(Uint8Array):r,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&O?O(O([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&O?O((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&O?O((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&O?O(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":k,"%TypedArray%":N,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":C,"%Function.prototype.apply%":A,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":I,"%Math.abs%":p,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":T};if(O)try{null.error}catch(e){var j=O(O(e));P["%Error.prototype%"]=j}var L=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&O&&(n=O(o.prototype))}return P[t]=n,n},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=n(94867),U=n(93594),F=M.call(C,Array.prototype.concat),$=M.call(A,Array.prototype.splice),z=M.call(C,String.prototype.replace),B=M.call(C,String.prototype.slice),q=M.call(C,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,W=function(e,t){var n,r=e;if(U(D,r)&&(r="%"+(n=D[r])[0]+"%"),U(P,r)){var o=P[r];if(o===R&&(o=L(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return z(e,H,function(e,t,n,o){r[r.length]=n?z(o,G,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",o=W("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],$(n,F([0,1],u)));for(var f=1,p=!0;f<n.length;f+=1){var d=n[f],h=B(d,0,1),y=B(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&p||(s=!0),U(P,i="%"+(r+="."+d)+"%"))a=P[i];else if(null!=a){if(!(d in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(S&&f+1>=n.length){var g=S(a,d);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[d]}else p=U(a,d),a=a[d];p&&!s&&(P[i]=a)}}return a}},55311(e,t,n){"use strict";var r=n(56009);e.exports=r.getPrototypeOf||null},21033(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},28495(e,t,n){"use strict";var r=n(21033),o=n(55311),i=n(83773);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},6124(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},67768(e,t,n){"use strict";var r=n(6124);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},72191(e){"use strict";var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},73560(e,t,n){"use strict";var r=n(69001),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},12877(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(40847);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},40847(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},81070(e,t,n){"use strict";var r=n(40847);e.exports=function(){return r()&&!!Symbol.toStringTag}},53841(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(94867);e.exports=i.call(r,o)},93594(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(94867);e.exports=i.call(r,o)},18628(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},99221(e,t,n){"use strict";var r=n(53841),o=n(88409)(),i=n(41623),a={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");if(o.assert(e),!a.has(e,t))throw new i("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=o.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=o.get(e);return!!n&&r(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var r=o.get(e);r||(r={},o.set(e,r)),r["$"+t]=n}};Object.freeze&&Object.freeze(a),e.exports=a},71541(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=n(16380)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},26800(e,t,n){"use strict";var r=n(81070)(),o=n(6046)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"callee"in e&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},6705(e,t,n){"use strict";var r=n(60001),o=n(6046),i=n(39619)("%ArrayBuffer%",!0),a=o("ArrayBuffer.prototype.byteLength",!0),s=o("Object.prototype.toString"),u=!!i&&!a&&new i(0).slice,l=!!u&&r(u);e.exports=a||l?function(e){if(!e||"object"!=typeof e)return!1;try{return a?a(e):l(e,0),!0}catch(e){return!1}}:i?function(e){return"[object ArrayBuffer]"===s(e)}:function(e){return!1}},19233(e,t,n){"use strict";if(n(72191)()){var r=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return r.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},16154(e,t,n){"use strict";var r=n(6046),o=r("Boolean.prototype.toString"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Boolean]"===i(e))}},96219(e){"use strict";var t,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o(function(){throw 42},null,t)}catch(e){e!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=o?function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(a(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},90669(e,t,n){"use strict";var r=n(6046),o=r("Date.prototype.getDay"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Date]"===i(e))}},33491(e,t,n){"use strict";var r,o=n(6046),i=n(29013)(/^\s*(?:function)?\*/),a=n(81070)(),s=n(28495),u=o("Object.prototype.toString"),l=o("Function.prototype.toString");e.exports=function(e){if("function"!=typeof e)return!1;if(i(l(e)))return!0;if(!a)return"[object GeneratorFunction]"===u(e);if(!s)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&s(t)}return s(e)===r}},32258(e){"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var o=n?Map.prototype.has:null,i=r?Set.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},40259(e){"use strict";e.exports=function(e){return e!=e}},96989(e,t,n){"use strict";var r=n(42896),o=n(81265),i=n(40259),a=n(66778),s=n(84664),u=r(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},66778(e,t,n){"use strict";var r=n(40259);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},84664(e,t,n){"use strict";var r=n(81265),o=n(66778);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},92006(e,t,n){"use strict";var r=n(6046),o=r("Number.prototype.toString"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"number"==typeof e||!(!e||"object"!=typeof e)&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Number]"===i(e))}},86335(e,t,n){"use strict";var r,o=n(6046),i=n(81070)(),a=n(93594),s=n(67768);if(i){var u=o("RegExp.prototype.exec"),l={},c=function(){throw l},f={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=c),r=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{u(e,f)}catch(e){return e===l}}}else{var p=o("Object.prototype.toString");r=function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===p(e)}}e.exports=r},51306(e){"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;r||(t=function(e){return!1});var o=n?Map.prototype.has:null,i=r?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),o)try{o.call(e)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},14110(e,t,n){"use strict";var r=n(6046)("SharedArrayBuffer.prototype.byteLength",!0);e.exports=r?function(e){if(!e||"object"!=typeof e)return!1;try{return r(e),!0}catch(e){return!1}}:function(e){return!1}},696(e,t,n){"use strict";var r=n(6046),o=r("String.prototype.valueOf"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"string"==typeof e||!(!e||"object"!=typeof e)&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object String]"===i(e))}},4698(e,t,n){"use strict";var r=n(6046),o=r("Object.prototype.toString"),i=n(12877)(),a=n(29013);if(i){var s=r("Symbol.prototype.toString"),u=a(/^Symbol\(.*\)$/);e.exports=function(e){if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||"[object Symbol]"!==o(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&u(s(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},34587(e,t,n){"use strict";var r=n(56681);e.exports=function(e){return!!r(e)}},92001(e){"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,r="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var o=n?n.prototype.has:null,i=r?r.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e,o),i)try{i.call(e,i)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},18483(e,t,n){"use strict";var r=n(39619),o=n(6046),i=r("%WeakSet%",!0),a=o("WeakSet.prototype.has",!0);if(a){var s=o("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(a(e,a),s)try{s(e,s)}catch(e){return!0}return e instanceof i}catch(e){}return!1}}else e.exports=function(e){return!1}},25344(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},46041(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var f="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,p="object"==typeof self&&self&&self.Object===Object&&self,d=f||p||Function("return this")(),h=t&&!t.nodeType&&t,y=h&&e&&!e.nodeType&&e,g=y&&y.exports===h,m=g&&f.process,v=function(){try{var e=y&&y.require&&y.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;var w,S,E,_=Array.prototype,k=Function.prototype,x=Object.prototype,O=d["__core-js_shared__"],I=k.toString,T=x.hasOwnProperty,A=(w=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",C=x.toString,R=I.call(Object),N=RegExp("^"+I.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=g?d.Buffer:void 0,j=d.Symbol,L=d.Uint8Array,D=P?P.allocUnsafe:void 0,M=(S=Object.getPrototypeOf,E=Object,function(e){return S(E(e))}),U=Object.create,F=x.propertyIsEnumerable,$=_.splice,z=j?j.toStringTag:void 0,B=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=P?P.isBuffer:void 0,H=Math.max,G=Date.now,W=he(d,"Map"),V=he(Object,"create"),X=function(){function e(){}return function(t){if(!Oe(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new Y(e);this.size=t.size}function Z(e,t){var n=Se(e),r=!n&&we(e),o=!n&&!r&&_e(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var l in e)!t&&!T.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ye(l,u))||s.push(l);return s}function ee(e,t,n){(void 0!==n&&!be(e[t],n)||void 0===n&&!(t in e))&&re(e,t,n)}function te(e,t,n){var r=e[t];T.call(e,t)&&be(r,n)&&(void 0!==n||t in e)||re(e,t,n)}function ne(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function re(e,t,n){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return n===r?void 0:n}return T.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:T.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?r:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ne(t,e);return!(n<0)&&(n==t.length-1?t.pop():$.call(t,n,1),--this.size,!0)},Y.prototype.get=function(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ne(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(W||Y),string:new K}},Q.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return de(this,e).get(e)},Q.prototype.has=function(e){return de(this,e).has(e)},Q.prototype.set=function(e,t){var n=de(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new Y,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ie=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[oe?a:++r];if(!1===t(o[s],s,o))break}return e};function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":z&&z in Object(e)?function(e){var t=T.call(e,z),n=e[z];try{e[z]=void 0;var r=!0}catch(e){}var o=C.call(e);r&&(t?e[z]=n:delete e[z]);return o}(e):function(e){return C.call(e)}(e)}function se(e){return Ie(e)&&ae(e)==i}function ue(e){return!(!Oe(e)||function(e){return!!A&&A in e}(e))&&(ke(e)?N:u).test(function(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function ce(e,t,n,r,o){e!==t&&ie(t,function(i,a){if(o||(o=new J),Oe(i))!function(e,t,n,r,o,i,a){var u=me(e,n),l=me(t,n),c=a.get(l);if(c)return void ee(e,n,c);var f=i?i(u,l,n+"",e,t,a):void 0,p=void 0===f;if(p){var d=Se(l),h=!d&&_e(l),y=!d&&!h&&Te(l);f=l,d||h||y?Se(u)?f=u:Ie(w=u)&&Ee(w)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(u):h?(p=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=D?D(n):new e.constructor(n);return e.copy(r),r}(l,!0)):y?(p=!1,g=l,m=!0?(v=g.buffer,b=new v.constructor(v.byteLength),new L(b).set(new L(v)),b):g.buffer,f=new g.constructor(m,g.byteOffset,g.length)):f=[]:function(e){if(!Ie(e)||ae(e)!=s)return!1;var t=M(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==R}(l)||we(l)?(f=u,we(u)?f=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?re(n,s,u):te(n,s,u)}return n}(e,Ae(e))}(u):Oe(u)&&!ke(u)||(f=function(e){return"function"!=typeof e.constructor||ge(e)?{}:X(M(e))}(l))):p=!1}var g,m,v,b;var w;p&&(a.set(l,f),o(f,l,r,i,a),a.delete(l));ee(e,n,f)}(e,t,a,n,ce,r,o);else{var u=r?r(me(e,a),i,a+"",e,t,o):void 0;void 0===u&&(u=i),ee(e,a,u)}},Ae)}function fe(e,t){return ve(function(e,t,n){return t=H(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=H(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ne),e+"")}var pe=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ne;function de(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function ye(e,t){var n=typeof e;return!!(t=t??o)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||x)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ve=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function be(e,t){return e===t||e!=e&&t!=t}var we=se(function(){return arguments}())?se:function(e){return Ie(e)&&T.call(e,"callee")&&!F.call(e,"callee")},Se=Array.isArray;function Ee(e){return null!=e&&xe(e.length)&&!ke(e)}var _e=q||function(){return!1};function ke(e){if(!Oe(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ie(e){return null!=e&&"object"==typeof e}var Te=b?function(e){return function(t){return e(t)}}(b):function(e){return Ie(e)&&xe(e.length)&&!!c[ae(e)]};function Ae(e){return Ee(e)?Z(e,!0):le(e)}var Ce,Re=(Ce=function(e,t,n){ce(e,t,n)},fe(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Ce.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?Ee(n)&&ye(t,n.length):"string"==r&&t in n)&&be(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ce(e,a,n,o)}return e}));function Ne(e){return e}e.exports=Re},3763(e){"use strict";e.exports=Math.abs},49893(e){"use strict";e.exports=Math.floor},91082(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},83277(e){"use strict";e.exports=Math.max},58471(e){"use strict";e.exports=Math.min},27709(e){"use strict";e.exports=Math.pow},82587(e){"use strict";e.exports=Math.round},38478(e,t,n){"use strict";var r=n(91082);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},8141(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,a=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,u){u=u||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var u=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===l&&isFinite(e))return u.long?function(e){var i=Math.abs(e);if(i>=o)return s(e,i,o,"day");if(i>=r)return s(e,i,r,"hour");if(i>=n)return s(e,i,n,"minute");if(i>=t)return s(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},15646(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,E=RegExp.prototype.test,_=Array.prototype.concat,k=Array.prototype.join,x=Array.prototype.slice,O=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===C||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var L=n(3847),D=L.custom,M=G(D)?D:null,U={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function $(e,t,n){var r=n.quoteStyle||t,o=U[r];return o+e+o}function z(e){return b.call(String(e),/"/g,"&quot;")}function B(e){return!R||!("object"==typeof e&&(R in e||void 0!==e[R]))}function q(e){return"[object Array]"===X(e)&&B(e)}function H(e){return"[object RegExp]"===X(e)&&B(e)}function G(e){if(C)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(V(s,"quoteStyle")&&!V(U,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return y?j(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return y?j(t,E):E}var O=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=O&&O>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var T=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(K(o,t)>=0)return"[Circular]";function D(t,n,i){if(n&&(o=x.call(o)).push(n),i){var a={depth:s.depth};return V(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t&&!H(t)){var F=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),W=ne(t,D);return"[Function"+(F?": "+F:" (anonymous)")+"]"+(W.length>0?" { "+k.call(W,", ")+" }":"")}if(G(t)){var Q=C?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!=typeof t||C?Q:J(Q)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+S.call(String(t.nodeName)),oe=t.attributes||[],ie=0;ie<oe.length;ie++)re+=" "+oe[ie].name+"="+$(z(oe[ie].value),"double",s);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+S.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var ae=ne(t,D);return T&&!function(e){for(var t=0;t<e.length;t++)if(K(e[t],"\n")>=0)return!1;return!0}(ae)?"["+te(ae,T)+"]":"[ "+k.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===X(e)&&B(e)}(t)){var se=ne(t,D);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(se,", ")+" }":"{ ["+String(t)+"] "+k.call(_.call("[cause]: "+D(t.cause),se),", ")+" }"}if("object"==typeof t&&u){if(M&&"function"==typeof t[M]&&L)return L(t,{depth:O-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ue=[];return a&&a.call(t,function(e,n){ue.push(D(n,t,!0)+" => "+D(e,t))}),ee("Map",i.call(t),ue,T)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,function(e){le.push(D(e,t))}),ee("Set",l.call(t),le,T)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===X(e)&&B(e)}(t))return J(D(Number(t)));if(function(e){if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}(t))return J(D(I.call(t)));if(function(e){return"[object Boolean]"===X(e)&&B(e)}(t))return J(h.call(t));if(function(e){return"[object String]"===X(e)&&B(e)}(t))return J(D(String(t)));if(t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof globalThis&&t===globalThis)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===X(e)&&B(e)}(t)&&!H(t)){var ce=ne(t,D),fe=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",de=!fe&&R&&Object(t)===t&&R in t?v.call(X(t),8,-1):pe?"Object":"",he=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||pe?"["+k.call(_.call([],de||[],pe||[]),": ")+"] ":"");return 0===ce.length?he+"{}":T?he+"{"+te(ce,T)+"}":he+"{ "+k.call(ce,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function X(e){return y.call(e)}function K(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(v.call(e,0,t.maxStringLength),t)+r}var o=F[t.quoteStyle||"single"];return o.lastIndex=0,$(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function ee(e,t,n,r){return e+" ("+t+") {"+(r?te(n,r):k.call(n,", "))+"}"}function te(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function ne(e,t){var n=q(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=V(e,o)?t(e[o],e):""}var i,a="function"==typeof T?T(e):[];if(C){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)V(e,u)&&(n&&String(Number(u))===u&&u<e.length||C&&i["$"+u]instanceof Symbol||(E.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof T)for(var l=0;l<a.length;l++)N.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},31620(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},25184(e,t,n){"use strict";var r=n(81265),o=n(42896),i=n(31620),a=n(25649),s=n(78303),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},25649(e,t,n){"use strict";var r=n(31620);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},78303(e,t,n){"use strict";var r=n(25649),o=n(81265);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},67989(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},97091(e,t,n){"use strict";var r=n(81265),o=n(60001),i=n(67989),a=n(20768),s=n(17418),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},20768(e,t,n){"use strict";var r=n(67989);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},17418(e,t,n){"use strict";var r=n(20768),o=n(81265);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},63980(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(60332),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)p.push(String(y));if(r&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var m in e)h&&"prototype"===m||!o.call(e,m)||p.push(String(m));if(u)for(var v=function(e){if(!d)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<c.length;++b)v&&"constructor"===c[b]||!o.call(e,c[b])||p.push(c[b]);return p}}e.exports=r},3528(e,t,n){"use strict";var r=Array.prototype.slice,o=n(60332),i=Object.keys,a=i?function(e){return i(e)}:n(63980),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},60332(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},23649(e,t,n){"use strict";var r=n(3528),o=n(40847)(),i=n(6046),a=n(24462),s=i("Array.prototype.push"),u=i("Object.prototype.propertyIsEnumerable"),l=o?a.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var i=1;i<arguments.length;++i){var c=a(arguments[i]),f=r(c),p=o&&(a.getOwnPropertySymbols||l);if(p)for(var d=p(c),h=0;h<d.length;++h){var y=d[h];u(c,y)&&s(f,y)}for(var g=0;g<f.length;++g){var m=f[g];if(u(c,m)){var v=c[m];n[m]=v}}}return n}},11887(e,t,n){"use strict";var r=n(81265),o=n(42896),i=n(23649),a=n(91636),s=n(12510),u=o.apply(a()),l=function(e,t){return u(Object,arguments)};r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},91636(e,t,n){"use strict";var r=n(23649);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},12510(e,t,n){"use strict";var r=n(81265),o=n(91636);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},47205(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},86870(e,t,n){"use strict";var r=n(36701);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},23108(e,t,n){e.exports=n(86870)()},36701(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55773(e,t,n){"use strict";var r=n(7378),o=n(37748);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!(void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function y(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new y(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new y(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new y(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new y(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new y(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new y(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(h,e)||!f.call(d,e)&&(p.test(e)?h[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),E=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),I=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var D,M=Object.assign;function U(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var F=!1;function $(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var u="\n"+o[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?U(e):""}function z(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 1:return e=$(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case E:return"Portal";case x:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case C:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return B(e(t))}catch(e){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ce(e,t)})}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ye(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ye(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(de).forEach(function(e){he.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]})});var me=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,_e=null,ke=null;function xe(e){if(e=wo(e)){if("function"!=typeof Ee)throw Error(i(280));var t=e.stateNode;t&&(t=Eo(t),Ee(e.stateNode,e.type,t))}}function Oe(e){_e?ke?ke.push(e):ke=[e]:_e=e}function Ie(){if(_e){var e=_e,t=ke;if(ke=_e=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Te(e,t){return e(t)}function Ae(){}var Ce=!1;function Re(e,t,n){if(Ce)return e(t,n);Ce=!0;try{return Te(e,t,n)}finally{Ce=!1,(null!==_e||null!==ke)&&(Ae(),Ie())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=Eo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Pe=!1;if(c)try{var je={};Object.defineProperty(je,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ce){Pe=!1}function Le(e,t,n,r,o,i,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var De=!1,Me=null,Ue=!1,Fe=null,$e={onError:function(e){De=!0,Me=e}};function ze(e,t,n,r,o,i,a,s,u){De=!1,Me=null,Le.apply($e,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Be(e)!==e)throw Error(i(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return He(o),e;if(a===r)return He(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=ft(s):0!==(i&=a)&&(r=ft(i))}else 0!==(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function yt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var St,Et,_t,kt,xt,Ot=!1,It=[],Tt=null,At=null,Ct=null,Rt=new Map,Nt=new Map,Pt=[],jt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Et(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void xt(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ut(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Et(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){Ut(e)&&n.delete(t)}function $t(){Ot=!1,null!==Tt&&Ut(Tt)&&(Tt=null),null!==At&&Ut(At)&&(At=null),null!==Ct&&Ut(Ct)&&(Ct=null),Rt.forEach(Ft),Nt.forEach(Ft)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}function Bt(e){function t(t){return zt(t,e)}if(0<It.length){zt(It[0],e);for(var n=1;n<It.length;n++){var r=It[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==At&&zt(At,e),null!==Ct&&zt(Ct,e),Rt.forEach(t),Nt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var o=bt,i=qt.transition;qt.transition=null;try{bt=1,Vt(e,t,n,r)}finally{bt=o,qt.transition=i}}function Wt(e,t,n,r){var o=bt,i=qt.transition;qt.transition=null;try{bt=4,Vt(e,t,n,r)}finally{bt=o,qt.transition=i}}function Vt(e,t,n,r){if(Ht){var o=Kt(e,t,n,r);if(null===o)Hr(e,t,r,Xt,n),Lt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Dt(Tt,e,t,n,r,o),!0;case"dragenter":return At=Dt(At,e,t,n,r,o),!0;case"mouseover":return Ct=Dt(Ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Rt.set(i,Dt(Rt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Dt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&St(i),null===(i=Kt(e,t,n,r))&&Hr(e,t,r,Xt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Xt=null;function Kt(e,t,n,r){if(Xt=null,null!==(e=bo(e=Se(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(ln),fn=M({},ln,{view:0,detail:0}),pn=on(fn),dn=M({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(dn),yn=on(M({},dn,{dataTransfer:0})),gn=on(M({},fn,{relatedTarget:0})),mn=on(M({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=M({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(M({},ln,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function xn(){return kn}var On=M({},fn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=on(On),Tn=on(M({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(M({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),Cn=on(M({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=M({},dn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Rn),Pn=[9,13,27,32],jn=c&&"CompositionEvent"in window,Ln=null;c&&"documentMode"in document&&(Ln=document.documentMode);var Dn=c&&"TextEvent"in window&&!Ln,Mn=c&&(!jn||Ln&&8<Ln&&11>=Ln),Un=String.fromCharCode(32),Fn=!1;function $n(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Gn(e,t,n,r){Oe(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Vn=null;function Xn(e){Ur(e,0)}function Kn(e){if(V(So(e)))return e}function Yn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Vn=Wn=null)}function nr(e){if("value"===e.propertyName&&Kn(Vn)){var t=[];Gn(t,Vn,e,Se(e)),Re(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Vn)}function ir(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,mr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==X(r)||("selectionStart"in(r=gr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Wr(mr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Er={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},_r={},kr={};function xr(e){if(_r[e])return _r[e];if(!Er[e])return e;var t,n=Er[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return _r[e]=n[t];return e}c&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);var Or=xr("animationend"),Ir=xr("animationiteration"),Tr=xr("animationstart"),Ar=xr("transitionend"),Cr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Cr.set(e,t),u(t,[e])}for(var Pr=0;Pr<Rr.length;Pr++){var jr=Rr[Pr];Nr(jr.toLowerCase(),"on"+(jr[0].toUpperCase()+jr.slice(1)))}Nr(Or,"onAnimationEnd"),Nr(Ir,"onAnimationIteration"),Nr(Tr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Ar,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,u,l){if(ze.apply(this,arguments),De){if(!De)throw Error(i(198));var c=Me;De=!1,Me=null,Ue||(Ue=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Ur(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==i&&o.isPropagationStopped())break e;Mr(o,s,l),i=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,l=s.currentTarget,s=s.listener,u!==i&&o.isPropagationStopped())break e;Mr(o,s,l),i=u}}}if(Ue)throw e=Fe,Ue=!1,Fe=null,e}function Fr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function $r(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[zr]){e[zr]=!0,a.forEach(function(t){"selectionchange"!==t&&(Dr.has(t)||$r(t,!1,e),$r(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,$r("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Yt(t)){case 1:var o=Gt;break;case 4:o=Wt;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=i,o=Se(n),a=[];e:{var s=Cr.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=In;break;case"focusin":l="focus",u=gn;break;case"focusout":l="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case Or:case Ir:case Tr:u=mn;break;case Ar:u=Cn;break;case"scroll":u=pn;break;case"wheel":u=Nn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tn}var c=!!(4&t),f=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var d,h=r;null!==h;){var y=(d=h).stateNode;if(5===d.tag&&null!==y&&(d=y,null!==p&&(null!=(y=Ne(h,p))&&c.push(Gr(h,y,d)))),f)break;h=h.return}0<c.length&&(s=new u(s,l,null,n,o),a.push({event:s,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(l=n.relatedTarget||n.fromElement)||!bo(l)&&!l[yo])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?bo(l):null)&&(l!==(f=Be(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=hn,y="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,y="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==u?s:So(u),d=null==l?s:So(l),(s=new c(y,h+"leave",u,n,o)).target=f,s.relatedTarget=d,y=null,bo(o)===r&&((c=new c(p,h+"enter",l,n,o)).target=d,c.relatedTarget=f,y=c),f=y,u&&l)e:{for(p=l,h=0,d=c=u;d;d=Vr(d))h++;for(d=0,y=p;y;y=Vr(y))d++;for(;0<h-d;)c=Vr(c),h--;for(;0<d-h;)p=Vr(p),d--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Vr(c),p=Vr(p)}c=null}else c=null;null!==u&&Xr(a,s,u,c,!1),null!==l&&null!==f&&Xr(a,f,l,c,!0)}if("select"===(u=(s=r?So(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=Yn;else if(Hn(s))if(Qn)g=ar;else{g=or;var m=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Gn(a,g,n,o):(m&&m(e,s,r),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ee(s,"number",s.value)),m=r?So(r):window,e){case"focusin":(Hn(m)||"true"===m.contentEditable)&&(gr=m,mr=r,vr=null);break;case"focusout":vr=mr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":wr(a,n,o)}var v;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?$n(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(v=en()):(Jt="value"in(Qt=o)?Qt.value:Qt.textContent,Bn=!0)),0<(m=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:m}),v?b.data=v:null!==(v=zn(n))&&(b.data=v))),(v=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Un);case"textInput":return(e=t.data)===Un&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!jn&&$n(e,t)?(e=en(),Zt=Jt=Qt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Ur(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Gr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Gr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,o?null!=(u=Ne(n,i))&&a.unshift(Gr(n,u,s)):o||null!=(u=Ne(n,i))&&a.push(Gr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout(function(){throw e})}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function lo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,yo="__reactContainer$"+fo,go="__reactEvents$"+fo,mo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[yo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function So(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Eo(e){return e[ho]||null}var _o=[],ko=-1;function xo(e){return{current:e}}function Oo(e){0>ko||(e.current=_o[ko],_o[ko]=null,ko--)}function Io(e,t){ko++,_o[ko]=e.current,e.current=t}var To={},Ao=xo(To),Co=xo(!1),Ro=To;function No(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Po(e){return null!=(e=e.childContextTypes)}function jo(){Oo(Co),Oo(Ao)}function Lo(e,t,n){if(Ao.current!==To)throw Error(i(168));Io(Ao,t),Io(Co,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,q(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Ro=Ao.current,Io(Ao,e),Io(Co,Co.current),!0}function Uo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,Oo(Co),Oo(Ao),Io(Ao,e)):Oo(Co),Io(Co,n)}var Fo=null,$o=!1,zo=!1;function Bo(e){null===Fo?Fo=[e]:Fo.push(e)}function qo(){if(!zo&&null!==Fo){zo=!0;var e=0,t=bt;try{var n=Fo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,$o=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ve(Ze,qo),t}finally{bt=t,zo=!1}}return null}var Ho=[],Go=0,Wo=null,Vo=0,Xo=[],Ko=0,Yo=null,Qo=1,Jo="";function Zo(e,t){Ho[Go++]=Vo,Ho[Go++]=Wo,Wo=e,Vo=t}function ei(e,t,n){Xo[Ko++]=Qo,Xo[Ko++]=Jo,Xo[Ko++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=Ho[--Go],Ho[Go]=null,Vo=Ho[--Go],Ho[Go]=null;for(;e===Yo;)Yo=Xo[--Ko],Xo[Ko]=null,Jo=Xo[--Ko],Xo[Ko]=null,Qo=Xo[--Ko],Xo[Ko]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Cl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function li(e){return!(!(1&e.mode)||128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!ui(e,t)){if(li(e))throw Error(i(418));t=lo(n.nextSibling);var r=ri;t&&ui(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function pi(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(li(e))throw di(),Error(i(418));for(;t;)si(e,t),t=lo(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=lo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?lo(e.stateNode.nextSibling):null;return!0}function di(){for(var e=oi;e;)e=lo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function yi(e){null===ai?ai=[e]:ai.push(e)}var gi=w.ReactCurrentBatchConfig;function mi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Nl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Dl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){var i=n.type;return i===_?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===N&&bi(i)===t.type)?((r=o(t,n.props)).ref=mi(e,t,n),r.return=e,r):((r=Pl(n.type,n.key,n.props,null,e.mode,r)).ref=mi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ml(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=jl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Dl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Pl(t.type,t.key,t.props,null,e.mode,n)).ref=mi(e,null,t),n.return=e,n;case E:return(t=Ml(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=jl(t,e.mode,n,null)).return=e,t;vi(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?l(e,t,n,r):null;case E:return n.key===o?c(e,t,n,r):null;case N:return d(e,t,(o=n._init)(n._payload),r)}if(te(n)||L(n))return null!==o?null:f(e,t,n,r,null);vi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||L(r))return f(t,e=e.get(n)||null,r,o,null);vi(t,r)}return null}function y(o,i,s,u){for(var l=null,c=null,f=i,y=i=0,g=null;null!==f&&y<s.length;y++){f.index>y?(g=f,f=null):g=f.sibling;var m=d(o,f,s[y],u);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(o,f),i=a(m,i,y),null===c?l=m:c.sibling=m,c=m,f=g}if(y===s.length)return n(o,f),ii&&Zo(o,y),l;if(null===f){for(;y<s.length;y++)null!==(f=p(o,s[y],u))&&(i=a(f,i,y),null===c?l=f:c.sibling=f,c=f);return ii&&Zo(o,y),l}for(f=r(o,f);y<s.length;y++)null!==(g=h(f,o,y,s[y],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?y:g.key),i=a(g,i,y),null===c?l=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(o,e)}),ii&&Zo(o,y),l}function g(o,s,u,l){var c=L(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,y=s,g=s=0,m=null,v=u.next();null!==y&&!v.done;g++,v=u.next()){y.index>g?(m=y,y=null):m=y.sibling;var b=d(o,y,v.value,l);if(null===b){null===y&&(y=m);break}e&&y&&null===b.alternate&&t(o,y),s=a(b,s,g),null===f?c=b:f.sibling=b,f=b,y=m}if(v.done)return n(o,y),ii&&Zo(o,g),c;if(null===y){for(;!v.done;g++,v=u.next())null!==(v=p(o,v.value,l))&&(s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return ii&&Zo(o,g),c}for(y=r(o,y);!v.done;g++,v=u.next())null!==(v=h(y,o,g,v.value,l))&&(e&&null!==v.alternate&&y.delete(null===v.key?g:v.key),s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return e&&y.forEach(function(e){return t(o,e)}),ii&&Zo(o,g),c}return function e(r,i,a,u){if("object"==typeof a&&null!==a&&a.type===_&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case S:e:{for(var l=a.key,c=i;null!==c;){if(c.key===l){if((l=a.type)===_){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===N&&bi(l)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=mi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===_?((i=jl(a.props.children,r.mode,u,a.key)).return=r,r=i):((u=Pl(a.type,a.key,a.props,null,r.mode,u)).ref=mi(r,i,a),u.return=r,r=u)}return s(r);case E:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Ml(a,r.mode,u)).return=r,r=i}return s(r);case N:return e(r,i,(c=a._init)(a._payload),u)}if(te(a))return y(r,i,a,u);if(L(a))return g(r,i,a,u);vi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Dl(a,r.mode,u)).return=r,r=i),s(r)):n(r,i)}}var Si=wi(!0),Ei=wi(!1),_i=xo(null),ki=null,xi=null,Oi=null;function Ii(){Oi=xi=ki=null}function Ti(e){var t=_i.current;Oo(_i),e._currentValue=t}function Ai(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){ki=e,Oi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ri(e){var t=e._currentValue;if(Oi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===ki)throw Error(i(308));xi=e,ki.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Ni=null;function Pi(e){null===Ni?Ni=[e]:Ni.push(e)}function ji(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Li(e,r)}function Li(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Di=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $i(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Iu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Li(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Li(e,n)}function zi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Bi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qi(e,t,n,r){var o=e.updateQueue;Di=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,l=u.next;u.next=null,null===a?i=l:a.next=l,a=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==i){var f=o.baseState;for(a=0,c=l=u=null,s=i;;){var p=s.lane,d=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:d,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,y=s;switch(p=t,d=n,y.tag){case 1:if("function"==typeof(h=y.payload)){f=h.call(d,f,p);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=y.payload)?h.call(d,f,p):h))break e;f=M({},f,p);break e;case 2:Di=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else d={eventTime:d,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=d,u=f):c=c.next=d,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=l,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Lu|=a,e.lanes=a,e.memoizedState=f}}function Hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Gi={},Wi=xo(Gi),Vi=xo(Gi),Xi=xo(Gi);function Ki(e){if(e===Gi)throw Error(i(174));return e}function Yi(e,t){switch(Io(Xi,t),Io(Vi,e),Io(Wi,Gi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(Wi),Io(Wi,t)}function Qi(){Oo(Wi),Oo(Vi),Oo(Xi)}function Ji(e){Ki(Xi.current);var t=Ki(Wi.current),n=ue(t,e.type);t!==n&&(Io(Vi,e),Io(Wi,n))}function Zi(e){Vi.current===e&&(Oo(Wi),Oo(Vi))}var ea=xo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,ua=null,la=null,ca=!1,fa=!1,pa=0,da=0;function ha(){throw Error(i(321))}function ya(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Za:es,e=n(r,o),fa){a=0;do{if(fa=!1,pa=0,25<=a)throw Error(i(301));a+=1,la=ua=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(fa)}if(oa.current=Ja,t=null!==ua&&null!==ua.next,aa=0,la=ua=sa=null,ca=!1,t)throw Error(i(300));return e}function ma(){var e=0!==pa;return pa=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?sa.memoizedState=la=e:la=la.next=e,la}function ba(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===la?sa.memoizedState:la.next;if(null!==t)la=t,ua=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===la?sa.memoizedState=la=e:la=la.next=e}return la}function wa(e,t){return"function"==typeof t?t(e):t}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ua,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var u=s=null,l=null,c=a;do{var f=c.lane;if((aa&f)===f)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=p,s=r):l=l.next=p,sa.lanes|=f,Lu|=f}c=c.next}while(null!==c&&c!==a);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Lu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ea(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function _a(){}function ka(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,Da(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==la&&1&la.memoizedState.tag){if(n.flags|=2048,Ra(9,Oa.bind(null,n,r,o,t),void 0,null),null===Tu)throw Error(i(349));30&aa||xa(n,t,o)}return o}function xa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Aa(e)}function Ia(e,t,n){return n(function(){Ta(t)&&Aa(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Aa(e){var t=Li(e,1);null!==t&&tl(t,e,1,-1)}function Ca(e){var t=va();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Xa.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Na(){return ba().memoizedState}function Pa(e,t,n,r){var o=va();sa.flags|=e,o.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function ja(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==ua){var a=ua.memoizedState;if(i=a.destroy,null!==r&&ya(r,a.deps))return void(o.memoizedState=Ra(t,n,i,r))}sa.flags|=e,o.memoizedState=Ra(1|t,n,i,r)}function La(e,t){return Pa(8390656,8,e,t)}function Da(e,t){return ja(2048,8,e,t)}function Ma(e,t){return ja(4,2,e,t)}function Ua(e,t){return ja(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,ja(4,4,Fa.bind(null,t,e),n)}function za(){}function Ba(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qa(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ha(e,t,n){return 21&aa?(sr(n,t)||(n=yt(),sa.lanes|=n,Lu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ga(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Wa(){return ba().memoizedState}function Va(e,t,n){var r=el(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ka(e))Ya(t,n);else if(null!==(n=ji(e,t,n,r))){tl(n,e,r,Zu()),Qa(n,t,r)}}function Xa(e,t,n){var r=el(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ka(e))Ya(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(o.next=o,Pi(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=ji(e,t,o,r))&&(tl(n,e,r,o=Zu()),Qa(n,t,r))}}function Ka(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ya(e,t){fa=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Ja={readContext:Ri,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Za={readContext:Ri,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Ri,useEffect:La,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Pa(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pa(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Va.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Ca,useDebugValue:za,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Ca(!1),t=e[0];return e=Ga.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=va();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tu)throw Error(i(349));30&aa||xa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,La(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,Oa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Tu.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=da++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ri,useCallback:Ba,useContext:Ri,useEffect:Da,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:Ua,useMemo:qa,useReducer:Sa,useRef:Na,useState:function(){return Sa(wa)},useDebugValue:za,useDeferredValue:function(e){return Ha(ba(),ua.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:ka,useId:Wa,unstable_isNewReconciler:!1},ts={readContext:Ri,useCallback:Ba,useContext:Ri,useEffect:Da,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:Ua,useMemo:qa,useReducer:Ea,useRef:Na,useState:function(){return Ea(wa)},useDebugValue:za,useDeferredValue:function(e){var t=ba();return null===ua?t.memoizedState=e:Ha(t,ua.memoizedState,e)},useTransition:function(){return[Ea(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:ka,useId:Wa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zu(),o=el(e),i=Fi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=$i(e,i,o))&&(tl(t,e,o,r),zi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zu(),o=el(e),i=Fi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=$i(e,i,o))&&(tl(t,e,o,r),zi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zu(),r=el(e),o=Fi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=$i(e,o,r))&&(tl(t,e,r,n),zi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,i))}function as(e,t,n){var r=!1,o=To,i=t.contextType;return"object"==typeof i&&null!==i?i=Ri(i):(o=Po(t)?Ro:Ao.current,i=(r=null!=(r=t.contextTypes))?No(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Mi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ri(i):(i=Po(t)?Ro:Ao.current,o.context=No(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),qi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ps="function"==typeof WeakMap?WeakMap:Map;function ds(e,t,n){(n=Fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Hu=r),fs(0,t)},n}function hs(e,t,n){(n=Fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Gu?Gu=new Set([this]):Gu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ys(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kl.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ms(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fi(-1,1)).tag=2,$i(n,t,1))),n.lanes|=1),e)}var vs=w.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?Ei(t,null,n,r):Si(t,e.child,n,r)}function Ss(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=ga(e,t,n,r,i,o),n=ma(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Es(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Rl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Nl(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);131072&e.flags&&(bs=!0)}}return Os(e,t,n,r,o)}function ks(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Io(Nu,Ru),Ru|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Io(Nu,Ru),Ru|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Io(Nu,Ru),Ru|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Io(Nu,Ru),Ru|=r;return ws(e,t,o,n),t.child}function xs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,o){var i=Po(n)?Ro:Ao.current;return i=No(t,i),Ci(t,o),n=ga(e,t,n,r,i,o),r=ma(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Is(e,t,n,r,o){if(Po(n)){var i=!0;Mo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Bs(e,t),as(t,n,r),us(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Ri(l):l=No(t,l=Po(n)?Ro:Ao.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&ss(t,a,r,l),Di=!1;var p=t.memoizedState;a.state=p,qi(t,r,a,o),u=t.memoizedState,s!==r||p!==u||Co.current||Di?("function"==typeof c&&(rs(t,n,c,r),u=t.memoizedState),(s=Di||is(t,n,s,r,p,u,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ui(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),a.props=l,f=t.pendingProps,p=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Ri(u):u=No(t,u=Po(n)?Ro:Ao.current);var d=n.getDerivedStateFromProps;(c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||p!==u)&&ss(t,a,r,u),Di=!1,p=t.memoizedState,a.state=p,qi(t,r,a,o);var h=t.memoizedState;s!==f||p!==h||Co.current||Di?("function"==typeof d&&(rs(t,n,d,r),h=t.memoizedState),(l=Di||is(t,n,l,r,p,h,u)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,i,o)}function Ts(e,t,n,r,o,i){xs(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Uo(t,n,!1),qs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Uo(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Lo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lo(0,t.context,!1),Yi(e,t.containerInfo)}function Cs(e,t,n,r,o){return hi(),yi(o),t.flags|=256,ws(e,t,n,r),t.child}var Rs,Ns,Ps,js={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,u=!!(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Io(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=o.children,e=o.fallback,s?(o=t.mode,s=t.child,u={mode:"hidden",children:u},1&o||null===s?s=Ll(u,o,0,null):(s.childLanes=0,s.pendingProps=u),e=jl(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=js,e):Ms(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=cs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ll({mode:"visible",children:r.children},o,0,null),(a=jl(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Si(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=js,a);if(!(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Us(e,t,s,r=cs(a=Error(i(419)),r,void 0))}if(u=0!==(s&e.childLanes),bs||u){if(null!==(r=Tu)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Li(e,o),tl(r,e,o,-1))}return hl(),Us(e,t,s,r=cs(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ol.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=lo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Xo[Ko++]=Qo,Xo[Ko++]=Jo,Xo[Ko++]=Yo,Qo=e.id,Jo=e.overflow,Yo=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,u,o,r,a,n);if(s){s=o.fallback,u=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 1&u||t.child===a?(o=Nl(a,l)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null),null!==r?s=Nl(r,s):(s=jl(s,u,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,u=null===(u=e.child.memoizedState)?Ls(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,o}return e=(s=e.child).sibling,o=Nl(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ms(e,t){return(t=Ll({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&yi(r),Si(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ai(e.return,t,n)}function $s(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function zs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Io(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$s(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$s(t,!0,n,null,i);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Bs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Lu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Nl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ws(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Po(t.type)&&jo(),Gs(t),null;case 3:return r=t.stateNode,Qi(),Oo(Co),Oo(Ao),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(il(ai),ai=null))),Gs(t),null;case 5:Zi(t);var o=Ki(Xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ns(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Gs(t),null}if(e=Ki(Wi.current),pi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Y(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":oe(r,a),Fr("invalid",r)}for(var u in ve(n,a),o=null,a)if(a.hasOwnProperty(u)){var l=a[u];"children"===u?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),o=["children",""+l]):s.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":W(r),Z(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[ho]=r,Rs(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":Y(e,r),o=K(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(a in ve(n,o),l=o)if(l.hasOwnProperty(a)){var c=l[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&b(e,a,c,u))}switch(n){case"input":W(e),Z(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ps(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=Ki(Xi.current),Ki(Wi.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Gs(t),null;case 13:if(Oo(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))di(),hi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),a=!1}else null!==ai&&(il(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Pu&&(Pu=3):hl())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Qi(),null===e&&Br(t.stateNode.containerInfo),Gs(t),null;case 10:return Ti(t.type._context),Gs(t),null;case 19:if(Oo(ea),null===(a=t.memoizedState))return Gs(t),null;if(r=!!(128&t.flags),null===(u=a.rendering))if(r)Hs(a,!1);else{if(0!==Pu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(u=ta(e))){for(t.flags|=128,Hs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Io(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>zu&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!ii)return Gs(t),null}else 2*Qe()-a.renderingStartTime>zu&&1073741824!==n&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=ea.current,Io(ea,r?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return cl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ru)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Vs(e,t){switch(ni(t),t.tag){case 1:return Po(t.type)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qi(),Oo(Co),Oo(Ao),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(Oo(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(ea),null;case 4:return Qi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return cl(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ns=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ki(Wi.current);var i,a=null;switch(n){case"input":o=K(e,o),r=K(e,r),a=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ve(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(i in u)!u.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&u[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(a||(a=[]),a.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Fr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(c,l))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ps=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Ks=!1,Ys="function"==typeof WeakSet?WeakSet:Set,Qs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){_l(e,t,n)}else n.current=null}function Zs(e,t,n){try{n()}catch(n){_l(e,t,n)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Zs(t,n,i)}o=o.next}while(o!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[mo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var lu=null,cu=!1;function fu(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ks||Js(n,t);case 6:var r=lu,o=cu;lu=null,fu(e,t,n),cu=o,null!==(lu=r)&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:null!==lu&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Bt(e)):uo(lu,n.stateNode));break;case 4:r=lu,o=cu,lu=n.stateNode.containerInfo,cu=!0,fu(e,t,n),lu=r,cu=o;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Zs(n,t,a),o=o.next}while(o!==r)}fu(e,t,n);break;case 1:if(!Ks&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){_l(n,t,e)}fu(e,t,n);break;case 21:fu(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,fu(e,t,n),Ks=r):fu(e,t,n);break;default:fu(e,t,n)}}function du(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach(function(t){var r=Il.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function hu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:lu=u.stateNode,cu=!1;break e;case 3:case 4:lu=u.stateNode.containerInfo,cu=!0;break e}u=u.return}if(null===lu)throw Error(i(160));pu(a,s,o),lu=null,cu=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(e){_l(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hu(t,e),gu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(t){_l(e,e.return,t)}try{tu(5,e,e.return)}catch(t){_l(e,e.return,t)}}break;case 1:hu(t,e),gu(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(hu(t,e),gu(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){_l(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===a.type&&null!=a.name&&Q(o,a),be(u,s);var c=be(u,a);for(s=0;s<l.length;s+=2){var f=l[s],p=l[s+1];"style"===f?ge(o,p):"dangerouslySetInnerHTML"===f?fe(o,p):"children"===f?pe(o,p):b(o,f,p,c)}switch(u){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):d!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){_l(e,e.return,t)}}break;case 6:if(hu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){_l(e,e.return,t)}}break;case 3:if(hu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){_l(e,e.return,t)}break;case 4:default:hu(t,e),gu(e);break;case 13:hu(t,e),gu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||($u=Qe())),4&r&&du(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(c=Ks)||f,hu(t,e),Ks=c):hu(t,e),gu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&1&e.mode)for(Qs=e,f=e.child;null!==f;){for(p=Qs=f;null!==Qs;){switch(h=(d=Qs).child,d.tag){case 0:case 11:case 14:case 15:tu(4,d,d.return);break;case 1:Js(d,d.return);var y=d.stateNode;if("function"==typeof y.componentWillUnmount){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(e){_l(r,n,e)}}break;case 5:Js(d,d.return);break;case 22:if(null!==d.memoizedState){wu(p);continue}}null!==h?(h.return=d,Qs=h):wu(p)}f=f.sibling}e:for(f=null,p=e;;){if(5===p.tag){if(null===f){f=p;try{o=p.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=p.stateNode,s=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,u.style.display=ye("display",s))}catch(t){_l(e,e.return,t)}}}else if(6===p.tag){if(null===f)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){_l(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;f===p&&(f=null),p=p.return}f===p&&(f=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hu(t,e),gu(e),4&r&&du(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),uu(e,au(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,au(e),a);break;default:throw Error(i(161))}}catch(t){_l(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function mu(e,t,n){Qs=e,vu(e,t,n)}function vu(e,t,n){for(var r=!!(1&e.mode);null!==Qs;){var o=Qs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xs;if(!a){var s=o.alternate,u=null!==s&&null!==s.memoizedState||Ks;s=Xs;var l=Ks;if(Xs=a,(Ks=u)&&!l)for(Qs=o;null!==Qs;)u=(a=Qs).child,22===a.tag&&null!==a.memoizedState?Su(o):null!==u?(u.return=a,Qs=u):Su(o);for(;null!==i;)Qs=i,vu(i,t,n),i=i.sibling;Qs=o,Xs=s,Ks=l}bu(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Qs=i):bu(e)}}function bu(e){for(;null!==Qs;){var t=Qs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Hi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Hi(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var p=f.dehydrated;null!==p&&Bt(p)}}}break;default:throw Error(i(163))}Ks||512&t.flags&&ru(t)}catch(e){_l(t,t.return,e)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function wu(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function Su(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(e){_l(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){_l(t,o,e)}}var i=t.return;try{ru(t)}catch(e){_l(t,i,e)}break;case 5:var a=t.return;try{ru(t)}catch(e){_l(t,a,e)}}}catch(e){_l(t,t.return,e)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var Eu,_u=Math.ceil,ku=w.ReactCurrentDispatcher,xu=w.ReactCurrentOwner,Ou=w.ReactCurrentBatchConfig,Iu=0,Tu=null,Au=null,Cu=0,Ru=0,Nu=xo(0),Pu=0,ju=null,Lu=0,Du=0,Mu=0,Uu=null,Fu=null,$u=0,zu=1/0,Bu=null,qu=!1,Hu=null,Gu=null,Wu=!1,Vu=null,Xu=0,Ku=0,Yu=null,Qu=-1,Ju=0;function Zu(){return 6&Iu?Qe():-1!==Qu?Qu:Qu=Qe()}function el(e){return 1&e.mode?2&Iu&&0!==Cu?Cu&-Cu:null!==gi.transition?(0===Ju&&(Ju=yt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function tl(e,t,n,r){if(50<Ku)throw Ku=0,Yu=null,Error(i(185));mt(e,n,r),2&Iu&&e===Tu||(e===Tu&&(!(2&Iu)&&(Du|=n),4===Pu&&al(e,Cu)),nl(e,r),1===n&&0===Iu&&!(1&t.mode)&&(zu=Qe()+500,$o&&qo()))}function nl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,u=o[a];-1===u?0!==(s&n)&&0===(s&r)||(o[a]=dt(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=pt(e,e===Tu?Cu:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){$o=!0,Bo(e)}(sl.bind(null,e)):Bo(sl.bind(null,e)),ao(function(){!(6&Iu)&&qo()}),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tl(n,rl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rl(e,t){if(Qu=-1,Ju=0,6&Iu)throw Error(i(327));var n=e.callbackNode;if(Sl()&&e.callbackNode!==n)return null;var r=pt(e,e===Tu?Cu:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=yl(e,r);else{t=r;var o=Iu;Iu|=2;var a=dl();for(Tu===e&&Cu===t||(Bu=null,zu=Qe()+500,fl(e,t));;)try{ml();break}catch(t){pl(e,t)}Ii(),ku.current=a,Iu=o,null!==Au?t=0:(Tu=null,Cu=0,t=Pu)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ol(e,o))),1===t)throw n=ju,fl(e,0),al(e,r),nl(e,Qe()),n;if(6===t)al(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=yl(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=ol(e,a))),1!==t)))throw n=ju,fl(e,0),al(e,r),nl(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wl(e,Fu,Bu);break;case 3:if(al(e,r),(130023424&r)===r&&10<(t=$u+500-Qe())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Zu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wl.bind(null,e,Fu,Bu),t);break}wl(e,Fu,Bu);break;case 4:if(al(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_u(r/1960))-r)){e.timeoutHandle=ro(wl.bind(null,e,Fu,Bu),r);break}wl(e,Fu,Bu);break;default:throw Error(i(329))}}}return nl(e,Qe()),e.callbackNode===n?rl.bind(null,e):null}function ol(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(fl(e,t).flags|=256),2!==(e=yl(e,t))&&(t=Fu,Fu=n,null!==t&&il(t)),e}function il(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function al(e,t){for(t&=~Mu,t&=~Du,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sl(e){if(6&Iu)throw Error(i(327));Sl();var t=pt(e,0);if(!(1&t))return nl(e,Qe()),null;var n=yl(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=ju,fl(e,0),al(e,t),nl(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Fu,Bu),nl(e,Qe()),null}function ul(e,t){var n=Iu;Iu|=1;try{return e(t)}finally{0===(Iu=n)&&(zu=Qe()+500,$o&&qo())}}function ll(e){null!==Vu&&0===Vu.tag&&!(6&Iu)&&Sl();var t=Iu;Iu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,!(6&(Iu=t))&&qo()}}function cl(){Ru=Nu.current,Oo(Nu)}function fl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&jo();break;case 3:Qi(),Oo(Co),Oo(Ao),ra();break;case 5:Zi(r);break;case 4:Qi();break;case 13:case 19:Oo(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:cl()}n=n.return}if(Tu=e,Au=e=Nl(e.current,null),Cu=Ru=t,Pu=0,ju=null,Mu=Du=Lu=0,Fu=Uu=null,null!==Ni){for(t=0;t<Ni.length;t++)if(null!==(r=(n=Ni[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ni=null}return e}function pl(e,t){for(;;){var n=Au;try{if(Ii(),oa.current=Ja,ca){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ca=!1}if(aa=0,la=ua=sa=null,fa=!1,pa=0,xu.current=null,null===n||null===n.return){Pu=1,ju=t,Au=null;break}e:{var a=e,s=n.return,u=n,l=t;if(t=Cu,u.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,f=u,p=f.tag;if(!(1&f.mode||0!==p&&11!==p&&15!==p)){var d=f.alternate;d?(f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.lanes=d.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,ms(h,s,u,0,t),1&h.mode&&ys(a,c,t),l=c;var y=(t=h).updateQueue;if(null===y){var g=new Set;g.add(l),t.updateQueue=g}else y.add(l);break e}if(!(1&t)){ys(a,c,t),hl();break e}l=Error(i(426))}else if(ii&&1&u.mode){var m=gs(s);if(null!==m){!(65536&m.flags)&&(m.flags|=256),ms(m,s,u,0,t),yi(ls(l,u));break e}}a=l=ls(l,u),4!==Pu&&(Pu=2),null===Uu?Uu=[a]:Uu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,ds(0,l,t));break e;case 1:u=l;var v=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Gu&&Gu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,hs(a,u,t));break e}}a=a.return}while(null!==a)}bl(n)}catch(e){t=e,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function dl(){var e=ku.current;return ku.current=Ja,null===e?Ja:e}function hl(){0!==Pu&&3!==Pu&&2!==Pu||(Pu=4),null===Tu||!(268435455&Lu)&&!(268435455&Du)||al(Tu,Cu)}function yl(e,t){var n=Iu;Iu|=2;var r=dl();for(Tu===e&&Cu===t||(Bu=null,fl(e,t));;)try{gl();break}catch(t){pl(e,t)}if(Ii(),Iu=n,ku.current=r,null!==Au)throw Error(i(261));return Tu=null,Cu=0,Pu}function gl(){for(;null!==Au;)vl(Au)}function ml(){for(;null!==Au&&!Ke();)vl(Au)}function vl(e){var t=Eu(e.alternate,e,Ru);e.memoizedProps=e.pendingProps,null===t?bl(e):Au=t,xu.current=null}function bl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Vs(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Pu=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ws(n,t,Ru)))return void(Au=n);if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Pu&&(Pu=5)}function wl(e,t,n){var r=bt,o=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{Sl()}while(null!==Vu);if(6&Iu)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Tu&&(Au=Tu=null,Cu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Wu||(Wu=!0,Tl(tt,function(){return Sl(),null})),a=!!(15990&n.flags),!!(15990&n.subtreeFlags)||a){a=Ou.transition,Ou.transition=null;var s=bt;bt=1;var u=Iu;Iu|=4,xu.current=null,function(e,t){if(eo=Ht,dr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,u=-1,l=-1,c=0,f=0,p=e,d=null;t:for(;;){for(var h;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==a||0!==r&&3!==p.nodeType||(l=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)d=p,p=h;for(;;){if(p===e)break t;if(d===n&&++c===o&&(u=s),d===a&&++f===r&&(l=s),null!==(h=p.nextSibling))break;d=(p=d).parentNode}p=h}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var y=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var g=y.memoizedProps,m=y.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),m);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){_l(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}y=eu,eu=!1}(e,n),yu(n,e),hr(to),Ht=!!eo,to=eo=null,e.current=n,mu(n,e,o),Ye(),Iu=u,bt=s,Ou.transition=a}else e.current=n;if(Wu&&(Wu=!1,Vu=e,Xu=o),a=e.pendingLanes,0===a&&(Gu=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nl(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qu)throw qu=!1,e=Hu,Hu=null,e;!!(1&Xu)&&0!==e.tag&&Sl(),a=e.pendingLanes,1&a?e===Yu?Ku++:(Ku=0,Yu=e):Ku=0,qo()}(e,t,n,r)}finally{Ou.transition=o,bt=r}return null}function Sl(){if(null!==Vu){var e=wt(Xu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===Vu)var r=!1;else{if(e=Vu,Vu=null,Xu=0,6&Iu)throw Error(i(331));var o=Iu;for(Iu|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(16&Qs.flags){var u=a.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for(Qs=c;null!==Qs;){var f=Qs;switch(f.tag){case 0:case 11:case 15:tu(8,f,a)}var p=f.child;if(null!==p)p.return=f,Qs=p;else for(;null!==Qs;){var d=(f=Qs).sibling,h=f.return;if(ou(f),f===c){Qs=null;break}if(null!==d){d.return=h,Qs=d;break}Qs=h}}}var y=a.alternate;if(null!==y){var g=y.child;if(null!==g){y.child=null;do{var m=g.sibling;g.sibling=null,g=m}while(null!==g)}}Qs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(2048&(a=Qs).flags)switch(a.tag){case 0:case 11:case 15:tu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Qs=v;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var w=(s=Qs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Qs=w;else e:for(s=b;null!==Qs;){if(2048&(u=Qs).flags)try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(e){_l(u,u.return,e)}if(u===s){Qs=null;break e}var S=u.sibling;if(null!==S){S.return=u.return,Qs=S;break e}Qs=u.return}}if(Iu=o,qo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function El(e,t,n){e=$i(e,t=ds(0,t=ls(n,t),1),1),t=Zu(),null!==e&&(mt(e,1,t),nl(e,t))}function _l(e,t,n){if(3===e.tag)El(e,e,n);else for(;null!==t;){if(3===t.tag){El(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gu||!Gu.has(r))){t=$i(t,e=hs(t,e=ls(n,e),1),1),e=Zu(),null!==t&&(mt(t,1,e),nl(t,e));break}}t=t.return}}function kl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zu(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Cu&n)===n&&(4===Pu||3===Pu&&(130023424&Cu)===Cu&&500>Qe()-$u?fl(e,0):Mu|=n),nl(e,t)}function xl(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=Zu();null!==(e=Li(e,t))&&(mt(e,t,n),nl(e,n))}function Ol(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xl(e,n)}function Il(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),xl(e,n)}function Tl(e,t){return Ve(e,t)}function Al(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cl(e,t,n,r){return new Al(e,t,n,r)}function Rl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nl(e,t){var n=e.alternate;return null===n?((n=Cl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pl(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Rl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return jl(n.children,o,a,t);case k:s=8,o|=8;break;case x:return(e=Cl(12,n,t,2|o)).elementType=x,e.lanes=a,e;case A:return(e=Cl(13,n,t,o)).elementType=A,e.lanes=a,e;case C:return(e=Cl(19,n,t,o)).elementType=C,e.lanes=a,e;case P:return Ll(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case I:s=9;break e;case T:s=11;break e;case R:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Cl(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function jl(e,t,n,r){return(e=Cl(7,e,r,t)).lanes=n,e}function Ll(e,t,n,r){return(e=Cl(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return(e=Cl(6,e,null,t)).lanes=n,e}function Ml(e,t,n){return(t=Cl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ul(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fl(e,t,n,r,o,i,a,s,u){return e=new Ul(e,t,n,s,u),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Cl(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function $l(e){if(!e)return To;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Po(n))return Do(e,n,t)}return t}function zl(e,t,n,r,o,i,a,s,u){return(e=Fl(n,r,!0,e,0,i,0,s,u)).context=$l(null),n=e.current,(i=Fi(r=Zu(),o=el(n))).callback=null!=t?t:null,$i(n,i,o),e.current.lanes=o,mt(e,o,r),nl(e,r),e}function Bl(e,t,n,r){var o=t.current,i=Zu(),a=el(o);return n=$l(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$i(o,t,a))&&(tl(e,o,a,i),zi(e,o,a)),a}function ql(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gl(e,t){Hl(e,t),(e=e.alternate)&&Hl(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Co.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:As(t),hi();break;case 5:Ji(t);break;case 1:Po(t.type)&&Mo(t);break;case 4:Yi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Io(_i,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Io(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ds(e,t,n):(Io(ea,1&ea.current),null!==(e=qs(e,t,n))?e.sibling:null);Io(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return zs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Io(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return qs(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ii&&1048576&t.flags&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var o=No(t,Ao.current);Ci(t,n),o=ga(null,t,r,e,o,n);var a=ma();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Po(r)?(a=!0,Mo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=os,t.stateNode=o,o._reactInternals=t,us(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Rl(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),o){case 0:t=Os(null,t,r,e,n);break e;case 1:t=Is(null,t,r,e,n);break e;case 11:t=Ss(null,t,r,e,n);break e;case 14:t=Es(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,Is(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(As(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ui(e,t),qi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cs(e,t,r,n,o=ls(Error(i(423)),t));break e}if(r!==o){t=Cs(e,t,r,n,o=ls(Error(i(424)),t));break e}for(oi=lo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ei(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Ji(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),xs(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Ds(e,t,n);case 4:return Yi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Io(_i,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Co.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=Fi(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Ai(a.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Ai(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ri(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Es(e,t,r,o=ns(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Bs(e,t),t.tag=1,Po(r)?(e=!0,Mo(t)):e=!1,Ci(t,n),as(t,r,o),us(t,r,o,n),Ts(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return ks(e,t,n)}throw Error(i(156,t.tag))};var Wl="function"==typeof reportError?reportError:function(e){console.error(e)};function Vl(e){this._internalRoot=e}function Xl(e){this._internalRoot=e}function Kl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ql(){}function Jl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=ql(a);s.call(e)}}Bl(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=ql(a);i.call(e)}}var a=zl(t,r,e,0,null,!1,0,"",Ql);return e._reactRootContainer=a,e[yo]=a.current,Br(8===e.nodeType?e.parentNode:e),ll(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=ql(u);s.call(e)}}var u=Fl(e,0,!1,null,0,!1,0,"",Ql);return e._reactRootContainer=u,e[yo]=u.current,Br(8===e.nodeType?e.parentNode:e),ll(function(){Bl(t,u,n,r)}),u}(n,t,e,o,r);return ql(a)}Xl.prototype.render=Vl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bl(e,t,null,null)},Xl.prototype.unmount=Vl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ll(function(){Bl(null,e,null,null)}),t[yo]=null}},Xl.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Mt(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),nl(t,Qe()),!(6&Iu)&&(zu=Qe()+500,qo()))}break;case 13:ll(function(){var t=Li(e,1);if(null!==t){var n=Zu();tl(t,e,1,n)}}),Gl(e,1)}},Et=function(e){if(13===e.tag){var t=Li(e,134217728);if(null!==t)tl(t,e,134217728,Zu());Gl(e,134217728)}},_t=function(e){if(13===e.tag){var t=el(e),n=Li(e,t);if(null!==n)tl(n,e,t,Zu());Gl(e,t)}},kt=function(){return bt},xt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ee=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Eo(r);if(!o)throw Error(i(90));V(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=ul,Ae=ll;var Zl={usingClientEntryPoint:!1,Events:[wo,So,Eo,Oe,Ie,ul]},ec={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tc={bundleType:ec.bundleType,version:ec.version,rendererPackageName:ec.rendererPackageName,rendererConfig:ec.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:ec.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{ot=nc.inject(tc),it=nc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kl(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Kl(e))throw Error(i(299));var n=!1,r="",o=Wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fl(e,1,!1,null,0,n,0,r,o),e[yo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Vl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return ll(e)},t.hydrate=function(e,t,n){if(!Yl(t))throw Error(i(200));return Jl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Kl(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Wl;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zl(t,null,e,1,null!=n?n:null,o,0,a,s),e[yo]=t.current,Br(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xl(t)},t.render=function(e,t,n){if(!Yl(t))throw Error(i(200));return Jl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Yl(e))throw Error(i(40));return!!e._reactRootContainer&&(ll(function(){Jl(null,null,e,!1,function(){e._reactRootContainer=null,e[yo]=null})}),!0)},t.unstable_batchedUpdates=ul,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yl(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},79124(e,t,n){"use strict";var r=n(44059);t.H=r.createRoot,r.hydrateRoot},27347(e,t,n){"use strict";var r=n(58135),o=n(41623),i=Object;e.exports=r(function(){if(null==this||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)},24589(e,t,n){"use strict";var r=n(81265),o=n(60001),i=n(27347),a=n(38282),s=n(63848),u=o(a());r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},38282(e,t,n){"use strict";var r=n(27347),o=n(81265).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),e.get.call(n),"dy"===t)return e.get}}return r}},63848(e,t,n){"use strict";var r=n(81265).supportsDescriptors,o=n(38282),i=n(67768),a=Object.defineProperty,s=n(66307),u=n(28495),l=/a/;e.exports=function(){if(!r||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=u(l),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},80763(e,t){(t=e.exports=function(e){return String(e).replace(t.expr,"")}).expr=/\/+$/},29013(e,t,n){"use strict";var r=n(6046),o=n(86335),i=r("RegExp.prototype.exec"),a=n(41623);e.exports=function(e){if(!o(e))throw new a("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},30089(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>i(u,n))l<o&&0>i(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<o&&0>i(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var l=[],c=[],f=1,p=null,d=3,h=!1,y=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function S(e){if(g=!1,w(e),!y)if(null!==r(l))y=!0,P(E);else{var t=r(c);null!==t&&j(S,t.startTime-e)}}function E(e,n){y=!1,g&&(g=!1,v(O),O=-1),h=!0;var i=d;try{for(w(n),p=r(l);null!==p&&(!(p.expirationTime>n)||e&&!A());){var a=p.callback;if("function"==typeof a){p.callback=null,d=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(l)&&o(l),w(n)}else o(l);p=r(l)}if(null!==p)var u=!0;else{var f=r(c);null!==f&&j(S,f.startTime-n),u=!1}return u}finally{p=null,d=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,x=null,O=-1,I=5,T=-1;function A(){return!(t.unstable_now()-T<I)}function C(){if(null!==x){var e=t.unstable_now();T=e;var n=!0;try{n=x(!0,e)}finally{n?_():(k=!1,x=null)}}else k=!1}if("function"==typeof b)_=function(){b(C)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,N=R.port2;R.port1.onmessage=C,_=function(){N.postMessage(null)}}else _=function(){m(C,0)};function P(e){x=e,k||(k=!0,_())}function j(e,n){O=m(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){y||h||(y=!0,P(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(l)&&e===r(c)&&(g?(v(O),O=-1):g=!0,j(S,i-a))):(e.sortIndex=s,n(l,e),y||h||(y=!0,P(E))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},37748(e,t,n){"use strict";e.exports=n(30089)},79974(e,t,n){"use strict";const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const i=n(89881),{safeRe:a,t:s}=n(57124),u=n(56985),l=n(510),c=n(13762),f=n(78825)},78825(e,t,n){"use strict";const r=/\s+/g;class o{constructor(e,t){if(t=a(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!b(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&w(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(v,"");const t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,n=i.get(t);if(n)return n;const r=this.options.loose,o=r?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];e=e.replace(o,N(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[p.COMPARATORTRIM],d),u("comparator trim",e),e=e.replace(c[p.TILDETRIM],h),u("tilde trim",e),e=e.replace(c[p.CARETTRIM],y),u("caret trim",e);let a=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>R(e,this.options));r&&(a=a.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE])))),u("range list",a);const l=new Map,f=a.map(e=>new s(e,this.options));for(const e of f){if(b(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const w=[...l.values()];return i.set(t,w),w}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(n=>S(n,t)&&e.set.some(e=>S(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=o;const i=new(n(79880)),a=n(89881),s=n(79974),u=n(510),l=n(13762),{safeRe:c,src:f,t:p,comparatorTrimReplace:d,tildeTrimReplace:h,caretTrimReplace:y}=n(57124),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=n(85032),v=new RegExp(f[p.BUILD],"g"),b=e=>"<0.0.0-0"===e.value,w=e=>""===e.value,S=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every(e=>o.intersects(e,t)),o=r.pop();return n},E=(e,t)=>(e=e.replace(c[p.BUILD],""),u("comp",e,t),e=O(e,t),u("caret",e),e=k(e,t),u("tildes",e),e=T(e,t),u("xrange",e),e=C(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{const n=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(n,(t,n,r,o,i)=>{let a;return u("tilde",e,t,n,r,o,i),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(u("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",a),a})},O=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{u("caret",e,t);const n=t.loose?c[p.CARETLOOSE]:c[p.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,o,i,a)=>{let s;return u("caret",e,t,n,o,i,a),_(n)?s="":_(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(i)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(u("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),u("caret return",s),s})},T=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(n,(n,r,o,i,a,s)=>{u("xRange",e,n,r,o,i,a,s);const l=_(o),c=l||_(i),f=c||_(a),p=f;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(c&&(i=0),a=0,">"===r?(r=">=",c?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",c?o=+o+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+o}.${i}.${a}${s}`):c?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${s} <${o}.${+i+1}.0-0`),u("xRange return",n),n})},C=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),R=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),N=e=>(t,n,r,o,i,a,s,u,l,c,f,p)=>`${n=_(r)?"":_(o)?`>=${r}.0.0${e?"-0":""}`:_(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=_(l)?"":_(c)?`<${+l+1}.0.0-0`:_(f)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${f}-${p}`:e?`<${l}.${c}.${+f+1}-0`:`<=${u}`}`.trim(),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},13762(e,t,n){"use strict";const r=n(510),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(85032),{safeRe:a,t:s}=n(57124),u=n(89881),{compareIdentifiers:l}=n(31737);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("build compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[s.PRERELEASELOOSE]:a[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},43820(e,t,n){"use strict";const r=n(19942);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},56985(e,t,n){"use strict";const r=n(58635),o=n(8137),i=n(36458),a=n(48291),s=n(36381),u=n(67678);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return i(e,n,l);case">=":return a(e,n,l);case"<":return s(e,n,l);case"<=":return u(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},48724(e,t,n){"use strict";const r=n(13762),o=n(19942),{safeRe:i,t:a}=n(57124);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);if(null===n)return null;const s=n[2],u=n[3]||"0",l=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",f=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${s}.${u}.${l}${c}${f}`,t)}},89891(e,t,n){"use strict";const r=n(13762);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},9873(e,t,n){"use strict";const r=n(36754);e.exports=(e,t)=>r(e,t,!0)},36754(e,t,n){"use strict";const r=n(13762);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},85338(e,t,n){"use strict";const r=n(19942);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),i=n.compare(o);if(0===i)return null;const a=i>0,s=a?n:o,u=a?o:n,l=!!s.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(s))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return n.major!==o.major?c+"major":n.minor!==o.minor?c+"minor":n.patch!==o.patch?c+"patch":"prerelease"}},58635(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>0===r(e,t,n)},36458(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>r(e,t,n)>0},48291(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>r(e,t,n)>=0},86333(e,t,n){"use strict";const r=n(13762);e.exports=(e,t,n,o,i)=>{"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,i).version}catch(e){return null}}},36381(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>r(e,t,n)<0},67678(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>r(e,t,n)<=0},81164(e,t,n){"use strict";const r=n(13762);e.exports=(e,t)=>new r(e,t).major},54976(e,t,n){"use strict";const r=n(13762);e.exports=(e,t)=>new r(e,t).minor},8137(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>0!==r(e,t,n)},19942(e,t,n){"use strict";const r=n(13762);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},60455(e,t,n){"use strict";const r=n(13762);e.exports=(e,t)=>new r(e,t).patch},92543(e,t,n){"use strict";const r=n(19942);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},40612(e,t,n){"use strict";const r=n(36754);e.exports=(e,t,n)=>r(t,e,n)},10075(e,t,n){"use strict";const r=n(89891);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},11804(e,t,n){"use strict";const r=n(78825);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},45765(e,t,n){"use strict";const r=n(89891);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},87415(e,t,n){"use strict";const r=n(19942),o=n(85032),i=n(13762),a=(e,t)=>{const n=e instanceof i?e.version:e;return r(n,t)},s=(e,t)=>{if(u(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0}return e.format()},u=e=>e.startsWith("pre");e.exports=(e,t,n)=>{if(!o.RELEASE_TYPES.includes(t))return null;const r=a(e,n);return r&&s(r,t)}},90955(e,t,n){"use strict";const r=n(19942);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},69443(e,t,n){"use strict";const r=n(57124),o=n(85032),i=n(13762),a=n(31737),s=n(19942),u=n(90955),l=n(43820),c=n(86333),f=n(85338),p=n(81164),d=n(54976),h=n(60455),y=n(92543),g=n(36754),m=n(40612),v=n(9873),b=n(89891),w=n(45765),S=n(10075),E=n(36458),_=n(36381),k=n(58635),x=n(8137),O=n(48291),I=n(67678),T=n(56985),A=n(48724),C=n(87415),R=n(79974),N=n(78825),P=n(11804),j=n(61921),L=n(70958),D=n(40108),M=n(89359),U=n(39488),F=n(72317),$=n(78909),z=n(75972),B=n(24910),q=n(16819),H=n(76114);e.exports={parse:s,valid:u,clean:l,inc:c,diff:f,major:p,minor:d,patch:h,prerelease:y,compare:g,rcompare:m,compareLoose:v,compareBuild:b,sort:w,rsort:S,gt:E,lt:_,eq:k,neq:x,gte:O,lte:I,cmp:T,coerce:A,truncate:C,Comparator:R,Range:N,satisfies:P,toComparators:j,maxSatisfying:L,minSatisfying:D,minVersion:M,validRange:U,outside:F,gtr:$,ltr:z,intersects:B,simplifyRange:q,subset:H,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},85032(e){"use strict";const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},510(e){"use strict";const t={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG&&/\bsemver\b/i.test({NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},31737(e){"use strict";const t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:e<n?-1:1;const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},79880(e){"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},89881(e){"use strict";const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},57124(e,t,n){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(85032),a=n(510),s=(t=e.exports={}).re=[],u=t.safeRe=[],l=t.src=[],c=t.safeSrc=[],f=t.t={};let p=0;const d="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[d,o]],y=(e,t,n)=>{const r=(e=>{for(const[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=p++;a(e,o,t),f[e]=o,l[o]=t,c[o]=r,s[o]=new RegExp(t,n?"g":void 0),u[o]=new RegExp(r,n?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),y("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${d}+`),y("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),y("FULL",`^${l[f.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),y("LOOSE",`^${l[f.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),y("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${l[f.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",l[f.COERCEPLAIN]+`(?:${l[f.PRERELEASE]})?`+`(?:${l[f.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",l[f.COERCE],!0),y("COERCERTLFULL",l[f.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",y("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",y("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},78909(e,t,n){"use strict";const r=n(72317);e.exports=(e,t,n)=>r(e,t,">",n)},24910(e,t,n){"use strict";const r=n(78825);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},75972(e,t,n){"use strict";const r=n(72317);e.exports=(e,t,n)=>r(e,t,"<",n)},70958(e,t,n){"use strict";const r=n(13762),o=n(78825);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))}),i}},40108(e,t,n){"use strict";const r=n(13762),o=n(78825);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))}),i}},89359(e,t,n){"use strict";const r=n(13762),o=n(78825),i=n(36458);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach(e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},72317(e,t,n){"use strict";const r=n(13762),o=n(79974),{ANY:i}=o,a=n(78825),s=n(11804),u=n(36458),l=n(36381),c=n(67678),f=n(48291);e.exports=(e,t,n,p)=>{let d,h,y,g,m;switch(e=new r(e,p),t=new a(t,p),n){case">":d=u,h=c,y=l,g=">",m=">=";break;case"<":d=l,h=f,y=u,g="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,s=null;if(r.forEach(e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,p)?a=e:y(e.semver,s.semver,p)&&(s=e)}),a.operator===g||a.operator===m)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===m&&y(e,s.semver))return!1}return!0}},16819(e,t,n){"use strict";const r=n(11804),o=n(36754);e.exports=(e,t,n)=>{const i=[];let a=null,s=null;const u=e.sort((e,t)=>o(e,t,n));for(const e of u){r(e,t,n)?(s=e,a||(a=e)):(s&&i.push([a,s]),s=null,a=null)}a&&i.push([a,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return c.length<f.length?c:t}},76114(e,t,n){"use strict";const r=n(78825),o=n(79974),{ANY:i}=o,a=n(11804),s=n(36754),u=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?u:l}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,c,d,h,y,g,m;for(const t of e)">"===t.operator||">="===t.operator?o=f(o,t,n):"<"===t.operator||"<="===t.operator?c=p(c,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&c){if(d=s(o.semver,c.semver,n),d>0)return null;if(0===d&&(">="!==o.operator||"<="!==c.operator))return null}for(const e of r){if(o&&!a(e,String(o),n))return null;if(c&&!a(e,String(c),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,b=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;v&&1===v.prerelease.length&&"<"===c.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,o)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=f(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!e.test(o.semver))return!1;if(c)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(y=p(c,e,n),y===e&&y!==c)return!1}else if("<="===c.operator&&!e.test(c.semver))return!1;if(!e.operator&&(c||o)&&0!==d)return!1}return!(o&&g&&!c&&0!==d)&&(!(c&&m&&!o&&0!==d)&&(!b&&!v))},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},61921(e,t,n){"use strict";const r=n(78825);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},39488(e,t,n){"use strict";const r=n(78825);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},11256(e,t,n){"use strict";var r=n(39619),o=n(7001),i=n(73560)(),a=n(67768),s=n(41623),u=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},58135(e,t,n){"use strict";var r=n(7001),o=n(73560)(),i=n(19769).functionsHaveConfigurableNames(),a=n(41623);e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!i||(o?r(e,"name",t,!0,!0):r(e,"name",t)),e}},12633(e,t,n){"use strict";var r=n(15646),o=n(41623),i=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var n=function(e,t){if(e)return i(e,t,!0)}(e,t);return n&&e&&!e.next&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var n=i(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!i(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},12161(e,t,n){"use strict";var r=n(39619),o=n(6046),i=n(15646),a=n(41623),s=r("%Map%",!0),u=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var n=f(e,t);return 0===p(e)&&(e=void 0),n}return!1},get:function(t){if(e)return u(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,n){e||(e=new s),l(e,t,n)}};return t}},58056(e,t,n){"use strict";var r=n(39619),o=n(6046),i=n(15646),a=n(12161),s=n(41623),u=r("%WeakMap%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);e.exports=u?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+i(e))},delete:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?l(e,n):t&&t.get(n)},has:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?f(e,n):!!t&&t.has(n)},set:function(n,r){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,r)):a&&(t||(t=a()),t.set(n,r))}};return n}:a},88409(e,t,n){"use strict";var r=n(41623),o=n(15646),i=n(12633),a=n(12161),s=n(58056)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},71463(e,t,n){"use strict";var r=n(99221),o=n(70064),i="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!i)throw new o("this environment lacks StopIteration");r.set(e,"[[Done]]",!1);var t={next:function(){var e=r.get(this,"[[Iterator]]"),t=!!r.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(r.set(e,"[[Done]]",!0),t!==i)throw t;return{done:!0,value:void 0}}}};return r.set(t,"[[Iterator]]",e),t}},8505(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9930(e,t,n){"use strict";var r=n(71541),o=n(33491),i=n(56681),a=n(34587);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var y=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function m(e){return"[object Map]"===c(e)}function v(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function S(e){return"[object ArrayBuffer]"===c(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(S.working?S(e):e instanceof ArrayBuffer)}function _(e){return"[object DataView]"===c(e)}function k(e){return"undefined"!=typeof DataView&&(_.working?_(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},m.working="undefined"!=typeof Map&&m(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(m.working?m(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},S.working="undefined"!=typeof ArrayBuffer&&S(new ArrayBuffer),t.isArrayBuffer=E,_.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&_(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function I(e){return void 0!==x&&(void 0===O.working&&(O.working=O(new x)),O.working?O(e):e instanceof x)}function T(e){return g(e,f)}function A(e){return g(e,p)}function C(e){return g(e,d)}function R(e){return u&&g(e,h)}function N(e){return l&&g(e,y)}t.isSharedArrayBuffer=I,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=T,t.isStringObject=A,t.isBooleanObject=C,t.isBigIntObject=R,t.isSymbolObject=N,t.isBoxedPrimitive=function(e){return T(e)||A(e)||C(e)||R(e)||N(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||I(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})},41835(e,t,n){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])g(s)||!S(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,t){if(!0==={}.noDeprecation)return e;var n=!1;return function(){if(!n){if({}.throwDeprecation)throw new Error(t);!{}.traceDeprecation?console.error(t):console.trace(t),n=!0}return e.apply(this,arguments)}};var i={},a=/^$/;if({NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG){var s={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),f(r,e,r.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return v(o)||(o=f(e,o,r)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(m(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),_(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(n);if(0===a.length){if(k(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return e.stylize(Date.prototype.toString.call(n),"date");if(_(n))return p(n)}var l,c="",S=!1,x=["{","}"];(h(n)&&(S=!0,x=["[","]"]),k(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(c=" "+RegExp.prototype.toString.call(n)),E(n)&&(c=" "+Date.prototype.toUTCString.call(n)),_(n)&&(c=" "+p(n)),0!==a.length||S&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)T(t,String(a))?i.push(d(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(d(e,t,n,r,o,!0))}),i}(e,n,r,s,a):a.map(function(t){return d(e,n,r,s,t,S)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,x)):x[0]+c+x[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),T(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=g(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return void 0===e}function w(e){return S(e)&&"[object RegExp]"===x(e)}function S(e){return"object"==typeof e&&null!==e}function E(e){return S(e)&&"[object Date]"===x(e)}function _(e){return S(e)&&("[object Error]"===x(e)||e instanceof Error)}function k(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var n={}.pid;i[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else i[e]=function(){};return i[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(9930),t.isArray=h,t.isBoolean=y,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=w,t.types.isRegExp=w,t.isObject=S,t.isDate=E,t.types.isDate=E,t.isError=_,t.types.isNativeError=_,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(8505);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":"),[e.getDate(),I[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(18628),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(e,r){e?n(e):t(r)});try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),A&&Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=A,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return r.apply(o,arguments)};e.apply(this,t).then(function(e){({}).nextTick(i.bind(null,null,e))},function(e){({}).nextTick(C.bind(null,e,i))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},7104(e,t,n){"use strict";var r=n(696),o=n(92006),i=n(16154),a=n(4698),s=n(19233);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:r(e)?"String":o(e)?"Number":i(e)?"Boolean":a(e)?"Symbol":s(e)?"BigInt":void 0}},93232(e,t,n){"use strict";var r=n(32258),o=n(51306),i=n(92001),a=n(18483);e.exports=function(e){if(e&&"object"==typeof e){if(r(e))return"Map";if(o(e))return"Set";if(i(e))return"WeakMap";if(a(e))return"WeakSet"}return!1}},56681(e,t,n){"use strict";var r=n(19135),o=n(79618),i=n(42896),a=n(6046),s=n(67768),u=n(28495),l=a("Object.prototype.toString"),c=n(81070)(),f=globalThis,p=o(),d=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};r(p,c&&s&&u?function(e){var t=new f[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=s(n,Symbol.toStringTag);if(!r&&n){var o=u(n);r=s(o,Symbol.toStringTag)}y["$"+e]=i(r.get)}}:function(e){var t=new f[e],n=t.slice||t.set;n&&(y["$"+e]=i(n))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(l(e),8,-1);return h(p,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(y,function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return r(y,function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}}),t}(e):null}},55632(e,t,n){"use strict";var r=n(19135),o=n(79618),i=n(60001),a=n(6046),s=n(67768),u=n(28495),l=a("Object.prototype.toString"),c=n(81070)(),f=globalThis,p=o(),d=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};r(p,c&&s&&u?function(e){var t=new f[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=s(n,Symbol.toStringTag);if(!r&&n){var o=u(n);r=s(o,Symbol.toStringTag)}if(r&&r.get){var a=i(r.get);y["$"+e]=a}}}:function(e){var t=new f[e],n=t.slice||t.set;if(n){var r=i(n);y["$"+e]=r}});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(l(e),8,-1);return h(p,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(y,function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return r(y,function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}}),t}(e):null}},79618(e,t,n){"use strict";var r=n(47205),o=globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof o[r[t]]&&(e[e.length]=r[t]);return e}},3698(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},18748(e,t,n){"use strict";var r=n(26800),o=n(71463);if(n(12877)()||n(40847)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=n(25344),s=n(696),u=n(39619),l=u("%Map%",!0),c=u("%Set%",!0),f=n(41233),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),h=f("String.prototype.slice"),y=function(e){var t=0;return{next:function(){var n,r=t>=e.length;return r||(n=e[t],t+=1),{done:r,value:n}}}},g=function(e,t){if(a(e)||r(e))return y(e);if(s(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=d(e,t);if(n<55296||n>56319)return t+1;var r=d(e,t+1);return r<56320||r>57343?t+1:t+2}(e,n),r=h(e,n,t);return n=t,{done:t>e.length,value:r}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(l||c){var m=n(32258),v=n(51306),b=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0);if(!{}.versions||!{}.versions.node)var S=f("Map.prototype.iterator",!0),E=f("Set.prototype.iterator",!0);var _=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),k=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(m(e)){if(S)return o(S(e));if(_)return _(e);if(b){var t=[];return b(e,function(e,n){p(t,[n,e])}),y(t)}}if(v(e)){if(E)return o(E(e));if(k)return k(e);if(w){var n=[];return w(e,function(e){p(n,e)}),y(n)}}}(e)||g(e)}}else e.exports=function(e){if(null!=e)return g(e,!0)}}},71709(e,t,n){"use strict";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}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:()=>ge});const i=Object.entries,a=Object.setPrototypeOf,s=Object.isFrozen,u=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor;let c=Object.freeze,f=Object.seal,p=Object.create,d="undefined"!=typeof Reflect&&Reflect,h=d.apply,y=d.construct;c||(c=function(e){return e}),f||(f=function(e){return e}),h||(h=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),y||(y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const g=M(Array.prototype.forEach),m=M(Array.prototype.lastIndexOf),v=M(Array.prototype.pop),b=M(Array.prototype.push),w=M(Array.prototype.splice),S=Array.isArray,E=M(String.prototype.toLowerCase),_=M(String.prototype.toString),k=M(String.prototype.match),x=M(String.prototype.replace),O=M(String.prototype.indexOf),I=M(String.prototype.trim),T=M(Number.prototype.toString),A=M(Boolean.prototype.toString),C="undefined"==typeof BigInt?null:M(BigInt.prototype.toString),R="undefined"==typeof Symbol?null:M(Symbol.prototype.toString),N=M(Object.prototype.hasOwnProperty),P=M(Object.prototype.toString),j=M(RegExp.prototype.test),L=(D=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(D,t)});var D;function M(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h(e,t,r)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(a&&a(e,null),!S(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(s(t)||(t[r]=e),o=e)}e[o]=!0}return e}function F(e){for(let t=0;t<e.length;t++){N(e,t)||(e[t]=null)}return e}function $(e){const t=p(null);for(const r of i(e)){var n=o(r,2);const i=n[0],a=n[1];N(e,i)&&(S(a)?t[i]=F(a):a&&"object"==typeof a&&a.constructor===Object?t[i]=$(a):t[i]=a)}return t}function z(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return M(n.get);if("function"==typeof n.value)return M(n.value)}e=u(e)}return function(){return null}}const B=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),q=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),H=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),X=c(["#text"]),K=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Y=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Q=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),J=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z=f(/{{[\w\W]*|^[\w\W]*}}/g),ee=f(/<%[\w\W]*|^[\w\W]*%>/g),te=f(/\${[\w\W]*/g),ne=f(/^data-[\-\w.\u00B7-\uFFFF]+$/),re=f(/^aria-[\-\w]+$/),oe=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ie=f(/^(?:\w+script|data):/i),ae=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),se=f(/^html$/i),ue=f(/^[a-z][.\w]*(-[.\w]+)+$/i),le=1,ce=3,fe=7,pe=8,de=9,he=11,ye=function(){return window};var ge=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye();const n=t=>e(t);if(n.version="3.4.7",n.removed=[],!t||!t.document||t.document.nodeType!==de||!t.Element)return n.isSupported=!1,n;let r=t.document;const o=r,a=o.currentScript;t.DocumentFragment;const s=t.HTMLTemplateElement,u=t.Node,l=t.Element,f=t.NodeFilter,d=t.NamedNodeMap;void 0===d&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const h=t.DOMParser,y=t.trustedTypes,D=l.prototype,M=z(D,"cloneNode"),F=z(D,"remove"),ge=z(D,"nextSibling"),me=z(D,"childNodes"),ve=z(D,"parentNode"),be=z(D,"shadowRoot"),we=z(D,"attributes"),Se=u&&u.prototype?z(u.prototype,"nodeType"):null,Ee=u&&u.prototype?z(u.prototype,"nodeName"):null;if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _e,ke="";const xe=r,Oe=xe.implementation,Ie=xe.createNodeIterator,Te=xe.createDocumentFragment,Ae=xe.getElementsByTagName,Ce=o.importNode;let Re={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof i&&"function"==typeof ve&&Oe&&void 0!==Oe.createHTMLDocument;const Ne=Z,Pe=ee,je=te,Le=ne,De=re,Me=ie,Ue=ae,Fe=ue;let $e=oe,ze=null;const Be=U({},[...B,...q,...H,...W,...X]);let qe=null;const He=U({},[...K,...Y,...Q,...J]);let Ge=Object.seal(p(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),We=null,Ve=null;const Xe=Object.seal(p(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ke=!0,Ye=!0,Qe=!1,Je=!0,Ze=!1,et=!0,tt=!1,nt=!1,rt=!1,ot=!1,it=!1,at=!1,st=!0,ut=!1;const lt="user-content-";let ct=!0,ft=!1,pt={},dt=null;const ht=U({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let yt=null;const gt=U({},["audio","video","img","source","image","track"]);let mt=null;const vt=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bt="http://www.w3.org/1998/Math/MathML",wt="http://www.w3.org/2000/svg",St="http://www.w3.org/1999/xhtml";let Et=St,_t=!1,kt=null;const xt=U({},[bt,wt,St],_);let Ot=U({},["mi","mo","mn","ms","mtext"]),It=U({},["annotation-xml"]);const Tt=U({},["title","style","font","a","script"]);let At=null;const Ct=["application/xhtml+xml","text/html"];let Rt=null,Nt=null;const Pt=r.createElement("form"),jt=function(e){return e instanceof RegExp||e instanceof Function},Lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Nt&&Nt===e)return;e&&"object"==typeof e||(e={}),e=$(e),At=-1===Ct.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Rt="application/xhtml+xml"===At?_:E,ze=N(e,"ALLOWED_TAGS")&&S(e.ALLOWED_TAGS)?U({},e.ALLOWED_TAGS,Rt):Be,qe=N(e,"ALLOWED_ATTR")&&S(e.ALLOWED_ATTR)?U({},e.ALLOWED_ATTR,Rt):He,kt=N(e,"ALLOWED_NAMESPACES")&&S(e.ALLOWED_NAMESPACES)?U({},e.ALLOWED_NAMESPACES,_):xt,mt=N(e,"ADD_URI_SAFE_ATTR")&&S(e.ADD_URI_SAFE_ATTR)?U($(vt),e.ADD_URI_SAFE_ATTR,Rt):vt,yt=N(e,"ADD_DATA_URI_TAGS")&&S(e.ADD_DATA_URI_TAGS)?U($(gt),e.ADD_DATA_URI_TAGS,Rt):gt,dt=N(e,"FORBID_CONTENTS")&&S(e.FORBID_CONTENTS)?U({},e.FORBID_CONTENTS,Rt):ht,We=N(e,"FORBID_TAGS")&&S(e.FORBID_TAGS)?U({},e.FORBID_TAGS,Rt):$({}),Ve=N(e,"FORBID_ATTR")&&S(e.FORBID_ATTR)?U({},e.FORBID_ATTR,Rt):$({}),pt=!!N(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?$(e.USE_PROFILES):e.USE_PROFILES),Ke=!1!==e.ALLOW_ARIA_ATTR,Ye=!1!==e.ALLOW_DATA_ATTR,Qe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Je=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ze=e.SAFE_FOR_TEMPLATES||!1,et=!1!==e.SAFE_FOR_XML,tt=e.WHOLE_DOCUMENT||!1,ot=e.RETURN_DOM||!1,it=e.RETURN_DOM_FRAGMENT||!1,at=e.RETURN_TRUSTED_TYPE||!1,rt=e.FORCE_BODY||!1,st=!1!==e.SANITIZE_DOM,ut=e.SANITIZE_NAMED_PROPS||!1,ct=!1!==e.KEEP_CONTENT,ft=e.IN_PLACE||!1,$e=function(e){try{return j(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:oe,Et="string"==typeof e.NAMESPACE?e.NAMESPACE:St,Ot=N(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?$(e.MATHML_TEXT_INTEGRATION_POINTS):U({},["mi","mo","mn","ms","mtext"]),It=N(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?$(e.HTML_INTEGRATION_POINTS):U({},["annotation-xml"]);const t=N(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?$(e.CUSTOM_ELEMENT_HANDLING):p(null);if(Ge=p(null),N(t,"tagNameCheck")&&jt(t.tagNameCheck)&&(Ge.tagNameCheck=t.tagNameCheck),N(t,"attributeNameCheck")&&jt(t.attributeNameCheck)&&(Ge.attributeNameCheck=t.attributeNameCheck),N(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Ge.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ze&&(Ye=!1),it&&(ot=!0),pt&&(ze=U({},X),qe=p(null),!0===pt.html&&(U(ze,B),U(qe,K)),!0===pt.svg&&(U(ze,q),U(qe,Y),U(qe,J)),!0===pt.svgFilters&&(U(ze,H),U(qe,Y),U(qe,J)),!0===pt.mathMl&&(U(ze,W),U(qe,Q),U(qe,J))),Xe.tagCheck=null,Xe.attributeCheck=null,N(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Xe.tagCheck=e.ADD_TAGS:S(e.ADD_TAGS)&&(ze===Be&&(ze=$(ze)),U(ze,e.ADD_TAGS,Rt))),N(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Xe.attributeCheck=e.ADD_ATTR:S(e.ADD_ATTR)&&(qe===He&&(qe=$(qe)),U(qe,e.ADD_ATTR,Rt))),N(e,"ADD_URI_SAFE_ATTR")&&S(e.ADD_URI_SAFE_ATTR)&&U(mt,e.ADD_URI_SAFE_ATTR,Rt),N(e,"FORBID_CONTENTS")&&S(e.FORBID_CONTENTS)&&(dt===ht&&(dt=$(dt)),U(dt,e.FORBID_CONTENTS,Rt)),N(e,"ADD_FORBID_CONTENTS")&&S(e.ADD_FORBID_CONTENTS)&&(dt===ht&&(dt=$(dt)),U(dt,e.ADD_FORBID_CONTENTS,Rt)),ct&&(ze["#text"]=!0),tt&&U(ze,["html","head","body"]),ze.table&&(U(ze,["tbody"]),delete We.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_e=e.TRUSTED_TYPES_POLICY,ke=_e.createHTML("")}else void 0===_e&&(_e=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(y,a)),null!==_e&&"string"==typeof ke&&(ke=_e.createHTML(""));(Re.uponSanitizeElement.length>0||Re.uponSanitizeAttribute.length>0)&&ze===Be&&(ze=$(ze)),Re.uponSanitizeAttribute.length>0&&qe===He&&(qe=$(qe)),c&&c(e),Nt=e},Dt=U({},[...q,...H,...G]),Mt=U({},[...W,...V]),Ut=function(e){b(n.removed,{element:e});try{ve(e).removeChild(e)}catch(t){F(e)}},Ft=function(e,t){try{b(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ot||it)try{Ut(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},$t=function(e){let t=null,n=null;if(rt)e="<remove></remove>"+e;else{const t=k(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===At&&Et===St&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=_e?_e.createHTML(e):e;if(Et===St)try{t=(new h).parseFromString(o,At)}catch(e){}if(!t||!t.documentElement){t=Oe.createDocument(Et,"template",null);try{t.documentElement.innerHTML=_t?ke:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Et===St?Ae.call(t,tt?"html":"body")[0]:tt?t.documentElement:i},zt=function(e){return Ie.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},Bt=function(e){e.normalize();const t=Ie.call(e.ownerDocument||e,e,f.SHOW_TEXT|f.SHOW_COMMENT|f.SHOW_CDATA_SECTION|f.SHOW_PROCESSING_INSTRUCTION,null);let n=t.nextNode();for(;n;){let e=n.data;g([Ne,Pe,je],t=>{e=x(e,t," ")}),n.data=e,n=t.nextNode()}},qt=function(e){const t=Ee?Ee(e):null;return"string"==typeof t&&("form"===Rt(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==we(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==Se(e)||e.childNodes!==me(e)))},Ht=function(e){if(!Se||"object"!=typeof e||null===e)return!1;try{return Se(e)===he}catch(e){return!1}},Gt=function(e){if(!Se||"object"!=typeof e||null===e)return!1;try{return"number"==typeof Se(e)}catch(e){return!1}};function Wt(e,t,r){g(e,e=>{e.call(n,t,r,Nt)})}const Vt=function(e){let t=null;if(Wt(Re.beforeSanitizeElements,e,null),qt(e))return Ut(e),!0;const r=Rt(e.nodeName);if(Wt(Re.uponSanitizeElement,e,{tagName:r,allowedTags:ze}),et&&e.hasChildNodes()&&!Gt(e.firstElementChild)&&j(/<[/\w!]/g,e.innerHTML)&&j(/<[/\w!]/g,e.textContent))return Ut(e),!0;if(et&&e.namespaceURI===St&&"style"===r&&Gt(e.firstElementChild))return Ut(e),!0;if(e.nodeType===fe)return Ut(e),!0;if(et&&e.nodeType===pe&&j(/<[/\w]/g,e.data))return Ut(e),!0;if(We[r]||!(Xe.tagCheck instanceof Function&&Xe.tagCheck(r))&&!ze[r]){if(!We[r]&&Yt(r)){if(Ge.tagNameCheck instanceof RegExp&&j(Ge.tagNameCheck,r))return!1;if(Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(r))return!1}if(ct&&!dt[r]){const t=ve(e),n=me(e);if(n&&t){for(let r=n.length-1;r>=0;--r){const o=M(n[r],!0);t.insertBefore(o,ge(e))}}}return Ut(e),!0}return((Se?Se(e):e.nodeType)!==le||function(e){let t=ve(e);t&&t.tagName||(t={namespaceURI:Et,tagName:"template"});const n=E(e.tagName),r=E(t.tagName);return!!kt[e.namespaceURI]&&(e.namespaceURI===wt?t.namespaceURI===St?"svg"===n:t.namespaceURI===bt?"svg"===n&&("annotation-xml"===r||Ot[r]):Boolean(Dt[n]):e.namespaceURI===bt?t.namespaceURI===St?"math"===n:t.namespaceURI===wt?"math"===n&&It[r]:Boolean(Mt[n]):e.namespaceURI===St?!(t.namespaceURI===wt&&!It[r])&&!(t.namespaceURI===bt&&!Ot[r])&&!Mt[n]&&(Tt[n]||!Dt[n]):!("application/xhtml+xml"!==At||!kt[e.namespaceURI]))}(e))&&("noscript"!==r&&"noembed"!==r&&"noframes"!==r||!j(/<\/no(script|embed|frames)/i,e.innerHTML))?(Ze&&e.nodeType===ce&&(t=e.textContent,g([Ne,Pe,je],e=>{t=x(t,e," ")}),e.textContent!==t&&(b(n.removed,{element:e.cloneNode()}),e.textContent=t)),Wt(Re.afterSanitizeElements,e,null),!1):(Ut(e),!0)},Xt=function(e,t,n){if(Ve[t])return!1;if(st&&("id"===t||"name"===t)&&(n in r||n in Pt))return!1;const o=qe[t]||Xe.attributeCheck instanceof Function&&Xe.attributeCheck(t,e);if(Ye&&!Ve[t]&&j(Le,t));else if(Ke&&j(De,t));else if(!o||Ve[t]){if(!(Yt(e)&&(Ge.tagNameCheck instanceof RegExp&&j(Ge.tagNameCheck,e)||Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(e))&&(Ge.attributeNameCheck instanceof RegExp&&j(Ge.attributeNameCheck,t)||Ge.attributeNameCheck instanceof Function&&Ge.attributeNameCheck(t,e))||"is"===t&&Ge.allowCustomizedBuiltInElements&&(Ge.tagNameCheck instanceof RegExp&&j(Ge.tagNameCheck,n)||Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(n))))return!1}else if(mt[t]);else if(j($e,x(n,Ue,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==O(n,"data:")||!yt[e]){if(Qe&&!j(Me,x(n,Ue,"")));else if(n)return!1}else;return!0},Kt=U({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Yt=function(e){return!Kt[E(e)]&&j(Fe,e)},Qt=function(e){Wt(Re.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||qt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:qe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],a=i.name,s=i.namespaceURI,u=i.value,l=Rt(a),c=u;let f="value"===a?c:I(c);if(r.attrName=l,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,Wt(Re.uponSanitizeAttribute,e,r),f=r.attrValue,!ut||"id"!==l&&"name"!==l||0===O(f,lt)||(Ft(a,e),f=lt+f),et&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){Ft(a,e);continue}if("attributename"===l&&k(f,"href")){Ft(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ft(a,e);continue}if(!Je&&j(/\/>/i,f)){Ft(a,e);continue}Ze&&g([Ne,Pe,je],e=>{f=x(f,e," ")});const p=Rt(e.nodeName);if(Xt(p,l,f)){if(_e&&"object"==typeof y&&"function"==typeof y.getAttributeType)if(s);else switch(y.getAttributeType(p,l)){case"TrustedHTML":f=_e.createHTML(f);break;case"TrustedScriptURL":f=_e.createScriptURL(f)}if(f!==c)try{s?e.setAttributeNS(s,a,f):e.setAttribute(a,f),qt(e)?Ut(e):v(n.removed)}catch(t){Ft(a,e)}}else Ft(a,e)}Wt(Re.afterSanitizeAttributes,e,null)},Jt=function(e){let t=null;const n=zt(e);for(Wt(Re.beforeSanitizeShadowDOM,e,null);t=n.nextNode();){Wt(Re.uponSanitizeShadowNode,t,null),Vt(t),Qt(t),Ht(t.content)&&Jt(t.content);if((Se?Se(t):t.nodeType)===le){const e=be?be(t):t.shadowRoot;Ht(e)&&(Zt(e),Jt(e))}}Wt(Re.afterSanitizeShadowDOM,e,null)},Zt=function(e){const t=Se?Se(e):e.nodeType;if(t===le){const t=be?be(e):e.shadowRoot;Ht(t)&&(Zt(t),Jt(t))}const n=me?me(e):e.childNodes;if(!n)return;const r=[];g(n,e=>{b(r,e)});for(const e of r)Zt(e);if(t===le){const t=Ee?Ee(e):null;if("string"==typeof t&&"template"===Rt(t)){const t=e.content;Ht(t)&&Zt(t)}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,s=null;if(_t=!e,_t&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Gt(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return T(e);case"boolean":return A(e);case"bigint":return C?C(e):"0";case"symbol":return R?R(e):"Symbol()";case"undefined":default:return P(e);case"function":case"object":{if(null===e)return P(e);const t=e,n=z(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:P(e)}return P(e)}}}(e)))throw L("dirty is not a string, aborting");if(!n.isSupported)return e;if(nt||Lt(t),n.removed=[],"string"==typeof e&&(ft=!1),ft){const t=Ee?Ee(e):e.nodeName;if("string"==typeof t){const e=Rt(t);if(!ze[e]||We[e])throw L("root node is forbidden and cannot be sanitized in-place")}if(qt(e))throw L("root node is clobbered and cannot be sanitized in-place");Zt(e)}else if(Gt(e))r=$t("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===le&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),Zt(i);else{if(!ot&&!Ze&&!tt&&-1===e.indexOf("<"))return _e&&at?_e.createHTML(e):e;if(r=$t(e),!r)return ot?null:at?ke:""}r&&rt&&Ut(r.firstChild);const u=zt(ft?e:r);for(;a=u.nextNode();)Vt(a),Qt(a),Ht(a.content)&&Jt(a.content);if(ft)return Ze&&Bt(e),e;if(ot){if(Ze&&Bt(r),it)for(s=Te.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(qe.shadowroot||qe.shadowrootmode)&&(s=Ce.call(o,s,!0)),s}let l=tt?r.outerHTML:r.innerHTML;return tt&&ze["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&j(se,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),Ze&&g([Ne,Pe,je],e=>{l=x(l,e," ")}),_e&&at?_e.createHTML(l):l},n.setConfig=function(){Lt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),nt=!0},n.clearConfig=function(){Nt=null,nt=!1},n.isValidAttribute=function(e,t,n){Nt||Lt({});const r=Rt(e),o=Rt(t);return Xt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&b(Re[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=m(Re[e],t);return-1===n?void 0:w(Re[e],n,1)[0]}return v(Re[e])},n.removeHooks=function(e){Re[e]=[]},n.removeAllHooks=function(){Re={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},64099(e,t,n){"use strict";n.d(t,{A:()=>o});const r=new Uint8Array(16);function o(){return crypto.getRandomValues(r)}},80555(e,t,n){"use strict";n.d(t,{k:()=>o});const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function o(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},6974(e,t,n){"use strict";if(n.d(t,{A:()=>i}),!/^8(69|87)$/.test(n.j))var r=n(64099);if(!/^8(69|87)$/.test(n.j))var o=n(80555);const i=/^8(69|87)$/.test(n.j)?null:function(e,t,n){return t||e||!crypto.randomUUID?function(e,t,n){e=e||{};const i=e.random??e.rng?.()??(0,r.A)();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=i[e];return t}return(0,o.k)(i)}(e,t,n):crypto.randomUUID()}},53940(e){"use strict";e.exports={rE:"4.12.1"}}}]);
2
+ (this.webpackChunk=this.webpackChunk||[]).push([[121],{21919(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",u="object",l="string",c="model",f="name",p="type",d="vendor",h="version",y="architecture",g="console",m="mobile",v="tablet",b="smarttv",w="wearable",S="embedded",E="Amazon",_="Apple",k="ASUS",x="BlackBerry",O="Browser",I="Chrome",T="Firefox",A="Google",C="Huawei",R="LG",N="Microsoft",P="Motorola",j="Opera",L="Samsung",D="Sharp",M="Sony",U="Xiaomi",F="Zebra",$="Facebook",z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===l&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},G=function(e,t){for(var n,r,o,s,l,c,f=0;f<t.length&&!l;){var p=t[f],d=t[f+1];for(n=r=0;n<p.length&&!l;)if(l=p[n++].exec(e))for(o=0;o<d.length;o++)c=l[++r],typeof(s=d[o])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):i:this[s[0]]=c?s[1].call(this,c,s[2]):i:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):i):this[s]=c||i;f+=2}},W=function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e))return"?"===n?i:n}else if(B(t[n],e))return"?"===n?i:n;return e},V={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,j+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[f,j]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+O],h],[/\bfocus\/([\w\.]+)/i],[h,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[f,j+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[f,j+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[f,"MIUI "+O]],[/fxios\/([-\w\.]+)/i],[h,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+O]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+O],h],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,$],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,I+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,h],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,q]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,L],[p,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,L],[p,m]],[/((ipod|iphone)\d+,\d+)/i],[c,[d,_],[p,m]],[/(ipad\d+,\d+)/i],[c,[d,_],[p,v]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[d,_],[p,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,_],[p,v]],[/(macintosh);/i],[c,[d,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,C],[p,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,C],[p,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[d,U],[p,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,U],[p,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[p,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[p,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[p,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[d,P],[p,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,P],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,R],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,R],[p,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[p,m]],[/(pixel c)\b/i],[c,[d,A],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,A],[p,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,M],[p,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,M],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[p,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,E],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,E],[p,m]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,x],[p,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,k],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,k],[p,m]],[/(nexus 9)/i],[c,[d,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[p,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[p,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,D],[p,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[p,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,c,[p,v]],[/(surface duo)/i],[c,[d,N],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[p,m]],[/(u304aa)/i],[c,[d,"AT&T"],[p,m]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[p,m]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[p,v]],[/\b(k88) b/i],[c,[d,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[p,m]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[p,m]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[p,v]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[p,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[p,m]],[/\b(ph-1) /i],[c,[d,"Essential"],[p,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[p,v]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[p,v]],[/(sprint) (\w+)/i],[d,c,[p,m]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,N],[p,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,F],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,F],[p,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[p,g]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[c,[d,M],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,N],[p,g]],[/smart-tv.+(samsung)/i],[d,[p,b]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,L],[p,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,R],[p,b]],[/(apple) ?tv/i],[d,[c,_+" TV"],[p,b]],[/crkey/i],[[c,I+"cast"],[d,A],[p,b]],[/droid.+aft(\w)( bui|\))/i],[c,[d,E],[p,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,D],[p,b]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,M],[p,b]],[/(mitv-\w{5}) bui/i],[c,[d,U],[p,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,H],[c,H],[p,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,b]],[/((pebble))app/i],[d,c,[p,w]],[/droid.+; (glass) \d/i],[c,[d,A],[p,w]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,F],[p,w]],[/(quest( 2)?)/i],[c,[d,$],[p,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[p,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[p,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,m]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[f,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[h,W,V]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[h,W,V]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,h],[/\(bb(10);/i],[h,[f,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[f,I+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[f,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[f,h]]},K=function(e,t){if(typeof e===u&&(t=e,e=i),!(this instanceof K))return new K(e,t).getResult();var n=e||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(X,t):X;return this.getBrowser=function(){var e,t={};return t[f]=i,t[h]=i,G.call(t,n,r.browser),t.major=typeof(e=t.version)===l?e.replace(/[^\d\.]/g,"").split(".")[0]:i,t},this.getCPU=function(){var e={};return e[y]=i,G.call(e,n,r.cpu),e},this.getDevice=function(){var e={};return e[d]=i,e[c]=i,e[p]=i,G.call(e,n,r.device),e},this.getEngine=function(){var e={};return e[f]=i,e[h]=i,G.call(e,n,r.engine),e},this.getOS=function(){var e={};return e[f]=i,e[h]=i,G.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===l&&e.length>350?H(e,350):e,this},this.setUA(n),this};K.VERSION="0.7.33",K.BROWSER=z([f,h,"major"]),K.CPU=z([y]),K.DEVICE=z([c,d,p,g,m,b,v,w,S]),K.ENGINE=K.OS=z([f,h]),typeof t!==s?(e.exports&&(t=e.exports=K),t.UAParser=K):n.amdO?(r=function(){return K}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=K);var Y=typeof o!==s&&(o.jQuery||o.Zepto);if(Y&&!Y.ua){var Q=new K;Y.ua=Q.getResult(),Y.ua.get=function(){return Q.getUA()},Y.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)Y.ua[n]=t[n]}}}(window)},76551(e,t,n){"use strict";n.d(t,{datadogLogs:()=>Io});const r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},o=console,i={};Object.keys(r).forEach(e=>{i[e]=o[e]});const a="Datadog Browser SDK:",s={debug:i.debug.bind(o,a),log:i.log.bind(o,a),info:i.info.bind(o,a),warn:i.warn.bind(o,a),error:i.error.bind(o,a)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`,c="More details:";function f(e,t){return(...n)=>{try{return e(...n)}catch(e){s.error(t,e)}}}let p,d=!1;function h(e){d=e}function y(e){return function(...t){return g(e,this,t)}}function g(e,t,n){try{return e.apply(t,n)}catch(e){m(e)}}function m(e){if(v(e),p)try{p(e)}catch(e){v(e)}}function v(...e){d&&s.error("[MONITOR]",...e)}function b(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:window),e}const w=b(),S="WorkerGlobalScope"in w;function E(e){const t=w.queueMicrotask;"function"==typeof t?t(y(e)):Promise.resolve().then(y(e))}class _{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function k(...e){return new _(t=>{const n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}class x extends _{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;const n={unsubscribe:()=>{t=!0,this.removeObserver(e)}};return E(()=>{for(const n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),n}unbuffer(){E(()=>{this.maxBufferSize=this.buffer.length=0})}}const O={GRANTED:"granted",NOT_GRANTED:"not-granted"};new Map;function I(e,t){const n=b();let r;return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function T(e,t){return I(b(),"setTimeout")(y(e),t)}function A(e){I(b(),"clearTimeout")(e)}function C(e,t){return I(b(),"setInterval")(y(e),t)}function R(e){I(b(),"clearInterval")(e)}function N(){}function P(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function j(e){return"object"===P(e)}const L="?";function D(e){var t,n;const r=[];let o=G(e,"stack");const i=String(e);if(o&&o.startsWith(i)&&(o=o.slice(i.length)),o&&o.split("\n").forEach(e=>{const t=function(e){const t=F.exec(e);if(!t)return;const n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=$.exec(t[2]);r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){const t=z.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:t[3]?+t[3]:void 0,url:t[2]}}(e)||function(e){const t=B.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||L,line:+t[3],url:t[2]}}(e)||function(e){const t=q.exec(e);if(!t)return;const n=t[3]&&t[3].indexOf(" > eval")>-1,r=H.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||L,line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func=L),r.push(t))}),r.length>0&&function(){if(void 0!==K)return K;class e extends Error{constructor(){super(),this.name="Error"}}const[t,n]=[e,Error].map(e=>new e);return K=X(Object.getPrototypeOf(t))&&n.stack!==t.stack,K}()&&e instanceof Error){const o=[];let i=e;for(;(i=Object.getPrototypeOf(i))&&X(i);){const e=(null===(t=i.constructor)||void 0===t?void 0:t.name)||L;o.push(e)}for(let e=o.length-1;e>=0&&(null===(n=r[0])||void 0===n?void 0:n.func)===o[e];e--)r.shift()}return{message:G(e,"message"),name:G(e,"name"),stack:r}}const M="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",U="(?::(\\d+))",F=new RegExp(`^\\s*at (.*?) ?\\(${M}${U}?${U}?\\)?\\s*$`,"i"),$=new RegExp(`\\((\\S*)${U}${U}\\)`);const z=new RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${M}${U}?${U}??\\s*$`,"i");const B=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;const q=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,H=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function G(e,t){return j(e)&&"string"==typeof e[t]?e[t]:void 0}function W(e,t,n,r){if(void 0===t)return;const{name:o,message:i}=function(e){let t,n;"[object String]"==={}.toString.call(e)&&([,t,n]=V.exec(e));return{name:t,message:n}}(e);return{name:o,message:i,stack:[{url:t,column:r,line:n}]}}const V=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function X(e){return String(e.constructor).startsWith("class ")}let K;function Y(e){const t=new Error(e);let n;return t.name="HandlingStack",g(()=>{const e=D(t);e.stack=e.stack.slice(2),n=Q(e)}),n}function Q(e){let t=J(e);return e.stack.forEach(e=>{const n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",o=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=`\n at ${n}${r} @ ${e.url}${o}${i}`}),t}function J(e){return`${e.name||"Error"}: ${e.message}`}function Z(e,t,n,{computeHandlingStack:r}={}){let o=e[t];if("function"!=typeof o){if(!(t in e)||"string"!=typeof t||!t.startsWith("on"))return{stop:N};o=N}let i=!1;const a=function(){if(i)return o.apply(this,arguments);const e=Array.from(arguments);let t;g(n,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:r?Y("instrumented method"):void 0}]);const a=o.apply(this,e);return t&&g(t,null,[a]),a};return e[t]=a,{stop:()=>{i=!0,e[t]===a&&(e[t]=o)}}}const ee=1e3,te=6e4,ne=31536e6;function re(){return(new Date).getTime()}function oe(){return re()}function ie(){return performance.now()}function ae(){return{relative:ie(),timeStamp:oe()}}function se(e,t){return t-e}function ue(e,t){return e+t}function le(e){return e-fe()}let ce;function fe(){var e,t;return void 0===ce&&(ce=null!==(t=null===(e=performance.timing)||void 0===e?void 0:e.navigationStart)&&void 0!==t?t:performance.timeOrigin),ce}const pe=/[^\u0000-\u007F]/;function de(e){return pe.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length}function he(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);const r=ye(Object.prototype),o=ye(Array.prototype),i=ye(Object.getPrototypeOf(e)),a=ye(e);try{return JSON.stringify(e,t,n)}catch(e){return"<error: unable to serialize object>"}finally{r(),o(),i(),a()}}function ye(e){const t=e,n=t.toJSON;return n?(delete t.toJSON,()=>{t.toJSON=n}):N}function ge(e,t=225280){const n=ye(Object.prototype),r=ye(Array.prototype),o=[],i=new WeakMap,a=me(e,"$",void 0,o,i),s=JSON.stringify(a);let u=s?s.length:0;if(!(u>t)){for(;o.length>0&&u<t;){const n=o.shift();let r=0;if(Array.isArray(n.source))for(let a=0;a<n.source.length;a++){const s=me(n.source[a],n.path,a,o,i);if(u+=void 0!==s?JSON.stringify(s).length:4,u+=r,r=1,u>t){be(t,"truncated",e);break}n.target[a]=s}else for(const a in n.source)if(Object.prototype.hasOwnProperty.call(n.source,a)){const s=me(n.source[a],n.path,a,o,i);if(void 0!==s&&(u+=JSON.stringify(s).length+r+a.length+3,r=1),u>t){be(t,"truncated",e);break}n.target[a]=s}}return n(),r(),a}be(t,"discarded",e)}function me(e,t,n,r,o){const i=function(e){const t=e;if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(e){}return e}(e);if(!i||"object"!=typeof i)return function(e){if("bigint"==typeof e)return`[BigInt] ${e.toString()}`;if("function"==typeof e)return`[Function] ${e.name||"unknown"}`;if("symbol"==typeof e)return`[Symbol] ${e.description||e.toString()}`;return e}(i);const a=ve(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;const s=e;if(o.has(s))return`[Reference seen at ${o.get(s)}]`;const u=void 0!==n?`${t}.${n}`:t,l=Array.isArray(i)?[]:{};return o.set(s,u),r.push({source:i,target:l,path:u}),l}function ve(e){try{if(e instanceof Event)return function(e){return{type:e.type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?ve(e.currentTarget):null,target:e.target?ve(e.target):null}}(e);if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;const t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return`[${t[1]}]`}catch(e){}return"[Unserializable]"}function be(e,t,n){s.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}const we="No stack, consider using an instance of Error";function Se({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:o}){const i=Oe(e);return!t&&i&&(t=D(e)),{source:n,type:t?t.name:void 0,message:_e(t,i,o,e),stack:t?Q(t):r?we:void 0}}function Ee({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:o,nonErrorPrefix:i,useFallbackStack:a=!0,source:s,handling:u}){return{startClocks:o,handling:u,handlingStack:n,componentStack:r,originalError:t,...Se({originalError:t,stackTrace:e,source:s,useFallbackStack:a,nonErrorPrefix:i}),causes:Oe(t)?Ie(t,s):void 0,fingerprint:ke(t),context:xe(t)}}function _e(e,t,n,r){return(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:t?"Empty message":n?`${n} ${he(ge(r))}`:he(ge(r))}function ke(e){return Oe(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function xe(e){if(j(e))return e.dd_context}function Oe(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function Ie(e,t){const n=[];let r=e.cause;for(;null!=r&&n.length<10;){const e=Se({originalError:r,source:t,useFallbackStack:!1});n.push(e),r=Oe(r)?r.cause:void 0}return n.length?n:void 0}const Te="agent",Ae="console",Ce="logger",Re="network",Ne="source",Pe="report";function je(){return new _(e=>{const t=(t,n)=>{const r=Ee({stackTrace:n,originalError:t,startClocks:ae(),nonErrorPrefix:"Uncaught",source:Ne,handling:"unhandled"});e.notify(r)},{stop:n}=(r=t,Z(b(),"onerror",({parameters:[e,t,n,o,i]})=>{let a;Oe(i)||(a=W(e,t,n,o)),r(null!=i?i:e,a)}));var r;const{stop:o}=function(e){return Z(b(),"onunhandledrejection",({parameters:[t]})=>{e(t.reason||"Empty reason")})}(t);return()=>{n(),o()}})}function Le(e){return{...e}}function De(e,t){return Object.keys(e).some(n=>e[n]===t)}function Me(e){return 0===Object.keys(e).length}var Ue;!function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",e.FEATURE_OPERATION_VITAL="feature_operation_vital",e.START_STOP_ACTION="start_stop_action",e.START_STOP_RESOURCE="start_stop_resource",e.USE_CHANGE_RECORDS="use_change_records",e.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",e.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",e.TRACK_RESOURCE_HEADERS="track_resource_headers"}(Ue||(Ue={}));const Fe=new Set;function $e(e){Array.isArray(e)&&e.filter(e=>De(Ue,e)).forEach(e=>{Fe.add(e)})}function ze(){return Fe}function Be(e){const{env:t,service:n,version:r,datacenter:o,sdkVersion:i,variant:a}=e,s=[qe("sdk_version",null!=i?i:"6.33.0")];return t&&s.push(qe("env",t)),n&&s.push(qe("service",n)),r&&s.push(qe("version",r)),o&&s.push(qe("datacenter",o)),a&&s.push(qe("variant",a)),s}function qe(e,t){const n=t?`${e}:${t}`:e;return(n.length>200||function(e){if(!function(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}())return!1;return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(e)}(n))&&s.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${c} ${u}/getting_started/tagging/#defining-tags`),He(n)}function He(e){return e.replace(/,/g,"_")}const Ge="datad0g.com",We="dd0g-gov.com",Ve="datadoghq.com",Xe="pci.browser-intake-datadoghq.com",Ke=["ddsource","dd-api-key","dd-request-id"];function Ye(e,t){const n=w.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function Qe(e){return 0!==e&&100*Math.random()<=e}function Je(e,t,n=function(){if("undefined"!=typeof WeakSet){const e=new WeakSet;return{hasAlreadyBeenSeen(t){const n=e.has(t);return n||e.add(t),n}}}const e=[];return{hasAlreadyBeenSeen(t){const n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){const r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=Je(r[e],t[e],n);return r}const r="object"===P(e)?e:{};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=Je(r[e],t[e],n));return r}function Ze(e){return Je(void 0,e)}function et(...e){let t;for(const n of e)null!=n&&(t=Je(t,n));return t}function tt(){var e;const t=w.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}function nt(){const e=b().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){const o=r?{id:r}:void 0;e.send(JSON.stringify({eventType:t,event:n,view:o}))}}}function rt(e){var t;void 0===e&&(e=null===(t=b().location)||void 0===t?void 0:t.hostname);const n=nt();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function ot(e){return Object.values(e)}function it(e,t,n,r,o){return at(e,t,[n],r,o)}function at(e,t,n,r,{once:o,capture:i,passive:a}={}){const s=y(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(o&&f(),r(t))}),u=a?{capture:i,passive:a}:i,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=I(l,"addEventListener");function f(){const e=I(l,"removeEventListener");n.forEach(n=>e.call(t,n,s,u))}return n.forEach(e=>c.call(t,e,s,u)),{stop:f}}const st={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function ut(e){return new _(t=>{if(S)return;const{stop:n}=at(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:st.HIDDEN}):"freeze"===e.type&&t.notify({reason:st.FROZEN})},{capture:!0}),r=it(e,window,"beforeunload",()=>{t.notify({reason:st.UNLOADING})}).stop;return()=>{n(),r()}})}const lt=262144;function ct({encoder:e,request:t,flushController:n}){let r={};const o=n.flushObservable.subscribe(n=>function(n){const o=ot(r).join("\n");r={};const i=(s=n.reason,ot(st).includes(s)),a=i?t.sendOnExit:t.send;var s;if(i&&e.isAsync){const t=e.finishSync();t.outputBytesCount&&a(ft(t));const n=[t.pendingData,o].filter(Boolean).join("\n");n&&a({data:n,bytesCount:de(n)})}else o&&e.write(e.isEmpty?o:`\n${o}`),e.finish(e=>{a(ft(e))})}(n));function i(t,o){const i=he(t),a=e.estimateEncodedBytesCount(i);a>=lt?s.warn(`Discarded a message whose size was bigger than the maximum allowed size 256KiB. ${c} ${l}/#technical-limitations`):(function(e){return void 0!==e&&void 0!==r[e]}(o)&&function(t){const o=r[t];delete r[t];const i=e.estimateEncodedBytesCount(o);n.notifyAfterRemoveMessage(i)}(o),function(t,o,i){n.notifyBeforeAddMessage(o),void 0!==i?(r[i]=t,n.notifyAfterAddMessage()):e.write(e.isEmpty?t:`\n${t}`,e=>{n.notifyAfterAddMessage(e-o)})}(i,a,o))}return{flushController:n,add:i,upsert:i,stop:o.unsubscribe}}function ft(e){let t;return t="string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}function pt(e){return e>=500}const dt=20971520,ht=ee;function yt(e,t,n,r,o,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?mt(e,t,n,i,{onSuccess:()=>vt(0,t,n,r,o,i),onFailure:()=>{t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),gt(t,n,r,o,i)}}):t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function gt(e,t,n,r,o){2===e.transportStatus&&T(()=>{mt(e.queuedPayloads.first(),e,t,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=ht,vt(1,e,t,n,r,o)},onFailure:()=>{e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),gt(e,t,n,r,o)}})},e.currentBackoffTime)}function mt(e,t,n,r,{onSuccess:o,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||pt(e.status))}(n)?(t.transportStatus=0,r.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},r.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function vt(e,t,n,r,o,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:`Reached max ${r} events size queued for upload: 20MiB`,source:Te,startClocks:ae()}),t.queueFullReported=!0);const a=t.queuedPayloads;for(t.queuedPayloads=bt();a.size()>0;)yt(a.dequeue(),t,n,r,o,i)}function bt(){const e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){const t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=dt}}}const wt=16384;function St(e,t,n=16384){const r=new _,o={transportStatus:0,currentBackoffTime:ht,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:bt(),queueFullReported:!1};return{observable:r,send:n=>{for(const i of e)yt(n,o,(e,t)=>{kt(i,e,t)},i.trackType,t,r)},sendOnExit:t=>{for(const r of e)Et(r,n,t)}}}function Et(e,t,n){if(!!navigator.sendBeacon&&n.bytesCount<t)try{const t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){!function(e){_t||(_t=!0,m(e))}(e)}kt(e,n)}let _t=!1;function kt(e,t,n){const r=e.build("fetch",t);var o,i;(o=r,i={method:"POST",body:t.data,mode:"cors"},I(b(),"fetch")(o,i)).then(y(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(y(()=>null==n?void 0:n({status:0})))}const xt=S?1:50;function Ot({pageMayExitObservable:e,sessionExpireObservable:t}){let n;const r=new _,o=e.subscribe(e=>{n=e.reason;try{r.notify(e.reason)}finally{n=void 0}c(e.reason)}),i=t.subscribe(()=>c("session_expire")),a=new _(()=>()=>{o.unsubscribe(),i.unsubscribe()});let s,u=0,l=0;function c(e){if(0===l)return;const t=l,n=u;l=0,u=0,f(),a.notify({reason:e,messagesCount:t,bytesCount:n})}function f(){A(s),s=void 0}return{flushObservable:a,preparePageExitFlushObservable:r,get messagesCount(){return l},notifyBeforeAddMessage(e){u+e>=wt&&c(null!=n?n:"bytes_limit"),l+=1,u+=e,void 0===s&&(s=T(()=>{c("duration_limit")},3e4))},notifyAfterAddMessage(e=0){u+=e,l>=xt?c(null!=n?n:"messages_limit"):u>=wt&&c(null!=n?n:"bytes_limit")},notifyAfterRemoveMessage(e){u-=e,l-=1,0===l&&f()}}}function It(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){const o=de(n);t+=o,e+=n,r&&r(o)},finish(e){e(this.finishSync())},finishSync(){const n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}const Tt="DISCARDED",At="SKIPPED";const Ct="log",Rt="configuration",Nt="usage";const Pt=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],jt=["ddog-gov.com","us2.ddog-gov.com"];let Lt;function Dt(){return Lt||(Lt=new x(100)),Lt}function Mt(e,t,n){const r=new _,{enabled:o,metricsEnabled:i}=function(e,t,n,r,o=1,i=15){const a={},s=!jt.includes(t.site)&&Qe(t.telemetrySampleRate),u={[Ct]:s,[Rt]:s&&Qe(t.telemetryConfigurationSampleRate),[Nt]:s&&Qe(t.telemetryUsageSampleRate),metric:s&&Qe(o)},l={is_local_file:"file:"===(null===(f=w.location)||void 0===f?void 0:f.protocol),is_worker:S},c=Dt();var f;return c.subscribe(({rawEvent:t,metricName:o})=>{if(o&&!u.metric||!u[t.type])return;const s=o||t.status||t.type;let c=a[s];if(c||(c=a[s]=new Set),c.size>=i)return;const f=he(t);if(c.has(f))return;const p=n.triggerHook(1,{startTime:ae().relative});if(p===Tt)return;const h=d(p,e,t,l);r.notify(h),Ye("telemetry",h),c.add(f)}),c.unbuffer(),function(e){p=e}(Ft),{enabled:s,metricsEnabled:u.metric};function d(e,n,r,o){const i={type:"telemetry",date:ae().timeStamp,service:n,version:"6.33.0",source:"browser",_dd:{format_version:2},telemetry:et(r,{runtime_env:o,connectivity:tt(),sdk_setup:"npm"}),ddtags:Be(t).join(","),experimental_features:Array.from(ze())};return et(i,e)}}(e,t,n,r),{stop:a}=function(e,t){const n=[];if(rt()){const e=nt(),r=t.subscribe(t=>e.send("internal_telemetry",t));n.push(r.unsubscribe)}else{const r=[e.rumEndpointBuilder];e.replica&&function(e){return e.site===Ge}(e)&&r.push(e.replica.rumEndpointBuilder);const o=ct({encoder:It(),request:St(r,N),flushController:Ot({pageMayExitObservable:ut(e),sessionExpireObservable:new _})});n.push(o.stop);const i=t.subscribe(o.add);n.push(i.unsubscribe)}return{stop:()=>n.forEach(e=>e())}}(t,r);return{stop:a,enabled:o,metricsEnabled:i}}function Ut(e,t){v(r.debug,e,t),Dt().notify({rawEvent:{type:Ct,message:e,status:"debug",...t}})}function Ft(e,t){Dt().notify({rawEvent:{type:Ct,status:"error",...zt(e),...t}})}function $t(e){Dt().notify({rawEvent:{type:Nt,usage:e}})}function zt(e){if(Oe(e)){const t=D(e);return{error:{kind:t.name,stack:Q(Bt(t))},message:t.message}}return{error:{stack:we},message:`Uncaught ${he(e)}`}}function Bt(e){return e.stack=e.stack.filter(e=>!e.url||Pt.some(t=>e.url.startsWith(t))),e}function qt(e,t,n,r){return y((...o)=>(r&&$t({feature:r}),e()[t][n](...o)))}function Ht(e,t,n){e.changeObservable.subscribe(()=>{const r=e.getContext();n.add(e=>e[t].setContext(r))})}const Gt="userContext",Wt="globalContext",Vt="accountContext",Xt="getContext",Kt="setContext",Yt="setContextProperty",Qt="removeContextProperty",Jt="clearContext";function Zt(e,t){t.silentMultipleInit||s.error(`${e} is already initialized.`)}function en(e,t,n){const r={...e};for(const[e,{required:o,type:i}]of Object.entries(t))"string"!==i||tn(r[e])||(r[e]=String(r[e])),o&&tn(r[e])&&s.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function tn(e){return null==e||""===e}function nn(e="",{propertiesConfig:t={}}={}){let n={};const r=new _,o={getContext:()=>Ze(n),setContext:i=>{!function(e){const t="object"===P(e);return t||s.error("Unsupported context:",e),t}(i)?o.clearContext():n=ge(en(i,t,e)),r.notify()},setContextProperty:(o,i)=>{n=ge(en({...n,[o]:i},t,e)),r.notify()},removeContextProperty:o=>{delete n[o],en(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return o}function rn(e,t,n){const r=n.getHandler(),o=Array.isArray(r)?r:[r];return an[e]>=an[n.getLevel()]&&o.includes(t)}const on={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},an={[on.ok]:0,[on.debug]:1,[on.info]:2,[on.notice]:4,[on.warn]:5,[on.error]:6,[on.critical]:7,[on.alert]:8,[on.emerg]:9};function sn(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}var un=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const ln="console",cn="http",fn=Object.keys(on);class pn{constructor(e,t,n=cn,r=on.debug,o={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=nn("logger"),this.tags=[],this.contextManager.setContext(o),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=on.info,r,o){const i=ge(t);let a;if(null!=r){const e=Ee({originalError:r,nonErrorPrefix:"Provided",source:Ce,handling:"handled",startClocks:ae()});a=et({error:sn(e,{includeMessage:!0})},e.context,i)}else a=i;this.handleLogStrategy({message:ge(e),context:a,status:n},this,o)}log(e,t,n=on.info,r){let o;rn(n,cn,this)&&(o=Y("log")),this.logImplementation(e,t,n,r,o)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}addTag(e,t){this.tags.push(qe(e,t))}removeTagsWithKey(e){const t=He(e);this.tags=this.tags.filter(e=>e!==t&&!e.startsWith(`${t}:`))}getTags(){return this.tags.slice()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function dn(e){return function(t,n,r){let o;rn(e,cn,this)&&(o=Y("log")),this.logImplementation(t,n,e,r,o)}}function hn(){return S?{}:{view:{referrer:document.referrer,url:window.location.href}}}function yn(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,yn)}un([function(e,t,n){const r=n.value;n.value=function(...e){return(p?y(r):r).apply(this,e)}}],pn.prototype,"logImplementation",null),pn.prototype.ok=dn(on.ok),pn.prototype.debug=dn(on.debug),pn.prototype.info=dn(on.info),pn.prototype.notice=dn(on.notice),pn.prototype.warn=dn(on.warn),pn.prototype.error=dn(on.error),pn.prototype.critical=dn(on.critical),pn.prototype.alert=dn(on.alert),pn.prototype.emerg=dn(on.emerg);const gn=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function mn(e,t,n=""){const r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:`${e.slice(0,o)}${n}`}function vn(e){return bn(e,location.href).href}function bn(e,t){const{URL:n}=function(){var e;if(!wn){let t,n;try{t=document.createElement("iframe"),t.style.display="none",document.body.appendChild(t),n=null!==(e=t.contentWindow)&&void 0!==e?e:w}catch(e){n=w}wn={URL:n.URL},null==t||t.remove()}return wn}();try{return void 0!==t?new n(e,t):new n(e)}catch(e){throw new Error(`Failed to construct URL: ${String(e)}`)}}let wn,Sn,En;function _n(e,t,n=0,r){const o=new Date;o.setTime(o.getTime()+n);const i=`expires=${o.toUTCString()}`,a=r&&r.crossSite?"none":"strict",s=r&&r.domain?`;domain=${r.domain}`:"",u=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${a}${s}${u}${l}`}function kn(e){return function(e,t){for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;if(n[1]===t)return n[2]}}(document.cookie,e)}function xn(e){return function(e){const t=new Map;for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;{const e=n[1],r=n[2];t.has(e)?t.get(e).push(r):t.set(e,[r])}}return t}(document.cookie).get(e)||[]}function On(e){return Sn||(Sn=function(e){const t=new Map;for(gn.lastIndex=0;;){const n=gn.exec(e);if(!n)break;t.set(n[1],n[2])}return t}(document.cookie)),Sn.get(e)}function In(e,t){_n(e,"",0,t)}function Tn(e=location.hostname,t=document.referrer){if(void 0===En){const n=function(e,t){try{return e||bn(t).hostname}catch(e){}}(e,t);if(n){const e=`dd_site_test_${yn()}`,t="test",r=n.split(".");let o=r.pop();for(;r.length&&!kn(e);)o=`${r.pop()}.${o}`,_n(e,t,ee,{domain:o});In(e,{domain:o}),En=o}}return En}const An="datadog-synthetics-",Cn=`${An}public-id`,Rn=`${An}result-id`,Nn=`${An}injects-rum`,Pn=`${An}rum-context`;function jn(){return!S&&Boolean(w._DATADOG_SYNTHETICS_INJECTS_RUM||On(Nn))}function Ln(){const e=function(){const e=w._DATADOG_SYNTHETICS_RUM_CONTEXT;if(e)return e;const t=On(Pn);if(t)return function(e){try{return JSON.parse(e)}catch(e){}}(decodeURIComponent(t));return{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||On(Cn),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||On(Rn)}}();return"object"==typeof(t=e)&&null!==t&&"string"==typeof t.test_id&&"string"==typeof t.result_id?e:void 0;var t}function Dn(){return Boolean(Ln())}const Mn="_dd_c",Un=[];function Fn(e,t,n,r){const o=function(e,t){return`${Mn}_${e}_${t}`}(n,r);Un.push(it(e,window,"storage",({key:e})=>{o===e&&t.setContext(a())})),t.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(t.getContext()))});const i=et(a(),t.getContext());function a(){const e=localStorage.getItem(o);return e?JSON.parse(e):{}}Me(i)||t.setContext(i)}function $n(){return nn("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function zn(){return nn("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function Bn(){return nn("global context")}const qn="_dd_tab_id";let Hn;function Gn(e){const t=function(){var e;Hn||(Hn=null!==(e=function(){try{const e=sessionStorage.getItem(qn);if(e)return e;const t=yn();return sessionStorage.setItem(qn,t),t}catch(e){return}}())&&void 0!==e?e:yn());return Hn}();e.register(0,()=>({tab:{id:t}}))}function Wn(e,t){const n=e.indexOf(t);n>=0&&e.splice(n,1)}const Vn=1/0;let Xn;const Kn=new Set;function Yn({expireDelay:e,maxEntries:t}){let n=[];Xn||(Xn=C(()=>{Kn.forEach(e=>e())},6e4));const r=()=>{const t=ie()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return Kn.add(r),{add:function(e,r){const o={value:e,startTime:r,endTime:Vn,remove:()=>{Wn(n,o)},close:e=>{o.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(o),o},find:function(e=Infinity,t={returnInactive:!1}){for(const r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){const t=n[0];t&&t.endTime===Vn&&t.close(e)},findAll:function(e=Infinity,t=0){const r=ue(e,t);return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},getEntries:function(e){return n.filter(t=>t.startTime===e)},reset:function(){n=[]},stop:function(){Kn.delete(r),0===Kn.size&&Xn&&(R(Xn),Xn=void 0)}}}const Qn=144e5,Jn=9e5,Zn=ne,er="cookie",tr="memory",nr="local-storage";let rr;function or(){return null!=rr?rr:rr=function(e=window){var t;const n=e.navigator.userAgent;if(e.chrome||/HeadlessChrome/.test(n))return 0;if(0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 1;return 2}()}const ir="_dd_s",ar=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function sr(e,t){const n={isExpired:"1"};return t.trackAnonymousUser&&(null==e?void 0:e.anonymousId)&&(n.anonymousId=null==e?void 0:e.anonymousId),n}function ur(e){return Me(e)}function lr(e){return!ur(e)}function cr(e){return void 0!==e.isExpired||!((void 0===(t=e).created||re()-Number(t.created)<Qn)&&(void 0===t.expire||re()<Number(t.expire)));var t}function fr(e){e.expire=String(re()+Jn)}function pr(e){return(t=e,Object.entries(t)).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&");var t}function dr(e){const t={};return function(e){return!!e&&(-1!==e.indexOf("&")||ar.test(e))}(e)&&e.split("&").forEach(e=>{const n=ar.exec(e);if(null!==n){const[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function hr(e){const t=function(e){const t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){const e=Tn();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{const t=`dd_cookie_test_${yn()}`,n="test";_n(t,n,te,e);const r=kn(t)===n;return In(t,e),r}catch(e){return s.error(e),!1}}(t)?{type:er,cookieOptions:t}:void 0}function yr(e,t){const n={isLockEnabled:0===or(),persistSession:n=>gr(t,e,n,Jn),retrieveSession:()=>mr(t,e),expireSession:n=>gr(t,e,sr(n,e),Qn)};return function(e){if(!On(ir)){const t=On("_dd"),n=On("_dd_r"),r=On("_dd_l"),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o.logs=r),n&&/^[012]$/.test(n)&&(o.rum=n),lr(o)&&(fr(o),e.persistSession(o))}}(n),n}function gr(e,t,n,r){let o=pr(n);t.betaEncodeCookieOptions&&(o=pr({...n,...Me(n)?{}:{c:vr(e)}})),_n(ir,o,t.trackAnonymousUser?Zn:r,e)}function mr(e,t){if(t.betaEncodeCookieOptions)return function(e){const t=xn(ir),n=vr(e);let r;for(const e of t.reverse())if(r=dr(e),r.c===n)break;return null==r||delete r.c,null!=r?r:{}}(e);return dr(kn(ir))}function vr(e){let t=0;return t|=0,t|=(e.domain?e.domain.split(".").length-1:0)<<1,t|=e.crossSite?1:0,t.toString(16)}function br(e){return{isLockEnabled:!1,persistSession:wr,retrieveSession:Sr,expireSession:t=>function(e,t){wr(sr(e,t))}(t,e)}}function wr(e){localStorage.setItem(ir,pr(e))}function Sr(){return dr(localStorage.getItem(ir))}const Er="--",_r=[];let kr;function xr(e,t,n=0){var r;const{isLockEnabled:o,persistSession:i,expireSession:a}=t,s=e=>i({...e,lock:l}),u=()=>{const{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!Tr(e)?e:void 0}};if(kr||(kr=e),e!==kr)return void _r.push(e);if(o&&n>=100)return void Ir(t);let l,c=u();if(o){if(c.lock)return void Or(e,t,n);if(l=yn()+Er+oe(),s(c.session),c=u(),c.lock!==l)return void Or(e,t,n)}let f=e.process(c.session);if(o&&(c=u(),c.lock!==l))Or(e,t,n);else{if(f&&(cr(f)?a(f):(fr(f),o?s(f):i(f))),o&&(!f||!cr(f))){if(c=u(),c.lock!==l)return void Or(e,t,n);i(c.session),f=c.session}null===(r=e.after)||void 0===r||r.call(e,f||c.session),Ir(t)}}function Or(e,t,n){T(()=>{xr(e,t,n+1)},10)}function Ir(e){kr=void 0;const t=_r.shift();t&&xr(t,e)}function Tr(e){const[,t]=e.split(Er);return!t||se(Number(t),oe())>1e3}const Ar="_DD_SESSION";function Cr(e){return{expireSession:t=>function(e,t){Nr(sr(e,t))}(t,e),isLockEnabled:!1,persistSession:Nr,retrieveSession:Rr}}function Rr(){const e=b();return e[Ar]||(e[Ar]={}),Le(e[Ar])}function Nr(e){b()[Ar]=Le(e)}const Pr=ee;function jr(e){const{sessionPersistence:t}=e,n=function(e,t){if(Array.isArray(e))return e;if(void 0!==e)return[e];return t.allowFallbackToLocalStorage?[er,nr]:[er]}(t,e);for(const t of n){const n=Lr(t,e);if(void 0!==n)return n}}function Lr(e,t){switch(e){case er:return hr(t);case nr:return function(){try{const e=yn(),t=`_dd_test_${e}`;localStorage.setItem(t,e);const n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:nr}:void 0}catch(e){return}}();case tr:return{type:tr};default:return void s.error(`Invalid session persistence '${String(e)}'`)}}function Dr(e,t,n,r,o=function(e,t){return e.type===er?yr(t,e.cookieOptions):e.type===nr?br(t):Cr(t)}(e,t)){const i=new _,a=new _,s=new _,u=C(function(){const e=o.retrieveSession();cr(e)?xr({process:e=>cr(e)?sr(e,t):void 0,after:p},o):p(e)},Pr);let l;d();const{throttled:c,cancel:f}=function(e,t,n){const r=!n||void 0===n.leading||n.leading,o=!n||void 0===n.trailing||n.trailing;let i,a,s=!1;return{throttled:(...n)=>{s?i=n:(r?e(...n):i=n,s=!0,a=T(()=>{o&&i&&e(...i),s=!1,i=void 0},t))},cancel:()=>{A(a),s=!1,i=void 0}}}(()=>{xr({process:e=>{if(ur(e))return;const o=p(e);return function(e){if(ur(e))return!1;const o=r(e[n]);e[n]=o,delete e.isExpired,"0"===o||e.id||(e.id=yn(),e.created=String(re()));t.trackAnonymousUser&&!e.anonymousId&&(e.anonymousId=yn())}(o),o},after:e=>{lr(e)&&!h()&&function(e){l=e,i.notify()}(e),l=e}},o)},Pr);function p(e){return cr(e)&&(e=sr(e,t)),h()&&(!function(e){return l.id!==e.id||l[n]!==e[n]}(e)?(s.notify({previousState:l,newState:e}),l=e):(l=sr(l,t),a.notify())),e}function d(){xr({process:e=>{if(ur(e))return e.anonymousId=yn(),sr(e,t)},after:e=>{l=e}},o)}function h(){return void 0!==(null==l?void 0:l[n])}return{expandOrRenewSession:c,expandSession:function(){xr({process:e=>h()?p(e):void 0},o)},getSession:()=>l,renewObservable:i,expireObservable:a,sessionStateUpdateObservable:s,restartSession:d,expire:e=>{f(),!1===e&&l&&delete l.anonymousId,o.expireSession(l),p(sr(l,t))},stop:()=>{R(u)},updateSessionState:function(e){xr({process:t=>({...t,...e}),after:p},o)}}}const Mr=te,Ur=Qn;let Fr=[];function $r(e,t,n,r){const o=new _,i=new _,a=Dr(e.sessionStoreStrategyType,e,t,n);Fr.push(()=>a.stop());const s=Yn({expireDelay:Ur});function u(){const n=a.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(async function(e){const t=e.sessionStoreStrategyType;if(!t)return;let n,r;t.type===er?(n=mr(t.cookieOptions,e),r={cookie:await zr(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=Sr();Ut("Unexpected session state",{sessionStoreStrategyType:t.type,session:n,isSyntheticsTest:Dn(),createdTimestamp:null==n?void 0:n.created,expireTimestamp:null==n?void 0:n.expire,...r})}(e).catch(()=>{}),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return Fr.push(()=>s.stop()),a.renewObservable.subscribe(()=>{s.add(u(),ie()),o.notify()}),a.expireObservable.subscribe(()=>{i.notify(),s.closeActive(ie())}),a.expandOrRenewSession(),s.add(u(),[0,fe()][0]),r.observable.subscribe(()=>{r.isGranted()?a.expandOrRenewSession():a.expire(!1)}),function(e,t){const{stop:n}=at(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});Fr.push(n)}(e,()=>{r.isGranted()&&a.expandOrRenewSession()}),function(e,t){const n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=it(e,document,"visibilitychange",n);Fr.push(r);const o=C(n,Mr);Fr.push(()=>{R(o)})}(e,()=>a.expandSession()),function(e,t){const{stop:n}=it(e,window,"resume",t,{capture:!0});Fr.push(n)}(e,()=>a.restartSession()),{findSession:(e,t)=>s.find(e,t),renewObservable:o,expireObservable:i,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}async function zr(){let e;return e="cookieStore"in window?await window.cookieStore.getAll(ir):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(ir)),{count:e.length,domain:Tn()||"undefined",...e}}function Br(e,t){return"0"===(n=t)||"1"===n?t:Qe(e.sessionSampleRate)?"1":"0";var n}function qr(e,t,n,r,o,i){const a=fn.concat(["custom"]),s={};a.forEach(e=>{s[e]=function(e,t,n=3e3){let r=0,o=!1;return{isLimitReached(){if(0===r&&T(()=>{r=0},te),r+=1,r<=n||o)return o=!1,!1;if(r===n+1){o=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:Te,startClocks:ae()})}finally{o=!1}}return!0}}}(e,o,i)}),t.subscribe(0,({rawLogsEvent:o,messageContext:i,savedCommonContext:a,domainContext:u,ddtags:l=[]})=>{var c,f;const p=le(o.date),d=a||r(),h=n.triggerHook(0,{startTime:p});if(h===Tt)return;const y=Be(e),g=et({view:d.view},h,o,i,{ddtags:y.concat(l).join(",")});!1===(null===(c=e.beforeSend)||void 0===c?void 0:c.call(e,g,u))||g.origin!==Te&&(null!==(f=s[g.status])&&void 0!==f?f:s.custom).isLimitReached()||t.notify(1,g)})}let Hr={};function Gr(e){return k(...e.map(e=>(Hr[e]||(Hr[e]=function(e){return new _(t=>{const n=o[e];return o[e]=(...o)=>{n.apply(console,o);const i=Y("console error");g(()=>{t.notify(function(e,t,n){const o=e.map(e=>function(e){if("string"==typeof e)return ge(e);if(Oe(e))return J(D(e));return he(ge(e),void 0,2)}(e)).join(" ");if(t===r.error){const r=Ee({originalError:e.find(Oe),handlingStack:n,startClocks:ae(),source:Ae,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return r.message=o,{api:t,message:o,handlingStack:n,error:r}}return{api:t,message:o,error:void 0,handlingStack:n}}(o,e,i))})},()=>{o[e]=n}})}(e)),Hr[e])))}const Wr={[r.log]:on.info,[r.debug]:on.debug,[r.info]:on.info,[r.warn]:on.warn,[r.error]:on.error};const Vr={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Xr(e,t){const n=[];t.includes(Vr.cspViolation)&&n.push(function(e){return new _(t=>{const{stop:n}=it(e,document,"securitypolicyviolation",e=>{t.notify(function(e){const t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return Kr({type:e.effectiveDirective,message:`${Vr.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:Yr(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${mn(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))});return n})}(e));const r=t.filter(e=>e!==Vr.cspViolation);return r.length&&n.push(function(e){return new _(t=>{if(!window.ReportingObserver)return;const n=y((e,n)=>e.forEach(e=>t.notify(function(e){const{type:t,body:n}=e;return Kr({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:Yr(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(e)))),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),()=>{r.disconnect()}})}(r)),k(...n)}function Kr(e){return{startClocks:ae(),source:Pe,handling:"unhandled",...e}}function Yr(e,t,n,r,o){return n?Q({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}let Qr;const Jr=new WeakMap;function Zr(e){return Qr||(Qr=function(e){return new _(t=>{const{stop:n}=Z(XMLHttpRequest.prototype,"open",eo),{stop:r}=Z(XMLHttpRequest.prototype,"send",n=>{!function({target:e,parameters:[t],handlingStack:n},r,o){const i=Jr.get(e);if(!i)return;const a=i;a.state="start",a.startClocks=ae(),a.isAborted=!1,a.xhr=e,a.handlingStack=n,a.requestBody=t;let s=!1;const{stop:u}=Z(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&l()}),l=()=>{if(c(),u(),s)return;s=!0;const t=i;t.state="complete",t.duration=se(a.startClocks.timeStamp,oe()),t.status=e.status,"string"==typeof e.response&&(t.responseBody=e.response),o.notify(Le(t))},{stop:c}=it(r,e,"loadend",l);o.notify(a)}(n,e,t)},{computeHandlingStack:!0}),{stop:o}=Z(XMLHttpRequest.prototype,"abort",to);return()=>{n(),r(),o()}})}(e)),Qr}function eo({target:e,parameters:[t,n]}){Jr.set(e,{state:"open",method:String(t).toUpperCase(),url:vn(String(n))})}function to({target:e}){const t=Jr.get(e);t&&(t.isAborted=!0)}const no={FETCH:"fetch",XHR:"xhr"};async function ro(e,t){const n=e.getReader(),r=[];for(;;){const e=await n.read();if(e.done)break;t.collectStreamBody&&r.push(e.value)}return n.cancel().catch(N),t.collectStreamBody?function(e){if(1===e.length)return e[0];const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r):void 0}let oo;const io=[];function ao({responseBodyAction:e}={}){return e&&io.push(e),oo||(oo=new _(e=>{if(!w.fetch)return;const{stop:t}=Z(w,"fetch",t=>function({parameters:e,onPostCall:t,handlingStack:n},r){var o,i;const[a,s]=e;let u=s&&s.method;void 0===u&&a instanceof Request&&(u=a.method);const l=void 0!==u?String(u).toUpperCase():"GET",c=a instanceof Request?a.url:vn(String(a)),f=ae(),p={state:"start",init:s,input:a,method:l,startClocks:f,url:c,handlingStack:n,isAbortedOnStart:a instanceof Request&&(null===(o=a.signal)||void 0===o?void 0:o.aborted)||(null===(i=null==s?void 0:s.signal)||void 0===i?void 0:i.aborted)||!1};r.notify(p),e[0]=p.input,e[1]=p.init,t(e=>{(async function(e,t,n){var r,o;const i=n;let a;i.state="resolve";try{a=await t}catch(t){return i.status=0,i.isAborted=(null===(o=null===(r=i.init)||void 0===r?void 0:r.signal)||void 0===o?void 0:o.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,i.error=t,void e.notify(i)}i.response=a,i.status=a.status,i.responseType=a.type,i.isAborted=!1;const s=io.reduce((e,t)=>Math.max(e,t(i)),0);if(0!==s){const e=function(e){try{return e.clone()}catch(e){return}}(a);if(e&&e.body)try{const t=await ro(e.body,{collectStreamBody:2===s});i.responseBody=t&&(new TextDecoder).decode(t)}catch(e){}}e.notify(i)})(r,e,p).catch(m)})}(t,e),{computeHandlingStack:!0});return t})),oo}function so(e,t,n){const r=function(e,t){const n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){const e=vn(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});const o=function(e,t){const{site:n=Ve,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===Ve)return Xe;if(r&&n===Ve)return`${r}.${Ve}`;if(n===We)return`http-intake.logs.${n}`;const o=n.split("."),i=o.pop();return`browser-intake-${o.join("-")}.${i}`}(t,e);return e=>`https://${o}${n}?${e}`}(e,t);return{build(o,i){const a=function({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},r,o,{retry:i,encoding:a},s=[]){const u=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.33.0")}`,"dd-evp-origin=browser",`dd-request-id=${yn()}`].concat(s);a&&u.push(`dd-evp-encoding=${a}`);"rum"===r&&(u.push(`batch_time=${oe()}`,`_dd.api=${o}`),i&&u.push(`_dd.retry_count=${i.count}`,`_dd.retry_after=${i.lastFailureStatus}`));t&&u.reverse();return u.join("&")}(e,t,o,i,n);return r(a)},trackType:t}}function uo(e){const t=e.site||Ve,n=function(e){if("flutter"===e||"unity"===e)return e;return"browser"}(e.source),r=function(e){return{logsEndpointBuilder:so(e,"logs"),rumEndpointBuilder:so(e,"rum"),profilingEndpointBuilder:so(e,"profile"),sessionReplayEndpointBuilder:so(e,"replay"),exposuresEndpointBuilder:so(e,"exposures"),flagEvaluationEndpointBuilder:so(e,"flagevaluation")}}({...e,site:t,source:n}),o=function(e){if(!e.replica)return;const t={...e,site:Ve,clientToken:e.replica.clientToken};return{logsEndpointBuilder:so(t,"logs"),rumEndpointBuilder:so(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:t,source:n});return{replica:o,site:t,source:n,...r}}function lo(e,t){if(!e.forwardErrorsToLogs)return{stop:N};const n=(S?new _:Zr(e)).subscribe(e=>{"complete"===e.state&&i(no.XHR,e)}),r=ao({responseBodyAction:e=>o(e)?2:0}).subscribe(e=>{"resolve"===e.state&&i(no.FETCH,e)});function o(e){return t=e.url,!Ke.every(e=>t.includes(e))&&(function(e){return 0===e.status&&"opaque"!==e.responseType}(e)||pt(e.status));var t}function i(n,r){if(!o(r))return;const i="error"in r&&r.error?Q(D(r.error)):r.responseBody||"Failed to load",a={isAborted:r.isAborted,handlingStack:r.handlingStack};t.notify(0,{rawLogsEvent:{message:`${co(n)} error ${r.method} ${r.url}`,date:r.startClocks.timeStamp,error:{stack:mn(i,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:on.error,origin:Re},domainContext:a})}return{stop:()=>{n.unsubscribe(),r.unsubscribe()}}}function co(e){return no.XHR===e?"XHR":"Fetch"}const fo=class{constructor(){this.callbacks={}}notify(e,t){const n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}};function po(e){return{handleLog:function(t,n,r,a,s){const u=et(n.getContext(),t.context);if(rn(t.status,ln,n)&&function({status:e,message:t},n){i[ho[e]].call(o,t,n)}(t,u),rn(t.status,cn,n)){const o={rawLogsEvent:{date:s||oe(),message:t.message,status:t.status,origin:Ce},messageContext:u,savedCommonContext:a,ddtags:n.getTags()};r&&(o.domainContext={handlingStack:r}),e.notify(0,o)}}}}const ho={[on.ok]:r.debug,[on.debug]:r.debug,[on.info]:r.info,[on.notice]:r.info,[on.warn]:r.warn,[on.error]:r.error,[on.critical]:r.error,[on.alert]:r.error,[on.emerg]:r.error};const yo="logs";function go(e,t,n,r,o){const i=new fo,a=[];i.subscribe(1,e=>Ye("logs",e));const s=function(e){return t=>{e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Te,status:on.error}}),Ut("Error reported to customer",{"error.message":t.message})}}(i),u=ut(e),l=!e.sessionStoreStrategyType||rt()||jn()?function(e){const t="1"===Br(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new _}}(e):function(e,t){const n=$r(e,"logs",t=>Br(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{const r=n.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:n.expireObservable}}(e,n);!function(e,t){function n(){return t.isGranted()?At:Tt}e.register(0,n),e.register(1,n)}(o,n),function(e,t,n){e.register(0,({startTime:e})=>{const r=n.findTrackedSession(e);return n.findTrackedSession(e,{returnInactive:!0})?{service:t.service,session_id:r?r.id:void 0,session:r?{id:r.id}:void 0}:Tt}),e.register(1,({startTime:e})=>{const t=n.findTrackedSession(e);return t&&t.id?{session:{id:t.id}}:At})}(o,e,l);const c=function(e,t,n){const r=$n();return t.storeContextsAcrossPages&&Fn(t,r,n,4),e.register(0,()=>{const e=r.getContext();return Me(e)||!e.id?At:{account:e}}),r}(o,e,yo),f=function(e,t,n,r){const o=zn();return t.storeContextsAcrossPages&&Fn(t,o,r,1),e.register(0,({eventType:e,startTime:r})=>{const i=o.getContext(),a=n.findTrackedSession(r);return a&&a.anonymousId&&!i.anonymous_id&&t.trackAnonymousUser&&(i.anonymous_id=a.anonymousId),Me(i)?At:{type:e,usr:i}}),e.register(1,({startTime:e})=>{var t;return{anonymous_id:null===(t=n.findTrackedSession(e))||void 0===t?void 0:t.anonymousId}}),o}(o,e,l,yo),p=function(e,t,n,r){const o=Bn();return t.storeContextsAcrossPages&&Fn(t,o,n,2),e.register(0,()=>{const e=o.getContext();return r?{context:e}:e}),o}(o,e,yo,!1);!function(e){const t=w;function n(e){const n=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,jn()?t.DD_RUM_SYNTHETICS:t.DD_RUM);if(n)return n}e.register(0,({startTime:e})=>n(e)||At),e.register(1,({startTime:e})=>{var t,r;const o=n(e);return o?{application:{id:o.application_id},view:{id:null===(t=o.view)||void 0===t?void 0:t.id},action:{id:null===(r=o.user_action)||void 0===r?void 0:r.id}}:At})}(o),Gn(o),lo(e,i),function(e,t,n){if(!e.forwardErrorsToLogs)return{stop:N};const r=n.subscribe(e=>{if(0===e.type){const n=e.error;t.notify(0,{rawLogsEvent:{message:n.message,date:n.startClocks.timeStamp,error:sn(n),origin:Ne,status:on.error},messageContext:n.context})}})}(e,i,r),r.unbuffer(),function(e,t){const n=Gr(e.forwardConsoleLogs).subscribe(e=>{var n;const r={rawLogsEvent:{date:oe(),message:e.message,origin:Ae,error:e.error&&sn(e.error),status:Wr[e.api]},messageContext:null===(n=e.error)||void 0===n?void 0:n.context,domainContext:{handlingStack:e.handlingStack}};t.notify(0,r)})}(e,i),function(e,t){const n=Xr(e,e.forwardReports).subscribe(e=>{let n,r=e.message;const o="deprecation"===e.originalError.type?on.warn:on.error;var i,a;o===on.error?n=sn(e):e.stack&&(r+=` Found in ${i=e.stack,null===(a=/@ (.+)/.exec(i))||void 0===a?void 0:a[1]}`),t.notify(0,{rawLogsEvent:{date:oe(),message:r,origin:Pe,error:n,status:o}})})}(e,i);const{handleLog:d}=po(i);if(qr(e,i,o,t,s),rt())!function(e){const t=nt();e.subscribe(1,e=>{t.send("log",e)})}(i);else{const{stop:t}=function(e,t,n,r,o){const i=[e.logsEndpointBuilder];e.replica&&i.push(e.replica.logsEndpointBuilder);const a=ct({encoder:It(),request:St(i,n),flushController:Ot({pageMayExitObservable:r,sessionExpireObservable:o.expireObservable})});return t.subscribe(1,e=>{a.add(e)}),a}(e,i,s,u,l);a.push(()=>t())}var h;return{handleLog:d,getInternalContext:(h=l,{get:e=>{const t=h.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,accountContext:c,globalContext:p,userContext:f,stop:()=>{a.forEach(e=>e())}}}const mo=function(){const e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){const r=e[t]||[],o=[];for(const e of r){const t=e(n);if(t===Tt)return Tt;t!==At&&o.push(t)}return et(...o)}}};const vo=["chrome-extension://","moz-extension://"];function bo(e){return vo.some(t=>e.includes(t))}function wo(e,t){const n=b().location,r=n?n.origin:"",o=e.allowedTrackingOrigins;if(!o)return!function(e,t=""){return!bo(e)&&bo(t.split("\n").filter(e=>{const t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(r,t)||(s.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);const i=function(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.lastIndex=0,e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){s.error(e)}return!1})}(o,r);return i||s.error("SDK initialized on a non-allowed domain."),i}function So(e,t){return null==e||"string"==typeof e||(s.error(`${t} must be defined as a string`),!1)}function Eo(e,t){return!!(void 0===e||(n=e,function(e){return"number"==typeof e}(n)&&n>=0&&n<=100))||(s.error(`${t} Sample Rate should be a number between 0 and 100`),!1);var n}function _o(e,t){var n,r,o,i,a,l,p,d,h,y;if(e&&e.clientToken)if(void 0===e.allowedTrackingOrigins||Array.isArray(e.allowedTrackingOrigins)){if((!(g=e.site)||"string"!=typeof g||/(datadog|ddog|datad0g|dd0g)/.test(g)||(s.error(`Site should be a valid Datadog site. ${c} ${u}/getting_started/site/.`),0))&&Eo(e.sessionSampleRate,"Session")&&Eo(e.telemetrySampleRate,"Telemetry")&&Eo(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&Eo(e.telemetryUsageSampleRate,"Telemetry Usage")&&So(e.version,"Version")&&So(e.env,"Env")&&So(e.service,"Service")&&wo(e,null!=t?t:"")){var g;if(void 0===e.trackingConsent||De(O,e.trackingConsent))return{beforeSend:e.beforeSend&&f(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:S?void 0:jr(e),sessionSampleRate:null!==(n=e.sessionSampleRate)&&void 0!==n?n:100,telemetrySampleRate:null!==(r=e.telemetrySampleRate)&&void 0!==r?r:20,telemetryConfigurationSampleRate:null!==(o=e.telemetryConfigurationSampleRate)&&void 0!==o?o:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:null!==(a=e.service)&&void 0!==a?a:void 0,env:null!==(l=e.env)&&void 0!==l?l:void 0,version:null!==(p=e.version)&&void 0!==p?p:void 0,datacenter:null!==(d=e.datacenter)&&void 0!==d?d:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(h=e.trackingConsent)&&void 0!==h?h:O.GRANTED,trackAnonymousUser:null===(y=e.trackAnonymousUser)||void 0===y||y,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...uo(e)};s.error('Tracking Consent should be either "granted" or "not-granted"')}}else s.error("Allowed Tracking Origins must be an array");else s.error("Client Token is not configured, we will not send any data.")}function ko(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(e=>t.includes(e))?"all"===e?t:function(e){const t=new Set;return e.forEach(e=>t.add(e)),Array.from(t)}(e):void s.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`)}function xo(e){const t={session_sample_rate:(n=e).sessionSampleRate,telemetry_sample_rate:n.telemetrySampleRate,telemetry_configuration_sample_rate:n.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:n.telemetryUsageSampleRate,use_before_send:!!n.beforeSend,use_partitioned_cross_site_session_cookie:n.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:n.useSecureSessionCookie,use_proxy:!!n.proxy,silent_multiple_init:n.silentMultipleInit,track_session_across_subdomains:n.trackSessionAcrossSubdomains,track_anonymous_user:n.trackAnonymousUser,session_persistence:Array.isArray(n.sessionPersistence)?n.sessionPersistence[0]:n.sessionPersistence,allow_fallback_to_local_storage:!!n.allowFallbackToLocalStorage,store_contexts_across_pages:!!n.storeContextsAcrossPages,allow_untrusted_events:!!n.allowUntrustedEvents,tracking_consent:n.trackingConsent,use_allowed_tracking_origins:Array.isArray(n.allowedTrackingOrigins),beta_encode_cookie_options:n.betaEncodeCookieOptions,source:n.source,sdk_version:n.sdkVersion,variant:n.variant};var n;return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}function Oo(e,t,n){const o=function(){const e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{Wn(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}(),i=Bn();Ht(i,Wt,o);const a=$n();Ht(a,Vt,o);const u=zn();let l,c;Ht(u,Gt,o);const f=mo(),p=t.observable.subscribe(d);function d(){if(!c||!l||!t.isGranted())return;Mt("browser-logs-sdk",c,f),p.unsubscribe();const e=n(l,c,f);o.drain(e)}return{init(e,n){if(!e)return void s.error("Missing configuration");if($e(e.enableExperimentalFeatures),rt()&&(e=function(e){return{...e,clientToken:"empty"}}(e)),l=e,function(e){Dt().notify({rawEvent:{type:Rt,configuration:e}})}(xo(e)),c)return void Zt("DD_LOGS",e);const o=function(e,t){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&s.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");const n=_o(e,t),o=ko(e.forwardConsoleLogs,ot(r),"Forward Console Logs"),i=ko(e.forwardReports,ot(Vr),"Forward Reports");if(n&&o&&i)return e.forwardErrorsToLogs&&!o.includes(r.error)&&o.push(r.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:o,forwardReports:i,requestErrorResponseLengthLimit:32768,...n}}(e,n);o&&(c=o,ao().subscribe(N),t.tryToInit(o.trackingConsent),d())},get initConfiguration(){return l},globalContext:i,accountContext:a,userContext:u,getInternalContext:N,handleLog(t,n,r,i=e(),a=oe()){o.add(e=>e.handleLog(t,n,r,i,a))}}}const Io=function(){const e=function(e){const t=new _;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===O.GRANTED,observable:t}}(),t=function(){const e=new x(500),t=je().subscribe(t=>{e.notify({type:0,error:t})});return{observable:e,stop:()=>{t.unsubscribe()}}}().observable;let n=Oo(hn,e,(r,o,i)=>{const a=go(o,hn,e,t,i);return n=function(e,t){return{init:e=>{Zt("DD_LOGS",e)},initConfiguration:e,...t}}(r,a),a});const r=()=>n,o={};return function(e){const t={version:"6.33.0",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>h,enumerable:!1}),t}({logger:new pn((...e)=>n.handleLog(...e)),init:e=>{const t=(new Error).stack;g(()=>n.init(e,t))},setTrackingConsent:y(t=>{e.update(t),$t({feature:"set-tracking-consent",tracking_consent:t})}),getGlobalContext:qt(r,Wt,Xt),setGlobalContext:qt(r,Wt,Kt),setGlobalContextProperty:qt(r,Wt,Yt),removeGlobalContextProperty:qt(r,Wt,Qt),clearGlobalContext:qt(r,Wt,Jt),createLogger:y((e,t={})=>(o[e]=new pn((...e)=>n.handleLog(...e),ge(e),t.handler,t.level,ge(t.context)),o[e])),getLogger:y(e=>o[e]),getInitConfiguration:y(()=>Ze(n.initConfiguration)),getInternalContext:y(e=>n.getInternalContext(e)),setUser:qt(r,Gt,Kt),getUser:qt(r,Gt,Xt),setUserProperty:qt(r,Gt,Yt),removeUserProperty:qt(r,Gt,Qt),clearUser:qt(r,Gt,Jt),setAccount:qt(r,Vt,Kt),getAccount:qt(r,Vt,Xt),setAccountProperty:qt(r,Vt,Yt),removeAccountProperty:qt(r,Vt,Qt),clearAccount:qt(r,Vt,Jt)})}();!function(e,t,n){const r=e[t];r&&!r.q&&r.version&&s.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>f(e,"onReady callback threw an error:")())}(b(),"DD_LOGS",Io)},92891(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taxIdTypes=t.countryCodeToName=t.stringToNumber=t.getFormattedAmount=t.calculateDiscountPercentage=t.formatTaxDescription=t.formatCurrency=t.roundCurrency=t.formatPrices=void 0;const n=new Intl.NumberFormat([],{minimumFractionDigits:2,maximumFractionDigits:2});function r(e){if(null!=e)return n.format(e)}function o(e){return e<.5?.5:Math.round(100*e)/100}function i(e){if("string"!=typeof e)throw new Error(`Invalid string: ${e}`);const t=Number(e.replace(/,/g,""));if(Number.isNaN(t))throw new Error(`Invalid number: ${e}`);return t}t.formatPrices=r,t.roundCurrency=o,t.formatCurrency=function(e){let t=e;if("string"==typeof t&&(t=i(t)),Number.isNaN(t))throw new Error(`Invalid currency value: ${t}. Must be a number or a string - received ${typeof t}.`);return i(n.format(t))},t.formatTaxDescription=function(e){if("object"!=typeof e)throw new Error("Invalid tax rate: must be an expanded object.");const{display_name:t,percentage:n,jurisdiction:r}=e;return`${t} - ${r} (${n}%)`},t.calculateDiscountPercentage=function(e,t){return o(e-e*t/100)},t.getFormattedAmount=function(e){const t=e.toString().padStart(2,"0"),n=`${t.slice(0,t.length-2)}.${t.slice(t.length-2)}`;return`${e<0?"-$":"$"}${r(parseFloat(n))?.replace("-","")||"0.00"}`},t.stringToNumber=i,t.countryCodeToName=function(e){return new Intl.DisplayNames([],{type:"region"}).of(e)},t.taxIdTypes=[{country:"Australia",countryCode:"AU",type:"au_abn",description:"Australian Business Number (AU ABN)",placeholder:"12345678912"},{country:"Australia",countryCode:"AU",type:"au_arn",description:"Australian Taxation Office Reference Number",placeholder:"123456789123"},{country:"Brazil",countryCode:"BR",type:"br_cnpj",description:"Brazilian CNPJ number",placeholder:"01.234.456/5432-10"},{country:"Brazil",countryCode:"BR",type:"br_cpf",description:"Brazilian CPF number",placeholder:"123.456.789-87"},{country:"Bulgaria",countryCode:"BG",type:"bg_uic",description:"Bulgaria Unified Identification Code",placeholder:"123456789"},{country:"Canada",countryCode:"CA",type:"ca_bn",description:"Canadian BN",placeholder:"123456789"},{country:"Canada",countryCode:"CA",type:"ca_gst_hst",description:"Canadian GST/HST number",placeholder:"123456789RT0002"},{country:"Canada",countryCode:"CA",type:"ca_pst_bc",description:"Canadian PST number (British Columbia)",placeholder:"PST-1234-5678"},{country:"Canada",countryCode:"CA",type:"ca_pst_mb",description:"Canadian PST number (Manitoba)",placeholder:"123456-7"},{country:"Canada",countryCode:"CA",type:"ca_pst_sk",description:"Canadian PST number (Saskatchewan)",placeholder:"1234567"},{country:"Canada",countryCode:"CA",type:"ca_qst",description:"Canadian QST number (Québec)",placeholder:"1234567890TQ1234"},{country:"Chile",countryCode:"CL",type:"cl_tin",description:"Chilean TIN",placeholder:"12.345.678-K"},{country:"Egypt",countryCode:"EG",type:"eg_tin",description:"Egyptian Tax Identification Number",placeholder:"123456789"},{country:"EU",countryCode:"EU",type:"eu_oss_vat",description:"European One Stop Shop VAT number for non-Union scheme",placeholder:"EU123456789"},{country:"EU VAT",countryCode:"EU",type:"eu_vat",description:"European VAT number",placeholder:"EU123456789"},{country:"Georgia",countryCode:"GE",type:"ge_vat",description:"Georgian VAT",placeholder:"123456789"},{country:"Hong Kong",countryCode:"HK",type:"hk_br",description:"Hong Kong BR number",placeholder:"12345678"},{country:"Hungary",countryCode:"HU",type:"hu_tin",description:"Hungary tax number (adószám)",placeholder:"12345678-1-23"},{country:"Iceland",countryCode:"IS",type:"is_vat",description:"Icelandic VAT",placeholder:"123456"},{country:"India",countryCode:"IN",type:"in_gst",description:"Indian GST number",placeholder:"12ABCDE3456FGZH"},{country:"Indonesia",countryCode:"ID",type:"id_npwp",description:"Indonesian NPWP number",placeholder:"12.345.678.9-012.345"},{country:"Israel",countryCode:"IL",type:"il_vat",description:"Israel VAT",placeholder:"12345"},{country:"Japan",countryCode:"JP",type:"jp_cn",description:"Japanese Corporate Number",placeholder:"1234567891234"},{country:"Japan",countryCode:"JP",type:"jp_rn",description:"Japanese Registered Foreign Businesses Number",placeholder:"12345"},{country:"Japan",countryCode:"JP",type:"jp_trn",description:"Japanese Tax Registration Number",placeholder:"T1234567891234"},{country:"Kenya",countryCode:"KE",type:"ke_pin",description:"Kenya PIN",placeholder:"P000111111A"},{country:"Liechtenstein",countryCode:"LI",type:"li_uid",description:"Liechtensteinian UID number",placeholder:"CHE123456789"},{country:"Malaysia",countryCode:"MY",type:"my_frp",description:"Malaysian FRP number",placeholder:"12345678"},{country:"Malaysia",countryCode:"MY",type:"my_itn",description:"Malaysian ITN",placeholder:"C 1234567890"},{country:"Malaysia",countryCode:"MY",type:"my_sst",description:"Malaysian SST number",placeholder:"A12-3456-78912345"},{country:"Mexico",countryCode:"MX",type:"mx_rfc",description:"Mexican RFC number",placeholder:"ABC010203AB9"},{country:"New Zealand",countryCode:"NZ",type:"nz_gst",description:"New Zealand GST number",placeholder:"123456789"},{country:"Norway",countryCode:"NO",type:"no_vat",description:"Norwegian VAT number",placeholder:"123456789MVA"},{country:"Philippines",countryCode:"PH",type:"ph_tin",description:"Philippines TIN",placeholder:"123456789012"},{country:"Russia",countryCode:"RU",type:"ru_inn",description:"Russian INN",placeholder:"1234567891"},{country:"Russia",countryCode:"RU",type:"ru_kpp",description:"Russian KPP",placeholder:"123456789"},{country:"Saudi Arabia",countryCode:"SA",type:"sa_vat",description:"Saudi Arabia VAT",placeholder:"`123456789012345"},{country:"Singapore",countryCode:"SG",type:"sg_gst",description:"Singaporean GST",placeholder:"M12345678X"},{country:"Singapore",countryCode:"SG",type:"sg_uen",description:"Singaporean UEN",placeholder:"123456789F"},{country:"Slovenia",countryCode:"SI",type:"si_tin",description:"Slovenia tax number",placeholder:"12345678"},{country:"South Africa",countryCode:"ZA",type:"za_vat",description:"South African VAT number",placeholder:"4123456789"},{country:"South Korea",countryCode:"KR",type:"kr_brn",description:"Korean BRN",placeholder:"123-45-67890"},{country:"Spain",countryCode:"ES",type:"es_cif",description:"Spanish NIF",placeholder:"A12345678"},{country:"Switzerland",countryCode:"CH",type:"ch_vat",description:"Switzerland VAT number",placeholder:"CHE-123.456.789 MWST"},{country:"Taiwan",countryCode:"TW",type:"tw_vat",description:"Taiwanese VAT",placeholder:"12345678"},{country:"Thailand",countryCode:"TH",type:"th_vat",description:"Thai VAT",placeholder:"1234567891234"},{country:"Turkey",countryCode:"TR",type:"tr_tin",description:"Turkish Tax Identification Number",placeholder:"123456789"},{country:"Ukraine",countryCode:"UA",type:"ua_vat",description:"Ukrainian VAT",placeholder:"123456789"},{country:"United Arab Emirates",countryCode:"AE",type:"ae_trn",description:"United Arab Emirates TRN",placeholder:"123456789012345"},{country:"United Kingdom",countryCode:"GB",type:"eu_vat",description:"Northern Ireland VAT number",placeholder:"XI123456789"},{country:"United Kingdom",countryCode:"GB",type:"gb_vat",description:"United Kingdom VAT number",placeholder:"GB123456789"},{country:"United States",countryCode:"US",type:"us_ein",description:"United States EIN",placeholder:"12-3456789"}]},90270(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.MetricActionNames=t.MetricPeriodId=t.listEnterpriseProductAccess=t.listUserProductAccess=t.getPrioritySubscription=t.getControllingProductSubscription=t.isPriceTaxable=t.getPriceFromSubscription=t.getTrialEligibility=t.canUserStartTrial=t.getProductSubscription=t.getAllUserSubscriptions=t.listProductAccess=t.PRODUCT_BUNDLES=t.ProductSlugs=void 0,i(n(92891),t),function(e){e.advancedRules="advanced-rules",e.axeDevToolsHTML="axe-devtools-html",e.axeDevToolsMobile="axe-devtools-mobile",e.axeDevToolsExtension="axe-devtools-pro",e.axeDevToolsWatcher="axe-devtools-watcher",e.axeLinter="axe-devtools-linter",e.axeReports="axe-reports",e.axeMonitor="axe-monitor",e.axeAuditor="axe-auditor",e.dequeUniversity="deque-university",e.axeSpider="axe-spider",e.jiraIntegration="jira-integration",e.jiraOnPremIntegration="jira-on-prem-integration",e.jiraDirectCloudIntegration="jira-direct-cloud-integration",e.axeAuditorIntegration="axe-auditor-integration",e.customIntegration="custom-integration",e.axeAssistantSlack="axe-assistant-slack",e.axeAssistantTeams="axe-assistant-teams",e.scimService="scim-service",e.axeMCPServer="axe-mcp-server"}(r||(t.ProductSlugs=r={}));const a="none",s={[r.advancedRules]:a,[r.axeDevToolsHTML]:a,[r.axeDevToolsMobile]:a,[r.axeDevToolsExtension]:a,[r.axeDevToolsWatcher]:a,[r.axeLinter]:a,[r.axeReports]:a,[r.axeMonitor]:a,[r.axeAuditor]:a,[r.dequeUniversity]:a,[r.axeSpider]:a,[r.jiraIntegration]:a,[r.jiraOnPremIntegration]:a,[r.jiraDirectCloudIntegration]:a,[r.axeAuditorIntegration]:a,[r.customIntegration]:a,[r.axeAssistantSlack]:a,[r.axeAssistantTeams]:a,[r.scimService]:a,[r.axeMCPServer]:a},u={none:1,free:2,free_payment_failed:3,trial_ended:4,trial_payment_failed:5,paid_payment_failed:6,trialing:7,paid:8};t.PRODUCT_BUNDLES={[r.axeDevToolsExtension]:[r.axeDevToolsHTML],[r.axeMCPServer]:[r.axeDevToolsHTML]};t.listProductAccess=e=>{if(!Array.isArray(e))throw new TypeError("`subscriptions` must be an array");const n={...s};for(const t of e){const e=t.purchase_state,r=t.product_slug,o=n[r];o?u[e]>u[o]&&(n[r]=e):n[r]=e}for(const[e,r]of Object.entries(t.PRODUCT_BUNDLES)){const t=e;for(const e of r){const r=n[e];r!==a&&(n[t]=l([n[t],r]))}}return n};const l=e=>e.filter(e=>Boolean(e)).reduce((e,t)=>u[t]>u[e]?t:e,a);t.getAllUserSubscriptions=(e,t="all")=>"all"===t?[...e.subscriptions,...e.enterprises.flatMap(e=>e.subscriptions)]:[...e.subscriptions,...e.enterprises[0]?.subscriptions||[]],t.getProductSubscription=function(e,n){return(0,t.getPrioritySubscription)(e,void 0,n)};t.canUserStartTrial=({user:e,productSlug:n,enterprise:r,isEnterpriseAdmin:o=!1})=>{if(r){return"none"===(0,t.listProductAccess)(r.subscriptions)[n]&&o}return"none"===(0,t.listProductAccess)(e.subscriptions)[n]};t.getTrialEligibility=({user:e,product:n,enterprise:r,isEnterpriseAdmin:o=!1})=>{if(r&&!o)return{canStartTrial:!1,isRestart:!1};const i=n.slug;let a;if(a=r?(0,t.getControllingProductSubscription)({entity:r,productSlug:i}):(0,t.getControllingProductSubscription)({entity:e,productSlug:i}),null===a)return{canStartTrial:!0,isRestart:!1};if(a.stripe_id)return{canStartTrial:!1,isRestart:!1};const s=a.purchase_state;if("paid"!==s&&!a.trial_expires)return{canStartTrial:!0,isRestart:!1};if("trialing"!==s&&"paid"!==s&&null!==a.trial_expires&&null!==n.reactivate_trial_cutoff){const e=new Date(a.trial_expires)<new Date(n.reactivate_trial_cutoff);return{canStartTrial:e,isRestart:e}}return{canStartTrial:!1,isRestart:!1}};t.getPriceFromSubscription=e=>e.items.data[0].price;t.isPriceTaxable=e=>!(!e.metadata.taxable||"true"!==e.metadata.taxable);t.getControllingProductSubscription=({entity:e,productSlug:n,favoredProduct:r,includeEnterprises:o="all"})=>{const i=e=>e.length?(0,t.getPrioritySubscription)(e,r,n):null;if("keycloak_id"in e){const t=e.enterprises.length>0;let n=[];return t&&(n="all"===o?e.enterprises.flatMap(e=>e.subscriptions):"active-only"===o?e.enterprises[0].subscriptions:e.enterprises.find(e=>e.id===o)?.subscriptions||[]),i(t?n:e.subscriptions)}return i(e.subscriptions)};t.getPrioritySubscription=(e,n,o=r.axeDevToolsExtension)=>{const i=t.PRODUCT_BUNDLES[o];return e.filter(e=>e.product_slug===o||i?.includes(e.product_slug)).sort((e,t)=>{const r=u[e.purchase_state],i=u[t.purchase_state];return r!==i?i-r:e.product_slug===(n??o)?-1:t.product_slug===(n??o)?1:0})[0]??null};const c=(e,n="all")=>{const o=structuredClone(s);for(const i of Object.values(r)){const r=(0,t.getControllingProductSubscription)({entity:e,productSlug:i,includeEnterprises:n});r&&(o[i]=r.purchase_state)}return o};t.listUserProductAccess=(e,t="all")=>c(e,t);var f,p;t.listEnterpriseProductAccess=e=>c(e),function(e){e.calendarMonthly="calendar-monthly",e.calendarAnnual="calendar-annual",e.billingMonthly="billing-monthly"}(f||(t.MetricPeriodId=f={})),function(e){e.sendIssue="send issue"}(p||(t.MetricActionNames=p={}))},13580(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.browser=globalThis.browser}return e.prototype.get=function(t){if(this.contextIsBrowserApp)return new Promise(function(e){var n=localStorage.getItem(t);if(!n)return e(null);try{e(JSON.parse(n))}catch(t){e(n)}});var n=this.browserStorageArea;return n?n.get(t).then(function(e){var n=e[t];if(!n)return null;try{return JSON.parse(n)}catch(e){return n}}):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},e.prototype.set=function(t,n){var r,o=n;if("string"!=typeof n)try{o=JSON.stringify(n)}catch(e){}if(this.contextIsBrowserApp)return new Promise(function(e){localStorage.setItem(t,o),e()});var i=this.browserStorageArea;return i?i.set((r={},r[t]=o,r)).then(function(){}):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},Object.defineProperty(e.prototype,"contextIsBrowserApp",{get:function(){return void 0===this.browser||void 0===this.browser.storage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"browserStorageArea",{get:function(){var e,t,n,r;return(null===(t=null===(e=this.browser)||void 0===e?void 0:e.storage)||void 0===t?void 0:t.sync)||(null===(r=null===(n=this.browser)||void 0===n?void 0:n.storage)||void 0===r?void 0:r.local)},enumerable:!1,configurable:!0}),e.STORAGE_AREA_ERROR="Failed to determine which storage area is suitable to use.",e}();t.default=n},23884(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setDistinctIdCookie=t.getDistinctIdCookie=void 0;var u=s(n(95796)),l=s(n(13580)),c=s(n(19668)),f="https://axe.deque.com",p=null===(r=globalThis.location)||void 0===r?void 0:r.origin,d="distinct_id",h=new l.default;t.getDistinctIdCookie=function(e){return void 0===e&&(e={}),i(void 0,void 0,void 0,function(){var n,r,i,s,l,y,g,m,v,b,w,S,E,_;return a(this,function(a){switch(a.label){case 0:return n=!!e.token,r=e.key,i=void 0===r?d:r,s=e.host,l=void 0===s?f:s,y=e.origin,g=void 0===y?p:y,[4,h.get(i)];case 1:return m=a.sent()||{},v=m.distinct_id,b=m.keycloak_id,[4,(0,c.default)({method:"GET",host:l,origin:g,token:e.token})];case 2:return w=a.sent()||{},S=w.distinct_id,E=w.keycloak_id,v&&v===S&&b&&b===E&&(0,u.default)(w.data,m.data)?[2,m]:(_={distinct_id:""},S||v?S?E?[3,10]:n?(_.distinct_id=S,_.data=v!==S?w.data:o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]):v?[3,5]:(_.distinct_id=S,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,4]):[3,15]:(_.distinct_id=crypto.randomUUID(),_.keycloak_id=E||b,_.data=E!==b&&b?w.data:o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]));case 3:case 8:case 13:return a.sent(),[2,_];case 4:case 9:case 14:return[2,(0,t.setDistinctIdCookie)(_,e)];case 5:return v===S?[3,7]:[4,h.set(i,w)];case 6:case 11:return a.sent(),[2,w];case 7:return b?(_.keycloak_id=b,_.distinct_id=v,_.data=o(o({},m.data),w.data),[2,(0,t.setDistinctIdCookie)(_,e)]):(_.distinct_id=S,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,9]);case 10:return v&&S!==v?E===b?[3,12]:[4,h.set(i,w)]:[3,12];case 12:return _.distinct_id=S,_.keycloak_id=E,_.data=o(o({},m.data),w.data),(0,u.default)(_.data,w.data)?[4,h.set(i,_)]:[3,14];case 15:return E&&E!==b?(_.distinct_id=crypto.randomUUID(),_.keycloak_id=E,_.data=w.data):(_.distinct_id=v,_.keycloak_id=b,_.data=o(o({},m.data),w.data)),[2,(0,t.setDistinctIdCookie)(_,e)]}})})};t.default=function(e){return void 0===e&&(e={}),i(void 0,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,(0,t.getDistinctIdCookie)(e)];case 1:return[2,n.sent().distinct_id]}})})};t.setDistinctIdCookie=function(e,t){var n=void 0===t?{}:t,r=n.key,o=void 0===r?d:r,s=n.host,u=void 0===s?f:s,l=n.origin,y=void 0===l?p:l,g=n.token;return i(void 0,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return[4,h.set(o,e)];case 1:return t.sent(),[4,(0,c.default)({method:"POST",host:u,origin:y,token:g,payload:e})];case 2:return t.sent(),[2,e]}})})}},19668(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(80763));t.default=function(e){return r(void 0,void 0,void 0,function(){var t,n,r,i,s;return o(this,function(o){switch(o.label){case 0:t=(0,a.default)(e.host)+"/api/distinct_id",n={Origin:e.origin},e.payload&&(r=JSON.stringify(e.payload),n["Content-Type"]="application/json"),e.token&&(n.Authorization="Bearer ".concat(e.token)),i={credentials:"include",method:e.method,headers:n,body:r},o.label=1;case 1:return o.trys.push([1,4,,5]),[4,fetch(t,i)];case 2:return(s=o.sent()).ok?[4,s.json()]:[2,null];case 3:return[2,o.sent()];case 4:return o.sent(),[2,null];case 5:return[2]}})})}},85500(e,t){"use strict";const n=[{key:"devInstance",suffix:"DEV_INSTANCE",override:!0},{key:"loggedIn",suffix:"LOGGED_IN",override:!1}],r=[{key:"keycloakId",suffix:"KEYCLOAK_ID",override:!1},{key:"userId",suffix:"USER_ID",override:!1},{key:"organization",suffix:"ORGANIZATION",override:!0},{key:"department",suffix:"DEPARTMENT",override:!0},{key:"application",suffix:"APPLICATION",override:!1},{key:"sessionId",suffix:"SESSION_ID",override:!1},{key:"userStatus",suffix:"USER_STATUS",override:!1},{key:"userJobRole",suffix:"USER_JOB_ROLE",override:!1}],o=["userJobRole","applicationProperties","distinctId","keycloakId","loggedIn","userStatus"];function i(e){return{NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}[e]||null}async function a(e,t,n){if(!function(e){if("object"!=typeof e||null===e)return!1;const t=e;if("ECONNREFUSED"===t.code)return!0;const{cause:n}=t;return"object"==typeof n&&null!==n&&"ECONNREFUSED"===n.code}(n))return;const r=new URL(e);if("https:"===r.protocol){r.protocol="http:";try{const e=await s(r.href,t);await(e.body?.cancel())}catch{}}}async function s(e,t){return fetch(e,{method:"POST",credentials:"omit",headers:{"Content-Type":"application/json",Accept:"application/json, text/plain, */*"},body:JSON.stringify(t),signal:AbortSignal.timeout(1e4)})}t.Ay=class{productName;productComponent;productComponentVersion;myUrl;myTrackUsage;myDistinctId;enableTrackingFromEnv;urlFromEnv;didFromEnv;constructor(e,t,n){this.productName=e,this.productComponent=t,this.productComponentVersion=n;const r=i("AXE_TRACK_USAGE");this.myTrackUsage="true"===r,this.enableTrackingFromEnv=null!==r;const o=i("AXE_METRICS_URL");this.myUrl=o||"https://usage.deque.com",this.urlFromEnv=null!==o,i("AXE_DISTINCT_ID"),this.didFromEnv=!1}distinctId(e){return e&&(this.myDistinctId=e),this.myDistinctId}enableTracking(e){return void 0!==e&&(this.myTrackUsage=e),this.myTrackUsage}url(e){return void 0!==e&&(this.myUrl=e),this.myUrl}prepareEventData(e){if(!this.myTrackUsage)return null;let t="v1";for(const n of o)if(Object.prototype.hasOwnProperty.call(e,n)){t="v2";break}const a={dateTime:new Date,productComponent:this.productComponent,productName:this.productName,version:t};return"v2"===t&&(a.productComponentVersion=this.productComponentVersion,function(e){for(const{key:t,suffix:r,override:o}of n){if(t in e&&!o)continue;const n=i(`AXE_${r}`);null!==n&&(e[t]="true"===n)}for(const{key:t,suffix:n,override:o}of r){if(t in e&&!o)continue;const r=i(`AXE_${n}`);null!==r&&(e[t]=r)}}(e)),{...a,...e}}postEvent(e){const t=this.prepareEventData(e);if(!t)return;const n=`${this.myUrl}/${t.version}/event`;s(n,t).then(e=>e.body?.cancel()).catch(e=>{a(n,t,e)})}async postEventAsync(e){const t=this.prepareEventData(e);if(!t)return;const n=`${this.myUrl}/${t.version}/event`;try{const e=await s(n,t);await(e.body?.cancel())}catch(e){await a(n,t,e)}}}},96367(e,t,n){"use strict";t._O=t.yS=void 0;var r=n(23092),o=a(n(92859)),i=a(n(35226));function a(e){return e&&e.__esModule?e:{default:e}}const{background:s,devtools:u,content:l}=o.default,c=Object.values(o.default),f=(0,i.default)("bridge"),p=(0,i.default)("bridge:message"),d=(0,i.default)("bridge:response");const h=new class{constructor(){if(!c.includes(r.browser.context||""))throw new Error(`Unable to initialize web-extension bridge. Unsupported context: ${r.browser.context}`);this.messageListeners=new Map,this.attachListener()}get context(){return r.browser.context}attachListener=()=>{const{browserListener:e}=this;r.browser.hasListener(e)||(f("web-extension bridge initialized with context %s",r.browser.context),r.browser.addListener(e))};browserListener=(e,t)=>{const{origin:n,context:o,topic:i,message:a,options:c={}}=e,{tab:f,frameId:p}=t,d=f&&-1!==f.id?f.id:c?.tabId;if(!n)return;if(r.browser.context===s&&o===l){const{frameId:e,allFrames:t}=c;return this.send(o,i,a,{tabId:c?.tabId||d,frameId:e,allFrames:t})}const h=r.browser.context!==u||r.browser.tabId===d;if(o!==r.browser.context||!h)return;const y=this.getListeners(i),g=e=>{console.error(e)};try{for(const e of y){const t=e({context:o,topic:i,message:a,origin:n,tabId:d,frameId:p});if(!e.isGlobal&&void 0!==t)return Promise.resolve(t).catch(g)}}catch(e){g(e)}};async send(e,t,n,{tabId:i,frameId:a=0,allFrames:s=!1}={}){if(!r.browser.context)return;if(!e||!c.includes(e))throw new Error(`Cannot send web-extension bridge message without a valid destination context: ['${c.join("', '")}'].`);let f;i||r.browser.context!==u||(i=r.browser.tabId),f=r.browser.context===u?`${r.browser.context}:${i}`:r.browser.context;let h=e;[r.browser.context,e].includes(l)&&i&&(h+=`:${i}`),p(`[${t}] ${f} → ${h}: %O`,void 0!==n?n:"");const y={origin:f,context:e,topic:t,message:n,options:e===l?{tabId:i,frameId:a,allFrames:s}:{tabId:i}},g=e===o.default.content?{tabId:i,frameId:a,allFrames:s}:void 0;let m=null;try{m=await r.browser.sendMessage(y,g)}catch(e){let t;if(e instanceof Error&&(t=e.message),"Could not establish connection. Receiving end does not exist."!==t)throw e}return null!==m&&d(`[${t}] ${h} → ${f}: %O`,m),m}getListeners(e){const{messageListeners:t}=this;return e&&"*"!==e?[...t.get(e)||[],...t.get("*")||[]]:t.get("*")||[]}listen(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=n.get(e)||[];"*"===e&&(t.isGlobal=!0),r.length?n.set(e,[...r,t]):n.set(e,[t])}unlisten(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=(n.get(e)||[]).filter(e=>e!==t);r.length?n.set(e,r):n.delete(e)}};t.yS=h;const y=o.default;t._O=y},23092(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0;var r,o=(r=n(92859))&&r.__esModule?r:{default:r};const i=e=>void 0!==globalThis.browser&&e in globalThis.browser,a={hasApi:i,get tabId(){return globalThis.browser.devtools?.inspectedWindow.tabId},get context(){return i("devtools")?o.default.devtools:i("tabs")?o.default.background:i("extension")?o.default.content:null},addListener(e){globalThis.browser.runtime.onMessage.addListener(e)},hasListener:e=>globalThis.browser.runtime.onMessage.hasListener(e),removeListener(e){globalThis.browser.runtime.onMessage.removeListener(e)},async sendMessage(e,t={}){if(void 0===a)throw new Error("Cannot send bridge message in a non-browser context.");const{tabId:n,frameId:r,allFrames:o}=t;return n&&globalThis.browser.tabs&&"function"==typeof globalThis.browser.tabs.sendMessage?globalThis.browser.tabs.sendMessage(n,e,{frameId:o?void 0:r}):globalThis.browser.runtime.sendMessage(e)}};t.browser=a},92859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={background:"background",devtools:"devtools",content:"content-script"};t.default=n},27134(e,t){"use strict";t.BRIDGE_TOPIC_PREFIX=t.CHROME_DEBUGGER_VERSION=t.MINIMUM_ML_SCREENSHOT_MARGIN=t.MAX_ML_SCREENSHOT_WIDTH=t.MAX_SCREENSHOT_HEIGHT=t.DEFAULT_IMAGE_TYPE=void 0,t.DEFAULT_IMAGE_TYPE="webp",t.MAX_SCREENSHOT_HEIGHT=16384,t.MAX_ML_SCREENSHOT_WIDTH=1500,t.MINIMUM_ML_SCREENSHOT_MARGIN=500,t.CHROME_DEBUGGER_VERSION="1.3",t.BRIDGE_TOPIC_PREFIX="web-extension-utils"},86652(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.failedToAttach=t.detach=t.sendCommand=t.attach=t.isRuntimeError=t.DEBUGGER=void 0;const o=r(n(35226)),i=n(27134),a=(0,o.default)("debugger:command"),s=(0,o.default)("debugger:response");t.DEBUGGER={CANNOT_ATTACH_TO_THIS_TARGET:"Cannot attach to this target.",CANNOT_ACCESS_DIFFERENT_EXTENSION:/Cannot access a chrome-extension:\/\/ URL of different extension/i};t.isRuntimeError=e=>"object"==typeof e&&null!==e&&"errorSource"in e&&"runtime"===e.errorSource;t.attach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.attach({tabId:e},i.CHROME_DEBUGGER_VERSION,()=>{if(chrome.runtime.lastError){a(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else a(`attach:${e}`),t(!0)})}catch(e){n(e)}});t.sendCommand=async(e,t,n)=>new Promise(r=>{a(`[${t}] command:${e.tabId}`,n),chrome.debugger.sendCommand(e,t,n,n=>{try{chrome.runtime.lastError&&a(chrome.runtime.lastError.message)}finally{s(`[${t}] command:${e.tabId}`,{...n}),r(n)}})});t.detach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.detach({tabId:e},()=>{if(chrome.runtime.lastError){a(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else a(`detach:${e}`),t(!0)})}catch(e){n(e)}});t.failedToAttach=()=>chrome.runtime.lastError&&chrome.runtime.lastError.message&&(chrome.runtime.lastError.message===t.DEBUGGER.CANNOT_ATTACH_TO_THIS_TARGET||t.DEBUGGER.CANNOT_ACCESS_DIFFERENT_EXTENSION.test(chrome.runtime.lastError.message))},86171(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.listeners=t.screenshots=t.debugger=void 0,t.debugger=a(n(86652)),t.screenshots=a(n(28190)),t.listeners=a(n(13810))},13810(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarEventTopics=t.ScrollbarHandler=t.initContentBridgeListeners=void 0;var r=n(60247);Object.defineProperty(t,"initContentBridgeListeners",{enumerable:!0,get:function(){return r.initContentBridgeListeners}});var o=n(75981);Object.defineProperty(t,"ScrollbarHandler",{enumerable:!0,get:function(){return o.ScrollbarHandler}}),Object.defineProperty(t,"ScrollbarEventTopics",{enumerable:!0,get:function(){return o.ScrollbarEventTopics}})},75981(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarHandler=t.ScrollbarEventTopics=void 0;const r=n(27134);t.ScrollbarEventTopics={CURRENT_SCROLL:`${r.BRIDGE_TOPIC_PREFIX}:current-scroll`,SCROLL_TO_TOP:`${r.BRIDGE_TOPIC_PREFIX}:scroll-to-top`,HIDE_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:hide-scrollbars`,SHOW_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:show-scrollbars`};t.ScrollbarHandler=class{constructor(){this.scrollbarStyleElement=null,this.getCurrentScroll=()=>document.documentElement.scrollTop,this.scrollToTop=({message:e})=>{window.scrollTo(e?.x||0,e?.y||0)},this.hideScrollbars=()=>{this.scrollbarStyleElement||(this.scrollbarStyleElement=document.createElement("style"),this.scrollbarStyleElement.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyleElement))},this.showScrollbars=()=>{this.scrollbarStyleElement&&(document.head.removeChild(this.scrollbarStyleElement),this.scrollbarStyleElement=null)}}}},60247(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initContentBridgeListeners=function(e){(e=>{const t=new r.ScrollbarHandler;e.listen(r.ScrollbarEventTopics.CURRENT_SCROLL,t.getCurrentScroll),e.listen(r.ScrollbarEventTopics.SCROLL_TO_TOP,t.scrollToTop),e.listen(r.ScrollbarEventTopics.HIDE_SCROLLBARS,t.hideScrollbars),e.listen(r.ScrollbarEventTopics.SHOW_SCROLLBARS,t.showScrollbars)})(e)};const r=n(75981)},90833(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase64EncodedString=async function(e,t=r.DEFAULT_IMAGE_TYPE){if("toDataURL"in e)return e.toDataURL(t,1);const n=await new Promise(n=>{const r=()=>{const r={type:`image/${t}`,quality:1};e.convertToBlob(r).then(n)};"requestAnimationFrame"in globalThis?requestAnimationFrame(r):setTimeout(r)}),o=new FileReader;return o.readAsDataURL(n),new Promise(e=>{o.onload=()=>{e(o.result)}})},t.convertBase64StringToImage=async function(e){return await new Promise(t=>{const n=new Image;n.src=e,n.onload=()=>t(n)})};const r=n(27134)},4225(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsScreenshots=async function(e,t,n,r){return d(e,t,n,y,r)},t.getElementsScreenshotsWithBoxes=async function(e,t,n,r){return d(e,t,n,g,r)};const o=n(86658),i=n(27134),a=n(86652),s=r(n(44735)),u=r(n(35226)),l=n(75981),c=n(11856),f=(0,s.default)("elementsScreenshots"),p=(0,s.default)("elementScreenshot");async function d(e,t,n,r,o){if(!e)throw new SyntaxError('"bridge" is a required parameter');const s={},p="boolean"==typeof n?.areScrollbarsHidden&&n?.areScrollbarsHidden,d=n?.tabId||browser.devtools.inspectedWindow.tabId,h=n?.format||i.DEFAULT_IMAGE_TYPE;let y=null;if(!n?.isDebuggerAttached)try{await(0,a.attach)(d)}catch(e){if(!(0,a.isRuntimeError)(e)||(0,a.failedToAttach)())return y={message:(0,c.getErrorMessage)(e,"failed to attach debugger")},{screenshots:null,type:h,error:y}}p||await e.send("content-script",l.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:d});try{f.start();for(const i of t){const t=await r(e,i.selector,n);s[i.vnodeId]=t,"function"==typeof o&&o({...i,screenshot:t})}f.end(),(0,u.default)(`getElementsScreenshots: ${f.measure().duration}ms`)}finally{const t=[];if(p||t.push(e.send("content-script",l.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:d})),!n?.isDebuggerAttached){const e=async e=>{try{await(0,a.detach)(e)}catch(e){y={message:(0,c.getErrorMessage)(e,"failed to detach debugger")}}};t.push(e(d))}await Promise.all(t)}return{screenshots:s,type:h,error:y}}async function h(e,t,n,r){const o=n?.tabId||browser.devtools.inspectedWindow.tabId;p.start(),n?.focusElement&&(await(0,a.sendCommand)({tabId:o},"Emulation.setFocusEmulationEnabled",{enabled:!0}),await e.send("content-script","node:focus",{selector:t}));try{const e=await r(o);return p.end(),(0,u.default)(`getElementScreenshots: ${p.measure().duration}ms`),e}finally{n?.focusElement&&await e.send("content-script","node:reset-focus",{selector:t})}}function y(e,t,n){return h(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0}},{tabId:r})??null;return i&&await(0,o.getRectScreenshot)(e,i,n)})}function g(e,t,n){return h(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0,includePageScroll:!0}},{tabId:r})??null,a=i?.rect&&await(0,o.getRectScreenshotWithBox)(e,i.rect,n);return a&&i?.rect?{screenshot:a.screenshot,pageRelativeBoundingBox:m(i.rect,i.scroll),boxInScreenshot:a.boxInScreenshot}:null})}function m(e,t){const n=e.left+t.x,r=e.top+t.y,o=e.width,i=e.height;return{top:r,left:n,right:n+o,bottom:r+i,width:o,height:i}}},7691(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageAreaForMLFeatureDetection=async function(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const a=n?.tabId||browser.devtools?.inspectedWindow?.tabId;try{await(0,o.attach)(a)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return t}const s=await(0,i.getContentSize)(e,a),u=await(0,i.cssToDeviceIndependentPixels)(a,t),l=Math.min(s.width,Math.max(r.MAX_ML_SCREENSHOT_WIDTH,u.width+r.MINIMUM_ML_SCREENSHOT_MARGIN)),c=Math.min(s.height,Math.max(2*l-1,u.height+r.MINIMUM_ML_SCREENSHOT_MARGIN)),f=(l-u.width)/2,p=s.width-(u.x+u.width),d=Math.max(0,u.x-f-Math.max(0,f-p)),h=(c-u.height)/2,y=s.height-(u.y+u.height),g=Math.max(0,u.y-h-Math.max(0,h-y));return{x:d,y:g,width:l,height:c}};const r=n(27134),o=n(86652),i=n(66021)},87131(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getPageScreenshot=async function(e,t){if(!e)throw new SyntaxError('"bridge" is a required parameter');const n=t?.tabId||browser.devtools?.inspectedWindow?.tabId,r=t?.format||p.DEFAULT_IMAGE_TYPE;let l=null;if(!t?.isDebuggerAttached)try{await(0,o.attach)(n)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return l={message:(0,c.getErrorMessage)(e,"failed to attach debugger")},{screenshot:null,zoom:-1,error:l,type:r}}const g=await async function(e,t){const n="boolean"==typeof t.areScrollbarsHidden&&t.areScrollbarsHidden,r="boolean"!=typeof t.fullScreen||t.fullScreen,{tabId:o,format:i}=t;try{n||await e.send("content-script",h.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:o}),y.start();const a=await(0,u.createTimeoutPromise)(()=>(0,f.getScreenshot)(e,{...t,fullScreen:r}),t?.timeout);return y.end(),(0,d.default)(`getPageScreenshot: ${y.measure().duration}ms`),a?{...a,screenshot:`data:image/${i};base64,${a.screenshot}`}:null}finally{n||await e.send("content-script",h.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:o})}}(e,{...t,tabId:n,format:r}),m=await(0,s.getZoomLevel)(n);if(!t?.isDebuggerAttached)try{await(0,o.detach)(n)}catch(e){l={message:(0,c.getErrorMessage)(e,"failed to detach debugger")}}if(!g)return l={message:"failed to get screenshot response probably due to a timeout"},{screenshot:null,zoom:m,error:l,type:r};const{pageWidthDIP:v,pageHeightDIP:b}=g;let w;try{w=await async function(e,t){const{screenshot:n,pageHeightDIP:r,pageWidthDIP:o}=e;if(!o||!r)return n;let s,u,l;if("Image"in globalThis){const e=s=new Image;e.src=n,await new Promise((t,n)=>{e.onload=()=>t(),e.onerror=()=>n(new Error("failed to decode screenshot"))}),u=e.naturalWidth}else{const e=await fetch(n),t=await createImageBitmap(await e.blob());s=t,u=t.width}try{if(u<=Math.ceil(o))return n;l=await createImageBitmap(s,{resizeQuality:"high",resizeWidth:o,resizeHeight:r});const e=(0,i.getCanvas)(o,r),c=e.getContext("2d");if(!c)throw new Error("Unable to resize image. Error creating canvas context");return c.drawImage(l,0,0,o,r),await(0,a.getBase64EncodedString)(e,t)}finally{l?.close(),"close"in s&&s.close()}}(g,r)}catch(e){return{screenshot:null,zoom:m,error:{message:(0,c.getErrorMessage)(e,"failed to normalize screenshot")},pageWidthDIP:v,pageHeightDIP:b,type:r}}return{screenshot:w,error:l,zoom:m,pageWidthDIP:v,pageHeightDIP:b,type:r}};const o=n(86652),i=n(70825),a=n(90833),s=n(66021),u=n(50090),l=r(n(44735)),c=n(11856),f=n(47620),p=n(27134),d=r(n(35226)),h=n(75981),y=(0,l.default)("pageScreenshot")},86658(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRectScreenshot=async function(e,t,n){const r=await p(e,t,n);return r?.screenshot??null},t.getRectScreenshotWithBox=p;const o=r(n(35226)),i=r(n(44735)),a=n(27134),s=n(47620),u=n(90833),l=n(86652),c=(0,o.default)("screenshots"),f=(0,i.default)("rectScreenshot");async function p(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const r=n?.tabId||browser.devtools.inspectedWindow.tabId;f.start();const o=n?.format||a.DEFAULT_IMAGE_TYPE;if(!t||0===Math.floor(t.width)||0===Math.floor(t.height))return null;const i=await(0,s.getScreenshot)(e,{...n,format:o,fullScreen:!1});if(!i||!i.screenshot)return null;const p=await(0,u.convertBase64StringToImage)(`data:image/${o};base64,${i.screenshot}`),g=await async function(e){try{const{cssVisualViewport:t}=await(0,l.sendCommand)({tabId:e},"Page.getLayoutMetrics"),{result:{value:n}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerWidth"}),{result:{value:r}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerHeight"});return{...t,innerWidth:n,innerHeight:r}}catch{return null}}(r),m=h(p,g),v=y(t,g);if(v.left<0||v.top<0)return null;const b={x:v.left,y:v.top,height:v.height,width:v.width},w=await(0,s.clipScreenshot)(p,m,b,n);if(f.end(),c(`getRectScreenshot: ${f.measure().duration}ms`),!w)return null;if(c.enabled){(new Image).src=w}return{screenshot:w,boxInScreenshot:d(b,m,n)}}function d(e,t,n){const r=(0,s.getClipRect)(e,t,n?.offset||0),o=Math.floor(e.x*t)-r.left,i=Math.floor(e.y*t)-r.top,a=Math.floor(e.width*t),u=Math.floor(e.height*t);return{top:i,left:o,right:o+a,bottom:i+u,width:a,height:u}}const h=(e,t)=>{if(!t)return 1;const n=t.innerWidth*t.scale;return e.naturalWidth/n},y=(e,t)=>{if(!t)return e;const{offsetX:n,offsetY:r,scale:o}=t;return{x:(e.x-n)*o,y:(e.y-r)*o,left:(e.left-n)*o,top:(e.top-r)*o,height:e.height*o,width:e.width*o}}},47620(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getScreenshot=async function(e,t){const n="boolean"!=typeof t.fullScreen||t.fullScreen;let r,o=0,a=0;try{const u=t?.tabId||browser.devtools?.inspectedWindow?.tabId;t?.allowPageToContinueLoading||await(0,i.sendCommand)({tabId:u},"Page.stopLoading");const p={fromSurface:!0,captureBeyondViewport:n,format:t?.format,quality:t?.quality};let d=0;if(n){d=await e.send("content-script",c.ScrollbarEventTopics.CURRENT_SCROLL,null,{tabId:u})??null;const t=await(0,l.getContentSize)(e,u);o=t.width,a=Math.min(t.height,s.MAX_SCREENSHOT_HEIGHT),p.clip={x:0,y:0,width:o,height:a,scale:1}}else{const{cssVisualViewport:e}=await(0,i.sendCommand)({tabId:u},"Page.getLayoutMetrics"),{clientWidth:t,clientHeight:n}=e,r=await(0,f.cssToDeviceIndependentPixels)(u,{width:t,height:n,x:0,y:0});o=r.width,a=r.height}t?.beforeScreenshot&&await t.beforeScreenshot();const h=async()=>{const e=await(0,i.sendCommand)({tabId:u},"Page.captureScreenshot",p);return e?.data};n?(r=await new Promise(e=>setTimeout(()=>e(h()),250)),d&&await e.send("content-script",c.ScrollbarEventTopics.SCROLL_TO_TOP,{y:d},{tabId:u})):r=await h()}catch{return null}if(r&&p.enabled){(new Image).src=`data:image/${t?.format||s.DEFAULT_IMAGE_TYPE};base64,${r}`}return{screenshot:r,pageWidthDIP:o,pageHeightDIP:a}},t.getClipRect=d,t.clipScreenshot=async function(e,t,n,r){const{left:o,top:i,width:s,height:l}=d(n,t,r?.offset||0),c=(0,u.getCanvas)(s,l),f=await createImageBitmap(e,o,i,s,l,{resizeQuality:"high"}),p=c.getContext("2d");if(p&&"drawImage"in p)return p.drawImage(f,0,0,f.width,f.height),await(0,a.getBase64EncodedString)(c,r?.format);return null};const o=r(n(35226)),i=n(86652),a=n(90833),s=n(27134),u=n(70825),l=n(27588),c=n(75981),f=n(29323),p=(0,o.default)("screenshots");function d(e,t,n=0){return{left:Math.floor(Math.max(0,e.x-n)*t),top:Math.floor(Math.max(0,e.y-n)*t),width:Math.floor((e.width+2*n)*t),height:Math.floor((e.height+2*n)*t)}}},66021(e,t,n){"use strict";t.getZoomLevel=t.cssToDeviceIndependentPixels=t.getContentSize=void 0;var r=n(27588);Object.defineProperty(t,"getContentSize",{enumerable:!0,get:function(){return r.getContentSize}});var o=n(29323);Object.defineProperty(t,"cssToDeviceIndependentPixels",{enumerable:!0,get:function(){return o.cssToDeviceIndependentPixels}});var i=n(18627);Object.defineProperty(t,"getZoomLevel",{enumerable:!0,get:function(){return i.getZoomLevel}})},29323(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssToDeviceIndependentPixels=async function(e,t){const n=await(0,r.getZoomLevel)(e);return{x:t.x*n,y:t.y*n,height:t.height*n,width:t.width*n}};const r=n(18627)},27588(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentSize=async function(e,t){await e.send("content-script",a.ScrollbarEventTopics.SCROLL_TO_TOP,null,{tabId:t}),await(0,o.sleep)();const{cssContentSize:n}=await(0,r.sendCommand)({tabId:t},"Page.getLayoutMetrics");return(0,i.cssToDeviceIndependentPixels)(t,n)};const r=n(86652),o=n(42586),i=n(29323),a=n(75981)},18627(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZoomLevel=async function(e){try{const{cssVisualViewport:{zoom:t=1}}=await(0,r.sendCommand)({tabId:e},"Page.getLayoutMetrics");return t}catch{return 1}};const r=n(86652)},28190(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64StringToImage=t.getBase64EncodedString=t.getCanvas=t.clipScreenshot=t.getPageAreaForMLFeatureDetection=t.getPageScreenshot=t.getElementsScreenshotsWithBoxes=t.getElementsScreenshots=t.getRectScreenshot=void 0;var r=n(86658);Object.defineProperty(t,"getRectScreenshot",{enumerable:!0,get:function(){return r.getRectScreenshot}});var o=n(4225);Object.defineProperty(t,"getElementsScreenshots",{enumerable:!0,get:function(){return o.getElementsScreenshots}}),Object.defineProperty(t,"getElementsScreenshotsWithBoxes",{enumerable:!0,get:function(){return o.getElementsScreenshotsWithBoxes}});var i=n(87131);Object.defineProperty(t,"getPageScreenshot",{enumerable:!0,get:function(){return i.getPageScreenshot}});var a=n(7691);Object.defineProperty(t,"getPageAreaForMLFeatureDetection",{enumerable:!0,get:function(){return a.getPageAreaForMLFeatureDetection}});var s=n(47620);Object.defineProperty(t,"clipScreenshot",{enumerable:!0,get:function(){return s.clipScreenshot}});var u=n(70825);Object.defineProperty(t,"getCanvas",{enumerable:!0,get:function(){return u.getCanvas}});var l=n(90833);Object.defineProperty(t,"getBase64EncodedString",{enumerable:!0,get:function(){return l.getBase64EncodedString}}),Object.defineProperty(t,"convertBase64StringToImage",{enumerable:!0,get:function(){return l.convertBase64StringToImage}})},50090(e,t){"use strict";t.createTimeoutPromise=async function(e,t){if(!t)return e();let n;const r=new Promise(e=>{n=setTimeout(()=>e(null),t)}),o=await Promise.race([e(),r]);return clearTimeout(n),o}},70825(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanvas=function(e,t){let n;"OffscreenCanvas"in self&&!browser?.devtools?n=new self.OffscreenCanvas(e,t):(n=document.createElement("canvas"),n.width=e,n.height=t);return n}},11856(e,t){"use strict";t.getErrorMessage=void 0;t.getErrorMessage=(e,t)=>e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:t},44735(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=`${e}-start`,n=`${e}-end`,r=()=>{performance.clearMarks(t),performance.clearMarks(n),performance.clearMeasures(e)};return{start:()=>{r(),performance.mark(t)},end:()=>performance.mark(n),clear:r,measure:()=>(performance.measure(e,t,n),performance.getEntriesByName(e,"measure")[0])}}},42586(e,t){"use strict";t.sleep=void 0;t.sleep=e=>new Promise(t=>setTimeout(t,e||50))},75478(e,t,n){"use strict";n.d(t,{default:()=>mn});var r={};function o(){return void 0!==(null===window||void 0===window?void 0:window.document)}n.r(r),n.d(r,{exclude:()=>T,extract:()=>E,parse:()=>_,parseUrl:()=>x,pick:()=>I,stringify:()=>k,stringifyUrl:()=>O});var i=n(43855),a=n.n(i);const s="%[a-f0-9]{2}",u=new RegExp("("+s+")|([^%]+?)","gi"),l=new RegExp("("+s+")+","gi");function c(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],c(n),c(r))}function f(e){try{return decodeURIComponent(e)}catch{let t=e.match(u)||[];for(let n=1;n<t.length;n++)t=(e=c(t,n).join("")).match(u)||[];return e}}function p(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=l.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const e=f(n[0]);e!==n[0]&&(t[n[0]]=e)}n=l.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const n of r)e=e.replace(new RegExp(n,"g"),t[n]);return e}(e)}}function d(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const n=e.indexOf(t);return-1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}function h(e,t){const n={};if(Array.isArray(t))for(const r of t){const t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(const r of Reflect.ownKeys(e)){const o=Object.getOwnPropertyDescriptor(e,r);if(o.enumerable){t(r,e[r],e)&&Object.defineProperty(n,r,o)}}return n}const y=Symbol("encodeFragmentIdentifier");function g(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function m(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function v(e,t){return t.decode?p(e):e}function b(e){return Array.isArray(e)?e.sort():"object"==typeof e?b(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function w(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function S(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function E(e){const t=(e=w(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function _(e,t){g((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&v(n,e).includes(e.arrayFormatSeparator);n=i?v(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map(t=>v(t,e)):null===n?n:v(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?v(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>v(t,e));void 0!==r[t]?r[t]=[...r[t],...i]:r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[...[n[e]].flat(),t]:n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=d(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:v(a,t),n(v(i,t),a,r)}for(const[e,n]of Object.entries(r))if("object"==typeof n&&null!==n)for(const[e,r]of Object.entries(n))n[e]=S(r,t);else r[e]=S(n,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=b(n):e[t]=n,e},Object.create(null))}function k(e,t){if(!e)return"";g((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),"[",o,"]"].join("")]:[...n,[m(t,e),"[",m(o,e),"]=",m(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),"[]"].join("")]:[...n,[m(t,e),"[]=",m(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[m(t,e),":list="].join("")]:[...n,[m(t,e),":list=",m(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[m(n,e),t,m(o,e)].join("")]:[[r,m(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,m(t,e)]:[...n,[m(t,e),"=",m(r,e)].join("")]}}(t),o={};for(const[t,r]of Object.entries(e))n(t)||(o[t]=r);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const o=e[n];return void 0===o?"":null===o?m(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?m(n,t)+"[]":o.reduce(r(n),[]).join("&"):m(n,t)+"="+m(o,t)}).filter(e=>e.length>0).join("&")}function x(e,t){t={decode:!0,...t};let[n,r]=d(e,"#");return void 0===n&&(n=e),{url:n?.split("?")?.[0]??"",query:_(E(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:v(r,t)}:{}}}function O(e,t){t={encode:!0,strict:!0,[y]:!0,...t};const n=w(e.url).split("?")[0]||"";let r=k({..._(E(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[y]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function I(e,t,n){n={parseFragmentIdentifier:!0,[y]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=x(e,n);return O({url:r,query:h(o,t),fragmentIdentifier:i},n)}function T(e,t,n){return I(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}const A=r;var C=n(21919),R=n.n(C),N=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:P(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),P=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},j=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length<512&&this.queue.push(e)},e.prototype.setEventReceiver=function(e){this.receiver=e,this.queue.length>0&&(this.queue.forEach(function(t){e(t)}),this.queue=[])},e}(),L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},L.apply(this,arguments)},D=function(e,t){var n=typeof e;if(n!==typeof t)return!1;for(var r=0,o=["string","number","boolean","undefined"];r<o.length;r++){if(o[r]===n)return e===t}if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;var i=Array.isArray(e),a=Array.isArray(t);if(i!==a)return!1;if(!i||!a){var s=Object.keys(e).sort(),u=Object.keys(t).sort();if(!D(s,u))return!1;var l=!0;return Object.keys(e).forEach(function(n){D(e[n],t[n])||(l=!1)}),l}for(var c=0;c<e.length;c++)if(!D(e[c],t[c]))return!1;return!0};Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});var M=function(){function e(){this.identity={userProperties:{}},this.listeners=new Set}return e.prototype.editIdentity=function(){var e=this,t=L({},this.identity.userProperties),n=L(L({},this.identity),{userProperties:t});return{setUserId:function(e){return n.userId=e,this},setDeviceId:function(e){return n.deviceId=e,this},setUserProperties:function(e){return n.userProperties=e,this},setOptOut:function(e){return n.optOut=e,this},updateUserProperties:function(e){for(var t=n.userProperties||{},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];switch(a){case"$set":for(var u=0,l=Object.entries(s);u<l.length;u++){var c=l[u],f=c[0],p=c[1];t[f]=p}break;case"$unset":for(var d=0,h=Object.keys(s);d<h.length;d++){delete t[f=h[d]]}break;case"$clearAll":t={}}}return n.userProperties=t,this},commit:function(){return e.setIdentity(n),this}}},e.prototype.getIdentity=function(){return L({},this.identity)},e.prototype.setIdentity=function(e){var t=L({},this.identity);this.identity=L({},e),D(t,this.identity)||this.listeners.forEach(function(t){t(e)})},e.prototype.addIdentityListener=function(e){this.listeners.add(e)},e.prototype.removeIdentityListener=function(e){this.listeners.delete(e)},e}(),U="undefined"!=typeof globalThis||"undefined"!=typeof globalThis?globalThis:self,F=function(){function e(){this.identityStore=new M,this.eventBridge=new j,this.applicationContextProvider=new N}return e.getInstance=function(t){return U.analyticsConnectorInstances||(U.analyticsConnectorInstances={}),U.analyticsConnectorInstances[t]||(U.analyticsConnectorInstances[t]=new e),U.analyticsConnectorInstances[t]},e}();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 z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(t){W(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 B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q(r.key),r)}}function G(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function W(e,t,n){return(t=Q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||K(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e){return function(e){if(Array.isArray(e))return Y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||K(e)||function(){throw new TypeError("Invalid attempt to spread 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 Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var J="$default_instance",Z=2,ee=4096,te=1e3,ne="$identify",re="$groupidentify",oe="api.amplitude.com",ie="api.eu.amplitude.com",ae="regionconfig.amplitude.com",se="regionconfig.eu.amplitude.com",ue=0,le=1,ce=2,fe=3,pe=4,de=5,he=6,ye=7,ge="amp_cookie_test",me="amp",ve="",be="cookies",we="none",Se="localStorage",Ee="sessionStorage",_e="revenue_amount",ke="$productId",xe="$quantity",Oe="$price",Ie="$revenueType",Te="amp_device_id",Ae="amp_referrer",Ce="referrer",Re="referring_domain",Ne="utm_source",Pe="utm_medium",je="utm_campaign",Le="utm_term",De="utm_content",Me="[Amplitude] Attribution Captured",Ue="http",Fe="beacon",$e=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},ze=function(e){for(var t="",n=0,r=0,o=0,i=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(o=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&o),n+=2):(o=e.charCodeAt(n+1),i=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&i),n+=3);return t},Be="undefined"!=typeof globalThis?globalThis:window,qe={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){try{if(Be.btoa&&Be.atob)return Be.btoa(unescape(encodeURIComponent(e)))}catch(e){}return qe._encode(e)},_encode:function(e){var t,n,r,o,i,a,s,u="",l=0;for(e=$e(e);l<e.length;)o=(t=e.charCodeAt(l++))>>2,i=(3&t)<<4|(n=e.charCodeAt(l++))>>4,a=(15&n)<<2|(r=e.charCodeAt(l++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),u=u+qe._keyStr.charAt(o)+qe._keyStr.charAt(i)+qe._keyStr.charAt(a)+qe._keyStr.charAt(s);return u},decode:function(e){try{if(Be.btoa&&Be.atob)return decodeURIComponent(escape(Be.atob(e)))}catch(e){}return qe._decode(e)},_decode:function(e){var t,n,r,o,i,a,s="",u=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");u<e.length;)t=qe._keyStr.indexOf(e.charAt(u++))<<2|(o=qe._keyStr.indexOf(e.charAt(u++)))>>4,n=(15&o)<<4|(i=qe._keyStr.indexOf(e.charAt(u++)))>>2,r=(3&i)<<6|(a=qe._keyStr.indexOf(e.charAt(u++))),s+=String.fromCharCode(t),64!==i&&(s+=String.fromCharCode(n)),64!==a&&(s+=String.fromCharCode(r));return s=ze(s)}},He=Object.prototype.toString;function Ge(e){switch(He.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)?"buffer":B(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e))}var We,Ve={DISABLE:0,ERROR:1,WARN:2,INFO:3},Xe=Ve.WARN,Ke={error:function(e){Xe>=Ve.ERROR&&Ye(e)},warn:function(e){Xe>=Ve.WARN&&Ye(e)},info:function(e){Xe>=Ve.INFO&&Ye(e)}},Ye=function(e){try{console.log("[Amplitude] "+e)}catch(e){}},Qe=function(e){return"string"===Ge(e)&&e.length>ee?e.substring(0,ee):e},Je=function(e,t,n){return Ge(e)===n||(Ke.error("Invalid "+t+" input type. Expected "+n+" but received "+Ge(e)),!1)},Ze=function(e){var t=Ge(e);if("object"!==t)return Ke.error("Error: invalid properties format. Expecting Javascript object, received "+t+", ignoring"),{};if(Object.keys(e).length>te)return Ke.error("Error: too many properties (more than 1000), ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=r,i=Ge(o);"string"!==i&&(o=String(o),Ke.warn("WARNING: Non-string property key, received type "+i+', coercing to string "'+o+'"'));var a=tt(o,e[r]);null!==a&&(n[o]=a)}return n},et=["nan","function","arguments","regexp","element"],tt=function e(t,n){var r=Ge(n);if(-1!==et.indexOf(r))Ke.warn('WARNING: Property key "'+t+'" with invalid value type '+r+", ignoring"),n=null;else if("undefined"===r)n=null;else if("error"===r)n=String(n),Ke.warn('WARNING: Property key "'+t+'" with value type error, coercing to '+n);else if("array"===r){for(var o=[],i=0;i<n.length;i++){var a=n[i],s=Ge(a);"array"!==s?"object"===s?o.push(Ze(a)):o.push(e(t,a)):Ke.warn("WARNING: Cannot have "+s+" nested in an array property value, skipping")}n=o}else"object"===r&&(n=Ze(n));return n},nt=function(e,t){var n=Ge(t);if("string"===n)return t;if("date"===n||"number"===n||"boolean"===n)return t=String(t),Ke.warn("WARNING: Non-string groupName, received type "+n+', coercing to string "'+t+'"'),t;if("array"===n){for(var r=[],o=0;o<t.length;o++){var i=t[o],a=Ge(i);"array"!==a&&"object"!==a?"string"===a?r.push(i):"date"!==a&&"number"!==a&&"boolean"!==a||(i=String(i),Ke.warn("WARNING: Non-string groupName, received type "+a+', coercing to string "'+i+'"'),r.push(i)):Ke.warn("WARNING: Skipping nested "+a+" in array groupName")}return r}Ke.warn("WARNING: Non-string groupName, received type "+n+". Please use strings or array of strings for groupName")},rt=function(e){Object.prototype.hasOwnProperty.call(Ve,e)&&(Xe=Ve[e])},ot=Ke,it=function(e){return!e||0===e.length},at=function(){return"undefined"!=typeof WorkerGlobalScope},st=function(e,t){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===n?void 0:decodeURIComponent(n[1].replace(/\+/g," "))},ut=function e(t){if("array"===Ge(t))for(var n=0;n<t.length;n++)t[n]=e(t[n]);else if("object"===Ge(t))for(var r in t)r in t&&(t[r]=e(t[r]));else t=Qe(t);return t},lt=function(e){var t=Ge(e);if("object"!==t)return Ke.error("Error: invalid groups format. Expecting Javascript object, received "+t+", ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=r,i=Ge(o);"string"!==i&&(o=String(o),Ke.warn("WARNING: Non-string groupType, received type "+i+', coercing to string "'+o+'"'));var a=nt(o,e[r]);null!==a&&(n[o]=a)}return n},ct=Je,ft=Ze,pt=function(e){return!!Je(e,"deviceId","string")&&(!(e.indexOf(".")>=0)||(Ke.error("Device IDs may not contain '.' characters. Value will be ignored: \"".concat(e,'"')),!1))},dt=function(e){return!!Je(e,"transport","string")&&(e!==Ue&&e!==Fe?(Ke.error("transport value must be one of '".concat(Fe,"' or '").concat(Ue,"'")),!1):!(e!==Ue&&"undefined"!=typeof navigator&&!navigator.sendBeacon)||(Ke.error("browser does not support sendBeacon, so transport must be HTTP"),!1))},ht=function(e){return!!(Je(e,"sessionId","number")&&new Date(e).getTime()>0)||(Ke.error("sessionId value must in milliseconds since epoch (Unix Timestamp)"),!1)},yt=function(){return Be.location},gt=function(e){var t=Be.location?Be.location.hostname:"";if(e){if("undefined"!=typeof document){var n=document.createElement("a");return n.href=e,n.hostname||t}if("function"==typeof URL)return new URL(e).hostname||t}return t},mt=function(e){try{for(var t=document.cookie.split(";"),n=null,r=0;r<t.length;r++){for(var o=t[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e)){n=o.substring(e.length,o.length);break}}return n}catch(e){return null}},vt=function(e,t,n){var r=null!==t?n.expirationDays:-1;if(r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3),r=o}var i=e+"="+t;r&&(i+="; expires="+r.toUTCString()),i+="; path=/",n.domain&&(i+="; domain="+n.domain),n.secure&&(i+="; Secure"),n.sameSite&&(i+="; SameSite="+n.sameSite),document.cookie=i},bt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.split(".")[pe];return n&&(e=parseInt(n,32)),e||(ot.warn("unable to parse malformed cookie: ".concat(t)),0)},wt=vt,St=mt,Et=function(e){try{var t,n=document.cookie.split(";").map(function(e){return e.trimStart()}),r=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=K(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(n);try{for(o.s();!(t=o.n()).done;){for(var i=t.value;" "===i.charAt(0);)i=i.substring(1);0===i.indexOf(e)&&r.push(i.substring(e.length))}}catch(e){o.e(e)}finally{o.f()}return r}catch(e){return[]}},_t=function(e){return X(e).sort(function(e,t){var n=bt(e);return bt(t)-n})},kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ge;if("undefined"==typeof document)return!1;var n=!1;try{var r=String(Date.now());vt(t,r,e),ot.info("Testing if cookies available"),n=mt(t+"=")===r}catch(e){ot.warn('Error thrown when checking for cookies. Reason: "'.concat(e,'"'))}finally{ot.info("Cleaning up cookies availability test"),vt(t,null,e)}return n},xt=function(){for(var e=crypto.getRandomValues(new Uint8Array(22)),t="",n=0;n<22;++n)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(e[n]%64);return t},Ot=function(e){var t=gt(e).split("."),n=[],r="_tldtest_"+xt();if(at())return"";for(var o=t.length-2;o>=0;--o)n.push(t.slice(o).join("."));for(var i=0;i<n.length;++i){var a=n[i],s={domain:"."+a};if(wt(r,1,s),St(r))return wt(r,null,s),a}return""},It={expirationDays:void 0,domain:void 0},Tt=function(e){var t="";return It.domain&&(t="."===It.domain.charAt(0)?It.domain.substring(1):It.domain),e+t},At=function(e){var t=Tt(e)+"=",n=St(t);try{if(n)return JSON.parse(qe.decode(n))}catch(e){return null}return null},Ct=function(e,t){try{return wt(Tt(e),qe.encode(JSON.stringify(t)),It),!0}catch(e){return!1}},Rt=function(e){try{return wt(Tt(e),null,It),!0}catch(e){return!1}},Nt={reset:function(){It={expirationDays:void 0,domain:void 0}},options:function(e){if(0===arguments.length)return It;e=e||{},It.expirationDays=e.expirationDays,It.secure=e.secure,It.sameSite=e.sameSite;var t=it(e.domain)?"."+Ot(yt().href):e.domain,n=Math.random();It.domain=t,Ct("amplitude_test",n);var r=At("amplitude_test");return r&&r===n||(t=null),Rt("amplitude_test"),It.domain=t,It},get:At,set:Ct,remove:Rt,setRaw:function(e,t){try{return wt(Tt(e),t,It),!0}catch(e){return!1}},getRaw:function(e){var t=Tt(e)+"=";return St(t)}},Pt=function(){function e(){q(this,e),this.map=new Map,this.length=0}return G(e,[{key:"key",value:function(e){var t=Array.from(this.map.keys())[e];return this.map.get(t)}},{key:"getItem",value:function(e){return this.map.get(e)}},{key:"setItem",value:function(e,t){this.map.has(e)||(this.length+=1),this.map.set(e,t)}},{key:"removeItem",value:function(e){this.map.has(e)&&(this.length-=1,this.map.delete(e))}},{key:"clear",value:function(){this.map.clear(),this.length=0}}]),e}();if(function(){var e,t=new Date;try{return Be.localStorage.setItem(t,t),e=Be.localStorage.getItem(t)===String(t),Be.localStorage.removeItem(t),e}catch(e){}return!1}())We=Be.localStorage;else if(void 0!==Be&&Be.globalStorage)try{We=Be.globalStorage[Be.location.hostname]}catch(e){}else if("undefined"!=typeof document){var jt=document.createElement("div"),Lt="localStorage";jt.style.display="none",document.getElementsByTagName("head")[0].appendChild(jt),jt.addBehavior&&(jt.addBehavior("#default#userdata"),We={length:0,setItem:function(e,t){jt.load(Lt),jt.getAttribute(e)||this.length++,jt.setAttribute(e,t),jt.save(Lt)},getItem:function(e){return jt.load(Lt),jt.getAttribute(e)},removeItem:function(e){jt.load(Lt),jt.getAttribute(e)&&this.length--,jt.removeAttribute(e),jt.save(Lt)},clear:function(){jt.load(Lt);for(var e,t=0;e=jt.XMLDocument.documentElement.attributes[t++];)jt.removeAttribute(e.name);jt.save(Lt),this.length=0},key:function(e){return jt.load(Lt),jt.XMLDocument.documentElement.attributes[e]}},jt.load(Lt),We.length=jt.XMLDocument.documentElement.attributes.length)}else at()&&(We=new Pt);We||(We={length:0,setItem:function(e,t){},getItem:function(e){},removeItem:function(e){},clear:function(){},key:function(e){}});var Dt,Mt=We,Ut=function(){this.storage=null};Ut.prototype.getStorage=function(e){if(null!==this.storage)return this.storage;if(!e&&kt())this.storage=Nt;else{var t="amp_cookiestore_";this.storage={_options:{expirationDays:void 0,domain:void 0,secure:!1},reset:function(){this._options={expirationDays:void 0,domain:void 0,secure:!1}},options:function(e){return 0===arguments.length?this._options:(e=e||{},this._options.expirationDays=e.expirationDays||this._options.expirationDays,this._options.domain=e.domain||this._options.domain||Be&&Be.location&&Be.location.hostname,this._options.secure=e.secure||!1)},get:function(e){try{return JSON.parse(Mt.getItem(t+e))}catch(e){}return null},set:function(e,n){try{return Mt.setItem(t+e,JSON.stringify(n)),!0}catch(e){}return!1},remove:function(e){try{Mt.removeItem(t+e)}catch(e){return!1}}}}return this.storage};var Ft=(W(Dt={},be,!0),W(Dt,we,!0),W(Dt,Se,!0),W(Dt,Ee,!0),Dt),$t=function(){function e(t){var n=t.storageKey,r=t.disableCookies,o=t.domain,i=t.secure,a=t.sameSite,s=t.expirationDays,u=t.storage;q(this,e),this.storageKey=n,this.domain=o,this.secure=i,this.sameSite=a,this.expirationDays=s,this.cookieDomain="";var l=yt()?yt().href:void 0,c=r?"":Ot(l);if(this.cookieDomain=o||(c?"."+c:null),Ft[u])this.storage=u;else{var f=r||!kt({domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays});this.storage=f?Se:be}}return G(e,[{key:"getCookieStorageKey",value:function(){if(!this.domain)return this.storageKey;var e="."===this.domain.charAt(0)?this.domain.substring(1):this.domain;return"".concat(this.storageKey).concat(e?"_".concat(e):"")}},{key:"save",value:function(e){var t=e.deviceId,n=e.userId,r=e.optOut,o=e.sessionId,i=e.lastEventTime,a=e.eventId,s=e.identifyId,u=e.sequenceNumber;if(this.storage!==we){var l=[t,qe.encode(n||""),r?"1":"",o?o.toString(32):"0",i?i.toString(32):"0",a?a.toString(32):"0",s?s.toString(32):"0",u?u.toString(32):"0"].join(".");switch(this.storage){case Ee:Be.sessionStorage&&Be.sessionStorage.setItem(this.storageKey,l);break;case Se:Mt.setItem(this.storageKey,l);break;case be:this.saveCookie(l)}}}},{key:"saveCookie",value:function(e){wt(this.getCookieStorageKey(),e,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays})}},{key:"load",value:function(){var e,t=this;if(this.storage===be){var n=this.getCookieStorageKey()+"=",r=Et(n);if(0===r.length||1===r.length)e=r[0];else{var o=_t(r)[0];r.forEach(function(){return wt(t.getCookieStorageKey(),null,{})}),this.saveCookie(o),e=St(n)}}if(e||(e=Mt.getItem(this.storageKey)),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey)}catch(e){ot.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}if(!e)return null;var i=e.split("."),a=null;if(i[le])try{a=qe.decode(i[le])}catch(e){a=null}return{deviceId:i[ue],userId:a,optOut:"1"===i[ce],sessionId:parseInt(i[fe],32),lastEventTime:parseInt(i[pe],32),eventId:parseInt(i[de],32),identifyId:parseInt(i[he],32),sequenceNumber:parseInt(i[ye],32)}}},{key:"clear",value:function(){var e;if(this.storage===be&&(e=St(this.getCookieStorageKey()+"="),wt(this.getCookieStorageKey(),null,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:0})),e||(e=Mt.getItem(this.storageKey),Mt.clear()),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey),Be.sessionStorage.clear()}catch(e){ot.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}return!!e}}]),e}(),zt="$clearAll",Bt=function(){this.userPropertiesOperations={},this.properties=[]};Bt.prototype.add=function(e,t){return"number"===Ge(t)||"string"===Ge(t)?this._addOperation("$add",e,t):ot.error("Unsupported type for value: "+Ge(t)+", expecting number or string"),this},Bt.prototype.append=function(e,t){return this._addOperation("$append",e,t),this},Bt.prototype.clearAll=function(){return Object.keys(this.userPropertiesOperations).length>0?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,zt)||ot.error("Need to send $clearAll on its own Identify object without any other operations, skipping $clearAll"),this):(this.userPropertiesOperations[zt]="-",this)},Bt.prototype.prepend=function(e,t){return this._addOperation("$prepend",e,t),this},Bt.prototype.set=function(e,t){return this._addOperation("$set",e,t),this},Bt.prototype.setOnce=function(e,t){return this._addOperation("$setOnce",e,t),this},Bt.prototype.unset=function(e){return this._addOperation("$unset",e,"-"),this},Bt.prototype.preInsert=function(e,t){return this._addOperation("$preInsert",e,t),this},Bt.prototype.postInsert=function(e,t){return this._addOperation("$postInsert",e,t),this},Bt.prototype.remove=function(e,t){return this._addOperation("$remove",e,t),this},Bt.prototype._addOperation=function(e,t,n){Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,zt)?ot.error("This identify already contains a $clearAll operation, skipping operation "+e):-1===this.properties.indexOf(t)?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,e)||(this.userPropertiesOperations[e]={}),this.userPropertiesOperations[e][t]=n,this.properties.push(t)):ot.error('User property "'+t+'" already used in this identify, skipping operation '+e)};var qt=function(e,t,n){this.url=e,this.data=t||{},this.headers=n};qt.prototype.send=function(e){if(!!Be.XDomainRequest){var t=new Be.XDomainRequest;t.open("POST",this.url,!0),t.onload=function(){e(200,t.responseText)},t.onerror=function(){"Request Entity Too Large"===t.responseText?e(413,t.responseText):e(500,t.responseText)},t.ontimeout=function(){},t.onprogress=function(){},t.send(A.stringify(this.data))}else if("undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.open("POST",this.url,!0),n.onreadystatechange=function(){4===n.readyState&&e(n.status,n.responseText)},function(e,t){for(var n in t)("Cross-Origin-Resource-Policy"!==n||t[n])&&e.setRequestHeader(n,t[n])}(n,this.headers),n.send(A.stringify(this.data))}else{var r=void 0;fetch(this.url,{method:"POST",headers:this.headers,body:A.stringify(this.data)}).then(function(e){return r=e.status,e.text()}).then(function(t){e(r,t)})}};var Ht=function(){this._price=null,this._productId=null,this._quantity=1,this._revenueType=null,this._properties=null};Ht.prototype.setProductId=function(e){return"string"!==Ge(e)?ot.error("Unsupported type for productId: "+Ge(e)+", expecting string"):it(e)?ot.error("Invalid empty productId"):this._productId=e,this},Ht.prototype.setQuantity=function(e){return"number"!==Ge(e)?ot.error("Unsupported type for quantity: "+Ge(e)+", expecting number"):this._quantity=parseInt(e),this},Ht.prototype.setPrice=function(e){return"number"!==Ge(e)?ot.error("Unsupported type for price: "+Ge(e)+", expecting number"):this._price=e,this},Ht.prototype.setRevenueType=function(e){return"string"!==Ge(e)?ot.error("Unsupported type for revenueType: "+Ge(e)+", expecting string"):this._revenueType=e,this},Ht.prototype.setEventProperties=function(e){return"object"!==Ge(e)?ot.error("Unsupported type for eventProperties: "+Ge(e)+", expecting object"):this._properties=ft(e),this},Ht.prototype._isValidRevenue=function(){return"number"===Ge(this._price)||(ot.error("Invalid revenue, need to set price field"),!1)},Ht.prototype._toJSONObject=function(){var e="object"===Ge(this._properties)?this._properties:{};return null!==this._productId&&(e[ke]=this._productId),null!==this._quantity&&(e[xe]=this._quantity),null!==this._price&&(e[Oe]=this._price),null!==this._revenueType&&(e[Ie]=this._revenueType),e};var Gt=X(Array(256).keys()).map(function(e){return e.toString(16).padStart(2,"0")}),Wt="US",Vt="EU",Xt=function(e){var t=oe;switch(e){case Vt:t=ie;break;case Wt:t=oe}return t},Kt="8.21.10",Yt={apiEndpoint:oe,batchEvents:!1,cookieExpiration:365,cookieName:"amplitude_id",sameSiteCookie:"Lax",cookieForceUpgrade:!1,deferInitialization:!1,disableCookies:!1,deviceIdFromUrlParam:!1,domain:"",eventUploadPeriodMillis:3e4,eventUploadThreshold:30,forceHttps:!0,includeFbclid:!1,includeGclid:!1,includeReferrer:!1,includeUtm:!1,ingestionMetadata:{sourceName:"",sourceVersion:""},language:function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage)||""}(),library:{name:"amplitude-js",version:Kt},logLevel:"WARN",logAttributionCapturedEvent:!1,optOut:!1,onError:function(){},onExitPage:function(){},onNewSessionStart:function(){},plan:{branch:"",source:"",version:"",versionId:""},platform:"Web",savedMaxCount:1e3,saveEvents:!0,saveParamsReferrerOncePerSession:!0,secureCookie:!1,sessionTimeout:18e5,storage:ve,trackingOptions:{city:!0,country:!0,carrier:!0,device_manufacturer:!0,device_model:!0,dma:!0,ip_address:!0,language:!0,os_name:!0,os_version:!0,platform:!0,region:!0,version_name:!0},transport:Ue,unsetParamsReferrerOnNewSession:!1,unsentKey:"amplitude_unsent",unsentIdentifyKey:"amplitude_unsent_identify",uploadBatchSize:100,headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Cross-Origin-Resource-Policy":"cross-origin"},serverZone:Wt,useDynamicConfig:!1,serverZoneBasedApi:!1,sessionId:null,partnerId:""},Qt=new(function(){function e(){return q(this,e),e.instance||(this.ingestionEndpoint=oe,e.instance=this),e.instance}return G(e,[{key:"refresh",value:function(e,t,n){var r="https";t||"https:"===Be.location.protocol||(r="http");var o=r+"://"+function(e){var t=ae;switch(e){case Vt:t=se;break;case Wt:t=ae}return t}(e),i=this;if(!!Be.XDomainRequest){var a=new Be.XDomainRequest;a.open("GET",o,!0),a.onload=function(){var e=JSON.parse(a.responseText);i.ingestionEndpoint=e.ingestionEndpoint,n&&n()},a.onerror=function(){},a.ontimeout=function(){},a.onprogress=function(){},a.send()}else{var s=new XMLHttpRequest;s.open("GET",o,!0),s.onreadystatechange=function(){if(4===s.readyState&&200===s.status){var e=JSON.parse(s.responseText);i.ingestionEndpoint=e.ingestionEndpoint,n&&n()}},s.send()}}}]),e}()),Jt=function(e){o()||at()||ot.warn("amplitude-js will not work in a non-browser environment. If you are planning to add Amplitude to a node environment, please use @amplitude/node"),this._instanceName=it(e)?J:e.toLowerCase(),this._unsentEvents=[],this._unsentIdentifys=[],this.options=z(z({},Yt),{},{headers:z({},Yt.headers),ingestionMetadata:z({},Yt.ingestionMetadata),library:z({},Yt.library),plan:z({},Yt.plan),trackingOptions:z({},Yt.trackingOptions)}),this._q=[],this._sending=!1,this._updateScheduled=!1,this._onInitCallbacks=[],this._onNewSessionStartCallbacks=[],this._eventId=0,this._identifyId=0,this._lastEventTime=null,this._newSession=!1,this._sequenceNumber=0,this._sessionId=null,this._isInitialized=!1,this._connector=null,this._userAgent="undefined"!=typeof navigator&&navigator&&navigator.userAgent||null,this._ua=new(R())(this._userAgent).getResult()};Jt.prototype.Identify=Bt,Jt.prototype.Revenue=Ht,Jt.prototype.init=function(e,t,n,r){var i=this;if("string"!==Ge(e)||it(e))ot.error("Invalid apiKey. Please re-initialize with a valid apiKey");else try{this._connector=F.getInstance(this._instanceName),en(this.options,n),(o()||at())&&void 0!==Be.Prototype&&Array.prototype.toJSON&&(!function(){var e;if(o()){var t=window,n=Array;if(void 0!==t.Prototype&&void 0!==(null===(e=n.prototype)||void 0===e?void 0:e.toJSON))return delete n.prototype.toJSON,!0}}(),ot.warn("Prototype.js injected Array.prototype.toJSON. Deleting Array.prototype.toJSON to prevent double-stringify")),this.options.cookieName!==Yt.cookieName&&ot.warn("The cookieName option is deprecated. We will be ignoring it for newer cookies"),this.options.serverZoneBasedApi&&(this.options.apiEndpoint=Xt(this.options.serverZone)),this._refreshDynamicConfig(),this.options.apiKey=e,this._storageSuffix="_"+e+(this._instanceName===J?"":"_"+this._instanceName),this._storageSuffixV5=e.slice(0,6),this._oldCookiename=this.options.cookieName+this._storageSuffix,this._unsentKey=this.options.unsentKey+this._storageSuffix,this._unsentIdentifyKey=this.options.unsentIdentifyKey+this._storageSuffix,this._cookieName=me+"_"+this._storageSuffixV5,this.cookieStorage=(new Ut).getStorage(this.options.disableCookies),this.cookieStorage.options({expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie}),this._metadataStorage=new $t({storageKey:this._cookieName,disableCookies:this.options.disableCookies,expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie,storage:this.options.storage});var a=!!this.cookieStorage.get(this._oldCookiename),s=!!this._metadataStorage.load();this._useOldCookie=!s&&a&&!this.options.cookieForceUpgrade;var u=s||a;if(this.options.deferInitialization&&!u)return void this._deferInitialization(e,t,n,r);this.options.domain=this.cookieStorage.options().domain,"string"===Ge(this.options.logLevel)&&rt(this.options.logLevel);var l=fn(this);this._apiPropertiesTrackingOptions=Object.keys(l).length>0?{tracking_options:l}:{},this.options.cookieForceUpgrade&&a&&(s||nn(this),this.cookieStorage.remove(this._oldCookiename)),tn(this),this._pendingReadStorage=!0;this.options.saveEvents&&(this._unsentEvents=this._loadSavedUnsentEvents(this.options.unsentKey).map(function(e){return{event:e}}).concat(this._unsentEvents),this._unsentIdentifys=this._loadSavedUnsentEvents(this.options.unsentIdentifyKey).map(function(e){return{event:e}}).concat(this._unsentIdentifys)),n&&n.onNewSessionStart&&this.onNewSessionStart(this.options.onNewSessionStart),function(e){n&&n.deviceId&&!pt(n.deviceId)&&(ot.error('Invalid device ID rejected. Randomly generated UUID will be used instead of "'.concat(n.deviceId,'"')),delete n.deviceId),i.options.deviceId=i._getInitialDeviceId(n&&n.deviceId,e),i.options.userId="string"===Ge(t)&&!it(t)&&t||"number"===Ge(t)&&t.toString()||i.options.userId||null;var r=(new Date).getTime(),o=!i._sessionId||!i._lastEventTime||r-i._lastEventTime>i.options.sessionTimeout||i.options.sessionId;o&&(i.options.unsetParamsReferrerOnNewSession&&i._unsetUTMParams(),i._newSession=!0,i._sessionId=i.options.sessionId||r,i.options.sessionId=void 0,i.options.saveParamsReferrerOncePerSession&&i._trackParamsAndReferrer()),i.options.saveParamsReferrerOncePerSession||i._trackParamsAndReferrer(),i.options.saveEvents&&(Zt(i._unsentEvents),Zt(i._unsentIdentifys)),i._lastEventTime=r,on(i),i._pendingReadStorage=!1,i._sendEventsIfReady();for(var a=0;a<i._onInitCallbacks.length;a++)i._onInitCallbacks[a](i);i._onInitCallbacks=[],i._isInitialized=!0,o&&i._runNewSessionStartCallbacks()}(),this.runQueuedFunctions(),"function"===Ge(r)&&r(this);var c=this.options.onExitPage;if("function"===Ge(c)&&Be.addEventListener&&!this.pageHandlersAdded){this.pageHandlersAdded=!0;Be.addEventListener("pagehide",function(){var e;e=i.options.transport,i.setTransport(Fe),c(),i.setTransport(e)},!1)}this._connector.eventBridge.setEventReceiver(function(e){i._logEvent(e.eventType,e.eventProperties,e.userProperties)});var f=this._connector.identityStore.editIdentity();this.options.deviceId&&f.setDeviceId(this.options.deviceId),this.options.userId&&f.setUserId(this.options.userId),f.commit()}catch(e){ot.error(e),n&&"function"===Ge(n.onError)&&n.onError(e)}},Jt.prototype._runNewSessionStartCallbacks=function(){for(var e=0;e<this._onNewSessionStartCallbacks.length;e++)this._onNewSessionStartCallbacks[e](this)},Jt.prototype.deleteLowerLevelDomainCookies=function(){var e=gt(),t=this.options.domain&&"."===this.options.domain[0]?this.options.domain.slice(1):this.options.domain;if(t&&at()&&e!==t&&new RegExp(t+"$").test(e)){for(var n=e.split("."),r=t.split("."),o=n.length;o>r.length;--o){var i=n.slice(n.length-o).join(".");wt(this._cookieName,null,{domain:"."+i})}wt(this._cookieName,null,{})}},Jt.prototype._getInitialDeviceId=function(e,t){if(e)return e;if(this.options.deviceIdFromUrlParam){var n=this._getDeviceIdFromUrlParam(this._getUrlParams());if(n)return n}return this.options.deviceId?this.options.deviceId:t||xt()};var Zt=function(e){for(var t=0;t<e.length;t++){var n=e[t].event.user_properties,r=e[t].event.event_properties,o=e[t].event.groups;e[t].event.user_properties=ft(n),e[t].event.event_properties=ft(r),e[t].event.groups=lt(o)}};Jt.prototype._trackParamsAndReferrer=function(){var e,t,n,r;if(this.options.includeUtm&&(e=this._initUtmData()),this.options.includeReferrer&&(t=this._saveReferrer(this._getReferrer())),this.options.includeGclid&&(n=this._saveGclid(this._getUrlParams())),this.options.includeFbclid&&(r=this._saveFbclid(this._getUrlParams())),this.options.logAttributionCapturedEvent){var o=z(z(z(z({},e),t),n),r);Object.keys(o).length>0&&this.logEvent(Me,o)}};var en=function e(t,n){if("object"===Ge(n)){var r=new Set(["headers"]),o=new Set(["eventUploadPeriodMillis"]),i=function(r){if(Object.prototype.hasOwnProperty.call(t,r)){var i=n[r],a=Ge(t[r]);("transport"!==r||dt(i))&&("sessionId"!==r||null===i?ct(i,r+" option",a)&&("boolean"===a?t[r]=!!i:"string"===a&&!it(i)||"number"===a&&(i>0||0===i&&o.has(r))||"function"===a?t[r]=i:"object"===a&&e(t[r],i)):t[r]=ht(i)?i:null)}};for(var a in n)r.has(a)?t[a]=z(z({},t[a]),n[a]):Object.prototype.hasOwnProperty.call(n,a)&&i(a)}};Jt.prototype.runQueuedFunctions=function(){var e=this._q;this._q=[];for(var t=0;t<e.length;t++){var n=this[e[t][0]];"function"===Ge(n)&&n.apply(this,e[t].slice(1))}},Jt.prototype._apiKeySet=function(e){return!it(this.options.apiKey)||(ot.error("Invalid apiKey. Please set a valid apiKey with init() before calling "+e),!1)},Jt.prototype._loadSavedUnsentEvents=function(e){var t=this._getFromStorage(Mt,e),n=this._parseSavedUnsentEventsString(t,e);return this._setInStorage(Mt,e,JSON.stringify(n)),n},Jt.prototype._parseSavedUnsentEventsString=function(e,t){if(it(e))return[];if("string"===Ge(e))try{var n=JSON.parse(e);if("array"===Ge(n))return n}catch(e){}return ot.error("Unable to load "+t+" events. Restart with a new empty queue."),[]},Jt.prototype.isNewSession=function(){return this._newSession},Jt.prototype.onInit=function(e){this._isInitialized?e(this):this._onInitCallbacks.push(e)},Jt.prototype.onNewSessionStart=function(e){this._onNewSessionStartCallbacks.push(e)},Jt.prototype.getSessionId=function(){return this._sessionId},Jt.prototype.nextEventId=function(){return this._eventId++,this._eventId},Jt.prototype.nextIdentifyId=function(){return this._identifyId++,this._identifyId},Jt.prototype.nextSequenceNumber=function(){return this._sequenceNumber++,this._sequenceNumber},Jt.prototype._unsentCount=function(){return this._unsentEvents.length+this._unsentIdentifys.length},Jt.prototype._sendEventsIfReady=function(){return 0!==this._unsentCount()&&(this.options.batchEvents?this._unsentCount()>=this.options.eventUploadThreshold||this.options.transport===Fe?(this.sendEvents(),!0):(this._updateScheduled||(this._updateScheduled=!0,setTimeout(function(){this._updateScheduled=!1,this.sendEvents()}.bind(this),this.options.eventUploadPeriodMillis)),!1):(this.sendEvents(),!0))},Jt.prototype.clearStorage=function(){return this._metadataStorage.clear()},Jt.prototype._getFromStorage=function(e,t){return e.getItem(t+this._storageSuffix)},Jt.prototype._setInStorage=function(e,t,n){e.setItem(t+this._storageSuffix,n)};var tn=function(e){if(e._useOldCookie){var t=e.cookieStorage.get(e._oldCookiename);"object"!==Ge(t)||rn(e,t)}else{var n=e._metadataStorage.load();"object"===Ge(n)&&rn(e,n)}},nn=function(e){var t=e.cookieStorage.get(e._oldCookiename);"object"===Ge(t)&&(rn(e,t),on(e))},rn=function(e,t){t.deviceId&&(e.options.deviceId=t.deviceId),t.userId&&(e.options.userId=t.userId),null!==t.optOut&&void 0!==t.optOut&&!1!==t.optOut&&(e.options.optOut=t.optOut),t.sessionId&&(e._sessionId=parseInt(t.sessionId,10)),t.lastEventTime&&(e._lastEventTime=parseInt(t.lastEventTime,10)),t.eventId&&(e._eventId=parseInt(t.eventId,10)),t.identifyId&&(e._identifyId=parseInt(t.identifyId,10)),t.sequenceNumber&&(e._sequenceNumber=parseInt(t.sequenceNumber,10))},on=function(e){var t={deviceId:e.options.deviceId,userId:e.options.userId,optOut:e.options.optOut,sessionId:e._sessionId,lastEventTime:e._lastEventTime,eventId:e._eventId,identifyId:e._identifyId,sequenceNumber:e._sequenceNumber};e._useOldCookie?e.cookieStorage.set(e.options.cookieName+e._storageSuffix,t):e._metadataStorage.save(t)};Jt.prototype._initUtmData=function(e,t){e=e||this._getUrlParams(),t=t||this.cookieStorage.get("__utmz");var n,r,o,i,a,s,u,l,c,f,p,d=(r=e,o=(n=t)?"?"+n.split(".").slice(-1)[0].replace(/\|/g,"&"):"",i=function(e,t,n,r){return st(e,t)||st(n,r)},a=i(Ne,r,"utmcsr",o),s=i(Pe,r,"utmcmd",o),u=i(je,r,"utmccn",o),l=i(Le,r,"utmctr",o),c=i(De,r,"utmcct",o),f={},(p=function(e,t){it(t)||(f[e]=t)})(Ne,a),p(Pe,s),p(je,u),p(Le,l),p(De,c),f);return an(this,d),d},Jt.prototype._unsetUTMParams=function(){var e=new Bt;e.unset(Ce),e.unset(Re),e.unset(Ne),e.unset(Pe),e.unset(je),e.unset(Le),e.unset(De),this.identify(e)};var an=function(e,t){if("object"===Ge(t)&&0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n.setOnce("initial_"+r,t[r]),n.set(r,t[r]));e.identify(n)}};Jt.prototype._getReferrer=function(){var e=this._getReferrerFromUrlParam(this._getUrlParams());return e||("undefined"!=typeof document?document.referrer:"")},Jt.prototype._getUrlParams=function(){return Be.location.search},Jt.prototype._saveGclid=function(e){var t=st("gclid",e);if(!it(t)){var n={gclid:t};return an(this,n),n}},Jt.prototype._saveFbclid=function(e){var t=st("fbclid",e);if(!it(t)){var n={fbclid:t};return an(this,n),n}},Jt.prototype._getDeviceIdFromUrlParam=function(e){return st(Te,e)},Jt.prototype._getReferrerFromUrlParam=function(e){return st(Ae,e)},Jt.prototype._getReferringDomain=function(e){if(it(e))return null;var t=e.split("/");return t.length>=3?t[2]:null},Jt.prototype._saveReferrer=function(e){if(!it(e)){var t={referrer:e,referring_domain:this._getReferringDomain(e)};return an(this,t),t}},Jt.prototype.saveEvents=function(){try{var e=JSON.stringify(this._unsentEvents.map(function(e){return e.event}));this._setInStorage(Mt,this.options.unsentKey,e)}catch(e){}try{var t=JSON.stringify(this._unsentIdentifys.map(function(e){return e.event}));this._setInStorage(Mt,this.options.unsentIdentifyKey,t)}catch(e){}},Jt.prototype.setDomain=function(e){if(this._shouldDeferCall())return this._q.push(["setDomain"].concat(Array.prototype.slice.call(arguments,0)));if(ct(e,"domain","string"))try{this.cookieStorage.options({expirationDays:this.options.cookieExpiration,secure:this.options.secureCookie,domain:e,sameSite:this.options.sameSiteCookie}),this.options.domain=this.cookieStorage.options().domain,tn(this),on(this)}catch(e){ot.error(e)}},Jt.prototype.setUserId=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ct(t,"startNewSession","boolean")){if(this._shouldDeferCall())return this._q.push(["setUserId"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.userId=null!=e&&""+e||null,t&&(this.options.unsetParamsReferrerOnNewSession&&this._unsetUTMParams(),this._newSession=!0,this._sessionId=(new Date).getTime(),this._runNewSessionStartCallbacks(),this.options.saveParamsReferrerOncePerSession&&this._trackParamsAndReferrer()),on(this),this._connector&&this._connector.identityStore.editIdentity().setUserId(this.options.userId).commit()}catch(e){ot.error(e)}}},Jt.prototype.setGroup=function(e,t){if(this._shouldDeferCall())return this._q.push(["setGroup"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setGroup()")&&ct(e,"groupType","string")&&!it(e)){var n={};n[e]=t;var r=(new Bt).set(e,t);this._logEvent(ne,null,null,r.userPropertiesOperations,n,null,null,null)}},Jt.prototype.setOptOut=function(e){if(this._shouldDeferCall())return this._q.push(["setOptOut"].concat(Array.prototype.slice.call(arguments,0)));if(ct(e,"enable","boolean"))try{this.options.optOut=e,on(this)}catch(e){ot.error(e)}},Jt.prototype.setSessionId=function(e){if(ct(e,"sessionId","number"))try{this._sessionId=e,on(this)}catch(e){ot.error(e)}},Jt.prototype.resetSessionId=function(){this.setSessionId((new Date).getTime())},Jt.prototype.regenerateDeviceId=function(){if(this._shouldDeferCall())return this._q.push(["regenerateDeviceId"].concat(Array.prototype.slice.call(arguments,0)));this.setDeviceId(xt())},Jt.prototype.setDeviceId=function(e){if(this._shouldDeferCall())return this._q.push(["setDeviceId"].concat(Array.prototype.slice.call(arguments,0)));if(pt(e))try{it(e)||(this.options.deviceId=""+e,on(this),this._connector&&this._connector.identityStore.editIdentity().setDeviceId(this.options.deviceId).commit())}catch(e){ot.error(e)}},Jt.prototype.setTransport=function(e){if(this._shouldDeferCall())return this._q.push(["setTransport"].concat(Array.prototype.slice.call(arguments,0)));dt(e)&&(this.options.transport=e)},Jt.prototype.setUserProperties=function(e){if(this._shouldDeferCall())return this._q.push(["setUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setUserProperties()")&&ct(e,"userProperties","object")){var t=ut(ft(e));if(0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.set(r,t[r]);this.identify(n)}}},Jt.prototype.clearUserProperties=function(){if(this._shouldDeferCall())return this._q.push(["clearUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("clearUserProperties()")){var e=new Bt;e.clearAll(),this.identify(e)}};var sn=function(e,t){for(var n=0;n<t._q.length;n++){var r=e[t._q[n][0]];"function"===Ge(r)&&r.apply(e,t._q[n].slice(1))}return e};Jt.prototype.identify=function(e,t,n,r){if(this._shouldDeferCall())return this._q.push(["identify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("identify()"))if("object"===Ge(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new Bt,e)),e instanceof Bt){if(Object.keys(e.userPropertiesOperations).length>0)return this._logEvent(ne,null,null,e.userPropertiesOperations,null,null,null,t,n,r);dn(t,n,0,"No request sent",{reason:"No user property operations"})}else ot.error("Invalid identify input type. Expected Identify object but saw "+Ge(e)),dn(t,n,0,"No request sent",{reason:"Invalid identify input type"});else dn(t,n,0,"No request sent",{reason:"API key is not set"})},Jt.prototype.groupIdentify=function(e,t,n,r,o,i){if(this._shouldDeferCall())return this._q.push(["groupIdentify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("groupIdentify()"))if(ct(e,"group_type","string")&&!it(e))if(null!=t)if("object"===Ge(n)&&Object.prototype.hasOwnProperty.call(n,"_q")&&(n=sn(new Bt,n)),n instanceof Bt){if(Object.keys(n.userPropertiesOperations).length>0)return this._logEvent(re,null,null,null,W({},e,t),n.userPropertiesOperations,null,r,o,i);dn(r,o,0,"No request sent",{reason:"No group property operations"})}else ot.error("Invalid identify input type. Expected Identify object but saw "+Ge(n)),dn(r,o,0,"No request sent",{reason:"Invalid identify input type"});else dn(r,o,0,"No request sent",{reason:"Invalid group name"});else dn(r,o,0,"No request sent",{reason:"Invalid group type"});else dn(r,o,0,"No request sent",{reason:"API key is not set"})},Jt.prototype.setVersionName=function(e){if(this._shouldDeferCall())return this._q.push(["setVersionName"].concat(Array.prototype.slice.call(arguments,0)));ct(e,"versionName","string")&&(this.options.versionName=e)},Jt.prototype._logEvent=function(e,t,n,r,o,i,a,s,u,l){var c;if(tn(this),e)if(this.options.optOut)dn(s,u,0,"No request sent",{reason:"optOut is set to true"});else try{var f;f=e===ne||e===re?this.nextIdentifyId():this.nextEventId();var p=this.nextSequenceNumber(),d="number"===Ge(a)?a:(new Date).getTime();l?this._sessionId=-1:(!this._sessionId||!this._lastEventTime||d-this._lastEventTime>this.options.sessionTimeout)&&(this._sessionId=d,this._runNewSessionStartCallbacks()),this._lastEventTime=d,on(this);var h=this._ua.browser.name,y=this._ua.browser.major,g=this._ua.device.model||this._ua.os.name,m=this._ua.device.vendor;r=r||{};var v=z({},this._apiPropertiesTrackingOptions);n=z(z({},n||{}),v),t=t||{},o=o||{},i=i||{};var b={device_id:this.options.deviceId,user_id:this.options.userId,timestamp:d,event_id:f,session_id:this._sessionId||-1,event_type:e,version_name:this.options.versionName||null,platform:cn(this,"platform")?this.options.platform:null,os_name:cn(this,"os_name")&&h||null,os_version:cn(this,"os_version")&&y||null,device_model:cn(this,"device_model")&&g||null,device_manufacturer:cn(this,"device_manufacturer")&&m||null,language:cn(this,"language")?this.options.language:null,api_properties:n,event_properties:ut(ft(t)),user_properties:ut(ft(r)),uuid:(c=crypto.getRandomValues(new Uint8Array(16)),c[6]=15&c[6]|64,c[8]=63&c[8]|128,X(c.entries()).map(function(e){var t=V(e,2),n=t[0],r=t[1];return[4,6,8,10].includes(n)?"-".concat(Gt[r]):Gt[r]}).join("")),library:this.options.library,sequence_number:p,groups:ut(lt(o)),group_properties:ut(ft(i)),user_agent:this._userAgent,partner_id:this.options.partnerId||null};return un(this)&&(b.plan={branch:this.options.plan.branch||void 0,source:this.options.plan.source||void 0,version:this.options.plan.version||void 0,versionId:this.options.plan.versionId||void 0}),ln(this)&&(b.ingestion_metadata={source_name:this.options.ingestionMetadata.sourceName||void 0,source_version:this.options.ingestionMetadata.sourceVersion||void 0}),e===ne||e===re?(this._unsentIdentifys.push({event:b,callback:s,errorCallback:u}),this._limitEventsQueued(this._unsentIdentifys)):(this._unsentEvents.push({event:b,callback:s,errorCallback:u}),this._limitEventsQueued(this._unsentEvents)),this.options.saveEvents&&this.saveEvents(),this._sendEventsIfReady(),e===ne&&this._connector&&this._connector.identityStore.editIdentity().updateUserProperties(ut(ft(r))).commit(),f}catch(e){ot.error(e)}else dn(s,u,0,"No request sent",{reason:"Missing eventType"})};var un=function(e){return e.options.plan&&(e.options.plan.source||e.options.plan.branch||e.options.plan.version||e.options.plan.versionId)},ln=function(e){return e.options.ingestionMetadata&&(e.options.ingestionMetadata.sourceName||e.options.ingestionMetadata.sourceVersion)},cn=function(e,t){return!!e.options.trackingOptions[t]},fn=function(e){for(var t=["city","country","dma","ip_address","region"],n={},r=0;r<t.length;r++){var o=t[r];cn(e,o)||(n[o]=!1)}return n};Jt.prototype._limitEventsQueued=function(e){e.length>this.options.savedMaxCount&&e.splice(0,e.length-this.options.savedMaxCount).forEach(function(e){dn(e.callback,e.errorCallback,0,"No request sent",{reason:"Event dropped because options.savedMaxCount exceeded. User may be offline or have a content blocker"})})},Jt.prototype.logEvent=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this._shouldDeferCall()?this._q.push(["logEvent"].concat(Array.prototype.slice.call(arguments,0))):this.logEventWithTimestamp(e,t,null,n,r,o)},Jt.prototype.logEventWithTimestamp=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithTimestamp"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEvent()")?ct(e,"eventType","string")?it(e)?(dn(r,o,0,"No request sent",{reason:"Missing eventType"}),-1):(ct(i,"outOfSession","boolean")||dn(r,o,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,null,null,n,r,o,i)):(dn(r,o,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(dn(r,o,0,"No request sent",{reason:"API key not set"}),-1)},Jt.prototype.logEventWithGroups=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithGroups"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEventWithGroups()")?ct(e,"eventType","string")?(ct(i,"outOfSession","boolean")||dn(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,n,null,null,r,o,i)):(dn(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(dn(event.callback,event.errorCallback,0,"No request sent",{reason:"API key not set"}),-1)};var pn=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},dn=function(e,t,n,r,o){"function"===Ge(e)&&e(n,r,o),"function"===Ge(t)&&t(n,r,o)};Jt.prototype.logRevenueV2=function(e){if(this._shouldDeferCall())return this._q.push(["logRevenueV2"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("logRevenueV2()"))if("object"===Ge(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new Ht,e)),e instanceof Ht){if(e&&e._isValidRevenue())return this.logEvent(_e,e._toJSONObject())}else ot.error("Invalid revenue input type. Expected Revenue object but saw "+Ge(e))},Jt.prototype.logRevenue=function(e,t,n){return this._shouldDeferCall()?this._q.push(["logRevenue"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logRevenue()")&&pn(e)&&(void 0===t||pn(t))?this._logEvent(_e,{},{productId:n,special:"revenue_amount",quantity:t||1,price:e},null,null,null,null,null):-1},Jt.prototype._logErrorsOnEvents=function(e,t,n,r){for(var o=["_unsentEvents","_unsentIdentifys"],i=0;i<o.length;i++)for(var a=o[i],s="_unsentEvents"===a?e:t,u=0;u<this[a].length;u++){var l=this[a][u];l.event.event_id<=s&&l.errorCallback&&l.errorCallback(n,r)}},Jt.prototype.removeEvents=function(e,t,n,r){hn(this,"_unsentEvents",e,n,r),hn(this,"_unsentIdentifys",t,n,r)};var hn=function(e,t,n,r,o){if(!(n<0)){for(var i=[],a=0;a<e[t].length;a++){var s=e[t][a];s.event.event_id>n?i.push(s):s.callback&&s.callback(r,o)}e[t]=i}};Jt.prototype.sendEvents=function(){if(this._apiKeySet("sendEvents()")){if(this.options.optOut)this.removeEvents(1/0,1/0,0,"No request sent",{reason:"Opt out is set to true"});else if(0!==this._unsentCount()){if(this.options.transport!==Fe){if(this._sending)return;this._sending=!0}var e=(this.options.forceHttps||"https:"===Be.location.protocol?"https":"http")+"://"+this.options.apiEndpoint,t=Math.min(this._unsentCount(),this.options.uploadBatchSize),n=this._mergeEventsAndIdentifys(t),r=n.maxEventId,o=n.maxIdentifyId,i=JSON.stringify(n.eventsToSend.map(function(e){return e.event})),s=(new Date).getTime(),u={client:this.options.apiKey,e:i,v:Z,upload_time:s,checksum:a()(Z+this.options.apiKey+i+s)};if(this.options.transport!==Fe||"undefined"==typeof navigator){var l=this;try{new qt(e,u,this.options.headers).send(function(e,n){l._sending=!1;try{200===e?(l.removeEvents(r,o,e,n),l.options.saveEvents&&l.saveEvents(),l._sendEventsIfReady()):(l._logErrorsOnEvents(r,o,e,n),413===e&&(1===l.options.uploadBatchSize&&l.removeEvents(r,o,e,n),l.options.uploadBatchSize=Math.ceil(t/2),l.sendEvents()))}catch(e){}})}catch(e){var c="Request failed to send";ot.error(c),l._logErrorsOnEvents(r,o,0,c),l.removeEvents(r,o,0,c,{reason:e.message})}}else{navigator.sendBeacon(e,new URLSearchParams(u))?(this.removeEvents(r,o,200,"success"),this.options.saveEvents&&this.saveEvents()):this._logErrorsOnEvents(r,o,0,"")}}}else this.removeEvents(1/0,1/0,0,"No request sent",{reason:"API key not set"})},Jt.prototype._mergeEventsAndIdentifys=function(e){for(var t=[],n=0,r=-1,o=0,i=-1;t.length<e;){var a=void 0,s=o>=this._unsentIdentifys.length,u=n>=this._unsentEvents.length;if(u&&s){ot.error("Merging Events and Identifys, less events and identifys than expected");break}s?r=(a=this._unsentEvents[n++]).event.event_id:u?i=(a=this._unsentIdentifys[o++]).event.event_id:!("sequence_number"in this._unsentEvents[n].event)||this._unsentEvents[n].event.sequence_number<this._unsentIdentifys[o].event.sequence_number?r=(a=this._unsentEvents[n++]).event.event_id:i=(a=this._unsentIdentifys[o++]).event.event_id,t.push(a)}return{eventsToSend:t,maxEventId:r,maxIdentifyId:i}},Jt.prototype.setGlobalUserProperties=function(e){this.setUserProperties(e)},Jt.prototype.__VERSION__=function(){return this.options.library.version},Jt.prototype.setLibrary=function(e,t){null!=e&&(this.options.library.name=e),null!=t&&(this.options.library.version=t)},Jt.prototype._shouldDeferCall=function(){return this._pendingReadStorage||this._initializationDeferred},Jt.prototype._deferInitialization=function(){this._initializationDeferred=!0,this._q.push(["init"].concat(Array.prototype.slice.call(arguments,0)))},Jt.prototype.enableTracking=function(){this._initializationDeferred=!1,on(this),this.runQueuedFunctions()},Jt.prototype._refreshDynamicConfig=function(){this.options.useDynamicConfig&&Qt.refresh(this.options.serverZone,this.options.forceHttps,function(){this.options.apiEndpoint=Qt.ingestionEndpoint}.bind(this))},Jt.prototype.getDeviceId=function(){return this.options.deviceId},Jt.prototype.getUserId=function(){return this.options.userId},Jt.prototype.setMinTimeBetweenSessionsMillis=function(e){if(ct(e,"timeInMillis","number")){if(this._shouldDeferCall())return this._q.push(["setMinTimeBetweenSessionsMillis"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.sessionTimeout=e}catch(e){ot.error(e)}}},Jt.prototype.setEventUploadThreshold=function(e){if(ct(e,"eventUploadThreshold","number")){if(this._shouldDeferCall())return this._q.push(["setEventUploadThreshold"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.eventUploadThreshold=e}catch(e){ot.error(e)}}},Jt.prototype.setUseDynamicConfig=function(e){if(ct(e,"useDynamicConfig","boolean")){if(this._shouldDeferCall())return this._q.push(["setUseDynamicConfig"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.useDynamicConfig=e,this._refreshDynamicConfig()}catch(e){ot.error(e)}}},Jt.prototype.setServerZone=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((e===Vt||e===Wt)&&ct(t,"serverZoneBasedApi","boolean")){if(this._shouldDeferCall())return this._q.push(["setServerZone"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.serverZone=e,this.options.serverZoneBasedApi=t,t&&(this.options.apiEndpoint=Xt(this.options.serverZone))}catch(e){ot.error(e)}}},Jt.prototype.setServerUrl=function(e){if(ct(e,"serverUrl","string")){if(this._shouldDeferCall())return this._q.push(["setServerUrl"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.apiEndpoint=e}catch(e){ot.error(e)}}};var yn=function(){this.options=z({},Yt),this._q=[],this._instances={}};yn.prototype.Identify=Bt,yn.prototype.Revenue=Ht,yn.prototype.getInstance=function(e){e=it(e)?J:e.toLowerCase();var t=this._instances[e];return void 0===t&&(t=new Jt(e),this._instances[e]=t),t},yn.prototype.init=function(e,t,n,r){this.getInstance().init(e,t,n,function(e){this.options=e.options,"function"===Ge(r)&&r(e)}.bind(this))},yn.prototype.isNewSession=function(){return this.getInstance().isNewSession()},yn.prototype.getSessionId=function(){return this.getInstance().getSessionId()},yn.prototype.nextEventId=function(){return this.getInstance().nextEventId()},yn.prototype.nextIdentifyId=function(){return this.getInstance().nextIdentifyId()},yn.prototype.nextSequenceNumber=function(){return this.getInstance().nextSequenceNumber()},yn.prototype.saveEvents=function(){this.getInstance().saveEvents()},yn.prototype.setDomain=function(e){this.getInstance().setDomain(e)},yn.prototype.setUserId=function(e){this.getInstance().setUserId(e)},yn.prototype.setGroup=function(e,t){this.getInstance().setGroup(e,t)},yn.prototype.setOptOut=function(e){this.getInstance().setOptOut(e)},yn.prototype.regenerateDeviceId=function(){this.getInstance().regenerateDeviceId()},yn.prototype.setDeviceId=function(e){this.getInstance().setDeviceId(e)},yn.prototype.setUserProperties=function(e){this.getInstance().setUserProperties(e)},yn.prototype.clearUserProperties=function(){this.getInstance().clearUserProperties()},yn.prototype.identify=function(e,t){this.getInstance().identify(e,t)},yn.prototype.setVersionName=function(e){this.getInstance().setVersionName(e)},yn.prototype.logEvent=function(e,t,n){return this.getInstance().logEvent(e,t,n)},yn.prototype.logEventWithGroups=function(e,t,n,r){return this.getInstance().logEventWithGroups(e,t,n,r)},yn.prototype.logRevenueV2=function(e){return this.getInstance().logRevenueV2(e)},yn.prototype.logRevenue=function(e,t,n){return this.getInstance().logRevenue(e,t,n)},yn.prototype.removeEvents=function(e,t){this.getInstance().removeEvents(e,t)},yn.prototype.sendEvents=function(e){this.getInstance().sendEvents(e)},yn.prototype.setGlobalUserProperties=function(e){this.getInstance().setUserProperties(e)},yn.prototype.__VERSION__=Kt;var gn=void 0!==Be&&Be.amplitude||{},mn=new yn;for(var vn in mn._q=gn._q||[],gn._iq)Object.prototype.hasOwnProperty.call(gn._iq,vn)&&(mn.getInstance(vn)._q=gn._iq[vn]._q||[])},95672(e,t,n){"use strict";var r=n(6046)("ArrayBuffer.prototype.byteLength",!0),o=n(6705);e.exports=function(e){return o(e)?r?r(e):e.byteLength:NaN}},83141(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}var s,u,l=n(75078).codes,c=l.ERR_AMBIGUOUS_ARGUMENT,f=l.ERR_INVALID_ARG_TYPE,p=l.ERR_INVALID_ARG_VALUE,d=l.ERR_INVALID_RETURN_VALUE,h=l.ERR_MISSING_ARGS,y=n(15841),g=n(41835).inspect,m=n(41835).types,v=m.isPromise,b=m.isRegExp,w=n(91636)(),S=n(25649)(),E=n(16380)("RegExp.prototype.test");new Map;function _(){var e=n(17392);s=e.isDeepEqual,u=e.isDeepStrictEqual}var k=!1,x=e.exports=A,O={};function I(e){if(e.message instanceof Error)throw e.message;throw new y(e)}function T(e,t,n,r){if(!n){var o=!1;if(0===t)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new y({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T.apply(void 0,[A,t.length].concat(t))}x.fail=function e(t,n,r,o,i){var a,s=arguments.length;if(0===s)a="Failed";else if(1===s)r=t,t=void 0;else{if(!1===k)k=!0,({}.emitWarning?{}.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===s&&(o="!=")}if(r instanceof Error)throw r;var u={actual:t,expected:n,operator:void 0===o?"fail":o,stackStartFn:i||e};void 0!==r&&(u.message=r);var l=new y(u);throw a&&(l.message=a,l.generatedMessage=!0),l},x.AssertionError=y,x.ok=A,x.equal=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t!=n&&I({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},x.notEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t==n&&I({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},x.deepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),s(t,n)||I({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},x.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),s(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},x.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_(),u(t,n)||I({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},x.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===s&&_();u(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},x.strictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");S(t,n)||I({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},x.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");S(t,n)&&I({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var C=i(function e(t,n,r){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach(function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&b(t[e])&&E(t[e],r[e])?o[e]=r[e]:o[e]=t[e])})});function R(e,t,n,o){if("function"!=typeof t){if(b(t))return E(t,e);if(2===arguments.length)throw new f("expected",["Function","RegExp"],t);if("object"!==r(e)||null===e){var i=new y({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:o});throw i.operator=o.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new p("error",t,"may not be an empty object");return void 0===s&&_(),a.forEach(function(r){"string"==typeof e[r]&&b(t[r])&&E(t[r],e[r])||function(e,t,n,r,o,i){if(!(n in e)||!u(e[n],t[n])){if(!r){var a=new C(e,o),s=new C(t,o,e),l=new y({actual:a,expected:s,operator:"deepStrictEqual",stackStartFn:i});throw l.actual=e,l.expected=t,l.operator=i.name,l}I({actual:e,expected:t,message:r,operator:i.name,stackStartFn:i})}}(e,t,r,n,a,o)}),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function N(e){if("function"!=typeof e)throw new f("fn","Function",e);try{e()}catch(e){return e}return O}function P(e){return v(e)||null!==e&&"object"===r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return Promise.resolve().then(function(){var t;if("function"==typeof e){if(!P(t=e()))throw new d("instance of Promise","promiseFn",t)}else{if(!P(e))throw new f("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then(function(){return t}).then(function(){return O}).catch(function(e){return e})})}function L(e,t,n,o){if("string"==typeof n){if(4===arguments.length)throw new f("error",["Object","Error","Function","RegExp"],n);if("object"===r(t)&&null!==t){if(t.message===n)throw new c("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new c("error/message",'The error "'.concat(t,'" is identical to the message.'));o=n,n=void 0}else if(null!=n&&"object"!==r(n)&&"function"!=typeof n)throw new f("error",["Object","Error","Function","RegExp"],n);if(t===O){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=o?": ".concat(o):".";var a="rejects"===e.name?"rejection":"exception";I({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(n&&!R(t,n,o,e))throw t}function D(e,t,n,r){if(t!==O){if("string"==typeof n&&(r=n,n=void 0),!n||R(t,n)){var o=r?": ".concat(r):".",i="doesNotReject"===e.name?"rejection":"exception";I({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function M(e,t,n,o,i){if(!b(t))throw new f("regexp","RegExp",t);var a="match"===i;if("string"!=typeof e||E(t,e)!==a){if(n instanceof Error)throw n;var s=!n;n=n||("string"!=typeof e?'The "string" argument must be of type string. Received type '+"".concat(r(e)," (").concat(g(e),")"):(a?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(g(t),". Input:\n\n").concat(g(e),"\n"));var u=new y({actual:e,expected:t,message:n,operator:i,stackStartFn:o});throw u.generatedMessage=s,u}}function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T.apply(void 0,[U,t.length].concat(t))}x.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];L.apply(void 0,[e,N(t)].concat(r))},x.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return j(t).then(function(t){return L.apply(void 0,[e,t].concat(r))})},x.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];D.apply(void 0,[e,N(t)].concat(r))},x.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return j(t).then(function(t){return D.apply(void 0,[e,t].concat(r))})},x.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===r(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=g(t);var o=new y({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=o.stack.split("\n"),u=0;u<a.length;u++){var l=s.indexOf(a[u]);if(-1!==l){s=s.slice(0,l);break}}o.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw o}},x.match=function e(t,n,r){M(t,n,r,e,"match")},x.doesNotMatch=function e(t,n,r){M(t,n,r,e,"doesNotMatch")},x.strict=w(U,x,{equal:x.strictEqual,deepEqual:x.deepStrictEqual,notEqual:x.notStrictEqual,notDeepEqual:x.notDeepStrictEqual}),x.strict.strict=x.strict},15841(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}function u(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},c(e)}function f(e,t,n){return f=p()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o},f.apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}var g=n(41835).inspect,m=n(75078).codes.ERR_INVALID_ARG_TYPE;function v(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var b="",w="",S="",E="",_={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function k(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){n[t]=e[t]}),Object.defineProperty(n,"message",{value:e.message}),n}function x(e){return g(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(e,t,n){var r="",o="",i=0,a="",s=!1,u=x(e),l=u.split("\n"),c=x(t).split("\n"),f=0,p="";if("strictEqual"===n&&"object"===y(e)&&"object"===y(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===c.length&&l[0]!==c[0]){var d=l[0].length+c[0].length;if(d<=10){if(!("object"===y(e)&&null!==e||"object"===y(t)&&null!==t||0===e&&0===t))return"".concat(_[n],"\n\n")+"".concat(l[0]," !== ").concat(c[0],"\n")}else if("strictEqualObject"!==n){if(d<({}.stderr&&{}.stderr.isTTY?{}.stderr.columns:80)){for(;l[0][f]===c[0][f];)f++;f>2&&(p="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",f),"^"),f=0)}}}for(var h=l[l.length-1],g=c[c.length-1];h===g&&(f++<2?a="\n ".concat(h).concat(a):r=h,l.pop(),c.pop(),0!==l.length&&0!==c.length);)h=l[l.length-1],g=c[c.length-1];var m=Math.max(l.length,c.length);if(0===m){var k=u.split("\n");if(k.length>30)for(k[26]="".concat(b,"...").concat(E);k.length>27;)k.pop();return"".concat(_.notIdentical,"\n\n").concat(k.join("\n"),"\n")}f>3&&(a="\n".concat(b,"...").concat(E).concat(a),s=!0),""!==r&&(a="\n ".concat(r).concat(a),r="");var O=0,I=_[n]+"\n".concat(w,"+ actual").concat(E," ").concat(S,"- expected").concat(E),T=" ".concat(b,"...").concat(E," Lines skipped");for(f=0;f<m;f++){var A=f-i;if(l.length<f+1)A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(c[f-2]),O++),o+="\n ".concat(c[f-1]),O++),i=f,r+="\n".concat(S,"-").concat(E," ").concat(c[f]),O++;else if(c.length<f+1)A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(l[f-2]),O++),o+="\n ".concat(l[f-1]),O++),i=f,o+="\n".concat(w,"+").concat(E," ").concat(l[f]),O++;else{var C=c[f],R=l[f],N=R!==C&&(!v(R,",")||R.slice(0,-1)!==C);N&&v(C,",")&&C.slice(0,-1)===R&&(N=!1,R+=","),N?(A>1&&f>2&&(A>4?(o+="\n".concat(b,"...").concat(E),s=!0):A>3&&(o+="\n ".concat(l[f-2]),O++),o+="\n ".concat(l[f-1]),O++),i=f,o+="\n".concat(w,"+").concat(E," ").concat(R),r+="\n".concat(S,"-").concat(E," ").concat(C),O+=2):(o+=r,r="",1!==A&&0!==f||(o+="\n ".concat(R),O++))}if(O>20&&f<m-2)return"".concat(I).concat(T,"\n").concat(o,"\n").concat(b,"...").concat(E).concat(r,"\n")+"".concat(b,"...").concat(E)}return"".concat(I).concat(s?T:"","\n").concat(o).concat(r).concat(a).concat(p)}var I=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(v,e);var n,r,i,s,c,f=(n=v,r=p(),function(){var e,t=h(n);if(r){var o=h(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return u(this,e)});function v(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),"object"!==y(e)||null===e)throw new m("options","Object",e);var n=e.message,r=e.operator,o=e.stackStartFn,i=e.actual,a=e.expected,s=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=f.call(this,String(n));else if({}.stderr&&{}.stderr.isTTY&&({}.stderr&&{}.stderr.getColorDepth&&1!=={}.stderr.getColorDepth()?(b="",w="",E="",S=""):(b="",w="",E="",S="")),"object"===y(i)&&null!==i&&"object"===y(a)&&null!==a&&"stack"in i&&i instanceof Error&&"stack"in a&&a instanceof Error&&(i=k(i),a=k(a)),"deepStrictEqual"===r||"strictEqual"===r)t=f.call(this,O(i,a,r));else if("notDeepStrictEqual"===r||"notStrictEqual"===r){var c=_[r],p=x(i).split("\n");if("notStrictEqual"===r&&"object"===y(i)&&null!==i&&(c=_.notStrictEqualObject),p.length>30)for(p[26]="".concat(b,"...").concat(E);p.length>27;)p.pop();t=1===p.length?f.call(this,"".concat(c," ").concat(p[0])):f.call(this,"".concat(c,"\n\n").concat(p.join("\n"),"\n"))}else{var d=x(i),h="",g=_[r];"notDeepEqual"===r||"notEqual"===r?(d="".concat(_[r],"\n\n").concat(d)).length>1024&&(d="".concat(d.slice(0,1021),"...")):(h="".concat(x(a)),d.length>512&&(d="".concat(d.slice(0,509),"...")),h.length>512&&(h="".concat(h.slice(0,509),"...")),"deepEqual"===r||"equal"===r?d="".concat(g,"\n\n").concat(d,"\n\nshould equal\n\n"):h=" ".concat(r," ").concat(h)),t=f.call(this,"".concat(d).concat(h))}return Error.stackTraceLimit=s,t.generatedMessage=!n,Object.defineProperty(l(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=i,t.expected=a,t.operator=r,Error.captureStackTrace&&Error.captureStackTrace(l(t),o),t.stack,t.name="AssertionError",u(t)}return i=v,(s=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return g(this,o(o({},t),{},{customInspect:!1,depth:0}))}}])&&a(i.prototype,s),c&&a(i,c),Object.defineProperty(i,"prototype",{writable:!1}),v}(c(Error),g.custom);e.exports=I},75078(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,o=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l,c,f={};function p(e,t,n){n||(n=Error);var r=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(c,n);var r,i,u,l=s(c);function c(n,r,o){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i=l.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o)),i.code=e,i}return r=c,i&&o(r.prototype,i),u&&o(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r}(n);f[e]=r}function d(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}p("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),p("ERR_INVALID_ARG_TYPE",function(e,t,o){var i,a,s,u;if(void 0===l&&(l=n(83141)),l("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!s||s<0?0:+s,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(i," ").concat(d(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(d(t,"type"))}return u+=". Received type ".concat(r(o))},TypeError),p("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(41835));var o=c.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)},TypeError,RangeError),p("ERR_INVALID_RETURN_VALUE",function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")},TypeError),p("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===l&&(l=n(83141)),l(t.length>0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", "),o+=", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")},TypeError),e.exports.codes=f},17392(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},u=function(e){var t=[];return e.forEach(function(e,n){return t.push([n,e])}),t},l=Object.is?Object.is:n(25184),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:n(96989);function p(e){return e.call.bind(e)}var d=p(Object.prototype.hasOwnProperty),h=p(Object.prototype.propertyIsEnumerable),y=p(Object.prototype.toString),g=n(41835).types,m=g.isAnyArrayBuffer,v=g.isArrayBufferView,b=g.isDate,w=g.isMap,S=g.isRegExp,E=g.isSet,_=g.isNativeError,k=g.isBoxedPrimitive,x=g.isNumberObject,O=g.isStringObject,I=g.isBooleanObject,T=g.isBigIntObject,A=g.isSymbolObject,C=g.isFloat32Array,R=g.isFloat64Array;function N(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function P(e){return Object.keys(e).filter(N).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function j(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0}function L(e,t,n,r){if(e===t)return 0!==e||(!n||l(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&f(e)&&f(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var o,s,u,c,p=y(e);if(p!==y(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var d=P(e),h=P(t);return d.length===h.length&&M(e,t,n,r,1,d)}if("[object Object]"===p&&(!w(e)&&w(t)||!E(e)&&E(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(S(e)){if(!S(t)||(u=e,c=t,!(a?u.source===c.source&&u.flags===c.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(c))))return!1}else if(_(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(v(e)){if(n||!C(e)&&!R(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===j(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var g=P(e),N=P(t);return g.length===N.length&&M(e,t,n,r,0,g)}if(E(e))return!(!E(t)||e.size!==t.size)&&M(e,t,n,r,2);if(w(e))return!(!w(t)||e.size!==t.size)&&M(e,t,n,r,3);if(m(e)){if(s=t,(o=e).byteLength!==s.byteLength||0!==j(new Uint8Array(o),new Uint8Array(s)))return!1}else if(k(e)&&!function(e,t){return x(e)?x(t)&&l(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):O(e)?O(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):I(e)?I(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):T(e)?T(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):A(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return M(e,t,n,r,0)}function D(e,t){return t.filter(function(t){return h(e,t)})}function M(e,t,n,o,a,l){if(5===arguments.length){l=Object.keys(e);var f=Object.keys(t);if(l.length!==f.length)return!1}for(var p=0;p<l.length;p++)if(!d(t,l[p]))return!1;if(n&&5===arguments.length){var y=c(e);if(0!==y.length){var g=0;for(p=0;p<y.length;p++){var m=y[p];if(h(e,m)){if(!h(t,m))return!1;l.push(m),g++}else if(h(t,m))return!1}var v=c(t);if(y.length!==v.length&&D(t,v).length!==g)return!1}else{var b=c(t);if(0!==b.length&&0!==D(t,b).length)return!1}}if(0===l.length&&(0===a||1===a&&0===e.length||0===e.size))return!0;if(void 0===o)o={val1:new Map,val2:new Map,position:0};else{var w=o.val1.get(e);if(void 0!==w){var S=o.val2.get(t);if(void 0!==S)return w===S}o.position++}o.val1.set(e,o.position),o.val2.set(t,o.position);var E=function(e,t,n,o,a,l){var c=0;if(2===l){if(!function(e,t,n,r){for(var o=null,a=s(e),u=0;u<a.length;u++){var l=a[u];if("object"===i(l)&&null!==l)null===o&&(o=new Set),o.add(l);else if(!t.has(l)){if(n)return!1;if(!$(e,t,l))return!1;null===o&&(o=new Set),o.add(l)}}if(null!==o){for(var c=s(t),f=0;f<c.length;f++){var p=c[f];if("object"===i(p)&&null!==p){if(!U(o,p,n,r))return!1}else if(!n&&!e.has(p)&&!U(o,p,n,r))return!1}return 0===o.size}return!0}(e,t,n,a))return!1}else if(3===l){if(!function(e,t,n,o){for(var a=null,s=u(e),l=0;l<s.length;l++){var c=r(s[l],2),f=c[0],p=c[1];if("object"===i(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var d=t.get(f);if(void 0===d&&!t.has(f)||!L(p,d,n,o)){if(n)return!1;if(!z(e,t,f,p,o))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var h=u(t),y=0;y<h.length;y++){var g=r(h[y],2),m=g[0],v=g[1];if("object"===i(m)&&null!==m){if(!B(a,e,m,v,n,o))return!1}else if(!(n||e.has(m)&&L(e.get(m),v,!1,o)||B(a,e,m,v,!1,o)))return!1}return 0===a.size}return!0}(e,t,n,a))return!1}else if(1===l)for(;c<e.length;c++){if(!d(e,c)){if(d(t,c))return!1;for(var f=Object.keys(e);c<f.length;c++){var p=f[c];if(!d(t,p)||!L(e[p],t[p],n,a))return!1}return f.length===Object.keys(t).length}if(!d(t,c)||!L(e[c],t[c],n,a))return!1}for(c=0;c<o.length;c++){var h=o[c];if(!L(e[h],t[h],n,a))return!1}return!0}(e,t,n,l,o,a);return o.val1.delete(e),o.val2.delete(t),E}function U(e,t,n,r){for(var o=s(e),i=0;i<o.length;i++){var a=o[i];if(L(t,a,n,r))return e.delete(a),!0}return!1}function F(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(f(e))return!1}return!0}function $(e,t,n){var r=F(n);return null!=r?r:t.has(r)&&!e.has(r)}function z(e,t,n,r,o){var i=F(n);if(null!=i)return i;var a=t.get(i);return!(void 0===a&&!t.has(i)||!L(r,a,!1,o))&&(!e.has(i)&&L(r,a,!1,o))}function B(e,t,n,r,o,i){for(var a=s(e),u=0;u<a.length;u++){var l=a[u];if(L(n,l,o,i)&&L(r,t.get(l),o,i))return e.delete(l),!0}return!1}e.exports={isDeepEqual:function(e,t){return L(e,t,false)},isDeepStrictEqual:function(e,t){return L(e,t,true)}}},43855(e,t,n){var r;!function(){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,r,i,a){return o((s=o(o(t,e),o(r,a)))<<(u=i)|s>>>32-u,n);var s,u}function a(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function l(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function c(e,t){var n,r,i,c,f;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,d=-271733879,h=-1732584194,y=271733878;for(n=0;n<e.length;n+=16)r=p,i=d,c=h,f=y,p=a(p,d,h,y,e[n],7,-680876936),y=a(y,p,d,h,e[n+1],12,-389564586),h=a(h,y,p,d,e[n+2],17,606105819),d=a(d,h,y,p,e[n+3],22,-1044525330),p=a(p,d,h,y,e[n+4],7,-176418897),y=a(y,p,d,h,e[n+5],12,1200080426),h=a(h,y,p,d,e[n+6],17,-1473231341),d=a(d,h,y,p,e[n+7],22,-45705983),p=a(p,d,h,y,e[n+8],7,1770035416),y=a(y,p,d,h,e[n+9],12,-1958414417),h=a(h,y,p,d,e[n+10],17,-42063),d=a(d,h,y,p,e[n+11],22,-1990404162),p=a(p,d,h,y,e[n+12],7,1804603682),y=a(y,p,d,h,e[n+13],12,-40341101),h=a(h,y,p,d,e[n+14],17,-1502002290),p=s(p,d=a(d,h,y,p,e[n+15],22,1236535329),h,y,e[n+1],5,-165796510),y=s(y,p,d,h,e[n+6],9,-1069501632),h=s(h,y,p,d,e[n+11],14,643717713),d=s(d,h,y,p,e[n],20,-373897302),p=s(p,d,h,y,e[n+5],5,-701558691),y=s(y,p,d,h,e[n+10],9,38016083),h=s(h,y,p,d,e[n+15],14,-660478335),d=s(d,h,y,p,e[n+4],20,-405537848),p=s(p,d,h,y,e[n+9],5,568446438),y=s(y,p,d,h,e[n+14],9,-1019803690),h=s(h,y,p,d,e[n+3],14,-187363961),d=s(d,h,y,p,e[n+8],20,1163531501),p=s(p,d,h,y,e[n+13],5,-1444681467),y=s(y,p,d,h,e[n+2],9,-51403784),h=s(h,y,p,d,e[n+7],14,1735328473),p=u(p,d=s(d,h,y,p,e[n+12],20,-1926607734),h,y,e[n+5],4,-378558),y=u(y,p,d,h,e[n+8],11,-2022574463),h=u(h,y,p,d,e[n+11],16,1839030562),d=u(d,h,y,p,e[n+14],23,-35309556),p=u(p,d,h,y,e[n+1],4,-1530992060),y=u(y,p,d,h,e[n+4],11,1272893353),h=u(h,y,p,d,e[n+7],16,-155497632),d=u(d,h,y,p,e[n+10],23,-1094730640),p=u(p,d,h,y,e[n+13],4,681279174),y=u(y,p,d,h,e[n],11,-358537222),h=u(h,y,p,d,e[n+3],16,-722521979),d=u(d,h,y,p,e[n+6],23,76029189),p=u(p,d,h,y,e[n+9],4,-640364487),y=u(y,p,d,h,e[n+12],11,-421815835),h=u(h,y,p,d,e[n+15],16,530742520),p=l(p,d=u(d,h,y,p,e[n+2],23,-995338651),h,y,e[n],6,-198630844),y=l(y,p,d,h,e[n+7],10,1126891415),h=l(h,y,p,d,e[n+14],15,-1416354905),d=l(d,h,y,p,e[n+5],21,-57434055),p=l(p,d,h,y,e[n+12],6,1700485571),y=l(y,p,d,h,e[n+3],10,-1894986606),h=l(h,y,p,d,e[n+10],15,-1051523),d=l(d,h,y,p,e[n+1],21,-2054922799),p=l(p,d,h,y,e[n+8],6,1873313359),y=l(y,p,d,h,e[n+15],10,-30611744),h=l(h,y,p,d,e[n+6],15,-1560198380),d=l(d,h,y,p,e[n+13],21,1309151649),p=l(p,d,h,y,e[n+4],6,-145523070),y=l(y,p,d,h,e[n+11],10,-1120210379),h=l(h,y,p,d,e[n+2],15,718787259),d=l(d,h,y,p,e[n+9],21,-343485551),p=o(p,r),d=o(d,i),h=o(h,c),y=o(y,f);return[p,d,h,y]}function f(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function d(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function h(e){return unescape(encodeURIComponent(e))}function y(e){return function(e){return f(c(p(e),8*e.length))}(h(e))}function g(e,t){return function(e,t){var n,r,o=p(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=c(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=c(i.concat(p(t)),512+8*t.length),f(c(a.concat(r),640))}(h(e),h(t))}function m(e,t,n){return t?n?g(t,e):d(g(t,e)):n?y(e):d(y(e))}void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}()},57846(e,t,n){"use strict";var r=n(94867),o=n(43920),i=n(57522),a=n(34873);e.exports=a||r.call(i,o)},127(e,t,n){"use strict";var r=n(94867),o=n(43920),i=n(57846);e.exports=function(){return i(r,o,arguments)}},43920(e){"use strict";e.exports=Function.prototype.apply},57522(e){"use strict";e.exports=Function.prototype.call},26948(e,t,n){"use strict";var r=n(94867),o=n(41623),i=n(57522),a=n(57846);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,i,e)}},34873(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},16380(e,t,n){"use strict";var r=n(39619),o=n(42896),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},42896(e,t,n){"use strict";var r=n(11256),o=n(69001),i=n(26948),a=n(127);e.exports=function(e){var t=i(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},41233(e,t,n){"use strict";var r=n(39619),o=n(60001),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},60001(e,t,n){"use strict";var r=n(11256),o=n(69001),i=n(26948),a=n(127);e.exports=function(e){var t=i(arguments),n=1+e.length-(arguments.length-1);return r(t,n>0?n:0,!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},6046(e,t,n){"use strict";var r=n(39619),o=n(26948),i=o([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o([n]):n}},70367(e,t,n){"use strict";n.d(t,{A:()=>u});var r,o,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=(r=["",""],o=["",""],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));var s=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return i(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return this.tag(a,e.apply(void 0,[t].concat(r)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce(function(e,t){return t.onString?t.onString(e):e},e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce(function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e},e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce(function(e,t){return t.onEndResult?t.onEndResult(e):e},e)}}]),e}();const u=s},71448(e,t,n){"use strict";n(68446)},7955(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:","}),o.A,a.A)},3958(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:",",conjunction:"and"}),o.A,a.A)},50700(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A((0,i.A)({separator:",",conjunction:"or"}),o.A,a.A)},14442(e,t,n){"use strict";n.d(t,{A:()=>o});var r=/^8(69|87)$/.test(n.j)?null:{separator:"",conjunction:"",serial:!1};const o=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,o=e.separator,i=e.conjunction,a=e.serial,s=n.match(/(\n?[^\S\n]+)$/);if(t=s?t.join(o+s[1]):t.join(o+" "),i&&r>1){var u=t.lastIndexOf(o);t=t.slice(0,u)+(a?o:"")+" "+i+t.slice(u+1)}}return t}}}},8853(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454);new r.A(i.A,o.A,a.A)},43837(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:","}),(0,a.A)(/(?:\s+)/g," "),i.A)},39811(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:",",conjunction:"and"}),(0,a.A)(/(?:\s+)/g," "),i.A)},24181(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A((0,o.A)({separator:",",conjunction:"or"}),(0,a.A)(/(?:\s+)/g," "),i.A)},66684(e,t,n){"use strict";var r=n(70367),o=n(14442),i=n(39454),a=n(94800);new r.A(o.A,(0,a.A)(/(?:\s+)/g," "),i.A)},80426(e,t,n){"use strict";n.d(t,{A:()=>o});var r=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e};const o=/^8(69|87)$/.test(n.j)?null:function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(r):r(e)?e:""}}}},94800(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}}},56649(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),a=n(39454),s=n(6084);const u=function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}};new r.A((0,s.A)("\n"),i.A,o.A,a.A,u(/&/g,"&amp;"),u(/</g,"&lt;"),u(/>/g,"&gt;"),u(/"/g,"&quot;"),u(/'/g,"&#x27;"),u(/`/g,"&#x60;"))},38555(e,t,n){"use strict";n(68446)},6084(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}}},11(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(39454);new r.A(o.A,i.A)},47274(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n.map(function(e){return e.length})));if(r){var o=new RegExp("^.{"+r+"}","gm");return t.replace(o,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}}},80607(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(39454);new r.A((0,o.A)("all"),i.A)},39454(e,t,n){"use strict";n.d(t,{A:()=>r});const r=/^8(69|87)$/.test(n.j)?null:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}}},23569(e){function t(e,t=100,n={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:r}="boolean"==typeof n?{immediate:n}:n;let o,i,a,s,u;function l(){const t=o,n=i;return o=void 0,i=void 0,u=e.apply(t,n),u}function c(){const e=Date.now()-s;e<t&&e>=0?a=setTimeout(c,t-e):(a=void 0,r||(u=l()))}const f=function(...e){if(o&&this!==o&&Object.getPrototypeOf(this)===Object.getPrototypeOf(o))throw new Error("Debounced method called with different contexts of the same prototype.");o=this,i=e,s=Date.now();const n=r&&!a;return a||(a=setTimeout(c,t)),n&&(u=l()),u};return Object.defineProperty(f,"isPending",{get:()=>void 0!==a}),f.clear=()=>{a&&(clearTimeout(a),a=void 0)},f.flush=()=>{a&&f.trigger()},f.trigger=()=>{u=l(),f.clear()},f}e.exports.debounce=t,e.exports=t},35226(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))}),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"env"in{}&&(e={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.DEBUG);return e},t.useColors=function(){if(window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(54613)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},54613(e,t,n){e.exports=function(e){function t(e){let n,o,i,a=null;function s(...e){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,o)=>{if("%%"===n)return"%";a++;const i=t.formatters[o];if("function"==typeof i){const t=e[a];n=i.call(r,t),e.splice(a,1),a--}return n}),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e,t){let n=0,r=0,o=-1,i=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(o=r,i=n,r++):(n++,r++);else{if(-1===o)return!1;r=o+1,i++,n=i}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=n(8141),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},95796(e,t,n){"use strict";var r=n(11887),o=n(41233),i=n(24589),a=n(39619),s=n(18748),u=n(38910),l=n(97091),c=n(26800),f=n(25344),p=n(6705),d=n(90669),h=n(86335),y=n(14110),g=n(3528),m=n(7104),v=n(93232),b=n(42803),w=n(95672),S=o("SharedArrayBuffer.prototype.byteLength",!0),E=o("Date.prototype.getTime"),_=Object.getPrototypeOf,k=o("Object.prototype.toString"),x=a("%Set%",!0),O=o("Map.prototype.has",!0),I=o("Map.prototype.get",!0),T=o("Map.prototype.size",!0),A=o("Set.prototype.add",!0),C=o("Set.prototype.delete",!0),R=o("Set.prototype.has",!0),N=o("Set.prototype.size",!0);function P(e,t,n,r){for(var o,i=s(e);(o=i.next())&&!o.done;)if(U(t,o.value,n,r))return C(e,o.value),!0;return!1}function j(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function L(e,t,n,o,i,a){var s=j(n);if(null!=s)return s;var u=I(t,s),l=r({},i,{strict:!1});return!(void 0===u&&!O(t,s)||!U(o,u,l,a))&&(!O(e,s)&&U(o,u,l,a))}function D(e,t,n){var r=j(n);return null!=r?r:R(t,r)&&!R(e,r)}function M(e,t,n,r,o,i){for(var a,u,l=s(e);(a=l.next())&&!a.done;)if(U(n,u=a.value,o,i)&&U(r,I(t,u),o,i))return C(e,u),!0;return!1}function U(e,t,n,o){var a=n||{};if(a.strict?l(e,t):e===t)return!0;if(m(e)!==m(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return a.strict?l(e,t):e==t;var u,C=o.has(e),j=o.has(t);if(C&&j){if(o.get(e)===o.get(t))return!0}else u={};return C||o.set(e,u),j||o.set(t,u),function(e,t,n,o){var a,u;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(k(e)!==k(t))return!1;if(c(e)!==c(t))return!1;var l=f(e),m=f(t);if(l!==m)return!1;var C=e instanceof Error,j=t instanceof Error;if(C!==j)return!1;if((C||j)&&(e.name!==t.name||e.message!==t.message))return!1;var $=h(e),z=h(t);if($!==z)return!1;if(($||z)&&(e.source!==t.source||i(e)!==i(t)))return!1;var B=d(e),q=d(t);if(B!==q)return!1;if((B||q)&&E(e)!==E(t))return!1;if(n.strict&&_&&_(e)!==_(t))return!1;var H=b(e),G=b(t);if(H!==G)return!1;if(H||G){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var W=F(e),V=F(t);if(W!==V)return!1;if(W||V){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var X=p(e),K=p(t);if(X!==K)return!1;if(X||K)return w(e)===w(t)&&("function"==typeof Uint8Array&&U(new Uint8Array(e),new Uint8Array(t),n,o));var Y=y(e),Q=y(t);if(Y!==Q)return!1;if(Y||Q)return S(e)===S(t)&&("function"==typeof Uint8Array&&U(new Uint8Array(e),new Uint8Array(t),n,o));if(typeof e!=typeof t)return!1;var J=g(e),Z=g(t);if(J.length!==Z.length)return!1;for(J.sort(),Z.sort(),a=J.length-1;a>=0;a--)if(J[a]!=Z[a])return!1;for(a=J.length-1;a>=0;a--)if(!U(e[u=J[a]],t[u],n,o))return!1;var ee=v(e),te=v(t);if(ee!==te)return!1;if("Set"===ee||"Set"===te)return function(e,t,n,r){if(N(e)!==N(t))return!1;var o,i,a,u=s(e),l=s(t);for(;(o=u.next())&&!o.done;)if(o.value&&"object"==typeof o.value)a||(a=new x),A(a,o.value);else if(!R(t,o.value)){if(n.strict)return!1;if(!D(e,t,o.value))return!1;a||(a=new x),A(a,o.value)}if(a){for(;(i=l.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!P(a,i.value,n.strict,r))return!1}else if(!n.strict&&!R(e,i.value)&&!P(a,i.value,n.strict,r))return!1;return 0===N(a)}return!0}(e,t,n,o);if("Map"===ee)return function(e,t,n,o){if(T(e)!==T(t))return!1;var i,a,u,l,c,f,p=s(e),d=s(t);for(;(i=p.next())&&!i.done;)if(l=i.value[0],c=i.value[1],l&&"object"==typeof l)u||(u=new x),A(u,l);else if(void 0===(f=I(t,l))&&!O(t,l)||!U(c,f,n,o)){if(n.strict)return!1;if(!L(e,t,l,c,n,o))return!1;u||(u=new x),A(u,l)}if(u){for(;(a=d.next())&&!a.done;)if(l=a.value[0],f=a.value[1],l&&"object"==typeof l){if(!M(u,e,l,f,n,o))return!1}else if(!(n.strict||e.has(l)&&U(I(e,l),f,n,o)||M(u,e,l,f,r({},n,{strict:!1}),o)))return!1;return 0===N(u)}return!0}(e,t,n,o);return!0}(e,t,a,o)}function F(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0&&"number"!=typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))))}e.exports=function(e,t,n){return U(e,t,n,u())}},7001(e,t,n){"use strict";var r=n(69001),o=n(70064),i=n(41623),a=n(67768);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},81265(e,t,n){"use strict";var r=n(3528),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=n(7001),u=n(73560)(),l=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;u?s(e,t,n,!0):s(e,t,n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};c.supportsDescriptors=!!u,e.exports=c},59681(e){e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}},83773(e,t,n){"use strict";var r,o=n(26948),i=n(67768);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof u&&function(e){return u(null==e?e:s(e))}},69001(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},16233(e){"use strict";e.exports=EvalError},66307(e){"use strict";e.exports=Error},33654(e){"use strict";e.exports=RangeError},96758(e){"use strict";e.exports=ReferenceError},70064(e){"use strict";e.exports=SyntaxError},41623(e){"use strict";e.exports=TypeError},13789(e){"use strict";e.exports=URIError},24462(e){"use strict";e.exports=Object},56009(e){"use strict";e.exports=Object},19135(e,t,n){"use strict";var r=n(96219),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a,s;arguments.length>=3&&(a=n),s=e,"[object Array]"===o.call(s)?function(e,t,n){for(var r=0,o=e.length;r<o;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,o=e.length;r<o;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},46501(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),s=n(0,o.length-a.length),u=[],l=0;l<s;l++)u[l]="$"+l;if(i=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(e,r(a,arguments))}),o.prototype){var c=function(){};c.prototype=o.prototype,i.prototype=new c,c.prototype=null}return i}},94867(e,t,n){"use strict";var r=n(46501);e.exports=Function.prototype.bind||r},19769(e){"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n(function(){},"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},39619(e,t,n){"use strict";var r,o=n(56009),i=n(66307),a=n(16233),s=n(33654),u=n(96758),l=n(70064),c=n(41623),f=n(13789),p=n(3763),d=n(49893),h=n(83277),y=n(58471),g=n(27709),m=n(82587),v=n(38478),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},S=n(67768),E=n(69001),_=function(){throw new c},k=S?function(){try{return _}catch(e){try{return S(arguments,"callee").get}catch(e){return _}}}():_,x=n(12877)(),O=n(28495),I=n(55311),T=n(21033),A=n(43920),C=n(57522),R={},N="undefined"!=typeof Uint8Array&&O?O(Uint8Array):r,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&O?O(O([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&O?O((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&O?O((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&O?O(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":k,"%TypedArray%":N,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":C,"%Function.prototype.apply%":A,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":I,"%Math.abs%":p,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":T};if(O)try{null.error}catch(e){var j=O(O(e));P["%Error.prototype%"]=j}var L=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&O&&(n=O(o.prototype))}return P[t]=n,n},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=n(94867),U=n(2399),F=M.call(C,Array.prototype.concat),$=M.call(A,Array.prototype.splice),z=M.call(C,String.prototype.replace),B=M.call(C,String.prototype.slice),q=M.call(C,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,W=function(e,t){var n,r=e;if(U(D,r)&&(r="%"+(n=D[r])[0]+"%"),U(P,r)){var o=P[r];if(o===R&&(o=L(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return z(e,H,function(e,t,n,o){r[r.length]=n?z(o,G,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",o=W("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],$(n,F([0,1],u)));for(var f=1,p=!0;f<n.length;f+=1){var d=n[f],h=B(d,0,1),y=B(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&p||(s=!0),U(P,i="%"+(r+="."+d)+"%"))a=P[i];else if(null!=a){if(!(d in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(S&&f+1>=n.length){var g=S(a,d);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[d]}else p=U(a,d),a=a[d];p&&!s&&(P[i]=a)}}return a}},55311(e,t,n){"use strict";var r=n(56009);e.exports=r.getPrototypeOf||null},21033(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},28495(e,t,n){"use strict";var r=n(21033),o=n(55311),i=n(83773);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},6124(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},67768(e,t,n){"use strict";var r=n(6124);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},72191(e){"use strict";var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},73560(e,t,n){"use strict";var r=n(69001),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},12877(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(40847);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},40847(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},81070(e,t,n){"use strict";var r=n(40847);e.exports=function(){return r()&&!!Symbol.toStringTag}},53841(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(94867);e.exports=i.call(r,o)},2399(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(94867);e.exports=i.call(r,o)},18628(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},99221(e,t,n){"use strict";var r=n(53841),o=n(38910)(),i=n(41623),a={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");if(o.assert(e),!a.has(e,t))throw new i("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=o.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=o.get(e);return!!n&&r(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var r=o.get(e);r||(r={},o.set(e,r)),r["$"+t]=n}};Object.freeze&&Object.freeze(a),e.exports=a},71541(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=n(16380)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},26800(e,t,n){"use strict";var r=n(81070)(),o=n(6046)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"callee"in e&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},6705(e,t,n){"use strict";var r=n(60001),o=n(6046),i=n(39619)("%ArrayBuffer%",!0),a=o("ArrayBuffer.prototype.byteLength",!0),s=o("Object.prototype.toString"),u=!!i&&!a&&new i(0).slice,l=!!u&&r(u);e.exports=a||l?function(e){if(!e||"object"!=typeof e)return!1;try{return a?a(e):l(e,0),!0}catch(e){return!1}}:i?function(e){return"[object ArrayBuffer]"===s(e)}:function(e){return!1}},19233(e,t,n){"use strict";if(n(72191)()){var r=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return r.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},16154(e,t,n){"use strict";var r=n(6046),o=r("Boolean.prototype.toString"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Boolean]"===i(e))}},96219(e){"use strict";var t,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o(function(){throw 42},null,t)}catch(e){e!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=o?function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(a(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},90669(e,t,n){"use strict";var r=n(6046),o=r("Date.prototype.getDay"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Date]"===i(e))}},33491(e,t,n){"use strict";var r,o=n(6046),i=n(29013)(/^\s*(?:function)?\*/),a=n(81070)(),s=n(28495),u=o("Object.prototype.toString"),l=o("Function.prototype.toString");e.exports=function(e){if("function"!=typeof e)return!1;if(i(l(e)))return!0;if(!a)return"[object GeneratorFunction]"===u(e);if(!s)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&s(t)}return s(e)===r}},32258(e){"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var o=n?Map.prototype.has:null,i=r?Set.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},40259(e){"use strict";e.exports=function(e){return e!=e}},96989(e,t,n){"use strict";var r=n(42896),o=n(81265),i=n(40259),a=n(66778),s=n(84664),u=r(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},66778(e,t,n){"use strict";var r=n(40259);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},84664(e,t,n){"use strict";var r=n(81265),o=n(66778);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},92006(e,t,n){"use strict";var r=n(6046),o=r("Number.prototype.toString"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"number"==typeof e||!(!e||"object"!=typeof e)&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Number]"===i(e))}},86335(e,t,n){"use strict";var r,o=n(6046),i=n(81070)(),a=n(2399),s=n(67768);if(i){var u=o("RegExp.prototype.exec"),l={},c=function(){throw l},f={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=c),r=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{u(e,f)}catch(e){return e===l}}}else{var p=o("Object.prototype.toString");r=function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===p(e)}}e.exports=r},51306(e){"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;r||(t=function(e){return!1});var o=n?Map.prototype.has:null,i=r?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),o)try{o.call(e)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},14110(e,t,n){"use strict";var r=n(6046)("SharedArrayBuffer.prototype.byteLength",!0);e.exports=r?function(e){if(!e||"object"!=typeof e)return!1;try{return r(e),!0}catch(e){return!1}}:function(e){return!1}},696(e,t,n){"use strict";var r=n(6046),o=r("String.prototype.valueOf"),i=r("Object.prototype.toString"),a=n(81070)();e.exports=function(e){return"string"==typeof e||!(!e||"object"!=typeof e)&&(a?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object String]"===i(e))}},4698(e,t,n){"use strict";var r=n(6046),o=r("Object.prototype.toString"),i=n(12877)(),a=n(29013);if(i){var s=r("Symbol.prototype.toString"),u=a(/^Symbol\(.*\)$/);e.exports=function(e){if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||"[object Symbol]"!==o(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&u(s(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},34587(e,t,n){"use strict";var r=n(56681);e.exports=function(e){return!!r(e)}},92001(e){"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,r="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var o=n?n.prototype.has:null,i=r?r.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e,o),i)try{i.call(e,i)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},18483(e,t,n){"use strict";var r=n(39619),o=n(6046),i=r("%WeakSet%",!0),a=o("WeakSet.prototype.has",!0);if(a){var s=o("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(a(e,a),s)try{s(e,s)}catch(e){return!0}return e instanceof i}catch(e){}return!1}}else e.exports=function(e){return!1}},25344(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},46041(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var f="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,p="object"==typeof self&&self&&self.Object===Object&&self,d=f||p||Function("return this")(),h=t&&!t.nodeType&&t,y=h&&e&&!e.nodeType&&e,g=y&&y.exports===h,m=g&&f.process,v=function(){try{var e=y&&y.require&&y.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;var w,S,E,_=Array.prototype,k=Function.prototype,x=Object.prototype,O=d["__core-js_shared__"],I=k.toString,T=x.hasOwnProperty,A=(w=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",C=x.toString,R=I.call(Object),N=RegExp("^"+I.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=g?d.Buffer:void 0,j=d.Symbol,L=d.Uint8Array,D=P?P.allocUnsafe:void 0,M=(S=Object.getPrototypeOf,E=Object,function(e){return S(E(e))}),U=Object.create,F=x.propertyIsEnumerable,$=_.splice,z=j?j.toStringTag:void 0,B=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=P?P.isBuffer:void 0,H=Math.max,G=Date.now,W=he(d,"Map"),V=he(Object,"create"),X=function(){function e(){}return function(t){if(!Oe(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new Y(e);this.size=t.size}function Z(e,t){var n=Se(e),r=!n&&we(e),o=!n&&!r&&_e(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var l in e)!t&&!T.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ye(l,u))||s.push(l);return s}function ee(e,t,n){(void 0!==n&&!be(e[t],n)||void 0===n&&!(t in e))&&re(e,t,n)}function te(e,t,n){var r=e[t];T.call(e,t)&&be(r,n)&&(void 0!==n||t in e)||re(e,t,n)}function ne(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function re(e,t,n){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return n===r?void 0:n}return T.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:T.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?r:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ne(t,e);return!(n<0)&&(n==t.length-1?t.pop():$.call(t,n,1),--this.size,!0)},Y.prototype.get=function(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ne(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(W||Y),string:new K}},Q.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return de(this,e).get(e)},Q.prototype.has=function(e){return de(this,e).has(e)},Q.prototype.set=function(e,t){var n=de(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new Y,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ie=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[oe?a:++r];if(!1===t(o[s],s,o))break}return e};function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":z&&z in Object(e)?function(e){var t=T.call(e,z),n=e[z];try{e[z]=void 0;var r=!0}catch(e){}var o=C.call(e);r&&(t?e[z]=n:delete e[z]);return o}(e):function(e){return C.call(e)}(e)}function se(e){return Ie(e)&&ae(e)==i}function ue(e){return!(!Oe(e)||function(e){return!!A&&A in e}(e))&&(ke(e)?N:u).test(function(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function ce(e,t,n,r,o){e!==t&&ie(t,function(i,a){if(o||(o=new J),Oe(i))!function(e,t,n,r,o,i,a){var u=me(e,n),l=me(t,n),c=a.get(l);if(c)return void ee(e,n,c);var f=i?i(u,l,n+"",e,t,a):void 0,p=void 0===f;if(p){var d=Se(l),h=!d&&_e(l),y=!d&&!h&&Te(l);f=l,d||h||y?Se(u)?f=u:Ie(w=u)&&Ee(w)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(u):h?(p=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=D?D(n):new e.constructor(n);return e.copy(r),r}(l,!0)):y?(p=!1,g=l,m=!0?(v=g.buffer,b=new v.constructor(v.byteLength),new L(b).set(new L(v)),b):g.buffer,f=new g.constructor(m,g.byteOffset,g.length)):f=[]:function(e){if(!Ie(e)||ae(e)!=s)return!1;var t=M(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==R}(l)||we(l)?(f=u,we(u)?f=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?re(n,s,u):te(n,s,u)}return n}(e,Ae(e))}(u):Oe(u)&&!ke(u)||(f=function(e){return"function"!=typeof e.constructor||ge(e)?{}:X(M(e))}(l))):p=!1}var g,m,v,b;var w;p&&(a.set(l,f),o(f,l,r,i,a),a.delete(l));ee(e,n,f)}(e,t,a,n,ce,r,o);else{var u=r?r(me(e,a),i,a+"",e,t,o):void 0;void 0===u&&(u=i),ee(e,a,u)}},Ae)}function fe(e,t){return ve(function(e,t,n){return t=H(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=H(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ne),e+"")}var pe=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ne;function de(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function ye(e,t){var n=typeof e;return!!(t=t??o)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||x)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ve=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function be(e,t){return e===t||e!=e&&t!=t}var we=se(function(){return arguments}())?se:function(e){return Ie(e)&&T.call(e,"callee")&&!F.call(e,"callee")},Se=Array.isArray;function Ee(e){return null!=e&&xe(e.length)&&!ke(e)}var _e=q||function(){return!1};function ke(e){if(!Oe(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ie(e){return null!=e&&"object"==typeof e}var Te=b?function(e){return function(t){return e(t)}}(b):function(e){return Ie(e)&&xe(e.length)&&!!c[ae(e)]};function Ae(e){return Ee(e)?Z(e,!0):le(e)}var Ce,Re=(Ce=function(e,t,n){ce(e,t,n)},fe(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Ce.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?Ee(n)&&ye(t,n.length):"string"==r&&t in n)&&be(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ce(e,a,n,o)}return e}));function Ne(e){return e}e.exports=Re},3763(e){"use strict";e.exports=Math.abs},49893(e){"use strict";e.exports=Math.floor},91082(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},83277(e){"use strict";e.exports=Math.max},58471(e){"use strict";e.exports=Math.min},27709(e){"use strict";e.exports=Math.pow},82587(e){"use strict";e.exports=Math.round},38478(e,t,n){"use strict";var r=n(91082);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},8141(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,a=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,u){u=u||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var u=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===l&&isFinite(e))return u.long?function(e){var i=Math.abs(e);if(i>=o)return s(e,i,o,"day");if(i>=r)return s(e,i,r,"hour");if(i>=n)return s(e,i,n,"minute");if(i>=t)return s(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},15646(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,E=RegExp.prototype.test,_=Array.prototype.concat,k=Array.prototype.join,x=Array.prototype.slice,O=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===C||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var L=n(3847),D=L.custom,M=G(D)?D:null,U={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function $(e,t,n){var r=n.quoteStyle||t,o=U[r];return o+e+o}function z(e){return b.call(String(e),/"/g,"&quot;")}function B(e){return!R||!("object"==typeof e&&(R in e||void 0!==e[R]))}function q(e){return"[object Array]"===X(e)&&B(e)}function H(e){return"[object RegExp]"===X(e)&&B(e)}function G(e){if(C)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(V(s,"quoteStyle")&&!V(U,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return y?j(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return y?j(t,E):E}var O=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=O&&O>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var T=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(K(o,t)>=0)return"[Circular]";function D(t,n,i){if(n&&(o=x.call(o)).push(n),i){var a={depth:s.depth};return V(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t&&!H(t)){var F=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),W=ne(t,D);return"[Function"+(F?": "+F:" (anonymous)")+"]"+(W.length>0?" { "+k.call(W,", ")+" }":"")}if(G(t)){var Q=C?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!=typeof t||C?Q:J(Q)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+S.call(String(t.nodeName)),oe=t.attributes||[],ie=0;ie<oe.length;ie++)re+=" "+oe[ie].name+"="+$(z(oe[ie].value),"double",s);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+S.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var ae=ne(t,D);return T&&!function(e){for(var t=0;t<e.length;t++)if(K(e[t],"\n")>=0)return!1;return!0}(ae)?"["+te(ae,T)+"]":"[ "+k.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===X(e)&&B(e)}(t)){var se=ne(t,D);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(se,", ")+" }":"{ ["+String(t)+"] "+k.call(_.call("[cause]: "+D(t.cause),se),", ")+" }"}if("object"==typeof t&&u){if(M&&"function"==typeof t[M]&&L)return L(t,{depth:O-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ue=[];return a&&a.call(t,function(e,n){ue.push(D(n,t,!0)+" => "+D(e,t))}),ee("Map",i.call(t),ue,T)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,function(e){le.push(D(e,t))}),ee("Set",l.call(t),le,T)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===X(e)&&B(e)}(t))return J(D(Number(t)));if(function(e){if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}(t))return J(D(I.call(t)));if(function(e){return"[object Boolean]"===X(e)&&B(e)}(t))return J(h.call(t));if(function(e){return"[object String]"===X(e)&&B(e)}(t))return J(D(String(t)));if(t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof globalThis&&t===globalThis)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===X(e)&&B(e)}(t)&&!H(t)){var ce=ne(t,D),fe=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",de=!fe&&R&&Object(t)===t&&R in t?v.call(X(t),8,-1):pe?"Object":"",he=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||pe?"["+k.call(_.call([],de||[],pe||[]),": ")+"] ":"");return 0===ce.length?he+"{}":T?he+"{"+te(ce,T)+"}":he+"{ "+k.call(ce,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function X(e){return y.call(e)}function K(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(v.call(e,0,t.maxStringLength),t)+r}var o=F[t.quoteStyle||"single"];return o.lastIndex=0,$(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function ee(e,t,n,r){return e+" ("+t+") {"+(r?te(n,r):k.call(n,", "))+"}"}function te(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function ne(e,t){var n=q(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=V(e,o)?t(e[o],e):""}var i,a="function"==typeof T?T(e):[];if(C){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)V(e,u)&&(n&&String(Number(u))===u&&u<e.length||C&&i["$"+u]instanceof Symbol||(E.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof T)for(var l=0;l<a.length;l++)N.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},31620(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},25184(e,t,n){"use strict";var r=n(81265),o=n(42896),i=n(31620),a=n(25649),s=n(78303),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},25649(e,t,n){"use strict";var r=n(31620);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},78303(e,t,n){"use strict";var r=n(25649),o=n(81265);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},67989(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},97091(e,t,n){"use strict";var r=n(81265),o=n(60001),i=n(67989),a=n(20768),s=n(17418),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},20768(e,t,n){"use strict";var r=n(67989);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},17418(e,t,n){"use strict";var r=n(20768),o=n(81265);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},63980(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(60332),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)p.push(String(y));if(r&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var m in e)h&&"prototype"===m||!o.call(e,m)||p.push(String(m));if(u)for(var v=function(e){if(!d)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<c.length;++b)v&&"constructor"===c[b]||!o.call(e,c[b])||p.push(c[b]);return p}}e.exports=r},3528(e,t,n){"use strict";var r=Array.prototype.slice,o=n(60332),i=Object.keys,a=i?function(e){return i(e)}:n(63980),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},60332(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},23649(e,t,n){"use strict";var r=n(3528),o=n(40847)(),i=n(6046),a=n(24462),s=i("Array.prototype.push"),u=i("Object.prototype.propertyIsEnumerable"),l=o?a.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var i=1;i<arguments.length;++i){var c=a(arguments[i]),f=r(c),p=o&&(a.getOwnPropertySymbols||l);if(p)for(var d=p(c),h=0;h<d.length;++h){var y=d[h];u(c,y)&&s(f,y)}for(var g=0;g<f.length;++g){var m=f[g];if(u(c,m)){var v=c[m];n[m]=v}}}return n}},11887(e,t,n){"use strict";var r=n(81265),o=n(42896),i=n(23649),a=n(91636),s=n(12510),u=o.apply(a()),l=function(e,t){return u(Object,arguments)};r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},91636(e,t,n){"use strict";var r=n(23649);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},12510(e,t,n){"use strict";var r=n(81265),o=n(91636);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},47205(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},86870(e,t,n){"use strict";var r=n(36701);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},23108(e,t,n){e.exports=n(86870)()},36701(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55773(e,t,n){"use strict";var r=n(7378),o=n(37748);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!(void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function y(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new y(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new y(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new y(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new y(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new y(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new y(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(h,e)||!f.call(d,e)&&(p.test(e)?h[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(m,v);g[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),E=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),I=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var D,M=Object.assign;function U(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var F=!1;function $(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var u="\n"+o[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?U(e):""}function z(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 1:return e=$(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case E:return"Portal";case x:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case C:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return B(e(t))}catch(e){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ce(e,t)})}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ye(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ye(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(de).forEach(function(e){he.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]})});var me=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,_e=null,ke=null;function xe(e){if(e=wo(e)){if("function"!=typeof Ee)throw Error(i(280));var t=e.stateNode;t&&(t=Eo(t),Ee(e.stateNode,e.type,t))}}function Oe(e){_e?ke?ke.push(e):ke=[e]:_e=e}function Ie(){if(_e){var e=_e,t=ke;if(ke=_e=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Te(e,t){return e(t)}function Ae(){}var Ce=!1;function Re(e,t,n){if(Ce)return e(t,n);Ce=!0;try{return Te(e,t,n)}finally{Ce=!1,(null!==_e||null!==ke)&&(Ae(),Ie())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=Eo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Pe=!1;if(c)try{var je={};Object.defineProperty(je,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ce){Pe=!1}function Le(e,t,n,r,o,i,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var De=!1,Me=null,Ue=!1,Fe=null,$e={onError:function(e){De=!0,Me=e}};function ze(e,t,n,r,o,i,a,s,u){De=!1,Me=null,Le.apply($e,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Be(e)!==e)throw Error(i(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return He(o),e;if(a===r)return He(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=ft(s):0!==(i&=a)&&(r=ft(i))}else 0!==(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function yt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var St,Et,_t,kt,xt,Ot=!1,It=[],Tt=null,At=null,Ct=null,Rt=new Map,Nt=new Map,Pt=[],jt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Et(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void xt(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ut(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Et(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){Ut(e)&&n.delete(t)}function $t(){Ot=!1,null!==Tt&&Ut(Tt)&&(Tt=null),null!==At&&Ut(At)&&(At=null),null!==Ct&&Ut(Ct)&&(Ct=null),Rt.forEach(Ft),Nt.forEach(Ft)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}function Bt(e){function t(t){return zt(t,e)}if(0<It.length){zt(It[0],e);for(var n=1;n<It.length;n++){var r=It[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==At&&zt(At,e),null!==Ct&&zt(Ct,e),Rt.forEach(t),Nt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var o=bt,i=qt.transition;qt.transition=null;try{bt=1,Vt(e,t,n,r)}finally{bt=o,qt.transition=i}}function Wt(e,t,n,r){var o=bt,i=qt.transition;qt.transition=null;try{bt=4,Vt(e,t,n,r)}finally{bt=o,qt.transition=i}}function Vt(e,t,n,r){if(Ht){var o=Kt(e,t,n,r);if(null===o)Hr(e,t,r,Xt,n),Lt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Dt(Tt,e,t,n,r,o),!0;case"dragenter":return At=Dt(At,e,t,n,r,o),!0;case"mouseover":return Ct=Dt(Ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Rt.set(i,Dt(Rt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Dt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&St(i),null===(i=Kt(e,t,n,r))&&Hr(e,t,r,Xt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Xt=null;function Kt(e,t,n,r){if(Xt=null,null!==(e=bo(e=Se(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(ln),fn=M({},ln,{view:0,detail:0}),pn=on(fn),dn=M({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(dn),yn=on(M({},dn,{dataTransfer:0})),gn=on(M({},fn,{relatedTarget:0})),mn=on(M({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=M({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(M({},ln,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function xn(){return kn}var On=M({},fn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=on(On),Tn=on(M({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(M({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),Cn=on(M({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=M({},dn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Rn),Pn=[9,13,27,32],jn=c&&"CompositionEvent"in window,Ln=null;c&&"documentMode"in document&&(Ln=document.documentMode);var Dn=c&&"TextEvent"in window&&!Ln,Mn=c&&(!jn||Ln&&8<Ln&&11>=Ln),Un=String.fromCharCode(32),Fn=!1;function $n(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Gn(e,t,n,r){Oe(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Vn=null;function Xn(e){Ur(e,0)}function Kn(e){if(V(So(e)))return e}function Yn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Vn=Wn=null)}function nr(e){if("value"===e.propertyName&&Kn(Vn)){var t=[];Gn(t,Vn,e,Se(e)),Re(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Vn)}function ir(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,mr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==X(r)||("selectionStart"in(r=gr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Wr(mr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Er={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},_r={},kr={};function xr(e){if(_r[e])return _r[e];if(!Er[e])return e;var t,n=Er[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return _r[e]=n[t];return e}c&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);var Or=xr("animationend"),Ir=xr("animationiteration"),Tr=xr("animationstart"),Ar=xr("transitionend"),Cr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Cr.set(e,t),u(t,[e])}for(var Pr=0;Pr<Rr.length;Pr++){var jr=Rr[Pr];Nr(jr.toLowerCase(),"on"+(jr[0].toUpperCase()+jr.slice(1)))}Nr(Or,"onAnimationEnd"),Nr(Ir,"onAnimationIteration"),Nr(Tr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Ar,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,u,l){if(ze.apply(this,arguments),De){if(!De)throw Error(i(198));var c=Me;De=!1,Me=null,Ue||(Ue=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Ur(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==i&&o.isPropagationStopped())break e;Mr(o,s,l),i=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,l=s.currentTarget,s=s.listener,u!==i&&o.isPropagationStopped())break e;Mr(o,s,l),i=u}}}if(Ue)throw e=Fe,Ue=!1,Fe=null,e}function Fr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function $r(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[zr]){e[zr]=!0,a.forEach(function(t){"selectionchange"!==t&&(Dr.has(t)||$r(t,!1,e),$r(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,$r("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Yt(t)){case 1:var o=Gt;break;case 4:o=Wt;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=i,o=Se(n),a=[];e:{var s=Cr.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=In;break;case"focusin":l="focus",u=gn;break;case"focusout":l="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case Or:case Ir:case Tr:u=mn;break;case Ar:u=Cn;break;case"scroll":u=pn;break;case"wheel":u=Nn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tn}var c=!!(4&t),f=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var d,h=r;null!==h;){var y=(d=h).stateNode;if(5===d.tag&&null!==y&&(d=y,null!==p&&(null!=(y=Ne(h,p))&&c.push(Gr(h,y,d)))),f)break;h=h.return}0<c.length&&(s=new u(s,l,null,n,o),a.push({event:s,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(l=n.relatedTarget||n.fromElement)||!bo(l)&&!l[yo])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?bo(l):null)&&(l!==(f=Be(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=hn,y="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,y="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==u?s:So(u),d=null==l?s:So(l),(s=new c(y,h+"leave",u,n,o)).target=f,s.relatedTarget=d,y=null,bo(o)===r&&((c=new c(p,h+"enter",l,n,o)).target=d,c.relatedTarget=f,y=c),f=y,u&&l)e:{for(p=l,h=0,d=c=u;d;d=Vr(d))h++;for(d=0,y=p;y;y=Vr(y))d++;for(;0<h-d;)c=Vr(c),h--;for(;0<d-h;)p=Vr(p),d--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Vr(c),p=Vr(p)}c=null}else c=null;null!==u&&Xr(a,s,u,c,!1),null!==l&&null!==f&&Xr(a,f,l,c,!0)}if("select"===(u=(s=r?So(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=Yn;else if(Hn(s))if(Qn)g=ar;else{g=or;var m=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Gn(a,g,n,o):(m&&m(e,s,r),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ee(s,"number",s.value)),m=r?So(r):window,e){case"focusin":(Hn(m)||"true"===m.contentEditable)&&(gr=m,mr=r,vr=null);break;case"focusout":vr=mr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":wr(a,n,o)}var v;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?$n(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(v=en()):(Jt="value"in(Qt=o)?Qt.value:Qt.textContent,Bn=!0)),0<(m=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:m}),v?b.data=v:null!==(v=zn(n))&&(b.data=v))),(v=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Un);case"textInput":return(e=t.data)===Un&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!jn&&$n(e,t)?(e=en(),Zt=Jt=Qt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Ur(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Gr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Gr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,o?null!=(u=Ne(n,i))&&a.unshift(Gr(n,u,s)):o||null!=(u=Ne(n,i))&&a.push(Gr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout(function(){throw e})}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function lo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,yo="__reactContainer$"+fo,go="__reactEvents$"+fo,mo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[yo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function So(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Eo(e){return e[ho]||null}var _o=[],ko=-1;function xo(e){return{current:e}}function Oo(e){0>ko||(e.current=_o[ko],_o[ko]=null,ko--)}function Io(e,t){ko++,_o[ko]=e.current,e.current=t}var To={},Ao=xo(To),Co=xo(!1),Ro=To;function No(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Po(e){return null!=(e=e.childContextTypes)}function jo(){Oo(Co),Oo(Ao)}function Lo(e,t,n){if(Ao.current!==To)throw Error(i(168));Io(Ao,t),Io(Co,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,q(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Ro=Ao.current,Io(Ao,e),Io(Co,Co.current),!0}function Uo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,Oo(Co),Oo(Ao),Io(Ao,e)):Oo(Co),Io(Co,n)}var Fo=null,$o=!1,zo=!1;function Bo(e){null===Fo?Fo=[e]:Fo.push(e)}function qo(){if(!zo&&null!==Fo){zo=!0;var e=0,t=bt;try{var n=Fo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,$o=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ve(Ze,qo),t}finally{bt=t,zo=!1}}return null}var Ho=[],Go=0,Wo=null,Vo=0,Xo=[],Ko=0,Yo=null,Qo=1,Jo="";function Zo(e,t){Ho[Go++]=Vo,Ho[Go++]=Wo,Wo=e,Vo=t}function ei(e,t,n){Xo[Ko++]=Qo,Xo[Ko++]=Jo,Xo[Ko++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=Ho[--Go],Ho[Go]=null,Vo=Ho[--Go],Ho[Go]=null;for(;e===Yo;)Yo=Xo[--Ko],Xo[Ko]=null,Jo=Xo[--Ko],Xo[Ko]=null,Qo=Xo[--Ko],Xo[Ko]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Cl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function li(e){return!(!(1&e.mode)||128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!ui(e,t)){if(li(e))throw Error(i(418));t=lo(n.nextSibling);var r=ri;t&&ui(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function pi(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(li(e))throw di(),Error(i(418));for(;t;)si(e,t),t=lo(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=lo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?lo(e.stateNode.nextSibling):null;return!0}function di(){for(var e=oi;e;)e=lo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function yi(e){null===ai?ai=[e]:ai.push(e)}var gi=w.ReactCurrentBatchConfig;function mi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Nl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Dl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){var i=n.type;return i===_?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===N&&bi(i)===t.type)?((r=o(t,n.props)).ref=mi(e,t,n),r.return=e,r):((r=Pl(n.type,n.key,n.props,null,e.mode,r)).ref=mi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ml(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=jl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Dl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Pl(t.type,t.key,t.props,null,e.mode,n)).ref=mi(e,null,t),n.return=e,n;case E:return(t=Ml(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=jl(t,e.mode,n,null)).return=e,t;vi(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?l(e,t,n,r):null;case E:return n.key===o?c(e,t,n,r):null;case N:return d(e,t,(o=n._init)(n._payload),r)}if(te(n)||L(n))return null!==o?null:f(e,t,n,r,null);vi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||L(r))return f(t,e=e.get(n)||null,r,o,null);vi(t,r)}return null}function y(o,i,s,u){for(var l=null,c=null,f=i,y=i=0,g=null;null!==f&&y<s.length;y++){f.index>y?(g=f,f=null):g=f.sibling;var m=d(o,f,s[y],u);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(o,f),i=a(m,i,y),null===c?l=m:c.sibling=m,c=m,f=g}if(y===s.length)return n(o,f),ii&&Zo(o,y),l;if(null===f){for(;y<s.length;y++)null!==(f=p(o,s[y],u))&&(i=a(f,i,y),null===c?l=f:c.sibling=f,c=f);return ii&&Zo(o,y),l}for(f=r(o,f);y<s.length;y++)null!==(g=h(f,o,y,s[y],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?y:g.key),i=a(g,i,y),null===c?l=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(o,e)}),ii&&Zo(o,y),l}function g(o,s,u,l){var c=L(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,y=s,g=s=0,m=null,v=u.next();null!==y&&!v.done;g++,v=u.next()){y.index>g?(m=y,y=null):m=y.sibling;var b=d(o,y,v.value,l);if(null===b){null===y&&(y=m);break}e&&y&&null===b.alternate&&t(o,y),s=a(b,s,g),null===f?c=b:f.sibling=b,f=b,y=m}if(v.done)return n(o,y),ii&&Zo(o,g),c;if(null===y){for(;!v.done;g++,v=u.next())null!==(v=p(o,v.value,l))&&(s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return ii&&Zo(o,g),c}for(y=r(o,y);!v.done;g++,v=u.next())null!==(v=h(y,o,g,v.value,l))&&(e&&null!==v.alternate&&y.delete(null===v.key?g:v.key),s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return e&&y.forEach(function(e){return t(o,e)}),ii&&Zo(o,g),c}return function e(r,i,a,u){if("object"==typeof a&&null!==a&&a.type===_&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case S:e:{for(var l=a.key,c=i;null!==c;){if(c.key===l){if((l=a.type)===_){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===N&&bi(l)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=mi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===_?((i=jl(a.props.children,r.mode,u,a.key)).return=r,r=i):((u=Pl(a.type,a.key,a.props,null,r.mode,u)).ref=mi(r,i,a),u.return=r,r=u)}return s(r);case E:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Ml(a,r.mode,u)).return=r,r=i}return s(r);case N:return e(r,i,(c=a._init)(a._payload),u)}if(te(a))return y(r,i,a,u);if(L(a))return g(r,i,a,u);vi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Dl(a,r.mode,u)).return=r,r=i),s(r)):n(r,i)}}var Si=wi(!0),Ei=wi(!1),_i=xo(null),ki=null,xi=null,Oi=null;function Ii(){Oi=xi=ki=null}function Ti(e){var t=_i.current;Oo(_i),e._currentValue=t}function Ai(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){ki=e,Oi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ri(e){var t=e._currentValue;if(Oi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===ki)throw Error(i(308));xi=e,ki.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Ni=null;function Pi(e){null===Ni?Ni=[e]:Ni.push(e)}function ji(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Li(e,r)}function Li(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Di=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $i(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Iu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Li(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Li(e,n)}function zi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Bi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qi(e,t,n,r){var o=e.updateQueue;Di=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,l=u.next;u.next=null,null===a?i=l:a.next=l,a=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==i){var f=o.baseState;for(a=0,c=l=u=null,s=i;;){var p=s.lane,d=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:d,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,y=s;switch(p=t,d=n,y.tag){case 1:if("function"==typeof(h=y.payload)){f=h.call(d,f,p);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=y.payload)?h.call(d,f,p):h))break e;f=M({},f,p);break e;case 2:Di=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else d={eventTime:d,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=d,u=f):c=c.next=d,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=l,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Lu|=a,e.lanes=a,e.memoizedState=f}}function Hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Gi={},Wi=xo(Gi),Vi=xo(Gi),Xi=xo(Gi);function Ki(e){if(e===Gi)throw Error(i(174));return e}function Yi(e,t){switch(Io(Xi,t),Io(Vi,e),Io(Wi,Gi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(Wi),Io(Wi,t)}function Qi(){Oo(Wi),Oo(Vi),Oo(Xi)}function Ji(e){Ki(Xi.current);var t=Ki(Wi.current),n=ue(t,e.type);t!==n&&(Io(Vi,e),Io(Wi,n))}function Zi(e){Vi.current===e&&(Oo(Wi),Oo(Vi))}var ea=xo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,ua=null,la=null,ca=!1,fa=!1,pa=0,da=0;function ha(){throw Error(i(321))}function ya(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Za:es,e=n(r,o),fa){a=0;do{if(fa=!1,pa=0,25<=a)throw Error(i(301));a+=1,la=ua=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(fa)}if(oa.current=Ja,t=null!==ua&&null!==ua.next,aa=0,la=ua=sa=null,ca=!1,t)throw Error(i(300));return e}function ma(){var e=0!==pa;return pa=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?sa.memoizedState=la=e:la=la.next=e,la}function ba(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===la?sa.memoizedState:la.next;if(null!==t)la=t,ua=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===la?sa.memoizedState=la=e:la=la.next=e}return la}function wa(e,t){return"function"==typeof t?t(e):t}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ua,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var u=s=null,l=null,c=a;do{var f=c.lane;if((aa&f)===f)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=p,s=r):l=l.next=p,sa.lanes|=f,Lu|=f}c=c.next}while(null!==c&&c!==a);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Lu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ea(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function _a(){}function ka(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,Da(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==la&&1&la.memoizedState.tag){if(n.flags|=2048,Ra(9,Oa.bind(null,n,r,o,t),void 0,null),null===Tu)throw Error(i(349));30&aa||xa(n,t,o)}return o}function xa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Aa(e)}function Ia(e,t,n){return n(function(){Ta(t)&&Aa(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Aa(e){var t=Li(e,1);null!==t&&tl(t,e,1,-1)}function Ca(e){var t=va();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Xa.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Na(){return ba().memoizedState}function Pa(e,t,n,r){var o=va();sa.flags|=e,o.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function ja(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==ua){var a=ua.memoizedState;if(i=a.destroy,null!==r&&ya(r,a.deps))return void(o.memoizedState=Ra(t,n,i,r))}sa.flags|=e,o.memoizedState=Ra(1|t,n,i,r)}function La(e,t){return Pa(8390656,8,e,t)}function Da(e,t){return ja(2048,8,e,t)}function Ma(e,t){return ja(4,2,e,t)}function Ua(e,t){return ja(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,ja(4,4,Fa.bind(null,t,e),n)}function za(){}function Ba(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qa(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ha(e,t,n){return 21&aa?(sr(n,t)||(n=yt(),sa.lanes|=n,Lu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ga(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Wa(){return ba().memoizedState}function Va(e,t,n){var r=el(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ka(e))Ya(t,n);else if(null!==(n=ji(e,t,n,r))){tl(n,e,r,Zu()),Qa(n,t,r)}}function Xa(e,t,n){var r=el(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ka(e))Ya(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(o.next=o,Pi(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=ji(e,t,o,r))&&(tl(n,e,r,o=Zu()),Qa(n,t,r))}}function Ka(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ya(e,t){fa=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Ja={readContext:Ri,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Za={readContext:Ri,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Ri,useEffect:La,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Pa(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pa(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Va.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Ca,useDebugValue:za,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Ca(!1),t=e[0];return e=Ga.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=va();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tu)throw Error(i(349));30&aa||xa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,La(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,Oa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Tu.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=da++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ri,useCallback:Ba,useContext:Ri,useEffect:Da,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:Ua,useMemo:qa,useReducer:Sa,useRef:Na,useState:function(){return Sa(wa)},useDebugValue:za,useDeferredValue:function(e){return Ha(ba(),ua.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:ka,useId:Wa,unstable_isNewReconciler:!1},ts={readContext:Ri,useCallback:Ba,useContext:Ri,useEffect:Da,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:Ua,useMemo:qa,useReducer:Ea,useRef:Na,useState:function(){return Ea(wa)},useDebugValue:za,useDeferredValue:function(e){var t=ba();return null===ua?t.memoizedState=e:Ha(t,ua.memoizedState,e)},useTransition:function(){return[Ea(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:ka,useId:Wa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zu(),o=el(e),i=Fi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=$i(e,i,o))&&(tl(t,e,o,r),zi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zu(),o=el(e),i=Fi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=$i(e,i,o))&&(tl(t,e,o,r),zi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zu(),r=el(e),o=Fi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=$i(e,o,r))&&(tl(t,e,r,n),zi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,i))}function as(e,t,n){var r=!1,o=To,i=t.contextType;return"object"==typeof i&&null!==i?i=Ri(i):(o=Po(t)?Ro:Ao.current,i=(r=null!=(r=t.contextTypes))?No(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Mi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ri(i):(i=Po(t)?Ro:Ao.current,o.context=No(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),qi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ps="function"==typeof WeakMap?WeakMap:Map;function ds(e,t,n){(n=Fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Hu=r),fs(0,t)},n}function hs(e,t,n){(n=Fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Gu?Gu=new Set([this]):Gu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ys(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kl.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ms(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fi(-1,1)).tag=2,$i(n,t,1))),n.lanes|=1),e)}var vs=w.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?Ei(t,null,n,r):Si(t,e.child,n,r)}function Ss(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=ga(e,t,n,r,i,o),n=ma(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Es(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Rl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Nl(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);131072&e.flags&&(bs=!0)}}return Os(e,t,n,r,o)}function ks(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Io(Nu,Ru),Ru|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Io(Nu,Ru),Ru|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Io(Nu,Ru),Ru|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Io(Nu,Ru),Ru|=r;return ws(e,t,o,n),t.child}function xs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,o){var i=Po(n)?Ro:Ao.current;return i=No(t,i),Ci(t,o),n=ga(e,t,n,r,i,o),r=ma(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Is(e,t,n,r,o){if(Po(n)){var i=!0;Mo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Bs(e,t),as(t,n,r),us(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Ri(l):l=No(t,l=Po(n)?Ro:Ao.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&ss(t,a,r,l),Di=!1;var p=t.memoizedState;a.state=p,qi(t,r,a,o),u=t.memoizedState,s!==r||p!==u||Co.current||Di?("function"==typeof c&&(rs(t,n,c,r),u=t.memoizedState),(s=Di||is(t,n,s,r,p,u,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ui(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),a.props=l,f=t.pendingProps,p=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Ri(u):u=No(t,u=Po(n)?Ro:Ao.current);var d=n.getDerivedStateFromProps;(c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||p!==u)&&ss(t,a,r,u),Di=!1,p=t.memoizedState,a.state=p,qi(t,r,a,o);var h=t.memoizedState;s!==f||p!==h||Co.current||Di?("function"==typeof d&&(rs(t,n,d,r),h=t.memoizedState),(l=Di||is(t,n,l,r,p,h,u)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,i,o)}function Ts(e,t,n,r,o,i){xs(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Uo(t,n,!1),qs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Uo(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Lo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lo(0,t.context,!1),Yi(e,t.containerInfo)}function Cs(e,t,n,r,o){return hi(),yi(o),t.flags|=256,ws(e,t,n,r),t.child}var Rs,Ns,Ps,js={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,u=!!(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Io(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=o.children,e=o.fallback,s?(o=t.mode,s=t.child,u={mode:"hidden",children:u},1&o||null===s?s=Ll(u,o,0,null):(s.childLanes=0,s.pendingProps=u),e=jl(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=js,e):Ms(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=cs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ll({mode:"visible",children:r.children},o,0,null),(a=jl(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Si(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=js,a);if(!(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Us(e,t,s,r=cs(a=Error(i(419)),r,void 0))}if(u=0!==(s&e.childLanes),bs||u){if(null!==(r=Tu)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Li(e,o),tl(r,e,o,-1))}return hl(),Us(e,t,s,r=cs(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ol.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=lo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Xo[Ko++]=Qo,Xo[Ko++]=Jo,Xo[Ko++]=Yo,Qo=e.id,Jo=e.overflow,Yo=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,u,o,r,a,n);if(s){s=o.fallback,u=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 1&u||t.child===a?(o=Nl(a,l)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null),null!==r?s=Nl(r,s):(s=jl(s,u,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,u=null===(u=e.child.memoizedState)?Ls(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,o}return e=(s=e.child).sibling,o=Nl(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ms(e,t){return(t=Ll({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&yi(r),Si(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ai(e.return,t,n)}function $s(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function zs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Io(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$s(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$s(t,!0,n,null,i);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Bs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Lu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Nl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ws(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Po(t.type)&&jo(),Gs(t),null;case 3:return r=t.stateNode,Qi(),Oo(Co),Oo(Ao),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(il(ai),ai=null))),Gs(t),null;case 5:Zi(t);var o=Ki(Xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ns(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Gs(t),null}if(e=Ki(Wi.current),pi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Y(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":oe(r,a),Fr("invalid",r)}for(var u in ve(n,a),o=null,a)if(a.hasOwnProperty(u)){var l=a[u];"children"===u?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),o=["children",""+l]):s.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":W(r),Z(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[ho]=r,Rs(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":Y(e,r),o=K(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(a in ve(n,o),l=o)if(l.hasOwnProperty(a)){var c=l[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&b(e,a,c,u))}switch(n){case"input":W(e),Z(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ps(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=Ki(Xi.current),Ki(Wi.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Gs(t),null;case 13:if(Oo(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))di(),hi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),a=!1}else null!==ai&&(il(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Pu&&(Pu=3):hl())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Qi(),null===e&&Br(t.stateNode.containerInfo),Gs(t),null;case 10:return Ti(t.type._context),Gs(t),null;case 19:if(Oo(ea),null===(a=t.memoizedState))return Gs(t),null;if(r=!!(128&t.flags),null===(u=a.rendering))if(r)Hs(a,!1);else{if(0!==Pu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(u=ta(e))){for(t.flags|=128,Hs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Io(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>zu&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!ii)return Gs(t),null}else 2*Qe()-a.renderingStartTime>zu&&1073741824!==n&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=ea.current,Io(ea,r?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return cl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ru)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Vs(e,t){switch(ni(t),t.tag){case 1:return Po(t.type)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qi(),Oo(Co),Oo(Ao),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(Oo(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(ea),null;case 4:return Qi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return cl(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ns=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ki(Wi.current);var i,a=null;switch(n){case"input":o=K(e,o),r=K(e,r),a=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ve(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(i in u)!u.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&u[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(a||(a=[]),a.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Fr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(c,l))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ps=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Ks=!1,Ys="function"==typeof WeakSet?WeakSet:Set,Qs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){_l(e,t,n)}else n.current=null}function Zs(e,t,n){try{n()}catch(n){_l(e,t,n)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Zs(t,n,i)}o=o.next}while(o!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[mo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var lu=null,cu=!1;function fu(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ks||Js(n,t);case 6:var r=lu,o=cu;lu=null,fu(e,t,n),cu=o,null!==(lu=r)&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:null!==lu&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Bt(e)):uo(lu,n.stateNode));break;case 4:r=lu,o=cu,lu=n.stateNode.containerInfo,cu=!0,fu(e,t,n),lu=r,cu=o;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Zs(n,t,a),o=o.next}while(o!==r)}fu(e,t,n);break;case 1:if(!Ks&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){_l(n,t,e)}fu(e,t,n);break;case 21:fu(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,fu(e,t,n),Ks=r):fu(e,t,n);break;default:fu(e,t,n)}}function du(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach(function(t){var r=Il.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function hu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:lu=u.stateNode,cu=!1;break e;case 3:case 4:lu=u.stateNode.containerInfo,cu=!0;break e}u=u.return}if(null===lu)throw Error(i(160));pu(a,s,o),lu=null,cu=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(e){_l(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hu(t,e),gu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(t){_l(e,e.return,t)}try{tu(5,e,e.return)}catch(t){_l(e,e.return,t)}}break;case 1:hu(t,e),gu(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(hu(t,e),gu(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){_l(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===a.type&&null!=a.name&&Q(o,a),be(u,s);var c=be(u,a);for(s=0;s<l.length;s+=2){var f=l[s],p=l[s+1];"style"===f?ge(o,p):"dangerouslySetInnerHTML"===f?fe(o,p):"children"===f?pe(o,p):b(o,f,p,c)}switch(u){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):d!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){_l(e,e.return,t)}}break;case 6:if(hu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){_l(e,e.return,t)}}break;case 3:if(hu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){_l(e,e.return,t)}break;case 4:default:hu(t,e),gu(e);break;case 13:hu(t,e),gu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||($u=Qe())),4&r&&du(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(c=Ks)||f,hu(t,e),Ks=c):hu(t,e),gu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&1&e.mode)for(Qs=e,f=e.child;null!==f;){for(p=Qs=f;null!==Qs;){switch(h=(d=Qs).child,d.tag){case 0:case 11:case 14:case 15:tu(4,d,d.return);break;case 1:Js(d,d.return);var y=d.stateNode;if("function"==typeof y.componentWillUnmount){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(e){_l(r,n,e)}}break;case 5:Js(d,d.return);break;case 22:if(null!==d.memoizedState){wu(p);continue}}null!==h?(h.return=d,Qs=h):wu(p)}f=f.sibling}e:for(f=null,p=e;;){if(5===p.tag){if(null===f){f=p;try{o=p.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=p.stateNode,s=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,u.style.display=ye("display",s))}catch(t){_l(e,e.return,t)}}}else if(6===p.tag){if(null===f)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){_l(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;f===p&&(f=null),p=p.return}f===p&&(f=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hu(t,e),gu(e),4&r&&du(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),uu(e,au(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,au(e),a);break;default:throw Error(i(161))}}catch(t){_l(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function mu(e,t,n){Qs=e,vu(e,t,n)}function vu(e,t,n){for(var r=!!(1&e.mode);null!==Qs;){var o=Qs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xs;if(!a){var s=o.alternate,u=null!==s&&null!==s.memoizedState||Ks;s=Xs;var l=Ks;if(Xs=a,(Ks=u)&&!l)for(Qs=o;null!==Qs;)u=(a=Qs).child,22===a.tag&&null!==a.memoizedState?Su(o):null!==u?(u.return=a,Qs=u):Su(o);for(;null!==i;)Qs=i,vu(i,t,n),i=i.sibling;Qs=o,Xs=s,Ks=l}bu(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Qs=i):bu(e)}}function bu(e){for(;null!==Qs;){var t=Qs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Hi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Hi(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var p=f.dehydrated;null!==p&&Bt(p)}}}break;default:throw Error(i(163))}Ks||512&t.flags&&ru(t)}catch(e){_l(t,t.return,e)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function wu(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function Su(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(e){_l(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){_l(t,o,e)}}var i=t.return;try{ru(t)}catch(e){_l(t,i,e)}break;case 5:var a=t.return;try{ru(t)}catch(e){_l(t,a,e)}}}catch(e){_l(t,t.return,e)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var Eu,_u=Math.ceil,ku=w.ReactCurrentDispatcher,xu=w.ReactCurrentOwner,Ou=w.ReactCurrentBatchConfig,Iu=0,Tu=null,Au=null,Cu=0,Ru=0,Nu=xo(0),Pu=0,ju=null,Lu=0,Du=0,Mu=0,Uu=null,Fu=null,$u=0,zu=1/0,Bu=null,qu=!1,Hu=null,Gu=null,Wu=!1,Vu=null,Xu=0,Ku=0,Yu=null,Qu=-1,Ju=0;function Zu(){return 6&Iu?Qe():-1!==Qu?Qu:Qu=Qe()}function el(e){return 1&e.mode?2&Iu&&0!==Cu?Cu&-Cu:null!==gi.transition?(0===Ju&&(Ju=yt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function tl(e,t,n,r){if(50<Ku)throw Ku=0,Yu=null,Error(i(185));mt(e,n,r),2&Iu&&e===Tu||(e===Tu&&(!(2&Iu)&&(Du|=n),4===Pu&&al(e,Cu)),nl(e,r),1===n&&0===Iu&&!(1&t.mode)&&(zu=Qe()+500,$o&&qo()))}function nl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,u=o[a];-1===u?0!==(s&n)&&0===(s&r)||(o[a]=dt(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=pt(e,e===Tu?Cu:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){$o=!0,Bo(e)}(sl.bind(null,e)):Bo(sl.bind(null,e)),ao(function(){!(6&Iu)&&qo()}),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tl(n,rl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rl(e,t){if(Qu=-1,Ju=0,6&Iu)throw Error(i(327));var n=e.callbackNode;if(Sl()&&e.callbackNode!==n)return null;var r=pt(e,e===Tu?Cu:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=yl(e,r);else{t=r;var o=Iu;Iu|=2;var a=dl();for(Tu===e&&Cu===t||(Bu=null,zu=Qe()+500,fl(e,t));;)try{ml();break}catch(t){pl(e,t)}Ii(),ku.current=a,Iu=o,null!==Au?t=0:(Tu=null,Cu=0,t=Pu)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ol(e,o))),1===t)throw n=ju,fl(e,0),al(e,r),nl(e,Qe()),n;if(6===t)al(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=yl(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=ol(e,a))),1!==t)))throw n=ju,fl(e,0),al(e,r),nl(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wl(e,Fu,Bu);break;case 3:if(al(e,r),(130023424&r)===r&&10<(t=$u+500-Qe())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Zu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wl.bind(null,e,Fu,Bu),t);break}wl(e,Fu,Bu);break;case 4:if(al(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_u(r/1960))-r)){e.timeoutHandle=ro(wl.bind(null,e,Fu,Bu),r);break}wl(e,Fu,Bu);break;default:throw Error(i(329))}}}return nl(e,Qe()),e.callbackNode===n?rl.bind(null,e):null}function ol(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(fl(e,t).flags|=256),2!==(e=yl(e,t))&&(t=Fu,Fu=n,null!==t&&il(t)),e}function il(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function al(e,t){for(t&=~Mu,t&=~Du,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sl(e){if(6&Iu)throw Error(i(327));Sl();var t=pt(e,0);if(!(1&t))return nl(e,Qe()),null;var n=yl(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=ju,fl(e,0),al(e,t),nl(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Fu,Bu),nl(e,Qe()),null}function ul(e,t){var n=Iu;Iu|=1;try{return e(t)}finally{0===(Iu=n)&&(zu=Qe()+500,$o&&qo())}}function ll(e){null!==Vu&&0===Vu.tag&&!(6&Iu)&&Sl();var t=Iu;Iu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,!(6&(Iu=t))&&qo()}}function cl(){Ru=Nu.current,Oo(Nu)}function fl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&jo();break;case 3:Qi(),Oo(Co),Oo(Ao),ra();break;case 5:Zi(r);break;case 4:Qi();break;case 13:case 19:Oo(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:cl()}n=n.return}if(Tu=e,Au=e=Nl(e.current,null),Cu=Ru=t,Pu=0,ju=null,Mu=Du=Lu=0,Fu=Uu=null,null!==Ni){for(t=0;t<Ni.length;t++)if(null!==(r=(n=Ni[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ni=null}return e}function pl(e,t){for(;;){var n=Au;try{if(Ii(),oa.current=Ja,ca){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ca=!1}if(aa=0,la=ua=sa=null,fa=!1,pa=0,xu.current=null,null===n||null===n.return){Pu=1,ju=t,Au=null;break}e:{var a=e,s=n.return,u=n,l=t;if(t=Cu,u.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,f=u,p=f.tag;if(!(1&f.mode||0!==p&&11!==p&&15!==p)){var d=f.alternate;d?(f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.lanes=d.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,ms(h,s,u,0,t),1&h.mode&&ys(a,c,t),l=c;var y=(t=h).updateQueue;if(null===y){var g=new Set;g.add(l),t.updateQueue=g}else y.add(l);break e}if(!(1&t)){ys(a,c,t),hl();break e}l=Error(i(426))}else if(ii&&1&u.mode){var m=gs(s);if(null!==m){!(65536&m.flags)&&(m.flags|=256),ms(m,s,u,0,t),yi(ls(l,u));break e}}a=l=ls(l,u),4!==Pu&&(Pu=2),null===Uu?Uu=[a]:Uu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,ds(0,l,t));break e;case 1:u=l;var v=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Gu&&Gu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,hs(a,u,t));break e}}a=a.return}while(null!==a)}bl(n)}catch(e){t=e,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function dl(){var e=ku.current;return ku.current=Ja,null===e?Ja:e}function hl(){0!==Pu&&3!==Pu&&2!==Pu||(Pu=4),null===Tu||!(268435455&Lu)&&!(268435455&Du)||al(Tu,Cu)}function yl(e,t){var n=Iu;Iu|=2;var r=dl();for(Tu===e&&Cu===t||(Bu=null,fl(e,t));;)try{gl();break}catch(t){pl(e,t)}if(Ii(),Iu=n,ku.current=r,null!==Au)throw Error(i(261));return Tu=null,Cu=0,Pu}function gl(){for(;null!==Au;)vl(Au)}function ml(){for(;null!==Au&&!Ke();)vl(Au)}function vl(e){var t=Eu(e.alternate,e,Ru);e.memoizedProps=e.pendingProps,null===t?bl(e):Au=t,xu.current=null}function bl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Vs(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Pu=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ws(n,t,Ru)))return void(Au=n);if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Pu&&(Pu=5)}function wl(e,t,n){var r=bt,o=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{Sl()}while(null!==Vu);if(6&Iu)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Tu&&(Au=Tu=null,Cu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Wu||(Wu=!0,Tl(tt,function(){return Sl(),null})),a=!!(15990&n.flags),!!(15990&n.subtreeFlags)||a){a=Ou.transition,Ou.transition=null;var s=bt;bt=1;var u=Iu;Iu|=4,xu.current=null,function(e,t){if(eo=Ht,dr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,u=-1,l=-1,c=0,f=0,p=e,d=null;t:for(;;){for(var h;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==a||0!==r&&3!==p.nodeType||(l=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)d=p,p=h;for(;;){if(p===e)break t;if(d===n&&++c===o&&(u=s),d===a&&++f===r&&(l=s),null!==(h=p.nextSibling))break;d=(p=d).parentNode}p=h}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var y=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var g=y.memoizedProps,m=y.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),m);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){_l(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}y=eu,eu=!1}(e,n),yu(n,e),hr(to),Ht=!!eo,to=eo=null,e.current=n,mu(n,e,o),Ye(),Iu=u,bt=s,Ou.transition=a}else e.current=n;if(Wu&&(Wu=!1,Vu=e,Xu=o),a=e.pendingLanes,0===a&&(Gu=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nl(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qu)throw qu=!1,e=Hu,Hu=null,e;!!(1&Xu)&&0!==e.tag&&Sl(),a=e.pendingLanes,1&a?e===Yu?Ku++:(Ku=0,Yu=e):Ku=0,qo()}(e,t,n,r)}finally{Ou.transition=o,bt=r}return null}function Sl(){if(null!==Vu){var e=wt(Xu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===Vu)var r=!1;else{if(e=Vu,Vu=null,Xu=0,6&Iu)throw Error(i(331));var o=Iu;for(Iu|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(16&Qs.flags){var u=a.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for(Qs=c;null!==Qs;){var f=Qs;switch(f.tag){case 0:case 11:case 15:tu(8,f,a)}var p=f.child;if(null!==p)p.return=f,Qs=p;else for(;null!==Qs;){var d=(f=Qs).sibling,h=f.return;if(ou(f),f===c){Qs=null;break}if(null!==d){d.return=h,Qs=d;break}Qs=h}}}var y=a.alternate;if(null!==y){var g=y.child;if(null!==g){y.child=null;do{var m=g.sibling;g.sibling=null,g=m}while(null!==g)}}Qs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(2048&(a=Qs).flags)switch(a.tag){case 0:case 11:case 15:tu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Qs=v;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var w=(s=Qs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Qs=w;else e:for(s=b;null!==Qs;){if(2048&(u=Qs).flags)try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(e){_l(u,u.return,e)}if(u===s){Qs=null;break e}var S=u.sibling;if(null!==S){S.return=u.return,Qs=S;break e}Qs=u.return}}if(Iu=o,qo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function El(e,t,n){e=$i(e,t=ds(0,t=ls(n,t),1),1),t=Zu(),null!==e&&(mt(e,1,t),nl(e,t))}function _l(e,t,n){if(3===e.tag)El(e,e,n);else for(;null!==t;){if(3===t.tag){El(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gu||!Gu.has(r))){t=$i(t,e=hs(t,e=ls(n,e),1),1),e=Zu(),null!==t&&(mt(t,1,e),nl(t,e));break}}t=t.return}}function kl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zu(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Cu&n)===n&&(4===Pu||3===Pu&&(130023424&Cu)===Cu&&500>Qe()-$u?fl(e,0):Mu|=n),nl(e,t)}function xl(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=Zu();null!==(e=Li(e,t))&&(mt(e,t,n),nl(e,n))}function Ol(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xl(e,n)}function Il(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),xl(e,n)}function Tl(e,t){return Ve(e,t)}function Al(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cl(e,t,n,r){return new Al(e,t,n,r)}function Rl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nl(e,t){var n=e.alternate;return null===n?((n=Cl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pl(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Rl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return jl(n.children,o,a,t);case k:s=8,o|=8;break;case x:return(e=Cl(12,n,t,2|o)).elementType=x,e.lanes=a,e;case A:return(e=Cl(13,n,t,o)).elementType=A,e.lanes=a,e;case C:return(e=Cl(19,n,t,o)).elementType=C,e.lanes=a,e;case P:return Ll(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case I:s=9;break e;case T:s=11;break e;case R:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Cl(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function jl(e,t,n,r){return(e=Cl(7,e,r,t)).lanes=n,e}function Ll(e,t,n,r){return(e=Cl(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return(e=Cl(6,e,null,t)).lanes=n,e}function Ml(e,t,n){return(t=Cl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ul(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fl(e,t,n,r,o,i,a,s,u){return e=new Ul(e,t,n,s,u),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Cl(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function $l(e){if(!e)return To;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Po(n))return Do(e,n,t)}return t}function zl(e,t,n,r,o,i,a,s,u){return(e=Fl(n,r,!0,e,0,i,0,s,u)).context=$l(null),n=e.current,(i=Fi(r=Zu(),o=el(n))).callback=null!=t?t:null,$i(n,i,o),e.current.lanes=o,mt(e,o,r),nl(e,r),e}function Bl(e,t,n,r){var o=t.current,i=Zu(),a=el(o);return n=$l(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$i(o,t,a))&&(tl(e,o,a,i),zi(e,o,a)),a}function ql(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gl(e,t){Hl(e,t),(e=e.alternate)&&Hl(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Co.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:As(t),hi();break;case 5:Ji(t);break;case 1:Po(t.type)&&Mo(t);break;case 4:Yi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Io(_i,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Io(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ds(e,t,n):(Io(ea,1&ea.current),null!==(e=qs(e,t,n))?e.sibling:null);Io(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return zs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Io(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return qs(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ii&&1048576&t.flags&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var o=No(t,Ao.current);Ci(t,n),o=ga(null,t,r,e,o,n);var a=ma();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Po(r)?(a=!0,Mo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=os,t.stateNode=o,o._reactInternals=t,us(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Rl(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),o){case 0:t=Os(null,t,r,e,n);break e;case 1:t=Is(null,t,r,e,n);break e;case 11:t=Ss(null,t,r,e,n);break e;case 14:t=Es(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,Is(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(As(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ui(e,t),qi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cs(e,t,r,n,o=ls(Error(i(423)),t));break e}if(r!==o){t=Cs(e,t,r,n,o=ls(Error(i(424)),t));break e}for(oi=lo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ei(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Ji(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),xs(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Ds(e,t,n);case 4:return Yi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Io(_i,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Co.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=Fi(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Ai(a.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Ai(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ri(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Es(e,t,r,o=ns(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Bs(e,t),t.tag=1,Po(r)?(e=!0,Mo(t)):e=!1,Ci(t,n),as(t,r,o),us(t,r,o,n),Ts(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return ks(e,t,n)}throw Error(i(156,t.tag))};var Wl="function"==typeof reportError?reportError:function(e){console.error(e)};function Vl(e){this._internalRoot=e}function Xl(e){this._internalRoot=e}function Kl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ql(){}function Jl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=ql(a);s.call(e)}}Bl(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=ql(a);i.call(e)}}var a=zl(t,r,e,0,null,!1,0,"",Ql);return e._reactRootContainer=a,e[yo]=a.current,Br(8===e.nodeType?e.parentNode:e),ll(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=ql(u);s.call(e)}}var u=Fl(e,0,!1,null,0,!1,0,"",Ql);return e._reactRootContainer=u,e[yo]=u.current,Br(8===e.nodeType?e.parentNode:e),ll(function(){Bl(t,u,n,r)}),u}(n,t,e,o,r);return ql(a)}Xl.prototype.render=Vl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bl(e,t,null,null)},Xl.prototype.unmount=Vl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ll(function(){Bl(null,e,null,null)}),t[yo]=null}},Xl.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Mt(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),nl(t,Qe()),!(6&Iu)&&(zu=Qe()+500,qo()))}break;case 13:ll(function(){var t=Li(e,1);if(null!==t){var n=Zu();tl(t,e,1,n)}}),Gl(e,1)}},Et=function(e){if(13===e.tag){var t=Li(e,134217728);if(null!==t)tl(t,e,134217728,Zu());Gl(e,134217728)}},_t=function(e){if(13===e.tag){var t=el(e),n=Li(e,t);if(null!==n)tl(n,e,t,Zu());Gl(e,t)}},kt=function(){return bt},xt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ee=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Eo(r);if(!o)throw Error(i(90));V(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=ul,Ae=ll;var Zl={usingClientEntryPoint:!1,Events:[wo,So,Eo,Oe,Ie,ul]},ec={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tc={bundleType:ec.bundleType,version:ec.version,rendererPackageName:ec.rendererPackageName,rendererConfig:ec.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:ec.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{ot=nc.inject(tc),it=nc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kl(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Kl(e))throw Error(i(299));var n=!1,r="",o=Wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fl(e,1,!1,null,0,n,0,r,o),e[yo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Vl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return ll(e)},t.hydrate=function(e,t,n){if(!Yl(t))throw Error(i(200));return Jl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Kl(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Wl;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zl(t,null,e,1,null!=n?n:null,o,0,a,s),e[yo]=t.current,Br(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xl(t)},t.render=function(e,t,n){if(!Yl(t))throw Error(i(200));return Jl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Yl(e))throw Error(i(40));return!!e._reactRootContainer&&(ll(function(){Jl(null,null,e,!1,function(){e._reactRootContainer=null,e[yo]=null})}),!0)},t.unstable_batchedUpdates=ul,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yl(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},79124(e,t,n){"use strict";var r=n(44059);t.H=r.createRoot,r.hydrateRoot},27347(e,t,n){"use strict";var r=n(58135),o=n(41623),i=Object;e.exports=r(function(){if(null==this||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)},24589(e,t,n){"use strict";var r=n(81265),o=n(60001),i=n(27347),a=n(38282),s=n(63848),u=o(a());r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},38282(e,t,n){"use strict";var r=n(27347),o=n(81265).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),e.get.call(n),"dy"===t)return e.get}}return r}},63848(e,t,n){"use strict";var r=n(81265).supportsDescriptors,o=n(38282),i=n(67768),a=Object.defineProperty,s=n(66307),u=n(28495),l=/a/;e.exports=function(){if(!r||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=u(l),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},80763(e,t){(t=e.exports=function(e){return String(e).replace(t.expr,"")}).expr=/\/+$/},29013(e,t,n){"use strict";var r=n(6046),o=n(86335),i=r("RegExp.prototype.exec"),a=n(41623);e.exports=function(e){if(!o(e))throw new a("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},30089(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>i(u,n))l<o&&0>i(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<o&&0>i(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var l=[],c=[],f=1,p=null,d=3,h=!1,y=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function S(e){if(g=!1,w(e),!y)if(null!==r(l))y=!0,P(E);else{var t=r(c);null!==t&&j(S,t.startTime-e)}}function E(e,n){y=!1,g&&(g=!1,v(O),O=-1),h=!0;var i=d;try{for(w(n),p=r(l);null!==p&&(!(p.expirationTime>n)||e&&!A());){var a=p.callback;if("function"==typeof a){p.callback=null,d=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(l)&&o(l),w(n)}else o(l);p=r(l)}if(null!==p)var u=!0;else{var f=r(c);null!==f&&j(S,f.startTime-n),u=!1}return u}finally{p=null,d=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,x=null,O=-1,I=5,T=-1;function A(){return!(t.unstable_now()-T<I)}function C(){if(null!==x){var e=t.unstable_now();T=e;var n=!0;try{n=x(!0,e)}finally{n?_():(k=!1,x=null)}}else k=!1}if("function"==typeof b)_=function(){b(C)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,N=R.port2;R.port1.onmessage=C,_=function(){N.postMessage(null)}}else _=function(){m(C,0)};function P(e){x=e,k||(k=!0,_())}function j(e,n){O=m(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){y||h||(y=!0,P(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(l)&&e===r(c)&&(g?(v(O),O=-1):g=!0,j(S,i-a))):(e.sortIndex=s,n(l,e),y||h||(y=!0,P(E))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},37748(e,t,n){"use strict";e.exports=n(30089)},2963(e,t,n){"use strict";const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const i=n(15108),{safeRe:a,t:s}=n(97247),u=n(24310),l=n(81527),c=n(96395),f=n(3294)},3294(e,t,n){"use strict";const r=/\s+/g;class o{constructor(e,t){if(t=a(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!b(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&w(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(v,"");const t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,n=i.get(t);if(n)return n;const r=this.options.loose,o=r?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];e=e.replace(o,N(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[p.COMPARATORTRIM],d),u("comparator trim",e),e=e.replace(c[p.TILDETRIM],h),u("tilde trim",e),e=e.replace(c[p.CARETTRIM],y),u("caret trim",e);let a=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>R(e,this.options));r&&(a=a.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE])))),u("range list",a);const l=new Map,f=a.map(e=>new s(e,this.options));for(const e of f){if(b(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const w=[...l.values()];return i.set(t,w),w}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(n=>S(n,t)&&e.set.some(e=>S(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=o;const i=new(n(17847)),a=n(15108),s=n(2963),u=n(81527),l=n(96395),{safeRe:c,src:f,t:p,comparatorTrimReplace:d,tildeTrimReplace:h,caretTrimReplace:y}=n(97247),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=n(22269),v=new RegExp(f[p.BUILD],"g"),b=e=>"<0.0.0-0"===e.value,w=e=>""===e.value,S=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every(e=>o.intersects(e,t)),o=r.pop();return n},E=(e,t)=>(e=e.replace(c[p.BUILD],""),u("comp",e,t),e=O(e,t),u("caret",e),e=k(e,t),u("tildes",e),e=T(e,t),u("xrange",e),e=C(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{const n=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(n,(t,n,r,o,i)=>{let a;return u("tilde",e,t,n,r,o,i),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(u("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",a),a})},O=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{u("caret",e,t);const n=t.loose?c[p.CARETLOOSE]:c[p.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,o,i,a)=>{let s;return u("caret",e,t,n,o,i,a),_(n)?s="":_(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(i)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(u("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${i} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),u("caret return",s),s})},T=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(n,(n,r,o,i,a,s)=>{if(u("xRange",e,n,r,o,i,a,s),((e,t,n)=>_(e)&&!_(t)||_(t)&&n&&!_(n))(o,i,a))return e;const l=_(o),c=l||_(i),f=c||_(a),p=f;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(c&&(i=0),a=0,">"===r?(r=">=",c?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",c?o=+o+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+o}.${i}.${a}${s}`):c?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${s} <${o}.${+i+1}.0-0`),u("xRange return",n),n})},C=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),R=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),N=e=>(t,n,r,o,i,a,s,u,l,c,f,p)=>`${n=_(r)?"":_(o)?`>=${r}.0.0${e?"-0":""}`:_(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=_(l)?"":_(c)?`<${+l+1}.0.0-0`:_(f)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${f}-${p}`:e?`<${l}.${c}.${+f+1}-0`:`<=${u}`}`.trim(),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},96395(e,t,n){"use strict";const r=n(81527),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(22269),{safeRe:a,t:s}=n(97247),u=n(15108),{compareIdentifiers:l}=n(46548);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("build compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[s.PRERELEASELOOSE]:a[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];if(!1===n&&(r=[t]),((e,t)=>{const n=t.split(".");if(n.length>e.length)return!1;for(let t=0;t<n.length;t++)if(0!==l(e[t],n[t]))return!1;return!0})(this.prerelease,t)){const e=this.prerelease[t.split(".").length];isNaN(e)&&(this.prerelease=r)}else this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},40119(e,t,n){"use strict";const r=n(63825);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},24310(e,t,n){"use strict";const r=n(13850),o=n(43582),i=n(60359),a=n(80772),s=n(89904),u=n(45757);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return i(e,n,l);case">=":return a(e,n,l);case"<":return s(e,n,l);case"<=":return u(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},37417(e,t,n){"use strict";const r=n(96395),o=n(63825),{safeRe:i,t:a}=n(97247);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);if(null===n)return null;const s=n[2],u=n[3]||"0",l=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",f=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${s}.${u}.${l}${c}${f}`,t)}},5728(e,t,n){"use strict";const r=n(96395);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},88506(e,t,n){"use strict";const r=n(35061);e.exports=(e,t)=>r(e,t,!0)},35061(e,t,n){"use strict";const r=n(96395);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},39815(e,t,n){"use strict";const r=n(63825);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),i=n.compare(o);if(0===i)return null;const a=i>0,s=a?n:o,u=a?o:n,l=!!s.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(s))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return n.major!==o.major?c+"major":n.minor!==o.minor?c+"minor":n.patch!==o.patch?c+"patch":"prerelease"}},13850(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>0===r(e,t,n)},60359(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>r(e,t,n)>0},80772(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>r(e,t,n)>=0},38674(e,t,n){"use strict";const r=n(96395);e.exports=(e,t,n,o,i)=>{"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,i).version}catch(e){return null}}},89904(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>r(e,t,n)<0},45757(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>r(e,t,n)<=0},41103(e,t,n){"use strict";const r=n(96395);e.exports=(e,t)=>new r(e,t).major},37323(e,t,n){"use strict";const r=n(96395);e.exports=(e,t)=>new r(e,t).minor},43582(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>0!==r(e,t,n)},63825(e,t,n){"use strict";const r=n(96395);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},96100(e,t,n){"use strict";const r=n(96395);e.exports=(e,t)=>new r(e,t).patch},87890(e,t,n){"use strict";const r=n(63825);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},16349(e,t,n){"use strict";const r=n(35061);e.exports=(e,t,n)=>r(t,e,n)},98792(e,t,n){"use strict";const r=n(5728);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},57883(e,t,n){"use strict";const r=n(3294);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},81120(e,t,n){"use strict";const r=n(5728);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},51618(e,t,n){"use strict";const r=n(63825),o=n(22269),i=n(96395),a=(e,t)=>{const n=e instanceof i?e.version:e;return r(n,t)},s=(e,t)=>{if(u(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0}return e.format()},u=e=>e.startsWith("pre");e.exports=(e,t,n)=>{if(!o.RELEASE_TYPES.includes(t))return null;const r=a(e,n);return r&&s(r,t)}},26540(e,t,n){"use strict";const r=n(63825);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},1240(e,t,n){"use strict";const r=n(97247),o=n(22269),i=n(96395),a=n(46548),s=n(63825),u=n(26540),l=n(40119),c=n(38674),f=n(39815),p=n(41103),d=n(37323),h=n(96100),y=n(87890),g=n(35061),m=n(16349),v=n(88506),b=n(5728),w=n(81120),S=n(98792),E=n(60359),_=n(89904),k=n(13850),x=n(43582),O=n(80772),I=n(45757),T=n(24310),A=n(37417),C=n(51618),R=n(2963),N=n(3294),P=n(57883),j=n(13678),L=n(86105),D=n(77699),M=n(70122),U=n(8049),F=n(38232),$=n(53732),z=n(83901),B=n(62905),q=n(25532),H=n(47841);e.exports={parse:s,valid:u,clean:l,inc:c,diff:f,major:p,minor:d,patch:h,prerelease:y,compare:g,rcompare:m,compareLoose:v,compareBuild:b,sort:w,rsort:S,gt:E,lt:_,eq:k,neq:x,gte:O,lte:I,cmp:T,coerce:A,truncate:C,Comparator:R,Range:N,satisfies:P,toComparators:j,maxSatisfying:L,minSatisfying:D,minVersion:M,validRange:U,outside:F,gtr:$,ltr:z,intersects:B,simplifyRange:q,subset:H,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},22269(e){"use strict";const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},81527(e){"use strict";const t={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG&&/\bsemver\b/i.test({NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},46548(e){"use strict";const t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:e<n?-1:1;const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},17847(e){"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},15108(e){"use strict";const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},97247(e,t,n){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(22269),a=n(81527),s=(t=e.exports={}).re=[],u=t.safeRe=[],l=t.src=[],c=t.safeSrc=[],f=t.t={};let p=0;const d="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[d,o]],y=(e,t,n)=>{const r=(e=>{for(const[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=p++;a(e,o,t),f[e]=o,l[o]=t,c[o]=r,s[o]=new RegExp(t,n?"g":void 0),u[o]=new RegExp(r,n?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),y("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${d}+`),y("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),y("FULL",`^${l[f.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),y("LOOSE",`^${l[f.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),y("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${l[f.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",l[f.COERCEPLAIN]+`(?:${l[f.PRERELEASE]})?`+`(?:${l[f.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",l[f.COERCE],!0),y("COERCERTLFULL",l[f.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",y("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",y("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},53732(e,t,n){"use strict";const r=n(38232);e.exports=(e,t,n)=>r(e,t,">",n)},62905(e,t,n){"use strict";const r=n(3294);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},83901(e,t,n){"use strict";const r=n(38232);e.exports=(e,t,n)=>r(e,t,"<",n)},86105(e,t,n){"use strict";const r=n(96395),o=n(3294);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))}),i}},77699(e,t,n){"use strict";const r=n(96395),o=n(3294);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))}),i}},70122(e,t,n){"use strict";const r=n(96395),o=n(3294),i=n(60359);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach(e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},38232(e,t,n){"use strict";const r=n(96395),o=n(2963),{ANY:i}=o,a=n(3294),s=n(57883),u=n(60359),l=n(89904),c=n(45757),f=n(80772);e.exports=(e,t,n,p)=>{let d,h,y,g,m;switch(e=new r(e,p),t=new a(t,p),n){case">":d=u,h=c,y=l,g=">",m=">=";break;case"<":d=l,h=f,y=u,g="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,s=null;if(r.forEach(e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,p)?a=e:y(e.semver,s.semver,p)&&(s=e)}),a.operator===g||a.operator===m)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===m&&y(e,s.semver))return!1}return!0}},25532(e,t,n){"use strict";const r=n(57883),o=n(35061);e.exports=(e,t,n)=>{const i=[];let a=null,s=null;const u=e.sort((e,t)=>o(e,t,n));for(const e of u){r(e,t,n)?(s=e,a||(a=e)):(s&&i.push([a,s]),s=null,a=null)}a&&i.push([a,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return c.length<f.length?c:t}},47841(e,t,n){"use strict";const r=n(3294),o=n(2963),{ANY:i}=o,a=n(57883),s=n(35061),u=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?u:l}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,c,d,h,y,g,m;for(const t of e)">"===t.operator||">="===t.operator?o=f(o,t,n):"<"===t.operator||"<="===t.operator?c=p(c,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&c){if(d=s(o.semver,c.semver,n),d>0)return null;if(0===d&&(">="!==o.operator||"<="!==c.operator))return null}for(const e of r){if(o&&!a(e,String(o),n))return null;if(c&&!a(e,String(c),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,b=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;v&&1===v.prerelease.length&&"<"===c.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,o)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=f(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!e.test(o.semver))return!1;if(c)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(y=p(c,e,n),y===e&&y!==c)return!1}else if("<="===c.operator&&!e.test(c.semver))return!1;if(!e.operator&&(c||o)&&0!==d)return!1}return!(o&&g&&!c&&0!==d)&&(!(c&&m&&!o&&0!==d)&&(!b&&!v))},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},13678(e,t,n){"use strict";const r=n(3294);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},8049(e,t,n){"use strict";const r=n(3294);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},11256(e,t,n){"use strict";var r=n(39619),o=n(7001),i=n(73560)(),a=n(67768),s=n(41623),u=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},58135(e,t,n){"use strict";var r=n(7001),o=n(73560)(),i=n(19769).functionsHaveConfigurableNames(),a=n(41623);e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!i||(o?r(e,"name",t,!0,!0):r(e,"name",t)),e}},12633(e,t,n){"use strict";var r=n(15646),o=n(41623),i=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var n=function(e,t){if(e)return i(e,t,!0)}(e,t);return n&&e&&!e.next&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var n=i(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!i(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},12161(e,t,n){"use strict";var r=n(39619),o=n(6046),i=n(15646),a=n(41623),s=r("%Map%",!0),u=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var n=f(e,t);return 0===p(e)&&(e=void 0),n}return!1},get:function(t){if(e)return u(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,n){e||(e=new s),l(e,t,n)}};return t}},58056(e,t,n){"use strict";var r=n(39619),o=n(6046),i=n(15646),a=n(12161),s=n(41623),u=r("%WeakMap%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);e.exports=u?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+i(e))},delete:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?l(e,n):t&&t.get(n)},has:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?f(e,n):!!t&&t.has(n)},set:function(n,r){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,r)):a&&(t||(t=a()),t.set(n,r))}};return n}:a},38910(e,t,n){"use strict";var r=n(41623),o=n(15646),i=n(12633),a=n(12161),s=n(58056)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e)){var n=e&&Object(e)===e?"the given object key":o(e);throw new r("Side channel does not contain "+n)}},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},71463(e,t,n){"use strict";var r=n(99221),o=n(70064),i="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!i)throw new o("this environment lacks StopIteration");r.set(e,"[[Done]]",!1);var t={next:function(){var e=r.get(this,"[[Iterator]]"),t=!!r.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(r.set(e,"[[Done]]",!0),t!==i)throw t;return{done:!0,value:void 0}}}};return r.set(t,"[[Iterator]]",e),t}},8505(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9930(e,t,n){"use strict";var r=n(71541),o=n(33491),i=n(56681),a=n(34587);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var y=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function m(e){return"[object Map]"===c(e)}function v(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function S(e){return"[object ArrayBuffer]"===c(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(S.working?S(e):e instanceof ArrayBuffer)}function _(e){return"[object DataView]"===c(e)}function k(e){return"undefined"!=typeof DataView&&(_.working?_(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},m.working="undefined"!=typeof Map&&m(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(m.working?m(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},S.working="undefined"!=typeof ArrayBuffer&&S(new ArrayBuffer),t.isArrayBuffer=E,_.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&_(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function I(e){return void 0!==x&&(void 0===O.working&&(O.working=O(new x)),O.working?O(e):e instanceof x)}function T(e){return g(e,f)}function A(e){return g(e,p)}function C(e){return g(e,d)}function R(e){return u&&g(e,h)}function N(e){return l&&g(e,y)}t.isSharedArrayBuffer=I,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=T,t.isStringObject=A,t.isBooleanObject=C,t.isBigIntObject=R,t.isSymbolObject=N,t.isBoxedPrimitive=function(e){return T(e)||A(e)||C(e)||R(e)||N(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||I(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})},41835(e,t,n){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])g(s)||!S(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,t){if(!0==={}.noDeprecation)return e;var n=!1;return function(){if(!n){if({}.throwDeprecation)throw new Error(t);!{}.traceDeprecation?console.error(t):console.trace(t),n=!0}return e.apply(this,arguments)}};var i={},a=/^$/;if({NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG){var s={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),f(r,e,r.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return v(o)||(o=f(e,o,r)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(m(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),_(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(n);if(0===a.length){if(k(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return e.stylize(Date.prototype.toString.call(n),"date");if(_(n))return p(n)}var l,c="",S=!1,x=["{","}"];(h(n)&&(S=!0,x=["[","]"]),k(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(c=" "+RegExp.prototype.toString.call(n)),E(n)&&(c=" "+Date.prototype.toUTCString.call(n)),_(n)&&(c=" "+p(n)),0!==a.length||S&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)T(t,String(a))?i.push(d(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(d(e,t,n,r,o,!0))}),i}(e,n,r,s,a):a.map(function(t){return d(e,n,r,s,t,S)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,x)):x[0]+c+x[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),T(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=g(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return void 0===e}function w(e){return S(e)&&"[object RegExp]"===x(e)}function S(e){return"object"==typeof e&&null!==e}function E(e){return S(e)&&"[object Date]"===x(e)}function _(e){return S(e)&&("[object Error]"===x(e)||e instanceof Error)}function k(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var n={}.pid;i[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else i[e]=function(){};return i[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(9930),t.isArray=h,t.isBoolean=y,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=w,t.types.isRegExp=w,t.isObject=S,t.isDate=E,t.types.isDate=E,t.isError=_,t.types.isNativeError=_,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(8505);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":"),[e.getDate(),I[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(18628),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(e,r){e?n(e):t(r)});try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),A&&Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=A,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return r.apply(o,arguments)};e.apply(this,t).then(function(e){({}).nextTick(i.bind(null,null,e))},function(e){({}).nextTick(C.bind(null,e,i))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},7104(e,t,n){"use strict";var r=n(696),o=n(92006),i=n(16154),a=n(4698),s=n(19233);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:r(e)?"String":o(e)?"Number":i(e)?"Boolean":a(e)?"Symbol":s(e)?"BigInt":void 0}},93232(e,t,n){"use strict";var r=n(32258),o=n(51306),i=n(92001),a=n(18483);e.exports=function(e){if(e&&"object"==typeof e){if(r(e))return"Map";if(o(e))return"Set";if(i(e))return"WeakMap";if(a(e))return"WeakSet"}return!1}},56681(e,t,n){"use strict";var r=n(19135),o=n(79618),i=n(42896),a=n(6046),s=n(67768),u=n(28495),l=a("Object.prototype.toString"),c=n(81070)(),f=globalThis,p=o(),d=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};r(p,c&&s&&u?function(e){var t=new f[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=s(n,Symbol.toStringTag);if(!r&&n){var o=u(n);r=s(o,Symbol.toStringTag)}y["$"+e]=i(r.get)}}:function(e){var t=new f[e],n=t.slice||t.set;n&&(y["$"+e]=i(n))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(l(e),8,-1);return h(p,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(y,function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return r(y,function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}}),t}(e):null}},42803(e,t,n){"use strict";var r=n(19135),o=n(79618),i=n(60001),a=n(6046),s=n(67768),u=n(28495),l=a("Object.prototype.toString"),c=n(81070)(),f=globalThis,p=o(),d=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};r(p,c&&s&&u?function(e){var t=new f[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=s(n,Symbol.toStringTag);if(!r&&n){var o=u(n);r=s(o,Symbol.toStringTag)}if(r&&r.get){var a=i(r.get);y["$"+e]=a}}}:function(e){var t=new f[e],n=t.slice||t.set;if(n){var r=i(n);y["$"+e]=r}}),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(l(e),8,-1);return function(e){return h(p,e)>-1}(t)?t:"Object"===t&&function(e){var t=!1;return r(y,function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return r(y,function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}}),t}(e):null}},79618(e,t,n){"use strict";var r=n(47205),o=globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof o[r[t]]&&(e[e.length]=r[t]);return e}},3698(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},18748(e,t,n){"use strict";var r=n(26800),o=n(71463);if(n(12877)()||n(40847)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=n(25344),s=n(696),u=n(39619),l=u("%Map%",!0),c=u("%Set%",!0),f=n(41233),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),h=f("String.prototype.slice"),y=function(e){var t=0;return{next:function(){var n,r=t>=e.length;return r||(n=e[t],t+=1),{done:r,value:n}}}},g=function(e,t){if(a(e)||r(e))return y(e);if(s(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=d(e,t);if(n<55296||n>56319)return t+1;var r=d(e,t+1);return r<56320||r>57343?t+1:t+2}(e,n),r=h(e,n,t);return n=t,{done:t>e.length,value:r}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(l||c){var m=n(32258),v=n(51306),b=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0);if(!{}.versions||!{}.versions.node)var S=f("Map.prototype.iterator",!0),E=f("Set.prototype.iterator",!0);var _=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),k=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(m(e)){if(S)return o(S(e));if(_)return _(e);if(b){var t=[];return b(e,function(e,n){p(t,[n,e])}),y(t)}}if(v(e)){if(E)return o(E(e));if(k)return k(e);if(w){var n=[];return w(e,function(e){p(n,e)}),y(n)}}}(e)||g(e)}}else e.exports=function(e){if(null!=e)return g(e,!0)}}},83032(e,t,n){"use strict";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}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:()=>Se});const i=Object.entries,a=Object.setPrototypeOf,s=Object.isFrozen,u=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor;let c=Object.freeze,f=Object.seal,p=Object.create,d="undefined"!=typeof Reflect&&Reflect,h=d.apply,y=d.construct;c||(c=function(e){return e}),f||(f=function(e){return e}),h||(h=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),y||(y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const g=M(Array.prototype.forEach),m=M(Array.prototype.lastIndexOf),v=M(Array.prototype.pop),b=M(Array.prototype.push),w=M(Array.prototype.splice),S=Array.isArray,E=M(String.prototype.toLowerCase),_=M(String.prototype.toString),k=M(String.prototype.match),x=M(String.prototype.replace),O=M(String.prototype.indexOf),I=M(String.prototype.trim),T=M(Number.prototype.toString),A=M(Boolean.prototype.toString),C="undefined"==typeof BigInt?null:M(BigInt.prototype.toString),R="undefined"==typeof Symbol?null:M(Symbol.prototype.toString),N=M(Object.prototype.hasOwnProperty),P=M(Object.prototype.toString),j=M(RegExp.prototype.test),L=(D=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(D,t)});var D;function M(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h(e,t,r)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(a&&a(e,null),!S(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(s(t)||(t[r]=e),o=e)}e[o]=!0}return e}function F(e){for(let t=0;t<e.length;t++){N(e,t)||(e[t]=null)}return e}function $(e){const t=p(null);for(const r of i(e)){var n=o(r,2);const i=n[0],a=n[1];N(e,i)&&(S(a)?t[i]=F(a):a&&"object"==typeof a&&a.constructor===Object?t[i]=$(a):t[i]=a)}return t}function z(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return M(n.get);if("function"==typeof n.value)return M(n.value)}e=u(e)}return function(){return null}}const B=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),q=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),H=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),X=c(["#text"]),K=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Y=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Q=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),J=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z=f(/{{[\w\W]*|^[\w\W]*}}/g),ee=f(/<%[\w\W]*|^[\w\W]*%>/g),te=f(/\${[\w\W]*/g),ne=f(/^data-[\-\w.\u00B7-\uFFFF]+$/),re=f(/^aria-[\-\w]+$/),oe=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ie=f(/^(?:\w+script|data):/i),ae=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),se=f(/^html$/i),ue=f(/^[a-z][.\w]*(-[.\w]+)+$/i),le=f(/<[/\w!]/g),ce=f(/<[/\w]/g),fe=f(/<\/no(script|embed|frames)/i),pe=f(/\/>/i),de=1,he=3,ye=7,ge=8,me=9,ve=11,be=function(){return window},we=function(e,t,n,r){return N(e,t)&&S(e[t])?U(r.base?$(r.base):{},e[t],r.transform):n};var Se=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be();const n=t=>e(t);if(n.version="3.4.11",n.removed=[],!t||!t.document||t.document.nodeType!==me||!t.Element)return n.isSupported=!1,n;let r=t.document;const o=r,a=o.currentScript;t.DocumentFragment;const s=t.HTMLTemplateElement,u=t.Node,l=t.Element,d=t.NodeFilter,h=t.NamedNodeMap;void 0===h&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const y=t.DOMParser,D=t.trustedTypes,M=l.prototype,F=z(M,"cloneNode"),Se=z(M,"remove"),Ee=z(M,"nextSibling"),_e=z(M,"childNodes"),ke=z(M,"parentNode"),xe=z(M,"shadowRoot"),Oe=z(M,"attributes"),Ie=u&&u.prototype?z(u.prototype,"nodeType"):null,Te=u&&u.prototype?z(u.prototype,"nodeName"):null;if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Ae,Ce,Re="",Ne=!1,Pe=0;const je=function(){if(Pe>0)throw L('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Le=function(e){je(),Pe++;try{return Ae.createHTML(e)}finally{Pe--}},De=function(){return Ne||(Ce=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(D,a),Ne=!0),Ce},Me=r,Ue=Me.implementation,Fe=Me.createNodeIterator,$e=Me.createDocumentFragment,ze=Me.getElementsByTagName,Be=o.importNode;let qe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof i&&"function"==typeof ke&&Ue&&void 0!==Ue.createHTMLDocument;const He=Z,Ge=ee,We=te,Ve=ne,Xe=re,Ke=ie,Ye=ae,Qe=ue;let Je=oe,Ze=null;const et=U({},[...B,...q,...H,...W,...X]);let tt=null;const nt=U({},[...K,...Y,...Q,...J]);let rt=Object.seal(p(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ot=null,it=null;const at=Object.seal(p(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let st=!0,ut=!0,lt=!1,ct=!0,ft=!1,pt=!0,dt=!1,ht=!1,yt=null,gt=null,mt=!1,vt=!1,bt=!1,wt=!1,St=!0,Et=!1;const _t="user-content-";let kt=!0,xt=!1,Ot={},It=null;const Tt=U({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let At=null;const Ct=U({},["audio","video","img","source","image","track"]);let Rt=null;const Nt=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pt="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",Lt="http://www.w3.org/1999/xhtml";let Dt=Lt,Mt=!1,Ut=null;const Ft=U({},[Pt,jt,Lt],_),$t=c(["mi","mo","mn","ms","mtext"]);let zt=U({},$t);const Bt=c(["annotation-xml"]);let qt=U({},Bt);const Ht=U({},["title","style","font","a","script"]);let Gt=null;const Wt=["application/xhtml+xml","text/html"];let Vt=null,Xt=null;const Kt=r.createElement("form"),Yt=function(e){return e instanceof RegExp||e instanceof Function},Qt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Xt&&Xt===e)return;e&&"object"==typeof e||(e={}),e=$(e),Gt=-1===Wt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Vt="application/xhtml+xml"===Gt?_:E,Ze=we(e,"ALLOWED_TAGS",et,{transform:Vt}),tt=we(e,"ALLOWED_ATTR",nt,{transform:Vt}),Ut=we(e,"ALLOWED_NAMESPACES",Ft,{transform:_}),Rt=we(e,"ADD_URI_SAFE_ATTR",Nt,{transform:Vt,base:Nt}),At=we(e,"ADD_DATA_URI_TAGS",Ct,{transform:Vt,base:Ct}),It=we(e,"FORBID_CONTENTS",Tt,{transform:Vt}),ot=we(e,"FORBID_TAGS",$({}),{transform:Vt}),it=we(e,"FORBID_ATTR",$({}),{transform:Vt}),Ot=!!N(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?$(e.USE_PROFILES):e.USE_PROFILES),st=!1!==e.ALLOW_ARIA_ATTR,ut=!1!==e.ALLOW_DATA_ATTR,lt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ct=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ft=e.SAFE_FOR_TEMPLATES||!1,pt=!1!==e.SAFE_FOR_XML,dt=e.WHOLE_DOCUMENT||!1,vt=e.RETURN_DOM||!1,bt=e.RETURN_DOM_FRAGMENT||!1,wt=e.RETURN_TRUSTED_TYPE||!1,mt=e.FORCE_BODY||!1,St=!1!==e.SANITIZE_DOM,Et=e.SANITIZE_NAMED_PROPS||!1,kt=!1!==e.KEEP_CONTENT,xt=e.IN_PLACE||!1,Je=function(e){try{return j(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:oe,Dt="string"==typeof e.NAMESPACE?e.NAMESPACE:Lt,zt=N(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?$(e.MATHML_TEXT_INTEGRATION_POINTS):U({},$t),qt=N(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?$(e.HTML_INTEGRATION_POINTS):U({},Bt);const t=N(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?$(e.CUSTOM_ELEMENT_HANDLING):p(null);if(rt=p(null),N(t,"tagNameCheck")&&Yt(t.tagNameCheck)&&(rt.tagNameCheck=t.tagNameCheck),N(t,"attributeNameCheck")&&Yt(t.attributeNameCheck)&&(rt.attributeNameCheck=t.attributeNameCheck),N(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(rt.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),f(rt),ft&&(ut=!1),bt&&(vt=!0),Ot&&(Ze=U({},X),tt=p(null),!0===Ot.html&&(U(Ze,B),U(tt,K)),!0===Ot.svg&&(U(Ze,q),U(tt,Y),U(tt,J)),!0===Ot.svgFilters&&(U(Ze,H),U(tt,Y),U(tt,J)),!0===Ot.mathMl&&(U(Ze,W),U(tt,Q),U(tt,J))),at.tagCheck=null,at.attributeCheck=null,N(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?at.tagCheck=e.ADD_TAGS:S(e.ADD_TAGS)&&(Ze===et&&(Ze=$(Ze)),U(Ze,e.ADD_TAGS,Vt))),N(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?at.attributeCheck=e.ADD_ATTR:S(e.ADD_ATTR)&&(tt===nt&&(tt=$(tt)),U(tt,e.ADD_ATTR,Vt))),N(e,"ADD_URI_SAFE_ATTR")&&S(e.ADD_URI_SAFE_ATTR)&&U(Rt,e.ADD_URI_SAFE_ATTR,Vt),N(e,"FORBID_CONTENTS")&&S(e.FORBID_CONTENTS)&&(It===Tt&&(It=$(It)),U(It,e.FORBID_CONTENTS,Vt)),N(e,"ADD_FORBID_CONTENTS")&&S(e.ADD_FORBID_CONTENTS)&&(It===Tt&&(It=$(It)),U(It,e.ADD_FORBID_CONTENTS,Vt)),kt&&(Ze["#text"]=!0),dt&&U(Ze,["html","head","body"]),Ze.table&&(U(Ze,["tbody"]),delete ot.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=Ae;Ae=e.TRUSTED_TYPES_POLICY;try{Re=Le("")}catch(e){throw Ae=t,e}}else null===e.TRUSTED_TYPES_POLICY?(Ae=void 0,Re=""):(void 0===Ae&&(Ae=De()),Ae&&"string"==typeof Re&&(Re=Le("")));c&&c(e),Xt=e},Jt=U({},[...q,...H,...G]),Zt=U({},[...W,...V]),en=function(e){let t=ke(e);t&&t.tagName||(t={namespaceURI:Dt,tagName:"template"});const n=E(e.tagName),r=E(t.tagName);return!!Ut[e.namespaceURI]&&(e.namespaceURI===jt?function(e,t,n){return t.namespaceURI===Lt?"svg"===e:t.namespaceURI===Pt?"svg"===e&&("annotation-xml"===n||zt[n]):Boolean(Jt[e])}(n,t,r):e.namespaceURI===Pt?function(e,t,n){return t.namespaceURI===Lt?"math"===e:t.namespaceURI===jt?"math"===e&&qt[n]:Boolean(Zt[e])}(n,t,r):e.namespaceURI===Lt?function(e,t,n){return!(t.namespaceURI===jt&&!qt[n])&&!(t.namespaceURI===Pt&&!zt[n])&&!Zt[e]&&(Ht[e]||!Jt[e])}(n,t,r):!("application/xhtml+xml"!==Gt||!Ut[e.namespaceURI]))},tn=function(e){b(n.removed,{element:e});try{ke(e).removeChild(e)}catch(t){if(Se(e),!ke(e))throw L("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},nn=function(e){const t=_e(e);if(t){const e=[];g(t,t=>{b(e,t)}),g(e,e=>{try{Se(e)}catch(e){}})}const n=Oe(e);if(n)for(let t=n.length-1;t>=0;--t){const r=n[t],o=r&&r.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(e){}}},rn=function(e,t){try{b(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(vt||bt)try{tn(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},on=function(e){const t=Oe(e);if(t)for(let n=t.length-1;n>=0;--n){const r=t[n],o=r&&r.name;if("string"==typeof o&&!tt[Vt(o)])try{e.removeAttribute(o)}catch(e){}}},an=function(e){let t=null,n=null;if(mt)e="<remove></remove>"+e;else{const t=k(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Gt&&Dt===Lt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=Ae?Le(e):e;if(Dt===Lt)try{t=(new y).parseFromString(o,Gt)}catch(e){}if(!t||!t.documentElement){t=Ue.createDocument(Dt,"template",null);try{t.documentElement.innerHTML=Mt?Re:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Dt===Lt?ze.call(t,dt?"html":"body")[0]:dt?t.documentElement:i},sn=function(e){return Fe.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},un=function(e){return e=x(e,He," "),e=x(e,Ge," "),e=x(e,We," ")},ln=function(e){var t;e.normalize();const n=Fe.call(e.ownerDocument||e,e,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=un(r.data),r=n.nextNode();const o=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");o&&g(o,e=>{fn(e.content)&&ln(e.content)})},cn=function(e){const t=Te?Te(e):null;return"string"==typeof t&&("form"===Vt(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==Oe(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==Ie(e)||e.childNodes!==_e(e)))},fn=function(e){if(!Ie||"object"!=typeof e||null===e)return!1;try{return Ie(e)===ve}catch(e){return!1}},pn=function(e){if(!Ie||"object"!=typeof e||null===e)return!1;try{return"number"==typeof Ie(e)}catch(e){return!1}};function dn(e,t,r){0!==e.length&&g(e,e=>{e.call(n,t,r,Xt)})}const hn=function(e){if(dn(qe.beforeSanitizeElements,e,null),cn(e))return tn(e),!0;const t=Vt(Te?Te(e):e.nodeName);if(dn(qe.uponSanitizeElement,e,{tagName:t,allowedTags:Ze}),function(e,t){return!!(pt&&e.hasChildNodes()&&!pn(e.firstElementChild)&&j(le,e.textContent)&&j(le,e.innerHTML))||!(!pt||e.namespaceURI!==Lt||"style"!==t||!pn(e.firstElementChild))||e.nodeType===ye||!(!pt||e.nodeType!==ge||!j(ce,e.data))}(e,t))return tn(e),!0;if(ot[t]||!(at.tagCheck instanceof Function&&at.tagCheck(t))&&!Ze[t])return function(e,t){if(!ot[t]&&mn(t)){if(rt.tagNameCheck instanceof RegExp&&j(rt.tagNameCheck,t))return!1;if(rt.tagNameCheck instanceof Function&&rt.tagNameCheck(t))return!1}if(kt&&!It[t]){const t=ke(e),n=_e(e);if(n&&t)for(let r=n.length-1;r>=0;--r){const o=xt?n[r]:F(n[r],!0);t.insertBefore(o,Ee(e))}}return tn(e),!0}(e,t);if((Ie?Ie(e):e.nodeType)===de&&!en(e))return tn(e),!0;if(("noscript"===t||"noembed"===t||"noframes"===t)&&j(fe,e.innerHTML))return tn(e),!0;if(ft&&e.nodeType===he){const t=un(e.textContent);e.textContent!==t&&(b(n.removed,{element:e.cloneNode()}),e.textContent=t)}return dn(qe.afterSanitizeElements,e,null),!1},yn=function(e,t,n){if(it[t])return!1;if(St&&("id"===t||"name"===t)&&(n in r||n in Kt))return!1;const o=tt[t]||at.attributeCheck instanceof Function&&at.attributeCheck(t,e);if(ut&&j(Ve,t));else if(st&&j(Xe,t));else if(o)if(Rt[t]);else if(j(Je,x(n,Ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==O(n,"data:")||!At[e]){if(lt&&!j(Ke,x(n,Ye,"")));else if(n)return!1}else;else if(!(mn(e)&&(rt.tagNameCheck instanceof RegExp&&j(rt.tagNameCheck,e)||rt.tagNameCheck instanceof Function&&rt.tagNameCheck(e))&&(rt.attributeNameCheck instanceof RegExp&&j(rt.attributeNameCheck,t)||rt.attributeNameCheck instanceof Function&&rt.attributeNameCheck(t,e))||"is"===t&&rt.allowCustomizedBuiltInElements&&(rt.tagNameCheck instanceof RegExp&&j(rt.tagNameCheck,n)||rt.tagNameCheck instanceof Function&&rt.tagNameCheck(n))))return!1;return!0},gn=U({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),mn=function(e){return!gn[E(e)]&&j(Qe,e)},vn=function(e,t,n,r){if(Ae&&"object"==typeof D&&"function"==typeof D.getAttributeType&&!n)switch(D.getAttributeType(e,t)){case"TrustedHTML":return Le(r);case"TrustedScriptURL":return function(e){je(),Pe++;try{return Ae.createScriptURL(e)}finally{Pe--}}(r)}return r},bn=function(e,t,r,o){try{r?e.setAttributeNS(r,t,o):e.setAttribute(t,o),cn(e)?tn(e):v(n.removed)}catch(n){rn(t,e)}},wn=function(e){dn(qe.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||cn(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tt,forceKeepAttr:void 0};let r=t.length;const o=Vt(e.nodeName);for(;r--;){const i=t[r],a=i.name,s=i.namespaceURI,u=i.value,l=Vt(a),c=u;let f="value"===a?c:I(c);n.attrName=l,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,dn(qe.uponSanitizeAttribute,e,n),f=n.attrValue,!Et||"id"!==l&&"name"!==l||0===O(f,_t)||(rn(a,e),f=_t+f),pt&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)?rn(a,e):"attributename"===l&&k(f,"href")?rn(a,e):n.forceKeepAttr||(n.keepAttr&&(ct||!j(pe,f))?(ft&&(f=un(f)),yn(o,l,f)?(f=vn(o,l,s,f),f!==c&&bn(e,a,s,f)):rn(a,e)):rn(a,e))}dn(qe.afterSanitizeAttributes,e,null)},Sn=function(e){let t=null;const n=sn(e);for(dn(qe.beforeSanitizeShadowDOM,e,null);t=n.nextNode();){dn(qe.uponSanitizeShadowNode,t,null),hn(t),wn(t),fn(t.content)&&Sn(t.content);if((Ie?Ie(t):t.nodeType)===de){const e=xe(t);fn(e)&&(En(e),Sn(e))}}dn(qe.afterSanitizeShadowDOM,e,null)},En=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){Sn(e.shadow);continue}const n=e.node,r=(Ie?Ie(n):n.nodeType)===de,o=_e(n);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(r){const e=Te?Te(n):null;if("string"==typeof e&&"template"===Vt(e)){const e=n.content;fn(e)&&t.push({node:e,shadow:null})}}if(r){const e=xe(n);fn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,s=null;if(Mt=!e,Mt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!pn(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return T(e);case"boolean":return A(e);case"bigint":return C?C(e):"0";case"symbol":return R?R(e):"Symbol()";case"undefined":default:return P(e);case"function":case"object":{if(null===e)return P(e);const t=e,n=z(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:P(e)}return P(e)}}}(e)))throw L("dirty is not a string, aborting");if(!n.isSupported)return e;ht?(Ze=yt,tt=gt):Qt(t),(qe.uponSanitizeElement.length>0||qe.uponSanitizeAttribute.length>0)&&(Ze=$(Ze)),qe.uponSanitizeAttribute.length>0&&(tt=$(tt)),n.removed=[];const u=xt&&"string"!=typeof e&&pn(e);if(u){const t=Te?Te(e):e.nodeName;if("string"==typeof t){const e=Vt(t);if(!Ze[e]||ot[e])throw L("root node is forbidden and cannot be sanitized in-place")}if(cn(e))throw L("root node is clobbered and cannot be sanitized in-place");try{En(e)}catch(t){throw nn(e),t}}else if(pn(e))r=an("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===de&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),En(i);else{if(!vt&&!ft&&!dt&&-1===e.indexOf("<"))return Ae&&wt?Le(e):e;if(r=an(e),!r)return vt?null:wt?Re:""}r&&mt&&tn(r.firstChild);const l=sn(u?e:r);try{for(;a=l.nextNode();)hn(a),wn(a),fn(a.content)&&Sn(a.content)}catch(t){throw u&&nn(e),t}if(u)return g(n.removed,e=>{e.element&&function(e){const t=[e];for(;t.length>0;){const e=t.pop();(Ie?Ie(e):e.nodeType)===de&&on(e);const n=_e(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}}(e.element)}),ft&&ln(e),e;if(vt){if(ft&&ln(r),bt)for(s=$e.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(tt.shadowroot||tt.shadowrootmode)&&(s=Be.call(o,s,!0)),s}let c=dt?r.outerHTML:r.innerHTML;return dt&&Ze["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&j(se,r.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+c),ft&&(c=un(c)),Ae&&wt?Le(c):c},n.setConfig=function(){Qt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ht=!0,yt=Ze,gt=tt},n.clearConfig=function(){Xt=null,ht=!1,yt=null,gt=null,Ae=Ce,Re=""},n.isValidAttribute=function(e,t,n){Xt||Qt({});const r=Vt(e),o=Vt(t);return yn(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&N(qe,e)&&b(qe[e],t)},n.removeHook=function(e,t){if(N(qe,e)){if(void 0!==t){const n=m(qe[e],t);return-1===n?void 0:w(qe[e],n,1)[0]}return v(qe[e])}},n.removeHooks=function(e){N(qe,e)&&(qe[e]=[])},n.removeAllHooks=function(){qe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},64099(e,t,n){"use strict";n.d(t,{A:()=>o});const r=new Uint8Array(16);function o(){return crypto.getRandomValues(r)}},80555(e,t,n){"use strict";n.d(t,{k:()=>o});const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function o(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},6974(e,t,n){"use strict";if(n.d(t,{A:()=>i}),!/^8(69|87)$/.test(n.j))var r=n(64099);if(!/^8(69|87)$/.test(n.j))var o=n(80555);const i=/^8(69|87)$/.test(n.j)?null:function(e,t,n){return t||e||!crypto.randomUUID?function(e,t,n){e=e||{};const i=e.random??e.rng?.()??(0,r.A)();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=i[e];return t}return(0,o.k)(i)}(e,t,n):crypto.randomUUID()}},53940(e){"use strict";e.exports={rE:"4.12.1"}}}]);