ARVEA NATURE

  • 2022-01-10Data di raccolta
  • 2022-02-15Aggiornato
ARVEA NATURE
  • Indirizzo Web:www.arvea-nature.com
  • IP del server:104.21.11.247
  • Descrizione del sito:ARVEA: La marque Nature, N°1 de la vente directe en Tunisie

nome del dominio:www.arvea-nature.comValutazione

di 1000~20000

nome del dominio:www.arvea-nature.comflusso

535

nome del dominio:www.arvea-nature.comBene o male

Guadagna e perdi. Invano la buona fortuna porta sfortuna

sito web:ARVEA NATUREPesi

5

sito web:ARVEA NATUREIP

104.21.11.247

sito web:ARVEA NATUREsoddisfare

ARVEANATUREwindow.dataLayer=window.dataLayer||[];functiongt(){dataLayer.push(arguments);}gt('js',newDate());gt('config','G-J3VVLXNK57');.cart-item-list{display:none;}.dropdown-menu.cart-item-list{max-height:600px;width:270px;/*Adjusttheheightasneeded*/overflow-y:auto;}/*Showthecartitemlistwhenhoveringoverthecarticon*/.header-cart-icon:hover.cart-item-list{display:block;}.grey-text{color:grey;/*Setthecolorfortheregularpricetogrey*/}.red-text{color:red;/*Setthecolorforthepricediscounttored*/}.highlighted_link{display:inline-block;padding:5px16px;margin:5px;border:2pxsolid#52bec0;border-radius:8px;background-color:transparent;color:#52bec0;text-decoration:none;transition:background-color0.3s,color0.3s,border-color0.3s;font-weight:500;}.n-item-center-vertical{display:flex;align-items:center;justify-content:center;}/*Mediaqueryfortabletandmobile*/@media(max-width:991px){.highlighted_link{border:none;background-color:transparent;margin:0;font-size:15px!important;}.n-item-center-vertical{display:flex;align-items:flex-start;justify-content:flex-start;}}varcsrfToken='aIHXPQt7hz4bLE2dhjbgl26i93CwNK4g6aqyr58X';checkoutTranslation="PasserlaCommande";view_cartTranslation="VoirlePanier";totalTranslation="Total";empty_cartTranslation="Vousn\u0027ezaucunarticledansvotrepanier";successTranslation="Succ\u00e8s";errorTranslation="Erreur";product_addedTranslation="Votreproduita\u00e9t\u00e9ajout\u00e9";cart_expired="Votrepanieraexpir\u00e9.Veuillezrafra\u00eechirlapepourcontinuer.";vartransportCostLabel="Fraisdutransport";constwidthMobile=600;//Initializevariablesvartimeout;varclickCount=1;vartimeoutMinus;varclickCountMinus=-1;varisButtonDisabled=false;vartimeoutProduct;varclickCountProduct=1;vartimeoutMinusProduct;varclickCountMinusProduct=0;functionaddToCartCall(productId,quantity){$.ajax({type:'POST',url:"ae.arvea-nature.com/fr/cart/add",headers:{'X-CSRF-TOKEN':$('meta[name="csrf-token"]').attr('content')},data:{product_id:productId,quantity:quantity},success:function(data){varwindowWidth=$(window).width();if(windowWidth{getCountCartView();});newPromise(resolve=>{updateCartView();});if(data.error!=undefined){showToast('error',errorTranslation,data.error,'top-end',4000);}else{$('.header-cart-icon.dropdown').trigger('mouseenter');//Setatimeouttoclosethedropdownafter3secondssetTimeout(function(){//Triggerthemouseleeeventtoclosethedropdownmenu$('.header-cart-icon.dropdown').trigger('mouselee');},3000);//3000milliseconds=3seconds}},error:function(error){if(error.status===419){showSessionExpiredModal(cart_expired,'info',window.location.href)}else{if(error.responseJSON){showToast('error',errorTranslation,error.responseJSON.error,'top-end',4000);}console.log(error);}}});}//PlusbuttonclickhandlerfunctionplusBtnHandler(){letelement=$(this).parent().find('.quantity-value');letquantity=parseInt(element.html());$(element).html(quantity+1);varproductIdpbtn=$(this).data('product-id');varquantitypbtn=clickCount;clickCount++;clearTimeout(timeout);timeout=setTimeout(function(){addToCartCall(productIdpbtn,quantitypbtn);clickCount=1;},DEBOUNCE_DELAY);}//PlusbuttonmouseuphandlerfunctionplusBtnMouseupHandler(){clearTimeout(timeout);}//MinusbuttonclickhandlerfunctionminusBtnHandler(){letelement=$(this).parent().find('.quantity-value');letquantity=parseInt(element.html());if(quantity>=0){varproductIdpbtn=$(this).data('product-id');varquantitypbtn=clickCountMinus;if(quantity>0){clickCountMinus--;$(element).html(quantity-1);}else{clickCountMinus=-1;}if(parseInt($(element).html())>0){clearTimeout(timeoutMinus);timeoutMinus=setTimeout(function(){addToCartCall(productIdpbtn,quantitypbtn);clickCountMinus=-1;},DEBOUNCE_DELAY);}elseif(parseInt($(element).html())==0){$('.remove-item[data-product-id="'+productIdpbtn+'"]').trigger('click');}}}//MinusbuttonmouseuphandlerfunctionminusBtnMouseupHandler(){clearTimeout(timeoutMinus);}functionaddToCartanimationHandler(){event.preventDefault();var$quantityContainer=$(this).parent().find('.quantity-container');varelement=$(this);$(this).css('display','none');$quantityContainer.css({'border':'1pxsolid#ccc','padding':'3px','width':'96%'});//SettimeouttoremoveCSSifnothoveredvartimeout=setTimeout(function(){$(element).removeAttr('style');$quantityContainer.removeAttr('style');},3000);//Hoverhandlertoclearthetimeout$quantityContainer.hover(function(){clearTimeout(timeout);},function(){//Iftheuserhoversout,resetthetimeouttimeout=setTimeout(function(){$(element).removeAttr('style');$quantityContainer.removeAttr('style');},3000);});}constDEBOUNCE_DELAY=500;$(document).ready(function(){//Eventlistenerforaddingitemstothecart$('.plus-btn').on('click',plusBtnHandler);$('.plus-btn').on('mouseup',plusBtnMouseupHandler);$('.minus-btn').on('click',minusBtnHandler);$('.minus-btn').on('mouseup',minusBtnMouseupHandler);$('.addToCart-animation').on('click',addToCartanimationHandler);$(document).on('click','.remove-item',function(){varproductId=$(this).data('product-id');//console.log("RemovebuttonclickedforproductID:"+productId);//SendanAJAXrequesttoremovetheitemfromthecart$.ajax({type:'POST',//UsePOSTorDELETEbasedonyourserversetupurl:"ae.arvea-nature.com/fr/cart/remove",//Replacewithyouractualroutedata:{_token:csrfToken,//IncludeCSRFtokenifrequiredproduct_id:productId},success:function(data){if(data.success){newPromise(resolve=>{getCountCartView();});newPromise(resolve=>{updateCartView();});if(["coordonnees","payement","confirmation"].includes(window.location.pathname.split('/')[2])){getcart_Bloc();}$('.addToCart-animation[data-product-id="'+productId+'"].badge-qte-product').css('display','none');$('.addToCart-animation[data-product-id="'+productIdARVEA NATURE+'"].badge-qte-product').html('');$('.addToCart-animation[data-product-id="'+productId+'"]').parent().find('.quantity-container').find('.quantity-value').html(0);$('.quantity-value[data-product-id="'+productId+'"]').html(0);}},error:function(error){//Handleerrorsconsole.error(error);}});});$(document).on('click','.checkoutButton',function(){updateCartView(true);});//InitialcalltosetclassonpeloadshowbtnCart();//Bindfunctiontowindowresizeevent$(window).resize(function(){showbtnCart();});updateCartVisibility();//UpdatethecartviewinitiallyupdateCartView();getCountCartView();});functionshowbtnCart(){varcontainer=$("#listing-product");container.addClass("enable-addtoCart");}functionupdateCartView(isCheckStock){$.ajax({type:'GET',url:"ae.arvea-nature.com/fr/cart/get",//Routetogetcartcontentssuccess:function(data){$('.cart-count').text(data.qte_carte);//UpdatethecartcountdisplayvarcartItems=data.carts;varcartHtml='';if(cartItems.length>0){cartItems.forEach(function(item){vartruncatedProductName=item.product_name.length>15?item.product_name.substring(0,15)+'...':item.product_name;cartHtml+='';cartHtml+='×';cartHtml+='';cartHtml+='';cartHtml+='';cartHtml+='';//Truncatetheproductnameifit'slongerthan15characterscartHtml+=''+truncatedProductName+'';if(item.price_discount&&parseFloat(item.price_discount)>0){cartHtml+='';cartHtml+=''+item.price+'';cartHtml+=''+''+item.price_discount_display+'';cartHtml+='';}else{cartHtml+=''+item.price+'';}cartHtml+=''+'-'+''+item.quantity+''+'+'+'';cartHtml+='';cartHtml+='';$('.addToCart-animation[data-product-id="'+item.product_id+'"].badge-qte-product').css('display','flex');$('.addToCart-animation[data-product-id="'+item.product_id+'"].badge-qte-product').html(item.quantity);$('.addToCart-animation[data-product-id="'+item.product_id+'"]').parent().find('.quantity-container').find('.quantity-value').html(item.quantity);$('.quantity-value[data-product-id="'+item.product_id+'"]').html(item.quantity);});}cartHtml+='';cartHtml+=''if(cartItems.length==0){cartHtml+=''+empty_cartTranslation+''}cartHtml+=''+totalTranslation+':'+data.sub_total+'';cartHtml+=''+view_cartTranslation+'';cartHtml+=''+checkoutTranslation+'';cartHtml+='';//Updatecartitems$('.cart-item-list').html(cartHtml);if(data.checkDiscountMsg&&data.checkDiscountMsg.length>0){showToast('error','errorTranslation',data.checkDiscountMsg,'top-end',3500,1);isCheckStock=false;}if(data.checkDiscountMsgSucces&&data.checkDiscountMsgSucces.length>0){showToast('success','success',data.checkDiscountMsgSucces,'top-end',3500,1);isCheckStock=false;}if(isCheckStock){checkStocks();}lettimeoutproduct;letclickCountproduct=1;$('.plus-btn-cart').on('click',function(){letelement=$(this).parent().find('.quantity-value');letquantity=parseInt(element.html());$(element).html(quantity+1);varproductIdpbtn=$(this).data('product-id');varquantitypbtn=clickCountproduct;clickCountproduct++;clearTimeout(timeoutproduct);timeoutproduct=setTimeout(function(){addToCartCall(productIdpbtn,quantitypbtn);clickCountproduct=1;},DEBOUNCE_DELAY);});$('.plus-btn-cart').on('mouseup',function(){clearTimeout(timeoutproduct);});lettimeoutMinusproduct;letclickCountMinusproduct=0;//Initializeclickcount$('.minus-btn-cart').on('click',function(){letelement=$(this).parent().find('.quantity-value');letquantiARVEA NATUREty=parseInt(element.html());if(parseInt(quantity)>=1){if(quantity>1){clickCountMinusproduct--;$(element).html(quantity-1);}if(clickCountMinusproduct!=0){varproductIdpbtn=$(this).data('product-id');varquantitypbtn=clickCountMinusproduct;clearTimeout(timeoutMinusproduct);timeoutMinusproduct=setTimeout(function(){addToCartCall(productIdpbtn,quantitypbtn);clickCountMinusproduct=0;},DEBOUNCE_DELAY);}}});$('.minus-btn-cart').on('mouseup',function(){clearTimeout(timeoutMinusproduct);});if(["coordonnees","payement","confirmation"].includes(window.location.pathname.split('/')[2])){UpdateCheckoutCart(cartItems,data);}},error:function(error){//Handleerrorsconsole.log(error);}});}functioncheckStocks(){$.ajax({type:'GET',url:"ae.arvea-nature.com/fr/cart/checkStocks",success:function(data){if(!data.success){Swal.fire({icon:'warning',//SettheiconbasedonalertIconvaluetitle:data.title,html:data.messe,//Use'html'insteadof'text'torenderHTMLcontentshowConfirmButton:true,confirmButtonColor:'#d33',//Redforerror,greenforsuccessconfirmButtonText:'OK',allowOutsideClick:false,//Preventdismissingthealertbyclickingoutside}).then((result)=>{if(result.isConfirmed){window.location=window.location.href;}});}else{window.location.href="ae.arvea-nature.com/fr/coordonnees";}},error:function(error){Swal.fire({icon:'warning',//SettheiconbasedonalertIconvaluetitle:'Erreur',//SetthetitlebasedonalertTitlevaluehtml:'Unproblèmeestsurvenulorsdutraitementdevotrecommande.Veuillezréessayerplustard.',//Use'html'insteadof'text'torenderHTMLcontentshowConfirmButton:true,confirmButtonColor:'#d33',//Redforerror,greenforsuccessconfirmButtonText:'OK',});}});}functiongetCountCartView(){$.ajax({type:'GET',url:"ae.arvea-nature.com/fr/cart/getCountCart",//Routetogetcountcartsuccess:function(data){$('.cart-count').text(data.qte_carte);//Updatethecartcountdisplay},error:function(error){console.error(error);}});}functionupdateCartVisibility(){varwindowWidth=$(window).width();varcartToggle=$('#cartToggle');varcartItemList=$('.dropdown-menu.cart-item-list');varcontinatToggle=$('#container-fluid');if(windowWidth{if(result.isConfirmed){window.location.reload();//Reloadthepe}});}else{Swal.fire({icon:'Info',text:text,title:'info',html:text,allowOutsideClick:false,//Preventdismissingthealertbyclickingoutside}).then((result)=>{if(result.isConfirmed){window.location.reload();//Reloadthepe}});}}//Eventlistenerforpopstateevent(browserbackbutton)functionUpdateCheckoutCart(cartItems,data){varformattedTotal;varcartHtmlBloc='';if(data.total!==null){formattedTotal=data.total;}else{formattedTotal=0.00;}if(cartItems.length>0){cartItems.forEach(function(product){cartHtmlBloc+='';cartHtmlBloc+='';cartHtmlBloc+=''+product.product_name+'';if(product.price_discount&&parseFloat(product.price_discount)>0){cartHtmlBloc+=''+product.price+'';cartHtmlBloc+=''+''+product.price_discount_display+'';}else{cartHtmlBloc+=product.price;}cartHtmlBloc+=''+'Qte:'+product.quantity+'';cartHtmlBloc+='';});}else{location.reload();}cartHtmlBloc+='';cartHtmlBloc+='Total';cartHtmlBloc+='';cartHtmlBloc+=''+formattedTotal+'';cartHtmlBloc+='';cartHtmlBloc+='';//Updatethecarttablebody$('.total-price-custom-tabletbody').html(cartHtmlBloc);}$(window).on('peshow',function(event){//Checkiftheevent'spersistedpropertyistrueif(event.originalEvent.persisted){console.log('Pewasloadedfromtheback/forwardcache');//Thismeansthepewasloadedfromtheback/forwardcache//PerformyourAJAXrequestsheregetCountCartView();updateCartView();}});$(document).ready(function(){});AproposNotrehistoireNotreuniversSecretsdequalitéBoutiqueCosmétiquenaturelleMaquilleParfumsCosmétiquenaturelleMaquilleParfumsDécouvrezl’opportunitéBlogContactRemove×QUECHERCHEZVOUS?FrFrançaisEnglishAlgérieTunisieCôted039;IvoireKoweïtÉmiratsarabesunisLibyeROYAUMED039;ARABIESAOUDITESultanatd039;Oman0Oserlebien-êtreauquotidienLebien-êtreetlabeautésontdeuxnotionstrèsintimementliéesauxquellesARVEANatureadédié toutessesrecherchesetinnovations.Abased’ingrédientsnaturelsoud’originenaturelle,tousnos produitsserontvotremeilleuralliépourunquotidienplussainetplusréable.EnsoirplusDessoinspourlevise,lecorpsetlebien-êtreC’estecnotreplusgrandefiertéquenousmettonsàvotredispositionplusd’unecentainede produits,tousàl’imedenotreauthenticitéetdenotregénérosité. Tousnosproduitsontétéévaluéspardestestsdefiabilitéetdeconformitéenlaboratoire spécialisé.EnsoirplusMAQUILLEENSOIR+PARFUMSENSOIR+COSMÉTIQUENATURELLEENSOIR+L’OpportunitéARVEANature:Rienàperdre,toutàgner!Quevoussouhaitiezdéveloppervoscompétencespersonnellesetprofessionnelles,arrondirvosfins demoisou considérerl’opportunitécommeunesourcedelibertéfinancière,nousvousinvitonsà entreprendredansun métieroùaucunprérequisn’estnécessaireetaucunsrisquesfinanciersà relever.EnsoirplusMLMCOMMENTREUSSIR?COMMENTJOINDREARVEA?PourquoiARVEA Nature?PlanderémunérationARVEANATURE QUISOMMES-NOUS?SecretsdequalitéDepuisplusde10ans,noséquipessontaniméesparuneseuleetmêmedétermination:améliorer votrebien-êtreetvotrequalitédevie.Noussomm...ENSOIR+NotreHistoireSadokLARIBI,fondateurdelamarqueARVEANature,atoujourseuàcœurdecréerunemarque internationaleauxvaleursuniverselles.Pourlui,la...ENSOIR+NotreuniversIlestvraiquelaréussited’ARVEANaturereposesurlahautequalitéetladiversitédesesproduits. Cependant,sansl’engementinconditionn...ENSOIR+LebienêtreetlabeautésontdeuxnotionstrèsintimementliéesauxquellesARVEANatureàdédiétoutessesrecherchesetinnovations.EntrepriseNotrehistoireNotreuniversSecretsdequalitéProduitsPourquoiARVEANature ?PolitiquedeconfidentialitéLiensUtilesCommentrejoindreARVEANature?MLMCommentRéussir?RémunérationEspacePartenaireConditionsgénéralesdeventeCatalogueS'inscrireàlanewsletterEntrezvotreadressee-mailpourrecevoirdesnewslettersutiles🍪issurlescookiesNousutilisonsdescookiespourgarantirquenousvousoffronslameilleureexpériencesurnotresiteWeb.LirelespolitiquesdecookiesAccepter.cookie-card{max-width:320px;padding:1rem;background-color:#fff;border-radius:10px;box-shadow:20px20px30pxrgba(0,0,0,.05);}.title{font-weight:600;color:rgb(314155);}.description{margin-top:1rem;font-size:0.875rem;line-height:1.25rem;color:rgb(758599);}.descriptiona{--tw-text-opacity:1;color:rgb(59130246);}.descriptiona:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline;}.actions{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;-moz-column-gap:1rem;column-gap:1rem;flex-shrink:0;}.pref{font-size:0.75rem;line-height:1rem;color:rgb(314155);-webkit-text-decoration-line:underline;text-decoration-line:underline;transition:all.3scubic-bezier(0.4,0,0.2,1);border:none;background-color:transparent;}.pref:hover{color:rgb(156163175);}.pref:focus{outline:2pxsolidtransparent;outline-offset:2px;}.accept{font-size:0.75rem;line-height:1rem;background-color:rgb(172439);font-weight:500;border-radius:0.5rem;color:#fff;padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem;border:none;transition:all.15scubic-bezier(0.4,0,0.2,1);}.accept:hover{background-color:rgb(556581);}.accept:focus{outline:2pxsolidtransparent;outline-offset:2px;}window._mfq=window._mfq||[];(function(){varmf=document.createElement("script");mf.type="text/jascript";mf.defer=true;mf.src="//cdn.mouseflow.com/projects/b986a44e-c1ce-4752-9286-ded099.js";document.getElementsByTName("head")[0].appendChild(mf);})();varUSE_RECAPTCHA=1;varCAPTCHA_KEY='6LemuqAAAAALxaw9YgHw4oCJtPoHLr_rO1z1V8';varwidgetTemoigne;varwidgetNewsletter;varwidgetContact;varwidgetOpportunite;varonloadCallback=function(){//RenderstheHTMLelementwithid'example1'asareCAPTCHAwidget.//TheidofthereCAPTCHAwidgetisassignedto'widgetId1'.if($('#widgetTemoigne').length){widgetTemoigne=grecaptcha.render('widgetTemoigne',{'sitekey':CAPTCHA_KEY,'theme':'light',//'callback':verifyCallback,});}if($('#widgetContact').length){widgetContact=grecaptcha.render('widgetContact',{'sitekey':CAPTCHA_KEY,'theme':'light',});}if($('#widgetOpportunite').length){widgetOpportunite=grecaptcha.render('widgetOpportunite',{'sitekey':CAPTCHA_KEY,'theme':'light',});}widgetNewsletter=grecaptcha.render('widgetNewsletter',{'sitekey':CAPTCHA_KEY,'theme':'light',//'callback':verifyCallback,});};/***ValidatesthereCAPTCHAresponse.*@returns{boolean}TrueifthereCAPTCHAisvalid,falseotherwise.*/functionvalidateCaptchaAlert(){if(!USE_RECAPTCHA){returntrue;}varresponse=grecaptcha.getResponse(widgetNewsletter);if(response==''){$('#error-captcha-footer').html("Captchaestobligatoire!");returnfalse;}else{$('#error-captcha-footer').html('');returntrue;}}/***CallbackfunctiontobecalledwhenthereCAPTCHAissuccessfullycompleted.*ClearstheerrormesseforthereCAPTCHA.*/functiononReCaptchaFooterValid(){$('#error-captcha-footer').html('');}jQuery.validator.addMethod("emailRegex",function(value,element){returnthis.optional(element)||/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(value);},"Veuillezsaisiruneadressemailvalide");$(document).ready(function(){$("#footerForm").validate({rules:{email:{required:true,email:true,emailRegex:true,},},if(USE_RECAPTCHA){rules['g-recaptcha-response']={required:true,};},messes:{email:{required:"VeuillezsaisirvotreEmail!",email:"Veuillezsaisiruneadressemailvalide",},'g-recaptcha-response':{required:"Captchaestobligatoire!"},},errorPlacement:function(error,element){varplacement=$(element).data('error');if(placement){$(placement).append(error)}else{error.insertAfter(element.parent());}}});functionprintErrorMsg(msg){$.each(msg,function(key,value){$('.'+key+'_err').text(value);});}$.ajaxSetup({headers:{'X-CSRF-TOKEN':$('meta[name="csrf-token"]').attr('content')}});$('#submit_footer').click((e)=>{e.preventDefault();if(validateCaptchaAlert()&&$("#footerForm").valid()){$('#icon-news').replaceWith("");$("#submit_footer").attr("disabled",true);$.ajax({url:"ae.arvea-nature.com/store-newsletter",type:"POST",data:$('#footerForm').serialize(),success:function(data){if($.isEmptyObject(data.warning)){$('#icon-news').replaceWith("");$("#submit_footer").attr("disabled",false);Swal.fire({icon:'success',text:"Votredemanded'Inscriptionaétéeffectuéeecsuccès.Mercidevotreconfiance!",confirmButtonColor:"#64bebe",confirmButtonText:"OK",})document.getElementById("footerForm").reset();window.grecaptcha.reset();}else{$('#icon-news').replaceWith("");$("#submit_footer").attr("disabled",false);//toastr.warning(//data.warning//);Swal.fire({icon:'warning',text:data.warning,confirmButtonColor:"#64bebe",confirmButtonText:"OK",})}if($.isEmptyObject(data.error)){printErrorMsg(data.error);}}});}});});functionpopupFunction(){vardelaySecond=1,expireDays=30,cookieName='litho-promo-popup';setTimeout(function(){$.mnificPopup.open({showCloseBtn:false,items:{src:'#subscribe-popup'},type:'inline',mainClass:'my-mfp-zoom-in',callbacks:{close:function(){if($('#newsletter-off').is(':checked')){setCookie(cookieName,$('.mfp-close').data('name'),expireDays);}}}});},(delaySecond));}(function(){"usestrict";varcookieBox=document.querySelector(".cookie");varacceptBtn=cookieBox.querySelector("#accept");cookieBox.offsetHeight;//Forcebrowsertotriggerreflow(stackoverflow.com/a/)if(!getCookie("acceptCookies")){cookieBox.classList.remove("hide");}acceptBtn.addEventListener("click",function(){setCookie("acceptCookies",true,60);cookieBox.classList.add("hide");});})();//Cookiefunctionsstolenfromw3schoolsfunctionsetCookie(cname,cvalue,exdays){vard=newDate();d.setTime(d.getTime()+(exdays*24*60*60*1000));varexpires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/";}functiongetCookie(cname){varname=cname+"=";vardecodedCookie=decodeURIComponent(document.cookie);varca=dARVEA NATUREecodedCookie.split(';');for(vari=0;i{requestAnimationFrame(()=>{node.style.backgroundIme=`url(${src})`node.classList.add(loadedClassName);onComplete();})}return{node,//onCompleteiscalledaftertheimeisdoneloading.load:(onComplete)=>{letimg=newIme();img.onload=show(onComplete);img.src=src;}}}letdefaultOptions={selector:'[data-background-ime-url]',loadedClassName:'loaded'}functionBackgroundLazyLoader({selector,loadedClassName}=defaultOptions){letnodes=[].slice.apply(document.querySelectorAll(selector)).map(node=>newBackgroundNode({node,loadedClassName}));letcallback=(entries,observer)=>{entries.forEach(({target,isIntersecting})=>{if(!isIntersecting){return;}letobj=nodes.find(it=>it.node.isSameNode(target));if(obj){obj.load(()=>{//Unobservethenode:observer.unobserve(target);//Removethisnodefromourlist:nodes=nodes.filter(n=>!n.node.isSameNode(target));//Iftherearenoremainingunloadednodes,//disconnecttheobserversincewedon'tneeditanymore.if(!nodes.length){observer.disconnect();}});}})};letobserver=newIntersectionObserver(callback);nodes.forEach(node=>observer.observe(node.node));};BackgroundLazyLoader();functionshowSessionExpiredModal(text,icon,redirect){Swal.fire({icon:icon,//SettheiconbasedonalertIconvaluehtml:text,//Use'html'insteadof'text'torenderHTMLcontentshowConfirmButton:true,confirmButtonColor:"#3085d6",//Redforerror,greenforsuccessconfirmButtonText:'OK',allowOutsideClick:false,//Preventdismissingthealertbyclickingoutside}).then((result)=>{if(result.isConfirmed){window.location=redirect;}});}//FunctiontoaddtherefparametertotheURLifnotpresentfunctionaddRefParameter(){//getvaluefrombladeletcurrentUrl=newURL(window.location.href);letparams=currentUrl.searchParams;if(!params.has('ref')){letcookieref="";if(cookieref){params.set('ref',cookieref);}currentUrl.search=params.toString();window.history.replaceState({},'',currentUrl.toString());}}//Callthefunctionwhenthepeloadswindow.onload=addRefParameter;if(null){updateTimer();//PourdémarrerimmédiatementlecompteàreboursauchargementdelapeletintervalId;//Variablepourstockerl'IDdel'intervallefunctionupdateTimer(){varDate_Discount=null;future=Date.parse(Date_Discount);now=newDate();diff=future-now;if(diff

Posto:ARVEA NATURErapporto

In caso di violazione del sito, fare clic su Segnalarapporto

Informazioni consigliate

Sito consigliato