PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.1.7
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.1.7
4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 All 141 releases
learnpress / assets / js / dist / js / data-controls.min.js

data-controls.min.js in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.1.7, at assets/js/dist/js/data-controls.min.js

1 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 !function(){"use strict";var e={n:function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},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,{apiFetch:function(){return s},controls:function(){return a},dispatch:function(){return c},select:function(){return u}});var r=window.wp.apiFetch,n=e.n(r);const o=function(e){return e.isRegistryControl=!0,e},s=e=>({type:"API_FETCH",request:e});function u(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:e,selectorName:t,args:n}}function c(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:e,actionName:t,args:n}}const a={API_FETCH(e){let{request:t}=e;return n()(t)},SELECT:o((e=>t=>{let{storeKey:r,selectorName:n,args:o}=t;return e.select(r)[n].hasResolver?((e,t)=>{let{storeKey:r,selectorName:n,args:o}=t;return new Promise((t=>{const s=()=>e.select("").hasFinishedResolution(r,n,o),u=()=>e.select(r)[n].apply(null,o),c=u();if(s())return t(c);const a=e.subscribe((()=>{s()&&(a(),t(u()))}))}))})(e,{storeKey:r,selectorName:n,args:o}):e.select(r)[n](...o)})),DISPATCH:o((e=>t=>{let{storeKey:r,actionName:n,args:o}=t;return e.dispatch(r)[n](...o)}))};(window.LP=window.LP||{}).dataControls=t}();