(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8581:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(3641)}])},3641:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return re},default:function(){return ie}});var s=t(5893),r=t(4051),i=t.n(r),a=t(9669),l=t.n(a);var c=t(7294),o=t(5152),d=t(6523),m=t(2546),u=t(5675),h=t.n(u);t(1082),t(6797);function p(e){var n=[],t=e.img.find((function(e){return"Om oss"==e.name}));return"undefined"!==typeof t&&(n=t.images),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("section",{className:"section about",id:"about",children:(0,s.jsxs)("div",{className:"inner",children:[(0,s.jsxs)("div",{className:"_left",children:[(0,s.jsxs)("h2",{className:"is-hidden-mobile",children:["v\xe4lkommen till 91:an d\xe4r \xc5rstaviken m\xf6ter Hammarby Sj\xf6"," "]}),(0,s.jsx)("h2",{className:"is-hidden-tablet",children:"om 91:an "}),(0,s.jsx)("p",{children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:"".concat(e.description)}})})]}),(0,s.jsx)("div",{className:"_right",children:(0,s.jsx)("div",{className:"swiper-inner",children:(0,s.jsx)(m.tq,{modules:[d.W_],slidesPerView:1,spaceBetween:13,navigation:!0,initialSlide:0,autoplay:{delay:5e3},children:n.map((function(e,n){return(0,s.jsx)(m.o5,{children:(0,s.jsx)("figure",{children:(0,s.jsx)(h(),{src:e.medium,alt:"Om oss_Galleri",layout:"fill",objectFit:"cover"})})},n)}))})})})]})})})}d.ZP.use([d.tl,d.pt]);var v=t(7484),f=t.n(v),x=t(7536);function g(e,n,t,s,r,i,a){try{var l=e[i](a),c=l.value}catch(o){return void t(o)}l.done?n(c):Promise.resolve(c).then(s,r)}function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function N(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},s=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),s.forEach((function(n){j(e,n,t[n])}))}return e}function b(){var e=(0,x.cI)({defaultValues:{date:f()().format("YYYY-MM-DD")}}),n=e.register,t=e.handleSubmit,r=e.reset,a=(0,c.useState)(null),o=(a[0],a[1]),d=(0,c.useState)("INITIAL"),m=d[0],u=d[1],h=(0,c.useState)(3);h[0],h[1];(0,c.useEffect)((function(){if("SUCCESS"===m||"ERROR"===m){var e=setTimeout((function(){u("INITIAL")}),6e3);return function(){return clearTimeout(e)}}}),[m]);var p=function(){var e,n=(e=i().mark((function e(n){var t,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u("LOADING"),t=n,e.prev=2,t.emailaddress){e.next=9;break}return e.next=6,l().post("/api/email/send",{emailData:t});case 6:u("SUCCESS"),e.next=11;break;case 9:throw r(),new Error("There has been an error!");case 11:r(),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(2),o(null!==(s=e.t0.message)&&void 0!==s?s:e.t0.response.data.error),u("ERROR");case 19:case"end":return e.stop()}}),e,null,[[2,14]])})),function(){var n=this,t=arguments;return new Promise((function(s,r){var i=e.apply(n,t);function a(e){g(i,s,r,a,l,"next",e)}function l(e){g(i,s,r,a,l,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}();return(0,s.jsxs)("form",{onSubmit:t(p),children:[(0,s.jsxs)("div",{className:"columns is-multiline is-gapless",children:[(0,s.jsx)("div",{className:"column is-6",children:(0,s.jsx)("div",{className:"field",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("input",N({type:"text"},n("name",{required:!0}),{disabled:"LOADING"===m,placeholder:"F\xf6r- & efternamn",required:!0}))})})}),(0,s.jsxs)("div",{className:"column is-6",children:[(0,s.jsx)("div",{className:"is-invisible",style:{display:"none"},children:(0,s.jsx)("input",N({type:"email"},n("emailaddress"),{disabled:"LOADING"===m,placeholder:"Your email address"}))}),(0,s.jsx)("div",{className:"field field-right",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("input",N({type:"email"},n("email",{required:!0}),{disabled:"LOADING"===m,placeholder:"Mailadress",required:!0}))})})]}),(0,s.jsx)("div",{className:"column is-6",children:(0,s.jsx)("div",{className:"field",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("input",N({type:"text"},n("phone",{required:!0}),{disabled:"LOADING"===m,placeholder:"Telefonnummer",required:!0}))})})}),(0,s.jsx)("div",{className:"column is-6",children:(0,s.jsx)("div",{className:"field field-right",children:(0,s.jsx)("div",{className:"control date-picker",children:(0,s.jsx)("input",N({type:"date",name:"begin",id:"date",min:"1997-01-01",max:"2040-12-31"},n("date",{required:!0,valueAsDate:!0}),{required:!0}))})})}),(0,s.jsx)("div",{className:"column is-6",children:(0,s.jsx)("div",{className:"field",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("input",N({type:"text"},n("tid",{required:!0}),{disabled:"LOADING"===m,placeholder:"Tid",required:!0}))})})}),(0,s.jsx)("div",{className:"column is-6",children:(0,s.jsx)("div",{className:"field field-right",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("input",N({type:"text"},n("antal",{required:!0}),{disabled:"LOADING"===m,placeholder:"Antal personer",required:!0}))})})}),(0,s.jsx)("div",{className:"column is-12",children:(0,s.jsx)("div",{className:"field field-right",children:(0,s.jsx)("div",{className:"control",children:(0,s.jsx)("textarea",N({},n("message",{required:!0}),{disabled:"LOADING"===m,placeholder:"Meddelande",required:!0,rows:4}))})})})]}),(0,s.jsx)("input",{className:"button light-orange",type:"submit",value:"LOADING"===m?"Loading...":"skicka bokningsf\xf6rfr\xe5gan",disabled:"LOADING"===m}),"SUCCESS"===m?(0,s.jsx)("div",{className:"form-message form-message_success",children:"Ditt meddelande har skickats!"}):null,"ERROR"===m?(0,s.jsx)("div",{className:"form-message form-message_error",children:"N\xe5got gick fel, var v\xe4nlig f\xf6rs\xf6k igen!"}):null]})}var _=t(1163);function y(){(0,_.useRouter)();return(0,s.jsx)("div",{className:"contact contact-section",id:"contact",children:(0,s.jsxs)("div",{className:"inner",children:[(0,s.jsxs)("div",{className:"left",children:[(0,s.jsx)("h2",{children:"Catering eller st\xf6rre best\xe4llning?"}),(0,s.jsx)("span",{children:"Har du fr\xe5gor om catering, en st\xf6rre best\xe4llning eller kanske boka bord f\xf6r ett st\xf6rre s\xe4llskap s\xe5 kan du anv\xe4nda formul\xe4ret. Vi har gott om utrymme och kan oftast hitta l\xf6sningar p\xe5 de flesta \xf6nskem\xe5len. Det g\xe5r \xe4ven bra att hyra delar eller hela v\xe5r lokal f\xf6r olika typer av f\xf6retagsevent, f\xf6delsedagar eller sportevent."})]}),(0,s.jsx)("div",{className:"right",children:(0,s.jsx)(b,{})}),(0,s.jsx)("div",{className:"bg-img",children:(0,s.jsx)("img",{src:"/images/contact/beer.png"})})]})})}t(1669);function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,n,t,s,r,i,a){try{var l=e[i](a),c=l.value}catch(o){return void t(o)}l.done?n(c):Promise.resolve(c).then(s,r)}function O(e,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function D(e,n){return!n||"object"!==I(n)&&"function"!==typeof n?w(e):n}function P(e,n){return P=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},P(e,n)}var I=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function E(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,s=S(e);if(n){var r=S(this).constructor;t=Reflect.construct(s,arguments,r)}else t=s.apply(this,arguments);return D(this,t)}}var F=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&P(e,n)}(l,e);var n,t,r,a=E(l);function l(e){var n,t,s,r;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),n=a.call(this,e),t=w(n),r=function(){n.setState({modal:!n.state.modal})},(s="toggle")in t?Object.defineProperty(t,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[s]=r,n.state={modal:!0},n}return n=l,t=[{key:"componentDidMount",value:function(){return(e=i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(s,r){var i=e.apply(n,t);function a(e){k(i,s,r,a,l,"next",e)}function l(e){k(i,s,r,a,l,"throw",e)}a(void 0)}))})();var e}},{key:"render",value:function(){var e=this,n=this.props.obj;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{id:"modalEvent",className:"modal ".concat(this.state.modal?"is-active":""),toggle:this.toggle,children:[(0,s.jsx)("div",{className:"modal-background",onClick:this.toggle}),(0,s.jsx)("div",{className:"modal-content",children:(0,s.jsxs)("div",{className:"modalCard",children:[null!=n.img&&""!=n.img?(0,s.jsx)("figure",{children:(0,s.jsx)(h(),{src:n.img,alt:"Event_Modal_Image",layout:"responsive",width:"100%",height:"75%",objectFit:"cover",className:"next-img"})}):(0,s.jsx)("figure",{className:n.classNames[0],children:(0,s.jsx)(h(),{src:"/images/events-placeholder.png",alt:"Event_Card_Image",layout:"responsive",width:"100%",height:"60%",objectFit:"cover",className:"next-img"})}),(0,s.jsxs)("div",{className:"card_head",children:[(0,s.jsx)("h4",{children:n.title}),(0,s.jsxs)("div",{className:"when ".concat("from_to"==n.type?"multi":""),children:["repeating"==n.type&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"repeating",children:n.date}),null!=n.time&&(0,s.jsxs)("span",{className:"time",children:[" \xa0| ",n.time]})]}),"from_to"==n.type&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"from_to",children:[n.date," |",(0,s.jsx)("br",{})]}),null!=n.time&&(0,s.jsx)("span",{className:"time",children:n.time})]}),"specific_date"==n.type&&(0,s.jsx)(s.Fragment,{children:Array.isArray(n.dates)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"fd",className:"dropdown ".concat(this.state.active&&"is-active"),children:[(0,s.jsx)("div",{className:"dropdown-trigger",children:(0,s.jsxs)("button",{className:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",id:"dropDownbtn",onClick:function(){return e.setState({active:!e.state.active})},children:[(0,s.jsx)("span",{children:"Fler datum"}),(0,s.jsx)("img",{src:"/icons/arrow.svg",alt:"Arrow_Icon",className:"arrow ".concat(active&&"is-active")})]})}),(0,s.jsx)("div",{className:"dropdown-menu",id:"dropdown-menu",role:"menu",children:(0,s.jsx)("div",{className:"dropdown-content",children:n.dates.map((function(e){return(0,s.jsx)("span",{className:"dropdown-item",disabled:!0,children:e.date_start},"event_modal_".concat(index))}))})})]}),null!=n.time&&(0,s.jsxs)("span",{className:"time",children:[" | ",n.time]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:n.date}),null!=n.time&&(0,s.jsxs)("span",{className:"time",children:["\xa0 | ",n.time]})]})})]})]}),(0,s.jsx)("hr",{}),(0,s.jsx)("div",{className:"card_body",children:(0,s.jsx)("div",{className:"p_container",children:(0,s.jsx)("p",{dangerouslySetInnerHTML:{__html:n.description}})})}),(0,s.jsx)("button",{className:"modal-close is-large","aria-label":"close",onClick:this.toggle})]})})]})})}}],t&&O(n.prototype,t),r&&O(n,r),l}(c.Component),R=t(3935);function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,n,t,s,r,i,a){try{var l=e[i](a),c=l.value}catch(o){return void t(o)}l.done?n(c):Promise.resolve(c).then(s,r)}function A(e,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}function q(e,n){return!n||"object"!==G(n)&&"function"!==typeof n?C(e):n}function M(e,n){return M=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},M(e,n)}var G=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function B(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,s=L(e);if(n){var r=L(this).constructor;t=Reflect.construct(s,arguments,r)}else t=s.apply(this,arguments);return q(this,t)}}var Z=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&M(e,n)}(l,e);var n,t,r,a=B(l);function l(e){var n,t,s,r;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),n=a.call(this,e),t=C(n),r=function(){n.setState({modal:!n.state.modal})},(s="toggle")in t?Object.defineProperty(t,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[s]=r,n.eventClick=n.eventClick.bind(C(n)),n.state={modal:!1,selectedEvent:[]},n}return n=l,t=[{key:"eventClick",value:function(e){var n=this;this.setState({modal:!0,selectedEvent:e},(function(){var e=document.createElement("div");document.body.appendChild(e),R.render((0,s.jsx)(F,{obj:n.state.selectedEvent}),e)}))}},{key:"componentDidMount",value:function(){return(e=i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(s,r){var i=e.apply(n,t);function a(e){T(i,s,r,a,l,"next",e)}function l(e){T(i,s,r,a,l,"throw",e)}a(void 0)}))})();var e}},{key:"render",value:function(){var e,n=this,t=this.props.obj;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"event-card",children:[null!=t.img&&""!=t.img?(0,s.jsx)("figure",{className:t.classNames[0],children:(0,s.jsx)(h(),{src:t.img,alt:"Event_Card_Image",layout:"responsive",width:"100%",height:"60%",objectFit:"cover",className:"next-img"})}):(0,s.jsx)("figure",{className:t.classNames[0],children:(0,s.jsx)(h(),{src:"/images/events-placeholder.png",alt:"Event_Card_Image",layout:"responsive",width:"100%",height:"60%",objectFit:"cover",className:"next-img"})}),(0,s.jsxs)("div",{className:"inner",children:[(0,s.jsxs)("div",{className:"card_head",children:[(0,s.jsx)("h4",{children:t.title}),(0,s.jsxs)("div",{className:"when ".concat("from_to"==t.type?"multi":""),children:["repeating"==t.type&&(0,s.jsxs)(s.Fragment,{children:[7==(null===t||void 0===t||null===(e=t.repeatingDays)||void 0===e?void 0:e.length)?(0,s.jsx)("span",{className:"date",children:"Varje dag"}):(0,s.jsx)("span",{className:"repeating date",children:t.date}),null!=t.time&&(0,s.jsxs)("span",{className:"time",children:[" \xa0| ",t.time]})]}),"from_to"==t.type&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"from_to",children:[t.date," |",(0,s.jsx)("br",{})]}),null!=t.time&&(0,s.jsx)("span",{className:"time",children:t.time})]}),"specific_date"==t.type&&(0,s.jsx)(s.Fragment,{children:Array.isArray(t.dates)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"fd",className:"dropdown ".concat(this.state.active&&"is-active"),children:[(0,s.jsx)("div",{className:"dropdown-trigger",children:(0,s.jsx)("button",{className:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",id:"dropDownbtn",onClick:function(){return n.setState({active:!n.state.active})},children:(0,s.jsx)("span",{children:"Fler datum"})})}),(0,s.jsx)("div",{className:"dropdown-menu",id:"dropdown-menu",role:"menu",children:(0,s.jsx)("div",{className:"dropdown-content",children:t.dates.map((function(e,n){return(0,s.jsx)("span",{className:"dropdown-item",disabled:!0,children:e.date_start},"dropdown_events_".concat(n))}))})})]}),null!=t.time&&(0,s.jsxs)("span",{className:"time",children:[" | ",t.time]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:t.date}),null!=t.time&&(0,s.jsxs)("span",{className:"time",children:["\xa0 | ",t.time]})]})})]})]}),(0,s.jsx)("hr",{}),(0,s.jsxs)("div",{className:"card_body",children:[(0,s.jsx)("div",{className:"p_container",children:(0,s.jsx)("p",{className:"truncate-overflow",dangerouslySetInnerHTML:{__html:t.description}})}),(0,s.jsx)("div",{className:"read_more",onClick:function(e){return n.eventClick(t,e)},children:(0,s.jsx)("span",{children:"L\xe4s mer"})})]})]})]})})}}],t&&A(n.prototype,t),r&&A(n,r),l}(c.Component);function H(){return(0,s.jsx)("div",{className:"_noEvents",children:(0,s.jsxs)("div",{className:"_inner",children:[(0,s.jsx)("div",{className:"no_events_img",children:(0,s.jsx)(h(),{src:"/icons/no_events.svg",alt:"Reyhan-Hero_Image",priority:!0,loading:"eager",width:"294px",height:"300px"})}),(0,s.jsx)("div",{className:"no_events_inner",children:(0,s.jsx)("h2",{children:"Just nu finns inga event eller nyheter tillagda. "})})]})})}function V(e){return(0,s.jsx)("div",{className:"events section",id:"events",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)("div",{className:"events-top",children:(0,s.jsx)("h2",{children:"Event & nyheter"})}),e.events.length>0?(0,s.jsxs)("div",{className:"event-cards",children:[(0,s.jsx)(m.tq,{className:"is-hidden-touch ".concat(e.events.length<4?"_centered":""),navigation:e.events.length>4,pagination:{clickable:!0},slidesPerView:4,spaceBetween:32,children:e.events.map((function(e,n){return(0,s.jsx)(m.o5,{children:(0,s.jsx)(Z,{obj:e})},"events_slide_".concat(n))}))}),(0,s.jsx)(m.tq,{className:"is-hidden-desktop",navigation:e.events.length>2,pagination:{clickable:!0},slidesPerView:1,breakpoints:{700:{slidesPerView:2,spaceBetween:32},900:{slidesPerView:3,spaceBetween:32}},children:e.events.map((function(e,n){return(0,s.jsx)(m.o5,{children:(0,s.jsx)(Z,{obj:e})},"event_slider_2_".concat(n))}))})]}):(0,s.jsx)(H,{})]})})}d.ZP.use([d.W_,d.tl]);var U=t(3443);function Y(e){var n=[],t=e.gallery.find((function(e){return"Galleri"==e.name}));return"undefined"!==typeof t&&(n=t.images.slice(0,12)),(0,s.jsxs)("section",{className:"section gallery ",id:"gallery",children:[(0,s.jsx)("div",{className:"imgs",children:n.slice(0,n.length/2).map((function(e,n,t){var r;return(0,s.jsx)("div",{className:"img",children:(0,s.jsx)(h(),{src:null===(r=t[n])||void 0===r?void 0:r.medium,alt:"Om oss_Galleri",layout:"responsive",width:"100%",height:"100%",objectFit:"cover"})},n)}))}),(0,s.jsx)("div",{className:"imgs",children:n.slice(n.length/2,n.length).map((function(e,n,t){var r;return(0,s.jsx)("div",{className:"img",children:(0,s.jsx)(h(),{src:null===(r=t[n])||void 0===r?void 0:r.medium,alt:"Om oss_Galleri",layout:"responsive",width:"100%",height:"100%",objectFit:"cover"})},n)}))})]})}function W(e){var n=new Date(e.date);return n.getDate()+"/"+Number(n.getMonth()+1)+"/"+n.getFullYear()}function J(e){var n=e.item;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"columns dropdown-items is-mobile is-multiline",children:[(0,s.jsx)("div",{className:"column ".concat(n.date_range&&n.date_range!==n.date?"is-12 tl":"is-4"),children:(0,s.jsxs)("div",{className:"dropdown-item day red",children:[(0,s.jsx)(W,{date:n.date}),n.date_range&&n.date_range!==n.date?(0,s.jsxs)(s.Fragment,{children:[" ","- ",(0,s.jsx)(W,{date:n.date_range})]}):""]})})," ",1===n.closed?(0,s.jsx)("div",{className:"column is-7",children:(0,s.jsx)("div",{className:"dropdown-item time spectime",children:"St\xe4ngt"})}):(0,s.jsx)("div",{className:"column is-7",children:(0,s.jsxs)("div",{className:"dropdown-item time spectime",children:[(n.date_range&&(n.date_range,n.date),""),n.start?n.start.substring(0,5):""," ",n.end?" - "+n.end.substring(0,5):""]})})]})})}function X(e){return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"columns dropdown-items is-mobile",children:[(0,s.jsx)("div",{className:"column is-4",children:(0,s.jsxs)("div",{className:"dropdown-item day",children:[e.day,": "]})}),1===e.working_hours.closed?(0,s.jsx)("div",{className:"column is-8",children:(0,s.jsx)("div",{className:"dropdown-item stangt",children:"St\xe4ngt"})}):(0,s.jsx)("div",{className:"column is-8",children:(0,s.jsx)("div",{className:"dropdown-item time",children:e.working_hours.time})})]})})}function z(e){var n=(0,c.useState)(!1),t=n[0],r=n[1];return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{id:"dd",className:"dropdown ".concat(t&&"is-active"),children:[(0,s.jsx)("div",{className:"dropdown-trigger",children:(0,s.jsxs)("button",{className:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",id:"dropDownbtn",onClick:function(){return r(!t)},children:[(0,s.jsxs)("span",{children:["IDAG: "," ",e.todays]}),(0,s.jsx)("img",{src:"/icons/arrow.svg",alt:"ArrowIcon_Guestro",className:"arrow ".concat(t&&"is-active")})]})}),(0,s.jsx)("div",{className:"dropdown-menu",id:"dropdown-menu",role:"menu",children:(0,s.jsxs)("div",{className:"dropdown-content",children:[(0,s.jsx)("div",{className:"dropdown-item groupName",children:"ORDINARIE \xd6PPETTIDER"}),(0,s.jsx)("hr",{className:"dropdown-divider"}),(0,s.jsx)(X,{working_hours:e.working_hours[0],day:"M\xe5ndag"}),(0,s.jsx)(X,{working_hours:e.working_hours[1],day:"Tisdag"}),(0,s.jsx)(X,{working_hours:e.working_hours[2],day:"Onsdag"}),(0,s.jsx)(X,{working_hours:e.working_hours[3],day:"Torsdag"}),(0,s.jsx)(X,{working_hours:e.working_hours[4],day:"Fredag"}),(0,s.jsx)(X,{working_hours:e.working_hours[5],day:"L\xf6rdag"}),(0,s.jsx)(X,{working_hours:e.working_hours[6],day:"S\xf6ndag"}),(0,s.jsxs)("div",{className:"dropdown-item groupName special",children:[(0,s.jsx)("img",{src:"/icons/i.svg"}),"AVVIKANDE \xd6PPETTIDER"]}),0==e.special_opening_hours.length?(0,s.jsx)("div",{className:"no_special dropdown-item",children:"Inga avvikande \xf6ppettider i dagsl\xe4get."}):(0,s.jsx)(s.Fragment,{children:e.special_opening_hours.map((function(e){return(0,s.jsx)(J,{item:e},e.date)}))})]})})]})})}d.ZP.use([d.W_,d.tl]);t(5333);var K=t(5405);function Q(e){var n,t=[],r=e.gallery.find((function(e){return"Hero"==e.name}));"undefined"!==typeof r&&(t=r.images);var i=e.profile.phone,a=e.profile.address,l=e.profile.working_time,c=(new Date).getDay();0==c?c=6:c-=1;var o=1===l[c].closed?(0,s.jsx)("span",{className:"stangt",children:"St\xe4ngt"}):(0,s.jsx)("span",{children:l[c].time}),d=e.profile.custom_working_time_default,m=[],u=new Date,p=new Date(u);p.setDate(p.getDate()-1);for(var v=0;v<d.length;v++)(new Date(d[v].date)>p||null!=new Date(d[v].date_range)&&new Date(d[v].date_range)>p)&&m.push(d[v]);return m.forEach((function(e){(new Date).toDateString()==new Date(e.date).toDateString()&&(o=1===e.closed?(0,s.jsx)("span",{className:"stangt",children:"St\xe4ngt"}):(0,s.jsxs)("span",{children:[e.start?e.start.substring(0,5):""," ",e.end?" - "+e.end.substring(0,5):""]}))})),(0,s.jsxs)("div",{className:"hero",children:[(0,s.jsx)("div",{className:"hero_bg",children:(0,s.jsx)(h(),{src:t[0]?null===(n=t[0])||void 0===n?void 0:n.image:"/images/placeholder.svg",layout:"fill",objectFit:"cover",alt:"91an-Hero_Image",priority:!0,loading:"eager",placeholder:"blur",blurDataURL:"/44_header.webp"})}),(0,s.jsx)("div",{className:"hero_inner",children:(0,s.jsxs)("div",{className:"container is-fluid",children:[(0,s.jsx)("h1",{className:"is-hidden",children:"91:an restaurang Mat &Bar "}),(0,s.jsx)("h2",{children:"91:an restaurang "}),(0,s.jsx)("p",{children:"Mat &Bar "}),(0,s.jsx)(K.Z,{icon:"false",color:"yellow",url:"/menu",name:"Visa meny"})]})}),(0,s.jsx)("div",{className:"hero-foot",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"columns is-centered is-multiline",children:[(0,s.jsx)("div",{className:"column is-3-desktop is-6-tablet is-12-mobile",children:(0,s.jsx)("div",{className:"_inner _first",children:(0,s.jsx)("div",{className:"_info first",children:(0,s.jsx)("p",{children:"Restaurang, mat och bar"})})})}),(0,s.jsx)("div",{className:"column is-3-desktop is-6-tablet is-12-mobile",children:(0,s.jsxs)("div",{className:"_inner",children:[(0,s.jsx)("figure",{children:(0,s.jsx)(h(),{src:"/icons/hf_1.svg",alt:"Clock_Icon",width:"56px",height:"56px"})}),(0,s.jsxs)("div",{className:"_info",children:[(0,s.jsx)("h6",{children:"\xd6ppettider"}),(0,s.jsx)(z,{working_hours:l,special_opening_hours:m,todays:o})]})]})}),(0,s.jsx)("div",{className:"column is-3-desktop is-6-tablet is-12-mobile",children:(0,s.jsxs)("div",{className:"_inner",children:[(0,s.jsx)("figure",{children:(0,s.jsx)(h(),{src:"/icons/hf_3.svg",alt:"Phone_Icon",width:"56px",height:"56px"})}),(0,s.jsxs)("div",{className:"_info",children:[(0,s.jsx)("h6",{children:"Telefonnummer:"}),(0,s.jsx)("a",{href:"tel:"+i,target:"_blank",rel:"noreferrer",children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:"".concat(i)}})})]})]})}),(0,s.jsx)("div",{className:"column is-3-desktop is-6-tablet is-12-mobile",children:(0,s.jsxs)("div",{className:"_inner second",children:[(0,s.jsx)("figure",{children:(0,s.jsx)(h(),{src:"/icons/hf_2.svg",alt:"Location_Icon",width:"56px",height:"56px"})}),(0,s.jsxs)("div",{className:"_info",children:[(0,s.jsx)("h6",{children:"Adress:"}),(0,s.jsx)("a",{href:"https://www.google.com/maps/place/Ringv%C3%A4gen+91,+118+60+Stockholm,+Sweden/@59.3081503,18.0649803,17z/data=!4m6!3m5!1s0x465f77f22fa08c39:0x9c347f9bad5f3417!8m2!3d59.3081476!4d18.0675552!16s%2Fg%2F11cs6khdmk",target:"_blank",rel:"noreferrer",children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:"".concat(a)}})})]})]})})]})})})]})}var $=t(9140),ee=t(7858);function ne(e){var n=[];return e.map((function(e){"repeating"==e.type&&n.push({id:e.id,img:e.image.full,title:e.name,date:e.params.date_text,classNames:["future"],type:e.type,time:e.params.time_text,description:e.description,start:(new Date).toISOString().slice(0,10),repeatingDays:e.params.repeating_day,btnText:e.params.meta.button_text,btnUrl:e.params.meta.button_url}),"specific_date"==e.type&&n.push({id:e.id,img:e.image.full,title:e.name,start:e.params.date_start,end:e.params.date_end,classNames:["future"],description:e.description,time:e.params.time_text,date:e.params.date_text,type:e.type,dates:dates,btnText:e.params.meta.button_text,btnUrl:e.params.meta.button_url}),"from_to"==e.type&&n.push({id:e.id,img:e.image.full,title:e.name,start:e.params.date_start,end:e.params.date_end,classNames:["future"],type:e.type,time:e.params.time_text,description:e.description,date:e.params.date_text,btnText:e.params.meta.button_text,btnUrl:e.params.meta.button_url})})),n}function te(e){var n,t=e.webform,r=e.profile,i={img:(null===t||void 0===t||null===(n=t.image)||void 0===n?void 0:n.url)?t.image.url:"/assets/images/subscribeimg.jpg",headline:(null===t||void 0===t?void 0:t.headline)?null===t||void 0===t?void 0:t.headline:"Join our Loyalty program ",subline:(null===t||void 0===t?void 0:t.description)?t.description:"We offer you a lot. Be the first to know all our offers and news!",cta:(null===t||void 0===t?void 0:t.cta)?null===t||void 0===t?void 0:t.cta:"start a loyalty program"};return(0,s.jsxs)("div",{className:"subscription-wrapper",id:"subscription",children:[(0,s.jsx)("img",{src:"/icons/vector1.svg",alt:"decor",className:"vector1"}),(0,s.jsx)("img",{src:"/icons/subscribe-decor1.svg",alt:"decor1",className:"decor1"}),(0,s.jsxs)("div",{className:"content",children:[(0,s.jsxs)("div",{className:"content-text",children:[(0,s.jsx)("p",{className:"subtitle",children:"Bli en stamg\xe4st"}),(0,s.jsx)("h2",{className:"title",children:i.headline}),(0,s.jsx)("p",{className:"text",children:i.subline})]}),(0,s.jsx)(K.Z,{icon:"false",color:"blue",url:"https://guestro.se/profile/".concat("2173","/").concat(r.seo_url,"/subscribe"),name:"Bli en stamg\xe4st och f\xe5 erbjudanden!"})]}),(0,s.jsx)("img",{src:"/icons/subscribe-decor2.svg",alt:"decor2",className:"decor2"}),(0,s.jsx)("img",{src:"/icons/vector2.svg",alt:"decor",className:"vector2"})]})}var se=(0,o.default)((function(){return t.e(536).then(t.bind(t,2536))}),{loadableGenerated:{webpack:function(){return[2536]}},ssr:!1}),re=!0;function ie(e){var n=e.gallery,t=e.events,r=e.profile,i=e.webform;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ee.Z,{path:"/",title:"Home",description:r.seo_description_website,image:"/il-mondo.png",name:r.name}),(0,s.jsxs)($.Z,{children:[(0,s.jsx)(Q,{gallery:n,profile:r}),(0,s.jsx)(V,{events:ne(t)}),(0,s.jsx)(te,{profile:r,webform:i}),(0,s.jsx)(Y,{gallery:n}),(0,s.jsx)(p,{description:r.description,img:n}),(0,s.jsx)(y,{}),(0,s.jsx)(se,{}),(0,s.jsx)(U.Z,{profile:r})]})]})}},9140:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var s=t(5893),r=t(4533);function i(e){var n=e.children;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{}),(0,s.jsx)("main",{children:n})]})}},7858:function(e,n,t){"use strict";var s=t(5893),r=t(9008),i=t(5935),a=t(5333);n.Z=function(e){return(0,s.jsxs)(r.default,{children:[(0,s.jsx)("title",{children:"Restaurang 91:an S\xf6dermalm - Stockholm - Balkan, Lunch, Middag"}),(0,s.jsx)("meta",{name:"description",content:(0,a.N)((0,i.ZP)(e.description))}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{name:"og:title",property:"og:title",content:"Restaurang 91:an S\xf6dermalm - Stockholm - Balkan, Lunch, Middag"}),(0,s.jsx)("meta",{name:"og:description",property:"og:description",content:(0,a.N)((0,i.ZP)(e.description))}),(0,s.jsx)("meta",{property:"og:image",content:e.image}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:title",content:"Restaurang 91:an S\xf6dermalm - Stockholm - Balkan, Lunch, Middag"}),(0,s.jsx)("meta",{name:"twitter:description",content:(0,a.N)((0,i.ZP)(e.description))}),(0,s.jsx)("meta",{name:"twitter:image",content:e.image})]})}},5333:function(e,n,t){"use strict";t.d(n,{N:function(){return s}});var s=function(){var e=/&(nbsp|amp|quot|lt|gt);/g,n={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">"};return function(t){return t.replace(e,(function(e,t){return n[t]}))}}()}},function(e){e.O(0,[662,953,935,659,706,774,888,179],(function(){return n=8581,e(e.s=n);var n}));var n=e.O();_N_E=n}]);