(function(r,q,n){(function(k){"object"===typeof module&&"object"===typeof module.exports?module.exports=k(require("lodash")):"function"===typeof define&&define.amd?define("muu",["lodash"],k):r.muu=k(r._)})(function(k){var p={};p["js-helpers"]={instance:k};var t=function(d,f){for(var g=[],a=0;a":">",'"':""","'":"'","/":"/"},g={DELAY:1E3,escapeHtml:function(a){return String(a).replace(/[&<>"'\/]/g,function(a){return f[a]})},createEvent:function(a,b,c,d){if("function"===typeof CustomEvent)return new CustomEvent(a,{detail:d,bubbles:b,cancelable:c}); var g=q.createEvent("CustomEvent");g.initCustomEvent(a,b,c,d);return g},on:function(a,b,c){a.addEventListener(b,c,!1);return function(){a.removeEventListener(b,c,!1)}},ready:function(a){a=d.once(a);if("complete"===q.readyState)return a(),function(){};var b=g.on(q,"DOMContentLoaded",a),c=g.on(r,"load",a);return function(){b();c()}},isDescendant:function(a,b){return!!a&&(a===b||g.isDescendant(a.parentNode,b))},destroy:function(a,b){var c;if(r.MutationObserver){var f=new MutationObserver(function(){g.isDescendant(a, q)||(b(),c())});f.observe(q,{childList:!0,subtree:!0});c=d.once(function(){f.disconnect();f=n})}else{var l=setInterval(function(){g.isDescendant(a,q)||(b(),c())},g.DELAY);c=function(){clearInterval(l)}}return c},getRadio:function(a){for(var b=0;b