import{j as _,r as u,R as S,a as _n,b as aa,c as ia}from"./index-56c1d501.js";import{g as hr}from"./recaptcha-v3-f0e7cd4f.js";import{p as M}from"./index-f11686b8.js";import{g as sa,a as Ht}from"./ststistic-3f81b54e.js";import{_ as la}from"./preload-helper-f61836a9.js";import"./fingerprint-374ab551.js";var pa=JSON.parse(document.getElementById("root").getAttribute("data-words"));const Sn=pa;var xa=JSON.parse(document.getElementById("root").getAttribute("data-words"));const ua=xa,Ft=document.getElementById("root").getAttribute("data-game-title"),hn=JSON.parse(document.getElementById("root").getAttribute("data-game-win-messages")),_a=document.getElementById("root").getAttribute("data-game-copied-message").replaceAll("\\",""),ma=document.getElementById("root").getAttribute("data-game-not-enough-letters-message").replaceAll("\\",""),oa=document.getElementById("root").getAttribute("data-game-word-not-found-message").replaceAll("\\",""),fa=document.getElementById("root").getAttribute("data-game-hard-mode-alert-message").replaceAll("\\",""),$t=document.getElementById("root").getAttribute("data-game-hard-mode-title").replaceAll("\\",""),Ut=document.getElementById("root").getAttribute("data-game-hard-mode-description").replaceAll("\\",""),Gt=document.getElementById("root").getAttribute("data-game-high-contrast-mode-title").replaceAll("\\",""),Vt=document.getElementById("root").getAttribute("data-game-high-contrast-mode-description").replaceAll("\\",""),ga=(n,t)=>{var r;return(r=document.getElementById("root").getAttribute("data-game-wrong-spot-message"))==null?void 0:r.replaceAll("<guess>",n).replaceAll("<position>",t).replaceAll("\\","")},Aa=n=>{var t;return(t=document.getElementById("root").getAttribute("data-game-not-contained-message"))==null?void 0:t.replaceAll("<letter>",n).replaceAll("\\","")},ca=document.getElementById("root").getAttribute("data-game-enter-text").replaceAll("\\",""),Ca=document.getElementById("root").getAttribute("data-game-delete-text").replaceAll("\\",""),Wt=document.getElementById("root").getAttribute("data-game-statistics-title").replaceAll("\\",""),va=document.getElementById("root").getAttribute("data-game-guess-distribution-text").replaceAll("\\",""),ha=document.getElementById("root").getAttribute("data-game-new-word-text").replaceAll("\\",""),Da=document.getElementById("root").getAttribute("data-game-share-text").replaceAll("\\",""),Ba=document.getElementById("root").getAttribute("data-game-total-tries-text").replaceAll("\\",""),Ea=document.getElementById("root").getAttribute("data-game-success-rate-text").replaceAll("\\",""),wa=document.getElementById("root").getAttribute("data-game-current-streak-text").replaceAll("\\",""),ba=document.getElementById("root").getAttribute("data-game-best-streak-text").replaceAll("\\",""),zt=document.getElementById("root").getAttribute("data-game-settings-modal-title").replaceAll("\\",""),Xt=document.getElementById("root").getAttribute("data-game-dark-mode-title").replaceAll("\\",""),qt=document.getElementById("root").getAttribute("data-game-info-modal-title").replaceAll("\\",""),da=document.getElementById("root").getAttribute("data-game-info-modal-text1").replaceAll("\\",""),ka=document.getElementById("root").getAttribute("data-game-info-modal-text2").replaceAll("\\",""),Fa=document.getElementById("root").getAttribute("data-game-info-modal-correct-letter-description").replaceAll("\\",""),ya=document.getElementById("root").getAttribute("data-game-info-modal-present-letter-description").replaceAll("\\",""),Sa=document.getElementById("root").getAttribute("data-game-info-modal-absent-letter-description").replaceAll("\\",""),Ta=document.getElementById("root").getAttribute("data-game-new-word-in").replaceAll("\\",""),he=JSON.parse(document.getElementById("root").getAttribute("data-archive")),_t=!!document.getElementById("root").getAttribute("data-is-archive-game"),Oa=document.getElementById("root").getAttribute("data-you-want-to-play-archive-games").replaceAll("\\",""),Na=document.getElementById("root").getAttribute("data-archive-link-name"),Ia=document.getElementById("root").getAttribute("data-play-archive").replaceAll("\\",""),Dr=document.getElementById("root").getAttribute("data-archive-url"),q=document.documentElement.lang,Y={de:["VIELE","MACHT","STADT"],en:["VYING","MAGIC","SCALE"]},ja=n=>{const t={},r=Ce(Oe);return n.forEach(a=>{Ce(a).forEach((i,l)=>{if(!r.includes(i))return t[i]="absent";if(i===r[l])return t[i]="correct";if(t[i]!=="correct")return t[i]="present"})}),t},yt=n=>{const t=Ce(Oe),r=Ce(n),a=t.map(l=>!1),i=Array.from(Array(n.length));return r.forEach((l,s)=>{if(l===t[s]){i[s]="correct",a[s]=!0;return}}),r.forEach((l,s)=>{if(i[s])return;if(!t.includes(l)){i[s]="absent";return}const p=t.findIndex((x,o)=>x===l&&!a[o]);if(p>-1){i[s]="present",a[p]=!0;return}else{i[s]="absent";return}}),i};var Br={exports:{}};(function(n){function t(){var r=0,a=1,i=2,l=3,s=4,p=5,x=6,o=7,m=8,f=9,B=10,E=11,D=12,w=13,h=14,N=15,G=16,T=17,I=0,fe=1,H=2,ge=3,ae=4;function K(e,b){return 55296<=e.charCodeAt(b)&&e.charCodeAt(b)<=56319&&56320<=e.charCodeAt(b+1)&&e.charCodeAt(b+1)<=57343}function R(e,b){b===void 0&&(b=0);var F=e.charCodeAt(b);if(55296<=F&&F<=56319&&b<e.length-1){var d=F,k=e.charCodeAt(b+1);return 56320<=k&&k<=57343?(d-55296)*1024+(k-56320)+65536:d}if(56320<=F&&F<=57343&&b>=1){var d=e.charCodeAt(b-1),k=F;return 55296<=d&&d<=56319?(d-55296)*1024+(k-56320)+65536:k}return F}function Ae(e,b,F){var d=[e].concat(b).concat([F]),k=d[d.length-2],j=F,Fe=d.lastIndexOf(h);if(Fe>1&&d.slice(1,Fe).every(function(V){return V==l})&&[l,w,T].indexOf(e)==-1)return H;var _e=d.lastIndexOf(s);if(_e>0&&d.slice(1,_e).every(function(V){return V==s})&&[D,s].indexOf(k)==-1)return d.filter(function(V){return V==s}).length%2==1?ge:ae;if(k==r&&j==a)return I;if(k==i||k==r||k==a)return j==h&&b.every(function(V){return V==l})?H:fe;if(j==i||j==r||j==a)return fe;if(k==x&&(j==x||j==o||j==f||j==B))return I;if((k==f||k==o)&&(j==o||j==m))return I;if((k==B||k==m)&&j==m)return I;if(j==l||j==N)return I;if(j==p)return I;if(k==D)return I;var ie=d.indexOf(l)!=-1?d.lastIndexOf(l)-1:d.length-2;return[w,T].indexOf(d[ie])!=-1&&d.slice(ie+1,-1).every(function(V){return V==l})&&j==h||k==N&&[G,T].indexOf(j)!=-1?I:b.indexOf(s)!=-1?H:k==s&&j==s?I:fe}this.nextBreak=function(e,b){if(b===void 0&&(b=0),b<0)return 0;if(b>=e.length-1)return e.length;for(var F=Z(R(e,b)),d=[],k=b+1;k<e.length;k++)if(!K(e,k-1)){var j=Z(R(e,k));if(Ae(F,d,j))return k;d.push(j)}return e.length},this.splitGraphemes=function(e){for(var b=[],F=0,d;(d=this.nextBreak(e,F))<e.length;)b.push(e.slice(F,d)),F=d;return F<e.length&&b.push(e.slice(F)),b},this.iterateGraphemes=function(e){var b=0,F={next:(function(){var d,k;return(k=this.nextBreak(e,b))<e.length?(d=e.slice(b,k),b=k,{value:d,done:!1}):b<e.length?(d=e.slice(b),b=e.length,{value:d,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(F[Symbol.iterator]=function(){return F}),F},this.countGraphemes=function(e){for(var b=0,F=0,d;(d=this.nextBreak(e,F))<e.length;)F=d,b++;return F<e.length&&b++,b};function Z(e){return 1536<=e&&e<=1541||e==1757||e==1807||e==2274||e==3406||e==69821||70082<=e&&e<=70083||e==72250||72326<=e&&e<=72329||e==73030?D:e==13?r:e==10?a:0<=e&&e<=9||11<=e&&e<=12||14<=e&&e<=31||127<=e&&e<=159||e==173||e==1564||e==6158||e==8203||8206<=e&&e<=8207||e==8232||e==8233||8234<=e&&e<=8238||8288<=e&&e<=8292||e==8293||8294<=e&&e<=8303||55296<=e&&e<=57343||e==65279||65520<=e&&e<=65528||65529<=e&&e<=65531||113824<=e&&e<=113827||119155<=e&&e<=119162||e==917504||e==917505||917506<=e&&e<=917535||917632<=e&&e<=917759||918e3<=e&&e<=921599?i:768<=e&&e<=879||1155<=e&&e<=1159||1160<=e&&e<=1161||1425<=e&&e<=1469||e==1471||1473<=e&&e<=1474||1476<=e&&e<=1477||e==1479||1552<=e&&e<=1562||1611<=e&&e<=1631||e==1648||1750<=e&&e<=1756||1759<=e&&e<=1764||1767<=e&&e<=1768||1770<=e&&e<=1773||e==1809||1840<=e&&e<=1866||1958<=e&&e<=1968||2027<=e&&e<=2035||2070<=e&&e<=2073||2075<=e&&e<=2083||2085<=e&&e<=2087||2089<=e&&e<=2093||2137<=e&&e<=2139||2260<=e&&e<=2273||2275<=e&&e<=2306||e==2362||e==2364||2369<=e&&e<=2376||e==2381||2385<=e&&e<=2391||2402<=e&&e<=2403||e==2433||e==2492||e==2494||2497<=e&&e<=2500||e==2509||e==2519||2530<=e&&e<=2531||2561<=e&&e<=2562||e==2620||2625<=e&&e<=2626||2631<=e&&e<=2632||2635<=e&&e<=2637||e==2641||2672<=e&&e<=2673||e==2677||2689<=e&&e<=2690||e==2748||2753<=e&&e<=2757||2759<=e&&e<=2760||e==2765||2786<=e&&e<=2787||2810<=e&&e<=2815||e==2817||e==2876||e==2878||e==2879||2881<=e&&e<=2884||e==2893||e==2902||e==2903||2914<=e&&e<=2915||e==2946||e==3006||e==3008||e==3021||e==3031||e==3072||3134<=e&&e<=3136||3142<=e&&e<=3144||3146<=e&&e<=3149||3157<=e&&e<=3158||3170<=e&&e<=3171||e==3201||e==3260||e==3263||e==3266||e==3270||3276<=e&&e<=3277||3285<=e&&e<=3286||3298<=e&&e<=3299||3328<=e&&e<=3329||3387<=e&&e<=3388||e==3390||3393<=e&&e<=3396||e==3405||e==3415||3426<=e&&e<=3427||e==3530||e==3535||3538<=e&&e<=3540||e==3542||e==3551||e==3633||3636<=e&&e<=3642||3655<=e&&e<=3662||e==3761||3764<=e&&e<=3769||3771<=e&&e<=3772||3784<=e&&e<=3789||3864<=e&&e<=3865||e==3893||e==3895||e==3897||3953<=e&&e<=3966||3968<=e&&e<=3972||3974<=e&&e<=3975||3981<=e&&e<=3991||3993<=e&&e<=4028||e==4038||4141<=e&&e<=4144||4146<=e&&e<=4151||4153<=e&&e<=4154||4157<=e&&e<=4158||4184<=e&&e<=4185||4190<=e&&e<=4192||4209<=e&&e<=4212||e==4226||4229<=e&&e<=4230||e==4237||e==4253||4957<=e&&e<=4959||5906<=e&&e<=5908||5938<=e&&e<=5940||5970<=e&&e<=5971||6002<=e&&e<=6003||6068<=e&&e<=6069||6071<=e&&e<=6077||e==6086||6089<=e&&e<=6099||e==6109||6155<=e&&e<=6157||6277<=e&&e<=6278||e==6313||6432<=e&&e<=6434||6439<=e&&e<=6440||e==6450||6457<=e&&e<=6459||6679<=e&&e<=6680||e==6683||e==6742||6744<=e&&e<=6750||e==6752||e==6754||6757<=e&&e<=6764||6771<=e&&e<=6780||e==6783||6832<=e&&e<=6845||e==6846||6912<=e&&e<=6915||e==6964||6966<=e&&e<=6970||e==6972||e==6978||7019<=e&&e<=7027||7040<=e&&e<=7041||7074<=e&&e<=7077||7080<=e&&e<=7081||7083<=e&&e<=7085||e==7142||7144<=e&&e<=7145||e==7149||7151<=e&&e<=7153||7212<=e&&e<=7219||7222<=e&&e<=7223||7376<=e&&e<=7378||7380<=e&&e<=7392||7394<=e&&e<=7400||e==7405||e==7412||7416<=e&&e<=7417||7616<=e&&e<=7673||7675<=e&&e<=7679||e==8204||8400<=e&&e<=8412||8413<=e&&e<=8416||e==8417||8418<=e&&e<=8420||8421<=e&&e<=8432||11503<=e&&e<=11505||e==11647||11744<=e&&e<=11775||12330<=e&&e<=12333||12334<=e&&e<=12335||12441<=e&&e<=12442||e==42607||42608<=e&&e<=42610||42612<=e&&e<=42621||42654<=e&&e<=42655||42736<=e&&e<=42737||e==43010||e==43014||e==43019||43045<=e&&e<=43046||43204<=e&&e<=43205||43232<=e&&e<=43249||43302<=e&&e<=43309||43335<=e&&e<=43345||43392<=e&&e<=43394||e==43443||43446<=e&&e<=43449||e==43452||e==43493||43561<=e&&e<=43566||43569<=e&&e<=43570||43573<=e&&e<=43574||e==43587||e==43596||e==43644||e==43696||43698<=e&&e<=43700||43703<=e&&e<=43704||43710<=e&&e<=43711||e==43713||43756<=e&&e<=43757||e==43766||e==44005||e==44008||e==44013||e==64286||65024<=e&&e<=65039||65056<=e&&e<=65071||65438<=e&&e<=65439||e==66045||e==66272||66422<=e&&e<=66426||68097<=e&&e<=68099||68101<=e&&e<=68102||68108<=e&&e<=68111||68152<=e&&e<=68154||e==68159||68325<=e&&e<=68326||e==69633||69688<=e&&e<=69702||69759<=e&&e<=69761||69811<=e&&e<=69814||69817<=e&&e<=69818||69888<=e&&e<=69890||69927<=e&&e<=69931||69933<=e&&e<=69940||e==70003||70016<=e&&e<=70017||70070<=e&&e<=70078||70090<=e&&e<=70092||70191<=e&&e<=70193||e==70196||70198<=e&&e<=70199||e==70206||e==70367||70371<=e&&e<=70378||70400<=e&&e<=70401||e==70460||e==70462||e==70464||e==70487||70502<=e&&e<=70508||70512<=e&&e<=70516||70712<=e&&e<=70719||70722<=e&&e<=70724||e==70726||e==70832||70835<=e&&e<=70840||e==70842||e==70845||70847<=e&&e<=70848||70850<=e&&e<=70851||e==71087||71090<=e&&e<=71093||71100<=e&&e<=71101||71103<=e&&e<=71104||71132<=e&&e<=71133||71219<=e&&e<=71226||e==71229||71231<=e&&e<=71232||e==71339||e==71341||71344<=e&&e<=71349||e==71351||71453<=e&&e<=71455||71458<=e&&e<=71461||71463<=e&&e<=71467||72193<=e&&e<=72198||72201<=e&&e<=72202||72243<=e&&e<=72248||72251<=e&&e<=72254||e==72263||72273<=e&&e<=72278||72281<=e&&e<=72283||72330<=e&&e<=72342||72344<=e&&e<=72345||72752<=e&&e<=72758||72760<=e&&e<=72765||e==72767||72850<=e&&e<=72871||72874<=e&&e<=72880||72882<=e&&e<=72883||72885<=e&&e<=72886||73009<=e&&e<=73014||e==73018||73020<=e&&e<=73021||73023<=e&&e<=73029||e==73031||92912<=e&&e<=92916||92976<=e&&e<=92982||94095<=e&&e<=94098||113821<=e&&e<=113822||e==119141||119143<=e&&e<=119145||119150<=e&&e<=119154||119163<=e&&e<=119170||119173<=e&&e<=119179||119210<=e&&e<=119213||119362<=e&&e<=119364||121344<=e&&e<=121398||121403<=e&&e<=121452||e==121461||e==121476||121499<=e&&e<=121503||121505<=e&&e<=121519||122880<=e&&e<=122886||122888<=e&&e<=122904||122907<=e&&e<=122913||122915<=e&&e<=122916||122918<=e&&e<=122922||125136<=e&&e<=125142||125252<=e&&e<=125258||917536<=e&&e<=917631||917760<=e&&e<=917999?l:127462<=e&&e<=127487?s:e==2307||e==2363||2366<=e&&e<=2368||2377<=e&&e<=2380||2382<=e&&e<=2383||2434<=e&&e<=2435||2495<=e&&e<=2496||2503<=e&&e<=2504||2507<=e&&e<=2508||e==2563||2622<=e&&e<=2624||e==2691||2750<=e&&e<=2752||e==2761||2763<=e&&e<=2764||2818<=e&&e<=2819||e==2880||2887<=e&&e<=2888||2891<=e&&e<=2892||e==3007||3009<=e&&e<=3010||3014<=e&&e<=3016||3018<=e&&e<=3020||3073<=e&&e<=3075||3137<=e&&e<=3140||3202<=e&&e<=3203||e==3262||3264<=e&&e<=3265||3267<=e&&e<=3268||3271<=e&&e<=3272||3274<=e&&e<=3275||3330<=e&&e<=3331||3391<=e&&e<=3392||3398<=e&&e<=3400||3402<=e&&e<=3404||3458<=e&&e<=3459||3536<=e&&e<=3537||3544<=e&&e<=3550||3570<=e&&e<=3571||e==3635||e==3763||3902<=e&&e<=3903||e==3967||e==4145||4155<=e&&e<=4156||4182<=e&&e<=4183||e==4228||e==6070||6078<=e&&e<=6085||6087<=e&&e<=6088||6435<=e&&e<=6438||6441<=e&&e<=6443||6448<=e&&e<=6449||6451<=e&&e<=6456||6681<=e&&e<=6682||e==6741||e==6743||6765<=e&&e<=6770||e==6916||e==6965||e==6971||6973<=e&&e<=6977||6979<=e&&e<=6980||e==7042||e==7073||7078<=e&&e<=7079||e==7082||e==7143||7146<=e&&e<=7148||e==7150||7154<=e&&e<=7155||7204<=e&&e<=7211||7220<=e&&e<=7221||e==7393||7410<=e&&e<=7411||e==7415||43043<=e&&e<=43044||e==43047||43136<=e&&e<=43137||43188<=e&&e<=43203||43346<=e&&e<=43347||e==43395||43444<=e&&e<=43445||43450<=e&&e<=43451||43453<=e&&e<=43456||43567<=e&&e<=43568||43571<=e&&e<=43572||e==43597||e==43755||43758<=e&&e<=43759||e==43765||44003<=e&&e<=44004||44006<=e&&e<=44007||44009<=e&&e<=44010||e==44012||e==69632||e==69634||e==69762||69808<=e&&e<=69810||69815<=e&&e<=69816||e==69932||e==70018||70067<=e&&e<=70069||70079<=e&&e<=70080||70188<=e&&e<=70190||70194<=e&&e<=70195||e==70197||70368<=e&&e<=70370||70402<=e&&e<=70403||e==70463||70465<=e&&e<=70468||70471<=e&&e<=70472||70475<=e&&e<=70477||70498<=e&&e<=70499||70709<=e&&e<=70711||70720<=e&&e<=70721||e==70725||70833<=e&&e<=70834||e==70841||70843<=e&&e<=70844||e==70846||e==70849||71088<=e&&e<=71089||71096<=e&&e<=71099||e==71102||71216<=e&&e<=71218||71227<=e&&e<=71228||e==71230||e==71340||71342<=e&&e<=71343||e==71350||71456<=e&&e<=71457||e==71462||72199<=e&&e<=72200||e==72249||72279<=e&&e<=72280||e==72343||e==72751||e==72766||e==72873||e==72881||e==72884||94033<=e&&e<=94078||e==119142||e==119149?p:4352<=e&&e<=4447||43360<=e&&e<=43388?x:4448<=e&&e<=4519||55216<=e&&e<=55238?o:4520<=e&&e<=4607||55243<=e&&e<=55291?m:e==44032||e==44060||e==44088||e==44116||e==44144||e==44172||e==44200||e==44228||e==44256||e==44284||e==44312||e==44340||e==44368||e==44396||e==44424||e==44452||e==44480||e==44508||e==44536||e==44564||e==44592||e==44620||e==44648||e==44676||e==44704||e==44732||e==44760||e==44788||e==44816||e==44844||e==44872||e==44900||e==44928||e==44956||e==44984||e==45012||e==45040||e==45068||e==45096||e==45124||e==45152||e==45180||e==45208||e==45236||e==45264||e==45292||e==45320||e==45348||e==45376||e==45404||e==45432||e==45460||e==45488||e==45516||e==45544||e==45572||e==45600||e==45628||e==45656||e==45684||e==45712||e==45740||e==45768||e==45796||e==45824||e==45852||e==45880||e==45908||e==45936||e==45964||e==45992||e==46020||e==46048||e==46076||e==46104||e==46132||e==46160||e==46188||e==46216||e==46244||e==46272||e==46300||e==46328||e==46356||e==46384||e==46412||e==46440||e==46468||e==46496||e==46524||e==46552||e==46580||e==46608||e==46636||e==46664||e==46692||e==46720||e==46748||e==46776||e==46804||e==46832||e==46860||e==46888||e==46916||e==46944||e==46972||e==47e3||e==47028||e==47056||e==47084||e==47112||e==47140||e==47168||e==47196||e==47224||e==47252||e==47280||e==47308||e==47336||e==47364||e==47392||e==47420||e==47448||e==47476||e==47504||e==47532||e==47560||e==47588||e==47616||e==47644||e==47672||e==47700||e==47728||e==47756||e==47784||e==47812||e==47840||e==47868||e==47896||e==47924||e==47952||e==47980||e==48008||e==48036||e==48064||e==48092||e==48120||e==48148||e==48176||e==48204||e==48232||e==48260||e==48288||e==48316||e==48344||e==48372||e==48400||e==48428||e==48456||e==48484||e==48512||e==48540||e==48568||e==48596||e==48624||e==48652||e==48680||e==48708||e==48736||e==48764||e==48792||e==48820||e==48848||e==48876||e==48904||e==48932||e==48960||e==48988||e==49016||e==49044||e==49072||e==49100||e==49128||e==49156||e==49184||e==49212||e==49240||e==49268||e==49296||e==49324||e==49352||e==49380||e==49408||e==49436||e==49464||e==49492||e==49520||e==49548||e==49576||e==49604||e==49632||e==49660||e==49688||e==49716||e==49744||e==49772||e==49800||e==49828||e==49856||e==49884||e==49912||e==49940||e==49968||e==49996||e==50024||e==50052||e==50080||e==50108||e==50136||e==50164||e==50192||e==50220||e==50248||e==50276||e==50304||e==50332||e==50360||e==50388||e==50416||e==50444||e==50472||e==50500||e==50528||e==50556||e==50584||e==50612||e==50640||e==50668||e==50696||e==50724||e==50752||e==50780||e==50808||e==50836||e==50864||e==50892||e==50920||e==50948||e==50976||e==51004||e==51032||e==51060||e==51088||e==51116||e==51144||e==51172||e==51200||e==51228||e==51256||e==51284||e==51312||e==51340||e==51368||e==51396||e==51424||e==51452||e==51480||e==51508||e==51536||e==51564||e==51592||e==51620||e==51648||e==51676||e==51704||e==51732||e==51760||e==51788||e==51816||e==51844||e==51872||e==51900||e==51928||e==51956||e==51984||e==52012||e==52040||e==52068||e==52096||e==52124||e==52152||e==52180||e==52208||e==52236||e==52264||e==52292||e==52320||e==52348||e==52376||e==52404||e==52432||e==52460||e==52488||e==52516||e==52544||e==52572||e==52600||e==52628||e==52656||e==52684||e==52712||e==52740||e==52768||e==52796||e==52824||e==52852||e==52880||e==52908||e==52936||e==52964||e==52992||e==53020||e==53048||e==53076||e==53104||e==53132||e==53160||e==53188||e==53216||e==53244||e==53272||e==53300||e==53328||e==53356||e==53384||e==53412||e==53440||e==53468||e==53496||e==53524||e==53552||e==53580||e==53608||e==53636||e==53664||e==53692||e==53720||e==53748||e==53776||e==53804||e==53832||e==53860||e==53888||e==53916||e==53944||e==53972||e==54e3||e==54028||e==54056||e==54084||e==54112||e==54140||e==54168||e==54196||e==54224||e==54252||e==54280||e==54308||e==54336||e==54364||e==54392||e==54420||e==54448||e==54476||e==54504||e==54532||e==54560||e==54588||e==54616||e==54644||e==54672||e==54700||e==54728||e==54756||e==54784||e==54812||e==54840||e==54868||e==54896||e==54924||e==54952||e==54980||e==55008||e==55036||e==55064||e==55092||e==55120||e==55148||e==55176?f:44033<=e&&e<=44059||44061<=e&&e<=44087||44089<=e&&e<=44115||44117<=e&&e<=44143||44145<=e&&e<=44171||44173<=e&&e<=44199||44201<=e&&e<=44227||44229<=e&&e<=44255||44257<=e&&e<=44283||44285<=e&&e<=44311||44313<=e&&e<=44339||44341<=e&&e<=44367||44369<=e&&e<=44395||44397<=e&&e<=44423||44425<=e&&e<=44451||44453<=e&&e<=44479||44481<=e&&e<=44507||44509<=e&&e<=44535||44537<=e&&e<=44563||44565<=e&&e<=44591||44593<=e&&e<=44619||44621<=e&&e<=44647||44649<=e&&e<=44675||44677<=e&&e<=44703||44705<=e&&e<=44731||44733<=e&&e<=44759||44761<=e&&e<=44787||44789<=e&&e<=44815||44817<=e&&e<=44843||44845<=e&&e<=44871||44873<=e&&e<=44899||44901<=e&&e<=44927||44929<=e&&e<=44955||44957<=e&&e<=44983||44985<=e&&e<=45011||45013<=e&&e<=45039||45041<=e&&e<=45067||45069<=e&&e<=45095||45097<=e&&e<=45123||45125<=e&&e<=45151||45153<=e&&e<=45179||45181<=e&&e<=45207||45209<=e&&e<=45235||45237<=e&&e<=45263||45265<=e&&e<=45291||45293<=e&&e<=45319||45321<=e&&e<=45347||45349<=e&&e<=45375||45377<=e&&e<=45403||45405<=e&&e<=45431||45433<=e&&e<=45459||45461<=e&&e<=45487||45489<=e&&e<=45515||45517<=e&&e<=45543||45545<=e&&e<=45571||45573<=e&&e<=45599||45601<=e&&e<=45627||45629<=e&&e<=45655||45657<=e&&e<=45683||45685<=e&&e<=45711||45713<=e&&e<=45739||45741<=e&&e<=45767||45769<=e&&e<=45795||45797<=e&&e<=45823||45825<=e&&e<=45851||45853<=e&&e<=45879||45881<=e&&e<=45907||45909<=e&&e<=45935||45937<=e&&e<=45963||45965<=e&&e<=45991||45993<=e&&e<=46019||46021<=e&&e<=46047||46049<=e&&e<=46075||46077<=e&&e<=46103||46105<=e&&e<=46131||46133<=e&&e<=46159||46161<=e&&e<=46187||46189<=e&&e<=46215||46217<=e&&e<=46243||46245<=e&&e<=46271||46273<=e&&e<=46299||46301<=e&&e<=46327||46329<=e&&e<=46355||46357<=e&&e<=46383||46385<=e&&e<=46411||46413<=e&&e<=46439||46441<=e&&e<=46467||46469<=e&&e<=46495||46497<=e&&e<=46523||46525<=e&&e<=46551||46553<=e&&e<=46579||46581<=e&&e<=46607||46609<=e&&e<=46635||46637<=e&&e<=46663||46665<=e&&e<=46691||46693<=e&&e<=46719||46721<=e&&e<=46747||46749<=e&&e<=46775||46777<=e&&e<=46803||46805<=e&&e<=46831||46833<=e&&e<=46859||46861<=e&&e<=46887||46889<=e&&e<=46915||46917<=e&&e<=46943||46945<=e&&e<=46971||46973<=e&&e<=46999||47001<=e&&e<=47027||47029<=e&&e<=47055||47057<=e&&e<=47083||47085<=e&&e<=47111||47113<=e&&e<=47139||47141<=e&&e<=47167||47169<=e&&e<=47195||47197<=e&&e<=47223||47225<=e&&e<=47251||47253<=e&&e<=47279||47281<=e&&e<=47307||47309<=e&&e<=47335||47337<=e&&e<=47363||47365<=e&&e<=47391||47393<=e&&e<=47419||47421<=e&&e<=47447||47449<=e&&e<=47475||47477<=e&&e<=47503||47505<=e&&e<=47531||47533<=e&&e<=47559||47561<=e&&e<=47587||47589<=e&&e<=47615||47617<=e&&e<=47643||47645<=e&&e<=47671||47673<=e&&e<=47699||47701<=e&&e<=47727||47729<=e&&e<=47755||47757<=e&&e<=47783||47785<=e&&e<=47811||47813<=e&&e<=47839||47841<=e&&e<=47867||47869<=e&&e<=47895||47897<=e&&e<=47923||47925<=e&&e<=47951||47953<=e&&e<=47979||47981<=e&&e<=48007||48009<=e&&e<=48035||48037<=e&&e<=48063||48065<=e&&e<=48091||48093<=e&&e<=48119||48121<=e&&e<=48147||48149<=e&&e<=48175||48177<=e&&e<=48203||48205<=e&&e<=48231||48233<=e&&e<=48259||48261<=e&&e<=48287||48289<=e&&e<=48315||48317<=e&&e<=48343||48345<=e&&e<=48371||48373<=e&&e<=48399||48401<=e&&e<=48427||48429<=e&&e<=48455||48457<=e&&e<=48483||48485<=e&&e<=48511||48513<=e&&e<=48539||48541<=e&&e<=48567||48569<=e&&e<=48595||48597<=e&&e<=48623||48625<=e&&e<=48651||48653<=e&&e<=48679||48681<=e&&e<=48707||48709<=e&&e<=48735||48737<=e&&e<=48763||48765<=e&&e<=48791||48793<=e&&e<=48819||48821<=e&&e<=48847||48849<=e&&e<=48875||48877<=e&&e<=48903||48905<=e&&e<=48931||48933<=e&&e<=48959||48961<=e&&e<=48987||48989<=e&&e<=49015||49017<=e&&e<=49043||49045<=e&&e<=49071||49073<=e&&e<=49099||49101<=e&&e<=49127||49129<=e&&e<=49155||49157<=e&&e<=49183||49185<=e&&e<=49211||49213<=e&&e<=49239||49241<=e&&e<=49267||49269<=e&&e<=49295||49297<=e&&e<=49323||49325<=e&&e<=49351||49353<=e&&e<=49379||49381<=e&&e<=49407||49409<=e&&e<=49435||49437<=e&&e<=49463||49465<=e&&e<=49491||49493<=e&&e<=49519||49521<=e&&e<=49547||49549<=e&&e<=49575||49577<=e&&e<=49603||49605<=e&&e<=49631||49633<=e&&e<=49659||49661<=e&&e<=49687||49689<=e&&e<=49715||49717<=e&&e<=49743||49745<=e&&e<=49771||49773<=e&&e<=49799||49801<=e&&e<=49827||49829<=e&&e<=49855||49857<=e&&e<=49883||49885<=e&&e<=49911||49913<=e&&e<=49939||49941<=e&&e<=49967||49969<=e&&e<=49995||49997<=e&&e<=50023||50025<=e&&e<=50051||50053<=e&&e<=50079||50081<=e&&e<=50107||50109<=e&&e<=50135||50137<=e&&e<=50163||50165<=e&&e<=50191||50193<=e&&e<=50219||50221<=e&&e<=50247||50249<=e&&e<=50275||50277<=e&&e<=50303||50305<=e&&e<=50331||50333<=e&&e<=50359||50361<=e&&e<=50387||50389<=e&&e<=50415||50417<=e&&e<=50443||50445<=e&&e<=50471||50473<=e&&e<=50499||50501<=e&&e<=50527||50529<=e&&e<=50555||50557<=e&&e<=50583||50585<=e&&e<=50611||50613<=e&&e<=50639||50641<=e&&e<=50667||50669<=e&&e<=50695||50697<=e&&e<=50723||50725<=e&&e<=50751||50753<=e&&e<=50779||50781<=e&&e<=50807||50809<=e&&e<=50835||50837<=e&&e<=50863||50865<=e&&e<=50891||50893<=e&&e<=50919||50921<=e&&e<=50947||50949<=e&&e<=50975||50977<=e&&e<=51003||51005<=e&&e<=51031||51033<=e&&e<=51059||51061<=e&&e<=51087||51089<=e&&e<=51115||51117<=e&&e<=51143||51145<=e&&e<=51171||51173<=e&&e<=51199||51201<=e&&e<=51227||51229<=e&&e<=51255||51257<=e&&e<=51283||51285<=e&&e<=51311||51313<=e&&e<=51339||51341<=e&&e<=51367||51369<=e&&e<=51395||51397<=e&&e<=51423||51425<=e&&e<=51451||51453<=e&&e<=51479||51481<=e&&e<=51507||51509<=e&&e<=51535||51537<=e&&e<=51563||51565<=e&&e<=51591||51593<=e&&e<=51619||51621<=e&&e<=51647||51649<=e&&e<=51675||51677<=e&&e<=51703||51705<=e&&e<=51731||51733<=e&&e<=51759||51761<=e&&e<=51787||51789<=e&&e<=51815||51817<=e&&e<=51843||51845<=e&&e<=51871||51873<=e&&e<=51899||51901<=e&&e<=51927||51929<=e&&e<=51955||51957<=e&&e<=51983||51985<=e&&e<=52011||52013<=e&&e<=52039||52041<=e&&e<=52067||52069<=e&&e<=52095||52097<=e&&e<=52123||52125<=e&&e<=52151||52153<=e&&e<=52179||52181<=e&&e<=52207||52209<=e&&e<=52235||52237<=e&&e<=52263||52265<=e&&e<=52291||52293<=e&&e<=52319||52321<=e&&e<=52347||52349<=e&&e<=52375||52377<=e&&e<=52403||52405<=e&&e<=52431||52433<=e&&e<=52459||52461<=e&&e<=52487||52489<=e&&e<=52515||52517<=e&&e<=52543||52545<=e&&e<=52571||52573<=e&&e<=52599||52601<=e&&e<=52627||52629<=e&&e<=52655||52657<=e&&e<=52683||52685<=e&&e<=52711||52713<=e&&e<=52739||52741<=e&&e<=52767||52769<=e&&e<=52795||52797<=e&&e<=52823||52825<=e&&e<=52851||52853<=e&&e<=52879||52881<=e&&e<=52907||52909<=e&&e<=52935||52937<=e&&e<=52963||52965<=e&&e<=52991||52993<=e&&e<=53019||53021<=e&&e<=53047||53049<=e&&e<=53075||53077<=e&&e<=53103||53105<=e&&e<=53131||53133<=e&&e<=53159||53161<=e&&e<=53187||53189<=e&&e<=53215||53217<=e&&e<=53243||53245<=e&&e<=53271||53273<=e&&e<=53299||53301<=e&&e<=53327||53329<=e&&e<=53355||53357<=e&&e<=53383||53385<=e&&e<=53411||53413<=e&&e<=53439||53441<=e&&e<=53467||53469<=e&&e<=53495||53497<=e&&e<=53523||53525<=e&&e<=53551||53553<=e&&e<=53579||53581<=e&&e<=53607||53609<=e&&e<=53635||53637<=e&&e<=53663||53665<=e&&e<=53691||53693<=e&&e<=53719||53721<=e&&e<=53747||53749<=e&&e<=53775||53777<=e&&e<=53803||53805<=e&&e<=53831||53833<=e&&e<=53859||53861<=e&&e<=53887||53889<=e&&e<=53915||53917<=e&&e<=53943||53945<=e&&e<=53971||53973<=e&&e<=53999||54001<=e&&e<=54027||54029<=e&&e<=54055||54057<=e&&e<=54083||54085<=e&&e<=54111||54113<=e&&e<=54139||54141<=e&&e<=54167||54169<=e&&e<=54195||54197<=e&&e<=54223||54225<=e&&e<=54251||54253<=e&&e<=54279||54281<=e&&e<=54307||54309<=e&&e<=54335||54337<=e&&e<=54363||54365<=e&&e<=54391||54393<=e&&e<=54419||54421<=e&&e<=54447||54449<=e&&e<=54475||54477<=e&&e<=54503||54505<=e&&e<=54531||54533<=e&&e<=54559||54561<=e&&e<=54587||54589<=e&&e<=54615||54617<=e&&e<=54643||54645<=e&&e<=54671||54673<=e&&e<=54699||54701<=e&&e<=54727||54729<=e&&e<=54755||54757<=e&&e<=54783||54785<=e&&e<=54811||54813<=e&&e<=54839||54841<=e&&e<=54867||54869<=e&&e<=54895||54897<=e&&e<=54923||54925<=e&&e<=54951||54953<=e&&e<=54979||54981<=e&&e<=55007||55009<=e&&e<=55035||55037<=e&&e<=55063||55065<=e&&e<=55091||55093<=e&&e<=55119||55121<=e&&e<=55147||55149<=e&&e<=55175||55177<=e&&e<=55203?B:e==9757||e==9977||9994<=e&&e<=9997||e==127877||127938<=e&&e<=127940||e==127943||127946<=e&&e<=127948||128066<=e&&e<=128067||128070<=e&&e<=128080||e==128110||128112<=e&&e<=128120||e==128124||128129<=e&&e<=128131||128133<=e&&e<=128135||e==128170||128372<=e&&e<=128373||e==128378||e==128400||128405<=e&&e<=128406||128581<=e&&e<=128583||128587<=e&&e<=128591||e==128675||128692<=e&&e<=128694||e==128704||e==128716||129304<=e&&e<=129308||129310<=e&&e<=129311||e==129318||129328<=e&&e<=129337||129341<=e&&e<=129342||129489<=e&&e<=129501?w:127995<=e&&e<=127999?h:e==8205?N:e==9792||e==9794||9877<=e&&e<=9878||e==9992||e==10084||e==127752||e==127806||e==127859||e==127891||e==127908||e==127912||e==127979||e==127981||e==128139||128187<=e&&e<=128188||e==128295||e==128300||e==128488||e==128640||e==128658?G:128102<=e&&e<=128105?T:E}return this}n.exports&&(n.exports=t)})(Br);var Ra=Br.exports;const Ma=hr(Ra),La=n=>Sn.includes(Kt(n))||ua.includes(Kt(n)),Pa=n=>Oe===n,Ha=(n,t)=>{if(t.length===0)return!1;const r=new Array,a=t[t.length-1],i=yt(a),l=Ce(n),s=Ce(a);for(let x=0;x<s.length;x++)if((i[x]==="correct"||i[x]==="present")&&r.push(s[x]),i[x]==="correct"&&l[x]!==s[x])return ga(s[x],x+1);let p;for(const x of l)p=r.indexOf(x),p!==-1&&r.splice(p,1);return r.length>0?Aa(r[0]):!1},Ce=n=>new Ma().splitGraphemes(n),Yt=n=>Ce(n).length,Kt=n=>({npm_package_dependencies_redux_persist:"^6.0.0",npm_package_dependencies_chartjs_plugin_zoom:"^2.0.1",npm_package_dependencies_react_svg:"^16.1.34",npm_package_dependencies_pinia:"^2.2.2",USER:"ploi",SSH_CLIENT:"94.237.42.145 57330 1122",npm_package_dependencies_react_toastify:"^10.0.5",npm_package_dependencies_autoprefixer:"^10.4.19",npm_package_devDependencies_jquery:"^3.7.1",npm_package_devDependencies_jest:"^29.7.0",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.19 npm/? node/v20.11.0 linux x64",npm_package_devDependencies__fortawesome_fontawesome_free:"^6.5.2",npm_config_bin_links:"true",XDG_SESSION_TYPE:"tty",npm_node_execpath:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_dependencies_moment_duration_format:"^2.3.2",npm_package_dependencies__inertiajs_vue3:"^1.1.0",npm_package_dependencies__headlessui_react:"^1.5.0",npm_package_devDependencies_vite:"^4.2.1",npm_package_devDependencies_lodash:"^4.17.21",npm_config_init_version:"1.0.0",SHLVL:"2",MOTD_SHOWN:"pam",HOME:"/home/ploi",OLDPWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_select2:"^4.1.0-rc.0",npm_package_dependencies_chart_js:"^4.4.2",npm_package_devDependencies_sass:"^1.77.4",NVM_BIN:"/home/ploi/.nvm/versions/node/v20.11.0/bin",NVM_INC:"/home/ploi/.nvm/versions/node/v20.11.0/include/node",npm_package_dependencies_underscore:"^1.13.6",npm_package_dependencies_grapheme_splitter:"^1.0.4",npm_package_dependencies_framer_motion:"^11.1.4",npm_config_init_license:"MIT",YARN_WRAP_OUTPUT:"false",npm_package_dependencies_ua_parser_js:"^2.0.0-beta.3",npm_package_dependencies__p5_wrapper_react:"^4.4.2",npm_config_version_tag_prefix:"v",npm_package_dependencies_redux_thunk:"^3.1.0",npm_package_dependencies_lottie_react:"^2.4.0",npm_package_devDependencies_resolve_url_loader:"^5.0.0",DBUS_SESSION_BUS_ADDRESS:"unix:path=/run/user/1000/bus",npm_package_dependencies_react_simple_keyboard:"^3.7.119",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_vite_plugin_imagemin:"^0.6.1",npm_package_devDependencies_react_timer_hook:"^3.0.7",npm_package_description:"- php 7+ - MySQL server 5.7 - DB default char set - utf8mb4 - DB default collation - utf8mb4_german2_ci - DB server config example located in ./mysql/mysql.cnf",npm_package_dependencies_recaptcha_v3:"^1.10.0",npm_package_dependencies_react_router_dom:"^6.22.3",npm_package_dependencies_howler:"^2.2.4",npm_package_dependencies__fortawesome_free_solid_svg_icons:"^6.5.2",npm_package_devDependencies_typescript:"^5.4.5",NVM_DIR:"/home/ploi/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies__types_react_dom:"^17.0.14",npm_package_devDependencies_ts_loader:"^9.5.1",npm_package_scripts_dev:"vite",LOGNAME:"ploi",npm_package_dependencies__vueuse_core:"^10.10.0",npm_package_devDependencies__vitejs_plugin_react:"^4.3.1",_:"/usr/bin/yarn",npm_package_dependencies__tinymce_tinymce_vue:"^5",npm_package_dependencies__emotion_react:"^11.11.4",npm_package_scripts_jest:"jest --maxWorkers=2",npm_package_private:"true",XDG_SESSION_CLASS:"user",npm_package_dependencies_vue3_draggable:"^2.0.9",npm_package_devDependencies_vue:"*",npm_config_registry:"https://registry.yarnpkg.com",XDG_SESSION_ID:"228927",npm_package_dependencies_vue3_toastify:"^0.2.1",npm_package_dependencies_vue_confetti_explosion:"^1.0.2",npm_package_dependencies_cross_fetch:"^4.0.0",npm_package_devDependencies__vitejs_plugin_vue:"^5.0.5",npm_config_ignore_scripts:"",npm_package_dependencies__fortawesome_react_fontawesome:"^0.2.0",PATH:"/tmp/yarn--1732115537184-0.16060099863149424:/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159/node_modules/.bin:/home/ploi/.config/yarn/link/node_modules/.bin:/home/ploi/.yarn/bin:/home/ploi/.nvm/versions/node/v20.11.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_name:"",npm_package_devDependencies_jspdf:"^2.5.1",XDG_RUNTIME_DIR:"/run/user/1000",npm_package_dependencies_rollup_plugin_visualizer:"^5.12.0",npm_package_dependencies_react_redux:"^9.1.1",npm_package_devDependencies_standard:"^17.1.0",LANG:"en_US.UTF-8",npm_package_dependencies_use_sound:"^4.0.1",npm_package_dependencies_redux:"^5.0.1",npm_package_dependencies_react_dom:"^18.0.0",npm_package_devDependencies_ts_node_dev:"^2.0.0",npm_lifecycle_script:"vite build",npm_package_dependencies_vuejs_paginate_next:"^1.0.2",npm_package_dependencies_ts_node:"^10.9.2",npm_package_devDependencies_dotenv:"^16.4.5",DEBIAN_FRONTEND:"noninteractive",npm_package_dependencies_comlink:"^4.4.1",npm_config_version_git_message:"v%s",SHELL:"/bin/bash",npm_lifecycle_event:"build",npm_package_version:"",npm_package_devDependencies__types_react:"^17.0.43",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["run","build"]}',npm_package_dependencies__heroicons_react:"^1.0.6",npm_package_scripts_build:"vite build",npm_package_dependencies_resumablejs:"^1.1.0",npm_package_dependencies_react_tailwindcss_select:"^1.8.5",npm_package_dependencies_vue_chartjs:"^5.3.1",npm_package_dependencies__vueform_multiselect:"^2.6.7",npm_package_dependencies__ckeditor_ckeditor5_build_classic:"*",npm_package_devDependencies_sass_loader:"^14.2.1",npm_package_devDependencies_jest_puppeteer:"^10.0.1",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",npm_package_dependencies_simple_undo:"^1.0.2",npm_package_dependencies_classnames:"^2.5.1",npm_package_dependencies__fingerprintjs_fingerprintjs:"^4.5.0",npm_config_strict_ssl:"true",npm_package_dependencies__mui_icons_material:"^5.16.6",npm_package_dependencies__fortawesome_free_regular_svg_icons:"^6.5.2",npm_package_devDependencies_laravel_vite_plugin:"^0.8.1",PWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_execpath:"/usr/lib/node_modules/yarn/bin/yarn.js",npm_package_dependencies__emotion_styled:"^11.11.5",SSH_CONNECTION:"94.237.42.145 57330 167.235.222.202 1122",NVM_CD_FLAGS:"",npm_package_dependencies_react_countdown:"^2.3.2",npm_package_devDependencies_axios:"^1.7.2",npm_package_devDependencies__vue_compiler_sfc:"*",npm_package_dependencies_styled_components:"^6.1.11",npm_package_dependencies_mitt:"^3.0.1",npm_package_devDependencies_popper_js:"^1.16.1",npm_package_devDependencies_cross_env:"^7.0.3",npm_package_devDependencies__mui_material:"^5.15.17",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_devDependencies_pusher_js:"^8.4.0-rc2",npm_package_dependencies_web_vitals:"^4.1.0",npm_package_dependencies_tailwindcss:"^3.4.4",npm_package_dependencies_primevue:"^3.52.0",npm_package_dependencies__fortawesome_fontawesome_svg_core:"^6.5.2",npm_package_devDependencies_seedrandom:"^3.0.5",npm_package_devDependencies__types_ua_parser_js:"^0.7.39",INIT_CWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_react:"^18.0.0",npm_package_devDependencies_hyphenopoly:"^5.3.0",NODE_ENV:"production"}).REACT_APP_LOCALE_STRING?n.toLocaleLowerCase({npm_package_dependencies_redux_persist:"^6.0.0",npm_package_dependencies_chartjs_plugin_zoom:"^2.0.1",npm_package_dependencies_react_svg:"^16.1.34",npm_package_dependencies_pinia:"^2.2.2",USER:"ploi",SSH_CLIENT:"94.237.42.145 57330 1122",npm_package_dependencies_react_toastify:"^10.0.5",npm_package_dependencies_autoprefixer:"^10.4.19",npm_package_devDependencies_jquery:"^3.7.1",npm_package_devDependencies_jest:"^29.7.0",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.19 npm/? node/v20.11.0 linux x64",npm_package_devDependencies__fortawesome_fontawesome_free:"^6.5.2",npm_config_bin_links:"true",XDG_SESSION_TYPE:"tty",npm_node_execpath:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_dependencies_moment_duration_format:"^2.3.2",npm_package_dependencies__inertiajs_vue3:"^1.1.0",npm_package_dependencies__headlessui_react:"^1.5.0",npm_package_devDependencies_vite:"^4.2.1",npm_package_devDependencies_lodash:"^4.17.21",npm_config_init_version:"1.0.0",SHLVL:"2",MOTD_SHOWN:"pam",HOME:"/home/ploi",OLDPWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_select2:"^4.1.0-rc.0",npm_package_dependencies_chart_js:"^4.4.2",npm_package_devDependencies_sass:"^1.77.4",NVM_BIN:"/home/ploi/.nvm/versions/node/v20.11.0/bin",NVM_INC:"/home/ploi/.nvm/versions/node/v20.11.0/include/node",npm_package_dependencies_underscore:"^1.13.6",npm_package_dependencies_grapheme_splitter:"^1.0.4",npm_package_dependencies_framer_motion:"^11.1.4",npm_config_init_license:"MIT",YARN_WRAP_OUTPUT:"false",npm_package_dependencies_ua_parser_js:"^2.0.0-beta.3",npm_package_dependencies__p5_wrapper_react:"^4.4.2",npm_config_version_tag_prefix:"v",npm_package_dependencies_redux_thunk:"^3.1.0",npm_package_dependencies_lottie_react:"^2.4.0",npm_package_devDependencies_resolve_url_loader:"^5.0.0",DBUS_SESSION_BUS_ADDRESS:"unix:path=/run/user/1000/bus",npm_package_dependencies_react_simple_keyboard:"^3.7.119",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_vite_plugin_imagemin:"^0.6.1",npm_package_devDependencies_react_timer_hook:"^3.0.7",npm_package_description:"- php 7+ - MySQL server 5.7 - DB default char set - utf8mb4 - DB default collation - utf8mb4_german2_ci - DB server config example located in ./mysql/mysql.cnf",npm_package_dependencies_recaptcha_v3:"^1.10.0",npm_package_dependencies_react_router_dom:"^6.22.3",npm_package_dependencies_howler:"^2.2.4",npm_package_dependencies__fortawesome_free_solid_svg_icons:"^6.5.2",npm_package_devDependencies_typescript:"^5.4.5",NVM_DIR:"/home/ploi/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies__types_react_dom:"^17.0.14",npm_package_devDependencies_ts_loader:"^9.5.1",npm_package_scripts_dev:"vite",LOGNAME:"ploi",npm_package_dependencies__vueuse_core:"^10.10.0",npm_package_devDependencies__vitejs_plugin_react:"^4.3.1",_:"/usr/bin/yarn",npm_package_dependencies__tinymce_tinymce_vue:"^5",npm_package_dependencies__emotion_react:"^11.11.4",npm_package_scripts_jest:"jest --maxWorkers=2",npm_package_private:"true",XDG_SESSION_CLASS:"user",npm_package_dependencies_vue3_draggable:"^2.0.9",npm_package_devDependencies_vue:"*",npm_config_registry:"https://registry.yarnpkg.com",XDG_SESSION_ID:"228927",npm_package_dependencies_vue3_toastify:"^0.2.1",npm_package_dependencies_vue_confetti_explosion:"^1.0.2",npm_package_dependencies_cross_fetch:"^4.0.0",npm_package_devDependencies__vitejs_plugin_vue:"^5.0.5",npm_config_ignore_scripts:"",npm_package_dependencies__fortawesome_react_fontawesome:"^0.2.0",PATH:"/tmp/yarn--1732115537184-0.16060099863149424:/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159/node_modules/.bin:/home/ploi/.config/yarn/link/node_modules/.bin:/home/ploi/.yarn/bin:/home/ploi/.nvm/versions/node/v20.11.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_name:"",npm_package_devDependencies_jspdf:"^2.5.1",XDG_RUNTIME_DIR:"/run/user/1000",npm_package_dependencies_rollup_plugin_visualizer:"^5.12.0",npm_package_dependencies_react_redux:"^9.1.1",npm_package_devDependencies_standard:"^17.1.0",LANG:"en_US.UTF-8",npm_package_dependencies_use_sound:"^4.0.1",npm_package_dependencies_redux:"^5.0.1",npm_package_dependencies_react_dom:"^18.0.0",npm_package_devDependencies_ts_node_dev:"^2.0.0",npm_lifecycle_script:"vite build",npm_package_dependencies_vuejs_paginate_next:"^1.0.2",npm_package_dependencies_ts_node:"^10.9.2",npm_package_devDependencies_dotenv:"^16.4.5",DEBIAN_FRONTEND:"noninteractive",npm_package_dependencies_comlink:"^4.4.1",npm_config_version_git_message:"v%s",SHELL:"/bin/bash",npm_lifecycle_event:"build",npm_package_version:"",npm_package_devDependencies__types_react:"^17.0.43",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["run","build"]}',npm_package_dependencies__heroicons_react:"^1.0.6",npm_package_scripts_build:"vite build",npm_package_dependencies_resumablejs:"^1.1.0",npm_package_dependencies_react_tailwindcss_select:"^1.8.5",npm_package_dependencies_vue_chartjs:"^5.3.1",npm_package_dependencies__vueform_multiselect:"^2.6.7",npm_package_dependencies__ckeditor_ckeditor5_build_classic:"*",npm_package_devDependencies_sass_loader:"^14.2.1",npm_package_devDependencies_jest_puppeteer:"^10.0.1",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",npm_package_dependencies_simple_undo:"^1.0.2",npm_package_dependencies_classnames:"^2.5.1",npm_package_dependencies__fingerprintjs_fingerprintjs:"^4.5.0",npm_config_strict_ssl:"true",npm_package_dependencies__mui_icons_material:"^5.16.6",npm_package_dependencies__fortawesome_free_regular_svg_icons:"^6.5.2",npm_package_devDependencies_laravel_vite_plugin:"^0.8.1",PWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_execpath:"/usr/lib/node_modules/yarn/bin/yarn.js",npm_package_dependencies__emotion_styled:"^11.11.5",SSH_CONNECTION:"94.237.42.145 57330 167.235.222.202 1122",NVM_CD_FLAGS:"",npm_package_dependencies_react_countdown:"^2.3.2",npm_package_devDependencies_axios:"^1.7.2",npm_package_devDependencies__vue_compiler_sfc:"*",npm_package_dependencies_styled_components:"^6.1.11",npm_package_dependencies_mitt:"^3.0.1",npm_package_devDependencies_popper_js:"^1.16.1",npm_package_devDependencies_cross_env:"^7.0.3",npm_package_devDependencies__mui_material:"^5.15.17",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_devDependencies_pusher_js:"^8.4.0-rc2",npm_package_dependencies_web_vitals:"^4.1.0",npm_package_dependencies_tailwindcss:"^3.4.4",npm_package_dependencies_primevue:"^3.52.0",npm_package_dependencies__fortawesome_fontawesome_svg_core:"^6.5.2",npm_package_devDependencies_seedrandom:"^3.0.5",npm_package_devDependencies__types_ua_parser_js:"^0.7.39",INIT_CWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_react:"^18.0.0",npm_package_devDependencies_hyphenopoly:"^5.3.0",NODE_ENV:"production"}.REACT_APP_LOCALE_STRING):n.toLowerCase(),$a=n=>({npm_package_dependencies_redux_persist:"^6.0.0",npm_package_dependencies_chartjs_plugin_zoom:"^2.0.1",npm_package_dependencies_react_svg:"^16.1.34",npm_package_dependencies_pinia:"^2.2.2",USER:"ploi",SSH_CLIENT:"94.237.42.145 57330 1122",npm_package_dependencies_react_toastify:"^10.0.5",npm_package_dependencies_autoprefixer:"^10.4.19",npm_package_devDependencies_jquery:"^3.7.1",npm_package_devDependencies_jest:"^29.7.0",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.19 npm/? node/v20.11.0 linux x64",npm_package_devDependencies__fortawesome_fontawesome_free:"^6.5.2",npm_config_bin_links:"true",XDG_SESSION_TYPE:"tty",npm_node_execpath:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_dependencies_moment_duration_format:"^2.3.2",npm_package_dependencies__inertiajs_vue3:"^1.1.0",npm_package_dependencies__headlessui_react:"^1.5.0",npm_package_devDependencies_vite:"^4.2.1",npm_package_devDependencies_lodash:"^4.17.21",npm_config_init_version:"1.0.0",SHLVL:"2",MOTD_SHOWN:"pam",HOME:"/home/ploi",OLDPWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_select2:"^4.1.0-rc.0",npm_package_dependencies_chart_js:"^4.4.2",npm_package_devDependencies_sass:"^1.77.4",NVM_BIN:"/home/ploi/.nvm/versions/node/v20.11.0/bin",NVM_INC:"/home/ploi/.nvm/versions/node/v20.11.0/include/node",npm_package_dependencies_underscore:"^1.13.6",npm_package_dependencies_grapheme_splitter:"^1.0.4",npm_package_dependencies_framer_motion:"^11.1.4",npm_config_init_license:"MIT",YARN_WRAP_OUTPUT:"false",npm_package_dependencies_ua_parser_js:"^2.0.0-beta.3",npm_package_dependencies__p5_wrapper_react:"^4.4.2",npm_config_version_tag_prefix:"v",npm_package_dependencies_redux_thunk:"^3.1.0",npm_package_dependencies_lottie_react:"^2.4.0",npm_package_devDependencies_resolve_url_loader:"^5.0.0",DBUS_SESSION_BUS_ADDRESS:"unix:path=/run/user/1000/bus",npm_package_dependencies_react_simple_keyboard:"^3.7.119",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_vite_plugin_imagemin:"^0.6.1",npm_package_devDependencies_react_timer_hook:"^3.0.7",npm_package_description:"- php 7+ - MySQL server 5.7 - DB default char set - utf8mb4 - DB default collation - utf8mb4_german2_ci - DB server config example located in ./mysql/mysql.cnf",npm_package_dependencies_recaptcha_v3:"^1.10.0",npm_package_dependencies_react_router_dom:"^6.22.3",npm_package_dependencies_howler:"^2.2.4",npm_package_dependencies__fortawesome_free_solid_svg_icons:"^6.5.2",npm_package_devDependencies_typescript:"^5.4.5",NVM_DIR:"/home/ploi/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies__types_react_dom:"^17.0.14",npm_package_devDependencies_ts_loader:"^9.5.1",npm_package_scripts_dev:"vite",LOGNAME:"ploi",npm_package_dependencies__vueuse_core:"^10.10.0",npm_package_devDependencies__vitejs_plugin_react:"^4.3.1",_:"/usr/bin/yarn",npm_package_dependencies__tinymce_tinymce_vue:"^5",npm_package_dependencies__emotion_react:"^11.11.4",npm_package_scripts_jest:"jest --maxWorkers=2",npm_package_private:"true",XDG_SESSION_CLASS:"user",npm_package_dependencies_vue3_draggable:"^2.0.9",npm_package_devDependencies_vue:"*",npm_config_registry:"https://registry.yarnpkg.com",XDG_SESSION_ID:"228927",npm_package_dependencies_vue3_toastify:"^0.2.1",npm_package_dependencies_vue_confetti_explosion:"^1.0.2",npm_package_dependencies_cross_fetch:"^4.0.0",npm_package_devDependencies__vitejs_plugin_vue:"^5.0.5",npm_config_ignore_scripts:"",npm_package_dependencies__fortawesome_react_fontawesome:"^0.2.0",PATH:"/tmp/yarn--1732115537184-0.16060099863149424:/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159/node_modules/.bin:/home/ploi/.config/yarn/link/node_modules/.bin:/home/ploi/.yarn/bin:/home/ploi/.nvm/versions/node/v20.11.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_name:"",npm_package_devDependencies_jspdf:"^2.5.1",XDG_RUNTIME_DIR:"/run/user/1000",npm_package_dependencies_rollup_plugin_visualizer:"^5.12.0",npm_package_dependencies_react_redux:"^9.1.1",npm_package_devDependencies_standard:"^17.1.0",LANG:"en_US.UTF-8",npm_package_dependencies_use_sound:"^4.0.1",npm_package_dependencies_redux:"^5.0.1",npm_package_dependencies_react_dom:"^18.0.0",npm_package_devDependencies_ts_node_dev:"^2.0.0",npm_lifecycle_script:"vite build",npm_package_dependencies_vuejs_paginate_next:"^1.0.2",npm_package_dependencies_ts_node:"^10.9.2",npm_package_devDependencies_dotenv:"^16.4.5",DEBIAN_FRONTEND:"noninteractive",npm_package_dependencies_comlink:"^4.4.1",npm_config_version_git_message:"v%s",SHELL:"/bin/bash",npm_lifecycle_event:"build",npm_package_version:"",npm_package_devDependencies__types_react:"^17.0.43",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["run","build"]}',npm_package_dependencies__heroicons_react:"^1.0.6",npm_package_scripts_build:"vite build",npm_package_dependencies_resumablejs:"^1.1.0",npm_package_dependencies_react_tailwindcss_select:"^1.8.5",npm_package_dependencies_vue_chartjs:"^5.3.1",npm_package_dependencies__vueform_multiselect:"^2.6.7",npm_package_dependencies__ckeditor_ckeditor5_build_classic:"*",npm_package_devDependencies_sass_loader:"^14.2.1",npm_package_devDependencies_jest_puppeteer:"^10.0.1",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",npm_package_dependencies_simple_undo:"^1.0.2",npm_package_dependencies_classnames:"^2.5.1",npm_package_dependencies__fingerprintjs_fingerprintjs:"^4.5.0",npm_config_strict_ssl:"true",npm_package_dependencies__mui_icons_material:"^5.16.6",npm_package_dependencies__fortawesome_free_regular_svg_icons:"^6.5.2",npm_package_devDependencies_laravel_vite_plugin:"^0.8.1",PWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_execpath:"/usr/lib/node_modules/yarn/bin/yarn.js",npm_package_dependencies__emotion_styled:"^11.11.5",SSH_CONNECTION:"94.237.42.145 57330 167.235.222.202 1122",NVM_CD_FLAGS:"",npm_package_dependencies_react_countdown:"^2.3.2",npm_package_devDependencies_axios:"^1.7.2",npm_package_devDependencies__vue_compiler_sfc:"*",npm_package_dependencies_styled_components:"^6.1.11",npm_package_dependencies_mitt:"^3.0.1",npm_package_devDependencies_popper_js:"^1.16.1",npm_package_devDependencies_cross_env:"^7.0.3",npm_package_devDependencies__mui_material:"^5.15.17",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_devDependencies_pusher_js:"^8.4.0-rc2",npm_package_dependencies_web_vitals:"^4.1.0",npm_package_dependencies_tailwindcss:"^3.4.4",npm_package_dependencies_primevue:"^3.52.0",npm_package_dependencies__fortawesome_fontawesome_svg_core:"^6.5.2",npm_package_devDependencies_seedrandom:"^3.0.5",npm_package_devDependencies__types_ua_parser_js:"^0.7.39",INIT_CWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_react:"^18.0.0",npm_package_devDependencies_hyphenopoly:"^5.3.0",NODE_ENV:"production"}).REACT_APP_LOCALE_STRING?n.toLocaleUpperCase({npm_package_dependencies_redux_persist:"^6.0.0",npm_package_dependencies_chartjs_plugin_zoom:"^2.0.1",npm_package_dependencies_react_svg:"^16.1.34",npm_package_dependencies_pinia:"^2.2.2",USER:"ploi",SSH_CLIENT:"94.237.42.145 57330 1122",npm_package_dependencies_react_toastify:"^10.0.5",npm_package_dependencies_autoprefixer:"^10.4.19",npm_package_devDependencies_jquery:"^3.7.1",npm_package_devDependencies_jest:"^29.7.0",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.19 npm/? node/v20.11.0 linux x64",npm_package_devDependencies__fortawesome_fontawesome_free:"^6.5.2",npm_config_bin_links:"true",XDG_SESSION_TYPE:"tty",npm_node_execpath:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_dependencies_moment_duration_format:"^2.3.2",npm_package_dependencies__inertiajs_vue3:"^1.1.0",npm_package_dependencies__headlessui_react:"^1.5.0",npm_package_devDependencies_vite:"^4.2.1",npm_package_devDependencies_lodash:"^4.17.21",npm_config_init_version:"1.0.0",SHLVL:"2",MOTD_SHOWN:"pam",HOME:"/home/ploi",OLDPWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_select2:"^4.1.0-rc.0",npm_package_dependencies_chart_js:"^4.4.2",npm_package_devDependencies_sass:"^1.77.4",NVM_BIN:"/home/ploi/.nvm/versions/node/v20.11.0/bin",NVM_INC:"/home/ploi/.nvm/versions/node/v20.11.0/include/node",npm_package_dependencies_underscore:"^1.13.6",npm_package_dependencies_grapheme_splitter:"^1.0.4",npm_package_dependencies_framer_motion:"^11.1.4",npm_config_init_license:"MIT",YARN_WRAP_OUTPUT:"false",npm_package_dependencies_ua_parser_js:"^2.0.0-beta.3",npm_package_dependencies__p5_wrapper_react:"^4.4.2",npm_config_version_tag_prefix:"v",npm_package_dependencies_redux_thunk:"^3.1.0",npm_package_dependencies_lottie_react:"^2.4.0",npm_package_devDependencies_resolve_url_loader:"^5.0.0",DBUS_SESSION_BUS_ADDRESS:"unix:path=/run/user/1000/bus",npm_package_dependencies_react_simple_keyboard:"^3.7.119",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_vite_plugin_imagemin:"^0.6.1",npm_package_devDependencies_react_timer_hook:"^3.0.7",npm_package_description:"- php 7+ - MySQL server 5.7 - DB default char set - utf8mb4 - DB default collation - utf8mb4_german2_ci - DB server config example located in ./mysql/mysql.cnf",npm_package_dependencies_recaptcha_v3:"^1.10.0",npm_package_dependencies_react_router_dom:"^6.22.3",npm_package_dependencies_howler:"^2.2.4",npm_package_dependencies__fortawesome_free_solid_svg_icons:"^6.5.2",npm_package_devDependencies_typescript:"^5.4.5",NVM_DIR:"/home/ploi/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies__types_react_dom:"^17.0.14",npm_package_devDependencies_ts_loader:"^9.5.1",npm_package_scripts_dev:"vite",LOGNAME:"ploi",npm_package_dependencies__vueuse_core:"^10.10.0",npm_package_devDependencies__vitejs_plugin_react:"^4.3.1",_:"/usr/bin/yarn",npm_package_dependencies__tinymce_tinymce_vue:"^5",npm_package_dependencies__emotion_react:"^11.11.4",npm_package_scripts_jest:"jest --maxWorkers=2",npm_package_private:"true",XDG_SESSION_CLASS:"user",npm_package_dependencies_vue3_draggable:"^2.0.9",npm_package_devDependencies_vue:"*",npm_config_registry:"https://registry.yarnpkg.com",XDG_SESSION_ID:"228927",npm_package_dependencies_vue3_toastify:"^0.2.1",npm_package_dependencies_vue_confetti_explosion:"^1.0.2",npm_package_dependencies_cross_fetch:"^4.0.0",npm_package_devDependencies__vitejs_plugin_vue:"^5.0.5",npm_config_ignore_scripts:"",npm_package_dependencies__fortawesome_react_fontawesome:"^0.2.0",PATH:"/tmp/yarn--1732115537184-0.16060099863149424:/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159/node_modules/.bin:/home/ploi/.config/yarn/link/node_modules/.bin:/home/ploi/.yarn/bin:/home/ploi/.nvm/versions/node/v20.11.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/lib/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin/node_modules/npm/bin/node-gyp-bin:/home/ploi/.nvm/versions/node/v20.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/home/ploi/.nvm/versions/node/v20.11.0/bin/node",npm_package_name:"",npm_package_devDependencies_jspdf:"^2.5.1",XDG_RUNTIME_DIR:"/run/user/1000",npm_package_dependencies_rollup_plugin_visualizer:"^5.12.0",npm_package_dependencies_react_redux:"^9.1.1",npm_package_devDependencies_standard:"^17.1.0",LANG:"en_US.UTF-8",npm_package_dependencies_use_sound:"^4.0.1",npm_package_dependencies_redux:"^5.0.1",npm_package_dependencies_react_dom:"^18.0.0",npm_package_devDependencies_ts_node_dev:"^2.0.0",npm_lifecycle_script:"vite build",npm_package_dependencies_vuejs_paginate_next:"^1.0.2",npm_package_dependencies_ts_node:"^10.9.2",npm_package_devDependencies_dotenv:"^16.4.5",DEBIAN_FRONTEND:"noninteractive",npm_package_dependencies_comlink:"^4.4.1",npm_config_version_git_message:"v%s",SHELL:"/bin/bash",npm_lifecycle_event:"build",npm_package_version:"",npm_package_devDependencies__types_react:"^17.0.43",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["run","build"]}',npm_package_dependencies__heroicons_react:"^1.0.6",npm_package_scripts_build:"vite build",npm_package_dependencies_resumablejs:"^1.1.0",npm_package_dependencies_react_tailwindcss_select:"^1.8.5",npm_package_dependencies_vue_chartjs:"^5.3.1",npm_package_dependencies__vueform_multiselect:"^2.6.7",npm_package_dependencies__ckeditor_ckeditor5_build_classic:"*",npm_package_devDependencies_sass_loader:"^14.2.1",npm_package_devDependencies_jest_puppeteer:"^10.0.1",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",npm_package_dependencies_simple_undo:"^1.0.2",npm_package_dependencies_classnames:"^2.5.1",npm_package_dependencies__fingerprintjs_fingerprintjs:"^4.5.0",npm_config_strict_ssl:"true",npm_package_dependencies__mui_icons_material:"^5.16.6",npm_package_dependencies__fortawesome_free_regular_svg_icons:"^6.5.2",npm_package_devDependencies_laravel_vite_plugin:"^0.8.1",PWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_execpath:"/usr/lib/node_modules/yarn/bin/yarn.js",npm_package_dependencies__emotion_styled:"^11.11.5",SSH_CONNECTION:"94.237.42.145 57330 167.235.222.202 1122",NVM_CD_FLAGS:"",npm_package_dependencies_react_countdown:"^2.3.2",npm_package_devDependencies_axios:"^1.7.2",npm_package_devDependencies__vue_compiler_sfc:"*",npm_package_dependencies_styled_components:"^6.1.11",npm_package_dependencies_mitt:"^3.0.1",npm_package_devDependencies_popper_js:"^1.16.1",npm_package_devDependencies_cross_env:"^7.0.3",npm_package_devDependencies__mui_material:"^5.15.17",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_devDependencies_pusher_js:"^8.4.0-rc2",npm_package_dependencies_web_vitals:"^4.1.0",npm_package_dependencies_tailwindcss:"^3.4.4",npm_package_dependencies_primevue:"^3.52.0",npm_package_dependencies__fortawesome_fontawesome_svg_core:"^6.5.2",npm_package_devDependencies_seedrandom:"^3.0.5",npm_package_devDependencies__types_ua_parser_js:"^0.7.39",INIT_CWD:"/home/ploi/www.snappywords.com-deploy/www.snappywords.com/20112024_151159",npm_package_dependencies_react:"^18.0.0",npm_package_devDependencies_hyphenopoly:"^5.3.0",NODE_ENV:"production"}.REACT_APP_LOCALE_STRING):n.toUpperCase(),Ua=()=>{const n=new Date(new Date().getFullYear(),0).valueOf(),t=864e5,r=Sn.indexOf(he.game_of_today.toLowerCase()),a=(r+1)*t+n-t/24;return{solution:$a(Sn[r%Sn.length]),solutionIndex:r,tomorrow:a}},{solution:Oe,solutionIndex:Ga,tomorrow:Er}=Ua(),De=Oe.length,me=6,Va=2e3,mn=350,Wa=(De+1)*mn;var wr={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/(function(n){(function(){var t={}.hasOwnProperty;function r(){for(var l="",s=0;s<arguments.length;s++){var p=arguments[s];p&&(l=i(l,a(p)))}return l}function a(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return r.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var s="";for(var p in l)t.call(l,p)&&l[p]&&(s=i(s,p));return s}function i(l,s){return s?l?l+" "+s:l+s:l}n.exports?(r.default=r,n.exports=r):window.classNames=r})()})(wr);var za=wr.exports;const qe=hr(za),br="gameState"+he.date,mt="highContrast",Xa=n=>{localStorage.setItem(br,JSON.stringify(n))},qa=()=>{const n=localStorage.getItem(br);return n?JSON.parse(n):null},dr="gameStats"+he.date,Ya=n=>{localStorage.setItem(dr,JSON.stringify(n))},Ka=()=>{const n=localStorage.getItem(dr);return n?JSON.parse(n):null},Ja=n=>{n?localStorage.setItem(mt,"1"):localStorage.removeItem(mt)},St=()=>localStorage.getItem(mt)==="1",z=({value:n,status:t,isRevealing:r,isCompleted:a,isCurrent:i,position:l=0,onClick:s})=>{const p=n&&!a,x=r&&a,o=`${l*mn}ms`,m=St(),f=qe("lg:w-16 lg:h-16 w-12 h-12 border-solid border-2 flex items-center justify-center mx-0.5 text-4xl font-bold rounded dark:text-white",{"bg-white dark:bg-zinc-900 border-zinc-200 dark:border-zinc-600":!t,"border-black dark:border-zinc-100":n&&!t,"absent shadowed bg-zinc-400 dark:bg-zinc-700 text-white border-zinc-400 dark:border-zinc-700":t==="absent","correct shadowed bg-orange-500 text-white border-orange-500":t==="correct"&&m,"present shadowed bg-cyan-500 text-white border-cyan-500":t==="present"&&m,"correct shadowed bg-green-500 text-white border-green-500":t==="correct"&&!m,"present shadowed bg-yellow-500 text-white border-yellow-500":t==="present"&&!m,"cell-fill-animation":p,"cell-reveal":x,"shadow-3xl":i}),B=E=>{s&&s(l)};return _.jsx("div",{className:f,style:{animationDelay:o},onClick:B,children:_.jsx("div",{className:"letter-container",style:{animationDelay:o},children:n})})},Qa=({guess:n,isRevealing:t})=>{const r=yt(n),a=Ce(n);return _.jsx("div",{className:"flex justify-center mb-1",children:a.map((i,l)=>_.jsx(z,{value:i,status:r[l],position:l,isRevealing:t,isCompleted:!0},l))})},Za=({guess:n,className:t,currentPosition:r,onCurrentPosition:a})=>{const i=Ce(n),l=`current-row flex justify-center mb-1 ${t}`,s=p=>{a(p)};return _.jsx("div",{className:l,children:i.map((p,x)=>_.jsx(z,{value:p=="_"?"":p,position:x,isCurrent:x==r,onClick:s},x))})},ei=()=>{const n=Array.from(Array(De));return _.jsx("div",{className:"flex justify-center mb-1",children:n.map((t,r)=>_.jsx(z,{},r))})},ni=({guesses:n,currentGuess:t,isRevealing:r,currentRowClassName:a,currentPosition:i,onCurrentPosition:l})=>{const s=n.length<me-1?Array.from(Array(me-1-n.length)):[];return _.jsxs(_.Fragment,{children:[n.map((p,x)=>_.jsx(Qa,{guess:p,isRevealing:r&&n.length-1===x},x)),n.length<me&&_.jsx(Za,{guess:t,className:a,currentPosition:i,onCurrentPosition:l}),s.map((p,x)=>_.jsx(ei,{},x))]})},nn=({children:n,status:t,width:r=40,value:a,onClick:i,isRevealing:l})=>{const s=mn*De,p=St(),x=qe("flex items-center justify-center rounded mx-0.5 text-xs font-bold cursor-pointer select-none dark:text-white",{"transition ease-in-out":l,"bg-zinc-200 dark:bg-zinc-600 hover:bg-zinc-300 active:bg-zinc-400":!t,"bg-zinc-400 dark:bg-zinc-800 text-white":t==="absent","bg-orange-500 hover:bg-orange-600 active:bg-orange-700 text-white":t==="correct"&&p,"bg-cyan-500 hover:bg-cyan-600 active:bg-cyan-700 text-white":t==="present"&&p,"bg-green-500 hover:bg-green-600 active:bg-green-700 text-white":t==="correct"&&!p,"bg-yellow-500 hover:bg-yellow-600 active:bg-yellow-700 text-white":t==="present"&&!p}),o={transitionDelay:l?`${s}ms`:"unset",width:`${r}px`,height:"58px"},m=f=>{i(a),f.currentTarget.blur()};return _.jsx("button",{style:o,className:x,onClick:m,children:n||a})},ti=({onChar:n,onDelete:t,onEnter:r,guesses:a,isRevealing:i})=>{const l=ja(a),s=p=>{p==="ENTER"?r():p==="DELETE"?t():n(p)};return u.useEffect(()=>{const p=x=>{if(x.code==="Enter")r();else if(x.code==="Backspace")t();else{const o=x.key.toUpperCase();o.length===1&&o>="A"&&o<="Z"&&n(o)}};return window.addEventListener("keyup",p),()=>{window.removeEventListener("keyup",p)}},[r,t,n]),_.jsxs("div",{children:[_.jsx("div",{className:"flex justify-center mb-1",children:["Q","W","E","R","T","Z","U","I","O","P"].map(p=>_.jsx(nn,{value:p,onClick:s,status:l[p],isRevealing:i},p))}),_.jsx("div",{className:"flex justify-center mb-1 sm:ml-4",children:["A","S","D","F","G","H","J","K","L"].map(p=>_.jsx(nn,{value:p,onClick:s,status:l[p],isRevealing:i},p))}),_.jsxs("div",{className:"flex justify-center",children:[_.jsx(nn,{width:65.4,value:"ENTER",onClick:s,children:ca}),["Y","X","C","V","B","N","M"].map(p=>_.jsx(nn,{value:p,onClick:s,status:l[p],isRevealing:i},p)),_.jsx(nn,{width:65.4,value:"DELETE",onClick:s,children:Ca})]})]})};var ri=Object.defineProperty,ai=(n,t,r)=>t in n?ri(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Qn=(n,t,r)=>(ai(n,typeof t!="symbol"?t+"":t,r),r);let ii=class{constructor(){Qn(this,"current",this.detect()),Qn(this,"handoffState","pending"),Qn(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},be=new ii,xe=(n,t)=>{be.isServer?u.useEffect(n,t):u.useLayoutEffect(n,t)};function de(n){let t=u.useRef(n);return xe(()=>{t.current=n},[n]),t}let P=function(n){let t=de(n);return S.useCallback((...r)=>t.current(...r),[t])};function Gn(n){typeof queueMicrotask=="function"?queueMicrotask(n):Promise.resolve().then(n).catch(t=>setTimeout(()=>{throw t}))}function Ue(){let n=[],t={addEventListener(r,a,i,l){return r.addEventListener(a,i,l),t.add(()=>r.removeEventListener(a,i,l))},requestAnimationFrame(...r){let a=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(a))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let a=setTimeout(...r);return t.add(()=>clearTimeout(a))},microTask(...r){let a={current:!0};return Gn(()=>{a.current&&r[0]()}),t.add(()=>{a.current=!1})},style(r,a,i){let l=r.style.getPropertyValue(a);return Object.assign(r.style,{[a]:i}),this.add(()=>{Object.assign(r.style,{[a]:l})})},group(r){let a=Ue();return r(a),this.add(()=>a.dispose())},add(r){return n.push(r),()=>{let a=n.indexOf(r);if(a>=0)for(let i of n.splice(a,1))i()}},dispose(){for(let r of n.splice(0))r()}};return t}function Tt(){let[n]=u.useState(Ue);return u.useEffect(()=>()=>n.dispose(),[n]),n}function si(){let n=typeof document>"u";return"useSyncExternalStore"in _n?(t=>t.useSyncExternalStore)(_n)(()=>()=>{},()=>!1,()=>!n):!1}function Je(){let n=si(),[t,r]=u.useState(be.isHandoffComplete);return t&&be.isHandoffComplete===!1&&r(!1),u.useEffect(()=>{t!==!0&&r(!0)},[t]),u.useEffect(()=>be.handoff(),[]),n?!1:t}var Jt;let Qe=(Jt=S.useId)!=null?Jt:function(){let n=Je(),[t,r]=S.useState(n?()=>be.nextId():null);return xe(()=>{t===null&&r(be.nextId())},[t]),t!=null?""+t:void 0};function X(n,t,...r){if(n in t){let i=t[n];return typeof i=="function"?i(...r):i}let a=new Error(`Tried to handle "${n}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,X),a}function kr(n){return be.isServer?null:n instanceof Node?n.ownerDocument:n!=null&&n.hasOwnProperty("current")&&n.current instanceof Node?n.current.ownerDocument:document}let ot=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(n=>`${n}:not([tabindex='-1'])`).join(",");var Me=(n=>(n[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n))(Me||{}),Fr=(n=>(n[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n))(Fr||{}),li=(n=>(n[n.Previous=-1]="Previous",n[n.Next=1]="Next",n))(li||{});function pi(n=document.body){return n==null?[]:Array.from(n.querySelectorAll(ot)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var yr=(n=>(n[n.Strict=0]="Strict",n[n.Loose=1]="Loose",n))(yr||{});function xi(n,t=0){var r;return n===((r=kr(n))==null?void 0:r.body)?!1:X(t,{0(){return n.matches(ot)},1(){let a=n;for(;a!==null;){if(a.matches(ot))return!0;a=a.parentElement}return!1}})}var ui=(n=>(n[n.Keyboard=0]="Keyboard",n[n.Mouse=1]="Mouse",n))(ui||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",n=>{n.metaKey||n.altKey||n.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",n=>{n.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:n.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function He(n){n==null||n.focus({preventScroll:!0})}let _i=["textarea","input"].join(",");function mi(n){var t,r;return(r=(t=n==null?void 0:n.matches)==null?void 0:t.call(n,_i))!=null?r:!1}function oi(n,t=r=>r){return n.slice().sort((r,a)=>{let i=t(r),l=t(a);if(i===null||l===null)return 0;let s=i.compareDocumentPosition(l);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Tn(n,t,{sorted:r=!0,relativeTo:a=null,skipElements:i=[]}={}){let l=Array.isArray(n)?n.length>0?n[0].ownerDocument:document:n.ownerDocument,s=Array.isArray(n)?r?oi(n):n:pi(n);i.length>0&&s.length>1&&(s=s.filter(E=>!i.includes(E))),a=a??l.activeElement;let p=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),x=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(a))-1;if(t&4)return Math.max(0,s.indexOf(a))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),o=t&32?{preventScroll:!0}:{},m=0,f=s.length,B;do{if(m>=f||m+f<=0)return 0;let E=x+m;if(t&16)E=(E+f)%f;else{if(E<0)return 3;if(E>=f)return 1}B=s[E],B==null||B.focus(o),m+=p}while(B!==l.activeElement);return t&6&&mi(B)&&B.select(),2}function Sr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function fi(){return/Android/gi.test(window.navigator.userAgent)}function gi(){return Sr()||fi()}function Dn(n,t,r){let a=de(t);u.useEffect(()=>{function i(l){a.current(l)}return document.addEventListener(n,i,r),()=>document.removeEventListener(n,i,r)},[n,r])}function Tr(n,t,r){let a=de(t);u.useEffect(()=>{function i(l){a.current(l)}return window.addEventListener(n,i,r),()=>window.removeEventListener(n,i,r)},[n,r])}function Ai(n,t,r=!0){let a=u.useRef(!1);u.useEffect(()=>{requestAnimationFrame(()=>{a.current=r})},[r]);function i(s,p){if(!a.current||s.defaultPrevented)return;let x=p(s);if(x===null||!x.getRootNode().contains(x)||!x.isConnected)return;let o=function m(f){return typeof f=="function"?m(f()):Array.isArray(f)||f instanceof Set?f:[f]}(n);for(let m of o){if(m===null)continue;let f=m instanceof HTMLElement?m:m.current;if(f!=null&&f.contains(x)||s.composed&&s.composedPath().includes(f))return}return!xi(x,yr.Loose)&&x.tabIndex!==-1&&s.preventDefault(),t(s,x)}let l=u.useRef(null);Dn("pointerdown",s=>{var p,x;a.current&&(l.current=((x=(p=s.composedPath)==null?void 0:p.call(s))==null?void 0:x[0])||s.target)},!0),Dn("mousedown",s=>{var p,x;a.current&&(l.current=((x=(p=s.composedPath)==null?void 0:p.call(s))==null?void 0:x[0])||s.target)},!0),Dn("click",s=>{gi()||l.current&&(i(s,()=>l.current),l.current=null)},!0),Dn("touchend",s=>i(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Tr("blur",s=>i(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function gn(...n){return u.useMemo(()=>kr(...n),[...n])}let Or=Symbol();function ci(n,t=!0){return Object.assign(n,{[Or]:t})}function oe(...n){let t=u.useRef(n);u.useEffect(()=>{t.current=n},[n]);let r=P(a=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(a):i.current=a)});return n.every(a=>a==null||(a==null?void 0:a[Or]))?void 0:r}function Ot(n,t){let r=u.useRef([]),a=P(n);u.useEffect(()=>{let i=[...r.current];for(let[l,s]of t.entries())if(r.current[l]!==s){let p=a(t,i);return r.current=t,p}},[a,...t])}function jn(...n){return Array.from(new Set(n.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Rn=(n=>(n[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n))(Rn||{}),Ne=(n=>(n[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n))(Ne||{});function ue({ourProps:n,theirProps:t,slot:r,defaultTag:a,features:i,visible:l=!0,name:s,mergeRefs:p}){p=p??Ci;let x=Nr(t,n);if(l)return Bn(x,r,a,s,p);let o=i??0;if(o&2){let{static:m=!1,...f}=x;if(m)return Bn(f,r,a,s,p)}if(o&1){let{unmount:m=!0,...f}=x;return X(m?0:1,{0(){return null},1(){return Bn({...f,hidden:!0,style:{display:"none"}},r,a,s,p)}})}return Bn(x,r,a,s,p)}function Bn(n,t={},r,a,i){let{as:l=r,children:s,refName:p="ref",...x}=Zn(n,["unmount","static"]),o=n.ref!==void 0?{[p]:n.ref}:{},m=typeof s=="function"?s(t):s;"className"in x&&x.className&&typeof x.className=="function"&&(x.className=x.className(t));let f={};if(t){let B=!1,E=[];for(let[D,w]of Object.entries(t))typeof w=="boolean"&&(B=!0),w===!0&&E.push(D);B&&(f["data-headlessui-state"]=E.join(" "))}if(l===u.Fragment&&Object.keys(Qt(x)).length>0){if(!u.isValidElement(m)||Array.isArray(m)&&m.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(x).map(w=>`  - ${w}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(w=>`  - ${w}`).join(`
`)].join(`
`));let B=m.props,E=typeof(B==null?void 0:B.className)=="function"?(...w)=>jn(B==null?void 0:B.className(...w),x.className):jn(B==null?void 0:B.className,x.className),D=E?{className:E}:{};return u.cloneElement(m,Object.assign({},Nr(m.props,Qt(Zn(x,["ref"]))),f,o,{ref:i(m.ref,o.ref)},D))}return u.createElement(l,Object.assign({},Zn(x,["ref"]),l!==u.Fragment&&o,l!==u.Fragment&&f),m)}function Ci(...n){return n.every(t=>t==null)?void 0:t=>{for(let r of n)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function Nr(...n){if(n.length===0)return{};if(n.length===1)return n[0];let t={},r={};for(let a of n)for(let i in a)i.startsWith("on")&&typeof a[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(a[i])):t[i]=a[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(a=>[a,void 0])));for(let a in r)Object.assign(t,{[a](i,...l){let s=r[a];for(let p of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;p(i,...l)}}});return t}function re(n){var t;return Object.assign(u.forwardRef(n),{displayName:(t=n.displayName)!=null?t:n.name})}function Qt(n){let t=Object.assign({},n);for(let r in t)t[r]===void 0&&delete t[r];return t}function Zn(n,t=[]){let r=Object.assign({},n);for(let a of t)a in r&&delete r[a];return r}let vi="div";var Mn=(n=>(n[n.None=1]="None",n[n.Focusable=2]="Focusable",n[n.Hidden=4]="Hidden",n))(Mn||{});function hi(n,t){var r;let{features:a=1,...i}=n,l={ref:t,"aria-hidden":(a&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(a&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return ue({ourProps:l,theirProps:i,slot:{},defaultTag:vi,name:"Hidden"})}let ft=re(hi),Nt=u.createContext(null);Nt.displayName="OpenClosedContext";var te=(n=>(n[n.Open=1]="Open",n[n.Closed=2]="Closed",n[n.Closing=4]="Closing",n[n.Opening=8]="Opening",n))(te||{});function It(){return u.useContext(Nt)}function Di({value:n,children:t}){return S.createElement(Nt.Provider,{value:n},t)}function Bi(n){function t(){document.readyState!=="loading"&&(n(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Se=[];Bi(()=>{function n(t){t.target instanceof HTMLElement&&t.target!==document.body&&Se[0]!==t.target&&(Se.unshift(t.target),Se=Se.filter(r=>r!=null&&r.isConnected),Se.splice(10))}window.addEventListener("click",n,{capture:!0}),window.addEventListener("mousedown",n,{capture:!0}),window.addEventListener("focus",n,{capture:!0}),document.body.addEventListener("click",n,{capture:!0}),document.body.addEventListener("mousedown",n,{capture:!0}),document.body.addEventListener("focus",n,{capture:!0})});function Ei(n){let t=n.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let a=(t==null?void 0:t.getAttribute("disabled"))==="";return a&&wi(r)?!1:a}function wi(n){if(!n)return!1;let t=n.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}var Ir=(n=>(n.Space=" ",n.Enter="Enter",n.Escape="Escape",n.Backspace="Backspace",n.Delete="Delete",n.ArrowLeft="ArrowLeft",n.ArrowUp="ArrowUp",n.ArrowRight="ArrowRight",n.ArrowDown="ArrowDown",n.Home="Home",n.End="End",n.PageUp="PageUp",n.PageDown="PageDown",n.Tab="Tab",n))(Ir||{});function jr(n,t,r,a){let i=de(r);u.useEffect(()=>{n=n??window;function l(s){i.current(s)}return n.addEventListener(t,l,a),()=>n.removeEventListener(t,l,a)},[n,t,a])}function An(){let n=u.useRef(!1);return xe(()=>(n.current=!0,()=>{n.current=!1}),[]),n}function Rr(n){let t=P(n),r=u.useRef(!1);u.useEffect(()=>(r.current=!1,()=>{r.current=!0,Gn(()=>{r.current&&t()})}),[t])}var un=(n=>(n[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n))(un||{});function bi(){let n=u.useRef(0);return Tr("keydown",t=>{t.key==="Tab"&&(n.current=t.shiftKey?1:0)},!0),n}function Mr(n){if(!n)return new Set;if(typeof n=="function")return new Set(n());let t=new Set;for(let r of n.current)r.current instanceof HTMLElement&&t.add(r.current);return t}let di="div";var Lr=(n=>(n[n.None=1]="None",n[n.InitialFocus=2]="InitialFocus",n[n.TabLock=4]="TabLock",n[n.FocusLock=8]="FocusLock",n[n.RestoreFocus=16]="RestoreFocus",n[n.All=30]="All",n))(Lr||{});function ki(n,t){let r=u.useRef(null),a=oe(r,t),{initialFocus:i,containers:l,features:s=30,...p}=n;Je()||(s=1);let x=gn(r);Si({ownerDocument:x},!!(s&16));let o=Ti({ownerDocument:x,container:r,initialFocus:i},!!(s&2));Oi({ownerDocument:x,container:r,containers:l,previousActiveElement:o},!!(s&8));let m=bi(),f=P(w=>{let h=r.current;h&&(N=>N())(()=>{X(m.current,{[un.Forwards]:()=>{Tn(h,Me.First,{skipElements:[w.relatedTarget]})},[un.Backwards]:()=>{Tn(h,Me.Last,{skipElements:[w.relatedTarget]})}})})}),B=Tt(),E=u.useRef(!1),D={ref:a,onKeyDown(w){w.key=="Tab"&&(E.current=!0,B.requestAnimationFrame(()=>{E.current=!1}))},onBlur(w){let h=Mr(l);r.current instanceof HTMLElement&&h.add(r.current);let N=w.relatedTarget;N instanceof HTMLElement&&N.dataset.headlessuiFocusGuard!=="true"&&(Pr(h,N)||(E.current?Tn(r.current,X(m.current,{[un.Forwards]:()=>Me.Next,[un.Backwards]:()=>Me.Previous})|Me.WrapAround,{relativeTo:w.target}):w.target instanceof HTMLElement&&He(w.target)))}};return S.createElement(S.Fragment,null,!!(s&4)&&S.createElement(ft,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:Mn.Focusable}),ue({ourProps:D,theirProps:p,defaultTag:di,name:"FocusTrap"}),!!(s&4)&&S.createElement(ft,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:Mn.Focusable}))}let Fi=re(ki),tn=Object.assign(Fi,{features:Lr});function yi(n=!0){let t=u.useRef(Se.slice());return Ot(([r],[a])=>{a===!0&&r===!1&&Gn(()=>{t.current.splice(0)}),a===!1&&r===!0&&(t.current=Se.slice())},[n,Se,t]),P(()=>{var r;return(r=t.current.find(a=>a!=null&&a.isConnected))!=null?r:null})}function Si({ownerDocument:n},t){let r=yi(t);Ot(()=>{t||(n==null?void 0:n.activeElement)===(n==null?void 0:n.body)&&He(r())},[t]),Rr(()=>{t&&He(r())})}function Ti({ownerDocument:n,container:t,initialFocus:r},a){let i=u.useRef(null),l=An();return Ot(()=>{if(!a)return;let s=t.current;s&&Gn(()=>{if(!l.current)return;let p=n==null?void 0:n.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===p){i.current=p;return}}else if(s.contains(p)){i.current=p;return}r!=null&&r.current?He(r.current):Tn(s,Me.First)===Fr.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=n==null?void 0:n.activeElement})},[a]),i}function Oi({ownerDocument:n,container:t,containers:r,previousActiveElement:a},i){let l=An();jr(n==null?void 0:n.defaultView,"focus",s=>{if(!i||!l.current)return;let p=Mr(r);t.current instanceof HTMLElement&&p.add(t.current);let x=a.current;if(!x)return;let o=s.target;o&&o instanceof HTMLElement?Pr(p,o)?(a.current=o,He(o)):(s.preventDefault(),s.stopPropagation(),He(x)):He(a.current)},!0)}function Pr(n,t){for(let r of n)if(r.contains(t))return!0;return!1}let Hr=u.createContext(!1);function Ni(){return u.useContext(Hr)}function gt(n){return S.createElement(Hr.Provider,{value:n.force},n.children)}function Ii(n){let t=Ni(),r=u.useContext($r),a=gn(n),[i,l]=u.useState(()=>{if(!t&&r!==null||be.isServer)return null;let s=a==null?void 0:a.getElementById("headlessui-portal-root");if(s)return s;if(a===null)return null;let p=a.createElement("div");return p.setAttribute("id","headlessui-portal-root"),a.body.appendChild(p)});return u.useEffect(()=>{i!==null&&(a!=null&&a.body.contains(i)||a==null||a.body.appendChild(i))},[i,a]),u.useEffect(()=>{t||r!==null&&l(r.current)},[r,l,t]),i}let ji=u.Fragment;function Ri(n,t){let r=n,a=u.useRef(null),i=oe(ci(m=>{a.current=m}),t),l=gn(a),s=Ii(a),[p]=u.useState(()=>{var m;return be.isServer?null:(m=l==null?void 0:l.createElement("div"))!=null?m:null}),x=u.useContext(At),o=Je();return xe(()=>{!s||!p||s.contains(p)||(p.setAttribute("data-headlessui-portal",""),s.appendChild(p))},[s,p]),xe(()=>{if(p&&x)return x.register(p)},[x,p]),Rr(()=>{var m;!s||!p||(p instanceof Node&&s.contains(p)&&s.removeChild(p),s.childNodes.length<=0&&((m=s.parentElement)==null||m.removeChild(s)))}),o?!s||!p?null:aa.createPortal(ue({ourProps:{ref:i},theirProps:r,defaultTag:ji,name:"Portal"}),p):null}let Mi=u.Fragment,$r=u.createContext(null);function Li(n,t){let{target:r,...a}=n,i={ref:oe(t)};return S.createElement($r.Provider,{value:r},ue({ourProps:i,theirProps:a,defaultTag:Mi,name:"Popover.Group"}))}let At=u.createContext(null);function Pi(){let n=u.useContext(At),t=u.useRef([]),r=P(l=>(t.current.push(l),n&&n.register(l),()=>a(l))),a=P(l=>{let s=t.current.indexOf(l);s!==-1&&t.current.splice(s,1),n&&n.unregister(l)}),i=u.useMemo(()=>({register:r,unregister:a,portals:t}),[r,a,t]);return[t,u.useMemo(()=>function({children:l}){return S.createElement(At.Provider,{value:i},l)},[i])]}let Hi=re(Ri),$i=re(Li),ct=Object.assign(Hi,{Group:$i});function Ui(n,t){return n===t&&(n!==0||1/n===1/t)||n!==n&&t!==t}const Gi=typeof Object.is=="function"?Object.is:Ui,{useState:Vi,useEffect:Wi,useLayoutEffect:zi,useDebugValue:Xi}=_n;function qi(n,t,r){const a=t(),[{inst:i},l]=Vi({inst:{value:a,getSnapshot:t}});return zi(()=>{i.value=a,i.getSnapshot=t,et(i)&&l({inst:i})},[n,a,t]),Wi(()=>(et(i)&&l({inst:i}),n(()=>{et(i)&&l({inst:i})})),[n]),Xi(a),a}function et(n){const t=n.getSnapshot,r=n.value;try{const a=t();return!Gi(r,a)}catch{return!0}}function Yi(n,t,r){return t()}const Ki=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ji=!Ki,Qi=Ji?Yi:qi,Zi="useSyncExternalStore"in _n?(n=>n.useSyncExternalStore)(_n):Qi;function es(n){return Zi(n.subscribe,n.getSnapshot,n.getSnapshot)}function ns(n,t){let r=n(),a=new Set;return{getSnapshot(){return r},subscribe(i){return a.add(i),()=>a.delete(i)},dispatch(i,...l){let s=t[i].call(r,...l);s&&(r=s,a.forEach(p=>p()))}}}function ts(){let n;return{before({doc:t}){var r;let a=t.documentElement;n=((r=t.defaultView)!=null?r:window).innerWidth-a.clientWidth},after({doc:t,d:r}){let a=t.documentElement,i=a.clientWidth-a.offsetWidth,l=n-i;r.style(a,"paddingRight",`${l}px`)}}}function rs(){return Sr()?{before({doc:n,d:t,meta:r}){function a(i){return r.containers.flatMap(l=>l()).some(l=>l.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(n.documentElement).scrollBehavior!=="auto"){let p=Ue();p.style(n.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>p.dispose()))}let l=(i=window.scrollY)!=null?i:window.pageYOffset,s=null;t.addEventListener(n,"click",p=>{if(p.target instanceof HTMLElement)try{let x=p.target.closest("a");if(!x)return;let{hash:o}=new URL(x.href),m=n.querySelector(o);m&&!a(m)&&(s=m)}catch{}},!0),t.addEventListener(n,"touchstart",p=>{if(p.target instanceof HTMLElement)if(a(p.target)){let x=p.target;for(;x.parentElement&&a(x.parentElement);)x=x.parentElement;t.style(x,"overscrollBehavior","contain")}else t.style(p.target,"touchAction","none")}),t.addEventListener(n,"touchmove",p=>{if(p.target instanceof HTMLElement)if(a(p.target)){let x=p.target;for(;x.parentElement&&x.dataset.headlessuiPortal!==""&&!(x.scrollHeight>x.clientHeight||x.scrollWidth>x.clientWidth);)x=x.parentElement;x.dataset.headlessuiPortal===""&&p.preventDefault()}else p.preventDefault()},{passive:!1}),t.add(()=>{var p;let x=(p=window.scrollY)!=null?p:window.pageYOffset;l!==x&&window.scrollTo(0,l),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function as(){return{before({doc:n,d:t}){t.style(n.documentElement,"overflow","hidden")}}}function is(n){let t={};for(let r of n)Object.assign(t,r(t));return t}let Pe=ns(()=>new Map,{PUSH(n,t){var r;let a=(r=this.get(n))!=null?r:{doc:n,count:0,d:Ue(),meta:new Set};return a.count++,a.meta.add(t),this.set(n,a),this},POP(n,t){let r=this.get(n);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:n,d:t,meta:r}){let a={doc:n,d:t,meta:is(r)},i=[rs(),ts(),as()];i.forEach(({before:l})=>l==null?void 0:l(a)),i.forEach(({after:l})=>l==null?void 0:l(a))},SCROLL_ALLOW({d:n}){n.dispose()},TEARDOWN({doc:n}){this.delete(n)}});Pe.subscribe(()=>{let n=Pe.getSnapshot(),t=new Map;for(let[r]of n)t.set(r,r.documentElement.style.overflow);for(let r of n.values()){let a=t.get(r.doc)==="hidden",i=r.count!==0;(i&&!a||!i&&a)&&Pe.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&Pe.dispatch("TEARDOWN",r)}});function ss(n,t,r){let a=es(Pe),i=n?a.get(n):void 0,l=i?i.count>0:!1;return xe(()=>{if(!(!n||!t))return Pe.dispatch("PUSH",n,r),()=>Pe.dispatch("POP",n,r)},[t,n]),l}let nt=new Map,rn=new Map;function Zt(n,t=!0){xe(()=>{var r;if(!t)return;let a=typeof n=="function"?n():n.current;if(!a)return;function i(){var s;if(!a)return;let p=(s=rn.get(a))!=null?s:1;if(p===1?rn.delete(a):rn.set(a,p-1),p!==1)return;let x=nt.get(a);x&&(x["aria-hidden"]===null?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",x["aria-hidden"]),a.inert=x.inert,nt.delete(a))}let l=(r=rn.get(a))!=null?r:0;return rn.set(a,l+1),l!==0||(nt.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0),i},[n,t])}function ls({defaultContainers:n=[],portals:t,mainTreeNodeRef:r}={}){var a;let i=u.useRef((a=r==null?void 0:r.current)!=null?a:null),l=gn(i),s=P(()=>{var p,x,o;let m=[];for(let f of n)f!==null&&(f instanceof HTMLElement?m.push(f):"current"in f&&f.current instanceof HTMLElement&&m.push(f.current));if(t!=null&&t.current)for(let f of t.current)m.push(f);for(let f of(p=l==null?void 0:l.querySelectorAll("html > *, body > *"))!=null?p:[])f!==document.body&&f!==document.head&&f instanceof HTMLElement&&f.id!=="headlessui-portal-root"&&(f.contains(i.current)||f.contains((o=(x=i.current)==null?void 0:x.getRootNode())==null?void 0:o.host)||m.some(B=>f.contains(B))||m.push(f));return m});return{resolveContainers:s,contains:P(p=>s().some(x=>x.contains(p))),mainTreeNodeRef:i,MainTreeNode:u.useMemo(()=>function(){return r!=null?null:S.createElement(ft,{features:Mn.Hidden,ref:i})},[i,r])}}let jt=u.createContext(()=>{});jt.displayName="StackContext";var Ct=(n=>(n[n.Add=0]="Add",n[n.Remove=1]="Remove",n))(Ct||{});function ps(){return u.useContext(jt)}function xs({children:n,onUpdate:t,type:r,element:a,enabled:i}){let l=ps(),s=P((...p)=>{t==null||t(...p),l(...p)});return xe(()=>{let p=i===void 0||i===!0;return p&&s(0,r,a),()=>{p&&s(1,r,a)}},[s,r,a,i]),S.createElement(jt.Provider,{value:s},n)}let Ur=u.createContext(null);function Gr(){let n=u.useContext(Ur);if(n===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Gr),t}return n}function us(){let[n,t]=u.useState([]);return[n.length>0?n.join(" "):void 0,u.useMemo(()=>function(r){let a=P(l=>(t(s=>[...s,l]),()=>t(s=>{let p=s.slice(),x=p.indexOf(l);return x!==-1&&p.splice(x,1),p}))),i=u.useMemo(()=>({register:a,slot:r.slot,name:r.name,props:r.props}),[a,r.slot,r.name,r.props]);return S.createElement(Ur.Provider,{value:i},r.children)},[t])]}let _s="p";function ms(n,t){let r=Qe(),{id:a=`headlessui-description-${r}`,...i}=n,l=Gr(),s=oe(t);xe(()=>l.register(a),[a,l.register]);let p={ref:s,...l.props,id:a};return ue({ourProps:p,theirProps:i,slot:l.slot||{},defaultTag:_s,name:l.name||"Description"})}let os=re(ms),fs=Object.assign(os,{});var gs=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(gs||{}),As=(n=>(n[n.SetTitleId=0]="SetTitleId",n))(As||{});let cs={0(n,t){return n.titleId===t.id?n:{...n,titleId:t.id}}},Ln=u.createContext(null);Ln.displayName="DialogContext";function cn(n){let t=u.useContext(Ln);if(t===null){let r=new Error(`<${n} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,cn),r}return t}function Cs(n,t,r=()=>[document.body]){ss(n,t,a=>{var i;return{containers:[...(i=a.containers)!=null?i:[],r]}})}function vs(n,t){return X(t.type,cs,n,t)}let hs="div",Ds=Rn.RenderStrategy|Rn.Static;function Bs(n,t){let r=Qe(),{id:a=`headlessui-dialog-${r}`,open:i,onClose:l,initialFocus:s,role:p="dialog",__demoMode:x=!1,...o}=n,[m,f]=u.useState(0),B=u.useRef(!1);p=function(){return p==="dialog"||p==="alertdialog"?p:(B.current||(B.current=!0,console.warn(`Invalid role [${p}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let E=It();i===void 0&&E!==null&&(i=(E&te.Open)===te.Open);let D=u.useRef(null),w=oe(D,t),h=gn(D),N=n.hasOwnProperty("open")||E!==null,G=n.hasOwnProperty("onClose");if(!N&&!G)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!N)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!G)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof i!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${i}`);if(typeof l!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${l}`);let T=i?0:1,[I,fe]=u.useReducer(vs,{titleId:null,descriptionId:null,panelRef:u.createRef()}),H=P(()=>l(!1)),ge=P(U=>fe({type:0,id:U})),ae=Je()?x?!1:T===0:!1,K=m>1,R=u.useContext(Ln)!==null,[Ae,Z]=Pi(),e={get current(){var U;return(U=I.panelRef.current)!=null?U:D.current}},{resolveContainers:b,mainTreeNodeRef:F,MainTreeNode:d}=ls({portals:Ae,defaultContainers:[e]}),k=K?"parent":"leaf",j=E!==null?(E&te.Closing)===te.Closing:!1,Fe=(()=>R||j?!1:ae)(),_e=u.useCallback(()=>{var U,ve;return(ve=Array.from((U=h==null?void 0:h.querySelectorAll("body > *"))!=null?U:[]).find(le=>le.id==="headlessui-portal-root"?!1:le.contains(F.current)&&le instanceof HTMLElement))!=null?ve:null},[F]);Zt(_e,Fe);let ie=(()=>K?!0:ae)(),V=u.useCallback(()=>{var U,ve;return(ve=Array.from((U=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?U:[]).find(le=>le.contains(F.current)&&le instanceof HTMLElement))!=null?ve:null},[F]);Zt(V,ie);let en=(()=>!(!ae||K))();Ai(b,U=>{U.preventDefault(),H()},en);let se=(()=>!(K||T!==0))();jr(h==null?void 0:h.defaultView,"keydown",U=>{se&&(U.defaultPrevented||U.key===Ir.Escape&&(U.preventDefault(),U.stopPropagation(),H()))});let Kn=(()=>!(j||T!==0||R))();Cs(h,Kn,b),u.useEffect(()=>{if(T!==0||!D.current)return;let U=new ResizeObserver(ve=>{for(let le of ve){let vn=le.target.getBoundingClientRect();vn.x===0&&vn.y===0&&vn.width===0&&vn.height===0&&H()}});return U.observe(D.current),()=>U.disconnect()},[T,D,H]);let[Jn,y]=us(),L=u.useMemo(()=>[{dialogState:T,close:H,setTitleId:ge},I],[T,I,H,ge]),W=u.useMemo(()=>({open:T===0}),[T]),Cn={ref:w,id:a,role:p,"aria-modal":T===0?!0:void 0,"aria-labelledby":I.titleId,"aria-describedby":Jn};return S.createElement(xs,{type:"Dialog",enabled:T===0,element:D,onUpdate:P((U,ve)=>{ve==="Dialog"&&X(U,{[Ct.Add]:()=>f(le=>le+1),[Ct.Remove]:()=>f(le=>le-1)})})},S.createElement(gt,{force:!0},S.createElement(ct,null,S.createElement(Ln.Provider,{value:L},S.createElement(ct.Group,{target:D},S.createElement(gt,{force:!1},S.createElement(y,{slot:W,name:"Dialog.Description"},S.createElement(tn,{initialFocus:s,containers:b,features:ae?X(k,{parent:tn.features.RestoreFocus,leaf:tn.features.All&~tn.features.FocusLock}):tn.features.None},S.createElement(Z,null,ue({ourProps:Cn,theirProps:o,slot:W,defaultTag:hs,features:Ds,visible:T===0,name:"Dialog"}))))))))),S.createElement(d,null))}let Es="div";function ws(n,t){let r=Qe(),{id:a=`headlessui-dialog-overlay-${r}`,...i}=n,[{dialogState:l,close:s}]=cn("Dialog.Overlay"),p=oe(t),x=P(m=>{if(m.target===m.currentTarget){if(Ei(m.currentTarget))return m.preventDefault();m.preventDefault(),m.stopPropagation(),s()}}),o=u.useMemo(()=>({open:l===0}),[l]);return ue({ourProps:{ref:p,id:a,"aria-hidden":!0,onClick:x},theirProps:i,slot:o,defaultTag:Es,name:"Dialog.Overlay"})}let bs="div";function ds(n,t){let r=Qe(),{id:a=`headlessui-dialog-backdrop-${r}`,...i}=n,[{dialogState:l},s]=cn("Dialog.Backdrop"),p=oe(t);u.useEffect(()=>{if(s.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[s.panelRef]);let x=u.useMemo(()=>({open:l===0}),[l]);return S.createElement(gt,{force:!0},S.createElement(ct,null,ue({ourProps:{ref:p,id:a,"aria-hidden":!0},theirProps:i,slot:x,defaultTag:bs,name:"Dialog.Backdrop"})))}let ks="div";function Fs(n,t){let r=Qe(),{id:a=`headlessui-dialog-panel-${r}`,...i}=n,[{dialogState:l},s]=cn("Dialog.Panel"),p=oe(t,s.panelRef),x=u.useMemo(()=>({open:l===0}),[l]),o=P(m=>{m.stopPropagation()});return ue({ourProps:{ref:p,id:a,onClick:o},theirProps:i,slot:x,defaultTag:ks,name:"Dialog.Panel"})}let ys="h2";function Ss(n,t){let r=Qe(),{id:a=`headlessui-dialog-title-${r}`,...i}=n,[{dialogState:l,setTitleId:s}]=cn("Dialog.Title"),p=oe(t);u.useEffect(()=>(s(a),()=>s(null)),[a,s]);let x=u.useMemo(()=>({open:l===0}),[l]);return ue({ourProps:{ref:p,id:a},theirProps:i,slot:x,defaultTag:ys,name:"Dialog.Title"})}let Ts=re(Bs),Os=re(ds),Ns=re(Fs),Is=re(ws),js=re(Ss),tt=Object.assign(Ts,{Backdrop:Os,Panel:Ns,Overlay:Is,Title:js,Description:fs});function Rs(n=0){let[t,r]=u.useState(n),a=An(),i=u.useCallback(x=>{a.current&&r(o=>o|x)},[t,a]),l=u.useCallback(x=>!!(t&x),[t]),s=u.useCallback(x=>{a.current&&r(o=>o&~x)},[r,a]),p=u.useCallback(x=>{a.current&&r(o=>o^x)},[r]);return{flags:t,addFlag:i,hasFlag:l,removeFlag:s,toggleFlag:p}}function Ms(n){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,n(...r)}}function rt(n,...t){n&&t.length>0&&n.classList.add(...t)}function at(n,...t){n&&t.length>0&&n.classList.remove(...t)}function Ls(n,t){let r=Ue();if(!n)return r.dispose;let{transitionDuration:a,transitionDelay:i}=getComputedStyle(n),[l,s]=[a,i].map(x=>{let[o=0]=x.split(",").filter(Boolean).map(m=>m.includes("ms")?parseFloat(m):parseFloat(m)*1e3).sort((m,f)=>f-m);return o}),p=l+s;if(p!==0){r.group(o=>{o.setTimeout(()=>{t(),o.dispose()},p),o.addEventListener(n,"transitionrun",m=>{m.target===m.currentTarget&&o.dispose()})});let x=r.addEventListener(n,"transitionend",o=>{o.target===o.currentTarget&&(t(),x())})}else t();return r.add(()=>t()),r.dispose}function Ps(n,t,r,a){let i=r?"enter":"leave",l=Ue(),s=a!==void 0?Ms(a):()=>{};i==="enter"&&(n.removeAttribute("hidden"),n.style.display="");let p=X(i,{enter:()=>t.enter,leave:()=>t.leave}),x=X(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),o=X(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return at(n,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rt(n,...t.base,...p,...o),l.nextFrame(()=>{at(n,...t.base,...p,...o),rt(n,...t.base,...p,...x),Ls(n,()=>(at(n,...t.base,...p),rt(n,...t.base,...t.entered),s()))}),l.dispose}function Hs({immediate:n,container:t,direction:r,classes:a,onStart:i,onStop:l}){let s=An(),p=Tt(),x=de(r);xe(()=>{n&&(x.current="enter")},[n]),xe(()=>{let o=Ue();p.add(o.dispose);let m=t.current;if(m&&x.current!=="idle"&&s.current)return o.dispose(),i.current(x.current),o.add(Ps(m,a.current,x.current==="enter",()=>{o.dispose(),l.current(x.current)})),o.dispose},[r])}function ye(n=""){return n.split(/\s+/).filter(t=>t.length>1)}let Vn=u.createContext(null);Vn.displayName="TransitionContext";var $s=(n=>(n.Visible="visible",n.Hidden="hidden",n))($s||{});function Us(){let n=u.useContext(Vn);if(n===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return n}function Gs(){let n=u.useContext(Wn);if(n===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return n}let Wn=u.createContext(null);Wn.displayName="NestingContext";function zn(n){return"children"in n?zn(n.children):n.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Vr(n,t){let r=de(n),a=u.useRef([]),i=An(),l=Tt(),s=P((E,D=Ne.Hidden)=>{let w=a.current.findIndex(({el:h})=>h===E);w!==-1&&(X(D,{[Ne.Unmount](){a.current.splice(w,1)},[Ne.Hidden](){a.current[w].state="hidden"}}),l.microTask(()=>{var h;!zn(a)&&i.current&&((h=r.current)==null||h.call(r))}))}),p=P(E=>{let D=a.current.find(({el:w})=>w===E);return D?D.state!=="visible"&&(D.state="visible"):a.current.push({el:E,state:"visible"}),()=>s(E,Ne.Unmount)}),x=u.useRef([]),o=u.useRef(Promise.resolve()),m=u.useRef({enter:[],leave:[],idle:[]}),f=P((E,D,w)=>{x.current.splice(0),t&&(t.chains.current[D]=t.chains.current[D].filter(([h])=>h!==E)),t==null||t.chains.current[D].push([E,new Promise(h=>{x.current.push(h)})]),t==null||t.chains.current[D].push([E,new Promise(h=>{Promise.all(m.current[D].map(([N,G])=>G)).then(()=>h())})]),D==="enter"?o.current=o.current.then(()=>t==null?void 0:t.wait.current).then(()=>w(D)):w(D)}),B=P((E,D,w)=>{Promise.all(m.current[D].splice(0).map(([h,N])=>N)).then(()=>{var h;(h=x.current.shift())==null||h()}).then(()=>w(D))});return u.useMemo(()=>({children:a,register:p,unregister:s,onStart:f,onStop:B,wait:o,chains:m}),[p,s,a,f,B,m,o])}function Vs(){}let Ws=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function er(n){var t;let r={};for(let a of Ws)r[a]=(t=n[a])!=null?t:Vs;return r}function zs(n){let t=u.useRef(er(n));return u.useEffect(()=>{t.current=er(n)},[n]),t}let Xs="div",Wr=Rn.RenderStrategy;function qs(n,t){var r,a;let{beforeEnter:i,afterEnter:l,beforeLeave:s,afterLeave:p,enter:x,enterFrom:o,enterTo:m,entered:f,leave:B,leaveFrom:E,leaveTo:D,...w}=n,h=u.useRef(null),N=oe(h,t),G=(r=w.unmount)==null||r?Ne.Unmount:Ne.Hidden,{show:T,appear:I,initial:fe}=Us(),[H,ge]=u.useState(T?"visible":"hidden"),ae=Gs(),{register:K,unregister:R}=ae;u.useEffect(()=>K(h),[K,h]),u.useEffect(()=>{if(G===Ne.Hidden&&h.current){if(T&&H!=="visible"){ge("visible");return}return X(H,{hidden:()=>R(h),visible:()=>K(h)})}},[H,h,K,R,T,G]);let Ae=de({base:ye(w.className),enter:ye(x),enterFrom:ye(o),enterTo:ye(m),entered:ye(f),leave:ye(B),leaveFrom:ye(E),leaveTo:ye(D)}),Z=zs({beforeEnter:i,afterEnter:l,beforeLeave:s,afterLeave:p}),e=Je();u.useEffect(()=>{if(e&&H==="visible"&&h.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[h,H,e]);let b=fe&&!I,F=I&&T&&fe,d=(()=>!e||b?"idle":T?"enter":"leave")(),k=Rs(0),j=P(se=>X(se,{enter:()=>{k.addFlag(te.Opening),Z.current.beforeEnter()},leave:()=>{k.addFlag(te.Closing),Z.current.beforeLeave()},idle:()=>{}})),Fe=P(se=>X(se,{enter:()=>{k.removeFlag(te.Opening),Z.current.afterEnter()},leave:()=>{k.removeFlag(te.Closing),Z.current.afterLeave()},idle:()=>{}})),_e=Vr(()=>{ge("hidden"),R(h)},ae),ie=u.useRef(!1);Hs({immediate:F,container:h,classes:Ae,direction:d,onStart:de(se=>{ie.current=!0,_e.onStart(h,se,j)}),onStop:de(se=>{ie.current=!1,_e.onStop(h,se,Fe),se==="leave"&&!zn(_e)&&(ge("hidden"),R(h))})});let V=w,en={ref:N};return F?V={...V,className:jn(w.className,...Ae.current.enter,...Ae.current.enterFrom)}:ie.current&&(V.className=jn(w.className,(a=h.current)==null?void 0:a.className),V.className===""&&delete V.className),S.createElement(Wn.Provider,{value:_e},S.createElement(Di,{value:X(H,{visible:te.Open,hidden:te.Closed})|k.flags},ue({ourProps:en,theirProps:V,defaultTag:Xs,features:Wr,visible:H==="visible",name:"Transition.Child"})))}function Ys(n,t){let{show:r,appear:a=!1,unmount:i=!0,...l}=n,s=u.useRef(null),p=oe(s,t);Je();let x=It();if(r===void 0&&x!==null&&(r=(x&te.Open)===te.Open),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[o,m]=u.useState(r?"visible":"hidden"),f=Vr(()=>{m("hidden")}),[B,E]=u.useState(!0),D=u.useRef([r]);xe(()=>{B!==!1&&D.current[D.current.length-1]!==r&&(D.current.push(r),E(!1))},[D,r]);let w=u.useMemo(()=>({show:r,appear:a,initial:B}),[r,a,B]);u.useEffect(()=>{if(r)m("visible");else if(!zn(f))m("hidden");else{let T=s.current;if(!T)return;let I=T.getBoundingClientRect();I.x===0&&I.y===0&&I.width===0&&I.height===0&&m("hidden")}},[r,f]);let h={unmount:i},N=P(()=>{var T;B&&E(!1),(T=n.beforeEnter)==null||T.call(n)}),G=P(()=>{var T;B&&E(!1),(T=n.beforeLeave)==null||T.call(n)});return S.createElement(Wn.Provider,{value:f},S.createElement(Vn.Provider,{value:w},ue({ourProps:{...h,as:u.Fragment,children:S.createElement(zr,{ref:p,...h,...l,beforeEnter:N,beforeLeave:G})},theirProps:{},defaultTag:u.Fragment,features:Wr,visible:o==="visible",name:"Transition"})))}function Ks(n,t){let r=u.useContext(Vn)!==null,a=It()!==null;return S.createElement(S.Fragment,null,!r&&a?S.createElement(vt,{ref:t,...n}):S.createElement(zr,{ref:t,...n}))}let vt=re(Ys),zr=re(qs),Js=re(Ks),On=Object.assign(vt,{Child:Js,Root:vt});function Qs(n,t){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},n),u.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}))}const Zs=u.forwardRef(Qs),e0=Zs,Pn=({title:n,children:t,isOpen:r,handleClose:a})=>_.jsx(On.Root,{show:r,as:u.Fragment,children:_.jsx(tt,{as:"div",className:"fixed z-300 inset-0 overflow-y-auto",onClose:a,children:_.jsxs("div",{className:"flex items-center justify-center min-h-screen py-10 px-4 text-center sm:block sm:p-0",children:[_.jsx(On.Child,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:_.jsx(tt.Overlay,{className:"fixed inset-0 bg-gray-500/75 transition-opacity"})}),_.jsx("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:"​"}),_.jsx(On.Child,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:_.jsxs("div",{className:"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6 dark:bg-zinc-800",children:[_.jsx("div",{className:"absolute right-4 top-4",children:_.jsx(e0,{className:"h-6 w-6 cursor-pointer dark:stroke-white",onClick:()=>a()})}),_.jsx("div",{children:_.jsxs("div",{className:"text-center",children:[_.jsx(tt.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900 dark:text-gray-100",children:n}),_.jsx("div",{className:"mt-2",children:t})]})})]})})]})})}),n0=({isOpen:n,handleClose:t})=>_.jsxs(Pn,{title:qt||"",isOpen:n,handleClose:t,children:[_.jsx("div",{className:"text-sm text-gray-500 dark:text-gray-300",dangerouslySetInnerHTML:{__html:da}}),_.jsxs("div",{className:"flex justify-center mb-1 mt-4",children:[_.jsx(z,{isRevealing:!0,isCompleted:!0,value:Y[q][0][0],status:"correct"}),_.jsx(z,{value:Y[q][0][1]}),_.jsx(z,{value:Y[q][0][2]}),_.jsx(z,{value:Y[q][0][3]}),_.jsx(z,{value:Y[q][0][4]})]}),_.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-300",children:Fa}),_.jsxs("div",{className:"flex justify-center mb-1 mt-4",children:[_.jsx(z,{value:Y[q][1][0]}),_.jsx(z,{value:Y[q][1][1]}),_.jsx(z,{value:Y[q][1][2]}),_.jsx(z,{isRevealing:!0,isCompleted:!0,value:Y[q][1][3],status:"present"}),_.jsx(z,{value:Y[q][1][4]})]}),_.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-300",children:ya}),_.jsxs("div",{className:"flex justify-center mb-1 mt-4",children:[_.jsx(z,{value:Y[q][2][0]}),_.jsx(z,{value:Y[q][2][1]}),_.jsx(z,{value:Y[q][2][2]}),_.jsx(z,{isRevealing:!0,isCompleted:!0,value:Y[q][2][3],status:"absent"}),_.jsx(z,{value:Y[q][2][4]})]}),_.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-300",children:Sa}),_.jsx("p",{className:"mt-6 italic text-sm text-gray-500 dark:text-gray-300",children:ka})]});function Xr(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(n,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function qr(n,t,r){return t&&nr(n.prototype,t),r&&nr(n,r),n}function Yr(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&ht(n,t)}function Hn(n){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(n)}function ht(n,t){return ht=Object.setPrototypeOf||function(a,i){return a.__proto__=i,a},ht(n,t)}function t0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function r0(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a0(n,t){return t&&(typeof t=="object"||typeof t=="function")?t:r0(n)}function Kr(n){var t=t0();return function(){var a=Hn(n),i;if(t){var l=Hn(this).constructor;i=Reflect.construct(a,arguments,l)}else i=a.apply(this,arguments);return a0(this,i)}}function i0(n){return s0(n)||l0(n)||p0(n)||x0()}function s0(n){if(Array.isArray(n))return Dt(n)}function l0(n){if(typeof Symbol<"u"&&Symbol.iterator in Object(n))return Array.from(n)}function p0(n,t){if(n){if(typeof n=="string")return Dt(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Dt(n,t)}}function Dt(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=n[r];return a}function x0(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function an(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=String(n);if(t===0)return r;var a=r.match(/(.*?)([0-9]+)(.*)/),i=a?a[1]:"",l=a?a[3]:"",s=a?a[2]:r,p=s.length>=t?s:(i0(Array(t)).map(function(){return"0"}).join("")+s).slice(t*-1);return"".concat(i).concat(p).concat(l)}var Jr={daysInHours:!1,zeroPadTime:2};function u0(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.now,a=r===void 0?Date.now:r,i=t.precision,l=i===void 0?0:i,s=t.controlled,p=t.offsetTime,x=p===void 0?0:p,o=t.overtime,m;typeof n=="string"?m=new Date(n).getTime():n instanceof Date?m=n.getTime():m=n,s||(m+=x);var f=s?m:m-a(),B=Math.min(20,Math.max(0,l)),E=Math.round(parseFloat(((o?f:Math.max(0,f))/1e3).toFixed(B))*1e3),D=Math.abs(E)/1e3;return{total:E,days:Math.floor(D/(3600*24)),hours:Math.floor(D/3600%24),minutes:Math.floor(D/60%60),seconds:Math.floor(D%60),milliseconds:Number((D%1*1e3).toFixed()),completed:E<=0}}function _0(n,t){var r=n.days,a=n.hours,i=n.minutes,l=n.seconds,s=Object.assign(Object.assign({},Jr),t),p=s.daysInHours,x=s.zeroPadTime,o=s.zeroPadDays,m=o===void 0?x:o,f=Math.min(2,x),B=p?an(a+r*24,x):an(a,f);return{days:p?"":an(r,m),hours:B,minutes:an(i,f),seconds:an(l,f)}}var Qr=function(n){Yr(r,n);var t=Kr(r);function r(){var a;return Xr(this,r),a=t.apply(this,arguments),a.state={count:a.props.count||3},a.startCountdown=function(){a.interval=window.setInterval(function(){var i=a.state.count-1;i===0?(a.stopCountdown(),a.props.onComplete&&a.props.onComplete()):a.setState(function(l){return{count:l.count-1}})},1e3)},a.stopCountdown=function(){clearInterval(a.interval)},a.addTime=function(i){a.stopCountdown(),a.setState(function(l){return{count:l.count+i}},a.startCountdown)},a}return qr(r,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?u.cloneElement(this.props.children,{count:this.state.count}):null}}]),r}(u.Component);Qr.propTypes={count:M.number,children:M.element,onComplete:M.func};var Xn=function(n){Yr(r,n);var t=Kr(r);function r(a){var i;if(Xr(this,r),i=t.call(this,a),i.mounted=!1,i.initialTimestamp=i.calcOffsetStartTimestamp(),i.offsetStartTimestamp=i.props.autoStart?0:i.initialTimestamp,i.offsetTime=0,i.legacyMode=!1,i.legacyCountdownRef=u.createRef(),i.tick=function(){var s=i.calcTimeDelta(),p=s.completed&&!i.props.overtime?void 0:i.props.onTick;i.setTimeDeltaState(s,void 0,p)},i.start=function(){if(!i.isStarted()){var s=i.offsetStartTimestamp;i.offsetStartTimestamp=0,i.offsetTime+=s?i.calcOffsetStartTimestamp()-s:0;var p=i.calcTimeDelta();i.setTimeDeltaState(p,"STARTED",i.props.onStart),!i.props.controlled&&(!p.completed||i.props.overtime)&&(i.clearTimer(),i.interval=window.setInterval(i.tick,i.props.intervalDelay))}},i.pause=function(){i.isPaused()||(i.clearTimer(),i.offsetStartTimestamp=i.calcOffsetStartTimestamp(),i.setTimeDeltaState(i.state.timeDelta,"PAUSED",i.props.onPause))},i.stop=function(){i.isStopped()||(i.clearTimer(),i.offsetStartTimestamp=i.calcOffsetStartTimestamp(),i.offsetTime=i.offsetStartTimestamp-i.initialTimestamp,i.setTimeDeltaState(i.calcTimeDelta(),"STOPPED",i.props.onStop))},i.isStarted=function(){return i.isStatus("STARTED")},i.isPaused=function(){return i.isStatus("PAUSED")},i.isStopped=function(){return i.isStatus("STOPPED")},i.isCompleted=function(){return i.isStatus("COMPLETED")},a.date){var l=i.calcTimeDelta();i.state={timeDelta:l,status:l.completed?"COMPLETED":"STOPPED"}}else i.legacyMode=!0;return i}return qr(r,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(i){this.legacyMode||this.props.date!==i.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var i=this.props,l=i.date,s=i.now,p=i.precision,x=i.controlled,o=i.overtime;return u0(l,{now:s,precision:p,controlled:x,offsetTime:this.offsetTime,overtime:o})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(i){this.legacyCountdownRef.current.addTime(i)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(i){return this.state.status===i}},{key:"setTimeDeltaState",value:function(i,l,s){var p=this;if(this.mounted){var x=i.completed&&!this.state.timeDelta.completed,o=i.completed&&l==="STARTED";x&&!this.props.overtime&&this.clearTimer();var m=function(){s&&s(p.state.timeDelta),p.props.onComplete&&(x||o)&&p.props.onComplete(i,o)};return this.setState(function(f){var B=l||f.status;return i.completed&&!p.props.overtime?B="COMPLETED":!l&&B==="COMPLETED"&&(B="STOPPED"),{timeDelta:i,status:B}},m)}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var i=this.props,l=i.daysInHours,s=i.zeroPadTime,p=i.zeroPadDays,x=this.state.timeDelta;return Object.assign(Object.assign({},x),{api:this.getApi(),props:this.props,formatted:_0(x,{daysInHours:l,zeroPadTime:s,zeroPadDays:p})})}},{key:"render",value:function(){if(this.legacyMode){var i=this.props,l=i.count,s=i.children,p=i.onComplete;return u.createElement(Qr,{ref:this.legacyCountdownRef,count:l,onComplete:p},s)}var x=this.props,o=x.className,m=x.overtime,f=x.children,B=x.renderer,E=this.getRenderProps();if(B)return B(E);if(f&&this.state.timeDelta.completed&&!m)return u.cloneElement(f,{countdown:E});var D=E.formatted,w=D.days,h=D.hours,N=D.minutes,G=D.seconds;return u.createElement("span",{className:o},E.total<0?"-":"",w,w?":":"",h,":",N,":",G)}}]),r}(u.Component);Xn.defaultProps=Object.assign(Object.assign({},Jr),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0});Xn.propTypes={date:M.oneOfType([M.instanceOf(Date),M.string,M.number]),daysInHours:M.bool,zeroPadTime:M.number,zeroPadDays:M.number,controlled:M.bool,intervalDelay:M.number,precision:M.number,autoStart:M.bool,overtime:M.bool,className:M.string,children:M.element,renderer:M.func,now:M.func,onMount:M.func,onStart:M.func,onPause:M.func,onStop:M.func,onTick:M.func,onComplete:M.func};const En=({label:n,value:t})=>_.jsxs("div",{className:"items-center justify-center m-1 w-1/4 dark:text-white",children:[_.jsx("div",{className:"text-3xl font-bold",children:t}),_.jsx("div",{className:"text-xs",children:n})]}),tr=({gameStats:n})=>_.jsxs("div",{className:"flex justify-center my-2",children:[_.jsx(En,{label:Ba,value:n.totalGames}),_.jsx(En,{label:Ea,value:`${n.successRate}%`}),_.jsx(En,{label:wa,value:n.currentStreak}),_.jsx(En,{label:ba,value:n.bestStreak})]}),m0=({index:n,size:t,label:r,currentDayStatRow:a})=>{const i=qe("text-xs font-medium text-blue-100 text-center p-0.5",{"bg-blue-600":a,"bg-gray-600":!a});return _.jsxs("div",{className:"flex justify-left m-1",children:[_.jsx("div",{className:"items-center justify-center w-2",children:n+1}),_.jsx("div",{className:"w-full ml-2",children:_.jsx("div",{style:{width:`${8+t}%`},className:i,children:r})})]})},o0=({gameStats:n,numberOfGuessesMade:t})=>{const r=n.winDistribution,a=Math.max(...r);return _.jsx("div",{className:"columns-1 justify-left m-2 text-sm dark:text-white",children:r.map((i,l)=>_.jsx(m0,{index:l,currentDayStatRow:t===l+1,size:90*(i/a),label:String(i)},l))})};var f0="2.0.0-beta.3",Ye="",rr="?",Bt="function",Ie="undefined",Ke="object",Et="string",on="major",C="model",g="name",c="type",v="vendor",A="version",J="architecture",We="console",O="mobile",$="tablet",ee="smarttv",Nn="wearable",ar="xr",wt="embedded",ir="user-agent",bt=500,Rt="brands",Le="formFactors",Mt="fullVersionList",ze="platform",Lt="platformVersion",qn="bitness",Re="sec-ch-ua",g0=Re+"-full-version-list",A0=Re+"-arch",c0=Re+"-"+qn,C0=Re+"-form-factors",v0=Re+"-"+O,h0=Re+"-"+C,Zr=Re+"-"+ze,D0=Zr+"-version",ea=[Rt,Mt,O,C,ze,Lt,J,Le,qn],ne="browser",Be="cpu",ce="device",Ee="engine",pe="os",Xe="result",wn="Amazon",sn="Apple",sr="ASUS",lr="BlackBerry",bn="Google",pr="Huawei",xr="Lenovo",it="LG",In="Microsoft",ur="Motorola",dn="Samsung",_r="Sharp",kn="Sony",st="Xiaomi",lt="Zebra",Ge="Mobile ",Ve=" Browser",Fn="Chrome",B0="Edge",ln="Firefox",pn="Opera",mr="Facebook",or="Sogou",dt="Windows",E0=typeof window!==Ie,Q=E0&&window.navigator?window.navigator:void 0,Te=Q&&Q.userAgentData?Q.userAgentData:void 0,w0=function(n,t){var r={},a=t;if(!$n(t)){a={};for(var i in t)for(var l in t[i])a[l]=t[i][l].concat(a[l]?a[l]:[])}for(var s in n)r[s]=a[s]&&a[s].length%2===0?a[s].concat(n[s]):n[s];return r},Yn=function(n){for(var t={},r=0;r<n.length;r++)t[n[r].toUpperCase()]=n[r];return t},kt=function(n,t){if(typeof n===Ke&&n.length>0){for(var r in n)if(je(n[r])==je(t))return!0;return!1}return Ze(n)?je(t).indexOf(je(n))!==-1:!1},$n=function(n,t){for(var r in n)return/^(browser|cpu|device|engine|os)$/.test(r)||(t?$n(n[r]):!1)},Ze=function(n){return typeof n===Et},pt=function(n){if(n){for(var t=[],r=$e(/\\?\"/g,n).split(","),a=0;a<r.length;a++)if(r[a].indexOf(";")>-1){var i=fn(r[a]).split(";v=");t[a]={brand:i[0],version:i[1]}}else t[a]=fn(r[a]);return t}},je=function(n){return Ze(n)?n.toLowerCase():n},xt=function(n){return Ze(n)?$e(/[^\d\.]/g,n).split(".")[0]:void 0},we=function(n){for(var t in n){var r=n[t];typeof r==Ke&&r.length==2?this[r[0]]=r[1]:this[r]=void 0}return this},$e=function(n,t){return Ze(t)?t.replace(n,Ye):t},xn=function(n){return $e(/\\?\"/g,n)},fn=function(n,t){if(Ze(n))return n=$e(/^\s\s*/,n),typeof t===Ie?n:n.substring(0,bt)},fr=function(n,t){if(!(!n||!t))for(var r=0,a,i,l,s,p,x;r<t.length&&!p;){var o=t[r],m=t[r+1];for(a=i=0;a<o.length&&!p&&o[a];)if(p=o[a++].exec(n),p)for(l=0;l<m.length;l++)x=p[++i],s=m[l],typeof s===Ke&&s.length>0?s.length===2?typeof s[1]==Bt?this[s[0]]=s[1].call(this,x):this[s[0]]=s[1]:s.length===3?typeof s[1]===Bt&&!(s[1].exec&&s[1].test)?this[s[0]]=x?s[1].call(this,x,s[2]):void 0:this[s[0]]=x?x.replace(s[1],s[2]):void 0:s.length===4&&(this[s[0]]=x?s[3].call(this,x.replace(s[1],s[2])):void 0):this[s]=x||void 0;r+=2}},Un=function(n,t){for(var r in t)if(typeof t[r]===Ke&&t[r].length>0){for(var a=0;a<t[r].length;a++)if(kt(t[r][a],n))return r===rr?void 0:r}else if(kt(t[r],n))return r===rr?void 0:r;return t.hasOwnProperty("*")?t["*"]:n},gr={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ar={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},cr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[A,[g,Ge+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[A,[g,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[g,A],[/opios[\/ ]+([\w\.]+)/i],[A,[g,pn+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[A,[g,pn+" GX"]],[/\bopr\/([\w\.]+)/i],[A,[g,pn]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[A,[g,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[g,A],[/\bddg\/([\w\.]+)/i],[A,[g,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[A,[g,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[A,[g,"WeChat"]],[/konqueror\/([\w\.]+)/i],[A,[g,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[A,[g,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[A,[g,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[A,[g,"Smart "+xr+Ve]],[/(avast|avg)\/([\w\.]+)/i],[[g,/(.+)/,"$1 Secure"+Ve],A],[/\bfocus\/([\w\.]+)/i],[A,[g,ln+" Focus"]],[/\bopt\/([\w\.]+)/i],[A,[g,pn+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[A,[g,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[A,[g,"Dolphin"]],[/coast\/([\w\.]+)/i],[A,[g,pn+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[A,[g,"MIUI"+Ve]],[/fxios\/([\w\.-]+)/i],[A,[g,Ge+ln]],[/\bqihu|(qi?ho?o?|360)browser/i],[[g,"360"+Ve]],[/\b(qq)\/([\w\.]+)/i],[[g,/(.+)/,"$1Browser"],A],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[g,/(.+)/,"$1"+Ve],A],[/samsungbrowser\/([\w\.]+)/i],[A,[g,dn+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[g,/_/g," "],A],[/metasr[\/ ]?([\d\.]+)/i],[A,[g,or+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[g,or+" Mobile"],A],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[g,A],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[g],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[g,mr],A],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[g,A],[/\bgsa\/([\w\.]+) .*safari\//i],[A,[g,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[A,[g,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[A,[g,Fn+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[g,Fn+" WebView"],A],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[A,[g,"Android"+Ve]],[/chrome\/([\w\.]+) mobile/i],[A,[g,Ge+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[g,A],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[A,[g,Ge+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[g,Ge+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[A,g],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[g,[A,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[g,A],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[g,Ge+ln],A],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[g,"Netscape"],A],[/(wolvic)\/([\w\.]+)/i],[g,A],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[A,[g,ln+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[g,[A,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[g,[A,/[^\d\.]+./,Ye]]],cpu:[[/\b(?:(amd|x|x86[-_]?|wow|win)64)\b/i],[[J,"amd64"]],[/(ia32(?=;))/i,/((?:i[346]|x)86)[;\)]/i],[[J,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[J,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[J,"armhf"]],[/windows (ce|mobile); ppc;/i],[[J,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[J,/ower/,Ye,je]],[/(sun4\w)[;\)]/i],[[J,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[J,je]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[C,[v,dn],[c,$]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[C,[v,dn],[c,O]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[C,[v,sn],[c,O]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[C,[v,sn],[c,$]],[/(macintosh);/i],[C,[v,sn]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[C,[v,_r],[c,O]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[C,[v,pr],[c,$]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[C,[v,pr],[c,O]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[C,/_/g," "],[v,st],[c,O]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[C,/_/g," "],[v,st],[c,$]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[C,[v,"OPPO"],[c,O]],[/\b(opd2\d{3}a?) bui/i],[C,[v,"OPPO"],[c,$]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[C,[v,"Vivo"],[c,O]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[C,[v,"Realme"],[c,O]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[C,[v,ur],[c,O]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[C,[v,ur],[c,$]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[C,[v,it],[c,$]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[C,[v,it],[c,O]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[C,[v,xr],[c,$]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[C,/_/g," "],[v,"Nokia"],[c,O]],[/(pixel c)\b/i],[C,[v,bn],[c,$]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[C,[v,bn],[c,O]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[C,[v,kn],[c,O]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[C,"Xperia Tablet"],[v,kn],[c,$]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[C,[v,"OnePlus"],[c,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[C,[v,wn],[c,$]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[C,/(.+)/g,"Fire Phone $1"],[v,wn],[c,O]],[/(playbook);[-\w\),; ]+(rim)/i],[C,v,[c,$]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[C,[v,lr],[c,O]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[C,[v,sr],[c,$]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[C,[v,sr],[c,O]],[/(nexus 9)/i],[C,[v,"HTC"],[c,$]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[C,/_/g," "],[c,O]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[C,[v,"Acer"],[c,$]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[C,[v,"Meizu"],[c,O]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[C,[v,"Ulefone"],[c,O]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,C,[c,O]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[v,C,[c,$]],[/(surface duo)/i],[C,[v,In],[c,$]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[C,[v,"Fairphone"],[c,O]],[/(shield[\w ]+) b/i],[C,[v,"Nvidia"],[c,$]],[/(sprint) (\w+)/i],[v,C,[c,O]],[/(kin\.[onetw]{3})/i],[[C,/\./g," "],[v,In],[c,O]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[C,[v,lt],[c,$]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[C,[v,lt],[c,O]],[/smart-tv.+(samsung)/i],[v,[c,ee]],[/hbbtv.+maple;(\d+)/i],[[C,/^/,"SmartTV"],[v,dn],[c,ee]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,it],[c,ee]],[/(apple) ?tv/i],[v,[C,sn+" TV"],[c,ee]],[/crkey/i],[[C,Fn+"cast"],[v,bn],[c,ee]],[/droid.+aft(\w+)( bui|\))/i],[C,[v,wn],[c,ee]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[C,[v,_r],[c,ee]],[/(bravia[\w ]+)( bui|\))/i],[C,[v,kn],[c,ee]],[/(mitv-\w{5}) bui/i],[C,[v,st],[c,ee]],[/Hbbtv.*(technisat) (.*);/i],[v,C,[c,ee]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,fn],[C,fn],[c,ee]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,ee]],[/(ouya)/i,/(nintendo) (\w+)/i],[v,C,[c,We]],[/droid.+; (shield) bui/i],[C,[v,"Nvidia"],[c,We]],[/(playstation \w+)/i],[C,[v,kn],[c,We]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[C,[v,In],[c,We]],[/((pebble))app/i],[v,C,[c,Nn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[C,[v,sn],[c,Nn]],[/droid.+; (wt63?0{2,3})\)/i],[C,[v,lt],[c,Nn]],[/droid.+; (glass) \d/i],[C,[v,bn],[c,ar]],[/(quest( \d| pro)?)/i],[C,[v,mr],[c,ar]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[c,wt]],[/(aeobc)\b/i],[C,[v,wn],[c,wt]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[C,[c,O]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[C,[c,$]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,$]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,O]],[/(android[-\w\. ]{0,9});.+buil/i],[C,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[A,[g,B0+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[A,[g,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[g,A],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[A,g]],os:[[/microsoft (windows) (vista|xp)/i],[g,A],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[g,[A,Un,gr]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[A,Un,gr],[g,dt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[A,/_/g,"."],[g,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[g,"macOS"],[A,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[A,g],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[g,A],[/\(bb(10);/i],[A,[g,lr]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[A,[g,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[A,[g,ln+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[A,[g,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[A,[g,"watchOS"]],[/crkey\/([\d\.]+)/i],[A,[g,Fn+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[g,"Chrome OS"],A],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[g,A],[/(sunos) ?([\w\.\d]*)/i],[[g,"Solaris"],A],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[g,A]]},yn=function(){var n={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return we.call(n.init,[[ne,[g,A,on,c]],[Be,[J]],[ce,[c,C,v]],[Ee,[g,A]],[pe,[g,A]]]),we.call(n.isIgnore,[[ne,[A,on]],[Ee,[A]],[pe,[A]]]),we.call(n.isIgnoreRgx,[[ne,/ ?browser$/i],[pe,/ ?os$/i]]),we.call(n.toString,[[ne,[g,A]],[Be,[J]],[ce,[v,C]],[Ee,[g,A]],[pe,[g,A]]]),n}(),b0=function(n,t){var r=yn.init[t],a=yn.isIgnore[t]||0,i=yn.isIgnoreRgx[t]||0,l=yn.toString[t]||0;function s(){we.call(this,r)}return s.prototype.getItem=function(){return n},s.prototype.withClientHints=function(){return Te?Te.getHighEntropyValues(ea).then(function(p){return n.setCH(new na(p,!1)).parseCH().get()}):n.parseCH().get()},s.prototype.withFeatureCheck=function(){return n.detectFeature().get()},t!=Xe&&(s.prototype.is=function(p){var x=!1;for(var o in this)if(this.hasOwnProperty(o)&&!kt(a,o)&&je(i?$e(i,this[o]):this[o])==je(i?$e(i,p):p)){if(x=!0,p!=Ie)break}else if(p==Ie&&x){x=!x;break}return x},s.prototype.toString=function(){var p=Ye;for(var x in l)typeof this[l[x]]!==Ie&&(p+=(p?" ":Ye)+this[l[x]]);return p||Ie}),Te||(s.prototype.then=function(p){var x=this,o=function(){for(var f in x)x.hasOwnProperty(f)&&(this[f]=x[f])};o.prototype={is:s.prototype.is,toString:s.prototype.toString};var m=new o;return p(m),m}),new s};function na(n,t){if(n=n||{},we.call(this,ea),t)we.call(this,[[Rt,pt(n[Re])],[Mt,pt(n[g0])],[O,/\?1/.test(n[v0])],[C,xn(n[h0])],[ze,xn(n[Zr])],[Lt,xn(n[D0])],[J,xn(n[A0])],[Le,pt(n[C0])],[qn,xn(n[c0])]]);else for(var r in n)this.hasOwnProperty(r)&&typeof n[r]!==Ie&&(this[r]=n[r])}function Cr(n,t,r,a){return this.get=function(i){return i?this.data.hasOwnProperty(i)?this.data[i]:void 0:this.data},this.set=function(i,l){return this.data[i]=l,this},this.setCH=function(i){return this.uaCH=i,this},this.detectFeature=function(){if(Q&&Q.userAgent==this.ua)switch(this.itemType){case ne:Q.brave&&typeof Q.brave.isBrave==Bt&&this.set(g,"Brave");break;case ce:!this.get(c)&&Te&&Te[O]&&this.set(c,O),this.get(C)=="Macintosh"&&Q&&typeof Q.standalone!==Ie&&Q.maxTouchPoints&&Q.maxTouchPoints>2&&this.set(C,"iPad").set(c,$);break;case pe:!this.get(g)&&Te&&Te[ze]&&this.set(g,Te[ze]);break;case Xe:var i=this.data,l=function(s){return i[s].getItem().detectFeature().get()};this.set(ne,l(ne)).set(Be,l(Be)).set(ce,l(ce)).set(Ee,l(Ee)).set(pe,l(pe))}return this},this.parseUA=function(){return this.itemType!=Xe&&fr.call(this.data,this.ua,this.rgxMap),this.itemType==ne&&this.set(on,xt(this.get(A))),this},this.parseCH=function(){var i=this.uaCH,l=this.rgxMap;switch(this.itemType){case ne:var s=i[Mt]||i[Rt],p;if(s)for(var x in s){var o=$e(/(Google|Microsoft) /,s[x].brand||s[x]),m=s[x].version;!/not.a.brand/i.test(o)&&(!p||/chrom/i.test(p)&&!/chromi/i.test(o))&&(this.set(g,o).set(A,m).set(on,xt(m)),p=o)}break;case Be:var f=i[J];f&&(f&&i[qn]=="64"&&(f+="64"),fr.call(this.data,f+";",l));break;case ce:if(i[O]&&this.set(c,O),i[C]&&this.set(C,i[C]),i[C]=="Xbox"&&this.set(c,We).set(v,In),i[Le]){var B;if(typeof i[Le]!="string")for(var E=0;!B&&E<i[Le].length;)B=Un(i[Le][E++],Ar);else B=Un(i[Le],Ar);this.set(c,B)}break;case pe:var D=i[ze];if(D){var w=i[Lt];D==dt&&(w=parseInt(xt(w),10)>=13?"11":"10"),this.set(g,D).set(A,w)}this.get(g)==dt&&i[C]=="Xbox"&&this.set(g,"Xbox").set(A,void 0);break;case Xe:var h=this.data,N=function(G){return h[G].getItem().setCH(i).parseCH().get()};this.set(ne,N(ne)).set(Be,N(Be)).set(ce,N(ce)).set(Ee,N(Ee)).set(pe,N(pe))}return this},we.call(this,[["itemType",n],["ua",t],["uaCH",a],["rgxMap",r],["data",b0(this,n)]]),this}function ke(n,t,r){if(typeof n===Ke?($n(n,!0)?(typeof t===Ke&&(r=t),t=n):(r=n,t=void 0),n=void 0):typeof n===Et&&!$n(t,!0)&&(r=t,t=void 0),!(this instanceof ke))return new ke(n,t,r).getResult();var a=typeof n===Et?n:Q&&Q.userAgent?Q.userAgent:r&&r[ir]?r[ir]:Ye,i=new na(r,!0),l=t?w0(cr,t):cr,s=function(p){return p==Xe?function(){return new Cr(p,a,l,i).set("ua",a).set(ne,this.getBrowser()).set(Be,this.getCPU()).set(ce,this.getDevice()).set(Ee,this.getEngine()).set(pe,this.getOS()).get()}:function(){return new Cr(p,a,l[p],i).parseUA().get()}};return we.call(this,[["getBrowser",s(ne)],["getCPU",s(Be)],["getDevice",s(ce)],["getEngine",s(Ee)],["getOS",s(pe)],["getResult",s(Xe)],["getUA",function(){return a}],["setUA",function(p){return Ze(p)&&(a=p.length>bt?fn(p,bt):p),this}]]).setUA(a),this}ke.VERSION=f0;ke.BROWSER=Yn([g,A,on,c]);ke.CPU=Yn([J]);ke.DEVICE=Yn([C,v,c,We,O,ee,$,Nn,wt]);ke.ENGINE=ke.OS=Yn([g,A]);const d0=["mobile","smarttv","wearable"],ta=new ke,k0=ta.getBrowser(),F0=ta.getDevice(),y0=(n,t,r,a,i,l)=>{const s=`${Ft} ${Ga} ${t?"X":n.length}/${me}${r?"*":""}

`+S0(n,O0(a,i))+" https://www.buchstaben.com",p={text:s};let x=!1;try{T0(p)&&(navigator.share(p),x=!0)}catch{x=!1}x||(navigator.clipboard.writeText(s),l())},S0=(n,t)=>n.map(r=>{const a=yt(r);return Ce(r).map((l,s)=>{switch(a[s]){case"correct":return t[0];case"present":return t[1];default:return t[2]}}).join("")}).join(`
`),T0=n=>{var t;return((t=k0.name)==null?void 0:t.toUpperCase().indexOf("FIREFOX"))===-1&&d0.indexOf(F0.type??"")!==-1&&navigator.canShare&&navigator.canShare(n)&&navigator.share},O0=(n,t)=>{let r=[];return r.push(t?"🟧":"🟩"),r.push(t?"🟦":"🟨"),r.push(n?"⬛":"⬜"),r},N0=({isOpen:n,handleClose:t,guesses:r,gameStats:a,isGameLost:i,isGameWon:l,handleShareToClipboard:s,isHardMode:p,isDarkMode:x,isHighContrastMode:o,numberOfGuessesMade:m})=>a.totalGames<=0?_.jsx(Pn,{title:Wt,isOpen:n,handleClose:t,children:_.jsx(tr,{gameStats:a})}):_.jsxs(Pn,{title:Wt,isOpen:n,handleClose:t,children:[_.jsx(tr,{gameStats:a}),_.jsx("h4",{className:"text-lg leading-6 font-medium text-gray-900 dark:text-gray-100",children:va}),_.jsx(o0,{gameStats:a,numberOfGuessesMade:m}),(i||l)&&_.jsxs("div",{className:"mt-5 sm:mt-6 columns-2 dark:text-white",children:[!_t&&_.jsxs("div",{children:[_.jsx("h5",{children:ha}),_.jsx(Xn,{className:"text-lg font-medium text-gray-900 dark:text-gray-100",date:Er,daysInHours:!0})]}),_.jsx("button",{type:"button",className:"mt-2 w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:text-sm",onClick:()=>{y0(r,i,p,x,o,s)},children:Da})]})]}),ut=({settingName:n,flag:t,handleFlag:r,description:a})=>{const i=qe("w-14 h-8 flex shrink-0 items-center bg-gray-300 rounded-full p-1 duration-300 ease-in-out cursor-pointer",{"bg-green-400":t}),l=qe("bg-white w-6 h-6 rounded-full shadow-md transform duration-300 ease-in-out cursor-pointer",{"translate-x-6":t});return _.jsx(_.Fragment,{children:_.jsxs("div",{className:"flex justify-between gap-4 py-3",children:[_.jsxs("div",{className:"text-gray-500 dark:text-gray-300 mt-2 text-left",children:[_.jsx("p",{className:"leading-none",children:n}),a&&_.jsx("p",{className:"text-xs mt-1 text-gray-500 dark:text-gray-300",children:a})]}),_.jsx("div",{className:i,onClick:()=>r(!t),children:_.jsx("div",{className:l})})]})})},I0=({isOpen:n,handleClose:t,isHardMode:r,handleHardMode:a,isDarkMode:i,handleDarkMode:l,isHighContrastMode:s,handleHighContrastMode:p})=>_.jsx(Pn,{title:zt||"",isOpen:n,handleClose:t,children:_.jsxs("div",{className:"flex flex-col mt-2 divide-y",children:[_.jsx(ut,{settingName:$t||"",flag:r,handleFlag:a,description:Ut||""}),_.jsx(ut,{settingName:Xt||"",flag:i,handleFlag:l}),_.jsx(ut,{settingName:Gt||"",flag:s,handleFlag:p,description:Vt||""})]})}),vr=(n,t)=>{const r={...n};return r.totalGames+=1,t>=me?(r.currentStreak=0,r.gamesFailed+=1):(r.winDistribution[t]+=1,r.currentStreak+=1,r.bestStreak<r.currentStreak&&(r.bestStreak=r.currentStreak)),r.successRate=M0(r),Ya(r),r},j0={winDistribution:Array.from(new Array(me),()=>0),gamesFailed:0,currentStreak:0,bestStreak:0,totalGames:0,successRate:0},R0=()=>Ka()||j0,M0=n=>{const{totalGames:t,gamesFailed:r}=n;return Math.round(100*(t-r)/Math.max(t,1))};const L0=({isOpen:n,message:t,variant:r="error",topMost:a=!1})=>{const i=qe("fixed z-320 top-14 left-1/2 transform -translate-x-1/2 max-w-sm shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden",{"bg-rose-500 text-white":r==="error","bg-blue-500 text-white":r==="success"});return _.jsx(On,{show:n,as:u.Fragment,enter:"ease-out duration-300 transition",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:_.jsx("div",{className:i,children:_.jsx("div",{className:"p-2",children:_.jsx("p",{className:"text-sm text-center font-medium",children:t})})})})},Pt=u.createContext({status:"success",message:null,isVisible:!1,showSuccess:()=>null,showError:()=>null});Pt.displayName="AlertContext";const ra=()=>u.useContext(Pt),P0=({children:n})=>{const[t,r]=u.useState("success"),[a,i]=u.useState(null),[l,s]=u.useState(!1),p=u.useCallback((m,f,B)=>{const{delayMs:E=0,persist:D,onClose:w,durationMs:h=Va}=B||{};setTimeout(()=>{r(m),i(f),s(!0),D||setTimeout(()=>{s(!1),w&&w()},h)},E)},[r,i,s]),x=u.useCallback((m,f)=>{p("error",m,f)},[p]),o=u.useCallback((m,f)=>{p("success",m,f)},[p]);return _.jsx(Pt.Provider,{value:{status:t,message:a,isVisible:l,showError:x,showSuccess:o},children:n})},H0=()=>{const{message:n,status:t,isVisible:r}=ra();return _.jsx(L0,{isOpen:r,message:n||"",variant:t})},$0=({setIsInfoModalOpen:n,setIsStatsModalOpen:t,setIsSettingsModalOpen:r})=>_.jsx("div",{className:"wordle-navbar header-bottom",children:_.jsxs("div",{className:"navbar-content px-5",children:[_.jsx("div",{className:"right-icons",children:_.jsx("svg",{className:"h-6 w-6 mr-2 cursor-pointer",onClick:()=>n(!0),xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:_.jsx("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"})})}),_.jsx("p",{className:"text-xl ml-2.5 font-bold",children:Ft}),_.jsxs("div",{className:"right-icons",children:[_.jsxs("svg",{className:"h-5 w-5 mr-3 cursor-pointer",onClick:()=>window.location.href=Dr,xmlns:"http://www.w3.org/2000/svg",version:"1.2",viewBox:"0 0 64 64",width:"64",height:"64",children:[_.jsx("defs",{children:_.jsx("image",{width:"64",height:"64",id:"img1",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAAXNSR0IB2cksfwAAASxQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1QoHdQAAAGR0Uk5TAEHi/+pXy9/3u+6/SnfdVgFaeZy8n1tEIHHx9YwO/CoG7/oaPa+zUBZvciEC2BMyrMUFdLjmN3N1KPb4K8TIA3bwHdUsYKlhtZWwESnAzIguIr4P+1w8QNCKooBff1Vlt7l46Yk+uaQAAAI6SURBVHic7ZfbSxtBFMbnM8YEtdQggtKGCCmlYJC+KIoosWoL4ouXVmkL+rcpUrzrg/c0VZTSUioUSSEPPnhDC0FCIaWhStxJdtfszp7NrH2J4Pe0O3vO78w3u2cyATMKALMT8M80YAoou7LNVxIu7QEe03NRpgoWADdtAmkZQGmaBFT8LXZAJdhVmnlcJAApxspZCZLWAN9vMtOohxfWgOqkEGotX8IaUHMhhFrLm6IB1fZfsqKEPaDmvBDAdRcAdfhlmVqLEymAH6dU9ceHMoB6HBH5ARxIWXiSnaooP+JSFgroTgCekWsQkwKE8JMojrpjGUBjjJx+6IeUhef7RH4j9khAVRCx0F4OUBWwXsnApRLAAZ5MgyueNAJavqmzkHkLXE1fDIBWfHUIaMFuHiDk+8wcAlgbtm8A4R3GOrBPtXMYEQPAW3um/Ha0b+mArIEXm3Q7d20YAalXEc0ENAM9azbt/HLVBGC966oJDnjwhxuI0u0cLlk2A4KaCegGHDaTZgK6AafdqJqAbsApQDWBvohyaurd4o86Fad9UTXuqX8xL6s/fqxdKvUqMtmVWWHM3Y2BJaKSO3jTlYNLGSLKi6EFaq4DM/rlmzkq6BHo0wR/MaqGZ8koDnj9SUyeFgDDH4WozpkcIH9/UNUTFQAjk0IUPzIVNcAkZ4D3H4ShtxNOAM3fhaF3404AbBRThvsRzIuHQDuAlO4B94DiAnioLbeQ+P9Qm01VElJ62/I5jcGd+R/C2Ow1ClYCeTJ9s90AAAAASUVORK5CYII="})}),_.jsx("style",{}),_.jsx("use",{id:"Background",href:"#img1",x:"0",y:"0"})]}),_.jsx("svg",{className:"h-6 w-6 mr-3 cursor-pointer",onClick:()=>t(!0),xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:_.jsx("path",{d:"M16,11V3H8v6H2v12h20V11H16z M10,5h4v14h-4V5z M4,11h4v8H4V11z M20,19h-4v-6h4V19z"})}),_.jsx("svg",{className:"h-6 w-6 cursor-pointer",onClick:()=>r(!0),xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:_.jsx("path",{d:"M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"})})]})]})});function U0(){const{showError:n,showSuccess:t}=ra(),[r,a]=u.useState(0),[i,l]=u.useState("_____"),[s,p]=u.useState(!1),[x,o]=u.useState(!1),[m,f]=u.useState(!1),[B,E]=u.useState(!1),[D,w]=u.useState(""),[h,N]=u.useState(!1),[G,T]=u.useState(localStorage.completedArchiveGames?JSON.parse(localStorage.completedArchiveGames):{}),[I,fe]=u.useState(localStorage.getItem("theme")?localStorage.getItem("theme")==="dark":!1),[H,ge]=u.useState(St()),[ae,K]=u.useState(!1),[R,Ae]=u.useState(()=>{const y=qa();if((y==null?void 0:y.solution)!==Oe)return[];const L=y.guesses.includes(Oe);return L&&p(!0),y.guesses.length===me&&!L&&N(!0),y.guesses}),[Z,e]=u.useState(()=>R0()),[b,F]=u.useState(localStorage.getItem("gameMode")?localStorage.getItem("gameMode")==="hard":!1),[d,k]=u.useState(!1);u.useEffect(()=>{d&&sa("wordle",he.date)},[d]),u.useEffect(()=>{I?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),H?document.documentElement.classList.add("high-contrast"):document.documentElement.classList.remove("high-contrast")},[I,H]);const j=y=>{fe(y),localStorage.setItem("theme",y?"dark":"light")},Fe=y=>{R.length===0||localStorage.getItem("gameMode")==="hard"?(F(y),localStorage.setItem("gameMode",y?"hard":"normal")):n(fa)},_e=y=>{ge(y),Ja(y)},ie=()=>{w("")};u.useEffect(()=>{Xa({guesses:R,solution:Oe})},[R]),u.useEffect(()=>{if(s){const y=typeof hn=="string"?hn:hn[Math.floor(Math.random()*hn.length)],L=mn*De;t(y,{delayMs:L,onClose:()=>f(!0)})}h&&setTimeout(()=>{f(!0)},Wa)},[s,h,t]);const V=y=>{a(y)},en=y=>{if(k(!0),R.length<me&&!s&&r<De){var L=i.substring(0,r)+y+i.substring(r+1);l(`${L}`);var W=r+1;W<=De&&a(W)}},se=()=>{if(i.charAt(r)=="_"||i.charAt(r)==""){if(r>0){var y=i.substring(0,r-1)+"_"+i.substring(r);l(`${y}`);var L=r-1;L>=0&&a(L)}}else{var y=i.substring(0,r)+"_"+i.substring(r+1);l(`${y}`)}},Kn=()=>{if(s||h)return;if(Yt(i)!==De)return w("jiggle"),n(ma,{onClose:ie});if(!La(i))return w("jiggle"),n(oa,{onClose:ie});if(b){const L=Ha(i,R);if(L)return w("jiggle"),n(L,{onClose:ie})}K(!0),setTimeout(()=>{K(!1)},mn*De);const y=Pa(i);if(Yt(i)===De&&R.length<me&&!s&&(Ae([...R,i]),l("_____"),a(0),y||R.length===me-1)){let L="wordle",W={};W[L]={};let Cn=0;G&&(W=G,Cn=W.hasOwnProperty(L)?Object.keys(W[L]).length:0),(!W.hasOwnProperty(L)||Object.values(W[L]).indexOf(he.date)===-1)&&(W.hasOwnProperty(L)||(W[L]={}),W[L][Cn]=he.date),localStorage.setItem("completedArchiveGames",JSON.stringify(W)),T(W)}if(y)return e(vr(Z,R.length)),Ht("wordle","success",he.date),p(!0);R.length===me-1&&(Ht("wordle","fail",he.date),e(vr(Z,R.length+1)),N(!0))},Jn=()=>{Ae([]),f(!1),N(!1),p(!1);let y=G;y.wordle={};for(let[L,W]of Object.entries(G.wordle))W!==he.date&&(y[Object.entries(y).length]=W);localStorage.setItem("completedArchiveGames",JSON.stringify(y)),T(y)};return _.jsx("div",{className:"flex flex-col",children:_.jsxs("div",{className:"mb-4",children:[_.jsx($0,{setIsInfoModalOpen:o,setIsStatsModalOpen:f,setIsSettingsModalOpen:E}),_.jsxs("div",{className:"pt-2 px-1 md:max-w-7xl w-full mx-auto sm:px-6 lg:px-8 flex flex-col grow",children:[_.jsxs("div",{className:h||s?"grow":"pb-6 grow lg:mb-40",children:[_.jsx(ni,{guesses:R,currentGuess:i,isRevealing:ae,currentRowClassName:D,currentPosition:r,onCurrentPosition:V}),(h||s)&&_.jsxs("div",{className:"countdown-home text-lg font-medium text-gray-900 text-gray-100",children:[_.jsx("div",{className:"kelime",children:Oe}),!_t&&_.jsxs("div",{children:[_.jsxs("span",{children:[Ta," "]}),_.jsx(Xn,{date:Er,daysInHours:!0})]}),_.jsxs("div",{className:"my-12 text-center",children:[_.jsx("p",{className:"font-bold mb-5",children:Oa.replaceAll("<name>",Ft)}),_.jsx("a",{className:"underline",href:Dr,children:Na}),_t&&_.jsx("button",{onClick:Jn,className:"block mt-5 mx-auto hover:no-underline border-[1px] border-black rounded-full px-4 py-2 text-center text-sm",children:Ia})]})]})]}),_.jsx(ti,{onChar:en,onDelete:se,onEnter:Kn,guesses:R,isRevealing:ae}),_.jsx(n0,{isOpen:x,handleClose:()=>o(!1)}),_.jsx(N0,{isOpen:m,handleClose:()=>f(!1),guesses:R,gameStats:Z,isGameLost:h,isGameWon:s,handleShareToClipboard:()=>t(_a),isHardMode:b,isDarkMode:I,isHighContrastMode:H,numberOfGuessesMade:R.length}),_.jsx(I0,{isOpen:B,handleClose:()=>E(!1),isHardMode:b,handleHardMode:Fe,isDarkMode:I,handleDarkMode:j,isHighContrastMode:H,handleHighContrastMode:_e}),_.jsx(H0,{})]})]})})}const G0=n=>{n&&n instanceof Function&&la(()=>import("./web-vitals-23d6d37b.js"),[]).then(({getCLS:t,getFID:r,getFCP:a,getLCP:i,getTTFB:l})=>{t(n),r(n),a(n),i(n),l(n)})};ia.render(_.jsx(S.StrictMode,{children:_.jsx(P0,{children:_.jsx(U0,{})})}),document.getElementById("root"));G0();