1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[846],{60846:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>X});n(84342);var r=n(75593),o=n(82067),i=n(30060),a=n(52658),l=n(51147),c=n(67294),s=n.n(c),u=n(45697),f=n.n(u),p=n(60869),y=n(75980),d=n(56261),b=n(40111),g=n(97845),m=n(15400);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var v,O,j=["settings"];function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function P(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function S(e){var t=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 n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var T,q,x=(0,y.Z)((function(){return Promise.all([n.e(7974),n.e(2701)]).then(n.bind(n,2701))})),Z=(0,d.$j)((function(e){return{settings:(0,g.jQ)(e),loading:(0,g.on)(e),settingsLoaded:(0,g.sg)(e)}}),(function(e){return(0,b.bindActionCreators)({loadSettings:m.ri},e)}))((O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(i,e);var t,n,r,o=S(i);function i(){return E(this,i),o.apply(this,arguments)}return t=i,n=[{key:"componentWillMount",value:function(){this.props.settingsLoaded||this.props.loading||this.props.loadSettings()}},{key:"render",value:function(){var e=this.props,t=e.settings,n=P(e,j);return s().createElement(x,w({},n,{googleAPI:t&&t.googleAPI}))}}],n&&_(t.prototype,n),r&&_(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.Z),O.propTypes={settings:f().object,loadSettings:f().func,settingsLoaded:f().bool,loading:f().bool},v=O))||v,I=n(27111),N=n(66338),A=n(16777),B=n(94184),M=n.n(B),z=n(25666),D=n(7943);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function J(e){var t=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 n,r=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){if(t&&("object"===F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},W(e)}var X=(0,d.D2)((function(e){return{card:{margin:"0.5rem 0",padding:"0"},cardHeader:{width:"100%",overflow:"hidden",padding:"15px",borderBottom:"1px solid #e0e0e0"},cardContent:{padding:"0"}}}))(T=(0,d.XN)(T=(0,p.Z)((q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(u,e);var t,n,r,c=J(u);function u(){return H(this,u),c.apply(this,arguments)}return t=u,n=[{key:"getGeoItems",value:function(){if(!this.props.aspects||!this.props.aspects[l.O1])return null;var e=this.props.aspects[l.O1].filter((function(e){return e&&("glatlong"===e.name||"gpolygon"===e.name||"gpolyline"===e.name)})),t={};return e.forEach((function(e){e&&e.values&&e.values.length&&e.values[0]&&e.values[0].qa&&e.values[0].qa.Answer&&(t[e&&e.name]=e&&e.values[0].qa.Answer)})),t}},{key:"renderContent",value:function(e,t,n){var r=this.props.intl.formatMessage,o=this.props.relax;if(e||t||n){var i,a,l,c,u=function(e){var t=e.split(",");return{lat:parseFloat(t[0]),lng:parseFloat(t[1])}};if(e){var f=o.styleValues.styleOptions;if(f)try{i=JSON.parse(f)}catch(e){console.warn("Invalid map style options.",e,f)}a=e.split(",")}return t&&(l=t.split(";").map(u)),n&&(c=n.split(";").map(u)),s().createElement(Z,G({zoom:o.styleValues.zoom,styleOptions:i||[],lat:a&&parseFloat(a[0]),lng:a&&parseFloat(a[1]),gpolygon:l,gpolyline:c},this.props))}var p=r({id:"GoogleMapBlock.notGeolocated",defaultMessage:"This resource is not geolocated"});return s().createElement("span",null," ",p," ")}},{key:"render",value:function(){var e=this.props,t=e.componentID,n=e.styleClassMap,r=e.relax,l=e.Element,c=e.title,u=e.localized,f=e.cardElevation,p=e.elevation,y=e.classes,d=u(c),b=this.getGeoItems(),g=b.glatlong,m=b.gpolygon,h=b.gpolyline;return!r.editing&!r.building&&!g&&!m&&!h?s().createElement("div",null):s().createElement(l,G({},r,{id:t||null,htmlTag:"div",className:n.root,settings:N.Z}),s().createElement(o.default,{elevation:(0,z.Z)(p,f),className:y.card},d&&s().createElement(a.default,{title:s().createElement("h3",{className:n.title},d),className:M()(y.cardHeader,n.cardHeader)}),s().createElement(i.default,{className:M()(y.cardContent,n.cardContent)},this.renderContent(g,m,h))))}}],n&&L(t.prototype,n),r&&L(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.Z),q.propTypes={relax:f().object.isRequired,styleClassMap:f().object.isRequired,Element:f().func.isRequired,renderChildren:f().func.isRequired,requestAspects:f().func.isRequired,aspects:f().object,localized:f().func.isRequired,title:f().oneOfType([f().string,f().object]),componentID:f().string,zoom:f().number,intl:d.gm,cardElevation:f().oneOfType([f().string,f().number]),elevation:f().oneOfType([f().string,f().number]),template:f().string,classes:f().object.isRequired},q.propsSchema=I.Z,q.settings=N.Z,q.style=A.Z,q.defaultProps=D.Z,T=q))||T)||T)||T}}]);
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.