1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},70756,e=>{"use strict";let t=(0,e.i(75254).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],70756)},52422,e=>{"use strict";var t=e.i(17805);e.s(["mutate",()=>t.j])},93390,e=>{"use strict";var t=e.i(71645),r=e.i(18566),i=e.i(83599),n=e.i(71193),s=e.i(59141),a=e.i(90685),o=e.i(57951),l=e.i(60833),d=e.i(72464),u=e.i(95033);async function c(e){let t=localStorage.getItem("countryCode")||void 0,[r,i]=await Promise.all([(0,n.fetchDailyMissionDashboard)(e,t),(0,n.fetchUserXP)(e)]);if((0,u.isDisabledAccountResponse)(r)||(0,u.isDisabledAccountResponse)(i))throw r||i;if(!r?.data||!i?.data)throw Error("token session returned missing stats data");return{dashboard:r,xp:i}}e.s(["default",0,function(){let e=(0,r.useRouter)(),{loading:n}=(0,o.useAuth)(),h=(0,d.useSetAtom)(l.dailyMissionDataAtom),m=(0,d.useSetAtom)(l.nextClaimInfoAtom),f=(0,d.useSetAtom)(l.totalCoinsAtom),p=(0,d.useSetAtom)(l.totalXPAtom),y=(0,d.useSetAtom)(l.topbarNotificationsAtom),g=(0,d.useSetAtom)(l.walletCoinsAtom),w=(0,d.useSetAtom)(l.xpHistoryAtom),[v,x]=(0,t.useState)(()=>localStorage.getItem("token"));(0,t.useEffect)(()=>{let e=()=>x(localStorage.getItem("token"));return e(),window.addEventListener("gamony-session-refreshed",e),window.addEventListener("storage",e),()=>{window.removeEventListener("gamony-session-refreshed",e),window.removeEventListener("storage",e)}},[]);let{data:b,isLoading:S}=(0,i.default)(v&&!n?["user-stats",v]:null,async([,t])=>{try{return await c(t)}catch(o){let r;if((0,u.isDisabledAccountResponse)(o))throw await (0,u.forceDisabledAccountLogout)(e),o;let i=s.auth?.currentUser;if(!((r=o instanceof Error?o.message:String(o)).includes("failed: 401")||r.includes("failed: 403")||/token|unauth|jwt|expired/i.test(r))||!i)throw o;await (0,a.refreshGamonySessionFromFirebaseUser)(i);let n=localStorage.getItem("token")||t;return x(n),window.dispatchEvent(new Event("gamony-session-refreshed")),c(n)}},{revalidateOnFocus:!0,refreshInterval:6e4});return(0,t.useEffect)(()=>{if(!b)return;let{dashboard:e,xp:t}=b,r=Number(e.data.total_coins),i=Number.isFinite(r)?r/1e3:0;h({...e.data.coinData,totalCoinsEarned:e.data.total_coins}),m(e.data.nextClaimInfo??null),y(Array.isArray(e.data.InappNotification)?e.data.InappNotification:[]),f(i),g(e.data.total_coins??0),p(t?.data?.xp??0),w(Array.isArray(t?.data?.history)?t.data.history:[])},[b,h,m,f,p,y,g,w]),{isLoading:n||!b&&S||!1,isHydrated:!!b}}])},93012,e=>{"use strict";var t=e.i(43476),r=e.i(57688);e.s(["default",0,({children:e,variant:i="primary",leftIcon:n,rightIcon:s,isLoading:a=!1,fullWidth:o=!0,className:l="",disabled:d,...u})=>{let c=e=>"string"==typeof e?(0,t.jsx)(r.default,{src:e,alt:"",width:20,height:20}):e;return(0,t.jsx)("button",{disabled:a||d,className:`flex items-center justify-center gap-2 rounded-lg py-2.5 transition font-onest shadow-[4px_4px_0px_0px_#000000] cursor-pointer ${o?"w-full":"w-auto"} ${{primary:"bg-[#0145F2] text-white hover:bg-blue-700 disabled:bg-blue-300",secondary:"border border-gray-200 hover:bg-gray-50 disabled:bg-gray-100",social:"border border-gray-200 hover:bg-gray-50 disabled:bg-gray-100"}[i]} ${l}`,...u,children:a?(0,t.jsx)("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}):(0,t.jsxs)(t.Fragment,{children:[n&&c(n),e,s&&c(s)]})})}])},86909,e=>{"use strict";e.i(51718);var t=e.i(44073),t=t,r=t,i=t,n=t,s=t,a=t,o=t,l=t,d=e.i(94444),u=e.i(59141);let c=new o.Y;new l.X;let h=()=>{if(!u.auth)throw Error("Firebase auth is not initialized. Please check your Firebase configuration.");return u.auth},m=async(e,r)=>{let i=h();return(0,t.ac)(i,e,r)},f=async(e,t)=>{try{let i=h(),n=await (0,r.ab)(i,e,t);return await p(n.user),n}catch(e){throw e}},p=async e=>{await (0,s.ah)(e,{url:`${window.location.origin}/verify-email`,handleCodeInApp:!1})},y=async e=>{let t=h();return(0,a.ag)(t,e.trim())},g=async()=>{let e=h();return(0,i.d)(e,c)},w=async()=>{let e=h();await (0,d.signOut)(e)},v=async e=>{let t=h(),r=o.Y.credential(e);return(0,n.a2)(t,r)};e.s(["getFirebaseErrorMessage",0,e=>{let t="object"==typeof e&&null!==e?e:null,r=String(t?.code||"").trim(),i=String(t?.message||("string"==typeof e?e:"")).trim(),n=`${r} ${i}`.trim(),s=n.match(/(?:auth|gamony)\/[a-z-]+/)?.[0]||r;switch(s){case"auth/user-not-found":case"gamony/account-not-found":return"No Gamony account was found for this email. Please sign up first.";case"auth/invalid-credential":return"The email or password is incorrect. If you do not have a Gamony account, please sign up first.";case"auth/wrong-password":return"Incorrect password. Please try again.";case"auth/invalid-email":return"Invalid email address format.";case"auth/user-disabled":return"This account has been disabled.";case"auth/email-already-in-use":return"This email is already registered. If you used Google before, please continue with Google.";case"auth/account-exists-with-different-credential":return"This email is already linked to another sign-in method. Please continue with the original sign-in option.";case"auth/email-not-verified":return"Please verify your email address before logging in.";case"gamony/account-already-exists":return"A Gamony account already exists with this email. Kindl
1y log in.";case"auth/firebase-project-mismatch":return"Your Firebase account is not connected to Gamony's authentication project. Please contact support.";case"auth/invalid-firebase-token":return"Your authentication session is invalid or expired. Please sign in again.";case"auth/firebase-lookup-failed":return"We could not verify the previous authentication account. Please try again.";case"auth/requires-recent-login":return"Please sign in again before retrying this action.";case"auth/weak-password":return"Password should be at least 6 characters long.";case"auth/network-request-failed":return"Network error. Please check your connection.";case"auth/too-many-requests":return"Too many failed attempts. Please try again later.";case"auth/unauthorized-continue-uri":return"This website domain is not authorized in Firebase for email links. Please contact support. (auth/unauthorized-continue-uri)";case"auth/invalid-continue-uri":return"The email link redirect URL is invalid. Please contact support. (auth/invalid-continue-uri)";case"auth/missing-continue-uri":return"The email link redirect URL is missing. Please contact support. (auth/missing-continue-uri)";case"auth/operation-not-allowed":return"This email authentication action is not enabled in Firebase. Please contact support. (auth/operation-not-allowed)";case"auth/user-token-expired":case"auth/invalid-user-token":return"Your Firebase session has expired. Please sign in again.";case"auth/internal-error":return"Firebase returned an internal authentication error. Please retry shortly. (auth/internal-error)";case"auth/popup-closed-by-user":return"Sign-in popup was closed. Please try again.";case"auth/cancelled-popup-request":return"Only one popup request is allowed at a time.";case"auth/invalid-api-key":return"Firebase configuration error. Please contact support.";default:if(s||i){let e=s?` (${s})`:"";return`Authentication failed${e}: ${i||"No additional details were provided."}`}return"Authentication failed: Firebase did not provide an error code or message."}},"getSignInMethodsForEmail",0,y,"isEmailVerified",0,e=>!!e?.emailVerified,"sendVerificationEmail",0,p,"signInWithEmail",0,m,"signInWithGoogle",0,g,"signInWithGoogleCredential",0,v,"signOutUser",0,w,"signUpWithEmail",0,f],86909)},58709,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(18566),n=e.i(57951),s=e.i(59141);let a="animate-pulse motion-reduce:animate-none bg-slate-200";function o({className:e}){return(0,t.jsx)("div",{className:`${a} rounded-full ${e}`,"aria-hidden":"true"})}function l({count:e=6}){return(0,t.jsxs)("div",{className:"mt-6 grid grid-cols-1 gap-5 lg:grid-cols-2 xl:grid-cols-3",role:"status",children:[(0,t.jsx)("span",{className:"sr-only",children:"Loading offers"}),Array.from({length:e},(e,r)=>(0,t.jsxs)("div",{className:"overflow-hidden rounded-xl border border-black/10 bg-white shadow-[3px_4px_0_0_rgba(0,0,0,0.12)]","aria-hidden":"true",children:[(0,t.jsx)("div",{className:`${a} h-36 w-full rounded-none`}),(0,t.jsxs)("div",{className:"space-y-3 p-4",children:[(0,t.jsx)(o,{className:"h-5 w-3/4"}),(0,t.jsx)(o,{className:"h-3 w-full"}),(0,t.jsx)(o,{className:"h-3 w-2/3"}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-2",children:[(0,t.jsx)(o,{className:"h-7 w-20"}),(0,t.jsx)("div",{className:`${a} h-9 w-24 rounded-lg`})]})]})]},r))]})}function d(){return(0,t.jsxs)("div",{className:"container mx-auto px-4 pb-10 pt-5 md:px-6 md:pt-7",role:"status",children:[(0,t.jsx)("span",{className:"sr-only",children:"Loading your Gamony home"}),(0,t.jsxs)("div",{className:"space-y-3","aria-hidden":"true",children:[(0,t.jsx)(o,{className:"h-5 w-40 md:w-56"}),(0,t.jsx)(o,{className:"h-10 w-64 md:h-14 md:w-96"}),(0,t.jsx)(o,{className:"h-6 w-52 md:w-72"})]}),(0,t.jsx)("div",{className:`${a} mt-6 h-[220px] w-full rounded-2xl border-2 border-slate-300 md:h-[290px]`,"aria-hidden":"true"}),(0,t.jsx)("div",{className:"mt-5 flex min-h-[170px] gap-3 overflow-hidden","aria-hidden":"true",children:Array.from({length:6},(e,r)=>(0,t.jsx)("div",{className:`${a} h-40 min-w-28 rounded-2xl`},r))}),(0,t.jsxs)("div",{className:"mt-6 flex gap-3 border-b border-slate-200 pb-3","aria-hidden":"true",children:[(0,t.jsx)(o,{className:"h-8 w-28"}),(0,t.jsx)(o,{className:"h-8 w-24"}),(0,t.jsx)(o,{className:"h-8 w-28"})]}),(0,t.jsx)(l,{})]})}function u(){return(0,t.jsxs)("div",{className:"min-h-screen overflow-hidden bg-slate-50 text-slate-950",children:[(0,t.jsx)("header",{className:"fixed inset-x-0 top-0 z-50 flex h-[76px] items-center justify-end bg-white px-4 shadow-[0_4px_34px_#00000012] md:px-8",children:(0,t.jsxs)("div",{className:"flex items-center gap-3","aria-hidden":"true",children:[(0,t.jsx)(o,{className:"hidden h-9 w-28 sm:block"}),(0,t.jsx)("div",{className:`${a} h-10 w-10 rounded-full`})]})}),(0,t.jsx)("aside",{className:"fixed bottom-0 left-0 top-[76px] hidden w-[282px] border-r border-slate-200 bg-white px-5 py-6 md:block",children:(0,t.jsx)("div",{className:"space-y-4","aria-hidden":"true",children:Array.from({length:8},(e,r)=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:`${a} h-9 w-9 rounded-xl`}),(0,t.jsx)(o,{className:`h-4 ${r%3==0?"w-32":"w-24"}`})]},r))})}),(0,t.jsx)("div",{className:"min-h-screen pt-[76px] md:pl-[282px]",children:(0,t.jsx)(d,{})}),(0,t.jsx)("nav",{className:"fixed inset-x-0 bottom-0 flex h-16 items-center justify-around border-t border-slate-200 bg-white md:hidden",children:Array.from({length:5},(e,r)=>(0,t.jsx)("div",{className:`${a} h-9 w-9 rounded-xl`,"aria-hidden":"true"},r))})]})}e.s(["default",0,({children:e,redirectIfAuthenticated:a=!1,redirectTo:o="/home"})=>{let{user:l,loading:d}=(0,n.useAuth)(),c=s.auth?.currentUser,h=(0,i.useRouter)(),[m,f]=(0,r.useState)(null);if((0,r.useEffect)(()=>{f(!!(window.localStorage.getItem("token")&&window.localStorage.getItem("userId")))},[]),(0,r.useEffect)(()=>
1{if(d){a&&m&&h.replace(o);return}let e=l||c,t=!!localStorage.getItem("token"),r=!!(e&&(t||!e.emailVerified));r&&a?h.replace(o):(!e||r||a)&&(e||a)||h.replace("/login")},[l,d,c,a,m,o,h]),d||null===m)return a&&!m?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)(u,{});let p=!!localStorage.getItem("token"),y=l||c,g=!!(y&&(p||!y.emailVerified));return(!a||!g)&&(a||y)&&(a||!y||g)?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)(u,{})}],58709)},16015,(e,t,r)=>{},98547,(e,t,r)=>{var i=e.i(47167);e.r(16015);var n=e.r(71645),s=n&&"object"==typeof n&&"default"in n?n:{default:n},a=void 0!==i.default&&i.default.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,i=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,s=void 0===n?a:n;d(o(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",d("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(d(o(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(i){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];d(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&d(o(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(i,r):n.appendChild(i),i},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},c={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),i=e+r;return c[i]||(c[i]="jsx-"+u(e+"-"+r)),c[i]}function m(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return c[r]||(c[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),c[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,i=void 0===r?null:r,n=t.optimizeForSpeed,s=void 0!==n&&n;this._sheet=i||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),i&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),i=r.styleId,n=r.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var s=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=s,this._instancesCounts[i]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var i=this._fromServer&&this._fromServer[r];i?(i.parentNode.removeChild(i),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],i=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,i=e.id;if(r){var n=h(i,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return m(n,e)}):[m(n,t)]}}return{styleId:h(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=n.createContext(null);function y(){return new f}function g(){return n.useContext(p)}p.displayName="StyleSheetContext";var w=s.default.useInsertionEffect||s.default.useLayoutEffect,v="u">typeof window?y():void 0;function x(e){var t=v||g();return t&&("u"<typeof window?t.add(e):w(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}x.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,i=n.useContext(p),a=n.useState(function(){return i||t||y()})[0];return s.default.createElement(p.Provider,{value:a},r)},r.createStyleRegistry=y,r.style=x,r.useStyleRegistry=g},21373,(e,t,r)=>{t.exports=e.r(98547).style},31171,e=>{"use strict";
1let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},64659,e=>{"use strict";var t=e.i(31171);e.s(["ChevronDown",()=>t.default])},60212,e=>{"use strict";let t=new Set(["in","ind","india"]),r=e=>t.has(e?.trim().toLowerCase()??"");e.s(["isAllowedGiftCardDenomination",0,(e,t)=>{let i;if(!r(e))return!0;let n=(i=t.replace(/,/g,"").match(/\d+(?:\.\d+)?/)?.[0])?Number(i):NaN;return Number.isFinite(n)&&n>=50},"isIndiaCountry",0,r])},8749,e=>{"use strict";var t=e.i(71645),r=e.i(60212);e.s(["useCountryCode",0,function(){let[e,i]=(0,t.useState)(null),[n,s]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=()=>{i(window.localStorage.getItem("countryCode")),s(!0)};return e(),window.addEventListener("storage",e),window.addEventListener("gamony-country-updated",e),window.addEventListener("gamony-session-refreshed",e),()=>{window.removeEventListener("storage",e),window.removeEventListener("gamony-country-updated",e),window.removeEventListener("gamony-session-refreshed",e)}},[]),{countryCode:e,isLoaded:n,isIndia:(0,r.isIndiaCountry)(e)}}])},9956,e=>{"use strict";let t=(0,e.i(75254).default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);e.s(["default",0,t])},20128,e=>{"use strict";var t=e.i(52422);e.s(["clearSWRCache",0,function(){(0,t.mutate)(()=>!0,void 0,{revalidate:!1})}])},30699,e=>{"use strict";let t=(0,e.i(75254).default)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);e.s(["Gift",0,t],30699)},64030,e=>{"use strict";let t=(0,e.i(75254).default)("trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);e.s(["Trophy",0,t],64030)},78745,e=>{"use strict";let t=(0,e.i(75254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},52702,e=>{"use strict";var t=e.i(71645);e.s(["default",0,()=>{let[e,r]=(0,t.useState)(()=>window.innerWidth<768);return(0,t.useEffect)(()=>{let e=()=>r(window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}])},92163,e=>{"use strict";var t=e.i(9956);e.s(["Gamepad2",()=>t.default])},43531,e=>{"use strict";var t=e.i(78745);e.s(["Check",()=>t.default])},34159,e=>{"use strict";let t="gamony-home-tutorial-v2:done",r="gamony-signup-bonus-v1:seen",i="gamony-required-profile-setup:ready";function n(e){return`gamony-home-tutorial-v3:${e}:done`}e.s(["REQUIRED_PROFILE_SETUP_EVENT",0,i,"SIGNUP_BONUS_SEEN_KEY",0,r,"getProfileSetupDoneKey",0,function(e){return`gamony-required-profile-settings-v1:${e}:done`},"isHomeTutorialDone",0,function(e){if(!e)return!1;let r=n(e);return"done"===window.localStorage.getItem(r)||"done"===window.localStorage.getItem(t)&&(window.localStorage.setItem(r,"done"),window.localStorage.removeItem(t),!0)},"markHomeTutorialDone",0,function(e){e&&(window.localStorage.setItem(n(e),"done"),window.localStorage.removeItem(t))},"markSignupBonusSeen",0,function(){window.localStorage.setItem(r,"done"),window.dispatchEvent(new Event(i))},"notifyOnboardingReady",0,function(){window.dispatchEvent(new Event(i))},"resetOnboardingForNewAccount",0,function(e){window.localStorage.removeItem(r),window.localStorage.removeItem(t),e&&window.localStorage.removeItem(n(e))}])},62853,e=>{"use strict";let t=[{day:1,rewardCoins:25,requiredEarnedCoins:250,displayRewardUsd:.1},{day:2,rewardCoins:50,requiredEarnedCoins:500,displayRewardUsd:.25},{day:3,rewardCoins:75,requiredEarnedCoins:1e3,displayRewardUsd:.5},{day:4,rewardCoins:100,requiredEarnedCoins:1250,displayRewardUsd:.75},{day:5,rewardCoins:125,requiredEarnedCoins:1500,displayRewardUsd:1},{day:6,rewardCoins:150,requiredEarnedCoins:1750,displayRewardUsd:2},{day:7,rewardCoins:200,requiredEarnedCoins:2e3,displayRewardUsd:3}],r=t.length;e.s(["COIN_TO_USD_RATE",0,.001,"DAILY_REWARD_STRUCTURE",0,t,"MAX_DAILY_MISSION_DAY",0,r,"getDailyRewardConfig",0,function(e){let r=Number.isFinite(e)?Math.min(Math.max(Math.floor(e),1),t[t.length-1]?.day??1):1;return t.find(e=>e.day===r)||t[t.length-1]}])},61911,e=>{"use strict";
1let t=(0,e.i(75254).default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,t],61911)},31454,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(74080);e.s(["default",0,({trigger:e,triggerType:n="click",options:s,position:a="bottom-right",usePortal:o=!0,children:l})=>{let[d,u]=(0,r.useState)(!1),c=(0,r.useRef)(null),h=(0,r.useRef)(null),[m,f]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=e=>{let t=c.current,r=h.current,i=e.target;!t||t.contains(i)||r&&r.contains(i)||u(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,r.useEffect)(()=>{if(!d||!o)return;let e=()=>{let e=c.current;if(!e)return;let t=e.getBoundingClientRect(),r=0,i=0;switch(a){case"bottom-left":r=t.bottom,i=t.left;break;case"top-right":r=t.top,i=t.right;break;case"top-left":r=t.top,i=t.left;break;default:r=t.bottom,i=t.right}f({top:r,left:i})};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[d,a,o]);let p=e=>{e.callback(),u(!1)};return(0,t.jsxs)("div",{className:"relative",ref:c,children:[(0,t.jsx)("div",{onClick:()=>u(!d),className:"cursor-pointer",onMouseEnter:()=>"hover"===n&&u(!0),onMouseLeave:()=>"hover"===n&&u(!1),children:e}),d&&!o&&(0,t.jsx)("div",{className:`absolute z-50 ${(()=>{switch(a){case"bottom-left":return"top-full left-0 mt-1";case"top-right":return"bottom-full right-0 mb-1";case"top-left":return"bottom-full left-0 mb-1";default:return"top-full right-0 mt-1"}})()}`,children:(0,t.jsxs)("div",{className:"bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[150px] w-max max-w-[calc(100vw-2rem)]",children:[s.map(e=>(0,t.jsx)("button",{onClick:()=>p(e),className:"w-full text-left px-4 py-2 text-sm leading-snug text-gray-700 whitespace-normal break-words hover:bg-gray-100 transition-colors duration-150 first:rounded-t-lg last:rounded-b-lg",children:e.label},e.value)),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"border-t border-gray-100 my-1"}),l]})]})}),d&&o&&m&&(0,i.createPortal)((0,t.jsx)("div",{ref:h,className:"fixed z-[1000]",style:{top:m.top,left:m.left,transform:(()=>{switch(a){case"bottom-left":return"translate(0, 0)";case"top-right":return"translate(-100%, -100%)";case"top-left":return"translate(0, -100%)";default:return"translate(-100%, 0)"}})()},onMouseEnter:()=>"hover"===n&&u(!0),onMouseLeave:()=>"hover"===n&&u(!1),children:(0,t.jsxs)("div",{className:"bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[150px] w-max max-w-[calc(100vw-2rem)]",children:[s.map(e=>(0,t.jsx)("button",{onClick:()=>p(e),className:"w-full text-left px-4 py-2 text-sm leading-snug text-gray-700 whitespace-normal break-words hover:bg-gray-100 transition-colors duration-150 first:rounded-t-lg last:rounded-b-lg",children:e.label},e.value)),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"border-t border-gray-100 my-1"}),l]})]})}),document.body)]})}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.