"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _forEach2=require("ramda/src/forEach"),_forEach3=_interopRequireDefault(_forEach2),_equals2=require("ramda/src/equals"),_equals3=_interopRequireDefault(_equals2),_=require("./");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.default=function(e,r,o){var t=window.WebKitMutationObserver;if(t){var u=function(e){var r=e.attributeName,t=void 0===r?"":r,u=e.target,a=e.addedNodes;(0,_equals3.default)("style",t)&&o(u),a&&0<a.length&&(0,_.elForEach)(function(e){return o(e)},a)};new t(function(e){return(0,_forEach3.default)(u,e)}).observe(e,{attributes:!0,childList:!0,subtree:r})}else console.log("no support WebKitMutationObserver")};