this.nisje=this.nisje||{},this.nisje.fullSiteEditing=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=605)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},135:function(e,t){!function(){e.exports=this.wp.domReady}()},18:function(e,t){!function(){e.exports=this.wp.data}()},2:function(e,t){!function(){e.exports=this.lodash}()},28:function(e,t){!function(){e.exports=this.wp.url}()},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},605:function(e,t,r){"use strict";r.r(t);var n=r(135),o=r.n(n),i=r(18);o()((function(){Object(i.select)("core/edit-post").isFeatureActive("fullscreenMode")||Object(i.dispatch)("core/edit-post").toggleFeature("fullscreenMode")})),o()((function(){"edit-post/document"!==Object(i.select)("core/interface").getActiveComplementaryArea("core/edit-post")&&Object(i.select)("core/viewport").isViewportMatch(">= large")&&Object(i.dispatch)("core/interface").enableComplementaryArea("core/edit-post","edit-post/document")}));var c=r(0),s=r(2),u=r(1),a=r(9),l={"dekode-news":{label:Object(u.__)("Show all news posts"),url:"/news/"},"dekode-wiki":{label:Object(u.__)("Show all wiki posts"),url:"/wiki/"}};o()((function(){var e=Object(i.select)("core/editor").getCurrentPostType();if(Object(s.has)(l,e))var t=l[e],r=t.label,n=t.url,o=setInterval((function(){var e=document.querySelector(".edit-post-header__toolbar");if(e){clearInterval(o);var t=document.createElement("div");t.className="edit-post-fullscreen-mode-close__toolbar__override",e.prepend(t),Object(c.render)(Object(c.createElement)(a.Button,{isSecondary:!0,icon:"arrow-left-alt2",href:n,label:r}),t)}}))}));var f=r(6),d=r(28);o()((function(){if(Object(i.select)("core/editor").isEditedPostNew()){var e=window.location.href,t=Object(i.select)("core").getTaxonomies({per_page:-1}),r=Object(i.select)("core/editor").getCurrentPostType();t.filter((function(e){return e.types.includes(r)})).forEach((function(t){if(Object(d.hasQueryArg)(e,t.rest_base)){var r=parseInt(Object(d.getQueryArg)(e,t.rest_base),10);Object(i.dispatch)("core/editor").editPost(Object(f.a)({},t.rest_base,[r]))}}))}}))},9:function(e,t){!function(){e.exports=this.wp.components}()}});