PageSourceSearch

https://freshpatisserie.gr/component---src-pages-about-tsx-2562c52ff6f1d6761cf7.js

js freshpatisserie.gr collected 2026-10-07 01:40:18 UTC 26,729 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_redux_toolkit_typescript_starter=self.webpackChunkgatsby_redux_toolkit_typescript_starter||[]).push([[970],{24854:function(e,t,n){var r=n(24994),o=n(6305);t.A=void 0;var l=o(n(96540)),i=(0,r(n(97871)).default)(l.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.A=i},25520:function(e,t,n){function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:function(){return r}})},28915:function(e,t,n){function r(e){return e&&e.ownerDocument||document}n.d(t,{A:function(){return r}})},31617:function(e,t,n){function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,l=t.props[n];for(o in l)void 0===r[o]&&(r[o]=l[o]);return r}n.d(t,{A:function(){return r}})},32646:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(28915);function o(e){return(0,r.A)(e).defaultView||window}},34617:function(e,t,n){n.r(t),n.d(t,{capitalize:function(){return o},createChainedFunction:function(){return l.A},createSvgIcon:function(){return A},debounce:function(){return w},deprecatedPropType:function(){return k},isMuiElement:function(){return N},ownerDocument:function(){return x.A},ownerWindow:function(){return C.A},requirePropFactory:function(){return S},setRef:function(){return R.A},unstable_useId:function(){return P},unsupportedProp:function(){return I},useControlled:function(){return L},useEventCallback:function(){return T.A},useForkRef:function(){return F.A},useIsFocusVisible:function(){return U}});var r=n(84308);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}var l=n(44921),i=n(58168),a=n(96540),c=n(80045);function s(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=s(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var u=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=s(e))&&(r&&(r+=" "),r+=t);return r},d=n(49858),f=n.n(d),m=n(34064),v=n(31617),p=n(3226),h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,l=void 0!==o&&o,s=t.name,u=(0,c.A)(t,["defaultTheme","withTheme","name"]);var d=s,h=(0,m.A)(e,(0,i.A)({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:d},u)),E=a.forwardRef(function(e,t){e.classes;var o,u=e.innerRef,d=(0,c.A)(e,["classes","innerRef"]),f=h((0,i.A)({},n.defaultProps,e)),m=d;return("string"==typeof s||l)&&(o=(0,p.A)()||r,s&&(m=(0,v.A)({theme:o,name:s,props:d})),l&&!m.theme&&(m.theme=o)),a.createElement(n,(0,i.A)({ref:u||t,classes:f},m))});return f()(E,n),E}},E=n(47208);var g=function(e,t){return h(e,(0,i.A)({defaultTheme:E.A},t))},y=a.forwardRef(function(e,t){var n=e.children,r=e.classes,l=e.className,s=e.color,d=void 0===s?"inherit":s,f=e.component,m=void 0===f?"svg":f,v=e.fontSize,p=void 0===v?"medium":v,h=e.htmlColor,E=e.titleAccess,g=e.viewBox,y=void 0===g?"0 0 24 24":g,b=(0,c.A)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return a.createElement(m,(0,i.A)({className:u(r.root,l,"inherit"!==d&&r["color".concat(o(d))],"default"!==p&&"medium"!==p&&r["fontSize".concat(o(p))]),focusable:"false",viewBox:y,color:h,"aria-hidden":!E||void 0,role:E?"img":void 0,ref:t},b),n,E?a.createElement("title",null,E):null)});y.muiName="SvgIcon";var b=g(function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}},{name:"MuiSvgIcon"})(y);function A(e,t){var n=function(t,n){return a.createElement(b,(0,i.A)({ref:n},t),e)};return n.muiName=b.muiName,a.memo(a.forwardRef(n))}function w(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];var i=this;clearTimeout(t),t=setTimeout(function(){e.apply(i,o)},n)}return r.clear=function(){clearTimeout(t)},r}function k(e,t){return function(){return null}}function N(e,t){return a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var x=n(28915),C=n(32646);function S(e){return function(){return null}}var R=n(25520);function I(e,t,n,r,o){return null}function L(e){var t=e.controlled,n=e.default,r=(e.name,e.state,a.useRef(void 0!==t).current),o=a.useState(n),l=o[0],i=o[1];return[r?t:l,a.useCallback(function(e){r||i(e)},[])]}var T=n(45567),F=n(82305);function P(e){var t=a.useState(e),n=t[0],r=t[1],o=e||n;return a.useEffect(function(){null==n&&r("mui-".concat(Math.round(1e5*Math.random())))},[n]),o}var M=n(40961),D=!0,z=!1,B=null,O={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function V(e){e.metaKey||e.altKey||e.ctrlKey||(D=!0)}function _(){D=!1}function K(){"hidden"===this.visibilityState&&z&&(D=!0)}function W(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(l){}return D||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!O[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function H(){z=!0,window.clearTimeout(B),B=window.setTimeout(function(){z=!1},100)}function U(){return{isFocusVisible:W,onBlurVisible:H,ref:a.useCallback(function(e){var t,n=M.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",V,!0),t.addEventListener("mousedown",_,!0),t.addEventListener("pointerdown",_,!0),t.addEventListener("touchstart",_,!0),t.addEventListener("visibilitychange",K,!0))},[])}}},44921:function(e,t,n){function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}},function(){})}n.d(t,{A:function(){return r}})},45567:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function l(e){var t=r.useRef(e);return o(function(){t.current=e}),r.useCallback(function(){return t.current.apply(void 0,arguments)},[])}},53305:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var r=n(45458),o=n(96540),l=n(50973),i=n(32862),a=n(78342),c=n(84362),s=n(91529),u=n(65759);function d(e){let{videoSrcURL:t,videoTitle:n,arrowRightClick:r,arrowLeftClick:l,...i}=e;return o.createElement("div",{className:"iframe-container"},o.createElement("div",{className:"arrowLeft",onClick:()=>{l()}},o.createElement(u.A,{className:"gallery-icon"})),o.createElement("iframe",{src:t,title:n,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",frameBorder:"0",webkitallowfullscreen:"true",mozallowfullscreen:"true",allowFullScreen:!0}),o.createElement("div",{className:"arrowRight",onClick:()=>{r()}},o.createElement(s.A,{className:"gallery-icon"})))}n(96060);var f=n(58880),m=n(80045),v=n(58168),p=n(40961),h=n(3226),E=n(31617),g=n(28915),y=n(25520),b=n(82305);var A="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;var w=o.forwardRef(function(e,t){var n=e.children,r=e.container,l=e.disablePortal,i=void 0!==l&&l,a=e.onRendered,c=o.use
1State(null),s=c[0],u=c[1],d=(0,b.A)(o.isValidElement(n)?n.ref:null,t);return A(function(){i||u(function(e){return e="function"==typeof e?e():e,p.findDOMNode(e)}(r)||document.body)},[r,i]),A(function(){if(s&&!i)return(0,y.A)(t,s),function(){(0,y.A)(t,null)}},[t,s,i]),A(function(){a&&(s||i)&&a()},[a,s,i]),i?o.isValidElement(n)?o.cloneElement(n,{ref:d}):n:s?p.createPortal(n,s):s}),k=n(44921),N=n(45567),x=n(46786),C=n(23029),S=n(92901);var R=n(32646);function I(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function L(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function T(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,r.A)(o)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&I(e,l)})}function F(e,t){var n=-1;return e.some(function(e,r){return!!t(e)&&(n=r,!0)}),n}function P(e,t){var n,r=[],o=[],l=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,g.A)(e);return t.body===e?(0,R.A)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(l)){var i=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:l.style.paddingRight,key:"padding-right",el:l}),l.style["padding-right"]="".concat(L(l)+i,"px"),n=(0,g.A)(l).querySelectorAll(".mui-fixed"),[].forEach.call(n,function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(L(e)+i,"px")})}var a=l.parentElement,c="HTML"===a.nodeName&&"scroll"===window.getComputedStyle(a)["overflow-y"]?a:l;r.push({value:c.style.overflow,key:"overflow",el:c}),c.style.overflow="hidden"}return function(){n&&[].forEach.call(n,function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")}),r.forEach(function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)})}}var M=function(){function e(){(0,C.A)(this,e),this.modals=[],this.containers=[]}return(0,S.A)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&I(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);T(t,e.mountNode,e.modalRef,r,!0);var o=F(this.containers,function(e){return e.container===t});return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=F(this.containers,function(t){return-1!==t.modals.indexOf(e)}),r=this.containers[n];r.restore||(r.restore=P(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=F(this.containers,function(t){return-1!==t.modals.indexOf(e)}),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&I(e.modalRef,!0),T(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&I(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var D=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,l=e.disableEnforceFocus,i=void 0!==l&&l,a=e.disableRestoreFocus,c=void 0!==a&&a,s=e.getDoc,u=e.isEnabled,d=e.open,f=o.useRef(),m=o.useRef(null),v=o.useRef(null),h=o.useRef(),E=o.useRef(null),y=o.useCallback(function(e){E.current=p.findDOMNode(e)},[]),A=(0,b.A)(t.ref,y),w=o.useRef();return o.useEffect(function(){w.current=d},[d]),!w.current&&d&&"undefined"!=typeof window&&(h.current=s().activeElement),o.useEffect(function(){if(d){var e=(0,g.A)(E.current);r||!E.current||E.current.contains(e.activeElement)||(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex",-1),E.current.focus());var t=function(){null!==E.current&&(e.hasFocus()&&!i&&u()&&!f.current?E.current&&!E.current.contains(e.activeElement)&&E.current.focus():f.current=!1)},n=function(t){!i&&u()&&9===t.keyCode&&e.activeElement===E.current&&(f.current=!0,t.shiftKey?v.current.focus():m.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval(function(){t()},50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}},[r,i,c,u,d]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelStart"}),o.cloneElement(t,{ref:A}),o.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))},z={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},B=o.forwardRef(function(e,t){var n=e.invisible,r=void 0!==n&&n,l=e.open,i=(0,m.A)(e,["invisible","open"]);return l?o.createElement("div",(0,v.A)({"aria-hidden":!0,ref:t},i,{style:(0,v.A)({},z.root,r?z.invisible:{},i.style)})):null});var O=new M,V=o.forwardRef(function(e,t){var n=(0,h.A)(),r=(0,E.A)({name:"MuiModal",props:(0,v.A)({},e),theme:n}),l=r.BackdropComponent,i=void 0===l?B:l,a=r.BackdropProps,c=r.children,s=r.closeAfterTransition,u=void 0!==s&&s,d=r.container,f=r.disableAutoFocus,y=void 0!==f&&f,A=r.disableBackdropClick,C=void 0!==A&&A,S=r.disableEnforceFocus,R=void 0!==S&&S,L=r.disableEscapeKeyDown,T=void 0!==L&&L,F=r.disablePortal,P=void 0!==F&&F,M=r.disableRestoreFocus,z=void 0!==M&&M,V=r.disableScrollLock,_=void 0!==V&&V,K=r.hideBackdrop,W=void 0!==K&&K,H=r.keepMounted,U=void 0!==H&&H,j=r.manager,G=void 0===j?O:j,Y=r.onBackdropClick,q=r.onClose,X=r.onEscapeKeyDown,Z=r.onRendered,$=r.open,J=(0,m.A)(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=o.useState(!0),ee=Q[0],te=Q[1],ne=o.useRef({}),re=o.useRef(null),oe=o.useRef(null),le=(0,b.A)(oe,t),ie=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),ae=function(){return(0,g.A)(re.current)},ce=function(){return ne.current.modalRef=oe.current,ne.current.mountNode=re.current,ne.current},se=function(){G.mount(ce(),{disableScrollLock:_}),oe.current.scrollTop=0},ue=(0,N.A)(function(){var e=function(e){return e="function"==typeof e?e():e,p.findDOMNode(e)}(d)||ae().body;G.add(ce(),e),oe.current&&se()}),de=o.useCallback(function(){return G.isTopModal(ce())},[G]),fe=(0,N.A)(function(e){re.current=e,e&&(Z&&Z(),$&&de()?se():I(oe.current,!0))}),me=o.useCallback(function(){G.remove(ce())},[G]);if(o.useEffect(function(){return function(){me()}},[me]),o.useEffect(function(){$?ue():ie&&u||me()},[$,me,ie,u,ue]),!U&&!$&&(!ie||ee))return null;var ve=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:x.A}),pe={};return void 0===c.props.tabIndex&&(pe.tabIndex=c.props.tabIndex||"-1"),ie&&(pe.onEnter=(0,k.A)(function(){te(!1)},c.props.onEnter),pe.onExited=(0,k.A)(function(){te(!0),u&&me()},c.props.onExited)),o.createElement(w,{ref:fe,container:d,disablePortal:P},o.createElement("div",(0,v.A)({ref:le,onKeyDown:function(e){"Escape"===e.key&&de()&&(X&&X(e),T||(e.stopPropagation(),q&&q(e,"escapeKeyDown")))},role:"presentation"},J,{style:(0,v.A)({},ve.root,!$&&ee?ve.hidden:{},J.style)}),W?null:o.createElement(i,(0,v.A)({open:$,onClick:function(e){e.target===e.currentTarget&&(Y&&Y(e),!C&&q&&q(e,"backdropClick"))}},a)),o.createElement(D,{disableEnforceFocus:R,disableAutoFocus:y,disableRestoreFocus:z,getDoc:ae,isEnabled:de,open:$},o.cloneElement(c,pe))))}),_=n(24854);const K=(0,f.A)(e=>({root:{height:300,flexGrow:1,minWidth:300,transform:"translateZ(0)","@media all and (-ms-high-contrast: none)":{display:"none"}},modal:{display:"flex",padding:e.spacing(1),alignItems:"center",justifyContent:"center",background:"rgba(0, 0, 0, 0.85)"},paper:{width:400,backgroundColor:e.palette.background.paper,border:"2px s
1olid #000",boxShadow:e.shadows[5],padding:e.spacing(2,4,3)},close:{textAlign:"right",cursor:"pointer",marginRight:"-18px",color:"#fff"},videoActive:{borderBottom:"thick solid #fff !important",opacity:"1 !important"},lines:{display:"list-style",textAlign:"center","& li":{width:"72px",height:"4px",borderBottom:" thick solid #fff",display:"inline-flex",marginLeft:"10px",opacity:"0.5"}}}));function W(e){let{items:t,currentIndex:n,currentVideo:r,close:l}=e;(0,o.useEffect)(()=>{s(parseInt(n)),f(r)},[]);const i=K(),a=o.useRef(null),{0:c,1:s}=(0,o.useState)(),{0:u,1:f}=(0,o.useState)(),m=(0,o.useCallback)(()=>{let e=parseInt(c)+1;e>0&&(s(parseInt(e)),f(t[e].videos))},[s,f,t,n,c]),v=(0,o.useCallback)(()=>{let e=parseInt(c)-1;e<t.length&&(s(parseInt(e)),f(t[e].videos))},[s,f,t,n,c]),p=e=>{s(parseInt(e)),f(t[e].videos)};return o.createElement(o.Fragment,null,o.createElement(V,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:!0,"aria-labelledby":"server-modal-title","aria-describedby":"server-modal-description",className:i.modal,container:()=>a.current},o.createElement("div",{className:"container"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col"},o.createElement("ul",{className:i.lines},t.map((e,t)=>o.createElement("li",{style:{cursor:"pointer"},onClick:()=>{p(t)},className:c===t?`${i.videoActive}`:""}))),o.createElement("div",{className:i.close,onClick:()=>{l()}},o.createElement(_.A,null)),console.log("current video",u),u&&o.createElement(d,{videoSrcURL:null==u?void 0:u.videourl,videoTitle:null==u?void 0:u.videotitle,arrowRightClick:m,arrowLeftClick:v}))))))}var H=n(12719),U=n(37973),j=n(89503),G=n(68482),Y=n(28976),q=n.n(Y);const X={cellAlign:"center",wrapAround:!0,pageDots:!1,imagesLoaded:!1,contain:!0,autoPlay:2e3,arrowShape:"M51.7,97.7l4.4-4.4c1-1,1-2.7,0-3.7L21.9,55.5H97c1.5,0,2.6-1.2,2.6-2.6v-6.2c0-1.5-1.2-2.6-2.6-2.6H21.9 L56,9.9c1-1,1-2.7,0-3.7l-4.4-4.4c-1-1-2.7-1-3.7,0L1.9,47.9c-1,1-1,2.7,0,3.7l46.1,46.1C49,98.7,50.7,98.7,51.7,97.7z"};var Z=e=>{var t,n,s,u,f,m,v,p,h,E,g,y,b,A,w,k,N;let{location:x,data:{allWpLocation:C,allWpPage:S,allWpVideo:R}}=e;const{t:I}=(0,c.useTranslation)(),{0:L,1:T}=(0,o.useState)(!0),{language:F,changeLanguage:P}=(0,c.useI18next)();let M,D,z,B=null==R?void 0:R.nodes;var O,V,_,K,Y,Z,$,J,Q;"en"!==F?(M=null==S||null===(O=S.nodes[0])||void 0===O?void 0:O.pageDetails,D=null==S||null===(V=S.nodes[0])||void 0===V?void 0:V.editors,z=null==S||null===(_=S.nodes[0])||void 0===_?void 0:_.missionAndVision):(M=null==S||null===(K=S.nodes[0])||void 0===K||null===(Y=K.translations[0])||void 0===Y?void 0:Y.pageDetails,D=null==S||null===(Z=S.nodes[0])||void 0===Z||null===($=Z.translations[0])||void 0===$?void 0:$.editors,z=null==S||null===(J=S.nodes[0])||void 0===J||null===(Q=J.translations[0])||void 0===Q?void 0:Q.missionAndVision);const{0:ee,1:te}=(0,o.useState)((0,r.A)(B.slice(0,4))),{0:ne,1:re}=(0,o.useState)(!1),{0:oe,1:le}=(0,o.useState)(B.length>4),{0:ie,1:ae}=(0,o.useState)(!1),{0:ce,1:se}=(0,o.useState)(!1),{0:ue,1:de}=(0,o.useState)(!1);(0,o.useEffect)(()=>{if(ne&&oe){const e=ee.length,t=e<B.length?B.slice(e,e+3):[];te([].concat((0,r.A)(ee),(0,r.A)(t))),re(!1)}},[ne,oe]),(0,o.useEffect)(()=>{const e=ee.length<B.length;le(e)},[ee]);const fe=(e,t,n)=>{e.preventDefault(),se(t),de(n),ae(!0)},me=()=>{ae(!1)};return o.createElement(l.A,null,o.createElement(i.A,{title:"About"}),o.createElement("div",{className:"body-wrap"},o.createElement("section",{className:"content"},o.createElement("div",{className:"container "},j.xl||j.v1?o.createElement("div",{className:"row"},o.createElement("div",{className:"col-9"},o.createElement("h1",{style:{paddingLeft:"33%"}},M&&(null===(t=M)||void 0===t?void 0:t.title))),o.createElement("div",{className:"col-3"},o.createElement(G.A,{styling:"mobileVersion"}))):o.createElement("div",{className:"row"},o.createElement("div",{className:"row"},o.createElement("h1",null,null===(n=M)||void 0===n?void 0:n.title))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col videoMainAbout"},o.createElement(d,{videoSrcURL:null===(s=M)||void 0===s?void 0:s.videoUrlPageDetails,videoTitle:"Fresh"}))),o.createElement("div",{className:"row justify-content-center"},o.createElement("div",{className:"col-lg-8 col-sm-12 mt-4 pt-4 text-center titleDescription"},o.createElement("h2",null,null===(u=M)||void 0===u?void 0:u.titleH3),o.createElement("p",null,null===(f=M)||void 0===f?void 0:f.titleH3Description))),o.createElement("div",{className:"row mt-5"},o.createElement("div",{className:"page-content"},(null===(m=z)||void 0===m?void 0:m.missionAndVision)&&(0,U.Ay)(null===(v=z)||void 0===v?void 0:v.missionAndVision))),o.createElement("div",{className:"row mt60"},o.createElement("div",{className:"col section-title"},o.createElement("h2",null,null===(p=D)||void 0===p?void 0:p.editorsTitle))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col"},o.createElement(a.A,{fluid:null===(h=D)||void 0===h||null===(E=h.editorsMainImage)||void 0===E||null===(g=E.localFile)||void 0===g||null===(y=g.childImageSharp)||void 0===y?void 0:y.fluid,alt:null===(b=D)||void 0===b||null===(A=b.editorsMainImage)||void 0===A||null===(w=A.localFile)||void 0===w?void 0:w.altText,className:"img-fluid full"}))),o.createElement("div",{className:"row mt-5"},o.createElement("div",{className:"page-content"},(null===(k=D)||void 0===k?void 0:k.editorsContent)&&(0,U.Ay)(null===(N=D)||void 0===N?void 0:N.editorsContent))))),o.createElement("section",{className:"explore"},!j.Fr&&o.createElement("div",{className:"container"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col section-title text-end"},o.createElement("h2",null,"exlpore fresh"))),o.createElement("div",{className:"row"},ee.map((e,t)=>{var n,r,l,i,c,s,u,d,f,m,v;return o.createElement("div",{className:"col-lg-3 col-sm-12 slidingGalleryMain "+(t>3?"mt-3":"")},o.createElement("a",{onClick:n=>
1{fe(n,null==e?void 0:e.videos,t)},href:e.videos.videourl,className:"hover-link"},o.createElement("div",{className:"thumbwrap"},o.createElement(a.A,{fluid:null==e||null===(n=e.videos)||void 0===n||null===(r=n.videoimage)||void 0===r||null===(l=r.localFile)||void 0===l||null===(i=l.childImageSharp)||void 0===i?void 0:i.fluid,alt:null==e||null===(c=e.videos)||void 0===c||null===(s=c.videoimage)||void 0===s||null===(u=s.localFile)||void 0===u?void 0:u.altText,className:"img-fluid full"}),o.createElement("span",{className:"more"},"PLAY")),o.createElement("h3",null,"en"!==F?null==e?void 0:e.videos.videotitle:null==e||null===(d=e.translations[0])||void 0===d||null===(f=d.videos)||void 0===f?void 0:f.videotitle),o.createElement("p",null,"en"!==F?(null==e?void 0:e.videos.videodescription.substring(0,150))+"...":(null==e||null===(m=e.translations[0])||void 0===m||null===(v=m.videos)||void 0===v?void 0:v.videodescription.substring(0,150))+"...")))}),ie?o.createElement(W,{close:me,currentVideo:ce,currentIndex:ue,items:ee}):"")),j.Fr&&o.createElement("div",{className:"container-fluid"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col section-title text-start"},o.createElement("h2",null,"exlpore fresh"))),o.createElement("div",{className:"row"},o.createElement(q(),{className:"slider",elementType:"div",options:X,disableImagesLoaded:!0,reloadOnUpdate:!0,static:!0},ee.map((e,t)=>{var n,r,l,i,c,s,u,d,f,m,v;return o.createElement("div",{className:"slide"},o.createElement("div",{className:"thumbwrap"},o.createElement("a",{onClick:n=>{fe(n,null==e?void 0:e.videos,t)},href:e.videos.videourl,className:"hover-link slidingGallery"},o.createElement("div",{className:"thumbwrap"},o.createElement(a.A,{fluid:null==e||null===(n=e.videos)||void 0===n||null===(r=n.videoimage)||void 0===r||null===(l=r.localFile)||void 0===l||null===(i=l.childImageSharp)||void 0===i?void 0:i.fluid,alt:null==e||null===(c=e.videos)||void 0===c||null===(s=c.videoimage)||void 0===s||null===(u=s.localFile)||void 0===u?void 0:u.altText,className:"img-fluid full"}),o.createElement("span",{className:"more"},"PLAY")),o.createElement("h3",null,"en"!==F?null==e?void 0:e.videos.videotitle:null==e||null===(d=e.translations[0])||void 0===d||null===(f=d.videos)||void 0===f?void 0:f.videotitle),o.createElement("p",null,"en"!==F?null==e?void 0:e.videos.videodescription.substring(0,150):null==e||null===(m=e.translations[0])||void 0===m||null===(v=m.videos)||void 0===v?void 0:v.videodescription.substring(0,150)))))})),ie?o.createElement(W,{close:me,currentVideo:ce,currentIndex:ue,items:ee}):""))),o.createElement(H.A,{location:x,locations:C,language:F})))}},65759:function(e,t,n){var r=n(24994),o=n(6305);t.A=void 0;var l=o(n(96540)),i=(0,r(n(97871)).default)(l.createElement("path",{d:"M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");t.A=i},68482:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(96540);(0,n(58880).A)(e=>({root:{}}));function o(e){let{styling:t}=e;return(0,r.useEffect)(()=>{},[]),r.createElement(r.Fragment,null,r.createElement("div",{className:"social-share"},r.createElement("ul",{className:"social text-right"},r.createElement("li",null,r.createElement("a",{href:"https://www.instagram.com/freshpatisserie/?hl=el",target:"_blank"},r.createElement("span",{className:"instagramIcon"}))),r.createElement("li",null,r.createElement("a",{href:"https://www.facebook.com/freshpatisserie.gr/",target:"_blank"},r.createElement("span",{border:"0",className:"facebookIcon"}))),r.createElement("li",null,r.createElement("a",{href:"https://www.linkedin.com/company/freshpatisserie/?originalSubdomain=gr",target:"_blank"},r.createElement("span",{border:"0",className:"linkedinIcon"})))),r.createElement("p",{className:"text-end"},"follow us on social media")))}},82305:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),o=n(25520);function l(e,t){return r.useMemo(function(){return null==e&&null==t?null:function(n){(0,o.A)(e,n),(0,o.A)(t,n)}},[e,t])}},91529:function(e,t,n){var r=n(24994),o=n(6305);t.A=void 0;var l=o(n(96540)),i=(0,r(n(97871)).default)(l.createElement("path",{d:"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"}),"ArrowForwardIos");t.A=i}
1,97871:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(34617)}}]);
2//# sourceMappingURL=component---src-pages-about-tsx-2562c52ff6f1d6761cf7.js.map

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.