1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{347:()=>{},3325:(e,n,s)=>{Promise.resolve().then(s.bind(s,1828)),Promise.resolve().then(s.t.bind(s,347,23)),Promise.resolve().then(s.bind(s,4159)),Promise.resolve().then(s.bind(s,9825)),Promise.resolve().then(s.bind(s,3622))},3622:(e,n,s)=>{"use strict";s.d(n,{default:()=>i});var t=s(5155),l=s(2108);function i(e){let{children:n}=e;return(0,t.jsx)(l.SessionProvider,{children:n})}},4159:(e,n,s)=>{"use strict";s.d(n,{default:()=>f});var t=s(5155),l=s(2108),i=s(5695),r=s(2115),a=s(6874),o=s.n(a),c=s(4717),d=s(7132),h=s(7652);function u(e){let{onItemClick:n,closeMenu:s}=e,l=(0,h.c3)("navbar");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"#features",onClick:e=>null==n?void 0:n(e,"features"),children:l("features")})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"#how-it-works",onClick:e=>null==n?void 0:n(e,"how-it-works"),children:l("howItWorks")})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"#pricing",onClick:e=>null==n?void 0:n(e,"pricing"),children:l("pricing")})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"/faq",onClick:s,children:l("faq")})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:d.j.chromeStoreUrl,target:"_blank",rel:"noopener noreferrer",onClick:s,children:l("download")})})]})}function m(e){var n,s;let{session:i,isMobile:r,onItemClick:a}=e,c=(0,h.c3)("navbar"),d=(0,h.c3)("common");if(!i)return(0,t.jsx)(o(),{href:"/login",className:"btn btn-primary ".concat(r?"justify-start":"ml-2"),onClick:a,children:d("login")});let u=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsx)(o(),{href:"/dashboard/account",onClick:a,children:c("profile")})}),(0,t.jsx)("li",{children:(0,t.jsx)(o(),{href:"/dashboard/subscription",onClick:a,children:c("subscription")})}),(0,t.jsx)("li",{children:(0,t.jsx)("button",{onClick:()=>{(0,l.signOut)(),null==a||a()},children:d("logout")})})]});return r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"menu-title",children:(0,t.jsx)("span",{children:(null===(s=i.user)||void 0===s?void 0:s.email)||c("profile")})}),u]}):(0,t.jsxs)("div",{className:"dropdown dropdown-end",children:[(0,t.jsx)("label",{tabIndex:0,className:"btn btn-ghost",children:(null===(n=i.user)||void 0===n?void 0:n.email)||c("profile")}),(0,t.jsx)("ul",{tabIndex:0,className:"dropdown-content z-[1] menu p-2 shadow bg-base-100 rounded-box w-64 text-base",children:u})]})}function x(e){let{session:n,isMenuOpen:s,onMenuToggle:l,onSectionClick:i}=e;return(0,t.jsxs)("div",{className:"dropdown w-full lg:hidden",children:[(0,t.jsxs)("div",{className:"flex w-full items-center gap-1",children:[(0,t.jsx)("label",{tabIndex:0,className:"btn btn-ghost !px-2 lg:hidden",onClick:()=>l(),children:(0,t.jsx)(c.TF4,{className:"h-5 w-5"})}),(0,t.jsx)(o(),{href:"/",className:"btn btn-ghost lg:hidden normal-case text-xl !px-2 flex items-center",onClick:e=>e.stopPropagation(),children:"TicketRabbit"})]}),(0,t.jsxs)("ul",{className:"menu menu-sm dropdown-content mt-3 z-[1] p-4 shadow bg-base-100 rounded-box w-full text-lg ".concat(s?"block":"hidden"),children:[(0,t.jsx)(u,{onItemClick:i,closeMenu:l}),(0,t.jsx)("div",{className:"divider my-2"}),(0,t.jsx)(m,{session:n,isMobile:!0,onItemClick:l})]})]})}var b=s(6766);function j(e){let{session:n,onSectionClick:s}=e;return(0,t.jsxs)("div",{className:"hidden lg:flex lg:justify-between lg:w-full h-full items-center",children:[(0,t.jsxs)(o(),{href:"/",className:"btn btn-ghost normal-case text-xl flex items-center gap-2",children:[(0,t.jsx)(b.default,{src:"/favicon.ico",alt:"TicketRabbit Logo",width:24,height:24}),"TicketRabbit"]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("ul",{className:"menu menu-horizontal px-1 text-base",children:(0,t.jsx)(u,{onItemClick:s})}),(0,t.jsx)(m,{session:n})]})]})}function f(){let{data:e,status:n}=(0,l.useSession)(),s=(0,i.usePathname)(),a=(0,i.useRouter)(),[o,c]=(0,r.useState)(!1),d=async(e,n)=>{if(e.preventDefault(),c(!1),"/"!==s){await a.push("/"),setTimeout(()=>{let e=document.getElementById(n);e&&e.scrollIntoView({behavior:"smooth"})},100);return}let t=document.getElementById(n);t&&t.scrollIntoView({behavior:"smooth"})};return"loading"===n?(0,t.jsxs)("div",{className:"navbar bg-base-100 fixed top-0 z-50 border-b border-base-200",children:[(0,t.jsx)("div",{className:"navbar-start",children:(0,t.jsx)("span",{className:"btn btn-ghost text-xl",children:"TicketRabbit"})}),(0,t.jsx)("div",{className:"navbar-end",children:(0,t.jsx)("span",{className:"loading loading-spinner loading-sm"})})]}):(0,t.jsxs)("div",{className:"navbar bg-base-100 fixed top-0 z-50 border-b border-base-200",children:[(0,t.jsx)("div",{className:"navbar-start w-full lg:w-auto",children:(0,t.jsx)(x,{session:e,isMenuOpen:o,onMenuToggle:()=>c(!o),onSectionClick:d})}),(0,t.jsx)(j,{session:e,onSectionClick:d})]})}},6727:(e,n,s)=>{var t={"./en.json":[6080,80],"./ja.json":[4774,774],"./ko.json":[8057,57],"./zh_tw.json":[5193,193]};function l(e){if(!s.o(t,e))return Promise.resolve().then(()=>{var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=t[e],l=n[0];return s.e(n[1]).then(()=>s.t(l,19))}l.keys=()=>Object.keys(t),l.id=6727,e.exports=l},7132:(e,n,s)=>{"use strict";s.d(n,{E:()=>t,j:()=>l});let t=[{name:"Monthly",description:"Perfect for individuals and small teams",price:2.99,originalPrice
1:4.99,period:"per month",paypalPlanId:"P-56V32111N7839094JM7SOOMA",paypalPlanIdNoTrial:"P-9WJ703651S071272PM7SOPII",features:["Smart Auto-Refresh","Intelligent Auto-Fill","Seamless Auto-Navigation","Quick Area Detection","---","14-Day Free Trial","Flexible Cancellation"],buttonText:"Get Started",buttonStyle:"btn-primary",popular:!0,rank:1}],l={name:"TicketRabbit",description:"Speed up ticket hunting",chromeStoreUrl:"https://chrome.google.com/webstore/detail/ndehpoeglachnmmfoikdmiogdndgncdi"}},8813:(e,n,s)=>{"use strict";s.d(n,{IB:()=>l,q:()=>i});var t=s(1360);let l=["en","zh_tw","ja","ko"],i="en";(0,t.M6)(async e=>{let{locale:n}=e;return{messages:(await s(6727)("./".concat(n,".json"))).default,locale:n||i,timeZone:"Asia/Taipei"}})},9825:(e,n,s)=>{"use strict";s.d(n,{LanguageProvider:()=>a});var t=s(5155),l=s(2115),i=s(6096),r=s(8813);function a(e){let{children:n,initialLocale:a,messages:o}=e,[c,d]=(0,l.useState)(a),[h,u]=(0,l.useState)(o);return(0,l.useEffect)(()=>{let e=localStorage.getItem("preferred-locale");e&&r.IB.includes(e)&&(d(e),document.documentElement.lang=e,s(6727)("./".concat(e,".json")).then(e=>{u(e.default)}))},[]),(0,t.jsx)(i.A,{locale:c,messages:h,timeZone:"Asia/Taipei",children:n})}}},e=>{var n=n=>e(e.s=n);e.O(0,[690,777,652,108,565,403,441,684,358],()=>n(3325)),_N_E=e.O()}]);
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.