(function(Ir,$r){typeof exports=="object"&&typeof module<"u"?$r(exports):typeof define=="function"&&define.amd?define(["exports"],$r):(Ir=typeof globalThis<"u"?globalThis:Ir||self,$r(Ir.ui={}))})(this,function(Ir){"use strict";var ZY=Object.defineProperty;var VY=(Ir,$r,Ln)=>$r in Ir?ZY(Ir,$r,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):Ir[$r]=Ln;var je=(Ir,$r,Ln)=>(VY(Ir,typeof $r!="symbol"?$r+"":$r,Ln),Ln);const $r={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},Ln={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},yt={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},br={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Mn={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class q{static getFirstMatch(t,r){const a=r.match(t);return a&&a.length>0&&a[1]||""}static getSecondMatch(t,r){const a=r.match(t);return a&&a.length>1&&a[2]||""}static matchAndReturnConst(t,r,a){if(t.test(r))return a}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const r=t.split(".").splice(0,2).map(a=>parseInt(a,10)||0);if(r.push(0),r[0]===10)switch(r[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const r=t.split(".").splice(0,2).map(a=>parseInt(a,10)||0);if(r.push(0),!(r[0]===1&&r[1]<5)){if(r[0]===1&&r[1]<6)return"Cupcake";if(r[0]===1&&r[1]>=6)return"Donut";if(r[0]===2&&r[1]<2)return"Eclair";if(r[0]===2&&r[1]===2)return"Froyo";if(r[0]===2&&r[1]>2)return"Gingerbread";if(r[0]===3)return"Honeycomb";if(r[0]===4&&r[1]<1)return"Ice Cream Sandwich";if(r[0]===4&&r[1]<4)return"Jelly Bean";if(r[0]===4&&r[1]>=4)return"KitKat";if(r[0]===5)return"Lollipop";if(r[0]===6)return"Marshmallow";if(r[0]===7)return"Nougat";if(r[0]===8)return"Oreo";if(r[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,r,a=!1){const n=q.getVersionPrecision(t),i=q.getVersionPrecision(r);let s=Math.max(n,i),c=0;const d=q.map([t,r],o=>{const f=s-q.getVersionPrecision(o),u=o+new Array(f+1).join(".0");return q.map(u.split("."),h=>new Array(20-h.length).join("0")+h).reverse()});for(a&&(c=s-Math.min(n,i)),s-=1;s>=c;){if(d[0][s]>d[1][s])return 1;if(d[0][s]===d[1][s]){if(s===c)return 0;s-=1}else if(d[0][s]{a[d]=s[d]})}return t}static getBrowserAlias(t){return $r[t]}static getBrowserTypeByAlias(t){return Ln[t]||""}}const rt=/version\/(\d+(\.?_?\d+)+)/i,xE=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},r=q.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},r=q.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},r=q.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},r=q.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},r=q.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},r=q.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},r=q.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},r=q.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=q.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},r=q.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},r=q.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},r=q.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},r=q.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},r=q.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},r=q.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},r=q.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},r=q.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},r=q.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},r=q.getFirstMatch(rt,e)||q.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},r=q.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},r=q.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},r=q.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},r=q.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},r=q.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},r=q.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},r=q.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},r=q.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},r=q.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test(e){const t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe(e){const t={name:"Android Browser"},r=q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},r=q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},r=q.getFirstMatch(rt,e);return r&&(t.version=r),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,r=/^(.*)\/(.*)[ \t]\((.*)/,n=e.search("\\(")!==-1?r:t;return{name:q.getFirstMatch(n,e),version:q.getSecondMatch(n,e)}}}],SE=[{test:[/Roku\/DVP/],describe(e){const t=q.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:br.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=q.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:br.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=q.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=q.getWindowsVersionName(t);return{name:br.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:br.iOS},r=q.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe(e){const t=q.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=q.getMacOSVersionName(t),a={name:br.MacOS,version:t};return r&&(a.versionName=r),a}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=q.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:br.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe(e){const t=q.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=q.getAndroidVersionName(t),a={name:br.Android,version:t};return r&&(a.versionName=r),a}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=q.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:br.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=q.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||q.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||q.getFirstMatch(/\bbb(\d+)/i,e);return{name:br.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=q.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:br.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=q.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:br.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:br.Linux}}},{test:[/CrOS/],describe(){return{name:br.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=q.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:br.PlayStation4,version:t}}}],AE=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=q.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:yt.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:yt.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:yt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:yt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:yt.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:yt.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:yt.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe(e){const t=q.getFirstMatch(/(ipod|iphone)/i,e);return{type:yt.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:yt.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:yt.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:yt.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:yt.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:yt.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:yt.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:yt.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:yt.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:yt.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:yt.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:yt.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:yt.tv}}}],IE=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Mn.Blink};const r=q.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Mn.EdgeHTML,version:r}}},{test:[/trident/i],describe(e){const t={name:Mn.Trident},r=q.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:Mn.Presto},r=q.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test(e){const t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe(e){const t={name:Mn.Gecko},r=q.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Mn.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:Mn.WebKit},r=q.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];class k3{constructor(t,r=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},r!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=q.find(xE,r=>{if(typeof r.test=="function")return r.test(this);if(r.test instanceof Array)return r.test.some(a=>this.test(a));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=q.find(SE,r=>{if(typeof r.test=="function")return r.test(this);if(r.test instanceof Array)return r.test.some(a=>this.test(a));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:r}=this.getOS();return t?String(r).toLowerCase()||"":r||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:r}=this.getPlatform();return t?String(r).toLowerCase()||"":r||""}parsePlatform(){this.parsedResult.platform={};const t=q.find(AE,r=>{if(typeof r.test=="function")return r.test(this);if(r.test instanceof Array)return r.test.some(a=>this.test(a));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=q.find(IE,r=>{if(typeof r.test=="function")return r.test(this);if(r.test instanceof Array)return r.test.some(a=>this.test(a));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return q.assign({},this.parsedResult)}satisfies(t){const r={};let a=0;const n={};let i=0;if(Object.keys(t).forEach(c=>{const d=t[c];typeof d=="string"?(n[c]=d,i+=1):typeof d=="object"&&(r[c]=d,a+=1)}),a>0){const c=Object.keys(r),d=q.find(c,f=>this.isOS(f));if(d){const f=this.satisfies(r[d]);if(f!==void 0)return f}const o=q.find(c,f=>this.isPlatform(f));if(o){const f=this.satisfies(r[o]);if(f!==void 0)return f}}if(i>0){const c=Object.keys(n),d=q.find(c,o=>this.isBrowser(o,!0));if(d!==void 0)return this.compareVersion(n[d])}}isBrowser(t,r=!1){const a=this.getBrowserName().toLowerCase();let n=t.toLowerCase();const i=q.getBrowserTypeByAlias(n);return r&&i&&(n=i.toLowerCase()),n===a}compareVersion(t){let r=[0],a=t,n=!1;const i=this.getBrowserVersion();if(typeof i=="string")return t[0]===">"||t[0]==="<"?(a=t.substr(1),t[1]==="="?(n=!0,a=t.substr(2)):r=[],t[0]===">"?r.push(1):r.push(-1)):t[0]==="="?a=t.substr(1):t[0]==="~"&&(n=!0,a=t.substr(1)),r.indexOf(q.compareVersions(i,a,n))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,r=!1){return this.isBrowser(t,r)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(r=>this.is(r))}}/*! * Bowser - a browser detector * https://github.com/lancedikson/bowser * MIT License | (c) Dustin Diaz 2012-2015 * MIT License | (c) Denis Demchenko 2015-2019 */class kE{static getParser(t,r=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new k3(t,r)}static parse(t){return new k3(t).getResult()}static get BROWSER_MAP(){return Ln}static get ENGINE_MAP(){return Mn}static get OS_MAP(){return br}static get PLATFORMS_MAP(){return yt}}var CE=Object.defineProperty,TE=(e,t,r)=>t in e?CE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,OE=(e,t,r)=>(TE(e,typeof t!="symbol"?t+"":t,r),r),M0=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},la=(e,t,r)=>(M0(e,t,"read from private field"),r?r.call(e):t.get(e)),uo=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},$f=(e,t,r,a)=>(M0(e,t,"write to private field"),a?a.call(e,r):t.set(e,r),r),Uf=(e,t,r)=>(M0(e,t,"access private method"),r);const DE=[{id:"argentX",name:"Argent X",icon:"data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjQwIiBoZWlnaHQ9IjM2IiB2aWV3Qm94PSIwIDAgNDAgMzYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNC43NTgyIC0zLjk3MzY0ZS0wN0gxNC42MjM4QzE0LjI4NTEgLTMuOTczNjRlLTA3IDE0LjAxMzggMC4yODExNzggMTQuMDA2NCAwLjYzMDY4M0MxMy44MDE3IDEwLjQ1NDkgOC44MjIzNCAxOS43NzkyIDAuMjUxODkzIDI2LjM4MzdDLTAuMDIwMjA0NiAyNi41OTMzIC0wLjA4MjE5NDYgMjYuOTg3MiAwLjExNjczNCAyNy4yNzA5TDYuMDQ2MjMgMzUuNzM0QzYuMjQ3OTYgMzYuMDIyIDYuNjQwOTkgMzYuMDg3IDYuOTE3NjYgMzUuODc1NEMxMi4yNzY1IDMxLjc3MjggMTYuNTg2OSAyNi44MjM2IDE5LjY5MSAyMS4zMzhDMjIuNzk1MSAyNi44MjM2IDI3LjEwNTcgMzEuNzcyOCAzMi40NjQ2IDM1Ljg3NTRDMzIuNzQxIDM2LjA4NyAzMy4xMzQxIDM2LjAyMiAzMy4zMzYxIDM1LjczNEwzOS4yNjU2IDI3LjI3MDlDMzkuNDY0MiAyNi45ODcyIDM5LjQwMjIgMjYuNTkzMyAzOS4xMzA0IDI2LjM4MzdDMzAuNTU5NyAxOS43NzkyIDI1LjU4MDQgMTAuNDU0OSAyNS4zNzU5IDAuNjMwNjgzQzI1LjM2ODUgMC4yODExNzggMjUuMDk2OSAtMy45NzM2NGUtMDcgMjQuNzU4MiAtMy45NzM2NGUtMDdaIiBmaWxsPSIjRkY4NzVCIi8+Cjwvc3ZnPgo=",downloads:{chrome:"https://chrome.google.com/webstore/detail/argent-x-starknet-wallet/dlcobpjiigpikoobohmabehhmhfoodbb",firefox:"https://addons.mozilla.org/en-US/firefox/addon/argent-x"}},{id:"braavos",name:"Braavos",icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zy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2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQyX2xpbmVhcl8zNzJfNDAyNTkiIHgxPSI0OS4zMDU3IiB5MT0iMi4wNzkiIHgyPSI4MC4zNjI3IiB5Mj0iOTMuNjU5NyIKICAgICAgICAgICAgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRjVENDVFIiAvPgogICAgICAgICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRjk2MDAiIC8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KPC9zdmc+",downloads:{chrome:"https://chrome.google.com/webstore/detail/braavos-wallet/jnlgamecbpmbajjfhmmmlhejkemejdma",firefox:"https://addons.mozilla.org/en-US/firefox/addon/braavos-wallet",edge:"https://microsoftedge.microsoft.com/addons/detail/braavos-wallet/hkkpjehhcnhgefhbdcgfkeegglpjchdc"}}],NE=()=>`${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,C3=e=>{for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e};function P0(...e){return t=>e.reduce((r,a)=>r.then(a),Promise.resolve(t))}var Ri,sn,bo,B0,T3,ho,Ff;let RE=class{constructor(t){uo(this,B0),uo(this,ho),uo(this,Ri,!1),uo(this,sn,void 0),uo(this,bo,void 0),OE(this,"value"),$f(this,bo,t),Uf(this,ho,Ff).call(this)}set(t){return!la(this,Ri)&&!Uf(this,ho,Ff).call(this)?!1:(this.delete(),this.value=t,t&&($f(this,sn,`${la(this,bo)}-${NE()}`),localStorage.setItem(la(this,sn),t)),!0)}get(){return Uf(this,B0,T3).call(this),this.value}delete(){return!la(this,Ri)&&!Uf(this,ho,Ff).call(this)?!1:(this.value=null,la(this,sn)&&localStorage.removeItem(la(this,sn)),!0)}};Ri=new WeakMap,sn=new WeakMap,bo=new WeakMap,B0=new WeakSet,T3=function(){this.value&&this.set(this.value)},ho=new WeakSet,Ff=function(){try{!la(this,Ri)&&typeof window<"u"&&($f(this,sn,Object.keys(localStorage).find(e=>e.startsWith(la(this,bo)))),$f(this,Ri,!0),la(this,sn)&&this.set(localStorage.getItem(la(this,sn))))}catch(e){console.warn(e)}return la(this,Ri)};function j0(e,t){var r,a;if((r=t?.include)!=null&&r.length){const n=new Set(t.include);return e.filter(i=>n.has(i.id))}if((a=t?.exclude)!=null&&a.length){const n=new Set(t.exclude);return e.filter(i=>!n.has(i.id))}return e}const O3=async e=>{const t=await Promise.all(e.map(r=>r.isPreauthorized().catch(()=>!1)));return e.filter((r,a)=>t[a])},LE=e=>{try{return e&&["request","isConnected","provider","enable","isPreauthorized","on","off","version","id","name","icon"].every(t=>t in e)}catch{}return!1};function $0(e,t){return Object.values(Object.getOwnPropertyNames(e).reduce((r,a)=>{if(a.startsWith("starknet")){const n=e[a];t(n)&&!r[n.id]&&(r[n.id]=n)}return r},{}))}const U0=(e,t)=>{if(t&&Array.isArray(t)){e.sort((a,n)=>t.indexOf(a.id)-t.indexOf(n.id));const r=e.length-t.length;return[...e.slice(r),...C3(e.slice(0,r))]}else return C3(e)},ME=typeof window<"u"?window:{},PE={windowObject:ME,isWalletObject:LE,storageFactoryImplementation:e=>new RE(e)};function BE(e={}){const{storageFactoryImplementation:t,windowObject:r,isWalletObject:a}={...PE,...e},n=t("gsw-last");return{getAvailableWallets:async(i={})=>{const s=$0(r,a);return P0(c=>j0(c,i),c=>U0(c,i.sort))(s)},getPreAuthorizedWallets:async(i={})=>{const s=$0(r,a);return P0(c=>O3(c),c=>j0(c,i),c=>U0(c,i.sort))(s)},getDiscoveryWallets:async(i={})=>P0(s=>j0(s,i),s=>U0(s,i.sort))(DE),getLastConnectedWallet:async()=>{const i=n.get(),s=$0(r,a).find(d=>d.id===i),[c]=await O3(s?[s]:[]);return c||(n.delete(),null)},enable:async(i,s)=>{if(await i.enable(s??{starknetVersion:"v5"}),!i.isConnected)throw new Error("Failed to connect to wallet");return n.set(i.id),i},disconnect:async({clearLastWallet:i}={})=>{i&&n.delete()}}}const Bs=BE();function cn(){}function D3(e){return e()}function N3(){return Object.create(null)}function on(e){e.forEach(D3)}function R3(e){return typeof e=="function"}function jE(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let zf;function F0(e,t){return e===t?!0:(zf||(zf=document.createElement("a")),zf.href=t,e===zf.href)}function $E(e){return Object.keys(e).length===0}function z0(e){return e??""}function ct(e,t){e.appendChild(t)}function UE(e,t,r){const a=FE(e);if(!a.getElementById(t)){const n=vt("style");n.id=t,n.textContent=r,zE(a,n)}}function FE(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function zE(e,t){return ct(e.head||e,t),t.sheet}function ua(e,t,r){e.insertBefore(t,r||null)}function Xr(e){e.parentNode&&e.parentNode.removeChild(e)}function L3(e,t){for(let r=0;re.removeEventListener(t,r,a)}function Se(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function HE(e){return Array.from(e.childNodes)}function P3(e,t){t=""+t,e.data!==t&&(e.data=t)}let go;function yo(e){go=e}function ZE(){if(!go)throw new Error("Function called outside component initialization");return go}function VE(e){ZE().$$.on_mount.push(e)}const js=[],B3=[];let $s=[];const j3=[],qE=Promise.resolve();let H0=!1;function KE(){H0||(H0=!0,qE.then($3))}function Z0(e){$s.push(e)}const V0=new Set;let Us=0;function $3(){if(Us!==0)return;const e=go;do{try{for(;Use.indexOf(a)===-1?t.push(a):r.push(a)),r.forEach(a=>a()),$s=t}const YE=new Set;function QE(e,t){e&&e.i&&(YE.delete(e),e.i(t))}function Hf(e){return e?.length!==void 0?e:Array.from(e)}function XE(e,t,r){const{fragment:a,after_update:n}=e.$$;a&&a.m(t,r),Z0(()=>{const i=e.$$.on_mount.map(D3).filter(R3);e.$$.on_destroy?e.$$.on_destroy.push(...i):on(i),e.$$.on_mount=[]}),n.forEach(Z0)}function JE(e,t){const r=e.$$;r.fragment!==null&&(GE(r.after_update),on(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ex(e,t){e.$$.dirty[0]===-1&&(js.push(e),KE(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const m=b.length?b[0]:h;return o.ctx&&n(o.ctx[u],o.ctx[u]=m)&&(!o.skip_bound&&o.bound[u]&&o.bound[u](m),f&&ex(e,u)),h}):[],o.update(),f=!0,on(o.before_update),o.fragment=a?a(o.ctx):!1,t.target){if(t.hydrate){const u=HE(t.target);o.fragment&&o.fragment.l(u),u.forEach(Xr)}else o.fragment&&o.fragment.c();t.intro&&QE(e.$$.fragment),XE(e,t.target,t.anchor),$3()}yo(d)}class rx{constructor(){je(this,"$$");je(this,"$$set")}$destroy(){JE(this,1),this.$destroy=cn}$on(t,r){if(!R3(r))return cn;const a=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return a.push(r),()=>{const n=a.indexOf(r);n!==-1&&a.splice(n,1)}}$set(t){this.$$set&&!$E(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ax="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ax);function nx(e){UE(e,"svelte-16ay86m",`.sr-only.svelte-16ay86m{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.fixed.svelte-16ay86m{position:fixed}.absolute.svelte-16ay86m{position:absolute}.relative.svelte-16ay86m{position:relative}.inset-0.svelte-16ay86m{inset:0px}.right-0.svelte-16ay86m{right:0px}.top-0.svelte-16ay86m{top:0px}.z-50.svelte-16ay86m{z-index:50}.z-\\[9999\\].svelte-16ay86m{z-index:9999}.mx-6.svelte-16ay86m{margin-left:1.5rem;margin-right:1.5rem}.mb-2.svelte-16ay86m{margin-bottom:0.5rem}.mb-6.svelte-16ay86m{margin-bottom:1.5rem}.flex.svelte-16ay86m{display:flex}.h-8.svelte-16ay86m{height:2rem}.w-8.svelte-16ay86m{width:2rem}.w-full.svelte-16ay86m{width:100%}.max-w-\\[240px\\].svelte-16ay86m{max-width:240px}.max-w-\\[380px\\].svelte-16ay86m{max-width:380px}.transform.svelte-16ay86m{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes svelte-16ay86m-spin{to{transform:rotate(360deg)}}.animate-spin.svelte-16ay86m{animation:svelte-16ay86m-spin 1s linear infinite}.cursor-pointer.svelte-16ay86m{cursor:pointer}.flex-row-reverse.svelte-16ay86m{flex-direction:row-reverse}.flex-col.svelte-16ay86m{flex-direction:column}.items-center.svelte-16ay86m{align-items:center}.justify-center.svelte-16ay86m{justify-content:center}.justify-between.svelte-16ay86m{justify-content:space-between}.gap-3.svelte-16ay86m{gap:0.75rem}.overflow-hidden.svelte-16ay86m{overflow:hidden}.text-ellipsis.svelte-16ay86m{text-overflow:ellipsis}.whitespace-nowrap.svelte-16ay86m{white-space:nowrap}.rounded.svelte-16ay86m{border-radius:0.25rem}.rounded-3xl.svelte-16ay86m{border-radius:1.5rem}.rounded-full.svelte-16ay86m{border-radius:9999px}.rounded-md.svelte-16ay86m{border-radius:0.375rem}.border.svelte-16ay86m{border-width:1px}.bg-black\\/25.svelte-16ay86m{background-color:rgb(0 0 0 / 0.25)}.bg-neutral-100.svelte-16ay86m{--tw-bg-opacity:1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.bg-slate-50.svelte-16ay86m{--tw-bg-opacity:1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.fill-neutral-600.svelte-16ay86m{fill:#525252}.p-2.svelte-16ay86m{padding:0.5rem}.p-3.svelte-16ay86m{padding:0.75rem}.p-6.svelte-16ay86m{padding:1.5rem}.pb-8.svelte-16ay86m{padding-bottom:2rem}.text-center.svelte-16ay86m{text-align:center}.text-base.svelte-16ay86m{font-size:1rem;line-height:1.5rem}.text-sm.svelte-16ay86m{font-size:0.875rem;line-height:1.25rem}.text-xl.svelte-16ay86m{font-size:1.25rem;line-height:1.75rem}.font-semibold.svelte-16ay86m{font-weight:600}.text-gray-400.svelte-16ay86m{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-neutral-300.svelte-16ay86m{--tw-text-opacity:1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400.svelte-16ay86m{--tw-text-opacity:1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-900.svelte-16ay86m{--tw-text-opacity:1;color:rgb(23 23 23 / var(--tw-text-opacity))}.antialiased.svelte-16ay86m{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow-list-item.svelte-16ay86m{--tw-shadow:0px 2px 12px rgba(0, 0, 0, 0.12);--tw-shadow-colored:0px 2px 12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.shadow-modal.svelte-16ay86m{--tw-shadow:0px 4px 20px rgba(0, 0, 0, 0.5);--tw-shadow-colored:0px 4px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline.svelte-16ay86m{outline-style:solid}.blur.svelte-16ay86m{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter.svelte-16ay86m{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm.svelte-16ay86m{--tw-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-colors.svelte-16ay86m{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.svelte-16ay86m,.svelte-16ay86m::before,.svelte-16ay86m::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}.svelte-16ay86m::before,.svelte-16ay86m::after{--tw-content:''}h1.svelte-16ay86m,h2.svelte-16ay86m{font-size:inherit;font-weight:inherit}a.svelte-16ay86m{color:inherit;text-decoration:inherit}.svelte-16ay86m:-moz-focusring{outline:auto}.svelte-16ay86m:-moz-ui-invalid{box-shadow:none}.svelte-16ay86m::-webkit-inner-spin-button,.svelte-16ay86m::-webkit-outer-spin-button{height:auto}.svelte-16ay86m::-webkit-search-decoration{-webkit-appearance:none}.svelte-16ay86m::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}h1.svelte-16ay86m,h2.svelte-16ay86m,p.svelte-16ay86m{margin:0}ul.svelte-16ay86m{list-style:none;margin:0;padding:0}[role="button"].svelte-16ay86m{cursor:pointer}.svelte-16ay86m:disabled{cursor:default}img.svelte-16ay86m,svg.svelte-16ay86m{display:block;vertical-align:middle}img.svelte-16ay86m{max-width:100%;height:auto}.svelte-16ay86m,.svelte-16ay86m::before,.svelte-16ay86m::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.svelte-16ay86m::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500;600&display=swap");.svelte-16ay86m{font-family:"Barlow", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-feature-settings:"kern"}.l2.svelte-16ay86m{color:#8c8c8c;font-size:12px;font-weight:500;line-height:14px;letter-spacing:0em;text-align:left}.logo-container.svelte-16ay86m{position:absolute;bottom:0;right:0;background:#ff875b;border-radius:3px;bottom:-2px;right:-2px;height:10px;width:10px;display:flex;justify-content:center;align-items:center}.hover\\:bg-neutral-100.svelte-16ay86m:hover{--tw-bg-opacity:1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.focus\\:outline-none.svelte-16ay86m:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2.svelte-16ay86m:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.focus\\:ring-neutral-200.svelte-16ay86m:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(229 229 229 / var(--tw-ring-opacity))}.svelte-16ay86m:is(.dark .dark\\:bg-neutral-800){--tw-bg-opacity:1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.svelte-16ay86m:is(.dark .dark\\:bg-neutral-900){--tw-bg-opacity:1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.svelte-16ay86m:is(.dark .dark\\:fill-neutral-300){fill:#d4d4d4}.svelte-16ay86m:is(.dark .dark\\:text-neutral-600){--tw-text-opacity:1;color:rgb(82 82 82 / var(--tw-text-opacity))}.svelte-16ay86m:is(.dark .dark\\:text-white){--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.svelte-16ay86m:is(.dark .dark\\:shadow-none){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.svelte-16ay86m:is(.dark .dark\\:hover\\:bg-neutral-700:hover){--tw-bg-opacity:1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.svelte-16ay86m:is(.dark .dark\\:focus\\:ring-neutral-700:focus){--tw-ring-opacity:1;--tw-ring-color:rgb(64 64 64 / var(--tw-ring-opacity))}`)}function U3(e,t,r){const a=e.slice();return a[35]=t[r],a}function F3(e,t,r){const a=e.slice();return a[38]=t[r],a}function z3(e){let t,r,a,n,i,s,c,d,o,f,u,h,b,m,_,x=e[0]&&H3(e),I=(e[4]==="all"||!e[0])&&Z3(e);return{c(){t=vt("div"),r=vt("main"),a=vt("header"),n=vt("h2"),n.textContent="Connect to",i=Ca(),s=vt("h1"),c=po(e[1]),d=Ca(),o=vt("span"),o.innerHTML='',f=Ca(),u=vt("ul"),x&&x.c(),h=Ca(),I&&I.c(),Se(n,"class","text-sm text-gray-400 font-semibold svelte-16ay86m"),Se(s,"class","text-xl font-semibold mb-6 max-w-[240px] overflow-hidden whitespace-nowrap text-ellipsis svelte-16ay86m"),Se(o,"class","absolute top-0 right-0 p-2 cursor-pointer rounded-full bg-neutral-100 text-neutral-400 dark:bg-neutral-800 dark:text-white hover:bg-neutral-100 dark:hover:bg-neutral-700 focus:outline-none focus:ring-2 focus:ring-neutral-200 dark:focus:ring-neutral-700 transition-colors svelte-16ay86m"),Se(o,"role","button"),Se(o,"tabindex","0"),Se(o,"aria-label","Close"),Se(a,"class","flex items-center justify-center flex-col mb-2 relative svelte-16ay86m"),Se(u,"class","flex flex-col gap-3 svelte-16ay86m"),Se(r,"role","dialog"),Se(r,"class",z0("bg-slate-50 rounded-3xl shadow-modal dark:shadow-none w-full max-w-[380px] mx-6 p-6 pb-8 text-center z-50 dark:bg-neutral-900 text-neutral-900 dark:text-white")+" svelte-16ay86m"),Se(t,"class",b=z0("backdrop-blur-sm fixed inset-0 flex items-center justify-center bg-black/25 z-[9999] "+e[6])+" svelte-16ay86m")},m(w,S){ua(w,t,S),ct(t,r),ct(r,a),ct(a,n),ct(a,i),ct(a,s),ct(s,c),ct(a,d),ct(a,o),ct(r,f),ct(r,u),x&&x.m(u,null),ct(u,h),I&&I.m(u,null),m||(_=[kr(o,"click",e[20]),kr(o,"keyup",e[21]),kr(r,"click",ox),kr(r,"keyup",dx),kr(t,"click",e[30]),kr(t,"keyup",e[31])],m=!0)},p(w,S){S[0]&2&&P3(c,w[1]),w[0]?x?x.p(w,S):(x=H3(w),x.c(),x.m(u,h)):x&&(x.d(1),x=null),w[4]==="all"||!w[0]?I?I.p(w,S):(I=Z3(w),I.c(),I.m(u,null)):I&&(I.d(1),I=null),S[0]&64&&b!==(b=z0("backdrop-blur-sm fixed inset-0 flex items-center justify-center bg-black/25 z-[9999] "+w[6])+" svelte-16ay86m")&&Se(t,"class",b)},d(w){w&&Xr(t),x&&x.d(),I&&I.d(),m=!1,on(_)}}}function H3(e){let t,r,a;return{c(){t=vt("li"),t.innerHTML='

Continue with email

Powered by Argent

',Se(t,"class","flex flex-row-reverse justify-between items-center p-3 rounded-md cursor-pointer shadow-list-item dark:shadow-none dark:bg-neutral-800 dark:text-white hover:bg-neutral-100 dark:hover:bg-neutral-700 focus:outline-none focus:ring-2 focus:ring-neutral-200 dark:focus:ring-neutral-700 transition-colors svelte-16ay86m"),Se(t,"role","button"),Se(t,"tabindex","0")},m(n,i){ua(n,t,i),r||(a=[kr(t,"keyup",e[22]),kr(t,"click",e[23])],r=!0)},p:cn,d(n){n&&Xr(t),r=!1,on(a)}}}function Z3(e){let t,r,a,n=Hf(e[11]),i=[];for(let o=0;o