1"use strict";!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c800066-5c48-46e1-8fac-205f577c6b07",e._sentryDebugIdIdentifier="sentry-dbid-9c800066-5c48-46e1-8fac-205f577c6b07")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[365],{365:(e,t,i)=>{i.d(t,{$U:()=>Z,Ak:()=>V,Fr:()=>Y,Gc:()=>b,Mc:()=>K,Mz:()=>I,RG:()=>U,Ss:()=>B,Ue:()=>J,X8:()=>w,Y3:()=>ei,mP:()=>S,nZ:()=>ee,rS:()=>_,s0:()=>q,vG:()=>Q,xH:()=>O});var n=i(46474);let r=/^(analysing|analyzing|comparing|exploring|investigating|revising|understanding)\s+/i,s=new Set(["UK","US","EU","DNA","RNA","ICT","PSHE","KS1","KS2","KS3","KS4","KS5","WW1","WW2","GCSE","EYFS","STEM","NASA","RE","PE","DT","MFL","IT","AI","HTML","CSS","URL","RSE","SEND","EAL"]),o=/^(reading\s+comprehension|comprehension\s+lesson|lesson\s+on|lesson\s+about|introduction\s+to)\s*:\s*/i,a=[/opening\s+(chapter|stanza|verse|section)/i,/closing\s+(chapter|stanza|verse|section)/i,/(chapter|stanza|verse|section|act|scene|stave)\s+([0-9]+|[ivxlcdm]+)/i,/the\s+scene\s+where/i,/the\s+section\s+about/i,/prologue/i,/epilogue/i];function l(e){let t=e.toUpperCase();return/^[IVXLCDM]+$/.test(t)}function c(e){return/^[A-Z](?:\.[A-Z]?)*\.?$/.test(e)}let u=new Set(["be","is","are","am","do","does","did","not","no","yes","how","why","what","when","where","can","will","you","we","me","my","our","your","all","fun","kind","safe","stay","keep","good","bad","big","new","old","play","need","needs","help","make","makes","look","find","know","show","work","works","read","write","think","learn","use","using","get","give","take","try","see","say","ask","tell","talk","share","check","build","plan","sort","match","spot","guess","test","tests","quiz","prep","revise","must","should","want","like","love","hate","go","come","fast","slow","quick","easy","hard","real","true","false","best","first","last","next","more","most","less","very","much","many","only","every","time","times","year","years","word","words","week","life","world","fact","facts","idea","ideas","skill","skills","rule","rules","game","games","exam","exams","mock","task","tasks","notes","part","pair","pairs","story","book","books","class","team","money","rich","poor","war","peace","hope","fear","anger","happy","sad","key","top","now","here","there"]),p=new Set(["AIDS","SMART","NATO","SATS"]);function g(e,t){if(t||e.length<2||e.length>5||e.length>=4&&!p.has(e.toUpperCase())&&/[AEIOUY]/i.test(e)&&!/[^AEIOUY]{3}/i.test(e))return!1;let i=e.toLowerCase();return!(u.has(i)||n.zH.has(i)||T.has(i)||z.has(i)||A.has(i))}function m(e){let t=e.split(/\s+/),i=0,n=[],r=e.replace(/[^A-Za-z]/g,""),o=t.length>=2&&r.length>=4&&r===r.toUpperCase();for(;i<t.length;){let e=t[i],r=e.replace(/[^A-Za-z]/g,""),a=r.toUpperCase();if(/\d/.test(e)){n.push(e),i++;continue}if(o&&"A"===r){n.push(e.toLowerCase()),i++;continue}if(s.has(e)||s.has(a)||l(r)||c(e)){n.push(e),i++;continue}if(r.length>=2&&r===a){let a=1,u=i+1;for(;u<t.length;){let e=t[u].replace(/[^A-Za-z]/g,"");if(e.length>=2&&e===e.toUpperCase())a++,u++;else break}if(1===a&&g(r,o)){n.push(e),i++;continue}if(a>=2&&t.slice(i,u).every(e=>{let t=e.replace(/[^A-Za-z]/g,"");return s.has(e)||s.has(t.toUpperCase())||g(t,o)})){n.push(...t.slice(i,u)),i=u;continue}for(let e=i;e<u;e++){let i=t[e],r=i.replace(/[^A-Za-z]/g,"");s.has(i)||/\d/.test(i)||l(r)||c(i)?n.push(i):n.push(i.toLowerCase())}i=u}else n.push(e),i++}return n.join(" ")}function h(e){return e.replace(/[?!.\s]+$/,"").trim()}let d=/\b(why|how|what|when|where|who|which|does|do|is|are|can|should)\b/i,f=/^(?:(?:how|why|what|when|where|who|which|whose)\s+(?:do|does|did|is|are|was|were|can|could|should|would|will|has|have|had|might|must|may)\b|(?:does|did|is|are|was|were|should|could|would|can|will|has|have|had|might|must)\s+\S)/i,y=/^(in|to|on|at|by|for|of|with|from)\b/i;function w(e){let t=e.trim(),i=/^(["â]|['â])([\s\S]+)(["â]|['â])$/u.exec(t);if(!i)return t;let n=/["â]/u.test(i[1]);if(n!==/["â]/u.test(i[3]))return t;let r=i[2];return/["ââ]/u.test(r)||!n&&/['ââ]/u.test(r)?t:r.trim()||t}function b(e){if(!e||"string"!=typeof e)return"the topic";let t=w(e);if(!t)return"the topic";t=m(t),!/\?\s*$/.test(t)&&f.test(t)&&(t="".concat(h(t),"?"));let i=function(e){if(!/\?\s*$/.test(e))return"";let t=h(e);if(f.test(t))return"".concat(t,"?");let i=t.match(d);if(!i||void 0===i.index)return"";
1let n=t.slice(0,i.index).trim(),r=n.split(/\s+/).filter(e=>e).length;return 1===r&&y.test(n)?"".concat(t,"?"):r>=1?n.replace(/[\s:;,]+$/,"")||n:"".concat(t,"?")}(t);return i||(t=h(t))||"the topic"}function v(e){return e.replace(r,"").trim()||e}function k(e){if(!e||"string"!=typeof e)return{workTitle:"the topic",chapterScope:null,framing:null};let t=e.trim();if(!t)return{workTitle:"the topic",chapterScope:null,framing:null};let i=t,n=null,r=t.match(o);r&&(n=r[0].replace(/:\s*$/,"").trim(),i=t.slice(r[0].length).trim());let s=null,l=i.split(/\s+[-â\u2014]\s+/);if(l.length>1){let e=l[l.length-1];a.some(t=>t.test(e))?(s=e,i=l.slice(0,-1).join(" - ").trim()):i=l[0].trim()}let c=e=>{let t=e.indexOf(": ");if(t>0){var i,n;let r=e.slice(t+2).trim(),s=r[0]===(null==(i=r[0])?void 0:i.toLowerCase())&&r[0]!==(null==(n=r[0])?void 0:n.toUpperCase()),o=r.split(/\s+/).length>4;if(s||o)return e.slice(0,t).trim()}return e};return i=c(i),s&&(s=c(s)),{workTitle:i,chapterScope:s,framing:n}}function S(e){if(!e||"string"!=typeof e||!e.trim())return"the topic";let{workTitle:t}=k(e);return v(t)}let $=/^(the|a|an)\s+/i,x=new Set(["writing","solving","calculating","designing","creating","making","building","constructing","drawing","reading","speaking","listening","adding","subtracting","multiplying","dividing","counting","measuring","mapping","modelling","planning","analysing","analyzing","comparing","exploring","investigating","revising","understanding","identifying","classifying","describing","evaluating","retelling"]),z=new Set(["the","a","an","and","or","of","in","on","to","for","with","from","at","by","vs","versus","into","onto","over","under","between","through","during","about","across","our","their","its","this","that"]),A=new Set(["water","cycle","rain","rainfall","evaporation","condensation","precipitation","reservoirs","reservoir","weather","seasons","season","climate","clouds","cloud","floods","flood","drought","droughts","rivers","river","mountains","mountain","volcanoes","volcano","earthquakes","earthquake","rocks","rock","soils","soil","fossils","fossil","coasts","coast","coastal","erosion","deserts","desert","oceans","ocean","seas","islands","island","rainforest","rainforests","regions","region","waterfalls","waterfall","formations","formation","landscapes","landscape","settlements","settlement","maps","map","mapping","compass","population","migration","tourism","trade","transport","farming","industry","pollution","recycling","sustainability","biodiversity","ecosystems","ecosystem","environment","habitats","habitat","plants","plant","animals","animal","insects","insect","birds","mammals","reptiles","amphibians","humans","human","body","skeleton","muscles","teeth","digestion","nutrition","food","chains","chain","webs","lifecycle","lifecycles","growth","reproduction","cells","cell","organs","senses","photosynthesis","respiration","adaptation","evolution","inheritance","variation","classification","microbes","bacteria","viruses","enzymes","enzyme","proteins","nutrients","organisms","organism","seeds","seed","things","thing","living","parts","part","leaves","roots","stems","flowers","light","sound","electricity","circuits","circuit","magnets","magnetism","magnetic","forces","force","friction","gravity","pressure","materials","material","solids","liquids","gases","states","matter","properties","changes","mixtures","solutions","dissolving","separating","particles","atoms","elements","compounds","energy","heat","temperature","space","planets","planet","stars","solar","system","orbit","shadows","renewable","fractions","decimals","percentages","ratio","proportion","algebra","geometry","shapes","shape","angles","symmetry","area","perimeter","volume","measurement","multiplication","division","addition","subtraction","counting","numbers","number","place","value","statistics","probability","equations","equation","linear","graphs","coordinates","poetry","poems","poem","stories","story","writing","reading","grammar","punctuation","spelling","vocabulary","sentences","paragraphs","persuasive","narrative","myths","legends","fables","biography","letters","diary","drama","painting","drawing","sculpture","music","rhythm","melody","exercise","health","wellbeing","friendship","community","democracy","government","economy","privacy","internet","technology","digital","online","computing","networks","networks","cybersecurity","causes","effects","consequences"]),C=new Set(["viking","beijing","nanjing","chongqing","kipling","golding","browning","rowling","irving","stirling","sterling","darling","ealing","epping","worthing","woking","harding","king","ming","ring","sing"]);function L(e,t){if(!/^[A-Z][a-z]+$/.test(e)||!/^[a-z]/.test(t))return!1;let i=e.toLowerCase();return!!(/^(how|why|where|when|which|what)$/.test(i)||/^[a-z]{3,}ing$/.test(i)&&!C.has(i))||A.has(i)}function E(e){if("I"===e||/\d/.test(e))return!0;let t=e.replace(/[^A-Za-z]/g,"");return!!(t.length>=2&&t===t.toUpperCase()||/^[A-Za-z]?[a-z]+[A-Z]/.test(e))}function Z(e){if("string"==typeof e&&G.test(e.trim()))return e.trim();let t=X(e);if((null==t?void 0:t.kind)==="phrase")return t.text;if((null==t?void 0:t.kind)==="question")return"'".concat(t.text,"'");let i=b(e);if("the topic"===i)return"the topic";if(/\?$/.test(i))return"'".concat(i,"'");let n=k(i),r=(n.workTitle||"").trim();if(!r||"the topic"===r)return"the topic";let s=(r=v(r).trim()).indexOf(": ");if(s>0&&(r=r.slice(0,s).trim()),!r)return"the topic";let o=r.split(/\s+/),a=e=>e.replace(/[^A-Za-z']/g,"").toLowerCase(),l=o.map((e,t)=>E(e)?e:z.has(a(e))||0===t&&x.has(a(e))?e.toLowerCase():e),c=l.map((e,t)=>({w:e,i:t})).filter(e=>{let{w:t}=e;return/^[A-Z][a-z]/.test(t)&&!E(t)}).map(e=>{let{i:t}=e;return t});if(c.length>0&&c.every(e=>A.has(a(l[e]))||0===e&&e+1<l.length&&L(l[0],l[1].toLowerCase())))for(let e of c)l[e]=l[e].toLowerCase();else 1===c.length&&0===c[0]&&l.length>1&&L(l[0],l[1])&&(l[0]=l[0].toLowerCase());let u=l.join(" ");return n.chapterScope&&(u="".concat(u,", ").concat(n.chapterScope)),u}function q(e){let t=b(e);
1if("the topic"===t)return"The topic";let i=t.split(/\s+/);return 0===i.length?"The topic":(E(i[0]),t.charAt(0).toUpperCase()+t.slice(1))}let j=/^(how|why|what|when|where|who|which|should|could|would)\b/i,T=new Set(["keep","explain","describe","compare","identify","discuss","explore","investigate","analyse","analyze","create","write","read","make","show","find","learn","discover","consider","evaluate","define","calculate","solve","draw","add","classify","retell","list","name","state","give","tell","remember","understand","protect","choose","select","avoid","update","predict","observe","summarise","summarize","subtract","multiply","divide","count","measure","revise","construct","speak","listen","secure","manage"]);function U(e){var t;let i=(null!=e?e:"").replace(/\s+/g," ").trim();if(!i||"the topic"===i||i.includes(":")||i.includes("?")||j.test(i))return!1;let n=i.split(/\s+/),r=n[0].replace(/[^A-Za-z']/g,"");if(!r)return!1;if(/ing$/i.test(r))return!0;let s=null==(t=n[1])?void 0:t.replace(/[^A-Za-z']/g,"").toLowerCase();return!T.has(r.toLowerCase())||"of"===s}function R(e){let t=e.split(/\s+/),i=e=>e.replace(/[^A-Za-z']/g,"").toLowerCase();if(!U(e))return t.map(e=>E(e)?e:e.toLowerCase()).join(" ");let n=t.map((e,t)=>({word:e,index:t,bareWord:i(e)})).filter(e=>{let{bareWord:t}=e;return!z.has(t)}).map(e=>{let{index:t}=e;return t}),r=n.length>0&&n.every(e=>A.has(i(t[e])));return t.map((e,t)=>E(e)?e:z.has(i(e))||r&&n.includes(t)?e.toLowerCase():e).join(" ")}function I(e){let t="string"==typeof e.lessonTitle?e.lessonTitle.trim():"",i="string"==typeof e.topic?e.topic.trim():"",n=t.toLowerCase()!==i.toLowerCase();if(t&&n&&U(t))return R(v(t).trim()||t);let r=i?Z(i).replace(/^[A-Z][a-z]*ing\b/,e=>e.toLowerCase()):"";if(r&&"the topic"!==r&&U(r))return r;let s=t?Z(t):"";if(!r)return s?R(s):"the topic";let o=!!r&&"the topic"!==r,a=!!s&&"the topic"!==s;return o&&a?r.length!==s.length?r.length<s.length?r:s:r:o?r:a?s:r||s||"the topic"}let W="(?:year|yr|grade|ks|key\\s+stage|lesson|week|unit|session|part)\\s*\\d+[a-z]?|reception|nursery|eyfs",D=RegExp("^(?:".concat(W,"|[yp]\\d+)").concat(/\s*[:\-\u2013\u2014|]\s*/.source),"i"),M=RegExp("^(?:".concat(W,")\\s+"),"i");function _(e){let t=e.replace(/\s+/g," ").trim();for(let e=0;e<3;e+=1){let e=t.replace(D,"").replace(M,"").trim();if(!e||e===t)break;t=e}return t}let N=RegExp("^(?:(?:an?\\s+)?(?:introduction|journey|adventure|voyage|quest|expedition|trip|guide|tour)\\s+(?:to|into|through|around|of)|(?:delving|diving|digging|stepping|journeying|venturing|peering|looking)\\s+(?:into|through|at|inside)|(?:getting\\s+to\\s+know|learning\\s+about|finding\\s+out\\s+about|all\\s+about)|(?:unveiling|uncovering|unlocking|unravell?ing|unpacking|unearthing|discovering|exploring|investigating|understanding|examining|introducing|revealing|decoding|demystifying|mastering|analysing|analyzing|comparing|revising))\\s+","i"),H=/^(?:the\s+)?(?:(?:amazing|fascinating|wonderful|incredible|hidden|secret|magical|mysterious|marvellous|wondrous)\s+)?(?:secrets?|myster(?:y|ies)|wonders?|magic|marvels?|world|power|science|story|basics|fundamentals|essentials|ins\s+and\s+outs|beauty)\s+(?:of|behind)\s+/i;function K(e){let t="string"==typeof e?e.replace(/\s+/g," ").trim():"";if(!t)return"";t=_(t);let i=/\s*(?::|\s[-\u2013\u2014]\s)/.exec(t);if(i&&i.index>0){let e=t.slice(0,i.index).trim(),n=t.slice(i.index+i[0].length).trim();t=F(e)&&!$.test(e)&&n&&!y.test(n)?n:e}let n=t;return(t=(t=(t=t.replace(N,""))!==n?t.replace(H,""):t.replace(/^(?:the\s+)?(?:amazing|fascinating|wonderful|incredible|magical|marvellous|wondrous)\s+(?:world|secrets?|wonders?)\s+of\s+/i,"")).replace(/[\s.!?]+$/,"").trim())||n}function O(e,t){var i;let n=(null!=(i=t.topic)?i:"").trim();if(!e||!n)return e;if(!/[A-Za-z]/.test(n)||U(n))return function(e,t,i){if(!/[A-Za-z]/.test(t))return e;let n=t.split(/\s+/)[0],r=Z(t);if(r.toLowerCase()===t.toLowerCase()&&r.slice(1)!==t.slice(1)&&!e.includes("'".concat(t))){let i=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=r.charAt(0).toUpperCase()+r.slice(1);return e.replace(RegExp("(?<=[^.!?\\s]\\s+)\\b".concat(i,"\\b"),"gu"),r).replace(RegExp("\\b".concat(i,"\\b"),"gu"),n)}let s=t.charAt(0).toLowerCase()+t.slice(1),o=!E(n)&&t.charAt(0)!==s.charAt(0)&&r.charAt(0)===s.charAt(0),a=o?s:t,l=e;if(o&&!e.includes("'".concat(t))){let e=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");l=l.replace(RegExp("(?<=[^.!?\\s]\\s+)\\b".concat(e,"\\b"),"gu"),a)}let c="string"==typeof i.lessonTitle?i.lessonTitle.trim():"",u=e=>e.trim().replace(/[?!.â¦]+$/u,"").trim(),p=u(l)===u(c);if(c&&c!==a&&!U(c)&&l.includes(c)&&!p){let e=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),t=/^[A-Za-z0-9]/.test(c)?"\\b".concat(e):e;l=l.replace(RegExp(t,"g"),a)}return l}(e,n,t);let r=I(t);if(!r||!U(r))return e;let s=e;if(r!==n){let t=n.replace(/[?!.]+$/,"").trim();if(t&&!e.includes("'".concat(t))){let e=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s=s.replace(RegExp("\\b".concat(e,"\\b\\?(?=\\s+[a-z])"),"gu"),r).replace(RegExp("\\b".concat(e,"\\b"),"gu"),r).replace(/\?,/g,",")}}let o="string"==typeof t.lessonTitle?t.lessonTitle.trim():"",a=e=>e.trim().replace(/[?!.â¦]+$/u,"").trim(),l=a(s)===a(o);if(o&&o!==r&&!U(o)&&s.includes(o)&&!l){let e=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),t=/^[A-Za-z0-9]/.test(o)?"\\b".concat(e):e;s=s.replace(RegExp(t,"g"),r)}return s}function B(e){let t=(null!=e?e:"").replace(/\s+/g," ").trim();if(!t)return"";let i=m(t).replace(/[?!]+$/,"").trim();return i?i.charAt(0).toUpperCase()+i.slice(1):t}let G=/^(?:the question )?'.+\?'$/,P=/^(a|an|the|this|that|these|those|our|your|the
1ir|my|his|her|its|some|many)$/i;function Y(e,t){let i=e.replace(/[^A-Za-z0-9']/g,"");return!!P.test(i)||t!==t.toUpperCase()&&/^[A-Z]/.test(i)}function F(e){let t=e.split(/\s+/).map(e=>e.replace(/[^A-Za-z']/g,"").toLowerCase()).filter(Boolean);return t.length>0&&t.every(e=>A.has(e)||z.has(e))}function X(e){let t=b(e);if("the topic"===t)return null;if(/\?$/.test(t)){let e=function(e){let t=/^(?:what|who)\s+(?:is|are|was|were)\s+(.+?)\s*\?*\s*$/i.exec(e.trim());if(!t)return null;let i=t[1].trim().split(/\s+/).filter(Boolean);return 0===i.length||i.length>7||!Y(i[0],e)?null:i.map((e,t)=>0===t&&/^(the|a|an)$/i.test(e)?e.toLowerCase():e).join(" ")}(t);return e?{kind:"phrase",text:e}:{kind:"question",text:t}}let i=t.indexOf(": ");if(i>0){let e=t.slice(0,i).trim(),n=t.slice(i+2).trim();if(F(e)&&U(n)){let[e,...t]=n.split(/\s+/),i=e.replace(/[^A-Za-z']/g,"").toLowerCase();return{kind:"phrase",text:[!E(e)&&(A.has(i)||z.has(i))?e.toLowerCase():e,...t].join(" ")}}}return null}function V(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null==(t=i.learnerPhrase)?void 0:t.trim();if(n)return{kind:"phrase",text:n};let r=X(e);return r||{kind:"phrase",text:Z(e)}}function J(e){return/\?['"\u2019\u201d]$/u.test(e)?e:"".concat(e,"?")}function Q(e){return e.replace(/(\?['"ââ])(?:\?|\.(?!\.))/g,"$1")}function ee(e){if(!ei(e))return e;let t=w(e),i=/\?$/.test(t)?t:"".concat(t.replace(/[.!]+$/,""),"?"),n=X(i);if((null==n?void 0:n.kind)==="question")return"'".concat(n.text,"'");if(n)return n.text;let r=b(i);return/\?$/.test(r)?"'".concat(r,"'"):r}let et=/^(?:(?:how|why|what|when|where|who|whose)\s+(?:do|does|did|is|are|was|were|can|could|should|would|will|has|have|had|might|must|may)\b|which\s+\S)/i;function ei(e){let t=w(e);return/\?$/.test(t)||et.test(t)}RegExp("(?:\\babout|(?<!\\bback )\\bon|\\bexplain|\\bunderstand|\\bknowledge of|\\bunderstanding of|\\bdiscussions of|:)\\s*$","i")},46474:(e,t,i)=>{i.d(t,{wH:()=>b,zH:()=>r});let n=new Set(["algorithm","iteration","boolean","debugging","decomposition","abstraction","binary","network","router","prototype","orthographic","isometric","tolerance","aesthetics","ergonomics","mechanism","linkage","cam","gear","specification","covenant","denomination","omniscient","omnipotent","pilgrimage","reincarnation","resurrection","scripture","secular","theist","atheist","buddhism","hinduism","judaism","sikhism","jainism","biomechanics","proprioception","cardiovascular","flexibility","agility","coordination","tactics","officiating","aerobic","anaerobic","conjugate","conjugation","subjunctive","infinitive","cognate","masculine","feminine","accent","phoneme","register","monologue","improvisation","tableau","proxemics","characterisation","stagecraft","ensemble","dramaturgy","blocking","photosynthesis","respiration","osmosis","diffusion","mitosis","meiosis","chlorophyll","chloroplast","organism","ecosystem","habitat","predator","prey","producer","consumer","decomposer","pollination","germination","fertilisation","fertilization","metamorphosis","enzyme","protein","chromosome","gene","cell","membrane","nucleus","bacteria","virus","vertebrate","invertebrate","amphibian","mammal","reptile","molecule","atom","element","compound","catalyst","reactant","solute","solvent","solution","precipitate","oxidation","reduction","electron","proton","neutron","isotope","ion","acid","alkali","combustion","evaporation","condensation","sublimation","distillation","sedimentation","velocity","acceleration","friction","gravity","momentum","voltage","current","resistance","circuit","magnetism","refraction","wavelength","frequency","amplitude","thermodynamics","asteroid","astronaut","comet","constellation","crater","galaxy","meteor","nebula","orbit","planet","rocket","satellite","telescope","erosion","weathering","deposition","glacier","tectonic","magma","sediment","latitude","longitude","meander","tributary","estuary","precipitation","biome","savanna","tundra","urbanisation","urbanization","fossil","ammonite","ichthyosaur","towpath","barge","narrowboat","wharf","aqueduct","militarism","imperialism","nationalism","colonialism","democracy","monarchy","dictatorship","feudalism","revolution","suffrage","propaganda","armistice","reformation","renaissance","industrialisation","industrialization","abolition","enfranchisement","capitalism","communism","socialism","fascism","alliteration","metaphor","simile","personification","onomatopoeia","hyperbole","synonym","antonym","homophone","preposition","conjunction","pronoun","subordinate","connective","cohesion","sibilance","assonance","soliloquy","protagonist","antagonist","foreshadowing","fraction","decimal","percentage","numerator","denominator","quotient","perimeter","circumference","perpendicular","parallelogram","quadrilateral","hypotenuse","coordinate","symmetry","congruent","probability","crescendo","tempo","pitch","timbre","syncopation","dynamics","perspective","composition","foreground","silhouette","surrealism","cubism","impressionism","expressionism","pointillism"]),r=new Set(["plant","seed","water","flower","animal","food","air","sun","tree","rock","soil","cloud","rain","wind","fire","ice","leaf","root","cold","hot","season","snow","spring","weather","winter","stem","skin","bone","muscle","blood","heart","hand","foot","eye","ear","nose","mouth","house","home","school","friend","family","day","night","time","year","place","thing","people","group","light","dark","colour","color","shape","size","number","word","storm","fog","mist","hail","puddle","umbrella","boot","coat","sea","mountain","plain","farm","farming","coast","coastline","hill","river","land","geography"]),s=new Set(["big","small","large","little","red","green","blue","yellow","orange","purple","pink","black","white","brown","grey","gray","wet","dry","warm","cool","cold","hot","bright","dark","light","pale","old","young","new","long","short","tall","low","high","hard","soft","fast","slow","round","flat"]),o=["synthesis","ology","phyte","troph","osis","itis"],a=new Set(["apology"]),l=[/^(?:prime|square|cube|composite) numbers?$/,/^(?:place|digit) values?$/,/^(?:ones?|tens?|hundreds?|thousands?) columns?$/,/^relative clauses?$/,/^fronted adverbials?$/,/^(?:control|blood|food) groups?$/,/^(?:treble|bass|alto|tenor) clefs?$/,/^time signatures?$/,/^musical notations?$/,/^(?:rain|river|coastal|soil) erosion$/,/^(?:magma|igneous|sedimentary|metamorphic) rocks?$/],c={computing:new Set(["abstraction","algorithm","binary","boolean","conditional","debugging","decomposition","device","input","iteration","network","output","router","statement"]),"design and technology":new Set(["aesthetics","cam","ergonomics","gear","
1isometric","linkage","mechanism","orthographic","prototype","specification","tolerance"]),"religious education":new Set(["atheist","buddhism","covenant","denomination","hinduism","jainism","judaism","omniscient","omnipotent","pilgrimage","reincarnation","resurrection","scripture","secular","sikhism","theist"]),"physical education":new Set(["aerobic","agility","anaerobic","biomechanics","cardiovascular","coordination","flexibility","officiating","proprioception","tactics"]),languages:new Set(["accent","cognate","conjugate","conjugation","feminine","infinitive","masculine","phoneme","register","subjunctive"]),drama:new Set(["blocking","characterisation","dramaturgy","ensemble","improvisation","monologue","proxemics","stagecraft","tableau"]),music:new Set(["crescendo","dynamics","pitch","syncopation","tempo","timbre"]),art:new Set(["composition","cubism","expressionism","foreground","impressionism","perspective","pointillism","silhouette","surrealism"]),geography:new Set(["aqueduct","barge","biome","canal","deposition","erosion","estuary","glacier","latitude","lock","longitude","magma","meander","narrowboat","navigation","precipitation","savanna","sediment","tectonic","towpath","tributary","tundra","urbanisation","urbanization","weathering","wharf"]),mathematics:new Set(["angle","capacity","coefficient","commutativity","divisibility","equation","equivalence","expression","factor","integer","mass","mean","median","mode","multiple","product","ratio","remainder","variable","volume"]),history:new Set(["aqueduct","barge","canal","centurion","citizen","emperor","empire","invasion","legion","lock","narrowboat","navigation","senate","towpath","wharf"]),english:new Set(["adjective","adverb","apostrophe","clause","determiner","noun","phrase","tense","verb"]),science:new Set(["cell","circuit","conductor","electrical","insulator","membrane","nucleus","parallel","series"])},u={computing:new Set(["binary search","linear search"]),economics:new Set(["aggregate demand","market equilibrium","opportunity cost","price elasticity"]),psychology:new Set(["attachment theory","classical conditioning","cognitive bias","working memory"]),science:new Set(["cell division"])},p={cell:new Set(["biology","computing","science"]),current:new Set(["physics","science"]),flexibility:new Set(["physical education","pe","sport"]),perspective:new Set(["art","design"]),pitch:new Set(["music","physics","science"]),solution:new Set(["mathematics","science"])};function g(e){let t=[e];return e.endsWith("ies")&&e.length>3&&t.push("".concat(e.slice(0,-3),"y")),e.endsWith("ves")&&e.length>3&&t.push("".concat(e.slice(0,-3),"f"),"".concat(e.slice(0,-3),"fe")),e.endsWith("es")&&e.length>2&&t.push(e.slice(0,-2)),e.endsWith("s")&&e.length>1&&t.push(e.slice(0,-1)),t}function m(e){return e.toLowerCase().match(/[a-z0-9]+/g)||[]}function h(e,t){let i=new Set(g(t));return g(e).some(e=>i.has(e))}function d(e){let t=(e||"").toLowerCase().trim();return/\bmath(?:s|ematics)?\b/.test(t)?"mathematics":/\benglish\b/.test(t)?"english":/^(?:computing|computer science|information technology|ict|it)$/.test(t)?"computing":/^(?:design (?:and|&) technolog(?:y|ies)|design technology|d&t|dt)$/.test(t)?"design and technology":/^(?:religious education|religious studies|re)$/.test(t)?"religious education":"pe"===t||"sport"===t||/\bphysical education\b/.test(t)||/\bphysical and health education\b/.test(t)||/\bsports?,? exercise and health science\b/.test(t)?"physical education":/^(?:modern foreign languages?|mfl|french|german|spanish|languages?)$/.test(t)?"languages":/^(?:drama|drama and theatre|theatre)$/.test(t)?"drama":/^(?:music|music technology)$/.test(t)?"music":/^(?:art|art (?:and|&) design|visual arts?|photography)$/.test(t)?"art":/^(?:geography|environmental science)$/.test(t)?"geography":/^(?:psychology|applied psychology)$/.test(t)?"psychology":/^economics(?:\s+(?:and|&)\s+business)?$/.test(t)?"economics":/\bhistory\b/.test(t)?"history":/^(?:biology|chemistry|physics|sciences?)$/.test(t)||/^combined science(?::|$)/.test(t)?"science":t||null}function f(e,t){let i=m(e);if(1!==i.length)return!0;let n=g(i[0]).find(e=>p[e]);if(!n)return!0;let r=d(t);return!!r&&[...p[n]].some(e=>r===e||function(e,t){let i=m(e);return 0!==i.length&&!!(null==t?void 0:t.length)&&t.some(e=>{let t=m(e);for(let e=0;e<=t.length-i.length;e+=1)if(i.every((i,n)=>h(i,t[e+n])))return!0;return!1})}(e,[r]))}function y(e){return g(e).some(e=>n.has(e))}
1function w(e){let t=e.split(/[\s-]+/).filter(Boolean);return t.length>0&&t.every(e=>s.has(e)||g(e).some(e=>r.has(e)))}function b(e,t,i){let n=(e||"").toLowerCase().trim();if(!n)return t;let s=m(n).length,p=function(e,t){let i=d(t);if(!i)return 0;let n=m(e),r=u[i];if(r&&[...r].some(t=>(function(e,t){let i=m(e),n=m(t);return i.length>0&&i.length===n.length&&i.every((e,t)=>h(e,n[t]))})(e,t)))return n.length;let s=c[i];return s?n.filter(e=>g(e).some(e=>s.has(e))).length:0}(n,i);return function(e){let t=(e||"").toLowerCase().trim();if(!t)return!1;if(l.some(e=>e.test(t)))return!0;if(function(e){let t=e.split(/[\s-]+/).filter(Boolean);if(0===t.length||t.some(y))return!1;if(w(e))return!0;let i=t.at(-1);return t.length>1&&!!(i&&g(i).some(e=>r.has(e)))}(t))return!1;let i=t.split(/[\s-]+/).filter(Boolean);return!!(1===i.length&&y(i[0]))||1===i.length&&t.length>=6&&!a.has(t)&&o.some(e=>t.endsWith(e))}(n)&&f(n,i)||p>=Math.min(2,s)&&f(n,i)?3:3===t&&w(n)?2:t}}}]);
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.