PageSourceSearch

https://www.noesis.edu.gr/wp-content/plugins/notibar/build/frontend.js?ver=3d9ef6731e61bbade4a8

js noesis.edu.gr collected 2026-10-01 11:26:43 UTC 14,397 bytes, 1 lines download raw bytes

1(()=>{"use strict";function t(t,e,n,o,i){const r=String(n),a=n>0&&e.some(t=>String(t)===r)||o&&e.includes("home_page")||i&&e.includes("wc_single_product");switch(t){case"all":default:return!0;case"none":return!1;case"include":return a;case"exclude":return!a}}function e(t){if("string"!=typeof t||!t)return NaN;const e=16===t.length?t+":00":t;return new Date(e).getTime()}function n(t){return String(t.getHours()).padStart(2,"0")+":"+String(t.getMinutes()).padStart(2,"0")}const o={"&":"&amp;",'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;"};function i(t){return String(t??"").replace(/[&"'<>]/g,t=>o[t])}function r(t){return String(t??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const a={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#x27;":"'"},s=["centered","text-left","three-zone","hero","split","content-left","content-right"];function c(t,e,n){if(!t||!t.enabled)return"";const o="close"===t.action,s=(c=t.text||"Learn more",String(c??"").replace(/&(?:amp|lt|gt|quot|#39|#x27);/gi,t=>a[t.toLowerCase()]||t));var c;const d=s.trim()?i(s):`Learn more about this notification (${n})`,l=e.btnBgColor||"#1919cf",u=[`background:${i(l)}`,`--njt-btn-bg:${i(/^#[0-9a-fA-F]{8}$/.test(l)?l.slice(0,7):l)}`,`color:${i(e.btnTextColor||"#ffffff")}`,`font-weight:${i(t.fontWeight||500)}`].join(";");if(o)return`<div class="njt-nofi-button"><button type="button" data-njt-action="close" data-njt-reopen="${Math.max(0,Math.min(365,Number(t.reopenAfterDays)||0))}" class="njt-nofi-button-text" aria-label="${d}" style="${u}">`+r(s)+"</button></div>";const f=t.url||"#",p=t.newWindow?' target="_blank" rel="noopener noreferrer"':"";return`<div class="njt-nofi-button"><a href="${i(f)}"${p} class="njt-nofi-button-text" aria-label="${d}" style="${u}">`+r(s)+"</a></div>"}const d=new Set(["fixed","absolute"]);function l(t,e){t>0?document.body.style.setProperty("padding-top",t+"px","important"):document.body.style.removeProperty("padding-top"),e>0?document.body.style.setProperty("padding-bottom",e+"px","important"):document.body.style.removeProperty("padding-bottom")}const u="njt-notibar-";function f(t,e){const n=document.querySelector(t);n&&Object.assign(n.style,e)}function p(){return!!document.querySelector("#wpadminbar")}function b(){const t=document.getElementById("wpadminbar");return t?t.offsetHeight:0}function m(t){const e=y(t);if(!e)return 0;const n=e.offsetHeight,o=e.getBoundingClientRect().bottom-b();return Math.max(0,Math.min(n,o))}function h(t){return t.querySelector(".njt-nofi-stack")||t.querySelector(".njt-nofi-container")}function y(t){const e=t.querySelector(".njt-nofi-stack[data-placement='top']");if(e)return e;const n=t.querySelector(".njt-nofi-container");return n&&"bottom"!==n.getAttribute("data-placement")?n:null}function g(t){if(function(t){return"none"===t.style.display||!t.offsetParent}(t))return!1;const e=y(t);return!(!e||0===e.getBoundingClientRect().height||"absolute"===e.getAttribute("data-position")&&e.getBoundingClientRect().bottom<=0)}function v(t,e,n){return function(){let o=document.getElementById(e);if(!o){if(!document.head)return;o=document.createElement("style"),o.id=e,document.head.appendChild(o)}const i=g(t)?m(t):0;o.textContent=i>0?n(i):""}}function w(t){function e(){const e=g(t),n=e?m(t):0,o=b();f("header#main-header",{top:e?n+o+"px":""});const i=o,r=o+(e?n:0);f(".et_pb_section_0_tb_header",{top:i+"px"}),f(".et_pb_section_1_tb_header",{top:i+30+"px"}),f(".et_pb_section_0_tb_header.et_pb_sticky--top",{top:r+"px"}),f(".et_pb_section_1_tb_header.et_pb_sticky--top",{top:r+30+"px"})}return setTimeout(e,100),e}const x={Divi:w,"Divi Child Theme for CDW Studios":w,Essentials:function(t){const e=v(t,"njt-nofi-essentials-compat",t=>`.pix-header.is-scroll,\n.pix-header.pix-mobile-sticky { margin-top: ${t}px !important; }`);return setTimeout(e,100),e},Nayma:function(t){const e=h(t);e&&"fixed"===getComputedStyle(e).position&&window.addEventListener("wheel",function(e){let n=g(t)?m(t):0;const o=t.querySelector(".njt-nofi-container-content");o&&o.classList.contains("njt-nofi-collapsed")&&(n=0),e.deltaY<0&&f("body header .fixed-header",{top:n+b()+"px"})})},Konte:function(t){const e=h(t);e&&"fixed"===getComputedStyle(e).position&&window.addEventListener("wheel",function(e){if(!g(t))return void f("body header#masthead.header-sticky--normal",{top:document.querySelector("body header#masthead.header-sticky--normal.sticky")?b()+"px":"0"});const n=m(t);e.deltaY<0?f("body header#masthead.header-sticky--normal.sticky",{top:n+b()+"px"}):p()?f("body header#masthead.header-sticky--normal",{top:(document.querySelector("body header#masthead.header-sticky--normal.sticky")?n+b():n)+"px"}):f("body header#masthead.header-sticky--normal.sticky",{top:n+"px"})})},Enfold:function(t){const e=h(t);e&&"absolute"===getComputedStyle(e).position&&(setTimeout(()=>{const t=document.querySelector("body header.av_header_border_disabled");t&&!t.classList.contains("av_header_transparency")&&(t.style.top=b()+"px")},500),window.addEventListener("wheel",function(e){if(e.deltaY>0||!g(t))return void f("body header.av_header_border_disabled",{top:b()+"px"});const n=!!document.querySelector("header.av_header_transparency");f("body header.av_header_border_disabled",{top:b()+(n?m(t):0)+"px"})}))},"Uptime Child":function(t){const e=h(t);e&&"fixed"===getComputedStyle(e).position&&window.addEventListener("wheel",function(e){const n=g(t)?m(t):0;e.deltaY<0||f(".navbar",{top:"0"}
1),f(".navbar.scrolled",{top:n+"px"})})},"Themify Ultra":function(t){window.addEventListener("wheel",function(){const e=p()?b()+24:32;var n;g(t)?(n={top:e+"px"},document.querySelectorAll("#headerwrap.tf_box.tf_w, #headerwrap.tf_box.tf_w.fixed-header").forEach(t=>{Object.assign(t.style,n)})):f("#headerwrap",{top:"0px"})})},Salient:function(t){function e(){f("header#top",{top:g(t)?m(t)+"px":""})}return e(),e},"Radiate Child":function(t){function e(){g(t)?f("body .header-wrap",{top:m(t)+b()+"px"}):f("body .header-wrap",{top:""})}return setTimeout(e,100),window.addEventListener("wheel",e),e},"AccessPress Parallax Pro Child":function(t){function e(){if(!g(t))return f("header#masthead",{top:""}),void f("#main-header.menu-fix",{top:""});f("header#masthead",{top:m(t)+b()+"px"})}setTimeout(e,100);let n=0;return window.addEventListener("scroll",function(){if(!g(t))return;const e=window.scrollY||document.documentElement.scrollTop;e>=n&&f("#main-header.menu-fix",{top:m(t)+"px"}),n=e}),e},Brandy:function(t){const e=v(t,"njt-nofi-brandy-compat",t=>`.is-stickying .sticky-part { top: calc(var(--wp-adminbar-height, 0px) + ${t}px) !important; }`);return e(),e}},S="njt-nofi-collapsed";function j(t){return`njt-notibar-${t}-collapsed`}function _(t){try{return"1"===window.sessionStorage.getItem(j(t))}catch(t){return!1}}function $(t,e){const n=function(t){const e=t.style||{},n=t.content||{},o=t.behavior||{},r=i(e.bgColor||"#9af4cf"),a=i(e.textColor||"#1919cf"),d=i(Number(e.fontSize)||15),l=i(Number(e.contentWidth)||900),u=i(e.positionType||"fixed"),f=s.includes(e.layout)?e.layout:"centered",p=i(t.id||""),b=Math.min(100,Math.max(10,Number(e.opacity)||100)),m=b<100?` style="opacity:${b/100}"`:"",h=`max-width:${l}px;font-size:${d}px;`;let y=`<div class="njt-nofi-text">${n.text||""}</div>`,g=`<div class="njt-nofi-text">${n.textMobile||""}</div>`,v=`<div class="njt-nofi-content njt-nofi-content-desktop" data-layout="${i(f)}" style="${h}">`+y+c(n.button,e,"desktop")+"</div>",w=n.mobileSeparate?`<div class="njt-nofi-content njt-nofi-content-mobile" data-layout="${i(f)}" style="font-size:${d}px;">`+g+c(n.buttonMobile||n.button,e,"mobile")+"</div>":"";const x=function(t){const e='<svg class="njt-nofi-close-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 386.667 386.667" width="14" height="14" aria-hidden="true"><path d="m386.667 45.564-45.564-45.564-147.77 147.769-147.769-147.769-45.564 45.564 147.769 147.769-147.769 147.77 45.564 45.564 147.769-147.769 147.769 147.769 45.564-45.564-147.768-147.77z" fill="currentColor"/></svg>';return"close"===t?'<button class="njt-nofi-close" type="button" aria-label="Close">'+e+"</button>":"toggle"===t?'<button class="njt-nofi-toggle" type="button" aria-label="Collapse/expand">'+e+"</button>":""}(o.hideCloseButton||"close");return`<div class="njt-nofi-container-content" role="status" aria-live="polite" data-bar-id="${p}"><div class="njt-nofi-container" data-position="${u}" data-placement="top"${m}><div class="${"njt-nofi-notification-bar"+(n.mobileSeparate?" njt-nofi-has-mobile":"")}" style="--njt-bar-bg:${r};--njt-bar-color:${a};">`+v+w+x+"</div></div></div>"}(t);return _(t.id)?n.replace('class="njt-nofi-container-content"',`class="njt-nofi-container-content ${S}"`):n}function k(t){return!1}document.addEventListener("DOMContentLoaded",function(){const o=window.njtNotibarData;if(!o)return;const{bars:i=[],global:r={},ctx:a={}}=o;if(!i.length)return;let s=document.getElementById("njt-notibar-slot");s||(s=document.createElement("div"),s.id="njt-notibar-slot",s.setAttribute("role","status"),s.setAttribute("aria-live","polite"),document.body.appendChild(s)),a.device=matchMedia("(max-width:480px)").matches?"mobile":"desktop",a.dismissed=i.filter(t=>function(t){const e=u+String(t)+"=";return document.cookie.split("; ").some(t=>t.startsWith(e))}(t.id)).map(t=>String(t.id)),a.isPreview=!1;let c=function(o,i){if(!Array.isArray(o))return[];const{pageId:r=0,postId:a=0,isHome:s=!1,isSingleProduct:c=!1,device:d="desktop",dismissed:l=[],isPreview:u=!1,currentCptType:f=""}=i;return o.filter(o=>{if(!0!==o.enabled)return!1;const p=o.display||{};if(!u&&!(p.devices||[]).includes(d))return!1;if(""!==f){const t=p.cptLogic||"none",e=(Array.isArray(p.cptTypes)?p.cptTypes:[]).includes(f);if(!("all"===t||"include"===t&&e||"exclude"===t&&!e))return!1}else{const e=p.pageLogic||"all";if("none"===e&&0===a)return!1;if((r>0||s||c)&&!t(e,p.pageIds||[],r,s,c))return!1;if(a>0&&!t(p.postLogic||"all",p.postIds||[],a,!1,!1))return!1}if(!u){const t=String(o.id);if(l.some(e=>String(e)===t))return!1}return!(!u&&!function(t,o){const i=t.schedule;if(!i||!i.enabled)return!0;let r,a,s;if(!0===i.useClientTime){const t=new Date;r=t.getTime(),a=t.getDay(),s=n(t)}else{r="number"==typeof o.serverNow?1e3*o.serverNow:Date.now();const t=new Date(r);a="number"==typeof o.serverWeekday?o.serverWeekday:t.getDay(),s="string"==typeof o.serverHHMM?o.serverHHMM:n(t)}if(i.startAt){const t=e(i.startAt);if(!isNaN(t)&&t>r)return!1}if(i.endAt){const t=e(i.endAt);if(!isNaN(t)&&t<=r)return!1}const c=Array.isArray(i.daysOfWeek)?i.daysOfWeek:[];if(c.length>0&&!c.includes(a))return!1;const d=i.dailyWindow||{};return!(d.enabled&&(d.start||d.end)&&(l=s,u=d.start||"",f=d.end||"",!(""===u&&""===f||(""===u?l<f:""===f?l>=u:u<=f?l>=u&&l<f:l>=u||l<f))));var l,u,f}(o,i))})}(i,a);if(!c.length)return void(s.style.display="none");const f=c.filter(t=>!0);function p(t,e){const n=c.find(e=>String(e.id)===String(t));if(n){const o=n.behavior?n.behavior.reopenAfterDays:0;!function(t,e){const n=Math.max(0,Number(e)||0),o=n>0?"; Max-Age="+86400*n:"",i="https:"===location.protocol?"; Secure":"";document.cookie=`${u}${String(t)}=1; Path=/; SameSite=Lax${o}${i}`}(t,null!=e?e:o)}const o=new Set([String(t)]);if(c=c.filter(t=>!o.has(String(t.id))),!c.length)return s.innerHTML="",void(s.style.display="none");s.innerHTML=$(c[0])}c.filter(k),f.slice(),s.addEventListener("click",function(t){const e=t.target.closest('[data-njt-action="close"]');if(e){t.preventDefault();
1const n=e.closest("[data-bar-id]"),o=n?n.dataset.barId:null;if(o){const t=e.dataset.njtReopen;p(o,void 0!==t&&""!==t?Number(t):void 0)}return}const n=t.target.closest(".njt-nofi-close");if(n){const t=n.closest("[data-bar-id]"),e=t?t.dataset.barId:null;return void(e&&p(e))}const o=t.target.closest(".njt-nofi-toggle");if(o){const t=o.closest("[data-bar-id]"),e=t?t.dataset.barId:null;return void(e&&function(t){const e=_(t);!function(t,e){try{const n=j(t);e?window.sessionStorage.setItem(n,"1"):window.sessionStorage.removeItem(n)}catch(t){}}(t,!e);const n=s.querySelector(`[data-bar-id="${CSS.escape(t)}"]`);n&&n.classList.toggle(S,!e)}(e))}});{const t=c[0];s.innerHTML=$(t)}s.querySelectorAll(".njt-nofi-container-content").forEach(function(t){t.classList.add("njt-nofi-visible")}),function(t,e){const n=x[t];if("function"!=typeof n)return;const o=n(e);"function"==typeof o&&"undefined"!=typeof MutationObserver&&(new MutationObserver(o).observe(e,{childList:!0}),window.addEventListener("resize",o,{passive:!0}),window.addEventListener("scroll",function(){const t=h(e);t&&"absolute"===t.getAttribute("data-position")&&o()},{passive:!0}))}(a.theme,s),function(t){if(!t||"undefined"==typeof ResizeObserver)return function(){};let e=[],n=null;function o(t){return"bottom"===t.getAttribute("data-placement")?"bottom":"top"}function i(t){const e=t.getAttribute("data-position")||"fixed";return d.has(e)}function r(){let t=0,n=0;e.forEach(function(e){const o=e.el.offsetHeight;"bottom"===e.side?n+=o:t+=o}),l(t,n)}function a(){const e=t.querySelectorAll(".njt-nofi-stack");if(e.length){const t=[];return e.forEach(function(e){i(e)&&t.push({el:e,side:o(e)})}),t}const n=t.querySelector(".njt-nofi-container");return n&&i(n)?[{el:n,side:o(n)}]:[]}function s(t){n&&(n.disconnect(),n=null),e=t,e.length?(n=new ResizeObserver(r),e.forEach(function(t){n.observe(t.el)}),r()):l(0,0)}s(a());new MutationObserver(function(){const t=a();(function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n].el!==e[n].el||t[n].side!==e[n].side)return!1;return!0})(t,e)||s(t)}).observe(t,{childList:!0,subtree:!0}),window.addEventListener("resize",function(){r()})}(s),function(t){const e=document.getElementById("wpadminbar");if(!t||!e)return;const n=window.matchMedia("(max-width: 600px)");function o(){const o=function(){const e=t.querySelector(".njt-nofi-stack[data-placement='top'][data-position='fixed']");if(e)return e;const n=t.querySelector(".njt-nofi-container[data-position='fixed']");return n&&"bottom"!==n.getAttribute("data-placement")?n:null}();if(!o)return;if(!n.matches)return void o.style.removeProperty("top");const i=Math.max(0,window.scrollY),r=Math.max(0,e.offsetHeight-i);o.style.setProperty("top",r+"px")}window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o,{passive:!0}),new MutationObserver(o).observe(t,{childList:!0}),o()}(s),s.dispatchEvent(new CustomEvent("njt_nofi_bar_rendered",{bubbles:!0}))})})();

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.