Nusxalash
<!--Sardor Sobirov tomonidan tayyorlangan. Bog'lanish: @sardor_sobirov1--><script>(function(){window.addEventListener('pagehide',function(){});window.addEventListener('unload',()=>{});function takevalues(e,c){if('checkbox'==$(e+' [name="'+c+'"]').attr('type')){if($(e+' [name="'+c+'"]:checked').val()){if($('.t-checkbox__labeltext',$(e+' [name="'+c+'"]:checked').parent()).length){return $('.t-checkbox__labeltext',$(e+' [name="'+c+'"]:checked').parent()).html().trim();}else{return $(e+' [name="'+c+'"]:checked').val().trim();}}else{return'';}}else if($(e+' [name="'+c+'"]').hasClass('t-radio')$(e+' [name="'+c+'"]').hasClass('t-checkbox')||$(e+' [name="'+c+'"]').hasClass('t-img-select')){if($(e+' [name="'+c+'"]:checked').val()){if($(e+' [name="'+c+'"]:checked').hasClass('t-input__own-answer-input')){let fullString=$(e+' [name="'+c+'"]:checked').val().trim();return fullString.split(':')[0];}else{return $(e+' [name="'+c+'"]:checked').val().trim();}}else{return'';}}else{return $(e+' [name="'+c+'"]').val()?$(e+' [name="'+c+'"]').val().trim():'';}}$(document).ready(function(){var e=["tarif","tarif","tarif"],c=["Standart","Premium","Mentorlik"],n=["/standart","/premium","/mentorlik"];var REC='#rec941101556';var FORMSCOPE=REC?REC+' form':' form';var CARTSCOPE=REC?REC+' .t706':'.t706';let myfrom=function($form){if(0===$(CARTSCOPE).length){for(let a=0;a<e.length;a++){if(takevalues(REC'',e[a])==c[a]){if('#'===(n[a]||'').charAt(0)){if(0===$('[href="'+n[a]+'"]').length){var o='<a class="nolimthankyou" href="'+n[a]+'" style="display:none;"></a>';$(o).insertBefore(REC?REC+' form':' form');}let newLink=document.createElement('a');newLink.setAttribute('href',n[a]);newLink.style.display='none';let block=REC?document.querySelector(REC):document.body;block&&block.append(newLink);newLink.click();let elem=REC?document.querySelector(REC):null;if(elem&&(elem.getAttribute('data-record-type')=='702'||elem.getAttribute('data-record-type')=='316'||elem.getAttribute('data-record-type')=='390'||elem.getAttribute('data-record-type')=='756')){elem.style.opacity=0;let int=setInterval(function(){let popupOpen=document.querySelector('.t-popup_show');if(!popupOpen){clearInterval(int);elem.style.opacity=1;}},50);} $('[href="'+n[a]+'"]').click(); setTimeout(function(){$('.t-form-success-popup').hide();$('body').removeClass('t-body_success-popup-showed');$('body').removeClass('t-quiz__body_popupshowed');},0);break;}window.location.href=n[a];break;}}}};var NS='NolimSuccessFunction941101556';var MS='mySuccessFunction941101556';if(typeof window[NS]=='undefined'){window[NS]=[];window[NS][0]=myfrom;}else{window[NS].push(myfrom);}window[MS]=function($form){for(var i=0;i<window[NS].length;i++){window[NS][i]($form);}};});$(document).ready(function(){setInterval(function(){var forms=document.querySelectorAll('#rec941101556 form');forms.forEach(function(form){if(form.getAttribute('formSuccess')!=='1'){form.setAttribute('formSuccess','1');form.addEventListener('tildaform:aftersuccess',function(){window['mySuccessFunction941101556']();});}});},1000);});})();</script>