text: !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r=n(1);!function(){var e=document.getElementById("example"),t=document.getElementsByClassName("example");(0,r.AddClass)(e,"addClass");for(var n=0;n<t.length;n++)(0,r.AddClass)(t[n],"addClass")}(),function(){var e=document.getElementById("example2");(0,r.SetCss)(e,{background:"#000",color:"#FFF","font-size":"20px"})}(),function(){for(var e=document.getElementsByClassName("example3"),t=0;t<e.length;t++)e[t].onclick=function(e){(0,r.Not)(e.currentTarget,".ignore")?alert("!! ignored element !!"):alert("success !!")}}()},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.AddClass=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},n.RemoveClass=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},n.HasClass=function(t,n){var r=!1;return t.classList?t.classList.contains(n)&&(r=!0):new RegExp("(^| )"+n+"( |$)","gi").test(e.target.className)&&(r=!0),r},n.SetCss=function(e,t){var n="";for(var r in t)n+=r+":"+t[r]+"; ";e.style.cssText=n},n.GetParents=function(e,t){var n=e,r=0,o=void 0;for(o=t.split(".")[1]?t.split(".")[1]:t.split("#")[1]?t.split("#")[1]:t;r<100&&(n=n.parentNode).tagName.toLowerCase()!=o;){if(n.className){if(n.className.match(o))break}else if(n.id&&n.id.match(o))break;r++}return n},n.GetSiblings=function(e,t){var n=Array.prototype.filter.call(e.parentNode.children,function(n,r){for(var o=e.parentNode.querySelectorAll(t),a=null,i=0;i<o.length;i++)n===o[i]&&(a=o[i]);return n!==e&&n===a});return 0!=n.length?n:null},n.Not=function(e,t){var n=!1,r=t.split(".")[1]?t.split(".")[1]:t.split("#")[1];return e.classList?e.classList.contains(r)&&(n=!0):new RegExp("(^| )"+r+"( |$)","gi").test(e.className)&&(n=!0),e.id==r&&(n=!0),n},n.GetOffset=function(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}},n.GetHeightData=function(e){var t=window.getComputedStyle(e),n=e.offsetHeight,r=parseFloat(t.borderTopWidth),o=parseFloat(t.borderBottomWidth),a=parseFloat(t.paddingTop),i=parseFloat(t.paddingBottom);return{height:n,bordertop:r,borderBottom:o,paddingTop:a,paddingBottom:i,outerHeight:n+r+o+a+i}},n.GetWidthData=function(e){var t=window.getComputedStyle(e),n=e.offsetWidth,r=parseFloat(t.borderLeftWidth),o=parseFloat(t.borderRightWidth),a=parseFloat(t.paddingLeft),i=parseFloat(t.paddingRight);return{width:n,borderLeft:r,borderRight:o,paddingLeft:a,paddingRight:i,outerWidth:n+r+o+a+i}}}]);