1import{a 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"./page-B8YwBOEr.js";import{t as a}from"./date-URgChy6n.js";import{Sr as o,W as s,_r as c,i as l,o as u,sn as d,vr as ee}from"./main-5Sl8yySz.js";import"./jha-progress-CjUOO3no.js";import"./jha-card-DC-UH8vN.js";import"./jha-card-header-D2XWRnD9.js";import"./jha-button-Dyau4S4K.js";import"./jha-dropdown-toggle-BD-PhqOy.js";import"./jha-select-ZNLtNzvA.js";import"./bannoweb-page-container-G_uPsQAr.js";import{t as f}from"./format-currency-DWww8Snc.js";import{t as te}from"./observable-models-lit-Conecq5s.js";import"./jha-form-floating-group-DqE4-9IH.js";import{t as p}from"./unsafe-html-CyVEm-uX.js";import{a as m,o as ne,r as re,s as h}from"./bannoweb-report-date-periods-BxcqNFHb.js";import"./bannoweb-report-status-DzY0DLpU.js";window.BannowebReportHeader=class extends n{static get is(){return`bannoweb-report-header`}static get properties(){return{report:{type:String}}}constructor(){super(),e(()=>import(`./icon-chevron-down-small-CO8r_sqz.js`).then(e=>e.t),[]),this.report=``,this.institution=u.store.institution}isActive(e){return this.report===e}getReportTitle(){return{[s.REPORTS.PRIOR_DAY]:`Prior day`,[s.REPORTS.CURRENT_DAY]:`Current day`,[s.REPORTS.ACTIVITY]:`Activity`,[s.REPORTS.SUMMARY]:`Summary`,[s.REPORTS.EDI]:`EDI`,[s.REPORTS.POSITIVE_PAY]:`Positive pay`}[this.report]||this.report.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `)}static get styles(){return[t`.desktop{border-bottom:1px solid var(--divider-default-color);justify-content:space-between;align-items:center;display:flex}.nav{color:var(--body-text-secondary-color);justify-content:flex-start;align-items:center;display:flex}.nav a{color:inherit;border-bottom:2px solid #0000;padding:17px 24px 12px;text-decoration:none;display:flex}.nav a:hover,.nav a.active{border-bottom-color:var(--link-button-text-color);color:var(--body-text-primary-color)}.action{color:var(--body-text-theme-color)}.action a{color:inherit;padding:17px 24px 12px;text-decoration:none}.mobile{border-bottom:1px solid var(--divider-default-color);grid-template-columns:1fr auto;align-items:center;margin-left:24px;padding:11px 16px 11px 0;display:grid}.mobile-current{text-align:center;font-size:16px;font-weight:500}.mobile jh-icon-chevron-down-small{fill:var(--body-text-primary-color);width:24px;height:24px}jha-dropdown-menu{padding:16px 0}jha-dropdown-toggle{width:40px;height:40px}jha-dropdown-menu-item{border-radius:0}jha-dropdown-menu-item a{padding:10px 16px}jha-dropdown-menu-item.active{color:var(--jha-dropdown-menu-item-text-hover-color,var(--jha-text-base));background-color:var(--jha-dropdown-menu-item-background-hover,var(--jha-focus-highlight-color))}@media screen and (width>=1024px) and (width<=1070px){.nav a{padding:16px}}@media screen and (width>=769px) and (width<=820px){.nav a{padding:16px}}@media screen and (width<=768px){.desktop{display:none}}@media screen and (width>=769px){.mobile{display:none}}`]}render(){return r`<div class="mobile"> <div class="mobile-current">${this.getReportTitle()}</div> <jha-dropdown adjust-to-page-bottom=""> <jha-dropdown-toggle slot="toggle" .aria-label="${`Open menu`}"> <jh-icon-chevron-down-small></jh-icon-chevron-down-small> </jha-dropdown-toggle> <jha-dropdown-menu> <jha-dropdown-menu-item class="${this.isActive(s.REPORTS.PRIOR_DAY)?`active`:`not-active`}"> <a href="/reports/prior-day">${`Prior day`}</a> </jha-dropdown-menu-item> <jha-dropdown-menu-item class="${this.isActive(s.REPORTS.CURRENT_DAY)?`active`:`not-active`}"> <a href="/reports/current-day">${`Current day`}</a> </jha-dropdown-menu-item> <jha-dropdown-menu-item class="${this.isActive(s.REPORTS.ACTIVITY)?`active`:`not-active`}"> <a href="/reports/activity">${`Activity`}</a> </jha-dropdown-menu-item> <jha-dropdown-menu-item class="${this.isActive(s.REPORTS.SUMMARY)?`active`:`not-active`}"> <a href="/reports/summary">${`Summary`}</a> </jha-dropdown-menu-item> ${this.institution.abilities.ediTransactionDetails?r`<jha-dropdown-menu-item class="${this.isActive(s.REPORTS.EDI)?`active`:`not-active`}"> <a href="/reports/edi">${`EDI`}</a> </jha-dropdown-menu-item>`:``} <jha-dropdown-menu-item class="${this.isActive(s.REPORTS.POSITIVE_PAY)?`active`:`not-active`}"> <a href="/reports/positive-pay">${`Positive pay`}</a> </jha-dropdown-menu-item> <jha-dropdown-menu-item> <a href="/reports/saved">${`Saved reports`}</a> </jha-dropdown-menu-item>
vendor: 4,106 bytes, lines 1-4
1 </jha-dropdown-menu> </jha-dropdown> </div> <div class="desktop"> <div class="nav"> <a href="/reports/prior-day" class="${this.isActive(s.REPORTS.PRIOR_DAY)?`active`:`not-active`}"> ${`Prior day`} </a> <a href="/reports/current-day" class="${this.isActive(s.REPORTS.CURRENT_DAY)?`active`:`not-active`}"> ${`Current day`} </a> <a href="/reports/activity" class="${this.isActive(s.REPORTS.ACTIVITY)?`active`:`not-active`}"> ${`Activity`} </a> <a href="/reports/summary" class="${this.isActive(s.REPORTS.SUMMARY)?`active`:`not-active`}"> ${`Summary`} </a> ${this.institution.abilities.ediTransactionDetails?r`<a href="/reports/edi" class="${this.isActive(s.REPORTS.EDI)?`active`:`not-active`}"> ${`EDI`} </a>`:``} <a href="/reports/positive-pay" class="${this.isActive(s.REPORTS.POSITIVE_PAY)?`active`:`not-active`}"> ${`Positive pay`} </a> </div> <div class="action"> <a href="/reports/saved">${`Saved reports`}</a> </div> </div>`}},customElements.define(window.BannowebReportHeader.is,window.BannowebReportHeader),window.BannowebReportHeader; 2/*! @license DOMPurify 3.4.13 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.13/LICENSE */ 3function g(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ie(e){if(Array.isArray(e))return e}function _(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function v(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ae(e,t){return ie(e)||_(e,t)||oe(e,t)||v()}function oe(e,t){if(e){if(typeof e==`string`)return g(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}var se=Object.entries,y=Object.setPrototypeOf,ce=Object.isFrozen,b=Object.getPrototypeOf,le=Object.getOwnPropertyDescriptor,x=Object.freeze,S=Object.seal,C=Object.create,ue=typeof Reflect<`u`&&Reflect,w=ue.apply,de=ue.construct;x||=function(e){return e},S||=function(e){return e},w||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},de||=function(e){return new e(...[...arguments].slice(1))};var T=M(Array.prototype.forEach),fe=M(Array.prototype.lastIndexOf),pe=M(Array.prototype.pop),E=M(Array.prototype.push),me=M(Array.prototype.splice),D=Array.isArray,he=M(String.prototype.toLowerCase),ge=M(String.prototype.toString),_e=M(String.prototype.match),ve=M(String.prototype.replace),ye=M(String.prototype.indexOf),be=M(String.prototype.trim),xe=M(Number.prototype.toString),Se=M(Boolean.prototype.toString),Ce=typeof BigInt>`u`?null:M(BigInt.prototype.toString),we=typeof Symbol>`u`?null:M(Symbol.prototype.toString),O=M(Object.prototype.hasOwnProperty),k=M(Object.prototype.toString),A=M(RegExp.prototype.test),j=Te(TypeError);function M(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return w(e,t,n)}}function Te(e){return function(){return de(e,[...arguments])}}function N(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:he;if(y&&y(e,null),!D(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(ce(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ee(e){for(let t=0;t<e.length;t++)O(e,t)||(e[t]=null);return e}function P(e){let t=C(null);for(let r of se(e)){var n=ae(r,2);let i=n[0],a=n[1];O(e,i)&&(D(a)?t[i]=Ee(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=P(a):t[i]=a)}return t}function De(e){switch(typeof e){case`string`:return e;case`number`:return xe(e);case`boolean`:return Se(e);case`bigint`:return Ce?Ce(e):`0`;case`symbol`:return we?we(e):`Symbol()`;
vendor: 6,105 bytes, line 4
4case`undefined`:return k(e);case`function`:case`object`:{if(e===null)return k(e);let t=e,n=F(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:k(e)}return k(e)}default:return k(e)}}function F(e,t){for(;e!==null;){let n=le(e,t);if(n){if(n.get)return M(n.get);if(typeof n.value==`function`)return M(n.value)}e=b(e)}function n(){return null}return n}function Oe(e){try{return A(e,``),!0}catch{return!1}}var ke=x(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Ae=x(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),je=x([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Me=x([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Ne=x(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Pe=x([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Fe=x([`#text`]),Ie=x(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Le=x(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Re=x(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),ze=x([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Be=S(/{{[\w\W]*|^[\w\W]*}}/g),Ve=S(/<%[\w\W]*|^[\w\W]*%>/g),He=S(/\${[\w\W]*/g),Ue=S(/^data-[\-\w.\u00B7-\uFFFF]+$/),We=S(/^aria-[\-\w]+$/),Ge=S(/^(?:(?:(?
vendor: 14,864 bytes, line 4
4:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ke=S(/^(?:\w+script|data):/i),qe=S(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Je=S(/^html$/i),Ye=S(/^[a-z][.\w]*(-[.\w]+)+$/i),Xe=S(/<[/\w!]/g),Ze=S(/<[/\w]/g),Qe=S(/<\/no(script|embed|frames)/i),$e=S(/\/>/i),I={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},et=function(){return typeof window>`u`?null:window},tt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},nt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},L=function(e,t,n,r){return O(e,t)&&D(e[t])?N(r.base?P(r.base):{},e[t],r.transform):n};function rt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:et(),t=e=>rt(e);if(t.version=`3.4.13`,t.removed=[],!e||!e.document||e.document.nodeType!==I.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,ee=F(d,`cloneNode`),f=F(d,`remove`),te=F(d,`nextSibling`),p=F(d,`childNodes`),m=F(d,`parentNode`),ne=F(d,`shadowRoot`),re=F(d,`attributes`),h=o&&o.prototype?F(o.prototype,`nodeType`):null,g=o&&o.prototype?F(o.prototype,`nodeName`):null,ie=o&&o.prototype?F(o.prototype,`ownerDocument`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let _,v=``,ae,oe=!1,y=0,ce=function(){if(y>0)throw j(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},b=function(e){ce(),y++;try{return _.createHTML(e)}finally{y--}},le=function(e){ce(),y++;try{return _.createScriptURL(e)}finally{y--}},ue=function(){return oe||=(ae=tt(u,i),!0),ae},w=n,de=w.implementation,xe=w.createNodeIterator,Se=w.createDocumentFragment,Ce=w.getElementsByTagName,we=r.importNode,k=nt();t.isSupported=typeof se==`function`&&typeof m==`function`&&de&&de.createHTMLDocument!==void 0;let M=Be,Te=Ve,Ee=He,it=Ue,at=We,ot=Ke,R=qe,st=Ye,ct=Ge,z=null,lt=N({},[...ke,...Ae,...je,...Ne,...Fe]),B=null,ut=N({},[...Ie,...Le,...Re,...ze]),V=Object.seal(C(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,dt=null,U=Object.seal(C(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),W=!0,ft=!0,pt=!1,mt=!0,G=!1,K=!0,q=!1,ht=!1,gt=null,_t=null,vt=!1,yt=!1,bt=!1,xt=!1,St=!0,Ct=!1,wt=`user-content-`,Tt=!0,Et=!1,Dt={},J=null,Ot=N({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),kt=null,At=N({},[`audio`,`video`,`img`,`source`,`image`,`track`]),jt=null,Mt=N({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Nt=`http://www.w3.org/1998/Math/MathML`,Pt=`http://www.w3.org/2000/svg`,Y=`http://www.w3.org/1999/xhtml`,Ft=Y,It=!1,Lt=null,Rt=N({},[Nt,Pt,Y],ge),zt=x([`mi`,`mo`,`mn`,`ms`,`mtext`]),Bt=N({},zt),Vt=x([`annotation-xml`]),Ht=N({},Vt),Ut=N({},[`title`,`style`,`font`,`a`,`script`]),Wt=null,Gt=[`application/xhtml+xml`,`text/html`],X=null,Kt=null,qt=n.createElement(`form`),Jt=function(e){return e instanceof RegExp||e instanceof Function},Yt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Kt&&Kt===e)return;(!e||typeof e!=`object`)&&(e={}),e=P(e),Wt=Gt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,X=Wt===`application/xhtml+xml`?ge:he,z=L(e,`ALLOWED_TAGS`,lt,{transform:X}),B=L(e,`ALLOWED_ATTR`,ut,{transform:X}),Lt=L(e,`ALLOWED_NAMESPACES`,Rt,{transform:ge}),jt=L(e,`ADD_URI_SAFE_ATTR`,Mt,{transform:X,base:Mt}),kt=L(e,`ADD_DATA_URI_TAGS`,At,{transform:X,base:At}),J=L(e,`FORBID_CONTENTS`,Ot,{transform:X}),H=L(e,`FORBID_TAGS`,P({}),{transform:X}),dt=L(e,`FORBID_ATTR`,P({}),{transform:X}),Dt=O(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?P(e.USE_PROFILES):e.USE_PROFILES:!1,W=e.ALLOW_ARIA_ATTR!==!1,ft=e.ALLOW_DATA_ATTR!==!1,pt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G=e.SAFE_FOR_TEMPLATES||!1,K=e.SAFE_FOR_XML!==!1,q=e.WHOLE_DOCUMENT||!1,yt=e.RETURN_DOM||!1,bt=e.RETURN_DOM_FRAGMENT||!1,xt=e.RETURN_TRUSTED_TYPE||!1,vt=e.FORCE_BODY||!1,St=e.SANITIZE_DOM!==!1,Ct=e.SANITIZE_NAMED_PROPS||!1,Tt=e.KEEP_CONTENT!==!1,Et=e.IN_PLACE||!1,ct=Oe(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Ge,Ft=typeof e.NAMESPACE==`string`?e.NAMESPACE:Y,Bt=O(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?P(e.MATHML_TEXT_INTEGRATION_POINTS):N({},zt),Ht=O(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?P(e.HTML_INTEGRATION_POINTS):N({},Vt);let t=O(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?P(e.CUSTOM_ELEMENT_HANDLING):C(null);if(V=C(null),O(t,`tagNameCheck`)&&Jt(t.tagNameCheck)&&(V.tagNameCheck=t.tagNameCheck),O(t,`attributeNameCheck`)&&Jt(t.attributeNameCheck)&&(V.attributeNameCheck=t.attributeNameCheck),O(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(V.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),S(V),G&&(ft=!1),bt&&(yt=!0),Dt&&(z=N({},Fe),B=C(null),Dt.html===!0&&(N(z,ke),N(B,Ie)),Dt.svg===!0&&(N(z,Ae),N(B,Le),N(B,ze)),Dt.svgFilters===!0&&(N(z,je),N(B,Le),N(B,ze)),Dt.mathMl===!0&&(N(z,Ne),N(B,Re),N(B,ze))),U.tagCheck=null,U.attributeCheck=null,O(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?U.tagCheck=e.ADD_TAGS:D(e.ADD_TAGS)&&(z===lt&&(z=P(z)),N(z,e.ADD_TAGS,X))),O(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?U.attributeCheck=e.ADD_ATTR:D(e.ADD_ATTR)&&(B===ut&&(B=P(B)),N(B,e.ADD_ATTR,X))),O(e,`ADD_URI_SAFE_ATTR`)&&D(e.ADD_URI_SAFE_ATTR)&&N(jt,e.ADD_URI_SAFE_ATTR,X),O(e,`FORBID_CONTENTS`)&&D(e.FORBID_CONTENTS)&&(J===Ot&&(J=P(J)),N(J,e.FORBID_CONTENTS,X)),O(e,`ADD_FORBID_CONTENTS`)&&D(e.ADD_FORBID_CONTENTS)&&(J===Ot&&(J=P(J)),N(J,e.ADD_FORBID_CONTENTS,X)),Tt&&(z[`#text`]=!0),q&&N(z,[`html`,`head`,`body`]),z.table&&(N(z,[`tbody`]),delete H.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw j(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw j(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=_;_=e.TRUSTED_TYPES_POLICY;try{v=b(``)}catch(e){throw _=t,e}}else e.TRUSTED_TYPES_POLICY===null?(_=void 0,v=``):(_===void 0&&(_=ue()),_&&typeof v==`string`&&(v=b(``)));x&&x(e),Kt=e},Xt=N({},[...Ae,...je,...Me]),Zt=N({},[...Ne,...Pe]),Qt=function(e,t,n){return t.namespaceURI===Y?e===`svg`:t.namespaceURI===Nt?e===`svg`&&(n===`annotation-xml`||Bt[n]):!!Xt[e]},$t=function(e,t,n){return t.namespaceURI===Y?e===`math`:t.namespaceURI===Pt?e===`math`&&Ht[n]:!!Zt[e]},en=function(e,t,n){return t.namespaceURI===Pt&&!Ht[n]||t.namespaceURI===Nt&&!Bt[n]?!1:!Zt[e]&&(Ut[e]||!Xt[e])},tn=function(e){let t=m(e);(!t||!t.tagName)&&(t={namespaceURI:Ft,tagName:`template`});let n=he(e.tagName),r=he(t.tagName);return Lt[e.namespaceURI]?e.namespaceURI===Pt?Qt(n,t,r):e.namespaceURI===Nt?$t(n,t,r):e.namespaceURI===Y?en(n,t,r):!!(Wt===`application/xhtml+xml`&&Lt[e.namespaceURI]):!1},Z=function(e){E(t.removed,{element:e});try{m(e).removeChild(e)}catch{if(f(e),!m(e))throw j(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},nn=function(e){an(e);let t=p(e);if(t){let e=[];T(t,t=>{E(e,t)}),T(e,e=>{try{f(e)}catch{}})}let n=re(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},Q=function(e,n){try{E(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{E(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(yt||bt)try{Z(n)}catch{}else try{n.setAttribute(e,``)}catch{}},rn=function(e){let t=re(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||B[X(i)]))try{e.removeAttribute(i)}catch{}}},an=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(h?h(e):e.nodeType)===I.element&&rn(e);let n=p(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},on=function(e){if(!K)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=h?h(e):e.nodeType;if(n===I.processingInstruction||n===I.comment&&A(Ze,e.data)){try{f(e)}catch{}continue}if(n===I.element){let t=e,n=X(g?g(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=p(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},sn=function(e){let t=null,r=null;if(vt)e=`<remove></remove>`+e;else{let t=_e(e,/^[\r\n\t ]+/);r=t&&t[0]}Wt===`application/xhtml+xml`&&Ft===Y&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=_?b(e):e;if(Ft===Y)try{t=new l().parseFromString(i,Wt)}catch{}if(!t||!t.documentElement){t=de.createDocument(Ft,`template`,null);try{t.documentElement.innerHTML=It?v:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ft===Y?Ce.call(t,q?`html`:`body`)[0]:q?t.documentElement:a},cn=function(e){let t=ie?ie(e):e.ownerDocument;return xe.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ln=function(e){return e=ve(e,M,` `),e=ve(e,Te,` `),e=ve(e,Ee,` `),e},un=function(e){e.normalize();let t=ie?ie(e):e.ownerDocument,n=xe.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=ln(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&T(i,e=>{fn(e.content)&&un(e.content)})},dn=function(e){let t=g?g(e):null;return typeof t!=`string`||X(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==re(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==h(e)||e.childNodes!==p(e)},fn=function(e){if(!h||typeof e!=`object`||!e)return!1;try{return h(e)===I.documentFragment}catch{return!1}},pn=function(e){if(!h||typeof e!=`object`||!e)return!1;try{return typeof h(e)==`number`}catch{return!1}};function $(e,n,r){e.length!==0&&T(e,e=>{e.call(t,n,r,Kt)})}let mn=function(e,t){return!!(K&&e.hasChildNodes()&&!pn(e.firstElementChild)&&A(Xe,e.textContent)&&A(Xe,e.innerHTML)||K&&e.namespaceURI===Y&&t===`style`&&pn(e.firstElementChild)||e.nodeType===I.processingInstruction||K&&e.nodeType===I.comment&&A(Ze,e.data))},hn=function(e,t,n){if(!H[t]&&bn(t)&&(V.tagNameCheck instanceof RegExp&&A(V.tagNameCheck,t)||V.tagNameCheck instanceof Function&&V.tagNameCheck(t)))return!1;if(Tt&&!J[t]){let t=m(e),r=p(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?ee(r[a],!0):r[a];t.insertBefore(i,te(e))}}}return Z(e),!0},gn=function(e,t,n,r){return e.length===0?t:t===n||t===r?P(t):t},_n=function(e,n){if($(k.beforeSanitizeElements,e,null),e!==n&&m(e)===null)return Et&&an(e),!0;if(dn(e))return Z(e),!0;let r=X(g?g(e):e.nodeName);if(z=gn(k.uponSanitizeElement,z,lt,gt),$(k.uponSanitizeElement,e,{tagName:r,allowedTags:z}),e!==n&&m(e)===null)return Et&&an(e),!0;if(mn(e,r))return Z(e),!0;if(H[r]||!(U.tagCheck instanceof Function&&U.tagCheck(r))&&!z[r]){let t=hn(e,r,n);return t===!1&&$(k.afterSanitizeElements,e,null),t}if((h?h(e):e.nodeType)===I.element&&!tn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&A(Qe,e.innerHTML))return Z(e),!0;if(G&&e.nodeType===I.text){let n=ln(e.textContent);e.textContent!==n&&(E(t.removed,{element:e.cloneNode()}),e.textContent=n)}return $(k.afterSanitizeElements,e,null),!1},vn=function(e,t,r){if(dt[t]||K&&t===`patchsrc`||K&&t===`for`&&e!==`label`&&e!==`output`||St&&(t===`id`||t===`name`)&&(r in n||r in qt))return!1;let i=B[t]||U.attributeCheck instanceof Function&&U.attributeCheck(t,e);if(!(ft&&A(it,t))&&!(W&&A(at,t))){if(!i){if(!(bn(e)&&(V.tagNameCheck instanceof RegExp&&A(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&A(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t,e))||t===`is`&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&A(V.tagNameCheck,r)||V.tagNameCheck instanceof Function&&V.tagNameCheck(r))))return!1}else if(!jt[t]&&!A(ct,ve(r,R,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&ye(r,`data:`)===0&&kt[e])&&!(pt&&!A(ot,ve(r,R,``)))&&r)return!1}return!0},yn=N({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),bn=function(e){return!yn[he(e)]&&A(st,e)},xn=function(e,t,n,r){if(_&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return b(r);case`TrustedScriptURL`:return le(r)}return r},Sn=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),dn(e)?Z(e):pe(t.removed)}catch{Q(n,e)}},Cn=function(e){$(k.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||dn(e))return;B=gn(k.uponSanitizeAttribute,B,ut,_t);let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0},r=t.length,i=X(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=X(o),u=c,d=o===`value`?u:be(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,$(k.uponSanitizeAttribute,e,n),d=n.attrValue,Ct&&(l===`id`||l===`
4name`)&&ye(d,wt)!==0&&(Q(o,e),d=wt+d),K&&A(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Q(o,e);continue}if(l===`attributename`&&_e(d,`href`)){Q(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Q(o,e);continue}if(!mt&&A($e,d)){Q(o,e);continue}if(G&&(d=ln(d)),!vn(i,l,d)){Q(o,e);continue}d=xn(i,l,s,d),d!==u&&Sn(e,o,s,d)}}$(k.afterSanitizeAttributes,e,null)},wn=function(e){let t=null,n=cn(e);for($(k.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if($(k.uponSanitizeShadowNode,t,null),_n(t,e),Cn(t),fn(t.content)&&wn(t.content),(h?h(t):t.nodeType)===I.element){let e=ne(t);fn(e)&&(Tn(e),wn(e))}$(k.afterSanitizeShadowDOM,e,null)},Tn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){wn(e.shadow);continue}let n=e.node,r=(h?h(n):n.nodeType)===I.element,i=p(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=g?g(n):null;if(typeof e==`string`&&X(e)===`template`){let e=n.content;fn(e)&&t.push({node:e,shadow:null})}}if(r){let e=ne(n);fn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(It=!e,It&&(e=`<!-->`),typeof e!=`string`&&!pn(e)&&(e=De(e),typeof e!=`string`))throw j(`dirty is not a string, aborting`);if(!t.isSupported)return e;ht?(z=gt,B=_t):Yt(n),(k.uponSanitizeElement.length>0||k.uponSanitizeAttribute.length>0)&&(z=P(z)),k.uponSanitizeAttribute.length>0&&(B=P(B)),t.removed=[];let c=Et&&typeof e!=`string`&&pn(e);if(c){on(e);let t=g?g(e):e.nodeName;if(typeof t==`string`){let n=X(t);if(!z[n]||H[n])throw nn(e),j(`root node is forbidden and cannot be sanitized in-place`)}if(dn(e))throw nn(e),j(`root node is clobbered and cannot be sanitized in-place`);try{Tn(e)}catch(t){throw nn(e),t}}else if(pn(e))i=sn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===I.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Tn(a);else{if(!yt&&!G&&!q&&e.indexOf(`<`)===-1)return _&&xt?b(e):e;if(i=sn(e),!i)return yt?null:xt?v:``}i&&vt&&Z(i.firstChild);let l=c?e:i;try{let e=cn(l);for(;o=e.nextNode();)_n(o,l),Cn(o),fn(o.content)&&wn(o.content)}catch(n){throw c&&(nn(e),T(t.removed,e=>{e.element&&an(e.element)})),n}if(c)return T(t.removed,e=>{e.element&&an(e.element)}),G&&un(e),e;if(yt){if(G&&un(i),bt)for(s=Se.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(B.shadowroot||B.shadowrootmode)&&(s=we.call(r,s,!0)),s}let u=q?i.outerHTML:i.innerHTML;return q&&z[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&A(Je,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`> 5`+u),G&&(u=ln(u)),_&&xt?b(u):u},t.setConfig=function(){Yt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),ht=!0,gt=z,_t=B},t.clearConfig=function(){Kt=null,ht=!1,gt=null,_t=null,_=ae,v=``},t.isValidAttribute=function(e,t,n){return Kt||Yt({}),vn(X(e),X(t),n)},t.addHook=function(e,t){typeof t==`function`&&O(k,e)&&E(k[e],t)},t.removeHook=function(e,t){if(O(k,e)){if(t!==void 0){let n=fe(k[e],t);return n===-1?void 0:me(k[e],n,1)[0]}return pe(k[e])}},t.removeHooks=function(e){O(k,e)&&(k[e]=[])},t.removeAllHooks=function(){k=nt()},t}var it=rt(),at={ALLOWED_TAGS:[`b`,`center`,`pre`,`br`],ALLOWED_ATTR:[]};window.BannowebReportData=class extends n{static get is(){return`bannoweb-report-data`}static get properties(){return{data:{type:String}}}constructor(){super(),this.data=null}get split(){let e=Math.ceil(this.data.length/132),t=[];for(let n=0;n<e;n++){let e=n*132,r=e+132;r>this.data.length?t.push(this.data.substring(e)):t.push(this.data.substring(e,r))}return t.join(` 6`)}get processed(){let e=``;return e=typeof this.data==`string`?this.data.length>132?this.split:this.data:this.data.filter(e=>e!==``).join(` 7`),it.sanitize(e,at)}static get styles(){return[t`.overflow{overflow-x:auto}.tabular{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;line-height:1.5;overflow:hidden}.tabular pre{text-wrap:initial}@media screen and (width<=768px){.tabular{white-space:break-spaces;word-break:break-word;min-width:900px}}`]}
7render(){return r`<div class="overflow"><div class="tabular">${this.data?p(this.processed):null}</div></div>`}},customElements.define(window.BannowebReportData.is,window.BannowebReportData),window.BannowebReportData;var ot=u.store.accounts,R={UP:`UP`,DOWN:`DOWN`,NONE:`NONE`};window.BannowebReportTable=class extends n{static get is(){return`bannoweb-report-table`}static get properties(){return{accounts:{type:Object},data:{type:Array},columns:{type:Array},columnClasses:{type:Map},current:{type:Number},formatter:{type:Map},perPage:{type:Number},sortDirection:{type:String},sortIndex:{type:Number},showGroupHeaders:{type:Boolean},hideColumns:{type:Array},headerRows:{type:Map},totals:{type:Array}}}constructor(){super(),e(()=>import(`./icon-circle-exclamation-CPV1Eg_u.js`).then(e=>e.t),[]),e(()=>import(`./icon-chevron-left-small-CcjQaLud.js`),[]),e(()=>import(`./icon-chevron-right-small-BraCudZ4.js`).then(e=>e.t),[]),e(()=>import(`./icon-arrow-up-arrow-down-Ba9Od6CM.js`).then(e=>e.t),[]),e(()=>import(`./icon-arrow-down-small-DafpaQZS.js`).then(e=>e.t),[]),e(()=>import(`./icon-arrow-up-small-Bb3Rvhm1.js`).then(e=>e.t),[]),this.accounts=ot,this.data=[],this.totals=[],this.columns=[],this.current=1,this.perPage=21,this.sortDirection=R.UP,this.sortIndex=null,this.columnClasses=new Map,this.formatter=new Map,this.hideColumns=[],this.showGroupHeaders=!1,this.headerRows=new Map}get records(){if(!Array.isArray(this.data)||this.data.length===0)return[];let e=this.columns.indexOf(`Account`),t=[];if(e===-1)t=this.sortIndex===null?this.data:this.data.sort((e,t)=>this.compareValues(e[this.sortIndex],t[this.sortIndex]));else{let n=this.data.reduce((t,n)=>{let r=n[e];return t[r]||(t[r]=[]),t[r].push(n),t},{}),r=Object.keys(n).length,i=Object.keys(n).reverse().flatMap(e=>n[e].sort((e,t)=>this.compareValues(e[this.sortIndex],t[this.sortIndex]))),a=null;for(let n=0;n<i.length;n++){let o=i[n],s=o[e];if(s!==a){if(a!==null){let n=this.data.find(t=>t[e].includes(`Account total (${a.trim()})`));n&&t.push(n)}if(this.showGroupHeaders&&r>1){let e=n+this.getRowOffset,t=[...this.headerRows.values()],r=this.accounts.items.find(e=>e.name.trim()===s.trim());r&&!this.headerRows.get(e)&&!t.includes(`${s.trim()} ${r.numbers}`)&&this.headerRows.set(e,`${s.trim()} ${r.numbers}`)}a=s}if(t.push(o),i.length-1===n&&r>1){let n=this.data.find(t=>t[e].includes(`Account total (${a.trim()})`));n&&t.push(n)}}}let n=[];for(let e=0;e<t?.length;e+=this.perPage)n.push(t.slice(e,e+this.perPage));return n}get max(){return this.records.length}get canPrevious(){return this.current>1}get canNext(){return this.current<this.max}get getRowOffset(){return(this.current-1)*this.perPage}compareValues(e,t){return this.sortDirection===R.UP?e>t?1:e<t?-1:0:e<t?1:e>t?-1:0}handlePrevious(e){e.preventDefault(),this.current=this.current>1?this.current-1:1}handleNext(e){e.preventDefault(),this.current=this.current<this.max?this.current+1:this.max}handleSort(e){this.current=1,this.sortIndex=e,this.sortDirection=this.sortDirection===R.UP?R.DOWN:R.UP}renderSortDirection(e){return this.sortIndex===e?this.sortDirection===R.DOWN?r`<jh-icon-arrow-down-small></jh-icon-arrow-down-small>`:r`<jh-icon-arrow-up-small></jh-icon-arrow-up-small>`:r`<jh-icon-arrow-up-arrow-down></jh-icon-arrow-up-arrow-down>`}renderHead(e,t){if(!this.hideColumns.includes(t))return r`<th class="${this.columnClasses?.get(t)??``}"> <button @click="${()=>this.handleSort(t)}" class="${`${this.sortIndex===t?`is-active`:`is-not-active`} sorter`}"> ${e} <span class="sort-icon">${this.renderSortDirection(t)}</span> </button> </th>`}renderColumn(e,t){if(this.hideColumns.includes(t))return;if(e===``)return r`<td></td>`;let n=this.columnClasses?.get(t)??``;return this.formatter&&this.formatter.has(t)&&e!==null&&!e?.toString().includes(`Total`)&&(e=this.formatter.get(t)(e)),typeof e==`string`?r`<td class="${n}"> ${e.split(` 8`).map(e=>r`${e} <br>`)} </td>`:r`<td class="${n}">${e}</td>`}static get styles(){return[t`.base{gap:16px;padding-top:16px;display:grid}.table{overflow-x:auto}table{border-spacing:0;border-collapse:collapse;text-align:left;table-layout:auto;padding-top:16px}th{background-color:var(--secondary-content-background-color);padding:11px 12px}.sorter{appearance:none;color:var(--body-text-secondary-color);font-family:var(--jha-base-font-family);text-align:left;background:0 0;border:none;justify-content:flex-start;align-items:center;gap:5px;padding:0;font-size:12px;font-weight:500;display:inline-flex}.sorter:hover{cursor:pointer}.sort-icon{opacity:0;line-height:0}
8.sorter:hover .sort-icon,.sorter.is-active .sort-icon{opacity:1}.sorter.is-active{color:var(--body-text-theme-color)}.sorter.is-active .sort-icon jh-icon-arrow-down-small,.sorter.is-active .sort-icon jh-icon-arrow-up-small{fill:var(--body-text-theme-color)}.sort-icon jh-icon-arrow-up-arrow-down,.sort-icon jh-icon-arrow-down-small,.sort-icon jh-icon-arrow-up-small{width:16px}td{border-bottom:1px solid var(--divider-default-color);vertical-align:top;white-space:nowrap;padding:6px 12px;font-size:12px;font-weight:400;line-height:24px}.alert{justify-content:flex-start;align-items:center;gap:10px;display:none}.pagination{justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:400;display:flex}.pagination button{appearance:none;background:0 0;border:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:flex}.pagination button jh-icon-chevron-left-small,.pagination button jh-icon-chevron-right-small{fill:var(--link-button-text-color)}.pagination button[disabled] jh-icon-chevron-left-small,.pagination button[disabled] jh-icon-chevron-right-small{fill:var(--link-button-text-disabled-color)}.pagination button:hover{cursor:pointer}.red{color:var(--body-text-alert-color)}.right-align{text-align:right}.right-align button{flex-direction:row-reverse;display:inline-flex}.heading{font-weight:800}table{min-width:980px}tbody .total td,tfoot td{border:none;font-weight:600}@container container-data (width>=1025px) and (width<=1200px){.table{max-width:calc(100vw - 320px)}}@media screen and (width>=835px) and (width<=1024px){.table{max-width:calc(100vw - 94px)}}@media screen and (width>=769px) and (width<=834px){.table{max-width:calc(100vw - 64px)}}`]}render(){return r`<div class="base"> <div class="table"> <div class="alert"> <jh-icon-circle-exclamation></jh-icon-circle-exclamation> ${`This report contains balance information, float information, and activity totals for the previous business day.`} </div> <table> <thead> <tr> ${this.columns?.map((e,t)=>this.renderHead(e,t))} </tr> </thead> <tbody> ${this.records[this.current-1]?.map((e,t)=>r`${this.headerRows.get(t+this.getRowOffset)?r`<tr> <td class="heading" colspan="999"> ${this.headerRows.get(t+this.getRowOffset)} </td> </tr>`:``} <tr class="${e[0].toString().includes(`total`)?`total`:`normal`}"> ${e.map((e,t)=>this.renderColumn(e,t))} </tr>`)} </tbody> ${this.totals&&this.current===this.max?r`<tfoot> <tr> ${this.totals.map((e,t)=>this.renderColumn(e,t))} </tr> </tfoot>`:``} </table> </div> ${this.max>1?r`<div class="pagination"> <button @click="${this.handlePrevious}" .disabled="${!this.canPrevious}"> <jh-icon-chevron-left-small></jh-icon-chevron-left-small> </button> <div>${this.current}/${this.max}</div> <button @click="${this.handleNext}" .disabled="${!this.canNext}"> <jh-icon-chevron-right-small></jh-icon-chevron-right-small> </button> </div>`:null} </div>`}},customElements.define(window.BannowebReportTable.is,window.BannowebReportTable),window.BannowebReportTable,window.BannowebReportFiltersActions=class extends n{static get is(){return`bannoweb-report-filters-actions`}static get properties(){return{report:{type:String},filters:{type:Object},subReports:{type:Object}}}constructor(){super(),e(()=>import(`./icon-ellipsis-c4VadJ6L.js`).then(e=>e.t),[]),e(()=>import(`./icon-pencil-BBviniUl.js`),[]),e(()=>import(`./icon-arrow-down-to-bracket-BHWoiS3z.js`),[]),this.report=``,this.filters=null,this.subReports=null}async handleOpenSave(){let{default:t}=await e(async()=>{let{default:e}=await import(`./bannoweb-reports-save-dialog-CC0cDyBm.js`);return{default:e}},[]),n=new t;n.filters=this.filters,n.report=this.report,n.subReports=this.subReports,this.dispatchEvent(new l(n,[`aria-label`,`Transaction details`]))}async handleDownload(){this.dispatchEvent(new CustomEvent(`download`,{composed:!0,bubbles:!0}))}get isPriorDayDetails(){return this.subReports?.priorDay===s.SUB_REPORT_TYPES_PRIOR_DAY.DETAILS}get shouldRenderSaveReportAction(){return!this.isPriorDayDetails}static get styles(){return[t`.action{background:0 0;border:none;justify-content:space-between;align-items:center;gap:8px;padding:16px;font-family:roboto;font-size:14px;font-weight:400;display:flex}
8jh-icon-ellipsis{fill:var(--body-text-secondary-color)}jha-dropdown-toggle{border:1px solid var(--divider-alternative-color);border-radius:4px;width:46px;height:46px}jha-dropdown-menu{background:var(--primary-content-background-color)}.action{color:var(--body-text-primary-color)}.action jh-icon-pencil,.action jh-icon-arrow-down-to-bracket{fill:var(--body-text-theme-color)}.action:hover{cursor:pointer}`]}render(){return r`<jha-dropdown adjust-to-page-bottom=""> <jha-dropdown-toggle slot="toggle" .aria-label="${`View More`}"> <jh-icon-ellipsis></jh-icon-ellipsis> </jha-dropdown-toggle> <jha-dropdown-menu> ${this.shouldRenderSaveReportAction?r`<jha-dropdown-menu-item> <button @click="${this.handleOpenSave}" class="action edit"> <jh-icon-pencil></jh-icon-pencil> ${`Save report`} </button> </jha-dropdown-menu-item>`:``} <jha-dropdown-menu-item> <button @click="${this.handleDownload}" class="action"> <jh-icon-arrow-down-to-bracket></jh-icon-arrow-down-to-bracket> ${`Download report`} </button> </jha-dropdown-menu-item> </jha-dropdown-menu> </jha-dropdown>`}},customElements.define(window.BannowebReportFiltersActions.is,window.BannowebReportFiltersActions),window.BannowebReportFiltersActions,window.BannowebReportFiltersMoreOptions=class extends n{static get is(){return`bannoweb-report-filters-more-options`}static get properties(){return{report:{type:String},subReports:{type:Object},reportType:{type:Number},transactionType:{type:String},transactionTypeEdi:{type:Number},activityType:{type:String},fromAmount:{type:Number},toAmount:{type:Number},startCheckNumber:{type:String},endCheckNumber:{type:String},exceptionReason:{type:String},status:{type:String},beginDate:{type:Date},endDate:{type:Date},datePeriod:{type:String}}}constructor(){super(),e(()=>import(`./icon-sliders-CuANG8sJ.js`).then(e=>e.t),[]),this.report=``,this.subReports=null,this.reportType=0,this.transactionType=null,this.transactionCodes=[],this.transactionTypeEdi=0,this.activityType=``,this.fromAmount=0,this.toAmount=0,this.startCheckNumber=0,this.endCheckNumber=0,this.status=``,this.exceptionReason=``,this.beginDate=new Date,this.endDate=new Date,this.datePeriod=null}async handleOpenMore(){let{default:t}=await e(async()=>{let{default:e}=await import(`./bannoweb-reports-filter-more-dialog-h1r8OcAD.js`);return{default:e}},[]),n=new t;n.report=this.report,n.subReports=this.subReports,n.internalFilters={activityType:this.activityType,exceptionReason:this.exceptionReason,endCheckNumber:this.endCheckNumber,fromAmount:this.fromAmount,reportType:this.reportType,toAmount:this.toAmount,startCheckNumber:this.startCheckNumber,transactionType:this.transactionType,transactionCodes:this.transactionCodes,transactionTypeEdi:this.transactionTypeEdi,beginDate:this.beginDate,endDate:this.endDate,datePeriod:this.datePeriod},n.addEventListener(`filterbatch`,e=>{this.dispatchEvent(new CustomEvent(`filterbatch`,{composed:!0,bubbles:!0,detail:e.detail}))}),n.addEventListener(`subReport`,e=>{this.dispatchEvent(new CustomEvent(`subReport`,{composed:!0,bubbles:!0,detail:e.detail}))}),this.dispatchEvent(new l(n,[`aria-label`,`Transaction details`]))}static get styles(){return[t`.button{appearance:none;border:1px solid var(--divider-alternative-color);background:0 0;border-radius:4px;justify-content:center;align-items:center;width:48px;height:48px;padding:0;display:flex}.icon{fill:var(--body-text-secondary-color);width:24px;height:24px}`]}render(){return r`<button @click="${this.handleOpenMore}" class="button"> <jh-icon-sliders class="icon"></jh-icon-sliders> </button>`}},customElements.define(window.BannowebReportFiltersMoreOptions.is,window.BannowebReportFiltersMoreOptions),window.BannowebReportFiltersMoreOptions,window.BannowebReportFilterPrioDaySubReport=class extends n{static get is(){return`bannoweb-report-filter-prior-day-sub-report`}static get properties(){return{type:{type:String}}}constructor(){super(),e(()=>import(`./icon-chart-bar-ozux39Gi.js`),[]),e(()=>import(`./icon-list-ul-BrCaUD18.js`),[]),this.type=s.SUB_REPORT_TYPES_PRIOR_DAY.SUMMARY}onInputChange(e){let t=e.target.value;this.dispatchEvent(new CustomEvent(`subReport`,{composed:!0,bubbles:!0,detail:{priorDay:t}}))}static get styles(){return[t`.buttons{border:1px solid var(--link-button-text-color);border-radius:var(--button-corner-radius);color:var(--link-button-text-color);display:flex;overflow:hidden}.button-radio{color:inherit;flex:1;align-items:center;gap:8px;height:46px;padding:0 16px;text-decoration:none;display:flex}.button-radio:hover,.button-radio:focus,.button-radio:focus-within{background:var(--default-button-focused-color);cursor:pointer}.button-radio:focus-within{outline:auto 1px var(--primary-button-color);outline-offset:1px}.button-radio input{position:absolute;
8left:-999999px}.button-radio:first-child{border-right:1px solid var(--link-button-text-color)}.button-radio:has(input:checked){background:var(--default-button-pressed-color)}.button-radio .icon{fill:var(--link-button-text-color)}@media screen and (width<=768px){:host{display:contents}.buttons{grid-column:span 6}}@media screen and (width<=510px){.buttons{flex:100%}}`]}render(){return r`<div class="buttons"> <label for="type-summary" class="button-radio"> <jh-icon-chart-bar class="icon"></jh-icon-chart-bar> ${`Summary`} <input id="type-summary" type="radio" name="type" .value="${s.SUB_REPORT_TYPES_PRIOR_DAY.SUMMARY}" .checked="${this.type===`summary`}" @input="${this.onInputChange}"> </label> <label for="type-details" class="button-radio"> <jh-icon-list-ul class="icon"></jh-icon-list-ul> ${`Details`} <input id="type-details" type="radio" name="type" value="${s.SUB_REPORT_TYPES_PRIOR_DAY.DETAILS}" .checked="${this.type===`details`}" @input="${this.onInputChange}"> </label> </div>`}},customElements.define(window.BannowebReportFilterPrioDaySubReport.is,window.BannowebReportFilterPrioDaySubReport),window.BannowebReportFilterPrioDaySubReport;var st=u.store.accounts;window.BannowebReportFiltersSelectAccountDropdown=class extends n{static get is(){return`bannoweb-report-filters-select-account-dropdown`}static get properties(){return{account:{type:String}}}constructor(){super(),this.accounts=st,this.account=``}onInputChange(e){let t=e.detail.value;this.dispatchEvent(new CustomEvent(`filter`,{composed:!0,bubbles:!0,detail:{name:`accountIds`,value:[t]}}))}get options(){return this.accounts.items.map(e=>({value:e.id,name:`${e.name} (${e.numbers})`,disabled:!1}))}static get styles(){return[t`.group{--jha-form-floating-group-margin-bottom:0;margin:-12px 0 0}.select{--jha-select-text-size:16px;--jha-select-text:var(--body-text-primary-color);--jha-select-height:48px;width:100%}.label{z-index:2}`]}render(){return r`<jha-form-floating-group outline has-value class="group"> <jha-select class="select" empty-option-label="${`Select account`}" .options="${this.options}" .selectedValue="${this.account}" @selected-value-changed="${this.onInputChange}"></jha-select> <div class="label select-label">${`Account`}</div> </jha-form-floating-group>`}},customElements.define(window.BannowebReportFiltersSelectAccountDropdown.is,window.BannowebReportFiltersSelectAccountDropdown),window.BannowebReportFiltersSelectAccountDropdown;var ct=u.store.accounts;window.BannowebReportFiltersSelectAccounts=class extends n{static get is(){return`bannoweb-report-filters-select-accounts`}static get properties(){return{accountIds:{value:``,type:String},report:{value:``,type:String}}}constructor(){super(),e(()=>import(`./icon-chevron-right-small-BraCudZ4.js`).then(e=>e.t),[]),this.accountsCollection=ct,this.accountIds=[],this.report=``,this.handleAccountsSelected()}handleAccountsSelected(){let e=new URL(window.location.href).searchParams.get(`accountIds`)?.split(`,`)||[];this.dispatchEvent(new CustomEvent(`filter`,{bubbles:!0,detail:{name:`accountIds`,value:e}}))}get label(){return this.accountsCollection.items.filter(e=>this.accountIds.includes(e.id)).map(e=>`${e.name} (${e.numbers})`).join(`, `)}get queryString(){return this.accountIds.join(`,`)}goToSelectAccounts(){c.go(`/reports/${this.report}/accounts?accountIds=${this.queryString}`)}static get styles(){return[t`.button{appearance:none;border:1px solid var(--divider-alternative-color);color:var(--body-text-secondary-color);font-family:var(--jha-base-font-family);background:0 0;border-radius:4px;justify-content:space-between;align-items:center;width:100%;height:48px;padding:16px;font-size:16px;display:inline-flex}span{text-wrap:nowrap;text-overflow:ellipsis;text-align:left;flex:1;overflow:hidden}.icon{fill:var(--body-text-secondary-color);width:24px;height:24px}`]}render(){return r`<button wide="" class="button" type="button" @click="${this.goToSelectAccounts}"> <span>${this.accountIds?this.label:`Select accounts`}</span> <jh-icon-chevron-right-small class="icon"></jh-icon-chevron-right-small> </button>`}},customElements.define(window.BannowebReportFiltersSelectAccounts.is,window.BannowebReportFiltersSelectAccounts),window.BannowebReportFiltersSelectAccounts;var z=`edi-pending-date-type`,lt=te(n);window.BannowebReportFiltersSelectDate=class extends lt{static get is(){return`bannoweb-report-filters-select-date`}static get properties(){return{beginDate:{type:Date},endDate:{type:Date},datePeriod:{type:String},isEdiReport:{type:Boolean},pendingDateTypeFlagEnabled:{type:Boolean}}}constructor(){super(),e(()=>import(`./icon-calendar-range-DKaXB9nQ.js`),[]),this.beginDate=new Date,this.endDate=new Date,this.datePeriod=null,this.isEdiReport=!1,this.pendingDateTypeFlagEnabled=!1,d.evaluate(z).then(e=>{this.pendingDateTypeFlagEnabled=e})}onDateSelect(e){let t=e.detail.selectedOption.date,n=e.detail.selectedOption.secondary,r=e.detail.selectedOption.key||null;this.dispatchEvent(new CustomEvent(`filterbatch`,{composed:!0,bubbles:!0,detail:{beginDate:t,endDate:n,datePeriod:r}}))}formatDate(e){return new Date(e).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`})}get beginDateFormatted(){return this.formatDate(this.beginDate)}get endDateFormatted(){return this.formatDate(this.endDate)}get dateLabel(){return ne(this.datePeriod)?m(this.datePeriod):`${this.beginDateFormatted} â ${this.endDateFormatted}`}async handleOpenDateSelect(){let{default:t,EVENT_TYPES:n}=await e(async()=>{let{default:e,EVENT_TYPES:t}=await import(`./bannoweb-date-range-dialog-Br44JktJ.js`);return{default:e,EVENT_TYPES:t}},[]),r=new t;r.maxMonthsDisplayed=72,(!this.isEdiReport||!this.pendingDateTypeFlagEnabled)&&(r._dateOptions=r._dateOptions.filter(e=>e.key!==`pending`)),r.addEventListener(n.DATE_SELECT,this.onDateSelect.bind(this)),this.dispatchEvent(new l(r,[`aria-label`,`Select Dates`]))}static get styles(){return[t`.button{appearance:none;
8border:1px solid var(--divider-alternative-color);color:var(--body-text-secondary-color);font-family:var(--jha-base-font-family);background:0 0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;height:48px;padding:16px;font-size:14px;display:inline-flex}.icon{fill:var(--body-text-secondary-color);width:24px;height:24px}@media screen and (width<=768px){:host{grid-column:span 6}.button{width:100%}}`]}render(){return r`<button class="button" @click="${this.handleOpenDateSelect}"> <jh-icon-calendar-range class="icon"></jh-icon-calendar-range> ${this.dateLabel} </button>`}},customElements.define(window.BannowebReportFiltersSelectDate.is,window.BannowebReportFiltersSelectDate),window.BannowebReportFiltersSelectDate,window.BannowebReportFilterSelectEDIInformation=class extends n{static get is(){return`bannoweb-report-filter-select-edi-information`}static get properties(){return{type:{type:String}}}constructor(){super(),this.type=s.SUB_REPORT_TYPES_EDI.SUMMARY}onInputChange(e){let t=e.detail.value;this.dispatchEvent(new CustomEvent(`subReport`,{composed:!0,bubbles:!0,detail:{edi:t}}))}get options(){return[{value:s.SUB_REPORT_TYPES_EDI.SUMMARY,name:`Summary`},{value:s.SUB_REPORT_TYPES_EDI.DETAILS,name:`Detail`},{value:s.SUB_REPORT_TYPES_EDI.NACHA,name:`NACHA`}]}static get styles(){return[t`.group{--jha-form-floating-group-margin-bottom:0;margin:-12px 0 0}.select{--jha-select-text-size:16px;--jha-select-text:var(--body-text-primary-color);--jha-select-height:48px;width:100%;min-width:190px}.label{z-index:2}@media screen and (width<=768px){:host{grid-column:span 6}}`]}render(){return r`<jha-form-floating-group outline has-value class="group"> <jha-select class="select" empty-option-label="${`Select`}" .options="${this.options}" .selectedValue="${this.type}" @selected-value-changed="${this.onInputChange}"></jha-select> <div class="label select-label">${`EDI Information`}</div> </jha-form-floating-group>`}},customElements.define(window.BannowebReportFilterSelectEDIInformation.is,window.BannowebReportFilterSelectEDIInformation),window.BannowebReportFilterSelectEDIInformation,window.BannowebReportFilterSelectPositivePayReport=class extends n{static get is(){return`bannoweb-report-filter-select-positive-pay-sub-report`}static get properties(){return{subReport:{type:String}}}constructor(){super(),this.subReport=s.SUB_REPORT_TYPES_POSITIVE_PAY.ITEMS}onInputChange(e){let t=e.detail.value;this.dispatchEvent(new CustomEvent(`subReport`,{composed:!0,bubbles:!0,detail:{positivePay:t}}))}get options(){return[{value:s.SUB_REPORT_TYPES_POSITIVE_PAY.ITEMS,name:`Items`},{value:s.SUB_REPORT_TYPES_POSITIVE_PAY.MAINTENANCE,name:`Items maintenance`},{value:s.SUB_REPORT_TYPES_POSITIVE_PAY.EXCEPTIONS,name:`Items exceptions`}]}static get styles(){return[t`.group{--jha-form-floating-group-margin-bottom:0;margin:-12px 0 0}.select{--jha-select-text-size:16px;--jha-select-text:var(--body-text-primary-color);--jha-select-height:48px;width:100%;min-width:190px}.label{z-index:2}@media screen and (width<=768px){:host{grid-column:span 6}}`]}render(){return r`<jha-form-floating-group outline has-value class="group"> <jha-select class="select" empty-option-label="${`Select`}" .options="${this.options}" .selectedValue="${this.subReport}" @selected-value-changed="${this.onInputChange}"></jha-select> <div class="label select-label">${`Report`}</div> </jha-form-floating-group>`}},customElements.define(window.BannowebReportFilterSelectPositivePayReport.is,window.BannowebReportFilterSelectPositivePayReport),window.BannowebReportFilterSelectPositivePayReport,window.BannowebReportFilters=class extends n{static get is(){return`bannoweb-report-filters`}static get properties(){return{report:{type:String},filters:{type:Object},subReports:{type:Object},type:{type:String},loading:{type:Boolean,value:!1}}}constructor(){super(),this.report=``,this.filters=null,this.subReports=null,this.type=``,this.loading=!1}get isSummaryReport(){return this.report===s.REPORTS.SUMMARY}get isEdiReport(){return this.report===s.REPORTS.EDI}get isEdiReportSummary(){return this.isEdiReport&&this.subReports.edi===s.SUB_REPORT_TYPES_EDI.SUMMARY}get isEdiNachaReport(){return this.isEdiReport&&this.subReports.edi===s.SUB_REPORT_TYPES_EDI.NACHA}get isActivityReport(){return this.report===s.REPORTS.ACTIVITY}get isCurrentDayReport(){return this.report===s.REPORTS.CURRENT_DAY}get isPriorDayReport(){return this.report===s.REPORTS.PRIOR_DAY}get isPriorDayReportDetails(){return this.report===s.REPORTS.PRIOR_DAY&&this.subReports.priorDay===s.SUB_REPORT_TYPES_PRIOR_DAY.DETAILS}get isPriorDayReportSummary(){return this.report===s.REPORTS.PRIOR_DAY&&this.subReports.priorDay===s.SUB_REPORT_TYPES_PRIOR_DAY.SUMMARY}get isPositivePayReport(){return this.report===s.REPORTS.POSITIVE_PAY}get isPositivePayReportItems(){return this.report===s.REPORTS.POSITIVE_PAY&&this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.ITEMS}get isPositivePayReportMaintenance(){return this.report===s.REPORTS.POSITIVE_PAY&&this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.MAINTENANCE}get isPositivePayReportExceptions(){return this.report===s.REPORTS.POSITIVE_PAY&&this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.EXCEPTIONS}get shouldRenderActions(){return(this.isActivityReport||this.isSummaryReport||this.isEdiReport||this.isPositivePayReport||this.isPriorDayReportDetails)&&!this.isEdiNachaReport}get buttonLabel(){return this.isEdiNachaReport?`Download`:`Update`}
8renderDateSelector(){return r`<bannoweb-report-filters-select-date .beginDate="${this.filters.beginDate}" .endDate="${this.filters.endDate}" .datePeriod="${this.filters.datePeriod}" ?isEdiReport="${this.isEdiReport}"></bannoweb-report-filters-select-date>`}renderMoreOptions(){return r`<bannoweb-report-filters-more-options .report="${this.report}" .subReports="${this.subReports}" .reportType="${this.filters.reportType}" .transactionType="${this.filters.transactionType}" .transactionCodes="${this.filters.transactionCodes}" .transactionTypeEdi="${this.filters.transactionTypeEdi}" .toAmount="${this.filters.toAmount}" .fromAmount="${this.filters.fromAmount}" .startCheckNumber="${this.filters.startCheckNumber}" .endCheckNumber="${this.filters.endCheckNumber}" .status="${this.filters.status}" .exceptionReason="${this.filters.exceptionReason}" .beginDate="${this.filters.beginDate}" .endDate="${this.filters.endDate}" .datePeriod="${this.filters.datePeriod}"></bannoweb-report-filters-more-options>`}renderSelectEDIInformation(){return r`
8<bannoweb-report-filter-select-edi-information .type="${this.subReports.edi}"></bannoweb-report-filter-select-edi-information>`}renderActions(){return r`<bannoweb-report-filters-actions .report="${this.report}" .subReports="${this.subReports}" .filters="${this.filters}"></bannoweb-report-filters-actions>`}renderSelectAccount(){return r`<div class="fill-up-space"> <bannoweb-report-filters-select-account-dropdown .account="${this.filters.accountIds[0]}"></bannoweb-report-filters-select-account-dropdown> </div>`}renderSelectAccounts(){return r`<div class="fill-up-space"> <bannoweb-report-filters-select-accounts .report="${this.report}" .accountIds="${this.filters.accountIds}"></bannoweb-report-filters-select-accounts> </div>`}renderSelectPositivePaySubReport(){return r`<bannoweb-report-filter-select-positive-pay-sub-report .subReport="${this.subReports.positivePay}"></bannoweb-report-filter-select-positive-pay-sub-report>`}renderSelectPriorDaySubReport(){return r`<bannoweb-report-filter-prior-day-sub-report .type="${this.subReports.priorDay}"></bannoweb-report-filter-prior-day-sub-report>`}static get styles(){return[t` .filters { 9 align-items: center; 10 display: flex; 11 justify-content: flex-start; 12 gap: 16px; 13 padding-top: 24px; 14 padding-left: 24px; 15 padding-right: 24px; 16 } 17 .button { 18 --jha-button-height: 48px; 19 } 20 .fill-up-space { 21 flex: 1; 22 width: 1px; 23 } 24 .select { 25 --jha-select-text-size: 16px; 26 --jha-select-text: var(--body-text-primary-color); 27 } 28 bannoweb-report-filters-select-date, 29 bannoweb-report-filter-select-edi-information, 30 bannoweb-report-filter-select-positive-pay-sub-report { 31 display: block; 32 } 33 @media screen and (max-width: 768px) { 34 .filters { 35 flex-wrap: wrap; 36 } 37 .button { 38 --jha-button-width: 100%; 39 flex: 1 100%; 40 } 41 bannoweb-report-filters-select-date, 42 bannoweb-report-filter-select-edi-information, 43 bannoweb-report-filter-select-positive-pay-sub-report { 44 display: none; 45 } 46 bannoweb-report-filters-actions, 47 bannoweb-report-filters-more-options { 48 grid-column span 1; 49 justify-self: end; 50 } 51 } 52 53 @media screen and (max-width: 510px) { 54 .fill-up-space { 55 flex: 1 100%; 56 } 57 } `]}render(){return r`<form class="filters"> ${this.isPositivePayReport?this.renderSelectPositivePaySubReport():null} ${this.isPriorDayReport?this.renderSelectPriorDaySubReport():null} ${this.isPriorDayReportSummary||this.isCurrentDayReport||this.isEdiReport?this.renderSelectAccount():null} ${this.isEdiReport?this.renderSelectEDIInformation():null} ${this.isSummaryReport||this.isPositivePayReport||this.isActivityReport?this.renderSelectAccounts():null} ${this.isSummaryReport||this.isEdiReport||this.isPositivePayReport||this.isActivityReport?this.renderDateSelector():null} ${this.isSummaryReport&&i.isMobile()?this.renderMoreOptions():null} ${this.isActivityReport||this.isEdiReport||this.isPositivePayReport?this.renderMoreOptions():null} ${this.shouldRenderActions?this.renderActions():null} <jha-button type="submit" class="button" sync .isLoading="${this.loading}"> ${this.buttonLabel} </jha-button> </form>`}},customElements.define(window.BannowebReportFilters.is,window.BannowebReportFilters),window.BannowebReportFilters;var B=u.store.accounts,ut=`last7Days`,V=2,H=[`beginDate`,`endDate`,`startCheckNumber`,`endCheckNumber`,`transactionType`,`fromAmount`,`toAmount`],dt={Unknown:0,All:1,Debits:2,Credits:3},U=e=>{let t=new Intl.NumberFormat(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2}).format(e);return e<0?`(${t})`:`${t}`};function W(e){let t=new Date(e);return t.setHours(0,0,0,0),t}var ft=ee(n,`fadeinup`);window.BannowebReport=class extends ft{static get is(){return`bannoweb-report`}static get properties(){return{accounts:{type:Object},cache:{type:String},loading:{type:Boolean},firstLoading:{type:Boolean},resolvingPeriod:{type:Boolean},renderer:{type:String},report:{type:String},hasAccess:{type:Boolean},error:{type:Boolean},type:{type:String},filters:{type:Object},subReports:{type:Object},columns:{type:Array},hideColumns:{type:Array},formatter:{type:Map},columnClasses:{type:Map},showGroupHeaders:{type:Boolean},sortIndex:{type:Number},activeKey:{type:String}}}constructor(){super(),this.accounts=B,this.cache={},this.cacheTotals={},this.columns=[],this.hideColumns=[],this.controller=u.reportsController,this.loading=!1,this.firstLoading=!0,this.resolvingPeriod=!1,this.error=!1,this.hasAccess=!1,this.report=``,this.renderer=`data`,this.type=`data`,this.formatter=new Map,this.columnClasses=new Map,this.showGroupHeaders=!1,this.sortIndex=null,this.activeKey=null;let e=new Date;this.filters={accountIds:[this.accounts.items.map(e=>e.id)[0]],beginDate:new Date(e.setDate(e.getDate()-7)),endDate:new Date,datePeriod:ut,reportType:1,transactionType:s.TRANSACTION_TYPES.N,transactionCodes:[],transactionTypeEdi:1,toAmount:0,fromAmount:0,startCheckNumber:0,endCheckNumber:0,accountDesignators:[],activityType:``,status:``,exceptionReason:``},this.subReports={priorDay:s.SUB_REPORT_TYPES_PRIOR_DAY.SUMMARY,positivePay:s.SUB_REPORT_TYPES_POSITIVE_PAY.ITEMS,edi:s.SUB_REPORT_TYPES_EDI.SUMMARY}}fnv1aHash(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return(t>>>0).toString(16)}get hashOfFilters(){let e=this.filters||{},t=JSON.stringify(e,Object.keys(e).sort());return this.fnv1aHash(t)}get reportName(){return String(this.report).charAt(0).toUpperCase()+String(this.report).slice(1)}get reportNameCamelCase(){return this.report.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}get key(){let e=this.subReports.hasOwnProperty(this.reportNameCamelCase)?this.subReports[this.reportNameCamelCase]:`none`;return`${this.report}-${e}-${this.hashOfFilters}`}get data(){return this.cache[this.activeKey]||null}get totals(){return this.cacheTotals[this.activeKey]||null}get hasData(){return this.data&&this.data.length}get isNachaRun(){return this.report===s.REPORTS.EDI&&this.subReports.edi===s.SUB_REPORT_TYPES_EDI.NACHA}get downloadType(){return this.renderer===`table`?s.DOWNLOAD_TYPES.CSV:s.DOWNLOAD_TYPES.TXT}get progressLabel(){return this.isNachaRun?`Downloading`:`Loading reportâ¦`}async routeEnter(e,t,n,r){let a=r.params.report;if(this.report!==a){let e=new Date;this.firstLoading=!0,this.report=a,this.filters.beginDate=new Date(e.setDate(e.getDate()-7)),this.filters.endDate=new Date,this.filters.datePeriod=ut,this.controller?.abortController?.abort(`Changed routes`),this.handleSearchParamChange(),this.fetchReport()}else this.report=a;return i.setTitleAndTrack(`Report: ${this.reportName}`,c.getRouteUrlWithoutParams(r),n),super.routeEnter(e,t,n,r)}handleSearchParamChange(){let e=new URL(window.location.href),t=e.searchParams.get(`accountIds`),n=e.searchParams.get(`subreportPriorDay`),r=e.searchParams.get(`ediReportType`),i=e.searchParams.get(`ediReportTransactionType`);if(t?this.filters.accountIds=t.split(`,`):this.filters.accountIds=[this.accounts.items.map(e=>e.id)[0]],n&&(this.subReports.priorDay=n),this.report===s.REPORTS.EDI&&r){let e=r.toLowerCase();e===`detail`||e===s.SUB_REPORT_TYPES_EDI.DETAILS?this.subReports.edi=s.SUB_REPORT_TYPES_EDI.DETAILS:e===s.SUB_REPORT_TYPES_EDI.NACHA?this.subReports.edi=s.SUB_REPORT_TYPES_EDI.NACHA:e===s.SUB_REPORT_TYPES_EDI.SUMMARY&&(this.subReports.edi=s.SUB_REPORT_TYPES_EDI.SUMMARY)}if(this.report===s.REPORTS.EDI&&i){let e=dt[i];typeof e==`number`&&(this.filters.transactionTypeEdi=e)}
57H.forEach(t=>{let n=e.searchParams.get(t);n&&((t===`toAmount`||t===`fromAmount`)&&(n=+n),this.filters[t]=n)});let a=e.searchParams.get(`transactionCodes`);this.filters.transactionCodes=a?a.split(`,`):[];let o=e.searchParams.get(`datePeriod`);if(o&&ne(o)){let e=h(o);this.filters.datePeriod=o,e&&(this.filters.beginDate=e.beginDate,this.filters.endDate=e.endDate)}else (e.searchParams.has(`beginDate`)||e.searchParams.has(`endDate`))&&(this.filters.datePeriod=null)}async fetchReport(){try{let e;if(this.hasAccess=!1,this.loading=!0,this.error=!1,this.filters.datePeriod===`previousBusinessDay`){this.resolvingPeriod=!0;let e=await re(this.controller);if(this.resolvingPeriod=!1,!e)throw Error(`Unable to resolve previous business day`);this.filters.beginDate=e.beginDate,this.filters.endDate=e.endDate}let t=this.key,n=this.isNachaRun;if(this.cache[t]=null,n||(this.activeKey=t,this.sortIndex=null,this.formatter=new Map,this.columnClasses=new Map,this.showGroupHeaders=!1),this.report===s.REPORTS.ACTIVITY){this.renderer=`table`,this.columns=[`Account`,`Date`,`Ref #`,`Tran code`,`Statement description`,`Debit`,`Credit`,`Balance`],this.cache[t]=[],this.formatter.set(1,a.formatDateToMMDD),this.formatter.set(2,e=>e===0?``:e),this.formatter.set(5,e=>e===0?``:e<0?r`<span class="red">${U(e)}</span>`:U(e)),this.formatter.set(6,e=>e===0?``:f(e)),this.formatter.set(7,f),this.columnClasses.set(5,`right-align`),this.columnClasses.set(6,`right-align`),this.columnClasses.set(7,`right-align`);let n=this.filters.transactionCodes||[];if(this.filters.transactionType===s.TRANSACTION_TYPES.G&&n.length){let e=n;n=[];let t=await this.controller.getTransactionCodes();t.ok&&Array.isArray(t.data?.TransactionCodes)&&(n=t.data.TransactionCodes.filter(t=>Array.isArray(t.GroupName)?t.GroupName.some(t=>e.includes(t)):e.includes(t.GroupName)).map(e=>e.Code).filter(e=>typeof e==`string`&&e.trim().length))}let i={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate),SubTotalPerAccount:!0,TransactionCodes:n};this.filters.toAmount&&(i.ToAmount=this.filters.toAmount.toFixed(2)),this.filters.fromAmount&&(i.FromAmount=this.filters.fromAmount.toFixed(2)),this.filters.startCheckNumber&&(i.StartCheckNumber=this.filters.startCheckNumber),this.filters.endCheckNumber&&(i.EndCheckNumber=this.filters.endCheckNumber),e=await this.controller.getActivityReport(this.filters.accountIds,i)}if(this.report===s.REPORTS.CURRENT_DAY&&(this.renderer=`data`,this.cache[t]=``,e=await this.controller.getAccountCurrentDayReport(this.filters.accountIds[0])),this.report===s.REPORTS.EDI){if(this.renderer=`table`,this.cache[t]=[],this.subReports.edi===s.SUB_REPORT_TYPES_EDI.SUMMARY||this.subReports.edi===s.SUB_REPORT_TYPES_EDI.DETAILS){this.columns=[`Account #`,`Date`,`Name`,`Value`,`Debit`,`Credit`];let t=e=>e===0?``:f(e);this.formatter.set(1,a.formatDateToMMDD),this.formatter.set(4,t),this.formatter.set(5,t),this.columnClasses.set(4,`right-align`),this.columnClasses.set(5,`right-align`);let n={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate),PendingFlag:this.filters.datePeriod===`pending`?!0:void 0,ReportType:this.subReports.edi===s.SUB_REPORT_TYPES_EDI.DETAILS?V:this.filters.reportType,TransactionType:this.filters.transactionTypeEdi};this.filters.toAmount&&(n.ToAmount=this.filters.toAmount.toFixed(2)),this.filters.fromAmount&&(n.FromAmount=this.filters.fromAmount.toFixed(2)),e=await this.controller.getEDIReport(this.filters.accountIds[0],n),e.data?.forEach(e=>{let t=this.accounts?.items?.find(t=>t.name.trim()===e[0].trim());t&&(e[0]=`${e[0]} ${t.numbers}`)})}if(this.subReports.edi===s.SUB_REPORT_TYPES_EDI.NACHA){let t={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate),PendingFlag:this.filters.datePeriod===`pending`?!0:void 0,TransactionType:this.filters.transactionTypeEdi};this.filters.toAmount&&(t.ToAmount=this.filters.toAmount.toFixed(2)),this.filters.fromAmount&&(t.FromAmount=this.filters.fromAmount.toFixed(2)),e=await this.controller.getEDINACHAReport(this.filters.accountIds[0],t)}}if(this.report===s.REPORTS.POSITIVE_PAY){if(this.renderer=`table`,this.cache[t]=[],this.subReports.positivePay===``||this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.ITEMS){this.columns=[`Account #`,`Check #`,`Entered Date`,`Issued Date`,`Posted Date`,`Payee`,`Exception Reason`,`Status`,`Issued`,`Posted`],this.formatter.set(2,a.getSimpleDate),this.formatter.set(3,a.getSimpleDate),this.formatter.set(4,a.get
57SimpleDate),this.formatter.set(8,f),this.formatter.set(9,f),this.columnClasses.set(8,`right-align`),this.columnClasses.set(9,`right-align`);let t={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate),StatusCode:this.filters.status,ExceptionReason:this.filters.exceptionReason};this.filters.toAmount&&(t.ToAmount=this.filters.toAmount.toFixed(2)),this.filters.fromAmount&&(t.FromAmount=this.filters.fromAmount.toFixed(2)),this.filters.startCheckNumber&&(t.StartCheckNumber=this.filters.startCheckNumber),this.filters.endCheckNumber&&(t.EndCheckNumber=this.filters.endCheckNumber),e=await this.controller.getPositivePayItemsReport(this.filters.accountIds,t)}if(this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.MAINTENANCE){let t={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate)};this.columns=[`Account #`,`Date`,`Check #`,`Activity type`,`User`,`New data`,`Old data`],this.formatter.set(1,a.formatDateToLongString),e=await this.controller.getPositivePayMaintenanceReport(this.filters.accountIds,t)}if(this.subReports.positivePay===s.SUB_REPORT_TYPES_POSITIVE_PAY.EXCEPTIONS){let t={BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate),StatusCode:this.filters.status};this.filters.toAmount&&(t.ToAmount=this.filters.toAmount.toFixed(2)),this.filters.fromAmount&&(t.FromAmount=this.filters.fromAmount.toFixed(2)),this.columns=[`Account #`,`Date`,`Originator`,`Decision`,`User`,`Type`,`Amount`],this.formatter.set(1,a.formatDateToLongString),this.formatter.set(6,f),this.columnClasses.set(6,`right-align`),e=await this.controller.getPositivePayExceptionsReport(this.filters.accountIds,t)}}this.report===s.REPORTS.PRIOR_DAY&&(this.renderer=`data`,this.cache[t]=``,(this.subReports.priorDay===``||this.subReports.priorDay===s.SUB_REPORT_TYPES_PRIOR_DAY.SUMMARY)&&(e=await this.controller.getAccountPriorDayReport(this.filters.accountIds[0])),this.subReports.priorDay===s.SUB_REPORT_TYPES_PRIOR_DAY.DETAILS&&(e=await this.controller.getPriorDayDetailsReport())),this.report===s.REPORTS.SUMMARY&&(this.renderer=`table`,this.sortIndex=0,this.cache[t]=[],this.columns=[`Date`,`Credits`,`Debits`,`One day`,`Two day float`,`Current`,`Available`,`Collected`,`# Credits`,`# Debits`,`Account`],this.formatter.set(0,e=>a.formatDateToMMDD(e,`-`)),this.formatter.set(1,f),this.formatter.set(2,f),this.formatter.set(3,f),this.formatter.set(4,f),this.formatter.set(5,f),this.formatter.set(6,f),this.formatter.set(7,f),this.columnClasses.set(1,`right-align`),this.columnClasses.set(2,`right-align`),this.columnClasses.set(3,`right-align`),this.columnClasses.set(4,`right-align`),this.columnClasses.set(5,`right-align`),this.columnClasses.set(6,`right-align`),this.columnClasses.set(7,`right-align`),this.columnClasses.set(8,`right-align`),this.columnClasses.set(9,`right-align`),this.hideColumns=[10],this.showGroupHeaders=!0,e=await this.controller.getSummaryReport(this.filters.accountIds,{BeginDate:W(this.filters.beginDate),EndDate:W(this.filters.endDate)}));let{ok:i,data:o,totals:c=null}=e;i||(this.error=!0),i&&(this.cache[t]=o,c&&(this.cacheTotals[t]=c)),e.code===401?this.hasAccess=!1:this.hasAccess=!0,n&&i&&(this.downloadNachaFile(e),this.cache[t]=null),this.firstLoading=!1}catch{this.error=!0,this.firstLoading=!1}finally{this.resolvingPeriod=!1,this.loading=!1}}handleFilters(e){let{detail:{name:t,value:n}}=e;t&&n&&(this.filters={...this.filters,[t]:n})}handleFiltersBatch(e){this.filters={...this.filters,...e.detail}}handleSubReport(e){this.subReports={...this.subReports,...e.detail}}downloadNachaFile(e){let t=`${e.data.join(`\r 58`)}\r\n`,n=new Blob([t],{type:`text/plain`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=`nacha-${new Date().toISOString()}.ach`,i.click(),i.remove(),this.dispatchEvent(new o(`Your report was downloaded successfully.`,{id:`report-download`})),URL.revokeObjectURL(r)}handleDownload(){let e=this.downloadType,t=e===s.DOWNLOAD_TYPES.CSV?this.createCSVDownloadBlob():this.createTXTDownloadBlob(),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=`${this.report}.${e}
58`,r.id=`download-link`,r.click(),r.remove(),this.dispatchEvent(new o(`Your report was downloaded successfully.`,{id:`report-download`})),URL.revokeObjectURL(n)}createTXTDownloadBlob(){let e=this.cache[this.activeKey],t=Array.isArray(e)?e.join(` 59`):e||``;return new Blob([t],{type:`text/text`})}createCSVDownloadBlob(){let e=e=>{let t=String(e);return t.startsWith(` 60`)&&(t=t.substring(1)),t.includes(`,`)||t.includes(`"`)||t.includes(` 61`)?`"${t.replace(/"/g,`""`)}"`:t},t=this.columns.map(e),n=this.cache[this.activeKey]?.map(t=>t.map(e).join(`,`))||[],r=[t.join(`,`),...n].join(`\r 62`);return new Blob([``+r],{type:`text/csv;charset=utf-8;`})}static get styles(){return[t`:host{flex:1}jha-card-header{grid-template-columns:1fr}.box{padding-top:16px}.data{padding:8px 24px 16px;container:container-data/inline-size}.progress{flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:216px;display:flex}.progress span{margin-top:8px}.msg{flex-direction:column;align-items:center;gap:8px;display:flex}`]}render(){return r`<bannoweb-page-container heading="Reports"> <div class="box"> <jha-card> <div slot="header"> <bannoweb-report-header .report="${this.report}"></bannoweb-report-header> ${!this.firstLoading&&(this.hasAccess||this.error)?r`<bannoweb-report-filters @submit="${this.fetchReport}" @subReport="${this.handleSubReport}" @filter="${this.handleFilters}" @filterbatch="${this.handleFiltersBatch}" @download="${this.handleDownload}" .filters="${this.filters}" .report="${this.report}" .subReports="${this.subReports}" .type="${this.type}" .loading="${this.loading}"></bannoweb-report-filters>`:null} </div> <div class="data">${this.renderBody()}</div> </jha-card> </div> </bannoweb-page-container>`}renderBody(){return this.loading?r`<div class="progress"> <jha-progress></jha-progress> <span>${this.progressLabel}</span> </div>`:this.error?this.renderError():this.hasAccess?this.renderData():this.renderNoAccess()}renderError(){return r`<bannoweb-report-status .type="${s.STATUS.ERROR}"> <div class="msg"> ${`Something went wrong while loading the report. Please refresh the page or try again in a moment.`} <jha-button @click="${this.fetchReport}">Retry</jha-button> </div> </bannoweb-report-status>`}
62renderNoAccess(){return r`<bannoweb-report-status> ${`You do not currently have the ability to view this report. If you need access, please contact your administrator.`} </bannoweb-report-status>`}renderData(){return r`${this.renderer===`data`?r`<bannoweb-report-data .data="${this.data}"></bannoweb-report-data>`:r`<bannoweb-report-table .columns="${this.columns}" .data="${this.data}" .totals="${this.totals}" .formatter="${this.formatter}" .columnClasses="${this.columnClasses}" .hideColumns="${this.hideColumns}" .showGroupHeaders="${this.showGroupHeaders}" .sortIndex="${this.sortIndex}"></bannoweb-report-table>`}`}},customElements.define(window.BannowebReport.is,window.BannowebReport);var pt=window.BannowebReport;export{pt 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.