You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by lr...@apache.org on 2016/09/29 00:50:04 UTC

[3/8] incubator-systemml-website git commit: [SYSTEMML-962] Refactor jekyll based website with new layout

http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/cf3f2cbe/assets/js/ap-components.min.js
----------------------------------------------------------------------
diff --git a/assets/js/ap-components.min.js b/assets/js/ap-components.min.js
new file mode 100644
index 0000000..677ea77
--- /dev/null
+++ b/assets/js/ap-components.min.js
@@ -0,0 +1,2 @@
+"use strict";function _toggleTab(e,t,n){var i=[].slice.call(document.querySelectorAll(e)),r=[].slice.call(document.querySelectorAll(n));i.filter(function(e){return"true"===e.attributes["aria-selected"].value}).map(function(e){return e.setAttribute("aria-selected",!1),e}),r.filter(function(e){return"false"===e.attributes["aria-hidden"].value}).map(function(e){return e.setAttribute("aria-hidden",!0),e});i[t].setAttribute("aria-selected",!0),r[t].setAttribute("aria-hidden",!1)}function apTabs(){var e=arguments.length<=0||void 0===arguments[0]?".tab":arguments[0],t=arguments.length<=1||void 0===arguments[1]?".panel":arguments[1],n=[].slice.call(document.querySelectorAll(e)),i=[].slice.call(document.querySelectorAll(t));n.map(function(n,i){return n.addEventListener("click",function(n){_toggleTab(e,i,t)}),n.addEventListener("keyup",function(n){13===n.which?_toggleTab(e,i,t):""}),n}),i.map(function(e){return e.setAttribute("aria-hidden",!0),e}),_toggleTab(e,0,t)}var _typeof="function"==typ
 eof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};!function(e){"function"==typeof define&&define.amd?define([],e):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=e():window.noUiSlider=e()}(function(){function e(e){return e.filter(function(e){return this[e]?!1:this[e]=!0},{})}function t(e,t){return Math.round(e/t)*t}function n(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,i=n.documentElement,r=p();return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(r.x=0),{top:t.top+r.y-i.clientTop,left:t.left+r.x-i.clientLeft}}function i(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function r(e){var t=Math.pow(10,7);return Number((Math.round(e*t)/t).toFixed(7))}function o(e,t,n){c(e,t),setTimeout(function(){u(e,t)},n)}function s(e){return Math.max(Math.min(e,100),0)}function a(e){return Array.isArray(e)?e:[e]}function l(e){var t
 =e.split(".");return t.length>1?t[1].length:0}function c(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function u(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function d(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function p(){var e=void 0!==window.pageXOffset,t="CSS1Compat"===(document.compatMode||""),n=e?window.pageXOffset:t?document.documentElement.scrollLeft:document.body.scrollLeft,i=e?window.pageYOffset:t?document.documentElement.scrollTop:document.body.scrollTop;return{x:n,y:i}}function m(e){e.stopPropagation()}function h(e){return function(t){return e+t}}function f(e,t){return 100/(t-e)}function g(e,t){return 100*t/(e[1]-e[0])}function b(e,t){return g(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}function v(e,t){return t*(e[1]-e[0])/100+e[0]}function y(e,t){for(var n=1;e>=t[n];)n+=1;return n}function _(e,t,n){if(n>=e.slice(-1)[0])return 100;
 var i,r,o,s,a=y(n,e);return i=e[a-1],r=e[a],o=t[a-1],s=t[a],o+b([i,r],n)/f(o,s)}function x(e,t,n){if(n>=100)return e.slice(-1)[0];var i,r,o,s,a=y(n,t);return i=e[a-1],r=e[a],o=t[a-1],s=t[a],v([i,r],(n-o)*f(o,s))}function w(e,n,i,r){if(100===r)return r;var o,s,a=y(r,e);return i?(o=e[a-1],s=e[a],r-o>(s-o)/2?s:o):n[a-1]?e[a-1]+t(r-e[a-1],n[a-1]):r}function E(e,t,n){var r;if("number"==typeof t&&(t=[t]),"[object Array]"!==Object.prototype.toString.call(t))throw new Error("noUiSlider: 'range' contains invalid value.");if(r="min"===e?0:"max"===e?100:parseFloat(e),!i(r)||!i(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");n.xPct.push(r),n.xVal.push(t[0]),r?n.xSteps.push(isNaN(t[1])?!1:t[1]):isNaN(t[1])||(n.xSteps[0]=t[1])}function N(e,t,n){return t?void(n.xSteps[e]=g([n.xVal[e],n.xVal[e+1]],t)/f(n.xPct[e],n.xPct[e+1])):!0}function S(e,t,n,i){this.xPct=[],this.xVal=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=t,this.direction=n;var r,o=[];for(r in e)e.hasOwnProperty(
 r)&&o.push([e[r],r]);for(o.length&&"object"===_typeof(o[0][0])?o.sort(function(e,t){return e[0][0]-t[0][0]}):o.sort(function(e,t){return e[0]-t[0]}),r=0;r<o.length;r++)E(o[r][1],o[r][0],this);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)N(r,this.xNumSteps[r],this)}function L(e,t){if(!i(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function M(e,t){if("object"!==("undefined"==typeof t?"undefined":_typeof(t))||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider: 'range' 'min' and 'max' cannot be equal.");e.spectrum=new S(t,e.snap,e.dir,e.singleStep)}function C(e,t){if(t=a(t),!Array.isArray(t)||!t.length||t.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function k(e,t){if(e.snap=t,"boolean"!=typeof t)throw new Error("noU
 iSlider: 'snap' option must be a boolean.")}function A(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function $(e,t){if("lower"===t&&1===e.handles)e.connect=1;else if("upper"===t&&1===e.handles)e.connect=2;else if(t===!0&&2===e.handles)e.connect=3;else{if(t!==!1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");e.connect=0}}function T(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function O(e,t){if(!i(t))throw new Error("noUiSlider: 'margin' option must be numeric.");if(0!==t&&(e.margin=e.spectrum.getMargin(t),!e.margin))throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function q(e,t){if(!i(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit)throw new Error("noUiSlider: 'limit' option is only supported on 
 linear sliders.")}function B(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1,e.connect=[0,2,1,3][e.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function U(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0;if(i&&!e.connect)throw new Error("noUiSlider: 'drag' behaviour must be used with 'connect': true.");e.events={tap:n||o,drag:i,fixed:r,snap:o,hover:s}}function H(e,t){var n;if(t!==!1)if(t===!0)for(e.tooltips=[],n=0;n<e.handles;n++)e.tooltips.push(!0);else{if(e.tooltips=a(t),e.tooltips.length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!==("undefined"==typeof e?"undefined":_typeof(e))||"function"!=typeof e.to))throw new Error("noUiSlider: 'tooltips' mus
 t be passed a formatter or 'false'.")})}}function P(e,t){if(e.format=t,"function"==typeof t.to&&"function"==typeof t.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function V(e,t){if(void 0!==t&&"string"!=typeof t)throw new Error("noUiSlider: 'cssPrefix' must be a string.");e.cssPrefix=t}function j(e){var t,n={margin:0,limit:0,animate:!0,format:z};t={step:{r:!1,t:L},start:{r:!0,t:C},connect:{r:!0,t:$},direction:{r:!0,t:B},snap:{r:!1,t:k},animate:{r:!1,t:A},range:{r:!0,t:M},orientation:{r:!1,t:T},margin:{r:!1,t:O},limit:{r:!1,t:q},behaviour:{r:!0,t:U},format:{r:!1,t:P},tooltips:{r:!1,t:H},cssPrefix:{r:!1,t:V}};var i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"};return Object.keys(t).forEach(function(r){if(void 0===e[r]&&void 0===i[r]){if(t[r].r)throw new Error("noUiSlider: '"+r+"' is required.");return!0}t[r].t(n,void 0===e[r]?i[r]:e[r])}),n.pips=e.pips,n.style=n.ort?"top":"left",n}function I(t,i){function r(e,t,n){var 
 i=e+t[0],r=e+t[1];return n?(0>i&&(r+=Math.abs(i)),r>100&&(i-=r-100),[s(i),s(r)]):[i,r]}function f(e,t){e.preventDefault();var n,i,r=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),s=0===e.type.indexOf("pointer"),a=e;return 0===e.type.indexOf("MSPointer")&&(s=!0),r&&(n=e.changedTouches[0].pageX,i=e.changedTouches[0].pageY),t=t||p(),(o||s)&&(n=e.clientX+t.x,i=e.clientY+t.y),a.pageOffset=t,a.points=[n,i],a.cursor=o||s,a}function g(e,t){var n=document.createElement("div"),i=document.createElement("div"),r=["-lower","-upper"];return e&&r.reverse(),c(i,ie[3]),c(i,ie[3]+r[t]),c(n,ie[2]),n.appendChild(i),n}function b(e,t,n){switch(e){case 1:c(t,ie[7]),c(n[0],ie[6]);break;case 3:c(n[1],ie[6]);case 2:c(n[0],ie[7]);case 0:c(t,ie[6])}}function v(e,t,n){var i,r=[];for(i=0;e>i;i+=1)r.push(n.appendChild(g(t,i)));return r}function y(e,t,n){c(n,ie[0]),c(n,ie[8+e]),c(n,ie[4+t]);var i=document.createElement("div");return c(i,ie[1]),n.appendChild(i),i}function _(e,t){if(!i.tooltips[t])return!
 1;var n=document.createElement("div");return n.className=ie[18],e.firstChild.appendChild(n)}function x(){i.dir&&i.tooltips.reverse();var e=J.map(_);i.dir&&(e.reverse(),i.tooltips.reverse()),X("update",function(t,n,r){e[n]&&(e[n].innerHTML=i.tooltips[n]===!0?t[n]:i.tooltips[n].to(r[n]))})}function w(e,t,n){if("range"===e||"steps"===e)return ee.xVal;if("count"===e){var i,r=100/(t-1),o=0;for(t=[];(i=o++*r)<=100;)t.push(i);e="positions"}return"positions"===e?t.map(function(e){return ee.fromStepping(n?ee.getStep(e):e)}):"values"===e?n?t.map(function(e){return ee.fromStepping(ee.getStep(ee.toStepping(e)))}):t:void 0}function E(t,n,i){function r(e,t){return(e+t).toFixed(7)/1}var o=ee.direction,s={},a=ee.xVal[0],l=ee.xVal[ee.xVal.length-1],c=!1,u=!1,d=0;return ee.direction=0,i=e(i.slice().sort(function(e,t){return e-t})),i[0]!==a&&(i.unshift(a),c=!0),i[i.length-1]!==l&&(i.push(l),u=!0),i.forEach(function(e,o){var a,l,p,m,h,f,g,b,v,y,_=e,x=i[o+1];if("steps"===n&&(a=ee.xNumSteps[o]),a||(a=x-_
 ),_!==!1&&void 0!==x)for(l=_;x>=l;l=r(l,a)){for(m=ee.toStepping(l),h=m-d,b=h/t,v=Math.round(b),y=h/v,p=1;v>=p;p+=1)f=d+p*y,s[f.toFixed(5)]=["x",0];g=i.indexOf(l)>-1?1:"steps"===n?2:0,!o&&c&&(g=0),l===x&&u||(s[m.toFixed(5)]=[l,g]),d=m}}),ee.direction=o,s}function N(e,t,n){function r(e){return["-normal","-large","-sub"][e]}function o(e,t,n){return'class="'+t+" "+t+"-"+a+" "+t+r(n[1])+'" style="'+i.style+": "+e+'%"'}function s(e,i){ee.direction&&(e=100-e),i[1]=i[1]&&t?t(i[0],i[1]):i[1],u+="<div "+o(e,ie[21],i)+"></div>",i[1]&&(u+="<div "+o(e,ie[22],i)+">"+n.to(i[0])+"</div>")}var a=["horizontal","vertical"][i.ort],l=document.createElement("div"),u="";return c(l,ie[20]),c(l,ie[20]+"-"+a),Object.keys(e).forEach(function(t){s(t,e[t])}),l.innerHTML=u,l}function S(e){var t=e.mode,n=e.density||1,i=e.filter||!1,r=e.values||!1,o=e.stepped||!1,s=w(t,r,o),a=E(n,t,s),l=e.format||{to:Math.round};return Q.appendChild(N(a,i,l))}function L(){var e=Y.getBoundingClientRect(),t="offset"+["Width","Height
 "][i.ort];return 0===i.ort?e.width||Y[t]:e.height||Y[t]}function M(e,t,n){void 0!==t&&1!==i.handles&&(t=Math.abs(t-i.dir)),Object.keys(ne).forEach(function(i){var r=i.split(".")[0];e===r&&ne[i].forEach(function(e){e.call(G,a(I()),t,a(C(Array.prototype.slice.call(te))),n||!1,Z)})})}function C(e){return 1===e.length?e[0]:i.dir?e.reverse():e}function k(e,t,n,r){var o=function(t){return Q.hasAttribute("disabled")?!1:d(Q,ie[14])?!1:(t=f(t,r.pageOffset),e===R.start&&void 0!==t.buttons&&t.buttons>1?!1:r.hover&&t.buttons?!1:(t.calcPoint=t.points[i.ort],void n(t,r)))},s=[];return e.split(" ").forEach(function(e){t.addEventListener(e,o,!1),s.push([e,o])}),s}function A(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return $(e,t);var n,i,o=t.handles||J,s=!1,a=100*(e.calcPoint-t.start)/t.baseSize,l=o[0]===J[0]?0:1;if(n=r(a,t.positions,o.length>1),s=H(o[0],n[l],1===o.length),o.length>1){if(s=H(o[1],n[l?0:1],!1)||s)for(i=0;i<t.handles.length;i++)M("slide"
 ,i)}else s&&M("slide",l)}function $(e,t){var n=Y.querySelector("."+ie[15]),i=t.handles[0]===J[0]?0:1;null!==n&&u(n,ie[15]),e.cursor&&(document.body.style.cursor="",document.body.removeEventListener("selectstart",document.body.noUiListener));var r=document.documentElement;r.noUiListeners.forEach(function(e){r.removeEventListener(e[0],e[1])}),u(Q,ie[12]),M("set",i),M("change",i),void 0!==t.handleNumber&&M("end",t.handleNumber)}function T(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&$(e,t)}function O(e,t){var n=document.documentElement;if(1===t.handles.length&&(c(t.handles[0].children[0],ie[15]),t.handles[0].hasAttribute("disabled")))return!1;e.preventDefault(),e.stopPropagation();var i=k(R.move,n,A,{start:e.calcPoint,baseSize:L(),pageOffset:e.pageOffset,handles:t.handles,handleNumber:t.handleNumber,buttonsProperty:e.buttons,positions:[Z[0],Z[J.length-1]]}),r=k(R.end,n,$,{handles:t.handles,handleNumber:t.handleNumber}),o=k("mouseout",n,T,{handles:t.hand
 les,handleNumber:t.handleNumber});if(n.noUiListeners=i.concat(r,o),e.cursor){document.body.style.cursor=getComputedStyle(e.target).cursor,J.length>1&&c(Q,ie[12]);var s=function(){return!1};document.body.noUiListener=s,document.body.addEventListener("selectstart",s,!1)}void 0!==t.handleNumber&&M("start",t.handleNumber)}function q(e){var t,r,s=e.calcPoint,a=0;return e.stopPropagation(),J.forEach(function(e){a+=n(e)[i.style]}),t=a/2>s||1===J.length?0:1,J[t].hasAttribute("disabled")&&(t=t?0:1),s-=n(Y)[i.style],r=100*s/L(),i.events.snap||o(Q,ie[14],300),J[t].hasAttribute("disabled")?!1:(H(J[t],r),M("slide",t,!0),M("set",t,!0),M("change",t,!0),void(i.events.snap&&O(e,{handles:[J[t]]})))}function B(e){var t=e.calcPoint-n(Y)[i.style],r=ee.getStep(100*t/L()),o=ee.fromStepping(r);Object.keys(ne).forEach(function(e){"hover"===e.split(".")[0]&&ne[e].forEach(function(e){e.call(G,o)})})}function U(e){var t,n;if(!e.fixed)for(t=0;t<J.length;t+=1)k(R.start,J[t].children[0],O,{handles:[J[t]],handleNu
 mber:t});if(e.tap&&k(R.start,Y,q,{handles:J}),e.hover)for(k(R.move,Y,B,{hover:!0}),t=0;t<J.length;t+=1)["mousemove MSPointerMove pointermove"].forEach(function(e){J[t].children[0].addEventListener(e,m,!1)});e.drag&&(n=[Y.querySelector("."+ie[7])],c(n[0],ie[10]),e.fixed&&n.push(J[n[0]===J[0]?1:0].children[0]),n.forEach(function(e){k(R.start,e,O,{handles:J})}))}function H(e,t,n){var r=e!==J[0]?1:0,o=Z[0]+i.margin,a=Z[1]-i.margin,l=Z[0]+i.limit,d=Z[1]-i.limit;return J.length>1&&(t=r?Math.max(t,o):Math.min(t,a)),n!==!1&&i.limit&&J.length>1&&(t=r?Math.min(t,l):Math.max(t,d)),t=ee.getStep(t),t=s(parseFloat(t.toFixed(7))),t===Z[r]?!1:(window.requestAnimationFrame?window.requestAnimationFrame(function(){e.style[i.style]=t+"%"}):e.style[i.style]=t+"%",e.previousSibling||(u(e,ie[17]),t>50&&c(e,ie[17])),Z[r]=t,te[r]=ee.fromStepping(t),M("update",r),!0)}function P(e,t){var n,r,o;for(i.limit&&(e+=1),n=0;e>n;n+=1)r=n%2,o=t[r],null!==o&&o!==!1&&("number"==typeof o&&(o=String(o)),o=i.format.from(o)
 ,(o===!1||isNaN(o)||H(J[r],ee.toStepping(o),n===3-i.dir)===!1)&&M("update",r))}function V(e){var t,n,r=a(e);for(i.dir&&i.handles>1&&r.reverse(),i.animate&&-1!==Z[0]&&o(Q,ie[14],300),t=J.length>1?3:1,1===r.length&&(t=1),P(t,r),n=0;n<J.length;n++)null!==r[n]&&M("set",n)}function I(){var e,t=[];for(e=0;e<i.handles;e+=1)t[e]=i.format.to(te[e]);return C(t)}function D(){for(ie.forEach(function(e){e&&u(Q,e)});Q.firstChild;)Q.removeChild(Q.firstChild);delete Q.noUiSlider}function z(){var e=Z.map(function(e,t){var n=ee.getApplicableStep(e),i=l(String(n[2])),r=te[t],o=100===e?null:n[2],s=Number((r-n[2]).toFixed(i)),a=0===e?null:s>=n[1]?n[2]:n[0]||!1;return[a,o]});return C(e)}function X(e,t){ne[e]=ne[e]||[],ne[e].push(t),"update"===e.split(".")[0]&&J.forEach(function(e,t){M("update",t)})}function W(e){var t=e.split(".")[0],n=e.substring(t.length);Object.keys(ne).forEach(function(e){var i=e.split(".")[0],r=e.substring(i.length);t&&t!==i||n&&n!==r||delete ne[e]})}function K(e){var t,n=I(),r=j({s
 tart:[0,0],margin:e.margin,limit:e.limit,step:e.step,range:e.range,animate:e.animate,snap:void 0===e.snap?i.snap:e.snap});for(["margin","limit","step","range","animate"].forEach(function(t){void 0!==e[t]&&(i[t]=e[t])}),r.spectrum.direction=ee.direction,ee=r.spectrum,Z=[-1,-1],V(n),t=0;t<J.length;t++)M("update",t)}var Y,J,G,Q=t,Z=[-1,-1],ee=i.spectrum,te=[],ne={},ie=["target","base","origin","handle","horizontal","vertical","background","connect","ltr","rtl","draggable","","state-drag","","state-tap","active","","stacking","tooltip","","pips","marker","value"].map(h(i.cssPrefix||F));if(Q.noUiSlider)throw new Error("Slider was already initialized.");return Y=y(i.dir,i.ort,Q),J=v(i.handles,i.dir,Y),b(i.connect,Q,J),i.pips&&S(i.pips),i.tooltips&&x(),G={destroy:D,steps:z,on:X,off:W,get:I,set:V,updateOptions:K,options:i,target:Q,pips:S},U(i.events),G}function D(e,t){if(!e.nodeName)throw new Error("noUiSlider.create requires a single element.");var n=j(t,e),i=I(e,n);return i.set(n.start),e
 .noUiSlider=i,i}var R=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},F="noUi-";S.prototype.getMargin=function(e){return 2===this.xPct.length?g(this.xVal,e):!1},S.prototype.toStepping=function(e){return e=_(this.xVal,this.xPct,e),this.direction&&(e=100-e),e},S.prototype.fromStepping=function(e){return this.direction&&(e=100-e),r(x(this.xVal,this.xPct,e))},S.prototype.getStep=function(e){return this.direction&&(e=100-e),e=w(this.xPct,this.xSteps,this.snap,e),this.direction&&(e=100-e),e},S.prototype.getApplicableStep=function(e){var t=y(e,this.xPct),n=100===e?2:1;return[this.xNumSteps[t-2],this.xVal[t-n],this.xNumSteps[t-n]]},S.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var z={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number};retur
 n{create:D}}),function(){for(var e=document.querySelectorAll(".alert"),t=0;t<e.length;t++)for(var n=e[t].clientHeight,i=e[t].querySelectorAll(".alert__close"),r=0;r<i.length;r++)i[r].onclick=function(){function e(){t.parentNode.remove()}var t=this;this.parentNode.classList.add("alert__fadeOut"),this.parentNode.style.marginTop="-"+n+"px",setTimeout(e,300)}}(),function(){for(var e=document.querySelectorAll(".breadcrumb"),t="<li class='breadcrumb__item--condensed'><button class='breadcrumb__link--condensed'>&hellip;<ul class='breadcrumb__condensed--container'></ul></button><svg class='breadcrumb__divider xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'><path width='6' height='11' d='M.7 10.7L0 10l4.6-4.6L0 .7.7 0l5.4 5.4'/></svg></li>",n=0;n<e.length;n++){var i=e[n].querySelectorAll(".breadcrumb__item").length,r=e[n].dataset.maxItems;if(i>r){e[n].className=e[n].className+" breadcrumb--condensed";var o=e[n].querySelector(".breadcrumb--condensed li:first-child"
 );e[n].querySelector(".breadcrumb__item");o.insertAdjacentHTML("afterend",t);for(var s=e[n].querySelector(".breadcrumb__condensed--container"),a=e[n].querySelectorAll(".breadcrumb__item--condensed ~ .breadcrumb__item"),l=0;l<a.length;l++)s.appendChild(a[l]);var c=s.clientWidth/2;s.style.marginLeft="-"+c+"px";var u=e[n].querySelector(".breadcrumb__link--condensed"),d=(e[n].querySelector(".breadcrumb__item--condensed"),e[n].querySelector(".breadcrumb__link")),p=e[n].querySelector(".breadcrumb__link--condensed .breadcrumb__item .breadcrumb__link"),m=e[n].querySelector(".breadcrumb__link--condensed .breadcrumb__item:last-child .breadcrumb__link");u.onfocus=function(){this.classList.add("active")},m.onblur=function(){this.parentNode.parentNode.parentNode.classList.remove("active")},p.onfocus=function(){this.parentNode.parentNode.parentNode.classList.add("active")},d.onfocus=function(){u.classList.remove("active")}}}}(),function(){var e=document.getElementsByClassName("text"),t=function()
 {for(var t=0;t<e.length;++t){var n=e[t],i=n.getAttribute("maxCount");if(i>0){var r=document.createElement("span");r.className="counter text__counter",r.innerHTML=i,n.parentNode.insertBefore(r,n.nextSibling);var o=function(e){var t=e.nextElementSibling,n=e.getAttribute("maxCount");t.innerHTML=n-e.value.length,e.value.length>n&&!e.classList.contains("error")?(e.classList.add("error"),t.classList.add("exceeded")):e.value.length<=n&&e.classList.contains("error")&&(e.classList.remove("error"),t.classList.remove("exceeded"))};n.onkeydown=function(e){o(e.srcElement)},n.onkeyup=function(e){o(e.srcElement)}}}};t()}();var toggleExpand=function(e){var t=e.parentNode.getElementsByClassName("select__options")[0];if(t.style.height&&"0px"!=t.style.height){t.style.height="0px",t.style.overflowY="scroll",t.style.overflowX="none",t.parentNode.classList.remove("open");for(var n=t.getElementsByTagName("li"),i=0;i<n.length;++i)n[i].getElementsByTagName("button")[0].tabIndex=-1}else{var r=Array.prototype
 .reduce.call(t.childNodes,function(e,t){return e+(t.offsetHeight||0)},0);t.style.height=r+"px",t.style.maxHeight="350px",t.style.overflowY="scroll",t.style.transition="all "+r/500+"s cubic-bezier(.5, .08, 0, 1)",t.parentNode.classList.add("open");for(var n=t.getElementsByTagName("li"),o=0;o<n.length;++o)n[o].getElementsByTagName("button")[0].tabIndex=0}},keyEvents=function(e,t){var n=e.parentNode.getElementsByClassName("select__options")[0];if(console.log(t),27==t.keyCode){n.style.height="0px",n.style.overflow="scroll",n.parentNode.classList.remove("open");for(var i=n.getElementsByTagName("li"),r=0;r<i.length;++r)i[r].getElementsByTagName("button")[0].tabIndex=-1}},selectOption=function(e){for(var t=e.innerHTML,n=e.parentNode.parentNode.getElementsByTagName("li"),i=0;i<n.length;++i)n[i].className="select__options__item";e.parentNode.className="select__options__item select__options__item--selected",e.parentNode.parentNode.parentNode.getElementsByTagName("select")[0].selectedIndex=e.g
 etAttribute("value");var r=e.parentNode.parentNode.parentNode.getElementsByClassName("select__button")[0];r.getElementsByClassName("select__button__text")[0].innerHTML=t,toggleExpand(r)},selects=document.getElementsByTagName("select"),styleSelects=function(){for(var e=0;e<selects.length;++e){var t=selects[e];t.style.position="absolute",t.style.width="100%",t.style.height="100%",t.style.opacity="0",t.tabIndex=-1;var n=document.createElement("button");switch("select--dark"===t.parentNode.className?n.className="button--dark select__button":n.className="button select__button",t.parentNode.className){case"select select--inline":n.className="button button__secondary select__button";break;case"select--dark":n.className="button button--dark select__button";break;case"select--dark select--inline":n.className="button button__secondary--dark select__button";break;default:n.className="button select__button"}n.setAttribute("alt","Show dropdown choices"),n.setAttribute("onclick","toggleExpand(thi
 s);"),n.setAttribute("onkeydown","keyEvents(this,event);"),n.setAttribute("aria-hidden","true"),t.parentElement.appendChild(n);var i=document.createElement("span");i.className="select__button__text",i.innerHTML=t.getElementsByTagName("option")[0].innerHTML,n.appendChild(i);var r='<svg class="select__button__arrow" width="13" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M11.2 7.8l-5-5-4.8 4.8L0 6.2 6.2 0l6.4 6.4"/></svg>';n.innerHTML+=r;var o=document.createElement("ul");o.className="select__options",o.setAttribute("aria-hidden","true"),t.parentElement.appendChild(o);for(var s=t.getElementsByTagName("option"),a=1;a<s.length;++a){var l=document.createElement("li");1===a?l.className="select__options__item":l.className="select__options__item select__options__item",o.appendChild(l);var c=document.createElement("button");c.tabIndex=-1,c.className="select__options__item__a",c.setAttribute("value",a),c.setAttribute("onclick","selectOption(this);"),c.innerHTML=s[a].innerHTML,l.appe
 ndChild(c)}}};styleSelects(),function(){for(var e=document.querySelectorAll(".haslabel"),t=0;t<e.length;t++)e[t].previousElementSibling&&(e[t].onfocus=function(){this.previousElementSibling.classList.add("active-label")},e[t].onblur=function(){this.classList.add("selected"),0==this.value.length&&this.previousElementSibling.classList.remove("active-label"),this.value.length>0&&this.previousElementSibling.classList.add("inactive-label")})}();var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},_prototypeProperties=function(e,t,n){t&&Object.defineProperties(e,t),n&&Object.defineProperties(e.prototype,n)},VanillaModal=function(){function e(e){this.$$={modal:".modal",modalInner:".modal-inner",modalContent:".modal-content",open:'[rel="modal:open"]',close:'[rel="modal:close"]',page:"body","class":"modal-visible",loadClass:"vanilla-modal",clickOutside:!0
 ,closeKey:27,transitions:!0,transitionEnd:null,onBeforeOpen:function(){},onBeforeClose:function(){},onOpen:function(){},onClose:function(){}},this._applyUserSettings(e),this.error=!1,this.isOpen=!1,this.current=null,this.open=this._open.bind(this),this.close=this._close.bind(this),this.$$.transitionEnd=this._transitionEndVendorSniff(),this.$=this._setupDomNodes(),this.error?console.error("Please fix errors before proceeding."):(this._addLoadedCssClass(),this._events().add())}return _prototypeProperties(e,null,{_applyUserSettings:{value:function(e){if("object"===("undefined"==typeof e?"undefined":_typeof(e)))for(var t in e)e.hasOwnProperty(t)&&(this.$$[t]=e[t])},writable:!0,enumerable:!0,configurable:!0},_transitionEndVendorSniff:{value:function(){if(this.$$.transitions!==!1){var e=document.createElement("div"),t={transition:"transitionend",OTransition:"otransitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!
 ==e.style[n])return t[n]}},writable:!0,enumerable:!0,configurable:!0},_getNode:{value:function(e,t){var n=t||document,i=n.querySelector(e);return i?i:(this.error=!0,console.error(e+" not found in document."))},writable:!0,enumerable:!0,configurable:!0},_setupDomNodes:{value:function(){var e={};return e.modal=this._getNode(this.$$.modal),e.page=this._getNode(this.$$.page),e.modalInner=this._getNode(this.$$.modalInner,this.modal),e.modalContent=this._getNode(this.$$.modalContent,this.modal),e},writable:!0,enumerable:!0,configurable:!0},_addLoadedCssClass:{value:function(){this._addClass(this.$.page,this.$$.loadClass)},writable:!0,enumerable:!0,configurable:!0},_addClass:{value:function(e,t){if(e instanceof HTMLElement!=!1){var n=e.className.split(" ");-1===n.indexOf(t)&&n.push(t),e.className=n.join(" ")}},writable:!0,enumerable:!0,configurable:!0},_removeClass:{value:function(e,t){if(e instanceof HTMLElement!=!1){var n=e.className.split(" ");n.indexOf(t)>-1&&n.splice(n.indexOf(t),1),e
 .className=n.join(" ")}},writable:!0,enumerable:!0,configurable:!0},_setOpenId:{value:function(){var e=this.current.id||"anonymous";this.$.page.setAttribute("data-current-modal",e)},writable:!0,enumerable:!0,configurable:!0},_removeOpenId:{value:function(){this.$.page.removeAttribute("data-current-modal")},writable:!0,enumerable:!0,configurable:!0},_getElementContext:{value:function(e){return e&&"string"==typeof e.hash?document.querySelector(e.hash):"string"==typeof e?document.querySelector(e):console.error("No selector supplied to open()")},writable:!0,enumerable:!0,configurable:!0},_open:{value:function(e){return this._releaseNode(),this.current=this._getElementContext(e),this.current instanceof HTMLElement==!1?console.error("VanillaModal target must exist on page."):("function"==typeof this.$$.onBeforeOpen&&this.$$.onBeforeOpen.call(this),this._captureNode(),this._addClass(this.$.page,this.$$["class"]),this._setOpenId(),this.isOpen=!0,void("function"==typeof this.$$.onOpen&&this.
 $$.onOpen.call(this)))},writable:!0,enumerable:!0,configurable:!0},_detectTransition:{value:function(){var e=window.getComputedStyle(this.$.modal,null),t=["transitionDuration","oTransitionDuration","MozTransitionDuration","webkitTransitionDuration"],n=t.filter(function(t){return"string"==typeof e[t]&&parseFloat(e[t])>0?!0:void 0});return!!n.length},writable:!0,enumerable:!0,configurable:!0},_close:{value:function(e){"function"==typeof this.$$.onBeforeClose&&this.$$.onBeforeClose.call(this),this._removeClass(this.$.page,this.$$["class"]);var t=this._detectTransition();this.$$.transitions&&this.$$.transitionEnd&&t?this._closeModalWithTransition():this._closeModal()},writable:!0,enumerable:!0,configurable:!0},_closeModal:{value:function(){this._removeOpenId(this.$.page),this._releaseNode(),this.isOpen=!1,this.current=null,"function"==typeof this.$$.onClose&&this.$$.onClose.call(this)},writable:!0,enumerable:!0,configurable:!0},_closeModalWithTransition:{value:function(){var e=function(
 ){this.$.modal.removeEventListener(this.$$.transitionEnd,e),this._closeModal()}.bind(this);this.$.modal.addEventListener(this.$$.transitionEnd,e)},writable:!0,enumerable:!0,configurable:!0},_captureNode:{value:function(){for(;this.current.childNodes.length>0;)this.$.modalContent.appendChild(this.current.childNodes[0])},writable:!0,enumerable:!0,configurable:!0},_releaseNode:{value:function(){for(;this.$.modalContent.childNodes.length>0;)this.current.appendChild(this.$.modalContent.childNodes[0])},writable:!0,enumerable:!0,configurable:!0},_closeKeyHandler:{value:function(e){"number"==typeof this.$$.closeKey&&e.which===this.$$.closeKey&&this.isOpen===!0&&(e.preventDefault(),this.close())},writable:!0,enumerable:!0,configurable:!0},_outsideClickHandler:{value:function(e){if(this.$$.clickOutside===!0){for(var t=e.target;t&&t!=document.body;){if(t===this.$.modalInner)return;t=t.parentNode}this.close()}},writable:!0,enumerable:!0,configurable:!0},_matches:{value:function(e,t){for(var n=e
 .target,i=(n.document||n.ownerDocument).querySelectorAll(t),r=0;r<i.length;r++)for(var o=n;o&&o!==document.body;){if(o===i[r])return o;o=o.parentNode}return null},writable:!0,enumerable:!0,configurable:!0},_delegateOpen:{value:function(e){var t=this._matches(e,this.$$.open);return t?(e.preventDefault(),this.open(t)):void 0},writable:!0,enumerable:!0,configurable:!0},_delegateClose:{value:function(e){return this._matches(e,this.$$.close)?(e.preventDefault(),this.close()):void 0},writable:!0,enumerable:!0,configurable:!0},_events:{value:function(){var e=this._closeKeyHandler.bind(this),t=this._outsideClickHandler.bind(this),n=this._delegateOpen.bind(this),i=this._delegateClose.bind(this),r=function(){this.$.modal.addEventListener("click",t),document.addEventListener("keydown",e),document.addEventListener("click",n),document.addEventListener("click",i)};return this.destroy=function(){this.close(),this.$.modal.removeEventListener("click",t),document.removeEventListener("keydown",e),docu
 ment.removeEventListener("click",n),document.removeEventListener("click",i)},{add:r.bind(this)}},writable:!0,enumerable:!0,configurable:!0}}),e}();!function(){"function"==typeof define&&define.amd?define("VanillaModal",function(){return VanillaModal}):"undefined"!=typeof module&&module.exports?module.exports=VanillaModal:window.VanillaModal=VanillaModal}(),function(){function e(e){return function(t){e.getElementsByClassName("number")[0].value++}}function t(e){return function(t){e.getElementsByClassName("number")[0].value--}}function n(e){return function(t){e.getElementsByClassName("number")[0].value=0}}for(var i=document.querySelectorAll(".number__hasspinner"),r=document.querySelectorAll(".number__hasclose"),o='<svg class="numpinput__spinner__top" x="0px" y="0px" width="18px" height="16px" viewBox="0 0 18 16" style="enable-background:new 0 0 18 16;"xml:space="preserve"><rect class="numinputhovertop" width="18" height="16"/><polygon class="numinputtop" points="12.5,11.2 9,7.6 5.5,11.
 2 4.1,9.8 9,4.8 13.9,9.8   "/></svg><svg class="numpinput__spinner__bottom" x="0px" y="0px" width="18px" height="16px" viewBox="0 0 18 16" style="enable-background:new 0 0 18 16;"xml:space="preserve"><rect class="numinputhoverbottom" width="18" height="16"/><polygon class="numinputbottom" points="9,11.2 4.1,6.2 5.5,4.8 9,8.4 12.5,4.8 13.9,6.2   "/></svg>',s='<svg class="numpinput__close" x="0px" y="0px" width="18.5px" height="18px" viewBox="0 0 18.5 18" style="enable-background:new 0 0 18.5 18;" xml:space="preserve"><rect class="numpinput__close__hover" width="18.5" height="18"/></svg> <svg class="numpinput__close" x="0px" y="0px" width="18.5px" height="18px" viewBox="0 0 18.5 18" style="enable-background:new 0 0 18.5 18;" xml:space="preserve"> <path class="numpinput__close__x" d="M10.7,9l4.6,4.6L13.9,15l-4.6-4.6L4.7,15l-1.4-1.4L7.8,9L3.2,4.4L4.7,3l4.6,4.6L13.9,3l1.4,1.4L10.7,9z"/> </svg>',a=0;a<i.length;a++){
+var l=document.createElement("div");l.className+="number__spinnerdiv",l.setAtrribute,l.innerHTML=o,i[a].appendChild(l),i[a].getElementsByClassName("number__spinnerdiv")[0].getElementsByClassName("numpinput__spinner__top")[0].addEventListener("click",e(i[a])),i[a].getElementsByClassName("number__spinnerdiv")[0].getElementsByClassName("numpinput__spinner__bottom")[0].addEventListener("click",t(i[a]))}for(var a=0;a<r.length;a++){var l=document.createElement("div");l.className+="number__close",l.setAtrribute,l.innerHTML=s,r[a].appendChild(l),r[a].getElementsByClassName("number__close")[0].addEventListener("click",n(r[a]))}}(),function(){var e=document.getElementsByClassName("shorten"),t="More",n="Less",i="<div class='shorten__toggle shorter'><span class='hyperlink'>"+t+"</span><svg class='shorten__arrow' width='13' height='8' xmlns='http://www.w3.org/2000/svg'><path d='M11.2 7.8l-5-5-4.8 4.8L0 6.2 6.2 0l6.4 6.4'/></svg></div>",r=function(){for(var r=0;r<e.length;++r){e[r].classList?e[r]
 .classList.add("shorter"):e[r].className+=" shorter",e[r].insertAdjacentHTML("afterend",i);for(var o=document.querySelectorAll(".shorten__toggle"),s=0;s<o.length;s++)o[s].onclick=function(){this.previousElementSibling.classList.contains("shorter")?(this.querySelector(".hyperlink").innerHTML=n,this.previousElementSibling.classList.remove("shorter"),this.classList.remove("shorter")):(this.querySelector(".hyperlink").innerHTML=t,this.previousElementSibling.classList.add("shorter"),this.classList.add("shorter"))}}};r()}(),function(){function e(e,t,n,i){return function(r,o){Math.abs(i[1])>=Math.abs(i[0])?n.getElementsByClassName("text--input")[0].style.width=13*(Math.floor(Math.log10(Math.abs(Number(String(i[1]).replace(/[^0-9]/g,"")))))+1)+"px":n.getElementsByClassName("text--input")[0].style.width=13*(Math.floor(Math.log10(Math.abs(Number(String(i[0]).replace(/[^0-9]/g,"")))))+1)+"px",o?e.value=parseFloat(r[o]):t.value=parseFloat(r[o])}}function t(e,t,n){return function(i,r){n.noUiSlid
 er.set([Number(t.value),Number(e.value)])}}var n=document.getElementsByClassName("slider"),i=function(){for(var i=[],r=[],o=[],s=[],a=[],l=0;l<n.length;++l){n[l].classList.add("text--before");var c,u=n[l].getAttribute("start"),d=void 0;c=n[l].getAttribute("range")?JSON.parse("["+n[l].getAttribute("range")+"]"):u.indexOf(",")>-1?JSON.parse("["+u+"]"):[0,Number(u)];var p="lower";u.indexOf(",")>-1&&(u=JSON.parse("["+u+"]"),p=!0),n[l].getAttribute("step")&&(d=Number(n[l].getAttribute("step"))),noUiSlider.create(n[l],{start:u,connect:p,range:{min:c[0],max:c[1]},step:d}),u.constructor===Array?(a[l]=document.createElement("p"),a[l].innerHTML=c[0],n[l].classList.contains("slider--dark")?a[l].className="text--dark text--slider text--bottom":a[l].className="text--light text--slider text--bottom",a[l].title="Range Bottom",n[l].appendChild(a[l]),s[l]=document.createElement("p"),s[l].innerHTML=c[1],n[l].classList.contains("slider--dark")?s[l].className="text--dark text--slider text--top":s[l].cl
 assName="text--light text--slider text--top",s[l].title="Range Top",n[l].appendChild(s[l]),r[l]=document.createElement("input"),r[l].type="number",n[l].classList.contains("slider--dark")?r[l].className="text--dark text--slider text--input":r[l].className="text--light text--slider text--input",r[l].title="Range Minimum",r[l].style.width=13*(Math.floor(Math.log10(u))+1)+"px",r[l].setAttribute("touched",!1),n[l].getElementsByClassName("noUi-handle-lower")[0].appendChild(r[l]),o[l]=document.createElement("input"),o[l].type="number",n[l].classList.contains("slider--dark")?o[l].className="text--dark text--right text--input":o[l].className="text--light text--right text--input",o[l].title="Range Maximum",o[l].style.width=13*(Math.floor(Math.log10(u))+1)+"px",o[l].setAttribute("touched",!1),n[l].getElementsByClassName("noUi-handle-upper")[0].appendChild(o[l]),n[l].noUiSlider.on("update",e(o[l],r[l],n[l],c)),o[l].addEventListener("change",t(o[l],r[l],n[l])),r[l].addEventListener("change",t(o[
 l],r[l],n[l])),n[l].querySelector(".noUi-handle-upper .text--input").onclick=function(){this.select()},n[l].querySelector(".text--input").onclick=function(){this.select()},"true"==n[l].getAttribute("disabled")&&(n[l].querySelectorAll(".text--input")[0].setAttribute("tabIndex","-1"),n[l].querySelectorAll(".text--input")[1].setAttribute("tabIndex","-1"))):(a[l]=document.createElement("p"),a[l].innerHTML=c[0],n[l].classList.contains("slider--dark")?a[l].className="text--dark text--slider text--bottom":a[l].className="text--light text--slider text--bottom",a[l].title="Range Bottom",n[l].appendChild(a[l]),s[l]=document.createElement("p"),s[l].innerHTML=c[1],n[l].classList.contains("slider--dark")?s[l].className="text--dark text--slider text--top":s[l].className="text--light text--slider text--top",s[l].title="Range Top",n[l].appendChild(s[l]),i[l]=document.createElement("input"),i[l].type="number",n[l].classList.contains("slider--dark")?i[l].className="text--dark text--slider text--input
 ":i[l].className="text--light text--slider text--input",i[l].title="Range Amount Choice",i[l].style.width=13*(Math.floor(Math.log10(Math.abs(u+1)))+1)+"px",i[l].setAttribute("touched",!1),n[l].getElementsByClassName("noUi-handle-lower")[0].appendChild(i[l]),n[l].noUiSlider.on("update",e(i[l],i[l],n[l],c)),i[l].addEventListener("change",t(i[l],i[l],n[l])),n[l].querySelector(".text--input").onclick=function(){this.select()},"true"==n[l].getAttribute("disabled")&&n[l].querySelector(".text--input").setAttribute("tabIndex","-1"))}};i()}(),function(){for(var e=document.querySelectorAll(".tooltip__details"),t=0;t<e.length;t++)e[t].setAttribute("aria-hidden","true");for(var n=document.querySelectorAll(".tooltip"),t=0;t<n.length;t++)n[t].onmouseover=function(){this.querySelector(".tooltip__details").setAttribute("aria-hidden","false")},n[t].focus=function(){this.querySelector(".tooltip__details").setAttribute("aria-hidden","false")},n[t].onmouseleave=function(){this.querySelector(".tooltip__
 details").setAttribute("aria-hidden","true")},n[t].blur=function(){this.querySelector(".tooltip__details").setAttribute("aria-hidden","true")},n[t].onkeydown=function(e){return 27==e.which?(this.querySelector(".tooltip__details").setAttribute("aria-hidden","true"),e.preventDefault(),!1):void 0};for(var i=document.querySelectorAll(".tooltip--bottom"),t=0;t<i.length;t++){var r=i[t].clientHeight;i[t].style.marginBottom="-"+r+"px"}for(var o=document.querySelectorAll(".tooltip--top"),t=0;t<o.length;t++){var r=o[t].clientHeight;o[t].style.top="-"+r+"px"}for(var s=document.querySelectorAll(".tooltip--right"),t=0;t<s.length;t++){var a=s[t].parentNode.clientWidth;s[t].style.left=a+"px"}for(var l=document.querySelectorAll(".tooltip--left"),t=0;t<l.length;t++){var a=l[t].clientWidth;l[t].style.left="-"+a+"px"}}(),function(){if(window&&window.addEventListener){var e,t,n=Object.create(null),i=function(){clearTimeout(t),t=setTimeout(e,100)},r=function(){},o=function(){var e;window.MutationObserve
 r?(e=new MutationObserver(i),e.observe(document.body,{childList:!0,subtree:!0,attributes:!0}),r=function(){try{e.disconnect()}catch(t){}}):(document.body.addEventListener("DOMSubtreeModified",i,!1),r=function(){document.body.removeEventListener("DOMSubtreeModified",i,!1)})},s="http://www.w3.org/1999/xlink";e=function(){function e(){b-=1,0===b&&o()}function t(t){return function(){var n,i=document.body,r=document.createElement("x");t.onload=null,r.innerHTML=t.responseText,n=r.getElementsByTagName("svg")[0],n&&(n.style.position="absolute",n.style.width=0,n.style.height=0,i.insertBefore(n,i.firstChild)),e()}}function i(t){return function(){t.onerror=null,t.ontimeout=null,e()}}var a,l,c,u,d,p,m,h,f,g="",b=0;if(window.XMLHttpRequest&&(d=new XMLHttpRequest,d=void 0!==d.withCredentials?XMLHttpRequest:XDomainRequest||void 0),void 0!==d){for(r(),h=document.getElementsByTagName("use"),u=0;u<h.length;u+=1){try{l=h[u].getBoundingClientRect()}catch(v){l=!1}m=h[u].getAttributeNS(s,"href").split("#
 "),a=m[0],c=m[1],p=l&&0===l.left&&0===l.right,l&&0===l.width&&0===l.height&&!p?(g&&!a.length&&c&&!document.getElementById(c)&&(a=g),a.length&&(f=n[a],f!==!0&&h[u].setAttributeNS(s,"xlink:href","#"+c),void 0===f&&(f=new d,n[a]=f,f.onload=t(f),f.onerror=i(f),f.ontimeout=i(f),f.open("GET",a),f.send(),b+=1))):p||void 0!==n[a]||(n[a]=!0)}h="",b+=1,e()}},window.addEventListener("load",function a(){window.removeEventListener("load",a,!1),e()},!1)}}();
\ No newline at end of file