1/*! 2 * jQuery & Zepto Lazy - v1.7.10 3 * http://jquery.eisbehr.de/lazy/ 4 * 5 * Copyright 2012 - 2018, Daniel 'Eisbehr' Kern 6 * 7 * Dual licensed under the MIT and GPL-2.0 licenses: 8 * http://www.opensource.org/licenses/mit-license.php 9 * http://www.gnu.org/licenses/gpl-2.0.html 10 * 11 * $("img.lazy").lazy(); 12 * 13 * 24/08/2020 - Changed $.isFunction and $.isArray to their native equivalents 14 */ 15function createArray(n){for(var i=[],t=0;t<n.length;t++)i.push(n[t]);return i}function getElementArrayByClassName(n){return createArray(document.getElementsByClassName(n))}function loadProgressiveImages(n){replaceBackgroundImages(getElementArrayByClassName("progressive-background-image"),n);replaceImages(getElementArrayByClassName("progressive-image"),n)}function loadProgressiveImagesWithWebpCheck(n){typeof _webpSupported=="undefined"?check_webp_feature("alpha",function(t,i){_webpSupported=i;loadProgressiveImages(n)}):loadProgressiveImages(n)}function manualLoadProgressiveImages(n,t){replaceBackgroundImages(n,t)}function onDocumentLoaded(){loadProgressiveImages(!1)}function checkDocumentLoaded(){if(document.readyState!="loading"&&!_documentLoaded)return _documentLoaded=!0,onDocumentLoaded(),!0}function onReadyStateChange(){checkDocumentLoaded()}function check_webp_feature(n,t){var i=new Image;i.onload=function(){var r=i.width>0&&i.height>0;t(n,r)};i.onerror=function(){t(n,!1)};i.src="data:image/webp;base64,"+{lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA=="}[n]}function openChart(n,t){var f=855,s=450,r,u,o,i;document.location.href.indexOf("http://m.")>-1&&(f=screen.width);var h=(screen.width-f)/2,c=(screen.height-s)/2,e="width="+f+", height="+s;e+=", top="+c+", left="+h;e+=", directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no";r="Spreadex | Spread Betting";try{u=window.event||t;typeof u!="undefined"&&(o=$(u.target||u.srcElement).parents("tr").children(":eq(2)").text(),o&&(r="Spreadex | "+o))}catch(l){}return n=n.charAt(0)==="/"?location.origin+n:n,i=window.open("about:blank","Spreadex",e),i.document.writeln("<html>"),i.document.writeln("<head><title>"+r+"<\/title><\/head>"),i.document.writeln("<body style='margin: 0 0 0 0;'>"),i.document.writeln("<img src='"+n+"' alt='' id='chartImg'/>"),i.document.writeln("<\/body><\/html>"),i.document.close(),i.onload=function(){this.document.title=r},!1}function getParameterByName(n,t){t||(t=window.location.href);n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function scrollToSearch(){var t=getParameterByName("q"),n;t!==null&&(n=$(".market-analysis-box.search-box.not-grid"),n.length&&$("html, body").animate({scrollTop:n.offset().top-$(".navbar").height()-10},500))}function scrollToTarget(n,t){var i=$("div[id='"+n+"']");i.length&&$("html, body").stop().animate({scrollTop:i.offset().top+$(window).scrollTop()},t)}function showErrorMessage(n){var t="An error occurred.";n.responseJSON&&n.responseJSON.errorMessage&&(t=n.responseJSON.errorMessage);$(".error-message").html(t);$(".error-message").show()}function openPopupAndRedirect(n,t){window.open(n,"","directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,height=671,width=1024");t&&(window.location.href=t)}function redirect(){loginHelper.myAccountPopupUrl?loginHelper.usePopup?openPopupAndRedirect(loginHelper.myAccountPopupUrl,loginHelper.defaultRedirectUrl):window.location.href=loginHelper.myAccountPopupUrl:window.location.href=loginHelper.defaultRedirectUrl}function registerHandlers(){$(".login-form").on("submit",function(){return loginHelper.login({Username:$("#username").val(),Password:$("#password").val(),RememberUsernameInCookie:$("#chkRememberMe").is(":checked")}),!1});$(".login-form").keypress(function(n){n.which===13&&$(".login-form").submit()});$("#loginButton").on("click",function(){$(".login-form").submit()});
15$("#forgotLoginDetailsButton").on("click",function(){loginHelper.forgotLoginDetails()})}function init(){isMobileOs()&&($("body").addClass("is-touch"),changeLinksToMobile())}function getMobileOperatingSystem(){var n=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(n)?"Windows Phone":/android/i.test(n)?"Android":/iPad|iPhone|iPod/.test(n)&&!window.MSStream?"iOS":window.navigator.userAgent.toLowerCase().indexOf("macintosh")>-1&&"ontouchend"in document&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1?"iPadOS":"unknown"}function isMobileOs(){var n=document.documentElement.clientWidth<768,t=getMobileOperatingSystem(),i=t!=="unknown";return n||i}function goIfMobile(n,t){window.open(isMobileOs()?n:t,"_self")}function changeLinksToMobile(){var n=$("a[href-mobile]");n.each(function(){var n=$(this);n.attr("href",n.attr("href-mobile"))})}var _typeof,windowIsDefined,emailSignUp,spxBanner,hash,loginInit,loginHelper,removedStyles,imageAndContentResizer,mobileMenuToggle,$open,SmartBanner;(function(n,t){"use strict";function e(r,f,e,o,s){function ut(){if(it=n.devicePixelRatio>1,e=ft(e),f.delay>=0&&setTimeout(function(){d(!0)},f.delay),f.delay<0||f.combined){o.e=lt(f.throttle,function(n){n.type==="resize"&&(p=w=-1);d(n.all)});o.a=function(n){n=ft(n);e.push.apply(e,n)};o.g=function(){return e=i(e).filter(function(){return!i(this).data(f.loadedName)})};o.f=function(n){for(var i,t=0;t<n.length;t++)i=e.filter(function(){return this===n[t]}),i.length&&d(!1,i)};d();i(f.appendScroll).on("scroll."+s+" resize."+s,o.e)}}function ft(n){var v=f.defaultImage,p=f.placeholder,k=f.imageBase,s=f.srcsetAttribute,l=f.loaderAttribute,a=f._f||{},e,w;for(n=i(n).filter(function(){var n=i(this),r=nt(this);return!n.data(f.handledName)&&(n.attr(f.attribute)||n.attr(s)||n.attr(l)||a[r]!==t)}).data("plugin_"+f.name,r),e=0,w=n.length;e<w;e++){var u=i(n[e]),o=nt(n[e]),b=u.attr(f.imageBaseAttribute)||k;o===c&&b&&u.attr(s)&&u.attr(s,ct(u.attr(s),b));a[o]===t||u.attr(l)||u.attr(l,a[o]);o===c&&v&&!u.attr(h)?u.attr(h,v):o!==c&&p&&(!u.css(y)||u.css(y)==="none")&&u.css(y,"url('"+p+"')")}return n}function d(n,t){var o;if(!e.length){f.autoDestroy&&r.destroy();return}var s=t||e,w=!1,g=f.imageBase||"",k=f.srcsetAttribute,l=f.handledName;for(o=0;o<s.length;o++)if(n||t||ot(s[o])){var u=i(s[o]),a=nt(s[o]),v=u.attr(f.attribute),p=u.attr(f.imageBaseAttribute)||g,d=u.attr(f.loaderAttribute);!u.data(l)&&(!f.visibleOnly||u.is(":visible"))&&((v||u.attr(k))&&(a===c&&(p+v!==u.attr(h)||u.attr(k)!==u.attr(b))||a!==c&&p+v!==u.css(y))||d)&&(w=!0,u.data(l,!0),et(u,a,p,d))}w&&(e=i(e).filter(function(){return!i(this).data(l)}))}function et(n,t,r,u){var o,s,e,w;++g;o=function(){l("onError",n);tt();o=i.noop};l("beforeLoad",n);var d=f.attribute,nt=f.srcsetAttribute,p=f.sizesAttribute,ut=f.retinaAttribute,ft=f.removeAttribute,et=f.loadedName,ot=n.attr(ut);if(u){s=function(){ft&&n.removeAttr(f.loaderAttribute);n.data(et,!0);l(rt,n);setTimeout(tt,1);s=i.noop};n.off(v).one(v,o).one(a,s);l(u,n,function(t){t?(n.off(a),s()):(n.off(v),o())})||n.trigger(v)}else{e=i(new Image);e.one(v,o).one(a,function(){n.hide();t===c?n.attr(k,e.attr(k)).attr(b,e.attr(b)).attr(h,e.attr(h)):n.css(y,"url('"+e.attr(h)+"')");n[f.effect](f.effectTime);ft&&(n.removeAttr(d+" "+nt+" "+ut+" "+f.imageBaseAttribute),p!==k&&n.removeAttr(p));n.data(et,!0);l(rt,n);e.remove();tt()});w=(it&&ot?ot:n.attr(d))||"";e.attr(k,n.attr(p)).attr(b,n.attr(nt)).attr(h,w?r+w:null);e.complete&&e.trigger(a)}}function ot(n){var t=n.getBoundingClientRect(),r=f.scrollDirection,i=f.threshold,u=ht()+i>t.top&&-i<t.bottom,e=st()+i>t.left&&-i<t.right;return r==="vertical"?u:r==="horizontal"?e:u&&e}function st(){return p>=0?p:p=i(n).width()}function ht(){return w>=0?w:w=i(n).height()}function nt(n){return n.tagName.toLowerCase()}function ct(n,t){var r,i,u;if(t)for(r=n.split(","),n="",i=0,u=r.length;i<u;i++)n+=t+r[i].trim()+(i!==u-1?",":"");return n}function lt(n,t){var i,u=0;return function(e,o){function h(){u=+new Date;t.call(r,e)}var s=+new Date-u;i&&clearTimeout(i);s>n||!f.enableThrottle||o?h():i=setTimeout(h,n-s)}}function tt(){--g;e.length||g||l("onFinishedAll")}function l(n){return(n=f[n])?(n.apply(r,[].slice.call(arguments,1
15)),!0):!1}var g=0,p=-1,w=-1,it=!1,rt="afterLoad",a="load",v="error",c="img",h="src",b="srcset",k="sizes",y="background-image";if(f.bind==="event"||u)ut();else i(n).on(a+"."+s,ut)}function r(r,u){var o=this,h=i.extend({},o.config,u),s={},c=h.name+"-"+ ++f;return o.config=function(n,i){return i===t?h[n]:(h[n]=i,o)},o.addItems=function(n){return s.a&&s.a(i.type(n)==="string"?i(n):n),o},o.getItems=function(){return s.g?s.g():{}},o.update=function(n){return s.e&&s.e({},!n),o},o.force=function(n){return s.f&&s.f(i.type(n)==="string"?i(n):n),o},o.loadAll=function(){return s.e&&s.e({all:!0},!0),o},o.destroy=function(){return i(h.appendScroll).off("."+c,s.e),i(n).off("."+c),s={},t},e(o,h,r,s,c),h.chainable?r:o}var i=n.jQuery||n.Zepto,f=0,u=!1;i.fn.Lazy=i.fn.lazy=function(n){return new r(this,n)};i.Lazy=i.lazy=function(n,i,u){var f,s,e,h,o,c;if(typeof i=="function"&&(u=i,i=[]),typeof u=="function"){for(n=Array.isArray(n)?n:[n],i=Array.isArray(i)?i:[i],f=r.prototype.config,s=f._f||(f._f={}),e=0,h=n.length;e<h;e++)(f[n[e]]===t||typeof f[n[e]]=="function")&&(f[n[e]]=u);for(o=0,c=i.length;o<c;o++)s[i[o]]=n[0]}};r.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:n,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:t,afterLoad:t,onError:t,onFinishedAll:t};i(n).on("load",function(){u=!0})})(window); 16/*!
17 * jQuery & Zepto Lazy - iFrame Plugin - v1.5 18 * http://jquery.eisbehr.de/lazy/ 19 * 20 * Copyright 2012 - 2018, Daniel 'Eisbehr' Kern 21 * 22 * Dual licensed under the MIT and GPL-2.0 licenses: 23 * http://www.opensource.org/licenses/mit-license.php 24 * http://www.gnu.org/licenses/gpl-2.0.html 25 */ 26(function(n){n.lazy(["frame","iframe"],"iframe",function(t,i){var f=this;if(t[0].tagName.toLowerCase()==="iframe"){var r="data-src",u="data-error-detect",e=t.attr(u);e!=="true"&&e!=="1"?(t.attr("src",t.attr(r)),f.config("removeAttribute")&&t.removeAttr(r+" "+u)):n.ajax({url:t.attr(r),dataType:"html",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(n){t.html(n).attr("src",t.attr(r));f.config("removeAttribute")&&t.removeAttr(r+" "+u)},error:function(){i(!1)}})}else i(!1)})})(window.jQuery||window.Zepto); 27/*! ======================================================= 28 VERSION 10.6.1 29========================================================= */ 30_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n}; 31/*! ========================================================= 32 * bootstrap-slider.js 33 * 34 * Maintainers: 35 * Kyle Kemp 36 * - Twitter: @seiyria 37 * - Github: seiyria 38 * Rohit Kalkur 39 * - Twitter: @Rovolutionary 40 * - Github: rovolution 41 * 42 * ========================================================= 43 * 44 * bootstrap-slider is released under the MIT License 45 * Copyright (c) 2019 Kyle Kemp, Rohit Kalkur, and contributors 46 * 47 * Permission is hereby granted, free of charge, to any person 48 * obtaining a copy of this software and associated documentation 49 * files (the "Software"), to deal in the Software without 50 * restriction, including without limitation the rights to use, 51 * copy, modify, merge, publish, distribute, sublicense, and/or sell 52 * copies of the Software, and to permit persons to whom the 53 * Software is furnished to do so, subject to the following 54 * conditions: 55 * 56 * The above copyright notice and this permission notice shall be 57 * included in all copies or substantial portions of the Software. 58 * 59 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 60 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 61 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 62 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 63 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 64 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 65 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 66 * OTHER DEALINGS IN THE SOFTWARE. 67 * 68 * ========================================================= */ 69windowIsDefined=(typeof window=="undefined"?"undefined":_typeof(window))==="object",function(n){if(typeof define=="function"&&define.amd)define(["jquery"],n);else if((typeof module=="undefined"?"undefined":_typeof(module))==="object"&&module.exports){var t;try{t=require("jquery")}catch(i){t=null}module.exports=n(t)}else window&&(window.Slider=n(window.jQuery))}(function(n){var i="slider",r="bootstrapSlider",t;return windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){}),function(n){"use strict";function i(){}function r(n){function u(t){t.prototype.option||(t.prototype.option=function(t){n.isPlainObject(t)&&(this.options=n.extend(!0,this.options,t))})}function f(i,u){n.fn[i]=function(f){var c,s,l,a,e,h,o;if(typeof f=="string"){for(c=t.call(arguments,1),s=0,l=this.length;s<l;s++){if(a=this[s],e=n.data(a,i),!e){r("cannot call methods on "+i+" prior to initialization; attempted to call '"+f+"'");continue}if(!n.isFunction(e[f])||f.charAt(0)==="_"){r("no such method '"+f+"' for "+i+" instance");continue}if(h=e[f].apply(e,c),h!==undefined&&h!==e)return h}return this}return o=this.map(function(){var t=n.data(this,i);return t?(t.option(f),t._init()):(t=new u(this,f),n.data(this,i,t)),n(this)}),!o||o.length>1?o:o[0]}}if(n){var r=typeof console=="undefined"?i:function(n){console.error(n)};return n.bridget=function(n,t){u(t);f(n,t)},n.bridget}}var t=Array.prototype.slice;r(n)}(n),function(n){function o(t,i){function yt(n,t){var r="data-sli
69der-"+t.replace(/_/g,"-"),i=n.getAttribute(r);try{return JSON.parse(i)}catch(u){return i}}var r,c,o,rt,s,a,k,d,st,g,h,tt,v,y,p,ct,lt;this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null};this.ticksCallbackMap={};this.handleCallbackMap={};typeof t=="string"?this.element=document.querySelector(t):t instanceof HTMLElement&&(this.element=t);i=i?i:{};var ot=Object.keys(this.defaultOptions),at=i.hasOwnProperty("min"),vt=i.hasOwnProperty("max");for(r=0;r<ot.length;r++)c=ot[r],o=i[c],o=typeof o!="undefined"?o:yt(this.element,c),o=o!==null?o:this.defaultOptions[c],this.options||(this.options={}),this.options[c]=o;this.ticksAreValid=Array.isArray(this.options.ticks)&&this.options.ticks.length>0;this.ticksAreValid||(this.options.lock_to_ticks=!1);this.options.rtl==="auto"&&(rt=window.getComputedStyle(this.element),this.options.rtl=rt!=null?rt.direction==="rtl":this.element.style.direction==="rtl");this.options.orientation==="vertical"&&(this.options.tooltip_position==="top"||this.options.tooltip_position==="bottom")?this.options.tooltip_position=this.options.rtl?"left":"right":this.options.orientation==="horizontal"&&(this.options.tooltip_position==="left"||this.options.tooltip_position==="right")&&(this.options.tooltip_position="top");var pt=this.element.style.width,ut=!1,wt=this.element.parentNode,l,w,b,u,e;if(this.sliderElem)ut=!0;else{if(this.sliderElem=document.createElement("div"),this.sliderElem.className="slider",s=document.createElement("div"),s.className="slider-track",w=document.createElement("div"),w.className="slider-track-low",l=document.createElement("div"),l.className="slider-selection",b=document.createElement("div"),b.className="slider-track-high",u=document.createElement("div"),u.className="slider-handle min-slider-handle",u.setAttribute("role","slider"),u.setAttribute("aria-valuemin",this.options.min),u.setAttribute("aria-valuemax",this.options.max),e=document.createElement("div"),e.className="slider-handle max-slider-handle",e.setAttribute("role","slider"),e.setAttribute("aria-valuemin",this.options.min),e.setAttribute("aria-valuemax",this.options.max),s.appendChild(w),s.appendChild(l),s.appendChild(b),this.rangeHighlightElements=[],a=this.options.rangeHighlights,Array.isArray(a)&&a.length>0)for(k=0;k<a.length;k++)d=document.createElement("div"),st=a[k].class||"",d.className="slider-rangeHighlight slider-selection "+st,this.rangeHighlightElements.push(d),s.appendChild(d);if(g=Array.isArray(this.options.labelledby),g&&this.options.labelledby[0]&&u.setAttribute("aria-labelledby",this.options.labelledby[0]),g&&this.options.labelledby[1]&&e.setAttribute("aria-labelledby",this.options.labelledby[1]),!g&&this.options.labelledby&&(u.setAttribute("aria-labelledby",this.options.labelledby),e.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",r=0;r<this.options.ticks.length;r++){if(h=document.createElement("div"),h.className="slider-tick",this.options.ticks_tooltip){var ht=this._addTickListener(),bt=ht.addMouseEnter(this,h,r),kt=ht.addMouseLeave(this,h);this.ticksCallbackMap[r]={mouseEnter:bt,mouseLeave:kt}}this.ticks.push(h);this.ticksContainer.appendChild(h)}l.className+=" tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",r=0;r<this.options.ticks_labels.length;r++){var nt=document.createElement("div"),dt=this.options.ticks_positions.length===0,gt=this.options.reversed&&dt?this.options.ticks_labels.length-(r+1):r;nt.className="slider-tick-label";nt.innerHTML=this.options.ticks_labels[gt];this.tickLabels.push(nt);this.tickLabelContainer.appendChild(nt)}tt=function(n){var i=document.createElement("div"),t;i.className="tooltip-arrow";t=document.createElement("div");t.className="tooltip-inner";n.appendChild(i);n.appendChild(t)};v=document.createElement("div");v.className="tooltip tooltip-main";v.setAttribute("role","presentation");tt(v);y=document.createElement("div");y.className="tooltip tooltip-min";y.setAttribute("role","presentation");tt(y);p=document.createElement("div");p.className="tooltip tooltip-max";p.setAttribute("role","presentation");tt(p);this.sliderElem.appendChild(s);this.sliderElem.appendChild(v);this.sliderElem.appendChild(y);this.sliderElem.appendChild(p);this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer);this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer);this.sliderElem.appendChild(u);this.sliderElem.appendChild(e);wt.insertBefore(this.sliderElem,this.element);this.element.style.display="none"}if(n&&(this.$element=n(this.element),this.$sliderElem=n(this.sliderElem)),this.eventToCallbackMap={},this.sliderElem.id=this.options.id,this.touchCapable="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,this.touchX=0,this.touchY=0,this.tooltip=this.sliderElem.querySelector(".tooltip-main"),this.tooltipInner=this.tooltip.querySelector(".tooltip-inner"),this.tooltip_min=this.sliderElem.querySelector(".tooltip-min"),this.tooltipInner_min=this.tooltip_min.querySelector(".tooltip-inner"),this.tooltip_max=this.sliderElem.querySelector(".tooltip-max"),this.tooltipInner_max=this.tooltip_max.querySelector(".tooltip-inner"),f[this.options.scale]&&(this.options.scale=f[this.options.scale]),ut===!0&&(this._removeClass(this.sliderElem,"slider-horizontal"),this._removeClass(this.sliderElem,"slider-vertical"),this._removeClass(this.sliderElem,"slider-rtl"),this._removeClass(this.tooltip,"hide"),this._removeClass(this.tooltip_min,"hide"),this._removeClass(this.tooltip_max,"hide"),["left","right","top","width","height"].forEach(function(n){this._removeProperty(this.trackLow,n);this._removeProperty(this.trackSelection,n);this._removeProperty(this.trackHigh,n)},this),[this.handle1,this.handle2].forEach(function(n){this._removeProperty(n,"left");this._removeProperty(n,"right");this._removeProperty(n,"top")}
69,this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(n){this._removeProperty(n,"left");this._removeProperty(n,"right");this._removeProperty(n,"top");this._removeClass(n,"right");this._removeClass(n,"left");this._removeClass(n,"top")},this)),this.options.orientation==="vertical"?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=pt,this.options.orientation="horizontal",this.stylePos=this.options.rtl?"right":"left",this.mousePos="clientX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(vt||(this.options.max=Math.max.apply(Math,this.options.ticks)),at||(this.options.min=Math.min.apply(Math,this.options.ticks))),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this._state.value=this.options.range?[this.options.value,this.options.max]:this.options.value,this.trackLow=w||this.trackLow,this.trackSelection=l||this.trackSelection,this.trackHigh=b||this.trackHigh,this.options.selection==="none"?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):(this.options.selection==="after"||this.options.selection==="before")&&(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=u||this.handle1,this.handle2=e||this.handle2,ut===!0)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),r=0;r<this.ticks.length;r++)this._removeClass(this.ticks[r],"round triangle hide");if(ct=["round","triangle","custom"],lt=ct.indexOf(this.options.handle)!==-1,lt)for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),r=0;r<this.ticks.length;r++)this._addClass(this.ticks[r],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.touchstart,!1),this.sliderElem.addEventListener("touchmove",this.touchmove,!1)),this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),this.options.tooltip==="hide")this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else if(this.options.tooltip==="always")this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var it=this._addTickListener(),ft=it.addMouseEnter(this,this.handle1),et=it.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:ft,mouseLeave:et};ft=it.addMouseEnter(this,this.handle2);et=it.addMouseLeave(this,this.handle2);this.handleCallbackMap.handle2={mouseEnter:ft,mouseLeave:et}}else this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.showTooltip,!1),this.sliderElem.addEventListener("touchmove",this.showTooltip,!1),this.sliderElem.addEventListener("touchend",this.hideTooltip,!1));this.handle1.addEventListener("focus",this.showTooltip,!1);this.handle1.addEventListener("blur",this.hideTooltip,!1);this.handle2.addEventListener("focus",this.showTooltip,!1);this.handle2.addEventListener("blur",this.hideTooltip,!1);this.touchCapable&&(this.handle1.addEventListener("touchstart",this.showTooltip,!1),this.handle1.addEventListener("touchmove",this.showTooltip,!1),this.handle1.addEventListener("touchend",this.hideTooltip,!1),this.handle2.addEventListener("touchstart",this.showTooltip,!1),this.handle2.addEventListener("touchmove",this.showTooltip,!1),this.handle2.addEventListener("touchend",this.hideTooltip,!1))}this.options.enabled?this.enable():this.disable()}var u=void 0,e={formatInvalidInputErrorMsg:function(n){return"Invalid input value '"+n+"' passed in"},callingContextNotSliderInstance:"Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method"},f={linear:{getValue:function(n,t){return n<t.min?t.min:n>t.max?t.max:n},toValue:function(n){var e=n/100*(this.options.max-this.options.min),o=!0,i,s,r,u,t,h,c,l;if(this.options.ticks_positions.length>0){for(u=0,t=1;t<this.options.ticks_positions.length;t++)if(n<=this.options.ticks_positions[t]){i=this.options.ticks[t-1];
69r=this.options.ticks_positions[t-1];s=this.options.ticks[t];u=this.options.ticks_positions[t];break}h=(n-r)/(u-r);e=i+h*(s-i);o=!1}return c=o?this.options.min:0,l=c+Math.round(e/this.options.step)*this.options.step,f.linear.getValue(l,this.options)},toPercentage:function(n){var i,f,r,u,t,e;if(this.options.max===this.options.min)return 0;if(this.options.ticks_positions.length>0){for(u=0,t=0;t<this.options.ticks.length;t++)if(n<=this.options.ticks[t]){i=t>0?this.options.ticks[t-1]:0;r=t>0?this.options.ticks_positions[t-1]:0;f=this.options.ticks[t];u=this.options.ticks_positions[t];break}if(t>0)return e=(n-i)/(f-i),r+e*(u-r)}return 100*(n-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(n){var i=1-this.options.min,u=Math.log(this.options.min+i),r=Math.log(this.options.max+i),t=Math.exp(u+(r-u)*n/100)-i;return Math.round(t)===r?r:(t=this.options.min+Math.round((t-this.options.min)/this.options.step)*this.options.step,f.linear.getValue(t,this.options))},toPercentage:function(n){if(this.options.max===this.options.min)return 0;var t=1-this.options.min,r=Math.log(this.options.max+t),i=Math.log(this.options.min+t),u=Math.log(n+t);return 100*(u-i)/(r-i)}}};t=function(n,t){return o.call(this,n,t),this};t.prototype={_init:function(){},constructor:t,defaultOptions:{id:"",min:0,max:10,step:1,precision:0,orientation:"horizontal",value:5,range:!1,selection:"before",tooltip:"show",tooltip_split:!1,lock_to_ticks:!1,handle:"round",reversed:!1,rtl:"auto",enabled:!0,formatter:function(n){return Array.isArray(n)?n[0]+" : "+n[1]:n},natural_arrow_keys:!1,ticks:[],ticks_positions:[],ticks_labels:[],ticks_snap_bounds:0,ticks_tooltip:!1,scale:"linear",focus:!1,tooltip_position:null,labelledby:null,rangeHighlights:[]},getElement:function(){return this.sliderElem},getValue:function(){return this.options.range?this._state.value:this._state.value[0]},setValue:function(n,t,i){var u,f,r,e;
69return n||(n=0),u=this.getValue(),this._state.value=this._validateInputValue(n),f=this._applyPrecision.bind(this),this.options.range?(this._state.value[0]=f(this._state.value[0]),this._state.value[1]=f(this._state.value[1]),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value[0]=this.options.ticks[this._getClosestTickIndex(this._state.value[0])],this._state.value[1]=this.options.ticks[this._getClosestTickIndex(this._state.value[1])]),this._state.value[0]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[0])),this._state.value[1]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[1]))):(this._state.value=f(this._state.value),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value=this.options.ticks[this._getClosestTickIndex(this._state.value)]),this._state.value=[Math.max(this.options.min,Math.min(this.options.max,this._state.value))],this._addClass(this.handle2,"hide"),this._state.value[1]=this.options.selection==="after"?this.options.max:this.options.min),this._setTickIndex(),this._state.percentage=this.options.max>this.options.min?[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),this.options.step*100/(this.options.max-this.options.min)]:[0,0,100],this._layout(),r=this.options.range?this._state.value:this._state.value[0],this._setDataVal(r),t===!0&&this._trigger("slide",r),e=!1,e=Array.isArray(r)?u[0]!==r[0]||u[1]!==r[1]:u!==r,e&&i===!0&&this._trigger("change",{oldValue:u,newValue:r}),this},destroy:function(){this._removeSliderEventHandlers();this.sliderElem.parentNode.removeChild(this.sliderElem);this.element.style.display="";this._cleanUpEventCallbacksMap();this.element.removeAttribute("data");n&&(this._unbindJQueryEventHandlers(),u===i&&this.$element.removeData(u),this.$element.removeData(r))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(n,t){return this._bindNonQueryEventHandler(n,t),this},off:function(t,i){n?(this.$element.off(t,i),this.$sliderElem.off(t,i)):this._unbindNonQueryEventHandler(t,i)},getAttribute:function(n){return n?this.options[n]:this.options},setAttribute:function(n,t){return this.options[n]=t,this},refresh:function(t){var f=this.getValue();return this._removeSliderEventHandlers(),o.call(this,this.element,this.options),t&&t.useCurrentValue===!0&&this.setValue(f),n&&(u===i?(n.data(this.element,i,this),n.data(this.element,r,this)):n.data(this.element,r,this)),this},relayout:function(){return this._resize(),this},_removeTooltipListener:function(n,t){this.handle1.removeEventListener(n,t,!1);this.handle2.removeEventListener(n,t,!1)},_removeSliderEventHandlers:function(){var t,n;if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(t=this.ticksContainer.getElementsByClassName("slider-tick"),n=0;n<t.length;n++)t[n].removeEventListener("mouseenter",this.ticksCallbackMap[n].mouseEnter,!1),t[n].removeEventListener("mouseleave",this.ticksCallbackMap[n].mouseLeave,!1);this.handleCallbackMap.handle1&&this.handleCallbackMap.handle2&&(this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1))}this.handleCallbackMap=null;this.ticksCallbackMap=null;this.showTooltip&&this._removeTooltipListener("focus",this.showTooltip);this.hideTooltip&&this._removeTooltipListener("blur",this.hideTooltip);this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1);this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1);this.sliderElem.removeEventListener("mousedown",this.mousedown,!1);this.touchCapable&&(this.showTooltip&&(this.handle1.removeEventListener("touchstart",this.showTooltip,!1),this.handle1.removeEventListener("touchmove",this.showTooltip,!1),this.handle2.removeEventListener("touchstart",this.showTooltip,!1),this.handle2.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("touchend",this.hideTooltip,!1),this.handle2.removeEventListener("touchend",this.hideTooltip,!1)),this.showTooltip&&(this.sliderElem.removeEventListener("touchstart",this.showTooltip,!1),this.sliderElem.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&this.sliderElem.removeEventListener("touchend",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1));window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(n,t){this.eventToCallbackMap[n]===undefined&&(this.eventToCallbackMap[n]=[]);this.eventToCallbackMap[n].push(t)},_unbindNonQueryEventHandler:function(n,t){var r=this.eventToCallbackMap[n],i;if(r!==undefined)for(i=0;i<r.length;i++)if(r[i]===t){r.splice(i,1);break}},_cleanUpEventCallbacksMap:function(){for(var i,t=Object.keys(this.eventToCallbackMap),n=0;n<t.length;n++)i=t[n],delete this.eventToCallbackMap[i]},_showTooltip:function(){this.options.tooltip_split===!1?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none");this._state.over=!0},_hideTooltip:function(){this._state.inDrag===!1&&this._alwaysShowTooltip!==!0&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in"));this._state.over=!1},_setToolTipOnMouseOver:function(n){function t(n,t){return t?[100-n.percentage[0],i.options.range?100-n.percentage[1]:n.percentage[1]]:[n.percentage[0],n.percentage[1]]}var i=this,r=this.options.formatter(n?n.value[0]:this._state.value[0]),u=n?t(n,this.options.reversed):t(this._state,this.options.reversed);this._setText(this.tooltipInner,r);this.tooltip.style[this.stylePos]=u[0]+"%"},_copyState:function(){return{value:[this._state.value[0],this._state.value[1]],enabled:this._state.enabled,offset:this._state.offset,size:this._state.size,percentage:[this._state.percentage[0],this._state.percentage[1],this._state.percentage[2]],inDrag:this._state.inDrag,over:this._state.over,dragged:this._state.dragged,keyCtrl:this._state.keyCtrl}},_addTickListener:function(){return{addMouseEnter:function(n,t,i){var r=function(){var r=n._copyState(),u=t===n.handle1?r.value[0]:r.value[1],f=void 0;i!==undefined?(u=n.options.ticks[i],f=n.options.ticks_positions.length>0&&n.options.ticks_positions[i]||n._toPercentage(n.options.ticks[i])):f=n._toPercentage(u);r.value[0]=u;r.percentage[0]=f;n._setToolTipOnMouseOver(r);n._showTooltip()};return t.addEventListener("mouseenter",r,!1),r},addMouseLeave:function(n,t){var i=function(){n._hideTooltip()};return t.addEventListener("mouseleave",i,!1),i}}},_layout:function(){var n,f,r,o,s,y,u,p,h,c,e,t,i,l,w,b,a,v;if(n=this.options.reversed?[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=n[0]+"%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),f=this.options.formatter(this._state.value[0]),isNaN(f)?this.handle1.setAttribute("aria-valuetext",f):this.handle1.removeAttribute("aria-valuetext"),this.handle2.style[this.stylePos]=n[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),f=this.options.formatter(this._state.value[1]),isNaN(f)?this.handle2.setAttribute("aria-valuetext",f):this.handle2.removeAttribute("aria-valuetext"),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(r=0;r<this.options.rangeHighlights.length;r++)o=this._toPercentage(this.options.rangeHighlights[r].start),s=this._toPercentage(this.options.rangeHighlights[r].end),this.options.reversed&&(y=100-s,s=100-o,o=y),u=this._createHighlightRange(o,s),u?this.options.orientation==="vertical"?(this.rangeHighlightElements[r].style.top=u.start+"%",this.rangeHighlightElements[r].style.height=u.size+"%"):(this.options.rtl?this.rangeHighlightElements[r].style.right=u.start+"%":this.rangeHighlightElements[r].style.left=u.start+"%",this.rangeHighlightElements[r].style.width=u.size+"%"):this.rangeHighlightElements[r].style.display="none";if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){if(p=this.options.orientation==="vertical"?"height":"width",h=this.options.orientation==="vertical"?"marginTop":this.options.rtl?"marginRight":"marginLeft",c=this._state.size/(this.options.ticks.length-1),this.tickLabelContainer){if(e=0,this.options.ticks_positions.length===0)this.options.orientation!=="vertical"&&(this.tickLabelContainer.style[h]=-c/2+"px"),e=this.tickLabelContainer.offsetHeight;else for(t=0;t<this.tickLabelContainer.childNodes.length;t++)this.tickLabelContainer.childNodes[t].offsetHeight>e&&(e=this.tickLabelContainer.childNodes[t].offsetHeight);this.options.orientation==="horizontal"&&(this.sliderElem.style.marginBottom=e+"px")}for(t=0;t<this.options.ticks.length;t++)i=this.options.ticks_positions[t]||this._toPercentage(this.options.ticks[t]),this.options.reversed&&(i=100-i),this.ticks[t].style[this.stylePos]=i+"%",this._removeClass(this.ticks[t],"in-selection"),this.options.range?i>=n[0]&&i<=n[1]&&this._addClass(this.ticks[t],"in-selection"):this.options.selection==="after"&&i>=n[0]?this._addClass(this.ticks[t],"in-selection"):this.options.selection==="before"&&i<=n[0]&&this._addClass(this.ticks[t],"in-selection"),this.tickLabels[t]&&(this.tickLabels[t].style[p]=c+"px",this.options.orientation!=="vertical"&&this.options.ticks_positions[t]!==undefined?(this.tickLabels[t].style.position="absolute",this.tickLabels[t].style[this.stylePos]=i+"%",this.tickLabels[t].style[h]=-c/2+"px"):this.options.orientation==="vertical"&&(this.options.rtl?this.tickLabels[t].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[t].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[h]=this.sliderElem.offsetWidth/-2+"px"),this._removeClass(this.tickLabels[t],"label-in-selection label-is-selection"),this.options.range?i>=n[0]&&i<=n[1]&&(this._addClass(this.tickLabels[t],"label-in-selection"),(i===n[0]||n[1])&&this._addClass(this.tickLabels[t],"label-is-selection")):(this.options.selection==="after"&&i>=n[0]?this._addClass(this.tickLabels[t],"label-in-selection"):this.options.selection==="before"&&i<=n[0]&&this._addClass(this.tickLabels[t],"label-in-selection"),i===n[0]&&this._addClass(this.tickLabels[t],"label-is-selection")))}this.options.range?(l=this.options.formatter(this._state.value),this._setText(this.tooltipInner,l),this.tooltip.style[this.stylePos]=(n[1]+n[0])/2+"%",w=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner_min,w),b=this.options.formatter(this._state.value[1]),this._setText(this.tooltipInner_max,b),this.tooltip_min.style[this.stylePos]=n[0]+"%",this.tooltip_max.style[this.stylePos]=n[1]+"%"):(l=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,l),this.tooltip.style[this.stylePos]=n[0]+"%");this.options.orientation==="vertical"?(this.trackLow.style.top="0",this.trackLow.style.height=Math.min(n[0],n[1])+"%",this.trackSelection.style.top=Math.min(n[0],n[1])+"%",this.trackSelection.style.height=Math.abs(n[0]-n[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(n[0],n[1])-Math.abs(n[0]-n[1])+"%"):(this.stylePos==="right"?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(n[0],n[1])+"%",this.stylePos==="right"?this.trackSelection.style.right=Math.min(n[0],n[1])+"%":this.trackSelection.style.left=Math.min(n[0],n[1])+"%",this.trackSelection.style.width=Math.abs(n[0]-n[1])+"%",this.stylePos==="right"?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(n[0],n[1])-Math.abs(n[0]-n[1])+"%",a=this.tooltip_min.getBoundingClientRect(),v=this.tooltip_max.getBoundingClientRect(),this.options.tooltip_position==="bottom"?a.r
69ight>v.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):a.right>v.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top=this.tooltip_min.style.top))},_createHighlightRange:function(n,t){return this._isHighlightRange(n,t)?n>t?{start:t,size:n-t}:{start:n,size:t-n}:null},_isHighlightRange:function(n,t){return 0<=n&&n<=100&&0<=t&&t<=100?!0:!1},_resize:function(){this._state.offset=this._offset(this.sliderElem);this._state.size=this.sliderElem[this.sizePos];this._layout()},_removeProperty:function(n,t){n.style.removeProperty?n.style.removeProperty(t):n.style.removeAttribute(t)},_mousedown:function(n){var t,r,u,i;return this._state.enabled?(n.preventDefault&&n.preventDefault(),this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],t=this._getPercentage(n),this.options.range?(r=Math.abs(this._state.percentage[0]-t),u=Math.abs(this._state.percentage[1]-t),this._state.dragged=r<u?0:1,this._adjustPercentageForRangeSliders(t)):this._state.dragged=0,this._state.percentage[this._state.dragged]=t,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),this.mousemove&&document.removeEventListener("mousemove",this.mousemove,!1),this.mouseup&&document.removeEventListener("mouseup",this.mouseup,!1),this.mousemove=this._mousemove.bind(this),this.mouseup=this._mouseup.bind(this),this.touchCapable&&(document.addEventListener("touchmove",this.mousemove,!1),document.addEventListener("touchend",this.mouseup,!1)),document.addEventListener("mousemove",this.mousemove,!1),document.addEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!0,i=this._calculateValue(),this._trigger("slideStart",i),this.setValue(i,!1,!0),n.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0):!1},_touchstart:function(n){this._mousedown(n)},_triggerFocusOnHandle:function(n){n===0&&this.handle1.focus();n===1&&this.handle2.focus()},_keydown:function(n,t){var i,r,u,e,o,s;if(!this._state.enabled)return!1;switch(t.keyCode){case 37:case 40:i=-1;break;case 39:case 38:i=1}if(i){if(this.options.natural_arrow_keys){var h=this.options.orientation==="horizontal",c=this.options.orientation==="vertical",l=this.options.rtl,f=this.options.reversed;h?l?f||(i=-i):f&&(i=-i):c&&(f||(i=-i))}return this.ticksAreValid&&this.options.lock_to_ticks?(u=void 0,u=this.options.ticks.indexOf(this._state.value[n]),u===-1&&(u=0,window.console.warn("(lock_to_ticks) _keydown: index should not be -1")),u+=i,u=Math.max(0,Math.min(this.options.ticks.length-1,u)),r=this.options.ticks[u]):r=this._state.value[n]+i*this.options.step,e=this._toPercentage(r),this._state.keyCtrl=n,this.options.range?(this._adjustPercentageForRangeSliders(e),o=this._state.keyCtrl?this._state.value[0]:r,s=this._state.keyCtrl?r:this._state.value[1],r=[Math.max(this.options.min,Math.min(this.options.max,o)),Math.max(this.options.min,Math.min(this.options.max,s))]):r=Math.max(this.options.min,Math.min(this.options.max,r)),this._trigger("slideStart",r),this.setValue(r,!0,!0),this._trigger("slideStop",r),this._pauseEvent(t),delete this._state.keyCtrl,!1}},_pauseEvent:function(n){n.stopPropagation&&n.stopPropagation();n.preventDefault&&n.preventDefault();n.cancelBubble=!0;n.returnValue=!1},_mousemove:function(n){var t,i;return this._state.enabled?(t=this._getPercentage(n),this._adjustPercentageForRangeSliders(t),this._state.percentage[this._state.dragged]=t,i=this._calculateValue(!0),this.setValue(i,!0,!0),!1):!1},_touchmove:function(n){n.changedTouches!==undefined&&n.preventDefault&&n.preventDefault()},_adjustPercentageForRangeSliders:function(n){var t,i;this.options.range&&(t=this._getNumDigitsAfterDecimalPlace(n),t=t?t-1:0,i=this._applyToFixedAndParseFloat(n,t),this._state.dragged===0&&this._applyToFixedAndParseFloat(this._state.percentage[1],t)<i?(this._state.percentage[0]=this._state.percentage[1],this._state.dragged=1):this._state.dragged===1&&this._applyToFixedAndParseFloat(this._state.percentage[0],t)>i?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):this._state.keyCtrl===0&&this._toPercentage(this._state.value[1])<n?(this._state.percentage[0]=this._state.percentage[1],this._state.keyCtrl=1,this.handle2.focu
69s()):this._state.keyCtrl===1&&this._toPercentage(this._state.value[0])>n&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus()))},_mouseup:function(n){var t,i;return this._state.enabled?(t=this._getPercentage(n),this._adjustPercentageForRangeSliders(t),this._state.percentage[this._state.dragged]=t,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,this._state.over===!1&&this._hideTooltip(),i=this._calculateValue(!0),this.setValue(i,!1,!0),this._trigger("slideStop",i),this._state.dragged=null,!1):!1},_setValues:function(n,t){var i=0===n?0:100;this._state.percentage[n]!==i&&(t.data[n]=this._toValue(this._state.percentage[n]),t.data[n]=this._applyPrecision(t.data[n]))},_calculateValue:function(n){var t={};return this.options.range?(t.data=[this.options.min,this.options.max],this._setValues(0,t),this._setValues(1,t),n&&(t.data[0]=this._snapToClosestTick(t.data[0]),t.data[1]=this._snapToClosestTick(t.data[1]))):(t.data=this._toValue(this._state.percentage[0]),t.data=parseFloat(t.data),t.data=this._applyPrecision(t.data),n&&(t.data=this._snapToClosestTick(t.data))),t.data},_snapToClosestTick:function(n){for(var r,t=[n,Infinity],i=0;i<this.options.ticks.length;i++)r=Math.abs(this.options.ticks[i]-n),r<=t[1]&&(t=[this.options.ticks[i],r]);return t[1]<=this.options.ticks_snap_bounds?t[0]:n},_applyPrecision:function(n){var t=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return this._applyToFixedAndParseFloat(n,t)},_getNumDigitsAfterDecimalPlace:function(n){var t=(""+n).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},_applyToFixedAndParseFloat:function(n,t){var i=n.toFixed(t);return parseFloat(i)},_getPercentage:function(n){var t;this.touchCapable&&(n.type==="touchstart"||n.type==="touchmove"||n.type==="touchend")&&(n=n.changedTouches[0]);var r=n[this.mousePos],u=this._state.offset[this.stylePos],i=r-u;return this.stylePos==="right"&&(i=-i),t=i/this._state.size*100,t=Math.round(t/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(t=100-t),Math.max(0,Math.min(100,t))},_validateInputValue:function(n){if(isNaN(+n)){if(Array.isArray(n))return this._validateArray(n),n;throw new Error(e.formatInvalidInputErrorMsg(n));}else return+n},_validateArray:function(n){for(var i,t=0;t<n.length;t++)if(i=n[t],typeof i!="number")throw new Error(e.formatInvalidInputErrorMsg(i));},_setDataVal:function(n){this.element.setAttribute("data-value",n);this.element.setAttribute("value",n);this.element.value=n},_trigger:function(t,i){var r,u,f;if(i=i||i===0?i:undefined,r=this.eventToCallbackMap[t],r&&r.length)for(u=0;u<r.length;u++)f=r[u],f(i);n&&this._triggerJQueryEvent(t,i)},_triggerJQueryEvent:function(n,t){var i={type:n,value:t};this.$element.trigger(i);this.$sliderElem.trigger(i)},_unbindJQueryEventHandlers:function(){this.$element.off();this.$sliderElem.off()},_setText:function(n,t){typeof n.textContent!="undefined"?n.textContent=t:typeof n.innerText!="undefined"&&(n.innerText=t)},_removeClass:function(n,t){for(var f,e,u=t.split(" "),i=n.className,r=0;r<u.length;r++)f=u[r],e=new RegExp("(?:\\s|^)"+f+"(?:\\s|$)"),i=i.replace(e," ");n.className=i.trim()},_addClass:function(n,t){for(var u=t.split(" "),i=n.className,r=0;r<u.length;r++){var f=u[r],e=new RegExp("(?:\\s|^)"+f+"(?:\\s|$)"),o=e.test(i);o||(i+=" "+f)}n.className=i.trim()},_offsetLeft:function(n){return n.getBoundingClientRect().left},_offsetRight:function(n){return n.getBoundingClientRect().right},_offsetTop:function(n){for(var t=n.offsetTop;(n=n.offsetParent)&&!isNaN(n.offsetTop);)t+=n.offsetTop,n.tagName!=="BODY"&&(t-=n.scrollTop);return t},_offset:function(n){return{left:this._offsetLeft(n),right:this._offsetRight(n),top:this._offsetTop(n)}},_css:function(t,i,r){if(n)n.style(t,i,r);else{var u=i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(n,t){return t.toUpperCase()});t.style[u]=r}},_toValue:function(n){return this.options.scale.toValue.apply(this,[n])},_toPercentage:function(n){return this.options.scale.toPercentage.apply(this,[n])},_setTooltipPosition:function(){var n=[this.tooltip,this.tooltip_min,this.tooltip_max],t,i;this.options.orientation==="vertical"?(t=this.options.tooltip_position?this.options.tooltip_position:this.options.rtl?"left":"right",i=t==="left"?"right":"left",n.forEac
69h(function(n){this._addClass(n,t);n.style[i]="100%"}.bind(this))):this.options.tooltip_position==="bottom"?n.forEach(function(n){this._addClass(n,"bottom");n.style.top="22px"}.bind(this)):n.forEach(function(n){this._addClass(n,"top");n.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))},_getClosestTickIndex:function(n){for(var i,r=Math.abs(n-this.options.ticks[0]),u=0,t=0;t<this.options.ticks.length;++t)i=Math.abs(n-this.options.ticks[t]),i<r&&(r=i,u=t);return u},_setTickIndex:function(){this.ticksAreValid&&(this._state.tickIndex=[this.options.ticks.indexOf(this._state.value[0]),this.options.ticks.indexOf(this._state.value[1])])}};n&&n.fn&&(n.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead."),u=r):(n.bridget(i,t),u=i),n.bridget(r,t),n(function(){n("input[data-provide=slider]")[u]()}))}(n),t}); 70/*! jQuery UI - v1.12.1 - 2019-06-20 71* http://jqueryui.com 72* Includes: widget.js, form-reset-mixin.js, keycode.js, labels.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/spinner.js 73* Copyright jQuery Foundation and other contributors; Licensed MIT */ 74(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)})(function(n){function t(n){return function(){var t=this.element.val();n.apply(this,arguments);this._refresh();t!==this.element.val()&&this._trigger("change")}}var f,r,i,e,o,s,h,c,l,u,a,v,y,p,w;n.ui=n.ui||{};f=n.ui.version="1.12.1"; 75/*! 76 * jQuery UI Widget 1.12.1 77 * http://jqueryui.com 78 * 79 * Copyright jQuery Foundation and other contributors 80 * Released under the MIT license. 81 * http://jquery.org/license 82 */ 83r=0;i=Array.prototype.slice;n.cleanData=function(t){return function(i){for(var r,u,f=0;(u=i[f])!=null;f++)try{r=n._data(u,"events");r&&r.remove&&n(u).triggerHandler("remove")}catch(e){}t(i)}}(n.cleanData);n.widget=function(t,i,r){var f,u,o,h={},e=t.split(".")[0],s;return t=t.split(".")[1],s=e+"-"+t,r||(r=i,i=n.Widget),n.isArray(r)&&(r=n.extend.apply(null,[{}].concat(r))),n.expr[":"][s.toLowerCase()]=function(t){return!!n.data(t,s)},n[e]=n[e]||{},f=n[e][t],u=n[e][t]=function(n,t){if(!this._createWidget)return new u(n,t);arguments.length&&this._createWidget(n,t)},n.extend(u,f,{version:r.version,_proto:n.extend({},r),_childConstructors:[]}),o=new i,o.options=n.widget.extend({},o.options),n.each(r,function(t,r){if(!n.isFunction(r)){h[t]=r;return}h[t]=function(){function n(){return i.prototype[t].apply(this,arguments)}function u(n){return i.prototype[t].apply(this,n)}return function(){var i=this._super,f=this._superApply,t;return this._super=n,this._superApply=u,t=r.apply(this,arguments),this._super=i,this._superApply=f,t}}()}),u.prototype=n.widget.extend(o,{widgetEventPrefix:f?o.widgetEventPrefix||t:t},h,{constructor:u,namespace:e,widgetName:t,widgetFullName:s}),f?(n.each(f._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,u,i._proto)}),delete f._childConstructors):i._childConstructors.push(u),n.widget.bridge(t,u),u};n.widget.extend=function(t){for(var e=i.call(arguments,1),f=0,o=e.length,r,u;f<o;f++)for(r in e[f])u=e[f][r],e[f].hasOwnProperty(r)&&u!==undefined&&(t[r]=n.isPlainObject(u)?n.isPlainObject(t[r])?n.widget.extend({},t[r],u):n.widget.extend({},u):u);return t};n.widget.bridge=function(t,r){var u=r.prototype.widgetFullName||t;n.fn[t]=function(f){var s=typeof f=="string",o=i.call(arguments,1),e=this;return s?this.length||f!=="instance"?this.each(function(){var i,r=n.data(this,u);return f==="instance"?(e=r,!1):r?!n.isFunction(r[f])||f.charAt(0)==="_"?n.error("no such method '"+f+"' for "+t+" widget instance"):(i=r[f].apply(r,o),i!==r&&i!==undefined?(e=i&&i.jquery?e.pushStack(i.get()):i,!1):void 0):n.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+f+"'")}):e=undefined:(o.length&&(f=n.widget.extend.apply(null,[f].concat(o))),this.each(function(){var t=n.data(this,u);t?(t.option(f||{}),t._init&&t._init()):n.data(this,u,new r(f,this))})),e}};n.Widget=function(){};n.Widget._childConstructors=[];n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0];this.element=n(i);this.uuid=r++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=n();this.hoverable=n();this.focusable=n();this.classesElementLookup={};i!==this&&(n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow));this.options=n.widget.extend({},this.options,this._getCreateOptions(),t);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){var t=this;this._destroy();n.each(this.classesElementLookup,function(n,i){t._removeClass(i,n)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:n.noop,widget:function(){return this.element},option:function(t,i){var e=t,r,u,f;if(arguments.length===0)return n.widget.extend({},this.options);if(typeof t=="string")if(e={},r=t.split("."),t=r.shift(),r.length){for(u=e[t]=n.widget.extend({},this.options[t]),f=0;f<r.length-1;f++)u[r[f]]=u[r[f]]||{},u=u[r[f]];if(t=r.pop(),arguments.length===1)return u[t]===undefined?null:u[t];u[t]=i}else{if(arguments.length===1)return this.options[t]===undefined?null:this.options[t];e[t]=i}return this._setOptions(e),this},_setOptions:function(n){for(var t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return n==="classes"&&this._setOptionClasses(t),this.options[n]=t,n==="disabled"&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,u,r;for(i in t)(r=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&r&&r.length)&&(u=n(r.get()),this._removeClass(r,i),u.addClass(this._classes({element:u,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(n){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!n);n&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function u(u,f){for(var o,e=0;e<u.length;e++)o=r.classesElementLookup[u[e]]||n(),o=t.add?n(n.unique(o.get().concat(t.element.get()))):n(o.not(t.element).get()),r.classesElementLookup[u[e]]=o,i.push(u[e]),f&&t.classes[u[e]]&&i.push(t.classes[u[e]])}var i=[],r=this;return t=n.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&u(t.keys.match(/\S+/g)||[],!0),t.extra&&u(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;n.each(i.classesElementLookup,function(r,u){n.inArray(t.target,u)!==-1&&(i.classesElementLookup[r]=n(u.not(t.target).get()))})},_removeClass:function(n,t,i){return this._toggleClass(n,t,i,!1)},_addClass:function(n,t,i){return this._toggleClass(n,t,i,!0)},_toggleClass:function(n,t,i,r){r=typeof r=="boolean"?r:i;var u=typeof n=="string"||n===null,f={extra:u?t:i,keys:u?n:t,element:u?this.element:n,add:r};return f.element.toggleClass(this._classes(f),r),this},_on:function(t,i,r){var f,u=this;typeof t!="boolean"&&(r=i,i=t,t=!1);r?(i=f=n(i),this.bindings=this.bindings.add(i)):(r=i,i=this.element,f=this.widget());n.each(r,function(r,e){function o(){if(t||u.options.disabled!==!0&&!n(this).hasClass("ui-state-disabled"))return(typeof e=="string"?u[e]:e).apply(u,arguments)}typeof e!="string"&&(o.guid=e.guid=e.guid||o.guid||n.guid++);var s=r.match(/^([\w:-]*)\s*(.*)$/),h=s[1]+u.eventNamespace,c=s[2];if(c)f.on(h,c,o);else i.on(h,o)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;t.off(i).off(i);this.bindings=n(this.bindings.not(t).get());this.focusable=n(this.focusable.not(t).get());this.hoverable=n(this.hoverable.not(t).get())},_delay:function(n,t){function r(){return(typeof n=="string"?i[n]:n).apply(i,arguments)}var i=this;return setTimeout(r,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){this._addClass(n(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(n(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){this._addClass(n(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(n(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,r){var u,f,e=this.options[t];if(r=r||{},i=n.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],f=i.originalEvent,f)for(u in f)u in i||(i[u]=f[u]);
83return this.element.trigger(i,r),!(n.isFunction(e)&&e.apply(this.element[0],[i].concat(r))===!1||i.isDefaultPrevented())}};n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){typeof u=="string"&&(u={effect:u});var o,e=u?u===!0||typeof u=="number"?i:u.effect||i:t;u=u||{};typeof u=="number"&&(u={duration:u});o=!n.isEmptyObject(u);u.complete=f;u.delay&&r.delay(u.delay);o&&n.effects&&n.effects.effect[e]?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t]();f&&f.call(r[0]);i()})}});e=n.widget;o=n.fn.form=function(){return typeof this[0].form=="string"?this.closest("form"):n(this[0].form)}; 84/*! 85 * jQuery UI Form Reset Mixin 1.12.1 86 * http://jqueryui.com 87 * 88 * Copyright jQuery Foundation and other contributors 89 * Released under the MIT license. 90 * http://jquery.org/license 91 */ 92s=n.ui.formResetMixin={_formResetHandler:function(){var t=n(this);setTimeout(function(){var i=t.data("ui-form-reset-instances");n.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var n=this.form.data("ui-form-reset-instances")||[];if(!n.length)this.form.on("reset.ui-form-reset",this._formResetHandler);n.push(this);this.form.data("ui-form-reset-instances",n)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(n.inArray(this,t),1);t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}; 93/*! 94 * jQuery UI Keycode 1.12.1 95 * http://jqueryui.com 96 * 97 * Copyright jQuery Foundation and other contributors 98 * Released under the MIT license. 99 * http://jquery.org/license 100 */ 101h=n.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};c=n.ui.escapeSelector=function(){var n=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(t){return t.replace(n,"\\$1")}}(); 102/*! 103 * jQuery UI Labels 1.12.1 104 * http://jqueryui.com 105 * 106 * Copyright jQuery Foundation and other contributors 107 * Released under the MIT license. 108 * http://jquery.org/license 109 */ 110l=n.fn.labels=function(){var t,r,u,i,f;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(i=this.eq(0).parents("label"),u=this.attr("id"),u&&(t=this.eq(0).parents().last(),f=t.add(t.length?t.siblings():this.siblings()),r="label[for='"+n.ui.escapeSelector(u)+"']",i=i.add(f.find(r).addBack(r))),this.pushStack(i))}; 111/*! 112 * jQuery UI Controlgroup 1.12.1 113 * http://jqueryui.com 114 * 115 * Copyright jQuery Foundation and other contributors 116 * Released under the MIT license. 117 * http://jquery.org/license 118 */ 119u=/ui-corner-([a-z]){2,6}/g;a=n.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var t=this,i=[];n.each(this.options.items,function(r,u){var f,e={};if(u){if(r==="controlgroupLabel"){f=t.element.find(u);f.each(function(){var t=n(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'><\/span>")});t._addClass(f,null,"ui-widget ui-widget-content ui-state-default");i=i.concat(f.get());return}n.fn[r]&&(e=t["_"+r+"Options"]?t["_"+r+"Options"]("middle"):{classes:{}},t.element.find(u).each(function(){var u=n(this),f=u[r]("instance"),o=n.widget.extend({},e),s;r==="button"&&u.parent(".ui-spinner").length||(f||(f=u[r]()[r]("instance")),f&&(o.classes=t._resolveClassesValues(o.classes,f)),u[r](o),s=u[r]("widget"),n.data(s[0],"ui-controlgroup-data",f?f:u[r]("instance")),i.push(s[0]))}))}});this.childWidgets=n(n.unique(i));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var r=n(this),i=r.data("ui-controlgroup-data");i&&i[t]&&i[t]()})},_updateCornerClass:function(n,t){var i=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(n,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all");this._addClass(n,null,i)},_buildSimpleOptions:function(n,t){var i=this.options.direction==="vertical",r={classes:{}};return r.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[n],r},_spinnerOptions:function(n){var t=this._buildSimpleOptions(n,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(n){return this._buildSimpleOptions(n,"ui-button")},_checkboxradioOptions:function(n){return this._buildSimpleOptions(n,"ui-checkboxradio-label")},_selectmenuOptions:function(n){var t=this.options.direction==="vertical";
119return{width:t?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[n]}},_resolveClassesValues:function(t,i){var r={};return n.each(t,function(f){var e=i.options.classes[f]||"";e=n.trim(e.replace(u,""));r[f]=(e+" "+t[f]).replace(/\s+/g," ")}),r},_setOption:function(n,t){if(n==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(n,t),n==="disabled"){this._callChildMethod(t?"disable":"enable");return}this.refresh()},refresh:function(){var t,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);this.options.direction==="horizontal"&&this._addClass(null,"ui-helper-clearfix");this._initWidgets();t=this.childWidgets;this.options.onlyVisible&&(t=t.filter(":visible"));t.length&&(n.each(["first","last"],function(n,r){var u=t[r]().data("ui-controlgroup-data"),f;u&&i["_"+u.widgetName+"Options"]?(f=i["_"+u.widgetName+"Options"](t.length===1?"only":r),f.classes=i._resolveClassesValues(f.classes,u),u.element[u.widgetName](f)):i._updateCornerClass(t[r](),r)}),this._callChildMethod("refresh"))}}); 120/*! 121 * jQuery UI Checkboxradio 1.12.1 122 * http://jqueryui.com 123 * 124 * Copyright jQuery Foundation and other contributors 125 * Released under the MIT license. 126 * http://jquery.org/license 127 */ 128n.widget("ui.checkboxradio",[n.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,i,u=this,r=this._super()||{};return this._readType(),i=this.element.labels(),this.label=n(i[i.length-1]),this.label.length||n.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){u.originalLabel+=this.nodeType===3?n(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),t=this.element[0].disabled,t!=null&&(r.disabled=t),r},_create:function(){var n=this.element[0].checked;this._bindFormResetHandler();this.options.disabled==null&&(this.options.disabled=this.element[0].disabled);this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");this.type==="radio"&&this._addClass(this.label,"ui-checkboxradio-radio-label");this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel);this._enhance();n&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover"));this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;t==="input"&&/radio|checkbox/.test(this.type)||n.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t,i=this.element[0].name,r="input[name='"+n.ui.escapeSelector(i)+"']";return i?(t=this.form.length?n(this.form[0].elements).filter(r):n(r).filter(function(){return n(this).form().length===0}),t.not(this.element)):n([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t);this.options.icon&&this.type==="checkbox"&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t);this.type==="radio"&&this._getRadioGroup().each(function(){var t=n(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler();
128this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(n,t){if(n!=="label"||t){if(this._super(n,t),n==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",t);this.element[0].disabled=t;return}this.refresh()}},_updateIcon:function(t){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=n("<span>"),this.iconSpace=n("<span> <\/span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(i+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==undefined&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var n=this.label.contents().not(this.element[0]);this.icon&&(n=n.not(this.icon[0]));this.iconSpace&&(n=n.not(this.iconSpace[0]));n.remove();this.label.append(this.options.label)},refresh:function(){var n=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(n);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",n);this.options.label!==null&&this._updateLabel();t!==this.options.disabled&&this._setOptions({disabled:t})}}]);v=n.ui.checkboxradio; 129/*! 130 * jQuery UI Button 1.12.1 131 * http://jqueryui.com 132 * 133 * Copyright jQuery Foundation and other contributors 134 * Released under the MIT license. 135 * http://jquery.org/license 136 */ 137n.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var n,t=this._super()||{};return this.isInput=this.element.is("input"),n=this.element[0].disabled,n!=null&&(t.disabled=n),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0);this.options.disabled==null&&(this.options.disabled=this.element[0].disabled||!1);this.hasTitle=!!this.element.attr("title");this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label));this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);this._enhance();this.element.is("a")&&this._on({keyup:function(t){t.keyCode===n.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button");this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title");this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,i){var u=t!=="iconPosition",r=u?this.options.iconPosition:i,f=r==="top"||r==="bottom";this.icon?u&&this._removeClass(this.icon,null,this.options.icon):(this.icon=n("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only"));u&&this._addClass(this.icon,null,i);this._attachIcon(r);f?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
137pace||(this.iconSpace=n("<span> <\/span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role");this.icon&&this.icon.remove();this.iconSpace&&this.iconSpace.remove();this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(n){this.icon[/^(?:end|bottom)/.test(n)?"before":"after"](this.iconSpace)},_attachIcon:function(n){this.element[/^(?:end|bottom)/.test(n)?"append":"prepend"](this.icon)},_setOptions:function(n){var t=n.showLabel===undefined?this.options.showLabel:n.showLabel,i=n.icon===undefined?this.options.icon:n.icon;t||i||(n.showLabel=!0);this._super(n)},_setOption:function(n,t){n==="icon"&&(t?this._updateIcon(n,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove()));n==="iconPosition"&&this._updateIcon(n,t);n==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip());n==="label"&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition))));this._super(n,t);n==="disabled"&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t,t&&this.element.blur())},refresh:function(){var n=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");n!==this.options.disabled&&this._setOptions({disabled:n});this._updateTooltip()}});n.uiBackCompat!==!1&&(n.widget("ui.button",n.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text);!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel);!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)?this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon);this._super()},_setOption:function(n,t){if(n==="text"){this._super("showLabel",t);return}n==="showLabel"&&(this.options.text=t);n==="icon"&&(this.options.icons.primary=t);n==="icons"&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end")));this._superApply(arguments)}}),n.fn.button=function(t){return function(){return!this.length||this.length&&this[0].tagName!=="INPUT"||this.length&&this[0].tagName==="INPUT"&&this.attr("type")!=="checkbox"&&this.attr("type")!=="radio"?t.apply(this,arguments):(n.ui.checkboxradio||n.error("Checkboxradio widget missing"),arguments.length===0)?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments)}}(n.fn.button),n.fn.buttonset=function(){return(n.ui.controlgroup||n.error("Controlgroup widget missing"),arguments[0]==="option"&&arguments[1]==="items"&&arguments[2])?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):arguments[0]==="option"&&arguments[1]==="items"?this.controlgroup.apply(this,[arguments[0],"items.button"]):(typeof arguments[0]=="object"&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});y=n.ui.button;p=n.ui.safeActiveElement=function(n){var t;try{t=n.activeElement}catch(i){t=n.body}return t||(t=n.body),t.nodeName||(t=n.body),t}; 138/*! 139 * jQuery UI Spinner 1.12.1 140 * http://jqueryui.com 141 * 142 * Copyright jQuery Foundation and other contributors 143 * Released under the MIT license. 144 * http://jquery.org/license 145 */ 146n.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);this.value()!==""&&this._value(this.element.val(),!0);this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t=this._super(),i=this.element;return n.each(["min","max","step"],function(n,r){var u=i.attr(r);u!=null&&u.length&&(t[r]=u)}),t}
146,_events:{keydown:function(n){this._start(n)&&this._keydown(n)&&n.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(n){if(this.cancelBlur){delete this.cancelBlur;return}this._stop();this._refresh();this.previous!==this.element.val()&&this._trigger("change",n)},mousewheel:function(n,t){if(t){if(!this.spinning&&!this._start(n))return!1;this._spin((t>0?1:-1)*this.options.step,n);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(n)},100);n.preventDefault()}},"mousedown .ui-spinner-button":function(t){function r(){var t=this.element[0]===n.ui.safeActiveElement(this.document[0]);t||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}var i;(i=this.element[0]===n.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur;r.call(this)}),this._start(t)!==!1)&&this._repeat(null,n(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(n(t.currentTarget).hasClass("ui-state-active")){if(this._start(t)===!1)return!1;this._repeat(null,n(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a><\/a><a><\/a>")},_draw:function(){this._enhance();this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content");this._addClass("ui-spinner-input");this.element.attr("role","spinbutton");this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}});this._removeClass(this.buttons,"ui-corner-all");this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up");this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down");this.buttons.first().button({icon:this.options.icons.up,showLabel:!1});this.buttons.last().button({icon:this.options.icons.down,showLabel:!1});this.buttons.height()>Math.ceil(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var r=this.options,i=n.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,r.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-r.page,t),!0}return!1},_start:function(n){return!this.spinning&&this._trigger("start",n)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(n,t,i){n=n||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,t,i)},n);this._spin(t*this.options.step,i)},_spin:function(n,t){var i=this.value()||0;this.counter||(this.counter=1);i=this._adjustValue(i+n*this._increment(this.counter));this.spinning&&this._trigger("spin",t,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?n.isFunction(i)?i(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var n=this._precisionOf(this.options.step);return this.options.min!==null&&(n=Math.max(n,this._precisionOf(this.options.min))),n},_precisionOf:function(n){var t=n.toString(),i=t.indexOf(".");return i===-1?0:t.length-i-1},_adjustValue:function(n){var r,i,t=this.options;return(r=t.min!==null?t.min:0,i=n-r,i=Math.round(i/t.step)*t.step,n=r+i,n=parseFloat(n.toFixed(this._precision())),t.max!==null&&n>t.max)?t.max:t.min!==null&&n<t.min?t.min:n},_stop:function(n){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",n))},_setOption:function(n,t){var u,i,r;if(n==="culture"||n==="numberFormat"){u=this._parse(this.element.val());this.options[n]=t;this.element.val(this._format(u));return}(n==="max"||n==="min"||n==="step")&&typeof t=="string"&&(t=this._parse(t));n==="icons"&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),r=this.buttons.last().find(".ui-icon"),this._removeClass(r,null,this.options.icons.down),this._addClass(r,null,t.down));this._super(n,t)},_setOptionDisabled:function(n){this._super(n);this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!n);this.element.prop("disabled",!!n);this.buttons.button(n?"disable":"enable")},_setOptions:t(function(n){this._super(n)}),_parse:function(n){return typeof n=="string"&&n!==""&&(n=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(n,10,this.options.culture):+n),n===""||isNaN(n)?null:n},_format:function(n){return n===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(n,this.options.numberFormat,this.options.culture):n},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var n=this.value();return n===null?!1:n===this._adjustValue(n)},_value:function(n,t){var i;n!==""&&(i=this._parse(n),i!==null&&(t||(i=this._adjustValue(i)),n=this._format(i)));this.element.val(n);this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:t(function(n){this._stepUp(n)}),_stepUp:function(n){this._start()&&(this._spin((n||1)*this.options.step),this._stop())},stepDown:t(function(n){this._stepDown(n)}),_stepDown:function(n){this._start()&&(this._spin((n||1)*-this.options.step),this._stop())},pageUp:t(function(n){this._stepUp((n||1)*this.options.page)}),pageDown:t(function(n){this._stepDown((n||1)*this.options.page)}),value:function(n){if(!arguments.length)return this._parse(this.element.val());t(this._value).call(this,n)},widget:function(){return this.uiSpinner}}
146);n.uiBackCompat!==!1&&n.widget("ui.spinner",n.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a><\/a><a><\/a>"}});w=n.ui.spinner});Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){var i,u,f,t,r;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),u=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(f=arguments[1],t=0;t<u;){if(r=i[t],n.call(f,r,t,i))return r;t++}return undefined},configurable:!0,writable:!0});$(document).ready(function(){$(".lazy:not(iframe)").Lazy({chainable:!1});var n=$("iframe.lazy").Lazy({chainable:!1,beforeLoad:function(n){n.iFrameResize({log:!1,checkOrigin:["https://financials.dev1.spreadex.com","https://financials.dev26.spreadex.com","https://financials.test.spreadex.com","https://financials.spreadex.com"]})}});setTimeout(function(n){n.loadAll()},5e3,n)});var _documentLoaded,_webpSupported,onBackgroundImageLoad=function(n,t,i,r){n.onload=function(){var n,u;t[r].style.backgroundImage=i[r];i[r].indexOf("/extra/images/white-wash.png")>0&&(t[r].style.backgroundSize="initial");n=$(t[r]).attr("throw-event");n!=undefined&&(u=$.Event(n),$(t[r]).trigger(u))}},onImageLoad=function(n,t,i,r){n.onload=function(){var n=t[r];n.src=i[r]}},loadImage=function(n,t,i,r,u,f,e,o,s){var h,c,l,y,a,v,k;if(!n.getAttribute("data-progressive-image-setup")&&(h=n.clientWidth==0&&s?1:n.clientWidth,c=n.clientHeight==0&&s?1:n.clientHeight,h!=0&&c!=0&&n.complete!==!1)){n.setAttribute("data-progressive-image-setup",!0);l=new Image;y=$(n).parents(".tabs");y.length>0&&(a=$(".tab-pane.active img",y)[0],a&&(h=a.clientWidth,c=a.clientHeight));try{v=window.devicePixelRatio;v>1&&(h*=v,c*=v)}catch(g){}var d=n.dataset.noCrop,w=n.dataset.focalPoint,b=n.dataset.anchor,p="?width="+Math.round(h)+"&height="+Math.round(c)+(d?"&rmode=pad":"&rmode=crop")+(w?"&rxy="+w:"")+(b?"&ranchor="+b:"");t.indexOf("svg")<0&&(p+="&spxautoformat=true");(t.indexOf("/extra/images/white-wash.png")>0||t.indexOf("/extra/images/header-background.png")>0)&&(p="");t=t.replace(i.substring(0,i.length),p);f[e]=t;o==="background"?onBackgroundImageLoad(l,r,f,e):onImageLoad(l,r,f,e);k=o==="background"?t.match(/(?:\(['|"]?)(.*?)(?:['|"]?\))/)[1]:t;l.src=k;u[e]=l}},replaceBackgroundImages=function(n,t){for(var u,i,f,e,o=[],s=[],r=0;r<n.length;r++)if(u=n[r],u&&(i=window.getComputedStyle(u).backgroundImage,i&&i!=="initial")){if(f=i.match(/\?(.*)\b/),f===null)continue;if(e=f[0],!e)continue;loadImage(u,i,e,n,o,s,r,"background",t)}},replaceImages=function(n,t){for(var u,r,f,e,o=[],s=[],i=0;i<n.length;i++)if(u=n[i],r=u.src,r){if(f=r.match(/\?(.*)/),f===null)continue;if(e=f[0],!e)continue;loadImage(u,r,e,n,o,s,i,"image",t)}};checkDocumentLoaded()||("addEventListener"in document?document.addEventListener("readystatechange",onReadyStateChange):"attachEvent"in document&&document.attachEvent("onreadystatechange",onReadyStateChange));window.onload=function(){loadProgressiveImages(!0)};emailSignUp={validateEmailEntered:function(n){var i=$(n).parent().parent(),t=$(".input-email input",i);t.val()===""?this.clearEmailValidationError(n):this.validateEmail(t)},clearEmailValidationError:function(n){var t=$(n).parent().parent(),i=$(".input-email input",t);i.removeClass("validation-error")},signupUser:function(n,t){var i=$(n).parent().parent(),r=$(".input-email input",i),u;this.validateEmail(r)&&(u=this.htmlEncode(r.val()),$.ajax({type:"Post",url:"/EmailSignUp/SignupUser",data:{email:u,domain:t},complete:function(n){var t=JSON.parse(n.responseText);t.success?($(".request",i).hide(),$(".response",i).show()):(r.addClass("validation-error"),i.find(".invalid-email").toggle(!t.error),i.find(".server-error").toggle(t.error))}}))},htmlEncode:function(n){return $("<div />").text(n).html()},validateEmail:function(n){var t=n.val(),i=/^[_a-zA-Z0-9\-]+(\.[_a-zA-Z0-9\-]+)*@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*(\.[a-zA-Z]{2,4})$/.test(t);
146return i?(n.removeClass("validation-error"),!0):(n.addClass("validation-error"),!1)}}; 147/** 148 * @preserve 149 * Project: Bootstrap Hover Dropdown 150 * Author: Cameron Spear 151 * Version: v2.2.1 152 * Contributors: Mattia Larentis 153 * Dependencies: Bootstrap's Dropdown plugin, jQuery 154 * Description: A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. 155 * License: MIT 156 * Homepage: http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/ 157 */ 158(function(n,t){var i=n();n.fn.dropdownHover=function(r){return t.innerWidth<1025?this:(i=i.add(this.parent()),this.each(function(){function l(){u.parents(".navbar").find(".navbar-toggle").is(":visible")||(t.clearTimeout(c),t.clearTimeout(e),e=t.setTimeout(function(){i.find(":focus").trigger("blur");o.instantlyCloseOthers===!0&&i.removeClass("open");t.clearTimeout(e);u.attr("aria-expanded","true");f.addClass("open");u.trigger(v);isMobileOs()&&document.body.clientWidth>1024&&console.log("For a fix issue: "+n("li")[0])},o.hoverDelay))}var u=n(this),f=u.parent(),a={delay:n(this).data("delay"),hoverDelay:n(this).data("hover-delay"),instantlyCloseOthers:n(this).data("close-others")},v="show.bs.dropdown",y="hide.bs.dropdown",o=n.extend(!0,{},{delay:500,hoverDelay:0,instantlyCloseOthers:!0},r,a),c,e,s,h;f.find(".dropdown-submenu").each(function(){n(this).addClass("open");n(this).children(".dropdown-subsubmenu").show()});u.on("click",function(n){"ontouchstart"in document?s||n.target.className.search("chevrons")!==-1&&n.target.tagName==="DIV"?(h=!0,s=!1):h&&(h=!1,t.location=u.attr("href")):t.location=u.attr("href")});f.on("mouseenter",function(n){if("ontouchstart"in document&&(s=!0),!f.hasClass("open")&&!u.is(n.target))return!0;l(n)}).on("mouseleave",function(){t.clearTimeout(e);c=t.setTimeout(function(){u.attr("aria-expanded","false");f.removeClass("open");u.trigger(y)},o.delay)});u.on("mouseenter",function(n){if(!f.hasClass("open")&&!f.is(n.target))return!0;l(n)});f.find(".dropdown-submenu").each(function(){var r=n(this),t=r.children(".dropdown-subsubmenu").not(".closing"),i;t.show();t.addClass("opening");i=n(".dropdown-submenu .dropdown-subsubmenu").not(".opening");i.removeClass("open")})}))};n(document).ready(function(){n('[data-hover="dropdown"]').dropdownHover()})})(jQuery,window);$(document).ready(function(){$("ul.bottom-nav-dropdown>li.bottom-nav-menu-header>span").on("click",function(n){n.originalEvent.stopPropagation();$(this).parent().hasClass("open")?$(this).parent().parent().children().removeClass("open"):$(this).parent().parent().children().addClass("open")})});$(document).ready(function(){var t=$("div.banner"),n;t.length!==0&&(n=!1,t.each(function(t,i){var r=$(i).find(".banner-item");if(r.length!==0){var u=$(r[0]).parent(),e=spxBanner.addNavButtons(r,u),s=$(i).data("autoplayspeed"),h=$(i).data("speed");u.slick({prevArrow:e.prevButton,nextArrow:e.nextButton,speed:h,autoplay:!0,autoplaySpeed:s});u.on("beforeChange",function(t,i,r,u){if(manualLoadProgressiveImages([i.$slides[u]],!1),!n){var t=$.Event("FirstBannerLoaded");$(".banner-item.first").trigger(t)}});var f=1,c=r.length,o,l=function(){manualLoadProgressiveImages([r[f]],!1);f++;f>=c&&clearInterval(o)};$(".banner-item.first").on("FirstBannerLoaded",function(){n||($(".banner-item.progressive-background-image-manual").each(function(){var n=$(this),t=n.attr("style"),i=t+" "+n.attr("background-css")+";";n.attr("style",i)}),o=setInterval(l,3e3),n=!0)})}}))});spxBanner={addNavButtons:function(n,t){var i={prevButton:null,nextButton:null},f,r,u;return n.length>1&&(f=t.parent(),r=$("<div class='container'><div style='position: relative;'><div class='banner-buttons'/><\/div><\/div>"),f.append(r),u=r.children().children(),i.prevButton=spxBanner.addSingleButton(u,"prev-button"),i.nextButton=spxBanner.addSingleButton(u,"next-button")),i},addSingleButton:function(n,t){var i=$("<button type='button' class='"+t+"'><\/button>");return n.append(i),i}},function(n){"use strict";function f(t,i,r){"addEventListener"in n?t.addEventListener(i,r,!1):"attachEvent"in n&&t.attachEvent("on"+i,r)}function pt(t,i,r){"removeEventListener"in n?t.removeEventListener(i,r,!1):"detachEvent"in n&&t.detachEvent("on"+i,r)}function wt(){for(var r=["moz","webkit","o","ms"],t=0;t<r.length&&!e;t+=1)e=n[r[t]+"RequestAnimationFrame"];e||i("setup","RequestAnimationFrame not supported")}function bt(t){var i="Host page: "+t;return n.top!==n.self&&(i=n.parentIFrame&&n.parentIFrame.getId?n.parentIFrame.getId()+": "+t:"Nested host page: "+t),i}function kt(n){return s+"["+bt(n)+"]"}function g(n){return t[n]?t[n].log:k}function i(n,t){y("log",n,t,g(n))}function nt(n,t){y("info",n,t,g(n))}function o(n,t){y("warn",n,t,!0)}function y(t,i,r,u){!0===u&&"object"==typeof n.console&&console[t](kt(i),r)}function dt(e){function w(){function n(){ot(a);ut(h)}b("Height");b("Width");st(n,a,"init")}function at(){var n=y.substr(l).split(":");return{iframe:t[n[0]].iframe,id:n[0],height:n[1],width:n[2],type:n[3]}}function b(n){var f=Number(t[h]["max"+n]),e=Number(t[h]["min"+n]),r=n.toLowerCase(),u=Number(a[r]);i(h,"Checking "+r+" is in range "+e+"-"+f);u<e&&(u=e,i(h,"Set "+r+" to min value"));u>f&&(u=f,i(h,"Set "+r+" to max value"));a[r]=""+u}function yt(){function u(){function u(){var t=0,u=!1;for(i(h,"Checking connection is from allowed list of origins: "+n);t<n.length;t++)if(n[t]===r){u=!0;break}return u}function f(){var n=t[h].remoteHost;return i(h,"Checking connection is from: "+n),r===n}return n.constructor===Array?u():f()}var r=e.origin,n=t[h].checkOrigin;if(n&&""+r!="null"&&!u())throw new Error("Unexpected message received from: "+r+" for "+a.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function wt(){return s===(""+y).substr(0,l)&&y.substr(l).split(":")[0]in t}function bt(){var n=a.type in{"true":1,"false":1,undefined:1};return n&&i(h,"Ignoring init message from meta parent page"),n}function k(n){return y.substr(y.indexOf(":")+vt+n)}function kt(n){i(h,"MessageCallback passed: {iframe: "+a.iframe.id+", message: "+n+"}");p("messageCallback",{iframe:a.iframe,message:JSON.parse(n)});i(h,"--")}function dt(){var t=document.body.getBoundingClientRect(),i=a.iframe.getBoundingClientRect();return JSON.stringify({clientHeight:Math.max(document.documentElement.clientHeight,n.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,n.innerWidth||0),offsetTop:parseInt(i.top-t.top,10),offsetLeft:parseInt(i.left-t.left,10),scrollTop:n.pageYOffset,scrollLeft:n.pageXOffset})}function d(n,t){function i(){u("Send Page Info","pageInfo:"+dt(),n,t)}c(i,32)}function gt(){function u(u,f){function o(){t[r]?d(t[r].iframe,r):e()}["scroll","resize"].forEach(function(t){i(r,u+t+" listener for sendPageInfo");f(n,t,o)})}function e(){u("Remove ",pt)}function o(){u("Add ",f)}var r=h;o();t[r].stopPageInfo=e}function ni(){t[h]&&t[h].stopPageInfo&&(t[h].stopPageInfo(),delete t[h].stopPageInfo)}function ti(){var n=!0;return null===a.iframe&&(o(h,"IFrame ("+a.id+") not found"),n=!1),n}function g(n){var t=n.getBoundingClientRect();return rt(h),{x:Math.floor(Number(t.left)+Number(r.x)),y:Math.floor(Number(t.top)+Number(r.y))}}function ct(t){function e(){r=f;lt();i(h,"--")}function s(){return{x:Number(a.width)+u.x,y:Number(a.height)+u.y}}function c(){n.parentIFrame?n.parentIFrame["scrollTo"+(t?"Offset":"")](f.x,f.y):o(h,"Unable to scroll to requested position, window.parentIFrame not found")}var u=t?g(a.iframe):{x:0,y:0},f=s();i(h,"Reposition requested from iFrame (offset x:"+u.x+" y:"+u.y+")");n.top!==n.self?c():e()}function lt(){!1!==p("scrollCallback",r)?ut(h):ft()}function ii(t){function o(){var n=g(e);
158i(h,"Moving to in page link (#"+u+") at x: "+n.x+" y: "+n.y);r={x:n.x,y:n.y};lt();i(h,"--")}function s(){n.parentIFrame?n.parentIFrame.moveToAnchor(u):i(h,"In page link #"+u+" not found and window.parentIFrame not found")}var u=t.split("#")[1]||"",f=decodeURIComponent(u),e=document.getElementById(f)||document.getElementsByName(f)[0];e?o():n.top!==n.self?s():i(h,"In page link #"+u+" not found")}function p(n,t){return tt(h,n,t)}function ri(){t[h].firstRun&&ei();switch(a.type){case"close":it(a.iframe);break;case"message":kt(k(6));break;case"scrollTo":ct(!1);break;case"scrollToOffset":ct(!0);break;case"pageInfo":d(t[h].iframe,h);gt();break;case"pageInfoStop":ni();break;case"inPageLink":ii(k(9));break;case"reset":et(a);break;case"init":w();p("initCallback",a.iframe);p("resizedCallback",a);break;default:w();p("resizedCallback",a)}}function ui(n){var i=!0;return t[n]||(i=!1,o(a.type+" No settings for "+n+". Message was: "+y)),i}function fi(){for(var n in t)u("iFrame requested init",ht(n),document.getElementById(n),n)}function ei(){t[h].firstRun=!1}var y=e.data,a={},h=null;"[iFrameResizerChild]Ready"===y?fi():wt()?(a=at(),h=v=a.id,!bt()&&ui(h)&&(i(h,"Received: "+y),ti()&&yt()&&ri())):nt(h,"Ignored: "+y)}function tt(n,i,r){var u=null,f=null;if(t[n])if(u=t[n][i],"function"==typeof u)f=u(r);else throw new TypeError(i+" on iFrame["+n+"] is not a function");return f}function it(n){var r=n.id;i(r,"Removing iFrame: "+r);n.parentNode.removeChild(n);tt(r,"closedCallback",r);i(r,"--");delete t[r]}function rt(t){null===r&&(r={x:n.pageXOffset!==undefined?n.pageXOffset:document.documentElement.scrollLeft,y:n.pageYOffset!==undefined?n.pageYOffset:document.documentElement.scrollTop},i(t,"Get page position: "+r.x+","+r.y))}function ut(t){null!==r&&(n.scrollTo(r.x,r.y),i(t,"Set page position: "+r.x+","+r.y),ft())}function ft(){r=null}function et(n){function t(){ot(n);u("reset","reset",n.iframe,n.id)}i(n.id,"Size reset requested by "+("init"===n.type?"host page":"iFrame"));rt(n.id);st(t,n,"reset")}function ot(n){function f(t){n.iframe.style[t]=n[t]+"px";i(n.id,"IFrame ("+r+") "+t+" set to "+n[t]+"px")}function e(t){d||"0"!==n[t]||(d=!0,i(r,"Hidden iFrame detected, creating visibility listener"),gt())}function u(n){f(n);e(n)}var r=n.iframe.id;t[r]&&(t[r].sizeHeight&&u("height"),t[r].sizeWidth&&u("width"))}function st(n,t,r){r!==t.type&&e?(i(t.id,"Requesting animation frame"),e(n)):n()}function u(n,r,u,f){function e(){var e=t[f].targetOrigin;i(f,"["+n+"] Sending msg to iframe["+f+"] ("+r+") targetOrigin: "+e);u.contentWindow.postMessage(s+r,e)}function o(){nt(f,"["+n+"] IFrame("+f+") not found");t[f]&&delete t[f]}function h(){u&&"contentWindow"in u&&null!==u.contentWindow?e():o()}f=f||u.id;t[f]&&h()}function ht(n){return n+":"+t[n].bodyMarginV1+":"+t[n].sizeWidth+":"+t[n].log+":"+t[n].interval+":"+t[n].enablePublicMethods+":"+t[n].autoResize+":"+t[n].bodyMargin+":"+t[n].heightCalculationMethod+":"+t[n].bodyBackground+":"+t[n].bodyPadding+":"+t[n].tolerance+":"+t[n].inPageLinks+":"+t[n].resizeFrom+":"+t[n].widthCalculationMethod}function ct(n,r){function s(){function r(r){Infinity!==t[e][r]&&0!==t[e][r]&&(n.style[r]=t[e][r]+"px",i(e,"Set "+r+" = "+t[e][r]+"px"))}function u(n){if(t[e]["min"+n]>t[e]["max"+n])throw new Error("Value for min"+n+" can not be greater than max"+n);}u("Height");u("Width");r("maxHeight");r("minHeight");r("maxWidth");r("minWidth")}function c(){var n=r&&r.id||h.id+b++;return null!==document.getElementById(n)&&(n=n+b++),n}function l(t){return v=t,""===t&&(n.id=t=c(),k=(r||{}).log,v=t,i(t,"Added missing iframe ID: "+t+" ("+n.src+")")),t}function a(){i(e,"IFrame scrolling "+(t[e].scrolling?"enabled":"disabled")+" for "+e);n.style.overflow=!1===t[e].scrolling?"hidden":"auto";n.scrolling=!1===t[e].scrolling?"no":"yes"}function y(){("number"==typeof t[e].bodyMargin||"0"===t[e].bodyMargin)&&(t[e].bodyMarginV1=t[e].bodyMargin,t[e].bodyMargin=""+t[e].bodyMargin+"px")}function p(){var i=t[e].firstRun,r=t[e].heightCalculationMethod in yt;!i&&r&&et({iframe:n,height:0,width:0,type:"init"})}function w(){Function.prototype.bind&&(t[e].iframe.iFrameResizer={close:it.bind(null,t[e].iframe),resize:u.bind(null,"Window resize","resize",t[e].iframe),moveToAnchor:function(n){u("Move to anchor","inPageLink:"+n,t[e].iframe,e)},sendMessage:function(n){n=JSON.stringify(n);u("Send Message","message:"+n,t[e].iframe,e)}})}function d(t){function i(){u("iFrame.onload",t,n);p()}f(n,"load",i);u("init",t,n)}function g(n){if("object"!=typeof n)throw new TypeError("Options is not an object");}function nt(n){for(var i in h)h.hasOwnProperty(i)&&(t[e][i]=n.hasOwnProperty(i)?n[i]:h[i])}function tt(n){return""===n||"file://"===n?"*":n}function rt(i){i=i||{};t[e]={firstRun:!0,iframe:n,remoteHost:n.src.split("/").slice(0,3).join("/")};g(i);nt(i);t[e].targetOrigin=!0===t[e].checkOrigin?tt(t[e].remoteHost):"*"}function ut(){return e in t&&"iFrameResizer"in n}var e=l(n.id);ut()?o(e,"Ignored iFrame, already setup."):(rt(r),a(),s(),y(),d(ht(e)),w())}function c(n,t){null===a&&(a=setTimeout(function(){a=null;n()},t))}function gt(){function f(){function n(n){function i(i){return"0px"===t[n].iframe.style[i]}function r(n){return null!==n.offsetParent}r(t[n].iframe)&&(i("height")||i("width"))&&u("Visibility change","resize",t[n].iframe,n)}for(var i in t)n(i)}function e(n){i("window","Mutation observed: "+n[0].target+" "+n[0].type);c(f,16)}function o(){var n=document.querySelector("body"),t=new r(e);t.observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}var r=n.MutationObserver||n.WebKitMutationObserver;r&&o()}function p(n){function t(){at("Window "+n,"resize")}i("window","Trigger event: "+n);c(t,16)}function lt(){function n(){at("Tab Visable","resize")}"hidden"!==document.visibilityState&&(i("document","Trigger event: Visiblity change"),c(n,16))}function at(n,i){function f(n){return"parent"===t[n].resizeFrom&&t[n].autoResize&&!t[n].firstRun}for(var r in t)f(r)&&u(n,i,document.getElementById(r),r)}function ni(){f(n,"message",dt);f(n,"resize",function(){p("resize")});f(document,"visibilitychange",lt);f(document,"-webkit-visibilitychange",lt);
158f(n,"focusin",function(){p("focus")});f(n,"focus",function(){p("focus")})}function w(){function t(t,i){function r(){if(i.tagName){if("IFRAME"!==i.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+i.tagName+">");}else throw new TypeError("Object is not a valid DOM element");}i&&(r(),ct(i,t),n.push(i))}var n;return wt(),ni(),function(i,r){n=[];switch(typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),t.bind(undefined,i));break;case"object":t(i,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")");}return n}}function ti(n){n.fn.iFrameResize=function(n){return this.filter("iframe").each(function(t,i){ct(i,n)}).end()}}var b=0,k=!1,d=!1,vt=7,s="[iFrameSizer]",l=s.length,r=null,e=n.requestAnimationFrame,yt={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},t={},a=null,v="Host Page",h={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:Infinity,maxWidth:Infinity,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){o("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}};n.jQuery&&ti(jQuery);typeof define=="function"&&define.amd?define([],w):typeof module=="object"&&typeof module.exports=="object"?module.exports=w():n.iFrameResize=n.iFrameResize||w()}(window||{});!function(n){"use strict";function a(n,t,i){"addEventListener"in window?n.addEventListener(t,i,!1):"attachEvent"in window&&n.attachEvent("on"+t,i)}function dt(n,t,i){"removeEventListener"in window?n.removeEventListener(t,i,!1):"detachEvent"in window&&n.detachEvent("on"+t,i)}function gt(n){return n.charAt(0).toUpperCase()+n.slice(1)}function ni(n){return d+"["+g+"] "+n}function t(n){lt&&"object"==typeof console&&console.log(ni(n))}function s(n){"object"==typeof console&&console.warn(ni(n))}function or(){var n;(function(){function i(n){return"true"===n}var t=gi.substr(tr).split(":");g=t[0];ot=n!==t[1]?Number(t[1]):ot;b=n!==t[2]?i(t[2]):b;lt=n!==t[3]?i(t[3]):lt;c=n!==t[4]?Number(t[4]):c;e=n!==t[6]?i(t[6]):e;w=t[7];r=n!==t[8]?t[8]:r;wi=t[9];bi=t[10];vt=n!==t[11]?Number(t[11]):vt;v.enable=n!==t[12]&&i(t[12]);at=n!==t[13]?t[13]:at;u=n!==t[14]?t[14]:u})();t("Initialising iFrame ("+location.href+")"),function(){function n(n,i){return"function"==typeof n&&(t("Setup custom "+i+"CalcMethod"),bt[i]=n,n="custom"),n}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(function(){var n=window.iFrameResizer;t("Reading data from page: "+JSON.stringify(n));yt="messageCallback"in n?n.messageCallback:yt;pt="readyCallback"in n?n.readyCallback:pt;y="targetOrigin"in n?n.targetOrigin:y;r="heightCalculationMethod"in n?n.heightCalculationMethod:r;u="widthCalculationMethod"in n?n.widthCalculationMethod:u}(),r=n(r,"height"),u=n(u,"width"));t("TargetOrigin for parent set to: "+y)}();n===w&&(w=ot+"px");ut("margin",function(n,t){return-1!==t.indexOf("-")&&(s("Negative CSS value ignored for "+n),t=""),t}("margin",w));ut("background",wi);ut("padding",bi);(n=document.createElement("div")).style.clear="both";n.style.display="block";document.body.appendChild(n);ri();ui();document.documentElement.style.height="";document.body.style.height="";t('HTML & body height set to "auto"');t("Enable public methods");lr.parentIFrame={autoResize:function(n){return!0===n&&!1===e?(e=!0,fi()):!1===n&&!0===e&&(e=!1,ei()),e},close:function(){f(0,0,"close");t("Disable outgoing messages");rr=!1;t("Remove event listener: Message");dt(window,"message",yi);!0===e&&ei()},getId:function(){return g},getPageInfo:function(n){"function"==typeof n?(wt=n,f(0,0,"pageInfo")):(wt=function(){},f(0,0,"pageInfoStop"))},moveToAnchor:function(n){v.findTarget(n)},reset:function(){vi("parentIFrame.reset")},scrollTo:function(n,t){f(t,n,"scrollTo")},scrollToOffset:function(n,t){f(t,n,"scrollToOffset")},sendMessage:function(n,t){f(0,0,"message",JSON.stringify(n),t)},setHeightCalculationMethod:function(n){r=n;ri()},setWidthCalculationMethod:function(n){u=n;ui()},setTargetOrigin:function(n){t("Set targetOrigin: "+n);y=n},size:function(n,t){h("size","parentIFrame.size("+(n||"")+(t?","+t:"")+")",n,t)}};fi();v=sr();h("init","Init message from host page");pt()}function ut(i,r){n!==r&&""!==r&&"null"!==r&&(document.body.style[i]=r,t("Body "+i+' set to "'+r+'"'))}function i(n){var i={add:function(t){function i(){h(n.eventName,n.eventType)}kt[t]=i;a(window,t,i)},remove:function(n){var t=kt[n];delete kt[n];dt(window,n,t)}};n.eventNames&&Array.prototype.map?(n.eventName=n.eventNames[0],n.eventNames.map(i[n.method])):i[n.method](n.eventName);t(gt(n.method)+" event listener: "+n.eventType)}function ti(n){i({method:n,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]});i({method:n,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]});i({method:n,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]});i({method:n,eventType:"Input",eventName:"input"});i({method:n,eventType:"Mouse Up",eventName:"mouseup"});i({method:n,eventType:"Mouse Down",eventName:"mousedown"});i({method:n,eventType:"Orientation Change",eventName:"orientationchange"});i({method:n,eventType:"Print",eventName:["afterprint","beforeprint"]});i({method:n,eventType:"Ready State Change",eventName:"readystatechange"});i({method:n,eventType:"Touch Start",eventName:"touchstart"});i({method:n,eventType:"Touch End",eventName:"touchend"});i({method:n,eventType:"Touch Cancel",eventName:"touchcancel"});i({method:n,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]});i({method:n,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]});i({method:n,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
158);"child"===at&&i({method:n,eventType:"IFrame Resized",eventName:"resize"})}function ii(n,i,r,u){return i!==n&&(n in r||(s(n+" is not a valid option for "+u+"CalculationMethod."),n=i),t(u+' calculation method set to "'+n+'"')),n}function ri(){r=ii(r,ct,o,"height")}function ui(){u=ii(u,er,l,"width")}function fi(){var n;!0===e?(ti("add"),n=0>c,window.MutationObserver||window.WebKitMutationObserver?n?oi():st=hr():(t("MutationObserver not supported in this browser!"),oi())):t("Auto Resize disabled")}function ei(){ti("remove");null!==st&&st.disconnect();clearInterval(nr)}function sr(){function u(){return{x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}}function e(n){var t=n.getBoundingClientRect(),i=u();return{x:parseInt(t.left,10)+parseInt(i.x,10),y:parseInt(t.top,10)+parseInt(i.y,10)}}function i(i){var r=i.split("#")[1]||i,u=decodeURIComponent(r),o=document.getElementById(u)||document.getElementsByName(u)[0];n!==o?function(n){var i=e(n);t("Moving to in page link (#"+r+") at x: "+i.x+" y: "+i.y);f(i.y,i.x,"scrollToOffset")}(o):(t("In page link (#"+r+") not found in iFrame, so sending to parent"),f(0,0,"inPageLink","#"+r))}function r(){""!==location.hash&&"#"!==location.hash&&i(location.href)}return v.enable?Array.prototype.forEach&&document.querySelectorAll?(t("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(n){"#"!==n.getAttribute("href")&&a(n,"click",function(n){n.preventDefault();i(this.getAttribute("href"))})}),a(window,"hashchange",r),setTimeout(r,ht)):s("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):t("In page linking not enabled"),{findTarget:i}}function oi(){0!==c&&(t("setInterval: "+c+"ms"),nr=setInterval(function(){h("interval","setInterval: "+c)},Math.abs(c)))}function hr(){function s(n){function i(n){!1===n.complete&&(t("Attach listeners to "+n.src),n.addEventListener("load",e,!1),n.addEventListener("error",o,!1),r.push(n))}"attributes"===n.type&&"src"===n.attributeName?i(n.target):"childList"===n.type&&Array.prototype.forEach.call(n.target.querySelectorAll("img"),i)}function u(n){t("Remove listeners from "+n.src);n.removeEventListener("load",e,!1);n.removeEventListener("error",o,!1),function(n){r.splice(r.indexOf(n),1)}(n)}function f(t,i,r){u(t.target);h(i,r+": "+t.target.src,n,n)}function e(n){f(n,"imageLoad","Image loaded")}function o(n){f(n,"imageLoadFailed","Image load failed")}function c(n){h("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type);n.forEach(s)}var r=[],l=window.MutationObserver||window.WebKitMutationObserver,i=function(){var n=document.querySelector("body");return i=new l(c),t("Create body MutationObserver"),i.observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),i}();return{disconnect:function(){"disconnect"in i&&(t("Disconnect body MutationObserver"),i.disconnect(),r.forEach(u))}}}function ft(n,t){var i=0;return t=t||document.body,i="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(i=document.defaultView.getComputedStyle(t,null))?i[n]:0:function(n){if(/^\d+(px)?$/i.test(n))return parseInt(n,pi);var i=t.style.left,r=t.runtimeStyle.left;return t.runtimeStyle.left=t.currentStyle.left,t.style.left=n||0,n=t.style.pixelLeft,t.style.left=i,t.runtimeStyle.left=r,n}(t.currentStyle[n]),parseInt(i,pi)}function et(n,i){for(var e=i.length,o=0,f=0,s=gt(n),r=rt(),u=0;u<e;u++)(o=i[u].getBoundingClientRect()[n]+ft("margin"+s,i[u]))>f&&(f=o);return r=rt()-r,t("Parsed "+e+" HTML elements"),t("Element position calculated in "+r+"ms"),function(n){n>tt/2&&t("Event throttle increased to "+(tt=2*n)+"ms")}(r),f}function p(n){return[n.bodyOffset(),n.bodyScroll(),n.documentElementOffset(),n.documentElementScroll()]}function si(n,t){var i=document.querySelectorAll("["+t+"]");return 0===i.length&&(s("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),et(n,i)}function hi(){return document.querySelectorAll("body *")}function ci(i,e,s,h){var c,a;!function(){function t(n,t){return!(Math.abs(n-t)<=vt)}return c=n!==s?s:o[r](),a=n!==h?h:l[u](),t(k,c)||b&&t(it,a)}()&&"init"!==i?i in{init:1,interval:1,size:1}||!(r in ir||b&&u in ir)?i in{interval:1}||t("No change in size detected"):vi(e):(li(),f(k=c,it=a,i))}function h(n,i,r,u){nt&&n in cr?t("Trigger event cancelled: "+n):(n in{reset:1,resetPage:1,init:1}||t("Trigger event: "+i),"init"===n?ci(n,i,r,u):ar(n,i,r,u))}function li(){nt||(nt=!0,t("Trigger event lock on"));clearTimeout(fr);fr=setTimeout(function(){nt=!1;t("Trigger event lock off");t("--")},ht)}function ai(n){k=o[r]();it=l[u]();f(k,it,n)}function vi(n){var i=r;r=ct;t("Reset trigger event: "+n);li();ai("reset");r=i}function f(i,r,u,f,e){!0===rr&&(n===e?e=y:t("Message targetOrigin: "+e),function(){var o=g+":"+i+":"+r+":"+u+(n!==f?":"+f:"");t("Sending message to host page ("+o+")");ur.postMessage(d+o,e)}())}function yi(n){function u(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.substr(n.data.indexOf(":")+1)}function f(){return n.data.split(":")[2]in{"true":1,"false":1}}function e(){var t=u();t in i?i[t]():("undefined"==typeof module||!module.exports)&&"iFrameResize"in window||f()||s("Unexpected message ("+n.data+")")}var i={init:function(){"interactive"===document.readyState||"complete"===document.readyState?(gi=n.data,ur=n.source,or(),ki=!1,setTimeout(function(){di=!1},ht)):(t("Waiting for page ready"),a(window,"readystatechange",i.initFromParent))},reset:function(){di?t("Page reset ignored by init"):(t("Page size reset by host page"),ai("resetPage"))},resize:function(){h("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var n=r();t("PageInfoFromParent called from parent: "+n);wt(JSON.parse(n));t(" --")},message:function(){var n=r();t("MessageCallback called from parent: "+n);yt(JSON.parse(n));t(" --")}};d===(""+n.data).substr(0,tr)&&(!1===ki?e():f()?i.init():t('Ignored message of type "'+u()+'". Received before initialization.'))}if("undefined"!=typeof window){var e=!0,pi=10,wi="",ot=0,w="",st=null,bi="",b=!1,cr={resize:1,click:1},ht=128,ki=!0,k=1,ct="bodyOffset",r=ct,di=!0,gi="",v={},c=32,nr=null,lt=!1,d="[iFrameSizer]",tr=d.length,g="",ir={max:1,min:1,bodyScroll:1,documentElementScroll:1},at="child",rr=!0,ur=window.parent,y="*",vt=0,nt=!1,fr=null,tt=16,it=1,er="scroll",u=er,lr=window,yt=function(){s("MessageCallback function not defined")},pt=function(){},wt=function(){},bt={height:function(){return s("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return s("Custom width calculation function not defined"),document.body.scrollWidth}},kt={},rt=Date.now||function(){return(new Date).getTime()},o={bodyOffset:function(){return document.getElementsByClassName("main-content")[0].scrollHeight+ft("marginTop")+ft("marginBottom")},offset:function(){return o.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight}
158,custom:function(){return bt.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,p(o))},min:function(){return Math.min.apply(null,p(o))},grow:function(){return o.max()},lowestElement:function(){return Math.max(o.bodyOffset()||o.documentElementOffset(),et("bottom",hi()))},taggedElement:function(){return si("bottom","data-iframe-height")}},l={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return bt.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(l.bodyScroll(),l.documentElementScroll())},max:function(){return Math.max.apply(null,p(l))},min:function(){return Math.min.apply(null,p(l))},rightMostElement:function(){return et("right",hi())},taggedElement:function(){return si("right","data-iframe-width")}},ar=function(n){var i,r,f,t=null,u=0,e=function(){u=rt();t=null;f=n.apply(i,r);t||(i=r=null)};return function(){var s=rt(),o;return u||(u=s),o=tt-(s-u),i=this,r=arguments,o<=0||o>tt?(t&&(clearTimeout(t),t=null),u=s,f=n.apply(i,r),t||(i=r=null)):t||(t=setTimeout(e,o)),f}}(ci);a(window,"message",yi);"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}();window.__gcse={callback:function(){$(".loading-indicator").hide()}},function(){var i=$(".site-search[data-cx]").data("cx"),n,t;i&&(n=document.createElement("script"),n.type="text/javascript",n.async=!0,n.src="https://cse.google.com/cse.js?cx="+i,t=document.getElementsByTagName("script")[0],t.parentNode.insertBefore(n,t))}();$(document).ready(function(){scrollToSearch()});hash=window.location.hash;hash&&hash.indexOf(":")!==-1&&$(document).ready(function(){var n=hash.split(":");$(n[0])[0].scrollIntoView();$(".nav.nav-tabs").find("a[href='#"+n[1]+"']").trigger("click")});loginInit=function(n,t){if(window.location.pathname.startsWith("/financials/login")){var i=window.addEventListener?"addEventListener":"attachEvent",r=window[i],u=i==="attachEvent"?"onmessage":"message";r(u,function(n){var i;try{i=JSON.parse(n.data)}catch(n){}typeof i!="undefined"&&i!==null&&i.type==="LoginResult"&&i.success&&(window.location=t)},!1)}};loginHelper={defaultRedirectUrl:"",myAccountPopupUrl:"",forgotLoginUrl:"",apiUrl:"",usePopup:!0,init:function(n,t,i,r,u){this.defaultRedirectUrl=n;this.myAccountPopupUrl=t;this.forgotLoginUrl=i;this.apiUrl=r;this.redirectIfLoggedIn();this.usePopup=u;registerHandlers()},login:function(n){$.ajax({url:"/Login/unpw",data:JSON.stringify(n),method:"POST",contentType:"application/json",success:function(n){$(".error-message").hide();n.clientRef&&n.clientRef!=""&&redirect()},error:function(n){showErrorMessage(n)}})},redirectIfLoggedIn:function(){$.ajax({url:this.apiUrl+"/Session/ValidateSession",method:"POST",contentType:"application/json",success:function(n){if(n)if(loginHelper.myAccountPopupUrl)$("#goButton").on("click",function(){redirect()});else redirect()},error:function(n){showErrorMessage(n)}})},forgotLoginDetails:function(){openPopupAndRedirect(this.forgotLoginUrl,null)}};String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.indexOf(n,t)===t});window.console||(window.console={log:function(){}});(document.body.style.filter===undefined&&document.body.style.webkitFilter===undefined||document.body.style.backgroundBlendMode===undefined||isMobileOs()&&document.body.clientWidth>=1025)&&$(".splash .sports-side, .splash .financials-side").addClass("fallback");removedStyles=!1;imageAndContentResizer=function(){if(document.body.clientWidth<768){removedStyles||($(".image-and-content.image-size-big .title").each(function(n,t){$(t).removeAttr("style")}),$(".image-and-content.image-size-big .title ~ .content").each(function(n,t){$(t).removeAttr("style")}),$(".image-and-content .button > .action-button").each(function(n,t){$(t).removeAttr("style")}));removedStyles=!0;return}removedStyles=!1;$(".grid-section > .row-wrapper, .umb-block-grid > .layout-container > .layout-item.row-wrapper").each(function(n,t){var f=0,r,u,i;$(t).find(".image-and-content.image-size-big .title > div, .image-and-content.image-size-big .title > a > div").each(function(n,t){f<$(t).height()&&(f=$(t).height())});$(t).find(".image-and-content.image-size-big .title").each(function(n,t){$(t).height(f)});r=0;$(t).find(".image-and-content.image-size-big .title ~ .content > p").each(function(n,t){r<$(t).height()&&(r=$(t).height())});$(t).find(".image-and-content.image-size-big .title ~ .content").each(function(n,t){$(t).height(r);$(t).css("margin-bottom","15px")});u=$(t).find(".image-and-content .button > .action-button");u.css("height","");i=0;u.each(function(n,t){i<$(t).outerHeight()&&(i=$(t).outerHeight())});i>0&&u.each(function(n,t){$(t).outerHeight(i)})})};$(document).ready(function(){imageAndContentResizer()});$(window).on("resize",imageAndContentResizer);var previousWidth=window.innerWidth,isOrientation=function(n){return window.matchMedia("(orientation: "+n+")").matches},hideDropdowns=function(){$(".dropdown > input:checked").each(function(n,t){$(t).prop("checked",!1)});$(".dropdown-submenu > input:checked").each(function(n,t){$(t).prop("checked",!1)})}
158,ycoord=0,tabletMenuOff=function(){var n=$("[data-toggle='collapse-width']").data("target");$(n).toggleClass("in-width");$(".overlay.only-tablet").toggleClass("in-width").toggleClass("show").off("click");ycoord*=-1;$("body").removeClass("stop-scrolling").scrollTop(ycoord);hideDropdowns()},tabletMenuOn=function(){var n=$(this).data("target");ycoord=$(window).scrollTop()*-1;$(n).toggleClass("in-width");$(".overlay.only-tablet").toggleClass("show").toggleClass("in-width");$("body").addClass("stop-scrolling").css("top",ycoord+"px");$(".overlay.only-tablet").on("click",tabletMenuOff)};$("[data-toggle='collapse-width']").on("click",tabletMenuOn);mobileMenuToggle=function(){var n=$(window).scrollTop()*-1;$("body").toggleClass("stop-scrolling");$(".overlay.only-mobile").toggleClass("show").toggleClass("in-width");$(".icon-bar").toggleClass("hide");$(".cross").toggleClass("show");$(".navbar-toggle.only-mobile").toggleClass("no-top");$("body").hasClass("stop-scrolling")?$("body").css("top",n+"px"):(n=$("body").css("top"),$("body").css("top","auto"),$(window).scrollTop(parseInt(n.replace("px",""))*-1),hideDropdowns())};$(".navbar-toggle.only-mobile").on("click",mobileMenuToggle);$(":input").on("focus",function(){isMobileOs()&&$("#main-navigation").css("visibility","hidden")}).on("blur",function(){if(isMobileOs()){$("#main-navigation").css("visibility","");var n=$(this).offset().top-$("#main-navigation").outerHeight();$("html, body").animate({scrollTop:n},500)}});$(".dropdown > .chevrons").on("click",function(n){$(".dropdown > input").each(function(t,i){$(n.target).parent()[0]!==$(i).next(".chevrons")[0]&&$(i).prop("checked",!1)})});$(document).ready(function(){$(window).on("orientationchange",function(){var n=window.innerWidth;isOrientation("landscape")&&$("body").hasClass("stop-scrolling")?n>767&&previousWidth<768?$(".navbar-toggle.only-mobile").trigger("click"):n>1024&&previousWidth<1025&&$(".overlay.only-tablet").trigger("click"):isOrientation("portrait")&&n<768&&previousWidth>767&&$("body").hasClass("stop-scrolling")&&$(".overlay.only-tablet").trigger("click");$("body").hasClass("stop-scrolling")&&$("body").removeClass("stop-scrolling");previousWidth=n})});$open=!0;SmartBanner={shouldShow:function(){return sxBase.Cookies.getCookie("hideasb")?!1:this.isAndroid()?this.isAndroidVersionCompatible():!1},isAndroid:function(){return/android/i.test(navigator.userAgent)&&!/Windows/i.test(navigator.userAgent)&&sxBase.Browser.Device.isAndroid},isAndroidVersionCompatible:function(){return sxBase.Browser.Device.version.major>SmartBannerConfig.androidSmartBannerMinimumVersionMajor||sxBase.Browser.Device.version.major===SmartBannerConfig.androidSmartBannerMinimumVersionMajor&&sxBase.Browser.Device.version.minor>=SmartBannerConfig.androidSmartBannerMinimumVersionMinor},close:function(){this.open=!1;sxBase.Cookies.setCookie("hideasb",SmartBannerConfig.hideAndroidSmartBannerDays);$(".smartbanner").addClass("hidden");$("nav.navbar.navbar-default").removeClass("hasSmartBanner");$(".main-content").removeClass("hasSmartBanner")},openStore:function(){window.open(this.banner.marketUrl,"_system")}};$(function(){$("[data-open-chat]").on("click",function(n){n.preventDefault();"zE"in window&&zE("webWidget","open")})});$(document).ready(function(){$(".nav.nav-tabs li").click(function(){var n=$(this).index();$(this).parent().find("li").removeClass("active");$(this).addClass("active");$(this).closest("div.tabs").find("div.tab-pane").each(function(t){$(this).removeClass("active");t===n&&$(this).addClass("active")})})}) 159//# sourceMappingURL=/extra/app.min.map.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.