1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[829],{1429:function(e,t,n){let r=n(9393),o=n(2807),a=n(7116),i=r(a);class s{constructor(e){if("string"!=typeof e)throw TypeError(`"${e}" is not a string.`);this.someString=e,this.hiragana=this.convert(this.someString,o),this.hiragana=this.convert(this.hiragana,i),this.katakana=this.convert(this.hiragana,a)}string(){return this.someString}convert(e,t){let n=Object.keys(t).reduce((e,n)=>{let r=t[n],o=RegExp(n,"gi");return e.replace(o,r)},e);return n}toHiragana(){return this.hiragana}toKatakana(){return this.katakana}}let c=e=>new s(e),u=e=>{let t=new s(e);return t.toHiragana()},l=e=>{let t=new s(e);return t.toKatakana()};e.exports=c,e.exports.toHiragana=u,e.exports.toKatakana=l},7116:function(e){e.exports={ã:"ã¢",ã:"ã¤",ã:"ã¦",ã:"ã¨",ã:"ãª",ã:"ã«",ã:"ã",ã:"ã¯",ã:"ã±",ã:"ã³",ã:"ãµ",ã:"ã·",ã:"ã¹",ã:"ã»",ã:"ã½",ã:"ã¿",ã¡:"ã",ã¤:"ã",ã¦:"ã",ã¨:"ã",ãª:"ã",ã«:"ã",ã¬:"ã",ã:"ã",ã®:"ã",ã¯:"ã",ã²:"ã",ãµ:"ã",ã¸:"ã",ã»:"ã",ã¾:"ã",ã¿:"ã",ã:"ã ",ã:"ã¡",ã:"ã¢",ã:"ã¤",ã:"ã¦",ã:"ã¨",ã:"ã©",ã:"ãª",ã:"ã«",ã:"ã¬",ã:"ã",ã:"ã¯",ã:"ã²",ã:"ã³",ã:"ã´",ã:"ã¬",ã:"ã®",ã:"ã°",ã:"ã²",ã:"ã´",ã:"ã¶",ã:"ã¸",ã:"ãº",ã:"ã¼",ã:"ã¾",ã :"ã",ã¢:"ã",ã¥:"ã
",ã§:"ã",ã©:"ã",ã°:"ã",ã³:"ã",ã¶:"ã",ã¹:"ã",ã¼:"ã",ã±:"ã",ã´:"ã",ã·:"ã",ãº:"ã",ã½:"ã",ã:"ã¡",ã:"ã£",ã
:"ã¥",ã:"ã§",ã:"ã©",ã:"ã£",ã
:"ã¥",ã:"ã§",ã:"ã®",ã£:"ã"}},2807:function(e){e.exports={nn:"ã",mb:"ãb",mm:"ãm",mp:"ãp",bb:"ã£b",cc:"ã£c",dd:"ã£d",ff:"ã£f",gg:"ã£g",hh:"ã£h",jj:"ã£j",kk:"ã£k",ll:"ã£l",pp:"ã£p",qq:"ã£q",rr:"ã£r",ss:"ã£s",tt:"ã£t",vv:"ã£v",ww:"ã£w",xx:"ã£x",yy:"ã£y",zz:"ã£z",ltsu:"ã£",xtsu:"ã£",hwyu:"ãµã
",vya:"ãã",vyi:"ãã",vyu:"ãã
",vye:"ãã",vyo:"ãã",kya:"ãã",kyi:"ãã",kyu:"ãã
",kye:"ãã",kyo:"ãã",kwa:"ãã",kwi:"ãã",kwu:"ãã
",kwe:"ãã",kwo:"ãã",gya:"ãã",gyi:"ãã",gyu:"ãã
",gye:"ãã",gyo:"ãã",gwa:"ãã",gwi:"ãã",gwu:"ãã
",gwe:"ãã",gwo:"ãã",sya:"ãã",syi:"ãã",syu:"ãã
",sye:"ãã",syo:"ãã",sha:"ãã",shi:"ã",shu:"ãã
",she:"ãã",sho:"ãã",jya:"ãã",jyi:"ãã",jyu:"ãã
",jye:"ãã",jyo:"ãã",zya:"ãã",zyi:"ãã",zyu:"ãã
",zye:"ãã",zyo:"ãã",tsa:"ã¤ã",tsi:"ã¤ã",tsu:"ã¤",tse:"ã¤ã",tso:"ã¤ã",tya:"ã¡ã",tyi:"ã¡ã",tyu:"ã¡ã
",tye:"ã¡ã",tyo:"ã¡ã",tha:"ã¦ã",thi:"ã¦ã",thu:"ã¦ã
",the:"ã¦ã",tho:"ã¦ã",cya:"ã¡ã",cyi:"ã¡ã",cyu:"ã¡ã
",cye:"ã¡ã",cyo:"ã¡ã",cha:"ã¡ã",chi:"ã¡",chu:"ã¡ã
",che:"ã¡ã",cho:"ã¡ã",twa:"ã¨ã",twi:"ã¨ã",twu:"ã¨ã
",twe:"ã¨ã",two:"ã¨ã",dya:"ã¢ã",dyi:"ã¢ã",dyu:"ã¢ã
",dye:"ã¢ã",dyo:"ã¢ã",dha:"ã§ã",dhi:"ã§ã",dhu:"ã§ã
",dhe:"ã§ã",dho:"ã§ã",nya:"ã«ã",nyi:"ã«ã",nyu:"ã«ã
",nye:"ã«ã",nyo:"ã«ã",hya:"ã²ã",hyi:"ã²ã",hyu:"ã²ã
",hye:"ã²ã",hyo:"ã²ã",hwa:"ãµã",hwi:"ãµã",hwe:"ãµã",hwo:"ãµã",fya:"ãµã",fyu:"ãµã
",fyo:"ãµã",bya:"ã³ã",byi:"ã³ã",byu:"ã³ã
",bye:"ã³ã",byo:"ã³ã",pya:"ã´ã",pyi:"ã´ã",pyu:"ã´ã
",pye:"ã´ã",pyo:"ã´ã",mya:"ã¿ã",myi:"ã¿ã",myu:"ã¿ã
",mye:"ã¿ã",myo:"ã¿ã",rya:"ãã",ryi:"ãã",ryu:"ãã
",rye:"ãã",ryo:"ãã",wha:"ãã",whi:"ãã",whu:"ã",whe:"ãã",who:"ãã",ltu:"ã£",xtu:"ã£",lya:"ã",lyi:"ã",lyu:"ã
",lye:"ã",lyo:"ã",xya:"ã",xyi:"ã",xyu:"ã
",xye:"ã",xyo:"ã",lwa:"ã",xwa:"ã",ka:"ã",ki:"ã",ku:"ã",ke:"ã",ko:"ã",sa:"ã",si:"ã",su:"ã",se:"ã",so:"ã",ca:"ã",ci:"ã",cu:"ã",ce:"ã",co:"ã",ta:"ã",ti:"ã¡",tu:"ã¤",te:"ã¦",to:"ã¨",na:"ãª",ni:"ã«",nu:"ã¬",ne:"ã",no:"ã®",ha:"ã¯",hi:"ã²",hu:"ãµ",he:"ã¸",ho:"ã»",ma:"ã¾",mi:"ã¿",mu:"ã",me:"ã",mo:"ã",ya:"ã",yu:"ã",yo:"ã",ra:"ã",ri:"ã",ru:"ã",re:"ã",ro:"ã",wa:"ã",wi:"ãã",wu:"ã",we:"ãã",wo:"ã",qa:"ãã",qi:"ãã",qu:"ã",qe:"ãã",qo:"ãã",fa:"ãµã",fi:"ãµã",fu:"ãµ",fe:"ãµã",fo:"ãµã",va:"ãã",vi:"ãã",vu:"ã",ve:"ãã",vo:"ãã",ga:"ã",gi:"ã",gu:"ã",ge:"ã",go:"ã",za:"ã",zi:"ã",zu:"ã",ze:"ã",zo:"ã",ja:"ãã",ji:"ã",ju:"ãã
",je:"ãã",jo:"ãã",da:"ã ",di:"ã¢",du:"ã¥",de:"ã§",do:"ã©",ba:"ã°",bi:"ã³",bu:"ã¶",be:"ã¹",bo:"ã¼",pa:"ã±",pi:"ã´",pu:"ã·",pe:"ãº",po:"ã½",la:"ã",li:"ã",lu:"ã
",le:"ã",lo:"ã",xa:"ã",xi:"ã",xu:"ã
",xe:"ã",xo:"ã",a:"ã",i:"ã",u:"ã",e:"ã",o:"ã",n:"ã",0:"ï¼",1:"ï¼",2:"ï¼",3:"ï¼",4:"ï¼",5:"ï¼",6:"ï¼",7:"ï¼",8:"ï¼",9:"ï¼","-":"ã¼",",":"ã","\\.":"ã","\\!":"ï¼","\\?":"ï¼"}},9393:function(e){let t=e=>{let t={};return Object.keys(e).forEach(n=>{let r=e[n];t[r]=n}),t};e.exports=t},133:function(e,t,n){"use strict";var r,o=n(7294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"
1currentColor",className:"chevron-down_svg__w-6 chevron-down_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5z",clipRule:"evenodd"})))}},6047:function(e,t,n){"use strict";var r,o=n(7294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"chevron-right_svg__w-6 chevron-right_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5z",clipRule:"evenodd"})))}},2444:function(e,t,n){"use strict";var r,o,a,i=n(7294);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"eye-slash_svg__w-6 eye-slash_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=i.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18zm19.15 10.08a11.25 11.25 0 0 1-2.64 4.31l-3.1-3.1a5.25 5.25 0 0 0-6.7-6.7L7.76 4.57A11.22 11.22 0 0 1 12 3.75c4.97 0 9.19 3.22 10.68 7.69.12.36.12.75 0 1.11z"})),o||(o=i.createElement("path",{d:"M15.75 12c0 .18-.01.36-.04.53l-4.24-4.24A3.75 3.75 0 0 1 15.75 12zm-3.22 3.71-4.24-4.24a3.75 3.75 0 0 0 4.24 4.24z"})),a||(a=i.createElement("path",{d:"M6.75 12c0-.62.1-1.21.3-1.76l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.3c-.12.37-.12.76 0 1.12a11.25 11.25 0 0 0 14.92 6.86l-2.48-2.47A5.25 5.25 0 0 1 6.75 12z"})))}},3072:function(e,t,n){"use strict";var r,o,a=n(7294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"eye_svg__w-6 eye_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"})),o||(o=a.createElement("path",{fillRule:"evenodd",d:"M1.32 11.45a11.26 11.26 0 0 1 21.36-.01c.12.36.12.75 0 1.11a11.26 11.26 0 0 1-21.36.01 1.76 1.76 0 0 1 0-1.11zm15.93.55a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0z",clipRule:"evenodd"})))}},1143:function(e,t,n){"use strict";var r,o,a=n(7294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"speaker-wave_svg__w-6 speaker-wave_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{d:"M13.5 4.06c0-1.34-1.62-2-2.56-1.06l-4.5 4.5H4.51a2.7 2.7 0 0 0-2.66 1.9A9.76 9.76 0 0 0 1.5 12c0 .9.12 1.77.35 2.6a2.7 2.7 0 0 0 2.66 1.9h1.93l4.5 4.5a1.5 1.5 0 0 0 2.56-1.06V4.06zm5.08 1.05a.75.75 0 0 1 1.06 0 9.75 9.75 0 0 1 0 13.78.75.75 0 1 1-1.06-1.06 8.25 8.25 0 0 0 0-11.66.75.75 0 0 1 0-1.06z"})),o||(o=a.createElement("path",{d:"M15.93 7.76a.75.75 0 0 1 1.06 0 6 6 0 0 1 0 8.48.75.75 0 0 1-1.06-1.06 4.5 4.5 0 0 0 0-6.36.75.75 0 0 1 0-1.06z"})))}},1798:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7297),o=n(5893),a=n(9521),i=n(6047),s=n(7294),c=n(9734),u=n(3545);function l(){let e=(0,r.Z)(["\n display: flex;\n justify-content: center;\n padding-top: 1em;\n"]);return l=function(){return e},e}function h(){let e=(0,r.Z)(["\n background-color: ",";\n display: flex;\n justify-content: stretch;\n width: 95%;\n height: 5em;
1\n box-shadow: 3px 3px 0 #e1e1e1;\n margin-bottom: 0.5em;\n"]);return h=function(){return e},e}function f(){let e=(0,r.Z)(["\n height: 100%;\n border: none;\n text-align: center;\n font-size: 1.5em;\n outline: none;\n color: ",";\n"]);return f=function(){return e},e}function g(){let e=(0,r.Z)(["\n border: none;\n width: 5em;\n height: 100%;\n position: relative;\n right: 0.8em;\n margin-left: 0.8em;\n"]);return g=function(){return e},e}function d(){let e=(0,r.Z)(["\n height: 2em;\n width: 100%;\n border: none;\n"]);return d=function(){return e},e}let y=a.ZP.div.withConfig({componentId:"sc-52099b4-0"})(l()),p=a.ZP.form.attrs(e=>({$backgroundcolor:e.$backgroundcolor})).withConfig({componentId:"sc-52099b4-1"})(h(),e=>e.$backgroundcolor),w=a.ZP.input.attrs(e=>({$color:e.$color})).withConfig({componentId:"sc-52099b4-2"})(f(),e=>e.$color),v=a.ZP.button.withConfig({componentId:"sc-52099b4-3"})(g()),m=(0,a.ZP)(i.Z).withConfig({componentId:"sc-52099b4-4"})(d());function b(e){let{expectedAnswerType:t,expectedAnswerText:r,setIsHiddenWrong:a,setIsHiddenInfo:i,quizItems:l,setQuizItems:h,currentQuizItem:f,changeQuizItemIndexRandomly:g,setIsPopupVisible:d}
1=e,[b,x]=(0,s.useState)("#f4f4f4"),[j,k]=(0,s.useState)("#333"),[_,z]=(0,s.useState)("not answered"),Z=function(e){let[t,n]=(0,u.Z)("apiToken",{defaultValue:""}),r=e+"/start",o=async()=>{let e=new Headers({"Wanikani-Revision":"20170710",Authorization:"Bearer "+t}),n=new Request("https://api.wanikani.com/v2/assignments/"+r,{method:"PUT",headers:e}),{error:o}=await function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return fetch(...t).then(e=>e.json())}(n);return{isError:o}},{error:a,isLoading:i}=(0,c.ZP)(t?["assignments",r]:null,o);return{isLoading:i,isError:a}}(null==f?void 0:f.assignmentId);return(0,o.jsx)(y,{children:(0,o.jsxs)(p,{onSubmit:function(e){e.preventDefault();let t=e.target.elements.answer.value;if("answered correct"===_){if(1===l.length)d(!0);else{z("not answered"),i(!0),h(e=>e.filter(e=>e.quizId!==f.quizId));let t=l.find(e=>e.id===f.id);t?(k("#333"),x("f4f4f4"),console.log(l),e.target.elements.answer.value=""):(Z(),k("#333"),x("f4f4f4"),console.log(l),e.target.elements.answer.value="")}}else"answered wrong"===_?(z("not answered"),i(!0),a(!0),k("#333"),x("f4f4f4"),e.target.elements.answer.value="",h(e=>{let t=e.filter(e=>e.quizId!==f.quizId);return t.push(f),t}),g()):r&&r.includes(t)?(x("#88cc00"),k("#ffffff"),z("answered correct")):(x("#ff0033"),k("#ffffff"),a(!1),z("answered wrong"))},$backgroundcolor:b,children:[(0,o.jsx)(w,{placeholder:"Reading"===t?"çã":"Your answer",type:"text",name:"answer",autoComplete:"off",autocapitalize:"none",autocorrect:"off",spellcheck:"false",$color:j,onChange:function(e){if("Reading"!==t)return null;{let t=e.target.value;if("nn"===t.slice(-2))e.target.value=t.slice(0,-2)+"ã";else{if("n"===t.slice(-1))return null;let r=function(e){let t=n(1429),r=t(e).toHiragana();return r}(t);e.target.value=r}}},autoFocus:!0}),(0,o.jsx)(v,{children:(0,o.jsx)(m,{})})]})})}},7139:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r,o,a=n(7297),i=n(5893),s=n(9521),c=n(7294);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=n(1163);function h(){let e=(0,a.Z)(["\n border: none;\n background-color: #fafafa;\n align-self: start;\n margin-left: 0.4em;\n border-radius: 0.4em;\n padding: 0.4em;\n box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.2) inset,\n 0 0 10px rgba(255, 255, 255, 0.5);\n"]);return h=function(){return e},e}function f(){let e=(0,a.Z)(["\n width: 100%;\n height: 3em;\n"]);return f=function(){return e},e}let g=s.ZP.button.withConfig({componentId:"sc-2a68eff5-0"})(h()),d=(0,s.ZP)(function(e){return c.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"home_svg__w-6 home_svg__h-6",viewBox:"0 0 24 24"},e),r||(r=c.createElement("path",{d:"M11.47 3.84a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.06l-8.69-8.69a2.25 2.25 0 0 0-3.18 0l-8.7 8.69a.75.75 0 0 0 1.07 1.06l8.69-8.69z"})),o||(o=c.createElement("path",{d:"m12 5.43 8.16 8.16.09.09v6.2c0 1.03-.84 1.87-1.88 1.87H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.62a1.88 1.88 0 0 1-1.87-1.88v-6.2a2.29 2.29 0 0 0 .1-.08L12 5.43z"})))}).withConfig({componentId:"sc-2a68eff5-1"})(f());function y(){let e=(0,l.useRouter)();return(0,i.jsx)(g,{onClick:()=>e.push("/dashboard"),children:(0,i.jsx)(d,{})})}},6515:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7297),o=n(5893),a=n(9521);function i(){let e=(0,r.Z)(["\n background-color: #f4f4f4;\n box-shadow: 3px 3px 0 #e1e1e1;\n display: ",";\n width: 65%;\n height: 4em;\n padding: 0.8em;\n position: relative;\n margin-top: 0.9em;\n"]);return i=function(){return e},e}function s(){let e=(0,r.Z)(["\n width: 0;\n height: 0;\n border-left: 1.6em solid transparent;\n border-right: 1.6em solid transparent;\n border-bottom: 1.6em solid #f4f4f4;\n position: absolute;\n top: -1.5em;\n right: ",";\n"]);return s=function(){return e},e}function c(){let e=(0,r.Z)(["\n font-size: 1em;\n"]);return c=function(){return e},e}let u=a.ZP.section.attrs(e=>({$visibility:e.$visibility})).withConfig({componentId:"sc-eb0c1752-0"})(i(),e=>e.$visibility?"block":"none"),l=a.ZP.div.attrs(e=>({$position:e.$position})).withConfig({componentId:"sc-eb0c1752-1"})(s(),e=>e.$position),h=a.ZP.p.withConfig({componentId:"sc-eb0c1752-2"})(c());function f(e){let{cardVisibility:t,ArrowPositionRight:n}=e;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(u,{$visibility:t,children:[(0,o.jsx)(l,{$position:n}),(0,o.jsx)(h,{children:"Need help? View the correct reading and mnemonic."})]})})}}}]);
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.