PageSourceSearch

https://cdn3.zappter.com/assets/prod/bba96c06ef8a69763f86c1c1a460ac37.js?9.1.718

js zappter.com collected 2026-09-24 10:57:27 UTC 48,725 bytes, 1 lines download raw bytes

1window.animation_end="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend animationEnd";String.prototype.hashCode=function(){var e=0;if(this.length==0)return e;for(var t=0;t<this.length;t++){$char=this.charCodeAt(t);e=(e<<5)-e+$char;e=e&e}return e};String.prototype.toCharCodes=function(e){var t=e==!0?0:[];if(this.length==0)return t;for(var n=0;n<this.length;n++){if(e==!0){t=t+this.charCodeAt(n)}else{t.push(this.charCodeAt(n))}}return e==!0?t:t.join(".")};String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)};CanvasRenderingContext2D.prototype.roundedImage=function(e,t,n){var i=0;var r=0;var a=this;a.beginPath();a.moveTo(i+n,r);a.lineTo(i+e-n,r);a.quadraticCurveTo(i+e,r,i+e,r+n);a.lineTo(i+e,r+t-n);a.quadraticCurveTo(i+e,r+t,i+e-n,r+t);a.lineTo(i+n,r+t);a.quadraticCurveTo(i,r+t,i,r+t-n);a.lineTo(i,r+n);a.quadraticCurveTo(i,r,i+n,r);a.closePath();a.clip()};Date.prototype.addDays=function(e){var t=new Date(this.valueOf());t.setDate(t.getDate()+e);return t};$.fn.overflown=function(){var e=this[0];if(this.length==0)return!1;return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth};$.fn.scrollToNew=function(e,t,n){try{var i=$("div.header").length>0?$("div.header").height()+50:50;i=mycz.helpers.isset(n,!0,!0)?i+n:i;$(this).animate({scrollTop:$(e).offset().top-i},t==undefined?1e3:t)}catch(e){}return this};$.fn.scrollTo=function(e,t,n){if(n==""||n==undefined){n=0}t=t==undefined||t==""?1500:t;try{if($(this).prop("tagName")=="HTML"){$(this).scrollTop($(e).offset().top-n)}else{$(this).scrollTop($(this).scrollTop()-$(this).offset().top+$(e).offset().top-n)}}catch(e){}return this};function javascript_abort(e){throw new Error(e)}function getMobileOS(){try{if(window.isCordovaApp==!0){return platform}var e=navigator.userAgent||navigator.vendor||window.opera;if(/android/i.test(e)){return"ANDROID"}if(/iPad|iPhone|iPod/.test(e)&&!window.MSStream){return"IOS"}}catch(e){return""}}function isMobileSafari(){if(navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&navigator.userAgent.match(/AppleWebKit/)){return!0}return!1}function isMobileSize(){return $(window).width()<480}function isTabletSize(){return $(window).width()<=768}function isMobileAppIOS(){if(!window.isCordovaApp){return!1}if(window.isCordovaApp==!0){if(window.platform=="IOS"){return!0}}return!1}function isInternetExplorer(){var e=window.navigator.userAgent;var t=e.indexOf("MSIE ");if(t>0){return!0}var n=e.indexOf("Trident/");if(n>0){return!0}return!1}function isFirefox(){if(navigator.userAgent.indexOf("Firefox")>0){return!0}return!1}function isEdge(){if(navigator.userAgent.indexOf("Edge")>0){return!0}return!1}function isIEold(){if(navigator.userAgent.indexOf("MSIE")>0){return!0}return!1}function isIEnew(){if(navigator.userAgent.indexOf("Trident/")>0){return!0}return!1}function isDesktop(){return $(window).width()>1024}function getReadableModel(){try{if(!window.isCordovaApp){var e=(new UAParser).getDevice();if(e.vendor==undefined){return!1}return e.model}var t=device.model;try{t=t.replace(/[0-9,]/g,"")}catch(e){}return t}catch(e){return""}}function isCyclic(e){var n=[];function i(e){if(e&&typeof e==="object"){if(n.indexOf(e)!==-1){return!0}n.push(e);for(var t in e){if(e.hasOwnProperty(t)&&i(e[t])){console.log(e,"cycle at "+t);return!0}}}return!1}return i(e)}function capitalize(t){try{return t.charAt(0).toUpperCase()+t.slice(1)}catch(e){return t}}function firstIsUppercase(e){if(typeof e!=="string"||e.length===0){return!1}if(e[0].toUpperCase()===e[0]){return!0}return!1}function stripSpecialCharacters(e){try{e=e.replace(/[^a-zA-Z0-9\_\- ]/g,"")}catch(e){}return e}function stripSpaces(e){return stripSpecialCharacters(e).split(" ").join("_").split("-").join("_").toLowerCase()}function stripAlphabetical(e){e=e.replace(/[^\d.-]/g,"");return e}function sanitizeTextInputString(e,t){try{t=t||[];e=e.replace(/<[^>]*>/g,"");var n="";for(var i=0;i<t.length;i++){var r=t[i];n+=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var a=new RegExp("[^A-Za-z0-9"+"À-ɏ"+"Ͱ-Ͽ"+"Ѐ-ӿ"+"֐-׿"+"؀-ۿ"+"ऀ-ॿ"+"一-鿿"+" _\\/\\-@',."+n+"]","g");return e.replace(a,"")}catch(e){}return e}function getFqdn(e,t){var n=fqdn;if(t==!0){if(n.length>0){var i=n.split(".");n=i[0]+"."+i[1]+".myconnectzone.com"}}if(e==!0){return n.split(".").join("_")}return n}function fixEmailDomain(e){e=e==undefined||e==null?"":e;if(contains(e,".com.myconnectzone.")){return e.split(".com.myconnectzone.")[0]}if(window.$DOMAIN){e=e.replace(window.$DOMAIN,"")}return e}function resizeBase64Img(e,t,n,i){var r=document.createElement("canvas");r.width=t;r.height=n;var a=r.getContext("2d");var o=$.Deferred();$("<img/>").attr("src",e).load(function(){a.fillStyle="rgba(0,0,0,0)";a.shadowColor="rgba(0,0,0,0)";a.mozImageSmoothingEnabled=!0;a.imageSmoothingQuality="high";a.webkitImageSmoothingEnabled=!0;a.msImageSmoothingEnabled=!0;a.imageSmoothingEnabled=!0;if(i){a.roundedImage(t,n,i)}a.drawImage(this,0,0,t,n);o.resolve($("<img/>").attr("src",r.toDataURL()),r.toDataURL())});return o.promise()}function getUriFromImage(e,t,n){var i=new Image;i.crossOrigin="anonymous";i.onload=function(){var e=document.createElement("canvas");
1e.width=this.naturalWidth;e.height=this.naturalHeight;e.getContext("2d").drawImage(this,0,0);t(e.toDataURL("image/png").replace(/^data:image\/(png|jpg);base64,/,""))};i.onerror=function(){if(mycz.helpers.isset(n,!0,!0)){n()}};i.src=e}function getUrlParameter(t){if(window.$PARAMETERS){if(window.$PARAMETERS[t]){return window.$PARAMETERS[t]}}try{var e=new URL(window.location.href);var n=e.searchParams.get(t);return n==null?undefined:n==""?!0:n}catch(e){var i=decodeURIComponent(window.location.search.substring(1)),r=i.split("&"),a,o;for(var o=0;o<r.length;o++){a=r[o].split("=");if(a[0]===t){return a[1]===undefined?!0:a[1]}}}}function putUrlParameter(e,t,n){var i=decodeURIComponent(window.location.search.substring(1)),r=i.split("&"),a;var o=[];for(var c=0;c<r.length;c++){a=r[c].split("=");if(a[0]===e){}else{if(mycz.helpers.isset(a[0],!0,!0)){o.push(r[c])}}}if(t!==undefined){o.push(e+"="+t)}var s=window.location.href;s=s.split("#")[0];if(mycz.helpers.isset(n,!0,!0)){s=n}if(o.length>0){window.location.href=s.split("?")[0]+"?"+o.join("&")}else{window.location.href=s.split("?")[0]}}function removeUrlParameter(e){var t=new URLSearchParams(window.location.search);t.delete(e);if(window.history.replaceState){var n=t.toString().length>0?"?"+t.toString():"";var i=window.location.protocol+"//"+window.location.host+window.location.pathname+n+window.location.hash;window.history.replaceState(null,"",i)}}function replaceUrlParameter(e,t){try{var n=new URLSearchParams(window.location.search);n.delete(e);if(window.history.replaceState){var i=n.toString().length>0?"?"+n.toString():"";if(mycz.helpers.isset(t,!0,!0)){i=i+(contains(i,"?")?"&"+e+"="+t:"?"+e+"="+t)}var r=window.location.protocol+"//"+window.location.host+window.location.pathname+i+window.location.hash;window.history.replaceState(null,"",r)}}catch(e){}}function contains(e,t,n,i){try{if(e===undefined||e===null||e===!1){return!1}if(i==!0){e=e.toLowerCase();t=t.toLowerCase()}if(n==!0){e=e==null||e==undefined?"":e;return e.split(" ").indexOf(t)!=-1}else{if(e.indexOf(t)!==-1){return!0}}}catch(e){return!1}return!1}function contains_number(e){return/\d/.test(e)}function contains_alphabetical(e){e=e==null?"":e;e=e==undefined?"":e;if(/[a-zA-Z]/.test(e)){return!0}return!1}function contains_alphabetical_or_numbers(e){e=e==null?"":e;e=e==undefined?"":e;if(/[a-zA-Z0-9]/.test(e)){return!0}return!1}function isNumber(e){return!isNaN(parseFloat(e))&&isFinite(e)}function enc(e,t){if(t==!0){return decodeURIComponent(e)}return encodeURIComponent(e)}function denc(t){t=t==null?"":t;t=t==undefined?"":t;try{var e=(new DOMParser).parseFromString(t,"text/html");return e.documentElement.textContent}catch(e){return t}}function clean(t){try{return $.trim(t.replace(/(<\?[a-z]*(\s[^>]*)?\?(>|$)|<!\[[a-z]*\[|\]\]>|<!DOCTYPE[^>]*?(>|$)|<!--[\s\S]*?(-->|$)|<[a-z?!\/]([a-z0-9_:.])*(\s[^>]*)?(>|$))/gi,""))}catch(e){return $.trim(t)}}function stripScripts(e){var t=document.createElement("div");t.innerHTML=e;var n=t.getElementsByTagName("script");var i=n.length;while(i--){var r=document.createElement("pre");r.innerHTML=n[i].innerHTML;n[i].parentNode.replaceChild(r,n[i])}return t.innerHTML}function stripHtml(e){var t=$("<div />");t.append(e);return t.text()}function replaceLinks(e){var t=/(\bhttps?:\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi;return e.replace(t,function(e){return'<a href="#" onClick="external(\''+e+"',false,false,true)\">"+e+"</a>"})}var format={price:function(e,t){e=parseFloat(e);try{if(typeof e==="string"){return e}}catch(e){}e=parseFloat(Math.round(e*100)/100).toFixed(2);if(t==!0){var n="'";try{if(mycz.ENV=="ADMIN"){if($usermeta.cz_startLang!="de"){n=","}}else{if(languages.activeLang=="en"){n=","}}}catch(e){}try{e=e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,n)}catch(e){}}return e},seperate:function(e){e=parseFloat(e);try{if(typeof e==="string"){return e}}catch(e){}var t="'";try{if(mycz.ENV=="ADMIN"){if($usermeta.cz_startLang!="de"){t=","}}else{if(languages.activeLang=="en"){t=","}}}catch(e){}try{e=e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)}catch(e){}return e},financial:function(e,t){try{if(isNaN(parseFloat(e))){return e}else{return(+(Math.round(+(e+"e"+t))+"e"+-t)).toFixed(t)}}catch(e){}},round:function(e,t){return+(Math.round(parseFloat(e)+"e+"+t)+"e-"+t)}
1,toFiveCentsUp:function(e){e=format.round(e,2);e=(Math.ceil(e*20)/20).toFixed(2);return e},clean_string:function(e){return e.replace(/\W/g,"")},roundUp:function(e){return Math.ceil(e)},roundDown:function(e){return Math.floor(e)},roundDownToHalf:function(e){return Math.floor(e*2)/2},parseFloatArray:function(n){$.each(n,function(e,t){n[e]=parseFloat(t)});return n},duration:function(e){return time.seconds.convert.toClock(e,!0)}};function disturbing(e,t){if(window.$isDisturbing==!0){return!0}var n="";if(e==!0){n=":not([data-social-bar])"}var i=", div.iziToast";if(t==!0){i=""}if($("body > div.PopUp, body > div.myczModal"+n+", body > div.subheader, body[data-platform='mobile'] div.main.splashed, div.slideUp"+i).length>0){return!0}if(mycz.ENV=="MOBILE"){if(window.login){if(window.login.loggin_in==!0){return!0}}}if(mycz.ENV=="ADMIN"){if($(".tour-bg").length>0){return!0}}return!1}function onStopDisturbing(e,t,n){var i=setInterval(function(){if(disturbing(t,n)==!0){return}clearInterval(i);e()},random.maxNumber(1e3,2e3))}function isHidden(e){if(e.css("display")=="none"){return!0}if(e.css("opacity")==0){return!0}if(e.css("visibility")=="hidden"){return!0}if(e.hasClass("displayNone")||e.hasClass("vHidden")){return!0}return!1}function external(t,n,i,e){if(global_settings.core_security_links_system==1){e=!0;i=!1}try{if(mycz.ENV=="MOBILE"){t=t.split("%zappter-lang%").join(languages.activeLang)}}catch(e){}try{if(mycz.ENV=="MOBILE"){t=t.split("%zappter-lang-uc%").join(languages.activeLang.toUpperCase())}}catch(e){}if(n==!0){if(window.isCordovaApp==!0){if(window.platform=="IOS"){if(window.cordova){if(window.cordova.plugins){if(window.cordova.plugins.idfa){if(mycz.storage.get("localUser.idfa")!=1){cordova.plugins.idfa.getInfo().then(function(e){if(e.trackingLimited!=!1){mycz.storage.set("localUser.idfa",1);external(t,n,i)}else if(e.trackingPermission===cordova.plugins.idfa.TRACKING_PERMISSION_NOT_DETERMINED||e.trackingPermission==cordova.plugins.idfa.TRACKING_PERMISSION_DENIED){cordova.plugins.idfa.requestPermission().then(function(e){if(e==cordova.plugins.idfa.TRACKING_PERMISSION_DENIED){mycz.storage.set("localUser.idfaDenied",1)}mycz.storage.set("localUser.idfa",1);external(t,n,i)})}});return}}}}}}}if(mycz.ENV=="MOBILE"){if(window.isCordovaApp==!0){var r=!1;try{var a=t.toLowerCase();if(contains(a,"http://")&&!contains(a,"https://")){r=!0}}catch(e){}if(r==!0){if(window.platform=="ANDROID"){e=!0;i=!1}}}}if(mycz.ENV=="MOBILE"){if(i==!0){try{mycz.plugins.swiper.delete_all_from_here();mycz.plugins.swiper.new({"data-external-iframe":1,"data-delete-on-swipe-back":1});container.css("padding-bottom","0");container.append(mycz.ele.new("iframe","","",{src:t,style:"min-height:calc(100vh - 46px);width:100%;border:0!important;"}));mycz.css.new('.zapp-element-headers,.zapp-element-bars { height:15px!important;min-height:15px!important; } .zapp-element-headers > *:not([data-designer="back_container"]), .zapp-element-bars * { display:none!important; }',"external-iframe-css",function(){return $("[data-external-iframe='1']").hasClass("swiper-slide-active")})}catch(e){}return}if(e==!0||mycz.storage.get("localUser.idfaDenied")==1){if(window.platform=="ANDROID"){var o=!1;try{o=parseFloat(window.cordova.version)>=12}catch(e){}console.warn("isNewAndroid:",o);if(o==!0){cordova.InAppBrowser.open(t,"_system");return}}window.open(t,"_system");return}}try{if(window.isCordovaApp==!0){if(window.cordova){if(cordova.plugins){if(cordova.plugins.browsertab){cordova.plugins.browsertab.isAvailable(function(e){if(!e){window.open(t,"_blank","location=no")}else{cordova.plugins.browsertab.openUrl(t,function(e){},function(e){error.textContent="failed to launch browser tab";error.style.display=""})}},function(e){error.textContent="failed to query availability of in-app browser tab";error.style.display=""})}}}}else{window.open(t,"_blank","location=no")}}catch(e){window.open(t,"_blank","location=no")}}function zapp_register_device_ready(e){if(!window.$ZAPP_REGISTER_DEVICE_READY){window.$ZAPP_REGISTER_DEVICE_READY=[]}window.$ZAPP_REGISTER_DEVICE_READY.push(e);if(window.$ZAPP_DEVICE_IS_READY==!0){e()}}function zapp_register_content_ready(e,t,n){if(t!=!0){if(!window.$ZAPP_REGISTER_CONTENT_READY){window.$ZAPP_REGISTER_CONTENT_READY=[]}if(n==!0){window.$ZAPP_REGISTER_CONTENT_READY.unshift(e)}else{window.$ZAPP_REGISTER_CONTENT_READY.push(e)}}else{if(!window.$ZAPP_REGISTER_CONTENT_READY_PERSISTENT){window.$ZAPP_REGISTER_CONTENT_READY_PERSISTENT=[]}window.$ZAPP_REGISTER_CONTENT_READY_PERSISTENT.push(e)}}function zapp_register_function(e,t,n,arguments){if(!window.$ZAPP_REGISTER_FUNCTION){window.$ZAPP_REGISTER_FUNCTION={}}if(!window.$ZAPP_REGISTER_FUNCTION[e]){window.$ZAPP_REGISTER_FUNCTION[e]={}}window.$ZAPP_REGISTER_FUNCTION[e][t]={fn:n,args:arguments}}function zapp_call_function(e,t,arguments){if(!window.$ZAPP_REGISTER_FUNCTION){return""}if(!window.$ZAPP_REGISTER_FUNCTION[e]){return""}if(!window.$ZAPP_REGISTER_FUNCTION[e][t]){console.warn("You are trying to call a function "+t+" inside plugin "+e+" - But its not exisiting :/");return""}return window.$ZAPP_REGISTER_FUNCTION[e][t].fn(arguments)}function zapp_function_exists(e,t){if(!window.$ZAPP_REGISTER_FUNCTION){return!1}if(!window.$ZAPP_REGISTER_FUNCTION[e]){return!1}if(!window.$ZAPP_REGISTER_FUNCTION[e][t]){return!1}return!0}function zapp_register_orm_before_function(e,t,n){zapp_register_function("c
1ore-orm-before-"+e,t,n)}function zapp_register_content_set_onEdit_function(e,t,n){zapp_register_function("core-content-set-onEdit-"+e,t,n)}function zapp_register_content_set_forLocalCache_function(e,t,n){zapp_register_function("core-content-set-forLocalCache-"+e,t,n)}function zapp_register_content_set_success_function(e,t,n){zapp_register_function("core-content-set-success"+(mycz.helpers.isset(t,!0,!0)?"-"+t:""),e,n)}function zapp_extend_template(e,t,n,i,arguments,r,a){if(!window.$ZAPP_EXTEND_TEMPLATES){window.$ZAPP_EXTEND_TEMPLATES={}}if(!window.$ZAPP_EXTEND_TEMPLATES[e]){window.$ZAPP_EXTEND_TEMPLATES[e]={}}if(!window.$ZAPP_EXTEND_TEMPLATES[e][t]){window.$ZAPP_EXTEND_TEMPLATES[e][t]={}}window.$ZAPP_EXTEND_TEMPLATES[e][t][n]=i;if(mycz.helpers.isset(r,!0,!0)){if(!window.$ZAPP_EXTEND_TEMPLATES_CONDITION){window.$ZAPP_EXTEND_TEMPLATES_CONDITION={}}if(!window.$ZAPP_EXTEND_TEMPLATES_CONDITION[e]){window.$ZAPP_EXTEND_TEMPLATES_CONDITION[e]={}}if(!window.$ZAPP_EXTEND_TEMPLATES_CONDITION[e][t]){window.$ZAPP_EXTEND_TEMPLATES_CONDITION[e][t]={}}window.$ZAPP_EXTEND_TEMPLATES_CONDITION[e][t][n]=r}if(mycz.helpers.isset(a,!0,!0)){if(!window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES){window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES={}}if(!window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[e]){window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[e]={}}if(!window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[e][t]){window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[e][t]={}}window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[e][t][n]=a}}function zapp_call_templates(i,r,a,o){o=mycz.helpers.isset(o,!0,!0)?o:{};if(!o.newRow){o.newRow=function(e,t){var n=mycz.ele.div("zapp-block zapp-receipt-suborder");n.append(mycz.ele.div("col-md-1 col-sm-1 col-xs-1"));n.append(mycz.ele.div("col-md-5 col-sm-5 col-xs-5"," "+e,{style:"padding-left:5px"}));var i=mycz.helpers.isset(t,!0,!0)&&parseFloat(t)!==0?format.price(parseFloat(t))+" "+(mycz.helpers.isset(o.currency,!0,!0)?o.currency:zapp_get_currency()):"";n.append(mycz.ele.div("col-md-2 col-sm-3 col-xs-3 mobile-price-col text-right",i).attr("data-single-price",t));n.append(mycz.ele.div("col-md-2 col-sm-3 col-xs-3 total-col text-right",""));return n}}if(window.$ZAPP_EXTEND_TEMPLATES){if(window.$ZAPP_EXTEND_TEMPLATES[i]){if(window.$ZAPP_EXTEND_TEMPLATES[i][r]){if(o.key){a=window.$ZAPP_EXTEND_TEMPLATES[i][r].fn(a,o)}else{$.each(window.$ZAPP_EXTEND_TEMPLATES[i][r],function(e,t){var n=!1;try{n=mycz.helpers.array.contains(window.$ZAPP_EXTEND_TEMPLATES_EXCLUDED_SOURCES[i][r][e],o.templateSource)}catch(e){}if(n==!0){return!0}try{a=t(a,o)}catch(e){console.warn("zapp_call_templates for "+i+" template: "+r+" failed : ",e)}})}}}}return a}function zapp_extend_play(e,t,n,i,r){if(!mycz.play[n]){mycz.play[n]={}}if(!mycz.play[n][e]){mycz.play[n][e]={}}if(!mycz.play[n][e][t]){mycz.play[n][e][t]={}}mycz.play[n][e][t][i]=r}function zapp_extend_bottom_top_profile(s,n,l,i,r,a,o,t){t=mycz.helpers.isset(t,!0,!0)?t:{};var c=t.settingName?t.settingName:s+"_mobile_access_type";var d=t.iconName?t.iconName:s+"_icon";var p=t.settingNameEnable?t.settingNameEnable:s+"_mobile_access";var f=t.settingNameType?t.settingNameType:"type";var _=t.settingNameUseImage?t.settingNameUseImage:s+"_use_image";var u=t.settingNameImage?t.settingNameImage:s+"_image";var m=t.settingNameCustomTitle?t.settingNameCustomTitle:s+"_custom_title";var y=t.settingNameTitle?t.settingNameTitle:s+"_title";var g=t.topBarIconName?t.topBarIconName:s+"_icon";var h=t.topBarCounterName?t.topBarCounterName:s+"_counter";var w=t.customColor;var z=t.counter==!0;var E=t.counterFunction;var A=mycz.helpers.isset(t.counterCondition,!0,!0)?t.counterCondition:function(){return!0};var e=t.adminDefaultClick==!0;var P=t.content;var b=t.setting_page;var v=t.requiresAuth;var T=t.categoryId;if(mycz.helpers.isset(v,!0,!0)){if(mycz.helpers.isArray(v)||mycz.helpers.isObject(v)){v=mycz.helpers.json.stringify(v)}}var I=function(){var e=mycz.helpers.json.parse(global_settings[c]);if(t.settings){e=mycz.helpers.json.parse(t.settings)}if(mycz.helpers.isset(t.defaultType,!0,!0)){if(!mycz.helpers.isset(e[f],!0,!0)){e[f]=t.defaultType}}if(mycz.helpers.isset(t.defaultSide,!0,!0)){if(!mycz.helpers.isset(e[s+"_top_bar_side"],!0,!0)){e[s+"_top_bar_side"]=t.defaultSide}}return e};var N=I();var S=function(){var e=I();var t=n;if(mycz.helpers.isset(e[d],!0,!0)){t=e[d]}return t};zapp_extend_template("mobile","bars",s,function(e,t){var n=I();var i=S();if(n[m]==1){l=mycz.helpers.getText(n[y],!0)}
1var r=mycz.ele.attr($(mycz.ele.icon(i)),{designer:s+"_icon",":style":'{ "color": '+s+'_getIconColor(), "background-color": '+s+"_getIconBackgroundColor() }","designer-label":{en:l+" Icon",de:l+" Symbol"}});var a=["displayNone : !"+s+"_condition(global_settings)"];if(mycz.helpers.isset(v,!0,!0)){a.push("requiresAuth: requiresAuth("+v+")")}if(n[_]==1){r=mycz.ele.attr($(mycz.ele.div()),{designer:s+"_icon_image",":style":"{ backgroundImage: "+s+"_getImage() }","designer-label":{en:l+" Icon",de:l+" Symbol"}})}var o=mycz.ele.attr(mycz.ele.div("zapp-element-bars-entry "+(s=="bottom_bar_home"?"active":"")),{designer:"bar_"+s,"designer-label":l,":click":s+"(event)",":contextmenu":mycz.ENV=="ADMIN"?"contextmenu_"+s+"(event)":undefined,":style":"{ width: getWidth() }",":class":"{ "+a.join(",")+" }"});if(mycz.helpers.isset(T,!0,!0)){mycz.ele.attr(o,{":data-disabled-by-iap":"disabledByIap('cats',"+T+")"})}o.append(r);o.append(mycz.ele.attr(mycz.ele.new("span",l),{designer:s+"_text","designer-label":{en:l+" Text",de:l+" Text"}}));e.append(o);if(z==!0){o.append(mycz.ele.attr(mycz.ele.div(),{designer:s+"_counter","designer-label":{en:l+" Counter",de:l+" Zähler"},":html":"getCounter"+s+"()",":class":"{ hidden: !getCounterCondition"+s+"() }"}))}if(mycz.helpers.isset(P,!0,!0)){e=P(e)}return e});zapp_extend_play("bars",s,"methods",s+"_condition",function(e){if(r==!0){if(global_settings[p]!=1){return!1}}if(mycz.helpers.isset(a,!0,!0)){if(a()!=!0){return!1}}var t=I();if(t[f]!="bottom_bar"){return!1}if(mycz.ENV=="ADMIN"){return!0}if(i==!0){if(mycz.firebase.auth.isRealUser()){return!0}else{return!1}}return!0});zapp_extend_play("bars",s,"methods","click_"+s,function(e){var t=$(this.$el).find('[data-designer="bar_'+s+'"]');if(mycz.ENV=="ADMIN"){try{zapp_bottom_bar_admin_click(s)}catch(e){}return}if(mycz.ENV=="MOBILE"){mycz.play.methods.bars._all.setActive(s);if($(".myczModal[data-social-bar='"+s+"']").length>0){mycz.modal.close($(".myczModal[data-social-bar='"+s+"']"));return}else if($(".myczModal[data-social-bar]").length>0){mycz.modal.close($(".myczModal[data-social-bar]"))}o(t)}else{o(t,e)}});zapp_extend_play("bars",s,"methods","contextmenu_"+s,function(e){if(zapp_is_designer_running()){return}e.preventDefault();if(mycz.ENV=="ADMIN"){try{zapp_bottom_bar_admin_click(s)}catch(e){}return}});if(z==!0){zapp_extend_play("bars",s,"methods","getCounter"+s,function(e){if(mycz.helpers.isset(E,!0,!0)){return E()}return 0});zapp_extend_play("bars",s,"methods","getCounterCondition"+s,function(e){return A()})}zapp_extend_play("bars",s,"methods",s+"_getIconColor",function(e){var t=S();if(contains(t,"zapp-icon")){return""}if(mycz.helpers.isset(w,!0,!0)){return w}return mycz.helpers.isset(global_settings[s+"_color"],!0,!0)?global_settings[s+"_color"]:global_settings["social-head-icons"]});zapp_extend_play("bars",s,"methods",s+"_getIconBackgroundColor",function(e){var t=S();if(contains(t,"zapp-icon")){if(mycz.helpers.isset(w,!0,!0)){return w}return mycz.helpers.isset(global_settings[s+"_color"],!0,!0)?global_settings[s+"_color"]:global_settings["social-head-icons"]}return""});zapp_extend_play("bars",s,"methods",s+"_getImage",function(e){var t=I();return"url("+t[u]+")"});if(window.zapp_extend_profile_page){var R=l;if(N[m]==1){R=mycz.helpers.getText(N[y],!0)}zapp_extend_profile_page(s,R,S(),N[_]==1?N[u]:"",function(e){if(mycz.ENV=="ADMIN"){try{zapp_bottom_bar_admin_click(s)}catch(e){}return}o(e)},function(){if(r==!0){if(global_settings[p]!=1){return!1}}if(mycz.helpers.isset(a,!0,!0)){if(a()!=!0){return!1}}var e=I();if(e[f]=="bottom_bar"||e[f]=="top_bar"){return!1}if(mycz.ENV=="ADMIN"){return!0}if(i==!0){if(mycz.firebase.auth.isRealUser()){return!0}else{return!1}}if(mycz.helpers.isset(v,!0,!0)){if(mycz.play.methods._all.requiresAuth(v,!0)==!0){return!1}}if(mycz.helpers.isset(T,!0,!0)){if(mycz.play.methods._all.disabledByIap("cats",T)==!0){return!1}}return!0},function(){if(t.onProfilePageLoad){t.onProfilePageLoad()}})}zapp_extend_template("mobile","headers",s,function(e,t){var n=I();var i=S();if(n[m]==1){l=mycz.helpers.getText(n[y],!0)}var r=mycz.ele.attr($(mycz.ele.icon(i)),{designer:g,":style":'{ "color": '+s+'_getIconColor(), "background-color": '+s+"_getIconBackgroun
1dColor() }","designer-label":{en:l+" Icon",de:l+" Symbol"}});var a=["displayNone : !"+s+"_condition(global_settings)"];if(mycz.helpers.isset(v,!0,!0)){a.push("requiresAuth: requiresAuth("+v+")")}if(n[_]==1){r=mycz.ele.attr($(mycz.ele.div()),{designer:s+"_icon_image",":style":"{ backgroundImage: "+s+"_getImage() }","designer-label":{en:l+" Icon",de:l+" Symbol"}})}var o=e.find('[data-designer="icon_container"]');if(mycz.helpers.isset(n[s+"_top_bar_side"],!0,!0)){switch(n[s+"_top_bar_side"]){case"left":o=e.find('[data-designer="menu_container"]');break;case"middle":o=e.find('[data-designer="logo_container"]');break}}var c=mycz.ele.attr(mycz.ele.div("zapp-element-headers-entry"),{designer:"header_"+s,"designer-label":l,":click":s+"(event)",":contextmenu":mycz.ENV=="ADMIN"?"contextmenu_"+s+"(event)":undefined,":style":"{ width: getWidth() }",":class":"{ "+a.join(",")+" }"});if(mycz.helpers.isset(T,!0,!0)){mycz.ele.attr(c,{":data-disabled-by-iap":"disabledByIap('cats',"+T+")"})}c.append(r);c.append(mycz.ele.attr(mycz.ele.new("span",l),{designer:s+"_icon_text","designer-label":{en:l+" Text",de:l+" Text"}}));o.append(c);if(z==!0){c.append(mycz.ele.attr(mycz.ele.div(),{designer:h,"designer-label":{en:l+" Counter",de:l+" Zähler"},":html":"getCounter"+s+"()",":class":"{ hidden: !getCounterCondition"+s+"() }"}))}if(mycz.helpers.isset(P,!0,!0)){e=P(e)}return e});zapp_extend_play("headers",s,"methods",s+"_condition",function(e){if(r==!0){if(global_settings[p]!=1){return!1}}if(mycz.helpers.isset(a,!0,!0)){if(a()!=!0){return!1}}var t=I();if(t[f]!="top_bar"){return!1}if(mycz.ENV=="ADMIN"){return!0}if(i==!0){if(mycz.firebase.auth.isRealUser()){return!0}else{return!1}}return!0});zapp_extend_play("headers",s,"methods","click_"+s,function(e){var t=$(this.$el).find('[data-designer="header_'+s+'"]');if(mycz.ENV=="ADMIN"){try{zapp_bottom_bar_admin_click(s)}catch(e){}return}if(mycz.ENV=="MOBILE"){o(t)}else{o(t,e)}});zapp_extend_play("headers",s,"methods","contextmenu_"+s,function(e){if(zapp_is_designer_running()){return}e.preventDefault();var t=$(this.$el).find('[data-designer="header_'+s+'"]');if(mycz.ENV=="ADMIN"){try{zapp_bottom_bar_admin_click(s)}catch(e){}return;o(t,e)}});if(z==!0){zapp_extend_play("headers",s,"methods","getCounter"+s,function(e){if(mycz.helpers.isset(E,!0,!0)){return E()}return 0});zapp_extend_play("headers",s,"methods","getCounterCondition"+s,function(e){return A()})}zapp_extend_play("headers",s,"methods",s+"_getIconColor",function(e){var t=S();if(contains(t,"zapp-icon")){return""}if(mycz.helpers.isset(w,!0,!0)){return w}return mycz.helpers.isset(global_settings[s+"_color"],!0,!0)?global_settings[s+"_color"]:global_settings.mobile_basket_color});zapp_extend_play("headers",s,"methods",s+"_getIconBackgroundColor",function(e){var t=S();if(contains(t,"zapp-icon")){if(mycz.helpers.isset(w,!0,!0)){return w}return mycz.helpers.isset(global_settings[s+"_color"],!0,!0)?global_settings[s+"_color"]:global_settings.mobile_basket_color}return""});zapp_extend_play("headers",s,"methods",s+"_getImage",function(e){var t=I();return"url("+t[u]+")"})}function zapp_register_bottom_bar_home_counter(e,t,n){if(!window.$ZAPP_REGISTER_BOTTOM_BAR_HOME_COUNTER){window.$ZAPP_REGISTER_BOTTOM_BAR_HOME_COUNTER={}}window.$ZAPP_REGISTER_BOTTOM_BAR_HOME_COUNTER[e]={fn:t,condition:n}}function zapp_unregister_category_play(e){if(!window.$ZAPP_UNREGISTER_CATEGORY_PLAY){window.$ZAPP_UNREGISTER_CATEGORY_PLAY={}}window.$ZAPP_UNREGISTER_CATEGORY_PLAY[e]=!0}function zapp_register_price_modification(e,t){if(!window.$ZAPP_REGISTER_PRICE_MODIFICATION){window.$ZAPP_REGISTER_PRICE_MODIFICATION={}}window.$ZAPP_REGISTER_PRICE_MODIFICATION[e]=t}function zapp_get_price(n,i,r,a,o){if(window.$ZAPP_REGISTER_PRICE_MODIFICATION){$.each(window.$ZAPP_REGISTER_PRICE_MODIFICATION,function(e,t){n=t(n,i,r,a,o)})}return n}function zapp_get_localCache(e,t){if(!localCache[e]){return!1}if(mycz.ENV=="MOBILE"){if(!mycz.helpers.isset(t,!0,!0)){return localCache[e]}if(mycz.helpers.isArray(localCache[e])){if(localCache[e][0]&&localCache[e][1]){if(!localCache[e][0][t]){return!1}return localCache[e][0][t]}}if(!localCache[e][t]){return!1}return localCache[e][t]}else{if(!mycz.helpers.isset(t,!0,!0)){if(!localCache[e]){return!1}return localCache[e][0]}if(!localCache[e][0][t]){return!1}return localCache[e][0][t]}}function zapp_get_editLang(){if(mycz.ENV=="MOBILE"){return languages.activeLang}if(mycz.helpers.isset(global_settings.cz_startLang,!0,!0)){return global_settings.cz_startLang}return $usermeta.cz_startLang}function zapp_get_currency(){var e=window.cz_currency?window.cz_currency:window.currency;
1if(mycz.ENV=="MOBILE"){if(mycz.plugins.hasPlugin("multi_currency")){if(mycz.helpers.isset(mycz.storage.get("localUser.currency"),!0,!0)){var t=mycz.storage.get("localUser.currency");var n=mycz.helpers.split(global_settings.multi_currency_list,",",!0);if(mycz.helpers.array.contains(n,t)){e=t}}}}return e}function zapp_get_custom_text(n,e,t){if(mycz.helpers.isset(n,!0,!0)){n=mycz.helpers.getText(n)}if(!mycz.helpers.isset(n,!0,!0)){if(mycz.helpers.isset(e,!0,!0)){n=mycz.helpers.getText(e,!0)}else{return""}}if(n=="[]"){if(mycz.helpers.isset(e,!0,!0)){n=mycz.helpers.getText(e,!0)}else{return""}}try{if(mycz.helpers.isset(t,!0,!0)){$.each(t,function(e,t){n=n.split("%"+e+"%").join(t)})}}catch(e){}return n}function zapp_get_custom_value(e,t){if(mycz.helpers.isset(e,!0,!0)){return e}return t}function zapp_get_basket(e){if(app.station_enabled==!0){return basket[window.$activeBasket].articles}return basket[e]}function zapp_register_global_variable(e,t){if(!window.$ZAPP_GLOBALS){window.$ZAPP_GLOBALS={}}if(!window.$ZAPP_GLOBALS[e]){window.$ZAPP_GLOBALS[e]={}}if(mycz.helpers.isset(t,!0,!0)){window.$ZAPP_GLOBALS[e]=$.extend(!0,window.$ZAPP_GLOBALS[e],t)}}function zapp_get_global_variable(e){if(!window.$ZAPP_GLOBALS){window.$ZAPP_GLOBALS={}}if(!window.$ZAPP_GLOBALS[e]){window.$ZAPP_GLOBALS[e]={}}return window.$ZAPP_GLOBALS[e]}function zapp_reset_global_variable(e){if(!window.$ZAPP_GLOBALS){window.$ZAPP_GLOBALS={}}delete window.$ZAPP_GLOBALS[e]}function zapp_register_variable(e,t,n){if(!window.$ZAPP_REGISTER_VARIABLE){window.$ZAPP_REGISTER_VARIABLE={}}if(!window.$ZAPP_REGISTER_VARIABLE[e]){window.$ZAPP_REGISTER_VARIABLE[e]={}}window.$ZAPP_REGISTER_VARIABLE[e][t]=n}function zapp_get_variable(e,t){if(!window.$ZAPP_REGISTER_VARIABLE){return undefined}if(!window.$ZAPP_REGISTER_VARIABLE[e]){return undefined}return window.$ZAPP_REGISTER_VARIABLE[e][t]}function zapp_extend_profile_page(e,t,n,i,r,a,o){if(!window.$ZAPP_EXTEND_PROFILE_PAGE){window.$ZAPP_EXTEND_PROFILE_PAGE={}}window.$ZAPP_EXTEND_PROFILE_PAGE[e]={title:t,icon:n,image:i,clickFunction:r,condition:a,onLoad:o}}function zapp_extend_profile_settings_page(e,t,n,i,r){if(!window.$ZAPP_EXTEND_PROFILE_SETTINGS_PAGE){window.$ZAPP_EXTEND_PROFILE_SETTINGS_PAGE={}}window.$ZAPP_EXTEND_PROFILE_SETTINGS_PAGE[e]={title:t,icon:n,click:i,condition:r}}function zapp_unregister_font_for_station(e){if(!window.$ZAPP_UNREGISTER_FONT){window.$ZAPP_UNREGISTER_FONT={}}window.$ZAPP_UNREGISTER_FONT[e]=!0}function zapp_register_zable_type(e,t){if(!window.$ZAPP_REGISTER_ZABLE_TYPE){window.$ZAPP_REGISTER_ZABLE_TYPE={}}window.$ZAPP_REGISTER_ZABLE_TYPE[e]=t}function zapp_enable_user_debug_mode(){window.$ZAPP_ENABLE_USER_DEBUG_MODE=!0}function zapp_disable_user_debug_mode(){if(window.$ZAPP_ENABLE_USER_DEBUG_MODE){delete window.$ZAPP_ENABLE_USER_DEBUG_MODE}}function zapp_is_user_debug_mode_enabled(){if(window.$ZAPP_ENABLE_USER_DEBUG_MODE){return window.$ZAPP_ENABLE_USER_DEBUG_MODE}}function zapp_register_custom_color(e,t,n,i,r){if(!window.$ZAPP_REGISTER_CUSTOM_COLOR){window.$ZAPP_REGISTER_CUSTOM_COLOR={}}var a="";if(mycz.helpers.isArray(e)){a=a+e.join()}else{a=a+e}if(mycz.helpers.isArray(t)){a=a+t.join()}if(mycz.helpers.isArray(n)){a=a+n.join()}if(mycz.helpers.isArray(i)){a=a+i.join()}else{a=a+i}window.$ZAPP_REGISTER_CUSTOM_COLOR[a]={key:e,mobileSelectors:t,adminSelectors:n,cssAttributes:i,important:r}}function zapp_register_zable_statistic(e,t,n,i,r,a){if(!window.$ZAPP_REGISTER_ZABLE_STATISTIC){window.$ZAPP_REGISTER_ZABLE_STATISTIC={}}window.$ZAPP_REGISTER_ZABLE_STATISTIC[e]={title:t,color:n,backgroundColor:i,icon:r,format:a}}function zapp_is_designer_running(){return $(".zapp-designer-left,.zapp-designer-right").length>0}function zapp_foreach_expression(e,n){mycz.helpers.notNull(e).toString().replace(/\{(.+?)\}/g,function(e,t){n(t)})}function zapp_create_global_interval(t,n,e,i,r,a){if(!window.$ZAPP_GLOBAL_INTERVALS){window.$ZAPP_GLOBAL_INTERVALS={}}if(a==!0){if(window.$ZAPP_GLOBAL_INTERVALS[t]){return}}try{clearInterval(window.$ZAPP_GLOBAL_INTERVALS[t]);delete window.$ZAPP_GLOBAL_INTERVALS[t]}catch(e){}e=mycz.helpers.isset(e,!0,!0)?e:1500;var o=0;window.$ZAPP_GLOBAL_INTERVALS[t]=setInterval(function(){var e=n();o++;if(e!==!0){clearInterval(window.$ZAPP_GLOBAL_INTERVALS[t]);delete window.$ZAPP_GLOBAL_INTERVALS[t]}if(mycz.helpers.isset(r,!0,!0)){if(r<=o){clearInterval(window.$ZAPP_GLOBAL_INTERVALS[t]);delete window.$ZAPP_GLOBAL_INTERVALS[t]}}},e);if(i==!0){try{n()}catch(e){}}}function zapp_is_offline(e,t,n){if(e!=!0){return $("body").attr("data-offline")==1||$("body").attr("data-force-offline")==1}var i="https://"+window.location.host+"/";if(mycz.ENV=="MOBILE"){i=options.uri.wp}$.get(i+"zapp-ping","",function(e){t(!0)}).fail(function(){if(n==!0){zapp_we_are_offline();zapp_create_offline_interval()}t(!1)})}function zapp_is_online(){return $("body").attr("data-offline")!=1&&$("body").attr("data-force-offline")!=1}function zapp_create_offline_interval(){var t=0;var n=0;var e="https://"+window.location.host+"/";if(mycz.ENV=="MOBILE"){e=options.uri.wp}if(window.$ZAPP_OFFLINE_INTERVAL_RUNNING==!0){return}window.$ZAPP_OFFLINE_INTERVAL_RUNNING=!0;var i=function(){$.get(e+"zapp-ping","",function(e){t=0;if(zapp_is_offline()==!0&&n>=3){zapp_we_are_online();window.$ZAPP_OFFLINE_INTERVAL_RUNNING=!1}else if(zapp_is_offline()==!0){n++;setTimeout(function(){i()},1500)}}).fail(function(){n=0;if(zapp_is_offline()!=!0&&t>=3){zapp_we_are_offline();window.$ZAPP_OFFLINE_INTERVAL_RUNNING=!1}else if(zapp_is_offline()!=!0){t++;setTimeout(function(){i()},1500)}else if(zapp_is_offline()==!0){setTimeout(function(){i()},2e3)}})};i()}function zapp_get_offline_capability(e,t){if(mycz.plugins.hasPlugin("offline_capability")){if(mycz.helpers.isset(t,!0,!0)){if(t()!=!0){return undefined}}if(global_settings.disable_offline_cap==1){return undefined}if(mycz.ENV=="ADMIN"&&global_settings.enable_offline_cap_admin!=1){return undefined}if(mycz.ENV=="MOBILE"&&global_settings.disable_offline_cap_mobile==1){return undefined}switch(e){case"cache":if(global_settings.disable_offline_cap_cache==1){return undefined}return e;break;default:if(mycz.helpers.isObject(e)){switch(!0){case mycz.helpers.isset(e.task,!0,!0):if(global_settings.disable_offline_cap_tasks==1){return undefined}return e;break}}}return e}return undefined}function zapp_handle_offline(n,r,i,a,o,c,e){switch(r){case"cache":mycz.forage.get(e+"."+n,function(e){if(mycz.helpers.isset(e,!0,!0)){try{var t=mycz.helpers.json.parse(e);if(mycz.helpers.isObject(t)&&!mycz.helpers.isArray(t)){if(Object.keys(t).length>0){e=t}}
1else if(mycz.helpers.isArray(t)){if(t.length>0){e=t}}}catch(e){}if(mycz.helpers.isset(o,!0,!0)){o(e);return}if(mycz.helpers.isset(i,!0,!0)){i(e);return}}else{if(mycz.helpers.isset(c,!0,!0)){c();return}if(mycz.helpers.isset(a,!0,!0)){a();return}}});break;default:if(mycz.helpers.isObject(r)){r.created_date=time.timestamp.UTC();switch(!0){case mycz.helpers.isset(r.task,!0,!0):mycz.forage.get("offline-cap-tasks",function(e){var t=mycz.helpers.json.parse(e,!1,!0);if(!mycz.helpers.isArray(t)){t=[]}var n=function(){t.push(r);mycz.forage.set("offline-cap-tasks",mycz.helpers.json.stringify(t),function(){zapp_call_function("offline_capability","tasks_counter")});try{if(mycz.helpers.isset(r.arguments.onOffline,!0,!0)){r.arguments.onOffline()}}catch(e){}if(mycz.helpers.isset(o,!0,!0)){o()}};loader.stop();if(global_settings.disable_offline_cap_tasks_question==1){n();return}if(mycz.ENV=="MOBILE"){mycz.popup.classic(label("offlineCapOn"),label("offlineCapOnTasksInfo"),!1,[mycz.ele.btn("",label("cancel"),function(){}),mycz.ele.btn("info",label("confirm")+" "+mycz.ele.icon(mycz.icons.confirm),function(){n()})])}else{var i=mycz.modal.new(label("offlineCapOn"),mycz.ele.div("alert-desc offline",label("offlineCapOnTasksInfo")),!1,[mycz.ele.btn("",label("cancel"),function(){mycz.modal.close(i)}),mycz.ele.btn("button-new-blue",label("confirm")+" "+mycz.ele.icon(mycz.icons.confirm),function(){mycz.modal.close(i);n()})])}});break;case mycz.helpers.isset(r.upload,!0,!0):var s={getData:function(){switch(r.upload.type){case"file":var e=new FileReader;e.onload=function(){s.saveLocally(e.result)};e.readAsDataURL(r.upload.file);break;case"data_url":s.saveLocally(r.upload.file);break}},saveLocally:function(e){var t=!1;if(mycz.ENV=="MOBILE"){if(window.isCordovaApp==!0){t=!0}}t=!1;r.upload.dataString=e;if(t==!1){r.upload.isDownloadedToLocalDevice=!1;mycz.forage.set("upload-"+n,r,function(){s.completed(!1)})}else{r.upload.isDownloadedToLocalDevice=!0}},completed:function(){i()}};s.getData();break}}}}function zapp_get_offline_upload(e,t,n){mycz.forage.get("upload-"+e,function(e){try{if(mycz.helpers.isset(t,!0,!0)){t.attr("src",e.upload.dataString)}}catch(e){}try{if(mycz.helpers.isset(n,!0,!0)){n(e)}}catch(e){}})}function zapp_prepare_for_offline(e,t,n,i){switch(t){case"cache":var r=n;if(mycz.helpers.isset(r,!0,!0)){if(mycz.helpers.isObject(r)||mycz.helpers.isArray(r)){r=mycz.helpers.json.stringify(r)}}mycz.forage.set(i+"."+e,r);mycz.storage.set(i+"."+e+"-offline-cap-cd",time.timestamp.UTC());break}}function zapp_update_offline_cache(n,i){if(!mycz.plugins.hasPlugin("offline_capability")){return}$.each(window.localStorage,function(t,e){if(contains(t,n+".")&&contains(t,"-forage")){mycz.forage.get(t.replace("-forage",""),function(e){e=mycz.helpers.json.parse(e);try{i(e,function(e){mycz.forage.set(t.replace("-forage",""),mycz.helpers.json.stringify(e))})}catch(e){}})}})}function zapp_we_are_offline(){$("body").attr("data-offline",1)}function zapp_we_are_online(){$("body").attr("data-offline",0);zapp_call_function("offline_capability","tasks_check")}function zapp_force_offline(e){mycz.storage.set("offline-cap-force-offline",1);$("body").attr("data-force-offline",1);if(e==!0){if(mycz.ENV=="MOBILE"){if(mycz.storage.get("localUser.offline_cap_force_hide_msg")!=1){mycz.popup.classic(label("offline_cap_force_title"),label("offline_cap_force_desc"),!1,[mycz.ele.btn("info",label("understood")),mycz.ele.btn("",label("offline_cap_force_never_show_again"),function(){mycz.storage.set("localUser.offline_cap_force_hide_msg",1)})])}}}}function zapp_remove_force_offline(){mycz.storage.set("offline-cap-force-offline",0);$("body").attr("data-force-offline",0)}function zapp_connectivity_test(r){var e={ip:{title:"Internet Connection",check:function(t){var e="https://35.244.167.209/index.php";if(mycz.ENV=="ADMIN"){e="https://"+window.location.host+"/zapp-ping"}else if(mycz.ENV=="MOBILE"){if(window.isCordovaApp==!1){e=options.uri.wp+"zapp-ping"}}$.get(e,"",function(e){t.html(mycz.ele.btn("button-green f-10",mycz.ele.icon(mycz.icons.check)))}).fail(function(){t.html(mycz.ele.btn("button-red f-10",mycz.ele.icon(mycz.icons.close)))})}},dns:{title:label("DNS Lookup"),check:function(t){var e="https://"+window.location.host+"/";if(mycz.ENV=="MOBILE"){e=options.uri.wp}$.get(e+"zapp-ping","",function(e){t.html(mycz.ele.btn("button-green f-10",mycz.ele.icon(mycz.icons.check)))}).fail(function(){t.html(mycz.ele.btn("button-red f-10",mycz.ele.icon(mycz.icons.close)))})}},zappter:{title:label("Zappter API Endpoints"),check:function(t){var e="https://"+window.location.host+"/";if(mycz.ENV=="MOBILE"){e=options.uri.wp}$.get(e+"zapp-ping","",function(e){t.html(mycz.ele.btn("button-green f-10",mycz.ele.icon(mycz.icons.check)))}).fail(function(){t.html(mycz.ele.btn("button-red f-10",mycz.ele.icon(mycz.icons.close)))})}},firebase:{title:label("Content Delivery Network"),check:function(t){var e="https://firebasestorage.googleapis.com/v0/b/mycz-eu/o/1px.jpg?alt=media&token=94dfca40-e9db-4ccc-80b2-de3d8023b963";$.get(e,"",function(e){t.html(mycz.ele.btn("button-green f-10",mycz.ele.icon(mycz.icons.check)))}).fail(function(){t.html(mycz.ele.btn("button-red f-10",mycz.ele.icon(mycz.icons.close)))})}}};var a=1;$.each(e,function(e,t){var n=mycz.ele.div("col-md-4 col-xs-4 text-right",mycz.ele.btn("button-no-bg f-10",mycz.ele.icon(icon.load)));var i=mycz.ele.div("zapp-block p-5 light-shadow b-radius-10 m-top-20 animated fadeInUp",[mycz.ele.div("col-md-8 col-xs-8 fw-600 p-5",t.title),n]);r.append(i);setTimeout(function(){t.check(n)},a*1500);a++})}function zapp_prevent_reload(){window.onbeforeunload=function(){return!0}}function zapp_allow_reload(){window.onbeforeunload=!1}function zapp_set_unsaved_changes(){window.$ZAPP_UNSAVED_CHANGES=!0;zapp_prevent_reload()}function zapp_delete_unsaved_changes(){delete window.$ZAPP_UNSAVED_CHANGES;zapp_allow_reload()}function zapp_check_for_unsaved_changes(e){if(window.$ZAPP_UNSAVED_CHANGES==!0){var t=mycz.modal.templates.alert("button-no-bg",label("are_you_sure"),label("settings_button_switch_text"),[mycz.ele.btn("button-new-blue",label("yes")+" "+mycz.ele.icon(mycz.icons.confirm),function(){mycz.modal.close(t);zapp_delete_unsaved_changes();if(mycz.helpers.isset(e,!0,!0)){e()}})],!1,"zapp-icon zapp-icon-info zapp-icon-big button-new-blue",!1);return}if(mycz.helpers.isset(e,!0,!0)){e()}}function zapp_show_fullscreen_message(){var e=!1;try{e=mycz.helpers.isset(document.fullscreenElement,!0,!0)}catch(e){}if(e==!1){try{if(window.innerHeight==screen.height){e=!0}}catch(e){}}if(e==!0){return}var t=mycz.ele.div("zapp-block");t.append(mycz.ele.div("zapp-block fw-600 m-bottom-20",label("station_start_fullscreen_q")));t.append(mycz.ele.btn("button-white button-tab button-bigger",label("lets_go"),function(){mycz.toast.closeAll();zapp_enter_fullscreen()}));t.append(mycz.ele.btn("",label("later"),function(){mycz.toast.closeAll()}));mycz.toast.new(t,"zapp-icon zapp-icon-video"," button-new-dark","",6e4)}function zapp_enter_fullscreen(){var e=document.documentElement;if(e.requestFullscreen){e.requestFullscreen()}else if(e.webkitRequestFullscreen){e.webkitRequestFullscreen()}else if(e.msRequestFullscreen){e.msRequestFullscreen()}}function zapp_push_history_init(){if(!window.$ZAPP_POP_STATE){window.$ZAPP_POP_STATE=!0;window.addEventListener("popstate",function(e){if(e.state==null){return}if($(".myczModal").length>0){$(".myczModal:last").find(".myczModal-button-close").trigger("click");e.preventDefault();return}if($(".zapp-iphone-overlay .zapp-iphone-closer").length>0){$(".zapp-iphone-overlay .zapp-iphone-closer").trigger("click");e.preventDefault();return}if(e.state){if(e.state.key){if(window.$ZAPP_HANDLE_HISTORY_STATE){if(window.$ZAPP_HANDLE_HISTORY_STATE[e.state.key]){window.$ZAPP_HANDLE_HISTORY_STATE[e.state.key](e.state)}}}}})}}function zapp_push_history_state(e,r,a,o){if(window.$ZAPP_PREVENT_HISTORY_STATE==!0){return}r.key=e;var t=function(){try{var e=o;if(!contains(e,"#")){var t=window.location.href;var n=t.split("#")[1];var i=[n.split("/")[0],n.split("/")[1]];i.push(e);e="#"+i.join("/")}history.pushState(r,a,e)}catch(e){}};t();zapp_push_history_init()}function zapp_handle_history_state(e,t){if(!window.$ZAPP_HANDLE_HISTORY_STATE){window.$ZAPP_HANDLE_HISTORY_STATE={}}window.$ZAPP_HANDLE_HISTORY_STATE[e]=t;zapp_push_history_init()}function zapp_prevent_history_state(){window.$ZAPP_PREVENT_HISTORY_STATE=!0}function zapp_allow_history_state(){window.$ZAPP_PREVENT_HISTORY_STATE=!1}var loader={start:function(e,t,n){n=$("body");try{if(mycz.ENV=="MOBILE"){var i=!1;try{var r=mycz.helpers.json.parse(mycz.storage.get("app"));if(r.station_enabled==!0||getUrlParameter("station")==!0||getUrlParameter("Station")==!0){i=!0}}catch(e){}if(i==!1){if(mycz.helpers.isset(global_settings.loading_indicators_active,!0,!0)){if(window.$ZAPP_REGISTER_LOADING_INDICATOR){if(window.$ZAPP_REGISTER_LOADING_INDICATOR[global_settings.loading_indicators_active]){var a=window.$ZAPP_REGISTER_LOADING_INDICATOR[global_settings.loading_indicators_active];var o=mycz.helpers.json.parse(global_settings.loading_indicators_opts);var c=$('<div class="zapp-loader" style="background-color:'+o.overlay+'!important;"></div>');c.append(a.showFunction(global_settings.loading_indicators_opts));n.append(c);return}}}}}}catch(e){}if($(".myczModal[aria-hidden='false']").length>0){$(".myczModal[aria-hidden='false']").attr("mycz-modal-please-wait-loader",1).attr("data-loader",1);$(".myczModal[aria-hidden='false'] .myczModal-header").addClass("zapp-is-loading");return}if(n.children(".zapp-loader").length>0){return}var c=$('<div class="zapp-loader"><div class="zapp-loader-progress"></div></div>');c.find("div.zapp-loader-progress").animate({width:"100%"},2e3);n.append(c)},stop:function(e){e=$("body");try{if(mycz.ENV=="MOBILE"){var t=!1;try{var n=mycz.helpers.json.parse(mycz.storage.get("app"));if(n.station_enabled==!0||getUrlParameter("station")==!0||getUrlParameter("Station")==!0){t=!0}}catch(e){}if(t==!1){if(mycz.helpers.isset(global_settings.loading_indicators_active,!0,!0)){if(window.$ZAPP_REGISTER_LOADING_INDICATOR){if(window.$ZAPP_REGISTER_LOADING_INDICATOR[global_settings.loading_indicators_active]){e.children(".zapp-loader").remove();return}}}}}}catch(e){}if($(".myczModal[mycz-modal-please-wait-loader='1'][data-loader='1']").length>0){$(".myczModal[mycz-modal-please-wait-loader='1'][data-loader='1'] .myczModal-header").removeClass("zapp-is-loading");$(".myczModal[mycz-modal-please-wait-loader='1'][data-loader='1']").removeAttr("mycz-modal-please-wait-loader",1).removeAttr("data-loader");return}try{e.children(".zapp-loader").remove()}catch(e){}},animateIcon:function(e,t,n,i,r){if(e==""||e==undefined||e=="success"){e=icon.check+" error-dark"}if(e=="error"){e=icon.close+" error-red"}var a=tools.rand_string();if($(".plainmodal-overlay.loader").length>0){$(".plainmodal-overlay.loader").remove()}var o="";if($(".plainmodal-overlay").length>0){var o="z-index:"+$(".plainmodal-overlay:last").css("z-index")+1+";"}$("body").append('<div class="plainmodal-overlay anim-icon loader no-bg '+a+" "+t+'" style="'+o+'"></div>');var c=500;if(n==""||n==undefined){n=""}else{c=2e3}if(mycz.helpers.isset(i,!0)){c=i}$(".plainmodal-overlay.loader."+a).append('<h3 class="isLoading animateIcon '+(r!=undefined&&r!=""?"button-no-bg":"")+'" style=""><i class="fa '+e+' animated flipInX" style=""></i>'+n+"</h3>");try{if(r!=undefined&&r!=""){var s=$(".plainmodal-overlay.loader."+a).find("h3");s.animate({top:r.offset().top+r.height()/2+"px"},{duration:c,queue:!1});s.animate({left:r.offset().left+r.width()/2+"px"},{duration:c,queue:!1});s.children("i").animate({fontSize:"10px"},{duration:c,queue:!1})}}catch(e){}setTimeout(function(){$(".plainmodal-overlay.loader."+a).remove()},c)}};$(document).ready(function(){if(isFirefox()==!0){switch(mycz.ENV){case"ADMIN":if(window.$FireFoxPerfectScrollbarSites){if(mycz.helpers.array.
1contains(window.$FireFoxPerfectScrollbarSites,window.$currentPage)){mycz.plugins.perfect_scrollbar("#czSidebar","",!0);mycz.plugins.perfect_scrollbar("body","",!0)}}break}$("body").attr("data-browser","firefox");setInterval(function(){switch(mycz.ENV){case"ADMIN":var e=[".zapp-iphone-container",".tooltipster-base",".zapp-iphone-navigation",".zapp-designer-right",".popup-container","#zapp-sidebar",".zapp-sidebar-group-top-left",".zapp-sidebar-right-container",".popup-container",".mycz-designer-left",".mycz-designer-right",".o-scroll",".myczModal-wrap",".iziToast-title",".iziToast-texts",".zapp-register-container .register-form",".zapp-register-container .register-right",".zapp-ele-container-with-navigation .c-content:not(.ps-disable)",".zapp-ele-container-with-navigation .c-sidebar:not(.ps-disable)",".zapp-menu",".zapp-iphone-form-container",".zapp-header-notification-fixed",".zapp-doc-main",".zapp-doc-sidebar",".ff-fix",".zapp-cms-v2-left-main",".zapp-cms-v2-right-main",".zapp-cms-v2-screen-containers[data-container='center-middle']"];$(e.join(",")).each(function(){if($(this).hasClass("mycz-ps-init")){return}$(this).attr("data-mycz-ps-id",random.string(20));mycz.plugins.perfect_scrollbar("[data-mycz-ps-id='"+$(this).attr("data-mycz-ps-id")+"']","",!0)});break;case"MOBILE":$("div.subheader div.content,"+"div[id='main'],"+"div.todo,"+"div.mycz-full-menu,"+"div.menu-navigation,"+"div.PopUp div.content,"+"iframe,"+"textarea[name='chat-input'],"+"div.PopUp.social div.popup-container,"+"div.myczModal .myczModal-wrap").each(function(){if($(this).hasClass("mycz-ps-init")){return}$(this).attr("data-mycz-ps-id",random.string(20));mycz.plugins.perfect_scrollbar("[data-mycz-ps-id='"+$(this).attr("data-mycz-ps-id")+"']","",!0)});break}},1e3)}try{if(isIEnew()||isIEold()){$("html").attr("data-browser","IE");if(mycz.ENV=="ADMIN"&&window.DEV!=!0){$("head").append('<link rel="stylesheet" type="text/css" href="/assets/prod/zappter-icons-ie.css?version='+window.CSS_JS_VERSION+'">')}}}catch(e){}try{if(isEdge()){$("html").attr("data-browser","edge")}}catch(e){}try{if((new UAParser).getBrowser().name=="Safari"){$("html").attr("data-browser","Safari")}}catch(e){}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.