PageSourceSearch

https://typingmentor.com/_next/static/chunks/16g7d_-ek4fur.js?dpl=dpl_3ftsLhVE2RVDx5iR8rqr5qAhUyqS

js typingmentor.com collected 2026-10-06 20:38:47 UTC 20,555 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f033f411-cd67-d040-71e1-5acf78c690f4")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return g},useLinkStatus:function(){return x}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=e.r(190809),n=e.r(843476),o=i._(e.r(271645)),l=e.r(195057),c=e.r(8372),p=e.r(818581),u=e.r(718967),d=e.r(330559);e.r(233525);let h=e.r(388540),P=e.r(769688),m=e.r(573668),f=e.r(509396);function g(t){var r,a;let s,i,g,[x,T]=(0,o.useOptimistic)(P.IDLE_LINK_STATUS),_=(0,o.useRef)(null),{href:E,as:S,children:v,prefetch:w=null,passHref:b,replace:A,shallow:R,scroll:C,onClick:j,onMouseEnter:O,onTouchStart:N,legacyBehavior:k=!1,onNavigate:M,transitionTypes:H,ref:L,unstable_dynamicOnHover:U,...I}=t;s=v,k&&("string"==typeof s||"number"==typeof s)&&(s=(0,n.jsx)("a",{children:s}));let D=o.default.useContext(c.AppRouterContext),K=!1!==w,B=!1!==w?null===(a=w)||"auto"===a?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,W="string"==typeof(r=S||E)?r:(0,l.formatUrl)(r);if(k){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=o.default.Children.only(s)}let F=k?i&&"object"==typeof i&&i.ref:L,$=o.default.useCallback(e=>(null!==D&&(_.current=(0,P.mountLinkInstance)(e,W,D,B,K,T)),()=>{_.current&&((0,P.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,P.unmountPrefetchableInstance)(e)}),[K,W,D,B,T]),q={ref:(0,p.useMergedRef)($,F),onClick(t){k||"function"!=typeof j||j(t),k&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!D||t.defaultPrevented||function(t,r,a,s,i,n,l){if("u">typeof window){let c,{nodeName:p}=t.currentTarget;if("A"===p.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),n){let e=!1;if(n({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);o.default.startTransition(()=>{u(r,s?"replace":"push",!1===i?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,a.current,l)})}}(t,W,_,A,C,M,H)},onMouseEnter(e){k||"function"!=typeof O||O(e),k&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),D&&K&&(0,P.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){k||"function"!=typeof N||N(e),k&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),D&&K&&(0,P.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,u.isAbsoluteUrl)(W)?q.href=W:k&&!b&&("a"!==i.type||"href"in i.props)||(q.href=(0,d.addBasePath)(W)),g=k?o.default.cloneElement(i,q):(0,n.jsx)("a",{...I,...q,children:s}),(0,n.jsx)(y.Provider,{value:x,children:g})}e.r(284508);let y=(0,o.createContext)(P.IDLE_LINK_STATUS),x=()=>(0,o.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},571427,e=>{"use strict";let t=(...e)=>e.filter(Boolean).join(" ");e.s(["cn",0,t,"joinClassNames",0,t])},505225,e=>{"use strict";var t=e.i(843476),r=e.i(571427);e.s(["Card",0,({elevated:e=!1,padded:a=!0,className:s,id:i,children:n})=>(0,t.jsx)("div",{id:i,className:(0,r.cn)("rounded-md bg-surface",e?"border border-border shadow-[0_1px_2px_color-mix(in_srgb,var(--tp-color-text)_8%,transparent)]":"border border-transparent",a&&"p-6",s),children:n})])},244023,312093,972757,470877,e=>{"use strict";e.i(208080),e.i(76840);var t=e.i(843476),r=e.i(571427);let a={neutral:"bg-fill-secondary text-text",success:"bg-fill-secondary text-text",w
2arning:"bg-error-muted text-text",error:"bg-error-muted text-error"},s={sm:"gap-1 px-2 py-0.5 text-xs leading-tight",md:"gap-1.5 px-3 py-1 text-sm leading-snug"};e.s(["Badge",0,({tone:e="neutral",size:i="sm",className:n,id:o,children:l})=>(0,t.jsx)("span",{id:o,className:(0,r.cn)("inline-flex items-center rounded-sm font-medium",s[i],a["accent"===e?"neutral":e],n),children:l})],312093),e.i(571274),e.i(505225),e.i(43651),e.i(75109),e.i(641602),e.i(150878),e.s(["Kbd",0,({className:e,children:a,...s})=>(0,t.jsx)("kbd",{className:(0,r.joinClassNames)("tp-kbd",e),...s,children:a})],972757),e.i(596123),e.i(173194),e.i(431719),e.i(820490),e.i(223350),e.i(947898),e.i(307765),e.i(973538),e.s(["Separator",0,({vertical:e=!1,className:a})=>e?(0,t.jsx)("span",{role:"separator","aria-orientation":"vertical",className:(0,r.cn)("mx-2 inline-block w-px self-stretch bg-border",a)}):(0,t.jsx)("hr",{className:(0,r.cn)("my-3 h-px w-full border-0 bg-border",a)})],470877),e.i(704991),e.i(686544),e.i(600711),e.i(557439),e.i(21264),e.i(147317),e.i(707066),e.s([],244023)},929325,e=>{"use strict";let t={home:"/",typingTest:"/typing-test",typingCertificate:"/typing-certificate",lessons:"/lessons",kph:"/keystrokes-per-hour-test",dispatcher911:"/911-dispatcher-typing-test",legalPractice:"/legal-typing-practice",medicalPractice:"/medical-typing-test",codeTyping:"/code-typing"},r=t.home,a=t.typingTest;e.s(["APP_PATHS",0,t,"PRACTICE_SESSION_PATH",0,r,"TEST_SESSION_PATH",0,a])},39890,e=>{"use strict";let t=e=>"/"!==e&&e.endsWith("/")?e.replace(/\/+$/,"")||"/":e;e.s(["isPath",0,(e,r)=>null!=e&&0!==e.length&&t(e)===t(r),"slashlessPathname",0,t])},352212,e=>{"use strict";var t=e.i(39890),r=e.i(929325);let a=e=>(0,t.isPath)(e,r.APP_PATHS.home),s=e=>(0,t.isPath)(e,r.APP_PATHS.typingTest)||(0,t.isPath)(e,r.APP_PATHS.typingCertificate),i=e=>(0,t.isPath)(e,r.APP_PATHS.kph),n=e=>(0,t.isPath)(e,r.APP_PATHS.legalPractice),o=e=>(0,t.isPath)(e,r.APP_PATHS.medicalPractice),l=e=>(0,t.isPath)(e,r.APP_PATHS.codeTyping),c=e=>(0,t.isPath)(e,r.APP_PATHS.dispatcher911)||n(e)||o(e)||l(e),p=e=>{if(null==e||0===e.length)return!1;let a=(0,t.slashlessPathname)(e),s=`${r.APP_PATHS.lessons}/`;if(!a.startsWith(s))return!1;let i=a.slice(s.length);return i.length>0&&!i.includes("/")};e.s(["isCodeTypingPath",0,l,"isKphSessionPath",0,i,"isLegalPracticePath",0,n,"isLessonPlayPath",0,p,"isMedicalPracticePath",0,o,"isPlaygroundRoute",0,e=>!e||a(e)||p(e)||c(e)||i(e)||s(e),"isPracticeHomePath",0,a,"isSpecialtyPracticePath",0,c,"isTestSessionPath",0,s])},549341,981918,e=>{"use strict";let t="preset",r="no-punctuation",a="punctuation",s="numbers",i="no-numbers",n="easy-words",o="hard-words",l="hard-words-5-minutes",c="hard-words-1-minute",p="letters-numbers",u="10-words",d="25-words",h="50-words",P="100-words",m="200-words",f="30-seconds",g="1-minute",y="3-minutes",x="5-minutes",T="10-minutes",_=[r,a,s,i,n,o,l,c,p,u,d,h,P,m,f,g,y,x,T];e.s(["HOME_PRESET_100_WORDS",0,P,"HOME_PRESET_10_MINUTES",0,T,"HOME_PRESET_10_WORDS",0,u,"HOME_PRESET_1_MINUTE",0,g,"HOME_PRESET_200_WORDS",0,m,"HOME_PRESET_25_WORDS",0,d,"HOME_PRESET_30_SECONDS",0,f,"HOME_PRESET_3_MINUTES",0,y,"HOME_PRESET_50_WORDS",0,h,"HOME_PRESET_5_MINUTES",0,x,"HOME_PRESET_EASY_WORDS",0,n,"HOME_PRESET_HARD_WORDS",0,o,"HOME_PRESET_HARD_WORDS_1_MINUTE",0,c,"HOME_PRESET_HARD_WORDS_5_MINUTES",0,l,"HOME_PRESET_IDS",0,_,"HOME_PRESET_LETTERS_NUMBERS",0,p,"HOME_PRESET_NO_NUMBERS",0,i,"HOME_PRESET_NO_PUNCTUATION",0,r,"HOME_PRESET_NUMBERS",0,s,"HOME_PRESET_PUNCTUATION",0,a,"HOME_PRESET_QUERY",0,t],981918);let E=new Set(_),S=e=>{let r,a=(r="string"==typeof e?new URLSearchParams(e):e,r.get(t)?.trim().toLowerCase()||null);return a&&E.has(a)?a:null};e.s(["parseHomePreset",0,S,"readHomePresetFromLocation",0,()=>S(window.location.search.startsWith("?")?window.location.search.slice(1):window.location.search)],549341)},682267,4776,e=>{"use strict";var t=e.i(39890);let r={lesson:e.i(929325).APP_PATHS.lessons,page:""},a=e=>`${r.lesson}/${e}`;e.s(["CONTENT_ROUTE_PATHS",0,r,"buildLessonPath",0,a],4776);let s="paragraph",i="preset",n=["stories","movie-quotes","music","sentences","long-text","customer-service"],o=new Set(n),l=a(s),c=e=>{let t,r=(t="string"==typeof e?new URLSearchParams(e):e,t.get(i)?.trim().toLowerCase()||null);return r&&o.has(r)?r:null};e.s(["PARAGRAPH_LESSON_SLUG",0,s,"PARAGRAPH_PRACTICE_PRESET_IDS",0,n,"buildParagraphPracticePath",0,e=>"paragraphs"===e||"stories"===e?l:`${l}?${i}=${e}`,"isParagraphLessonPath",0,e=>(0,t.isPath)(e,l),"parseParagraphPracticePreset",0,c,"readParagraphPracticePresetFromLocation",0,()=>c(window.location.search.startsWith("?")?window.location.search.slice(1):window.location.search)],682267)},74271,e=>{"use strict";var t=e.i(843476),r=e.i(522016);e.s(["PracticePresetLink",0,({href:e,children:a,className:s,onClick:i,scrollIntoView:n=!0,title:o})=>(0,t.jsx)(r.default,{href:e,title:o,className:s,onClick:e=>{e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(n&&window.scrollTo({top:0}),i?.(e))},children:a})])},905242,220753,e=>{"use strict";var t=e.i(843476);e.i(244023);var r=e.i(76840),a=e.i(522016),s=e.i(352212),i=e.i(682267),n=e.i(549341),o=e.i(571427),l=e.i(74271);let c=({nodes:e,linkClassName:r})=>(0,t.jsx)(t.Fragment,{children:e.map((e,c)=>((e,r,c)=>{let p=e.text;if(e.marks?.includes("code")&&(p=(0,t.jsx)("code",{children:p})),e.marks?.includes("em")&&(p=(0,t.jsx)("em",{children:p})),e.marks?.includes("strong")&&(p=(0,t.jsx)("strong",{children:p})),e.href){let d,h;
2if((d=e.href).startsWith("/")&&!d.startsWith("//")){var u;let d,h,P,m;return(P=-1===(h=(d=(u=e.href).split("#")[0]??u).indexOf("?"))?d:d.slice(0,h),m=new URLSearchParams(-1===h?"":d.slice(h+1)),(0,s.isPracticeHomePath)(P)&&null!==(0,n.parseHomePreset)(m)||(0,i.isParagraphLessonPath)(P)&&null!==(0,i.parseParagraphPracticePreset)(m))?(0,t.jsx)(l.PracticePresetLink,{href:e.href,title:e.text,className:(0,o.cn)(c),children:p},r):(0,t.jsx)(a.default,{href:e.href,title:e.text,className:(0,o.cn)(c),children:p},r)}return(0,t.jsx)("a",{href:e.href,title:e.text,className:(0,o.cn)(c),...(h=e.href).startsWith("http://")||h.startsWith("https://")?{rel:"noopener noreferrer",target:"_blank"}:{},children:p},r)}return(0,t.jsx)("span",{children:p},r)})(e,c,r))});e.s(["ContentInlines",0,c],220753);let p=({content:e})=>(0,t.jsx)("p",{className:"m-0",children:"string"==typeof e?e:(0,t.jsx)(c,{nodes:e,linkClassName:"tp-faq-link underline underline-offset-[0.15em]"})}),u=e=>e.map(e=>({id:e.id,title:e.title,content:(0,t.jsx)(p,{content:e.content})}));e.s(["ContentFaqAccordion",0,({items:e,className:a})=>(0,t.jsx)(r.Accordion,{items:u(e),className:a}),"ContentFaqAnswer",0,p,"toAccordionFaqItems",0,u],905242)},105463,473676,515211,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.i(244023);var a=e.i(150878),s=e.i(87812),i=e.i(929325);i.APP_PATHS.kph;let n=`${i.APP_PATHS.lessons}/paragraph`;e.s(["KPH_LEGACY_LESSON_PATH",0,n,"KPH_METRIC_QUERY",0,"metric","KPH_METRIC_VALUE",0,"kph","WPM_TO_KPH_FACTOR",0,300],473676);let o=e=>Number.isFinite(e)?300*e:0,l=e=>Number.isFinite(e)?e/300:0;e.s(["kphToWpm",0,l,"wpmToKph",0,o],515211);let c=(e,t=!1)=>{if(!Number.isFinite(e))return"";let r=Math.round(e);return t?r.toLocaleString("en-US"):String(r)},p=({fields:e,source:t,raw:r})=>{let a=r.replace(/[^\d,]/g,"");if(""===a.replace(/,/g,""))return{wpm:"",kph:""};let s=(e=>{let t=e.replace(/,/g,"");if(""===t)return null;let r=Number(t);return!Number.isFinite(r)||r<0?null:r})(a);return null==s?{...e,[t]:a}:"wpm"===t?{wpm:a,kph:c(o(s),!0)}:{kph:a,wpm:c(l(s))}},u="Converts in both directions",d={wpm:"",kph:""},h=({id:e,label:r,unit:s,value:i,onChange:n})=>(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5",children:[(0,t.jsx)("label",{htmlFor:e,className:"tp-wpm-kph-converter-label",children:r}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(a.Input,{id:e,type:"text",inputMode:"numeric",autoComplete:"off",spellCheck:!1,pattern:"[0-9,]*",value:i,onChange:n,className:"tp-wpm-kph-converter-input"}),(0,t.jsx)("span",{className:"tp-wpm-kph-converter-unit","aria-hidden":!0,children:s})]})]});e.s(["WpmKphConverter",0,()=>{let[e,a]=(0,r.useState)(d),i=(0,r.useCallback)(e=>{let t=e.target.value;a(e=>p({fields:e,source:"wpm",raw:t}))},[]),n=(0,r.useCallback)(e=>{let t=e.target.value;a(e=>p({fields:e,source:"kph",raw:t}))},[]);return(0,t.jsx)("div",{className:"tp-cms-wpm-kph-converter not-prose",children:(0,t.jsxs)("div",{className:"grid items-end gap-3 sm:grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] sm:gap-4",children:[(0,t.jsx)(h,{id:"wpm-kph-converter-wpm",label:"Words per minute (WPM)",unit:"WPM",value:e.wpm,onChange:i}),(0,t.jsxs)("div",{className:"flex items-center justify-center self-center sm:self-end sm:pb-3",title:u,children:[(0,t.jsx)("span",{className:"flex size-8 items-center justify-center rounded-full border border-border bg-fill-secondary text-text-muted",children:(0,t.jsx)(s.ArrowLeftRightIcon,{className:"size-3.5 rotate-90 sm:rotate-0","aria-hidden":!0})}),(0,t.jsx)("span",{className:"sr-only",children:u})]}),(0,t.jsx)(h,{id:"wpm-kph-converter-kph",label:"Keystrokes per hour (KPH)",unit:"KPH",value:e.kph,onChange:n})]})})}],105463)},16050,464645,992210,403520,385966,931733,e=>{"use strict";let t=["customer-service","long-text","movie-quotes","music","sentences","stories"],r={"customer-service":"paragraphs/customer-service.json","long-text":"paragraphs/long-text.json","movie-quotes":"paragraphs/movie-quotes.json",music:"paragraphs/music.json",sentences:"paragraphs/sentences.json",stories:"paragraphs/stories.json"};t.map(e=>r[e]);let a=e=>`/data/${r[e]}`,s={stories:"/data/paragraphs/stories.json","911-dispatcher":"/data/911-dispatcher.json"},i=e=>{if(!Array.isArray(e)||!e.every(e=>
2"string"==typeof e))throw Error("Paragraphs file is invalid.");if(0===e.length)throw Error("Paragraph pool is empty.");return e},n=(e,t)=>{if("paragraphs"===t||"stories"===t)return i(e);if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error(`Text asset file is invalid: ${t}.`);if(0===e.length)throw Error(`Text asset pool is empty: ${t}.`);return e},o=e=>e.flatMap(e=>[...e]);e.s(["COMMON_WORDS_PUBLIC_URL",0,"/data/common-words.json","PARAGRAPH_CATEGORY_IDS",0,t,"TEXT_ASSET_PUBLIC_URLS",0,s,"combineParagraphPools",0,o,"formatParagraphPoolText",0,(e,t)=>"uppercase"===t.transform?e.map(e=>e.replace(/[^a-zA-Z\s]+/g,"").replace(/\s{2,}/g," ").toUpperCase().trim()).filter(e=>e.length>0).join("|"):"lowercase"===t.transform?e.map(e=>e.replace(/[^a-zA-Z\s]+/g,"").replace(/\s{2,}/g," ").toLowerCase().trim()).filter(e=>e.length>0).join("|"):e.join("|"),"getParagraphCategoryPublicUrl",0,a,"parseCommonWordsJson",0,e=>{if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Common words file is invalid.");return e},"parseParagraphsJson",0,i,"parseTextAssetPoolJson",0,n],464645);let l=new Map,c=new Map,p=new Map,u=new Map,d=async(e,t)=>{let r=await fetch(e);if(!r.ok)throw Error(`Failed to load ${t} (${r.status} ${r.statusText}).`);return r.json()},h=e=>p.get(e),P=async e=>{let t=p.get(e);if(t)return t;let r=u.get(e);if(r)return r;let s=a(e),n=d(s,s).then(i).then(t=>(p.set(e,t),t)).finally(()=>{u.delete(e)});return u.set(e,n),n},m=async()=>o(await Promise.all(t.map(P))),f=async e=>{if("stories"===e)return P("stories");let t=l.get(e);if(t)return t;let r=c.get(e);if(r)return r;let a=("paragraphs"===e?m():d(s[e],e).then(t=>n(t,e))).then(t=>(l.set(e,t),t)).finally(()=>{c.delete(e)});return c.set(e,a),a};e.s(["clearTextAssetPoolClientCache",0,()=>{l.clear(),c.clear(),p.clear(),u.clear()},"getCachedParagraphCategoryClient",0,h,"loadParagraphCategoryClient",0,P,"loadTextAssetPoolClient",0,f],992210),e.i(486133);var g=e.i(868695);e.i(13781);var y=e.i(768069),x=e.i(620618);let T=e=>{var t,r;let a,s,i;return t=e.bodies,i=Math.floor(Math.random()*(s=(a=void 0===(r=e.excludeBody)?t:t.filter(e=>e!==r)).length>0?a:t).length),{text:[s[i]??s[0]??""],mode:"random",pipeDelimiter:!0,limit:{mode:"section",value:1}}},_=!1,E=0,S=null,v=async()=>{let e=S;for(;e;){if(await e,S===e)return;e=S}},w=async()=>{await v();let e=x.usePgLessonStore.getState(),t=e.practicePoolOverride;if(!t)return _=!1,null;if(_)return _=!1,t;let r=(e=>{if("paragraphs"===e.textType)return null;let t=h(e.textType);if(!t)throw Error("The selected paragraph practice category is not loaded.");return T({textType:e.textType,bodies:t,excludeBody:e.excludeBody})})({textType:e.practiceTextKind,excludeBody:t.text[0]});return r?(e.setPracticePoolOverride(r,e.practiceTextKind),r):t},b=async e=>{let t=++E;try{let r="paragraphs"===e.textType?void 0:await P(e.textType);if(t!==E)return!1;let a=x.usePgLessonStore.getState().practicePoolOverride?.text[0],s="paragraphs"===e.textType?null:T({textType:e.textType,bodies:r??[],excludeBody:a});_=null!==s,x.usePgLessonStore.getState().setPracticePoolOverride(s,e.textType);let i=y.useCustomTextStore.getState();return s&&i.replaceLessonPool(s.text,{limit:s.limit,mode:s.mode,pipeDelimiter:s.pipeDelimiter}),i.touchRevision(),!1!==e.scrollIntoView&&window.scrollTo({top:0}),!0}catch(r){return t===E&&(0,g.captureException)(r,{tags:{feature:"paragraph-practice",operation:"load-category"},extra:{textType:e.textType}}),!1}},A=e=>{let t=b(e);return S=t,t.then(()=>{S===t&&(S=null)},()=>{S===t&&(S=null)}),t};e.s(["applyParagraphPracticeText",0,A,"consumeParagraphPracticeOverrideForInit",0,w],403520);var R=e.i(682267);let C=async e=>{let t=e??"paragraphs",r=x.usePgLessonStore.getState().practiceTextKind;r!==t&&("paragraphs"!==t||"stories"!==r)&&await A({textType:t,scrollIntoView:!1})},j=e=>C((0,R.parseParagraphPracticePreset)(e));e.s(["applyParagraphPracticePresetFromLocation",0,()=>C((0,R.readParagraphPracticePresetFromLocation)()),"applyParagraphPracticePresetFromSearch",0,j],385966);var O=e.i(843476),N=e.i(271645),k=e.i(618566);let M=()=>{let e,t;return e=(0,k.usePathname)(),t=(0,k.useSearchParams)(),(0,N.useLayoutEffect)(()=>{(0,R.isParagraphLessonPath)(e)&&j(t)},[e,t]),null};e.s(["ParagraphPracticePresetSeed",0,()=>(0,O.jsx)(N.Suspense,{fallback:null,children:(0,O.jsx)(M,{})})],931733),e.s([],16050)}
2,67386,e=>{"use strict";var t=e.i(843476),r=e.i(618566);e.i(16050);var a=e.i(403520),s=e.i(682267);e.i(244023);var i=e.i(571274),n=e.i(571427),o=e.i(74271);let l=async({textType:e,replaceRoute:t})=>{await (0,a.applyParagraphPracticeText)({textType:e})&&t((0,s.buildParagraphPracticePath)(e))};e.s(["ContentBodyButtonRow",0,({buttons:e})=>{let a=(0,r.useRouter)();return(0,t.jsx)("div",{className:(0,n.cn)("tp-cms-button-row flex flex-wrap gap-3 not-prose",e.length>0&&e.every(e=>"practiceText"===e.kind)&&"tp-cms-tight-action"),children:e.map(e=>"print"===e.kind?(0,t.jsx)(i.Button,{htmlType:"button",variant:"secondary",onClick:()=>{window.print()},children:e.label},e.label):"practiceText"===e.kind?(0,t.jsx)(o.PracticePresetLink,{href:(0,s.buildParagraphPracticePath)(e.textType),className:"cursor-pointer bg-transparent p-0 text-inherit text-text-muted underline underline-offset-[0.15em] outline-offset-2 hover:text-text focus-visible:outline focus-visible:outline-1 focus-visible:outline-text/40",scrollIntoView:!1,onClick:t=>{t.preventDefault(),l({textType:e.textType,replaceRoute:e=>a.replace(e)})},children:e.label},`${e.label}-${e.textType}`):e.download?(0,t.jsx)(i.Button,{href:e.href,variant:"secondary",onClick:t=>{t.preventDefault();let r=document.createElement("a");r.href=e.href,r.download="",r.rel="noopener",document.body.appendChild(r),r.click(),r.remove()},children:e.label},e.label):(0,t.jsx)(i.Button,{href:e.href,variant:"secondary",children:e.label},e.label))})}])},721295,e=>{"use strict";var t=e.i(843476),r=e.i(905242);e.s(["ContentBodyFaq",0,({items:e})=>(0,t.jsx)("div",{className:"tp-cms-faq not-prose",children:(0,t.jsx)(r.ContentFaqAccordion,{items:e})})])},524584,e=>{"use strict";e.i(843476),e.i(657688),e.i(105463),e.i(571427),e.i(67386),e.i(721295),e.i(220753),e.i(905242),e.s([],524584)}]);
3
4//# debugId=f033f411-cd67-d040-71e1-5acf78c690f4

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.