PageSourceSearch

https://hotako.fun/_next/static/chunks/84e5968b4dcf3cac.js

js hotako.fun collected 2026-10-07 23:10:03 UTC 70,268 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2952,e=>{"use strict";let t;var r=e.i(91398),s=e.i(91788),a=e.i(17837),o=e.i(98311),l=e.i(98817),i=e.i(5333);e.i(64376);var n=e.i(93854),d=e.i(22138),c=e.i(3299),m=e.i(47735),p=e.i(95746),b=e.i(27630),x=e.i(30788),u=e.i(87346);let h=(0,e.i(69547).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var f=e.i(99117),g=e.i(66311),v=e.i(75284),w=e.i(32237),k=e.i(43638),y=e.i(49249),j=e.i(82873);function N(){for(var e,t,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,s,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(s=e(t[r]))&&(a&&(a+=" "),a+=s)}else for(s in t)t[s]&&(a&&(a+=" "),a+=s);return a}(e))&&(s&&(s+=" "),s+=t);return s}e.i(50461),e.i(22434);let T=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),_=[],S=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let s=e[t],a=r.nextPart.get(s);if(a){let r=S(e,t+1,a);if(r)return r}let o=r.validators;if(null===o)return;let l=0===t?e.join("-"):e.slice(t).join("-"),i=o.length;for(let e=0;e<i;e++){let t=o[e];if(t.validator(l))return t.classGroupId}},C=(e,t)=>{let r=T();for(let s in e)z(e[s],r,s,t);return r},z=(e,t,r,s)=>{let a=e.length;for(let o=0;o<a;o++)E(e[o],t,r,s)},E=(e,t,r,s)=>{"string"==typeof e?H(e,t,r):"function"==typeof e?O(e,t,r,s):L(e,t,r,s)},H=(e,t,r)=>{(""===e?t:A(t,e)).classGroupId=r},O=(e,t,r,s)=>{I(e)?z(e(s),t,r,s):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},L=(e,t,r,s)=>{let a=Object.entries(e),o=a.length;for(let e=0;e<o;e++){let[o,l]=a[e];z(l,A(t,o),r,s)}},A=(e,t)=>{let r=e,s=t.split("-"),a=s.length;for(let e=0;e<a;e++){let t=s[e],a=r.nextPart.get(t);a||(a=T(),r.nextPart.set(t,a)),r=a}return r},I=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,R=[],P=(e,t,r,s,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:s,isExternal:a}),U=/\s+/,W=e=>{let t;if("string"==typeof e)return e;let r="";for(let s=0;s<e.length;s++)e[s]&&(t=W(e[s]))&&(r&&(r+=" "),r+=t);return r},F=[],M=e=>{let t=t=>t[e]||F;return t.isThemeGetter=!0,t},G=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,$=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,K=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,B=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>q.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>!!e&&Number.isInteger(Number(e)),Z=e=>e.endsWith("%")&&X(e.slice(0,-1)),ee=e=>D.test(e),et=()=>!0,er=e=>K.test(e)&&!Y.test(e),es=()=>!1,ea=e=>B.test(e),eo=e=>J.test(e),el=e=>!en(e)&&!eh(e),ei=e=>eN(e,eC,es),en=e=>G.test(e),ed=e=>eN(e,ez,er),ec=e=>eN(e,eE,X),em=e=>eN(e,eO,et),ep=e=>eN(e,eH,es),eb=e=>eN(e,e_,es),ex=e=>eN(e,eS,eo),eu=e=>eN(e,eL,ea),eh=e=>$.test(e),ef=e=>eT(e,ez),eg=e=>eT(e,eH),ev=e=>eT(e,e_),ew=e=>eT(e,eC),ek=e=>eT(e,eS),ey=e=>eT(e,eL,!0),ej=e=>eT(e,eO,!0),eN=(e,t,r)=>{let s=G.exec(e);return!!s&&(s[1]?t(s[1]):r(s[2]))},eT=(e,t,r=!1)=>{let s=$.exec(e);return!!s&&(s[1]?t(s[1]):r)},e_=e=>"position"===e||"percentage"===e,eS=e=>"image"===e||"url"===e,eC=e=>"length"===e||"size"===e||"bg-size"===e,ez=e=>"length"===e,eE=e=>"number"===e,eH=e=>"family-name"===e,eO=e=>"number"===e||"weight"===e,eL=e=>"shadow"===e,eA=((e,...t)=>{let r,s,a,o,l=e=>{let t=s(e);if(t)return t;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a,sortModifiers:o}=t,l=[],i=e.trim().split(U),n="";for(let e=i.length-1;e>=0;e-=1){let t=i[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:b}=r(t);if(d){n=t+(n.length>0?" "+n:n);continue}let x=!!b,u=s(x?p.substring(0,b):p);if(!u){if(!x||!(u=s(p))){n=t+(n.length>0?" "+n:n);continue}x=!1}let h=0===c.length?"":1===c.length?c[0]:o(c).join(":"),f=m?h+"!":h,g=f+u;if(l.indexOf(g)>-1)continue;l.push(g);let v=a(u,x);for(let e=0;e<v.length;++e){let t=v[e];l.push(f+t)}n=t+(n.length>0?" "+n:n)}return n})(e,r);return a(e,o),o};return o=i=>{var n;let d;return s=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),s=Object.create(null),a=(a,o)=>{r[a]=o,++t>e&&(t=0,s=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=s[e])?(a(e,t),t):void 0},set(e,t){e in r?r[e]=t:a(e,t)}}})((n=t.reduce((e,t)=>
1t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,s=e=>{let t,r=[],s=0,a=0,o=0,l=e.length;for(let i=0;i<l;i++){let l=e[i];if(0===s&&0===a){if(":"===l){r.push(e.slice(o,i)),o=i+1;continue}if("/"===l){t=i;continue}}"["===l?s++:"]"===l?s--:"("===l?a++:")"===l&&a--}let i=0===r.length?e:e.slice(o),n=i,d=!1;return i.endsWith("!")?(n=i.slice(0,-1),d=!0):i.startsWith("!")&&(n=i.slice(1),d=!0),P(r,d,n,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=s;s=t=>t.startsWith(e)?r(t.slice(e.length)):P(R,!1,t,void 0,!0)}if(r){let e=s;s=t=>r({className:t,parseClassName:e})}return s})(n),sortModifiers:(d=new Map,n.orderSensitiveModifiers.forEach((e,t)=>{d.set(e,1e6+t)}),e=>{let t=[],r=[];for(let s=0;s<e.length;s++){let a=e[s],o="["===a[0],l=d.has(a);o||l?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(a)):r.push(a)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return C(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,s,a;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(s=(t=r.slice(1,-1)).indexOf(":"),(a=t.slice(0,s))?"arbitrary.."+a:void 0)}let s=e.split("-"),a=+(""===s[0]&&s.length>1);return S(s,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=s[e],a=r[e];if(t){if(a){let e=Array(a.length+t.length);for(let t=0;t<a.length;t++)e[t]=a[t];for(let r=0;r<t.length;r++)e[a.length+r]=t[r];return e}return t}return a||_}return r[e]||_}}})(n)}).cache.get,a=r.cache.set,o=l,l(i)},(...e)=>o(((...e)=>{let t,r,s=0,a="";for(;s<e.length;)(t=e[s++])&&(r=W(t))&&(a&&(a+=" "),a+=r);return a})(...e))})(()=>{let e=M("color"),t=M("font"),r=M("text"),s=M("font-weight"),a=M("tracking"),o=M("leading"),l=M("breakpoint"),i=M("container"),n=M("spacing"),d=M("radius"),c=M("shadow"),m=M("inset-shadow"),p=M("text-shadow"),b=M("drop-shadow"),x=M("blur"),u=M("perspective"),h=M("aspect"),f=M("ease"),g=M("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),eh,en],y=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],N=()=>[eh,en,n],T=()=>[V,"full","auto",...N()],_=()=>[Q,"none","subgrid",eh,en],S=()=>["auto",{span:["full",Q,eh,en]},Q,eh,en],C=()=>[Q,"auto",eh,en],z=()=>["auto","min","max","fr",eh,en],E=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],H=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...N()],L=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],A=()=>[V,"screen","full","dvw","lvw","svw","min","max","fit",...N()],I=()=>[V,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],R=()=>[e,eh,en],P=()=>[...w(),ev,eb,{position:[eh,en]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],W=()=>["auto","cover","contain",ew,ei,{size:[eh,en]}],F=()=>[Z,ef,ed],G=()=>["","none","full",d,eh,en],$=()=>["",X,ef,ed],q=()=>["solid","dashed","dotted","double"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[X,Z,ev,eb],Y=()=>["","none",x,eh,en],B=()=>["none",X,eh,en],J=()=>["none",X,eh,en],er=()=>[X,eh,en],es=()=>[V,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ee],breakpoint:[ee],color:[et],container:[ee],"drop-shadow":[ee],ease:["in","out","in-out"],font:[el],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ee],shadow:[ee],spacing:["px",X],text:[ee],"text-shadow":[ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,en,eh,h]}
vendor: 6,021 bytes, line 1
1],container:["container"],columns:[{columns:[X,en,eh,i]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:y()}],"overflow-x":[{"overflow-x":y()}],"overflow-y":[{"overflow-y":y()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[Q,"auto",eh,en]}],basis:[{basis:[V,"full","auto",i,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[X,V,"auto","initial","none",en]}],grow:[{grow:["",X,eh,en]}],shrink:[{shrink:["",X,eh,en]}],order:[{order:[Q,"first","last","none",eh,en]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":z()}],"auto-rows":[{"auto-rows":z()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...E(),"normal"]}],"justify-items":[{"justify-items":[...H(),"normal"]}],"justify-self":[{"justify-self":["auto",...H()]}],"align-content":[{content:["normal",...E()]}],"align-items":[{items:[...H(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...H(),{baseline:["","last"]}]}],"place-content":[{"place-content":E()}],"place-items":[{"place-items":[...H(),"baseline"]}],"place-self":[{"place-self":["auto",...H()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...A()]}],"min-inline-size":[{"min-inline":["auto",...A()]}],"max-inline-size":[{"max-inline":["none",...A()]}],"block-size":[{block:["auto",...I()]}],"min-block-size":[{"min-block":["auto",...I()]}],"max-block-size":[{"max-block":["none",...I()]}],w:[{w:[i,"screen",...L()]}],"min-w":[{"min-w":[i,"screen","none",...L()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[l]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",r,ef,ed]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,ej,em]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Z,en]}],"font-family":[{font:[eg,ep,t]}],"font-features":[{"font-features":[en]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,eh,en]}],"line-clamp":[{"line-clamp":[X,"none",eh,ec]}],leading:[{leading:[o,...N()]}],"list-image":[{"list-image":["none",eh,en]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eh,en]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[X,"from-font","auto",eh,ed]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[X,"auto",eh,en]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eh,en]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eh,en]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:W()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Q,eh,en],radial:["",eh,en],conic:[Q,eh,en]},ek,ex]}
1],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-bs":[{"border-bs":$()}],"border-w-be":[{"border-be":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-bs":[{"border-bs":R()}],"border-color-be":[{"border-be":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}
vendor: 5,699 bytes, line 1
1],"divide-color":[{divide:R()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[X,eh,en]}],"outline-w":[{outline:["",X,ef,ed]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",c,ey,eu]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",m,ey,eu]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[X,ed]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",p,ey,eu]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[X,eh,en]}],"mix-blend":[{"mix-blend":[...D(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":D()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[eh,en]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:W()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eh,en]}],filter:[{filter:["","none",eh,en]}],blur:[{blur:Y()}],brightness:[{brightness:[X,eh,en]}],contrast:[{contrast:[X,eh,en]}],"drop-shadow":[{"drop-shadow":["","none",b,ey,eu]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",X,eh,en]}],"hue-rotate":[{"hue-rotate":[X,eh,en]}],invert:[{invert:["",X,eh,en]}],saturate:[{saturate:[X,eh,en]}],sepia:[{sepia:["",X,eh,en]}],"backdrop-filter":[{"backdrop-filter":["","none",eh,en]}],"backdrop-blur":[{"backdrop-blur":Y()}],"backdrop-brightness":[{"backdrop-brightness":[X,eh,en]}],"backdrop-contrast":[{"backdrop-contrast":[X,eh,en]}],"backdrop-grayscale":[{"backdrop-grayscale":["",X,eh,en]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,eh,en]}],"backdrop-invert":[{"backdrop-invert":["",X,eh,en]}],"backdrop-opacity":[{"backdrop-opacity":[X,eh,en]}],"backdrop-saturate":[{"backdrop-saturate":[X,eh,en]}],"backdrop-sepia":[{"backdrop-sepia":["",X,eh,en]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eh,en]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[X,"initial",eh,en]}],ease:[{ease:["linear","initial",f,eh,en]}],delay:[{delay:[X,eh,en]}],animate:[{animate:["none",g,eh,en]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[u,eh,en]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:B()}],"rotate-x":[{"rotate-x":B()}],"rotate-y":[{"rotate-y":B()}],"rotate-z":[{"rotate-z":B()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:er()}],"skew-x":[{"skew-x":er()}],"skew-y":[{"skew-y":er()}],transform:[{transform:[eh,en,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:es()}],"translate-x":[{"translate-x":es()}],"translate-y":[{"translate-y":es()}],"translate-z":[{"translate-z":es()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eh,en]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eh,en]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[X,ef,ed,ec]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function eI({className:e,type:t,...s}){return(0,r.jsx)("input",{type:t,"data-slot":"input",className:function(...e){return eA(N(e))}("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...s})}let eR=e=>"boolean"==typeof e?`${e}`:0===e?"0":e;t={variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}},e=>{var r;if((null==t?void 0:t.variants)==null)return N("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",null==e?void 0:e.class,null==e?void 0:e.className);let{variants:s,defaultVariants:a}=t,o=Object.keys(s).map(t=>{let r=null==e?void 0:e[t],o=null==a?void 0:a[t];if(null===r)return null;let l=eR(r)||eR(o);return s[t][l]}),l=e&&Object.entries(e).reduce((e,t)=>
1{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return N("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:r,className:s,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...l}[t]):({...a,...l})[t]===r})?[...e,r,s]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)};var eP=e.i(76208),eU=e.i(71573),eW=e.i(89649);let eF=({twitterData:e})=>{let[t,a]=(0,s.useState)(null),[o,l]=(0,s.useState)(!0),[i,n]=(0,s.useState)(!1),[d,m]=(0,s.useState)(null);(0,s.useEffect)(()=>{let t=async()=>{if(!e?.twitter_id){m("Twitter account required for referrals"),l(!1);return}try{l(!0),console.log("Fetching referral info for:",e.twitter_id),m(null);try{let t=await j.default.getReferralInfo(e.twitter_id);t.success&&a(t)}catch(e){console.warn("Background fetch failed, using mock data",e)}}catch(e){m("Error loading referral information"),console.error("Error fetching referral info:",e)}finally{l(!1)}};e&&t()},[e]);let b=()=>{t?.referral_link&&navigator.clipboard.writeText(t.referral_link).then(()=>{n(!0),setTimeout(()=>n(!1),2e3)}).catch(e=>{console.error("Failed to copy:",e)})};return(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-black mb-3",children:"👥 Referral System"}),(0,r.jsx)("p",{className:"text-black/70 font-medium max-w-2xl mx-auto",children:"Invite friends to join Hotako and earn rewards together! Share your unique link and get points for every successful referral."})]}),(0,r.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,r.jsxs)("div",{className:"bg-white/90 backdrop-blur-sm border-2 border-black rounded-3xl overflow-hidden shadow-2xl relative",children:[(0,r.jsxs)("div",{className:"bg-gradient-to-r from-purple-500 via-pink-500 to-blue-500 p-8 text-center relative overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-white/10 to-transparent"}),(0,r.jsxs)("div",{className:"relative z-10",children:[(0,r.jsx)("div",{className:"w-20 h-20 bg-white border-2 border-black rounded-full flex items-center justify-center mx-auto mb-4 shadow-lg",children:(0,r.jsx)(p.Users,{className:"w-10 h-10 text-purple-600"})}),(0,r.jsx)("h3",{className:"text-2xl font-bold text-white mb-2",children:"🎉 Invite & Earn Program"}),(0,r.jsx)("p",{className:"text-white/90 font-medium",children:"Share the Hotako experience with your network!"})]})]}),o?(0,r.jsx)("div",{className:"flex justify-center py-12",children:(0,r.jsx)("div",{className:"w-12 h-12 border-4 border-purple-200 border-t-purple-600 rounded-full animate-spin"})}):d?(0,r.jsx)("div",{className:"bg-red-100 border-2 border-red-500 rounded-2xl p-6 text-center",children:(0,r.jsx)("p",{className:"text-red-700 font-bold text-lg",children:d})}):(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{className:"bg-gradient-to-br from-purple-100 to-purple-200 border-2 border-purple-300 rounded-2xl p-6 text-center",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-purple-500 border-2 border-black rounded-full flex items-center justify-center mx-auto mb-3",children:(0,r.jsx)(p.Users,{className:"w-6 h-6 text-white"})}),(0,r.jsx)("div",{className:"text-3xl font-bold text-purple-700 mb-1",children:t?.referral_count||0}),(0,r.jsx)("div",{className:"text-purple-600 text-sm font-bold uppercase tracking-wider",children:"Friends Invited"})]}),(0,r.jsxs)("div",{className:"bg-gradient-to-br from-pink-100 to-pink-200 border-2 border-pink-300 rounded-2xl p-6 text-center",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-pink-500 border-2 border-black rounded-full flex items-center justify-center mx-auto mb-3",children:(0,r.jsx)(c.Trophy,{className:"w-6 h-6 text-white"})}),(0,r.jsx)("div",{className:"text-3xl font-bold text-pink-700 mb-1",children:t?.referral_points||0}),(0,r.jsx)("div",{className:"text-pink-600 text-sm font-bold uppercase tracking-wider",children:"Points Earned"})]})]}),(0,r.jsxs)("div",{className:"bg-gradient-to-r from-blue-50 to-cyan-50 border-2 border-blue-200 rounded-2xl p-6",children:[(0,r.jsxs)("div",{className:"flex items-center mb-4",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-blue-500 border-2 border-black rounded-full flex items-center justify-center mr-3",children:(0,r.jsx)(eU.Link,{className:"w-5 h-5 text-white"})}),(0,r.jsx)("h4",{className:"text-lg font-bold text-blue-800",children:"🔗 Your Unique Referral Link"})]}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(eI,{value:t?.referral_link||"",readOnly:!0,className:"bg-white border-2 border-black text-black font-medium text-base flex-1 rounded-xl px-4 py-3"}),(0,r.jsx)("button",{onClick:b,className:"bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white px-6 py-3 rounded-xl border-2 border-black font-bold transition-all duration-200 shadow-lg",children:(0,r.jsx)(eP.Copy,{className:"h-5 w-5"})})]}),i&&(0,r.jsx)("div",{className:"text-green-600 text-sm font-bold mt-3 animate-pulse bg-green-100 border border-green-300 rounded-lg p-2 text-center",children:"✅ Link copied to clipboard!"})]}),(0,r.jsxs)("div",{className:"bg-gradient-to-r from-green-50 to-emerald-50 border-2 border-green-200 rounded-2xl p-6",children:[(0,r.jsxs)("div",{className:"flex items-center mb-4",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-green-500 border-2 border-black rounded-full flex items-center justify-center mr-3",children:(0,r.jsx)(u.Star,{className:"w-5 h-5 text-white"})}),(0,r.jsx)("h4",{className:"text-lg font-bold text-green-800",children:"🎯 How Referrals Work"})]}),(0,r.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,r.jsxs)("div",{className:"bg-white/80 border-2 border-green-300 rounded-xl p-4 text-center",children:[(0,r.jsx)("div",{className:"text-3xl mb-2",children:"1️⃣"}),(0,r.jsx)("p",{className:"text-green-800 font-bold text-sm",children:"Share your referral link with friends"})]}),(0,r.jsxs)("div",{className:"bg-white/80 border-2 border-green-300 rounded-xl p-4 text-center",children:[(0,r.jsx)("div",{className:"text-3xl mb-2",children:"2️⃣"}),(0,r.jsx)("p",{className:"text-green-800 font-bold text-sm",children:"They get 600 welcome points when they join"})]}),(0,r.jsxs)("div",{className:"bg-white/80 border-2 border-green-300 rounded-xl p-4 text-center",children:[(0,r.jsx)("div",{className:"text-3xl mb-2",children:"3️⃣"}),(0,r.jsx)("p",{className:"text-green-800 font-bold text-sm",children:"You earn 1200 points for each successful referral"})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsxs)("button",{className:"flex items-center justify-center py-4 px-6 rounded-2xl text-base font-bold w-full bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white border-2 border-black shadow-lg transition-all duration-200 hover:scale-105",onClick:b,children:[(0,r.jsx)(eU.Link,{className:"w-5 h-5 mr-2"}),"Copy Referral Link"]}),(0,r.jsxs)("button",{className:"flex items-center justify-center py-4 px-6 rounded-2xl text-base font-bold w-full bg-gradient-to-r from-blue-500 to-cyan-500 hover:from-blue-600 hover:to-cyan-600 text-white border-2 border-black shadow-lg transition-all duration-200 hover:scale-105",onClick:()=>
1{if(!t?.referral_link)return;let e=`Join me on Hotako and earn rewards! Use my referral link: ${t.referral_link} #Hotako #Web3 #learn`,r=`https://twitter.com/intent/tweet?text=${encodeURIComponent(e)}`;window.open(r,"_blank")},children:[(0,r.jsx)(eW.FaXTwitter,{className:"w-5 h-5 mr-2"}),"Share on Twitter"]})]})]})]})})]})};e.i(18821);var eM=e.i(47786),eG=e.i(18230),e$=e.i(58678);e.s(["default",0,()=>{let e=(0,a.useRouter)(),[t,N]=(0,s.useState)([]),[T,_]=(0,s.useState)([]),[S,C]=(0,s.useState)([]),[z,E]=(0,s.useState)(0),[H,O]=(0,s.useState)(450),[L,A]=(0,s.useState)(!1),[I,R]=(0,s.useState)({type:"",proofUrl:""}),[P,U]=(0,s.useState)(!1),[W,F]=(0,s.useState)(null),[M,G]=(0,s.useState)(null),[$,q]=(0,s.useState)(!1),[D,K]=(0,s.useState)(null),[Y,B]=(0,s.useState)(""),[J,V]=(0,s.useState)([]),[X,Q]=(0,s.useState)("tasks"),Z=Date.UTC(2026,11,15,15,0,0),[ee,et]=(0,s.useState)(!1),er=(0,n.getAuth)(i.firebase),[es,ea]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=()=>{et(Date.now()>=Z)};e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[Z]);let eo={hidden:{y:20,opacity:0},visible:{y:0,opacity:1,transition:{type:"spring",stiffness:100}}};(0,s.useEffect)(()=>{let e=(0,n.onAuthStateChanged)(er,async e=>{e?ea(e?.uid):U(!1)});return()=>e()},[er,es]),(0,s.useEffect)(()=>{es&&(async()=>{try{U(!0);let e=await j.default.checkTwitterStatus(es);e.success&&e.twitter_id?(A(!0),K({username:e.twitter_username,screen_name:e.twitter_screen_name,twitter_id:e.twitter_id,twitter_profile_image:e.twitter_profile_image}),ed()):A(!1)}catch(e){console.error("Error checking Twitter status:",e),A(!1)}finally{U(!1)}})()},[es]);let el=async()=>{if(D?.twitter_id||es){U(!0);try{let e=await j.default.getUserTasks(es);e.success?(N(e.tasks||[]),C(e.completed_tasks||[]),E(e.total_points||0),O(e.total_points||0)):(console.error("Error in task response:",e),F("Failed to load tasks: "+(e.message||"Unknown error")))}catch(e){F("Failed to fetch tasks: "+e.message)}finally{U(!1)}}},ei=async()=>{try{U(!0),F(null);let e=new n.TwitterAuthProvider,t=(await (0,n.signInWithPopup)(er,e)).user;if(t){let e={twitter_username:t?.displayName,twitter_screen_name:t?.reloadUserInfo?.screenName,twitter_id:t?.uid,twitter_profile_image:t?.photoURL};K(e),(await j.default.authenticateTwitter(e)).success?(A(!0),G("Twitter authentication successful!"),await el()):F("Twitter authentication failed on server")}}catch(e){console.error("Error during Twitter authentication:",e),F("Error during Twitter authentication: "+e.message)}finally{U(!1)}},en=async(e,t,r=!1)=>{if(ee)return void F("Campaign deadline has ended. Task submissions are closed.");if(r&&!Y.trim()){F("Please provide a valid proof URL"),Q("submit");return}if(r&&Y.trim()&&!Y.startsWith("https://x.com/"+D?.screen_name)&&!Y.startsWith("https://twitter.com/"+D?.screen_name)){F("Proof URL must be a valid tweet link!"),Q("submit");return}U(!0),F(null),G(null);try{let s=await j.default.submitTask(D?.twitter_id,D?.screen_name,e,t,r?Y:null);s.success?(O(s.total_points||0),C(s.completed_tasks||[]),B(""),R({type:"",proofUrl:""}),G(`Task completed successfully! You earned ${s.points_earned} points.`),el(),setTimeout(()=>G(null),5e3)):F(s.message||"Task submission failed")}catch(e){console.error("Task submission error:",e),F("Task submission failed: "+(e.message||e.toString()))}finally{U(!1)}},ed=async()=>{let t=new URLSearchParams(location.search).get("ref");if(t&&!$&&D?.twitter_id){U(!0);try{let r=await j.default.processReferral(D.twitter_id,D.twitter_screen_name,t);r.success?(G(`Welcome! You received ${r.points_added||50} points for joining via referral.`),q(!0),navigate(location.pathname,{replace:!0}),el()):r.success||(q(!0),r.message?.includes("already has points")&&G("You already have welcome points from a previous referral."),e.push(location.pathname,{replace:!0}))}catch(e){console.error("Error processing referral:",e),F("There was a problem processing your referral. Please try again later.")}finally{U(!1)}}};return((0,s.useEffect)(()=>{L&&(el(),ed())},[L]),P&&!L)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e$.default,{children:[(0,r.jsx)("title",{children:"Hotako Tasks - Loading..."}),(0,r.jsx)("meta",{name:"description",content:"Loading Hotako task system..."})]}),(0,r.jsxs)("main",{className:"relative overflow-y-auto h-screen overflow-x-hidden",children:[(0,r.jsx)(eM.Header,{}),(0,r.jsxs)("div",{className:"min-h-screen bg-[url('/assets/hero.webp')] bg-cover bg-center bg-no-repeat flex items-center justify-center relative overflow-hidden pt-24",children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(o.motion.div,{className:"absolute top-20 left-20 w-32 h-32 bg-primary/20 rounded-full blur-2xl",animate:{o
1pacity:[.3,.6,.3],scale:[1,1.05,1]},transition:{duration:3,repeat:1/0,repeatType:"reverse"}}),(0,r.jsx)(o.motion.div,{className:"absolute bottom-20 right-20 w-40 h-40 bg-purple-500/20 rounded-full blur-2xl",animate:{opacity:[.2,.5,.2],scale:[1,1.1,1]},transition:{duration:4,repeat:1/0,repeatType:"reverse",delay:1}})]}),(0,r.jsxs)(o.motion.div,{className:"flex items-center space-x-3 bg-white border-2 border-black rounded-4xl px-6 py-4 shadow-lg relative z-10",animate:{opacity:[.8,1,.8]},transition:{duration:1.5,repeat:1/0},children:[(0,r.jsx)(d.Loader2,{className:"h-6 w-6 animate-spin text-purple-600"}),(0,r.jsx)("span",{className:"text-lg font-bold text-black",children:"Loading Hotako Tasks..."})]})]}),(0,r.jsx)(eG.Footer,{})]})]}):L?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e$.default,{children:[(0,r.jsx)("title",{children:"Hotako Tasks - Social Engagement Hub"}),(0,r.jsx)("meta",{name:"description",content:"Complete social media tasks and earn points in the Hotako ecosystem!"}),(0,r.jsx)("meta",{name:"keywords",content:"Hotako, leaderboard, rewards, referral, crypto, blockchain"}),(0,r.jsx)("meta",{property:"og:title",content:"Hotako Tasks - Social Engagement Hub"}),(0,r.jsx)("meta",{property:"og:description",content:"Complete social media tasks and earn points in the Hotako ecosystem!"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:"https://hotako.fun/shilling-contest"}),(0,r.jsx)("meta",{property:"og:image",content:"https://hotako.fun/contest.jpg"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:"Hotako Tasks - Social Engagement Hub"}),(0,r.jsx)("meta",{name:"twitter:description",content:"Complete social media tasks and earn points in the Hotako ecosystem!"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://hotako.fun/contest.jpg"})]}),(0,r.jsxs)("main",{className:"relative overflow-y-auto h-screen overflow-x-hidden",children:[(0,r.jsxs)("div",{className:"min-h-screen bg-[url('/assets/hero.webp')] bg-cover bg-center bg-no-repeat relative overflow-hidden",children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(o.motion.div,{className:"absolute top-20 left-20 w-32 h-32 bg-primary/20 rounded-full blur-2xl",animate:{opacity:[.3,.6,.3],scale:[1,1.05,1]},transition:{duration:3,repeat:1/0,repeatType:"reverse"}}),(0,r.jsx)(o.motion.div,{className:"absolute bottom-20 right-20 w-40 h-40 bg-purple-500/20 rounded-full blur-2xl",animate:{opacity:[.2,.5,.2],scale:[1,1.1,1]},transition:{duration:4,repeat:1/0,repeatType:"reverse",delay:1}}),(0,r.jsx)(o.motion.div,{className:"absolute top-1/2 right-10 w-24 h-24 bg-pink-500/20 rounded-full blur-xl",animate:{opacity:[.1,.4,.1],scale:[1,1.2,1]},transition:{duration:5,repeat:1/0,repeatType:"reverse",delay:2}})]}),(0,r.jsxs)("div",{className:"relative z-10 min-h-screen ",children:[(0,r.jsx)("div",{className:"bg-white/95 backdrop-blur-md border-b-2 border-black shadow-lg",children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-4",children:(0,r.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,r.jsx)(o.motion.div,{className:"relative",variants:{float:{y:[0,-10,0],transition:{duration:3,repeat:1/0,repeatType:"reverse"}}},animate:"float",children:(0,r.jsx)("div",{className:"w-12 h-12 bg-primary border-2 border-black rounded-full flex items-center justify-center shadow-lg",children:(0,r.jsx)(m.Target,{className:"w-6 h-6 text-purple-600"})})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-2xl font-bold text-black",children:"🐱 HOTAKO TASKS"}),(0,r.jsx)("div",{className:"text-black/70 text-xs uppercase tracking-wider font-semibold",children:"Social Engagement Hub"})]})]}),(0,r.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsxs)("div",{className:"text-purple-600 font-bold text-base",children:["@",D?.screen_name]}),(0,r.jsx)("div",{className:"text-black/70 text-xs font-medium",children:D?.username})]}),(0,r.jsx)("div",{className:"w-10 h-10 bg-white border-2 border-black rounded-full overflow-hidden shadow-lg",children:(0,r.jsx)("img",{src:D?.twitter_profile_image||"/placeholder.svg",alt:"Profile",className:"w-full h-full object-cover"})})]})]})})}),(0,r.jsx)("div",{className:"bg-gradient-to-r from-blue-400 via-purple-500 to-pink-500 border-b-2 border-black",children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-6",children:(0,r.jsxs)(o.motion.div,{className:"grid grid-cols-2 md:grid-cols-4 gap-4",variants:{hidden:{opacity:0}
1,visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.2}}},initial:"hidden",animate:"visible",children:[(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-white rounded-2xl p-4 text-center relative overflow-hidden shadow-lg",variants:eo,whileHover:{y:-5,scale:1.02},children:[(0,r.jsx)(c.Trophy,{className:"w-6 h-6 text-purple-600 mx-auto mb-2"}),(0,r.jsx)("div",{className:"text-xl font-bold text-black",children:H}),(0,r.jsx)("div",{className:"text-xs text-black/70 uppercase tracking-wider font-semibold",children:"Total Points"})]}),(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-white rounded-2xl p-4 text-center relative overflow-hidden shadow-lg",variants:eo,whileHover:{y:-5,scale:1.02},children:[(0,r.jsx)(m.Target,{className:"w-6 h-6 text-blue-600 mx-auto mb-2"}),(0,r.jsx)("div",{className:"text-xl font-bold text-black",children:t.length}),(0,r.jsx)("div",{className:"text-xs text-black/70 uppercase tracking-wider font-semibold",children:"Available Tasks"})]}),(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-white rounded-2xl p-4 text-center relative overflow-hidden shadow-lg",variants:eo,whileHover:{y:-5,scale:1.02},children:[(0,r.jsx)(x.CheckCircle,{className:"w-6 h-6 text-green-600 mx-auto mb-2"}),(0,r.jsx)("div",{className:"text-xl font-bold text-black",children:S.length}),(0,r.jsx)("div",{className:"text-xs text-black/70 uppercase tracking-wider font-semibold",children:"Completed"})]}),(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-white rounded-2xl p-4 text-center relative overflow-hidden shadow-lg",variants:eo,whileHover:{y:-5,scale:1.02},children:[(0,r.jsx)(k.Activity,{className:"w-6 h-6 text-pink-600 mx-auto mb-2"}),(0,r.jsxs)("div",{className:"text-xl font-bold text-black",children:[t.length>0?Math.round(S.length/t.length*100):0,"%"]}),(0,r.jsx)("div",{className:"text-xs text-black/70 uppercase tracking-wider font-semibold",children:"Success Rate"})]})]})})}),(0,r.jsx)("div",{className:"bg-gradient-to-r from-blue-400 via-purple-500 to-pink-500 border-b-2 border-black",children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-4",children:(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-2",children:[{id:"tasks",label:"ACTIVE TASKS",icon:m.Target},{id:"completed",label:"COMPLETED",icon:x.CheckCircle},{id:"referral",label:"REFERRAL SYSTEM",icon:p.Users},{id:"submit",label:"MANUAL SUBMIT",icon:v.Terminal}].map(e=>(0,r.jsxs)(o.motion.button,{onClick:()=>Q(e.id),className:`flex items-center space-x-2 px-4 py-2 rounded-full transition-all duration-200 font-bold text-xs ${X===e.id?"bg-white text-purple-600 shadow-lg border-2 border-white":"bg-white/20 text-white hover:bg-white/30 border-2 border-white/30"}`,whileHover:{scale:1.05},whileTap:{scale:.95},children:[(0,r.jsx)(e.icon,{className:"w-4 h-4"}),(0,r.jsx)("span",{className:"uppercase tracking-wider",children:e.label})]},e.id))})})}),(0,r.jsxs)(l.AnimatePresence,{children:[M&&(0,r.jsx)(o.motion.div,{className:"container mx-auto px-4 py-4",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:(0,r.jsx)("div",{className:"bg-green-100 border-2 border-green-500 rounded-2xl p-4 shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-center text-green-700 font-semibold",children:[(0,r.jsx)(x.CheckCircle,{className:"h-5 w-5 mr-2"}),(0,r.jsx)("span",{children:M})]})})}),W&&(0,r.jsx)(o.motion.div,{className:"container mx-auto px-4 py-4",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:(0,r.jsx)("div",{className:"bg-red-100 border-2 border-red-500 rounded-2xl p-4 shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-center text-red-700 font-semibold",children:[(0,r.jsx)(w.AlertTriangle,{className:"h-5 w-5 mr-2"}),(0,r.jsx)("span",{children:W})]})})})]}),(0,r.jsx)("div",{className:"container mx-auto px-4 py-8 pb-20",children:ee?(0,r.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,r.jsx)("div",{className:"bg-yellow-100 border-2 border-yellow-500 rounded-2xl p-6 shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsx)(w.AlertTriangle,{className:"h-6 w-6 mr-3 text-yellow-700 flex-shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-black font-bold text-lg",children:"Campaign Ended"}
1),(0,r.jsx)("div",{className:"text-black/80 font-medium mt-1",children:"The shilling campaign deadline ended on 15-12-2025 15:00 UTC. Submissions are now closed."})]})]})})}):(0,r.jsxs)(l.AnimatePresence,{mode:"wait",children:["tasks"===X&&(0,r.jsxs)(o.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-black mb-3",children:"🎯 Available Tasks"}),(0,r.jsx)("p",{className:"text-black/70 font-medium max-w-2xl mx-auto",children:"Complete social media tasks to earn points and climb the leaderboard!"})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-6",children:t.filter(e=>"task_1763986117540_7q2a84p"===e.task_id||!S.some(t=>String(t)===String(e.task_id))).map(e=>{"task_1763986117540_7q2a84p"!==e.task_id&&S.some(t=>String(t)===String(e.task_id));let t=m.Target;"TWITTER_FOLLOW"===e.task_type||"TWITTER_POST"===e.task_type?t=()=>(0,r.jsx)("svg",{className:"w-5 h-5 text-purple-600",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}):"TELEGRAM_JOIN"===e.task_type?t=f.Send:"DISCORD_JOIN"===e.task_type&&(t=p.Users);let s="EXECUTE TASK",a=e.platform_link||"#";return"TWITTER_FOLLOW"===e.task_type?s="FOLLOW TARGET":"TELEGRAM_JOIN"===e.task_type?s="JOIN CHANNEL":"DISCORD_JOIN"===e.task_type?s="JOIN SERVER":"TWITTER_POST"===e.task_type&&(s="POST TWEET",a=e.post_template?`https://twitter.com/intent/tweet?text=${encodeURIComponent(e.post_template)}`:"https://twitter.com/intent/tweet"),(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-black rounded-3xl p-6 relative overflow-hidden group shadow-xl hover:shadow-2xl transition-all duration-300",variants:eo,whileHover:{y:-8,scale:1.02},layout:!0,children:[(0,r.jsx)("div",{className:"absolute top-4 right-4",children:(0,r.jsxs)("div",{className:"bg-gradient-to-r from-purple-500 to-pink-500 text-white px-3 py-1 rounded-full text-xs font-bold",children:[e.points," PTS"]})}),(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsxs)("div",{className:"flex items-center space-x-3 mb-3",children:[(0,r.jsx)(o.motion.div,{className:"w-14 h-14 bg-gradient-to-br from-primary to-purple-400 border-2 border-black rounded-2xl flex items-center justify-center shadow-lg",whileHover:{rotate:360,scale:1.1},transition:{duration:.6},children:(0,r.jsx)(t,{})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h3",{className:"font-bold text-black text-xl mb-1",children:e.task_title}),(0,r.jsx)("div",{className:"bg-gray-100 border border-gray-300 px-2 py-1 rounded-lg inline-block",children:(0,r.jsx)("span",{className:"text-gray-700 text-xs font-semibold uppercase tracking-wider",children:e.task_type.replace("_"," ")})})]})]})}),(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)("p",{className:"text-black/80 text-sm leading-relaxed font-medium",children:e.task_description})}),"TWITTER_POST"===e.task_type&&e.post_template&&(0,r.jsxs)("div",{className:"mb-6 p-4 bg-gradient-to-r from-blue-50 to-cyan-50 border-2 border-blue-200 rounded-2xl",children:[(0,r.jsxs)("div",{className:"flex items-center mb-2",children:[(0,r.jsx)(v.Terminal,{className:"w-4 h-4 text-blue-600 mr-2"}),(0,r.jsx)("span",{className:"text-xs text-blue-700 font-bold uppercase tracking-wider",children:"Tweet Template"})]}),(0,r.jsxs)("p",{className:"text-blue-800 text-sm font-medium italic",children:['"',e.post_template,'"']})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)(o.motion.a,{href:a,target:"_blank",rel:"noopener noreferrer",className:"w-full bg-gradient-to-r from-purple-500 via-pink-500 to-purple-600 hover:from-purple-600 hover:via-pink-600 hover:to-purple-700 text-white font-bold py-4 px-6 rounded-2xl border-2 border-black shadow-lg flex items-center justify-center group/btn transition-all duration-300",whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>{var t;return t=e.task_id,void(!J.includes(t)&&setTimeout(()=>{V([...J,t])},3e3))},children:[(0,r.jsx)(b.ExternalLink,{className:"w-5 h-5 mr-3 group-hover/btn:rotate-45 transition-transform duration-300"}),(0,r.jsx)("span",{className:"text-base",children:s})]}),J.includes(e.task_id)&&(0,r.jsxs)(o.motion.button,{onClick:()=>en(e.task_id,e.task_type,e.required_proof||!1),className:"w-full bg-gradient-to-r from-green-500 to-emerald-500 hover:from-green-600 hover:to-emerald-600 text-white font-bold py-3 px-6 rounded-2xl border-2 border-black shadow-lg flex items-center justify-center transition-all duration-300",whileHover:{scale:1.05},whileTap:{scale:.95},initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{delay:.2},children:[(0,r.jsx)(x.CheckCircle,{className:"w-5 h-5 mr-2"}),"Verify Completion"]})]}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-transparent to-purple-500/5 rounded-3xl pointer-events-none"})]},e.task_id)})}),0===t.filter(e=>"task_1763986117540_7q2a84p"===e.task_id||!S.some(t=>String(t)===String(e.task_id))).length&&(0,r.jsx)(o.motion.div,{className:"text-center py-20",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.3,type:"spring",stiffness:100},children:(0,r.jsxs)("div",{className:"bg-white/90 backdrop-blur-sm border-2 border-black rounded-3xl p-12 shadow-2xl max-w-lg mx-auto",children:[(0,r.jsx)(o.motion.div,{className:"w-32 h-32 bg-gradient-to-br from-green-400 to-emerald-500 border-2 border-black rounded-full flex items-center justify-center mx-auto mb-8",animate:{rotate:[0,360],scale:[1,1.1,1]},transition:{rotate:{duration:3,repeat:1/0,ease:"linear"},scale:{duration:2,repeat:1/0,repeatType:"reverse"}},children:(0,r.jsx)(x.CheckCircle,{className:"w-16 h-16 text-white"})}),(0,r.jsx)("h3",{className:"text-3xl font-bold text-black mb-4",children:"🎉 All Tasks Completed!"}),(0,r.jsxs)("p",{className:"text-black/70 font-medium text-lg leading-relaxed",children:["Outstanding work! You've completed all available tasks.",(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:"text-purple-600 font-bold",children:"Check back later for new opportunities!"})," ","🚀"]}),(0,r.jsxs)("div",{className:"mt-8 flex justify-center space-x-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 bg-purple-500 rounded-full animate-bounce"}),(0,r.jsx)("div",{className:"w-3 h-3 bg-pink-500 rounded-full animate-bounce delay-75"}),(0,r.jsx)("div",{className:"w-3 h-3 bg-blue-500 rounded-full animate-bounce delay-150"})]})]})})]},"tasks"),"completed"===X&&(0,r.jsxs)(o.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},children:[(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-6",children:t.filter(e=>S.some(t=>String(t)===String(e.task_id))).map(e=>(0,r.jsxs)(o.motion.div,{className:"bg-white border-2 border-black rounded-2xl p-6 relative overflow-hidden shadow-lg",variants:eo,whileHover:{y:-5,scale:1.02},children:[(0,r.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-green-100 border-2 border-green-500 rounded-lg flex items-center justify-center",children:(0,r.jsx)(h,{className:"w-6 h-6 text-green-600"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"font-bold text-black text-lg",children:e.task_title}),(0,r.jsx)("div",{className:"text-green-600 text-xs uppercase tracking-wider font-semibold",children:"✅ COMPLETED"})]})]}),(0,r.jsx)("div",{className:"bg-green-100 border-2 border-green-500 px-3 py-1 rounded-full",children:(0,r.jsxs)("span",{className:"text-green-700 font-bold text-sm",children:["+",e.points," PTS"]})})]}),(0,r.jsx)("p",{className:"text-black/80 text-sm font-medium",children:e.task_description}),(0,r.jsx)("div",{className:"absolute top-2 right-2 w-8 h-8 bg-green-500 rounded-full flex items-center justify-center",children:(0,r.jsx)(x.CheckCircle,{className:"w-4 h-4 text-white"})})]},e.task_id))}),0===S.length&&(0,r.jsxs)(o.motion.div,{className:"text-center py-16",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.3},children:[(0,r.jsx)("div",{className:"w-20 h-20 bg-primary border-2 border-black rounded-full flex items-center justify-center mx-auto mb-4",children:(0,r.jsx)(m.Target,{className:"w-10 h-10 text-purple-600"})}),(0,r.jsx)("h3",{className:"text-xl font-bold text-black mb-2",children:"🎯 NO COMPLETED TASKS YET"}),(0,r.jsx)("p",{className:"text-black/70 font-medium",children:"Complete some tasks to see your achievements here! 🚀"})]})]},"completed"),"referral"===X&&(0,r.jsx)(eF,{twitterData:D}),"submit"===X&&(0,r.jsxs)(o.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-black mb-3",children:"📝 Manual Task Submission"}),(0,r.jsx)("p",{className:"text-black/70 font-medium max-w-2xl mx-auto",children:"Submit proof of completed tasks for manual verification and earn your rewards!"})]}),(0,r.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,r.jsxs)(o.motion.div,{className:"bg-white/90 backdrop-blur-sm border-2 border-black rounded-3xl p-8 relative overflow-hidden shadow-2xl",variants:eo,initial:"hidden",animate:"visible",children:[(0,r.jsx)("div",{className:"text-center mb-8",children:(0,r.jsx)(o.motion.div,{className:"w-24 h-24 bg-gradient-to-br from-orange-400 to-red-500 border-2 border-black rounded-full flex items-center justify-center mx-auto mb-4 shadow-lg",animate:{rotate:[0,10,-10,0],scale:[1,1.05,1]},transition:{duration:4,repeat:1/0,repeatType:"reverse"},children:(0,r.jsx)(v.Terminal,{className:"w-12 h-12 text-white"})})}),(0,r.jsx)("div",{className:"bg-gradient-to-r from-blue-50 to-cyan-50 border-2 border-blue-200 rounded-2xl p-6 mb-8",children:(0,r.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-blue-500 border-2 border-blue-600 rounded-xl flex items-center justify-center flex-shrink-0",children:(0,r.jsx)(u.Star,{className:"w-6 h-6 text-white"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"font-bold text-blue-800 mb-3 text-lg",children:"📋 Submission Process"}),(0,r.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,r.jsxs)("div",{className:"bg-white/80 border border-blue-300 rounded-xl p-3 text-center",children:[(0,r.jsx)("div",{className:"text-2xl mb-2",children:"1️⃣"}),(0,r.jsx)("p",{className:"text-blue-800 font-medium text-sm",children:"Complete any task from the available list"})]}),(0,r.jsxs)("div",{className:"bg-white/80 border border-blue-300 rounded-xl p-3 text-center",children:[(0,r.jsx)("div",{className:"text-2xl mb-2",children:"2️⃣"}),(0,r.jsx)("p",{className:"text-blue-800 font-medium text-sm",children:"Copy the URL of your action as proof"})]}),(0,r.jsxs)("div",{className:"bg-white/80 border border-blue-300 rounded-xl p-3 text-center",children:[(0,r.jsx)("div",{className:"text-2xl mb-2",children:"3️⃣"}),(0,r.jsx)("p",{className:"text-blue-800 font-medium text-sm",children:"Select task and submit for verification"})]})]})]})]})}),(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("label",{className:"flex items-center text-lg font-bold text-black uppercase tracking-wider",children:[(0,r.jsx)("div",{className:"w-8 h-8 bg-purple-500 border-2 border-black rounded-lg flex items-center justify-center mr-3",children:(0,r.jsx)(y.Database,{className:"w-4 h-4 text-white"})}),"🔗 Proof URL *"]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{type:"url",placeholder:"https://twitter.com/yourusername/status/123456789",value:Y,onChange:e=>B(e.target.value),className:"w-full bg-white border-2 border-black text-black rounded-2xl px-6 py-4 focus:border-purple-500 focus:ring-4 focus:ring-purple-200 focus:outline-none font-medium text-base shadow-lg transition-all duration-200"}),(0,r.jsx)("div",{className:"absolute right-4 top-1/2 transform -translate-y-1/2",children:Y.trim()&&(0,r.jsx)("div",{className:"w-6 h-6 bg-green-500 rounded-full flex items-center justify-center",children:(0,r.jsx)(x.CheckCircle,{className:"w-4 h-4 text-white"})})})]}),(0,r.jsxs)("p",{className:"text-sm text-black/70 font-medium bg-gray-100 border border-gray-300 rounded-xl p-3",children:["💡 ",(0,r.jsx)("strong",{children:"Tip:"})," Paste the direct URL of your completed task (tweet link, follow confirmation, etc.)"]})]}),(0,r.jsxs)(l.AnimatePresence,{children:[M&&(0,r.jsx)(o.motion.div,{className:"container mx-auto px-4 py-4",initial:{opacity:0,y:-20}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:(0,r.jsx)("div",{className:"bg-green-100 border-2 border-green-500 rounded-2xl p-4 shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-center text-green-700 font-semibold",children:[(0,r.jsx)(x.CheckCircle,{className:"h-5 w-5 mr-2"}),(0,r.jsx)("span",{children:M})]})})}),W&&(0,r.jsx)(o.motion.div,{className:"container mx-auto px-4 ",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:(0,r.jsx)("div",{className:"bg-red-100 border-2 border-red-500 rounded-2xl p-4 shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-center text-red-700 font-semibold",children:[(0,r.jsx)(w.AlertTriangle,{className:"h-5 w-5 mr-2"}),(0,r.jsx)("span",{children:W})]})})})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("label",{className:"flex items-center text-lg font-bold text-black uppercase tracking-wider",children:[(0,r.jsx)("div",{className:"w-8 h-8 bg-orange-500 border-2 border-black rounded-lg flex items-center justify-center mr-3",children:(0,r.jsx)(m.Target,{className:"w-4 h-4 text-white"})}),"🎯 Select Task *"]}),(0,r.jsxs)("select",{className:"w-full bg-white border-2 border-black text-black rounded-2xl px-6 py-4 focus:border-orange-500 focus:ring-4 focus:ring-orange-200 focus:outline-none font-medium text-base shadow-lg transition-all duration-200",value:I.type,onChange:e=>R({...I,type:e.target.value}),children:[(0,r.jsx)("option",{value:"",children:"-- SELECT A TASK TO SUBMIT --"}),t.filter(e=>"task_1763986117540_7q2a84p"===e.task_id||e.required_proof&&!S.some(t=>String(t)===String(e.task_id))).map(e=>(0,r.jsxs)("option",{value:e.task_id,children:[e.task_title," (",e.points," PTS)"]},e.task_id))]})]}),(0,r.jsxs)(o.motion.button,{onClick:()=>{let e=t.find(e=>e.task_id===I.type);e?en(e.task_id,e.task_type,e.required_proof||!1):F("Please select a task to complete")},disabled:P||!Y.trim()||!I.type,className:"w-full bg-gradient-to-r from-purple-500 via-pink-500 to-orange-500 hover:from-purple-600 hover:via-pink-600 hover:to-orange-600 disabled:from-gray-400 disabled:to-gray-500 text-white font-bold py-5 px-8 rounded-2xl border-2 border-black shadow-2xl flex items-center justify-center relative overflow-hidden group transition-all duration-300",whileHover:{scale:P?1:1.05,y:-2},whileTap:{scale:P?1:.95},children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-white/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),P?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Loader2,{className:"w-6 h-6 mr-3 animate-spin"}),(0,r.jsx)("span",{className:"text-lg",children:"Submitting Task..."})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.CheckCircle,{className:"w-6 h-6 mr-3"}),(0,r.jsx)("span",{className:"text-lg",children:"Submit Task for Verification"})]})]})]}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-transparent to-orange-500/5 rounded-3xl pointer-events-none"})]})})]},"submit")]})})]})]}),(0,r.jsx)(eG.Footer,{})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e$.default,{children:[(0,r.jsx)("title",{children:"Hotako Tasks - Connect Your Account"}),(0,r.jsx)("meta",{name:"keywords",content:"Hotako, leaderboard, rewards, referral, crypto, blockchain"}),(0,r.jsx)("meta",{name:"description",content:"Connect your Twitter account to start earning points with Hotako tasks!"})]}),(0,r.jsxs)("main",{className:"relative overflow-y-auto h-screen overflow-x-hidden",children:[(0,r.jsx)(eM.Header,{}),(0,r.jsxs)("div",{className:"min-h-screen bg-[url('/assets/hero.webp')] bg-cover bg-center bg-no-repeat relative overflow-hidden pt-24",children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(o.motion.div,{className:"absolute top-20 left-20 w-32 h-32 bg-primary/20 rounded-full blur-2xl",animate:{opacity:[.3,.6,.3],scale:[1,1.05,1]},transition:{duration:3,repeat:1/0,repeatType:"reverse"}}),(0,r.jsx)(o.motion.div,{className:"absolute bottom-20 right-20 w-40 h-40 bg-purple-500/20 rounded-full blur-2xl",animate:{opacity:[.2,.5,.2],scale:[1,1.1,1]},transition:{duration:4,repeat:1/0,repeatType:"reverse",delay:1}}),(0,r.jsx)(o.motion.div,{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-24 h-24 bg-pink-500/20 rounded-full blur-xl",animate:{o
1pacity:[.1,.4,.1],scale:[1,1.2,1]},transition:{duration:5,repeat:1/0,repeatType:"reverse",delay:2}})]}),(0,r.jsx)("div",{className:"flex flex-col items-center justify-center min-h-screen p-4 relative z-10",children:(0,r.jsxs)(o.motion.div,{className:"w-full max-w-md bg-white border-2 border-black rounded-4xl shadow-lg overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[(0,r.jsx)("div",{className:"bg-primary px-6 py-4 border-b-2 border-black",children:(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)(o.motion.div,{className:"w-12 h-12 bg-white border-2 border-black rounded-full flex items-center justify-center mr-3",animate:{rotate:[0,360]},transition:{duration:20,repeat:1/0,ease:"linear"},children:(0,r.jsx)(m.Target,{className:"h-6 w-6 text-purple-600"})}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-bold text-black",children:"🐱 HOTAKO TASKS"}),(0,r.jsx)("div",{className:"text-xs text-black/70 uppercase tracking-wider font-semibold",children:"Connect to Start Earning"})]})]})}),(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsxs)("div",{className:"text-center mb-6",children:[(0,r.jsx)("p",{className:"text-black/80 mb-4 font-medium",children:"Connect your Twitter account to access Hotako's task system and start earning points for social media engagement! 🚀"}),(0,r.jsx)("div",{className:"bg-purple-100 border-2 border-purple-300 rounded-2xl p-3",children:(0,r.jsxs)("div",{className:"flex items-center justify-center text-purple-700 text-sm font-semibold",children:[(0,r.jsx)(g.Shield,{className:"w-4 h-4 mr-2"}),(0,r.jsx)("span",{children:"SECURE TWITTER AUTH"})]})})]}),(0,r.jsx)(o.motion.button,{onClick:ei,className:"w-full bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white font-bold py-4 px-4 rounded-2xl border-2 border-black shadow-lg flex items-center justify-center relative overflow-hidden group transition-all duration-200",whileHover:{scale:1.02},whileTap:{scale:.98},disabled:P,children:P?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Loader2,{className:"w-5 h-5 mr-2 animate-spin"}),"CONNECTING..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("svg",{className:"w-5 h-5 mr-2",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),"CONNECT WITH TWITTER"]})}),(0,r.jsxs)("div",{className:"mt-6 flex justify-center space-x-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 bg-primary rounded-full animate-bounce"}),(0,r.jsx)("div",{className:"w-3 h-3 bg-purple-500 rounded-full animate-bounce delay-75"}),(0,r.jsx)("div",{className:"w-3 h-3 bg-pink-500 rounded-full animate-bounce delay-150"})]})]})]})})]}),(0,r.jsx)(eG.Footer,{})]})]})}],2952)},51782,(e,t,r)=>{let s="/shilling-contest";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(2952)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})}]);

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.