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=573)}({0:function(e,t){e.exports=window.wp.element},10: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}))},196:function(e,t){e.exports=window.nisje.pluginEvents},36:function(e,t){e.exports=window.wp.hooks},39:function(e,t){e.exports=window.wp.plugins},4:function(e,t){e.exports=window.nisje.components},5:function(e,t){e.exports=window.lodash},573:function(e,t,n){"use strict";n.r(t);var r=n(10),o=n(0),i=n(5),u=n(39),c=n(36),s=n(196),a=n(7),f=n(4);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(c.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)(s.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)(f.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)))}})}))}))}})},7:function(e,t){e.exports=window.nisje.settings}});