HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/gutenberg/build/viewport/index.min.js
!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ifViewportMatches:function(){return l},store:function(){return u},withViewportMatch:function(){return w}});var r={};e.r(r),e.d(r,{setIsMatching:function(){return a}});var n={};e.r(n),e.d(n,{isViewportMatch:function(){return c}});var o=window.lodash,i=window.wp.data;function a(e){return{type:"SET_IS_MATCHING",values:e}}function c(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}const u=(0,i.createReduxStore)("core/viewport",{reducer:function(){let 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}return e},actions:r,selectors:n});(0,i.register)(u);var s=window.wp.compose;function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=window.wp.element,w=e=>(0,s.createHigherOrderComponent)((t=>(0,s.pure)((r=>{const n=(0,o.mapValues)(e,(e=>{let[t,r]=e.split(" ");return void 0===r&&(r=t,t=">="),(0,s.useViewportMatch)(r,t)}));return(0,p.createElement)(t,d({},r,n))}))),"withViewportMatch"),l=e=>(0,s.createHigherOrderComponent)((0,s.compose)([w({isViewportMatch:e}),(0,s.ifCondition)((e=>e.isViewportMatch))]),"ifViewportMatches");((e,t)=>{const r=(0,o.debounce)((()=>{const e=(0,o.mapValues)(n,(e=>e.matches));(0,i.dispatch)(u).setIsMatching(e)}),{leading:!0}),n=(0,o.reduce)(e,((e,n,i)=>((0,o.forEach)(t,((t,o)=>{const a=window.matchMedia(`(${t}: ${n}px)`);a.addListener(r);const c=[o,i].join(" ");e[c]=a})),e)),{});window.addEventListener("orientationchange",r),r(),r.flush()})({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"}),(window.wp=window.wp||{}).viewport=t}();