function twentytwentyoneResponsiveEmbeds(){var proportion,parentWidth;document.querySelectorAll('iframe').forEach(function(iframe){if(iframe.width&&iframe.height){proportion=parseFloat(iframe.width)/parseFloat(iframe.height);parentWidth=parseFloat(window.getComputedStyle(iframe.parentElement,null).width.replace('px',''));iframe.style.maxWidth='100%';iframe.style.maxHeight=Math.round(parentWidth/proportion).toString()+'px'}})} twentytwentyoneResponsiveEmbeds();window.onresize=twentytwentyoneResponsiveEmbeds; (()=>{"use strict";const t=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},n=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},e=function(e,o){return function(i,r,s,c=10){const l=e[o];if(!n(i))return;if(!t(r))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const a={callback:s,priority:c,namespace:r};if(l[i]){const t=l[i].handlers;let n;for(n=t.length;n>0&&!(c>=t[n-1].priority);n--);n===t.length?t[n]=a:t.splice(n,0,a),l.__current.forEach((t=>{t.name===i&&t.currentIndex>=n&&t.currentIndex++}))}else l[i]={handlers:[a],runs:0};"hookAdded"!==i&&e.doAction("hookAdded",i,r,s,c)}},o=function(e,o,i=!1){return function(r,s){const c=e[o];if(!n(r))return;if(!i&&!t(s))return;if(!c[r])return 0;let l=0;if(i)l=c[r].handlers.length,c[r]={runs:c[r].runs,handlers:[]};else{const t=c[r].handlers;for(let n=t.length-1;n>=0;n--)t[n].namespace===s&&(t.splice(n,1),l++,c.__current.forEach((t=>{t.name===r&&t.currentIndex>=n&&t.currentIndex--})))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,s),l}},i=function(t,n){return function(e,o){const i=t[n];return void 0!==o?e in i&&i[e].handlers.some((t=>t.namespace===o)):e in i}},r=function(t,n,e=!1){return function(o,...i){const r=t[n];r[o]||(r[o]={handlers:[],runs:0}),r[o].runs++;const s=r[o].handlers;if(!s||!s.length)return e?i[0]:void 0;const c={name:o,currentIndex:0};for(r.__current.push(c);c.currentIndex{this.initBlock(n)}))}}isBlockRequiresInit(t){let n=void 0===t.dataset.jetInited;const e=this.getBlockName(t);return n&&this.blocksConditions[e]&&(n=this.blocksConditions[e](t)),n}initBlock(t,n){n=n||!1;const e=this.hookNameFromBlock(t);if(e&&this.hasHandlers(e)){let o=n;o||(o=this.isBlockRequiresInit(t)),o&&(this.hooks.doAction(e,jQuery(t)),t.dataset.jetInited=!0)}}hasHandlers(t){return!!this.hooks.actions[t]&&!(!this.hooks.actions[t].handlers||!this.hooks.actions[t].handlers.length)}registerBlockHandlers(t){const n=this.getBlockName(t.block);this.hooks.addAction(this.hookNameFromBlock(n),`${this.globalNamespace}/${t.block}`,t.callback),t.condition&&"function"==typeof t.condition&&(this.blocksConditions[n]=t.condition)}bulkBlocksInit(t){for(var n=0;n c&&(c+=1);1c?b:c<2/3?a+(b-a)*(2/3-c)*6:a}var d=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a);a=parseInt(d[1])/360;var c=parseInt(d[2])/100,d=parseInt(d[3])/100;if(0==c)c=d=a=d;else{var e=.5>d?d*(1+c):d+c-d*c,l=2*d-e,c=b(l,e,a+1/3),d=b(l,e,a);a=b(l,e,a-1/3)}return"rgb("+255*c+","+255*d+","+255*a+")"}function x(a){if(a=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|pc|vw|vh|deg|rad|turn)?/.exec(a))return a[2]}function U(a){if(-1=f.currentTime)for(var u=0;ul&&r=n&&(f.began=!0,e("begin")),e("run")):(r<=l&&0!==P&&(c(0),q&&g()),r>=h&&P!==h&&(c(h),q||g()));a>=h&&(f.remaining?(t=m,"alternate"===f.direction&&(f.reversed=!f.reversed)):(f.pause(),"Promise"in window&&(Q(),R=b()),f.completed||(f.completed=!0,e("complete"))), k=0);e("update")}a=void 0===a?{}:a;var m,t,k=0,Q=null,R=b(),f=fa(a);f.reset=function(){var a=f.direction,b=f.loop;f.currentTime=0;f.progress=0;f.paused=!0;f.began=!1;f.completed=!1;f.reversed="reverse"===a;f.remaining="alternate"===a&&1===b?2:b;for(a=f.children.length;a--;)b=f.children[a],b.seek(b.offset),b.reset()};f.tick=function(a){m=a;t||(t=m);h((k+m-t)*n.speed)};f.seek=function(a){h(d(a))};f.pause=function(){var a=q.indexOf(f);-1=b&&0<=c&&1>=c){var g=new Float32Array(11);if(b!==d||c!==e)for(var h=0;11>h;++h)g[h]=a(.1*h,b,c);return function(h){if(b===d&&c===e)return h;if(0===h)return 0;if(1===h)return 1;for(var m=0,k=1;10!==k&&g[k]<=h;++k)m+=.1;--k;var k=m+(h-g[k])/(g[k+1]-g[k])*.1,l=3*(1-3*c+3*b)*k*k+2*(3*c-6*b)*k+3*b;if(.001<=l){for(m=0;4>m;++m){l=3*(1-3*c+3*b)*k*k+2*(3*c-6*b)*k+3*b;if(0===l)break; var n=a(k,b,c)-h,k=k-n/l}h=k}else if(0===l)h=k;else{var k=m,m=m+.1,f=0;do n=k+(m-k)/2,l=a(n,b,c)-h,0++f);h=n}return a(h,d,e)}}}}(),N=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var b="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98, .335],[.6,-.28,.735,.045],a],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},c={linear:y(.25,.25,.75,.75)},e={},l;for(l in d)e.type=l,d[e.type].forEach(function(a){return function(d, e){c["ease"+a.type+b[e]]=g.fnc(d)?d:y.apply($jscomp$this,d)}}(e)),e={type:e.type};return c}(),ia={css:function(a,b,d){return a.style[b]=d},attribute:function(a,b,d){return a.setAttribute(b,d)},object:function(a,b,d){return a[b]=d},transform:function(a,b,d,c,e){c[e]||(c[e]=[]);c[e].push(b+"("+d+")")}},q=[],z=0,ja=function(){function a(){z=requestAnimationFrame(b)}function b(b){var c=q.length;if(c){for(var d=0;dc&&(b.duration=a.duration);a.began=!0;b.children.push(a)});b.reset();b.seek(0);b.autoplay&&b.restart();return b};return b};n.random=function(a,b){return Math.floor(Math.random()*(b-a+1))+a};return n});; (function($){'use strict';window.JetPopupFrontend={addedScripts:{},addedStyles:{},addedAssetsPromises:[],init:function(){let $popup_list=$('.jet-popup.jet-popup--front-mode');$popup_list.each(function(index){let $target=$(this),instance=null,settings=$target.data('settings');instance=new window.jetPopup($target,settings);instance.init()});JetPopupFrontend.initAttachedPopups();JetPopupFrontend.initBlocks();$(window).on('jet-popup/ajax/frontend-init',(event,payload)=>{switch(payload.contentType){case 'elementor':JetPopupFrontend.maybeElementorFrontendInit(payload.$container);break;case 'default':JetPopupFrontend.maybeDefaultFrontendInit(payload);break}})},initAttachedPopups:function($scope){$scope=$scope||$('body');$scope.find('[data-popup-instance]').each((index,el)=>{let $this=$(el),popupId=$this.data('popup-instance')||'none',triggerType=$this.data('popup-trigger-type')||'none',clickedCustomClass=$this.data('popup-custom-selector')||'',popupData={popupId:`jet-popup-${ popupId }`,};if($this.hasClass('jet-popup-attach-event-inited')){return} $this.addClass('jet-popup-attach-event-inited');switch(triggerType){case 'click-self':$this.addClass('jet-popup-cursor-pointer');$this.on('click.JetPopup',function(event){event.preventDefault();$(window).trigger({type:'jet-popup-open-trigger',popupData:popupData,triggeredBy:$this,});return!1});break;case 'click-selector':if(''!==clickedCustomClass){$this.find(clickedCustomClass).addClass('jet-popup-cursor-pointer');$this.on('click.JetPopup',clickedCustomClass,function(event){event.preventDefault();$(window).trigger({type:'jet-popup-open-trigger',popupData:popupData,triggeredBy:$this,});return!1})} break;case 'hover':$this.on('mouseenter.JetPopup',function(event){$(window).trigger({type:'jet-popup-open-trigger',popupData:popupData,triggeredBy:$this,})});break;case 'scroll-to':const observer=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){$(window).trigger({type:'jet-popup-open-trigger',popupData:popupData,triggeredBy:$this,})}})},{threshold:0.5});for(let i=0;i<$($this).length;i++){const elements=$($this)[i];observer.observe(elements)} break}})},initBlocks:function($scope){$scope=$scope||$('body');window.JetPlugins.init($scope,[{block:'jet-popup/action-button',callback:($scope)=>{let $button=$('.jet-popup-action-button__instance',$scope),actionType=$scope.data('action-type');JetPopupFrontend.actionButtonHandle($button,actionType)}}])},actionButtonBlock:function($scope){var $button=$('.jet-popup-action-button__instance',$scope),actionType=$scope.data('action-type');JetPopupFrontend.actionButtonHandle($button,actionType)},actionButtonHandle:function($button,actionType='link'){switch(actionType){case 'link':$button.on('click.JetPopup',function(event){event.preventDefault();var $currentPopup=$button.closest('.jet-popup'),link=$(this).attr('href'),target=$(this).attr('target'),popupId=$currentPopup.attr('id');$(window).trigger({type:'jet-popup-close-trigger',popupData:{popupId:popupId,constantly:!1}});if('_blank'===target){window.open(link,'_blank')}else{window.open(link,'_self')} return!1});break;case 'leave':$button.on('click.JetPopup',function(event){event.preventDefault();window.history.back()});break;case 'close-popup':$button.on('click.JetPopup',function(event){event.preventDefault();var $currentPopup=$button.closest('.jet-popup'),popupId=$currentPopup.attr('id');$(window).trigger({type:'jet-popup-close-trigger',popupData:{popupId:popupId,constantly:!1}})});break;case 'close-all-popups':$button.on('click.JetPopup',function(event){event.preventDefault();var $popups=$('.jet-popup');if($popups[0]){$popups.each(function(index){var $popup=$(this),popupId=$popup.attr('id');$(window).trigger({type:'jet-popup-close-trigger',popupData:{popupId:popupId,constantly:!1}})})}});break;case 'close-constantly':$button.on('click.JetPopup',function(event){event.preventDefault();var $currentPopup=$button.closest('.jet-popup'),popupId=$currentPopup.attr('id');$(window).trigger({type:'jet-popup-close-trigger',popupData:{popupId:popupId,constantly:!0}})});break;case 'close-all-constantly':$button.on('click.JetPopup',function(event){event.preventDefault();var $popups=$('.jet-popup');if($popups[0]){$popups.each(function(index){var $popup=$(this),popupId=$popup.attr('id');$(window).trigger({type:'jet-popup-close-trigger',popupData:{popupId:popupId,constantly:!0}})})}});break}},loadScriptAsync:function(script,uri){if(JetPopupFrontend.addedScripts.hasOwnProperty(script)){return script} JetPopupFrontend.addedScripts[script]=uri;const asset=document.getElementById(script+'-js');if(asset){return script} return new Promise(function(resolve,reject){var tag=document.createElement('script');tag.src=uri;tag.async=!1;tag.onload=function(){resolve(script)};document.head.appendChild(tag)})},loadStyle:function(style,uri){if(JetPopupFrontend.addedStyles.hasOwnProperty(style)&&JetPopupFrontend.addedStyles[style]===uri){return style} JetPopupFrontend.addedStyles[style]=uri;return new Promise(function(resolve,reject){var tag=document.createElement('link');tag.id=style;tag.rel='stylesheet';tag.href=uri;tag.type='text/css';tag.media='all';tag.onload=function(){resolve(style)};document.head.appendChild(tag)})},assetsLoaderPromise:function(){return Promise.all(JetPopupFrontend.addedAssetsPromises)},maybeElementorFrontendInit:function($popupContainer){$popupContainer.find('div[data-element_type]').each(function(){var $this=$(this),elementType=$this.data('element_type');if(!elementType){return} try{if('widget'===elementType){elementType=$this.data('widget_type');if(window.elementorFrontend&&window.elementorFrontend.hooks){window.elementorFrontend.hooks.doAction('frontend/element_ready/widget',$this,$)}} if(window.elementorFrontend&&window.elementorFrontend.hooks){window.elementorFrontend.hooks.doAction('frontend/element_ready/global',$this,$);window.elementorFrontend.hooks.doAction('frontend/element_ready/'+elementType,$this,$)}}catch(err){console.log(err);$this.remove();return!1}})},maybeDefaultFrontendInit:function(payload){const contentElements=payload.contentElements||[],$container=payload.$container;$container.find('[data-is-block*="/"]').each((index,el)=>{window.JetPlugins.hooks.doAction(window.JetPlugins.hookNameFromBlock(el.dataset.isBlock),jQuery(el))})}};window.jetPopup=function($popup,settings){var self=this,$window=$(window),$document=$(document),popupSettings=settings,id=popupSettings.id,popupId=popupSettings['jet-popup-id'],popupsLocalStorageData={},isAnimation=!1,isOpen=!1,ajaxGetContentHanler=null,ajaxContentLoaded=!1;self.init=function(){var popupAvailable=self.popupAvailableCheck();if(!popupAvailable){return!1} self.setLocalStorageData(popupId,'enable');self.initCompatibilityHandler();self.initOpenEvent();self.initCloseEvent();$window.trigger('jet-popup/init/after',{self:self,settings:popupSettings})};self.popupAvailableCheck=function(){var storageData=self.getLocalStorageData()||{};if(!storageData.hasOwnProperty(popupId)){return!0} var popupData=storageData[popupId],status='enable',showAgainDate='none';if('disable'===popupData){return!1} if('enable'===popupData){return!0} if(popupData.hasOwnProperty('status')){status=popupData.status} if('enable'===status){return!0} if(popupData.hasOwnProperty('show-again-date')){showAgainDate=popupData['show-again-date']} if('none'===showAgainDate&&'disable'===status){return!1} if(showAgainDate=scrolledValue){$window.off('scroll.cherryJetScrollEvent resize.cherryJetResizeEvent');self.showPopup()}}).trigger('scroll.cherryJetResizeEvent')};self.tryExitEvent=function(){var pageY=0;$(document).on('mouseleave','body',function(event){pageY=event.pageY-$window.scrollTop();if(0>pageY&&$popup.hasClass('jet-popup--hide-state')){self.showPopup()}})};self.onDateEvent=function(date){var nowDate=Date.now(),startDate=Date.parse(date);if(startDate'+message+'');animeContainerInstance=anime(animeContainer)} if('success'===successType){let popupContent=contentData.content,popupContentElements=contentData.contentElements,popupScripts=contentData.scripts,popupStyles=contentData.styles,popupAfterScripts=contentData.afterScripts;for(let{handle:scriptHandler,src:scriptSrc}of popupScripts){JetPopupFrontend.addedAssetsPromises.push(JetPopupFrontend.loadScriptAsync(scriptHandler,scriptSrc))} for(let styleHandler in popupStyles){JetPopupFrontend.addedAssetsPromises.push(JetPopupFrontend.loadStyle(styleHandler,popupStyles[styleHandler]))} JetPopupFrontend.assetsLoaderPromise().then(async function(value){ajaxContentLoaded=!0;$window.trigger('jet-popup/render-content/ajax/success',{self:self,popup_id:id,data:popupData,request:data});if(popupContent){$popupContainer.html(popupContent)} if(popupAfterScripts.length){await Promise.all(popupAfterScripts.map(({handle,src})=>JetPopupFrontend.loadScriptAsync(handle,src)))} $(window).trigger('jet-popup/ajax/frontend-init/before',{$container:$popupContainer,content:popupContent,contentElements:popupContentElements,contentType:popupSettings['content-type'],});$(window).trigger('jet-popup/ajax/frontend-init',{$container:$popupContainer,content:popupContent,contentElements:popupContentElements,contentType:popupSettings['content-type'],});$(window).trigger('jet-popup/ajax/frontend-init/after',{$container:$popupContainer,content:popupContent,contentElements:popupContentElements,contentType:popupSettings['content-type'],});animeContainerInstance=anime(animeContainer)},function(reason){console.log('Assets Loaded Error')})}}})};self.hidePopup=function(data){var popupData=data||{},$content=$('.jet-popup__container-content',$popup),constantly=popupData.constantly||!1,animeOverlay=null,animeContainer=null,animeOverlaySettings=jQuery.extend({targets:$('.jet-popup__overlay',$popup)[0]},self.avaliableEffects.fade.hide),animeContainerSettings=jQuery.extend({targets:$('.jet-popup__container',$popup)[0],begin:function(anime){isAnimation=!0;$window.trigger('jet-popup/hide-event/before-hide',{self:self,data:popupData,anime:anime})},complete:function(anime){isAnimation=!1;isOpen=!1;$popup.toggleClass('jet-popup--show-state jet-popup--hide-state');if(popupSettings['use-ajax']&&popupSettings['force-ajax']){$content.html('')} if(popupSettings['prevent-scrolling']&&!$('.jet-popup--show-state')[0]){$('body').removeClass('jet-popup-prevent-scroll')} console.log(popupData) $window.trigger('jet-popup/hide-event/after-hide',{self:self,data:popupData,anime:anime})}},self.avaliableEffects[popupSettings.animation].hide);if(constantly){self.setLocalStorageData(popupId,'disable')} if(isAnimation){return!1} if($popup.hasClass('jet-popup--show-state')){animeOverlay=anime(animeOverlaySettings);animeContainer=anime(animeContainerSettings)} self.onHidePopupAction();$window.trigger('jet-popup/close-hide-event/before-hide',{self:self,data:popupData})};self.elementorFrontendInit=function(){var $content=$('.jet-popup__container-content',$popup);$content.find('div[data-element_type]').each(function(){var $this=$(this),elementType=$this.data('element_type');if(!elementType){return} try{if('widget'===elementType){elementType=$this.data('widget_type');window.elementorFrontend.hooks.doAction('frontend/element_ready/widget',$this,$)} window.elementorFrontend.hooks.doAction('frontend/element_ready/'+elementType,$this,$)}catch(err){console.log(err);$this.remove();return!1}});self.onShowPopupAction()} self.onShowPopupAction=function(){};self.onHidePopupAction=function(){};self.avaliableEffects={'fade':{'show':{opacity:{value:[0,1],duration:600,easing:'easeOutQuart',},},'hide':{easing:'easeOutQuart',opacity:{value:[1,0],easing:'easeOutQuart',duration:400,},}},'zoom-in':{'show':{duration:500,easing:'easeOutQuart',opacity:{value:[0,1],},scale:{value:[0.75,1],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},scale:{value:[1,0.75],}}},'zoom-out':{'show':{duration:500,easing:'easeOutQuart',opacity:{value:[0,1],},scale:{value:[1.25,1],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},scale:{value:[1,1.25],}}},'rotate':{'show':{duration:500,easing:'easeOutQuart',opacity:{value:[0,1],},scale:{value:[0.75,1],},rotate:{value:[-65,0],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},scale:{value:[1,0.9],},}},'move-up':{'show':{duration:500,easing:'easeOutExpo',opacity:{value:[0,1],},translateY:{value:[50,1],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},translateY:{value:[1,50],}}},'flip-x':{'show':{duration:500,easing:'easeOutExpo',opacity:{value:[0,1],},rotateX:{value:[65,0],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],}}},'flip-y':{'show':{duration:500,easing:'easeOutExpo',opacity:{value:[0,1],},rotateY:{value:[65,0],}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],}}},'bounce-in':{'show':{opacity:{value:[0,1],duration:500,easing:'easeOutQuart',},scale:{value:[0.2,1],duration:800,elasticity:function(el,i,l){return(400+i*200)},}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},scale:{value:[1,0.8],}}},'bounce-out':{'show':{opacity:{value:[0,1],duration:500,easing:'easeOutQuart',},scale:{value:[1.8,1],duration:800,elasticity:function(el,i,l){return(400+i*200)},}},'hide':{duration:400,easing:'easeOutQuart',opacity:{value:[1,0],},scale:{value:[1,1.5],}}},'slide-in-up':{'show':{opacity:{value:[0,1],duration:400,easing:'easeOutQuart',},translateY:{value:['100vh',0],duration:750,easing:'easeOutQuart',}},'hide':{duration:400,easing:'easeInQuart',opacity:{value:[1,0],},translateY:{value:[0,'100vh'],}}},'slide-in-right':{'show':{opacity:{value:[0,1],duration:400,easing:'easeOutQuart',},translateX:{value:['100vw',0],duration:750,easing:'easeOutQuart',}},'hide':{duration:400,easing:'easeInQuart',opacity:{value:[1,0],},translateX:{value:[0,'100vw'],}}},'slide-in-down':{'show':{opacity:{value:[0,1],duration:400,easing:'easeOutQuart',},translateY:{value:['-100vh',0],duration:750,easing:'easeOutQuart',}},'hide':{duration:400,easing:'easeInQuart',opacity:{value:[1,0],},translateY:{value:[0,'-100vh'],}}},'slide-in-left':{'show':{opacity:{value:[0,1],duration:400,easing:'easeOutQuart',},translateX:{value:['-100vw',0],duration:750,easing:'easeOutQuart',}},'hide':{duration:400,easing:'easeInQuart',opacity:{value:[1,0],},translateX:{value:[0,'-100vw'],}}}};self.getLocalStorageData=function(){try{return JSON.parse(localStorage.getItem('jetPopupData'))}catch(e){return!1}};self.setLocalStorageData=function(id,status){var jetPopupData=self.getLocalStorageData()||{},newData={};newData.status=status;if('disable'===status){var nowDate=Date.now(),showAgainDelay=popupSettings['show-again-delay'],showAgainDate='none'!==showAgainDelay?(nowDate+showAgainDelay):'none';newData['show-again-date']=showAgainDate} jetPopupData[id]=newData;localStorage.setItem('jetPopupData',JSON.stringify(jetPopupData))}} window.JetPopupFrontend.init()}(jQuery));