1function getScrollBarWidth(n){var i,t,u,r;return(n&&scrollVWidth==null||!n&&scrollHWidth==null)&&(i=document.createElement("p"),n?(i.style.width="100%",i.style.height="200px"):(i.style.width="200px",i.style.height="100%"),t=document.createElement("div"),t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="150px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(i),document.body.appendChild(t),n?(u=i.offsetWidth,t.style.overflow="scroll",r=i.offsetWidth,u==r&&(r=t.clientWidth),document.body.removeChild(t),scrollVWidth=u-r):(u=i.offsetHeight,t.style.overflow="scroll",r=i.offsetHeight,u==r&&(r=t.clientHeight),document.body.removeChild(t),scrollHWidth=u-r)),n?scrollVWidth:scrollHWidth}function setCSSLayersOrder(){var t=window!=null&&window.location!=null&&window.location.pathname!=null?window.location.pathname:"",i=t.indexOf("/",2),r="",u,n;i>0&&(r=WWP_replaceAll(WWP_replaceAll(t.substring(0,i),"/","_"),".","_")+"_Tab_BasicTab_css, "+(WWP_replaceAll(WWP_replaceAll(t.substring(0,i),"/","_"),".","_")+"_static_Tab_BasicTab_css, "));u=document.getElementsByTagName("head")[0];n=document.createElement("style");n.type="text/css";n.innerHTML="@layer bootstrap_css_no-lib_min_css, bootstrap_css_bootstrap_min_css, Tab_BasicTab_css, "+(r!=""?r:"")+"WorkWithPlus_Chameleon.WWP_ChameleonBaseDS, DVelop_Bootstrap_Shared_DVelopBootstrap_css, DVelop_Shared_daterangepicker_daterangepicker_css, DVelop_Bootstrap_Shared_fontawesome_vlatest_css_all_min_css, DVelop_DVHorizontalMenu_DVHorizontalMenu_css, DVelop_DVPaginationBar_DVPaginationBar_css, DVelop_DVMessage_DVMessage_css;";u.insertBefore(n,u.children[0])}function hasScroll(n,t){return n==null||n.length!=1?!1:t?n[0].scrollHeight-n[0].clientHeight>0:n[0].scrollWidth-n[0].clientWidth>0}function getScrollWidthIfVisible(n,t){return hasScroll(n,t)?getScrollBarWidth(t):0}function WWPSelectAll(n,t){for(var i,r=0;r<document.MAINFORM.elements.length;r++)i=document.MAINFORM.elements[r],i.type=="checkbox"&&i.name!=n.name&&i.name.toUpperCase().indexOf(t)>=0&&i.checked!=n.checked&&(i.parentNode.click(),i.checked=n.checked)}function WWPSelectAllGXUI(n){document.getElementById(n).value=document.getElementById(n).value=="true"?"false":"true";WWPDoGXRefresh()}function WWPSelectAllRemoveParentOnClick(n){n.parentNode.onclick=""}function WWPSortColumn(n,t,i){var u,r;u=t!=""?document.getElementById(t).value:i;u==i?(document.getElementById(n).value=document.getElementById(n).value=="true"?"false":"true",$("#"+n).trigger("change")):($("#"+t).val(i),$("#"+t).trigger("change"));r="";n!=null&&n.indexOf("vORDEREDDSC")>0&&(r=n.substring(0,n.indexOf("vORDEREDDSC")));WWPDoGXRefresh(r)}function WWPCloseOpenedDWC(n){return $(".WCD_Expanded").each(function(){if(($(this).closest("div.gx-grid").attr("id")+"").toLowerCase()==(n+"").toLowerCase()+"containerdiv"){var t=$(this).closest("tr").next();t.hasClass("WCD_tr")&&t.remove();$(this).removeClass("WCD_Expanded")}}),!0}function WWPDoGXRefresh(n){n==null&&(n="");gx.evt.execEvt(n,!1,n+"EREFRESH.",this)}function WWPDynFilterHideLast(n){while(n>
11){if(document.getElementById("Dynamicfiltersrow"+n).className!="Invisible")return document.getElementById("Dynamicfiltersrow"+n).className="Invisible",!0;n--}return!0}function WWPDynFilterHideLast_AL(n,t,i){var u=$("#"+n),f=u.attr("data-gx-flex")!=null,r,e,o;for(f||(u=u.children().eq(0));t>1;){if(r=u[0].childNodes[t+i-1],(f?r.childNodes[0]:r).childNodes[0].className.indexOf("Invisible")==-1){for($(r).removeClass("DynRowVisible"),e=0;o=(f?r.childNodes[0]:r).childNodes[e];e++)o.className="Invisible";return!0}t--}return!0}function WWP_ObserverWCRender(n,t,i){gx.fx.obs.addObserver("webcom.render",window,t[i])}function WWPDynFilterShow(n){return document.getElementById("Dynamicfiltersrow"+n).className="",!0}function WWPDynFilterShow_AL(n,t,i){var r=$("#"+n),e=r.attr("data-gx-flex")!=null,u,o,f,s;for(e||(r=r.children().eq(0)),u=r[0].childNodes[t+i-1],$(u).addClass("DynRowVisible"),o=e?r[0].childNodes[i].childNodes[0]:r[0].childNodes[i],f=0;s=(e?u.childNodes[0]:u).childNodes[f];f++)s.className=o.childNodes[f].className;return!0}function WWPDynFilterHideAll(n){while(n>1)document.getElementById("Dynamicfiltersrow"+n).className!="Invisible"&&(document.getElementById("Dynamicfiltersrow"+n).className="Invisible"),n--;return!0}function WWPDynFilterHideAll_AL(n,t,i){var r=$("#"+n),f,e,u,o,s;if(r.length==1)for(f=r.attr("data-gx-flex")!=null,f||(r=r.children().eq(0)),t==999&&(e=$("#"+n+"ROW1"),e.length==1?(i=e.parent().index(),t=r[0].childNodes.length-i):t=0);t>1;){if(u=r[0].childNodes[t+i-1],(f?u.childNodes[0]:u).childNodes[0].className.indexOf("Invisible")==-1)for($(u).removeClass("DynRowVisible"),o=0;s=(f?u.childNodes[0]:u).childNodes[o];o++)s.className="Invisible";t--}return!0}function WWP_LibStr(n,t){return WWP_IsB()?n:t}function WWP_IsB(){return WWP_IsAngular()?!1:wwp.settings.baseLib=="Bootstrap3"}function WWP_RealUC(n){return WWP_IsAngular()?n.angularUC:n}function WWP_IsAngular(){return!1}function WWP_replaceAll(n,t,i){return n?n.toString().indexOf(t)!=-1?String(n).split(t).join(i):n:""}function WWP_escapeForJson(n){return WWP_replaceAll(WWP_replaceAll(n,"\\","\\\\"),'"','\\"')}function WWP_IsTrnMode(n){return gx!=null&&gx.O!=null&&gx.O.Gx_mode==n&&gx.O.isTransaction()}function WWP_GetGrid(n){var t,i,r;if(n.GridObjId==null){if(n.GridInternalName=="GRID")if(n.GridObjId="GridContainerDiv",t=$("#"+n.GridObjId),t.length==0)n.GridObjId=null;else return t;if(n.GridObjId==null&&(i=n,$(".gx-grid").each(function(){if(this.id!=null&&this.id.toUpperCase()==i.GridInternalName+"CONTAINERDIV")return i.GridObjId=this.id,!1})),n.GridObjId==null)return WWP_Debug_Log(!0,"grid not found"),$()}return r=$("#"+n.GridObjId),r.length!=0||n.insideDWC||WWP_Debug_Log(!0,"grid not found (2)"),r}function WWP_GetInsertGrid(n){if(n.GridInternalName==WWP_getCurrentWCId(n)+"GRID"&&(WWP_GetGrid(n),n.GridObjId!=null)){var t=n.GridObjId.substring(0,n.GridObjId.length-16)+"GridinsertlineContainerDiv";return $("#"+t)}return $()}function WWP_HasGridEmpowerer(n){return n.GridInternalName!=""&&n.GridInternalName!=null&&n.HasGridEmp==null&&(n.HasGridEmp=WWP_GetGrid(n).parent().closest(".gx-grid,.HasGridEmpowerer").hasClass("HasGridEmpowerer")),n.HasGridEmp}function WWP_NotifyEmpower(n,t){var i,r;WWP_HasGridEmpowerer(n)&&(i=WWP_GetGrid(n),i.data(t)==null&&i.data(t,n),r=i.data("WWP.Empowerer"),r!=null&&r.Empower())}function WWP_GetEmpowerer(n){return WWP_GetGrid(n).data("WWP.Empowerer")}function WWP_ClearEmpowerReference(n,t){if(WWP_HasGridEmpowerer(n)){var i=WWP_GetGrid(n);i.data(t,null)}}function WWP_endsWith(n,t){return n!=null&&t!=null&&n.length>=t.length&&n.substring(n.length-t.length)==t}function WWP_startsWith(n,t){return n!=null&&t!=null&&n.indexOf(t)==0}function WWP_ddo_needToInvertPosition(n,t,i,r){var d=$(n),s,h=WWP_IsB(),u,c,a,l,y,b,p,k,w;for(h||(s=d.find(">ch-popover"),r&&(s.css("display","grid"),s.css("visibility","hidden"))),u=t.parentElement,a=0;a<18;a++)if(u!=null&&($(u).is("table.table-responsive")||(c=$(u).css("overflow"))!="auto"&&c!="hidden"&&$(u).css("overflow-x")!="auto"))u=u.parentElement;else break;var e={left:!1,top:!1},v=WWP_IsRTL(),o=$(t),f=(h?o:s)[0].getBoundingClientRect();return r&&(s.css("display",""),s.css("visibility",""),l=i.getBoundingClientRect(),f={left:l.left+(v&&!h?l.width-f.width:0),top:l.top,width:f.width,height:f.height}),((c=$(u).css("overflow"))=="auto"||c=="hidden"||$(u).css("overflow-x")=="auto")&&(e.overflowEl=u,h&&(y=o.offset().left-$(u).offset().left,b=y+o.width(),e.left=!(y>=0&&b<=$(u).width()),p=o.offset().top-$(u).offset().top,k=p+o.height(),e.top=!(p>=0&&k<=$(u).height()))),e.left=e.left||v&&f.left<0||!v&&f.left+f.width+12>window.innerWidth,e.top||(w=f.top+f.height+12,o.hasClass("DDComponentUL")&&o.find(">li>div>div.WCD_Loading").length==1&&(w+=30),e.top=w>window.innerHeight),e}function WWP_dropdownAutoPosition(n,t,i,r){var u,f,e,o;WWP_IsB()&&($(t).css({"margin-left":""}),$(n).removeClass("dropup"));u=WWP_ddo_needToInvertPosition(n,t,i,r);u.left&&(WWP_IsB()?WWP_ddo_invertPosition(t,i):$(n).find(">ch-popover")[0].inlineAlign="inside-end");u.top&&(WWP_IsB()?($(n).addClass("dropup"),u.overflowEl!=null?(f=$(t).offset().top-$(u.overflowEl).offset().top,e=f+$(t).height(),f>=0&&e<=$(u.overflowEl).height()||$(n).removeClass("dropup")):(o=t.getBoundingClientRect(),o.top<0&&$(n).removeClass("dropup"))):$(n).find(">ch-popover")[0].blockAlign="outside-start")}function WWP_IsRTL(){return document!=null&&document.body!=null&&$(document.body).css("direction")=="rtl"}function WWP_ddo_invertPosition(n,t){var r,i,u;WWP_IsB()&&(r=WWP_IsRTL()?"right":"left",i=($(n).outerWidth()-$(t).outerWidth())*-1,$(n).css("margin-"+r,i+"px"),u=$(n).offset().left,u<0&&(i-=u,$(n).css("margin-"+r,i+"px")))}function WWP_setSectionGridMinHeight(n,t){for(var r,i=n.parentElement,u=0;u<18;u++)if(i!=null&&($(i).is("table.table-responsive")||$(i).css("overflow")!="auto"&&$(i).css("overflow-x")!="auto"))i=i.parentElement;else break;return $(i).css("overflow")=="auto"||$(i).css("overflow-x")=="auto"?(t?(r=$(n).offset().top+$(n).outerHeight()+12-$(i).offset().top,$(i).css({"min-height":r+"px"}),hasScroll($(i),!1)&&(r+=getScrollBarWidth(!1),$(i).css({"min-height":r+"px"}))):$(i).css({"min-height":""}),i):null}function WWP_getCurrentWCId(n){return n.DesignContainerName.replace("Container","").replace(n.ControlName.toUpperCase(),"")}function WWP_getParentWCId(n){var t=WWP_getCurrentWCId(n);return t!=""?t.substring(0,t.length-5):""}function WWP_isInMPage(n){return n.DesignContainerName.replace("Container","").replace(n.ControlName.toUpperCase(),"")=="_MPAGE"}function WWP_getWCParentDiv(n,t){return $("#"+t.ContainerName.replace("Container","").replace(t.ControlName.toUpperCase(),n.toUpperCase()))}function WWP_getWCId(n,t,i){i==null&&(i=WWP_getWCParentDiv(n,t));var r;return i.children().length>0?(r=i.children()[0].id,i.data("wcd-id")==null&&i.data("wcd-id",r)):r=i.data("wcd-id"),WWP_removeInconsistentWC(r),r}function WWP_getElemById(n,t){return $("#"+t)}function WWP_removeInconsistentWC(n){if(n!=null&&n.indexOf("gxHTMLWrp")>=0){n=WWP_replaceAll(n,"gxHTMLWrp","");var t=$("#"+n);t.length==1&&t.parent()[0].tagName=="BODY"&&(WWP_Debug_Log(!1,"removing inconsistent wc"),t.remove())}}function WWP_moveWCToDiv(n,t,i,r){var u=WWP_getElemById(t,n),f;return u.length>0?(u.parent().hasClass("Invisible")||(WWP_IsB()&&u.parent().parent().parent().parent().is("ul")?u.closest("ul").parent().removeClass("open"):WWPActions.Popover_Close(n,!1)),u=u.detach(),i&&u.find(".gxwebcomponent-body").addClass("Invisible"),u.appendTo(r)):(f=document.createElement("div"),f.id=n,r.appendChild(f),u=$(f)),u}function WWP_revertWCMoved(n,t,i,r){var f=WWP_getWCParentDiv(n,t);if(f.children().length==0){var e=WWP_getWCId(n,t,f),u=WWP_getElemById(t,e),o=u.closest(WWP_LibStr(".popover,ul","ch-popover"));(o[0]==i||o.prev()[0]==i)&&(u.parent().css({"min-height":u.parent().height(),"min-width":u.parent().width()}),u=u.detach(),WWP_Debug_Log(!1,"detach"),u.length==1?u.appendTo(f[0]):(WWP_Debug_Log(!1,"detach div"),f.html('<div id="'+e+'"><\/div>'),u=f.find(">div")),r&&u.html(""))}}function WWP_getAjaxCallRestURL(n){return gx.util.resourceUrl(gx.basePath+(n.indexOf("/")==0?"":"/rest/")+WWP_replaceAll(n,".","/"),!0)}function WWP_getRPCBody(n,t){return(n[0]!='"'||n[n.length-1]!='"')&&(n='"'+n+'"'),"{"+n+', "Body": "'+WWP_escapeForJson(t)+'"}'}
1function WWP_IsIE(){return!WWP_IsChrome()&&(window.navigator.userAgent.indexOf("MSIE ")>=0||window.navigator.userAgent.indexOf("Edge")>=0||!!window.MSInputMethodContext&&!!document.documentMode)}function WWP_IsChrome(){return/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())&&!/edge/.test(navigator.userAgent.toLowerCase())}function WWP_OffsetLeft(n,t){return t.offset().left+(n?t.outerWidth():0)}function WWP_GxValidControl(n){var t=gx.O.getValidStructFld(n);t!=null&&gx.csv.validControls(t.id,t.id+1,!0,gx.O)}function WWP_PadR(n,t,i){while(n.length<t)n+=i;return n}function WWP_TText(n,t){var i=gx.getMessage(n);return t!=null&&n==i?t:i}function WWP_CreateFontIcon(n,t){var r=$(n),i;$(n).find("i").length==0&&(i=document.createElement("i"),i.className=t,r.prepend(i))}function WWP_isOverlap(n,t){var i=$(n),r=$(t),u=i.offset(),f=r.offset(),e=u.top,o=f.top,s=u.left,h=f.left,c=i.width(),l=r.width(),a=i.height(),v=r.height();return h<s+c&&o<e+a&&o+v>e&&h+l>s?!0:!1}function WWP_GXEAIInfo(n){var r="(warning: using Globant Enterprise AI for development only)",t=n.find(".TextBlockAIExamples"),i;t.length==0&&$(n.find(".ChatMessageCell").get().reverse()).each(function(){if($(this).html().indexOf(r)>=0&&$(this).find("*:not(br)").length==0)return t=$(this),!1});i=t.html();i!=null&&i.indexOf(r)>=0&&t.html(i.replace(r,'(warning: using Globant Enterprise AI for development only <a href="https://workwithplus.com/aipricing" target=_blank><i class="fas fa-circle-info" style="font-size: 12px;padding-left: 3px;"><\/i><\/a>)'))}function WWP_ShowTooltip(n){var e,f,o;if(WWP_IsB()){if(n.attr("data-original-title")==null){var t=n.hasClass("BootstrapTooltipLeft"),i=n.hasClass("BootstrapTooltipTop"),u=n.hasClass("BootstrapTooltipBottom"),r=!t&&!i&&!u;WWP_IsRTL()&&(e=t,t=r,r=e);n.attr("data-placement",t?"left":r?"right":i?"top":"bottom");n.tooltip({animation:"true",html:"true"})}n.tooltip("show")}else{var t=n.hasClass("BootstrapTooltipLeft"),i=n.hasClass("BootstrapTooltipTop"),u=n.hasClass("BootstrapTooltipBottom"),r=!t&&!i&&!u;n.toggleClass("BootstrapTooltipRight",r);f=n.attr("title");f!=null&&(n.after('<ch-popover block-align="'+(t||r?"center":i?"outside-start":"outside-end")+'" inl
1ine-align="'+(i||u?"center":t?"outside-start":"outside-end")+'" class="ch_popover forced_tooltip" show><ul class="dropdown-menu"><li>'+f+"<\/li><\/ul><\/ch-popover>"),o=n.next()[0],o.actionElement=n[0])}}function WWP_Debug_Log(){}var wwp=null,scrollHWidth,scrollVWidth,WWPActions_Properties,WWPActions;try{parent!=null&&parent.wwp!=null&&(wwp=parent.wwp)}catch(e){}wwp==null&&(wwp={settings:{columnsSelector:{AllowColumnResizing:!1,AllowColumnReordering:!1,AllowColumnDragging:!1},pagBar:{IncludeGoTo:!1},baseLib:""},labels:{UpdateButtonText:"",AddNewOption:"",OnlySelectedValues:"",MultipleValuesSeparator:"",SelectAll:"",SortASC:"",SortDSC:"",AllowGroupText:"",FixLeftText:"",FixRightText:"",LoadingData:"",CleanFilter:"",RangeFilterFrom:"",RangeFilterTo:"",RangePickerInviteMessage:"",NoResultsFound:"",SearchButtonText:"",SearchMultipleValuesButtonText:"",ColumnSelectorFixedLeftCategory:"",ColumnSelectorFixedRightCategory:"",ColumnSelectorNotFixedCategory:"",ColumnSelectorFixedEmpty:"",ColumnSelectorRestoreTooltip:""},icons:{DropDownOptionsTitleSettingsIcons:{}}},Object.defineProperty(wwp.icons,"DropDownOptionsTitleSettingsIcons",{get:function(){return wwp.icons.DDOTSIcons==null&&(wwp.icons.DDOTSIcons_error!=null?console.error(wwp.icons.DDOTSIcons_error):console.error("User Control WorkWithPlus_AngularUCs.WWP_AngularUtilites must be added to this Panel (or the Master Panel) and properties DropDownOptionsTitleSettingsIconsJson and UCState=Loaded must be set in the Start Event.")),wwp.icons.DDOTSIcons},enumerable:!0,configurable:!0}),Object.defineProperty(wwp.settings,"baseLib",{get:function(){if(wwp.settings.baseLibVal==null){var n=$(".UCWorkWithPlusUtilities");wwp.settings.baseLibVal=n.length>0?n.hasClass("Chameleon")?"Chameleon":"Bootstrap3":"Bootstrap3"}return wwp.settings.baseLibVal},set:function(n){wwp.settings.baseLibVal=n},enumerable:!0,configurable:!0}));scrollHWidth=null;scrollVWidth=null;WWPActions_Properties={};WWPActions={WCPopup_Close:function(n){WWPActions_Properties.CurrentModal!=null&&$("#"+WWPActions_Properties.CurrentModal+WWP_LibStr("",">ch-dialog")+">div>div>.modal-header .close").data("close-result",n).click().data("close-result",null)},WCPopup_UpdateTitle:function(n){WWPActions_Properties.CurrentModal!=null&&$("#"+WWPActions_Properties.CurrentModal+">div>div>.modal-header h4").text(n)},DropDownComponent_Close:function(n){this.DropDownComponent_CloseWithResult(n,null)},DropDownComponent_CloseWithResult:function(n,t){var r=$("#"+n).closest(WWP_LibStr(".dropdown-menu.DDComponentUL","ch-popover")).prev(),i=r.data("wwpControl");i!=null&&(t!=null&&(i.control.Result=t),i.control.closingProgramatically=!0);WWP_IsB()?r.click():r.next()[0].show=!1;i!=null&&delete i.control.closingProgramatically},DateTimePicker_SetMinutesIncrement:function(n,t){$("#"+n).attr("data-minInterval",t)},DateTimePicker_SetOptions:function(n,t){var r=$("#"+n).data("daterangepicker"),i,f,u;if(r!=null){if(i=JSON.parse(t),WWPDateTimePicker_updateOption(r,"minDate",i.MinDate!=null?new Date(i.MinDate):null,!0),WWPDateTimePicker_updateOption(r,"maxDate",i.MaxDate!=null?new Date(i.MaxDate):null,!0),i.DatePicker!=null&&(WWPDateTimePicker_updateOption(r,"minYear",i.DatePicker.MinYear,!1),WWPDateTimePicker_updateOption(r,"maxYear",i.DatePicker.MaxYear,!1),WWPDateTimePicker_updateOption(r,"showDropdowns",i.DatePicker.ShowDropdowns,!1),WWPDateTimePicker_updateOption(r,"showWeekNumbers",i.DatePicker.ShowWeekNumbers,!1)),WWPDateTimePicker_updateOption(r,"timePickerIncrement",i.TimePicker!=null?i.TimePicker.Increment:null,!1),f=null,i.FormattedDays!=null)for(f=[],u=0;u<i.FormattedDays.length;u++)f.push({date:moment(new Date(i.FormattedDays[u].Date)),disabled:i.FormattedDays[u].Disabled,"class":i.FormattedDays[u].Class,tooltip:i.FormattedDays[u].Tooltip});WWPDateTimePicker_updateOption(r,"formattedDays",f,!1)}else console.error("Date control not found: "+n)},Textarea_EnterBehaviourToAction:function(n,t){var i=$("#"+n);i.on("keydown",function(n){if(n.keyCode==13&&!n.shiftKey&&!n.altKey){var r=i.prev();if(!r.is(".dropdown.suggest")||r.find(">.dropdown-menu.show").length==0&&!i.data("suggestEnterCaptured"))return $("#"+t).click(),!1}})},GridDetailWebComponent_Close:function(n,t){$("#"+n).closest(".WCD_tr").prev().find(".WCD_Expanded a").click();t&&window.setTimeout(function(){WWPDoGXRefresh()},200)},Popover_Close:function(n,t){if(WWP_IsB())$("#"+n).closest(".popover").prev().data("forceHide","").popover("hide");else{var i=$("#"+n).closest("ch-dialog,ch-popover");i.length==1&&(i[0].show=!1)}t&&window.setTimeout(function(){WWPDoGXRefresh()},200)},Tabs_EditCaption:function(n,t,i,r,u,f){var o=$("#"+n).closest("div.gxwebcomponent").attr("id"),s="",e,h;o!=null&&o!=""&&(s=o.substring(o.length-5));e=$("#"+s+t.toUpperCase()+"Container").find("ul.nav-tabs:eq(0)").find(">li>a[data-code="+i+"]");e.length==1&&(f!=null&&f!=""&&(h=e.parent().hasClass("active"),e.parent()[0].className=f+(h?" active":"")),u?e.html(r):e.text(r))},Mask_Apply:function(n,t,i,r){this.Mask_ApplyMultipleMasks(n,t,null,null,i,r)},Mask_ApplyMultipleMasks:function(n,t,i,r,u,f,e){var o,c,l;if((u||"")!="")gx.fx.obs.addObserver("grid.onafterrender",window,function(){for(var u,e=1;e<1e3;e++)if(u="000"+e,$("#"+n+"_"+u.substring(u.length-4,u.length)).length==1)WWPA
1ctions.Mask_ApplyMultipleMasks(n+"_"+u,t,i,r,!1,f,!0);else return});else{if(o=$("#"+n),c=o.data("mask")!=null,e&&c)return;if(l=c&&o.val()!="",l&&o.unmask(),t=WWP_replaceAll(WWP_replaceAll(t,"<THS>",gx.thousandSeparator),"<DEC>",gx.decimalPoint),i=WWP_replaceAll(WWP_replaceAll(i||"","<THS>",gx.thousandSeparator),"<DEC>",gx.decimalPoint),r=WWP_replaceAll(WWP_replaceAll(r||"","<THS>",gx.thousandSeparator),"<DEC>",gx.decimalPoint),(i||"")!=""){var s=Math.max(Math.max(t.length,i.length),r.length),h={reverse:f,onKeyPress:function(n,u,f,e){var c=o.val(),h=o.cleanVal(),l=h.length,a=t.replace(/[^0-9a-zA-Z]/g,"").length;l>a?(r||"")!=""&&l>i.replace(/[^0-9a-zA-Z]/g,"").length?(o.mask(r,e),c!=o.val()&&o.val(o.masked(h)),o.cleanVal().length<l&&(o.mask(i),c!=o.val()&&o.val(o.masked(h)),o.mask(WWP_PadR(i,s,"A"),e))):(o.mask(i,e),c!=o.val()&&o.val(o.masked(h)),o.cleanVal().length<l?(o.mask(t),c!=o.val()&&o.val(o.masked(h)),o.mask(WWP_PadR(t,s,"A"),e)):(r||"")!=""&&o.mask(WWP_PadR(i,s,"A"),e)):(o.mask(t),c!=o.val()&&o.val(o.masked(h)),o.mask(WWP_PadR(t,s,"A"),e))}},a=(o.val()||"").replace(/[^0-9a-zA-Z]/g,"").length;a<=t.replace(/[^0-9a-zA-Z]/g,"").length?o.mask(t).mask(WWP_PadR(t,s,"A"),h):(r||"")==""||a<=i.replace(/[^0-9a-zA-Z]/g,"").length?(o.mask(i,h),(r||"")!=""&&o.mask(WWP_PadR(i,s,"A"),h)):o.mask(r,h)}else o.mask(t,{reverse:f});l&&WWP_GxValidControl(n)}},EmpoweredGrids_Refresh:function(){$(".gx-grid>table").each(function(){var n=$(this).parent().data("WWP.Empowerer");n!=null&&n.ColumnsOrHeaderFixer!=null&&$(this).data("Empowered")==""&&n.ColumnsOrHeaderFixer.Refresh(!0)})},Messages_RemoveControlMessage:function(n){$("#"+n+"_Balloon").remove();var t=$("#"+n).attr("data-gx-unprefixed-class");t!=null&&t!=""&&$("#"+n).attr("class",t).attr("data-gx-unprefixed-class",null)},ConfirmInTransaction_AttachToButton:function(n,t){var i=$(document.body).attr("data-Skiponenter")==="true";gx.fx.obs.addObserver("gx.keypress",this,function(n){var r,u;n.event.keyCode==13&&(r=gx.evt.source(n.event)||gx.dom.getActiveElement()||gx.csv.lastControl,i?$(r).attr("id")==t&&$("#"+t).click():(u=gx.evt.triggersEvt(r),u||(n.cancel=!0,$("#"+t).click())))})},ConfirmInTransaction_Confirm:function(){var n=$(document.activeElement).attr("id");WWP_endsWith(n,"vDATA")&&n.length>5?window.setTimeout(function(){gx.O.executeEnterEvent(null,null)},200):gx.O.executeEnterEvent(null,null)},DynamicForms_RefreshParentGrid:function(n,t){for(var u=n.replace(t.toUpperCase(),""),i=u,r;i.indexOf("W")>=0;)if(i=i.substring(0,i.lastIndexOf("W")),r=$("#"+i+"BTNREFRESHGRID"),r.length==1){r.click();return}},RadioButton_SetOrientation:function(n,t){var i=$("[data-gx-for="+n+"]").find(">div>span"),r;t||i.removeClass("gx-radio-button-vertical");i.toggleClass("btn-group-vertical",t).toggleClass("btn-group",!t);r=i.find(">label:eq(0)");(r.find(">input").length==0||r.find(">input").val()=="#Dummy#")&&r.remove();i.attr("wwp-processed","")},CheckBox_SetTitle:function(n,t){var r=$("[data-gx-checkbox-title][for="+n+"]"),i;r.length==0?(i=$("#"+n).parent(),i.contents().each(function(){this.nodeType==3&&$(this).remove()}),i.append(document.createTextNode(t))):r.text(t).attr("data-gx-sr-only",null)},Control_FixControlValueChanged:function(n,t){var r=$("#"+t),i;if(r.length==1)if(i=$("#"+n),i.length==1)i.on("blur",function(){r.click()});else{i=$("[data-gx-for="+n+"]").find(">div>span.gx-radio-button");i.on("click",function(){r.click()})}},Scroll_GoToBottom:function(n){var t=$("#"+n),i;t.length===1&&(t[0].scrollHeight==0?window.setTimeout(function(){t[0].scrollTo(0,t[0].scrollHeight)},200):t[0].scrollTo(0,t[0].scrollHeight));WWP_GXEAIInfo(t);i=$(".AIWaitingResponse.AIAutomaticTooltip");i.length==1&&window.setTimeout(function(){WWP_ShowTooltip(i)},6e3)},Kanban_DropOverItem:function(n,t,i,r){var e,u,f,o;if(WWPActions.Kanban_ClearTimers(),$("#"+r).val(""),n.length>1)if(n=n.substring(0,1)+n.substring(1).toLowerCase(),e=$("#"+n+"ContainerDiv"),e.length==0&&WWP_startsWith(n,"W00")&&n.length>6&&(n=n.substring(0,5)+n.substring(5,6).toUpperCase()+n.substring(6),e=$("#"+n+"ContainerDiv")),u=e.find(".CurrentDroppingItemForId").attr("id"),u!=null&&u.length>5&&u.substring(u.length-5,u.length-4)=="_")u=u.substring(u.length-5),f=$("#span_"+t+u),f.length==1?o=f.text():(f=$("#"+t+u),f.length==1?o=f.val():(console.error("Kanban item id not found: "+t+u),o="")),$("#"+r).val(o);else if(e.find(".row").length>0||$(".modal-dialog-wc:visible").length>0){this.Kanban_ClearClasses(!0);return}$("#"+i).click()},Kanban_InitializeDragging:function(){const t=function(n){var i,t,r;for(const u of n)u.type==="childList"&&(i=$(".GridDragging").text()!="",i?(WWPA
1ctions.Kanban_ClearTimers(),WWPActions_Properties.Kanban_dragging=!0,t=WWPActions_Properties.Kanban_draggingId,t!=null&&t!=""&&(delete WWPActions_Properties.Kanban_draggingId,$("#"+t).closest(".TableKanbanItem").addClass("CurrentDraggingItem").closest(".row").next().find(".TableKanbanItem").addClass("NextDroppingItem")),$(".TableKanbanItem").off("mouseenter").mouseenter(function(n){$(".GridDragging").text()!=""&&(WWPActions.Kanban_ClearTimers(),$(".CurrentDroppingItem,.CurrentDroppingItemForId").removeClass("CurrentDroppingItem CurrentDroppingItemForId"),$(n.target).closest(".TableKanbanItem:not(.CurrentDraggingItem)").addClass("CurrentDroppingItem CurrentDroppingItemForId"))}),$(".FSKanbanCell>.gx-grid>*[data-gx-grid-nodata]").off("mouseenter").mouseenter(function(n){$(".GridDragging").text()!=""&&(WWPActions.Kanban_ClearTimers(),$(".CurrentDroppingItem,.CurrentDroppingItemForId").removeClass("CurrentDroppingItem CurrentDroppingItemForId"),$(n.target).closest("*[data-gx-grid-nodata]").next().addClass("CurrentDroppingItem CurrentDroppingItemForId"))})):WWPActions_Properties.Kanban_dragging!=null&&(delete WWPActions_Properties.Kanban_dragging,r=$(document.getElementsByTagName("head")[0]),r.children().each(function(){this!=null&&this.tagName=="STYLE"&&this.innerHTML.indexOf(".GridDragging:before{content:")==0&&(this.outerHTML="")}),WWPActions.Kanban_ClearTimers(),$(".CurrentDroppingItem,.CurrentDraggingItem").length>0&&(WWPActions_Properties.KanbanTimer_CSS=window.setTimeout(function(){WWPActions.Kanban_ClearClasses()},200),WWPActions_Properties.KanbanTimer_ID=window.setTimeout(function(){$(".CurrentDroppingItemForId:not(.CurrentDroppingItem)").removeClass("CurrentDroppingItemForId")},2e3))))},n=new MutationObserver(t);window.setTimeout(function(){var t=$("html>body.FormKanban");if(t.length==0&&$(".gxwebcomponent-body.FormKanban-fx,.gxwebcomponent-body.FormKanban").length>0&&(t=$("html>body").addClass("FormKanban"),t.find(">form").addClass("FormKanban")),t.length==1)n.observe(t[0],{attributes:!1,childList:!0,subtree:!1}),gx.fx.obs.addObserver("gx.onunload",window,function(){return function(){n.disconnect()}}());else console.error("html>body.FormKanban not found")},0)},Kanban_DraggingItem:function(n,t){this.Kanban_ClearClasses(!0);WWPActions_Properties.Kanban_draggingId=$("."+t+'[value="'+n+'"]').attr("id")},Kanban_ClearClasses:function(n){$(".CurrentDraggingItem").removeClass("CurrentDraggingItem");$(".NextDroppingItem").removeClass("NextDroppingItem");$(".CurrentDroppingItem").removeClass("CurrentDroppingItem");n&&$(".CurrentDroppingItemForId").removeClass("CurrentDroppingItemForId")},Kanban_ClearTimers:function(){WWPActions_Properties.KanbanTimer_CSS!=null&&(clearTimeout(WWPActions_Properties.KanbanTimer_CSS),WWPActions_Properties.KanbanTimer_CSS=null);WWPActions_Properties.KanbanTimer_ID!=null&&(clearTimeout(WWPActions_Properties.KanbanTimer_ID),WWPActions_Properties.KanbanTimer_ID=null)}};setCSSLayersOrder();;function WWP_VV(n){var i,r,u,t;try{$(n).each(function(){if(u=this[0],i=WWP_GV(u),r=this[1],i!=r)throw new Error;})}catch(f){t=WWP_replaceAll(f.stack,"/DVelop/Shared/WorkWithPlusCommon.js","");t=t.substring(t.indexOf("/DVelop/"));t=t.substring(0,t.indexOf(".js")+3);console.error("Incorrect version of file "+t+" (UC "+u+": "+r+", expected: "+i+")")}};function WWP_GV(n){switch(n){case"WWP.WWPOnboarding":return"16.1.1";case"WWP.Chronometer":return"14.3000";case"DVPaginationBar":return"16.1.0";case"GXBootstrap.Tooltip":return"16.0.1";case"GXBootstrap.SidebarMenu":return"16.1.0";case"GXBootstrap.Panel_AL":return"16.1.0";case"GXBootstrap.DDOGridTitleSettings":return"16.0.6";case"DVGroupBy":return"15.2.0";case"GXBootstrap.TagsInput":return"16.0.1";case"Bootstrap.DVProgressIndicator":return"16.1.0";case"GXBootstrap.Panel":return"16.0.1";case"DynamicWebCanvas":return"14.0";case"WWPPopover":return"16.1.0";case"DVPaginationBar_NoB":return"16.0.1";case"DVMessage":return"16.0.8";case"GXBootstrap.DDOGridColumnsSelector":return"16.1.0";case"WWP.WorkWithPlusUtilities_NoB_FAL":return"16.1.1";case"WorkWithPlusUtilities":return"16.1.0";case"GXBootstrap.DDOGridTitleSettingsM":return"16.1.0";case"WWP.DatePicker":return"16.1.0";case"GXBootstrap.DVProgressIndicator":return"16.1.0";case"GXBootstrap.DDOExtendedCombo":return"16.1.0";case"DVImageZoom":return"14.3001";case"GXBootstrap.DropDownOptions":return"16.1.0";case"WWP.WorkWithPlusUtilities_FAL":return"16.1.1";case"GXBootstrap.ConfirmPanel":return"16.1.0";case"GridTitlesCategories":return"15.2.2";case"GXBootstrap.DDComponent":return"16.1.1";case"DVHorizontalMenu":return"16.1.1";case"WWP.DateRangePicker":return"15.4.0";case"WWPCalendar":return"16.1.0";case"GXBootstrap.TabsPanel":return"16.1.0";case"WWP.Suggest":return"16.0.5";case"GXBootstrap.DDORegular":return"16.1.0";case"DVTabsTransform":return"16.1.0";case"WWP.GridEmpowerer":return"16.1.1";case"WorkWithPlusUtilities_F5":return"16.1.0";}}
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.