1!function(e,t){"use strict";"function"==typeof define&&define.amd?define([],(function(){return t.apply(e)})):"object"==typeof exports?module.exports=t.call(e):e.Waves=t.call(e)}("object"==typeof global?global:this,(function(){"use strict";var e=e||{},t=document.querySelectorAll.bind(document),n=Object.prototype.toString,i="ontouchstart"in window;function s(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function a(e){var i,a=n.call(e);return"[object String]"===a?t(e):s(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(a)&&e.hasOwnProperty("length")?e:s(i=e)&&i.nodeType>0?[e]:[]}function o(e){var t,n,i={top:0,left:0},s=e&&e.ownerDocument;return t=s.documentElement,void 0!==e.getBoundingClientRect&&(i=e.getBoundingClientRect()),n=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(s),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}}function r(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var l={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var i=document.createElement("div");i.className="waves-ripple waves-rippling",t.appendChild(i);var s=o(t),a=0,c=0;"touches"in e&&e.touches.length?(a=e.touches[0].pageY-s.top,c=e.touches[0].pageX-s.left):(a=e.pageY-s.top,c=e.pageX-s.left),c=c>=0?c:0,a=a>=0?a:0;var d="scale("+t.clientWidth/100*3+")",u="translate(0,0)";n&&(u="translate("+n.x+"px, "+n.y+"px)"),i.setAttribute("data-hold",Date.now()),i.setAttribute("data-x",c),i.setAttribute("data-y",a),i.setAttribute("data-scale",d),i.setAttribute("data-translate",u);var f={top:a+"px",left:c+"px"};i.classList.add("waves-notransition"),i.setAttribute("style",r(f)),i.classList.remove("waves-notransition"),f["-webkit-transform"]=d+" "+u,f["-moz-transform"]=d+" "+u,f["-ms-transform"]=d+" "+u,f["-o-transform"]=d+" "+u,f.transform=d+" "+u,f.opacity="1";var m="mousemove"===e.type?2500:l.duration;f["-webkit-transition-duration"]=m+"ms",f["-moz-transition-duration"]=m+"ms",f["-o-transition-duration"]=m+"ms",f["transition-duration"]=m+"ms",i.setAttribute("style",r(f))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),i=0,s=n.length;i<s;i++)d(e,t,n[i])}},c={input:function(e){},img:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");t.replaceChild(n,e),n.appendChild(e)}}};function d(e,t,n){if(n){n.classList.remove("waves-rippling");var i=n.getAttribute("data-x"),s=n.getAttribute("data-y"),a=n.getAttribute("data-scale"),o=n.getAttribute("data-translate"),c=350-(Date.now()-Number(n.getAttribute("data-hold")));c<0&&(c=0),"mousemove"===e.type&&(c=150);var d="mousemove"===e.type?2500:l.duration;setTimeout((function(){var e={top:s+"px",left:i+"px",opacity:"0","-webkit-transition-duration":d+"ms","-moz-transition-duration":d+"ms","-o-transition-duration":d+"ms","transition-duration":d+"ms","-webkit-transform":a+" "+o,"-moz-transform":a+" "+o,"-ms-transform":a+" "+o,"-o-transform":a+" "+o,transform:a+" "+o};n.setAttribute("style",r(e)),setTimeout((function(){try{t.removeChild(n)}catch(e){return!1}}),d)}),c)}}var u={touches:0,allowEvent:function(e){var t=!0;return/^(mousedown|mousemove)$/.test(e.type)&&u.touches&&(t=!1),t},registerEvent:function(e){var t=e.type;"touchstart"===t?u.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout((function(){u.touches&&(u.touches-=1)}),500)}};function f(e){var t=function(e){if(!1===u.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentElement;){if(n.classList.contains("waves-effect")&&!(n instanceof SVGElement)){t=n;break}n=n.parentElement}return t}(e);if(null!==t){if(t.disabled||t.getAttribute("disabled")||t.classList.contains("disabled"))return;if(u.registerEvent(e),"touchstart"===e.type&&l.delay){var n=!1,s=setTimeout((function(){s=null,l.show(e,t)}),l.delay),a=function(i){s&&(clearTimeout(s),s=null,l.show(e,t)),n||(n=!0,l.hide(i,t))};t.addEventListener("touchmove",(function(e){s&&(clearTimeout(s),s=null),a(e)}),!1),t.addEventListener("touchend",a,!1),t.addEventListener("touchcancel",a,!1)}else l.show(e,t),i&&(t.addEventListener("touchend",l.hide,!1),t.addEventListener("touchcancel",l.hide,!1)),t.addEventListener("mouseup",l.hide,!1),t.addEventListener("mouseleave",l.hide,!1)}}return e.init=function(e){var t=document.body;"duration"in(e=e||{})&&(l.duration=e.duration),"delay"in e&&(l.delay=e.delay),i&&(t.addEventListener("touchstart",f,!1),t.addEventListener("touchcancel",u.registerEvent,!1),t.addEventListener("touchend",u.registerEvent,!1)),t.addEventListener("mousedown",f,!1)},e.attach=function(e,t){var i,s;e=a(e),"[object Array]"===n.call(t)&&(t=t.join(" ")),t=t?" "+t:"";for(var o=0,r=e.length;o<r;o++)s=(i=e[o]).tagName.toLowerCase(),-1!==["input","img"].indexOf(s)&&(c[s](i),i=i.parentElement),-1===i.className.indexOf("waves-effect")&&(i.className+=" waves-effect"+t)},e.ripple=function(e,t){var n=(e=a(e)).length;if((t=t||{}
1).wait=t.wait||0,t.position=t.position||null,n)for(var i,s,r,c={},d=0,u={type:"mousedown",button:1},f=function(e,t){return function(){l.hide(e,t)}};d<n;d++)if(i=e[d],s=t.position||{x:i.clientWidth/2,y:i.clientHeight/2},r=o(i),c.x=r.left+s.x,c.y=r.top+s.y,u.pageX=c.x,u.pageY=c.y,l.show(u,i),t.wait>=0&&null!==t.wait){setTimeout(f({type:"mouseup",button:1},i),t.wait)}},e.calm=function(e){for(var t={type:"mouseup",button:1},n=0,i=(e=a(e)).length;n<i;n++)l.hide(t,e[n])},e.displayEffect=function(t){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),e.init(t)},e})),window.onload=function(){Waves.attach(".wave",["waves-effect"]),Waves.attach(".btn-flat",["waves-effect"]),Waves.attach(".pagination .page-item .page-link",["waves-effect"]),Waves.attach(".btn",["waves-light"]),Waves.attach(".view .mask",["waves-light"]),Waves.attach(".wave-light",["waves-light"]),Waves.attach(".navbar-nav a, .nav-icons li a, .navbar form, .nav-tabs .nav-item",["waves-light"]),Waves.attach(".navbar-brand",["waves-light"]),Waves.attach(".pager li a",["waves-light"]),Waves.init()},document.addEventListener("DOMContentLoaded",(function(){Waves.attach(".wave",["waves-effect"]),Waves.attach(".btn-flat",["waves-effect"]),Waves.attach(".pagination .page-item .page-link",["waves-effect"]),Waves.attach(".btn",["waves-light"]),Waves.attach(".view .mask",["waves-light"]),Waves.attach(".wave-light",["waves-light"]),Waves.attach(".navbar-nav a, .nav-icons li a, .navbar form, .nav-tabs .nav-item",["waves-light"]),Waves.attach(".navbar-brand",["waves-light"]),Waves.attach(".pager li a",["waves-light"]),Waves.init()}));var WOW=function(e){var t=e||{};this._boxClass=t.boxClass||"wow",this._animateClass=t.animateClass||"animated",this._offset=t.offset||0,this._mobile=void 0===t.mobile,this._live=void 0===t.live,this._seoFixEnabled=void 0===t.seoFixEnabled,this._animationDuration=t.animationDuration||"1s",this._animationDelay=t.animationDelay||"0s",this._initStorageVariables()};WOW.prototype._initStorageVariables=function(){this._animation=[],this._boxes=[],this._cleanupBoxListener=[],this._cleanupBoxVisibleListener=[]},WOW.prototype.init=function(){!this._mobile&&this._isMobile()||(this._eachBoxInit(this._prepareBox.bind(this)),this._startWow())},WOW.prototype._isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},WOW.prototype._eachBoxInit=function(e){for(var t=document.getElementsByClassName(this._boxClass),n=0;n<t.length;n++)!function(n){e(t[n],n)}(n)},WOW.prototype._prepareBox=function(e){var t=this._boxes.push(e)-1;this._animation[t]={animationName:e.style.animationName||window.getComputedStyle(e,null).animationName},e.style.animationName="none",e.style.visibility="hidden"},WOW.prototype._startWow=function(){this._live&&this._checkForChanges(),0===this._scrollY()&&this._seoFixEnabled&&this._seoFix(),this._appearInView(),this._scrollHandler()},WOW.prototype._scrollY=function(){return this._isInt(window.pageYOffset)?window.pageYOffset:this._isInt(document.documentElement.scrollTop)?document.documentElement.scrollTop:this._isInt(document.body.scrollTop)?document.body.scrollTop:void 0},WOW.prototype._isInt=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},WOW.prototype._seoFix=function(){this._showNotInView()},WOW.prototype._appear=function(e,t){e.style.animationPlayState||e.style.WebkitAnimationPlayState;-1===e.className.indexOf(this._animateClass)&&(delete this._boxes[t],this._onStartAnimation(e,t),this._onStopAnimation(e,t),this._animate(e,t,this._getAnimationConfig(e)))},WOW.prototype._onStartAnimation=function(e,t){this._cleanupBoxVisibleListener[t]=this._boxVisible.bind(this,e,t),e.addEventListener("animationstart",this._cleanupBoxVisibleListener[t]),e.addEventListener("webkitAnimationStart",this._cleanupBoxVisibleListener[t])},WOW.prototype._onStopAnimation=function(e,t){this._cleanupBoxListener[t]=this._cleanupBox.bind(this,e,t),e.addEventListener("animationend",this._cleanupBoxListener[t]),e.addEventListener("webkitAnimationEnd",this._cleanupBoxListener[t])},WOW.prototype._getAnimationConfig=function(e){return{delay:this._getDelay(e),duration:this._getDuration(e),iterations:this._getIterations(e)}},WOW.prototype._getDelay=function(e){return e.getAttribute("data-wow-delay")||this._animationDelay},WOW.prototype._getDuration=function(e){return e.getAttribute("data-wow-duration")||this._animationDuration},WOW.prototype._getIterations=function(e){return e.getAttribute("data-wow-iteration")||e.style.animationIterationCount||window.getComputedStyle(e,null).animationIterationCount||1},WOW.prototype._animate=function(e,t,n){e.style.animationDelay=n.delay,e.style.animationDuration=n.duration,e.style.animationIterationCount=n.iterations,e.style.animationName=this._animation[t].animationName,e.className+=" "+this._animateClass},WOW.prototype._boxVisible=function(e,t){e.style.visibility="visible",e.removeEventListener("animationstart",this._cleanupBoxVisibleListener[t]),e.removeEventListener("webkitAnimationStart",this._cleanupBoxVisibleListener[t]),delete this._cleanupBoxVisibleListener[t]},WOW.prototype._cleanupBox=function(e,t){e.style.animationDelay="",e.style.animationDuration="",e.style.animationIterationCount="",e.style.animationName="none",this._cleanupClass(e),e.removeEventListener("animationend",this._cleanupBoxListener[t]),e.removeEventListener("webkitAnimationEnd",this._cleanupBoxListener[t]),delete this._cleanupBoxListener[t]},WOW.prototype._cleanupClass=function(e){var t=e.className.split(" "),n=t.indexOf(this._animateClass);-1!==n&&(t.splice(n,1),e.className=t.join(" "))}
1,WOW.prototype._eachBox=function(e){for(var t=0;t<this._boxes.length;t++){this._boxes[t]&&function(t){e(this._boxes[t],t)}.bind(this)(t)}},WOW.prototype._scrollHandler=function(){this._hideSeoFixListener=this._hideSeoFix.bind(this),window.addEventListener("scroll",this._hideSeoFixListener),window.addEventListener("scroll",this._appearInView.bind(this)),window.addEventListener("resize",this._appearInView.bind(this))},WOW.prototype._hideSeoFix=function(){window.removeEventListener("scroll",this._hideSeoFixListener),delete this._hideSeoFixListener,this._eachBox(function(e,t){this._isInView(e)||(e.style.visibility="hidden")}.bind(this))},WOW.prototype._appearInView=function(){this._eachBox(function(e,t){this._animateBox(e,t)}.bind(this))},WOW.prototype._animateBox=function(e,t){this._isInView(e)&&(delete this._boxes[t],this._appear(e,t))},WOW.prototype._showNotInView=function(){this._eachBox(function(e,t){this._makeVisible(e,t)}.bind(this))},WOW.prototype._makeVisible=function(e,t){this._isInView(e)||(this._boxes[t].style.visibility="visible")},WOW.prototype._isInView=function(e){var t=e.getAttribute("data-wow-offset")||this._offset,n=this._getElementOffset(e)+~~t;return n<=window.innerHeight+this._scrollY()&&(0===n?10:n)>=this._scrollY()},WOW.prototype._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=document.body,i=this._scrollY(),s=document.documentElement.clientTop||n.clientTop||0,a=t.top+i-s;return Math.round(a)},WOW.prototype._checkForChanges=function(){var e=new(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)(this._mutations.bind(this)),t={childList:!0,subtree:!0};window.onload=function(){e.observe(document.body,t)}},WOW.prototype._mutations=function(e){e.forEach(function(e){for(var t=0;t<e.addedNodes.length;t++)this.doSync(e.addedNodes[t])}.bind(this))},WOW.prototype.doSync=function(e){"string"==typeof e.className&&(-1!==e.className.split(" ").indexOf(this._boxClass)&&this._prepareBox(e))},window.addEventListener("DOMContentLoaded",(function(e){(new WOW).init()})),$(document).on("lazybeforeunveil",(function(e){var t=$(e.target).data("ajax");t&&$(e.target).load(t)}));try{window.SF=SF||{}}catch(e){window.SF={}}SF.Methods=function(){this.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&("[object Object]"==Object.prototype.toString.call(t[n])?this.extend(e[n],t[n]):e[n]=t[n]);return e},this.topZIndex=function(){for(var e=document.querySelectorAll("*"),t=1,n="",i=0;i<e.length;i++)n=getComputedStyle(e[i]),parseInt(n.zIndex)>t&&(t=parseInt(n.zIndex));return t},this.topZIndexElement=function(e){for(var t=1,n=!1,i="",s=0;s<e.length;s++)i=getComputedStyle(e[s]),parseInt(i.zIndex)>t&&(t=parseInt(i.zIndex),n=e[s]);return n},this.includeScript=function(e){var t=document.createElement("script");t.src=e,document.querySelector("head").appendChild(t)},this.addcss=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,document.querySelector("link[href='"+e+"']")&&document.querySelector("link[href='"+e+"']").remove(),document.querySelector("head").appendChild(t),t},this.cookies={get:function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"=");if(-1!=t){t=t+e.length+1;var n=document.cookie.indexOf(";",t);return-1==n&&(n=document.cookie.length),encodeURI(document.cookie.substring(t,n))}}return""},set:function(e,t,n){var i=new Date;i.setDate(i.getDate()+n),document.cookie=e+"="+decodeURI(t)+(null==n?"":"; expires="+i.toUTCString())+"; path=/"},check:function(e){return null!=(e=this.cookie.get(e))&&""!=e}},this.bytelength=function(e){for(var t=0,n=0,i=0;i<e.length;i++)(n=e.charCodeAt(i))<=127?t++:t+=n<=2047?2:n<=65535?3:n<=2097151?4:n<=67108863?5:6;return t},this.bytelengthlimit=function(e,t){for(var n=0,i=0,s="",a=!1,o=[],r=0;r<e.length;r++)i=e.charCodeAt(r),n<=t&&(a=!0),s+=e[r],i<=127?n++:n+=i<=2047?2:i<=65535?3:i<=2097151?4:i<=67108863?5:6,(n>t&&a||a&&r==e.length-1)&&(o.push(s),s="",n=0,a=!1);return o.length>0||o.push(s),o}},SF.send=function(e,t){if(document.createEvent){(n=document.createEvent("Events")).initEvent(e,!0,!1)}else{if(!document.createEventObject())return;var n=document.createEventObject()}
1t.dispatchEvent?t.dispatchEvent(n):t.fireEvent&&t.fireEvent(e,n)},SF.receive=function(e,t,n){window.addEventListener?t.addEventListener(e,n,!1):window.attachEvent&&t.attachEvent(e,n)},SF.Events=function(){this.send=function(e,t){if(document.createEvent){(n=document.createEvent("Events")).initEvent(e,!0,!1)}else{if(!document.createEventObject())return;var n=document.createEventObject()}t.dispatchEvent?t.dispatchEvent(n):t.fireEvent&&t.fireEvent(e,n)},this.receive=function(e,t,n){window.addEventListener?t.addEventListener(e,n,!1):window.attachEvent&&t.attachEvent(e,n)},this.hotkey=function(e){var t=[].slice.call(arguments,1),n={};document.addEventListener("keydown",(function(i){i=i||window.event,n[i.keyCode]=!0;for(var s=0;s<t.length;s++)if(!n[t[s]])return;n={},e()})),document.addEventListener("keyup",(function(e){e=e||window.event,delete n[e.keyCode]}))},this.quickkey=function(e,t){addEventListener("keydown",(function(n){n.keyCode==t&&e(n)}))},SF.Methods.call(this)},SF.Parameters=function(){this.newparams=function(){return this.params},this.updateparams=function(e){var t=e.params,n=t.modifier,i=t.data;for(var s in n)n[s]=e.hasAttribute(i[s])?n[s]+" "+e.getAttribute(i[s]):n[s]},this.params={ajax:{events:{init:"ajaxinit",load:"endcontentload"},method:"GET",type:"html",timeout:0,async:!0,emulateOnload:!0,cache:!0},controller:{},search:{},provider:{},blocks:{special:{cookies:{specialfont:"default",specialstate:"off",specialcolor:"specialwhite",specialkegl:"16",specialinterval:"1.0",specialkerning:"normal",specialimage:"off",specialup:"down",specialsound:"off"},events:{init:"specialinit",create:"specialcreate",open:"specialopen",close:"specialoff",up:"specialup",soundon:"specialsoundon",soundoff:"specialsoundoff",defaultsetting:"specialdefaultsetting",fontsans:"specialfontsans",fontserif:"specialfontserif",fontmono:"specialfontmono",keglmore:"specialkeglmore",keglless:"specialkeglless",intervalone:"specialintervalone",intervalhalf:"specialintervalhalf",intervaltwo:"specialintervaltwo",imageoff:"specialimageoff",imageblack:"specialimageblack",imagecolor:"specialimagecolor",imagecolor:"specialimagecolor",colorwhite:"specialcolorwhite",colorblack:"specialcolorblack",coloryellow:"specialcoloryellow",colorblue:"specialcolorblue",colorgreen:"specialcolorgreen",kerningnormal:"specialkerningnormal",kerningmiddle:"specialkerningmiddle",kerningbig:"specialkerningbig"},data:{init:"sf-special",panel:"sf-special-panel",kegl:"sf-special-kegl",interval:"sf-special-interval",color:"sf-special-color",img:"sf-special-img",on:"sf-special-on"},attributes:{},modifier:{panel:"special-panel d-flex align-items-start justify-content-center flex-wrap flex-row w-100 bb-1",font:"d-flex align-items-center justify-content-center flex-column p-3",kegl:"d-flex align-items-center justify-content-center flex-column p-3",interval:"d-flex align-items-center justify-content-center flex-column p-3",kerning:"d-flex align-items-center justify-content-center flex-column p-3",color:"d-flex align-items-center justify-content-center flex-column p-3",img:"d-flex align-items-center justify-content-center flex-column p-3",onoff:"d-flex align-items-center justify-content-center flex-column p-3",sound:"d-flex align-items-center justify-content-center flex-column p-3",black:"sf-special-black",white:"sf-special-white",yellow:"sf-special-yellow",blue:"sf-special-blue",green:"sf-special-green",specialwhite:"/simai/asset/simai.framework/sf4.master/plugin/special/css/white.min.css",specialblack:"/simai/asset/simai.framework/sf4.master/plugin/special/css/black.min.css",specialyellow:"/simai/asset/simai.framework/sf4.master/plugin/special/css/yellow.min.css",specialblue:"/simai/asset/simai.framework/sf4.master/plugin/special/css/blue.min.css",specialgreen:"/simai/asset/simai.framework/sf4.master/plugin/special/css/green.min.css",specialsoundscript:"https://webasr.yandex.net/jsapi/v1/webspeechkit.js"}},modal:{load:'<div class="sf-progress"><div class="sf-progress-animation"></div></div>',events:{init:"modalinit",create:"modalcreate",open:"modalopen",close:"modalclose"},data:{init:"sf-modal",src:"sf-src",modal:"sf-modal-modifier",content:"sf-content-modifier",close:"sf-close-modifier",overlay:"sf-overlay-modifier",blur:"sf-blur",iframe:"sf-iframe"},attributes:{overlay:"sf-modal-overlay",load:"sf-modal-loadanimation",modal:"sf-modal-area",content:"sf-modal-content",close:"sf-modal-close",number:"sf-modal-number"},modifier:{src:"",service:"sf-service-bottom-area",container:"sf-modal-container",overlay:"sf-modal-overlay",load:"sf-modal-load",modal:"sf-modal-area",content:"sf-modal-content sf-scroll",close:"sf-close",blur:"blur",page:"sf-pagewrap-area"}},ajaxload:{load:'<div class="sf-progress"><div class="sf-progress-animation"></div></div>',events:{init:"ajaxloadinit",cancel:"ajaxloadcanceltrack",create:"ajaxloadcreate"},data:{init:"sf-ajaxload",src:"sf-src",cancel:"sf-canceltrack",loaded:"sf-ajaxloaded"},attributes:{},modifier:{src:""}}}}},SF.Controller=function(){this.stack=stack;var e=this;SF.Events.call(this),SF.Search.call(this),SF.Blocks.call(this),SF.Provider.call(this),this.el?this.send("blocksstart",this.el):(this.stack.ev("specialinit")&&(this.receive("specialinit",window,(function(e){new SF.Special(e.target,e.target.params)})),this.stack.events.push("specialinit")),this.stack.ev("searchend")&&(this.receive("searchend",window,(function(t){e.send("blocksstart",t.target)})),this.send("searchstart",window),this.stack.events.push("searchend")))},SF.Search=function(){this.search=function(){for(var e=document.body.querySelectorAll("*"),t=0;t<e.length;t++){var n=new SF.Parameters,i=n.newparams();for(var s in i.blocks){var a=e[t],o=i.blocks[s];if(a.hasAttribute(o.data.init)){for(var r=0,l=0;l<this.stack.el.length;l++)this.stack.el[l]==a&&r++;0==r&&(a.blocks=s,a.params=o,n.updateparams(a),this.send("searchend",a))}}}},this.searchModal=function(e){for(var t=e.querySelectorAll("[sf-modal]"),n=0;n<t.length;n++){var i=new SF.Parameters,s=i.newparams();for(var a in s.blocks){var o=t[n],r=s.blocks[a];if(o.hasAttribute(r.data.init)){for(var l=0,c=0;c<this.stack.el.length;c++)this.stack.el[c]==o&&l++;0==l&&(o.blocks=a,o.params=r,i.updateparams(o),this.send("searchend",o))}}}},this.searchdata=function(e){for(var t=e.querySelectorAll("*"),n=0;n<t.length;n++){var i=new SF.Parameters,s=i.newparams();for(var a in s.blocks){var o=t[n],r=s.blocks[a];if(o.hasAttribute(r.data.init)){for(var l=0,c=0;c<this.stack.el.length;c++)this.stack.el[c]==o&&l++;0==l&&(o.blocks=a,o.params=r,i.updateparams(o),this.send("searchend",o))}}}};var e=this;this.stack.ev("searchstart")&&(this.receive("searchstart",window,(function(t){e.search()})),this.receive("searchstartmodal",window,(function(t){e.searchModal(document)})),this.stack.events.push("searchstart"))},SF.Blocks=function(){var e=this;this.stack.ev("providerend")&&(this.receive("providerend",window,(function(t){e.send(t.target.event,t.target)})),this.stack.events.push("providerend")),this.stack.ev("blocksstart")&&(this.receive("blocksstart",window,(function(t){e.send("providerstart",t.target)})),this.stack.events.push("blocksstart"))},SF.Provider=function(){this.special=function(e){function t(){switch(l.cookies.get("specialcolor")){case"specialwhite":return BX.message("SF_SPECIAL__SPECIAL_WHITE");case"specialblack":return BX.message("SF_SPECIAL__SPECIAL_BLACK");case"specialyellow":return BX.message("SF_SPECIAL__SPECIAL_YELLOW");case"specialblue":return BX.message("SF_SPECIAL__SPECIAL_BLUE");case"specialgreen":return BX.message("SF_SPECIAL__SPECIAL_GREEN")}return BX.message("SF_SPECIAL__SPECIAL_WHITE")}function n(){var e=l.cookies.get("specialkegl");return""!=e?e+BX.message("SF_SPECIAL__SPECIAL_KEGL"):BX.message("SF_SPECIAL__KEGL_16")}function i(){switch(l.cookies.get("specialkerning")){case"normal":return BX.message("SF_SPECIAL__KERNING_NORMAL");case"middle":return BX.message("SF_SPECIAL__KERNING_MIDDLE");case"big":return BX.message("SF_SPECIAL__KERNING_BIG")}return BX.message("SF_SPECIAL__KERNING_NORMAL")}function s(){switch(l.cookies.get("specialimage")){case"off":return BX.message("SF_SPECIAL__IMG_OFF");case"onblack":return BX.message("SF_SPECIAL__IMG_ON_BLACK");case"oncolor":return BX.message("SF_SPECIAL__IMG_ON_COLOR")}return BX.message("SF_SPECIAL__IMG_OFF")}function a(e){"off"==e?(document.querySelectorAll("div.sf-special-hidden").forEach((e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")})),document.querySelectorAll("main img").forEach((e=>{if(!1===e.parentNode.classList.contains("sf-viewbox-wrap")){e.classList.remove("sf-special-show"),e.classList.add("sf-special-hidden");var t=document.createElement("div");if(t.classList.add("sf-special-show"),t.classList.add("sf-special-alt-text"),t.classList.add("t-ce
1nter"),""!==e.alt)t.innerText=e.alt;else{var n=e.src;t.innerText=n.replace(/^.*[\\\/]/,"")}e.parentNode.insertBefore(t,e)}}))):"onblack"!=e&&"oncolor"!=e||(document.querySelectorAll(".sf-special-show").forEach((e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")})),document.querySelectorAll("main img").forEach((e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))})),document.querySelectorAll(".sf-special-alt-text").forEach((e=>{e.remove()})))}function o(){switch(l.cookies.get("specialinterval")){case"1.0":return BX.message("SF_SPECIAL__INTERVAL_1_0");case"1.5":return BX.message("SF_SPECIAL__INTERVAL_1_5");case"2.0":return BX.message("SF_SPECIAL__INTERVAL_2_0")}return BX.message("SF_SPECIAL__INTERVAL_1_0")}function r(e,t){e.className=t.class,e.style.backgroundColor=t.background,e.style.borderColor="black",e.style.color=t.border,e.style.fontSize=t.font,e.innerHTML=t.text,e.title=t.title}var l=this,c=e.target.params,d=(e.target,{font:{name:{},content:{btnsans:{},btnserif:{},btnmono:{}},status:{}},kegl:{name:{},content:{btnmore:{},btnless:{}},status:{}},interval:{name:{},content:{btnone:{},btnhalf:{},btntwo:{}},status:{}},kerning:{name:{},content:{btnnormal:{},btnmiddle:{},btnbig:{}},status:{}},color:{name:{},content:{btnwhite:{},btnblack:{},btnyellow:{},btnblue:{},btngreen:{}},status:{}},img:{name:{},content:{btnoff:{},btnbw:{},btncolor:{}},status:{}},sound:{name:{},content:{btnon:{},btnoff:{}},status:{},play:{}},onoff:{name:{},content:{btnup:{},btndefault:{},btnonoff:{}},status:{}}});return(d=document.createElement("nav")).className=c.modifier.panel,d.setAttribute("sf-special-panel",""),d.style.backgroundColor="#FFFFFF",d.style.position="relative",d.style.transition="margin-top 1s ease",d.font=document.createElement("div"),d.font.className=c.modifier.font,d.font.name=document.createElement("div"),d.font.content=document.createElement("div"),d.font.status=document.createElement("div"),d.font.name.classList.add("font-text","mb-2"),d.font.name.style.color="rgba(0,0,0, 0.87)",d.font.name.innerHTML=BX.message("SF_SPECIAL__FONT"),d.font.appendChild(d.font.name),d.font.content.classList.add("font-content","btn-group"),d.font.content.btnsans=document.createElement("button"),d.font.content.btnserif=document.createElement("button"),d.font.content.btnmono=document.createElement("button"),r(d.font.content.btnsans,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Arial",title:BX.message("SF_SPECIAL__BTN_SANS_ARIAL")}),d.font.content.btnsans.addEventListener("click",(function(e){l.send(c.events.fontsans,d.font.content.btnsans),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_SANS")})),r(d.font.content.btnserif,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Times",title:BX.message("SF_SPECIAL__BTN_SERIF_TIMES")}),d.font.content.btnserif.addEventListener("click",(function(e){l.send(c.events.fontserif,d.font.content.btnserif),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_SERIF")})),r(d.font.content.btnmono,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Courier",title:BX.message("SF_SPECIAL__BTN_MONO_COURIER")}),d.font.content.btnmono.addEventListener("click",(function(e){l.send(c.events.fontmono,d.font.content.btnmono),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_MONO")})),d.font.status.classList.add("status-text","mt-2"),d.font.status.style.color="rgba(0,0,0, 0.87)",d.font.status.innerHTML=function(){switch(l.cookies.get("specialfont")){case"default":return BX.message("SF_SPECIAL__FONT_DEFAULT");case"sans":return BX.message("SF_SPECIAL__FONT_SANS");case"serif":return BX.message("SF_SPECIAL__FONT_SERIF");case"mono":return BX.message("SF_SPECIAL__FONT_MONO")}return BX.message("SF_SPECIAL__FONT_DEFAULT")}(),d.font.content.appendChild(d.font.content.btnsans),d.font.content.appendChild(d.font.content.btnserif),d.font.content.appendChild(d.font.content.btnmono),d.font.appendChild(d.font.content),d.font.appendChild(d.font.status),d.appendChild(d.font),d.kegl=document.createElement("div"),d.kegl.className=c.modifier.kegl,d.kegl.name=document.createElement("div"),d.kegl.content=document.createElement("div"),d.kegl.status=document.createElement("div"),d.kegl.name.classList.add("kegl-text","mb-2"),d.kegl.name.style.color="rgba(0,0,0,0.87)",d.kegl.name.innerHTML=BX.message("SF_SPECIAL__KEGL"),d.kegl.appendChild(d.kegl.name),d.kegl.content.classList.add("kegl-content","btn-group"),d.kegl.content.btnmore=document.createElement("button"),d.kegl.content.btnless=document.createElement("button"),r(d.kegl.content.btnmore,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"A-",title:BX.message("SF_SPECIAL__BTN_MORE")}),d.kegl.content.btnmore.addEventListener("click",(function(e){l.send(c.events.keglmore,d.kegl.content.btnmore),d.kegl.status.innerHTML=n()})),r(d.kegl.content.btnless,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"A+",title:BX.message("SF_SPECIAL__BTN_LESS")}),d.kegl.content.btnless.addEventListener("click",(function(e){l.send(c.events.keglless,d.kegl.content.btnless),d.kegl.status.innerHTML=n()})),d.kegl.status.classList.add("status-text","mt-2"),d.kegl.status.style.color="rgba(0,0,0, 0.87)",d.kegl.status.innerHTML=n(),d.kegl.content.appendChild(d.kegl.content.btnmore),d.kegl.content.appendChild(d.kegl.content.btnless),d.kegl.appendChild(d.kegl.content),d.kegl.appendChild(d.kegl.status),d.appendChild(d.kegl),d.kerning=document.createElement("div"),d.kerning.className=c.modifier.kerning,d.kerning.name=document.createElement("div"),d.kerning.content=document.createElement("div"),d.kerning.status=document.createElement("div"),d.kerning.name.classList.add("name-text","mb-2"),d.kerning.name.style.color="rgba(0,0,0,0.87)",d.kerning.name.innerHTML=BX.message("SF_SPECIAL__KERNING"),d.kerning.appendChild(d.kerning.name),d.kerning.content.classList.add("kerning-content","btn-group"),d.kerning.status.classList.add("status-text","mt-2"),d.kerning.status.style.color="rgba(0,0,0,0.87)",d.kerning.status.innerHTML=i(),d.kerning.content.btnnormal=document.createElement("button"),d.kerning.content.btnmiddle=document.createElement("button"),d.kerning.content.btnbig=document.createElement("button"),r(d.kerning.content.btnnormal,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.0",title:BX.message("SF_SPECIAL__BTN_NORMAL")}),d.kerning.content.btnnormal.addEventListener("click",(function(e){l.send(c.events.kerningnormal,d.kerning.content.btnnormal),d.kerning.status.innerHTML=i()})),r(d.kerning.content.btnmiddle,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.5",title:BX.message("SF_SPECIAL__BTN_MIDDLE")}),d.kerning.content.btnmiddle.addEventListener("click",(function(e){l.send(c.events.kerningmiddle,d.kerning.content.btnmiddle),d.kerning.status.innerHTML=i()})),r(d.kerning.content.btnbig,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"2.0",title:BX.message("SF_SPECIAL__BTN_BIG")}),d.kerning.content.btnbig.addEventListener("click",(function(e){l.send(c.events.kerningbig,d.kerning.content.btnbig),d.kerning.status.innerHTML=i()})),d.kerning.content.appendChild(d.kerning.content.btnnormal),d.kerning.content.appendChild(d.kerning.content.btnmiddle),d.kerning.content.appendChild(d.kerning.content.btnbig),d.kerning.appendChild(d.kerning.content),d.kerning.appendChild(d.kerning.status),d.appendChild(d.kerning),d.interval=document.createElement("div"),d.interval.className=c.modifier.interval,d.interval.name=document.createElement("div"),d.interval.name.classList.add("kegl-text","mb-2"),d.interval.name.style.color="rgba(0,0,0,0.87)",d.interval.name.innerHTML=BX.message("SF_SPECIAL__INTERVAL"),d.interval.appendChild(d.interval.name),d.interval.content=document.createElement("div"),d.interval.status=document.createElement("div"),d.interval.content.classList.add("interval-content","btn-group"),d.interval.content.btnone=document.createElement("button"),d.interval.content.btnhalf=document.createElement("button"),d.interval.content.btntwo=document.createElement("button"),r(d.interval.content.btnone,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.0",title:BX.message("SF_SPECIAL__BTN_ONE")}),d.interval.content.btnone.addEventListener("click",(function(e){l.send(c.events.intervalone,d.interval.content.btnone),d.interval.status.innerHTML=o()})),r(d.interval.content.btnhalf,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.5",title:BX.message("SF_SPECIAL__BTN_HALF")}),d.interval.content.btnhalf.addEventListener("click",(function(e){l.send(c.events.intervalhalf,d.interval.content.btnhalf),d.interval.status.innerHTML=o()})),r(d.interval.content.btntwo,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"2.0",title:BX.message("SF_SPECIAL__BTN_TWO")}),d.interval.content.btntwo.addEventListener("click",(function(e){l.send(c.events.intervaltwo,d.interval.content.btntwo),d.interval.status.innerHTML=o()})),d.interval.status.classList.add("status-text","mt-2"),d.interval.status.style.color="rgba(0,0,0, 0.87)",d.interval.status.innerHTML=o(),d.interval.content.appendChild(d.interval.content.btnone),d.interval.content.appendChild(d.interval.content.btnhalf),d.interval.content.appendChild(d.interval.content.btntwo),d.interval.appendChild(d.interval.content),d.interval.appendChild(d.interval.status),d.appendChild(d.interval),d.color=document.createElement("div"),d.color.className=c.modifier.color,d.color.name=document.createElement("div"),d.color.name.classList.add("color-text","mb-2"),d.color.name.style.color="rgba(0,0,0,0.87)",d.color.name.innerHTML=BX.message("SF_SPECIAL__COLOR"),d.color.appendChild(d.color.name),d.color.content=document.createElement("div"),d.color.status=document.createElement("div"),d.color.content.classList.add("color-content","btn-group"),d.color.status.classList.add("status-text","mt-2"),d.color.status.style.color="rgba(0,0,0, 0.87)",d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"),d.color.content.btnwhite=document.createElement("button"),d.color.content.btnblack=document.createElement("button"),d.color.content.btnyellow=document.createElement("button"),d.color.content.btnblue=document.createElement("button"),d.color.content.btngreen=document.createElement("button"),r(d.color.content.btnwhite,{class:"btn btn-outline px-2",background:"white",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_WHITE")}),d.color.content.btnwhite.addEventListener("click",(function(e){l.cookies.get("specialcolor")!=c.events.colorwhite&&(l.send(c.events.colorwhite,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))})),r(d.color.content.btnblack,{class:"btn btn-outline px-2",background:"black",border:"white",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_BLACK")}),d.color.content.btnblack.addEventListener("click",(function(e){l.cookies.get("specialcolor")!=c.events.colorblack&&(l.send(c.events.colorblack,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))})),r(d.color.content.btnyellow,{class:"btn btn-outline px-2",background:"#FF0",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_YELLOW")}),d.color.content.btnyellow.addEventListener("click",(function(e){l.cookies.get("specialcolor")!=c.events.coloryellow&&(l.send(c.events.coloryellow,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))})),r(d.color.content.btnblue,{class:"btn btn-outline px-2",background:"#9fd7ff",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_BLUE")}),d.color.content.btnblue.addEventListener("click",(function(e){l.cookies.get("specialcolor")!=c.events.colorblue&&(l.send(c.events.colorblue,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))})),r(d.color.content.btngreen,{class:"btn btn-outline px-2",background:"black",border:"#a9dd38",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_GREEN")}),d.color.content.btngreen.addEventListener("click",(function(e){l.cookies.get("specialcolor")!=c.events.colorgreen&&(l.send(c.events.colorgreen,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))})),d.color.content.appendChild(d.color.content.btnwhite),d.color.content.appendChild(d.color.content.btnblack),d.color.content.appendChild(d.color.content.btnyellow),d.color.content.appendChild(d.color.content.btnblue),d.color.content.appendChild(d.color.content.btngreen),d.color.appendChild(d.color.content),d.color.appendChild(d.color.status),d.appendChild(d.color),d.img=document.createElement("div"),d.img.className=c.modifier.img,d.img.name=document.createElement("div"),d.img.name.classList.add("color-text","mb-2"),d.img.name.style.color="rgba(0,0,0,0.87)",d.img.name.innerHTML=BX.message("SF_SPECIAL__IMG"),d.img.appendChild(d.img.name),d.img.content=document.createElement("div"),d.img.status=document.createElement("div"),d.img.status.classList.add("status-text","mt-2"),d.img.status.style.color="rgba(0,0,0,0.87)",d.img.status.innerHTML=s(),d.img.content.classList.add("img-content","btn-group"),d.img.content.btnoff=document.createElement("button"),d.img.content.btnbw=document.createElement("button"),d.img.content.btncolor=document.createElement("button"),r(d.img.content.btnoff,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_OFF_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_OFF_TEXT")}),d.img.content.btnoff.addEventListener("click",(function(e){l.send(c.events.imageoff,d.img.content.btnoff),d.img.status.innerHTML=s(),a("off")})),r(d.img.content.btnbw,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_BW_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_BW")}),d.img.content.btnbw.addEventListener("click",(function(e){l.send(c.events.imageblack,d.img.content.btnbw),d.img.status.innerHTML=s(),a("onblack")})),r(d.img.content.btncolor,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__IMG_BTN_COLOR_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_COLOR")}),d.img.content.btncolor.addEventListener("click",(function(e){l.send(c.events.imagecolor,d.img.content.btncolor),d.img.status.innerHTML=s(),a("oncolor")})),d.img.content.appendChild(d.img.content.btnoff),d.img.content.appendChild(d.img.content.btnbw),d.img.content.appendChild(d.img.content.btncolor),d.img.appendChild(d.img.content),d.img.appendChild(d.img.status),d.appendChild(d.img),d.onoff=document.createElement("div"),d.onoff.className=c.modifier.onoff,d.onoff.name=document.createElement("div"),d.onoff.name.classList.add("onoff-text","mb-2"),d.onoff.name.style.color="rgba(0,0,0,0.87)",d.onoff.name.innerHTML=BX.message("SF_SPECIAL__PANEL"),d.onoff.appendChild(d.onoff.name),d.onoff.content=document.createElement("div"),d.onoff.content.classList.add("onoff-content","btn-group"),d.onoff.content.btnup=document.createElement("button"),d.onoff.content.btndefault=document.createElement("button"),d.onoff.content.btnonoff=document.createElement("button"),r(d.onoff.content.btndefault,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:'<i class="fas fa-sync-alt" style="color:black!important"></i>',title:BX.message("SF_SPECIAL__BTN_DEFAULT")}),d.onoff.content.btndefault.addEventListener("click",(function(e){l.send(c.events.defaultsetting,d),document.querySelectorAll(".sf-special-alt-text").forEach((e=>{e.remove()})),a("off")})),r(d.onoff.content.btnonoff,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_OFF_TEXT"),title:BX.message("SF_SPECIAL__BTN_OFF")}),d.onoff.content.btnonoff.addEventListener("click",(function(e){console.log(d),l.send(c.events.close,d),l.send(c.events.defaultsetting,d),document.querySelector("html").style.fontSize="16px",a("onblack")})),r(d.onoff.content.btnup,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:'<i class="far fa-angle-up" style="color:black!important"></i>',title:BX.message("SF_SPECIAL__BTN_UP")}
1),d.onoff.content.btnup.style.position="absolute",d.onoff.content.btnup.style.bottom="0",d.onoff.content.btnup.style.left="0",d.onoff.content.btnup.style.borderBottom="0 solid black",d.onoff.content.btnup.style.borderRadius="0",d.onoff.content.btnup.style.zIndex="10","down"==l.cookies.get("specialup")?(d.style.marginTop="-"+d.clientHeight+"px",d.onoff.content.btnup.style.bottom="-"+d.onoff.content.btnup.clientHeight+"px",d.onoff.content.btnup.style.transform="rotate(180deg)",l.cookies.set("specialup","up",7)):(d.style.marginTop="0",d.onoff.content.btnup.style.bottom="0",d.onoff.content.btnup.style.transform="rotate(0deg)",l.cookies.set("specialup","down",7)),d.onoff.content.btnup.addEventListener("click",(function(e){l.send(c.events.up,d)})),d.onoff.content.appendChild(d.onoff.content.btndefault),d.onoff.content.appendChild(d.onoff.content.btnonoff),d.onoff.appendChild(d.onoff.content),d.appendChild(d.onoff),d.appendChild(d.onoff.content.btnup),d},this.modal=function(e){var t={load:{},area:{content:{},close:{}}},n=this,i=e.target.params,s=document.body.querySelector(".sf-pagewrap-area"),a=e.target;return(t=document.createElement("div")).load=document.createElement("div"),t.load.innerHTML=i.load,t.area=document.createElement("div"),t.area.content=document.createElement("div"),t.area.close=document.createElement("button"),t.load.setAttribute(i.attributes.load,""),t.className=i.modifier.overlay,t.style.display="flex",t.load.style.position="fixed",t.load.style.top="0",t.load.style.left="0",t.load.style.width="100%",t.setAttribute(i.attributes.overlay,""),t.addEventListener("click",(function(e){e.target.hasAttribute(i.attributes.overlay)&&n.send(i.events.close,t)})),t.classList=i.modifier.overlay,t.setAttribute(i.data.src,i.modifier.src),t.style.zIndex=this.topZIndex()+1,t.area.setAttribute(i.attributes.modal,""),t.area.className=i.modifier.modal,t.area.content.setAttribute(i.attributes.content,""),t.area.content.className=i.modifier.content,t.area.style.opacity="0",t.area.appendChild(t.area.content),t.area.close.addEventListener("click",(function(e){n.send(i.events.close,t)})),t.area.close.setAttribute(i.attributes.close,""),t.area.close.className=i.modifier.close,t.area.appendChild(t.area.close),t.appendChild(t.load),t.appendChild(t.area),this.receive(i.events.open,t,(function(e){t.style.display="flex",document.body.style.overflow="hidden";try{(a.hasAttribute(i.data.blur)||null!=i.attributes.blur&&null!=i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur.replace(" ",""))}catch(e){}})),this.receive(i.events.close,t,(function(e){null!=t.parentNode&&(t.area.style.opacity="0",t.area.content.innerHTML="",t.load.style.display="flex",t.parentNode.removeChild(t)),document.body.style.overflow="auto";try{(a.hasAttribute(i.data.blur)||null!=i.attributes.blur&&null!=i.attributes.blur)&&null!=s&&s.classList.remove(i.modifier.blur.replace(" ",""))}catch(e){}})),t},this.iframe=function(e){var t={load:{},area:{content:{},close:{}}},n=this,i=e.target.params,s=document.body.querySelector(".sf-pagewrap-area"),a=e.target;return(t=document.createElement("div")).load=document.createElement("div"),t.load.innerHTML=i.load,t.area=document.createElement("div"),t.area.content=document.createElement("iframe"),t.area.content.src=i.modifier.src,t.area.close=document.createElement("button"),t.load.setAttribute(i.attributes.load,""),t.load.className=i.modifier.load,t.load.style.position="fixed",t.load.style.top="0",t.load.style.left="0",t.load.style.width="100%",t.setAttribute(i.attributes.overlay,""),t.addEventListener("click",(function(e){e.target.hasAttribute(i.attributes.overlay)&&n.send(i.events.close,t)})),t.classList=i.modifier.overlay,t.setAttribute(i.data.src,i.modifier.src),t.style.zIndex=this.topZIndex()+1,t.area.setAttribute(i.attributes.content,""),t.area.className=i.modifier.modal,t.area.content.setAttribute(i.attributes.content,""),t.area.content.className=i.modifier.content,t.area.style.opacity="0",t.area.appendChild(t.area.content),t.area.close.addEventListener("click",(function(e){n.send(i.events.close,t)})),t.area.close.setAttribute(i.attributes.close,""),t.area.close.className=i.modifier.close,t.area.appendChild(t.area.close),t.appendChild(t.load),t.appendChild(t.area),this.receive(i.events.open,a||window,(function(e){t.style.opacity=1,document.body.style.overflow="hidden",t.style.display="flex",(a.hasAttribute(i.data.blur)||i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur)})),this.receive(i.events.close,t,(function(e){null!=t.parentNode&&(t.area.style.opacity="0",t.area.content.innerHTML="",t.load.style.display="flex",t.parentNode.removeChild(t)),document.body.style.overflow="auto",(a.hasAttribute(i.data.blur)||i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur)})),this.send(i.events.open,a),t},this.providercreate=function(e){var t=e.target.blocks,n=e.target,i=n.params;switch(t){case"modal":n.modal=this.modal(e),n.event=i.events.init,this.send("providerend",n);break;case"special":n.special=this.special(e),n.event=i.events.init,this.send("providerend",n);break;case"ajaxload":n.event=i.events.init,this.send("providerend",n)}};var e=this;this.stack.ev("providerstart")&&(this.receive("providerstart",window,(function(t){e.providercreate(t)})),this.stack.events.push("providerstart"))},SF.Modal=function(e,t){this.createNew=function(e){var t=(new SF.Parameters).newparams();window.blocks="modal",window.params=this.extend(t.blocks.modal,window.params),e.target.blocks="modal",e.target.params=this.extend(t.blocks.modal,window.params),e.target.modal=n.modal(e),window.modal=n.modal(e),n.create(e)},this.create=function(e){var t=e.target.modal,i=e.target,s=null,a=i.params;try{i.hasAttribute(a.data.iframe)&&(t=this.iframe(e))}catch(e){}var o=document.body.querySelector(".sf-service-bottom-area");null==o||null==o?((o=document.createElement("div")).classList.add(i.params.modifier.service),document.body.appendChild(o)):s=o.querySelector(".sf-modal-container"),null!=s&&null!=s||((s=document.createElement("section")).setAttribute("modal-container",""),s.className=a.modifier.container);try{s.appendChild(t)}catch(e){s.innerHTML=t}o.appendChild(s),setTimeout((function(){if(t.hasAttribute(i.params.data.src)){var e=t.getAttribute(i.params.data.src).replace(" ","");null!=e&&""!=e?"."==e[0]&&function(e){for(var t="abcdefghijklmnopqrstuvwxyz",n=0,i=0;i<26;i++)t[i]==e&&n++;return n>0}(e[1])||"#"==e[0]||"["==e[0]?(t.area.content.appendChild(document.body.querySelector(e).cloneNode(!0)),n.searchdata(t.area.content),t.load.style.display="none",t.area.style.opacity="1",n.send(i.params.events.open,t)):BX.ajax.post(t.getAttribute(i.params.data.src),"",(function(e){try{i.hasAttribute(a.data.iframe)||(t.area.content.innerHTML=e)}catch(n){t.area.content.innerHTML=e}n.searchdata(t.area.content),t.load.style.display="none",t.area.style.opacity="1",n.send(i.params.events.open,t)})):(t.area.content.innerHTML='<div class="w-100 h-100"><h6 class="c-red">Error</h6></div>',n.searchdata(t.area.content),t.load.style.display="none",t.area.style.opacity="1",n.send(i.params.events.open,t))}}),1e3)},SF.Events.call(this),this.el=e,this.stack=stack;var n=this,i=(new SF.Parameters).newparams(),s=this.extend(i.blocks.modal,t);this.el&&(this.el.blocks="modal",this.el.params=s),this.receive(s.events.init,window,(function(e){var t=e;t.target.addEventListener("click",(function(e){e.preventDefault(),n.create(t)}))}
1)),this.receive(s.events.create,window,(function(e){n.createNew(e)})),this.quickkey((function(e){var t=n.topZIndexElement(document.body.querySelectorAll(".sf-modal-overlay"));n.send("modalclose",t)}),27),SF.Controller.call(this)},SF.Special=function(e,t){this.updateparam=function(e){for(var t in e)n.cookies.get(t)&&(e[t]=n.cookies.get(t));return e},SF.Events.call(this),this.el=e;var n=this,i=(new SF.Parameters).newparams(),s=this.extend(i.blocks.special,t);this.stack=stack;var a=document.querySelector("html"),o=document.body,r=o.querySelector("#bx-panel"),l=!0;function c(){document.querySelectorAll(".sf-special-alt-text").forEach((e=>{e.remove()}))}function d(){document.querySelectorAll("main img").forEach((e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))}))}null===r&&(r=o.querySelector(".sf-service-top-area"),l=!1),this.el&&(this.el.blocks="special",this.el.params=s),s.cookies=this.updateparam(s.cookies),this.stack.ev(s.events.close)&&(this.receive(s.events.close,window,(function(e){var t=e.target;t.parentNode.removeChild(t),a.classList.remove("special-img-none"),a.classList.remove("special-img-black"),a.classList.remove("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.send(s.events.soundoff,window),n.cookies.set("specialstate","off",7)})),this.stack.events.push(s.events.close)),this.stack.ev(s.events.open)&&(this.receive(s.events.open,window,(function(e){switch(n.cookies.set("specialstate","on",7),n.updateparam(s.cookies),1==l?r.after(n.el.special):r.insertBefore(n.el.special,r.firstChild),a.classList.add("special"),s.cookies.specialfont){case"sans":n.send(s.events.fontsans,e.target);break;case"serif":n.send(s.events.fontserif,e.target);break;case"mono":n.send(s.events.fontmono,e.target)}switch(s.cookies.specialkerning){case"normal":n.send(s.events.kerningnormal,e.target);break;case"middle":n.send(s.events.kerningmiddle,e.target);break;case"big":n.send(s.events.kerningbig,e.target)}switch(s.cookies.specialinterval){case"1.0":n.send(s.events.intervalone,e.target);break;case"1.5":n.send(s.events.intervalhalf,e.target);break;case"2.0":n.send(s.events.intervaltwo,e.target)}switch(a.style.fontSize=s.cookies.specialkegl+"px",o.style.fontSize=s.cookies.specialkegl+"px",s.cookies.specialimage){case"off":a.classList.add("special-img-none"),a.classList.remove("special-img-black"),n.cookies.set("specialimage","off",7);break;case"oncolor":a.classList.remove("special-img-none"),a.classList.remove("special-img-black"),n.cookies.set("specialimage","oncolor",7);break;case"onblack":a.classList.add("special-img-black"),a.classList.remove("special-img-none"),n.cookies.set("specialimage","onblack",7)}n.el.linkcss=n.addcss(s.modifier[s.cookies.specialcolor]),a.classList.add(s.cookies.specialcolor);var t=n.cookies.get("specialimage");"off"==t?(document.querySelectorAll("div.sf-special-hidden").forEach((e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")})),document.querySelectorAll("main img").forEach((e=>{if(!e.classList.contains("no-special")&&!1===e.parentNode.classList.contains("sf-viewbox-wrap")){e.classList.remove("sf-special-show"),e.classList.add("sf-special-hidden");var t=document.createElement("div");if(t.classList.add("sf-special-show"),t.classList.add("sf-special-alt-text"),t.classList.add("t-center"),""!==e.alt)t.innerText=e.alt;else{var n=e.src;t.innerText=n.replace(/^.*[\\\/]/,"")}e.parentNode.insertBefore(t,e)}}))):"onblack"!=t&&"oncolor"!=t||setTimeout((function(){document.querySelectorAll(".sf-special-show").forEach((e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")})),document.querySelectorAll("main img").forEach((e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))})),document.querySelectorAll(".sf-special-alt-text").forEach((e=>{e.remove()}))}),500);var i=document.body.querySelector("[sf-special-panel]");"on"==s.cookies.specialsound&&n.send(s.events.soundon,i)})),this.stack.events.push(s.events.open)),this.stack.ev(s.events.fontsans)&&(this.receive(s.events.fontsans,window,(function(e){a.classList.add("special-font-sans"),a.classList.remove("special-font-serif"),a.classList.remove("special-font-mono"),n.cookies.set("specialfont","sans",7)})),this.stack.events.push(s.events.fontsans)),this.stack.ev(s.events.fontserif)&&(this.receive(s.events.fontserif,window,(function(e){a.classList.remove("special-font-sans"),a.classList.add("special-font-serif"),a.classList.remove("special-font-mono"),n.cookies.set("specialfont","serif",7)})),this.stack.events.push(s.events.fontserif)),this.stack.ev(s.events.fontmono)&&(this.receive(s.events.fontmono,window,(function(e){a.classList.remove("special-font-sans"),a.classList.remove("special-font-serif"),a.classList.add("special-font-mono"),n.cookies.set("specialfont","mono",7)})),this.stack.events.push(s.events.fontmono)),this.stack.ev(s.events.keglless)&&(this.receive(s.events.keglless,window,(function(e){if(n.updateparam(s.cookies),s.cookies.specialkegl<24){var t=Number(s.cookies.specialkegl);t++,a.style.fontSize=t+"px",o.style.fontSize=t+"px",n.cookies.set("specialkegl",t,7)}})),this.stack.events.push(s.events.keglless)),this.stack.ev(s.events.keglmore)&&(this.receive(s.events.keglmore,window,(function(e){if(n.updateparam(s.cookies),s.cookies.specialkegl>14){var t=Number(s.cookies.specialkegl);t--,a.style.fontSize=t+"px",o.style.fontSize=t+"px",n.cookies.set("specialkegl",t,7)}})),this.stack.events.push(s.events.keglmore)),this.stack.ev(s.events.kerningnormal)&&(this.receive(s.events.kerningnormal,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-kerning-middle"),a.classList.remove("special-kerning-big"),n.cookies.set("specialkerning","normal",7)})),this.stack.events.push(s.events.kerningnormal)),this.stack.ev(s.events.kerningmiddle)&&(this.receive(s.events.kerningmiddle,window,(function(e){n.updateparam(s.cookies),a.classList.add("special-kerning-middle"),a.classList.remove("special-kerning-big"),n.cookies.set("specialkerning","middle",7)})),this.stack.events.push(s.events.kerningmiddle)),this.stack.ev(s.events.kerningbig)&&(this.receive(s.events.kerningbig,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-kerning-middle"),a.classList.add("special-kerning-big"),n.cookies.set("specialkerning","big",7)})),this.stack.events.push(s.events.kerningbig)),this.stack.ev(s.events.intervalone)&&(this.receive(s.events.intervalone,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-interval-15"),a.classList.remove("special-inerval-20"),n.cookies.set("specialinterval","1",7)})),this.stack.events.push(s.events.intervalone)),this.stack.ev(s.events.intervalhalf)&&(this.receive(s.events.intervalhalf,window,(function(e){n.updateparam(s.cookies),a.classList.add("special-interval-15"),a.classList.remove("special-inerval-20"),n.cookies.set("specialinterval","1.5",7)})),this.stack.events.push(s.events.intervalhalf)),this.stack.ev(s.events.intervaltwo)&&(this.receive(s.events.intervaltwo,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-interval-15"),a.classList.add("special-inerval-20"),n.cookies.set("specialinterval","2.0",7)})),this.stack.events.push(s.events.intervaltwo)),this.stack.ev(s.events.imagecolor)&&(this.receive(s.events.imagecolor,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-img-none"),a.classList.remove("special-img-black"),n.cookies.set("specialimage","oncolor",7)})),this.stack.events.push(s.events.imagecolor)),this.stack.ev(s.events.imageblack)&&(this.receive(s.events.imageblack,window,(function(e){n.updateparam(s.cookies),a.classList.remove("special-img-none"),a.classList.add("special-img-black"),n.cookies.set("specialimage","onblack",7)})),this.stack.events.push(s.events.imageblack)),this.stack.ev(s.events.imageoff)&&(this.receive(s.events.imageoff,window,(function(e){n.updateparam(s.cookies),a.classList.add("special-img-none"),a.classList.remove("special-img-black"),n.cookies.set("specialimage","off",7)})),this.stack.events.push(s.events.imageoff)),this.stack.ev(s.events.colorwhite)&&(this.receive(s.events.colorwhite,window,(function(e){n.updateparam(s.cookies),a.classList.add("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),a.classList.add("specialwhite"),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(s.modifier.specialwhite),n.c
1ookies.set("specialcolor","specialwhite",7)})),this.stack.events.push(s.events.colorwhite)),this.stack.ev(s.events.colorblack)&&(this.receive(s.events.colorblack,window,(function(e){a.classList.add("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),a.classList.add("specialblack"),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(s.modifier.specialblack),n.cookies.set("specialcolor","specialblack",7)})),this.stack.events.push(s.events.colorblack)),this.stack.ev(s.events.coloryellow)&&(this.receive(s.events.coloryellow,window,(function(e){a.classList.add("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),a.classList.add("specialyellow"),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(s.modifier.specialyellow),n.cookies.set("specialcolor","specialyellow",7)})),this.stack.events.push(s.events.coloryellow)),this.stack.ev(s.events.colorblue)&&(this.receive(s.events.colorblue,window,(function(e){a.classList.add("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),a.classList.add("specialblue"),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(s.modifier.specialblue),n.cookies.set("specialcolor","specialblue",7)})),this.stack.events.push(s.events.colorblue)),this.stack.ev(s.events.colorgreen)&&(this.receive(s.events.colorgreen,window,(function(e){a.classList.add("special"),n.cookies.get("specialcolor")&&a.classList.remove(n.cookies.get("specialcolor")),a.classList.add("specialgreen"),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(s.modifier.specialgreen),n.cookies.set("specialcolor","specialgreen",7)})),this.stack.events.push(s.events.colorgreen)),this.stack.ev(s.events.soundoff)&&(this.receive(s.events.soundoff,window,(function(e){for(var t=document.body.querySelectorAll("[sf-play]"),i=0;i<t.length;i++)t[i].parentNode.removeChild(t[i]);n.cookies.set("specialsound","off",7)})),this.stack.events.push(s.events.soundoff)),this.stack.ev(s.events.defaultsetting)&&(this.receive(s.events.defaultsetting,window,(function(e){var t=(new SF.Parameters).newparams().blocks.special,i=e.target;a.classList.remove("special-font-sans"),a.classList.remove("special-font-serif"),a.classList.remove("special-font-mono"),i.font.status.innerHTML=BX.message("SF_SPECIAL__FONT_DEFAULT"),n.cookies.set("specialfont",t.cookies.specialfont,7),a.style.fontSize=t.cookies.specialkegl+"px",i.kegl.status.innerHTML=t.cookies.specialkegl+BX.message("SF_SPECIAL__SPECIAL_KEGL"),n.cookies.set("specialkegl",t.cookies.specialkegl,7),a.classList.remove("special-kerning-middle"),a.classList.remove("special-kerning-big"),n.cookies.set("specialkerning",t.cookies.specialkerning,7),i.kerning.status.innerHTML=BX.message("SF_SPECIAL__KERNING_NORMAL"),a.classList.remove("special-interval-15"),a.classList.remove("special-inerval-20"),n.cookies.set("specialinterval","1.0",7),i.interval.status.innerHTML=BX.message("SF_SPECIAL__INTERVAL_1_0"),n.el.linkcss.parentNode&&n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.el.linkcss=n.addcss(t.modifier.specialwhite),n.cookies.set("specialcolor",t.cookies.specialcolor),i.color.status.innerHTML=BX.message("SF_SPECIAL__BTN_WHITE"),i.img.status.innerHTML=BX.message("SF_SPECIAL__IMG_OFF"),a.classList.add("special-img-none"),a.classList.remove("special-img-black"),document.querySelectorAll(".sf-special-show").forEach((e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")})),n.cookies.set("specialimage","off",7)})),this.stack.events.push(s.events.defaultsetting)),this.stack.ev(s.events.up)&&(this.receive(s.events.up,window,(function(e){var t=e.target;"down"==n.cookies.get("specialup")?(t.style.marginTop="-"+t.clientHeight+"px",t.onoff.content.btnup.style.bottom="-"+t.onoff.content.btnup.clientHeight+"px",t.onoff.content.btnup.style.transform="rotate(180deg)",n.cookies.set("specialup","up",7)):(t.style.marginTop="0",t.onoff.content.btnup.style.bottom="0",t.onoff.content.btnup.style.transform="rotate(0deg)",n.cookies.set("specialup","down",7))})),this.stack.events.push(s.events.up)),"off"==s.cookies.specialstate?n.el.addEventListener("click",(function(e){switch(e.preventDefault(),n.cookies.get("specialstate")){case"off":n.send(n.el.params.events.open,n.el),"off"==n.
1cookies.get("specialimage")&&document.querySelectorAll("div.sf-special-hidden").forEach((e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")}));break;case"on":var t=document.body.querySelector("[sf-special-panel]");t.parentNode.removeChild(t),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.cookies.set("specialstate","off",7),"off"==n.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-show").forEach((e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")})),document.querySelector("html").style.fontSize="16px",d(),c();break;default:n.send(n.el.params.events.open,n.el)}})):(n.updateparam(s.cookies),n.send(s.events.open,window),n.el.addEventListener("click",(function(e){switch(n.cookies.get("specialstate")){case"off":n.send(n.el.params.events.open,n.el),"off"==n.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-hidden").forEach((e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")}));break;case"on":var t=document.body.querySelector("[sf-special-panel]");t.parentNode.removeChild(t),n.el.linkcss.parentNode.removeChild(n.el.linkcss),n.cookies.set("specialstate","off",7),"off"==n.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-show").forEach((e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")})),document.querySelector("html").style.fontSize="16px",d(),c();break;default:n.send(n.el.params.events.open,n.el)}})))},SF.AjaxLoad=function(e,t){SF.Events.call(this),this.el=e;var n=this,i=(new SF.Parameters).newparams(),s=this.extend(i.blocks.ajaxload,t);this.stack=stack,this.el&&(this.el.blocks="ajaxload",this.el.params=s),this.receive(s.events.init,window,(function(e){var t=e.target,i=setInterval(n.checklayer,1e3,t);n.receive(s.events.cancel,t,(function(e){clearInterval(i)}))})),this.receive(s.events.create,window,(function(e){n.send("ajaxloadinit",e.target)})),this.checklayer=function(e){var t=getComputedStyle(e);"loaded"!==e.getAttribute(s.data.loaded)&&"none"!==t.display?(e.setAttribute(s.data.loaded,"loaded"),e.innerHTML=s.load,setTimeout((function(){BX.ajax.post(e.getAttribute(s.data.src),"",(function(t){e.innerHTML=t,e.load.style.display="none"}))}),1e3)):e.setAttribute(s.data.loaded,""),e.hasAttribute(s.data.cancel)&&"loaded"==e.getAttribute(s.data.loaded)&&n.send(s.events.cancel,e)}},SF.Controller.Stack={el:[],events:[],log:[]};var stack=SF.Controller.Stack;function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){_defineProperty(e,t,n[t])}))}return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}SF.Controller.Stack.extend=function(e,t){var n=0;for(var i in t){if(e.length>0)for(var s=0;s<e.length;s++)e[s]==t[i]&&n++;0==n&&e.push(t[i]),n=0}return e},SF.Controller.Stack.addevents=function(e){for(var t=this.stack.events,n=0,i=0;i<t.length;i++)t[i]==e&&n++;0==n&&t.push(e)},SF.Controller.Stack.ev=function(e){for(var t=this.events,n=0,i=0;i<t.length;i++)t[i]==e&&n++;return 0===n},window.addEventListener("DOMContentLoaded",(function(e){new SF.AjaxLoad,new SF.Modal})),function(e){"use strict";function t(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function n(e,n){this.el=e,this.options=t({},this.options),t(this.options,n),this._init()}n.prototype.options={start:0},n.prototype._init=function(){this.tabs=[].slice.call(this.el.querySelectorAll("nav > ul > li")),this.items=[].slice.call(this.el.querySelectorAll(".sf-tab-content > section")),this.current=-1,this._initEvents(),this._hideTabIfContentEmpty(),this._overrideActiveTab()},n.prototype._initEvents=function(){var e=this;
1this.tabs.forEach((function(t,n){t.addEventListener("click",(function(t){t.preventDefault();for(var i=0;i<e.tabs.length;i++)e.tabs[i].classList.remove("active"),e.items[i].classList.remove("active");e._show(n)}))}))},n.prototype._show=function(e){this.current>=0&&(this.tabs[this.current].classList.remove("active"),this.items[this.current].classList.remove("active")),null!=e&&(this.current=e,this.tabs[e].classList.add("active"),this.items[e].classList.add("active"))},n.prototype._hideTabIfContentEmpty=function(){const e=document.querySelector(".sf-tab-nav-wrap").querySelectorAll("li"),t=document.querySelectorAll(".sf-tab-content-wrap");document.querySelector(".sf-tab-nav");for(var n=!1,i=0;i<e.length;i++)0===t[i].querySelectorAll("div").length&&0===t[i].children.length&&(n=!0),!0===n&&(e[i].classList.remove("d-xl-flex"),e[i].classList.add("d-none")),n=!1},n.prototype._overrideActiveTab=function(){var e=!1,t=!1,n=0;this.tabs.forEach((function(i,s){i.classList.contains("active")&&i.classList.contains("d-none")?(i.classList.remove("active"),e=!0):!e||t||i.classList.contains("d-none")||(i.classList.add("active"),t=!0,n=s)})),this.items.forEach((function(e,t){t!=n||e.classList.contains("active")?t!=n&&e.classList.contains("active")&&e.classList.remove("active"):e.classList.add("active")}))},e.sfTab=n}(window),window.addEventListener("DOMContentLoaded",(function(){[].slice.call(document.querySelectorAll(".sf-tab")).forEach((function(e){new sfTab(e)}))})),function(e){e(document).ready((function(){var t=document.querySelector(".sf-up");if(null!=t){t.getAttribute("data-animation");var n=t.getAttribute("data-speed");scrollOffset=t.getAttribute("data-offset"),e(window).scroll((function(){e(window).scrollTop()>scrollOffset?e(".sf-up").addClass("active"):e(".sf-up").removeClass("active")})),e(".sf-up").on("click",(function(t){t.preventDefault();var i=e(window).scrollTop();Math.round(1e3*i/n);document.documentElement.style.transitionProperty="all",document.documentElement.style.transitionDuration="0.8s",document.documentElement.style.transitionTimingFunction="ease",function e(){0!==window.pageYOffset&&(window.scrollBy(0,-10),setTimeout(e,1))}(),e("html, body").animate({scrollTop:0},n)}))}}))}
1(jQuery),setInterval((function(){var e=$(".sf-up").attr("class");null!=e&&($(".usage .current-class").text(e.replace("active","")),$(".usage .current-animation").text($(".animationEasing.active").data("value")),$(".usage .current-css").text($("#sf-up-style").attr("href")))}),200),$(document).ready((function(){function e(t){if(t){if(t.classList.contains("hide-show"))return t;if(t.parentNode)return e(t.parentNode)}}$(".hide-show-btn").on("click",(function(t){t.preventDefault();var n=e(t.currentTarget),i=t.currentTarget;n&&(i.classList.contains("hide")?n.classList.add("hidden"):i.classList.contains("show")&&n.classList.remove("hidden"))}))})),function(e){e(document).ready((function(){var t=["text","password","email","url","tel","time","month","week","number","datetime","search","search-md","file"].map((function(e){return"input[type="+e+"]"})).join(", ")+", textarea",n="textarea",i=function(e){var t=e.parent(".sf-form"),n=e.siblings("label, i"),i=e.val().length,s=e.attr("placeholder"),a=e.parent().hasClass("sf-form-label"),o=(i||s&&a?"add":"remove")+"Class";n[o]("active"),e[o]("active"),t[o]("active")}
1,s=function(e){if(e.hasClass("validate")){var t=e.val(),n=!t.length,i=!e[0].validity.badInput;if(n&&i)e.removeClass("valid").removeClass("invalid");else{var s=e.is(":valid"),a=Number(e.attr("length"))||0;s&&(!a||a>t.length)?e.removeClass("invalid").addClass("valid"):e.removeClass("valid").addClass("invalid")}}},a=function(){var t=e(void 0);if(t.val().length){var n=e(".hiddendiv"),i=t.css("font-family"),s=t.css("font-size");s&&n.css("font-size",s),i&&n.css("font-family",i),"off"===t.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(t.val()+"\n");var a=n.html().replace(/\n/g,"<br>");n.html(a),n.css("width",t.is(":visible")?t.width():e(window).width()/2),t.css("height",n.height())}};if(e(t).each((function(t,n){var s=e(n),a=s.siblings("label, i");i(s),n.validity.badInput&&1==par&&a.addClass("active")})),e(document).on("focus",t,(function(t){e(t.target).siblings("label, i").addClass("active"),e(t.target).addClass("sf-form-focus")})),e(document).on("blur",t,(function(t){var n=e(t.target),i=!n.val(),a=!t.target.validity.badInput;n.attr("placeholder");i&&a&&n.siblings("label, i").removeClass("active"),n.removeClass("sf-form-focus"),s(n)})),e(document).on("change",t,(function(t){var n=e(t.target);i(n),s(n)})),e("input[autofocus]").siblings("label, i").addClass("active"),e(document).on("reset",(function(n){var i=e(n.target);i.is("form")&&i.find(t).removeClass("valid").removeClass("invalid").each((function(t,n){var i=e(n),s=!i.val();i.attr("placeholder");s&&i.siblings("label, i").removeClass("active")}))})),e("textarea").length){var o;o=window.attachEvent?function(e,t,n){e.attachEvent("on"+t,n)}:function(e,t,n){e.addEventListener(t,n,!1)},e("textarea").each((function(){var e=this;function t(){e.style.height="auto",e.style.height=e.scrollHeight+"px"}function n(){window.setTimeout(t,0)}o(e,"change",t),o(e,"cut",n),o(e,"paste",n),o(e,"drop",n),o(e,"keydown",n),t()}))}e(".hiddendiv").first().length||($hiddenDiv=e('<div class="hiddendiv common"></div>'),e("body").append($hiddenDiv)),e("body").is("text_area_selector")&&(e(n).each(a),e("body").on("keyup keydown",n,a))}))}(jQuery),function(e){function t(e,t,n){var i=parseInt(Math.round(t/n*100)),s=e.find(".axis-segment"),a=e.find(".axis-pin"),o=e.find('input[type="range"]');s.css("width",i+"%"),a.css({left:i+"%",transition:"none","-webkit-transition":"none","-moz-transition":"none"}),o.val(i),!0===e.hasClass("range-led")&&e.find(".axis-pin span").text(i)}e.fn.rkmd_rangeSlider=function(){var n,i,s,a,o;(n=e(this)).outerWidth(),n.offset().left,s=e(".sf-form-range"),e(".range-led"),s.each((function(t,n){if(this.classList.contains("range-led")){(i=e(this)).append('<div class="axis"><div class="axis-segment"></div><div class="axis-pin"><div class="axis-count"><span>0</span></div></div></div>'),a=i.find('input[type="range"]'),o=i.find(".axis"),slider_fill=o.find(".axis-segment"),slider_handle=o.find(".axis-pin"),slider_label=o.find(".axis-count");s=parseInt(a.val());slider_fill.css("width",s+"%"),slider_handle.css("left",s+"%"),slider_label.find("span").text(s)}else{(i=e(this)).append('<div class="axis"><div class="axis-segment"></div><div class="axis-pin"></div></div>'),a=i.find('input[type="range"]'),o=i.find(".axis"),slider_fill=o.find(".axis-segment"),slider_handle=o.find(".axis-pin");var s=a.val();slider_fill.css("width",s+"%"),slider_handle.css("left",s+"%")}})),n.on("mousedown",".axis-pin",(function(n){if(2===n.button)return!1;var i=e(this).parents(".sf-form-range"),s=i.outerWidth(),a=i.offset().left;if(!0===i.find('input[type="range"]').is(":disabled"))return!1;!0===i.hasClass("range-led")&&e(this).addClass("is-active");var o={mousemove:function(e){var n=e.pageX-a;n<=s&&!(n<"0")&&t(i,n,s)},mouseup:function(t){e(this).off(o),!0===i.hasClass("range-led")&&i.find(".is-active").removeClass("is-active")}};e(document).on(o)})),n.on("mousedown",".axis",(function(n){if(2===n.button)return!1;var i=e(this).parents(".sf-form-range"),s=i.outerWidth(),a=i.offset().left;if(!0===i.find('input[type="range"]').is(":disabled"))return!1;var o=n.pageX-a;o<=s&&!(o<"0")&&t(i,o,s);var r={mouseup:function(t){e(this).off(r)}};e(document).on(r)}))}}(jQuery),$(document).ready((function(){document.body.querySelectorAll(".sf-form-range").length>0&&$(".sf-form-range").rkmd_rangeSlider()})),window.addEventListener("DOMContentLoaded",(function(e){var t=document.querySelectorAll(".sf-form-file-input");if(t)for(var n=0;n<t.length;n++){var i=t[n];i&&i.addEventListener("change",(function(e){for(var t=e.currentTarget,n=t.files,i=t.nextElementSibling,s=[],a=0;a<n.length;a++)s.push(n[a].name);i&&s.length>0&&("INPUT"==i.tagName?i.setAttribute("value",s.join(", ")):(i.value=s.join(", "),i.style.height=i.scrollHeight+"px"),i.classList.add("active"))}))}})),function(e){function t(){var t=Number(e(this).attr("length")),n=Number(e(this).val().length),i=n<=t;e(this).parent().find('span[class="character-counter"]').html(n+"/"+t),function(e,t){var n=t.hasClass("invalid");
1e&&n?t.removeClass("invalid"):e||n||(t.removeClass("valid"),t.addClass("invalid"))}(i,e(this))}function n(){e(this).parent().find('span[class="character-counter"]').html("")}e.fn.characterCounter=function(){return this.each((function(){var i,s;void 0!==e(this).attr("length")&&(e(this).on("input",t),e(this).on("focus",t),e(this).on("blur",n),i=e(this),s=e("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),i.parent().append(s))}))},e(document).ready((function(){e("input, textarea").characterCounter()}))}(jQuery),window.addEventListener("DOMContentLoaded",(function(e){var t,n,i,s,a,o,r;for(t=document.getElementsByClassName("sf-form-select"),n=0;n<t.length;n++){for(s=t[n].getElementsByTagName("select")[0],null!=(a=t[n].querySelector("label"))&&(a.innerHTML=s.options[s.selectedIndex].innerHTML),(o=document.createElement("DIV")).setAttribute("class","select-items inactive"),i=0;i<s.length;i++)(r=document.createElement("DIV")).innerHTML=s.options[i].innerHTML,r.addEventListener("click",(function(e){var t,n,i,s,a;for(s=this.parentNode.parentNode.getElementsByTagName("select")[0],a=this.parentNode.parentNode.querySelector("label"),n=0;n<s.length;n++)if(s.options[n].innerHTML==this.innerHTML){for(s.selectedIndex=n,a.innerHTML=this.innerHTML,t=this.parentNode.getElementsByClassName("same-as-selected"),i=0;i<t.length;i++)t[i].removeAttribute("class");this.setAttribute("class","same-as-selected");break}a.click()})),o.appendChild(r);t[n].appendChild(o),null!=a&&a.addEventListener("click",(function(e){e.stopPropagation();var t=this.parentNode.querySelector(".select-items");t.classList.contains("inactive")?t.classList.remove("inactive"):t.classList.add("inactive"),this.classList.toggle("active")}))}document.addEventListener("click",(function(e){var t=document.body.querySelectorAll(".sf-form-select");if(null!==e.target.parentNode)var n=e.target.parentNode.querySelector("label");for(var i=0;i<t.length;i++){var s=t[i],a=s.querySelector("label"),o=s.querySelector(".select-items");a!=n&&(a.classList.remove("active"),o.classList.add("inactive"))}}))})),Popper=Popper&&Popper.hasOwnProperty("default")?Popper.default:Popper;var MAX_UID=1e6,MILLISECONDS_MULTIPLIER=1e3,TRANSITION_END="transitionend",_window=window,jQuery=_window.jQuery,toType=function(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()},getUID=function(e){do{e+=~~(Math.random()*MAX_UID)}while(document.getElementById(e));return e},getSelectorFromElement=function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,i=t.transitionDelay,s=parseFloat(n),a=parseFloat(i);return s||a?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*MILLISECONDS_MULTIPLIER):0},triggerTransitionEnd=function(e){e.dispatchEvent(new Event(TRANSITION_END))},isElement=function(e){return(e[0]||e).nodeType},emulateTransitionEnd=function(e,t){var n=!1,i=t+5;e.addEventListener(TRANSITION_END,(function t(){n=!0,e.removeEventListener(TRANSITION_END,t)})),setTimeout((function(){n||triggerTransitionEnd(e)}),i)},typeCheckConfig=function(e,t,n){Object.keys(n).forEach((function(i){var s=n[i],a=t[i],o=a&&isElement(a)?"element":toType(a);if(!new RegExp(s).test(o))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+s+'".')}))},makeArray=function(e){return e?[].slice.call(e):[]},isVisible=function(e){return!!e&&(!!(e.style&&e.parentNode&&e.parentNode.style)&&("none"!==e.style.display&&"none"!==e.parentNode.style.display&&"hidden"!==e.style.visibility))},findShadowRoot=function e(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var n=t.getRootNode();return n instanceof ShadowRoot?n:null}return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null},noop=function(){return function(){}},reflow=function(e){return e.offsetHeight},mapData=function(){var e={},t=1;return{set:function(n,i,s){void 0===n.key&&(n.key={key:i,id:t},t++),e[n.key.id]=s},get:function(t,n){if(!t||void 0===t.key)return null;var i=t.key;return i.key===n?e[i.id]:null},delete:function(t,n){if(void 0!==t.key){var i=t.key;i.key===n&&(delete e[i.id],delete t.key)}}}}(),Data={setData:function(e,t,n){mapData.set(e,t,n)},getData:function(e,t){return mapData.get(e,t)},removeData:function(e,t){mapData.delete(e,t)}},Polyfill=function(){var e,t,n=(e=new CustomEvent("Bootstrap",{cancelable:!0}),(t=document.createElement("div")).addEventListener("Bootstrap",(function(){return null}
1)),e.preventDefault(),t.dispatchEvent(e),e.defaultPrevented),i=Element.prototype.querySelectorAll,s=Element.prototype.querySelector,a=/:scope\b/,o=function(){var e=document.createElement("div");try{e.querySelectorAll(":scope *")}catch(e){return!1}return!0}();return o||(i=function(e){if(!a.test(e))return this.querySelectorAll(e);var t=Boolean(this.id);t||(this.id=getUID("scope"));var n=null;try{e=e.replace(a,"#"+this.id),n=this.querySelectorAll(e)}finally{t||this.removeAttribute("id")}return n},s=function(e){if(!a.test(e))return this.querySelector(e);var t=i.call(this,e);return void 0!==t[0]?t[0]:null}),{defaultPreventedPreservedOnDispatch:n,find:i,findOne:s}}(),namespaceRegex=/[^.]*(?=\..*)\.|.*/,stripNameRegex=/\..*/,keyEventRegex=/^key/,stripUidRegex=/::\d+$/,eventRegistry={},uidEvent=1,customEvents={mouseenter:"mouseover",mouseleave:"mouseout"},nativeEvents=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function getUidEvent(e,t){return t&&t+"::"+uidEvent++||e.uidEvent||uidEvent++}function getEvent(e){var t=getUidEvent(e);return e.uidEvent=t,eventRegistry[t]=eventRegistry[t]||{},eventRegistry[t]}function fixEvent(e,t){null===e.which&&keyEventRegex.test(e.type)&&(e.which=null===e.charCode?e.keyCode:e.charCode),e.delegateTarget=t}function bootstrapHandler(e,t){return function n(i){return fixEvent(i,e),n.oneOff&&EventHandler.off(e,i.type,t),t.apply(e,[i])}}function bootstrapDelegationHandler(e,t,n){return function i(s){for(var a=e.querySelectorAll(t),o=s.target;o&&o!==this;o=o.parentNode)for(var r=a.length;r--;)if(a[r]===o)return fixEvent(s,o),i.oneOff&&EventHandler.off(e,s.type,n),n.apply(o,[s]);return null}}function findHandler(e,t,n){void 0===n&&(n=null);for(var i=Object.keys(e),s=0;s<i.length;s++){var a=i[s],o=e[a];if(o.originalHandler===t&&o.delegationSelector===n)return e[a]}return null}function normalizeParams(e,t,n){var i="string"==typeof t,s=i?n:t,a=e.replace(stripNameRegex,""),o=customEvents[a];return o&&(a=o),nativeEvents.indexOf(a)>-1||(a=e),[i,s,a]}function addHandler(e,t,n,i,s){if("string"==typeof t&&e){n||(n=i,i=null);var a=normalizeParams(t,n,i),o=a[0],r=a[1],l=a[2],c=getEvent(e),d=c[l]||(c[l]={}),u=findHandler(d,r,o?n:null);if(u)u.oneOff=u.oneOff&&s;else{var f=getUidEvent(r,t.replace(namespaceRegex,"")),m=o?bootstrapDelegationHandler(e,n,i):bootstrapHandler(e,n);m.delegationSelector=o?n:null,m.originalHandler=r,m.oneOff=s,m.uidEvent=f,d[f]=m,e.addEventListener(l,m,o)}}}function removeHandler(e,t,n,i,s){var a=findHandler(t[n],i,s);null!==a&&(e.removeEventListener(n,a,Boolean(s)),delete t[n][a.uidEvent])}function removeNamespacedHandlers(e,t,n,i){var s=t[n]||{};Object.keys(s).forEach((function(a){if(a.indexOf(i)>-1){var o=s[a];removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}))}var EventHandler={on:function(e,t,n,i){addHandler(e,t,n,i,!1)},one:function(e,t,n,i){addHandler(e,t,n,i,!0)},off:function(e,t,n,i){if("string"==typeof t&&e){var s=normalizeParams(t,n,i),a=s[0],o=s[1],r=s[2],l=r!==t,c=getEvent(e),d="."===t.charAt(0);if(void 0===o){d&&Object.keys(c).forEach((function(n){removeNamespacedHandlers(e,c,n,t.substr(1))}));var u=c[r]||{};Object.keys(u).forEach((function(n){var i=n.replace(stripUidRegex,"");if(!l||t.indexOf(i)>-1){var s=u[n];removeHandler(e,c,r,s.originalHandler,s.delegationSelector)}}))}else{if(!c||!c[r])return;removeHandler(e,c,r,o,a?n:null)}}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var i,s=t.replace(stripNameRegex,""),a=t!==s,o=nativeEvents.indexOf(s)>-1,r=!0,l=!0,c=!1,d=null;return a&&void 0!==jQuery&&(i=jQuery.Event(t,n),jQuery(e).trigger(i),r=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),o?(d=document.createEvent("HTMLEvents")).initEvent(s,r,!0):d=new CustomEvent(t,{bubbles:r,cancelable:!0}
1),void 0!==n&&Object.keys(n).forEach((function(e){Object.defineProperty(d,e,{get:function(){return n[e]}})})),c&&(d.preventDefault(),Polyfill.defaultPreventedPreservedOnDispatch||Object.defineProperty(d,"defaultPrevented",{get:function(){return!0}})),l&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==i&&i.preventDefault(),d}},findFn=Polyfill.find,_findOne=Polyfill.findOne,NODE_TEXT=3,SelectorEngine={matches:function(e,t){return e.matches(t)},find:function(e,t){return void 0===t&&(t=document.documentElement),"string"!=typeof e?null:findFn.call(t,e)},findOne:function(e,t){return void 0===t&&(t=document.documentElement),"string"!=typeof e?null:_findOne.call(t,e)},children:function(e,t){var n=this;if("string"!=typeof t)return null;var i=makeArray(e.children);return i.filter((function(e){return n.matches(e,t)}))},parents:function(e,t){if("string"!=typeof t)return null;for(var n=[],i=e.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==NODE_TEXT;)this.matches(i,t)&&n.push(i),i=i.parentNode;return n},closest:function(e,t){return"string"!=typeof t?null:e.closest(t)},prev:function(e,t){if("string"!=typeof t)return null;for(var n=[],i=e.previousSibling;i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==NODE_TEXT;)this.matches(i,t)&&n.push(i),i=i.previousSibling;return n}},NAME="alert",VERSION="4.3.1",DATA_KEY="bs.alert",EVENT_KEY="."+DATA_KEY,DATA_API_KEY=".data-api",Selector={DISMISS:'[data-dismiss="alert"]'},Event$1={CLOSE:"close"+EVENT_KEY,CLOSED:"closed"+EVENT_KEY,CLICK_DATA_API:"click"+EVENT_KEY+DATA_API_KEY},ClassName={ALERT:"alert",FADE:"fade",SHOW:"show"},Alert=function(){function e(e){this._element=e,this._element&&Data.setData(e,DATA_KEY,this)}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e));var n=this._triggerCloseEvent(t);null===n||n.defaultPrevented||this._removeElement(t)},t.dispose=function(){Data.removeData(this._element,DATA_KEY),this._element=null},t._getRootElement=function(e){var t=getSelectorFromElement(e),n=!1;return t&&(n=SelectorEngine.findOne(t)),n||(n=SelectorEngine.closest(e,"."+ClassName.ALERT)),n},t._triggerCloseEvent=function(e){return EventHandler.trigger(e,Event$1.CLOSE)},t._removeElement=function(e){var t=this;if(e.classList.remove(ClassName.SHOW),e.classList.contains(ClassName.FADE)){var n=getTransitionDurationFromElement(e);EventHandler.one(e,TRANSITION_END,(function(n){return t._destroyElement(e,n)})),emulateTransitionEnd(e,n)}else this._destroyElement(e)},t._destroyElement=function(e){e.parentNode&&e.parentNode.removeChild(e),EventHandler.trigger(e,Event$1.CLOSED)},e._jQueryInterface=function(t){return this.each((function(){var n=Data.getData(this,DATA_KEY);n||(n=new e(this)),"close"===t&&n[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},e._getInstance=function(e){return Data.getData(e,DATA_KEY)},_createClass(e,null,[{key:"VERSION",get:function(){return VERSION}}]),e}();if(EventHandler.on(document,Event$1.CLICK_DATA_API,Selector.DISMISS,Alert._handleDismiss(new Alert)),void 0!==jQuery){var JQUERY_NO_CONFLICT=jQuery.fn[NAME];jQuery.fn[NAME]=Alert._jQueryInterface,jQuery.fn[NAME].Constructor=Alert,jQuery.fn[NAME].noConflict=function(){return jQuery.fn[NAME]=JQUERY_NO_CONFLICT,Alert._jQueryInterface}}var NAME$1="button",VERSION$1="4.3.1",DATA_KEY$1="bs.button",EVENT_KEY$1="."+DATA_KEY$1,DATA_API_KEY$1=".data-api",ClassName$1={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},Selector$1={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},Event$2={CLICK_DATA_API:"click"+EVENT_KEY$1+DATA_API_KEY$1,FOCUS_DATA_API:"focus"+EVENT_KEY$1+DATA_API_KEY$1,BLUR_DATA_API:"blur"+EVENT_KEY$1+DATA_API_KEY$1},Button=function(){function e(e){this._element=e,Data.setData(e,DATA_KEY$1,this)}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=SelectorEngine.closest(this._element,Selector$1.DATA_TOGGLE);if(n){var i=SelectorEngine.findOne(Selector$1.INPUT,this._element);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(ClassName$1.ACTIVE))e=!1;else{var s=SelectorEngine.findOne(Selector$1.ACTIVE,n);s&&s.classList.remove(ClassName$1.ACTIVE)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(ClassName$1.ACTIVE),EventHandler.trigger(i,"change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ClassName$1.ACTIVE)),e&&this._element.classList.toggle(ClassName$1.ACTIVE)},t.dispose=function(){Data.removeData(this._element,DATA_KEY$1),this._element=null},e._jQueryInterface=function(t){return this.each((function(){var n=Data.getData(this,DATA_KEY$1);n||(n=new e(this)),"toggle"===t&&n[t]()}))},e._getInstance=function(e){return Data.getData(e,DATA_KEY$1)},_createClass(e,null,[{key:"VERSION",get:function(){return VERSION$1}}]),e}();if(EventHandler.on(document,Event$2.CLICK_DATA_API,Selector$1.DATA_TOGGLE_CARROT,(function(e){e.preventDefault();var t=e.target;t.classList.contains(ClassName$1.BUTTON)||(t=SelectorEngine.closest(t,Selector$1.BUTTON));var n=Data.getData(t,DATA_KEY$1);
1n||(n=new Button(t),Data.setData(t,DATA_KEY$1,n)),n.toggle()})),EventHandler.on(document,Event$2.FOCUS_DATA_API,Selector$1.DATA_TOGGLE_CARROT,(function(e){SelectorEngine.closest(e.target,Selector$1.BUTTON).classList.add(ClassName$1.FOCUS)})),EventHandler.on(document,Event$2.BLUR_DATA_API,Selector$1.DATA_TOGGLE_CARROT,(function(e){SelectorEngine.closest(e.target,Selector$1.BUTTON).classList.remove(ClassName$1.FOCUS)})),void 0!==jQuery){var JQUERY_NO_CONFLICT$1=jQuery.fn[NAME$1];jQuery.fn[NAME$1]=Button._jQueryInterface,jQuery.fn[NAME$1].Constructor=Button,jQuery.fn[NAME$1].noConflict=function(){return jQuery.fn[NAME$1]=JQUERY_NO_CONFLICT$1,Button._jQueryInterface}}function normalizeData(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function normalizeDataKey(e){return e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()}))}var Manipulator={setDataAttribute:function(e,t,n){e.setAttribute("data-"+normalizeDataKey(t),n)},removeDataAttribute:function(e,t){e.removeAttribute("data-"+normalizeDataKey(t))},getDataAttributes:function(e){if(!e)return{};var t=_objectSpread({},e.dataset);return Object.keys(t).forEach((function(e){t[e]=normalizeData(t[e])})),t},getDataAttribute:function(e,t){return normalizeData(e.getAttribute("data-"+normalizeDataKey(t)))},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}},toggleClass:function(e,t){e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))}},NAME$4="dropdown",VERSION$4="4.3.1",DATA_KEY$4="bs.dropdown",EVENT_KEY$4="."+DATA_KEY$4,DATA_API_KEY$4=".data-api",ESCAPE_KEYCODE=27,SPACE_KEYCODE=32,TAB_KEYCODE=9,ARROW_UP_KEYCODE=38,ARROW_DOWN_KEYCODE=40,RIGHT_MOUSE_BUTTON_WHICH=3,REGEXP_KEYDOWN=new RegExp(ARROW_UP_KEYCODE+"|"+ARROW_DOWN_KEYCODE+"|"+ESCAPE_KEYCODE),Event$5={HIDE:"hide"+EVENT_KEY$4,HIDDEN:"hidden"+EVENT_KEY$4,SHOW:"show"+EVENT_KEY$4,SHOWN:"shown"+EVENT_KEY$4,CLICK:"click"+EVENT_KEY$4,CLICK_DATA_API:"click"+EVENT_KEY$4+DATA_API_KEY$4,KEYDOWN_DATA_API:"keydown"+EVENT_KEY$4+DATA_API_KEY$4,KEYUP_DATA_API:"keyup"+EVENT_KEY$4+DATA_API_KEY$4},ClassName$4={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",POSITION_STATIC:"position-static"},Selector$4={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},AttachmentMap={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},Default$2={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},DefaultType$2={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Dropdown=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),Data.setData(e,DATA_KEY$4,this)}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(ClassName$4.DISABLED)){var t=e._getParentFromElement(this._element),n=this._menu.classList.contains(ClassName$4.SHOW);if(e._clearMenus(),!n){var i={relatedTarget:this._element};if(!EventHandler.trigger(t,Event$5.SHOW,i).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof Popper)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var s=this._element;"parent"===this._config.reference?s=t:isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t.classList.add(ClassName$4.POSITION_STATIC),this._popper=new Popper(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!makeArray(SelectorEngine.closest(t,Selector$4.NAVBAR_NAV)).length&&makeArray(document.body.children).forEac
1h((function(e){return EventHandler.on(e,"mouseover",null,noop())})),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(t,ClassName$4.SHOW),EventHandler.trigger(t,Event$5.SHOWN,i)}}}},t.show=function(){if(!(this._element.disabled||this._element.classList.contains(ClassName$4.DISABLED)||this._menu.classList.contains(ClassName$4.SHOW))){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};EventHandler.trigger(t,Event$5.SHOW,n).defaultPrevented||(Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(t,ClassName$4.SHOW),EventHandler.trigger(t,Event$5.SHOWN,n))}},t.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(ClassName$4.DISABLED)&&this._menu.classList.contains(ClassName$4.SHOW)){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};EventHandler.trigger(t,Event$5.HIDE,n).defaultPrevented||(Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(t,ClassName$4.SHOW),EventHandler.trigger(t,Event$5.HIDDEN,n))}},t.dispose=function(){Data.removeData(this._element,DATA_KEY$4),EventHandler.off(this._element,EVENT_KEY$4),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;EventHandler.on(this._element,Event$5.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=_objectSpread({},this.constructor.Default,Manipulator.getDataAttributes(this._element),e),typeCheckConfig(NAME$4,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=SelectorEngine.findOne(Selector$4.MENU,t))}return this._menu},t._getPlacement=function(){var e=this._element.parentNode,t=AttachmentMap.BOTTOM;return e.classList.contains(ClassName$4.DROPUP)?(t=AttachmentMap.TOP,this._menu.classList.contains(ClassName$4.MENURIGHT)&&(t=AttachmentMap.TOPEND)):e.classList.contains(ClassName$4.DROPRIGHT)?t=AttachmentMap.RIGHT:e.classList.contains(ClassName$4.DROPLEFT)?t=AttachmentMap.LEFT:this._menu.classList.contains(ClassName$4.MENURIGHT)&&(t=AttachmentMap.BOTTOMEND),t},t._detectNavbar=function(){return Boolean(SelectorEngine.closest(this._element,".navbar"))},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=_objectSpread({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._dropdownInterface=function(t,n){var i=Data.getData(t,DATA_KEY$4);if(i||(i=new e(t,"object"==typeof n?n:null)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},e._jQueryInterface=function(t){return this.each((function(){e._dropdownInterface(this,t)}))},e._clearMenus=function(t){if(!t||t.which!==RIGHT_MOUSE_BUTTON_WHICH&&("keyup"!==t.type||t.which===TAB_KEYCODE))for(var n=makeArray(SelectorEngine.find(Selector$4.DATA_TOGGLE)),i=0,s=n.length;i<s;i++){var a=e._getParentFromElement(n[i]),o=Data.getData(n[i],DATA_KEY$4),r={relatedTarget:n[i]};if(t&&"click"===t.type&&(r.clickEvent=t),o){var l=o._menu;if(a.classList.contains(ClassName$4.SHOW))if(!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&t.which===TAB_KEYCODE)&&a.contains(t.target)))EventHandler.trigger(a,Event$5.HIDE,r).defaultPrevented||("ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach((function(e){return EventHandler.off(e,"mouseover",null,noop())})),n[i].setAttribute("aria-expanded","false"),l.classList.remove(ClassName$4.SHOW),a.classList.remove(ClassName$4.SHOW),EventHandler.trigger(a,Event$5.HIDDEN,r))}}},e._getParentFromElement=function(e){var t,n=getSelectorFromElement(e);return n&&(t=SelectorEngine.findOne(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?t.which===SPACE_KEYCODE||t.which!==ESCAPE_KEYCODE&&(t.which!==ARROW_DOWN_KEYCODE&&t.which!==ARROW_UP_KEYCODE||SelectorEngine.closest(t.target,Selector$4.MENU)):!REGEXP_KEYDOWN.test(t.which))&&
1(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(ClassName$4.DISABLED))){var n=e._getParentFromElement(this),i=n.classList.contains(ClassName$4.SHOW);if(!i||i&&(t.which===ESCAPE_KEYCODE||t.which===SPACE_KEYCODE))return t.which===ESCAPE_KEYCODE&&EventHandler.trigger(SelectorEngine.findOne(Selector$4.DATA_TOGGLE,n),"focus"),void e._clearMenus();var s=makeArray(SelectorEngine.find(Selector$4.VISIBLE_ITEMS,n));if(s.length){var a=s.indexOf(t.target);t.which===ARROW_UP_KEYCODE&&a>0&&a--,t.which===ARROW_DOWN_KEYCODE&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},e._getInstance=function(e){return Data.getData(e,DATA_KEY$4)},_createClass(e,null,[{key:"VERSION",get:function(){return VERSION$4}},{key:"Default",get:function(){return Default$2}},{key:"DefaultType",get:function(){return DefaultType$2}}]),e}();if(EventHandler.on(document,Event$5.KEYDOWN_DATA_API,Selector$4.DATA_TOGGLE,Dropdown._dataApiKeydownHandler),EventHandler.on(document,Event$5.KEYDOWN_DATA_API,Selector$4.MENU,Dropdown._dataApiKeydownHandler),EventHandler.on(document,Event$5.CLICK_DATA_API,Dropdown._clearMenus),EventHandler.on(document,Event$5.KEYUP_DATA_API,Dropdown._clearMenus),EventHandler.on(document,Event$5.CLICK_DATA_API,Selector$4.DATA_TOGGLE,(function(e){e.preventDefault(),e.stopPropagation(),Dropdown._dropdownInterface(this,"toggle")})),EventHandler.on(document,Event$5.CLICK_DATA_API,Selector$4.FORM_CHILD,(function(e){return e.stopPropagation()})),void 0!==jQuery){var JQUERY_NO_CONFLICT$4=jQuery.fn[NAME$4];jQuery.fn[NAME$4]=Dropdown._jQueryInterface,jQuery.fn[NAME$4].Constructor=Dropdown,jQuery.fn[NAME$4].noConflict=function(){return jQuery.fn[NAME$4]=JQUERY_NO_CONFLICT$4,Dropdown._jQueryInterface}}var uriAttrs=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ARIA_ATTRIBUTE_PATTERN=/^aria-[\w-]*$/i,SAFE_URL_PATTERN=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,DATA_URL_PATTERN=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,allowedAttribute=function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===uriAttrs.indexOf(n)||Boolean(e.nodeValue.match(SAFE_URL_PATTERN)||e.nodeValue.match(DATA_URL_PATTERN));for(var i=t.filter((function(e){return e instanceof RegExp})),s=0,a=i.length;s<a;s++)if(n.match(i[s]))return!0;return!1},DefaultWhitelist={"*":["class","dir","id","lang","role",ARIA_ATTRIBUTE_PATTERN],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function sanitizeHtml(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),s=Object.keys(t),a=makeArray(i.body.querySelectorAll("*")),o=function(e,n){var i=a[e],o=i.nodeName.toLowerCase();if(-1===s.indexOf(o))return i.parentNode.removeChild(i),"continue";var r=makeArray(i.attributes),l=[].concat(t["*"]||[],t[o]||[]);r.forEach((function(e){allowedAttribute(e,l)||i.removeAttribute(e.nodeName)}))},r=0,l=a.length;r<l;r++)o(r);return i.body.innerHTML}var NAME$6="tooltip",VERSION$6="4.3.1",DATA_KEY$6="bs.tooltip",EVENT_KEY$6="."+DATA_KEY$6,CLASS_PREFIX="bs-tooltip",BSCLS_PREFIX_REGEX=new RegExp("(^|\\s)"+CLASS_PREFIX+"\\S+","g"),DISALLOWED_ATTRIBUTES=["sanitize","whiteList","sanitizeFn"],DefaultType$4={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},AttachmentMap$1={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Default$4={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:DefaultWhitelist},HoverState={SHOW:"show",OUT:"out"},Event$7={HIDE:"hide"+EVENT_KEY$6,HIDDEN:"hidden"+EVENT_KEY$6,SHOW:"show"+EVENT_KEY$6,SHOWN:"shown"+EVENT_KEY$6,INSERTED:"inserted"+EVENT_KEY$6,CLICK:"click"+EVENT_KEY$6,FOCUSIN:"focusin"+EVENT_KEY$6,FOCUSOUT:"focusout"+EVENT_KEY$6,MOUSEENTER:"mouseenter"+EVENT_KEY$6,MOUSELEAVE:"mouseleave"+EVENT_KEY$6},ClassName$6={FADE:"fade",SHOW:"show"},Selector$6={TOOLTIP_INNER:".tooltip-inner",TOOLTIP_ARROW:".tooltip-arrow"},Trigger={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Tooltip=function(){function e(e,t){if("undefined"==typeof Popper)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners(),Data.setData(e,this.constructor.DATA_KEY,this)}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=Data.getData(e.delegateTarget,t);n||(n=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(ClassName$6.SHOW))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),Data.removeData(this.element,this.constructor.DATA_KEY),EventHandler.off(this.element,this.constructor.EVENT_KEY),EventHandler.off(SelectorEngine.closest(this.element,".modal"),"hide.bs.modal"),this.tip&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var t=EventHandler.trigger(this.element,this.constructor.Event.SHOW),n=findSh
1adowRoot(this.element),i=null===n?this.element.ownerDocument.documentElement.contains(this.element):n.contains(this.element);if(t.defaultPrevented||!i)return;var s=this.getTipElement(),a=getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&s.classList.add(ClassName$6.FADE);var o="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,r=this._getAttachment(o);this.addAttachmentClass(r);var l=this._getContainer();Data.setData(s,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||l.appendChild(s),EventHandler.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new Popper(this.element,s,{placement:r,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Selector$6.TOOLTIP_ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),s.classList.add(ClassName$6.SHOW),"ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach((function(e){EventHandler.on(e,"mouseover",noop())}));var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,EventHandler.trigger(e.element,e.constructor.Event.SHOWN),t===HoverState.OUT&&e._leave(null,e)};if(this.tip.classList.contains(ClassName$6.FADE)){var d=getTransitionDurationFromElement(this.tip);EventHandler.one(this.tip,TRANSITION_END,c),emulateTransitionEnd(this.tip,d)}else c()}},t.hide=function(e){var t=this,n=this.getTipElement(),i=function(){t._hoverState!==HoverState.SHOW&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),EventHandler.trigger(t.element,t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(!EventHandler.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(n.classList.remove(ClassName$6.SHOW),"ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach((function(e){return EventHandler.off(e,"mouseover",noop)})),this._activeTrigger[Trigger.CLICK]=!1,this._activeTrigger[Trigger.FOCUS]=!1,this._activeTrigger[Trigger.HOVER]=!1,this.tip.classList.contains(ClassName$6.FADE)){var s=getTransitionDurationFromElement(n);EventHandler.one(n,TRANSITION_END,i),emulateTransitionEnd(n,s)}else i();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){this.getTipElement().classList.add(CLASS_PREFIX+"-"+e)},t.getTipElement=function(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this.config.template,this.tip=e.children[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(SelectorEngine.findOne(Selector$6.TOOLTIP_INNER,e),this.getTitle()),e.classList.remove(ClassName$6.FADE),e.classList.remove(ClassName$6.SHOW)},t.setElementContent=function(e,t){if(null!==e)return"object"==typeof t&&(t.nodeType||t.jquery)?(t.jquery&&(t=t[0]),void(this.config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.innerText=t.textContent)):void(this.config.html?(this.config.sanitize&&(t=sanitizeHtml(t,this.config.whiteList,this.config.sanitizeFn)),e.innerHTML=t):e.innerText=t)},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=_objectSpread({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:isElement(this.config.container)?this.config.container:SelectorEngine.findOne(this.config.container)},t._getAttachment=function(e){return AttachmentMap$1[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)EventHandler.on(e.element,e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==Trigger.MANUAL){var n=t===Trigger.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=t===Trigger.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;EventHandler.on(e.element,n,e.config.selector,(function(t){return e._enter(t)})),EventHandler.on(e.element,i,e.config.selector,(function(t){return e._leave(t)}))}})),EventHandler.on(SelectorEngine.closest(this.element,".modal"),"hide.bs.modal",(function(){e.element&&e.hide()})),this.config.selector?this.config=_objectSpread({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||Data.getData(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,n,t)),e&&(t._activeTrigger["focusin"===e.type?Trigger.FOCUS:Trigger.HOVER]=!0),t.getTipElement().classList.contains(ClassName$6.SHOW)||t._hoverState===HoverState.SHOW?t._hoverState=HoverState.SHOW:(clearTimeout(t._timeout),t._hoverState=HoverState.SHOW,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===HoverState.SHOW&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||Data.getData(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,n,t)),e&&(t._activeTrigger["focusout"===e.type?Trigger.FOCUS:Trigger.HOVER]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=HoverState.OUT,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===HoverState.OUT&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=Manipulator.getDataAttributes(this.element);return Object.keys(t).forEach((function(e){-1!==DISALLOWED_ATTRIBUTES.indexOf(e)&&delete t[e]})),e&&"object"==typeof e.container&&e.container.jquery&&(e.container=e.container[0]),"number"==typeof(e=_objectSpread({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),typeCheckConfig(NAME$6,e,this.constructor.DefaultType),e.sanitize&&(e.template=sanitizeHtml(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e}
1,t._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(BSCLS_PREFIX_REGEX);null!==t&&t.length&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))},t._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(e.classList.remove(ClassName$6.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=Data.getData(this,DATA_KEY$6),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._getInstance=function(e){return Data.getData(e,DATA_KEY$6)},_createClass(e,null,[{key:"VERSION",get:function(){return VERSION$6}},{key:"Default",get:function(){return Default$4}},{key:"NAME",get:function(){return NAME$6}},{key:"DATA_KEY",get:function(){return DATA_KEY$6}},{key:"Event",get:function(){return Event$7}},{key:"EVENT_KEY",get:function(){return EVENT_KEY$6}},{key:"DefaultType",get:function(){return DefaultType$4}}]),e}();if(void 0!==jQuery){var JQUERY_NO_CONFLICT$6=jQuery.fn[NAME$6];jQuery.fn[NAME$6]=Tooltip._jQueryInterface,jQuery.fn[NAME$6].Constructor=Tooltip,jQuery.fn[NAME$6].noConflict=function(){return jQuery.fn[NAME$6]=JQUERY_NO_CONFLICT$6,Tooltip._jQueryInterface}}var NAME$7="popover",VERSION$7="4.3.1",DATA_KEY$7="bs.popover",EVENT_KEY$7="."+DATA_KEY$7,CLASS_PREFIX$1="bs-popover",BSCLS_PREFIX_REGEX$1=new RegExp("(^|\\s)"+CLASS_PREFIX$1+"\\S+","g"),Default$5=_objectSpread({},Tooltip.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),DefaultType$5=_objectSpread({},Tooltip.DefaultType,{content:"(string|element|function)"}),ClassName$7={FADE:"fade",SHOW:"show"},Selector$7={TITLE:".popover-header",CONTENT:".popover-body"},Event$8={HIDE:"hide"+EVENT_KEY$7,HIDDEN:"hidden"+EVENT_KEY$7,SHOW:"show"+EVENT_KEY$7,SHOWN:"shown"+EVENT_KEY$7,INSERTED:"inserted"+EVENT_KEY$7,CLICK:"click"+EVENT_KEY$7,FOCUSIN:"focusin"+EVENT_KEY$7,FOCUSOUT:"focusout"+EVENT_KEY$7,MOUSEENTER:"mouseenter"+EVENT_KEY$7,MOUSELEAVE:"mouseleave"+EVENT_KEY$7},Popover=function(e){function t(){return e.apply(this,arguments)||this}_inheritsLoose(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){this.getTipElement().classList.add(CLASS_PREFIX$1+"-"+e)},n.setContent=function(){var e=this.getTipElement();this.setElementContent(SelectorEngine.findOne(Selector$7.TITLE,e),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(SelectorEngine.findOne(Selector$7.CONTENT,e),t),e.classList.remove(ClassName$7.FADE),e.classList.remove(ClassName$7.SHOW)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(BSCLS_PREFIX_REGEX$1);null!==t&&t.length>0&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))},t._jQueryInterface=function(e){return this.each((function(){var n=Data.getData(this,DATA_KEY$7),i="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i),Data.setData(this,DATA_KEY$7,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._getInstance=function(e){return Data.getData(e,DATA_KEY$7)},_createClass(t,null,[{key:"VERSION",get:function(){return VERSION$7}},{key:"Default",get:function(){return Default$5}},{key:"NAME",get:function(){return NAME$7}},{key:"DATA_KEY",get:function(){return DATA_KEY$7}},{key:"Event",get:function(){return Event$8}},{key:"EVENT_KEY",get:function(){return EVENT_KEY$7}},{key:"DefaultType",get:function(){return DefaultType$5}}]),t}(Tooltip);if(void 0!==jQuery){var JQUERY_NO_CONFLICT$7=jQuery.fn[NAME$7];jQuery.fn[NAME$7]=Popover._jQueryInterface,jQuery.fn[NAME$7].Constructor=Popover,jQuery.fn[NAME$7].noConflict=function(){return jQuery.fn[NAME$7]=JQUERY_NO_CONFLICT$7,Popover._jQueryInterface}}var index_umd={Alert:Alert,Button:Button,Dropdown:Dropdown,Popover:Popover,Tooltip:Tooltip};class sfTable{makeFullscreenButton(e){if(null!==document.querySelector("#"+e)){const n=document.querySelector("#"+e),i=document.getElementsByTagName("body")[0];var t=document.createElement("div");t.classList.add("sf-table-full-screen-wrapper");let s=n.cloneNode(!0),a=n.dataset.expand,o=n.dataset.collapse;void 0===a&&(a=""),void 0===o&&(o="");let r='<i class="fas fa-expand table-full-btn c-primary" data-expand="'+a+'" data-collapse="'+o+'" id="'+e+'Icon"></i>';n.before(t),t.appendChild(n),t.innerHTML=r+t.innerHTML,t.insertBefore(s,t.firstElementChild),s.style.display="none";const l=document.querySelector("#"+e+"Icon"),c=e=>{e.target.parentElement.classList.add("sf-table-full-size"),e.target.classList.toggle("sf-table-full-size-icon-open"),e.target.classList.add("fa-arrow-circle-left"),e.target.classList.remove("fa-expand"),i.setAttribute("style","overflow-y: hidden"),e.target.addEventListener("click",d),e.target.removeEventListener("click",c)},d=e=>{e.target.parentElement.classList.remove("sf-table-full-size"),e.target.classList.toggle("sf-table-full-size-icon-open"),e.target.classList.remove("fa-arrow-circle-left"),e.target.classList.add("fa-expand"),i.setAttribute("style","overflow-y: auto"),e.target.addEventListener("click",c),e.target.removeEventListener("click",d)};l.addEventListener("click",c)}}}
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.