<labelclass="c-form--label-checkbox"for="form-agree">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?</label>
!function(t){vare={};functionn(i){if(e[i])returne[i].exports;vars=e[i]={i:i,l:!1,exports:{}};returnt[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;vari=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varsint)n.d(i,s,function(e){returnt[e]}.bind(null,s));returni},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=1)}([function(t,e,n){"use strict";(function(t){functionn(t){return(n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}e.a=function(){vare=functiont(e,n){vari=this;t.count=(t.count||0)+1,this.count=t.count,this.isOpened=!1,this.input=o(e),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("aria-owns","awesomplete_list_"+this.count),this.input.setAttribute("role","combobox"),this.options=n=n||{},function(t,e,n){for(variine){vars=e[i],o=t.input.getAttribute("data-"+i.toLowerCase());"number"==typeofs?t[i]=parseInt(o):!1===s?t[i]=null!==o:sinstanceofFunction?t[i]=null:t[i]=o,t[i]||0===t[i]||(t[i]=iinn?n[i]:s)}}(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:!1!==n.sort&&t.SORT_BYLENGTH,container:t.CONTAINER,item:t.ITEM,replace:t.REPLACE,tabSelect:!1},n),this.index=-1,this.container=this.container(e),this.ul=o.create("ul",{hidden:"hidden",role:"listbox",id:"awesomplete_list_"+this.count,inside:this.container}),this.status=o.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-atomic":!0,inside:this.container,textContent:0!=this.minChars?"Type "+this.minChars+" or more characters for results.":"Begin typing for results."}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){vare=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):9===e&&i.selected&&i.tabSelect?i.select():27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){t.preventDefault()},click:function(t){vare=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},o.bind(this.input,this._events.input),o.bind(this.input.form,this._events.form),o.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||n.list||[],t.all.push(this)};functioni(t){vare=Array.isArray(t)?{label:t[0],value:t[1]}:"object"===n(t)&&"label"int&&"value"int?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}e.prototype={setlist(t){if(Array.isArray(t))this._list=t;elseif("string"==typeoft&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);elseif((t=o(t))&&t.children){vare=[];s.apply(t.children).forEach(function(t){if(!t.disabled){varn=t.textContent.trim(),i=t.value||n,s=t.label||n;""!==i&&e.push({label:s,value:i})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},getselected(){returnthis.index>-1},getopened(){returnthis.isOpened},close:function(t){this.opened&&(this.input.setAttribute("aria-expanded","false"),this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,this.status.setAttribute("hidden",""),o.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.input.setAttribute("aria-expanded","true"),this.ul.removeAttribute("hidden"),this.isOpened=!0,this.status.removeAttribute("hidden"),this.autoFirst&&-1===this.index&&this.goto(0),o.fire(this.input,"awesomplete-open")},destroy:function(){if(o.unbind(this.input,this._events.input),o.unbind(this.input.form,this._events.form),!this.options.container){vart=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container)}this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");varn=e.all.indexOf(this);-1!==n&&e.all.splice(n,1)},next:function(){vart=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){vart=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){vare=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent+", list item "+(t+1)+" of "+e.length,this.input.setAttribute("aria-activedescendant",this.ul.id+"_item_"+this.index),this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,o.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=o.siblingIndex(t):t=this.ul.children[this.index],t){varn=this.suggestions[this.index];o.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),o.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){vart=this,e=this.input.value;e.length>=this.minChars&&this._list&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(n){returnnewi(t.data(n,e))}).filter(function(n){returnt.filter(n,e)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(n,i){t.ul.appendChild(t.item(n,e,i))}),0===this.ul.children.length?(this.status.textContent="No results found",this.close({reason:"nomatches"})):(this.open(),this.status.textContent=this.ul.children.length+" results found")):(this.close({reason:"nomatches"}),this.status.textContent="No results found")}},e.all=[],e.FILTER_CONTAINS=function(t,e){returnRegExp(o.regExpEscape(e.trim()),"i").test(t)},e.FILTER_STARTSWITH=function(t,e){returnRegExp("^"+o.regExpEscape(e.trim()),"i").test(t)},e.SORT_BYLENGTH=function(t,e){returnt.length!==e.length?t.length-e.length:t<e?-1:1},e.CONTAINER=function(t){returno.create("div",{className:"awesomplete",around:t})},e.ITEM=function(t,e,n){vari=""===e.trim()?t:t.replace(RegExp(o.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>");returno.create("li",{innerHTML:i,role:"option","aria-selected":"false",id:"awesomplete_list_"+this.count+"_item_"+n})},e.REPLACE=function(t){this.input.value=t.value},e.DATA=function(t){returnt},Object.defineProperty(i.prototype=Object.create(String.prototype),"length",{get:function(){returnthis.label.length}}),i.prototype.toString=i.prototype.valueOf=function(){return""+this.label};vars=Array.prototype.slice;functiono(t,e){return"string"==typeoft?(e||document).querySelector(t):t||null}functionr(t,e){returns.call((e||document).querySelectorAll(t))}functionu(){r("input.awesomplete").forEach(function(t){newe(t)})}returno.create=function(t,e){varn=document.createElement(t);for(variine){vars=e[i];if("inside"===i)o(s).appendChild(n);elseif("around"===i){varr=o(s);r.parentNode.insertBefore(n,r),n.appendChild(r),null!=r.getAttribute("autofocus")&&r.focus()}elseiinn?n[i]=s:n.setAttribute(i,s)}returnn},o.bind=function(t,e){if(t)for(varnine){vari=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,i)})}},o.unbind=function(t,e){if(t)for(varnine){vari=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,i)})}},o.fire=function(t,e,n){vari=document.createEvent("HTMLEvents");for(varsini.initEvent(e,!0,!0),n)i[s]=n[s];returnt.dispatchEvent(i)},o.regExpEscape=function(t){returnt.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},o.siblingIndex=function(t){for(vare=0;t=t.previousElementSibling;e++);returne},"undefined"!=typeofself&&(self.Awesomplete=e),"undefined"!=typeofDocument&&("loading"!==document.readyState?u():document.addEventListener("DOMContentLoaded",u)),e.$=o,e.$$=r,"object"===n(t)&&t.exports&&(t.exports=e),e}()}).call(this,n(3)(t))},function(t,e,n){t.exports=n(2)},function(t,e,n){"use strict";n.r(e);vari,s=n(0);!function(t){vare=document.getElementById("cookie-warning"),n=document.getElementById("cookie-agree"),i=document.getElementById("cookie-close"),s=!!o()&&localStorage.getItem("biuro-agree");functiono(){try{returnlocalStorage.setItem("a","a"),localStorage.removeItem("a"),!0}catch(t){return!1}}e&&n&&i&&!s&&(e.style.display="block",n.addEventListener("click",function(){o()&&localStorage.setItem("biuro-agree","true"),e.style.display="none"}),i.addEventListener("click",function(){e.style.display="none"}))}(window),window,(i=document.getElementById("js-divisions-map"))&&fetch("/wp-json/biuro-api/v1/divisions?lang="+i.dataset.lang).then(function(t){returnt.json()}).then(function(t){!functiont(e,n){if(window.google){vari=newwindow.google.maps.Map(e,{mapTypeId:window.google.maps.MapTypeId.ROADMAP});window.google.maps.event.addListenerOnce(i,"bounds_changed",function(){this.getZoom()>15&&this.setZoom(14)});vars=[],o=document.querySelector(".js-active-region"),r=o&&o.dataset.id?o.dataset.id:"";n[r]?s=n[r]:Object.keys(n).forEach(function(t){vare=n[t];"city"===t.substr(0,4)&&(s=s.concat(e))}),function(t,e){for(varn,i=newwindow.google.maps.LatLngBounds,s=0;s<e.length;s++){varo=e[s],r=newwindow.google.maps.LatLng(o.lat,o.lng),u=newwindow.google.maps.Marker({position:r,map:t,icon:"/wp-content/themes/biuro/i/maps/pin.png",title:o.title});i.extend(r),u.content=o.content,window.google.maps.event.addListener(u,"click",function(){n&&n.close(),(n=newwindow.google.maps.InfoWindow({content:this.content})).open(t,this)})}t.fitBounds(i)}(i,s.filter(function(t){returnt.lat&&t.lng}))}elsesetTimeout(function(){t(e,n)},250)}(i,t)});varo=document.getElementById("search"),r=document.getElementById("search-city"),u=document.getElementById("search-query"),a=news.a(r,{minChars:0,sort:!1});r.addEventListener("focus",function(){a.evaluate()});varl=news.a(u,{minChars:0,sort:!1});u.addEventListener("focus",function(){l.evaluate()}),o&&o.addEventListener("submit",function(t){r.value||u.value||(r.focus(),t.preventDefault())},!1)},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){vare=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){returne.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){returne.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}returne}}]);
\ No newline at end of file
!function(t){vare={};functionn(i){if(e[i])returne[i].exports;vars=e[i]={i:i,l:!1,exports:{}};returnt[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;vari=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varsint)n.d(i,s,function(e){returnt[e]}.bind(null,s));returni},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=1)}([function(t,e,n){"use strict";(function(t){functionn(t){return(n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}e.a=function(){vare=functiont(e,n){vari=this;t.count=(t.count||0)+1,this.count=t.count,this.isOpened=!1,this.input=o(e),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("aria-owns","awesomplete_list_"+this.count),this.input.setAttribute("role","combobox"),this.options=n=n||{},function(t,e,n){for(variine){vars=e[i],o=t.input.getAttribute("data-"+i.toLowerCase());"number"==typeofs?t[i]=parseInt(o):!1===s?t[i]=null!==o:sinstanceofFunction?t[i]=null:t[i]=o,t[i]||0===t[i]||(t[i]=iinn?n[i]:s)}}(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:!1!==n.sort&&t.SORT_BYLENGTH,container:t.CONTAINER,item:t.ITEM,replace:t.REPLACE,tabSelect:!1},n),this.index=-1,this.container=this.container(e),this.ul=o.create("ul",{hidden:"hidden",role:"listbox",id:"awesomplete_list_"+this.count,inside:this.container}),this.status=o.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-atomic":!0,inside:this.container,textContent:0!=this.minChars?"Type "+this.minChars+" or more characters for results.":"Begin typing for results."}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){vare=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):9===e&&i.selected&&i.tabSelect?i.select():27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){t.preventDefault()},click:function(t){vare=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},o.bind(this.input,this._events.input),o.bind(this.input.form,this._events.form),o.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||n.list||[],t.all.push(this)};functioni(t){vare=Array.isArray(t)?{label:t[0],value:t[1]}:"object"===n(t)&&"label"int&&"value"int?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}e.prototype={setlist(t){if(Array.isArray(t))this._list=t;elseif("string"==typeoft&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);elseif((t=o(t))&&t.children){vare=[];s.apply(t.children).forEach(function(t){if(!t.disabled){varn=t.textContent.trim(),i=t.value||n,s=t.label||n;""!==i&&e.push({label:s,value:i})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},getselected(){returnthis.index>-1},getopened(){returnthis.isOpened},close:function(t){this.opened&&(this.input.setAttribute("aria-expanded","false"),this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,this.status.setAttribute("hidden",""),o.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.input.setAttribute("aria-expanded","true"),this.ul.removeAttribute("hidden"),this.isOpened=!0,this.status.removeAttribute("hidden"),this.autoFirst&&-1===this.index&&this.goto(0),o.fire(this.input,"awesomplete-open")},destroy:function(){if(o.unbind(this.input,this._events.input),o.unbind(this.input.form,this._events.form),!this.options.container){vart=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container)}this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");varn=e.all.indexOf(this);-1!==n&&e.all.splice(n,1)},next:function(){vart=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){vart=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){vare=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent+", list item "+(t+1)+" of "+e.length,this.input.setAttribute("aria-activedescendant",this.ul.id+"_item_"+this.index),this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,o.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=o.siblingIndex(t):t=this.ul.children[this.index],t){varn=this.suggestions[this.index];o.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),o.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){vart=this,e=this.input.value;e.length>=this.minChars&&this._list&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(n){returnnewi(t.data(n,e))}).filter(function(n){returnt.filter(n,e)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(n,i){t.ul.appendChild(t.item(n,e,i))}),0===this.ul.children.length?(this.status.textContent="No results found",this.close({reason:"nomatches"})):(this.open(),this.status.textContent=this.ul.children.length+" results found")):(this.close({reason:"nomatches"}),this.status.textContent="No results found")}},e.all=[],e.FILTER_CONTAINS=function(t,e){returnRegExp(o.regExpEscape(e.trim()),"i").test(t)},e.FILTER_STARTSWITH=function(t,e){returnRegExp("^"+o.regExpEscape(e.trim()),"i").test(t)},e.SORT_BYLENGTH=function(t,e){returnt.length!==e.length?t.length-e.length:t<e?-1:1},e.CONTAINER=function(t){returno.create("div",{className:"awesomplete",around:t})},e.ITEM=function(t,e,n){vari=""===e.trim()?t:t.replace(RegExp(o.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>");returno.create("li",{innerHTML:i,role:"option","aria-selected":"false",id:"awesomplete_list_"+this.count+"_item_"+n})},e.REPLACE=function(t){this.input.value=t.value},e.DATA=function(t){returnt},Object.defineProperty(i.prototype=Object.create(String.prototype),"length",{get:function(){returnthis.label.length}}),i.prototype.toString=i.prototype.valueOf=function(){return""+this.label};vars=Array.prototype.slice;functiono(t,e){return"string"==typeoft?(e||document).querySelector(t):t||null}functionr(t,e){returns.call((e||document).querySelectorAll(t))}functionu(){r("input.awesomplete").forEach(function(t){newe(t)})}returno.create=function(t,e){varn=document.createElement(t);for(variine){vars=e[i];if("inside"===i)o(s).appendChild(n);elseif("around"===i){varr=o(s);r.parentNode.insertBefore(n,r),n.appendChild(r),null!=r.getAttribute("autofocus")&&r.focus()}elseiinn?n[i]=s:n.setAttribute(i,s)}returnn},o.bind=function(t,e){if(t)for(varnine){vari=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,i)})}},o.unbind=function(t,e){if(t)for(varnine){vari=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,i)})}},o.fire=function(t,e,n){vari=document.createEvent("HTMLEvents");for(varsini.initEvent(e,!0,!0),n)i[s]=n[s];returnt.dispatchEvent(i)},o.regExpEscape=function(t){returnt.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},o.siblingIndex=function(t){for(vare=0;t=t.previousElementSibling;e++);returne},"undefined"!=typeofself&&(self.Awesomplete=e),"undefined"!=typeofDocument&&("loading"!==document.readyState?u():document.addEventListener("DOMContentLoaded",u)),e.$=o,e.$$=r,"object"===n(t)&&t.exports&&(t.exports=e),e}()}).call(this,n(3)(t))},function(t,e,n){t.exports=n(2)},function(t,e,n){"use strict";n.r(e);vari,s=n(0);!function(t){vare=document.getElementById("cookie-warning"),n=document.getElementById("cookie-agree"),i=document.getElementById("cookie-close"),s=!!o()&&localStorage.getItem("biuro-agree");functiono(){try{returnlocalStorage.setItem("a","a"),localStorage.removeItem("a"),!0}catch(t){return!1}}e&&n&&i&&!s&&(e.style.display="block",n.addEventListener("click",function(){o()&&localStorage.setItem("biuro-agree","true"),e.style.display="none"}),i.addEventListener("click",function(){e.style.display="none"}))}(window),window,(i=document.getElementById("js-divisions-map"))&&fetch("/wp-json/api/v1/divisions?lang="+i.dataset.lang).then(function(t){returnt.json()}).then(function(t){!functiont(e,n){if(window.google){vari=newwindow.google.maps.Map(e,{mapTypeId:window.google.maps.MapTypeId.ROADMAP});window.google.maps.event.addListenerOnce(i,"bounds_changed",function(){this.getZoom()>15&&this.setZoom(14)});vars=[],o=document.querySelector(".js-active-region"),r=o&&o.dataset.id?o.dataset.id:"";n[r]?s=n[r]:Object.keys(n).forEach(function(t){vare=n[t];"city"===t.substr(0,4)&&(s=s.concat(e))}),function(t,e){for(varn,i=newwindow.google.maps.LatLngBounds,s=0;s<e.length;s++){varo=e[s],r=newwindow.google.maps.LatLng(o.lat,o.lng),u=newwindow.google.maps.Marker({position:r,map:t,icon:"/wp-content/themes/biuro/i/maps/pin.png",title:o.title});i.extend(r),u.content=o.content,window.google.maps.event.addListener(u,"click",function(){n&&n.close(),(n=newwindow.google.maps.InfoWindow({content:this.content})).open(t,this)})}t.fitBounds(i)}(i,s.filter(function(t){returnt.lat&&t.lng}))}elsesetTimeout(function(){t(e,n)},250)}(i,t)});varo=document.getElementById("search"),r=document.getElementById("search-city"),u=document.getElementById("search-query"),a=news.a(r,{minChars:0,sort:!1});r.addEventListener("focus",function(){a.evaluate()});varl=news.a(u,{minChars:0,sort:!1});u.addEventListener("focus",function(){l.evaluate()}),o&&o.addEventListener("submit",function(t){r.value||u.value||(r.focus(),t.preventDefault())},!1)},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){vare=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){returne.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){returne.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}returne}}]);