PageSourceSearch

https://animevocab.com/_next/static/chunks/265a1me1maw_z.js

js animevocab.com collected 2026-10-02 01:23:11 UTC 11,821 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93530,e=>{"use strict";let r={IN:{pro:"₹299/mo",max:"₹599/mo"},VN:{pro:"₫95,000/mo",max:"₫189,000/mo"},ID:{pro:"Rp59,000/mo",max:"Rp119,000/mo"},PH:{pro:"₱199/mo",max:"₱399/mo"}};e.s(["LOCALIZED_MONTHLY",0,r,"hasLocalizedPricing",0,function(e){return!!e&&e.toUpperCase()in r},"localizedMonthlyLabel",0,function(e,t){return t&&"free"!==e?r[t.toUpperCase()]?.[e]??null:null}])},49069,e=>{"use strict";var r=e.i(71645);let t="av:visitor-country";async function i(){let e=null;try{e=sessionStorage.getItem(t)}catch{}if(null!==e)return e||null;let r=null;try{let e=await fetch("/api/geo",{cache:"no-store"});if(!e.ok)return null;let t=await e.json();r=t?.country??null}catch{return null}try{sessionStorage.setItem(t,r??"")}catch{}return r}e.s(["useVisitorCountry",0,function(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=!1;return async function(){await Promise.resolve();let r=await i();r&&!e&&t(r)}(),()=>{e=!0}},[]),e}])},81627,e=>{"use strict";let r=new Set(["pro_prompt_shown","pro_prompt_clicked","pro_checkout_started"]),t=new Set(["app_header","app_unlock","app_billing","pricing","home","ext_popup","ext_milestone","ext_popup_limit","ext_limit_sheet"]);function i(e){return"string"==typeof e&&t.has(e)}let a="avc_pro_from",n=e=>`avc_pro_shown:${e}`;function s(){try{return window.sessionStorage}catch{return null}}function l(e,t){if("string"==typeof e&&r.has(e)&&i(t))try{let r=JSON.stringify({kind:"feature",name:e,surface:t});if("u">typeof navigator&&navigator.sendBeacon)return void navigator.sendBeacon("/api/track",new Blob([r],{type:"application/json"}));fetch("/api/track",{method:"POST",body:r,headers:{"content-type":"application/json"},keepalive:!0}).catch(()=>{})}catch{}}e.s(["proSurfaceFromSearch",0,function(e){try{var r;return r=new URLSearchParams(e).get("from"),i(r)?r:""}catch{return""}},"rememberProSurface",0,function(e,r=s()){try{r?.setItem(a,e)}catch{}},"trackCheckoutClick",0,function(e,r=s(),t=l){t("pro_prompt_clicked",e),t("pro_checkout_started",function(e,r=s()){try{var t;return t=r?.getItem(a),(i(t)?t:"")||e}catch{return e}}(e,r))},"trackPro",0,l,"trackProShownOnce",0,function(e,r=s(),t=l){try{if(r?.getItem(n(e)))return!1;r?.setItem(n(e),"1")}catch{}return t("pro_prompt_shown",e),!0}])},20370,e=>{"use strict";var r=e.i(43476),t=e.i(71645),i=e.i(31338),a=e.i(93530);let n=["free","pro","max"];function s(e){return`${Math.round(e/60)} hours`}function l(e){return e.toLocaleString("en-US")}s(i.TIERS.free.listeningMinutes),l(i.TIERS.free.aiCallsPerMonth);let o={IN:"India",VN:"Vietnam",ID:"Indonesia",PH:"Philippines"};l(i.TIERS.free.aiCallsPerMonth),s(i.TIERS.free.listeningMinutes),s(i.TIERS.pro.listeningMinutes),l(i.TIERS.pro.aiCallsPerMonth),s(i.TIERS.max.listeningMinutes),l(i.TIERS.max.aiCallsPerMonth),Ob
1ject.entries(a.LOCALIZED_MONTHLY).map(([e,r])=>({country:e,name:o[e]??e,pro:r.pro,max:r.max})).map(e=>e.name).join(", ");var c=e.i(81627);e.s(["BillingToggle",0,function({interval:e,onChange:t,variant:i}){return(0,r.jsxs)("div",{className:"billing-toggle"+("app"===i?" billing-toggle--app":""),role:"group","aria-label":"Billing interval",children:[(0,r.jsx)("button",{type:"button",className:"monthly"===e?"is-active":"","aria-pressed":"monthly"===e,onClick:()=>t("monthly"),children:"Monthly"}),(0,r.jsxs)("button",{type:"button",className:"yearly"===e?"is-active":"","aria-pressed":"yearly"===e,onClick:()=>t("yearly"),children:["Yearly ",(0,r.jsx)("span",{className:"billing-toggle__save",children:"save ~38%"})]})]})},"PlanCards",0,function({interval:e,country:s,localized:l,perkLimit:o,className:h,surface:d}){let u=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=u.current;if(!e||"u"<typeof IntersectionObserver)return;let r=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&((0,c.trackProShownOnce)(d),r.disconnect())},{threshold:.15});return r.observe(e),()=>r.disconnect()},[d]),(0,r.jsx)("div",{ref:u,className:"price-grid price-grid--three"+(h?` ${h}`:""),children:n.map(t=>{let n=i.TIERS[t],h="pro"===t,u="free"===t?null:(0,i.checkoutFor)(t,e),m=(0,a.localizedMonthlyLabel)(t,s),p="free"===t?n.priceLabel:l&&m?m:"yearly"===e&&n.yearlyLabel?n.yearlyLabel:n.priceLabel,f="free"===t||l?null:"yearly"===e?n.priceLabel:n.yearlyLabel??null,g=o?n.perks.slice(0,o):n.perks;return(0,r.jsxs)("div",{className:"price-card"+(h?" price-card-pro":""),children:[h&&(0,r.jsx)("span",{className:"pro-tag",children:"Popular"}),(0,r.jsx)("h3",{children:n.name}),(0,r.jsxs)("p",{className:"amount-row",children:[(0,r.jsx)("span",{className:"amount",children:p}),f&&(0,r.jsxs)("span",{className:"price-sub",children:["or ",f]})]}),(0,r.jsx)("ul",{children:g.map(e=>(0,r.jsx)("li",{children:e},e))}),"free"===t?(0,r.jsx)("a",{className:"btn btn-line",href:(0,i.installUrl)(),rel:"noopener noreferrer",children:"Add to Chrome"}):u?(0,r.jsxs)("a",{className:"btn btn-accent",href:u,rel:"noopener noreferrer",onClick:()=>(0,c.trackCheckoutClick)(d),children:["Get ",n.name]}):(0,r.jsxs)("span",{className:"btn btn-accent","aria-disabled":"true",style:{opacity:.6,cursor:"default"},children:[n.name," coming soon"]})]},t)})})}],20370)},4941,e=>{"use strict";e.s(["heroMobileImage",0,function(e){if(!e)return;let r=e.split("/").pop();return r?`/slides/mobile/${r}`:e},"preloadHeroImages",0,function(e){for(let r of e){let e=new Image;e.decoding="async",e.src=r}}])},45628,e=>{"use strict";var r=e.i(43476),t=e.i(22016),i=e.i(71645),a=e.i(4941),n=e.i(7492),s=e.i(31338),l=e.i(93530),o=e.i(49069),c=e.i(75961),h=e.i(20370);e.s(["FxSlider",0,function({slides:e}){let d=(0,i.useRef)(null),[u,m]=(0,i.useState)(0),[p,f]=(0,i.useState)("monthly"),g=(0,o.useVisitorCountry)(),x=(0,l.hasLocalizedPricing)(g),y=x?"monthly":p,_=(0,i.useRef)(0),b=(0,i.useRef)(0);(0,i.useEffect)(()=>{let r=window.matchMedia("(max-width: 768px)").matches,t=[u,u+1,u-1].map(r=>e[r]).filter(Boolean);(0,a.preloadHeroImages)(t.flatMap(e=>e.image?r?[(0,a.heroMobileImage)(e.image)]:[e.image]:[]))},[u,e]),(0,i.useEffect)(()=>{let r=d.current;if(!r)return;let t=()=>{let t=r.offsetHeight-window.innerHeight,i=Math.min(Math.max(-r.getBoundingClientRect().top,0),Math.max(t,1)),a=Math.min(e.length-1e-4,Math.max(0,(t>0?i/t:0)*e.length)),s=Math.floor(a),l=_.current,o=l;if(s>l&&a-s>=.08?o=s:s<l&&l-a>=.08&&(o=s),l!==o){let e=o>l?"click":"transition";_.current=o,m(o),(0,n.primeFxAudio)(),(0,n.playFxSound)(e)}},i=()=>{cancelAnimationFrame(b.current),b.current=requestAnimationFrame(t)};return t(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i),cancelAnimationFrame(b.current)}},[e.length]);let j=e[u];return(0,r.jsx)("section",{ref:d,className:"hero",style:{"--slides":e.length},"aria-label":"AnimeVocab",children:(0,r.jsxs)("div",{className:"hero__stage",children:[e.map((e,t)=>(0,r.jsx)("div",{className:`hero__bg${t===u?" is-active":""}`,style:function(e,r){if(!e)return{background:r};let t=(0,a.heroMobileImage)(e);return{backgroundColor:"#0a0d16","--hero-bg-desktop":`url(${e})`,"--hero-bg-mobile":t?`url(${t})`:`url(${e})`}}(e.image,e.tone),"aria-hidden":"true"},e.id)),(0,r.jsx)("div",{className:"hero__scrim","aria-hidden":"true"}),(0,r.jsx)("div",{className:`hero__scrim hero__scrim--deep${j.bright?" is-on":""}`,"aria-hidden":"true"}),(0,r.jsxs)(t.default,{href:"/",className:`hero__brand${0===u?" is-visible":""}`,"aria-label":"AnimeVocab home","aria-hidden":0!==u,tabIndex:0===u?0:-1,children:["アニメ",(0,r.jsx)("b",{children:"Vocab"})]}),(0,r.jsx)("div",{className:"hero__auth",children:(0,r.jsx)(c.AuthControls,{size:"sm"})}),(0,r.jsx)("ul",{className:"hero__index hero__index--left","aria-hidden":"true",children:e.map((e,t)=>(0,r.jsx)("li",{className:t===u?"is-active":"",children:e.navLabel},e.id))}),(0,r.jsx)("ul",{className:"hero__index hero__index--right","aria-hidden":"true",children:e.map((e,t)=>(0,r.jsx)("li",{className:t===u?"is-active":"",children:e.tag},e.id))}),"pricing"===j.kind?(0,r.jsxs)("div",{className:"hero__center hero__center--wide hero__center--pricing",children:[(0,r.jsx)("h2",{className:"hero__title",children:j.title}),(0,r.jsx)("p",{className:"hero__body",children:j.body}
1),x?(0,r.jsx)("p",{className:"hero__body",style:{fontSize:"0.85em",opacity:.85},children:"Prices shown for your region. You'll see the same price at checkout."}):(0,r.jsx)(h.BillingToggle,{interval:p,onChange:f}),(0,r.jsx)(h.PlanCards,{surface:"home",interval:y,country:g,localized:x,perkLimit:3,className:"hero__pricing"}),(0,r.jsx)("p",{className:"hero__fineprint",children:(0,r.jsx)(t.default,{href:"/pricing",children:"Full pricing, regional prices, and billing FAQ"})})]},j.id):"faq"===j.kind?(0,r.jsxs)("div",{className:"hero__center hero__center--wide hero__center--faq",children:[(0,r.jsx)("h2",{className:"hero__title",children:j.title}),(0,r.jsxs)("div",{className:"hero__faq",children:[(0,r.jsxs)("details",{children:[(0,r.jsx)("summary",{children:"Can I learn Japanese just by watching anime?"}),(0,r.jsx)("p",{children:"Only if you actively notice and remember words. AnimeVocab handles that: one word at a time, in context, with scheduled reviews."})]}),(0,r.jsxs)("details",{children:[(0,r.jsx)("summary",{children:"I can't read hiragana yet. Can I still use this?"}),(0,r.jsxs)("p",{children:["Yes. That's the default setup. Cards show ",(0,r.jsx)("em",{children:"taikutsu"}),"before 退屈. Switch to kana-first or kanji-first when you're ready."]})]}),(0,r.jsxs)("details",{children:[(0,r.jsx)("summary",{children:"How is this different from subtitle dictionary tools?"}),(0,r.jsx)("p",{children:"Most tools assume you can read Japanese subtitles and hover words yourself. AnimeVocab pushes one curated 
1word to you in romaji and tracks SRS for you."})]}),(0,r.jsxs)("details",{children:[(0,r.jsx)("summary",{children:"Where is my data stored?"}),(0,r.jsx)("p",{children:"On your device by default — the extension works with no account. Create a free account only if you want cloud backup, sync across devices, or the AI coach. No ads, no tracking, and the source is on GitHub under AGPL."})]})]}),(0,r.jsxs)("p",{className:"hero__fineprint",children:["© AnimeVocab ·"," ",(0,r.jsx)("a",{href:s.GITHUB_URL,rel:"noopener noreferrer",children:"GitHub"})," ·"," ",(0,r.jsx)("a",{href:"/learn-japanese-with-anime",children:"Compare"})," ·"," ",(0,r.jsx)("a",{href:"/privacy",children:"Privacy"})]})]},j.id):(0,r.jsxs)("div",{className:"hero__center",children:[(0,r.jsx)("h1",{className:"hero__title",children:j.title}),(0,r.jsx)("p",{className:"hero__body",children:j.body}),(0,r.jsx)("div",{className:"hero__cta",children:(0,r.jsx)("a",{className:"btn btn-line hero__cta-btn",href:j.ctaHref??(0,s.installUrl)(),rel:"noopener noreferrer",onClick:r=>{j.ctaHref?.startsWith("#slide-")&&(r.preventDefault(),(r=>{let t=d.current,i=e.findIndex(e=>e.id===r);if(!t||i<0)return;(0,n.primeFxAudio)();let a=t.offsetHeight-window.innerHeight;window.scrollTo({top:t.offsetTop+a*(i+.5)/e.length,behavior:"smooth"})})(j.ctaHref.slice(7)))},children:j.ctaLabel??"Add to Chrome · free"})})]},j.id)]})})}])},51738,e=>{"use strict";var r=e.i(71645),t=e.i(4941);e.s(["HeroImagePreloader",0,function({slides:e}){return(0,r.useEffect)(()=>{let r=window.matchMedia("(max-width: 768px)").matches,i=e.slice(0,3).flatMap(e=>e.image?r?[(0,t.heroMobileImage)(e.image),e.image]:[e.image]:[]);(0,t.preloadHeroImages)(i);let a="u">typeof cancelIdleCallback?cancelIdleCallback:e=>window.clearTimeout(e),n=("u">typeof requestIdleCallback?requestIdleCallback:e=>window.setTimeout(e,400))(()=>{let i=e.slice(3).flatMap(e=>e.image?r?[(0,t.heroMobileImage)(e.image)]:[e.image]:[]);(0,t.preloadHeroImages)(i)});return()=>a(n)},[e]),null}])}]);

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.