(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["mbmp_pvc_Greeting"],{"00b5":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"columns medium-20 medium-centered",style:e.greetingStyle},[e.shouldShowAddressInput?n("address-input"):e._e(),e.addressAutocompleteEnabled&&e.shouldShowAddressInput?n("address-candidate-list"):e._e(),e.components||e.hasError?e._e():n("div",{staticClass:"greeting",domProps:{innerHTML:e._s(e.message)}}),!e.components&&e.hasError?n("div",{staticClass:"greeting greeting-error",domProps:{innerHTML:e._s(e.errorMessage)}}):e._e(),n("topic-component-group",{attrs:{"topic-components":e.options.components,item:e.item}}),e._l(e.components,(function(t){return e.components?n(t.type,{key:t.type,tag:"component",staticClass:"topic-comp",attrs:{slots:t.slots}}):e._e()}))],2)},o=[],s=(n("d3b7"),n("f076")),i={components:{Image_:function(){return n.e("inGreeting_pvc_Image").then(n.bind(null,"2797"))},AddressInput:function(){return n.e("mbmp_pvc_AddressInput").then(n.bind(null,"9414"))},AddressCandidateList:function(){return n.e("mbmp_pvc_AddressCandidateList").then(n.bind(null,"4747"))},TopicComponentGroup:function(){return n.e("mbmp_pvc_TopicComponentGroup").then(n.bind(null,"076f"))}},mixins:[s["a"]],props:{message:{type:String,default:function(){return"defaultMessage"}}},data:function(){var e={greetingStyle:this.$props.options.style||{}};return e},computed:{shouldShowAddressInput:function(){return"topics"==this.$config.addressInputLocation},addressAutocompleteEnabled:function(){return!!this.$config.addressInput&&!0===this.$config.addressInput.autocompleteEnabled},components:function(){var e=this.$config.greeting||{};return e.components},hasError:function(){return"error"===this.$store.state.geocode.status},errorMessage:function(){var e=this.$store.state.geocode.input;return"\n          <p>\n            We couldn't find\n            ".concat(e?"<strong>"+e+"</strong>":"that address",".\n            Are you sure everything was spelled correctly?\n          </p>\n          <p>\n            Here are some examples of things you can search for:\n          </p>\n          <ul>\n            <li>1234 Market St</li>\n            <li>1001 Pine Street #201</li>\n            <li>12th & Market</li>\n            <li>883309050 (an OPA number with no hyphens or other characters)</li>\n          </ul>\n        ")}}},u=i,c=(n("28b1"),n("2877")),a=Object(c["a"])(u,r,o,!1,null,"e15e3fc4",null);t["default"]=a.exports},"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,s=n("a640"),i=n("ae40"),u=s("reduce"),c=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!c},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"28b1":function(e,t,n){"use strict";var r=n("54fa"),o=n.n(r);o.a},"54fa":function(e,t,n){},d58f:function(e,t,n){var r=n("1c0b"),o=n("7b0b"),s=n("44ad"),i=n("50c4"),u=function(e){return function(t,n,u,c){r(n);var a=o(t),d=s(a),l=i(a.length),p=e?l-1:0,f=e?-1:1;if(u<2)while(1){if(p in d){c=d[p],p+=f;break}if(p+=f,e?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:l>p;p+=f)p in d&&(c=n(c,d[p],p,a));return c}};e.exports={left:u(!1),right:u(!0)}},f076:function(e,t,n){"use strict";n("4de4"),n("caad"),n("13d5"),n("b64b"),n("2532");var r,o,s=n("b85c"),i=n("53ca"),u={props:{slots:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{}}},item:{type:Object,default:function(){return{}}}},computed:{nullValue:function(){var e=this.options||{};return e.nullValue}},beforeCreate:function(){},created:function(){},methods:{evaluateSlot:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return e;var o,u=Object(i["a"])(e);if("function"===u){var c=this.$store.state,a=this.$controller,d=e,l=this.item;o=l?d(c,l,a):d(c)}else o=e;if(!1===o);else if(!n.includes("currency")&&!o)return r;var p,f=Object(s["a"])(n);try{var m=function(){var e=p.value,n=t.$config.transforms[e],r=void 0,s=n.globals;s&&(r=Object.keys(window).filter((function(e){return s.includes(e)})).reduce((function(e,t){return e[t]=window[t],e}),{}));var i=n.transform;o=i(o,r)};for(f.s();!(p=f.n()).done;)m()}catch(h){f.e(h)}finally{f.f()}return o}}},c=u,a=n("2877"),d=Object(a["a"])(c,r,o,!1,null,null,null);t["a"]=d.exports}}]);
//# sourceMappingURL=mbmp_pvc_Greeting.f27d8a0c.js.map