this.nisje=this.nisje||{},this.nisje.viewport=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=624)}({5:function(e,t){e.exports=window.lodash},54:function(e,t){e.exports=window.wp.compose},6:function(e,t){e.exports=window.wp.data},624:function(e,t,n){"use strict";n.r(t),n.d(t,"ifViewportMatches",(function(){return d})),n.d(t,"withViewportMatch",(function(){return f}));var r={};n.r(r),n.d(r,"setIsMatching",(function(){return u}));var i={};n.r(i),n.d(i,"isViewportMatch",(function(){return a}));var o=n(5),c=n(6);function u(e){return{type:"SET_IS_MATCHING",values:e}}function a(e,t){return t.includes(" ")||(t=">= ".concat(t)),!!e[t]}Object(c.registerStore)("nisje/viewport",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_MATCHING":return t.values;default:return e}},actions:r,selectors:i});var s=n(54),f=function(e){return Object(s.createHigherOrderComponent)(Object(c.withSelect)((function(t){return Object(o.mapValues)(e,(function(e){return t("nisje/viewport").isViewportMatch(e)}))})),"withViewportMatch")},d=function(e){return Object(s.createHigherOrderComponent)(Object(s.compose)([f({isViewportMatch:e}),Object(s.ifCondition)((function(e){return e.isViewportMatch}))]),"ifViewportMatches")},p={"<":"max-width",">=":"min-width"},l=Object(o.debounce)((function(){var e=Object(o.mapValues)(h,"matches");Object(c.dispatch)("nisje/viewport").setIsMatching(e)}),0,{leading:!0}),h=Object(o.reduce)({huge:1440,wide:1200,large:960,medium:782,small:600,mobile:480},(function(e,t,n){return Object(o.forEach)(p,(function(r,i){var o=window.matchMedia("(".concat(r,": ").concat(t,"px)"));o.addListener(l);var c=[i,n].join(" ");e[c]=o})),e}),{});window.addEventListener("orientationchange",l),l(),l.flush()}});