Initial Commit N° : 001 - V.4.3.3

This commit is contained in:
2025-03-28 14:32:57 +01:00
commit 238e5d7999
809 changed files with 371149 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
jQuery(document).ready(function(n){"use strict";n(".countdown").length>0&&(n.countdown.regionalOptions[""]={labels:[nasa_countdown_l10n.years,nasa_countdown_l10n.months,nasa_countdown_l10n.weeks,nasa_countdown_l10n.days,nasa_countdown_l10n.hours,nasa_countdown_l10n.minutes,nasa_countdown_l10n.seconds],labels1:[nasa_countdown_l10n.year,nasa_countdown_l10n.month,nasa_countdown_l10n.week,nasa_countdown_l10n.day,nasa_countdown_l10n.hour,nasa_countdown_l10n.minute,nasa_countdown_l10n.second],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!0},n.countdown.setDefaults(n.countdown.regionalOptions[""]),n(".countdown").each(function(){var o=n(this);if(!n(o).hasClass("countdown-loaded")){var a=new Date(o.data("countdown"));n(o).countdown({until:a,padZeroes:!0}),n(o).hasClass("pause")&&n(o).countdown("pause"),n(o).addClass("countdown-loaded")}}))});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
jQuery(document).ready(function(t){"use strict";t.confetti=new function(){function n(t){this.x=Math.random()*g,this.y=Math.random()*v-v,this.r=r(5,15),this.d=Math.random()*b+10,this.color=t,this.tilt=Math.floor(10*Math.random())-10,this.tiltAngleIncremental=.07*Math.random()+.05,this.tiltAngle=0,this.draw=function(){return y.beginPath(),y.lineWidth=this.r/2,y.strokeStyle=this.color,y.moveTo(this.x+this.tilt+this.r/4,this.y),y.lineTo(this.x+this.tilt,this.y+this.tilt+this.r/4),y.stroke()}}function e(){i(),t(window).on("resize",function(){g=window.innerWidth,v=window.innerHeight,w.width=g,w.height=v})}function i(){t("#nasa-confetti").length<1&&(t("form.nasa-shopping-cart-form").length?t("body").append('<canvas id="nasa-confetti" style="display: none;"></canvas>'):t("#cart-sidebar").length?t("#cart-sidebar").append('<canvas id="nasa-confetti" style="display: none;"></canvas>'):t("body").append('<canvas id="nasa-confetti" style="display: none;"></canvas>'),t("#ns-cart-popup").length&&t("#ns-cart-popup").parents(".ns-cart-popup-wrap").prepend('<canvas id="nasa-confetti-popup" style="display: none; position: relative; z-index: 9;"></canvas>')),t("#review_form_wrapper").length&&t("#nasa-confetti-review").length<1&&t("#review_form_wrapper").prepend('<canvas id="nasa-confetti-review" style="display: none;"></canvas>'),w=document.getElementById("nasa-confetti"),t("#ns-cart-popup").parents(".ns-cart-popup-wrap").hasClass("nasa-active")&&(w=document.getElementById("nasa-confetti-popup")),t("#review_form_wrapper").hasClass("ns-show")&&(w=document.getElementById("nasa-confetti-review")),y=w.getContext("2d"),g=window.innerWidth,v=window.innerHeight,w.width=g,w.height=v,q=!0}function o(){w.style.display="block",x=[],T=!1;for(var t=0;b>t;t++){var e=C.getColor();x.push(new n(e))}l()}function a(){b=t("body").hasClass("nasa-in-mobile")?50:300,y.clearRect(0,0,g,v);for(var n=[],e=0;b>e;e++)!function(t){n.push(x[t].draw())}(e);return s(),n}function r(t,n){return Math.floor(Math.random()*(n-t+1)+t)}function s(){var t,n=0;I+=.01,A+=.1;for(var e=0;b>e;e++){if(t=x[e],T)return;!F&&t.y<-15?t.y=v+100:(d(t,e),t.y<=v&&n++,c(t,e))}0===n&&p()}function c(t,n){(t.x>g+20||t.x<-20||t.y>v)&&F&&(n%5>0||n%2==0?h(t,Math.random()*g,-10,Math.floor(10*Math.random())-10):Math.sin(I)>0?h(t,-5,Math.random()*v,Math.floor(10*Math.random())-10):h(t,g+5,Math.random()*v,Math.floor(10*Math.random())-10))}function d(t,n){t.tiltAngle+=t.tiltAngleIncremental,t.y+=(Math.cos(I+t.d)+10+t.r/2)/2,t.x+=Math.sin(I),t.tilt=10*Math.sin(t.tiltAngle-n/3)}function h(t,n,e,i){t.x=n,t.y=e,t.tilt=i}function l(){q||e(),g=window.innerWidth,v=window.innerHeight,w.width=g,w.height=v,function t(){return T?null:(_=requestAnimFrame(t),a())}()}function f(){clearTimeout(M),clearTimeout(_)}function u(){F=!1,f()}function p(){q||e(),T=!0,"undefined"!=typeof y&&(y.clearRect(0,0,g,v),w.style.display="none")}function m(){q||e(),f(),p(),M=setTimeout(function(){F=!0,T=!1,o()},100)}var w,y,g,v,M,_,b=300,x=[],I=0,A=0,F=!0,T=!0,q=!1,C={colorOptions:["#EF2964","#00C09D","#2D87B0","#48485E","#EFFF1D"],colorIndex:0,colorIncrementer:0,colorThreshold:10,getColor:function(){return this.colorIncrementer>=10&&(this.colorIncrementer=0,this.colorIndex++,this.colorIndex>=this.colorOptions.length&&(this.colorIndex=0)),this.colorIncrementer++,this.colorOptions[this.colorIndex]}};window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),this.init=e,this.start=o,this.stop=u,this.restart=m},t("body").on("nasa_confetti_init",function(){t.confetti.init()}),t("body").on("nasa_confetti_start",function(n,e){t.confetti.start(),"undefined"!=typeof e&&setTimeout(function(){t("body").trigger("nasa_confetti_stop")},e)}),t("body").on("nasa_confetti_restart",function(n,e){t.confetti.restart(),"undefined"!=typeof e&&setTimeout(function(){t("body").trigger("nasa_confetti_stop")},e)}),t("body").on("nasa_confetti_stop",function(){t.confetti.stop()})});
+1
View File
@@ -0,0 +1 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function o(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(c," ")),u.json?JSON.parse(e):e}catch(n){}}function t(n,o){var i=u.raw?n:r(n);return e.isFunction(o)?o(i):i}var c=/\+/g,u=e.cookie=function(r,c,f){if(void 0!==c&&!e.isFunction(c)){if(f=e.extend({},u.defaults,f),"number"==typeof f.expires){var a=f.expires,d=f.expires=new Date;d.setTime(+d+864e5*a)}return document.cookie=[n(r),"=",i(c),f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}for(var p=r?void 0:{},s=document.cookie?document.cookie.split("; "):[],m=0,x=s.length;x>m;m++){var v=s[m].split("="),k=o(v.shift()),l=v.join("=");if(r&&r===k){p=t(l,c);break}r||void 0===(l=t(l))||(p[k]=l)}return p};u.defaults={},e.removeCookie=function(n,o){return void 0===e.cookie(n)?!1:(e.cookie(n,"",e.extend({},o,{expires:-1})),!e.cookie(n))}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
function nasa_boot_sale_intival_countdown(n,a,s,i,e){nsfk_is_pause||(nsfk_time=0),nsfk_intival=setInterval(function(){nsfk_is_pause||(nsfk_time+=100,nsfk_time>=e/2&&(n(".ns-sale-notification").removeClass("nasa-active"),n("body").trigger("nasa_boot_sale_off")),nsfk_time>=e&&(s=s>=i-1?0:s+1,nasa_boot_sale_intival(n,a[s]),nsfk_time=0))},100)}function nasa_boot_sale_intival(n,a){if(n(".ns-sale-notification").length<=0&&n("body").append('<div class="ns-sale-notification"></div>'),"undefined"!=typeof a){var s=n("#ns-sale-notification-tml").html();s=s.replace(/{{p_name}}/g,a.p_name),s=s.replace(/{{src_img}}/g,a.src_img),s=s.replace(/{{customer}}/g,a.customer),s=s.replace(/{{p_url}}/g,a.p_url),s=s.replace(/{{time_purchase}}/g,a.time_purchase),s=s.replace(/{{p_data_prod}}/g,a.p_data_prod),n(".ns-sale-notification").html(s),0==a.p_data_prod&&n(".ns-sale-notification").find(".ns-noti-link").remove(),setTimeout(function(){n(".ns-sale-notification").addClass("nasa-active"),n("body").trigger("nasa_boot_sale_on")},100)}}var nsfk_is_pause=!1,nsfk_intival,nsfk_time=0;jQuery(document).ready(function(n){"use strict";if(n("#ns-sale-notification-tml").length&&"undefined"!=typeof ns_fkp&&ns_fkp&&"undefined"!=typeof ns_fkp_count&&ns_fkp_count&&"undefined"!=typeof time_interval&&time_interval&&!n("body").hasClass("nasa-in-mobile")){var a=0;nasa_boot_sale_intival_countdown(n,ns_fkp,a,ns_fkp_count,time_interval),n("body").on("click",".close-noti",function(){clearInterval(nsfk_intival),n(".ns-sale-notification").removeClass("nasa-active"),n("body").trigger("nasa_boot_sale_off"),a=a>=ns_fkp_count-1?0:a+1,nsfk_time=0,nsfk_is_pause=!1,nasa_boot_sale_intival_countdown(n,ns_fkp,a,ns_fkp_count,time_interval)}),n("body").on("mouseenter",".ns-sale-notification",function(){n(".ns-sale-notification").hasClass("nasa-active")&&(nsfk_is_pause=!0)}).on("mouseleave",".ns-sale-notification",function(){n(".ns-sale-notification").hasClass("nasa-active")&&(nsfk_is_pause=!1)})}});
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
jQuery(document).ready(function(t){"use strict";t("body").on("click",".product-lightbox .adsw-attribute-option .sku-set",function(){var a=t(this);if(!t(a).hasClass("active")&&!t(a).hasClass("sku-disabled")){var i=t(a).attr("data-value"),s=t(a).parents("td.value"),e=t(s).find("select"),n=t(a).parents(".adsw-attribute-option");t(n).find(".sku-set").removeClass("active"),t(a).addClass("active"),t(e).val(i).trigger("change")}}),t("body").on("check_variations",function(){var a=t(".product-lightbox form.variations_form");t(a).length&&t(a).find(".adsw-attribute-option").each(function(){var a=t(this),i=t(a).parents("td.value"),s=t(i).find("select");t(a).find(".sku-set:not(.active)").each(function(){var a=t(this),i=t(a).attr("data-value"),e=t(s).find('option[value="'+i+'"]').attr("disabled");(t(s).find('option[value="'+i+'"]').length<=0||"undefined"!=typeof e)&&(t(a).hasClass("sku-disabled")||t(a).addClass("sku-disabled"))})})}),t("body").on("click",".reset_variations",function(){var a=t(this).parents(".product-lightbox");if(t(a).length&&t(a).find("form.variations_form").length){var i=t(a).find("form.variations_form");t(i).find(".sku-set").removeClass("active").removeClass("sku-disabled")}})});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
jQuery(document).ready(function(e){"use strict";if(e(".nasa-currencies-3rd .nasa-currency-switcher").length){if(e(".woocs_auto_switcher").length){var c=e(".woocs_auto_switcher"),r='<ul class="nasa-woocs-switcher crr-switcher">',a=0;e(c).find(".woocs_auto_switcher_link").each(function(){var c=e(this);if(e(c).attr("data-index",a),a++,!e(c).hasClass("woocs_curr_curr")){var n=e(c).parents("li").clone();e(n).find("a").removeClass("woocs_auto_switcher_link"),e(n).find("a").addClass("nasa-woocs-switcher-link"),r+="<li>"+e(n).html()+"</li>"}}),r+="</ul>";var n=e(c).find(".woocs_curr_curr").clone();e(n).removeClass("woocs_auto_switcher_link"),e(n).removeClass("woocs_curr_curr"),e(n).addClass("nasa-crc nasa-woocs-crc"),e(".nasa-currencies-3rd").prepend(n),e(".nasa-currency-switcher").append(r),e(".nasa-currency-switcher, .nasa-currencies-3rd").removeClass("hidden-tag")}if(e(".wmc-list-currencies").length){var s=e(".wmc-list-currencies"),r='<ul class="nasa-wmc-switcher crr-switcher">',i="";e(s).find(".wmc-currency").each(function(){var c=e(this),a=e(c).clone();if(e(c).hasClass("wmc-active")){var n=e(a).html();e(a).find(".wmc-active-title").length?(e(a).find(".wmc-active-title").prepend(e(a).find(".wmc-currency-symbol")),n=e(a).find(".wmc-active-title").html()):e(a).find("a").length&&(n=e(a).find("a").html()),i='<a href="javascript:void(0);" rel="nofollow" class="wmc-active">'+n+"</a>"}else e(a).find(".wmc-currency-symbol").length&&e(a).find("a").prepend(e(a).find(".wmc-currency-symbol")),r+="<li>"+e(a).html()+"</li>"}),r+="</ul>",e(".nasa-currencies-3rd").prepend(i),e(".nasa-currency-switcher").append(r),e(".nasa-currency-switcher, .nasa-currencies-3rd").removeClass("hidden-tag"),e(s).parents(".woocommerce-multi-currency").length&&e(s).parents(".woocommerce-multi-currency").addClass("hidden-tag")}}e("body").on("click",".nasa-woocs-switcher-link",function(){var c=e(this).attr("data-index");e('.woocs_auto_switcher_link[data-index="'+c+'"]').length&&e('.woocs_auto_switcher_link[data-index="'+c+'"]').trigger("click")}),e("body").on("nasa_after_render_currencies_switcher",function(c,r){e(r).find(".nasa-currency-switcher").length&&(e(r).addClass("menu-item-has-children root-item li_accordion"),e(r).find(".nasa-currency-switcher").addClass("nav-dropdown")),c.preventDefault()});var t="";e("body").on("nasa_before_load_ajax",function(){if(e(".nasa-currencies-3rd").length){var c=e(".nasa-currencies-3rd").clone();t=e(c).html()}}),e("body").on("nasa_after_loaded_ajax_complete",function(){e(".nasa-currencies-3rd").length&&(e(".nasa-currencies-3rd").html(t),e(".nasa-currencies-3rd").removeClass("hidden-tag")),t=""}),e("body").on("click","a[data-currency]",function(){"undefined"!=typeof _popstate_reload&&(_popstate_reload=!1)})});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long