module.exports = "(function(e,n,r){var t=r(4727).Promise,i=r(9404),a=r(4527).get(\"stores/plugins\"),c=r(4438),o=r(4810);n.create=function(e,n,p){var u={identifier:e.id,action:n,startTime:p||i.now()};__INVARIANT__&&(r(2048).isType(\"Change\",e),r(2048).isType(\"ChangeConfig\",u));try{var g=a.getPlugin(c.PluginTypes.changeAppliers,e.type);if(!g)throw new Error(\"Unrecognized change type \"+e.type);return new g(e,u)}catch(e){o.error(\"Change applier was never properly constructed:\",e);var s={apply:function(){return t.reject(e)}};return __EDITOR__&&(s.undo=function(){return t.resolve(c.changeState.ERROR)},s.cancel=function(){}),s}}})";