# gutenify/0.0.2/assets/google-maps_admin.js

Gutenify – Visual Site Builder Blocks &amp; Starter Templates, version 0.0.2. 1 lines.

- Page: https://pluginprobe.com/plugins/gutenify/0.0.2/code/assets/google-maps_admin.js
- Raw: https://pluginprobe.com/plugins/gutenify/0.0.2/raw/assets/google-maps_admin.js
- Modified: 2020-01-05T17:10:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenify/0.0.2/code/assets/google-maps_admin.js#L10-L20`.

```javascript
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=28)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var o=n(12),r=n(9);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?r(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var o=n(13);e.exports=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}}),t&&o(e,t)}},,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){"use strict";var o,r={},i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}();function u(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],u={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(u):n.push(o[a]={id:a,parts:[u]})}return n}function c(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=r[o.id],a=0;if(i){for(i.refs++;a<i.parts.length;a++)i.parts[a](o.parts[a]);for(;a<o.parts.length;a++)i.parts.push(y(o.parts[a],t))}else{for(var u=[];a<o.parts.length;a++)u.push(y(o.parts[a],t));r[o.id]={id:o.id,refs:1,parts:u}}}}function s(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var o=n.nc;o&&(e.attributes.nonce=o)}if(Object.keys(e.attributes).forEach((function(n){t.setAttribute(n,e.attributes[n])})),"function"==typeof e.insert)e.insert(t);else{var r=a(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=f(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function b(e,t,n){var o=n.css,r=n.media,i=n.sourceMap;if(r&&e.setAttribute("media",r),i&&btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var m=null,d=0;function y(e,t){var n,o,r;if(t.singleton){var i=d++;n=m||(m=s(t)),o=p.bind(null,n,i,!1),r=p.bind(null,n,i,!0)}else n=s(t),o=b.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=u(e,t);return c(n,t),function(e){for(var o=[],i=0;i<n.length;i++){var a=n[i],s=r[a.id];s&&(s.refs--,o.push(s))}e&&c(u(e,t),t);for(var l=0;l<o.length;l++){var f=o[l];if(0===f.refs){for(var p=0;p<f.parts.length;p++)f.parts[p]();delete r[f.id]}}}}},function(e,t){function n(e){return(n="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})(e)}function o(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=o=function(e){return n(e)}:e.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},o(t)}e.exports=o},function(e,t){function n(t,o){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,o)}e.exports=n},,function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},,,,function(e,t,n){"use strict";var o=n(4),r=n.n(o),i=n(3),a=n.n(i),u=n(5),c=n.n(u),s=n(6),l=n.n(s),f=n(7),p=n.n(f),b=n(0),m=function(e){function t(){return r()(this,t),c()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.location,n=e.zoom;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("iframe",{frameBorder:"0",scrolling:"no",marginHeight:"0",marginWidth:"0",src:"https://maps.google.com/maps?q=".concat(t,"&t=m&z=").concat(n,"&output=embed&iwloc=near"),"aria-label":t}))}}]),t}(b.Component);t.a=m},,,,,,,,function(e,t,n){n(38),e.exports=n(29)},function(e,t,n){var o=n(30);"string"==typeof o&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};n(11)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){},,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(2),r=n(15),i=n(0),a=n(10),u=n(4),c=n.n(u),s=n(3),l=n.n(s),f=n(5),p=n.n(f),b=n(6),m=n.n(b),d=n(7),y=n.n(d),h=n(16),g=n(1),v=function(e){function t(e){return c()(this,t),p()(this,m()(t).call(this,e))}return y()(t,e),l()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.location,r=t.zoom;return Object(i.createElement)(h.InspectorControls,null,Object(i.createElement)(g.PanelBody,{title:Object(o.__)("General","gutenify"),initialOpen:!0},Object(i.createElement)(g.PanelRow,null,Object(i.createElement)(g.TextControl,{value:n,onChange:function(t){return e.props.setAttributes({location:t})},label:Object(o.__)("Location")})),Object(i.createElement)(g.PanelRow,{className:"gutenify-field-row"},Object(i.createElement)("label",null,Object(o.__)("Zoom")),Object(i.createElement)(g.RangeControl,{value:r,onChange:function(t){return e.props.setAttributes({zoom:t})},min:1,max:21}))))}}]),t}(i.Component),j=n(20),O=Object(a.withState)({})((function(e){return Object(i.createElement)("div",{className:"gutenify-google-maps-wrapper"},Object(i.createElement)(v,e),Object(i.createElement)("div",null,Object(i.createElement)(j.a,e)))})),x={location:{type:"string",default:"Giardino Quadrato, Vatican City"},zoom:{type:"number",default:9}},_={attributes:{title:Object(o.__)("Chocolate Chip Cookies","gutenberg-examples"),mediaURL:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/2ChocolateChipCookies.jpg/320px-2ChocolateChipCookies.jpg",ingredients:[Object(o.__)("flour","gutenberg-examples"),Object(o.__)("sugar","gutenberg-examples"),Object(o.__)("chocolate","gutenberg-examples"),"💖"],instructions:[Object(o.__)("Mix","gutenberg-examples"),Object(o.__)("Bake","gutenberg-examples"),Object(o.__)("Enjoy","gutenberg-examples")]}};Object(r.registerBlockType)("gutenify/google-maps",{title:Object(o.__)("Google Maps"),icon:"location-alt",category:"gutenify",attributes:x,example:_,edit:O,save:function(){return null}})}]);
```
