-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path720.62221491.iframe.bundle.js
2 lines (2 loc) · 66.4 KB
/
720.62221491.iframe.bundle.js
1
2
/*! For license information please see 720.62221491.iframe.bundle.js.LICENSE.txt */
"use strict";(self.webpackChunk_eightfold_ai_octuple=self.webpackChunk_eightfold_ai_octuple||[]).push([[720],{7339:(e,t,n)=>{n.r(t),n.d(t,{OverlayScrollbarsComponent:()=>l,default:()=>l});n(14913),n(87136),n(40173),n(58649),n(80115),n(5086),n(6048),n(78636),n(80475),n(91144),n(17),n(18636),n(79073),n(34867),n(98741),n(69218),n(63534),n(40590),n(64216),n(18665),n(29979),n(14602);var r=n(61279),o=n(96540);n(3183),n(4971),n(55373);function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var a,s,i={exports:{}};a=i,s="undefined"!=typeof window?window:r.c,a.exports=function(e,t,n){var r,o,a,s="OverlayScrollbars",i={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},c={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},l=function(){var r={},o={},a=["-webkit-","-moz-","-o-","-ms-"],s=["WebKit","Moz","O","MS"];function firstLetterToUpper(e){return e.charAt(0).toUpperCase()+e.slice(1)}return{_cssPrefixes:a,_jsPrefixes:s,_cssProperty:function _cssProperty(e){var r=o[e];if(o[c.hOP](e))return r;for(var s,i,l,u=firstLetterToUpper(e),f=t.createElement("div")[c.s],d=0;d<a.length;d++)for(l=a[d].replace(/-/g,""),s=[e,a[d]+e,l+u,firstLetterToUpper(l)+u],i=0;i<s[c.l];i++)if(f[s[i]]!==n){r=s[i];break}return o[e]=r,r},_cssPropertyValue:function _cssPropertyValue(e,n,r){var a=e+" "+n,s=o[a];if(o[c.hOP](a))return s;for(var i,u=t.createElement("div")[c.s],f=n.split(" "),d=r||"",p=0,h=-1;p<f[c.l];p++)for(;h<l._cssPrefixes[c.l];h++)if(i=h<0?f[p]:l._cssPrefixes[h]+f[p],u.cssText=e+":"+i+d,u[c.l]){s=i;break}return o[a]=s,s},_jsAPI:function _jsAPI(t,n,o){var a=0,i=r[t];if(!r[c.hOP](t)){for(i=e[t];a<s[c.l];a++)i=i||e[(n?s[a]:s[a].toLowerCase())+firstLetterToUpper(t)];r[t]=i}return i||o}}}(),u=function(){function windowSize(n){return n?e.innerWidth||t.documentElement[c.cW]||t.body[c.cW]:e.innerHeight||t.documentElement[c.cH]||t.body[c.cH]}function bind(e,t){if(_typeof(e)!=i.f)throw"Can't bind function!";var n=c.p,r=Array[n].slice.call(arguments,2),o=function fNOP(){},a=function fBound(){return e.apply(this instanceof o?this:t,r.concat(Array[n].slice.call(arguments)))};return e[n]&&(o[n]=e[n]),a[n]=new o,a}return{wW:bind(windowSize,0,!0),wH:bind(windowSize,0),mO:bind(l._jsAPI,0,"MutationObserver",!0),rO:bind(l._jsAPI,0,"ResizeObserver",!0),rAF:bind(l._jsAPI,0,"requestAnimationFrame",!1,(function(t){return e.setTimeout(t,1e3/60)})),cAF:bind(l._jsAPI,0,"cancelAnimationFrame",!1,(function(t){return e.clearTimeout(t)})),now:function now(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function stpP(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function prvD(e){e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1},page:function page(e){var r="page",o="client",a="X",s="Y",i=((e=e.originalEvent||e).target||e.srcElement||t).ownerDocument||t,c=i.documentElement,l=i.body;if(e.touches!==n){var u=e.touches[0];return{x:u[r+a],y:u[r+s]}}return!e[r+a]&&e[o+a]&&null!=e[o+a]?{x:e[o+a]+(c&&c.scrollLeft||l&&l.scrollLeft||0)-(c&&c.clientLeft||l&&l.clientLeft||0),y:e[o+s]+(c&&c.scrollTop||l&&l.scrollTop||0)-(c&&c.clientTop||l&&l.clientTop||0)}:{x:e[r+a],y:e[r+s]}},mBtn:function mBtn(e){var t=e.button;return e.which||t===n?e.which:1&t?1:2&t?3:4&t?2:0},inA:function inA(e,t){for(var n=0;n<t[c.l];n++)try{if(t[n]===e)return n}catch(e){}return-1},isA:function isA(e){var t=Array.isArray;return t?t(e):this.type(e)==i.a},type:function type(e){return e===n||null===e?e+"":Object[c.p].toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind}}(),f=Math,d=e.jQuery,p=(a={p:f.PI,c:f.cos,s:f.sin,w:f.pow,t:f.sqrt,n:f.asin,a:f.abs,o:1.70158},{swing:function swing(e,t,n,r,o){return.5-a.c(e*a.p)/2},linear:function linear(e,t,n,r,o){return e},easeInQuad:function easeInQuad(e,t,n,r,o){return r*(t/=o)*t+n},easeOutQuad:function easeOutQuad(e,t,n,r,o){return-r*(t/=o)*(t-2)+n},easeInOutQuad:function easeInOutQuad(e,t,n,r,o){return(t/=o/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},easeInCubic:function easeInCubic(e,t,n,r,o){return r*(t/=o)*t*t+n},easeOutCubic:function easeOutCubic(e,t,n,r,o){return r*((t=t/o-1)*t*t+1)+n},easeInOutCubic:function easeInOutCubic(e,t,n,r,o){return(t/=o/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function easeInQuart(e,t,n,r,o){return r*(t/=o)*t*t*t+n},easeOutQuart:function easeOutQuart(e,t,n,r,o){return-r*((t=t/o-1)*t*t*t-1)+n},easeInOutQuart:function easeInOutQuart(e,t,n,r,o){return(t/=o/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function easeInQuint(e,t,n,r,o){return r*(t/=o)*t*t*t*t+n},easeOutQuint:function easeOutQuint(e,t,n,r,o){return r*((t=t/o-1)*t*t*t*t+1)+n},easeInOutQuint:function easeInOutQuint(e,t,n,r,o){return(t/=o/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function easeInSine(e,t,n,r,o){return-r*a.c(t/o*(a.p/2))+r+n},easeOutSine:function easeOutSine(e,t,n,r,o){return r*a.s(t/o*(a.p/2))+n},easeInOutSine:function easeInOutSine(e,t,n,r,o){return-r/2*(a.c(a.p*t/o)-1)+n},easeInExpo:function easeInExpo(e,t,n,r,o){return 0==t?n:r*a.w(2,10*(t/o-1))+n},easeOutExpo:function easeOutExpo(e,t,n,r,o){return t==o?n+r:r*(1-a.w(2,-10*t/o))+n},easeInOutExpo:function easeInOutExpo(e,t,n,r,o){return 0==t?n:t==o?n+r:(t/=o/2)<1?r/2*a.w(2,10*(t-1))+n:r/2*(2-a.w(2,-10*--t))+n},easeInCirc:function easeInCirc(e,t,n,r,o){return-r*(a.t(1-(t/=o)*t)-1)+n},easeOutCirc:function easeOutCirc(e,t,n,r,o){return r*a.t(1-(t=t/o-1)*t)+n},easeInOutCirc:function easeInOutCirc(e,t,n,r,o){return(t/=o/2)<1?-r/2*(a.t(1-t*t)-1)+n:r/2*(a.t(1-(t-=2)*t)+1)+n},easeInElastic:function easeInElastic(e,t,n,r,o){var s=a.o,i=0,c=r;return 0==t?n:1==(t/=o)?n+r:(i||(i=.3*o),c<a.a(r)?(c=r,s=i/4):s=i/(2*a.p)*a.n(r/c),-c*a.w(2,10*(t-=1))*a.s((t*o-s)*(2*a.p)/i)+n)},easeOutElastic:function easeOutElastic(e,t,n,r,o){var s=a.o,i=0,c=r;return 0==t?n:1==(t/=o)?n+r:(i||(i=.3*o),c<a.a(r)?(c=r,s=i/4):s=i/(2*a.p)*a.n(r/c),c*a.w(2,-10*t)*a.s((t*o-s)*(2*a.p)/i)+r+n)},easeInOutElastic:function easeInOutElastic(e,t,n,r,o){var s=a.o,i=0,c=r;return 0==t?n:2==(t/=o/2)?n+r:(i||(i=o*(.3*1.5)),c<a.a(r)?(c=r,s=i/4):s=i/(2*a.p)*a.n(r/c),t<1?c*a.w(2,10*(t-=1))*a.s((t*o-s)*(2*a.p)/i)*-.5+n:c*a.w(2,-10*(t-=1))*a.s((t*o-s)*(2*a.p)/i)*.5+r+n)},easeInBack:function easeInBack(e,t,n,r,o,s){return r*(t/=o)*t*(((s=s||a.o)+1)*t-s)+n},easeOutBack:function easeOutBack(e,t,n,r,o,s){return r*((t=t/o-1)*t*(((s=s||a.o)+1)*t+s)+1)+n},easeInOutBack:function easeInOutBack(e,t,n,r,o,s){return s=s||a.o,(t/=o/2)<1?r/2*(t*t*((1+(s*=1.525))*t-s))+n:r/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+n},easeInBounce:function easeInBounce(e,t,n,r,o){return r-this.easeOutBounce(e,o-t,0,r,o)+n},easeOutBounce:function easeOutBounce(e,t,n,r,o){var a=7.5625;return(t/=o)<1/2.75?r*(a*t*t)+n:t<2/2.75?r*(a*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(a*(t-=2.25/2.75)*t+.9375)+n:r*(a*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function easeInOutBounce(e,t,n,r,o){return t<o/2?.5*this.easeInBounce(e,2*t,0,r,o)+n:.5*this.easeOutBounce(e,2*t-o,0,r,o)+.5*r+n}}),h=function(){var r=/[^\x20\t\r\n\f]+/g,o=" ",a="",s="scrollLeft",l="scrollTop",d=[],h=u.type,v={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0};function extend(){var e,t,r,o,a,s,l=arguments[0]||{},f=1,d=arguments[c.l],p=!1;for(h(l)==i.b&&(p=l,l=arguments[1]||{},f=2),h(l)!=i.o&&!h(l)==i.f&&(l={}),d===f&&(l=FakejQuery,--f);f<d;f++)if(null!=(a=arguments[f]))for(o in a)e=l[o],l!==(r=a[o])&&(p&&r&&(isPlainObject(r)||(t=u.isA(r)))?(t?(t=!1,s=e&&u.isA(e)?e:[]):s=e&&isPlainObject(e)?e:{},l[o]=extend(p,s,r)):r!==n&&(l[o]=r));return l}function inArray(e,t,n){for(var r=n||0;r<t[c.l];r++)if(t[r]===e)return r;return-1}function isFunction(e){return h(e)==i.f}function isEmptyObject(e){for(var t in e)return!1;return!0}function isPlainObject(e){if(!e||h(e)!=i.o)return!1;var t,n=c.p,r=Object[n].hasOwnProperty,o=r.call(e,"constructor"),a=e.constructor&&e.constructor[n]&&r.call(e.constructor[n],"isPrototypeOf");if(e.constructor&&!o&&!a)return!1;for(t in e);return h(t)==i.u||r.call(e,t)}function _each(e,t){var n=0;if(isArrayLike(e))for(;n<e[c.l]&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e}function isArrayLike(e){var t=!!e&&[c.l]in e&&e[c.l],n=h(e);return!isFunction(n)&&(n==i.a||0===t||h(t)==i.n&&t>0&&t-1 in e)}function stripAndCollapse(e){return(e.match(r)||[]).join(o)}function matches(e,n){for(var r=(e.parentNode||t).querySelectorAll(n)||[],o=r[c.l];o--;)if(r[o]==e)return!0;return!1}function insertAdjacentElement(e,t,n){if(u.isA(n))for(var r=0;r<n[c.l];r++)insertAdjacentElement(e,t,n[r]);else h(n)==i.s?e.insertAdjacentHTML(t,n):e.insertAdjacentElement(t,n.nodeType?n:n[0])}function setCSSVal(e,t,r){try{e[c.s][t]!==n&&(e[c.s][t]=parseCSSVal(t,r))}catch(e){}}function parseCSSVal(e,t){return v[e.toLowerCase()]||h(t)!=i.n||(t+="px"),t}function startNextAnimationInQ(e,t){var n,r;!1!==t&&e.q.splice(0,1),e.q[c.l]>0?(r=e.q[0],_animate(e.el,r.props,r.duration,r.easing,r.complete,!0)):(n=inArray(e,d))>-1&&d.splice(n,1)}function setAnimationValue(e,t,n){t===s||t===l?e[t]=n:setCSSVal(e,t,n)}function _animate(e,t,r,o,a,i){var h,v,m,b,g,y,S=isPlainObject(r),O={},_={},x=0;for(S?(o=r.easing,m=r.progress,b=r.step,g=r.specialEasing,a=r.complete,y=r.duration):y=r,g=g||{},y=y||400,o=o||"swing",i=i||!1;x<d[c.l];x++)if(d[x].el===e){v=d[x];break}for(h in v||(v={el:e,q:[]},d.push(v)),t)O[h]=h===s||h===l?e[h]:FakejQuery(e).css(h);for(h in O)O[h]!==t[h]&&t[h]!==n&&(_[h]=t[h]);if(isEmptyObject(_))i&&startNextAnimationInQ(v);else{var w,C,A,E,T,k,L,D,H,M=i?0:inArray(P,v.q),P={props:_,duration:S?r:y,easing:o,complete:a};if(-1===M&&(M=v.q[c.l],v.q.push(P)),0===M)if(y>0)L=u.now(),D=function frame(){for(h in w=u.now(),H=w-L,C=P.stop||H>=y,A=1-(f.max(0,L+y-w)/y||0),_)E=parseFloat(O[h]),T=parseFloat(_[h]),k=(T-E)*p[g[h]||o](A,A*y,0,1,y)+E,setAnimationValue(e,h,k),isFunction(b)&&b(k,{elem:e,prop:h,start:E,now:k,end:T,pos:A,options:{easing:o,speacialEasing:g,duration:y,complete:a,step:b},startTime:L});isFunction(m)&&m({},A,f.max(0,y-H)),C?(startNextAnimationInQ(v),isFunction(a)&&a()):P.frame=u.rAF()(D)},P.frame=u.rAF()(D);else{for(h in _)setAnimationValue(e,h,_[h]);startNextAnimationInQ(v)}}}function _stop(e,t,n){for(var r,o,a,s=0;s<d[c.l];s++)if((r=d[s]).el===e){if(r.q[c.l]>0){if((o=r.q[0]).stop=!0,u.cAF()(o.frame),r.q.splice(0,1),n)for(a in o.props)setAnimationValue(e,a,o.props[a]);t?r.q=[]:startNextAnimationInQ(r,!1)}break}}function elementIsVisible(e){return!!(e[c.oW]||e[c.oH]||e.getClientRects()[c.l])}function FakejQuery(n){if(0===arguments[c.l])return this;var r,o,a=new FakejQuery,s=n,l=0;if(h(n)==i.s)for(s=[],"<"===n.charAt(0)?((o=t.createElement("div")).innerHTML=n,r=o.children):r=t.querySelectorAll(n);l<r[c.l];l++)s.push(r[l]);if(s){for(h(s)==i.s||isArrayLike(s)&&s!==e&&s!==s.self||(s=[s]),l=0;l<s[c.l];l++)a[l]=s[l];a[c.l]=s[c.l]}return a}return FakejQuery[c.p]={on:function on(e,t){var n,o=(e=(e||a).match(r)||[a])[c.l],s=0;return this.each((function(){n=this;try{if(n.addEventListener)for(;s<o;s++)n.addEventListener(e[s],t);else if(n.detachEvent)for(;s<o;s++)n.attachEvent("on"+e[s],t)}catch(e){}}))},off:function off(e,t){var n,o=(e=(e||a).match(r)||[a])[c.l],s=0;return this.each((function(){n=this;try{if(n.removeEventListener)for(;s<o;s++)n.removeEventListener(e[s],t);else if(n.detachEvent)for(;s<o;s++)n.detachEvent("on"+e[s],t)}catch(e){}}))},one:function one(e,t){return e=(e||a).match(r)||[a],this.each((function(){var n=FakejQuery(this);FakejQuery.each(e,(function(e,r){var o=function oneHandler(e){t.call(this,e),n.off(r,oneHandler)};n.on(r,o)}))}))},trigger:function trigger(e){var n,r;return this.each((function(){n=this,t.createEvent?((r=t.createEvent("HTMLEvents")).initEvent(e,!0,!1),n.dispatchEvent(r)):n.fireEvent("on"+e)}))},append:function append(e){return this.each((function(){insertAdjacentElement(this,"beforeend",e)}))},prepend:function prepend(e){return this.each((function(){insertAdjacentElement(this,"afterbegin",e)}))},before:function before(e){return this.each((function(){insertAdjacentElement(this,"beforebegin",e)}))},after:function after(e){return this.each((function(){insertAdjacentElement(this,"afterend",e)}))},remove:function remove(){return this.each((function(){var e=this,t=e.parentNode;null!=t&&t.removeChild(e)}))},unwrap:function unwrap(){var e,t,n,r=[];for(this.each((function(){-1===inArray(n=this.parentNode,r)&&r.push(n)})),e=0;e<r[c.l];e++){for(t=r[e],n=t.parentNode;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}return this},wrapAll:function wrapAll(e){for(var t,n=this,r=FakejQuery(e)[0],o=r,a=n[0].parentNode,s=n[0].previousSibling;o.childNodes[c.l]>0;)o=o.childNodes[0];for(t=0;n[c.l]-t;o.firstChild===n[0]&&t++)o.appendChild(n[t]);var i=s?s.nextSibling:a.firstChild;return a.insertBefore(r,i),this},wrapInner:function wrapInner(e){return this.each((function(){var t=FakejQuery(this),n=t.contents();n[c.l]?n.wrapAll(e):t.append(e)}))},wrap:function wrap(e){return this.each((function(){FakejQuery(this).wrapAll(e)}))},css:function css(t,r){var o,a,s,l=e.getComputedStyle;return h(t)==i.s?r===n?(o=this[0],s=l?l(o,null):o.currentStyle[t],l?null!=s?s.getPropertyValue(t):o[c.s][t]:s):this.each((function(){setCSSVal(this,t,r)})):this.each((function(){for(a in t)setCSSVal(this,a,t[a])}))},hasClass:function hasClass(e){for(var t,n,r=0,s=o+e+o;t=this[r++];){if((n=t.classList)&&n.contains(e))return!0;if(1===t.nodeType&&(o+stripAndCollapse(t.className+a)+o).indexOf(s)>-1)return!0}return!1},addClass:function addClass(e){var t,s,i,c,l,u,f,d,p=0,h=0;if(e)for(t=e.match(r)||[];s=this[p++];)if(d=s.classList,f===n&&(f=d!==n),f)for(;l=t[h++];)d.add(l);else if(c=s.className+a,i=1===s.nodeType&&o+stripAndCollapse(c)+o){for(;l=t[h++];)i.indexOf(o+l+o)<0&&(i+=l+o);c!==(u=stripAndCollapse(i))&&(s.className=u)}return this},removeClass:function removeClass(e){var t,s,i,c,l,u,f,d,p=0,h=0;if(e)for(t=e.match(r)||[];s=this[p++];)if(d=s.classList,f===n&&(f=d!==n),f)for(;l=t[h++];)d.remove(l);else if(c=s.className+a,i=1===s.nodeType&&o+stripAndCollapse(c)+o){for(;l=t[h++];)for(;i.indexOf(o+l+o)>-1;)i=i.replace(o+l+o,o);c!==(u=stripAndCollapse(i))&&(s.className=u)}return this},hide:function hide(){return this.each((function(){this[c.s].display="none"}))},show:function show(){return this.each((function(){this[c.s].display="block"}))},attr:function attr(e,t){for(var r,o=0;r=this[o++];){if(t===n)return r.getAttribute(e);r.setAttribute(e,t)}return this},removeAttr:function removeAttr(e){return this.each((function(){this.removeAttribute(e)}))},offset:function offset(){var n=this[0][c.bCR](),r=e.pageXOffset||t.documentElement[s],o=e.pageYOffset||t.documentElement[l];return{top:n.top+o,left:n.left+r}},position:function position(){var e=this[0];return{top:e.offsetTop,left:e.offsetLeft}},scrollLeft:function scrollLeft(e){for(var t,r=0;t=this[r++];){if(e===n)return t[s];t[s]=e}return this},scrollTop:function scrollTop(e){for(var t,r=0;t=this[r++];){if(e===n)return t[l];t[l]=e}return this},val:function val(e){var t=this[0];return e?(t.value=e,this):t.value},first:function first(){return this.eq(0)},last:function last(){return this.eq(-1)},eq:function eq(e){return FakejQuery(this[e>=0?e:this[c.l]+e])},find:function find(e){var t,n=[];return this.each((function(){var r=this.querySelectorAll(e);for(t=0;t<r[c.l];t++)n.push(r[t])})),FakejQuery(n)},children:function children(e){var t,n,r,children=[];return this.each((function(){for(n=this.children,r=0;r<n[c.l];r++)t=n[r],e?(t.matches&&t.matches(e)||matches(t,e))&&children.push(t):children.push(t)})),FakejQuery(children)},parent:function parent(e){var parent,t=[];return this.each((function(){parent=this.parentNode,e&&!FakejQuery(parent).is(e)||t.push(parent)})),FakejQuery(t)},is:function is(e){var t,n;for(n=0;n<this[c.l];n++){if(t=this[n],":visible"===e)return elementIsVisible(t);if(":hidden"===e)return!elementIsVisible(t);if(t.matches&&t.matches(e)||matches(t,e))return!0}return!1},contents:function contents(){var e,t,contents=[];return this.each((function(){for(e=this.childNodes,t=0;t<e[c.l];t++)contents.push(e[t])})),FakejQuery(contents)},each:function each(e){return _each(this,e)},animate:function animate(e,t,n,r){return this.each((function(){_animate(this,e,t,n,r)}))},stop:function stop(e,t){return this.each((function(){_stop(this,e,t)}))}},extend(FakejQuery,{extend,inArray,isEmptyObject,isPlainObject,each:_each}),FakejQuery}(),v=(r=[],o="__overlayScrollbars__",function(e,t){var n=arguments[c.l];if(n<1)return r;if(t)e[o]=t,r.push(e);else{var a=u.inA(e,r);if(a>-1){if(!(n>1))return r[a][o];delete e[o],r.splice(a,1)}}}),m=function(){var r,o,a,p,m,b,g,y,S,O,_,x,w,C,A,E,T=[],k=(p=u.type,m=[i.b,i.n,i.s,i.a,i.o,i.f,i.z],b=" ",g=":",y=[i.z,i.s],S=i.n,O=[i.z,i.b],_=[!0,i.b],x=[!1,i.b],w=[null,[i.z,i.f]],C="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden",A={className:["os-theme-dark",y],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:_,clipAlways:_,normalizeRTL:_,paddingAbsolute:x,autoUpdate:[null,O],autoUpdateInterval:[33,S],updateOnLoad:[["img"],[i.s,i.a,i.z]],nativeScrollbarsOverlaid:{showNativeScrollbars:x,initialize:_},overflowBehavior:{x:["scroll",C],y:["scroll",C]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,S],dragScrolling:_,clickScrolling:x,touchSupport:_,snapHandle:x},textarea:{dynWidth:x,dynHeight:x,inheritedAttrs:[["style","class"],[i.s,i.a,i.z]]},callbacks:{onInitialized:w,onInitializationWithdrawn:w,onDestroyed:w,onScrollStart:w,onScroll:w,onScrollStop:w,onOverflowChanged:w,onOverflowAmountChanged:w,onDirectionChanged:w,onContentSizeChanged:w,onHostSizeChanged:w,onUpdated:w}},{_defaults:(E=function convert(e){return function recursive(t){var n,r,o;for(n in t)t[c.hOP](n)&&(r=t[n],(o=p(r))==i.a?t[n]=r[e?1:0]:o==i.o&&(t[n]=recursive(r)));return t}(h.extend(!0,{},A))})(),_template:E(!0),_validate:function _validate(t,r,o,a){var s={},l={},f=h.extend(!0,{},t),d=h.inArray,v=h.isEmptyObject,y=function checkObjectProps(e,t,r,a,s,l){for(var f in t)if(t[c.hOP](f)&&e[c.hOP](f)){var y,S,O,_,x,w,C,A,E=!1,T=!1,k=t[f],L=p(k),D=L==i.o,H=u.isA(k)?k:[k],M=r[f],P=e[f],R=p(P),z=l?l+".":"",I='The option "'+z+f+"\" wasn't set, because",N=[],j=[];if(M=M===n?{}:M,D&&R==i.o)a[f]={},s[f]={},checkObjectProps(P,k,M,a[f],s[f],z+f),h.each([e,a,s],(function(e,t){v(t[f])&&delete t[f]}));else if(!D){for(w=0;w<H[c.l];w++)if(x=H[w],O=(L=p(x))==i.s&&-1===d(x,m))for(N.push(i.s),y=x.split(b),j=j.concat(y),C=0;C<y[c.l];C++){for(_=(S=y[C].split(g))[0],A=0;A<S[c.l];A++)if(P===S[A]){E=!0;break}if(E)break}else if(N.push(x),R===x){E=!0;break}E?((T=P!==M)&&(a[f]=P),(O?d(M,S)<0:T)&&(s[f]=O?_:P)):o&&console.warn(I+" it doesn't accept the type [ "+R.toUpperCase()+' ] with the value of "'+P+'".\r\nAccepted types are: [ '+N.join(", ").toUpperCase()+" ]."+(j[length]>0?"\r\nValid strings are: [ "+j.join(", ").split(g).join(", ")+" ].":"")),delete e[f]}}};return y(f,r,a||{},s,l),!v(f)&&o&&console.warn("The following options are discarded due to invalidity:\r\n"+e.JSON.stringify(f,null,2)),{_default:s,_prepared:l}}});function initOverlayScrollbarsStatics(){o||(o=new OverlayScrollbarsGlobals(k._defaults)),a||(a=new OverlayScrollbarsAutoUpdateLoop(o))}function OverlayScrollbarsGlobals(t){var n=this,r="overflow",o="hidden",a="scroll",s=h("body"),i=h('<div id="os-dummy-scrollbar-size"><div></div></div>'),d=i[0],p=h(i.children("div").eq(0));s.append(i),i.hide().show();var m=calcNativeScrollbarSize(d),b={x:0===m.x,y:0===m.y},g=function(){var t,n=e.navigator.userAgent,r="indexOf",o="substring",a=n[r]("MSIE "),s=n[r]("Trident/"),i=n[r]("Edge/"),c=n[r]("rv:"),l=parseInt;return a>0?t=l(n[o](a+5,n[r](".",a)),10):s>0?t=l(n[o](c+3,n[r](".",c)),10):i>0&&(t=l(n[o](i+5,n[r](".",i)),10)),t}();function calcNativeScrollbarSize(e){return{x:e[c.oH]-e[c.cH],y:e[c.oW]-e[c.cW]}}h.extend(n,{defaultOptions:t,msie:g,autoUpdateLoop:!1,autoUpdateRecommended:!u.mO(),nativeScrollbarSize:m,nativeScrollbarIsOverlaid:b,nativeScrollbarStyling:function(){var t=!1;i.addClass("os-viewport-native-scrollbars-invisible");try{t="none"===i.css("scrollbar-width")&&(g>9||!g)||"none"===e.getComputedStyle(d,"::-webkit-scrollbar").getPropertyValue("display")}catch(e){}return t}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:l._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){i.css(r,o);var e={w:d[c.sW],h:d[c.sH]};i.css(r,"visible");var t={w:d[c.sW],h:d[c.sH]};return e.w-t.w!=0||e.h-t.h!=0}(),rtlScrollBehavior:function(){i.css({"overflow-y":o,"overflow-x":a,direction:"rtl"}).scrollLeft(0);var e=i.offset(),t=p.offset();i.scrollLeft(-999);var n=p.offset();return{i:e.left===t.left,n:t.left!==n.left}}(),supportTransform:!!l._cssProperty("transform"),supportTransition:!!l._cssProperty("transition"),supportPassiveEvents:function(){var t=!1;try{e.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){t=!0}}))}catch(e){}return t}(),supportResizeObserver:!!u.rO(),supportMutationObserver:!!u.mO()}),i.removeAttr(c.s).remove(),function(){if(!b.x||!b.y){var t=f.abs,r=u.wW(),o=u.wH(),a=getWindowDPR(),c=function onResize(){if(v().length>0){var e=u.wW(),c=u.wH(),l=e-r,d=c-o;if(0===l&&0===d)return;var p,m=f.round(e/(r/100)),b=f.round(c/(o/100)),g=t(l),y=t(d),S=t(m),O=t(b),_=getWindowDPR(),x=g>2&&y>2,w=!differenceIsBiggerThanOne(S,O),C=x&&w&&_!==a&&a>0,A=n.nativeScrollbarSize;C&&(s.append(i),p=n.nativeScrollbarSize=calcNativeScrollbarSize(i[0]),i.remove(),A.x===p.x&&A.y===p.y||h.each(v(),(function(){v(this)&&v(this).update("zoom")}))),r=e,o=c,a=_}};h(e).on("resize",c)}function differenceIsBiggerThanOne(e,n){var r=t(e),o=t(n);return!(r===o||r+1===o||r-1===o)}function getWindowDPR(){var t=e.screen.deviceXDPI||0,n=e.screen.logicalXDPI||1;return e.devicePixelRatio||t/n}}()}function OverlayScrollbarsAutoUpdateLoop(e){var t,r=this,o=h.inArray,a=u.now,s="autoUpdate",i=s+"Interval",l=c.l,d=[],p=[],v=!1,m=33,b=m,g=a(),y=function loop(){if(d[l]>0&&v){t=u.rAF()((function(){loop()}));var e,r,o,c,h,y,S=a(),O=S-g;if(O>b){g=S-O%b,e=m;for(var _=0;_<d[l];_++)(r=d[_])!==n&&(c=(o=r.options())[s],h=f.max(1,o[i]),y=a(),(!0===c||null===c)&&y-p[_]>h&&(r.update("auto"),p[_]=new Date(y+=h)),e=f.max(1,f.min(e,h)));b=e}}else b=m};r.add=function(t){-1===o(t,d)&&(d.push(t),p.push(a()),d[l]>0&&!v&&(v=!0,e.autoUpdateLoop=v,y()))},r.remove=function(r){var a=o(r,d);a>-1&&(p.splice(a,1),d.splice(a,1),0===d[l]&&v&&(v=!1,e.autoUpdateLoop=v,t!==n&&(u.cAF()(t),t=-1)))}}function OverlayScrollbarsInstance(o,a,s,p,m){var b=u.type,g=h.inArray,y=h.each,S=new r,O=h[c.p];if(isHTMLElement(o)){if(v(o)){var _=v(o);return _.options(a),_}var x,w,C,A,E,T,L,D,H,M,P,R,z,I,N,j,F,V,W,B,U,Q,q,G,K,X,Z,Y,$,J,ee,te,ne,re,oe,ae,se,ie,ce,le,ue,fe,de,pe,he,ve,me,be,ge,ye,Se,Oe,_e,xe,we,Ce,Ae,Ee,Te,ke,Le,De,He,Me,Pe,Re,ze,Ie,Ne,je,Fe,Ve,We,Be,Ue,Qe,qe,Ge,Ke,Xe,Ze,Ye,$e,Je,et,tt,nt,rt,ot,at,st,it,ct,lt,ut,ft,dt,pt,ht,vt,mt,bt,gt,yt,St,Ot,_t,xt,wt,Ct,At,Et,Tt,kt,Lt,Dt,Ht,Mt,Pt,Rt,zt={},It={},Nt={},jt={},Ft={},Vt="-hidden",Wt="margin-",Bt="padding-",Ut="border-",Qt="top",qt="right",Gt="bottom",Kt="left",Xt="min-",Zt="max-",Yt="width",$t="height",Jt="float",en="",tn="auto",nn="sync",rn="scroll",an="100%",sn="x",cn="y",ln=".",un=" ",fn="scrollbar",dn="-horizontal",pn="-vertical",hn=rn+"Left",vn=rn+"Top",mn="mousedown touchstart",bn="mouseup touchend touchcancel",gn="mousemove touchmove",yn="mouseenter",Sn="mouseleave",On="keydown",_n="keyup",xn="selectstart",wn="transitionend webkitTransitionEnd oTransitionEnd",Cn="__overlayScrollbarsRO__",An="os-",En=An+"html",Tn=An+"host",kn=Tn+"-foreign",Ln=Tn+"-textarea",Dn=Tn+"-"+fn+dn+Vt,Hn=Tn+"-"+fn+pn+Vt,Mn=Tn+"-transition",Pn=Tn+"-rtl",Rn=Tn+"-resize-disabled",zn=Tn+"-scrolling",In=Tn+"-overflow",Nn=(In=Tn+"-overflow")+"-x",jn=In+"-y",Fn=An+"textarea",Vn=Fn+"-cover",Wn=An+"padding",Bn=An+"viewport",Un=Bn+"-native-scrollbars-invisible",Qn=Bn+"-native-scrollbars-overlaid",qn=An+"content",Gn=An+"content-arrange",Kn=An+"content-glue",Xn=An+"size-auto-observer",Zn=An+"resize-observer",Yn=An+"resize-observer-item",$n=Yn+"-final",Jn=An+"text-inherit",er=An+fn,tr=er+"-track",nr=tr+"-off",rr=er+"-handle",or=rr+"-off",ar=er+"-unusable",sr=er+"-"+tn+Vt,ir=er+"-corner",cr=ir+"-resize",lr=cr+"-both",ur=cr+dn,fr=cr+pn,dr=er+dn,pr=er+pn,hr=An+"dragging",vr=An+"theme-none",mr=[Un,Qn,nr,or,ar,sr,cr,lr,ur,fr,hr].join(un),br=[],gr=[c.ti],yr={},Sr="added removed on contract",Or={},_r=42,xr="load",wr=[],Cr={},Ar=["wrap","cols","rows"],Er=[c.i,c.c,c.s,"open"].concat(gr),Tr=[];return S.sleep=function(){$=!0},S.update=function(e){var t,r,o,a,s;if(!N)return b(e)==i.s?e===tn?(t=meaningfulAttrsChanged(),r=updateAutoContentSizeChanged(),(o=t||r)&&update({_contentSizeChanged:r,_changedOptions:I?n:te})):e===nn?Ot?(a=yt(bt.takeRecords()),s=St(gt.takeRecords())):a=S.update(tn):"zoom"===e&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(e=$||e,$=!1,S.update(nn)&&!e||update({_force:e})),updateElementsOnLoad(),o||a||s},S.options=function(e,t){var n,r={};if(h.isEmptyObject(e)||!h.isPlainObject(e)){if(b(e)!=i.s)return ee;if(!(arguments.length>1))return getObjectPropVal(ee,e);setObjectPropVal(r,e,t),n=setOptions(r)}else n=setOptions(e);h.isEmptyObject(n)||update({_changedOptions:n})},S.destroy=function(){if(!N){for(var e in m.remove(S),disconnectMutationObservers(),setupResizeObserver(fe),setupResizeObserver(ue),yr)S.removeExt(e);for(;Tr[c.l]>0;)Tr.pop()();setupHostMouseTouchEvents(!0),me&&remove(me),ve&&remove(ve),U&&remove(ue),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var t=0;t<wr[c.l];t++)h(wr[t]).off(xr,updateOnLoadCallback);wr=n,N=!0,$=!0,v(o,0),dispatchCallback("onDestroyed")}},S.scroll=function(e,t,r,o){if(0===arguments.length||e===n){var a=It,s=Nt,l=ct&&Y&&C.i,p=ct&&Y&&C.n,v=a._currentScroll,m=a._currentScrollRatio,y=a._maxScroll;return m=l?1-m:m,v=l?y-v:v,y*=p?-1:1,{position:{x:v*=p?-1:1,y:s._currentScroll},ratio:{x:m,y:s._currentScrollRatio},max:{x:y,y:s._maxScroll},handleOffset:{x:a._handleOffset,y:s._handleOffset},handleLength:{x:a._handleLength,y:s._handleLength},handleLengthRatio:{x:a._handleLengthRatio,y:s._handleLengthRatio},trackLength:{x:a._trackLength,y:s._trackLength},snappedHandleOffset:{x:a._snappedHandleOffset,y:s._snappedHandleOffset},isRTL:Y,isRTLNormalized:ct}}S.update(nn);var O,_,x,w,A,E,T,k,L,D=ct,H=[sn,Kt,"l"],P=[cn,Qt,"t"],R=["+=","-=","*=","/="],z=b(t)==i.o,I=z?t.complete:o,N={},j={},F="end",V="begin",W="center",B="nearest",U="always",Q="never",q="ifneeded",G=c.l,K=[sn,cn,"xy","yx"],X=[V,F,W,B],Z=[U,Q,q],$=e[c.hOP]("el"),J=$?e.el:e,ee=!!(J instanceof h||d)&&J instanceof d,te=!ee&&isHTMLElement(J),ne=function updateScrollbarInfos(){_&&refreshScrollbarHandleOffset(!0),x&&refreshScrollbarHandleOffset(!1)},re=b(I)!=i.f?n:function(){ne(),I()};function checkSettingsStringValue(e,t){for(O=0;O<t[G];O++)if(e===t[O])return!0;return!1}function getRawScroll(e,t){var n=e?H:P;if(t=b(t)==i.s||b(t)==i.n?[t,t]:t,u.isA(t))return e?t[0]:t[1];if(b(t)==i.o)for(O=0;O<n[G];O++)if(n[O]in t)return t[n[O]]}function getFinalScroll(e,t){var r,o,a,s,c=b(t)==i.s,l=e?It:Nt,u=l._currentScroll,d=l._maxScroll,p=" * ",h=Y&&e,v=h&&C.n&&!D,m="replace",y=eval;if(c?(t[G]>2&&(s=t.substr(0,2),g(s,R)>-1&&(r=s)),t=(t=r?t.substr(2):t)[m](/min/g,0)[m](/</g,0)[m](/max/g,(v?"-":en)+an)[m](/>/g,(v?"-":en)+an)[m](/px/g,en)[m](/%/g,p+d*(h&&C.n?-1:1)/100)[m](/vw/g,p+jt.w)[m](/vh/g,p+jt.h),o=parseToZeroOrNumber(isNaN(t)?parseToZeroOrNumber(y(t),!0).toFixed():t)):o=t,o!==n&&!isNaN(o)&&b(o)==i.n){var S=D&&h,O=u*(S&&C.n?-1:1),_=S&&C.i,x=S&&C.n;switch(O=_?d-O:O,r){case"+=":a=O+o;break;case"-=":a=O-o;break;case"*=":a=O*o;break;case"/=":a=O/o;break;default:a=o}a=_?d-a:a,a*=x?-1:1,a=h&&C.n?f.min(0,f.max(d,a)):f.max(0,f.min(d,a))}return a===u?n:a}function getPerAxisValue(e,t,n,r){var o,a,s=[n,n],c=b(e);if(c==t)e=[e,e];else if(c==i.a){if((o=e[G])>2||o<1)e=s;else for(1===o&&(e[1]=n),O=0;O<o;O++)if(a=e[O],b(a)!=t||!checkSettingsStringValue(a,r)){e=s;break}}else e=c==i.o?[e[sn]||n,e[cn]||n]:s;return{x:e[0],y:e[1]}}function generateMargin(e){var t,n,r=[],o=[Qt,qt,Gt,Kt];for(O=0;O<e[G]&&O!==o[G];O++)t=e[O],(n=b(t))==i.b?r.push(t?parseToZeroOrNumber(L.css(Wt+o[O])):0):r.push(n==i.n?t:0);return r}if(ee||te){var oe,ae=$?e.margin:0,se=$?e.axis:0,ie=$?e.scroll:0,ce=$?e.block:0,le=[0,0,0,0],ue=b(ae);if((L=ee?J:h(J))[G]>0){ae=ue==i.n||ue==i.b?generateMargin([ae,ae,ae,ae]):ue==i.a?2===(oe=ae[G])?generateMargin([ae[0],ae[1],ae[0],ae[1]]):oe>=4?generateMargin(ae):le:ue==i.o?generateMargin([ae[Qt],ae[qt],ae[Gt],ae[Kt]]):le,A=checkSettingsStringValue(se,K)?se:"xy",E=getPerAxisValue(ie,i.s,U,Z),T=getPerAxisValue(ce,i.s,V,X),k=ae;var fe={l:It._currentScroll,t:Nt._currentScroll},he=de.offset(),ve=L.offset(),me={x:E.x==Q||A==cn,y:E.y==Q||A==sn};ve[Qt]-=k[0],ve[Kt]-=k[3];var be={x:f.round(ve[Kt]-he[Kt]+fe.l),y:f.round(ve[Qt]-he[Qt]+fe.t)};if(Y&&(C.n||C.i||(be.x=f.round(he[Kt]-ve[Kt]+fe.l)),C.n&&D&&(be.x*=-1),C.i&&D&&(be.x=f.round(he[Kt]-ve[Kt]+(It._maxScroll-fe.l)))),T.x!=V||T.y!=V||E.x==q||E.y==q||Y){var ge=L[0],ye=M?ge[c.bCR]():{width:ge[c.oW],height:ge[c.oH]},Se={w:ye[Yt]+k[3]+k[1],h:ye[$t]+k[0]+k[2]},Oe=function finalizeBlock(e){var t=getScrollbarVars(e),n=t._w_h,r=t._left_top,o=t._x_y,a=T[o]==(e&&Y?V:F),s=T[o]==W,i=T[o]==B,c=E[o]==Q,l=E[o]==q,u=jt[n],f=he[r],d=Se[n],p=ve[r],h=s?2:1,v=p+d/2,m=f+u/2,b=d<=u&&p>=f&&p+d<=f+u;c?me[o]=!0:me[o]||((i||l)&&(me[o]=!!l&&b,a=d<u?v>m:v<m),be[o]-=a||s?(u/h-d/h)*(e&&Y&&D?-1:1):0)};Oe(!0),Oe(!1)}me.y&&delete be.y,me.x&&delete be.x,e=be}}N[hn]=getFinalScroll(!0,getRawScroll(!0,e)),N[vn]=getFinalScroll(!1,getRawScroll(!1,e)),_=N[hn]!==n,x=N[vn]!==n,(_||x)&&(t>0||z)?z?(t.complete=re,pe.animate(N,t)):(w={duration:t,complete:re},u.isA(r)||h.isPlainObject(r)?(j[hn]=r[0]||r.x,j[vn]=r[1]||r.y,w.specialEasing=j):w.easing=r,pe.animate(N,w)):(_&&pe[hn](N[hn]),x&&pe[vn](N[vn]),ne())},S.scrollStop=function(e,t,n){return pe.stop(e,t,n),S},S.getElements=function(e){var t={target:Ee,host:Te,padding:De,viewport:He,content:Me,scrollbarHorizontal:{scrollbar:ye[0],track:Se[0],handle:Oe[0]},scrollbarVertical:{scrollbar:_e[0],track:xe[0],handle:we[0]},scrollbarCorner:ge[0]};return b(e)==i.s?getObjectPropVal(t,e):t},S.getState=function(e){function prepare(e){if(!h.isPlainObject(e))return e;var t=extendDeep({},e),n=function changePropertyName(e,n){t[c.hOP](e)&&(t[n]=t[e],delete t[e])};return n("w",Yt),n("h",$t),delete t.c,t}var t={destroyed:!!prepare(N),sleeping:!!prepare($),autoUpdate:prepare(!Ot),widthAuto:prepare(je),heightAuto:prepare(Fe),padding:prepare(We),overflowAmount:prepare(Ye),hideOverflow:prepare(Ne),hasOverflow:prepare(Ie),contentScrollSize:prepare(Re),viewportSize:prepare(jt),hostSize:prepare(Pe),documentMixed:prepare(V)};return b(e)==i.s?getObjectPropVal(t,e):t},S.ext=function(e){var t,n=Sr.split(" "),r=0;if(b(e)==i.s){if(yr[c.hOP](e))for(t=extendDeep({},yr[e]);r<n.length;r++)delete t[n[r]]}else for(r in t={},yr)t[r]=extendDeep({},S.ext(r));return t},S.addExt=function(t,n){var o,a,s,l,f=r.extension(t),d=!0;if(f){if(yr[c.hOP](t))return S.ext(t);if((o=f.extensionFactory.call(S,extendDeep({},f.defaultOptions),h,u))&&(s=o.contract,b(s)==i.f&&(l=s(e),d=b(l)==i.b?l:d),d))return yr[t]=o,a=o.added,b(a)==i.f&&a(n),S.ext(t)}else console.warn('A extension with the name "'+t+"\" isn't registered.")},S.removeExt=function(e){var t,n=yr[e];return!!n&&(delete yr[e],t=n.removed,b(t)==i.f&&t(),!0)},r.valid(construct(o,a,s))&&v(o,S),S}function setupResponsiveEventListener(e,t,n,r,o){var a=u.isA(t)&&u.isA(n),s=r?"removeEventListener":"addEventListener",i=r?"off":"on",l=!a&&t.split(un),f=0,d=h.isPlainObject(o),p=P&&(d?o._passive:o)||!1,v=d&&(o._capture||!1),m=P?{passive:p,capture:v}:v;if(a)for(;f<t[c.l];f++)setupResponsiveEventListener(e,t[f],n[f],r,o);else for(;f<l[c.l];f++)P?e[0][s](l[f],n,m):e[i](l[f],n)}function addDestroyEventListener(e,t,n,r){setupResponsiveEventListener(e,t,n,!1,r),Tr.push(u.bind(setupResponsiveEventListener,0,e,t,n,!0,r))}function setupResizeObserver(e,t){if(e){var r=u.rO(),o="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",a="childNodes",s=3333333,l=function callback(){e[vn](s)[hn](Y?C.n?-s:C.i?0:s:s),t()};if(t){if(R)((N=e.addClass("observed").append(generateDiv(Zn)).contents()[0])[Cn]=new r(l)).observe(N);else if(E>9||!A){e.prepend(generateDiv(Zn,generateDiv({c:Yn,dir:"ltr"},generateDiv(Yn,generateDiv($n))+generateDiv(Yn,generateDiv({c:$n,style:"width: 200%; height: 200%"})))));var f,d,v,m,b=e[0][a][0][a][0],g=h(b[a][1]),y=h(b[a][0]),S=h(y[0][a][0]),O=b[c.oW],_=b[c.oH],x=2,w=p.nativeScrollbarSize,T=function reset(){y[hn](s)[vn](s),g[hn](s)[vn](s)},k=function onResized(){d=0,f&&(O=v,_=m,l())},L=function onScroll(e){return v=b[c.oW],m=b[c.oH],f=v!=O||m!=_,e&&f&&!d?(u.cAF()(d),d=u.rAF()(k)):e||k(),T(),e&&(u.prvD(e),u.stpP(e)),!1},D={},H={};setTopRightBottomLeft(H,en,[-(w.y+1)*x,w.x*-x,w.y*-x,-(w.x+1)*x]),h(b).css(H),y.on(rn,L),g.on(rn,L),e.on(o,(function(){L(!1)})),D[Yt]=s,D[$t]=s,S.css(D),T()}else{var M=Ae.attachEvent,P=E!==n;if(M)e.prepend(generateDiv(Zn)),findFirst(e,ln+Zn)[0].attachEvent("onresize",l);else{var z=Ae.createElement(i.o);z.setAttribute(c.ti,"-1"),z.setAttribute(c.c,Zn),z.onload=function(){var e=this.contentDocument.defaultView;e.addEventListener("resize",l),e.document.documentElement.style.display="none"},z.type="text/html",P&&e.prepend(z),z.data="about:blank",P||e.prepend(z),e.on(o,l)}}if(e[0]===Le){var I=function directionChanged(){var e=le.css("direction"),t={},n=0,r=!1;return e!==qe&&("ltr"===e?(t[Kt]=0,t[qt]=tn,n=s):(t[Kt]=tn,t[qt]=0,n=C.n?-s:C.i?0:s),fe.children().eq(0).css(t),fe[hn](n)[vn](s),qe=e,r=!0),r};I(),addDestroyEventListener(e,rn,(function(e){return I()&&update(),u.prvD(e),u.stpP(e),!1}))}}else if(R){var N,j=(N=e.contents()[0])[Cn];j&&(j.disconnect(),delete N[Cn])}else remove(e.children(ln+Zn).eq(0))}}function createMutationObservers(){if(z){var e,t,n,r,o,a,s,i,l,f,d=11,p=u.mO(),h=u.now();St=function _mutationObserverContentCallback(e){var t=!1;return I&&!$&&(y(e,(function(){return!(t=isUnknownMutation(this))})),t&&(i=u.now(),l=Fe||je,f=function action(){N||(h=i,j&&textareaUpdate(),l?update():S.update(tn))},clearTimeout(s),d<=0||i-h>d||!l?f():s=setTimeout(f,d))),t},bt=new p(yt=function _mutationObserverHostCallback(s){var i,l=!1,u=!1,f=[];return I&&!$&&(y(s,(function(){e=(i=this).target,t=i.attributeName,n=t===c.c,r=i.oldValue,o=e.className,W&&n&&!u&&r.indexOf(kn)>-1&&o.indexOf(kn)<0&&(a=createHostClassNameRegExp(!0),Te.className=o.split(un).concat(r.split(un).filter((function(e){return e.match(a)}))).join(un),l=u=!0),l||(l=n?hostClassNamesChanged(r,o):t!==c.s||r!==e[c.s].cssText),f.push(t)})),updateViewportAttrsFromTarget(f),l&&S.update(u||tn)),l}),gt=new p(St)}}function connectMutationObservers(){z&&!Ot&&(bt.observe(Te,{attributes:!0,attributeOldValue:!0,attributeFilter:Er}),gt.observe(j?Ee:Me,{attributes:!0,attributeOldValue:!0,subtree:!j,childList:!j,characterData:!j,attributeFilter:j?Ar:Er}),Ot=!0)}function disconnectMutationObservers(){z&&Ot&&(bt.disconnect(),gt.disconnect(),Ot=!1)}function hostOnResized(){if(!$){var e,t={w:Le[c.sW],h:Le[c.sH]};e=checkCache(t,nt),nt=t,e&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){kt&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){kt&&!ie.hasClass(hr)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){Tt&&(refreshScrollbarsAutoHide(!0),clearTimeout(wt),wt=setTimeout((function(){Tt&&!N&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(e){return u.prvD(e),!1}function updateOnLoadCallback(e){var t=h(e.target);eachUpdateOnLoad((function(e,n){t.is(n)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(e){e||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(le,gn.split(un)[0],hostOnMouseMove,!Tt||e,!0),setupResponsiveEventListener(le,[yn,Sn],[hostOnMouseEnter,hostOnMouseLeave],!kt||e,!0),I||e||le.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var e={};return F&&ve&&(e.w=parseToZeroOrNumber(ve.css(Xt+Yt)),e.h=parseToZeroOrNumber(ve.css(Xt+$t)),e.c=checkCache(e,mt),e.f=!0),mt=e,!!e.c}function hostClassNamesChanged(e,t){var n,r,o=_typeof(t)==i.s?t.split(un):[],a=getArrayDifferences(_typeof(e)==i.s?e.split(un):[],o),s=g(vr,a);if(s>-1&&a.splice(s,1),a[c.l]>0)for(r=createHostClassNameRegExp(!0,!0),n=0;n<a.length;n++)if(!a[n].match(r))return!0;return!1}function isUnknownMutation(e){var t=e.attributeName,n=e.target,r=e.type,o="closest";if(n===Me)return null===t;if("attributes"===r&&(t===c.c||t===c.s)&&!j){if(t===c.c&&h(n).hasClass(Tn))return hostClassNamesChanged(e.oldValue,n.className);if(_typeof(n[o])!=i.f)return!0;if(null!==n[o](ln+Zn)||null!==n[o](ln+er)||null!==n[o](ln+ir))return!1}return!0}function updateAutoContentSizeChanged(){if($)return!1;var e,t,n,r,o=getContentMeasureElement(),a=j&&je&&!ft?ce.val().length:0,s=!Ot&&je&&!j,i={};return s&&(e=he.css(Jt),i[Jt]=Y?qt:Kt,i[Yt]=tn,he.css(i)),r={w:o[c.sW]+a,h:o[c.sH]+a},s&&(i[Jt]=e,i[Yt]=an,he.css(i)),t=bodyMinSizeChanged(),n=checkCache(r,tt),tt=r,n||t}function meaningfulAttrsChanged(){if(!$&&!Ot){var e,t,r,o=[],a=[{_elem:le,_attrs:Er.concat(":visible")},{_elem:j?ce:n,_attrs:Ar}];return y(a,(function(n,a){(e=a._elem)&&y(a._attrs,(function(n,a){t=":"===a.charAt(0)?e.is(a):e.attr(a),r=Cr[a],checkCache(t,r)&&o.push(a),Cr[a]=t}))})),updateViewportAttrsFromTarget(o),o[c.l]>0}}function isSizeAffectingCSSProperty(e){if(!I)return!0;var t="flex-grow",n="flex-shrink",r="flex-basis",o=[Yt,Xt+Yt,Zt+Yt,Wt+Kt,Wt+qt,Kt,qt,"font-weight","word-spacing",t,n,r],a=[Bt+Kt,Bt+qt,Ut+Kt+Yt,Ut+qt+Yt],s=[$t,Xt+$t,Zt+$t,Wt+Qt,Wt+Gt,Qt,Gt,"line-height",t,n,r],i=[Bt+Qt,Bt+Gt,Ut+Qt+Yt,Ut+Gt+Yt],l="s",u="v-s",f=Ze.x===l||Ze.x===u,d=!1,p=function checkPropertyName(e,t){for(var n=0;n<e[c.l];n++)if(e[n]===t)return!0;return!1};return(Ze.y===l||Ze.y===u)&&((d=p(s,e))||B||(d=p(i,e))),f&&!d&&((d=p(o,e))||B||(d=p(a,e))),d}function updateViewportAttrsFromTarget(e){y(e=e||gr,(function(e,t){if(u.inA(t,gr)>-1){var n=ce.attr(t);b(n)==i.s?pe.attr(t,n):pe.removeAttr(t)}}))}function textareaUpdate(){if(!$){var e,t,n,r,o=!ft,a=jt.w,s=jt.h,i={},l=je||o;return i[Xt+Yt]=en,i[Xt+$t]=en,i[Yt]=tn,ce.css(i),e=Ee[c.oW],t=l?f.max(e,Ee[c.sW]-1):1,i[Yt]=je?tn:an,i[Xt+Yt]=an,i[$t]=tn,ce.css(i),n=Ee[c.oH],r=f.max(n,Ee[c.sH]-1),i[Yt]=t,i[$t]=r,be.css(i),i[Xt+Yt]=a,i[Xt+$t]=s,ce.css(i),{_originalWidth:e,_originalHeight:n,_dynamicWidth:t,_dynamicHeight:r}}}function update(e){clearTimeout(re),e=e||{},Or._hostSizeChanged|=e._hostSizeChanged,Or._contentSizeChanged|=e._contentSizeChanged,Or._force|=e._force;var t,r=u.now(),o=!!Or._hostSizeChanged,a=!!Or._contentSizeChanged,s=!!Or._force,i=e._changedOptions,d=I&&!N&&!s&&!i&&r-ne<_r&&!Fe&&!je;if(d&&(re=setTimeout(update,_r)),!(N||d||$&&!i||I&&!s&&(t=le.is(":hidden"))||"inline"===le.css("display"))){ne=r,Or={},!T||x.x&&x.y?D=extendDeep({},p.nativeScrollbarSize):(D.x=0,D.y=0),Ft={x:3*(D.x+(x.x?0:3)),y:3*(D.y+(x.y?0:3))},i=i||{};var v=function checkCacheAutoForce(){return checkCache.apply(this,[].slice.call(arguments).concat([s]))},b={x:pe[hn](),y:pe[vn]()},g=te.scrollbars,y=te.textarea,O=g.visibility,_=v(O,rt),E=g.autoHide,k=v(E,ot),H=g.clickScrolling,M=v(H,at),P=g.dragScrolling,R=v(P,st),z=te.className,V=v(z,lt),W=te.resize,J=v(W,it)&&!F,ee=te.paddingAbsolute,oe=v(ee,Ge),ae=te.clipAlways,se=v(ae,Ke),ie=te.sizeAutoCapable&&!F,ye=v(ie,et),Se=te.nativeScrollbarsOverlaid.showNativeScrollbars,Oe=v(Se,$e),_e=te.autoUpdate,xe=v(_e,Je),we=te.overflowBehavior,Ce=v(we,Ze,s),Ae=y.dynWidth,Ee=v(vt,Ae),Le=y.dynHeight,qe=v(ht,Le);if(At="n"===E,Et="s"===E,Tt="m"===E,kt="l"===E,Ct=g.autoHideDelay,ut=lt,Ht="n"===W,Mt="b"===W,Pt="h"===W,Rt="v"===W,ct=te.normalizeRTL,Se=Se&&x.x&&x.y,rt=O,ot=E,at=H,st=P,lt=z,it=W,Ge=ee,Ke=ae,et=ie,$e=Se,Je=_e,Ze=extendDeep({},we),vt=Ae,ht=Le,Ie=Ie||{x:!1,y:!1},V&&(removeClass(le,ut+un+vr),addClass(le,z!==n&&null!==z&&z.length>0?z:vr)),xe&&(!0===_e||null===_e&&A?(disconnectMutationObservers(),m.add(S)):(m.remove(S),connectMutationObservers())),ye)if(ie)if(me?me.show():(me=h(generateDiv(Kn)),de.before(me)),U)ue.show();else{ue=h(generateDiv(Xn)),ke=ue[0],me.before(ue);var tt={w:-1,h:-1};setupResizeObserver(ue,(function(){var e={w:ke[c.oW],h:ke[c.oH]};checkCache(e,tt)&&(I&&Fe&&e.h>0||je&&e.w>0||I&&!Fe&&0===e.h||!je&&0===e.w)&&update(),tt=e})),U=!0,null!==L&&ue.css($t,L+"(100% + 1px)")}else U&&ue.hide(),me&&me.hide();s&&(fe.find("*").trigger(rn),U&&ue.find("*").trigger(rn)),t=t===n?le.is(":hidden"):t;var nt,bt=!!j&&"off"!==ce.attr("wrap"),gt=v(bt,ft),yt=le.css("direction"),St=v(yt,Qe),xt=le.css("box-sizing"),wt=v(xt,Ve),Lt=getTopRightBottomLeftHost(Bt);try{nt=U?ke[c.bCR]():null}catch(e){return}B="border-box"===xt;var Dt=(Y="rtl"===yt)?Kt:qt,It=Y?qt:Kt,Nt=!1,Vt=!(!U||"none"===le.css(Jt))&&0===f.round(nt.right-nt.left)&&(!!ee||Te[c.cW]-Q>0);if(ie&&!Vt){var nn=Te[c.oW],sn=me.css(Yt);me.css(Yt,tn);var cn=Te[c.oW];me.css(Yt,sn),(Nt=nn!==cn)||(me.css(Yt,nn+1),cn=Te[c.oW],me.css(Yt,sn),Nt=nn!==cn)}var ln=(Vt||Nt)&&ie&&!t,fn=v(ln,je),dn=!ln&&je,pn=!(!U||!ie||t)&&0===f.round(nt.bottom-nt.top),mn=v(pn,Fe),bn=!pn&&Fe,gn=getTopRightBottomLeftHost(Ut,"-"+Yt,!(ln&&B||!B),!(pn&&B||!B)),yn=getTopRightBottomLeftHost(Wt),Sn={},On={},_n=function getHostSize(){return{w:Te[c.cW],h:Te[c.cH]}},xn=function getViewportSize(){return{w:De[c.oW]+f.max(0,Me[c.cW]-Me[c.sW]),h:De[c.oH]+f.max(0,Me[c.cH]-Me[c.sH])}},wn=Q=Lt.l+Lt.r,Cn=q=Lt.t+Lt.b;if(wn*=ee?1:0,Cn*=ee?1:0,Lt.c=v(Lt,We),G=gn.l+gn.r,K=gn.t+gn.b,gn.c=v(gn,Be),X=yn.l+yn.r,Z=yn.t+yn.b,yn.c=v(yn,Ue),ft=bt,Qe=yt,Ve=xt,je=ln,Fe=pn,We=Lt,Be=gn,Ue=yn,St&&U&&ue.css(Jt,It),Lt.c||St||oe||fn||mn||wt||ye){var An={},En={},Tn=[Lt.t,Lt.r,Lt.b,Lt.l];setTopRightBottomLeft(On,Wt,[-Lt.t,-Lt.r,-Lt.b,-Lt.l]),ee?(setTopRightBottomLeft(An,en,Tn),setTopRightBottomLeft(j?En:Sn,Bt)):(setTopRightBottomLeft(An,en),setTopRightBottomLeft(j?En:Sn,Bt,Tn)),de.css(An),ce.css(En)}jt=xn();var kn=!!j&&textareaUpdate(),Ln=j&&v(kn,pt),Dn=j&&kn?{w:Ae?kn._dynamicWidth:kn._originalWidth,h:Le?kn._dynamicHeight:kn._originalHeight}:{};if(pt=kn,pn&&(mn||oe||wt||Lt.c||gn.c)?Sn[$t]=tn:(mn||oe)&&(Sn[$t]=an),ln&&(fn||oe||wt||Lt.c||gn.c||St)?(Sn[Yt]=tn,On[Zt+Yt]=an):(fn||oe)&&(Sn[Yt]=an,Sn[Jt]=en,On[Zt+Yt]=en),ln?(On[Yt]=tn,Sn[Yt]=l._cssPropertyValue(Yt,"max-content intrinsic")||tn,Sn[Jt]=It):On[Yt]=en,On[$t]=pn?Dn.h||Me[c.cH]:en,ie&&me.css(On),he.css(Sn),Sn={},On={},o||a||Ln||St||wt||oe||fn||ln||mn||pn||Oe||Ce||se||J||_||k||R||M||Ee||qe||gt){var Hn="overflow",Mn=Hn+"-x",Fn=Hn+"-y",Vn="hidden",Wn="visible";if(!T){var Bn={},Qn=Ie.y&&Ne.ys&&!Se?x.y?pe.css(Dt):-D.y:0,qn=Ie.x&&Ne.xs&&!Se?x.x?pe.css(Gt):-D.x:0;setTopRightBottomLeft(Bn,en),pe.css(Bn)}var Zn=getContentMeasureElement(),Yn={w:Dn.w||Zn[c.cW],h:Dn.h||Zn[c.cH]},$n={w:Zn[c.sW],h:Zn[c.sH]};T||(Bn[Gt]=bn?en:qn,Bn[Dt]=dn?en:Qn,pe.css(Bn)),jt=xn();var Jn=_n(),er={w:Jn.w-X-G-(B?0:Q),h:Jn.h-Z-K-(B?0:q)},tr={w:f.max((ln?Yn.w:$n.w)+wn,er.w),h:f.max((pn?Yn.h:$n.h)+Cn,er.h)};if(tr.c=v(tr,Xe),Xe=tr,ie){(tr.c||pn||ln)&&(On[Yt]=tr.w,On[$t]=tr.h,j||(Yn={w:Zn[c.cW],h:Zn[c.cH]}));var nr={},rr=function setContentGlueElementCSSfunction(e){var t=getScrollbarVars(e),n=t._w_h,r=t._width_height,o=e?ln:pn,a=e?G:K,s=e?Q:q,i=e?X:Z,c=jt[n]-a-i-(B?0:s);(!o||!o&&gn.c)&&(On[r]=er[n]-1),!(o&&Yn[n]<c)||e&&j&&bt||(j&&(nr[r]=parseToZeroOrNumber(be.css(r))-1),On[r]-=1),Yn[n]>0&&(On[r]=f.max(1,On[r]))};rr(!0),rr(!1),j&&be.css(nr),me.css(On)}ln&&(Sn[Yt]=an),!ln||B||Ot||(Sn[Jt]="none"),he.css(Sn),Sn={};var or={w:Zn[c.sW],h:Zn[c.sH]};or.c=a=v(or,Re),Re=or,jt=xn(),o=v(Jn=_n(),Pe),Pe=Jn;var ar=j&&(0===jt.w||0===jt.h),sr=Ye,ir={},dr={},pr={},hr={},mr={},br={},gr={},yr=De[c.bCR](),Sr=function setOverflowVariables(e){var t=getScrollbarVars(e),n=getScrollbarVars(!e)._x_y,r=t._x_y,o=t._w_h,a=t._width_height,s=rn+t._Left_Top+"Max",i=yr[a]?f.abs(yr[a]-jt[o]):0,c=sr&&sr[r]>0&&0===He[s];ir[r]="v-s"===we[r],dr[r]="v-h"===we[r],pr[r]="s"===we[r],hr[r]=f.max(0,f.round(100*(or[o]-jt[o]))/100),hr[r]*=ar||c&&i>0&&i<1?0:1,mr[r]=hr[r]>0,br[r]=ir[r]||dr[r]?mr[n]&&!ir[n]&&!dr[n]:mr[r],br[r+"s"]=!!br[r]&&(pr[r]||ir[r]),gr[r]=mr[r]&&br[r+"s"]};if(Sr(!0),Sr(!1),hr.c=v(hr,Ye),Ye=hr,mr.c=v(mr,Ie),Ie=mr,br.c=v(br,Ne),Ne=br,x.x||x.y){var xr,wr="px solid transparent",Cr={},Ar={},Er=s;(mr.x||mr.y)&&(Ar.w=x.y&&mr.y?or.w+w.y:en,Ar.h=x.x&&mr.x?or.h+w.x:en,Er=v(Ar,ze),ze=Ar),(mr.c||br.c||or.c||St||fn||mn||ln||pn||Oe)&&(Sn[Wt+It]=Sn[Ut+It]=en,xr=function setContentElementCSS(e){var t=getScrollbarVars(e),n=getScrollbarVars(!e),r=t._x_y,o=e?Gt:Dt,a=e?pn:ln;x[r]&&mr[r]&&br[r+"s"]?(Sn[Wt+o]=a?Se?en:w[r]:en,Sn[Ut+o]=e&&a||Se?en:w[r]+wr):(Ar[n._w_h]=Sn[Wt+o]=Sn[Ut+o]=en,Er=!0)},T?addRemoveClass(pe,Un,!Se):(xr(!0),xr(!1))),Se&&(Ar.w=Ar.h=en,Er=!0),Er&&!T&&(Cr[Yt]=br.y?Ar.w:en,Cr[$t]=br.x?Ar.h:en,ve||(ve=h(generateDiv(Gn)),pe.prepend(ve)),ve.css(Cr)),he.css(Sn)}var Tr,kr={};if(An={},(o||mr.c||br.c||or.c||Ce||wt||Oe||St||se||mn)&&(kr[It]=en,(Tr=function setViewportCSS(e){var t=getScrollbarVars(e),n=getScrollbarVars(!e),r=t._x_y,o=t._X_Y,a=e?Gt:Dt,s=function reset(){kr[a]=en,zt[n._w_h]=0};mr[r]&&br[r+"s"]?(kr[Hn+o]=rn,Se||T?s():(kr[a]=-(x[r]?w[r]:D[r]),zt[n._w_h]=x[r]?w[n._x_y]:0)):(kr[Hn+o]=en,s())})(!0),Tr(!1),!T&&(jt.h<Ft.x||jt.w<Ft.y)&&(mr.x&&br.x&&!x.x||mr.y&&br.y&&!x.y)?(kr[Bt+Qt]=Ft.x,kr[Wt+Qt]=-Ft.x,kr[Bt+It]=Ft.y,kr[Wt+It]=-Ft.y):kr[Bt+Qt]=kr[Wt+Qt]=kr[Bt+It]=kr[Wt+It]=en,kr[Bt+Dt]=kr[Wt+Dt]=en,mr.x&&br.x||mr.y&&br.y||ar?j&&ar&&(An[Mn]=An[Fn]=Vn):(!ae||dr.x||ir.x||dr.y||ir.y)&&(j&&(An[Mn]=An[Fn]=en),kr[Mn]=kr[Fn]=Wn),de.css(An),pe.css(kr),kr={},(mr.c||wt||fn||mn)&&(!x.x||!x.y))){var Lr=Me[c.s];Lr.webkitTransform="scale(1)",Lr.display="run-in",Lr.display=en,Lr.webkitTransform=en}if(Sn={},St||fn||mn)if(Y&&ln){var Dr=he.css(Jt),Hr=f.round(he.css(Jt,en).css(Kt,en).position().left);he.css(Jt,Dr),Hr!==f.round(he.position().left)&&(Sn[Kt]=Hr)}else Sn[Kt]=en;if(he.css(Sn),j&&a){var Mr=getTextareaInfo();if(Mr){var Pr=dt===n||Mr._rows!==dt._rows,Rr=Mr._cursorRow,zr=Mr._cursorColumn,Ir=Mr._widestRow,Nr=Mr._rows,jr=Mr._columns,Fr=Mr._cursorPosition>=Mr._cursorMax&&_t,Vr={x:bt||zr!==jr||Rr!==Ir?-1:Ye.x,y:(bt?Fr||Pr&&sr&&b.y===sr.y:(Fr||Pr)&&Rr===Nr)?Ye.y:-1};b.x=Vr.x>-1?Y&&ct&&C.i?0:Vr.x:b.x,b.y=Vr.y>-1?Vr.y:b.y}dt=Mr}Y&&C.i&&x.y&&mr.x&&ct&&(b.x+=zt.w||0),ln&&le[hn](0),pn&&le[vn](0),pe[hn](b.x)[vn](b.y);var Wr="v"===O,Br="h"===O,Ur="a"===O,Qr=function refreshScrollbarsVisibility(e,t){t=t===n?e:t,refreshScrollbarAppearance(!0,e,gr.x),refreshScrollbarAppearance(!1,t,gr.y)};addRemoveClass(le,In,br.x||br.y),addRemoveClass(le,Nn,br.x),addRemoveClass(le,jn,br.y),St&&!F&&addRemoveClass(le,Pn,Y),F&&addClass(le,Rn),J&&(addRemoveClass(le,Rn,Ht),addRemoveClass(ge,cr,!Ht),addRemoveClass(ge,lr,Mt),addRemoveClass(ge,ur,Pt),addRemoveClass(ge,fr,Rt)),(_||Ce||br.c||mr.c||Oe)&&(Se?Oe&&(removeClass(le,zn),Se&&Qr(!1)):Ur?Qr(gr.x,gr.y):Wr?Qr(!0):Br&&Qr(!1)),(k||Oe)&&(setupHostMouseTouchEvents(!kt&&!Tt),refreshScrollbarsAutoHide(At,!At)),(o||hr.c||mn||fn||J||wt||oe||Oe||St)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),M&&refreshScrollbarsInteractive(!0,H),R&&refreshScrollbarsInteractive(!1,P),dispatchCallback("onDirectionChanged",{isRTL:Y,dir:yt},St),dispatchCallback("onHostSizeChanged",{width:Pe.w,height:Pe.h},o),dispatchCallback("onContentSizeChanged",{width:Re.w,height:Re.h},a),dispatchCallback("onOverflowChanged",{x:mr.x,y:mr.y,xScrollable:br.xs,yScrollable:br.ys,clipped:br.x||br.y},mr.c||br.c),dispatchCallback("onOverflowAmountChanged",{x:hr.x,y:hr.y},hr.c)}F&&mt&&(Ie.c||mt.c)&&(mt.f||bodyMinSizeChanged(),x.y&&Ie.x&&he.css(Xt+Yt,mt.w+w.y),x.x&&Ie.y&&he.css(Xt+$t,mt.h+w.x),mt.c=!1),I&&i.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:s})}}function updateElementsOnLoad(){j||eachUpdateOnLoad((function(e,t){he.find(t).each((function(e,t){u.inA(t,wr)<0&&(wr.push(t),h(t).off(xr,updateOnLoadCallback).on(xr,updateOnLoadCallback))}))}))}function setOptions(e){var t=k._validate(e,k._template,!0,ee);return ee=extendDeep({},ee,t._default),te=extendDeep({},te,t._prepared),t._prepared}function setupStructureDOM(e){var t="parent",r="os-resize-observer-host",o=Fn+un+Jn,a=j?un+Jn:en,s=te.textarea.inheritedAttrs,l={},f=function applyAdoptedAttrs(){var t=e?ce:le;y(l,(function(e,n){b(n)==i.s&&(e==c.c?t.addClass(n):t.attr(e,n))}))},d=[Tn,kn,Ln,Rn,Pn,Dn,Hn,Mn,zn,In,Nn,jn,vr,Fn,Jn,lt].join(un),p={};le=le||(j?W?ce[t]()[t]()[t]()[t]():h(generateDiv(Ln)):ce),he=he||selectOrGenerateDivByClass(qn+a),pe=pe||selectOrGenerateDivByClass(Bn+a),de=de||selectOrGenerateDivByClass(Wn+a),fe=fe||selectOrGenerateDivByClass(r),be=be||(j?selectOrGenerateDivByClass(Vn):n),W&&addClass(le,kn),e&&removeClass(le,d),s=b(s)==i.s?s.split(un):s,u.isA(s)&&j&&y(s,(function(t,n){b(n)==i.s&&(l[n]=e?le.attr(n):ce.attr(n))})),e?(W&&I?(fe.children().remove(),y([de,pe,he,be],(function(e,t){t&&removeClass(t.removeAttr(c.s),mr)})),addClass(le,j?Ln:Tn)):(remove(fe),he.contents().unwrap().unwrap().unwrap(),j&&(ce.unwrap(),remove(le),remove(be),f())),j&&ce.removeAttr(c.s),F&&removeClass(se,En)):(j&&(te.sizeAutoCapable||(p[Yt]=ce.css(Yt),p[$t]=ce.css($t)),W||ce.addClass(Jn).wrap(le),le=ce[t]().css(p)),W||(addClass(ce,j?o:Tn),le.wrapInner(he).wrapInner(pe).wrapInner(de).prepend(fe),he=findFirst(le,ln+qn),pe=findFirst(le,ln+Bn),de=findFirst(le,ln+Wn),j&&(he.prepend(be),f())),T&&addClass(pe,Un),x.x&&x.y&&addClass(pe,Qn),F&&addClass(se,En),Le=fe[0],Te=le[0],De=de[0],He=pe[0],Me=he[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var e,t,r=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],o=[],a=175,s="focus";function updateTextarea(t){textareaUpdate(),S.update(tn),t&&A&&clearInterval(e)}function textareaOnScroll(e){return ce[hn](C.i&&ct?9999999:0),ce[vn](0),u.prvD(e),u.stpP(e),!1}function textareaOnDrop(e){setTimeout((function(){N||updateTextarea()}),50)}function textareaOnFocus(){_t=!0,addClass(le,s)}function textareaOnFocusout(){_t=!1,o=[],removeClass(le,s),updateTextarea(!0)}function textareaOnKeyDown(t){var n=t.keyCode;g(n,r)<0&&(o[c.l]||(updateTextarea(),e=setInterval(updateTextarea,1e3/60)),g(n,o)<0&&o.push(n))}function textareaOnKeyUp(e){var t=e.keyCode,n=g(t,o);g(t,r)<0&&(n>-1&&o.splice(n,1),o[c.l]||updateTextarea(!0))}function contentOnTransitionEnd(e){!0!==Je&&isSizeAffectingCSSProperty((e=e.originalEvent||e).propertyName)&&S.update(tn)}function viewportOnScroll(e){$||(t!==n?clearTimeout(t):((Et||Tt)&&refreshScrollbarsAutoHide(!0),nativeOverlayScrollbarsAreActive()||addClass(le,zn),dispatchCallback("onScrollStart",e)),Dt||(refreshScrollbarHandleOffset(!0),refreshScrollbarHandleOffset(!1)),dispatchCallback("onScroll",e),t=setTimeout((function(){N||(clearTimeout(t),t=n,(Et||Tt)&&refreshScrollbarsAutoHide(!1),nativeOverlayScrollbarsAreActive()||removeClass(le,zn),dispatchCallback("onScrollStop",e))}),a))}j?(E>9||!A?addDestroyEventListener(ce,"input",updateTextarea):addDestroyEventListener(ce,[On,_n],[textareaOnKeyDown,textareaOnKeyUp]),addDestroyEventListener(ce,[rn,"drop",s,s+"out"],[textareaOnScroll,textareaOnDrop,textareaOnFocus,textareaOnFocusout])):addDestroyEventListener(he,wn,contentOnTransitionEnd),addDestroyEventListener(pe,rn,viewportOnScroll,!0)}function setupScrollbarsDOM(e){var t,n,r=function selectOrGenerateScrollbarDOM(t){var n=selectOrGenerateDivByClass(er+un+(t?dr:pr),!0),r=selectOrGenerateDivByClass(tr,n),o=selectOrGenerateDivByClass(rr,n);return W||e||(n.append(r),r.append(o)),{_scrollbar:n,_track:r,_handle:o}};function resetScrollbarDOM(e){var t=getScrollbarVars(e),n=t._scrollbar,o=t._track,a=t._handle;W&&I?y([n,o,a],(function(e,t){removeClass(t.removeAttr(c.s),mr)})):remove(n||r(e)._scrollbar)}e?(resetScrollbarDOM(!0),resetScrollbarDOM()):(t=r(!0),n=r(),ye=t._scrollbar,Se=t._track,Oe=t._handle,_e=n._scrollbar,xe=n._track,we=n._handle,W||(de.after(_e),de.after(ye)))}function setupScrollbarEvents(e){var t,r,o,a,s=getScrollbarVars(e),i=s._info,l=Ce.top!==Ce,d=s._x_y,p=s._X_Y,h=rn+s._Left_Top,v="active",m="snapHandle",b="click",y=1,O=[16,17];function getPointerPosition(e){return E&&l?e["screen"+p]:u.page(e)[d]}function getPreparedScrollbarsOption(e){return te.scrollbars[e]}function increaseTrackScrollAmount(){y=.5}function decreaseTrackScrollAmount(){y=1}function stopClickEventPropagation(e){u.stpP(e)}function documentKeyDown(e){g(e.keyCode,O)>-1&&increaseTrackScrollAmount()}function documentKeyUp(e){g(e.keyCode,O)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(e){var t=(e.originalEvent||e).touches!==n;return!($||N||nativeOverlayScrollbarsAreActive()||!st||t&&!getPreparedScrollbarsOption("touchSupport"))&&(1===u.mBtn(e)||t)}function documentDragMove(t){if(onMouseTouchDownContinue(t)){var n=i._trackLength,s=i._handleLength,c=i._maxScroll*((getPointerPosition(t)-o)*a/(n-s));c=isFinite(c)?c:0,Y&&e&&!C.i&&(c*=-1),pe[h](f.round(r+c)),Dt&&refreshScrollbarHandleOffset(e,r+c),P||u.prvD(t)}else documentMouseTouchUp(t)}function documentMouseTouchUp(i){if(i=i||i.originalEvent,setupResponsiveEventListener(ae,[gn,bn,On,_n,xn],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),u.rAF()((function(){setupResponsiveEventListener(ae,b,stopClickEventPropagation,!0,{_capture:!0})})),Dt&&refreshScrollbarHandleOffset(e,!0),Dt=!1,removeClass(ie,hr),removeClass(s._handle,v),removeClass(s._track,v),removeClass(s._scrollbar,v),r=n,o=n,a=1,decreaseTrackScrollAmount(),t!==n&&(S.scrollStop(),clearTimeout(t),t=n),i){var l=Te[c.bCR]();i.clientX>=l.left&&i.clientX<=l.right&&i.clientY>=l.top&&i.clientY<=l.bottom||hostOnMouseLeave(),(Et||Tt)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDown(e){onMouseTouchDownContinue(e)&&onHandleMouseTouchDownAction(e)}function onHandleMouseTouchDownAction(t){r=pe[h](),r=isNaN(r)?0:r,(Y&&e&&!C.n||!Y)&&(r=r<0?0:r),a=getHostElementInvertedScale()[d],o=getPointerPosition(t),Dt=!getPreparedScrollbarsOption(m),addClass(ie,hr),addClass(s._handle,v),addClass(s._scrollbar,v),setupResponsiveEventListener(ae,[gn,bn,xn],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),u.rAF()((function(){setupResponsiveEventListener(ae,b,stopClickEventPropagation,!1,{_capture:!0})})),!E&&V||u.prvD(t),u.stpP(t)}function onTrackMouseTouchDown(r){if(onMouseTouchDownContinue(r)){var c,l=s._info._handleLength/Math.round(f.min(1,jt[s._w_h]/Re[s._w_h])*s._info._trackLength),p=f.round(jt[s._w_h]*l),b=270*l,g=400*l,O=s._track.offset()[s._left_top],_=r.ctrlKey,x=r.shiftKey,w=x&&_,A=!0,E="linear",T=function scrollActionFinsished(t){Dt&&refreshScrollbarHandleOffset(e,t)},k=function scrollActionInstantFinished(){T(),onHandleMouseTouchDownAction(r)},L=function scrollAction(){if(!N){var r=(o-O)*a,s=i._handleOffset,l=i._trackLength,u=i._handleLength,v=i._maxScroll,m=i._currentScroll,_=b*y,L=A?f.max(g,_):_,D=v*((r-u/2)/(l-u)),H=Y&&e&&(!C.i&&!C.n||ct),M=H?s<r:s>r,P={},R={easing:E,step:function step(t){Dt&&(pe[h](t),refreshScrollbarHandleOffset(e,t))}};D=isFinite(D)?D:0,D=Y&&e&&!C.i?v-D:D,x?(pe[h](D),w?(D=pe[h](),pe[h](m),D=H&&C.i?v-D:D,D=H&&C.n?-D:D,P[d]=D,S.scroll(P,extendDeep(R,{duration:130,complete:k}))):k()):(c=A?M:c,(H?c?s+u>=r:s<=r:c?s<=r:s+u>=r)?(clearTimeout(t),S.scrollStop(),t=n,T(!0)):(t=setTimeout(scrollAction,L),P[d]=(c?"-=":"+=")+p,S.scroll(P,extendDeep(R,{duration:_}))),A=!1)}};_&&increaseTrackScrollAmount(),a=getHostElementInvertedScale()[d],o=u.page(r)[d],Dt=!getPreparedScrollbarsOption(m),addClass(ie,hr),addClass(s._track,v),addClass(s._scrollbar,v),setupResponsiveEventListener(ae,[bn,On,_n,xn],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),L(),u.prvD(r),u.stpP(r)}}function onTrackMouseTouchEnter(e){Lt=!0,(Et||Tt)&&refreshScrollbarsAutoHide(!0)}function onTrackMouseTouchLeave(e){Lt=!1,(Et||Tt)&&refreshScrollbarsAutoHide(!1)}function onScrollbarMouseTouchDown(e){u.stpP(e)}addDestroyEventListener(s._handle,mn,onHandleMouseTouchDown),addDestroyEventListener(s._track,[mn,yn,Sn],[onTrackMouseTouchDown,onTrackMouseTouchEnter,onTrackMouseTouchLeave]),addDestroyEventListener(s._scrollbar,mn,onScrollbarMouseTouchDown),H&&addDestroyEventListener(s._scrollbar,wn,(function(t){t.target===s._scrollbar[0]&&(refreshScrollbarHandleLength(e),refreshScrollbarHandleOffset(e))}))}function refreshScrollbarAppearance(e,t,n){var r=e?ye:_e;addRemoveClass(le,e?Dn:Hn,!t),addRemoveClass(r,ar,!n)}function refreshScrollbarsAutoHide(e,t){if(clearTimeout(xt),e)removeClass(ye,sr),removeClass(_e,sr);else{var n,r="active",o=function hide(){Lt||N||(!(n=Oe.hasClass(r)||we.hasClass(r))&&(Et||Tt||kt)&&addClass(ye,sr),!n&&(Et||Tt||kt)&&addClass(_e,sr))};Ct>0&&!0!==t?xt=setTimeout(o,Ct):o()}}function refreshScrollbarHandleLength(e){var t={},n=getScrollbarVars(e),r=n._info,o=1e6,a=f.min(1,jt[n._w_h]/Re[n._w_h]);t[n._width_height]=f.floor(100*a*o)/o+"%",nativeOverlayScrollbarsAreActive()||n._handle.css(t),r._handleLength=n._handle[0]["offset"+n._Width_Height],r._handleLengthRatio=a}function refreshScrollbarHandleOffset(e,t){var r,o,a=b(t)==i.b,s=250,c=Y&&e,u=getScrollbarVars(e),d=u._info,p="translate(",h=l._cssProperty("transform"),v=l._cssProperty("transition"),m=e?pe[hn]():pe[vn](),g=t===n||a?m:t,y=d._handleLength,S=u._track[0]["offset"+u._Width_Height],O=S-y,_={},x=(He[rn+u._Width_Height]-He["client"+u._Width_Height])*(C.n&&c?-1:1),w=function getScrollRatio(e){return isNaN(e/x)?0:f.max(0,f.min(1,e/x))},A=function getHandleOffset(e){var t=O*e;return t=isNaN(t)?0:t,t=c&&!C.i?S-y-t:t,t=f.max(0,t)},E=w(m),T=A(w(g)),k=A(E);d._maxScroll=x,d._currentScroll=m,d._currentScrollRatio=E,M?(r=c?-(S-y-T):T,o=e?p+r+"px, 0)":p+"0, "+r+"px)",_[h]=o,H&&(_[v]=a&&f.abs(T-d._handleOffset)>1?getCSSTransitionString(u._handle)+", "+(h+un+s)+"ms":en)):_[u._left_top]=T,nativeOverlayScrollbarsAreActive()||(u._handle.css(_),M&&H&&a&&u._handle.one(wn,(function(){N||u._handle.css(v,en)}))),d._handleOffset=T,d._snappedHandleOffset=k,d._trackLength=S}function refreshScrollbarsInteractive(e,t){var n=t?"removeClass":"addClass",r=e?xe:we,o=e?nr:or;(e?Se:Oe)[n](o),r[n](o)}function getScrollbarVars(e){return{_width_height:e?Yt:$t,_Width_Height:e?"Width":"Height",_left_top:e?Kt:Qt,_Left_Top:e?"Left":"Top",_x_y:e?sn:cn,_X_Y:e?"X":"Y",_w_h:e?"w":"h",_l_t:e?"l":"t",_track:e?Se:xe,_handle:e?Oe:we,_scrollbar:e?ye:_e,_info:e?It:Nt}}function setupScrollbarCornerDOM(e){ge=ge||selectOrGenerateDivByClass(ir,!0),e?W&&I?removeClass(ge.removeAttr(c.s),mr):remove(ge):W||le.append(ge)}function setupScrollbarCornerEvents(){var e,t=Ce.top!==Ce,r={},o={},a={};function documentDragMove(e){if(onMouseTouchDownContinue(e)){var t=getCoordinates(e),n={};(Pt||Mt)&&(n[Yt]=o.w+(t.x-r.x)*a.x),(Rt||Mt)&&(n[$t]=o.h+(t.y-r.y)*a.y),le.css(n),u.stpP(e)}else documentMouseTouchUp(e)}function documentMouseTouchUp(t){var r=t!==n;setupResponsiveEventListener(ae,[xn,gn,bn],[documentOnSelectStart,documentDragMove,documentMouseTouchUp],!0),removeClass(ie,hr),ge.releaseCapture&&ge.releaseCapture(),r&&(e&&connectMutationObservers(),S.update(tn)),e=!1}function onMouseTouchDownContinue(e){var t=(e.originalEvent||e).touches!==n;return!$&&!N&&(1===u.mBtn(e)||t)}function getCoordinates(e){return E&&t?{x:e.screenX,y:e.screenY}:u.page(e)}addDestroyEventListener(ge,mn,(function(t){onMouseTouchDownContinue(t)&&!Ht&&(Ot&&(e=!0,disconnectMutationObservers()),r=getCoordinates(t),o.w=Te[c.oW]-(B?0:Q),o.h=Te[c.oH]-(B?0:q),a=getHostElementInvertedScale(),setupResponsiveEventListener(ae,[xn,gn,bn],[documentOnSelectStart,documentDragMove,documentMouseTouchUp]),addClass(ie,hr),ge.setCapture&&ge.setCapture(),u.prvD(t),u.stpP(t))}))}function dispatchCallback(e,t,n){if(!1!==n)if(I){var r,o=te.callbacks[e],a=e;"on"===a.substr(0,2)&&(a=a.substr(2,1).toLowerCase()+a.substr(3)),b(o)==i.f&&o.call(S,t),y(yr,(function(){b((r=this).on)==i.f&&r.on(a,t)}))}else N||br.push({n:e,a:t})}function setTopRightBottomLeft(e,t,n){n=n||[en,en,en,en],e[(t=t||en)+Qt]=n[0],e[t+qt]=n[1],e[t+Gt]=n[2],e[t+Kt]=n[3]}function getTopRightBottomLeftHost(e,t,n,r){return t=t||en,e=e||en,{t:r?0:parseToZeroOrNumber(le.css(e+Qt+t)),r:n?0:parseToZeroOrNumber(le.css(e+qt+t)),b:r?0:parseToZeroOrNumber(le.css(e+Gt+t)),l:n?0:parseToZeroOrNumber(le.css(e+Kt+t))}}function getCSSTransitionString(e){var t=l._cssProperty("transition"),n=e.css(t);if(n)return n;for(var r,o,a,s="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",i=new RegExp(s),u=new RegExp("^("+s+")+$"),f="property duration timing-function delay".split(" "),d=[],p=0,h=function splitCssStyleByComma(e){if(r=[],!e.match(u))return e;for(;e.match(i);)r.push(RegExp.$1),e=e.replace(i,en);return r};p<f[c.l];p++)for(o=h(e.css(t+"-"+f[p])),a=0;a<o[c.l];a++)d[a]=(d[a]?d[a]+un:en)+o[a];return d.join(", ")}function createHostClassNameRegExp(e,t){var n,r,o,a=function appendClasses(e,t){if(o="",t&&_typeof(e)==i.s)for(r=e.split(un),n=0;n<r[c.l];n++)o+="|"+r[n]+"$";return o};return new RegExp("(^"+Tn+"([-_].+|)$)"+a(lt,e)+a(ut,t),"g")}function getHostElementInvertedScale(){var e=De[c.bCR]();return{x:M&&1/(f.round(e.width)/De[c.oW])||1,y:M&&1/(f.round(e.height)/De[c.oH])||1}}function isHTMLElement(t){var n="ownerDocument",r="HTMLElement",o=t&&t[n]&&t[n].parentWindow||e;return _typeof(o[r])==i.o?t instanceof o[r]:t&&_typeof(t)==i.o&&null!==t&&1===t.nodeType&&_typeof(t.nodeName)==i.s}function getArrayDifferences(e,t){var n,r,o=[],a=[];for(n=0;n<e.length;n++)o[e[n]]=!0;for(n=0;n<t.length;n++)o[t[n]]?delete o[t[n]]:o[t[n]]=!0;for(r in o)a.push(r);return a}function parseToZeroOrNumber(e,t){var n=t?parseFloat(e):parseInt(e,10);return isNaN(n)?0:n}function getTextareaInfo(){var e=Ee.selectionStart;if(e!==n){var t,r,o=ce.val(),a=o[c.l],s=o.split("\n"),i=s[c.l],l=o.substr(0,e).split("\n"),u=0,f=0,d=l[c.l],p=l[l[c.l]-1][c.l];for(r=0;r<s[c.l];r++)(t=s[r][c.l])>f&&(u=r+1,f=t);return{_cursorRow:d,_cursorColumn:p,_rows:i,_columns:f,_widestRow:u,_cursorPosition:e,_cursorMax:a}}}function nativeOverlayScrollbarsAreActive(){return $e&&x.x&&x.y}function getContentMeasureElement(){return j?be[0]:Me}function generateDiv(e,t){return"<div "+(e?b(e)==i.s?'class="'+e+'"':function(){var t,n=en;if(h.isPlainObject(e))for(t in e)n+=("c"===t?"class":t)+'="'+e[t]+'" ';return n}():en)+">"+(t||en)+"</div>"}function selectOrGenerateDivByClass(e,t){var n=b(t)==i.b,r=n?le:t||le;return W&&!r[c.l]?null:W?r[n?"children":"find"](ln+e.replace(/\s/g,ln)).eq(0):h(generateDiv(e))}function getObjectPropVal(e,t){for(var n,r=t.split(ln),o=0;o<r.length;o++){if(!e[c.hOP](r[o]))return;n=e[r[o]],o<r.length&&b(n)==i.o&&(e=n)}return n}function setObjectPropVal(e,t,n){for(var r=t.split(ln),o=r.length,a=0,s={},i=s;a<o;a++)s=s[r[a]]=a+1<o?{}:n;h.extend(e,i,!0)}function eachUpdateOnLoad(e){var t=te.updateOnLoad;t=b(t)==i.s?t.split(un):t,u.isA(t)&&!N&&y(t,e)}function checkCache(e,t,n){if(n)return n;if(b(e)!=i.o||b(t)!=i.o)return e!==t;for(var r in e)if("c"!==r){if(!e[c.hOP](r)||!t[c.hOP](r))return!0;if(checkCache(e[r],t[r]))return!0}return!1}function extendDeep(){return h.extend.apply(this,[!0].concat([].slice.call(arguments)))}function addClass(e,t){return O.addClass.call(e,t)}function removeClass(e,t){return O.removeClass.call(e,t)}function addRemoveClass(e,t,n){return n?addClass(e,t):removeClass(e,t)}function remove(e){return O.remove.call(e)}function findFirst(e,t){return O.find.call(e,t).eq(0)}function construct(e,n,r){var o,a;return J=p.defaultOptions,T=p.nativeScrollbarStyling,D=extendDeep({},p.nativeScrollbarSize),x=extendDeep({},p.nativeScrollbarIsOverlaid),w=extendDeep({},p.overlayScrollbarDummySize),C=extendDeep({},p.rtlScrollBehavior),setOptions(extendDeep({},J,n)),L=p.cssCalc,E=p.msie,A=p.autoUpdateRecommended,H=p.supportTransition,M=p.supportTransform,P=p.supportPassiveEvents,R=p.supportResizeObserver,z=p.supportMutationObserver,ae=h(e.ownerDocument),Ae=ae[0],oe=h(Ae.defaultView||Ae.parentWindow),Ce=oe[0],se=findFirst(ae,"html"),ie=findFirst(se,"body"),ce=h(e),Ee=ce[0],j=ce.is("textarea"),F=ce.is("body"),V=Ae!==t,W=j?ce.hasClass(Fn)&&ce.parent().hasClass(qn):ce.hasClass(Tn)&&ce.children(ln+Wn)[c.l],x.x&&x.y&&!te.nativeScrollbarsOverlaid.initialize?(dispatchCallback("onInitializationWithdrawn"),W&&(setupStructureDOM(!0),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0)),N=!0,$=!0,S):(F&&((o={}).l=f.max(ce[hn](),se[hn](),oe[hn]()),o.t=f.max(ce[vn](),se[vn](),oe[vn]()),a=function bodyMouseTouchDownListener(){pe.removeAttr(c.ti),setupResponsiveEventListener(pe,mn,a,!0,!0)}),setupStructureDOM(),setupScrollbarsDOM(),setupScrollbarCornerDOM(),setupStructureEvents(),setupScrollbarEvents(!0),setupScrollbarEvents(!1),setupScrollbarCornerEvents(),createMutationObservers(),setupResizeObserver(fe,hostOnResized),F&&(pe[hn](o.l)[vn](o.t),t.activeElement==e&&He.focus&&(pe.attr(c.ti,"-1"),He.focus(),setupResponsiveEventListener(pe,mn,a,!1,!0))),S.update(tn),I=!0,dispatchCallback("onInitialized"),y(br,(function(e,t){dispatchCallback(t.n,t.a)})),br=[],b(r)==i.s&&(r=[r]),u.isA(r)?y(r,(function(e,t){S.addExt(t)})):h.isPlainObject(r)&&y(r,(function(e,t){S.addExt(e,t)})),setTimeout((function(){H&&!N&&addClass(le,Mn)}),333),S)}}return r=e[s]=function(e,t,s){if(0===arguments[c.l])return this;var l,f,d=[],p=h.isPlainObject(t);return e?(e=e[c.l]!=n?e:[e[0]||e],initOverlayScrollbarsStatics(),e[c.l]>0&&(p?h.each(e,(function(e,r){(l=r)!==n&&d.push(OverlayScrollbarsInstance(l,t,s,o,a))})):h.each(e,(function(e,o){l=v(o),("!"===t&&r.valid(l)||u.type(t)==i.f&&t(o,l)||t===n)&&d.push(l)})),f=1===d[c.l]?d[0]:d),f):p||!t?f:d},r.globals=function(){initOverlayScrollbarsStatics();var e=h.extend(!0,{},o);return delete e.msie,e},r.defaultOptions=function(e){initOverlayScrollbarsStatics();var t=o.defaultOptions;if(e===n)return h.extend(!0,{},t);o.defaultOptions=h.extend(!0,{},t,k._validate(e,k._template,!0,t)._default)},r.valid=function(e){return e instanceof r&&!e.getState().destroyed},r.extension=function(e,t,n){var r=u.type(e)==i.s,o=arguments[c.l],a=0;if(o<1||!r)return h.extend(!0,{length:T[c.l]},T);if(r)if(u.type(t)==i.f)T.push({name:e,extensionFactory:t,defaultOptions:n});else for(;a<T[c.l];a++)if(T[a].name===e){if(!(o>1))return h.extend(!0,{},T[a]);T.splice(a,1)}},r}();return d&&d.fn&&(d.fn.overlayScrollbars=function(e,t){var n=this;return d.isPlainObject(e)?(d.each(n,(function(){m(this,e,t)})),n):m(n,e)}),m}(s,s.document,void 0);var c=i.exports,l=function OverlayScrollbarsComponent(e){var t=e.options,n=void 0===t?{}:t,a=e.extensions,s=e.className,i=e.children,l=(0,r.d)(e,["options","extensions","className","children"]),u=(0,o.useRef)(),f=(0,o.useRef)();return(0,o.useEffect)((function(){return f.current=c(u.current,n,a),mergeHostClassNames(f.current,s),function(){c.valid(f.current)&&(f.current.destroy(),f.current=null)}}),[]),(0,o.useEffect)((function(){c.valid(f.current)&&f.current.options(n)}),[n]),(0,o.useEffect)((function(){c.valid(f.current)&&mergeHostClassNames(f.current,s)}),[s]),o.createElement("div",Object.assign({className:"os-host"},l,{ref:u}),o.createElement("div",{className:"os-resize-observer-host"}),o.createElement("div",{className:"os-padding"},o.createElement("div",{className:"os-viewport"},o.createElement("div",{className:"os-content"},i))),o.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},o.createElement("div",{className:"os-scrollbar-track"},o.createElement("div",{className:"os-scrollbar-handle"}))),o.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},o.createElement("div",{className:"os-scrollbar-track"},o.createElement("div",{className:"os-scrollbar-handle"}))),o.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(e,t){if(c.valid(e)){var n=e.getElements().host,r=new RegExp("(^os-host([-_].+|)$)|".concat(e.options().className.replace(/\s/g,"$|"),"$"),"g"),o=n.className.split(" ").filter((function(e){return e.match(r)})).join(" ");n.className="".concat(o," ").concat(t||"")}}}}]);