PageSourceSearch

https://www.hachettelearning.com/sitefiles/next-gen/dist/4877-32111be759a1b8457acb.js

js hachettelearning.com collected 2026-10-09 21:33:46 UTC 13,826 bytes, 2 lines download raw bytes

1(this.webpackChunkhodder_education=this.webpackChunkhodder_education||[]).push([[4877,8193],{56453:(e,t,n)=>{"use strict";function i(e){let t=e;return"string"==typeof t&&(t=new Date(t)),t.toISOString()}n.d(t,{SY:()=>l,_3:()=>i,p6:()=>r});const o={day:"numeric",month:"numeric",year:"numeric"};function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=e;if("string"==typeof n)if(n=n.replace(/(\d+)(st|nd|rd|th)/,"$1"),n=n.replace(/\s[+-]\d{1,2}(?::\d{2})?$/,""),n.includes("/")){const[e,t,i]=n.split("/").map(Number);n=new Date(i,t-1,e)}else n=new Date(n);return new Intl.DateTimeFormat(void 0,t).format(n)}const a={numeric:"auto"},s=[{amount:60,name:"seconds"},{amount:60,name:"minutes"},{amount:24,name:"hours"},{amount:7,name:"days"},{amount:4.34524,name:"weeks"},{amount:12,name:"months"},{amount:Number.POSITIVE_INFINITY,name:"years"}];function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,i=e,o=t;"string"==typeof i&&(i=new Date(i)),"string"==typeof o&&(o=new Date(o));let r=(i.getTime()-o.getTime())/1e3;const l=new Intl.RelativeTimeFormat(void 0,n);for(let e=0;e<=s.length;e++){const t=s[e];if(Math.abs(r)<t.amount)return l.format(Math.round(r),t.name);r/=t.amount}return""}},66678:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});const i={productClicked:"Product Clicked",addedToBasket:"Product Added To Basket",addedToFavourites:"Product Added To Favourites",removedFromFavourites:"Product Removed From Favourites",articleClicked:"Article Clicked",downloadClicked:"Download Clicked",eventClicked:"Event Clicked"}},97425:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var i=n(47416);function o(e){return(0,i.iv)(["display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],e)}},89874:(e,t,n)=>{"use strict";function i(e){return new Promise((t=>setTimeout(t,e)))}n.d(t,{Do:()=>r,_v:()=>i,gw:()=>o});const o=e=>new Promise((t=>{setTimeout(t,e)}));function r(e){const t=`${e}=`,n=decodeURIComponent(document.cookie).split(";");for(let e=0;e<n.length;e++){const i=n[e].trim();if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null}},45876:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var i=n(7944),o=n(67294);const r=o.lazy((()=>Promise.all([n.e(1081),n.e(1409),n.e(3581)]).then(n.bind(n,53581))));function a(e,t,n){const a=e.displayName||e.name||"Component",s=a=>o.createElement(i.Z,{fallback:null},o.createElement(r,{indexName:null!=t?t:"global_dev",searchOnLoad:n},o.createElement(e,{...a})));return s.displayName=`withAlgolia(${a})`,s}},6844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var i=n(23196),o=n(77765),r=n(14555),a=n(54267),s=n(97425),l=n(96805),c=n(35588),u=n(57694),d=n(81229),h=n(47416);const p=h.ZP.a.withConfig({displayName:"ArticleCardstyles__ContainerLink",componentId:"sc-1lf22s2-0"})(["display:block;border-radius:25px;box-shadow:0px 0px 10px 0px ",";border:1px solid ",";color:currentColor;text-decoration:none;outline:none;border:none;overflow:clip;"," &:hover,&:focus{box-shadow:0px 0px 10px 0px ",";}[data-loading='true'] &{pointer-events:none;}"],(0,d.m4)(o.Z.global.black,.25),(0,d.m4)(o.Z.global.black,.25),(0,i.eR)("box-shadow"),(0,d.m4)(o.Z.global.black,.5)),f=h.ZP.article.withConfig({displayName:"ArticleCardstyles__Article",componentId:"sc-1lf22s2-1"})(["position:relative;z-index:1;display:flex;align-items:flex-end;width:100%;height:370px;"," @media ","{height:",";}"],(0,i.O3)("dark",370),(0,l.Dp)(l.AS.Tablet),(0,r.qx)(370,450,l.AS.TabletLarge)),g=h.ZP.div.withConfig({displayName:"ArticleCardstyles__ContentWrapper",componentId:"sc-1lf22s2-2"})(["position:relative;z-index:10;display:flex;flex-direction:column;width:100%;padding:20px;background-color:",";backdrop-filter:blur(25px) brightness(150%);border-radius:25px;[data-loading='true'] &{backdrop-filter:none;background-color:",";}"],(0,d.m4)(o.Z.global.white,.75),(0,d.m4)(o.Z.global.white,.5)),m=h.ZP.span.withConfig({displayName:"ArticleCardstyles__Tag",componentId:"sc-1lf22s2-3"})([""," position:absolute;z-index:1;top:0;left:0;",""],c.$y,(0,i.O3)("light",28,73)),v=(0,h.ZP)(u.Z).withConfig({displayName:"ArticleCardstyles__Img",componentId:"sc-1lf22s2-4"})(["display:block;position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:bottom right;[data-loading='true'] &{display:none;}"]),b=h.ZP.h3.withConfig({displayName:"ArticleCardstyles__Title",componentId:"sc-1lf22s2-5"})([""," margin-bottom:0;min-height:",";"," ",""],c.h5,(0,r.qx)(38,48),(0,s.S)(2),(0,i.O3)("dark",48)),y={Art
1icle:f,ContainerLink:p,ContentWrapper:g,Date:h.ZP.div.withConfig({displayName:"ArticleCardstyles__Date",componentId:"sc-1lf22s2-6"})(["",";font-size:",";line-height:1em;margin-bottom:20px;",""],a.Z.poppins.medium,(0,r.qx)(12,14),(0,i.O3)("dark",14)),Img:v,Tag:m,Title:b}},38631:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var i=n(89874),o=n(56453),r=n(66678),a=n(38534),s=n(45876),l=n(67294),c=n(41137),u=n.n(c),d=n(6844);const h=(0,s.a)((e=>{var t;const n=e.positionOnPage?[e.positionOnPage]:[1];return l.createElement(d.Z.ContainerLink,{href:e.url,"data-type":e.type,onClick:async function(){const t=(0,i.Do)("CurrentContactID");t&&t.length>0&&(e.queryID?u()("clickedObjectIDsAfterSearch",{eventName:r.M.articleClicked,index:window.AlgoliaGlobalIndex,objectIDs:[e.id],positions:n,queryID:e.queryID}):u()("clickedObjectIDs",{eventName:r.M.articleClicked,index:window.AlgoliaGlobalIndex,objectIDs:[e.id]}))}},l.createElement(d.Z.Article,null,l.createElement(d.Z.Tag,{"data-border":"top-left"},e.type.replace(/-/g," ")),l.createElement(d.Z.Img,{alt:null===(t=e.image)||void 0===t?void 0:t.altText,loading:"lazy",src:(0,a.sQ)(e.image,{width:450}),srcSet:(0,a.Yp)(e.image,450,370,5).join(",")}),l.createElement(d.Z.ContentWrapper,null,l.createElement(d.Z.Date,null,(0,o.p6)(e.date)),l.createElement(d.Z.Title,null,e.title))))}),window.AlgoliaGlobalIndex,!1)},57694:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(67294);const o=i.forwardRef(((e,t)=>{let{alt:n="",sizes:o="100vw",...r}=e;return i.createElement("img",{ref:t,...r,sizes:o,alt:n,role:n?void 0:"presentation"})}));o.displayName="Image";const r=o},31998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return void 0===e},i=function(e){return"string"==typeof e},o=function(e){return"function"==typeof e};var r=["insights-js (2.3.0)","insights-js-browser-cjs (2.3.0)"];function a(e){-1===this._ua.indexOf(e)&&this._ua.push(e)}var s=["de","us"];function l(e){var t;if(!e)throw new Error("Init function should be called with an object argument containing your apiKey and appId");if(n(e.apiKey)||!i(e.apiKey))throw new Error("apiKey is missing, please provide it so we can authenticate the application");if(n(e.appId)||!i(e.appId))throw new Error("appId is missing, please provide it, so we can properly attribute data to your application");if(!n(e.region)&&-1===s.indexOf(e.region))throw new Error("optional region is incorrect, please provide either one of: "+s.join(", ")+".");if(!(n(e.cookieDuration)||function(e){return"number"==typeof e}(e.cookieDuration)&&isFinite(e.cookieDuration)&&Math.floor(e.cookieDuration)===e.cookieDuration))throw new Error("optional cookieDuration is incorrect, expected an integer.");this._apiKey=e.apiKey,this._appId=e.appId,this._userHasOptedOut=!!e.userHasOptedOut,this._region=e.region,this._endpointOrigin=e.region?"https://insights."+e.region+".algolia.io":"https://insights.algolia.io",this._useCookie=null!==(t=e.useCookie)&&void 0!==t&&t,this._cookieDuration=e.cookieDuration?e.cookieDuration:15552e6,this._hasCredentials=!0,this._ua=[].concat(r),e.userToken?this.setUserToken(e.userToken):this._userToken||this._userHasOptedOut||!this._useCookie||this.setAnonymousUserToken()}function c(e){o(e)&&e(this.version)}function u(e,t){return t.map((function(t){return Object.assign({eventType:e},t)}))}function d(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("click",e))}function h(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("click",e))}function p(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("click",e))}function f(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("conversion",e))}function g(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("conversion",e))}function m(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("conversion",e))}function v(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("view",e))}function b(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return this.sendEvents(u("view",e))}var y,w,k,x,O=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))};function C(){if(function(){try{return Boolean(navigator.cookieEnabled)}catch(e){return!1}}()){var e=function(e){for(var t="_ALGOLIA=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""}();e&&""!==e&&0===e.indexOf("anonymous-")?this.setUserToken(e):(this.setUserToken("anonymous-"+O()),function(e,t,n){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString();document.cookie="_ALGOLIA="+t+";"+o+";path=/"}(0,this._userToken,this._cookieDuration))}}function _(e){this._userToken=e,o(this._onUserTokenChangeCallback)&&this._onUserTokenChangeCallback(this._userToken)}function T(e,t){return o(t)&&t(null,this._userToken),this._userToken}function I(e,t){this._onUserTokenChangeCallback=e,t&&t.immediate&&o(this._onUserTokenChangeCallback)&&this._onUserTokenChangeCallback(this._userToken)}Object.keys||(Object.keys=(y=Object.prototype.hasOwnProperty,w=!{toString:null}
1.propertyIsEnumerable("toString"),x=(k=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(e){if("function"!=typeof e&&("object"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");var t,n,i=[];for(t in e)y.call(e,t)&&i.push(t);if(w)for(n=0;n<x;n++)y.call(e,k[n])&&i.push(k[n]);return i})),"function"!=typeof Object.assign&&(Object.assign=function(e,t){var n=arguments;if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(e),o=1;o<arguments.length;o++){var r=n[o];if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a])}return i});var A=function(e){var t=e.requestFn;this._ua=[],this.version="2.3.0",this._hasCredentials=!1,this.sendEvents=function(e){return function(t){var i=this;if(!this._userHasOptedOut){if(!this._hasCredentials)throw new Error("Before calling any methods on the analytics, you first need to call the 'init' function with appId and apiKey parameters");var o=t.map((function(e){var t,o,r=e.filters,a=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(e,["filters"]),s=Object.assign(Object.assign({},a),{userToken:(o=null===(t=e)||void 0===t?void 0:t.userToken,null!=o?o:i._userToken)});return n(r)||(s.filters=r.map(encodeURIComponent)),s}));return function(e,t,n,i,o,r){return e(o+"/1/events?X-Algolia-Application-Id="+t+"&X-Algolia-API-Key="+n+"&X-Algolia-Agent="+encodeURIComponent(i.join("; ")),{events:r})}(e,this._appId,this._apiKey,this._ua,this._endpointOrigin,o)}}}(t).bind(this),this.init=l.bind(this),this.addAlgoliaAgent=a.bind(this),this.setUserToken=_.bind(this),this.setAnonymousUserToken=C.bind(this),this.getUserToken=T.bind(this),this.onUserTokenChange=I.bind(this),this.clickedObjectIDsAfterSearch=d.bind(this),this.clickedObjectIDs=h.bind(this),this.clickedFilters=p.bind(this),this.convertedObjectIDsAfterSearch=f.bind(this),this.convertedObjectIDs=g.bind(this),this.convertedFilters=m.bind(this),this.viewedObjectIDs=v.bind(this),this.viewedFilters=b.bind(this),this.getVersion=c.bind(this)};function j(e){return function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];t&&o(e[t])?e[t].apply(e,n):console.warn("The method `"+t+"` doesn't exist.")}}var D=function(e,t){var n=JSON.stringify(t);if(!navigator.sendBeacon(e,n))return E(e,t)},E=function(e,t){var n=JSON.stringify(t),i=new XMLHttpRequest;i.open("POST",e),i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Content-Length",""+n.length),i.send(n)};function P(){if(function(){try{return Boolean(navigator.sendBeacon)}catch(e){return!1}}())return D;if(function(){try{return Boolean(XMLHttpRequest)}catch(e){return!1}}())return E;throw new Error("Could not find a supported HTTP request client in this environment.")}var Z=function(e){var t=j(new A({requestFn:e}));if("object"==typeof window&&!window.AlgoliaAnalyticsObject){var n;do{n=O()}while(void 0!==window[n]);window.AlgoliaAnalyticsObject=n,window[window.AlgoliaAnalyticsObject]=t}return t}(P());t.AlgoliaAnalytics=A,t.default=Z,t.getFunctionalInterface=j,t.getRequesterForBrowser=P,t.processQueue=function(e){var t=e.AlgoliaAnalyticsObject;if(t){var n=j(this),i=e[t];i.queue=i.queue||[];var o=i.queue;o.forEach((function(e){var t=[].slice.call(e),i=t[0],o=t.slice(1);n.apply(void 0,[i].concat(o))})),o.push=function(e){var t=[].slice.call(e),i=t[0],o=t.slice(1);n.apply(void 0,[i].concat(o))}}}},41137:(e,t,n)=>{const i=n(31998);
1e.exports=i.default,Object.keys(i).forEach((t=>{"default"!==t&&(e.exports[t]=i[t])}))}}]);
2//# sourceMappingURL=4877-32111be759a1b8457acb.js.map

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.