From 7a7a424382e2906a1b9740fec0f2315f699e61d9 Mon Sep 17 00:00:00 2001 From: Steamauth Deploy Service Date: Wed, 24 Apr 2024 04:04:00 +0000 Subject: [PATCH] NEW BUILD --- README.md | 3 +++ assets/{index.html-BysQlfRu.js => index.html-BzmBPan8.js} | 2 +- index.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) rename assets/{index.html-BysQlfRu.js => index.html-BzmBPan8.js} (99%) diff --git a/README.md b/README.md index 7e21628..3c6b299 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Steamauth is a Chrome Extension that allows users to securely share their inventory and trade information. Visit [www.steamauth.com](https://www.steamauth.com) for more details. + +[![Steamauth](https://www.steamauth.app/steamauthappscreen1.png)](https://www.steamauth.app) + ## Manual Installation for Users 1. Download the ZIP file. diff --git a/assets/index.html-BysQlfRu.js b/assets/index.html-BzmBPan8.js similarity index 99% rename from assets/index.html-BysQlfRu.js rename to assets/index.html-BzmBPan8.js index 2519772..23643d1 100644 --- a/assets/index.html-BysQlfRu.js +++ b/assets/index.html-BzmBPan8.js @@ -66,4 +66,4 @@ Error generating stack: `+i.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const W3=jl("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Q3({children:e}){const{open:t,clearAll:n}=kn();return t?v.jsxs("div",{className:"absolute left-0 right-0 top-0 z-10 min-h-32 overflow-hidden rounded-b-md bg-zinc-800 px-2 py-4 shadow-md",children:[e,v.jsx("button",{className:"absolute right-2 top-2 bg-gray-600 text-white p-1 rounded-full border border-gray-500 hover:border-gray-300 hover:bg-gray-400",onClick:n,children:v.jsx(W3,{className:"cursor-pointer text-white hover:text-white",size:16})})]}):null}function T1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(t=0;to(i)))==null?void 0:s.classGroupId}const D0=/^\[(.+)\]$/;function K3(e){if(D0.test(e)){const t=D0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function $3(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return J3(Object.entries(e.classGroups),n).forEach(([i,s])=>{Io(s,r,i,t)}),r}function Io(e,t,n,r){e.forEach(u=>{if(typeof u=="string"){const i=u===""?t:w0(t,u);i.classGroupId=n;return}if(typeof u=="function"){if(Z3(u)){Io(u(r),t,n,r);return}t.validators.push({validator:u,classGroupId:n});return}Object.entries(u).forEach(([i,s])=>{Io(s,w0(t,i),n,r)})})}function w0(e,t){let n=e;return t.split(zl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Z3(e){return e.isThemeGetter}function J3(e,t){return t?e.map(([n,r])=>{const u=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,o])=>[t+s,o])):i);return[n,u]}):e}function eb(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function u(i,s){n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return u(i,s),s},set(i,s){n.has(i)?n.set(i,s):u(i,s)}}}const b1="!";function tb(e){const t=e.separator,n=t.length===1,r=t[0],u=t.length;return function(s){const o=[];let l=0,c=0,m;for(let I=0;Ic?m-c:void 0;return{modifiers:o,hasImportantModifier:g,baseClassName:A,maybePostfixModifierPosition:C}}}function nb(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function rb(e){return{cache:eb(e.cacheSize),splitModifiers:tb(e),...X3(e)}}const ub=/\s+/;function ib(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:u}=t,i=new Set;return e.trim().split(ub).map(s=>{const{modifiers:o,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:m}=n(s);let E=r(m?c.substring(0,m):c),g=!!m;if(!E){if(!m)return{isTailwindClass:!1,originalClassName:s};if(E=r(c),!E)return{isTailwindClass:!1,originalClassName:s};g=!1}const A=nb(o).join(":");return{isTailwindClass:!0,modifierId:l?A+b1:A,classGroupId:E,originalClassName:s,hasPostfixModifier:g}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:o,classGroupId:l,hasPostfixModifier:c}=s,m=o+l;return i.has(m)?!1:(i.add(m),u(l,c).forEach(E=>i.add(o+E)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function sb(){let e=0,t,n,r="";for(;eE(m),e());return n=rb(c),r=n.cache.get,u=n.cache.set,i=o,o(l)}function o(l){const c=r(l);if(c)return c;const m=ib(l,n);return u(l,m),m}return function(){return i(sb.apply(null,arguments))}}function te(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const N1=/^\[(?:([a-z-]+):)?(.+)\]$/i,ob=/^\d+\/\d+$/,lb=new Set(["px","full","screen"]),cb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,db=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Nt(e){return yn(e)||lb.has(e)||ob.test(e)}function Ut(e){return Sr(e,"length",Nb)}function yn(e){return!!e&&!Number.isNaN(Number(e))}function oi(e){return Sr(e,"number",yn)}function Fr(e){return!!e&&Number.isInteger(Number(e))}function pb(e){return e.endsWith("%")&&yn(e.slice(0,-1))}function Y(e){return N1.test(e)}function Ht(e){return cb.test(e)}const Eb=new Set(["length","size","percentage"]);function gb(e){return Sr(e,Eb,C1)}function Tb(e){return Sr(e,"position",C1)}const _b=new Set(["image","url"]);function bb(e){return Sr(e,_b,yb)}function Ab(e){return Sr(e,"",Cb)}function Ur(){return!0}function Sr(e,t,n){const r=N1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Nb(e){return db.test(e)&&!fb.test(e)}function C1(){return!1}function Cb(e){return hb.test(e)}function yb(e){return mb.test(e)}function Sb(){const e=te("colors"),t=te("spacing"),n=te("blur"),r=te("brightness"),u=te("borderColor"),i=te("borderRadius"),s=te("borderSpacing"),o=te("borderWidth"),l=te("contrast"),c=te("grayscale"),m=te("hueRotate"),E=te("invert"),g=te("gap"),A=te("gradientColorStops"),C=te("gradientColorStopPositions"),I=te("inset"),U=te("margin"),T=te("opacity"),p=te("padding"),_=te("saturate"),x=te("scale"),O=te("sepia"),D=te("skew"),M=te("space"),B=te("translate"),ee=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",Y,t],X=()=>[Y,t],Mt=()=>["",Nt,Ut],fn=()=>["auto",yn,Y],Fu=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Bt=()=>["solid","dashed","dotted","double","none"],Hn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],w=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",Y],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[yn,oi],se=()=>[yn,Y];return{cacheSize:500,separator:":",theme:{colors:[Ur],spacing:[Nt,Ut],blur:["none","",Ht,Y],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Ht,Y],borderSpacing:X(),borderWidth:Mt(),contrast:Z(),grayscale:H(),hueRotate:se(),invert:H(),gap:X(),gradientColorStops:[e],gradientColorStopPositions:[pb,Ut],inset:Re(),margin:Re(),opacity:Z(),padding:X(),saturate:Z(),scale:Z(),sepia:H(),skew:se(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Ht]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Fu(),Y]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[I]}],"inset-x":[{"inset-x":[I]}],"inset-y":[{"inset-y":[I]}],start:[{start:[I]}],end:[{end:[I]}],top:[{top:[I]}],right:[{right:[I]}],bottom:[{bottom:[I]}],left:[{left:[I]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fr,Y]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",Fr,Y]}],"grid-cols":[{"grid-cols":[Ur]}],"col-start-end":[{col:["auto",{span:["full",Fr,Y]},Y]}],"col-start":[{"col-start":fn()}],"col-end":[{"col-end":fn()}],"grid-rows":[{"grid-rows":[Ur]}],"row-start-end":[{row:["auto",{span:[Fr,Y]},Y]}],"row-start":[{"row-start":fn()}],"row-end":[{"row-end":fn()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...w()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...w(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...w(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[U]}],mx:[{mx:[U]}],my:[{my:[U]}],ms:[{ms:[U]}],me:[{me:[U]}],mt:[{mt:[U]}],mr:[{mr:[U]}],mb:[{mb:[U]}],ml:[{ml:[U]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Ht]},Ht]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ht,Ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oi]}],"font-family":[{font:[Ur]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",yn,oi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Nt,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Bt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Nt,Ut]}],"underline-offset":[{"underline-offset":["auto",Nt,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fu(),Tb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Bt(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Bt()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...Bt()]}],"outline-offset":[{"outline-offset":[Nt,Y]}],"outline-w":[{outline:[Nt,Ut]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Nt,Ut]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ht,Ab]}],"shadow-color":[{shadow:[Ur]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":Hn()}],"bg-blend":[{"bg-blend":Hn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ht,Y]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[E]}],saturate:[{saturate:[_]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[E]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Fr,Y]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nt,Ut,oi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Ib=ab(Sb),rs=(...e)=>Ib(G3(e)),xo=({size:e="md",color:t="blue",className:n})=>{const r={sm:"h-4 w-4 border-[2.5px]",md:"h-7 w-7 border-[3.5px]",lg:"h-10 w-10 border-4"},u={white:"border-white/30 border-t-white",gray:"border-gray-500/30 border-t-gray-500",red:"border-red-500/30 border-t-red-500",blue:"border-blue-500/30 border-t-blue-500"};return v.jsx("div",{className:rs("motion-reduce:spin-slow inline-block flex-none animate-spin rounded-full border bg-transparent align-[-0.125em]",r[e],u[t],n),role:"status"})};var xb=1/0,vb=9007199254740991,Lb="[object Arguments]",Rb="[object Function]",Ob="[object GeneratorFunction]",Db="[object Symbol]",wb=typeof Wt=="object"&&Wt&&Wt.Object===Object&&Wt,kb=typeof self=="object"&&self&&self.Object===Object&&self,Pb=wb||kb||Function("return this")();function Mb(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)}function Bb(e,t){for(var n=-1,r=e?e.length:0,u=Array(r);++n0&&n(o)?t>1?y1(o,t-1,n,r,u):Fb(u,o):r||(u[u.length]=o)}return u}function jb(e,t){return e=Object(e),zb(e,t,function(n,r){return r in e})}function zb(e,t,n){for(var r=-1,u=t.length,i={};++r-1&&e%1==0&&e<=vb}function Zb(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function S1(e){return!!e&&typeof e=="object"}function Jb(e){return typeof e=="symbol"||S1(e)&&Vl.call(e)==Db}var eA=Yb(function(e,t){return e==null?{}:jb(e,Bb(y1(t,1),qb))}),tA=eA;const nA=F0(tA),B0={dontShareLoginData:!0,canTakeAuth:null},ks=U0(H0(e=>({...B0,set:(t,n)=>e({[t]:n}),clearAll:()=>e(B0)}),{name:"setting-store",storage:j0(()=>z0)}));class Yn{static async toWebhook(t,n,r){return fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:n,encryptKey:r})}).then(u=>u.json()).catch(u=>{console.error(u)})}static async jsonPost(t,n){try{const r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!r.ok)throw new Error("Network response was not ok");return r.json()}catch(r){return console.error("There was a problem with your fetch operation:",r),null}}static async eventRequest(t,n=!1){const{steamLoginSecure:r,steamId:u}=await Lu.steamAuth(),i=await Ta("encryptKey"),s=await Ta("accessId"),{set:o,clearAllWithDelay:l,eventDetails:{event:c,ident:m}}=kn.getState(),E={event:c,ident:m};try{if(!r)throw{status:100,message:"Steam login secure not found"};const g=v1(r,i),A={accessid:s,steamid:u,hash:n?null:g,event:c,...t};n&&(E.data=JSON.parse(t.data),delete A.hash);const C=await(await fetch("https://www.steamwebapi.com/steam/auth/extension/event",{method:"POST",body:JSON.stringify(A)})).json();if(C.status!==200)throw C;au({type:"success",status:C.status,message:C.message,...E}),o({state:"success"}),l()}catch({status:g=500,message:A="Internal error"}){au({type:"error",status:g,message:A,...E}),o({state:"error"})}}}const It=class It{static async setAccess(t){const{steamId:n}=await Lu.steamAuth(),r=await Ta("uniqueUserId");try{const u=await Yn.jsonPost("https://www.steamwebapi.com/steam/auth/extension/access",{steamid:n,userid:r,host:t});if(!u)throw new Error("Access not found");L1("accessId",u.accessid)}catch(u){console.error("Error setting access",u)}}static async baseHandler(){const{dontShareLoginData:t}=ks.getState(),{eventDetails:n,clearAll:r}=kn.getState();if(t&&!this.clientEvents.includes(n.event))return au({type:"info",status:100,message:"Extension is not allowed to share login data. Please enable it in the settings.",event:n.event,ident:n.ident}),r();await this.setAccess(n.host),await this.events[n.event](n)}static async tradeHistoryHandler(){await Yn.eventRequest()}static async clientSideInventoryHandler({game:t,event:n,ident:r}){if(!t)throw new Error("'game' field is required");const u=`https://steamcommunity.com/inventory/76561199146708568/${t}/2?l=english&count=5000`;try{const i=await fetch(u),s=await i.json();if(i.status!==200&&!i.ok)throw s;await Yn.eventRequest({data:JSON.stringify(s)},!0)}catch(i){au({type:"error",status:i.status||500,message:i.message,event:n,ident:r})}}static async tradeCreateHandler(t){const n=nA(t,["myitemassetids","partneritemassetids","tradeoffermessage","tradelink","partnersteamid","message"]);n.myitemassetids=n.myitemassetids.join(),n.partneritemassetids=n.partneritemassetids.join(),await Yn.eventRequest(n)}static async tradeSentHandler(){await Yn.eventRequest()}static async tradeReceivedHandler(){await Yn.eventRequest()}};Ir(It,"events",{tradehistory:It.tradeHistoryHandler,clientsideinventory:It.clientSideInventoryHandler,tradecreate:It.tradeCreateHandler,tradesent:It.tradeSentHandler,tradereceived:It.tradeReceivedHandler}),Ir(It,"clientEvents",["clientsideinventory"]);let us=It;const rA={primary:"bg-blue-600 text-white",ghost:"hover:bg-gray-600 text-white",outline:"border border-gray-600 hover:bg-gray-600 text-white",warning:"bg-red-600 text-white hover:bg-red-600/80",success:"bg-green-600 text-white hover:bg-green-600/80"};function is({children:e,className:t,variant:n="primary",...r}){return v.jsx("button",{className:rs("flex-center h-8 gap-2 whitespace-nowrap rounded-md px-5 text-base",rA[n],t),...r,children:e})}function uA(){const{set:e,clearAll:t}=kn(),n=async()=>{await Y0("accessId"),await R1(),e({state:"loading"}),await us.baseHandler(),t()};return v.jsx("div",{className:"absolute-center text-center text-lg text-red-600",children:v.jsx(is,{variant:"outline",onClick:n,children:"Retry"})})}function iA(){return v.jsxs("div",{className:"absolute-center text-center text-lg text-white w-full",children:[v.jsx("span",{className:"pr-2",children:"🚀"})," Your action was successful!"]})}function sA(){const{eventDetails:e,set:t,clearAll:n}=kn(),r=i=>{if(!i)return au({type:"info",status:null,event:e.event,ident:e.ident,message:"User canceled the action."}),n();t({state:"loading"}),us.baseHandler()},u=je.useMemo(()=>({clientsideinventory:`Are you sure you want to share your inventory data with the ${e==null?void 0:e.host} website? Your authentication data will not be shared.`,tradecreate:`Are you sure you want to create a trade offer with the ${e==null?void 0:e.host} website?`,tradehistory:`Are you sure you want to share your trade history with the ${e==null?void 0:e.host} website?`,tradesent:`Are you sure you want to share your sent trade offers with the ${e==null?void 0:e.host} website?`,tradereceived:`Are you sure you want to share your received trade offers with the ${e==null?void 0:e.host} website?`}),[e]);return v.jsxs("div",{className:"flex flex-col items-center gap-5",children:[v.jsxs("div",{className:"px-4 py-2 text-left",children:[v.jsx("h3",{className:"text-xl font-bold text-white",children:"Are you confirm?"}),v.jsx("p",{className:"text-sm text-gray-400",children:u[e.event]})]}),v.jsxs("div",{className:"flex w-full gap-4 px-4",children:[v.jsx(is,{className:"flex-1 bg-green-400 font-bold cursor-pointer",variant:"success",onClick:()=>r(!0),children:"Confirm"}),v.jsx(is,{className:"flex-1 bg-red-400 !cursor-pointer",style:{cursor:"pointer"},variant:"warning",onClick:()=>r(!1),children:"Cancel"})]})]})}function aA(){const{dontShareLoginData:e}=ks(),{eventDetails:t}=kn();return e&&t.event!=="clientsideinventory"?v.jsxs("div",{className:"select-none p-4 text-sm flex flex-row items-center gap-4",children:[v.jsx("div",{children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"red",className:"w-6 h-6",children:v.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"})})}),"You've chosen not to share login data. To proceed, disable this setting for this action. Find the button below labeled 'Do not share my login data'."]}):v.jsx(sA,{text:"By clicking confirm, you are allowing the extension to perform the action."})}function oA(){const{state:e}=kn();return e==="loading"?v.jsx("div",{className:"absolute-center",children:v.jsx(xo,{color:"white"})}):e==="error"?v.jsx(uA,{}):e==="success"?v.jsx(iA,{children:"Success"}):v.jsx(v.Fragment,{children:v.jsx(aA,{})})}function lA(){const e=()=>{chrome.tabs.create({url:"https://steamcommunity.com/login/home/"})};return v.jsxs("div",{className:"flex w-full flex-col items-center gap-2",children:[v.jsxs("p",{className:"text-center text-base",children:["Please go to ",v.jsx("br",{}),"www.steamcommunity.com",v.jsx("br",{})," and log in to your account."]}),v.jsx("button",{className:"btn mt-4",onClick:e,children:"Visit: www.steamcommunity.com"})]})}function cA(){const{user:e}=g1();return v.jsxs("div",{className:"flex flex-col items-center gap-1",children:[v.jsxs("figure",{className:"relative",children:[e!=null&&e.avatar?v.jsx("img",{className:"h-20 w-20 rounded-full",src:e.avatar,alt:"Profile"}):v.jsx("div",{className:"flex h-20 w-20 items-center justify-center rounded-full bg-zinc-800",children:v.jsx(xo,{size:"sm",color:"white"})}),v.jsx("div",{className:"absolute bottom-1 right-1 h-4 w-4 rounded-full bg-green-500 ring-[6px] ring-zinc-900 ring-offset-0"})]}),e!=null&&e.userName?v.jsxs(v.Fragment,{children:[v.jsx("h1",{className:"text-2xl font-bold",children:e.userName}),v.jsx("span",{children:e==null?void 0:e.steamId})]}):v.jsx(xo,{className:"mt-2",size:"sm",color:"white"})]})}function dA({name:e,checked:t,onChange:n,className:r}){return v.jsxs("label",{children:[v.jsx("input",{className:rs("hidden",r),type:"checkbox",name:e,checked:t,onChange:u=>n(u.target.checked)}),v.jsx("div",{className:rs("relative h-5 w-10 rounded-full bg-white before:transition-all","before:h-4 before:w-4 before:rounded-full before:content-['']","before:absolute before:top-1/2 before:-translate-y-1/2",t?"before:translate-x-[22px] before:bg-blue-400":"before:left-0.5 before:bg-gray-950")})]})}function fA({label:e,name:t,selected:n}){const{set:r}=ks(),u=async i=>{r(t,i)};return v.jsxs("div",{className:"flex select-none items-center justify-between gap-4 rounded-md p-3 text-sm text-gray-400",children:[v.jsx("p",{children:e}),v.jsx(dA,{name:t,checked:n,onChange:u})]})}function hA(){const{dontShareLoginData:e,canTakeAuth:t}=ks();return v.jsxs("div",{className:"space-y-4 h-full flex flex-col justify-between",children:[v.jsx("div",{className:"pt-10",children:v.jsx(fA,{label:"Do not share my login data*",name:"dontShareLoginData",selected:e})}),v.jsxs("p",{className:"text-xs text-gray-400 pt-10 select-none",children:["*This app shares login data with a secure service for functionality. If you choose not to share your data, certain features such as sharing trade information will not work.",v.jsx("br",{})," ",v.jsx("br",{}),"Keeping this setting disabled is recommended for trading; your shared data remains encrypted and secure."]})]})}const mA=e=>v.jsxs("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[v.jsx("path",{d:"M20.947 8.305a6.53 6.53 0 0 0-.419-2.216 4.61 4.61 0 0 0-2.633-2.633 6.606 6.606 0 0 0-2.186-.42c-.962-.043-1.267-.055-3.709-.055s-2.755 0-3.71.055a6.606 6.606 0 0 0-2.185.42 4.607 4.607 0 0 0-2.633 2.633 6.554 6.554 0 0 0-.419 2.185c-.043.963-.056 1.268-.056 3.71s0 2.754.056 3.71c.015.748.156 1.486.419 2.187a4.61 4.61 0 0 0 2.634 2.632 6.584 6.584 0 0 0 2.185.45c.963.043 1.268.056 3.71.056s2.755 0 3.71-.056a6.59 6.59 0 0 0 2.186-.419 4.615 4.615 0 0 0 2.633-2.633c.263-.7.404-1.438.419-2.187.043-.962.056-1.267.056-3.71-.002-2.442-.002-2.752-.058-3.709zm-8.953 8.297c-2.554 0-4.623-2.069-4.623-4.623s2.069-4.623 4.623-4.623a4.623 4.623 0 0 1 0 9.246zm4.807-8.339a1.077 1.077 0 0 1-1.078-1.078 1.077 1.077 0 1 1 2.155 0c0 .596-.482 1.078-1.077 1.078z"}),v.jsx("circle",{cx:"11.994",cy:"11.979",r:"3.003"})]}),pA=e=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M19.633 7.997c.013.175.013.349.013.523 0 5.325-4.053 11.461-11.46 11.461-2.282 0-4.402-.661-6.186-1.809.324.037.636.05.973.05a8.07 8.07 0 0 0 5.001-1.721 4.036 4.036 0 0 1-3.767-2.793c.249.037.499.062.761.062.361 0 .724-.05 1.061-.137a4.027 4.027 0 0 1-3.23-3.953v-.05c.537.299 1.16.486 1.82.511a4.022 4.022 0 0 1-1.796-3.354c0-.748.199-1.434.548-2.032a11.457 11.457 0 0 0 8.306 4.215c-.062-.3-.1-.611-.1-.923a4.026 4.026 0 0 1 4.028-4.028c1.16 0 2.207.486 2.943 1.272a7.957 7.957 0 0 0 2.556-.973 4.02 4.02 0 0 1-1.771 2.22 8.073 8.073 0 0 0 2.319-.624 8.645 8.645 0 0 1-2.019 2.083z"})}),EA=e=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M14.82 4.26a10.14 10.14 0 0 0-.53 1.1 14.66 14.66 0 0 0-4.58 0 10.14 10.14 0 0 0-.53-1.1 16 16 0 0 0-4.13 1.3 17.33 17.33 0 0 0-3 11.59 16.6 16.6 0 0 0 5.07 2.59A12.89 12.89 0 0 0 8.23 18a9.65 9.65 0 0 1-1.71-.83 3.39 3.39 0 0 0 .42-.33 11.66 11.66 0 0 0 10.12 0q.21.18.42.33a10.84 10.84 0 0 1-1.71.84 12.41 12.41 0 0 0 1.08 1.78 16.44 16.44 0 0 0 5.06-2.59 17.22 17.22 0 0 0-3-11.59 16.09 16.09 0 0 0-4.09-1.35zM8.68 14.81a1.94 1.94 0 0 1-1.8-2 1.93 1.93 0 0 1 1.8-2 1.93 1.93 0 0 1 1.8 2 1.93 1.93 0 0 1-1.8 2zm6.64 0a1.94 1.94 0 0 1-1.8-2 1.93 1.93 0 0 1 1.8-2 1.92 1.92 0 0 1 1.8 2 1.92 1.92 0 0 1-1.8 2z"})}),gA=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:v.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})}),TA=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",className:"lucide lucide-arrow-up-right",...e,children:[v.jsx("path",{d:"M7 7h10v10"}),v.jsx("path",{d:"M7 17 17 7"})]}),li=({name:e,height:t=24,width:n=24,...r})=>{const i={instagram:mA,twitter:pA,discord:EA,steamauth:gA,arrowUpRight:TA}[e];return v.jsx(i,{width:n,height:t,...r})};function _A(){return v.jsxs("div",{className:"flex justify-between gap-4 text-gray-300",children:[v.jsxs("div",{className:"flex gap-4",children:[v.jsx("a",{href:"https://twitter.com/steamwebapi",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"twitter"})}),v.jsx("a",{href:"https://www.steamwebapi.com/discord",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"discord"})}),v.jsx("a",{href:"https://www.steamauth.app",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"steamauth"})})]}),v.jsxs("a",{className:"flex items-center gap-1 hover:text-white",href:"https://www.steamauth.app",target:"_blank",children:[v.jsx("span",{className:"text-sm",children:"Support"}),v.jsx(li,{name:"arrowUpRight"})]})]})}var bA=typeof Wt=="object"&&Wt&&Wt.Object===Object&&Wt,AA=typeof self=="object"&&self&&self.Object===Object&&self;bA||AA||Function("return this")();var NA=typeof window<"u"?je.useLayoutEffect:je.useEffect;function CA(e,t,n,r){const u=je.useRef(t);NA(()=>{u.current=t},[t]),je.useEffect(()=>{const i=(n==null?void 0:n.current)??window;if(!(i&&i.addEventListener))return;const s=o=>{u.current(o)};return i.addEventListener(e,s,r),()=>{i.removeEventListener(e,s,r)}},[e,n,r])}function yA(e,t,n="mousedown",r={}){CA(n,u=>{const i=u.target;if(!i||!i.isConnected)return;(Array.isArray(e)?e.filter(o=>!!o.current).every(o=>o.current&&!o.current.contains(i)):e.current&&!e.current.contains(i))&&t(u)},void 0,r)}function SA(){const[e,t]=je.useState(!1),n=je.useRef(null),r=async()=>{await Y0(["accessId","uniqueUserId","encryptKey"]),chrome.runtime.reload(),t(!1)};return yA(n,()=>t(!1)),v.jsxs("div",{className:"absolute right-4 top-4",ref:n,children:[v.jsx("button",{onClick:()=>t(!e),children:v.jsx(V3,{size:16})}),e&&v.jsx("div",{className:"absolute right-0 flex flex-col space-y-1 rounded-md bg-zinc-800 p-2 shadow-md",children:v.jsxs(is,{className:"text-left text-sm",variant:"ghost",onClick:r,children:[v.jsx(q3,{size:16}),v.jsx("span",{children:"Delete all cache"})]})})]})}const IA=({children:e})=>v.jsxs("main",{className:"relative flex min-h-96 w-96 flex-col justify-between gap-4 bg-zinc-900 p-4 text-white",children:[v.jsx("div",{className:"mb-4 flex items-center justify-center px-10 select-none",children:v.jsx("img",{src:"./steamauth-logo.webp",alt:"Steamauth Logo",className:"w-28"})}),v.jsx("div",{className:"min-h-96 h-full flex flex-col justify-between items-stretch gap-4",children:e}),v.jsx(_A,{}),v.jsx(SA,{})]}),xA=()=>{const{user:e,set:t}=g1();return je.useEffect(()=>{Lu.getUser().then(n=>{t("user",n)}),chrome.tabs.query({active:!0,currentWindow:!0},function(n){chrome.tabs.sendMessage(n[0].id,{event:"steamAuthIsLogin",success:!!(e!=null&&e.isLogin)})})},[]),je.useEffect(()=>{chrome.runtime.sendMessage({event:"popupOpened"})},[]),v.jsx(IA,{children:e!=null&&e.isLogin?v.jsxs("div",{className:"flex h-full flex-col gap-4 select-none",children:[v.jsx(Q3,{children:v.jsx(oA,{})}),v.jsx(cA,{}),v.jsx(hA,{})]}):v.jsx("div",{className:"flex flex-col !justify-center px-10",children:v.jsx(lA,{})})})};function vA(){return v.jsx(xA,{})}_a.createRoot(document.getElementById("root")).render(v.jsx(vA,{})); + */const W3=jl("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Q3({children:e}){const{open:t,clearAll:n}=kn();return t?v.jsxs("div",{className:"absolute left-0 right-0 top-0 z-10 min-h-32 overflow-hidden rounded-b-md bg-zinc-800 px-2 py-4 shadow-md",children:[e,v.jsx("button",{className:"absolute right-2 top-2 bg-gray-600 text-white p-1 rounded-full border border-gray-500 hover:border-gray-300 hover:bg-gray-400",onClick:n,children:v.jsx(W3,{className:"cursor-pointer text-white hover:text-white",size:16})})]}):null}function T1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(t=0;to(i)))==null?void 0:s.classGroupId}const D0=/^\[(.+)\]$/;function K3(e){if(D0.test(e)){const t=D0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function $3(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return J3(Object.entries(e.classGroups),n).forEach(([i,s])=>{Io(s,r,i,t)}),r}function Io(e,t,n,r){e.forEach(u=>{if(typeof u=="string"){const i=u===""?t:w0(t,u);i.classGroupId=n;return}if(typeof u=="function"){if(Z3(u)){Io(u(r),t,n,r);return}t.validators.push({validator:u,classGroupId:n});return}Object.entries(u).forEach(([i,s])=>{Io(s,w0(t,i),n,r)})})}function w0(e,t){let n=e;return t.split(zl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Z3(e){return e.isThemeGetter}function J3(e,t){return t?e.map(([n,r])=>{const u=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,o])=>[t+s,o])):i);return[n,u]}):e}function eb(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function u(i,s){n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return u(i,s),s},set(i,s){n.has(i)?n.set(i,s):u(i,s)}}}const b1="!";function tb(e){const t=e.separator,n=t.length===1,r=t[0],u=t.length;return function(s){const o=[];let l=0,c=0,m;for(let I=0;Ic?m-c:void 0;return{modifiers:o,hasImportantModifier:g,baseClassName:A,maybePostfixModifierPosition:C}}}function nb(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function rb(e){return{cache:eb(e.cacheSize),splitModifiers:tb(e),...X3(e)}}const ub=/\s+/;function ib(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:u}=t,i=new Set;return e.trim().split(ub).map(s=>{const{modifiers:o,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:m}=n(s);let E=r(m?c.substring(0,m):c),g=!!m;if(!E){if(!m)return{isTailwindClass:!1,originalClassName:s};if(E=r(c),!E)return{isTailwindClass:!1,originalClassName:s};g=!1}const A=nb(o).join(":");return{isTailwindClass:!0,modifierId:l?A+b1:A,classGroupId:E,originalClassName:s,hasPostfixModifier:g}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:o,classGroupId:l,hasPostfixModifier:c}=s,m=o+l;return i.has(m)?!1:(i.add(m),u(l,c).forEach(E=>i.add(o+E)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function sb(){let e=0,t,n,r="";for(;eE(m),e());return n=rb(c),r=n.cache.get,u=n.cache.set,i=o,o(l)}function o(l){const c=r(l);if(c)return c;const m=ib(l,n);return u(l,m),m}return function(){return i(sb.apply(null,arguments))}}function te(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const N1=/^\[(?:([a-z-]+):)?(.+)\]$/i,ob=/^\d+\/\d+$/,lb=new Set(["px","full","screen"]),cb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,db=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Nt(e){return yn(e)||lb.has(e)||ob.test(e)}function Ut(e){return Sr(e,"length",Nb)}function yn(e){return!!e&&!Number.isNaN(Number(e))}function oi(e){return Sr(e,"number",yn)}function Fr(e){return!!e&&Number.isInteger(Number(e))}function pb(e){return e.endsWith("%")&&yn(e.slice(0,-1))}function Y(e){return N1.test(e)}function Ht(e){return cb.test(e)}const Eb=new Set(["length","size","percentage"]);function gb(e){return Sr(e,Eb,C1)}function Tb(e){return Sr(e,"position",C1)}const _b=new Set(["image","url"]);function bb(e){return Sr(e,_b,yb)}function Ab(e){return Sr(e,"",Cb)}function Ur(){return!0}function Sr(e,t,n){const r=N1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Nb(e){return db.test(e)&&!fb.test(e)}function C1(){return!1}function Cb(e){return hb.test(e)}function yb(e){return mb.test(e)}function Sb(){const e=te("colors"),t=te("spacing"),n=te("blur"),r=te("brightness"),u=te("borderColor"),i=te("borderRadius"),s=te("borderSpacing"),o=te("borderWidth"),l=te("contrast"),c=te("grayscale"),m=te("hueRotate"),E=te("invert"),g=te("gap"),A=te("gradientColorStops"),C=te("gradientColorStopPositions"),I=te("inset"),U=te("margin"),T=te("opacity"),p=te("padding"),_=te("saturate"),x=te("scale"),O=te("sepia"),D=te("skew"),M=te("space"),B=te("translate"),ee=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",Y,t],X=()=>[Y,t],Mt=()=>["",Nt,Ut],fn=()=>["auto",yn,Y],Fu=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Bt=()=>["solid","dashed","dotted","double","none"],Hn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],w=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",Y],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[yn,oi],se=()=>[yn,Y];return{cacheSize:500,separator:":",theme:{colors:[Ur],spacing:[Nt,Ut],blur:["none","",Ht,Y],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Ht,Y],borderSpacing:X(),borderWidth:Mt(),contrast:Z(),grayscale:H(),hueRotate:se(),invert:H(),gap:X(),gradientColorStops:[e],gradientColorStopPositions:[pb,Ut],inset:Re(),margin:Re(),opacity:Z(),padding:X(),saturate:Z(),scale:Z(),sepia:H(),skew:se(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Ht]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Fu(),Y]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[I]}],"inset-x":[{"inset-x":[I]}],"inset-y":[{"inset-y":[I]}],start:[{start:[I]}],end:[{end:[I]}],top:[{top:[I]}],right:[{right:[I]}],bottom:[{bottom:[I]}],left:[{left:[I]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fr,Y]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",Fr,Y]}],"grid-cols":[{"grid-cols":[Ur]}],"col-start-end":[{col:["auto",{span:["full",Fr,Y]},Y]}],"col-start":[{"col-start":fn()}],"col-end":[{"col-end":fn()}],"grid-rows":[{"grid-rows":[Ur]}],"row-start-end":[{row:["auto",{span:[Fr,Y]},Y]}],"row-start":[{"row-start":fn()}],"row-end":[{"row-end":fn()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...w()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...w(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...w(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[U]}],mx:[{mx:[U]}],my:[{my:[U]}],ms:[{ms:[U]}],me:[{me:[U]}],mt:[{mt:[U]}],mr:[{mr:[U]}],mb:[{mb:[U]}],ml:[{ml:[U]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Ht]},Ht]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ht,Ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oi]}],"font-family":[{font:[Ur]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",yn,oi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Nt,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Bt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Nt,Ut]}],"underline-offset":[{"underline-offset":["auto",Nt,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fu(),Tb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Bt(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Bt()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...Bt()]}],"outline-offset":[{"outline-offset":[Nt,Y]}],"outline-w":[{outline:[Nt,Ut]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Mt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Nt,Ut]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ht,Ab]}],"shadow-color":[{shadow:[Ur]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":Hn()}],"bg-blend":[{"bg-blend":Hn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ht,Y]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[E]}],saturate:[{saturate:[_]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[E]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Fr,Y]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nt,Ut,oi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Ib=ab(Sb),rs=(...e)=>Ib(G3(e)),xo=({size:e="md",color:t="blue",className:n})=>{const r={sm:"h-4 w-4 border-[2.5px]",md:"h-7 w-7 border-[3.5px]",lg:"h-10 w-10 border-4"},u={white:"border-white/30 border-t-white",gray:"border-gray-500/30 border-t-gray-500",red:"border-red-500/30 border-t-red-500",blue:"border-blue-500/30 border-t-blue-500"};return v.jsx("div",{className:rs("motion-reduce:spin-slow inline-block flex-none animate-spin rounded-full border bg-transparent align-[-0.125em]",r[e],u[t],n),role:"status"})};var xb=1/0,vb=9007199254740991,Lb="[object Arguments]",Rb="[object Function]",Ob="[object GeneratorFunction]",Db="[object Symbol]",wb=typeof Wt=="object"&&Wt&&Wt.Object===Object&&Wt,kb=typeof self=="object"&&self&&self.Object===Object&&self,Pb=wb||kb||Function("return this")();function Mb(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)}function Bb(e,t){for(var n=-1,r=e?e.length:0,u=Array(r);++n0&&n(o)?t>1?y1(o,t-1,n,r,u):Fb(u,o):r||(u[u.length]=o)}return u}function jb(e,t){return e=Object(e),zb(e,t,function(n,r){return r in e})}function zb(e,t,n){for(var r=-1,u=t.length,i={};++r-1&&e%1==0&&e<=vb}function Zb(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function S1(e){return!!e&&typeof e=="object"}function Jb(e){return typeof e=="symbol"||S1(e)&&Vl.call(e)==Db}var eA=Yb(function(e,t){return e==null?{}:jb(e,Bb(y1(t,1),qb))}),tA=eA;const nA=F0(tA),B0={dontShareLoginData:!0,canTakeAuth:null},ks=U0(H0(e=>({...B0,set:(t,n)=>e({[t]:n}),clearAll:()=>e(B0)}),{name:"setting-store",storage:j0(()=>z0)}));class Yn{static async toWebhook(t,n,r){return fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:n,encryptKey:r})}).then(u=>u.json()).catch(u=>{console.error(u)})}static async jsonPost(t,n){try{const r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!r.ok)throw new Error("Network response was not ok");return r.json()}catch(r){return console.error("There was a problem with your fetch operation:",r),null}}static async eventRequest(t,n=!1){const{steamLoginSecure:r,steamId:u}=await Lu.steamAuth(),i=await Ta("encryptKey"),s=await Ta("accessId"),{set:o,clearAllWithDelay:l,eventDetails:{event:c,ident:m}}=kn.getState(),E={event:c,ident:m};try{if(!r)throw{status:100,message:"Steam login secure not found"};const g=v1(r,i),A={accessid:s,steamid:u,hash:n?null:g,event:c,...t};n&&(E.data=JSON.parse(t.data),delete A.hash);const C=await(await fetch("https://www.steamwebapi.com/steam/auth/extension/event",{method:"POST",body:JSON.stringify(A)})).json();if(C.status!==200)throw C;au({type:"success",status:C.status,message:C.message,...E}),o({state:"success"}),l()}catch({status:g=500,message:A="Internal error"}){au({type:"error",status:g,message:A,...E}),o({state:"error"})}}}const It=class It{static async setAccess(t){const{steamId:n}=await Lu.steamAuth(),r=await Ta("uniqueUserId");try{const u=await Yn.jsonPost("https://www.steamwebapi.com/steam/auth/extension/access",{steamid:n,userid:r,host:t});if(!u)throw new Error("Access not found");L1("accessId",u.accessid)}catch(u){console.error("Error setting access",u)}}static async baseHandler(){const{dontShareLoginData:t}=ks.getState(),{eventDetails:n,clearAll:r}=kn.getState();if(t&&!this.clientEvents.includes(n.event))return au({type:"info",status:100,message:"Extension is not allowed to share login data. Please enable it in the settings.",event:n.event,ident:n.ident}),r();await this.setAccess(n.host),await this.events[n.event](n)}static async tradeHistoryHandler(){await Yn.eventRequest()}static async clientSideInventoryHandler({game:t,event:n,ident:r}){if(!t)throw new Error("'game' field is required");const u=`https://steamcommunity.com/inventory/76561199146708568/${t}/2?l=english&count=5000`;try{const i=await fetch(u),s=await i.json();if(i.status!==200&&!i.ok)throw s;await Yn.eventRequest({data:JSON.stringify(s)},!0)}catch(i){au({type:"error",status:i.status||500,message:i.message,event:n,ident:r})}}static async tradeCreateHandler(t){const n=nA(t,["myitemassetids","partneritemassetids","tradeoffermessage","tradelink","partnersteamid","message"]);n.myitemassetids=n.myitemassetids.join(),n.partneritemassetids=n.partneritemassetids.join(),await Yn.eventRequest(n)}static async tradeSentHandler(){await Yn.eventRequest()}static async tradeReceivedHandler(){await Yn.eventRequest()}};Ir(It,"events",{tradehistory:It.tradeHistoryHandler,clientsideinventory:It.clientSideInventoryHandler,tradecreate:It.tradeCreateHandler,tradesent:It.tradeSentHandler,tradereceived:It.tradeReceivedHandler}),Ir(It,"clientEvents",["clientsideinventory"]);let us=It;const rA={primary:"bg-blue-600 text-white",ghost:"hover:bg-gray-600 text-white",outline:"border border-gray-600 hover:bg-gray-600 text-white",warning:"bg-red-600 text-white hover:bg-red-600/80",success:"bg-green-600 text-white hover:bg-green-600/80"};function is({children:e,className:t,variant:n="primary",...r}){return v.jsx("button",{className:rs("flex-center h-8 gap-2 whitespace-nowrap rounded-md px-5 text-base",rA[n],t),...r,children:e})}function uA(){const{set:e,clearAll:t}=kn(),n=async()=>{await Y0("accessId"),await R1(),e({state:"loading"}),await us.baseHandler(),t()};return v.jsx("div",{className:"absolute-center text-center text-lg text-red-600",children:v.jsx(is,{variant:"outline",onClick:n,children:"Retry"})})}function iA(){return v.jsxs("div",{className:"absolute-center text-center text-lg text-white w-full",children:[v.jsx("span",{className:"pr-2",children:"🚀"})," Your action was successful!"]})}function sA(){const{eventDetails:e,set:t,clearAll:n}=kn(),r=i=>{if(!i)return au({type:"info",status:null,event:e.event,ident:e.ident,message:"User canceled the action."}),n();t({state:"loading"}),us.baseHandler()},u=je.useMemo(()=>({clientsideinventory:`Are you sure you want to share your inventory data with the ${e==null?void 0:e.host} website? Your authentication data will not be shared.`,tradecreate:`Are you sure you want to create a trade offer with the ${e==null?void 0:e.host} website?`,tradehistory:`Are you sure you want to share your trade history with the ${e==null?void 0:e.host} website?`,tradesent:`Are you sure you want to share your sent trade offers with the ${e==null?void 0:e.host} website?`,tradereceived:`Are you sure you want to share your received trade offers with the ${e==null?void 0:e.host} website?`}),[e]);return v.jsxs("div",{className:"flex flex-col items-center gap-5",children:[v.jsxs("div",{className:"px-4 py-2 text-left",children:[v.jsx("h3",{className:"text-xl font-bold text-white",children:"Are you confirm?"}),v.jsx("p",{className:"text-sm text-gray-400",children:u[e.event]})]}),v.jsxs("div",{className:"flex w-full gap-4 px-4",children:[v.jsx(is,{className:"flex-1 bg-green-400 font-bold cursor-pointer",variant:"success",onClick:()=>r(!0),children:"Confirm"}),v.jsx(is,{className:"flex-1 bg-red-400 !cursor-pointer",style:{cursor:"pointer"},variant:"warning",onClick:()=>r(!1),children:"Cancel"})]})]})}function aA(){const{dontShareLoginData:e}=ks(),{eventDetails:t}=kn();return e&&t.event!=="clientsideinventory"?v.jsxs("div",{className:"select-none p-4 text-sm flex flex-row items-center gap-4",children:[v.jsx("div",{children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"red",className:"w-6 h-6",children:v.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"})})}),"You've chosen not to share login data. To proceed, disable this setting for this action. Find the button below labeled 'Do not share my login data'."]}):v.jsx(sA,{text:"By clicking confirm, you are allowing the extension to perform the action."})}function oA(){const{state:e}=kn();return e==="loading"?v.jsx("div",{className:"absolute-center",children:v.jsx(xo,{color:"white"})}):e==="error"?v.jsx(uA,{}):e==="success"?v.jsx(iA,{children:"Success"}):v.jsx(v.Fragment,{children:v.jsx(aA,{})})}function lA(){const e=()=>{chrome.tabs.create({url:"https://steamcommunity.com/login/home/"})};return v.jsxs("div",{className:"flex w-full flex-col items-center gap-2",children:[v.jsxs("p",{className:"text-center text-base",children:["Please go to ",v.jsx("br",{}),"www.steamcommunity.com",v.jsx("br",{})," and log in to your account."]}),v.jsx("button",{className:"btn mt-4",onClick:e,children:"Visit: www.steamcommunity.com"})]})}function cA(){const{user:e}=g1();return v.jsxs("div",{className:"flex flex-col items-center gap-1",children:[v.jsxs("figure",{className:"relative",children:[e!=null&&e.avatar?v.jsx("img",{className:"h-20 w-20 rounded-full",src:e.avatar,alt:"Profile"}):v.jsx("div",{className:"flex h-20 w-20 items-center justify-center rounded-full bg-zinc-800",children:v.jsx(xo,{size:"sm",color:"white"})}),v.jsx("div",{className:"absolute bottom-1 right-1 h-4 w-4 rounded-full bg-green-500 ring-[6px] ring-zinc-900 ring-offset-0"})]}),e!=null&&e.userName?v.jsxs(v.Fragment,{children:[v.jsx("h1",{className:"text-2xl font-bold",children:e.userName}),v.jsx("span",{children:e==null?void 0:e.steamId})]}):v.jsx(xo,{className:"mt-2",size:"sm",color:"white"})]})}function dA({name:e,checked:t,onChange:n,className:r}){return v.jsxs("label",{children:[v.jsx("input",{className:rs("hidden",r),type:"checkbox",name:e,checked:t,onChange:u=>n(u.target.checked)}),v.jsx("div",{className:rs("relative h-5 w-10 rounded-full bg-white before:transition-all","before:h-4 before:w-4 before:rounded-full before:content-['']","before:absolute before:top-1/2 before:-translate-y-1/2",t?"before:translate-x-[22px] before:bg-blue-400":"before:left-0.5 before:bg-gray-950")})]})}function fA({label:e,name:t,selected:n}){const{set:r}=ks(),u=async i=>{r(t,i)};return v.jsxs("div",{className:"flex select-none items-center justify-between gap-4 rounded-md p-3 text-sm text-gray-400",children:[v.jsx("p",{children:e}),v.jsx(dA,{name:t,checked:n,onChange:u})]})}function hA(){const{dontShareLoginData:e,canTakeAuth:t}=ks();return v.jsxs("div",{className:"space-y-4 h-full flex flex-col justify-between",children:[v.jsx("div",{className:"pt-10",children:v.jsx(fA,{label:"Do not share my login data*",name:"dontShareLoginData",selected:e})}),v.jsxs("p",{className:"text-xs text-gray-400 pt-10 select-none",children:["*This app shares login data with a secure service for functionality. If you choose not to share your data, certain features such as sharing trade information will not work.",v.jsx("br",{})," ",v.jsx("br",{}),"Keeping this setting disabled is recommended for trading; your shared data remains encrypted and secure."]})]})}const mA=e=>v.jsxs("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[v.jsx("path",{d:"M20.947 8.305a6.53 6.53 0 0 0-.419-2.216 4.61 4.61 0 0 0-2.633-2.633 6.606 6.606 0 0 0-2.186-.42c-.962-.043-1.267-.055-3.709-.055s-2.755 0-3.71.055a6.606 6.606 0 0 0-2.185.42 4.607 4.607 0 0 0-2.633 2.633 6.554 6.554 0 0 0-.419 2.185c-.043.963-.056 1.268-.056 3.71s0 2.754.056 3.71c.015.748.156 1.486.419 2.187a4.61 4.61 0 0 0 2.634 2.632 6.584 6.584 0 0 0 2.185.45c.963.043 1.268.056 3.71.056s2.755 0 3.71-.056a6.59 6.59 0 0 0 2.186-.419 4.615 4.615 0 0 0 2.633-2.633c.263-.7.404-1.438.419-2.187.043-.962.056-1.267.056-3.71-.002-2.442-.002-2.752-.058-3.709zm-8.953 8.297c-2.554 0-4.623-2.069-4.623-4.623s2.069-4.623 4.623-4.623a4.623 4.623 0 0 1 0 9.246zm4.807-8.339a1.077 1.077 0 0 1-1.078-1.078 1.077 1.077 0 1 1 2.155 0c0 .596-.482 1.078-1.077 1.078z"}),v.jsx("circle",{cx:"11.994",cy:"11.979",r:"3.003"})]}),pA=e=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M19.633 7.997c.013.175.013.349.013.523 0 5.325-4.053 11.461-11.46 11.461-2.282 0-4.402-.661-6.186-1.809.324.037.636.05.973.05a8.07 8.07 0 0 0 5.001-1.721 4.036 4.036 0 0 1-3.767-2.793c.249.037.499.062.761.062.361 0 .724-.05 1.061-.137a4.027 4.027 0 0 1-3.23-3.953v-.05c.537.299 1.16.486 1.82.511a4.022 4.022 0 0 1-1.796-3.354c0-.748.199-1.434.548-2.032a11.457 11.457 0 0 0 8.306 4.215c-.062-.3-.1-.611-.1-.923a4.026 4.026 0 0 1 4.028-4.028c1.16 0 2.207.486 2.943 1.272a7.957 7.957 0 0 0 2.556-.973 4.02 4.02 0 0 1-1.771 2.22 8.073 8.073 0 0 0 2.319-.624 8.645 8.645 0 0 1-2.019 2.083z"})}),EA=e=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",viewBox:"0 0 24 24",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M14.82 4.26a10.14 10.14 0 0 0-.53 1.1 14.66 14.66 0 0 0-4.58 0 10.14 10.14 0 0 0-.53-1.1 16 16 0 0 0-4.13 1.3 17.33 17.33 0 0 0-3 11.59 16.6 16.6 0 0 0 5.07 2.59A12.89 12.89 0 0 0 8.23 18a9.65 9.65 0 0 1-1.71-.83 3.39 3.39 0 0 0 .42-.33 11.66 11.66 0 0 0 10.12 0q.21.18.42.33a10.84 10.84 0 0 1-1.71.84 12.41 12.41 0 0 0 1.08 1.78 16.44 16.44 0 0 0 5.06-2.59 17.22 17.22 0 0 0-3-11.59 16.09 16.09 0 0 0-4.09-1.35zM8.68 14.81a1.94 1.94 0 0 1-1.8-2 1.93 1.93 0 0 1 1.8-2 1.93 1.93 0 0 1 1.8 2 1.93 1.93 0 0 1-1.8 2zm6.64 0a1.94 1.94 0 0 1-1.8-2 1.93 1.93 0 0 1 1.8-2 1.92 1.92 0 0 1 1.8 2 1.92 1.92 0 0 1-1.8 2z"})}),gA=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:v.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})}),TA=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",className:"lucide lucide-arrow-up-right",...e,children:[v.jsx("path",{d:"M7 7h10v10"}),v.jsx("path",{d:"M7 17 17 7"})]}),li=({name:e,height:t=24,width:n=24,...r})=>{const i={instagram:mA,twitter:pA,discord:EA,steamauth:gA,arrowUpRight:TA}[e];return v.jsx(i,{width:n,height:t,...r})};function _A(){return v.jsxs("div",{className:"flex justify-between gap-4 text-gray-300",children:[v.jsxs("div",{className:"flex gap-4",children:[v.jsx("a",{href:"https://twitter.com/steamwebapi",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"twitter"})}),v.jsx("a",{href:"https://www.steamwebapi.com/link/discord",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"discord"})}),v.jsx("a",{href:"https://www.steamauth.app",target:"_blank",children:v.jsx(li,{className:"hover:text-white",name:"steamauth"})})]}),v.jsxs("a",{className:"flex items-center gap-1 hover:text-white",href:"https://www.steamauth.app",target:"_blank",children:[v.jsx("span",{className:"text-sm",children:"Support"}),v.jsx(li,{name:"arrowUpRight"})]})]})}var bA=typeof Wt=="object"&&Wt&&Wt.Object===Object&&Wt,AA=typeof self=="object"&&self&&self.Object===Object&&self;bA||AA||Function("return this")();var NA=typeof window<"u"?je.useLayoutEffect:je.useEffect;function CA(e,t,n,r){const u=je.useRef(t);NA(()=>{u.current=t},[t]),je.useEffect(()=>{const i=(n==null?void 0:n.current)??window;if(!(i&&i.addEventListener))return;const s=o=>{u.current(o)};return i.addEventListener(e,s,r),()=>{i.removeEventListener(e,s,r)}},[e,n,r])}function yA(e,t,n="mousedown",r={}){CA(n,u=>{const i=u.target;if(!i||!i.isConnected)return;(Array.isArray(e)?e.filter(o=>!!o.current).every(o=>o.current&&!o.current.contains(i)):e.current&&!e.current.contains(i))&&t(u)},void 0,r)}function SA(){const[e,t]=je.useState(!1),n=je.useRef(null),r=async()=>{await Y0(["accessId","uniqueUserId","encryptKey"]),chrome.runtime.reload(),t(!1)};return yA(n,()=>t(!1)),v.jsxs("div",{className:"absolute right-4 top-4",ref:n,children:[v.jsx("button",{onClick:()=>t(!e),children:v.jsx(V3,{size:16})}),e&&v.jsx("div",{className:"absolute right-0 flex flex-col space-y-1 rounded-md bg-zinc-800 p-2 shadow-md",children:v.jsxs(is,{className:"text-left text-sm",variant:"ghost",onClick:r,children:[v.jsx(q3,{size:16}),v.jsx("span",{children:"Delete all cache"})]})})]})}const IA=({children:e})=>v.jsxs("main",{className:"relative flex min-h-96 w-96 flex-col justify-between gap-4 bg-zinc-900 p-4 text-white",children:[v.jsx("div",{className:"mb-4 flex items-center justify-center px-10 select-none",children:v.jsx("img",{src:"./steamauth-logo.webp",alt:"Steamauth Logo",className:"w-28"})}),v.jsx("div",{className:"min-h-96 h-full flex flex-col justify-between items-stretch gap-4",children:e}),v.jsx(_A,{}),v.jsx(SA,{})]}),xA=()=>{const{user:e,set:t}=g1();return je.useEffect(()=>{Lu.getUser().then(n=>{t("user",n)}),chrome.tabs.query({active:!0,currentWindow:!0},function(n){chrome.tabs.sendMessage(n[0].id,{event:"steamAuthIsLogin",success:!!(e!=null&&e.isLogin)})})},[]),je.useEffect(()=>{chrome.runtime.sendMessage({event:"popupOpened"})},[]),v.jsx(IA,{children:e!=null&&e.isLogin?v.jsxs("div",{className:"flex h-full flex-col gap-4 select-none",children:[v.jsx(Q3,{children:v.jsx(oA,{})}),v.jsx(cA,{}),v.jsx(hA,{})]}):v.jsx("div",{className:"flex flex-col !justify-center px-10",children:v.jsx(lA,{})})})};function vA(){return v.jsx(xA,{})}_a.createRoot(document.getElementById("root")).render(v.jsx(vA,{})); diff --git a/index.html b/index.html index 89db7a0..4d79ff4 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Vite + React - +