1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33999,94808,e=>{"use strict";e.i(16787),e.i(3374),e.i(3747),e.i(43476),e.i(22016),e.i(44065),e.i(28757),e.i(97995),e.i(1801),e.i(63141),e.i(98869),e.i(71645),e.i(48942),e.s([],33999);var t=e.i(59544),r=e.i(3812),n=e.i(67073),a=e.i(10396),i=e.i(39964),s=e.i(61418),l=e.i(58594),o=e.i(88687),d=e.i(50974),c=e.i(50796),u=e.i(9121),p=e.i(23411);e.i(94616),e.i(29392);var m=e.i(1886),g=e.i(93582),h=e.i(23873);e.i(72425);var f=e.i(76335);e.i(82241),e.i(27965);var x=e.i(61564),k=e.i(38982),y=e.i(88131),w=e.i(58700),C=e.i(26734),b=e.i(90593);e.i(3224);var j=e.i(52708),M=e.i(26793),T=e.i(72785);e.i(10446),e.i(35881);var S=e.i(27321),A=e.i(40409),v=e.i(39364);e.i(97704),e.s(["Alert",()=>s.Alert,"AppleSignInButton",()=>T.AppleSignInButton,"AudioPlayer",()=>m.AudioPlayer,"Button",()=>t.Button,"Card",()=>i.Card,"CardChatModal",()=>j.CardChatModal,"CardContent",()=>i.CardContent,"CardFooter",()=>i.CardFooter,"CardFormModal",()=>C.CardFormModal,"CardHeader",()=>i.CardHeader,"CloseAccountDialog",()=>h.CloseAccountDialog,"ConfirmDialog",()=>g.ConfirmDialog,"DropdownMenu",()=>a.DropdownMenu,"ExtraTrainingForm",()=>v.ExtraTrainingForm,"FlagIcon",()=>p.FlagIcon,"GoogleSignInButton",()=>M.GoogleSignInButton,"ImportAnkiModal",()=>x.ImportAnkiModal,"Input",()=>r.Input,"LanguageSelect",()=>c.LanguageSelect,"Logo",()=>d.Logo,"MnemonicModal",()=>b.MnemonicModal,"OnboardingLanguagePicker",()=>u.OnboardingLanguagePicker,"Pagination",()=>w.Pagination,"PullToRefresh",()=>o.PullToRefresh,"ResetProgressModal",()=>f.ResetProgressModal,"Select",()=>n.Select,"Spinner",()=>l.Spinner,"Tabs",()=>k.Tabs,"TabsContent",()=>k.TabsContent,"TabsList",()=>k.TabsList,"TabsTrigger",()=>k.TabsTrigger,"ThemeToggle",()=>A.ThemeToggle,"TimezoneSelect",()=>y.TimezoneSelect,"Turnstile",()=>S.Turnstile,"useDropdownMenu",()=>a.useDropdownMenu],94808)},13692,e=>{"use strict";let t="rc_deck_notice",r={created:{text:"Deck created successfully.",variant:"success"},updated:{text:"Deck updated successfully.",variant:"success"},missing:{text:"That deck was not found. It may have been deleted.",variant:"warning"}};function n(){try{return window.sessionStorage}catch{return null}}function a(e,r=n()){try{r?.setItem(t,e)}catch{}}function i(e=n()){let a=null;try{a=e?.getItem(t)??null,e?.removeItem(t)}catch{return null}return null!==a&&Object.hasOwn(r,a)?r[a]:null}e.s(["rememberDeckNotice",()=>a,"takeDeckNotice",()=>i])},22076,e=>{"use strict";function t(e,t,n){if(!e)return null;let a=n?.trim();if(a){let t=r(e,a);if(void 0!==t)return t}for(let n of Array.from(new Set(t.map(e=>e.trim()).filter(Boolean))).sort((e,t)=>t.length-e.length)){let t=r(e,n);if(null===t)break;if(t)return t}return null}function r(e,t){let r;try{r=RegExp(`(?<!\\p{L})${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?!\\p{L})`,"iu")}catch{return null}let n=r.exec(e);if(n)return{before:e.slice(0,n.index),match:n[0],after:e.slice(n.index+n[0].length)}}function n(e){let r=[e.word,e.plural_form??"",...e.conjugations?Object.values(e.conjugations):[]].filter(e=>"string"==typeof e&&""!==e.trim());return t(e.usage_sample??"",r,e.usage_sample_form)}e.s(["highlightCardSample",()=>n,"highlightInSample",()=>t])},17045,18758,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n(e){return e.replace(/[\p{P}\p{S}]/gu,"").toLowerCase().trim().replace(/\s+/g," ")}let a=/[\p{P}\p{S}]/gu,i=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u,s="undefined"!=typeof Intl&&"Segmenter"in Intl?new Intl.Segmenter(void 0,{granularity:"grapheme"}):null;function l(e){return s?Array.from(s.segment(e),e=>e.segment):Array.from(e)}let o=e=>e.normalize("NFC").toLowerCase(),d=e=>e.normalize("NFD").replace(/\p{M}/gu,"").toLowerCase();function c(e,t){let r=e.length,n=t.length,a=Array.from({length:r+1},(e,t)=>Array.from({length:n+1},(e,r)=>0===t?r:0===r?t:0)),i=(e,t)=>d(e)===d(t),s=(r,n)=>r>1&&n>1&&i(e[r-1],t[n-2])&&i(e[r-2],t[n-1])&&!i(e[r-1],e[r-2]);for(let l=1;l<=r;l++)for(let r=1;r<=n;r++){let n=Math.min(a[l-1][r]+1,a[l][r-1]+1,a[l-1][r-1]+ +!i(e[l-1],t[r-1]));s(l,r)&&(n=Math.min(n,a[l-2][r-2]+1)),a[l][r]=n}let l=[],c=r,u=n;for(;c>0||u>0;
1)if(s(c,u)&&a[c][u]===a[c-2][u-2]+1)l.push({kind:"swapped",expected:e[c-2]+e[c-1],typed:t[u-2]+t[u-1]}),c-=2,u-=2;else if(c>0&&u>0&&i(e[c-1],t[u-1])&&a[c][u]===a[c-1][u-1]){let r=o(e[c-1])===o(t[u-1])?"same":"accent";l.push({kind:r,expected:e[c-1],typed:t[u-1]}),c--,u--}else c>0&&u>0&&a[c][u]===a[c-1][u-1]+1?(l.push({kind:"wrong",expected:e[c-1],typed:t[u-1]}),c--,u--):u>0&&a[c][u]===a[c][u-1]+1?(l.push({kind:"extra",typed:t[u-1]}),u--):(l.push({kind:"missing",expected:e[c-1]}),c--);return{chars:l.reverse(),distance:a[r][n]}}function u(e,t){return(t?l(e.replace(/\s+/g,"")):e.trim().split(/\s+/)).map(e=>{let t=e.replace(a,"");return{text:e,key:t.toLowerCase().normalize("NFC"),letters:l(t)}}).filter(e=>e.key)}function p(e,t){let r=i.test(e),n=u(e,r),a=u(t,r),s=function(e,t){let r=e.length,n=t.length,a=new Map,i=(r,i)=>{var s,l,o;let d,u,p,m,g=r*(n+1)+i;return a.has(g)||a.set(g,e[r].key===t[i].key?null:(s=e[r],l=t[i],p=0===(d=c(s.letters,l.letters)).distance||(o=d.distance,o<(u=Math.max(s.letters.length,1))&&o<=Math.max(1,Math.floor(u/3))),m=0===d.distance?.1:p?.2+.3*d.distance/Math.max(s.letters.length,1):1.9,{...d,near:p,cost:m})),a.get(g)??null},s=(e,t)=>i(e,t)?.cost??0,l=Array.from({length:r+1},(e,t)=>Array.from({length:n+1},(e,r)=>0===t?r:0===r?t:0));for(let e=1;e<=r;e++)for(let t=1;t<=n;t++)l[e][t]=Math.min(l[e-1][t]+1,l[e][t-1]+1,l[e-1][t-1]+s(e-1,t-1));let o=(e,t)=>1e-9>Math.abs(e-t),d=[],u=r,p=n;for(;u>0||p>0;)if(u>0&&p>0&&o(l[u][p],l[u-1][p-1]+s(u-1,p-1))){let r=i(u-1,p-1),n=e[u-1].text,a=t[p-1].text;r?r.near?d.push({kind:"near",expected:n,typed:a,chars:r.chars}):d.push({kind:"replaced",expected:n,typed:a}):d.push({kind:"same",expected:n,typed:a}),u--,p--}else p>0&&o(l[u][p],l[u][p-1]+1)?(d.push({kind:"extra",typed:t[p-1].text}),p--):(d.push({kind:"missing",expected:e[u-1].text}),u--);return d.reverse()}(n,a),l=r?function(e){let t=[],r="",n="",a=()=>{(r||n)&&(n?r?t.push({kind:"replaced",expected:r,typed:n}):t.push({kind:"extra",typed:n}):t.push({kind:"missing",expected:r}),r="",n="")};for(let i of e)"same"===i.kind?(a(),t.push(i)):("extra"!==i.kind&&(r+=i.expected),"missing"!==i.kind&&(n+=i.typed));return a(),t}(s):s,o=e=>e.map(e=>e.key),d=e=>o(e).sort().join(" "),p=n.length>1&&d(n)===d(a)&&o(n).join(" ")!==o(a).join(" "),m=!p&&l.some(e=>"near"===e.kind)&&l.every(e=>"same"===e.kind||"near"===e.kind&&e.chars.every(e=>"same"===e.kind||"accent"===e.kind));return{words:l,separator:r?"":" ",reordered:p,accentsOnly:m}}function m(e,t,r){let a=l(n(r)),i=e=>{let t=l(n(e));return c(t,a).distance/Math.max(t.length,a.length,1)},s=e,o=i(e);for(let e of t){let t=i(e);t<o&&(s=e,o=t)}return s!==e&&o>.5?e:s}e.s(["closestAnswer",()=>m,"diffAnswer",()=>p,"normalizeAnswer",()=>n],18758);let g="text-red-600 dark:text-red-400 line-through decoration-2 text-[0.7em] align-[0.15em]",h="text-green-600 dark:text-green-400";function f(e,n){switch(e.kind){case"same":return(0,t.jsx)(r.Fragment,{children:e.expected},n);case"accent":return(0,t.jsx)("span",{"data-diff":"accent",className:"rounded bg-amber-200/70 text-amber-800 dark:bg-amber-400/20 dark:text-amber-300",children:e.expected},n);case"swapped":return(0,t.jsx)("span",{"data-diff":"swapped",className:"text-amber-700 dark:text-amber-300 underline decoration-2 underline-offset-4",children:e.expected},n);case"wrong":return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("span",{"data-diff":"typed",className:g,children:e.typed}),(0,t.jsx)("span",{"data-diff":"fix",className:h,children:e.expected})]},n);case"extra":return(0,t.jsx)("span",{"data-diff":"typed",className:g,children:e.typed},n);case"missing":return(0,t.jsx)("span",{"data-diff":"fix",className:h,children:e.expected},n)}}function x({expected:e,typed:n}){let a=p(e,n);return a.reordered?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)(t.Fragment,{children:a.words.map((e,n)=>(0,t.jsxs)(r.Fragment,{children:[n>0&&a.separator,function(e){switch(e.kind){case"same":return e.expected;case"near":return(0,t.jsx)("span",{className:"whitespace-nowrap",children:e.chars.map(f)});case"replaced":return(0,t.jsxs)("span",{className:"whitespace-nowrap",children:[(0,t.jsx)("span",{"data-diff":"typed",className:g,children:e.typed})," ",(0,t.jsx)("span",{"data-diff":"fix",className:h,children:e.expected})]});case"extra":return(0,t.jsx)("span",{"data-diff":"typed",className:g,children:e.typed});case"missing":return(0,t.jsx)("span",{"data-diff":"fix",className:`${h} border-b-2 border-dashed border-current`,children:e.expected})}}(e)]},n))})}function k({expected:e,typed:r,target:n}){if(!r.trim())return null;let a=p(e,r),i=a.reordered?"Right words, wrong order":a.accentsOnly?"Right apart from the accents":null;return i||n?(0,t.jsxs)("div",{"data-testid":"answer-correction-notes",className:"mt-1 text-sm text-muted-fg space-y-0.5",children:[n&&(0,t.jsxs)("p",{children:["Closest accepted answer: ",(0,t.jsx)("span",{className:"font-medium text-foreground",children:n})]}),i&&(0,t.jsx)("p",{children:i})]}):null}e.s(["AnswerCorrection",()=>x,"CorrectionNotes",()=>k],17045)}]);
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.