<style>
.viralform_complaint_share_friends
{
    margin: 24px 0px 0px 0px; 
    width: 600px; 
    overflow: hidden;
    text-align: left;
}
    
.viralform_complaint_share_icon_text
{
    padding: 8px 0px 0px 0px;  
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    text-decoration: none !important;
}
  
.viralform_complaint_share_friends_1
{
    float:left; 
    width: 223px;   
}
    
.viralform_complaint_share_friends_2
{
    float:left; 
    width: 188px;   
}
    
.viralform_complaint_share_friends_3
{
    float:left; 
    width: 120px;   
}
 
#iframe_share_friends
{
    height: 780px;
}
 
.viralform_complaint_share_friends_3
{
    display: none;   
}
    
    
@media screen and (max-width: 600px) 
{
    .viralform_complaint_share_friends
    {
        width: 100% !important;
        text-align: center;
    }
    
    .viralform_complaint_share_friends_1
    {
        float: none !important;
        margin: 25px 0px 0px 0px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .viralform_complaint_share_friends_2
    {
        float: none !important;
        margin: 25px 0px 0px 0px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .viralform_complaint_share_friends_3
    {
        display: block!important;
        float: none !important;
        margin: 25px 0px 0px 0px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
}
</style> 
        <div id="viral_form_id_xcmessage_text" style="margin: 58px 0px 0px 0px; font-family: 'Montserrat', sans-serif; background: rgba(146, 69, 184, 0.1); color: #000000;">

            <div style="padding: 16px; font-style: normal; font-weight: normal; font-size: 16px; line-height: 20px; color: #000000">
                yes, i do            </div>
    
        </div>
        
    <div id="s_share_friends_sc_page1">

                    <div style="padding: 24px 0px 0px 0px; font-family: 'Montserrat', sans-serif; font-weight: normal; font-size: 16px; line-height: 20px; color: #000000;">
                Järgneb avalduse mall teie sõbra või mõttekaaslase toetuseks. Täitke kõik sisendväljad tähelepanelikult.                <br />
                Seejärel kasutage dokumendi all olevat digitaalallkirja valikut.            </div>
                    
    
        <div style="padding: 24px 0px 0px 0px;">
            <iframe id="iframe_share_friends" src="https://id.eideasy.com/sign_contract?client_id=DxHc9oKZgqTD93nkiuhYtSAZ61grxez0&contract_id=BCLzDI&code=1157aax69dfdb01157acx1157ab%3B%3B%3B051-231%3B%3B%3Banswer-1&state=1157aax69dfdb01157acx1157ab;;;051-231;;;answer-1" width="100%" scrolling="yes"></iframe>
        </div>

        
    </div>

    <div id="s_share_friends_sc_page2" style="display: none;">
        <div style="margin: 58px 0px 0px 0px; text-align: center; color: #000000; font-style: normal; font-weight: bold; font-size: 24px; line-height: 29px;">
            Kas soovite saada tuge sõpradelt ja mõttekaaslastelt?        </div>  
        
        <div style="padding: 32px 0px 0px 0px;">
            <a id="share_link_copy_id" href="https://viralhelp.me/case-051-231" style="font-style: normal; font-weight: bold; font-size: 20px; line-height: 24px; text-decoration-line: underline; color: #1F9D98;" target="_blank">https://viralhelp.me/case-051-231</a>
        </div>  
    </div>
        
        <!-- share link -->
    <div style="padding: 24px 0px 0px 0px; font-family: 'Montserrat', sans-serif; color: #000000;">

        <div class = "viralform_complaint_share_friends">
        
            <div class="viralform_complaint_share_friends_1">
                <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://viralhelp.me/case-051-231&amp;src=sdkpreparse"><img src="https://viralhelp.me/wp-content/plugins/viralform1/images/share_facebok.png" style="width:47px; height: 47px; cursor: pointer;" border="none">
                    <div class="viralform_complaint_share_icon_text">
                        Jagamiseks Facebookis                    </div>
                </a>
            </div>
        
            <div onclick="sahre_friends_copy_link2('#share_link_copy_id'); return false;" class="viralform_complaint_share_friends_2" style="cursor: pointer;">
                <img src="https://viralhelp.me/wp-content/plugins/viralform1/images/share_copy.png" style="width:47px; height: 47px;"  border="none">
            
                <div class="viralform_complaint_share_icon_text">
                    Kopeeri link                </div>  
            </div>
        
            <div id="share_oher_option_mac" class="viralform_complaint_share_friends_3" style="cursor: pointer;">
                <img src="https://viralhelp.me/wp-content/plugins/viralform1/images/share_other.png" style="width:47px; height: 47px;" border="none">
            
                <div class="viralform_complaint_share_icon_text">
                    Muud valikud                </div>
            </div>
        
        </div>
    </div>

    <div id="share_link_copy_id" style="display: none;">
        https://viralhelp.me/case-051-231    </div>

    <div id="viral_form_copy_text_notification3" style="display:none; margin: 0 auto; position: fixed; border-radius: 10px; left: 50%; transform: translateX(-50%); bottom: 8px; text-align:center; background: #9245B8; z-index: 999999999;">
        <div style="padding: 12px 20px; color: #ffffff;">
            Link kopeeritud        </div>
    </div>
 
    <script>
    function sahre_friends_copy_link2(element)
    {
        var temp = jQuery("<input>");
        jQuery("body").append(temp);
        temp.val(jQuery(element).text()).select();
        document.execCommand("copy");
        temp.remove();
        jQuery("#viral_form_copy_text_notification3").show();
        setTimeout(function(){ jQuery("#viral_form_copy_text_notification3").hide(); }, 3000);
    }
    </script>

    <script>
    const shareData = {
    title: 'case-051-231',
    text: 'case-051-231',
    url: 'https://viralhelp.me/case-051-231',
    }

    const btn = document.querySelector('#share_oher_option_mac');

    btn.addEventListener('click', async () => {
    try {
    await navigator.share(shareData)
    //resultPara.textContent = 'MDN shared successfully'
    } catch(err) {
    //resultPara.textContent = 'Error: '
    }
    });
    </script>

    <script>
    // check the document is signed or not
    var s_sd_timer5;
    jQuery( document ).ready(function() {
    
    window.scrollTo(0, 0);
    
    var s_result5;
    s_sd_timer5 = setInterval(function(){  
    var Data3 = new FormData();
    Data3.append('action', 'complaint_webhook_friends_check');
    Data3.append('nonce', '2bce4f1661');
    Data3.append('s_session', '1157aax69dfdb01157acx1157ab;;;051-231;;;answer-1');
    jQuery.ajax({
    type: "post",
    url: viralformcode.s_url,
    data: Data3,
    contentType:false,
    processData:false,   
    success: function(html)
    {
        s_result5 = parseInt(html);
        if(s_result5 == 1)
        {
            clearInterval(s_sd_timer5);
            //window.location.replace("https://viralhelp.me/signature-success/");
            share_club_friends();
        }
                    
    }
    });
        
    }, 1000);
        
    });
        
      
    function share_club_friends()
    {
        jQuery("#viral_form_id_xcmessage_text").hide();
        jQuery("#s_share_friends_sc_page1").hide();
        jQuery("#s_share_friends_sc_page2").show();
        
    }
    </script>
    {"id":4706,"date":"2021-08-01T02:52:40","date_gmt":"2021-08-01T02:52:40","guid":{"rendered":"https:\/\/viralhelp.me\/ru\/case-051-231\/"},"modified":"2025-01-10T12:48:46","modified_gmt":"2025-01-10T12:48:46","slug":"case-051-231","status":"publish","type":"page","link":"https:\/\/viralhelp.me\/et\/case-051-231\/","title":{"rendered":"case-051-231"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4706","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/pages\/4706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/comments?post=4706"}],"version-history":[{"count":1,"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/pages\/4706\/revisions"}],"predecessor-version":[{"id":11752,"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/pages\/4706\/revisions\/11752"}],"wp:attachment":[{"href":"https:\/\/viralhelp.me\/et\/wp-json\/wp\/v2\/media?parent=4706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}