1import{n as e}from"./standalone-app-Bj-IdwrG.js";import{E as t,_ as n,x as r}from"./institution-DyFDvNu6.js";import{t as i}from"./xhr-promise-SX8oxAim.js";import"./jha-progress-CjUOO3no.js";import"./jha-card-DC-UH8vN.js";window.BannowebEulaElement=class extends n{constructor(){super(),this.eula=void 0}static get is(){return`bannoweb-eula`}static get properties(){return{eula:{type:String}}}connectedCallback(){super.connectedCallback(),this._loadEula()}_loadEula(){new i().get(`${e.API_SERVER}/institutions/${e.config.id}`).then(e=>{let t=e.eula.text.replace(`You must read through the entire agreement before you may click Accept.`,``).trim();this.eula=t})}static get styles(){return t`:host{display:block}a{color:var(--primary-button-color);cursor:pointer;text-decoration:none;display:block}a:hover{color:var(--inline-button-text-hover-color);text-decoration:underline}a:active{color:var(--inline-button-text-active-color);text-decoration:underline}h1{text-align:center;width:100%;margin:0;font-size:22px;font-weight:400}header{margin:0;padding:18px 16px}article{height:100%;padding:0;overflow-x:auto}#eula{white-space:pre-line;min-height:200px;margin:0;padding:16px 24px 16px 0}jha-card{border-radius:var(--card-corner-radius);height:calc(100vh - 140px);box-shadow:var(--card-shadow);flex-direction:column;display:flex}`}render(){return r`<jha-card> <header> <h1>${`User agreement`}</h1> </header> <article> ${this.eula?r`<p id="eula">${this.eula}</p>`:r`<jha-progress card></jha-progress>`} </article> </jha-card>`}},customElements.define(window.BannowebEulaElement.is,window.BannowebEulaElement);var a=window.BannowebEulaElement;export{a as default};
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.