PageSourceSearch

https://www.analytikashop.gr/_content/Syncfusion.Blazor.DropDowns/scripts/sf-mention.min.xbosdfpskk.js

js analytikashop.gr collected 2026-10-10 00:36:55 UTC 24,342 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{
1"./bundles/sf-mention.js":function(t,e,i){"use strict";i.r(e);i("./modules/sf-mention.js")},
1"./modules/sf-mention.js":function(t,e){window.sfBlazor=window.sfBlazor||{},window.sfBlazor.Mention=function(){"use strict";var t="HidePopupAsync",e="OnSearchAsync",i=function(){function i(t,e,i,n,o){this.activeIndex=null,this.collision=[],window.sfBlazor=window.sfBlazor,this.dataId=t;var s,r=document.querySelector(e);if(r){var a=r.querySelector("iframe");s=a&&a.classList.contains("e-rte-content")?a.contentDocument.querySelector(".e-content"):r}this.inputElement=i?s.firstElementChild:this.checkAndUpdateInternalComponent(s),i&&(s.insertAdjacentElement("beforebegin",s.firstElementChild),sf.base.detach(s)),this.isContentEditable(this.inputElement)&&(this.inputElement.setAttribute("contenteditable","true"),sf.base.addClass([this.inputElement],["e-mention"])),this.inputElement.setAttribute("role","textbox"),this.options=o,window.sfBlazor.setCompInstance(this),this.dotNetRef=n}return i.prototype.initialize=function(t){this.keyConfigure={tab:"tab",enter:"13",escape:"27",end:"35",home:"36",down:"40",up:"38",pageUp:"33",pageDown:"34",open:"alt+40",close:"shift+tab",hide:"alt+38",space:"32"},sf.base.EventHandler.add(t,"keyup",this.onKeyUp,this),sf.base.Browser.isDevice||(this.keyboardInstance=new sf.base.KeyboardEvents(t,{keyAction:this.keyActionHandler.bind(this),keyConfigs:this.keyConfigure,eventName:"keydown"}))},i.prototype.checkAndUpdateInternalComponent=function(t){return t&&t.classList.contains("e-richtexteditor")?t.querySelector(".e-content"):t},i.prototype.keyActionHandler=function(t){var e={Action:t.action,Key:t.key,Events:t,Type:t.type};this.isDisposed||this.dotNetRef.invokeMethodAsync("KeyActionHandlerAsync",e),("tab"!==t.action&&"up"!==t.action&&"down"!==t.action&&"close"!==t.action&&"space"!==t.action&&"enter"!==t.action&&"open"!==t.action&&("SfMention"===this.options.moduleName||"home"!==t.action&&"end"!==t.action)||"enter"===t.action&&this.isPopupOpen()||"tab"===t.action&&this.isPopupOpen()||("up"===t.action||"down"===t.action)&&this.isPopupOpen())&&t.preventDefault()},i.prototype.onPropertyChanged=function(t){for(var e=0,i=Object.keys(t);e<i.length;e++){var n=i[e];switch(n){case"MinLength":this.options.minLength=t[n];break;case"SuffixText":this.options.suffixText=t[n];break;case"AllowSpaces":this.options.allowSpaces=t[n];break;case"RequireLeadingSpace":this.options.requireLeadingSpace=t[n];break;case"MentionChar":this.options.mentionChar=t[n];break;case"ShowMentionChar":this.options.showMentionChar=t[n]}}},i.prototype.getItems=function(){return this.list?this.list.querySelectorAll(".e-list-item"):[]},i.prototype.onKeyUp=function(i){var n,o={Key:i.key,Code:i.code,Location:i.location,CtrlKey:i.ctrlKey,ShiftKey:i.shiftKey,AltKey:i.altKey,MetaKey:i.metaKey,Repeat:i.repeat,Type:i.type};this.isContentEditable(this.inputElement)&&(this.range=this.getCurrentRange(),this.range&&(n=this.range.startContainer.textContent.split("")));var s=this.getTextRange(),r=this.getLastLetter(s),a=s?s.charAt(Math.max(0,s.indexOf(this.options.mentionChar)-1)):"",l=new RegExp(this.options.mentionChar.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s");(!s||!l.test(s))&&this.options.allowSpaces&&s&&s.includes(this.options.mentionChar)&&""!==s.split(this.options.mentionChar).pop()&&(!this.options.requireLeadingSpace||this.options.requireLeadingSpace&&(" "===a||0===s.indexOf(this.options.mentionChar)))&&(r=this.options.mentionChar+s.split(this.options.mentionChar).pop()),!this.options.requireLeadingSpace&&r.includes(this.options.mentionChar)&&(r=this.options.mentionChar+r.split(this.options.mentionChar).pop());var p=new RegExp("\\".concat(this.options.mentionChar),"g"),h=new RegExp("[a-zA-Z]","g"),d=this.options.mentionChar.toString()+this.options.mentionChar.toString();"Shift"!==i.key&&37!==i.keyCode&&39!==i.keyCode&&(this.options.requireLeadingSpace&&this.isPopupOpen()&&r===d?this.dotNetRef.invokeMethodAsync(t):!s||!r||!r.includes(this.options.mentionChar)&&!this.options.requireLeadingSpace||"Enter"===i.code||27===i.keyCode||r.match(p)&&r.match(p).length>1||this.isContentEditable(this.inputElement)&&this.range.startContainer&&this.range.startContainer.previousElementSibling&&"BR"!==this.range.startContainer.previousElementSibling.nodeName&&this.range.startContainer.textContent.split("").length>0&&(1===n.length||-1===n[n.length-2].indexOf("")||1===this.range.startContainer.nodeType)?this.options.allowSpaces&&this.isPopupOpen()&&s&&""!==s.trim()&&h.test(s)&&-1!==s.indexOf(this.options.mentionChar)&&!this.isMatchedText()&&s.length>1&&" "!==s.replace(/\u00A0/g," ").charAt(s.length-2)&&this.list&&this.list.querySelectorAll("ul").length>0?(this.queryString=s.substring(s.lastIndexOf(this.options.mentionChar)+1).replace(" "," "),this.dotNetRef.invokeMethodAsync(e,o,this.queryString)):!this.isPopupOpen()||this.options.allowSpaces&&r&&this.options.requireLeadingSpace||"ArrowDown"===i.code||"ArrowUp"===i.code?"Backspace"!==i.key&&"Delete"!==i.key||sf.base.isNullOrUndefined(this.range)||this.range.startOffset===this.range.endOffset||this.range.deleteContents():(this.dotNetRef.invokeMethodAsync(t),this.lineBreak=!0):(this.queryString=this.options.requireLeadingSpace?r.replace(this.options.mentionChar,""):r.substring(r.lastIndexOf(this.options.mentionChar)+1).trim(),9!==i.keyCode&&(this.options.requireLeadingSpace?this.options.mentionChar.charCodeAt(0)===r.charCodeAt(0):r.includes(this.options.mentionChar))&&""!==this.queryString&&!this.lineBreak||""===this.queryString&&this.isPopupOpen()&&38!==i.keyCode&&40!==i.keyCode?(this.dotNetRef.invokeMethodAsync(e,o,this.queryString),!this.isPopupOpen()&&38!==i.keyCode&&40!==i.keyCode&&this.queryString.length>=this.options.minLength&&(this.dotNetRef.invokeMethodAsync("Show"),this.lineBreak=!1)):9===i.keyCode||0!==r.indexOf(this.options.mentionChar)||this.isPopupOpen()||8===i.keyCode?this.options.allowSpaces&&this.isPopupOpen()&&""!==this.queryString&&s&&""!==s.trim()&&s.replace(" "," ").lastIndexOf(" ")<s.length-1&&38!==i.keyCode&&40!==i.keyCode&&8!==i.keyCode?(this.queryString=s.substring(s.lastIndexOf(this.options.mentionChar)+1).replace(" "," "),this.dotNetRef.invokeMethodAsync(e,o,this.queryString)):this.options.isDynamicValue&&""!==this.queryString&&38!==i.keyCode&&40!==i.keyCode&&8!==i.keyCode&&this.queryString.length>=this.options.minLength&&(this.dotNetRef.invokeMethodAsync(e,o,this.queryString),this.isPopupOpen()||(this.dotNetRef.invokeMethodAsync("Show"),this.lineBreak=!1)):(this.dotNetRef.invokeMethodAsync(e,o,this.queryString),!this.isPopupOpen()&&38!==i.keyCode&&40!==i.keyCode&&this.queryString.length>=this.options.minLength&&(this.dotNetRef.invokeMethodAsync("Show"),this.lineBreak=!1))))},i.prototype.isMatchedText=function(){for(var t=!1,e=0;e<(this.liCollections&&this.liCollections.length);e++)this.getTextRange()&&this.getTextRange().substring(this.getTextRange().lastIndexOf(this.options.mentionChar)+1).replace(" "," ").trim()===this.liCollections[e].getAttribute("data-value").toLowerCase()&&(t=!0);return t},i.prototype.getCurrentRange=function(){return this.range=this.inputElement.ownerDocument.getSelection().rangeCount>0&&this.inputElement.ownerDocument.getSelection().getRangeAt(0),this.range},i.prototype.getTextRange=function(){var t;if(this.isContentEditable(this.inputElement)){var e=this.range.startContainer;if(!sf.base.isNullOrUndefined(e)){var i=e.textContent,n=this.range.startOffset;i&&n>=0&&(t=i.substring(0,n))}}else{var o=this.inputElement;if(!sf.base.isNullOrUndefined(o)){var s=o.selectionStart;o.value&&s>=0&&(t=o.value.substring(0,s))}}return t},i.prototype.getLastLetter=function(t){if(sf.base.isNullOrUndefined(t))return"";var e=(t.indexOf("​")>-1?t.replace(/\u200B/g,"").replace(/\u00A0/g," "):t.replace(/\u00A0/g," ")).split(/\s+/);return e[e.length-1].trim()},i.prototype.setHeight=function(t){var e=getComputedStyle(this.list.parentElement),i=parseInt(e.paddingTop||"0",10)+parseInt(e.paddingBottom||"0",10);this.list.style.maxHeight=(parseInt(t,10)-2-i).toString()+"px"}
1,i.prototype.renderPopup=function(t,e,i){if(!this.isPopupOpen()){this.isContentEditable(this.inputElement)&&(this.range=this.getCurrentRange());var n=null;this.options=e,this.list=t.querySelector(".e-content"),this.list.querySelector(".e-active")&&sf.base.attributes(this.inputElement,{"aria-activedescendant":this.list.querySelector(".e-active").id}),sf.base.attributes(this.inputElement,{"aria-owns":this.dataId+"_options"}),this.liCollections=this.getItems();var o=sf.base.formatUnit(this.options.popupHeight);if(this.wireListEvents(),t){var s=document.getElementById(t.id);s&&sf.base.remove(s)}document.body.appendChild(t),t.hasAttribute("data-sf-style")&&t.removeAttribute("data-sf-style"),t.style.visibility="hidden",t.style.display="block","auto"!==this.options.popupHeight?(this.setHeight(o),t.style.maxHeight=sf.base.formatUnit(this.options.popupHeight)):t.style.height="auto",this.initializePopup(t,0,0),this.checkCollision(t),t.style.visibility="visible";var r=t.parentElement.offsetWidth-t.offsetWidth,a=t.offsetHeight;sf.base.addClass([t],"e-popup-close");if(this.popupObj.show(new sf.base.Animation({name:"FadeIn",duration:100}),this.inputElement),n=this.getCoordinates(this.inputElement,this.getTriggerCharPosition()),this.isCollided?(this.collision.length>0&&this.collision.indexOf("right")>-1&&-1===this.collision.indexOf("bottom")?t.style.cssText="top: ".concat(n.top.toString(),"px;\n left: ").concat(r.toString(),"px;\nposition: absolute;\n display: block;"):this.collision&&this.collision.length>0&&this.collision.indexOf("bottom")>-1&&-1===this.collision.indexOf("right")?(t.style.left=sf.base.formatUnit(n.left),t.style.top=sf.base.formatUnit(n.top-parseInt(a.toString(),10))):this.collision&&this.collision.length>0&&this.collision.indexOf("bottom")>-1&&this.collision.indexOf("right")>-1?(t.style.left=sf.base.formatUnit(r),t.style.top=sf.base.formatUnit(n.top-parseInt(a.toString(),10))):t.style.left=sf.base.formatUnit(n.left),this.collision=[],this.isCollided=!1):t.style.cssText="top: ".concat(n.top.toString(),"px;\n left: ").concat(n.left.toString(),"px;\nposition: absolute;\n display: block;"),t.style.width="100%"===this.options.popupWidth||sf.base.isNullOrUndefined(this.options.popupWidth)?"auto":sf.base.formatUnit(this.options.popupWidth),"auto"!==this.options.popupHeight?(this.setHeight(o),t.style.maxHeight=sf.base.formatUnit(this.options.popupHeight)):t.style.height="auto",t.style.zIndex=1e3===this.options.zIndex?sf.popups.getZindexPartial(t).toString():this.options.zIndex.toString(),this.isPopupOpen()||this.inputElement.removeAttribute("aria-activedescendant"),this.inputElement.parentElement){var l=this.inputElement.parentElement.closest(".e-richtexteditor");l&&t.firstElementChild&&t.firstElementChild.childElementCount>0&&(t.firstElementChild.setAttribute("aria-owns",l.id),sf.base.addClass([t],"e-rte-elements"))}}},i.prototype.search=function(e,i,n){var o=this;this.options.isDynamicValue&&this.isContentEditable(this.inputElement)&&(this.range=this.getCurrentRange());var s=this.getTextRange(),r=this.getLastLetter(s);this.options.ignoreCase&&(e===r||e===r.toLowerCase())||!this.options.ignoreCase&&e===r?this.dotNetRef.invokeMethodAsync("Show").then((function(){sf.base.isNullOrUndefined(o.popupObj)||(o.popupObj.element.style.left=sf.base.formatUnit(i),o.popupObj.element.style.top=sf.base.formatUnit(n))})):this.isPopupOpen()&&this.dotNetRef.invokeMethodAsync(t)},i.prototype.getCoordinates=function(t,e){var i,n,o,s,r,a,l;if(this.isContentEditable(this.inputElement)){var p=this.getTriggerCharPosition();s=this.range;var h=this.inputElement.ownerDocument!==window.document,d=void 0;if(h){var c=this.inputElement.ownerDocument.defaultView.frameElement;c&&(d=c.getBoundingClientRect(),o=this.inputElement.ownerDocument.createRange())}else o=document.createRange();this.getTextRange()&&-1!==this.getTextRange().lastIndexOf(this.options.mentionChar)?(o.setStart(s.startContainer,p),o.setEnd(s.startContainer,p)):(o.setStart(s.startContainer,s.startOffset),o.setEnd(s.startContainer,s.endOffset)),o.collapse(!1),l=0===o.getBoundingClientRect().top?o.startContainer.getClientRects()[0]:o.getBoundingClientRect(),h&&(l=new DOMRect(l.left+d.left,l.top+d.top,l.width,l.height))}else i=sf.base.createElement("div",{className:"e-form-mirror-div"}),document.body.appendChild(i),a=getComputedStyle(t),i.style.position="absolute",i.style.visibility="hidden",["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"].forEach((function(t){i.style[t]=a[t]})),i.textContent=t.value.substring(0,e),"INPUT"===this.inputElement.nodeName&&(i.textContent=i.textContent.replace(/\s/g," ")),(n=sf.base.createElement("span")).textContent=t.value.substring(e)||".",i.appendChild(n),l=t.getBoundingClientRect();var u=document.documentElement,f=(window.scrollX||u.scrollLeft)-(u.clientLeft||0),g=(window.scrollY||u.scrollTop)-(u.clientTop||0),m=0;if(!sf.base.isNullOrUndefined(o)&&0===o.getBoundingClientRect().top)for(var y=0;y<this.range.startContainer.childNodes.length;y++)if(this.range.startContainer.childNodes[y].nodeType!==Node.TEXT_NODE&&""!==this.range.startContainer.childNodes[y].textContent.trim())m+=this.range.startContainer.childNodes[y].getClientRects()[0].width;else if(""!==this.range.startContainer.childNodes[y].textContent){var C=document.createElement("span");C.innerHTML=this.range.startContainer.childNodes[y].nodeValue,document.body.appendChild(C);var b=C.offsetWidth;document.body.removeChild(C),m+=b}return this.isContentEditable(this.inputElement)?r=this.collision&&this.collision.length>0&&this.collision.indexOf("right")>-1&&-1===this.collision.indexOf("bottom")?{top:l.top+g+parseInt(getComputedStyle(this.inputElement).fontSize,10),left:l.left+f+m}:{top:l.top+g+parseInt(getComputedStyle(this.inputElement).fontSize,10)-(this.isCollided?10:0),left:l.left+f+m}:(r={top:l.top+g+n.offsetTop+parseInt(a.borderTopWidth,10)+parseInt(a.fontSize,10)+3-t.scrollTop,left:l.left+f+n.offsetLeft+parseInt(a.borderLeftWidth,10)},document.body.removeChild(i)),r},i.prototype.getTriggerCharPosition=function(){var t,e=this.getTextRange();if(null!=e){t=0;var i=e.lastIndexOf(this.options.mentionChar);i>=t&&(t=i)}return t},i.prototype.isContentEditable=function(t){return t&&"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName},i.prototype.wireListEvents=function(){sf.base.EventHandler.add(this.list,"mouseover",this.onMouseOver,this),sf.base.EventHandler.add(this.list,"mouseout",this.onMouseLeave,this)},i.prototype.unWireListEvents=function(){sf.base.EventHandler.remove(this.list,"mouseover",this.onMouseOver),sf.base.EventHandler.remove(this.list,"mouseout",this.onMouseLeave)},i.prototype.onMouseOver=function(t){var e=sf.base.closest(t.target,".e-list-item");this.setHover(e)},i.prototype.onMouseLeave=function(t){this.removeHover()},i.prototype.checkCollision=function(t){if(!sf.base.Browser.isDevice||sf.base.Browser.isDevice&&"SfMention"!==this.options.moduleName){var e=this.getCoordinates(this.inputElement,this.getTriggerCharPosition());this.collision=sf.popups.isCollide(t,null,e.left,e.top),this.collision.length>0&&(t.style.marginTop=-parseInt(getComputedStyle(t).marginTop,10)+"px",this.isCollided=!0)}},i.prototype.destroy=function(){this.popupContainer&&document.body.contains(this.popupContainer)&&document.body.removeChild(this.popupContainer),sf.base.EventHandler.remove(document,"mousedown",this.onDocumentClick),window.sfBlazor.disposeWindowsInstance(this.dataId)}
1,i.prototype.initializePopup=function(t,e,i){var n=this;this.popupContainer=t,this.popupObj=new sf.popups.Popup(this.popupContainer,{width:this.setWidth(),targetType:"relative",relateTo:this.inputElement,collision:{X:"flip",Y:"flip"},offsetY:e,enableRtl:this.options.enableRtl,offsetX:i,position:{X:"top",Y:"left"},actionOnScroll:"hide",zIndex:this.options.zIndex,close:function(){n.unWireListEvents(),n.popupObj&&n.popupObj.destroy();var t=n.inputElement.ownerDocument!==window.document;n.isDisposed||!document.body.contains(n.inputElement)&&!t||n.dotNetRef.invokeMethodAsync("ClosePopupAsync").catch((function(){})),n.popupObj=null},open:function(){sf.base.EventHandler.add(document,"mousedown",n.onDocumentClick,n)}})},i.prototype.setValue=function(t,e){var i,n,o,s,r=this.inputElement.ownerDocument.getSelection(),a=this.getTriggerCharPosition(),l="string"==typeof this.options.suffixText?this.options.suffixText:"";if(null!==t.text&&(i=this.mentionVal(t.text)),this.isContentEditable(this.inputElement)){n=this.getTriggerCharPosition()+this.options.mentionChar.length,this.range&&this.range.startContainer.textContent.trim()!==this.options.mentionChar&&(n=this.range.endOffset),s=this.range,o=document.createRange(),this.getTextRange()&&-1!==this.getTextRange().lastIndexOf(this.options.mentionChar)||this.getTextRange()&&this.getTextRange().trim()===this.options.mentionChar?(o.setStart(s.startContainer,a),o.setEnd(s.startContainer,n)):""!==s.commonAncestorContainer.textContent.trim()&&!sf.base.isNullOrUndefined(s.commonAncestorContainer.textContent.trim())&&this.getTextRange()&&-1!==this.getTextRange().lastIndexOf(this.options.mentionChar)?(o.setStart(s.startContainer,s.startOffset-1),o.setEnd(s.startContainer,s.endOffset-1)):(o.setStart(s.startContainer,s.startOffset),o.setEnd(s.startContainer,s.endOffset)),o.deleteContents(),o.startContainer.parentElement.normalize();var p=sf.base.createElement("div");p.innerHTML=i;for(var h=document.createDocumentFragment(),d=void 0,c=void 0;d=p.firstChild;)c=h.appendChild(d);o.insertNode(h),c&&((o=o.cloneRange()).setStartAfter(c),o.collapse(!0),r.removeAllRanges(),r.addRange(o)),this.isPopupOpen()&&this.inputElement.focus();var u=new CustomEvent("UpdateEditorValue",{detail:{click:e}});this.inputElement.dispatchEvent(u);var f=this.popupContainer.querySelector('[data-value="'+t.value+'"]'),g=new CustomEvent("UpdateBlockEditorValue",{detail:{itemData:{id:t.value},value:f?f.innerHTML:""}});return this.inputElement.dispatchEvent(g),!0}var m=this.inputElement,y=this.getTextRange().substring(a+this.options.mentionChar.length,this.getTextRange().length);return i+=l,n=a+this.options.mentionChar.length,n+=y.length,m.value=m.value.substring(0,a)+i+m.value.substring(n,m.value.length),m.selectionStart=a+i.length,m.selectionEnd=a+i.length,this.isPopupOpen()&&this.inputElement.focus(),!0},i.prototype.mentionVal=function(t){var e=this.options.showMentionChar?this.options.mentionChar:"";return this.options.hasDisplayTemplate&&(t=this.removeComments(document.querySelector("#"+this.dataId+"_displayTemplate"))),this.isContentEditable(this.inputElement)&&"mozilla"===sf.base.Browser.info.name?'<span>&#65279;<span contenteditable="false" class="e-mention-chip">'+e+t+"</span>&#65279;</span>".concat("string"==typeof this.options.suffixText?this.options.suffixText:"&#8203;"):this.isContentEditable(this.inputElement)?'<span contenteditable="false" class="e-mention-chip">'+e+t+"</span>".concat("string"==typeof this.options.suffixText?this.options.suffixText:"&#8203;"):e+t},i.prototype.removeComments=function(t){var e=t.innerHTML;return(e=e.replace(/<!--[\s\S]*?-->/g,"")).trim()},i.prototype.setWidth=function(){var t=sf.base.formatUnit(this.options.popupWidth);t.indexOf("%")>-1&&(t=(this.inputElement.offsetWidth*parseFloat(t)/100).toString()+"px");return t},i.prototype.onDocumentClick=function(e){var i=e.target,n=!sf.base.isNullOrUndefined(this.popupObj)&&sf.base.closest(i,"#"+this.popupObj.element.id);this.isPopupOpen()&&(n?e.preventDefault():this.dotNetRef.invokeMethodAsync(t))},i.prototype.closePopup=function(t,e){if(this.options=e,this.isPopupOpen()&&!t.cancel&&this.popupObj
1){this.popupObj.hide(new sf.base.Animation({name:"FadeOut",duration:20,delay:0})),this.inputElement.removeAttribute("aria-owns"),this.inputElement.removeAttribute("aria-activedescendant"),this.popupObj.element.style.display="none"}},i.prototype.setScrollPosition=function(t){if(sf.base.isNullOrUndefined(t))this.scrollBottom(!0);else switch(t.action){case"pageDown":case"down":case"end":this.scrollBottom();break;default:this.scrollTop()}},i.prototype.scrollBottom=function(t){if(this.list&&this.list.querySelector(".e-active")&&!t){var e=this.list.querySelector(".e-active"),i=this.list.offsetHeight,n=e.offsetTop+e.offsetHeight-this.list.scrollTop,o=this.list.scrollTop+n-i;o=t?o+2*parseInt(getComputedStyle(this.list).paddingTop,10):o+parseInt(getComputedStyle(this.list).paddingTop,10);var s=e.offsetTop+e.offsetHeight-this.list.scrollTop;0===this.activeIndex?this.list.scrollTop=0:(n>i||!(s>0&&this.list.offsetHeight>s))&&(this.list.scrollTop=o)}},i.prototype.scrollTop=function(){if(this.list&&this.list.querySelector(".e-active")){var t=this.list.querySelector(".e-active"),e=t.offsetTop-this.list.scrollTop,i=t.offsetTop+t.offsetHeight-this.list.scrollTop;0===this.activeIndex?this.list.scrollTop=0:e<0?this.list.scrollTop=this.list.scrollTop+e:i>0&&this.list.offsetHeight>i||(this.list.scrollTop=t.offsetTop)}},i.prototype.setHover=function(t){t&&!t.classList.contains("e-hover")&&(this.removeHover(),sf.base.addClass([t],"e-hover"))},i.prototype.removeHover=function(){if(this.list){var t=this.list.querySelectorAll(".e-hover");t&&t.length&&sf.base.removeClass(t,"e-hover")}},i.prototype.isPopupOpen=function(){return this.popupObj&&document.body.contains(this.popupObj.element)},i}();return{initialize:function(t,e,n,o,s){var r,a=document.querySelector(e);if(a){var l=a.querySelector("iframe");r=l&&l.classList.contains("e-rte-content")?l.contentDocument.querySelector(".e-content"):n?document.querySelector(e).firstElementChild:document.querySelector(e),new i(t,e,n,o,s).initialize(r)}},renderPopup:function(t,e,i){var n=window.sfBlazor.getCompInstance(t),o=document.querySelector("#"+t+"_popup");!sf.base.isNullOrUndefined(n)&&o&&n.renderPopup(o,e,i)},search:function(t,e,i,n){var o=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(o)||o.search(e,i,n)},closePopup:function(t,e,i){var n=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(n)||n.closePopup(e,i)},setValue:function(t,e,i){var n=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(n)||n.setValue(e,i)},updateScrollPosition:function(t,e){var i=window.sfBlazor.getCompInstance(t);if(!sf.base.isNullOrUndefined(i)&&(i.setScrollPosition(e),sf.base.isNullOrUndefined(e)&&i.isPopupOpen()&&(i.range=i.getCurrentRange(),i.popupObj&&i.popupObj.element))){var n=i.popupObj.element,o=i.getCoordinates(i.inputElement,i.getTriggerCharPosition()),s=sf.popups.isCollide(n,null,o.left,o.top),r=n.offsetHeight,a=0;n.parentElement&&(a=n.parentElement.offsetWidth-n.offsetWidth),0===s.length?(n.style.top=o.top.toString()+"px",n.style.left=o.left.toString()+"px",n.style.position="absolute",n.style.display="block"):s.indexOf("right")>-1&&-1===s.indexOf("bottom")?n.style.cssText="top: ".concat(o.top.toString(),"px; left: ").concat(a.toString(),"px; position: absolute; display: block; z-index: ").concat(n.style.zIndex,";"):s.indexOf("bottom")>-1&&-1===s.indexOf("right")?(n.style.left=sf.base.formatUnit(o.left),n.style.top=sf.base.formatUnit(o.top-r-10)):s.indexOf("bottom")>-1&&s.indexOf("right")>-1?(n.style.left=sf.base.formatUnit(a),n.style.top=sf.base.formatUnit(o.top-r)):n.style.left=sf.base.formatUnit(o.left)}},onPropertyChanged:function(t){var e=window.sfBlazor.getCompInstance(t.dataId);sf.base.isNullOrUndefined(e)||e.onPropertyChanged(t)},destroy:function(t,e,i){var n=window.sfBlazor.getCompInstance(t),o=document.querySelector(i.target),s=document.querySelector("#"+t+"_popup");sf.base.isNullOrUndefined(n)||(sf.base.isNullOrUndefined(o)||sf.base.EventHandler.remove(o,"keyup",n.onKeyUp),n.keyboardInstance&&(n.keyboardInstance.destroy(),n.keyboardInstance=null),s&&s instanceof HTMLElement&&(n.isDisposed=!0,n.closePopup(e,i)),n.destroy())}}}()}
1}]);(async()=>{await import(`${document.baseURI}_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor-base.min.js`).then(()=>{sfBlazor.loadDependencies('sfmention');})})();

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.