1(self.webpackChunk_overleaf_web=self.webpackChunk_overleaf_web||[]).push([[951,5053],{38571(){!function(){const e=document.querySelector('[data-ol-password-visibility-toggle="visibilityOn"]'),t=document.querySelector('[data-ol-password-visibility-toggle="visibilityOff"]');t&&e&&(e.addEventListener("click",function(){const n=document.querySelector("[data-ol-password-visibility-target]");n&&(n.type="text",e.hidden=!0,t.hidden=!1,t.focus())}),t.addEventListener("click",function(){const n=document.querySelector("[data-ol-password-visibility-target]");n&&(n.type="password",t.hidden=!0,e.hidden=!1,e.focus())}))}()},4588(e,t,n){"use strict";var o=n(27395);let a;const r="none-removed";n.d(t,["O",0,async e=>(a||(a=new Promise((t,n)=>{const a=[["\\(","\\)"]];(e={enableMenu:!1,numbering:r,singleDollar:!0,useLabelIds:!1,...e}).singleDollar&&a.push(["$","$"]),window.MathJax={tex:{macros:{bm:["\\boldsymbol{#1}",1]},inlineMath:a,displayMath:[["\\[","\\]"],["$$","$$"]],packages:{"[-]":["html","require","textmacros"]},processEscapes:!0,processEnvironments:!0,useLabelIds:e.useLabelIds},output:{displayOverflow:"linebreak"},loader:{load:["ui/safe"]},options:{enableMenu:e.enableMenu},startup:{typeset:!1,pageReady(){window.MathJax.startup.document.menu.menu.findID("Settings","Renderer").disable()},async ready(){if(e?.numbering===r){const{AbstractTags:e,TagsFactory:t}=window.MathJax._.input.tex.Tags;class n extends e{autoTag(){}getTag(){const e=this.currentTag.tag?super.getTag():null;return this.label="",e}}t.add(r,n)}await window.MathJax.startup.defaultReady();const{safe:t}=window.MathJax.startup.document;t.filterAttributes.set("fontfamily","filterFontFamily"),t.filterMethods.filterFontFamily=(e,t)=>t.split(/;/)[0]}}},e.numbering&&(window.MathJax.tex.tags=e.numbering),e.enableMenu||(window.MathJax.options.menuOptions={settings:{enrich:!1,speech:!1,braille:!1,assistiveMml:!1}});const i=document.createElement("script"),s=(0,o.A)("ol-mathJaxPath");s?(i.src=s,i.addEventListener("load",async()=>{await window.MathJax.startup.promise,document.head.appendChild(window.MathJax.svgStylesheet()),t(window.MathJax)}),i.addEventListener("error",n),document.head.append(i)):n(new Error("No MathJax path found"))})),a)])},77931(e,t,n){"use strict";var o=n(27395),a=n(47980);var r=n(11635),i=n(51594);const{hotjarId:s,hotjarVersion:c}=(0,o.A)("ol-ExposedSettings"),d=(0,o.A)("ol-shouldLoadHotjar");function l(){s&&c&&(/^\d+$/.test(s)&&/^\d+$/.test(c)?(0,i.A)()||(0,r.J)(()=>((e,t)=>{return n=window,o=document,n.hj=n.hj||function(){(n.hj.q=n.hj.q||[]).push(arguments)},n._hjSettings={hjid:e,hjsv:t},a=o.getElementsByTagName("head")[0],(r=o.createElement("script")).async=1,r.src="https://static.hotjar.com/c/hotjar-"+n._hjSettings.hjid+".js?sv="+n._hjSettings.hjsv,void a.appendChild(r);var n,o,a,r})(s,c),"Hotjar"):a.$.error("Invalid Hotjar id or version"))}s&&c&&d&&document.addEventListener("DOMContentLoaded",()=>{setTimeout(l,1e3)})},11635(e,t,n){"use strict";n(36342),n(43080);var o=n(47980);n.d(t,["F",0,e=>{const t=document.createElement("script");t.setAttribute("src",e.src),e.crossorigin&&t.setAttribute("crossorigin",e.crossorigin),e.async&&t.setAttribute("async","async"),e.onload&&(t.onload=e.onload),document.querySelector("head")?.append(t)},"J",0,(e,t)=>{let n=!1;const a=()=>{const a=document.cookie.split("; ").some(e=>"oa=1"===e);!n&&a&&(o.$.log("Loading Analytics",t),n=!0,e())};"function"==typeof window.requestIdleCallback?window.requestIdleCallback(a):a(),window.addEventListener("cookie-consent",e=>{e.detail&&a()})}])},8387(e,t,n){"use strict";n(87289),n(4314),n(77931),n(3656),n(86753),n(47702),n(86871),n(68325),n(68497),n(75737),n(38571),n(82069),n(94273),n(36342),n(18527);document.querySelectorAll("[data-ol-fallback-image]").forEach(e=>{if(!(e instanceof HTMLImageElement))return;const t=e;function n(){t.src=t.getAttribute("data-ol-fallback-image")}!function(e){return e.complete&&0===e.naturalWidth}(t)?t.addEventListener("error",n):n()});var o=n(22806);document.querySelectorAll("[data-ol-multi-submit]").forEach(e=>{function t(t){t.addEventListener("pending",()=>{e.querySelectorAll("[data-ol-disabled-inflight]").forEach(o.D)}),t.addEventListener("idle",()=>{e.querySelectorAll("[data-ol-disabled-inflight]").forEach(o.u)})}e.querySelectorAll("[data-ol-async-form]").forEach(t),e.querySelectorAll("[data-ol-regular-form]").forEach(t),e.querySelectorAll("[data-ol-slow-link]").forEach(t)});n(79752);var a=n(47980);let r=!1;function i(e,t){a.$.log(`Enabling video controls: ${t}`),e.setAttribute("controls","")}document.querySelectorAll("[data-ol-autoplay-video]").forEach(function(e){if("undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent))return void i(e,"iOS devices");if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void i(e,"reduced motion preference");let t;function n(e){"NotAllowedError"===e.name||"AbortError"===e.name?r||(r=!0,document.querySelectorAll("[data-ol-autoplay-video]").forEach(t=>{i(t,`autoplay blocked (${e.name})`)})):a.$.error("Video playback error:",e)}function o(){t&&!r&&e.readyState>=e.HAVE_FUTURE_DATA&&e.play().catch(n)}e.addEventListener("canplay",o,{once:!0}),e.addEventListener("loadeddata",o,{once:!0}),e.addEventListener("ended",()=>{setTimeout(()=>{e.currentTime=0,o()},15e3)}
1),new IntersectionObserver(function(n){for(const a of n)a.isIntersecting?(t=!0,o()):(t=!1,e.paused||e.pause())},{threshold:.7}).observe(e)});var s=n(4588),c=n(27395);window.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll("[data-ol-mathjax]");e.length>0&&(0,s.O)({enableMenu:!0,numbering:"ams",singleDollar:!(0,c.A)("ol-no-single-dollar"),useLabelIds:!0}).then(t=>t.typesetPromise([...e])).catch(a.$.error)});var d=n(86574),l=n.n(d),u=n(23844),m=n(46556),h=n(87432),p=n(38347);document.querySelectorAll("[data-ol-contact-form-with-search]").forEach(function(e){const t=e.querySelector('[name="subject"]'),n=e.querySelector("[data-ol-search-results-container]"),o=e.querySelector("[data-ol-search-results-wrapper]");if(!t||!n||!o)return;let a="";function r(){o.setAttribute("hidden","")}async function i(){const e=t.value;if(e!==a)if(a=e,e.length<3)r();else{u.A.addHook("uponSanitizeElement",e=>{if("EM"===e.nodeName){const t=document.createElement("strong");t.textContent=e.textContent,e.parentNode?.replaceChild(t,e)}});try{const{hits:t,nbHits:a}=await(0,m.B)(e,{hitsPerPage:3,typoTolerance:"strict"});n.innerHTML="";for(const e of t){const{url:t,rawPageName:o,sectionName:a}=(0,m.l)(e),r=document.createElement("li"),i=document.createElement("a");i.className="dropdown-item",i.href=t,i.target="_blank",i.rel="noopener noreferrer",i.setAttribute("role","menuitem"),r.append(i);const s=document.createElement("span");s.className="dropdown-item-description-container",i.append(s);const c=document.createElement("span");if(c.innerHTML=u.A.sanitize(o),s.append(c),a){const e=document.createElement("span");e.className="dropdown-item-description",e.innerHTML=u.A.sanitize(a),s.append(e)}const d=(0,p.P)("open_in_new");d.classList.add("dropdown-item-trailing-icon"),d.setAttribute("aria-hidden","true"),i.append(d),n.append(r)}a>0?(o.removeAttribute("hidden"),(0,h._)("contact-form-suggestions-shown")):r()}catch(e){r()}u.A.removeHook("uponSanitizeElement")}}t.addEventListener("input",l().debounce(i,350)),document.addEventListener("click",function(e){const n=e.target;o.contains(n)||t.contains(n)||r()}),e.addEventListener("keydown",function(e){const t=e;"Escape"===t.key&&(o.hasAttribute("hidden")||(r(),t.stopPropagation(),t.preventDefault()))}),i()}),document.querySelectorAll('[data-ol-open-contact-form-modal="contact-us"]').forEach(e=>{e.addEventListener("click",function(e){e.preventDefault()})}),document.querySelectorAll('[data-ol-open-contact-form-modal="general"]').forEach(e=>{e.addEventListener("click",function(e){e.preventDefault()})}),document.querySelectorAll("[data-ol-contact-form]").forEach(e=>{e.addEventListener("submit",function(){const e=document.querySelector("[data-ol-contact-form-email-input]"),t=document.querySelector("[data-ol-contact-form-thank-you-email]");e&&t&&(t.textContent=e.value)})})},11304(e,t,n){"use strict";n(36342),n(9148),n(8387),n(77931);var o=n(27395);const a=document.querySelector("#home-animation-text"),r=window.matchMedia("(prefers-reduced-motion: reduce)");if(a){const e=(0,o.A)("ol-homepageAnimatedWords")||[];e.length>0&&(r.matches?a.textContent=e[e.length-1]:function(e,t){const n={buildTime:100,holdTime:1e3,breakTime:100},o=[{before:"",time:1500},...t.flatMap((e,o)=>function(e,t){let{buildTime:n,holdTime:o,breakTime:a}=t;const r=[];let i="";for(const t of e)i+=t,r.push({before:i,time:n});r.push({before:i,time:o});for(let t=e.length-1;t>0;t--)i=e.substring(0,t),r.push({before:i,time:a});return r.push({before:"",time:a}),r}(e,o===t.length-1?{...n,holdTime:5e3}:n))];let a=0;!function t(){const n=o[a];a=(a+1)%o.length,e.textContent=n.before,setTimeout(t,n.time)}()}(a,e))}},51594(e,t,n){"use strict";function o(){return!!document.querySelector("grammarly-desktop-integration")}n.d(t,{A:()=>o})},87221(e,t,n){"use strict";var o=n(80120),a=n(32842),r=n(11506),i=n(37026);e.exports=function(e,t){t&&"string"==typeof e||a(e);var n=i(e);return r(a(void 0!==n?o(n,e):e))}},9148(e,t,n){"use strict";var o=n(28285),a=n(80120),r=n(97313),i=n(32842),s=n(11506),c=n(87221),d=n(38619),l=n(18116),u=n(64294),m=n(66403),h=n(95970),p=!u&&!m("flatMap",function(){}),f=!u&&!p&&h("flatMap",TypeError),g=u||p||f,y=d(function(){for(var e,t,n=this.iterator,o=this.mapper;;){if(t=this.inner)try{if(!(e=i(a(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){l(n,"throw",e)}if(e=i(a(this.next,n)),this.done=!!e.done)return;try{this.inner=c(o(e.value,this.counter++),!1)}catch(e){l(n,"throw",e)}}});o({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(e){i(this);try{r(e)}catch(e){l(this,"throw",e)}return f?a(f,this,e):new y(s(this),{mapper:e,inner:null})}})}},e=>{e.O(0,[7538,8329,7446,5549,6574,2849,5895,8497,3844,4894,6401,7672],()=>e(11304));e.O()}]);
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.