1(()=>{var t={845:t=>{self,t.exports=(()=>{"use strict";var t={};return((t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isArmadaLoaded=void 0,e.isArmadaLoaded=t=>{var e,r;const o=!0===(null===(r=null===(e=window.eight)||void 0===e?void 0:e.armada)||void 0===r?void 0:r.loaded);if(!t)return o;o?t():document.addEventListener("ARMADA:LOADED",t)},e.default=e.isArmadaLoaded})(0,t),t})()}},e={};function r(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=r(845);class e extends HTMLElement{constructor(){super()}connectedCallback(){(0,t.isArmadaLoaded)(this.init.bind(this))}init(){this.onFormSubmit(this.formType,this.errors),document.addEventListener("ARMADA:NOTIFICATIONS:LOADED",(()=>this.onFormSubmit(this.formType,this.errors)))}onFormSubmit(t,e){const r=new URLSearchParams(window.location.search).get("form_type");if(r&&t!=r)return;const o=document.querySelector(`[data-form-type=${t}]`),i=o.dataset.formName,s=o.closest("form");this.handleNotification(i,e,s)}handleNotification(t,e,r){if(!e)return;this.showNotification(t,e);const o="armada-modal #"+r.id;null==document.querySelector(o)&&this.scrollToForm(r)}showNotification(t,e){const r=`Error(s) in ${t} form`;this.clearList(),window.eight.notifications.addToList({type:"error",message:r,data:{info:e},dismissible:!1,error:!0})}scrollToForm(t){setTimeout((()=>{t.scrollIntoView({behavior:"smooth",block:"center"}),t.addEventListener("focusin",(()=>this.clearErrors()))}),500)}clearErrors(){window.eight.notifications.clearErrors()}clearList(){window.eight.notifications.clearList()}get formType(){return this.getAttribute("data-form-type")}get errors(){return this.getAttribute("data-errors")}}customElements.define("form-errors",e)})()})();
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.