4 lines
68 KiB
JavaScript
Executable File
4 lines
68 KiB
JavaScript
Executable File
!function(){"use strict";const e=(e,{wait:t="raf",immediate:a=!1}={})=>{const n="raf"===t;if(!n&&"number"!=typeof t)return;let c;return function(){let i=this,o=arguments;const r=()=>{c=null,a||e.apply(i,o)},s=a&&!c;c&&(n?window.cancelAnimationFrame(c):clearTimeout(c)),c=n?window.requestAnimationFrame(()=>e.apply(i,o)):setTimeout(r,t),s&&e.apply(i,o)}};var t={exports:{}};!function(e){function t(){this.listeners={}}t.prototype={on:function(e,t,a){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({fn:t,scope:a||null})},off:function(e,t){if(!this.listeners[e])return!1;t||(this.listeners[e]=[]);for(var a=this.listeners[e].length;a--;)this.listeners[e][a].fn===t&&this.listeners[e].splice(a,1);return this.listeners[e].length||(this.listeners[e]=null),!0},emit:function(e){for(var t=this.listeners[e]||[],a=[].slice.call(arguments,1),n=0;t[n];++n)t[n].fn.apply(t[n].scope,a)}},e.exports=t}(t);var a=t.exports,n={exports:{}};!function(e){var t=function(e){var t={},a={},n={},c={},i=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o=function(e){var t=e.split(".");return{ev:t[0],ns:t[1]||null}},r=function(e,t){for(var a=[],n=0;e[n];++n)t(e[n])||a.push(e[n]);return a},s=function(t,i,r){var s=o(t),l=s.ev,d=s.ns;n[l]||(c[l]=function(e){m.notify(l,e)},e.addEventListener(l,c[l],!1),n[l]=!0),a[l]||(a[l]=[]),a[l].push({fn:i,ns:d,scope:r||null})},l=function(e,t){var n=o(e),c=n.ev,i=n.ns;return!!a[c]&&(a[c]=i&&t?r(a[c],(function(e){return e.ns===i&&e.fn===t})):i?r(a[c],(function(e){return e.ns===i})):t?r(a[c],(function(e){return e.fn===t})):[],!a[c].length>0&&(a[c]=null),!0)},d=function(t,a,n){e.requestAnimationFrame((function(){a.call(n||null,{type:t})}))},m={on:function(t,a,n){for(var c=t.split(/\s+/),i=0;c[i];++i)"complete"===e.document.readyState&&c[i].match(/^load(\.|$)/)?d("load",a,n):s(c[i],a,n)},off:function(e,t){for(var a=e.split(/\s+/),n=0,c=0;a[c];++c)n+=l(a[c],t)?1:0;return n},reset:function(){var o;for(o in n)i(n,o)&&e.removeEventListener(o,c[o],!1);for(o in t)i(t,o)&&t[o]&&e.cancelAnimationFrame(t[o]);a={},t={},n={},c={}},notify:function(n,c){!t[n]&&a[n]&&(t[n]=e.requestAnimationFrame((function(){!function(e,t){for(var n=a[e]||[],c=0;n[c];++c)n[c].fn.call(n[c].scope,t)}(n,c),t[n]=!1})))}};return function(){return m}}(window);e.exports=t}(n);var c=n.exports;var i=()=>{var e,t,a=!1,n=!1,c=0;function i(e,t){return Array.prototype.slice.call(e.querySelectorAll(t))}function o(e){var t,a;this.html=e.querySelector("a")?(t=e.innerHTML,(a=document.createElement("div")).innerHTML=t,i(a,"a").forEach((function(e){var t=document.createElement("span");-1!==e.href.indexOf("#Fn")&&t.classList.add("u-visually-hidden"),t.innerHTML=e.innerHTML,e.parentNode.replaceChild(t,e)})),a.innerHTML):e.innerHTML,this.text=e.textContent.replace(/[^a-z0-9\s]/gi,""),this.id=e.id}function r(e,t){var a=e.querySelector(".c-article-supplementary__title a");a?(this.id=e.id,this.caption=a.innerHTML,this.link=a.href,this.images=[this.placeholderFor(a,t)]):(this.id=(e.querySelector(".c-article-section__figure-caption")||{id:null}).id,this.caption=(e.querySelector("figcaption > b")||{innerHTML:"Figure"}).innerHTML,this.link=(e.querySelector(".c-article__pill-button")||{href:null}).href,this.images=this.findImages(e,t))}function s(e){var t=e.querySelector(".c-article-references__text");this.id=t.id,this.num=e.parentElement.querySelector(".c-article-references__item").dataset.counter||"",this.citation=t.innerHTML,this.links=this.findLinks(e)}function l(e){this.href=e.href,this.text=e.textContent,this.label=e.getAttribute("data-track-label")||"link",this.action=this.text.trim().toLowerCase()}function d(e){return document.getElementById("rc-sec-"+e)}function m(e,t){var a="c-reading-companion--highlighted";t&&(u(e),t.setAttribute("tabindex","-1"),t.focus(),t.classList.add(a),t.addEventListener("animationend",(function e(){t.classList.remove(a),t.removeEventListener("animationend",e)})),t.scrollIntoView({block:"start"}))}function u(t,a){var n,c,o,r=e.querySelector(".c-reading-companion__"+t),s=e.querySelector(".c-reading-companion__panel--active");r&&s&&(n=r.querySelector("img[data-src]"),c=e.querySelector("button[aria-controls="+r.id+"]"),n&&i(r,"picture").forEach((function(e){var t=e.querySelector("source"),a=e.querySelector("img");t.srcset=t.getAttribute("data-srcset"),t.removeAttribute("data-srcset"),a.src=a.getAttribute("data-src"),a.removeAttribute("data-src")})),s&&((o=e.querySelector("button[aria-controls="+s.id+"]")).setAttribute("aria-selected","false"),o.setAttribute("tabindex","-1"),o.classList.remove("c-reading-companion__tab--active"),s.classList.remove("c-reading-companion__panel--active"),s.removeAttribute("tabindex")),c.setAttribute("aria-selected","true"),c.removeAttribute("tabindex"),c.classList.add("c-reading-companion__tab--active"),r.classList.add("c-reading-companion__panel--active"),a&&a.focus&&c.focus(),window.requestAnimationFrame(x))}function h(){const a=e.querySelector(".c-reading-companion__panel--active"),i=a.querySelector(".c-reading-companion__scroll-pane"),o=a.querySelector("[data-component-mpu]"),r=o?function(e){const t=e.offsetHeight,a=window.getComputedStyle(e);return["top","bottom"].map(e=>parseInt(a["margin-"+e],10)).reduce((e,t)=>e+t,t)}(o):0,s=t?c+(t.offsetHeight+8):c,l=i.getBoundingClientRect().top+c+r,d=i.offsetTop+s+r,m=window.innerHeight<=560;return!1===n&&l>=420&&o?"auto":window.innerHeight>l&&window.innerHeight-l>=300||n||m?l:d}function p(){const t=e.querySelector(".c-reading-companion__panel--active").querySelector(".c-reading-companion__scroll-pane"),a=h();t.style.maxHeight="auto"!==a?window.innerHeight-a+"px":"none"}function x(){var a=document.querySelector("div[data-component=article-container]"),i=t?c+(t.offsetHeight+8):c,o=e.parentNode.getBoundingClientRect().top<=i,r=e.offsetHeight,s=a.getBoundingClientRect().bottom-document.documentElement.clientTop-(r+i),l="c-reading-companion__sticky--stuck",d=e.classList;n=d.contains(l);const m=e.getBoundingClientRect().width>0;!n&&o&&m?(d.add(l),n=!0):n&&!o&&m&&(d.remove(l),n=!1),n&&m&&(e.style.width=e.parentNode.getBoundingClientRect().width+"px"),s<=0?e.style.top=s+i+"px":(e.style.top=i+"px",p())}function g(a,n){if(!e.querySelector(".c-reading-companion__sections-list"))return;const o=e.querySelector(".c-reading-companion__sections-list").parentNode;n.on("nav.section",(function(e,t){var a,n,c,i,r,s,l,m,u=t&&d(t),h=e&&d(e);u&&u.classList.remove("c-reading-companion__section-item--active"),h&&(h.classList.add("c-reading-companion__section-item--active"),a=h,c=(n=o).clientHeight,i=n.scrollTop+n.offsetTop,r=i+c,s=c/4,l=a.offsetTop,m=l+a.clientHeight,l<i?n.scrollTop-=i-l+s:m>r&&(n.scrollTop+=m-r+s))})),n.on("nav.figure",(function(e){m("figures",function(e){return document.getElementById("rc-"+e)}(e))})),n.on("nav.reference",(function(e,t){var a=function(e){return document.getElementById("rc-"+e)}(e);t&&function(e,t){var a=e.querySelector(".c-reading-companion__return");a&&a.parentNode.removeChild(a),(a=document.createElement("a")).href="#"+t.id,a.appendChild(document.createTextNode("Return to ref "+t.textContent+" in article")),a.className="c-reading-companion__return",a.addEventListener("click",(function(){a.parentNode.removeChild(a)})),e.appendChild(a)}(a,t),m("references",a)})),a.on("scroll resize orientationchange",x);const r=t?c+(t.offsetHeight+8):c;window.pageYOffset>r&&window.requestAnimationFrame(x);const s=e.querySelector(".c-reading-companion__tabs");s&&(s.addEventListener("keydown",(function(t){var a,n=document.activeElement.parentNode;37===t.keyCode?a=n.previousElementSibling||e.querySelector(".c-reading-companion__tabs > li:last-child"):39===t.keyCode&&(a=n.nextElementSibling||e.querySelector(".c-reading-companion__tabs > li:first-child")),a&&u(a.querySelector("[data-tab-target]").getAttribute("data-tab-target"),{focus:!0})}),!1),i(s,".c-reading-companion__tab").forEach((function(e){e.addEventListener("click",(function(e){u(e.target.getAttribute("data-tab-target"),{focus:!0})}),!1)})))}function b(e,t){e.insertAdjacentHTML("beforebegin",t)}function f(){var t=["sections","figures","references"].map((function(e){var t,a,n=document.querySelector(".c-reading-companion__"+e),c=function(e,t){var a={sections:function(e){var t=[];return e.forEach((function(e){t.push(new o(e))})),t.length>0?'<ul class="c-reading-companion__sections-list">'+t.map((function(e){return e.render()})).join("")+"</ul>":""},figures:function(e){var t=[];return e.forEach((function(e,a){var n=new r(e,a+1);n.id&&t.push(n)})),t.length?'<ul class="c-reading-companion__figures-list">'+t.map((function(e){return e.render()})).join("")+"</ul>":""},references:function(e){var t=[];return e.forEach((function(e){t.push(new s(e))})),t.length?'<ol class="c-reading-companion__references-list'+(t[0].num?" c-reading-companion__references-list--numeric":"")+'">'+t.map((function(e){return e.render()})).join("")+"</ol>":""}};return a[e]?a[e](t):""}(e,i(document,".js-c-reading-companion-"+e+"-item")),l=(t=e,a=e.charAt(0).toUpperCase()+e.substring(1),'<li role="presentation"><button data-tab-target="'+t+'" role="tab" id="tab-'+t+'" aria-controls="tabpanel-'+t+'" aria-selected="false" tabindex="-1" class="c-reading-companion__tab" data-track="click" data-track-action="'+t+' tab" data-track-label="tab">'+a+"</button></li>");return c&&n?(n.setAttribute("aria-labelledby","tab-"+e),n.setAttribute("role","tabpanel"),function(e,t){e.insertAdjacentHTML("afterbegin",t)}(n,'<div class="c-reading-companion__scroll-pane">'+c+"</div>")):n&&n.parentNode.removeChild(n),!(!c||!n)&&l})).filter((function(e){return Boolean(e)})),a=e.querySelector(".c-reading-companion__panel"),n=t.length;return n>1?b(a,function(e){return'<ul class="c-reading-companion__tabs" role="tablist">'+e.join("")+"</ul>"}(t)):1===n&&b(a,'<h3 class="c-reading-companion__heading u-font-family-sans">Sections</h3>'),n}return o.prototype.render=function(){return'<li id="rc-sec-'+this.id+'" class="c-reading-companion__section-item"><a href="#'+this.id+'" data-track="click" data-track-action="section anchor" data-track-label="link:'+this.text.replace(/(^\d+)/g,"")+'">'+this.html+"</a></li>"},r.prototype={findImages:function(e,t){var a=[],n=this;return i(e,"picture > img").forEach((function(e){a.push(n.placeholderFor(e,t))})),a},placeholderFor:function(e,t){var a=e.getAttribute("data-supp-info-image")||e.src,n=e.alt||"extended data figure "+t,c="rc-"+this.id,i=-1===a.indexOf("?")?"?":"&";return["<picture>",'<source data-srcset="'+a+i+'">','<img data-src="'+a+'" alt="'+n+'" aria-describedby="'+c+'"/>',"</picture>"].join("")},render:function(){return['<li class="c-reading-companion__figure-item">',"<figure>",'<figcaption><b class="c-reading-companion__figure-title u-h4" id="rc-'+this.id+'">'+this.caption+"</b></figcaption>",this.images.join(""),this.link||this.id?'<p class="c-reading-companion__figure-links">':"",this.id&&a?'<a href="#'+this.id+'" data-track="click" data-track-action="figure anchor" data-track-label="link">View in article</a>':"",this.link&&a?'<a href="'+this.link+'" class="c-reading-companion__figure-full-link" data-track="click" data-track-action="view figure" data-track-label="link" rel="nofollow">Full size image<svg width="16" height="16" class="u-icon"><use href="#icon-chevron-right"/></svg></a>':"",this.link||this.id?"</p>":"","</figure>","</li>"].join("")}},s.prototype.findLinks=function(e){var t=[];return i(e,".c-article-references__links a").forEach((function(e){t.push(new l(e))})),t},s.prototype.render=function(){return['<li class="c-reading-companion__reference-item">','<p class="c-reading-companion__reference-citation u-font-family-serif" id="rc-'+this.id+'">'+this.citation+"</p>",this.links.length>0?'<p class="c-reading-companion__reference-links">'+this.links.map((function(e){return e.render()})).join("")+"</p>":"","</li>"].join("")},l.prototype.render=function(){return'<a href="'+this.href+'" data-track="click" data-track-action="'+this.action+' reference" data-track-label="'+this.label+'">'+this.text+"</a> "},{init:function(n,i,o){a=Boolean(n.access),c=n.offset||0;var r=!1,s=function(a){!function(a){if(!r&&!a.matches&&(e=document.querySelector("[data-component=reading-companion-sticky]"))){t=document.querySelector("[data-context-bar]");var n=f();0!==n&&(g(i,o),n>1&&u("sections"),p(),r=!0)}}(a),o.emit("rc.display",!a.matches&&r)},l=window.matchMedia(n.matchMediaQuery||"(max-width: 1023px)");l.addListener(s),s(l)}}};var o={exports:{}};o.exports=function(){function e(e){return e.querySelector(".js-expandable-title").id}function t(e,t){var a=e.querySelector("[data-expandable-box]"),n=e.querySelector("[data-expandable-label]");e.querySelectorAll("a[href]").forEach((function(e){e.setAttribute("tabIndex","0")})),t&&(a.setAttribute("tabIndex","-1"),a.focus()),a.parentNode.classList.add("c-article-box--expanded"),a.style.height="auto",a.removeAttribute("aria-hidden"),n.parentNode.setAttribute("aria-expanded","true"),n.textContent="Show less",e.isOpen=!0}function a(e,t){var a=e.querySelector("[data-expandable-box]"),n=e.querySelector("[data-expandable-label]");e.querySelectorAll("a[href]").forEach((function(e){e.setAttribute("tabIndex","-1")})),a.parentNode.classList.remove("c-article-box--expanded"),a.style.height="95px",a.setAttribute("aria-hidden","true"),n.parentNode.setAttribute("aria-expanded","false"),n.textContent="Show more",t&&a.scrollIntoView(),e.isOpen=!1}return{init:function(n){(n||[]).forEach((function(n){var c=['<div class="c-article-box__controls">','<div class="c-article-box__fade"></div>','<button aria-expanded="false" aria-describedby="'+e(n)+'"><span class="c-article-box__button-text" data-expandable-label></span></button>',"</div>"].join("");n.insertAdjacentHTML("beforeend",c),a(n),n.querySelector("button").addEventListener("click",(function(){!function(e){e.isOpen?a(e,!0):t(e,!0)}(n)}),!1)})),window.addEventListener("hashchange",(function(){var e=location.hash?document.querySelector(location.hash):null,a=e&&e.closest("[data-expandable-box]");a&&t(a.parentNode)}))}}};var r=o.exports,s={exports:{}};!function(e){var t=function(e,t){return function(){var a=null,n=[],c=null,i=0,o=null,r=!1,s=null;function l(){return s?i+(s.offsetHeight+8):i}function d(){e.addEventListener("scroll",(function t(){e.removeEventListener("scroll",t),setTimeout((function(){e.scrollBy(0,-1*l())}),1)}),!1)}function m(){var i=e.innerHeight,o=t.documentElement.clientTop,r=null,s=function(e){return e.getBoundingClientRect().top-o},d=l();n.forEach((function(e){if(s(e)<=d+i/2)if(r){var a=t.getElementById(r);s(a)<=d-a.offsetHeight&&(r=e.id)}else r=e.id})),r!==c&&(a.emit("nav.section",r,c),c=r)}function u(n){var c=null;if(n.target&&n.target.closest&&(c=n.target.closest("a")),c&&c.hash&&(!o||!c.closest(o))&&c.pathname===e.location.pathname){var i=function(e){var t=e.hash;if(!t||function(e){return Boolean(e.closest(".c-reading-companion"))}(e))return!1;return t.match(/#(Fig|f|sf)\d+/)}(c),s=!i&&function(e){var a=e.hash;if(!a)return!1;var n=t.querySelector('div[data-container-section="references"]');return n&&Boolean(n.querySelector(a))}(c),l=c.hash.slice(1),m=t.getElementById(l);if(r&&(i||s))return i?a.emit("nav.figure",l,c):s&&a.emit("nav.reference",l,c),void n.preventDefault();a.emit("nav.anchor",l,c),function(e){var t,a,n,c,i,o=function(t){return e.nodeName.toLowerCase()===t};e&&(t=e.hasAttribute("tabindex"),a=o("a")&&e.href,n=o("button"),c=o("input"),i=o("textarea"),(e.getAttribute("disabled")||!(t||a||n||c||i))&&e.setAttribute("tabindex","-1"),e.focus())}(m),d()}}return{init:function(c,l,h){s=t.querySelector("[data-context-bar]"),n=t.querySelectorAll(".js-section-title"),i=c.offset||0,o=c.exclude||"js-no-scroll",(a=h).on("rc.display",(function(e){r=e})),l.on("scroll resize orientationchange",m),t.body.addEventListener("click",u,!1),e.location.hash&&d()}}}}(window,document);e.exports=t}(s);var l=s.exports,d={exports:{}};!function(e){e.exports=function(){var e=null,t=null,a=!1,n=function(e){t=document.querySelector(".js-share-url"),c(e).then((function(e){e.url?(t.innerHTML=e.url,o("js-share-url-container"),s()):o("js-no-share-url-container")})).catch((function(){o("js-no-share-url-container")}))},c=function(e){return new Promise((function(t,a){var n=new XMLHttpRequest;n.addEventListener("load",(function(){n.readyState===n.DONE&&(200===n.status?t(JSON.parse(n.responseText)):a())})),n.open("GET",e),n.send()}))},i=function(e,t){var a=document.querySelector("."+e);a.classList.remove("u-display-none"),a.classList.add(t),a.removeAttribute("hidden")},o=function(t){e.classList.add("u-display-none"),e.setAttribute("hidden",""),i(t,"u-display-inline")},r=function(e){i(e,"u-display-block")},s=function(){document.querySelector(".js-copy-share-url").addEventListener("click",(function(){l(t),d(),document.execCommand("copy"),setTimeout(d,500)}))},l=function(e){var t=window.getSelection();e?t.selectAllChildren(e):t.removeAllRanges()},d=function(){a?(t.classList.remove("c-article-share-box__only-read-input--highlighted"),a=!1):(t.classList.add("c-article-share-box__only-read-input--highlighted"),a=!0)};return{init:function(t){var a,c=t&&t.doi?t.doi:"",i=(t&&t.url?t.url:"")+c;""!==i&&((a=document.querySelector('[data-component="share-box"]'))&&r("c-article-share-box"),Boolean(a))&&function(t){(e=document.querySelector(".js-get-share-url")).addEventListener("click",n.bind(this,t))}(i)}}}}(d);var m=d.exports,u={exports:{}};!function(e){e.exports=function(){return{init:function(){var e=document.querySelector(".c-book-show-more-less");function t(t,a,n){var c=document.createElement("span");c.textContent=" — ",c.setAttribute("aria-hidden","true");var i=document.createElement("button");i.setAttribute("aria-expanded",!1),i.setAttribute("id",n),i.appendChild(document.createTextNode(t)),i.className="u-link-like",a.insertAdjacentElement("beforeend",c),a.insertAdjacentElement("beforeend",i),i.addEventListener("click",(function(){!function(t){var a=document.querySelector("[id^="+t+"]"),n="true"===a.getAttribute("aria-expanded")||!1;a.getAttribute("data-text-expanded")?(a.textContent="show all",e.classList.add("c-book-show-more-less--collapsed"),a.removeAttribute("data-text-expanded","true"),"show-button-other-volumes"==a.id&&a.scrollIntoView({block:"center"})):(a.textContent="show less",e.classList.remove("c-book-show-more-less--collapsed"),a.setAttribute("data-text-expanded","true"));a.setAttribute("aria-expanded",!n),a.focus()}(n)}))}!function(){var e=document.querySelector('[data-component="data-unique-selling-points"]');document.querySelectorAll('[data-component="data-unique-selling-points"] li').length>4&&t("show all",e,"show-button-usp");var a=document.querySelector('[data-component="data-other-volumes"]');document.querySelectorAll('[data-component="data-other-volumes"] li').length>4&&t("show all",a,"show-button-other-volumes")}()}}}}(u);var h=u.exports,p={exports:{}};!function(e){const t=function(e){e.querySelectorAll(".u-js-hide").length&&e.insertAdjacentElement("afterend",function(e){const t=e.getAttribute("data-list-type")||"authors",a=document.createElement("button");return a.addEventListener("click",(function(){const n="false"===a.getAttribute("aria-expanded"),c=a.querySelector("use"),i=a.querySelector("span");a.setAttribute("aria-expanded",n?"true":"false"),c&&c.setAttribute("href",n?"#icon-minus":"#icon-plus"),i&&(i.textContent=n?"Show fewer "+t:"Show "+t),e.classList.toggle("c-book-author-list--expanded")}),!1),a.setAttribute("aria-expanded","false"),a.className="c-button-author-list",a.innerHTML='<svg aria-hidden="true" width="16" height="16" focusable="false" class="u-icon"><use href="#icon-plus"></use></svg><span>Show '+t+"</span>",a}(e))},a=function(e){for(let a=0;e[a];++a)t(e[a])};e.exports=function(){return{init:a}}}(p);var x=p.exports,g={exports:{}};!function(e){e.exports=function(){var e=document.querySelector('[data-component="cover-lightbox"]');return{init:function(){!function(){var t,a,n,c,i=document.querySelector('[data-component="cover-zoom"]');function o(){e.classList.contains("js-cover-image-lightbox--show")?e.classList.remove("js-cover-image-lightbox--show"):e.classList.add("js-cover-image-lightbox--show")}document.querySelector('[data-component="expand-icon"]').classList.remove("u-hide"),(t=document.createElement("img")).classList.add("c-cover-image-lightbox__image"),t.alt="Book cover",t.height="1200",t.width="800",e.insertAdjacentHTML("afterbegin","<button type='button' aria-label='Close expanded book cover' data-component='close-cover-lightbox' class='js-cover-image-lightbox--close'><span aria-hidden='true'>×</span></button>"),a=i.dataset.imgSrc,n=function(a){if(a){var n=document.createElement("picture"),c=document.createElement("source");t.src=i.dataset.imgSrc,c.type="image/webp",c.srcset=i.dataset.imgSrc+"?as=webp",n.appendChild(c),n.appendChild(t),e.appendChild(n)}else{var o=document.createElement("div"),r=i.dataset.imgSrc;r=(r=r.replace("cover-hires","cover")).concat(".jpg"),t.src=r,o.classList.add("c-cover-image-container"),o.insertAdjacentHTML("beforeend","<p class='c-cover-image-default'>No cover available.</p>"),o.appendChild(t),e.appendChild(o)}},(c=new Image).onload=function(){n(!0)},c.onerror=function(){n(!1)},c.src=a,i.addEventListener("click",(function(){event.preventDefault(),o()})),e.addEventListener("click",(function(){o()})),document.addEventListener("keydown",t=>{"Escape"===t.key&&e.classList.contains("js-cover-image-lightbox--show")&&o()})}()}}}}(g);var b=g.exports,f={exports:{}};!function(e){e.exports=function(){return{init:function(e,t,a){(e||[]).forEach((function(e){this.bindEvents(e,t,a)}),this)},bindEvents:function(e,t,a){var n=function(){var t,a;a="c-table-scroll-wrapper__fade",(t=e).scrollWidth-(t.scrollLeft+t.clientWidth)>0?(t.classList.add(a),t.classList.remove("c-table-scroll-wrapper__fade--transparent")):t.classList.add("c-table-scroll-wrapper__fade--transparent")};a.on("load resize",n),e.addEventListener("scroll",t(n,{wait:100}),!1)}}}}(f);var y=f.exports;const v={STICKY_FROM_SELECTOR:".js-context-bar-sticky-point-mobile",STICKY_FROM_DESKTOP_SELECTOR:".js-context-bar-sticky-point-desktop",COMPONENT_SELECTOR:"[data-context-bar]",HIDE_CLASS:"u-hide"};class A{constructor(e,t={}){this._options=Object.assign({},v,t),this._component=document.querySelector(this._options.COMPONENT_SELECTOR),document.querySelector(".app-article-masthead")&&(this._options.STICKY_FROM_SELECTOR=this._options.STICKY_FROM_DESKTOP_SELECTOR=".c-article-header"),e&&this._component&&(this._scheduler=e,this._stickyFrom=document.querySelector(this._options.STICKY_FROM_SELECTOR),this._stickyFromDesktop=document.querySelector(this._options.STICKY_FROM_DESKTOP_SELECTOR),(this._stickyFrom||this._stickyFromDesktop)&&(this._button=this._component.querySelector(".c-pdf-download"),this._stickyPoint=0,this._init(),window.pageYOffset>0&&this._update()))}_init(){this._scheduler.on("scroll orientationchange resize",this._update.bind(this))}_handleButton(){this._button?(this._addGAButtonTracking(),this._button.querySelector("a").setAttribute("tabindex","-1")):this._component.classList.add("c-context-bar--no-button")}_preventDisplayingSmallViewport(){return window.innerWidth<211}_update(){const e=window.matchMedia("(min-width: 1023px)").matches?this._stickyFromDesktop:this._stickyFrom;e&&(this._stickyPoint=e.offsetTop-8-window.pageYOffset,this._stickyPoint<=0&&this._handleButton(),this._toggleBanner())}_addGAButtonTracking(){this._button.querySelector("a").setAttribute("data-track-label","button sticky");const e=this._button.querySelector("a").getAttribute("href").split("?")[0];this._button.querySelector("a").setAttribute("href",e+"?pdf=button%20sticky")}_toggleBanner(){const e=this._preventDisplayingSmallViewport();this._stickyPoint>0&&!e&&window.forceDisplayContextBar?(this._component.classList.remove(this._options.HIDE_CLASS),this._component.classList.add("c-context-bar--sticky"),this._component.setAttribute("aria-hidden",!1)):this._stickyPoint<=0&&!e?(this._component.classList.remove(this._options.HIDE_CLASS),this._component.classList.add("c-context-bar--sticky"),this._component.setAttribute("aria-hidden",!1),window.forceDisplayContextBar=!1,window.displayContextBar=!0):(this._component.classList.add(this._options.HIDE_CLASS),this._component.classList.remove("c-context-bar--sticky"),this._component.setAttribute("aria-hidden",!0),window.displayContextBar=!1)}}var C={exports:{}};!function(e){function t(e){return e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}e.exports=function(){window.addEventListener("load",(function(){const e=document.querySelectorAll(".c-pdf-preview__embed")||[];for(let a=0;e[a];++a)t(e[a].querySelector('[data-fallback-text="true"]'))&&e[a].classList.remove("c-pdf-preview__embed--height")}),!1)}}(C);var E=C.exports,_={exports:{}},S={exports:{}};!function(e){var t=t||{};t.MathJaxConfig={extensions:["mml2jax.js","[a11y]/accessibility-menu.js"],jax:["input/TeX","input/MathML","output/HTML-CSS"],displayAlign:"left",menuSettings:{collapsible:!1,autocollapse:!1,explorer:!1,zoom:"Click"},tex2jax:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],preview:"TeX",processEscapes:!0},mml2jax:{preview:["MathML"]},"fast-preview":{disabled:!0},"HTML-CSS":{EqnChunk:500,EqnChunkFactor:1,EqnChunkDelay:1e3,availableFonts:["STIX","TeX"],preferredFont:["STIX"],webFont:["TeX"],imageFont:["TeX"],styles:{".MathJax_Display":{margin:0},"#MathJax_Message":{margin:0}},linebreaks:{automatic:!0,width:"90% container"},scale:97},TeX:{TagSide:"right",Macros:{bgroup:"{\\unicode{x007B}}",egroup:"{\\unicode{x007D}}",enskip:"{\\enspace}",lefteqn:["\\rlap{#1}",1],parbox:["\\mbox{#2}",2],upvarepsilon:"{\\unicode{x03B5}}",ss:"{\\unicode{x1E9E}}",textperthousand:"{\\unicode{x2030}}",textquotedblright:"{\\unicode{x201D}}",textregistered:"{\\unicode{0x00AE}}",textvisiblespace:"{\\unicode{x2423}}",upvartheta:"{\\unicode{x03D1}}",Upvartheta:"{\\unicode{x03F4}}",Upgamma:"{\\unicode[Times]{x0393}}",upgamma:"{\\unicode[Times]{x03B3}}",Updelta:"{\\unicode[Times]{x0394}}",updelta:"{\\unicode[Times]{x03B4}}",Uptheta:"{\\unicode[Times]{x0398}}",uptheta:"{\\unicode[Times]{x03B8}}",Upkappa:"{\\unicode[Times]{x039A}}",upkappa:"{\\unicode[Times]{x03BA}}",Uplambda:"{\\unicode[Times]{x039B}}",uplambda:"{\\unicode[Times]{x03BB}}",Upsigma:"{\\unicode[Times]{x03A3}}",upsigma:"{\\unicode[Times]{x03C3}}",Upmu:"{\\unicode[Times]{x039C}}",upmu:"{\\unicode[Times]{x03BC}}",Upiota:"{\\unicode[Times]{x0399}}",upiota:"{\\unicode[Times]{x03B9}}",Upnu:"{\\unicode[Times]{x039D}}",upnu:"{\\unicode[Times]{x03BD}}",Upxi:"{\\unicode[Times]{x039E}}",upxi:"{\\unicode[Times]{x03BE}}",Upomicron:"{\\unicode[Times]{x039F}}",upomicron:"{\\unicode[Times]{x03BF}}",Uppi:"{\\unicode[Times]{x03A0}}",uppi:"{\\unicode[Times]{x03C0}}",Uprho:"{\\unicode[Times]{x03A1}}",uprho:"{\\unicode[Times]{x03C1}}",Uptau:"{\\unicode[Times]{x03A4}}",uptau:"{\\unicode[Times]{x03C4}}",Upupsilon:"{\\unicode[Times]{x03A5}}",upupsilon:"{\\unicode[Times]{x03C5}}",Upphi:"{\\unicode[Times]{x03A6}}",upphi:"{\\unicode[Times]{x03C6}}",Upchi:"{\\unicode[Times]{x03A7}}",upchi:"{\\unicode[Times]{x03C7}}",Uppsi:"{\\unicode[Times]{x03A8}}",uppsi:"{\\unicode[Times]{x03C8}}",Upomega:"{\\unicode[Times]{x03A9}}",upomega:"{\\unicode[Times]{x03C9}}",upalpha:"{\\unicode[Times]{x03B1}}",upbeta:"{\\unicode[Times]{x03B2}}",upepsilon:"{\\unicode[Times]{x03B5}}",upzeta:"{\\unicode[Times]{x03B6}}",upeta:"{\\unicode[Times]{x03B7}}",permille:"{\\unicode{x2030}}",hfill:"{\\enspace\\enspace}",copyright:"{\\unicode{x00A9}}",dag:"{\\unicode{x2020}}",ddag:"{\\unicode{x2021}}",ointop:"{\\unicode{0x222E}}",P:"{\\unicode{0x00B6}}",lhook:"{\\hookrightarrow}",rhook:"{\\hookleftarrow}",upvarkappa:"{\\unicode{x03F0}}",upvarpi:"{\\unicode{x03D5}}",upvarrho:"{\\unicode{x03F1}}",upvarsigma:"{\\unicode{x03C3}}",upvarphi:"{\\unicode{x03C6}}",varsigma:"{\\unicode{x03C2}}",sigma:"{\\unicode{x03C3}}",Sigma:"{\\unicode{x03A3}}",fint:"{\\unicode{x2A0D}}",varOmega:"{\\unicode{x03A9}}",varDelta:"{\\unicode{x0394}}",varLambda:"{\\unicode{x039B}}",varPhi:"{\\unicode{x03A6}}",varPi:"{\\unicode{x03A0}}",varPsi:"{\\unicode{x03A8}}",varSigma:"{\\unicode{x03A3}}",varTheta:"{\\unicode{x0398}}",varUpsilon:"{\\unicode{x03A5}}",varXi:"{\\unicode{x039E}}",varepsilon:"{\\unicode{x03B5}}",varkappa:"{\\unicode{x03F0}}",varpi:"{\\unicode{x03D6}}",varphi:"{\\unicode{x03C6}}",varrho:"{\\unicode{x03F1}}",vartheta:"{\\unicode{x03D1}}",mathcalligra:["\\mathscr{#1}",1],fancyscript:["{\\scr #1}",1],textsf:["\\sf{#1}",1],texttt:["\\tt{#1}",1],raisebox:["\\raise{#1}{\\text{#2}}",2],varvec:["\\pmb{#1}",1]}},MathMenu:{showFontMenu:!0}},e.exports={defaultConfig:t.MathJaxConfig}}(S);var w={exports:{}};function k(){const e="c-recommendations-list-arrow__inactive";let t=!1,a=null;const n=function(n,c,i){const o=document.querySelectorAll(i),r=document.querySelector(".c-context-bar__container"),s=document.querySelector(".c-recommendations__container"),l=document.querySelector(".c-recommendations-list"),d=l.querySelectorAll(".c-recommendations-list__item"),m=document.querySelector('[data-title="References"]'),u=d.length,h=document.querySelector("[data-component-status-msg]"),p=document.createElement("button"),x=document.createElement("button");let g=!1,b=!1,f=!1,y=0,v=0,A=0,C=[];function E(){return window.matchMedia("(max-width: 539px)").matches}function _(){if(E())f=!1,d.forEach((function(e){e.removeAttribute("aria-hidden"),e.querySelector(".c-card__link").removeAttribute("tabindex")}));else{f=!0,d.forEach((function(e){e.setAttribute("aria-hidden","true"),e.querySelector(".c-card__link").setAttribute("tabindex","-1")}));for(let e=0;e<3;e++)d[e].removeAttribute("aria-hidden"),d[e].querySelector(".c-card__link").removeAttribute("tabindex");const e=document.querySelectorAll(".c-recommendations-dots button");e.forEach((function(e){e.removeAttribute("aria-current")})),e[0].setAttribute("aria-current","true")}}function S(e){const t=document.querySelector("#dots-"+e);document.querySelectorAll(".c-recommendations-dots button").forEach((function(e){e.removeAttribute("aria-current"),e.setAttribute("aria-disabled","false")})),t.setAttribute("aria-current","true"),t.setAttribute("aria-disabled","true")}function w(e){let t;d.forEach((function(e){e.setAttribute("aria-hidden","true"),e.querySelector(".c-card__link").setAttribute("tabindex","-1")})),e+3>d.length?(t=d.length-1,e=t-2):t=e+2;for(let a=e;a<=t;a++)d[a].removeAttribute("aria-hidden"),d[a].querySelector(".c-card__link").removeAttribute("tabindex")}function k(e){let t="";const a=e+3<=d.length?e+3:d.length;for(let n=e;n<a;n++){t+=d[n].querySelector(".c-card__link").getAttribute("data-track-label")+","}return t=t.replace(/,*$/,""),t}function L(e,t){!function(e,t){window.dataLayer.push({event:"recommendations-interactions",recommendationsInteraction:"interaction-trigger",eventAction:e,eventLabel:t})}("scroll recommendations - "+t,k(v))}function D(t){p.setAttribute("aria-disabled","false"),x.setAttribute("aria-disabled","false");const a=document.getElementsByClassName(e);a.length>0&&a[0].classList.remove(e),0===t&&(p.setAttribute("aria-disabled","true"),document.getElementById("slide-arrow-previous").classList.add(e)),6===t&&(x.setAttribute("aria-disabled","true"),document.getElementById("slide-arrow-next").classList.add(e))}function T(e,t){const a=d[0].clientWidth;let n=3*a;if(t+3>d.length){n=a*(3-(t+3-d.length))}"left"===e?(l.scrollLeft-=n,A>0&&(v-=3,A--)):(l.scrollLeft+=n,A<y-1&&(v+=3,A++)),D(v),w(v),S(A)}function q(){o[0].classList.add("u-display-none"),h.classList.add("u-display-none"),r.style.removeProperty("display"),b=!1,window.displayContextBar||(n.classList.add("u-hide"),n.classList.remove("c-context-bar--sticky"),n.setAttribute("aria-hidden","true"),window.forceDisplayContextBar=!1),E()&&(document.querySelector("[data-component-grey-background]").style.setProperty("display","none"),o[0].classList.remove("c-recommendations-visibility"),r.classList.remove("c-context-bar-visibility")),t?m.querySelector("a,button").focus():a&&a.focus(),document.removeEventListener("keydown",B)}function B(e){"Escape"===e.key?q():"Tab"!==e.key||e.shiftKey?"Tab"===e.key&&e.shiftKey&&document.activeElement===C[0]&&(C[C.length-1].focus(),e.preventDefault()):document.activeElement===C[C.length-1]&&(C[0].focus(),e.preventDefault())}function M(){g=!0;const t=u%3==0?0:1;y=Math.floor(u/3)+t;let a=document.createElement("ul");a.setAttribute("class","c-recommendations-dots"),a.setAttribute("role","group"),a.setAttribute("aria-label","Choose slide to display");for(let e=0;e<y;e++){let t=document.createElement("li"),n=document.createElement("button");n.setAttribute("id","dots-"+e),n.setAttribute("aria-disabled","false"),0===e&&(n.setAttribute("aria-current","true"),n.setAttribute("aria-disabled","true"));let c=document.createElement("span");c.setAttribute("class","u-visually-hidden"),c.innerHTML="Go to slide "+(e+1),n.appendChild(c),t.appendChild(n),a.appendChild(t)}document.querySelector(".c-recommendations-list-container").appendChild(a),p.setAttribute("id","slide-arrow-previous"),p.setAttribute("class","c-recommendations-list-arrow c-recommendations-list-arrow__previous "+e),p.setAttribute("aria-disabled","true"),p.innerHTML='<svg class="u-icon" width="7" height="12" aria-hidden="true" focusable="false"><use xlink:href="#icon-chevron-right"></use></svg><span class="u-visually-hidden">Previous slide</span>',l.before(p),x.setAttribute("id","slide-arrow-next"),x.setAttribute("class","c-recommendations-list-arrow c-recommendations-list-arrow__next"),x.setAttribute("aria-disabled","false"),x.innerHTML='<svg class="u-icon" width="7" height="12" aria-hidden="true" focusable="false"><use xlink:href="#icon-chevron-right"></use></svg><span class="u-visually-hidden">Next slide</span>',l.parentNode.insertBefore(x,l.nextSibling);const n=document.querySelectorAll(".c-recommendations-dots button");p.addEventListener("click",(function(){"true"===p.getAttribute("aria-disabled")||(T("left",v),L(0,"previous button"))})),x.addEventListener("click",(function(){"true"===x.getAttribute("aria-disabled")||(T("right",v),L(0,"next button"))})),n.forEach((function(e){e.addEventListener("click",(function(t){if(!("true"===e.getAttribute("aria-disabled"))){const e=t.target.id;!function(e){const t=d[0].clientWidth;A=parseInt(e.substring(e.indexOf("-")+1)),v=3*parseInt(A);const a=t*v;l.scrollTo(a,0),D(v),w(v),S(A)}(e),L(0,e)}}))})),C=[].slice.call(s.querySelectorAll("a,button"),0)}return o[0].classList.add("u-display-none"),c.on("resize",(function(){b&&(E()?(_(),document.querySelector("[data-component-grey-background]").style.setProperty("display","block"),o[0].classList.add("c-recommendations-visibility"),r.classList.add("c-context-bar-visibility")):(f||_(),document.querySelector("[data-component-grey-background]").style.setProperty("display","none"),o[0].classList.remove("c-recommendations-visibility"),r.classList.remove("c-context-bar-visibility")))})),function(e){if(a=document.activeElement,!b){if(o[0].classList.remove("u-display-none"),n.setAttribute("aria-hidden",!1),u>3&&!g&&(M(),_()),function(){const e=document.querySelector(".c-recommendations-close");e.focus(),e.addEventListener("click",(function(){q()})),document.addEventListener("keydown",B)}(),"refs"===e)o[0].setAttribute("data-track-component","sticky banner - references trigger"),window.dataLayer.push({event:"display-recommendations",recommendationsTrigger:"refs-trigger",eventLabel:k(v)}),h.classList.add("u-display-none"),s.classList.add("c-recommendations-sticky");else{const t="body-chapter-download"===e?"chapter-pdf-trigger":"sticky-pdf-trigger",a="body-chapter-download"===e?"chapter-pdf-trigger":"sticky banner - PDF trigger";o[0].setAttribute("data-track-component",a),window.dataLayer.push({event:"display-recommendations",recommendationsTrigger:t,eventLabel:k(v)}),r.style.setProperty("display","none"),h.classList.remove("u-display-none")}E()&&(document.querySelector("[data-component-grey-background]").style.setProperty("display","block"),o[0].classList.add("c-recommendations-visibility"),r.classList.add("c-context-bar-visibility")),b=!0}b&&"sticky-download"===e&&(r.style.setProperty("display","none"),h.classList.remove("u-display-none"),s.classList.remove("c-recommendations-sticky"))}};return{init:function(e,a,c){const i=document.querySelector("[data-context-bar]"),o=document.querySelector('[data-title="References" i]');let r=null,s=null;const l=function(e){r?e():s=e};!function(e,t,a){const n=new XMLHttpRequest;n.onload=function(){const e=document.createElement("div");e.innerHTML=n.response;const c=e.querySelector("#recommendations"),i=c?c.querySelector(".c-recommendations__container"):null;if(i){const e=c.querySelector("script"),n=document.createElement("script");n.text=e.textContent,document.head.appendChild(n),e.parentNode.removeChild(e),i.classList.remove("u-display-none"),t.insertAdjacentElement("beforeend",c),(-1!==c.textContent.indexOf("$$")||c.querySelector("math"))&&_.exports.loadMathJaxForDeferredContent(c),a()}},n.open("GET","/platform/recommendations/"+e),n.send()}(e,i,(function(){r=n(i,c,a),s&&s()})),document.querySelectorAll(".c-context-bar .c-pdf-download__link").forEach((function(e){e.addEventListener("click",(function(){l((function(){r("sticky-download")}))}))})),document.querySelectorAll("article .c-pdf-download__link, .c-pdf-button__container .c-pdf-download__link, .c-article-extras .c-pdf-download__link").forEach((function(e){e.addEventListener("click",(function(){l((function(){i.classList.remove("u-hide"),i.classList.add("c-context-bar--sticky"),i.setAttribute("aria-hidden","false"),window.forceDisplayContextBar=!0;const t="js-body-chapter-download"===e.id?"body-chapter-download":"body-download";r(t)}))}))})),o&&setTimeout((function(){new IntersectionObserver((function(e){!0!==e[0].isIntersecting||t||l((function(){r("refs"),t=!0}))}),{threshold:[0]}).observe(o)}),2e4)}}}!function(e){var t=t||{};t.MathJaxPrefilterHook=function(e){e.math=e.math.replace(/\\(text|mbox|hbox)\s*{\s*\\AA\s*}/g,"\\unicode{x00C5}"),e.math=e.math.replace(/\\AA/g,"\\unicode{x00C5}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\aa\s*}/g,"\\unicode{x00E5}"),e.math=e.math.replace(/\\aa/g,"\\unicode{x00E5}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\AE\s*}/g,"\\unicode{x00C6}"),e.math=e.math.replace(/\\AE(?![a-zA-Z])/g,"\\unicode{x00C6}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\ae\s*}/g,"\\unicode{x00E6}"),e.math=e.math.replace(/\\ae(?![a-zA-Z])/g,"\\unicode{x00E6}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\OE\s*}/g,"\\unicode{x0152}"),e.math=e.math.replace(/\\OE(?![a-zA-Z])/g,"\\unicode{x0152}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\oe\s*}/g,"\\unicode{x00153}"),e.math=e.math.replace(/\\oe(?![a-zA-Z])/g,"\\unicode{x0153}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\NG\s*}/g,"\\unicode{x014A}"),e.math=e.math.replace(/\\NG/g,"\\unicode{x014A}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\ng\s*}/g,"\\unicode{x014B}"),e.math=e.math.replace(/\\ng/g,"\\unicode{x014B}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\L\s*}/g,"\\unicode{x0141}"),e.math=e.math.replace(/\\L(?![a-zA-Z])/g,"\\unicode{x0141}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\l\s*}/g,"\\unicode{x0142}"),e.math=e.math.replace(/\\l(?![a-zA-Z])/g,"\\unicode{x0142}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\O\s*}/g,"\\unicode{x00D8}"),e.math=e.math.replace(/\\O(?![a-zA-Z])/g,"\\unicode{x00D8}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\o\s*}/g,"\\unicode{x00F8}"),e.math=e.math.replace(/\\o(?![a-zA-Z])/g,"\\unicode{x00F8}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^A\s*}/g,"\\unicode{x00C2}"),e.math=e.math.replace(/\\\^A/g,"\\unicode{x00C2}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^a\s*}/g,"\\unicode{x00E2}"),e.math=e.math.replace(/\\\^a/g,"\\unicode{x00E2}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^U\s*}/g,"\\unicode{x00DB}"),e.math=e.math.replace(/\\\^U/g,"\\unicode{x00DB}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^u\s*}/g,"\\unicode{x00FB}"),e.math=e.math.replace(/\\\^u/g,"\\unicode{x00FB}"),e.math=e.math.replace(/\\text{\\textregistered}/g,"\\unicode{x00AE}"),e.math=e.math.replace(/\\text{\\textvisiblespace}/g,"\\unicode{x2423}"),e.math=e.math.replace(/\\lowercase\s*\{([A-Z])\}/g,(function(e,t){return[t.toLowerCase()]})),e.math=e.math.replace(/\\uppercase\s*\{([a-z])\}/g,(function(e,t){return[t.toUpperCase()]})),e.math=e.math.replace(/\\lowercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\uppercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\textendash/g,"{-}"),e.math=e.math.replace(/\\selectfont/g,""),e.math=e.math.replace(/\\textup/g,"\\text"),e.math=e.math.replace(/\\hdots/g,"\\ldots"),e.math=e.math.replace(/\\nicefrac/g,"\\bfrac"),e.math=e.math.replace(/\\noalign/g,""),e.math=e.math.replace(/\\medskip/g,""),e.math=e.math.replace(/\\!/g,""),e.math=e.math.replace(/\\thinmuskip/g,"mu"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{a\}/g,"\\unicode{x1D552}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{b\}/g,"\\unicode{x1D553}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{c\}/g,"\\unicode{x1D554}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{d\}/g,"\\unicode{x1D555}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{e\}/g,"\\unicode{x1D556}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{f\}/g,"\\unicode{x1D557}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{g\}/g,"\\unicode{x1D558}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{h\}/g,"\\unicode{x1D559}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{i\}/g,"\\unicode{x1D55A}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{j\}/g,"\\unicode{x1D55B}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{k\}/g,"\\unicode{x1D55C}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{l\}/g,"\\unicode{x1D55D}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{m\}/g,"\\unicode{x1D55E}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{n\}/g,"\\unicode{x1D55F}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{o\}/g,"\\unicode{x1D560}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{p\}/g,"\\unicode{x1D561}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{q\}/g,"\\unicode{x1D562}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{r\}/g,"\\unicode{x1D563}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{s\}/g,"\\unicode{x1D564}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{t\}/g,"\\unicode{x1D565}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{u\}/g,"\\unicode{x1D566}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{v\}/g,"\\unicode{x1D567}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{w\}/g,"\\unicode{x1D568}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{x\}/g,"\\unicode{x1D569}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{y\}/g,"\\unicode{x1D56A}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{z\}/g,"\\unicode{x1D56B}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{0\}/g,"\\unicode{x1D7D8}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{1\}/g,"\\unicode{x1D7D9}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{2\}/g,"\\unicode{x1D7DA}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{3\}/g,"\\unicode{x1D7DB}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{4\}/g,"\\unicode{x1D7DC}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{5\}/g,"\\unicode{x1D7DD}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{6\}/g,"\\unicode{x1D7DE}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{7\}/g,"\\unicode{x1D7DF}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{8\}/g,"\\unicode{x1D7E0}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{9\}/g,"\\unicode{x1D7E1}"),e.math=e.math.replace(/\\mathbbm(ss|tt)?\s*\{([A-Z]+)\}/g,"\\mathbb{$2}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{a\}/g,"\\unicode{x1D4B6}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{b\}/g,"\\unicode{x1D4B7}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{c\}/g,"\\unicode{x1D4B8}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{d\}/g,"\\unicode{x1D4B9}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{e\}/g,"\\unicode{x212F}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{f\}/g,"\\unicode{x1D4BB}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{g\}/g,"\\unicode{x210A}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{h\}/g,"\\unicode{x1D4BD}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{i\}/g,"\\unicode{x1D4BE}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{j\}/g,"\\unicode{x1D4BF}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{k\}/g,"\\unicode{x1D4C0}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{l\}/g,"\\unicode{x1D4C1}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{m\}/g,"\\unicode{x1D4C2}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{n\}/g,"\\unicode{x1D4C3}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{o\}/g,"\\unicode{x2134}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{p\}/g,"\\unicode{x1D4C5}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{q\}/g,"\\unicode{x1D4C6}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{r\}/g,"\\unicode{x1D4C7}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{s\}/g,"\\unicode{x1D4C8}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{t\}/g,"\\unicode{x1D4C9}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{u\}/g,"\\unicode{x1D4CA}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{v\}/g,"\\unicode{x1D4CB}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{w\}/g,"\\unicode{x1D4CC}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{x\}/g,"\\unicode{x1D4CD}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{y\}/g,"\\unicode{x1D4CE}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{z\}/g,"\\unicode{x1D4CF}"),e.math=e.math.replace(/\\coloneq/g,":="),e.math=e.math.replace(/\\kern *-\\nulldelimiterspace/g,""),e.math=e.math.replace(/\\user2/g,"\\pmb"),e.math=e.math.replace(/\\mapstochar/g,"\\mapsto"),e.math=e.math.replace(/\s*<!\[CDATA\[\s*(.*)\s*\]\]>\s*/gm,"$1"),e.math=e.math.replace(/\\parbox(\[\w\])?{(.*?)}{(.*?)\\\\ (.*?)}/g,"\\parbox{$2}{$3 $4}"),e.math=e.math.replace(/\\vspace\*?{[^}]+}/g,""),e.math=e.math.replace(/\\vspace\s*\*\{([^\{\}]+)\}/g,""),e.math=e.math.replace(/\\vspace\*?{[^}]+}/g,""),e.math=e.math.replace(/\\text{\\small{([^}]+)}}/g,"\\scriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\footnotesize{([^}]+)}}/g,"\\scriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\scriptsize{([^}]+)}}/g,"\\scriptscriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\tiny{([^}]+)}}/g,"\\scriptscriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text\{\\bf\{([^\{\}]+)\}\}/g,"\\textbf{$1}"),e.math=e.math.replace(/\\text\{\\mathbf\{([^\{\}]+)\}\}/g,"\\textbf{$1}"),e.math=e.math.replace(/\\textrm/g,"\\mathrm"),e.math=e.math.replace(/\\bf{/g,"\\mathbf{"),e.math=e.math.replace(/\\text\\EUR/g,"€"),e.math=e.math.replace(/\\mathop ([^{]+?)\\limits/g,"\\mathop{$1}\\limits"),e.math=e.math.replace(/\\user1/g,"\\mathcal"),e.math=e.math.replace(/\\(big|Big|bigg|Bigg) *{([^}]+)}/g,"\\$1$2"),e.math=e.math.replace(/\\textnormal{\\textsc{([^}]+)}}/g,"\\textsc {$1}"),e.math=e.math.replace(/\\textsc *{([^}]+)}/g,"{\\rm ~#~$1~#~}"),e.math=e.math.replace(/\\vline/g,"\\vert"),e.math=e.math.replace(/\\left\s*\\llbracket/g,"\\unicode{x27E6}"),e.math=e.math.replace(/\\right\s*\\rrbracket/g,"\\unicode{x27E7}"),e.math=e.math.replace(/\\llbracket/g,"\\unicode{x27E6}"),e.math=e.math.replace(/\\rrbracket/g,"\\unicode{x27E7}"),e.math=e.math.replace(/\\llfloor/g,"\\lfloor\\hspace{-2pt}\\lfloor"),e.math=e.math.replace(/\\rrfloor/g,"\\rfloor\\hspace{-2pt}\\rfloor"),e.math=e.math.replace(/\\llceil/g,"\\lceil\\hspace{-2pt}\\lceil"),e.math=e.math.replace(/\\rrceil/g,"\\rceil\\hspace{-2pt}\\rceil"),e.math=e.math.replace(/\\pounds/g,"£"),e.math=e.math.replace(/\\raisebox *{-[^}]+}{\$(.+?)\$}/g,"_{$1}"),e.math=e.math.replace(/\\raisebox *{[^}]+}{\$(.+?)\$}/g,"^{$1}"),e.math=e.math.replace(/\\CIRCLE/g,"{\\large\\unicode[.55,0.05]{x25CF}}"),e.math=e.math.replace(/\\LEFTcircle/g,"{\\large\\unicode[.55,0.05]{x25D1}}"),e.math=e.math.replace(/\\RIGHTcircle/g,"{\\large\\unicode[.55,0.05]{x25D0}}"),e.math=e.math.replace(/\\fontencoding{U}\Sfontfamily{wasy}\Sselectfont\Schar104/g,"‰"),e.math=e.math.replace(/\\Dot/g,"\\dot"),e.math=e.math.replace(/\\MakeLowercase\s*\{([A-Z])\}/g,(function(e,t){return[t.toLowerCase()]})),e.math=e.math.replace(/\\MakeUppercase\s*\{([a-z])\}/g,(function(e,t){return[t.toUpperCase()]})),e.math=e.math.replace(/\\MakeLowercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\MakeUppercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\textit\s*\{\\textbf\s*\{([^\{\}]+)\}\}/g,"\\boldsymbol{$1}"),e.math=e.math.replace(/\\textbf\s*\{\\textit\s*\{([^\{\}]+)\}\}/g,"\\boldsymbol{$1}"),e.math=e.math.replace(/\\textsf\s*\{\\textbf\s*\{([^\{\}]+)\}\}/g,"\\textsf{$1}"),e.math=e.math.replace(/\\textbf\s*\{\\textsf\s*\{([^\{\}]+)\}\}/g,"\\textsf{$1}"),e.math=e.math.replace(/\\texttt{\\small{([^}]+)}}/g,"\\small{\\texttt{$1}}"),e.math=e.math.replace(/\\texttt{\\footnotesize{([^}]+)}}/g,"\\scriptstyle{\\texttt{$1}}"),e.math=e.math.replace(/\\texttt{\\scriptstyle{([^}]+)}}/g,"\\scriptstyle{\\texttt{$1}}"),e.math=e.math.replace(/\\footnotesize/g,"\\scriptstyle "),e.math=e.math.replace(/\\text{\\TH}/g,"\\unicode{xDE}"),e.math=e.math.replace(/\\text{\\th}/g,"\\unicode{xFE}"),e.math=e.math.replace(/\\textit{\\TH}/g,"\\it{\\unicode{xDE}}"),e.math=e.math.replace(/\\textit{\\th}/g,"\\it{\\unicode{xFE}}"),e.math=e.math.replace(/\\texttt\{\\textit\{([^\{\}]+)\}\}/g,"\\texttt{$1}"),e.math=e.math.replace(/\\fbox\{\\hbox\{(.+)\}\}/g,"\\fbox{$1}"),e.math.match(/(\\text\s*\{.*?\}\\hspace\s*\{.*?\}\\text\s*\{.*?\})/)||(e.math=e.math.replace(/\\text\s*\{(.*?)\\hspace\s*\{(.*?)\}(.*?)\}/g,"\\text{$1}\\hspace{$2}\\text{$3}")),e.math=e.math.replace(/\\text\s*\{\\,(.*?)\}/g,"\\,\\text{$1}"),e.math.match(/(\\text\s*\{.*?\})/)?(e.math=e.math.replace(/\\"a|{\\"a}|\\"{a}/g,"}\\unicode{x00E4}\\text{"),e.math=e.math.replace(/\\"o|{\\"o}|\\"{o}/g,"}\\unicode{x00F6}\\text{"),e.math=e.math.replace(/\\"u|{\\"u}|\\"{u}/g,"}\\unicode{x00FC}\\text{"),e.math=e.math.replace(/\\"A|{\\"A}|\\"{A}/g,"}\\unicode{x00C4}\\text{"),e.math=e.math.replace(/\\"O|{\\"O}|\\"{O}/g,"}\\unicode{x00D6}\\text{"),e.math=e.math.replace(/\\"U|{\\"U}|\\"{U}/g,"}\\unicode{x00DC}\\text{"),e.math=e.math.replace(/{?\\ss}?/g,"}\\unicode{x00DF}\\text{"),e.math=e.math.replace(/\\`e|{\\`e}|\\`{e}/g,"}\\unicode{x00E8}\\text{"),e.math=e.math.replace(/\\'e|{\\'e}|\\'{e}/g,"}\\unicode{x00E9}\\text{"),e.math=e.math.replace(/\\`E|{\\`E}|\\`{E}/g,"}\\unicode{x00C8}\\text{"),e.math=e.math.replace(/\\'E|{\\'E}|\\'{E}/g,"}\\unicode{x00C9}\\text{"),e.math=e.math.replace(/\\`a|{\\`a}|\\`{a}/g,"}\\unicode{x00E0}\\text{"),e.math=e.math.replace(/\\'a|{\\'a}|\\'{a}/g,"}\\unicode{x00E1}\\text{"),e.math=e.math.replace(/\\`A|{\\`A}|\\`{A}/g,"}\\unicode{x00C0}\\text{"),e.math=e.math.replace(/\\'A|{\\'A}|\\'{A}/g,"}\\unicode{x00C1}\\text{"),e.math=e.math.replace(/\\`o|{\\`o}|\\`{o}/g,"}\\unicode{x00F3}\\text{"),e.math=e.math.replace(/\\'o|{\\'o}|\\'{o}/g,"}\\unicode{x00F4}\\text{"),e.math=e.math.replace(/\\`O|{\\`O}|\\`{O}/g,"}\\unicode{x00D3}\\text{"),e.math=e.math.replace(/\\'O|{\\'O}|\\'{O}/g,"}\\unicode{x00D4}\\text{"),e.math=e.math.replace(/\\c\s*{s}/g,"}\\unicode{x015F}\\text{"),e.math=e.math.replace(/\\c\s*{S}/g,"}\\unicode{x015E}\\text{")):(e.math=e.math.replace(/\\"a|{\\"a}|\\"{a}/g,"\\unicode{x00E4}"),e.math=e.math.replace(/\\"o|{\\"o}|\\"{o}/g,"\\unicode{x00F6}"),e.math=e.math.replace(/\\"u|{\\"u}|\\"{u}/g,"\\unicode{x00FC}"),e.math=e.math.replace(/\\"A|{\\"A}|\\"{A}/g,"\\unicode{x00C4}"),e.math=e.math.replace(/\\"O|{\\"O}|\\"{O}/g,"\\unicode{x00D6}"),e.math=e.math.replace(/\\"U|{\\"U}|\\"{U}/g,"\\unicode{x00DC}"),e.math=e.math.replace(/{?\\ss}?/g,"\\unicode{x00DF}"),e.math=e.math.replace(/\\`e|{\\`e}|\\`{e}/g,"\\unicode{x00E8}"),e.math=e.math.replace(/\\'e|{\\'e}|\\'{e}/g,"\\unicode{x00E9}"),e.math=e.math.replace(/\\`E|{\\`E}|\\`{E}/g,"\\unicode{x00C8}"),e.math=e.math.replace(/\\'E|{\\'E}|\\'{E}/g,"\\unicode{x00C9}"),e.math=e.math.replace(/\\`a|{\\`a}|\\`{a}/g,"\\unicode{x00E0}"),e.math=e.math.replace(/\\'a|{\\'a}|\\'{a}/g,"\\unicode{x00E1}"),e.math=e.math.replace(/\\`A|{\\`A}|\\`{A}/g,"\\unicode{x00C0}"),e.math=e.math.replace(/\\'A|{\\'A}|\\'{A}/g,"\\unicode{x00C1}"),e.math=e.math.replace(/\\`o|{\\`o}|\\`{o}/g,"\\unicode{x00F3}"),e.math=e.math.replace(/\\'o|{\\'o}|\\'{o}/g,"\\unicode{x00F4}"),e.math=e.math.replace(/\\`O|{\\`O}|\\`{O}/g,"\\unicode{x00D3}"),e.math=e.math.replace(/\\'O|{\\'O}|\\'{O}/g,"\\unicode{x00D4}"),e.math=e.math.replace(/\\c\s*{s}/g,"\\unicode{x015F}"),e.math=e.math.replace(/\\c\s*{S}/g,"\\unicode{x015E}")),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRA\}/g,"\\unicode{x0410}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRB\}/g,"\\unicode{x0411}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRV\}/g,"\\unicode{x0412}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRG\}/g,"\\unicode{x0413}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRD\}/g,"\\unicode{x0414}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRE\}/g,"\\unicode{x0415}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRZH\}/g,"\\unicode{x0416}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRZ\}/g,"\\unicode{x0417}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRI\}/g,"\\unicode{x0418}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRISHRT\}/g,"\\unicode{x0419}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRK\}/g,"\\unicode{x041A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRL\}/g,"\\unicode{x041B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRM\}/g,"\\unicode{x041C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRN\}/g,"\\unicode{x041D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRO\}/g,"\\unicode{x041E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRP\}/g,"\\unicode{x041F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRR\}/g,"\\unicode{x0420}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRS\}/g,"\\unicode{x0421}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRT\}/g,"\\unicode{x0422}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRU\}/g,"\\unicode{x0423}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRF\}/g,"\\unicode{x0424}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRH\}/g,"\\unicode{x0425}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRC\}/g,"\\unicode{x0426}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRCH\}/g,"\\unicode{x0427}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSH\}/g,"\\unicode{x0428}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSHCH\}/g,"\\unicode{x0429}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRHRDSN\}/g,"\\unicode{x042A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRERY\}/g,"\\unicode{x042B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSFTSN\}/g,"\\unicode{x042C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYREREV\}/g,"\\unicode{x042D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRYU\}/g,"\\unicode{x042E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRYA\}/g,"\\unicode{x042F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyra\}/g,"\\unicode{x0430}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrb\}/g,"\\unicode{x0431}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrv\}/g,"\\unicode{x0432}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrg\}/g,"\\unicode{x0433}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrd\}/g,"\\unicode{x0434}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyre\}/g,"\\unicode{x0435}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrzh\}/g,"\\unicode{x0436}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrz\}/g,"\\unicode{x0437}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyri\}/g,"\\unicode{x0438}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrishrt\}/g,"\\unicode{x0439}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrk\}/g,"\\unicode{x043A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrl\}/g,"\\unicode{x043B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrm\}/g,"\\unicode{x043C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrn\}/g,"\\unicode{x043D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyro\}/g,"\\unicode{x043E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrp\}/g,"\\unicode{x043F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrr\}/g,"\\unicode{x0440}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrs\}/g,"\\unicode{x0441}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrt\}/g,"\\unicode{x0442}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyru\}/g,"\\unicode{x0443}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrf\}/g,"\\unicode{x0444}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrh\}/g,"\\unicode{x0445}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrc\}/g,"\\unicode{x0446}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrch\}/g,"\\unicode{x0447}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrsh\}/g,"\\unicode{x0448}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrshch\}/g,"\\unicode{x0449}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrhrdsn\}/g,"\\unicode{x044A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrery\}/g,"\\unicode{x044B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrsftsn\}/g,"\\unicode{x044C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrerev\}/g,"\\unicode{x044D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyryu\}/g,"\\unicode{x044E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrya\}/g,"\\unicode{x044F}"),e.math=e.math.replace(/\\textcircled\s*\{0\}/g,"\\unicode{x24EA}"),e.math=e.math.replace(/\\textcircled\s*\{1\}/g,"\\unicode{x2460}"),e.math=e.math.replace(/\\textcircled\s*\{2\}/g,"\\unicode{x2461}"),e.math=e.math.replace(/\\textcircled\s*\{3\}/g,"\\unicode{x2462}"),e.math=e.math.replace(/\\textcircled\s*\{4\}/g,"\\unicode{x2463}"),e.math=e.math.replace(/\\textcircled\s*\{5\}/g,"\\unicode{x2464}"),e.math=e.math.replace(/\\textcircled\s*\{6\}/g,"\\unicode{x2465}"),e.math=e.math.replace(/\\textcircled\s*\{7\}/g,"\\unicode{x2466}"),e.math=e.math.replace(/\\textcircled\s*\{8\}/g,"\\unicode{x2467}"),e.math=e.math.replace(/\\textcircled\s*\{9\}/g,"\\unicode{x2468}"),e.math=e.math.replace(/\\textcircled\s*\{10\}/g,"\\unicode{x2469}"),e.math=e.math.replace(/\\textcircled\s*\{11\}/g,"\\unicode{x246A}"),e.math=e.math.replace(/\\textcircled\s*\{12\}/g,"\\unicode{x246B}"),e.math=e.math.replace(/\\textcircled\s*\{13\}/g,"\\unicode{x246C}"),e.math=e.math.replace(/\\textcircled\s*\{14\}/g,"\\unicode{x246D}"),e.math=e.math.replace(/\\textcircled\s*\{15\}/g,"\\unicode{x246E}"),e.math=e.math.replace(/\\textcircled\s*\{16\}/g,"\\unicode{x246F}"),e.math=e.math.replace(/\\textcircled\s*\{17\}/g,"\\unicode{x2470}"),e.math=e.math.replace(/\\textcircled\s*\{18\}/g,"\\unicode{x2471}"),e.math=e.math.replace(/\\textcircled\s*\{19\}/g,"\\unicode{x2472}"),e.math=e.math.replace(/\\textcircled\s*\{20\}/g,"\\unicode{x2473}"),e.math=e.math.replace(/\\textcircled\s*\{a\}/g,"\\unicode{x24D0}"),e.math=e.math.replace(/\\textcircled\s*\{b\}/g,"\\unicode{x24D1}"),e.math=e.math.replace(/\\textcircled\s*\{c\}/g,"\\unicode{x24D2}"),e.math=e.math.replace(/\\textcircled\s*\{d\}/g,"\\unicode{x24D3}"),e.math=e.math.replace(/\\textcircled\s*\{e\}/g,"\\unicode{x24D4}"),e.math=e.math.replace(/\\textcircled\s*\{f\}/g,"\\unicode{x24D5}"),e.math=e.math.replace(/\\textcircled\s*\{g\}/g,"\\unicode{x24D6}"),e.math=e.math.replace(/\\textcircled\s*\{h\}/g,"\\unicode{x24D7}"),e.math=e.math.replace(/\\textcircled\s*\{i\}/g,"\\unicode{x24D8}"),e.math=e.math.replace(/\\textcircled\s*\{j\}/g,"\\unicode{x24D9}"),e.math=e.math.replace(/\\textcircled\s*\{k\}/g,"\\unicode{x24DA}"),e.math=e.math.replace(/\\textcircled\s*\{l\}/g,"\\unicode{x24DB}"),e.math=e.math.replace(/\\textcircled\s*\{m\}/g,"\\unicode{x24DC}"),e.math=e.math.replace(/\\textcircled\s*\{n\}/g,"\\unicode{x24DD}"),e.math=e.math.replace(/\\textcircled\s*\{o\}/g,"\\unicode{x24DE}"),e.math=e.math.replace(/\\textcircled\s*\{p\}/g,"\\unicode{x24DF}"),e.math=e.math.replace(/\\textcircled\s*\{q\}/g,"\\unicode{x24E0}"),e.math=e.math.replace(/\\textcircled\s*\{r\}/g,"\\unicode{x24E1}"),e.math=e.math.replace(/\\textcircled\s*\{s\}/g,"\\unicode{x24E2}"),e.math=e.math.replace(/\\textcircled\s*\{t\}/g,"\\unicode{x24E3}"),e.math=e.math.replace(/\\textcircled\s*\{u\}/g,"\\unicode{x24E4}"),e.math=e.math.replace(/\\textcircled\s*\{v\}/g,"\\unicode{x24E5}"),e.math=e.math.replace(/\\textcircled\s*\{w\}/g,"\\unicode{x24E6}"),e.math=e.math.replace(/\\textcircled\s*\{x\}/g,"\\unicode{x24E7}"),e.math=e.math.replace(/\\textcircled\s*\{y\}/g,"\\unicode{x24E8}"),e.math=e.math.replace(/\\textcircled\s*\{z\}/g,"\\unicode{x24E9}"),e.math=e.math.replace(/\\textcircled\s*\{A\}/g,"\\unicode{x24B6}"),e.math=e.math.replace(/\\textcircled\s*\{B\}/g,"\\unicode{x24B7}"),e.math=e.math.replace(/\\textcircled\s*\{C\}/g,"\\unicode{x24B8}"),e.math=e.math.replace(/\\textcircled\s*\{D\}/g,"\\unicode{x24B9}"),e.math=e.math.replace(/\\textcircled\s*\{E\}/g,"\\unicode{x24BA}"),e.math=e.math.replace(/\\textcircled\s*\{F\}/g,"\\unicode{x24BB}"),e.math=e.math.replace(/\\textcircled\s*\{G\}/g,"\\unicode{x24BC}"),e.math=e.math.replace(/\\textcircled\s*\{H\}/g,"\\unicode{x24BD}"),e.math=e.math.replace(/\\textcircled\s*\{I\}/g,"\\unicode{x24BE}"),e.math=e.math.replace(/\\textcircled\s*\{J\}/g,"\\unicode{x24BF}"),e.math=e.math.replace(/\\textcircled\s*\{K\}/g,"\\unicode{x24C0}"),e.math=e.math.replace(/\\textcircled\s*\{L\}/g,"\\unicode{x24C1}"),e.math=e.math.replace(/\\textcircled\s*\{M\}/g,"\\unicode{x24C2}"),e.math=e.math.replace(/\\textcircled\s*\{N\}/g,"\\unicode{x24C3}"),e.math=e.math.replace(/\\textcircled\s*\{O\}/g,"\\unicode{x24C4}"),e.math=e.math.replace(/\\textcircled\s*\{P\}/g,"\\unicode{x24C5}"),e.math=e.math.replace(/\\textcircled\s*\{Q\}/g,"\\unicode{x24C6}"),e.math=e.math.replace(/\\textcircled\s*\{R\}/g,"\\unicode{x24C7}"),e.math=e.math.replace(/\\textcircled\s*\{S\}/g,"\\unicode{x24C8}"),e.math=e.math.replace(/\\textcircled\s*\{T\}/g,"\\unicode{x24C9}"),e.math=e.math.replace(/\\textcircled\s*\{U\}/g,"\\unicode{x24CA}"),e.math=e.math.replace(/\\textcircled\s*\{V\}/g,"\\unicode{x24CB}"),e.math=e.math.replace(/\\textcircled\s*\{W\}/g,"\\unicode{x24CC}"),e.math=e.math.replace(/\\textcircled\s*\{X\}/g,"\\unicode{x24CD}"),e.math=e.math.replace(/\\textcircled\s*\{Y\}/g,"\\unicode{x24CE}"),e.math=e.math.replace(/\\textcircled\s*\{Z\}/g,"\\unicode{x24CF}");for(var t,a=new RegExp("~#~(.*?)~#~","g");t=a.exec(e.math);){for(var n="",c=0;c!=t[1].length;c++){var i=t[1].substr(c,1);i.match(/[a-z]/)?n+="{\\small "+i.toUpperCase()+"}":n+=i}e.math=e.math.replace(/~#~.*?~#~/,n)}},e.exports={prefilterHook:t.MathJaxPrefilterHook}}(w),function(e){var t=S.exports.defaultConfig,a=w.exports,n=function(e,t){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=t[a]||{},null!==e[a]&&"object"==typeof e[a]?t[a]=n(e[a],t[a]):t[a]=e[a]);return t},c=function(e){setTimeout((function(){var t=document,a=t.getElementsByTagName("script")[0],n=t.createElement("script");e&&(n.onload=e),n.async=!0,n.src="//cdn.jsdelivr.net/npm/mathjax@2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js",a.parentNode.insertBefore(n,a)}),1)},i=function(){MathJax.Hub.Register.StartupHook("TeX Jax Ready",(function(){MathJax.InputJax.TeX.prefilterHooks.Add(a.prefilterHook);var e=MathJax.ElementJax.mml,t=MathJax.InputJax.TeX;t.Definitions.macros.bfrac="myBevelFraction",t.Parse.Augment({myBevelFraction:function(t){var a=this.ParseArg(t),n=this.ParseArg(t);this.Push(e.mfrac(a,n).With({bevelled:!0}))}})}))};e.exports={loadMathJaxAsync:function(e){var a=n(e||{},t);a.AuthorInit=i,window.MathJax=a,c()},lazyLoadMathJaxAsync:function(e,a){var o=n(e||{},t);o.AuthorInit=i,o.skipStartupTypeset=!0,window.MathJax=o,c((function(){if(window.IntersectionObserver)for(var e=document.querySelectorAll(a),t=new IntersectionObserver((function(e){for(var a=0;e[a];++a)if(e[a].isIntersecting){MathJax.Hub.Queue(["Typeset",MathJax.Hub]),t.disconnect();break}}),{rootMargin:"200px 0px 200px 0px",threshold:0}),n=0;e[n];++n)t.observe(e[n]);else MathJax.Hub.Queue(["Typeset",MathJax.Hub])}))},loadMathJaxForDeferredContent:function(e,a){if(window.MathJax)MathJax.Hub.Queue(["Typeset",MathJax.Hub,e]);else{var o=n(a||{},t);o.AuthorInit=i,window.MathJax=o,c((function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub,e])}))}}}}(_);var L={exports:{}};!function(e){e.exports=function(){return{init:function(){var e;(e=document.querySelector(".c-article-survey--close"))&&e.addEventListener("click",(function(){document.querySelector(".c-article-survey").classList.add("c-article-survey--hide")}))}}}}(L);var D=L.exports,T={exports:{}};!function(e){e.exports=function(){return{init:function(e){const t=document.createElement("script");t.setAttribute("async",!0),t.setAttribute("src","https://www.youtube.com/iframe_api"),t.onload=function(){window.YT.ready((function(){e.forEach((function(e){var t=e.getAttribute("data-youtube-id"),a="player-"+t;new window.YT.Player(a,{height:"390",width:"640",videoId:t,playerVars:{autoplay:0},events:{onStateChange:function(e){!function(e,t){e.data==YT.PlayerState.ENDED&&window.dataLayer.push({event:"youtube-api-video",eventAction:"complete video",eventLabel:t});e.data==YT.PlayerState.PLAYING&&window.dataLayer.push({event:"youtube-api-video",eventAction:"play video",eventLabel:t});e.data==YT.PlayerState.PAUSED&&window.dataLayer.push({event:"youtube-api-video",eventAction:"pause video",eventLabel:t})}(e,t)}}})}))}))},document.head.appendChild(t)}}}}(T);var q=T.exports;const B=()=>{var t,n,o;function s(){var e=document.querySelector('meta[name="DOI"]');return e?e.getAttribute("content"):""}if(function(){var e={EventEmitter:a,ShareBox:m,InternalNavigation:l,Scheduler:c,ScrollWrapper:y,BookShowMore:h,ZoomCover:b,Survey:D,Contributors:x,Boxes:r,YouTubeVideos:q};for(var t in Component=Component||{},e)Object.prototype.hasOwnProperty.call(e,t)&&(Component[t]=new e[t])}(),NodeList.prototype.forEach||(NodeList.prototype.forEach=Array.prototype.forEach),Component.ContextBar=new A(Component.Scheduler),t=Component.EventEmitter,n={offset:32,exclude:"js-no-scroll",access:!0},Component.InternalNavigation.init(n,Component.Scheduler,t),Component.EventEmitter.on("rc.display",()=>{const e=document.querySelector("[data-component-mpu]");e&&(e.classList.remove("u-hide"),e.classList.add("u-show"))}),i().init({offset:32,exclude:"js-no-scroll",access:!0},Component.Scheduler,Component.EventEmitter),(o=document.querySelector('meta[name="access"]'))&&o.getAttribute("content")&&"yes"===o.getAttribute("content").toLowerCase()&&!window.suppressShareButton){var d=s();d&&Component.ShareBox.init({url:"/article/"+d+"/share"})}Component.ScrollWrapper.init(document.querySelectorAll("[data-component-scroll-wrapper]"),e,Component.Scheduler),Component.Boxes.init(document.querySelectorAll("div[data-expandable-box-container]")),Component.Contributors.init(document.querySelectorAll('[data-component="book-contributor-list"]'));document.querySelector('[data-component="article-survey"]')&&Component.Survey.init();const u=Array.prototype.slice.call(document.querySelectorAll('[mi24-video-player="true"]'),0);u.length>0&&((e=[])=>{new MutationObserver(()=>{e.forEach(e=>{const t=e.querySelector(".mi-big-play-cover");if(t){((e,t)=>{e.setAttribute("aria-describedby","video-description-"+t),e.setAttribute("aria-label","Play video"),e.setAttribute("role","button"),e.setAttribute("tabIndex","0"),e.addEventListener("keypress",t=>{((e,t)=>{"Enter"!==e.key&&" "!==e.key||(t&&t.removeAttribute("tabIndex"),e.currentTarget.click(),e.preventDefault())})(t,e)},!1)})(t,e.getAttribute("video-id"))}})}).observe(document,{childList:!0,subtree:!0})})(u);document.querySelector('[data-component="cover-zoom"]')&&Component.ZoomCover.init();const p=document.querySelectorAll('[data-component="data-unique-selling-points"] li'),g=document.querySelectorAll('[data-component="data-other-volumes"] li');(p&&p.length>4||g&&g.length>4)&&Component.BookShowMore.init(),E(),function(e){if(e&&document.querySelector("div[data-context-bar-with-recommendations]")){(new k).init(e,"[data-component-recommendations]",Component.Scheduler)}}(s());const f=document.querySelectorAll("[data-component-youtube-video]");if(f.length>0){(new q).init(f)}};"loading"===document.readyState?document.addEventListener&&document.addEventListener("DOMContentLoaded",(function(){B()}),!1):B()}();
|
||
|
||
//# sourceMappingURL=global-article-es6-bundle-9b8a5c1c5a.js.map
|