this.nisje=this.nisje||{},this.nisje.pluginNormisjon=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=505)}({0:function(e,t){!function(){e.exports=this.wp.element}()},12:function(e,t){!function(){e.exports=this.wp.components}()},15:function(e,t){!function(){e.exports=this.nisje.settings}()},2:function(e,t){!function(){e.exports=this.lodash}()},253:function(e,t){!function(){e.exports=this.wp.hooks}()},505:function(e,t,n){"use strict";n.r(t);var r=n(6),o=n(0),i=n(2),u=n(63),c=n(12),s=n(253),f=n(78),a=n(15);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(s.addFilter)("EventFormEditInitialState","normisjon-event-taxonomies",(function(e,t){return Object(a.getOption)("normisjonEventTaxonomies",[]).forEach((function(n){var r=Object(i.get)(t,n.key,[]);Object(i.isEmpty)(r)||(e[n.key]=r[0])})),e})),Object(u.registerPlugin)("normisjon",{render:function(){var e=Object(a.getOption)("normisjonEventTaxonomies",[]);return Object(o.createElement)(f.EventCreateControls,null,(function(t){var n=t.values,u=t.setValues;return e.map((function(e){var t=Object(i.get)(n,e.key,0);return Object(o.createElement)(c.SelectControl,{key:e.key,label:e.name,value:t,options:e.options,onChange:function(t){return u(p(p({},n),{},Object(r.a)({},e.key,t)))}})}))}))}})},6:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},63:function(e,t){!function(){e.exports=this.wp.plugins}()},78:function(e,t){!function(){e.exports=this.nisje.pluginEvents}()}});