(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{1658:function(t,e,n){__NEXT_REGISTER_PAGE("/local/district",function(){return t.exports=n(1659),{page:t.exports.default}})},1659:function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o=n(30),a=n(3),c=n(373),l=n(592),s=n(593),u=n(773),p=n(9),h=n.n(p),f=n(5),m=n(10),d=n(51),g=n(591),y=n(430);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),c=new C(r||[]);return i(a,"_invoke",{value:I(t,n,c)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",m="executing",d="completed",g={};function y(){}function x(){}function b(){}var E={};s(E,a,function(){return this});var _=Object.getPrototypeOf,L=_&&_(_(A([])));L&&L!==n&&r.call(L,a)&&(E=L);var k=b.prototype=y.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function n(i,o,a,c){var l=p(t[i],t,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==v(u)&&r.call(u,"__await")?e.resolve(u.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(u).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e(function(e,i){n(t,r,e,i)})}return o=o?o.then(i,i):i()}})}function I(e,n,r){var i=h;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===d){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var c=r.delegate;if(c){var l=S(c,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=p(e,n,r);if("normal"===s.type){if(i=r.done?d:f,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=d,r.method="throw",r.arg=s.arg)}}}function S(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(v(e)+" is not iterable")}return x.prototype=b,i(k,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:x,configurable:!0}),x.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,l,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},j(O.prototype),s(O.prototype,c,function(){return this}),e.AsyncIterator=O,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new O(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},j(k),s(k,l,"Generator"),s(k,a,function(){return this}),s(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return c.type="throw",c.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function x(t,e,n,r,i,o,a){try{var c=t[o](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,i)}var b=function(t){var e,n=t.t,r=t.districtData,a=t.router,p=t.query,h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null==e?void 0:e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),r=n.replace(/ +/g,"-");return["regiao-autonoma-da-madeira","regiao-autonoma-dos-acores"].includes(r)&&(n="island"),{desktop:t("header.".concat(n,"-img-url"),t("header.district-img-url")),mobile:t("header.".concat(n,"-img-mobile"),t("header.district-img-mobile")),desktopJpg:t("header.".concat(n,"-img-url-jpg"),t("header.district-img-url-jpg")),mobileJpg:t("header.".concat(n,"-img-mobile-jpg"),t("header.district-img-mobile-jpg"))}}(n,r.name);return i.a.createElement(o.a,{canonical:a.asPath,title:r.seo_title,description:r.seo_description},i.a.createElement(l.a,{desktopImg:n(h.desktop),mobileImg:n(h.mobile),desktopJpgImg:n(h.desktopJpg),mobileJpgImg:n(h.mobileJpg),title:r.header_h1,description:n("header.description")}),i.a.createElement(c.a,{list:r.breadcrumbs}),i.a.createElement(s.a,null),i.a.createElement(u.a,{title:r.locations_h1,locations:null!==(e=r.concelhos)&&void 0!==e?e:r.cities}),i.a.createElement(g.a,{language:n("global:locale"),isDistrict:!0,query:p}))};b.getInitialProps=function(){var t,e=(t=w().mark(function t(e){var n,r,i;return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.reduxStore,r=e.query,i="",Object.values(r).forEach(function(t){i+="/".concat(t)}),t.next=5,n.dispatch(y.getDistrictData(i));case 5:return t.abrupt("return",{namespacesRequired:Object(a.getExtendedNamespaces)(["local-city","local-country","local-district","local-island"]),query:r});case 6:case"end":return t.stop()}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t){x(o,r,i,a,c,"next",t)}function c(t){x(o,r,i,a,c,"throw",t)}a(void 0)})});return function(t){return e.apply(this,arguments)}}(),e.default=h()(Object(a.withNamespaces)("local-district"),Object(f.b)(function(t){return{districtData:t.local.districtData}},function(t){return{localActions:Object(m.bindActionCreators)(y,t)}}),d.withRouter)(b)},373:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(1),a=n(3),c=n(7),l=function(t){var e=t.t,n=t.list,r=t.backgroundColor;return i.a.createElement(s,{backgroundColor:r},function(t,e){var n=[];return n.push(i.a.createElement(c.a,{key:0,route:"/"},i.a.createElement("a",{href:"/"},i.a.createElement(u,null,t("page-title"))))),e.forEach(function(t,e){n.push(i.a.createElement(p,{key:"arrow".concat(e+1),className:"material-icons"},"arrow_right")),t.url&&""!==t.url?n.push(i.a.createElement(c.a,{key:e+1,route:t.url},i.a.createElement("a",{href:t.url},i.a.createElement(u,null,t.name)))):n.push(i.a.createElement(u,{key:e+1},t.name))}),i.a.createElement(i.a.Fragment,null,n)}(e,n))};l.defaultProps={backgroundColor:"#F8FAFB"},e.a=Object(a.withNamespaces)("global")(l);var s=o.c.section.withConfig({displayName:"breadcrumb__Section",componentId:"sc-14mcaba-0"})(["background:",";display:flex;flex-direction:row;justify-content:center;align-items:center;padding:10px 40px;flex-wrap:wrap;"],function(t){return t.backgroundColor}),u=o.c.span.withConfig({displayName:"breadcrumb__Item",componentId:"sc-14mcaba-1"})(["font-family:Graphik Web;font-style:normal;font-weight:500;font-size:12px;line-height:12px;letter-spacing:-0.01em;text-transform:uppercase;color:#8798AD;margin-bottom:3px;margin-top:3px;"]),p=o.c.i.withConfig({displayName:"breadcrumb__Icon",componentId:"sc-14mcaba-2"})(["font-size:24px;line-height:24px;letter-spacing:-0.02em;color:#8798AD;"])},430:function(t,e,n){"use strict";n.r(e),n.d(e,"actionTypes",function(){return u}),n.d(e,"getCountryData",function(){return p}),n.d(e,"getDistrictData",function(){return h}),n.d(e,"getCityData",function(){return f});var r=n(4);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function p(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),c=new C(r||[]);return a(o,"_invoke",{value:I(t,n,c)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var m="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function w(){}function x(){}function b(){}var E={};p(E,l,function(){return this});var _=Object.getPrototypeOf,L=_&&_(_(A([])));L&&L!==n&&r.call(L,l)&&(E=L);var k=b.prototype=w.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){p(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function n(o,a,c,l){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,p=u.value;return p&&"object"==i(p)&&r.call(p,"__await")?e.resolve(p.__await).then(function(t){n("next",t,c,l)},function(t){n("throw",t,c,l)}):e.resolve(p).then(function(t){u.value=t,c(u)},function(t){return n("throw",t,c,l)})}l(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e(function(e,i){n(t,r,e,i)})}return o=o?o.then(i,i):i()}})}function I(e,n,r){var i=m;return function(o,a){if(i===g)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var c=r.delegate;if(c){var l=S(c,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=g;var s=f(e,n,r);if("normal"===s.type){if(i=r.done?y:d,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=y,r.method="throw",r.arg=s.arg)}}}function S(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return x.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:x,configurable:!0}),x.displayName=p(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,p(t,u,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},j(O.prototype),p(O.prototype,s,function(){return this}),e.AsyncIterator=O,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new O(h(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},j(k),p(k,u,"Generator"),p(k,l,function(){return this}),p(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return c.type="throw",c.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function a(t,e,n,r,i,o,a){try{var c=t[o](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function c(t){a(o,r,i,c,l,"next",t)}function l(t){a(o,r,i,c,l,"throw",t)}c(void 0)})}}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?Object(arguments[e]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.forEach(function(e){s(t,e,n[e])})}return t}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={GET_COUNTRY_DATA:"GET_COUNTRY_DATA",GET_DISTRICT_DATA:"GET_DISTRICT_DATA",GET_CITY_DATA:"GET_CITY_DATA"},p=function(){return function(t){return t(Object(r.a)("locations")).then(function(e){return t(l({type:u.GET_COUNTRY_DATA},e))})}},h=function(t){return function(){var e=c(o().mark(function e(n){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(Object(r.a)("locations".concat(t))).then(function(t){return n(l({type:u.GET_DISTRICT_DATA},t))});case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},f=function(t){return function(){var e=c(o().mark(function e(n){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(Object(r.a)("locations".concat(t))).then(function(t){return n(l({type:u.GET_CITY_DATA},t))});case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()}},591:function(t,e,n){"use strict";var r=n(0),i=n.n(r);function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}e.a=function(t){var e,n,r,a,c,l,s,u,p,h,f,m,d,g,y=t.isCity,v=t.isCityOther,w=t.isCountry,x=t.isDistrict,b=t.language,E=t.query,_=void 0===E?{}:E,L=[{"@type":"ListItem",position:1,item:{"@id":"https://www.zaask.pt",name:"Zaask"}},{"@type":"ListItem",position:2,item:{"@id":"https://www.zaask.pt/portugal",name:"Portugal"}}],k=[{"@type":"ListItem",position:1,item:{"@id":"https://www.zaask.es",name:"Zaask"}},{"@type":"ListItem",position:2,item:{"@id":"https://www.zaask.es/espana",name:"EspaƱa"}}],j=[].concat(L,[{"@type":"ListItem",position:3,item:{"@id":"https://www.zaask.pt/".concat(null===(e=Object.values(_))||void 0===e?void 0:e[0]),name:null===(n=Object.values(_))||void 0===n||null===(n=n[0])||void 0===n?void 0:n.replace(/-/gi," ")}}]),O=[].concat(k,[{"@type":"ListItem",position:3,item:{"@id":"https://www.zaask.es/".concat(null===(r=Object.values(_))||void 0===r?void 0:r[0]),name:null===(a=Object.values(_))||void 0===a||null===(a=a[0])||void 0===a?void 0:a.replace(/-/gi," ")}}]),I=[].concat(o(j),[{"@type":"ListItem",position:4,item:{"@id":"https://www.zaask.pt/".concat(null===(c=Object.values(_))||void 0===c?void 0:c[0],"/").concat(null===(l=Object.values(_))||void 0===l?void 0:l[1]),name:null===(s=Object.values(_))||void 0===s||null===(s=s[1])||void 0===s?void 0:s.replace(/-/gi," ")}}]),S=[].concat(o(O),[{"@type":"ListItem",position:4,item:{"@id":"https://www.zaask.es/".concat(null===(u=Object.values(_))||void 0===u?void 0:u[0],"/").concat(null===(p=Object.values(_))||void 0===p?void 0:p[1]),name:null===(h=Object.values(_))||void 0===h||null===(h=h[1])||void 0===h?void 0:h.replace(/-/gi," ")}}]);return w?"pt_PT"!==b?i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:[].concat(k)}])}}):i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:[].concat(L)}])}}):y?"pt_PT"!==b?i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:o(S)}])}}):i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:o(I)}])}}):v?"pt_PT"!==b?i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:[].concat(o(S),[{"@type":"ListItem",position:5,item:{"@id":"https://www.zaask.es/".concat(null===(d=Object.values(_))||void 0===d?void 0:d[0],"/").concat(null===(g=Object.values(_))||void 0===g?void 0:g[1],"/otros-servicios"),name:"Otros servicios"}}])}])}}):i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:[].concat(o(I),[{"@type":"ListItem",position:5,item:{"@id":"https://www.zaask.pt/".concat(null===(f=Object.values(_))||void 0===f?void 0:f[0],"/").concat(null===(m=Object.values(_))||void 0===m?void 0:m[1],"/outros-servicos"),name:"Outros servicos"}}])}])}}):x?"pt_PT"!==b?i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:o(O)}])}}):i.a.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"http://schema.org/","@type":"BreadcrumbList",itemListElement:o(j)}])}}):i.a.createElement(i.a.Fragment,null)}},592:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(1),a=n(3),c=n(193);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,c=[],l=!0,s=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){s=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}e.a=Object(a.withNamespaces)("local-country")(function(t){var e=t.t,n=t.desktopImg,o=t.mobileImg,a=t.desktopJpgImg,s=t.mobileJpgImg,y=t.title,v=t.description,w=l(Object(r.useState)(""),1)[0],x=l(Object(r.useState)(e("header.input-placeholder")),1)[0],b=l(Object(r.useState)(!0),1)[0],E=l(Object(r.useState)(!1),2),_=E[0],L=E[1];Object(r.useEffect)(function(){return window.addEventListener("resize",k,!1),k(),function(){window.removeEventListener("resize",function(){})}},[]);var k=function(){L(window.innerWidth<=600)};return i.a.createElement(i.a.Fragment,null,i.a.createElement(u,{desktopImg:!0,mobileImg:!0},i.a.createElement("picture",{className:"header-img"},i.a.createElement("source",{className:"source-header-img",srcSet:"".concat(o," 600w, ").concat(n),type:"image/webp"}),i.a.createElement("img",{className:"image-header-img",srcSet:"".concat(s," 600w, ").concat(a),src:"".concat(a),alt:"header"})),i.a.createElement(p,null,i.a.createElement(h,null,i.a.createElement(f,null,i.a.createElement(m,null," ",y," "),i.a.createElement(d,null," ",v," ")),i.a.createElement(g,null,i.a.createElement(c.a,{wrapperStyle:{height:"100%",input:{width:"264px"},normalButton:{width:"214px"},media:{height:"100px",width:"100%"}},label:e("header.btn"),query:w,placeholder:x,hasToShowInput:b,showButtonBelow:_,showTitle:_,hideIcon:!0,smallSize:_}))))))});var u=o.c.section.withConfig({displayName:"header__MainWrapper",componentId:"sc-1p90v15-0"})(["position:relative;justify-content:center;width:100%;height:360px;display:flex;margin:0px;@media(max-width:","){height:575px;padding-left:0px;}.header-img{position:absolute;width:100%;height:100%;max-width:100%;}.source-header-img{width:100%;height:100%;object-fit:cover;}.image-header-img{width:100%;height:100%;object-fit:cover;}"],function(t){return t.theme.fabletWidth}),p=o.c.div.withConfig({displayName:"header__Wrapper",componentId:"sc-1p90v15-1"})(["position:relative;max-width:1014px;width:100%;@media(max-width:1025px){padding-left:14px;}@media(max-width:","){margin-top:72px;}"],function(t){return t.theme.fabletWidth}),h=o.c.div.withConfig({displayName:"header__Container",componentId:"sc-1p90v15-2"})(["display:flex;flex-direction:column;align-items:flex-start;padding:0px;position:absolute;width:479px;height:210px;margin-top:95px;@media(max-width:","){justify-content:space-between;align-items:flex-start;padding:72px 32px 32px;width:100%;height:100%;left:0px;right:0px;top:0px;bottom:0px;padding-top:0px;margin-top:0px;}"],function(t){return t.theme.fabletWidth}),f=o.c.div.withConfig({displayName:"header__TitleContainer",componentId:"sc-1p90v15-3"})(["display:flex;flex-direction:column;align-items:flex-start;padding:0px;position:static;width:100%;height:116px;left:0px;top:0px;@media(max-width:","){height:127px;margin-vertical:32px;top:72px;}"],function(t){return t.theme.fabletWidth}),m=o.c.h1.withConfig({displayName:"header__TitleTextContainer",componentId:"sc-1p90v15-4"})(["position:static;width:479px;left:0px;top:calc(50% - 59px/2 - 28.5px);font-family:Graphik Web;font-style:normal;font-weight:600;font-size:22px;line-height:133.12%;color:#2E384D;@media(max-width:","){width:100%;left:calc(50% - 286px/2);top:calc(50% - 59px/2 - 34px);}"],function(t){return t.theme.fabletWidth}),d=o.c.p.withConfig({displayName:"header__TitleDescriptionContainer",componentId:"sc-1p90v15-5"})(["position:static;width:479px;height:47px;left:0px;top:calc(50% - 47px/2 + 34.5px);font-family:Graphik Web;font-style:normal;font-weight:normal;font-size:18px;line-height:130%;color:#2E384D;@media(max-width:","){width:100%;height:100%;left:calc(50% - 286px/2);top:calc(50% - 58px/2 + 34.5px);}"],function(t){return t.theme.fabletWidth}),g=o.c.div.withConfig({displayName:"header__CTAContainer",componentId:"sc-1p90v15-6"})(["display:flex;flex-direction:row;align-items:flex-start;padding:0px;position:absolute;width:100%;height:56px;left:0px;bottom:0px;border-radius:4px;@media(max-width:","){flex-direction:column;position:static;width:100%;height:100px;top:443px;filter:drop-shadow(0px 10px 20px rgba(31,32,65,0.05));flex:none;order:1;align-self:stretch;flex-grow:0;margin-vertical:32px;margin:77px 0px;}"],function(t){return t.theme.fabletWidth})},593:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(1),a=n(3);e.a=Object(a.withNamespaces)("local-country")(function(t){var e=t.t;return i.a.createElement(c,null,i.a.createElement(l,null,i.a.createElement(s,null,i.a.createElement(u,{src:"/static/img/local/file.svg"}),i.a.createElement(p,null,e("how-zaask-works.item-1-title")),i.a.createElement(h,null,e("how-zaask-works.item-1-description"))),i.a.createElement(s,null,i.a.createElement(u,{src:"/static/img/local/email.svg"}),i.a.createElement(p,null,e("how-zaask-works.item-2-title")),i.a.createElement(h,null,e("how-zaask-works.item-2-description"))),i.a.createElement(s,null,i.a.createElement(u,{src:"/static/img/local/choose.svg"}),i.a.createElement(p,null,e("how-zaask-works.item-3-title")),i.a.createElement(h,null,e("how-zaask-works.item-3-description")))))});var c=o.c.section.withConfig({displayName:"how-zaask-works__Section",componentId:"sc-psu0pc-0"})(["width:100%;display:flex;align-items:center;padding-top:64px;padding-bottom:56px;background:#FFFFFF;@media(max-width:","){padding-top:0px;}"],function(t){return t.theme.fabletWidth}),l=o.c.div.withConfig({displayName:"how-zaask-works__Container",componentId:"sc-psu0pc-1"})(["max-width:1014px;width:100%;margin:0px auto;display:flex;align-items:center;flex-direction:row;justify-content:center;@media(max-width:","){width:100%;flex-direction:column;}"],function(t){return t.theme.fabletWidth}),s=o.c.div.withConfig({displayName:"how-zaask-works__Item",componentId:"sc-psu0pc-2"})(["max-width:340px;display:flex;flex-direction:column;align-items:center;padding:0px 14px;@media(max-width:","){padding:0px 24px;flex-direction:column;max-width:100%;padding-top:50px;}"],function(t){return t.theme.fabletWidth}),u=o.c.img.withConfig({displayName:"how-zaask-works__Image",componentId:"sc-psu0pc-3"})(["width:110px;height:90px;margin-bottom:20px;"]),p=o.c.h3.withConfig({displayName:"how-zaask-works__ItemTitle",componentId:"sc-psu0pc-4"})(["font-family:Graphik Web;font-style:normal;font-weight:600;font-size:18px;line-height:120%;text-align:center;letter-spacing:-0.02em;color:#2E384D;@media(max-width:","){line-height:22px;}"],function(t){return t.theme.fabletWidth}),h=o.c.p.withConfig({displayName:"how-zaask-works__ItemDescription",componentId:"sc-psu0pc-5"})(["font-family:Graphik Web;font-style:normal;font-weight:normal;font-size:15px;line-height:130%;text-align:center;letter-spacing:-0.03em;color:#676460;"])},773:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(1),a=n(7);e.a=function(t){var e=t.title,n=t.locations;return i.a.createElement(c,null,i.a.createElement(l,null,i.a.createElement(s,null,e),i.a.createElement(u,null,i.a.createElement(p,null,n.map(function(t,e){return i.a.createElement(h,{key:e},i.a.createElement(a.a,{route:t.url},i.a.createElement(f,null,i.a.createElement("a",{href:t.url},t.name))))})))))};var c=o.c.section.withConfig({displayName:"locations-list__Section",componentId:"sc-1nkt44f-0"})(["background:#F8FAFB;width:100%;display:flex;align-items:center;justify-content:center;"]),l=o.c.div.withConfig({displayName:"locations-list__Container",componentId:"sc-1nkt44f-1"})(["max-width:1014px;width:100%;display:flex;flex-direction:column;align-items:center;margin:54px 0px;@media(max-width:","){padding:54px 30px;margin:0px 0px;}"],function(t){return t.theme.fabletWidth}),s=o.c.h2.withConfig({displayName:"locations-list__Title",componentId:"sc-1nkt44f-2"})(["font-family:Graphik Web;font-style:normal;font-weight:normal;font-size:32px;line-height:141.6%;display:flex;align-items:center;letter-spacing:-0.02em;color:#0096D7;padding:64px 11px;text-align:center;padding-bottom:70px;@media(max-width:","){font-size:22px;line-height:133.12%;text-align:left;padding:40px 0px;}"],function(t){return t.theme.fabletWidth}),u=o.c.div.withConfig({displayName:"locations-list__ListSection",componentId:"sc-1nkt44f-3"})(["width:100%;"]),p=o.c.ul.withConfig({displayName:"locations-list__Grid",componentId:"sc-1nkt44f-4"})(["display:grid;grid-template-columns:auto auto auto auto;padding:0px 0px;@media(max-width:","){grid-template-columns:auto;}"],function(t){return t.theme.fabletWidth}),h=o.c.span.withConfig({displayName:"locations-list__LinkWrapper",componentId:"sc-1nkt44f-5"})(["list-style-type:none;padding-top:11.5px;padding-bottom:11.5px;padding-right:11px;margin-left:37px;@media(max-width:","){margin-left:0px;line-height:18px;}"],function(t){return t.theme.fabletWidth}),f=o.c.span.withConfig({displayName:"locations-list__Item",componentId:"sc-1nkt44f-6"})(["font-family:Graphik Web;font-style:normal;font-weight:normal;font-size:14px;line-height:120%;letter-spacing:-0.01em;color:#0096D7;list-style-type:none;"])}},[[1658,0,1,2]]]);