PageSourceSearch

https://beebom.com/wp-content/themes/beebom-2023/assets/build/js/single.js?ver=3b9727bebd40fb5d9ff5

js beebom.com collected 2026-10-01 09:12:23 UTC 44,792 bytes, 1 lines download raw bytes

vendor: 10,692 bytes, line 1
1(()=>{"use strict";var e=window,t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(e){return setTimeout(e,16)},n=window,o=n.cancelAnimationFrame||n.mozCancelAnimationFrame||function(e){clearTimeout(e)};function i(){for(var e,t,n,o=arguments[0]||{},i=1,r=arguments.length;i<r;i++)if(null!==(e=arguments[i]))for(t in e)o!==(n=e[t])&&void 0!==n&&(o[t]=n);return o}function r(e){return["true","false"].indexOf(e)>=0?JSON.parse(e):e}function a(e,t,n,o){if(o)try{e.setItem(t,n)}catch(e){}return n}function l(){var e=document,t=e.body;return t||((t=e.createElement("body")).fake=!0),t}var s=document.documentElement;function c(e){var t="";return e.fake&&(t=s.style.overflow,e.style.background="",e.style.overflow=s.style.overflow="hidden",s.appendChild(e)),t}function u(e,t){e.fake&&(e.remove(),s.style.overflow=t,s.offsetHeight)}function d(e,t,n,o){"insertRule"in e?e.insertRule(t+"{"+n+"}",o):e.addRule(t,n,o)}function f(e){return("insertRule"in e?e.cssRules:e.rules).length}function m(e,t,n){for(var o=0,i=e.length;o<i;o++)t.call(n,e[o],o)}var p="classList"in document.createElement("_"),v=p?function(e,t){return e.classList.contains(t)}:function(e,t){return e.className.indexOf(t)>=0},g=p?function(e,t){v(e,t)||e.classList.add(t)}:function(e,t){v(e,t)||(e.className+=" "+t)},h=p?function(e,t){v(e,t)&&e.classList.remove(t)}:function(e,t){v(e,t)&&(e.className=e.className.replace(t,""))};function y(e,t){return e.hasAttribute(t)}function b(e,t){return e.getAttribute(t)}function w(e){return void 0!==e.item}function x(e,t){if(e=w(e)||e instanceof Array?e:[e],"[object Object]"===Object.prototype.toString.call(t))for(var n=e.length;n--;)for(var o in t)e[n].setAttribute(o,t[o])}function S(e,t){e=w(e)||e instanceof Array?e:[e];for(var n=(t=t instanceof Array?t:[t]).length,o=e.length;o--;)for(var i=n;i--;)e[o].removeAttribute(t[i])}function E(e){for(var t=[],n=0,o=e.length;n<o;n++)t.push(e[n]);return t}function A(e,t){"none"!==e.style.display&&(e.style.display="none")}function C(e,t){"none"===e.style.display&&(e.style.display="")}function L(e){return"none"!==window.getComputedStyle(e).display}function T(e){if("string"==typeof e){var t=[e],n=e.charAt(0).toUpperCase()+e.substr(1);["Webkit","Moz","ms","O"].forEach((function(o){"ms"===o&&"transform"!==e||t.push(o+n)})),e=t}for(var o=document.createElement("fakeelement"),i=(e.length,0);i<e.length;i++){var r=e[i];if(void 0!==o.style[r])return r}return!1}function M(e,t){var n=!1;return/^Webkit/.test(e)?n="webkit"+t+"End":/^O/.test(e)?n="o"+t+"End":e&&(n=t.toLowerCase()+"end"),n}var k=!1;try{var q=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("test",null,q)}catch(e){}var B=!!k&&{passive:!0};function N(e,t,n){for(var o in t){var i=["touchstart","touchmove"].indexOf(o)>=0&&!n&&B;e.addEventListener(o,t[o],i)}}function _(e,t){for(var n in t){var o=["touchstart","touchmove"].indexOf(n)>=0&&B;e.removeEventListener(n,t[n],o)}}function H(){return{topics:{},on:function(e,t){this.topics[e]=this.topics[e]||[],this.topics[e].push(t)},off:function(e,t){if(this.topics[e])for(var n=0;n<this.topics[e].length;n++)if(this.topics[e][n]===t){this.topics[e].splice(n,1);break}},emit:function(e,t){t.type=e,this.topics[e]&&this.topics[e].forEach((function(n){n(t,e)}))}}}Object.keys||(Object.keys=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var I=function(e){e=i({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,nonce:!1},e||{});var n=document,s=window,p={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},w={},k=e.useLocalStorage;if(k){var q=navigator.userAgent,B=new Date;try{(w=s.localStorage)?(w.setItem(B,B),k=w.getItem(B)==B,w.removeItem(B)):k=!1,k||(w={})}catch(e){k=!1}k&&(w.tnsApp&&w.tnsApp!==q&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach((function(e){w.removeItem(e)})),localStorage.tnsApp=q)}var O=w.tC?r(w.tC):a(w,"tC",function(){var e=document,t=l(),n=c(t),o=e.createElement("div"),i=!1;t.appendChild(o);try{for(var r,a="(10px * 10)",s=["calc"+a,"-moz-calc"+a,"-webkit-calc"+a],d=0;d<3;d++)if(r=s[d],o.style.width=r,100===o.offsetWidth){i=r.replace(a,"");break}}catch(e){}return t.fake?u(t,n):o.remove(),i}(),k),R=w.tPL?r(w.tPL):a(w,"tPL",function(){var e,t=document,n=l(),o=c(n),i=t.createElement("div"),r=t.createElement("div"),a="";i.className="tns-t-subp2",r.className="tns-t-ct";for(var s=0;s<70;s++)a+="<div></div>";return r.innerHTML=a,i.appendChild(r),n.appendChild(i),e=Math.abs(i.getBoundingClientRect().left-r.children[67].getBoundingClientRect().left)<2,n.fake?u(n,o):i.remove(),e}(),k),D=w.tMQ?r(w.tMQ):a(w,"tMQ",function(){if(window.matchMedia||window.msMatchMedia)return!0;var e,t=document,n=l(),o=c(n),i=t.createElement("div"),r=t.createElement("style"),a="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return r.type="text/css",i.className="tns-mq-test",n.appendChild(r),n.appendChild(i),r.styleSheet?r.styleSheet.cssText=a:r.appendChild(t.createTextNode(a)),e=window.getComputedStyle?window.getComputedStyle(i).position:i.currentStyle.position,n.fake?u(n,o):i.remove(),"absolute"===e}(),k),W=w.tTf?r(w.tTf):a(w,"tTf",T("transform"),k),P=w.t3D?r(w.t3D):a(w,"t3D",function(e){if(!e)return!1;if(!window.getComputedStyle)return!1;var t,n=document,o=l(),i=c(o),r=n.createElement("p"),a=e.length>9?"-"+e.slice(0,-9).toLowerCase()+"-":"";return a+="transform",o.insertBefore(r,null),r.style[e]="translate3d(1px,1px,1px)",t=window.getComputedStyle(r).getPropertyValue(a),o.fake?u(o,i):r.remove(),void 0!==t&&t.length>0&&"none"!==t}(W),k),z=w.tTDu?r(w.tTDu):a(w,"tTDu",T("transitionDuration"),k),$=w.tTDe?r(w.tTDe):a(w,"tTDe",T("transitionDelay"),k),j=w.tADu?r(w.tADu):a(w,"tADu",T("animationDuration"),k),F=w.tADe?r(w.tADe):a(w,"tADe",T("animationDelay"),k),Y=w.tTE?r(w.tTE):a(w,"tTE",M(z,"Transition"),k),V=w.tAE?r(w.tAE):a(w,"tAE",M(j,"Animation"),k),K=s.console&&"function"==typeof s.console.warn,X=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],G={};if(X.forEach((function(t){if("string"==typeof e[t]){var o=e[t],i=n.querySelector(o);if(G[t]=o,!i||!i.nodeName)return void(K&&console.warn("Can't find",e[t]));e[t]=i}})),!(e.container.children.length<1)){var Q=e.responsive,U=e.nested,J="carousel"===e.mode;if(Q){0 in Q&&(e=i(e,Q[0]),delete Q[0]);var Z={};for(var ee in Q){var te=Q[ee];te="number"==typeof te?{items:te}:te,Z[ee]=te}Q=Z,Z=null}if(J||function e(t){for(var n in t)J||("slideBy"===n&&(t[n]="page"),"edgePadding"===n&&(t[n]=!1),"autoHeight"===n&&(t[n]=!1)),"responsive"===n&&e(t[n])}(e),!J){e.axis="horizontal",e.slideBy="page",e.edgePadding=!1;var ne=e.animateIn,oe=e.animateOut,ie=e.animateDelay,re=e.animateNormal}var ae,le,se="horizontal"===e.axis,ce=n.createElement("div"),ue=n.createElement("div"),de=e.container,fe=de.parentNode,me=de.outerHTML,pe=de.children,ve=pe.length,ge=Nn(),he=!1;Q&&Zn(),J&&(de.className+=" tns-vpfix");var ye,be,we,xe,Se,Ee,Ae,Ce,Le=e.autoWidth,Te=Rn("fixedWidth"),Me=Rn("edgePadding"),ke=Rn("gutter"),qe=In(),Be=Rn("center"),Ne=Le?1:Math.floor(Rn("items")),_e=Rn("slideBy"),He=e.viewportMax||e.fixedWidthViewportWidth,Ie=Rn("arrowKeys"),Oe=Rn("speed"),Re=e.rewind,De=!Re&&e.loop,We=Rn("autoHeight"),Pe=Rn("controls"),ze=Rn("controlsText"),$e=Rn("nav"),je=Rn("touch"),Fe=Rn("mouseDrag"),Ye=Rn("autoplay"),Ve=Rn("autoplayTimeout"),Ke=Rn("autoplayText"),Xe=Rn("autoplayHoverPause"),Ge=Rn("autoplayResetOnVisibility"),Qe=(null,Ae=Rn("nonce"),Ce=document.createElement("style"),Ae&&Ce.setAttribute("nonce",Ae),document.querySelector("head").appendChild(Ce),Ce.sheet?Ce.sheet:Ce.styleSheet),Ue=e.lazyload,Je=e.lazyloadSelector,Ze=[],et=De?(Se=function(){if(Le||Te&&!He)return ve-1;var t=Te?"fixedWidth":"items",n=[];if((Te||e[t]<ve)&&n.push(e[t]),Q)for(var o in Q){var i=Q[o][t];i&&(Te||i<ve)&&n.push(i)}return n.length||n.push(0),Math.ceil(Te?He/Math.min.apply(null,n):Math.max.apply(null,n))}(),Ee=J?Math.ceil((5*Se-ve)/2):4*Se-ve,Ee=Math.max(Se,Ee),On("edgePadding")?Ee+1:Ee):0,tt=J?ve+2*et:ve+et,nt=!(!Te&&!Le||De),ot=Te?Lo():null,it=!J||!De,rt=se?"left":"top",at="",lt="",st=Te?function(){return Be&&!De?ve-1:Math.ceil(-ot/(Te+ke))}:Le?function(){for(var e=0;e<tt;e++)if(ye[e]>=-ot)return e}:function(){return Be&&J&&!De?ve-1:De||J?Math.max(0,tt-Math.ceil(Ne)):tt-1},ct=kn(Rn("startIndex")),ut=ct,dt=(Mn(),0),ft=Le?null:st(),mt=e.preventActionWhenRunning,pt=e.swipeAngle,vt=!pt||"?",gt=!1,ht=e.onInit,yt=new H,bt=" tns-slider tns-"+e.mode,wt=de.id||(xe=window.tnsId,window.tnsId=xe?xe+1:1,"tns"+window.tnsId),xt=Rn("disable"),St=!1,Et=e.freezable,At=!(!Et||Le)&&Jn(),Ct=!1,Lt={click:Io,keydown:function(e){e=jo(e);var t=[p.LEFT,p.RIGHT].indexOf(e.keyCode);t>=0&&(0===t?Xt.disabled||Io(e,-1):Gt.disabled||Io(e,1))}},Tt={click:function(e){if(gt){if(mt)return;_o()}for(var t=Fo(e=jo(e));t!==Zt&&!y(t,"data-nav");)t=t.parentNode;if(y(t,"data-nav")){var n=on=Number(b(t,"data-nav")),o=Te||Le?n*ve/tn:n*Ne;Ho(It?n:Math.min(Math.ceil(o),ve-1),e),rn===n&&(dn&&Po(),on=-1)}},keydown:function(e){e=jo(e);var t=n.activeElement;if(y(t,"data-nav")){var o=[p.LEFT,p.RIGHT,p.ENTER,p.SPACE].indexOf(e.keyCode),i=Number(b(t,"data-nav"));o>=0&&(0===o?i>0&&$o(Jt[i-1]):1===o?i<tn-1&&$o(Jt[i+1]):(on=i,Ho(i,e)))}}},Mt={mouseover:function(){dn&&(Ro(),fn=!0)},mouseout:function(){fn&&(Oo(),fn=!1)}},kt={visibilitychange:function(){n.hidden?dn&&(Ro(),pn=!0):pn&&(Oo(),pn=!1)}},qt={keydown:function(e){e=jo(e);var t=[p.LEFT,p.RIGHT].indexOf(e.keyCode);t>=0&&Io(e,0===t?-1:1)}},Bt={touchstart:Xo,touchmove:Go,touchend:Uo,touchcancel:Uo},Nt={mousedown:Xo,mousemove:Go,mouseup:Uo,mouseleave:Uo},_t=On("controls"),Ht=On("nav"),It=!!Le||e.navAsThumbnails,Ot=On("autoplay"),Rt=On("touch"),Dt=On("mouseDrag"),Wt="tns-sli
1de-active",Pt="tns-slide-cloned",zt="tns-complete",$t={load:function(e){so(Fo(e))},error:function(e){var t;t=Fo(e),g(t,"failed"),co(t)}},jt="force"===e.preventScrollOnTouch;if(_t)var Ft,Yt,Vt=e.controlsContainer,Kt=e.controlsContainer?e.controlsContainer.outerHTML:"",Xt=e.prevButton,Gt=e.nextButton,Qt=e.prevButton?e.prevButton.outerHTML:"",Ut=e.nextButton?e.nextButton.outerHTML:"";if(Ht)var Jt,Zt=e.navContainer,en=e.navContainer?e.navContainer.outerHTML:"",tn=Le?ve:Zo(),nn=0,on=-1,rn=Bn(),an=rn,ln="tns-nav-active",sn="Carousel Page ",cn=" (Current Slide)";if(Ot)var un,dn,fn,mn,pn,vn="forward"===e.autoplayDirection?1:-1,gn=e.autoplayButton,hn=e.autoplayButton?e.autoplayButton.outerHTML:"",yn=["<span class='tns-visually-hidden'>"," animation</span>"];if(Rt||Dt)var bn,wn,xn={},Sn={},En=!1,An=se?function(e,t){return e.x-t.x}:function(e,t){return e.y-t.y};Le||Tn(xt||At),W&&(rt=W,at="translate",P?(at+=se?"3d(":"3d(0px, ",lt=se?", 0px, 0px)":", 0px)"):(at+=se?"X(":"Y(",lt=")")),J&&(de.className=de.className.replace("tns-vpfix","")),function(){if(On("gutter"),ce.className="tns-outer",ue.className="tns-inner",ce.id=wt+"-ow",ue.id=wt+"-iw",""===de.id&&(de.id=wt),bt+=R||Le?" tns-subpixel":" tns-no-subpixel",bt+=O?" tns-calc":" tns-no-calc",Le&&(bt+=" tns-autowidth"),bt+=" tns-"+e.axis,de.className+=bt,J?((ae=n.createElement("div")).id=wt+"-mw",ae.className="tns-ovh",ce.appendChild(ae),ae.appendChild(ue)):ce.appendChild(ue),We&&((ae||ue).className+=" tns-ah"),fe.insertBefore(ce,de),ue.appendChild(de),m(pe,(function(e,t){g(e,"tns-item"),e.id||(e.id=wt+"-item"+t),!J&&re&&g(e,re),x(e,{"aria-hidden":"true",tabindex:"-1"})})),et){for(var t=n.createDocumentFragment(),o=n.createDocumentFragment(),i=et;i--;
1){var r=i%ve,a=pe[r].cloneNode(!0);if(g(a,Pt),S(a,"id"),o.insertBefore(a,o.firstChild),J){var l=pe[ve-1-r].cloneNode(!0);g(l,Pt),S(l,"id"),t.appendChild(l)}}de.insertBefore(t,de.firstChild),de.appendChild(o),pe=de.children}}(),function(){if(!J)for(var t=ct,n=ct+Math.min(ve,Ne);t<n;t++){var o=pe[t];o.style.left=100*(t-ct)/Ne+"%",g(o,ne),h(o,re)}if(se&&(R||Le?(d(Qe,"#"+wt+" > .tns-item","font-size:"+s.getComputedStyle(pe[0]).fontSize+";",f(Qe)),d(Qe,"#"+wt,"font-size:0;",f(Qe))):J&&m(pe,(function(e,t){e.style.marginLeft=function(e){return O?O+"("+100*e+"% / "+tt+")":100*e/tt+"%"}(t)}))),D){if(z){var i=ae&&e.autoHeight?jn(e.speed):"";d(Qe,"#"+wt+"-mw",i,f(Qe))}i=Dn(e.edgePadding,e.gutter,e.fixedWidth,e.speed,e.autoHeight),d(Qe,"#"+wt+"-iw",i,f(Qe)),J&&(i=se&&!Le?"width:"+Wn(e.fixedWidth,e.gutter,e.items)+";":"",z&&(i+=jn(Oe)),d(Qe,"#"+wt,i,f(Qe))),i=se&&!Le?Pn(e.fixedWidth,e.gutter,e.items):"",e.gutter&&(i+=zn(e.gutter)),J||(z&&(i+=jn(Oe)),j&&(i+=Fn(Oe))),i&&d(Qe,"#"+wt+" > .tns-item",i,f(Qe))}else J&&We&&(ae.style[z]=Oe/1e3+"s"),ue.style.cssText=Dn(Me,ke,Te,We),J&&se&&!Le&&(de.style.width=Wn(Te,ke,Ne)),i=se&&!Le?Pn(Te,ke,Ne):"",ke&&(i+=zn(ke)),i&&d(Qe,"#"+wt+" > .tns-item",i,f(Qe));if(Q&&D)for(var r in Q){r=parseInt(r);var a=Q[r],l=(i="",""),c="",u="",p="",v=Le?null:Rn("items",r),y=Rn("fixedWidth",r),b=Rn("speed",r),w=Rn("edgePadding",r),x=Rn("autoHeight",r),S=Rn("gutter",r);z&&ae&&Rn("autoHeight",r)&&"speed"in a&&(l="#"+wt+"-mw{"+jn(b)+"}"),("edgePadding"in a||"gutter"in a)&&(c="#"+wt+"-iw{"+Dn(w,S,y,b,x)+"}"),J&&se&&!Le&&("fixedWidth"in a||"items"in a||Te&&"gutter"in a)&&(u="width:"+Wn(y,S,v)+";"),z&&"speed"in a&&(u+=jn(b)),u&&(u="#"+wt+"{"+u+"}"),("fixedWidth"in a||Te&&"gutter"in a||!J&&"items"in a)&&(p+=Pn(y,S,v)),"gutter"in a&&(p+=zn(S)),!J&&"speed"in a&&(z&&(p+=jn(b)),j&&(p+=Fn(b))),p&&(p="#"+wt+" > .tns-item{"+p+"}"),(i=l+c+u+p)&&Qe.insertRule("@media (min-width: "+r/16+"em) {"+i+"}",Qe.cssRules.length)}}(),Yn();var Cn=De?J?function(){var e=dt,t=ft;e+=_e,t-=_e,Me?(e+=1,t-=1):Te&&(qe+ke)%(Te+ke)&&(t-=1),et&&(ct>t?ct-=ve:ct<e&&(ct+=ve))}:function(){if(ct>ft)for(;ct>=dt+ve;)ct-=ve;else if(ct<dt)for(;ct<=ft-ve;)ct+=ve}:function(){ct=Math.max(dt,Math.min(ft,ct))},Ln=J?function(){var e,t,n,o,i,r,a,l,s,c,u;Ao(de,""),z||!Oe?(ko(),Oe&&L(de)||_o()):(e=de,t=rt,n=at,o=lt,i=To(),r=Oe,a=_o,l=Math.min(r,10),s=i.indexOf("%")>=0?"%":"px",i=i.replace(s,""),c=Number(e.style[t].replace(n,"").replace(o,"").replace(s,"")),u=(i-c)/r*l,setTimeout((function i(){r-=l,c+=u,e.style[t]=n+c+s+o,r>0?setTimeout(i,l):a()}),l)),se||Jo()}:function(){Ze=[];var e={};e[Y]=e[V]=_o,_(pe[ut],e),N(pe[ct],e),qo(ut,ne,oe,!0),qo(ct,re,ne),Y&&V&&Oe&&L(de)||_o()};return{version:"2.9.4",getInfo:ti,events:yt,goTo:Ho,play:function(){Ye&&!dn&&(Wo(),mn=!1)},pause:function(){dn&&(Po(),mn=!0)},isOn:he,updateSliderHeight:go,refresh:Yn,destroy:function(){if(Qe.disabled=!0,Qe.ownerNode&&Qe.ownerNode.remove(),_(s,{resize:Qn}),Ie&&_(n,qt),Vt&&_(Vt,Lt),Zt&&_(Zt,Tt),_(de,Mt),_(de,kt),gn&&_(gn,{click:zo}),Ye&&clearInterval(un),J&&Y){var t={};t[Y]=_o,_(de,t)}je&&_(de,Bt),Fe&&_(de,Nt);var o=[me,Kt,Qt,Ut,en,hn];
1for(var i in X.forEach((function(t,n){var i="container"===t?ce:e[t];if("object"==typeof i&&i){var r=!!i.previousElementSibling&&i.previousElementSibling,a=i.parentNode;i.outerHTML=o[n],e[t]=r?r.nextElementSibling:a.firstElementChild}})),X=ne=oe=ie=re=se=ce=ue=de=fe=me=pe=ve=le=ge=Le=Te=Me=ke=qe=Ne=_e=He=Ie=Oe=Re=De=We=Qe=Ue=ye=Ze=et=tt=nt=ot=it=rt=at=lt=st=ct=ut=dt=ft=pt=vt=gt=ht=yt=bt=wt=xt=St=Et=At=Ct=Lt=Tt=Mt=kt=qt=Bt=Nt=_t=Ht=It=Ot=Rt=Dt=Wt=zt=$t=be=Pe=ze=Vt=Kt=Xt=Gt=Ft=Yt=$e=Zt=en=Jt=tn=nn=on=rn=an=ln=sn=cn=Ye=Ve=vn=Ke=Xe=gn=hn=Ge=yn=un=dn=fn=mn=pn=xn=Sn=bn=En=wn=An=je=Fe=null,this)"rebuild"!==i&&(this[i]=null);he=!1},rebuild:function(){return I(i(e,G))}}}function Tn(e){e&&(Pe=$e=je=Fe=Ie=Ye=Xe=Ge=!1)}function Mn(){for(var e=J?ct-et:ct;e<0;)e+=ve;return e%ve+1}function kn(e){return e=e?Math.max(0,Math.min(De?ve-1:ve-Ne,e)):0,J?e+et:e}function qn(e){for(null==e&&(e=ct),J&&(e-=et);e<0;)e+=ve;return Math.floor(e%ve)}function Bn(){var e,t=qn();return e=It?t:Te||Le?Math.ceil((t+1)*tn/ve-1):Math.floor(t/Ne),!De&&J&&ct===ft&&(e=tn-1),e}function Nn(){return s.innerWidth||n.documentElement.clientWidth||n.body.clientWidth}function _n(e){return"top"===e?"afterbegin":"beforeend"}function Hn(e){if(null!=e){var t,o,i=n.createElement("div");return e.appendChild(i),o=(t=i.getBoundingClientRect()).right-t.left,i.remove(),o||Hn(e.parentNode)}}function In(){var e=Me?2*Me-ke:0;return Hn(fe)-e}function On(t){if(e[t])return!0;if(Q)for(var n in Q)if(Q[n][t])return!0;return!1}function Rn(t,n){if(null==n&&(n=ge),"items"===t&&Te)return Math.floor((qe+ke)/(Te+ke))||1;var o=e[t];if(Q)for(var i in Q)n>=parseInt(i)&&t in Q[i]&&(o=Q[i][t]);return"slideBy"===t&&"page"===o&&(o=Rn("items")),J||"slideBy"!==t&&"items"!==t||(o=Math.floor(o)),o}function Dn(e,t,n,o,i){var r="";if(void 0!==e){var a=e;t&&(a-=t),r=se?"margin: 0 "+a+"px 0 "+e+"px;":"margin: "+e+"px 0 "+a+"px 0;"}else if(t&&!n){var l="-"+t+"px";r="margin: 0 "+(se?l+" 0 0":"0 "+l+" 0")+";"}return!J&&i&&z&&o&&(r+=jn(o)),r}function Wn(e,t,n){return e?(e+t)*tt+"px":O?O+"("+100*tt+"% / "+n+")":100*tt/n+"%"}function Pn(e,t,n){var o;if(e)o=e+t+"px";else{J||(n=Math.floor(n));var i=J?tt:n;o=O?O+"(100% / "+i+")":100/i+"%"}return o="width:"+o,"inner"!==U?o+";":o+" !important;"}function zn(e){var t="";return!1!==e&&(t=(se?"padding-":"margin-")+(se?"right":"bottom")+": "+e+"px;"),t}function $n(e,t){var n=e.substring(0,e.length-t).toLowerCase();return n&&(n="-"+n+"-"),n}function jn(e){return $n(z,18)+"transition-duration:"+e/1e3+"s;"}function Fn(e){return $n(j,17)+"animation-duration:"+e/1e3+"s;"}function Yn(){if(On("autoHeight")||Le||!se){var e=de.querySelectorAll("img");m(e,(function(e){var t=e.src;Ue||(t&&t.indexOf("data:image")<0?(e.src="",N(e,$t),g(e,"loading"),e.src=t):so(e))})),t((function(){mo(E(e),(function(){be=!0}))})),On("autoHeight")&&(e=uo(ct,Math.min(ct+Ne-1,tt-1))),Ue?Vn():t((function(){mo(E(e),Vn)}))}else J&&Mo(),Xn(),Gn()}function Vn(){if(Le&&ve>1){var e=De?ct:ve-1;!function t(){var n=pe[e].getBoundingClientRect().left,o=pe[e-1].getBoundingClientRect().right;Math.abs(n-o)<=1?Kn():setTimeout((function(){t()}),16)}()}else Kn()}function Kn(){se&&!Le||(ho(),Le?(ot=Lo(),Et&&(At=Jn()),ft=st(),Tn(xt||At)):Jo()),J&&Mo(),Xn(),Gn()}function Xn(){if(yo(),ce.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+ro()+"</span>  of "+ve+"</div>"),we=ce.querySelector(".tns-liveregion .current"),Ot){var t=Ye?"stop":"start";gn?x(gn,{"data-action":t}):e.autoplayButtonOutput&&(ce.insertAdjacentHTML(_n(e.autoplayPosition),'<button type="button" data-action="'+t+'">'+yn[0]+t+yn[1]+Ke[0]+"</button>"),gn=ce.querySelector("[data-action]")),gn&&N(gn,{click:zo}),Ye&&(Wo(),Xe&&N(de,Mt),Ge&&N(de,kt))}if(Ht){if(Zt)x(Zt,{"aria-label":"Carousel Pagination"}),m(Jt=Zt.children,(function(e,t){x(e,{"data-nav":t,tabindex:"-1","aria-label":sn+(t+1),"aria-controls":wt})}));else{for(var n="",o=It?"":'style="display:none"',i=0;i<ve;i++)n+='<button type="button" data-nav="'+i+'" tabindex="-1" aria-controls="'+wt
vendor: 4,723 bytes, line 1
1+'" '+o+' aria-label="'+sn+(i+1)+'"></button>';n='<div class="tns-nav" aria-label="Carousel Pagination">'+n+"</div>",ce.insertAdjacentHTML(_n(e.navPosition),n),Zt=ce.querySelector(".tns-nav"),Jt=Zt.children}if(ei(),z){var r=z.substring(0,z.length-18).toLowerCase(),a="transition: all "+Oe/1e3+"s";r&&(a="-"+r+"-"+a),d(Qe,"[aria-controls^="+wt+"-item]",a,f(Qe))}x(Jt[rn],{"aria-label":sn+(rn+1)+cn}),S(Jt[rn],"tabindex"),g(Jt[rn],ln),N(Zt,Tt)}_t&&(Vt||Xt&&Gt||(ce.insertAdjacentHTML(_n(e.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="'+wt+'">'+ze[0]+'</button><button type="button" data-controls="next" tabindex="-1" aria-controls="'+wt+'">'+ze[1]+"</button></div>"),Vt=ce.querySelector(".tns-controls")),Xt&&Gt||(Xt=Vt.children[0],Gt=Vt.children[1]),e.controlsContainer&&x(Vt,{"aria-label":"Carousel Navigation",tabindex:"0"}),(e.controlsContainer||e.prevButton&&e.nextButton)&&x([Xt,Gt],{"aria-controls":wt,tabindex:"-1"}),(e.controlsContainer||e.prevButton&&e.nextButton)&&(x(Xt,{"data-controls":"prev"}),x(Gt,{"data-controls":"next"})),Ft=wo(Xt),Yt=wo(Gt),Eo(),Vt?N(Vt,Lt):(N(Xt,Lt),N(Gt,Lt))),eo()}function Gn(){if(J&&Y){var t={};t[Y]=_o,N(de,t)}je&&N(de,Bt,e.preventScrollOnTouch),Fe&&N(de,Nt),Ie&&N(n,qt),"inner"===U?yt.on("outerResized",(function(){Un(),yt.emit("innerLoaded",ti())})):(Q||Te||Le||We||!se)&&N(s,{resize:Qn}),We&&("outer"===U?yt.on("innerLoaded",fo):xt||fo()),lo(),xt?oo():At&&no(),yt.on("indexChanged",po),"inner"===U&&yt.emit("innerLoaded",ti()),"function"==typeof ht&&ht(ti()),he=!0}function Qn(e){t((function(){Un(jo(e))}))}function Un(t){if(he){"outer"===U&&yt.emit("outerResized",ti(t)),ge=Nn();var o,i=le,r=!1;Q&&(Zn(),(o=i!==le)&&yt.emit("newBreakpointStart",ti(t)));var a,l,s=Ne,c=xt,u=At,p=Ie,v=Pe,y=$e,b=je,w=Fe,x=Ye,S=Xe,E=Ge,L=ct;if(o){var T=Te,M=We,k=ze,q=Be,B=Ke;if(!D)var H=ke,I=Me}if(Ie=Rn("arrowKeys"),Pe=Rn("controls"),$e=Rn("nav"),je=Rn("touch"),Be=Rn("center"),Fe=Rn("mouseDrag"),Ye=Rn("autoplay"),Xe=Rn("autoplayHoverPause"),Ge=Rn("autoplayResetOnVisibility"),o&&(xt=Rn("disable"),Te=Rn("fixedWidth"),Oe=Rn("speed"),We=Rn("autoHeight"),ze=Rn("controlsText"),Ke=Rn("autoplayText"),Ve=Rn("autoplayTimeout"),D||(Me=Rn("edgePadding"),ke=Rn("gutter"))),Tn(xt),qe=In(),se&&!Le||xt||(ho(),se||(Jo(),r=!0)),(Te||Le)&&(ot=Lo(),ft=st()),(o||Te)&&(Ne=Rn("items"),_e=Rn("slideBy"),(l=Ne!==s)&&(Te||Le||(ft=st()),Cn())),o&&xt!==c&&(xt?oo():function(){if(St){if(Qe.disabled=!1,de.className+=bt,Mo(),De)for(var e=et;e--;)J&&C(pe[e]),C(pe[tt-e-1]);if(!J)for(var t=ct,n=ct+ve;t<n;t++){var o=pe[t],i=t<ct+Ne?ne:re;o.style.left=100*(t-ct)/Ne+"%",g(o,i)}to(),St=!1}}()),Et&&(o||Te||Le)&&(At=Jn())!==u&&(At?(ko(To(kn(0))),no()):(function(){if(Ct){if(Me&&D&&(ue.style.margin=""),et)for(var e="tns-transparent",t=et;t--;)J&&h(pe[t],e),h(pe[tt-t-1],e);to(),Ct=!1}}(),r=!0)),Tn(xt||At),Ye||(Xe=Ge=!1),Ie!==p&&(Ie?N(n,qt):_(n,qt)),Pe!==v&&(Pe?Vt?C(Vt):(Xt&&C(Xt),Gt&&C(Gt)):Vt?A(Vt):(Xt&&A(Xt),Gt&&A(Gt))),$e!==y&&($e?(C(Zt),ei()):A(Zt)),je!==b&&(je?N(de,Bt,e.preventScrollOnTouch):_(de,Bt)),Fe!==w&&(Fe?N(de,Nt):_(de,Nt)),Ye!==x&&(Ye?(gn&&C(gn),dn||mn||Wo()):(gn&&A(gn),dn&&Po())),Xe!==S&&(Xe?N(de,Mt):_(de,Mt)),Ge!==E&&(Ge?N(n,kt):_(n,kt)),o){if(Te===T&&Be===q||(r=!0),We!==M&&(We||(ue.style.height="")),Pe&&ze!==k&&(Xt.innerHTML=ze[0],Gt.innerHTML=ze[1]),gn&&Ke!==B){var O=Ye?1:0,R=gn.innerHTML,W=R.length-B[O].length;R.substring(W)===B[O]&&(gn.innerHTML=R.substring(0,W)+Ke[O])}}else Be&&(Te||Le)&&(r=!0);if((l||Te&&!Le)&&(tn=Zo(),ei()),(a=ct!==L)?(yt.emit("indexChanged",ti()),r=!0):l?a||po():(Te||Le)&&(lo(),yo(),io()),l&&!J&&function(){for(var e=ct+Math.min(ve,Ne),t=tt;t--;){var n=pe[t];t>=ct&&t<e?(g(n,"tns-moving"),n.style.left=100*(t-ct)/Ne+"%",g(n,ne),h(n,re)):n.style.left&&(n.style.left="",g(n,re),h(n,ne)),h(n,oe)}setTimeout((function(){m(pe,(function(e){h(e,"tns-moving")}))}),300)}(),!xt&&!At){if(o&&!D&&(Me===I&&ke===H||(ue.style.cssText=Dn(Me,ke,Te,Oe,We)),se)){J&&(de.style.width=Wn(Te,ke,Ne));var P=Pn(Te,ke,Ne)+zn(ke);!function(e,t){"deleteRule"in e?e.deleteRule(t):e.removeRule(t)}(Qe,f(Qe)-1),d(Qe,"#"+wt+" > .tns-item",P,f(Qe))}We&&fo(),r&&(Mo(),ut=ct)}o&&yt.emit("newBreakpointEnd",ti(t))}}function Jn(){if(!Te&&!Le)return ve<=(Be?Ne-(Ne-1)/2:Ne);var e=Te?(Te+ke)*ve:ye[ve],t=Me?qe+2*Me:qe+ke;return Be&&(t-=Te?(qe-Te)/2:(qe-(ye[ct+1]-ye[ct]-ke))/2),e<=t}function Zn(){for(var e in le=0,Q)e=parseInt(e),ge>=e&&(le=e)}function eo(){!Ye&&gn&&A(gn),!$e&&Zt&&A(Zt),Pe||(Vt?A(Vt):(Xt&&A(Xt),Gt&&A(Gt)))}function to(){Ye&&gn&&C(gn),$e&&Zt&&C(Zt),Pe&&(Vt?C(Vt):(Xt&&C(Xt),Gt&&C(Gt)))}function no(){if(!Ct){if(Me&&(ue.style.margin="0px"),et)for(var e="tns-transparent",t
1=et;t--;)J&&g(pe[t],e),g(pe[tt-t-1],e);eo(),Ct=!0}}function oo(){if(!St){if(Qe.disabled=!0,de.className=de.className.replace(bt.substring(1),""),S(de,["style"]),De)for(var e=et;e--;)J&&A(pe[e]),A(pe[tt-e-1]);if(se&&J||S(ue,["style"]),!J)for(var t=ct,n=ct+ve;t<n;t++){var o=pe[t];S(o,["style"]),h(o,ne),h(o,re)}eo(),St=!0}}function io(){var e=ro();we.innerHTML!==e&&(we.innerHTML=e)}function ro(){var e=ao(),t=e[0]+1,n=e[1]+1;return t===n?t+"":t+" to "+n}function ao(e){null==e&&(e=To());var t,n,o,i=ct;if(Be||Me?(Le||Te)&&(n=-(parseFloat(e)+Me),o=n+qe+2*Me):Le&&(n=ye[ct],o=n+qe),Le)ye.forEach((function(e,r){r<tt&&((Be||Me)&&e<=n+.5&&(i=r),o-e>=.5&&(t=r))}));else{if(Te){var r=Te+ke;Be||Me?(i=Math.floor(n/r),t=Math.ceil(o/r-1)):t=i+Math.ceil(qe/r)-1}else if(Be||Me){var a=Ne-1;if(Be?(i-=a/2,t=ct+a/2):t=ct+a,Me){var l=Me*Ne/qe;i-=l,t+=l}i=Math.floor(i),t=Math.ceil(t)}else t=i+Ne-1;i=Math.max(i,0),t=Math.min(t,tt-1)}return[i,t]}function lo(){if(Ue&&!xt){var e=ao();e.push(Je),uo.apply(null,e).forEach((function(e){if(!v(e,zt)){var t={};t[Y]=function(e){e.stopPropagation()},N(e,t),N(e,$t),e.src=b(e,"data-src");var n=b(e,"data-srcset");n&&(e.srcset=n),g(e,"loading")}}))}}function so(e){g(e,"loaded"),co(e)}function co(e){g(e,zt),h(e,"loading"),_(e,$t)}function uo(e,t,n){var o=[];for(n||(n="img");e<=t;)m(pe[e].querySelectorAll(n),(function(e){o.push(e)})),e++;return o}function fo(){var e=uo.apply(null,ao());t((function(){mo(e,go)}))}function mo(e,n){return be?n():(e.forEach((function(t,n){!Ue&&t.complete&&co(t),v(t,zt)&&e.splice(n,1)})),e.length?void t((function(){mo(e,n)})):n())}function po(){lo(),yo(),io(),Eo(),function(){if($e&&(rn=on>=0?on:Bn(),on=-1,rn!==an)){var e=Jt[an],t=Jt[rn];x(e,{tabindex:"-1","aria-label":sn+(an+1)}),h(e,ln),x(t,{"aria-label":sn+(rn+1)+cn}),S(t,"tabindex"),g(t,ln),an=rn}}()}function vo(e,t){for(var n=[],o=e,i=Math.min(e+t,tt);o<i;o++)n.push(pe[o].offsetHeight);return Math.max.apply(null,n)}function go(){var e=We?vo(ct,Ne):vo(et,ve),t=ae||ue;t.style.height!==e&&(t.style.height=e+"px")}function ho(){ye=[0];var e=se?"left":"top",t=se?"right":"bottom",n=pe[0].getBoundingClientRect()[e];m(pe,(function(o,i){i&&ye.push(o.getBoundingClientRect()[e]-n),i===tt-1&&ye.push(o.getBoundingClientRect()[t]-n)}))}function yo(){var e=ao(),t=e[0],n=e[1];m(pe,(function(e,o){o>=t&&o<=n?y(e,"aria-hidden")&&(S(e,["aria-hidden","tabindex"]),g(e,Wt)):y(e,"aria-hidden")||(x(e,{"aria-hidden":"true",tabindex:"-1"}),h(e,Wt))}))}function bo(e){return e.nodeName.toLowerCase()}function wo(e){return"button"===bo(e)}function xo(e){return"true"===e.getAttribute("aria-disabled")}function So(e,t,n){e?t.disabled=n:t.setAttribute("aria-disabled",n.toString())}function Eo(){if(Pe&&!Re&&!De){var e=Ft?Xt.disabled:xo(Xt),t=Yt?Gt.disabled:xo(Gt),n=ct<=dt,o=!Re&&ct>=ft;n&&!e&&So(Ft,Xt,!0),!n&&e&&So(Ft,Xt,!1),o&&!t&&So(Yt,Gt,!0),!o&&t&&So(Yt,Gt,!1)}}function Ao(e,t){z&&(e.style[z]=t)}function Co(e){return null==e&&(e=ct),Le?(qe-(Me?ke:0)-(ye[e+1]-ye[e]-ke))/2:Te?(qe-Te)/2:(Ne-1)/2}function Lo(){var e=qe+(Me?ke:0)-(Te?(Te+ke)*tt:ye[tt]);return Be&&!De&&(e=Te?-(Te+ke)*(tt-1)-Co():Co(tt-1)-ye[tt-1]),e>0&&(e=0),e}function To(e){var t;if(null==e&&(e=ct),se&&!Le)if(Te)t=-(Te+ke)*e,Be&&(t+=Co());else{var n=W?tt:Ne;Be&&(e-=Co()),t=100*-e/n}else t=-ye[e],Be&&Le&&(t+=Co());return nt&&(t=Math.max(t,ot)),t+(!se||Le||Te?"px":"%")}function Mo(e){Ao(de,"0s"),ko(e)}function ko(e){null==e&&(e=To()),de.style[rt]=at+e+lt}function qo(e,t,n,o){var i=e+Ne;De||(i=Math.min(i,tt));for(var r=e;r<i;r++){var a=pe[r];o||(a.style.left=100*(r-ct)/Ne+"%"),ie&&$&&(a.style[$]=a.style[F]=ie*(r-e)/1e3+"s"),h(a,t),g(a,n),o&&Ze.push(a)}}function Bo(e,t){it&&Cn(),(ct!==ut||t)&&(yt.emit("indexChanged",ti()),yt.emit("transitionStart",ti()),We&&fo(),dn&&e&&["click","keydown"].indexOf(e.type)>=0&&Po(),gt=!0,Ln())}function No(e){return e.toLowerCase().replace(/-/g,"")}function _o(e){if(J||gt){if(yt.emit("transitionEnd",ti(e)),!J&&Ze.length>0)for(var t=0;t<Ze.length;t++){var n=Ze[t];n.style.left="",F&&$&&(n.style[F]="",n.style[$]=""),h(n,oe),g(n,re)}if(!e||!J&&e.target.parentNode===de||e.target===de&&No(e.propertyName)===No(rt)){if(!it){var o=ct;Cn(),ct!==o&&(yt.emit("indexChanged",ti()),Mo())}"inner"===U&&yt.emit("innerLoaded",ti()),gt=!1,ut=ct}}}function Ho(e,t){if(!At)if("prev"===e)Io(t,-1);else if("next"===e)Io(t,1);else{if(gt){if(mt)return;_o()}var n=qn(),o=0;if("first"===e?o=-n:"last"===e?o=J?ve-Ne-n:ve-1-n:("number"!=typeof e&&(e=parseInt(e)),isNaN(e)||(t||(e=Math.max(0,Math.min(ve-1,e))),o=e-n)),!J&&o&&Math.abs(o)<Ne){var i=o>0?1:-1;o+=ct+o-ve>=dt?ve*i:2*ve*i*-1}ct+=o,J&&De&&(ct<dt&&(ct+=ve),ct>ft&&(ct-=ve)),qn(ct)!==qn(ut)&&Bo(t)}}function Io(e,t){if(gt){if(mt)return;_o()}var n;if(!t){for(var o=Fo(e=jo(e));o!==Vt&&[Xt,Gt].indexOf(o)<0;)o=o.parentNode;var i=[Xt,Gt].indexOf(o);i>=0&&(n=!0,t=0===i?-1:1)}if(Re){if(ct===dt&&-1===t)return void Ho("last",e);if(ct===ft&&1===t)return void Ho("first",e)}t&&(ct+=_e*t,Le&&(ct=Math.floor(ct)),Bo(n||e&&"keydown"===e.type?e:null))}function Oo(){un=setInterval((function(){Io(null,vn)}),Ve),dn=!0}function Ro(){clearInterval(un),dn=!1}function Do(e,t){x(gn,{"data-action":e}),gn.innerHTML=yn[0]+e+yn[1]+t}function Wo(){Oo(),gn&&Do("stop",Ke[1])}function Po(){Ro(),gn&&Do("start",Ke[0])}function zo(){dn?(Po(),mn=!0):(Wo(),mn=!1)}function $o(e){e.focus()}function jo(e){return Yo(e=e||s.event)?e.changedTouches[0]:e}function Fo(e){return e.target||s.event.srcElement}function Yo(e){return e.type.indexOf("touch")>=0}function Vo(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ko(){return r=Sn.y-xn.y,a=Sn.x-xn.x,t=Math.atan2(r,a)*(180/Math.PI),n=pt,o=!1,(i=Math.abs(90-Math.abs(t)))>=90-n?o="horizontal":i<=n&&(o="vertical"),o===e.axis;var t,n,o,i,r,a}function Xo(e){if(gt){if(mt)return;_o()}Ye&&dn&&Ro(),En=!0,wn&&(o(wn),wn=null);var t=jo(e);yt.emit(Yo(e)?"touchStart":"dragStart",ti(e)),!Yo(e)&&["img","a"].indexOf(bo(Fo(e)))>=0&&Vo(e),Sn.x=xn.x=t.clientX,Sn.y=xn.y=t.clientY,J&&(bn=parseFloat(de.style[rt].replace(at,"")),Ao(de,"0s"))}function Go(e){if(En){var n=jo(e);Sn.x=n.clientX,Sn.y=n.clientY,J?wn||(wn=t((function(){Qo(e)}))):("?"===vt&&(vt=Ko()),vt&&(jt=!0)),("boolean"!=typeof e.cancelable||e.cancelable)&&jt&&e.preventDefault()}}function Qo(e){if(vt){if(o(wn),En&&(wn=t((function(){Qo(e)}))),"?"===vt&&(vt=Ko()),vt){!jt&&Yo(e)&&(jt=!0);try{e.type&&yt.emit(Yo(e)?"touchMove":"dragMove",ti(e))}catch(e){}var n=bn,i=An(Sn,xn);!se||Te||Le?(n+=i,n+="px"):(n+=W?i*Ne*100/((qe+ke)*tt):100*i/(qe+ke),n+="%"),de.style[rt]=at+n+lt}}else En=!1}function Uo(n){if(En){wn&&(o(wn),wn=null),J&&Ao(de,""),En=!1;var i=jo(n);Sn.x=i.clientX,Sn.y=i.clientY;var r=An(Sn,xn);
1if(Math.abs(r)){if(!Yo(n)){var a=Fo(n);N(a,{click:function e(t){Vo(t),_(a,{click:e})}})}J?wn=t((function(){if(se&&!Le){var e=-r*Ne/(qe+ke);e=r>0?Math.floor(e):Math.ceil(e),ct+=e}else{var t=-(bn+r);if(t<=0)ct=dt;else if(t>=ye[tt-1])ct=ft;else for(var o=0;o<tt&&t>=ye[o];)ct=o,t>ye[o]&&r<0&&(ct+=1),o++}Bo(n,r),yt.emit(Yo(n)?"touchEnd":"dragEnd",ti(n))})):vt&&Io(n,r>0?-1:1)}}"auto"===e.preventScrollOnTouch&&(jt=!1),pt&&(vt="?"),Ye&&!dn&&Oo()}function Jo(){(ae||ue).style.height=ye[ct+Ne]-ye[ct]+"px"}function Zo(){var e=Te?(Te+ke)*ve/qe:ve/Ne;return Math.min(Math.ceil(e),ve)}function ei(){if($e&&!It&&tn!==nn){var e=nn,t=tn,n=C;for(nn>tn&&(e=tn,t=nn,n=A);e<t;)n(Jt[e]),e++;nn=tn}}function ti(e){return{container:de,slideItems:pe,navContainer:Zt,navItems:Jt,controlsContainer:Vt,hasControls:_t,prevButton:Xt,nextButton:Gt,items:Ne,slideBy:_e,cloneCount:et,slideCount:ve,slideCountNew:tt,index:ct,indexCached:ut,displayIndex:Mn(),navCurrentIndex:rn,navCurrentIndexCached:an,pages:tn,pagesCached:nn,sheet:Qe,isOn:he,event:e||{}}}K&&console.warn("No slides found in",e.container)};const O={beebomLoadComments(e){if(!e||e.dataset.commentsLoaded)return;const t=e.querySelector(".comment-list"),n=e.querySelector(".comments-loading");if(!t||!n)return;e.dataset.commentsLoaded="true";const o=e.id.replace("comments-","");fetch(beebomConfig.commentsEndpoint+"?post_id="+o).then((e=>e.json())).then((e=>{t.innerHTML=e.comments,n.classList.add("hide")})).catch((()=>{n.classList.add("hide")}))}};window.beebomHandleTOCToggle=e=>{e.preventDefault();const t=e.target.closest("#toc_container"),n=t?.querySelector(".toc_list");t?.classList.toggle("toc_container--open"),n?.classList.contains("hide")?n?.classList.remove("hide"):n?.classList.add("hide");const o=new CustomEvent("toggle_toc_container");document.body.dispatchEvent(o)};const R={init(){this.scrollToTarget(),this.scrollToComments(),this.infiniteScroll(),this.hideHeaderOnScroll(),this.paginationScroll(),this.removePWAServiceWorker()},scrollToTarget(){document.querySelectorAll('a[href^="#"]:not([href="#"])').forEach((e=>{e.addEventListener("click",(e=>{if(e.preventDefault(),e.target.hasAttribute("data-no-link"))return;let t=e.target.hash;void 0===t&&(t=e.target.closest("a").hash);const n=document.querySelector('[id="'+t.replace("#","")+'"]');null!==n&&window.scroll({top:n.offsetTop-50,behavior:"smooth"})}))}))},scrollToComments(){document.addEventListener("click",(e=>{const t=e.target.closest("button.comments-link");if(!t)return;const n=t.getAttribute("data-comments-target");if(!n)return;const o=document.querySelector('[id="'+n+'"]');null!==o&&(o.querySelector(".comments-section")?.classList.add("active"),o.querySelector(".comments-toggle")?.classList.add("active"),O.beebomLoadComments(o),window.scroll({top:o.offsetTop-50,behavior:"smooth"}))}))},infiniteScroll(){const e=document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button.has_infinite_scroll");function t(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function n(e){e=Math.max(1,e);const t=new URL(window.location).pathname.replace(/page\/\d+/,"").replace("//","/");1===e?window.history.replaceState({page:1},"page 1",t):window.history.state?window.history.replaceState({page:e},`page ${e}`,`${t}page/${e}/`):window.history.pushState({page:e},`page ${e}`,`${t}page/${e}/`)}if(e){const o=new window.IntersectionObserver((function(e){const o=e[0].target;if(!0===e[0].isIntersecting)n(parseInt(o.dataset.page));else if(!t(o)){if(o.getBoundingClientRect().top<0)return;n(parseInt(o.dataset.page-1))}}),{threshold:[0],rootMargin:"0px"});for(const i of e){const e=i.querySelector("[data-next]"),r=new URL(window.location).pathname.match(/page\/\d+\/?/);if(r&&r.length>0){const t=r[0].replace(/[^\d+]/g,"");n(parseInt(t));const o=e.getAttribute("data-next");e.setAttribute("data-next",o.replace(/page=\d?/,`page=${parseInt(t)+1}`))}t(e)&&setTimeout((()=>e.click()),100);const a=e=>{const t=e.querySelectorAll("[data-page]"),n=e.querySelector("[data-next]").getAttribute("data-next").replace(/.*(?=page)/,"").match(/\d+/g)-1;if(t&&t.length>0){const e=t[t.length-1].dataset.page;if(parseInt(e)===n)return n+1}else if(r&&r.length>0){const e=r[0].replace(/[^\d+]/g,"");if(parseInt(e)===n)return n+1}else if(null===r&&1===n)return n+1;return n};new window.MutationObserver((function(e){e.forEach((function(e){for(const t of e.addedNodes)if("ARTICLE"===t.nodeName){t.classList.add("beebom-page-bookmark"),t.setAttribute("data-page",a(e.target.closest(".wp-block-newspack-blocks-homepage-articles"))),o.observe(t);break}}
1))})).observe(i.querySelector("[data-posts]"),{subtree:!1,childList:!0}),new window.IntersectionObserver((function(e){const t=e[0].target;!0===e[0].isIntersecting&&t.click()}),{threshold:[1]}).observe(e)}}},hideHeaderOnScroll(){let e=0,t=0;const n=document.querySelector(".site-header");n&&window.addEventListener("scroll",(()=>{t=window.pageYOffset,e<t&&t>75?n.classList.add("scrolled-up"):e>t&&n.classList.remove("scrolled-up"),e=t}),{passive:!0})},paginationScroll(){const e=document.querySelector(".beebom-pagination");if(e){this.addDragToScroll(e);const t=e.querySelector(".current");t&&(e.scrollLeft=t.getBoundingClientRect().x-e.getBoundingClientRect().x)}},addDragToScroll(e){let t=!1;const n=()=>t=!1;e.addEventListener("mousedown",(()=>t=!0)),e.addEventListener("mouseup",n),e.addEventListener("mouseleave",n),e.addEventListener("mousemove",(n=>t&&(e.scrollLeft-=n.movementX)))},removePWAServiceWorker(){"undefined"!=typeof navigator&&"serviceWorker"in navigator&&navigator.serviceWorker.getRegistrations().then((e=>{for(const t of e)t.unregister().catch((()=>{}))})).catch((()=>{}))}};function D(e){const t=beebomConfig.postEndpointURL,n=beebomConfig.restNonce,o=document.getElementById("main"),i=document.getElementById("content"),r=document.createElement("div");r.id="article-loader",r.className="article-loader grid-container has-white-background-color",i.appendChild(r),fetch(t+"/"+Number(e)+"?_wpnonce="+n).then((e=>e.json())).then((t=>{void 0===window.twttr?setTimeout((()=>{window.twttr?.widgets?.load()}),2e3):window.twttr?.widgets?.load(),o.insertAdjacentHTML("beforeend",t),window.loadCounter++,function(e){const t=document.querySelector(`article[data-post_id="${e}"]`),n=t.querySelector(".comments-area"),o=t.querySelector(".comments-toggle"),i=t.querySelector(".comments-section");let r=!1;o&&o.addEventListener("click",(function(){i.classList.toggle("active"),o.classList.toggle("active"),r||(O.beebomLoadComments(n),r=!0)}))}(e),function(e){const t=document.querySelector(`article[data-post_id="${e}"]`),n=t.getAttribute("data-post_tags"),o=t.getAttribute("data-post_categories"),i=t.getAttribute("data-post_authors"),r=t.getAttribute("data-post_link"),a=t.getAttribute("data-title"),l=t.getAttribute("data-post_primary_tag"),s=t.getAttribute("data-post_primary_category");if((n||o||i)&&r&&a){var c;const e=n?.split(",").filter(Boolean),t=o?.split(",").filter(Boolean),u=i?.split(",").filter(Boolean);e?.forEach((e=>{P("post_tag_view",e.trim(),null,null,r,a)})),t?.forEach((e=>{P("post_category_view",null,e.trim(),null,r,a)})),u?.forEach((e=>{P("post_author_view",null,null,e.trim(),r,a)})),P("post_combined_data_view",null!=l?l:"",null!=s?s:"",null!==(c=u?.[0]?.trim())&&void 0!==c?c:"",r,a)}}(e),document.getElementById("article-loader").remove(),document.querySelectorAll(".gallery").forEach((e=>{const t=e.firstChild.parentNode.id,n=document.querySelector(`#${t} .navigation-control .slider-number span.count`);null!==document.querySelector("#"+e.getAttribute("data-gallery_id"))&&I({container:"#"+e.getAttribute("data-gallery_id"),items:1,controlsContainer:"#"+e.getAttribute("data-navigation_control"),navContainer:"#"+e.getAttribute("data-thumbnail_control"),navAsThumbnails:!0,autoplay:!1,swipeAngle:!1,mouseDrag:!0,loop:!1,preventScrollOnTouch:"auto"}).events.on("transitionStart",(e=>{const{displayIndex:t}=e;n.textContent=t}))})),R.init(),function(){const e=[...document.querySelectorAll(".wp-block-image, .tiled-gallery__item, .wp-block-media-text__media, .beebom-single-thumbnail")],t=document.querySelector(".lightbox-modal"),n=[...document.querySelectorAll(".wp-block-jetpack-slideshow li")];e?.forEach((e=>{e?.addEventListener("click",(()=>{e?.classList.add("active-in-lightbox"),t?.classList.add("active")}))})),n?.forEach((e=>{e?.addEventListener("click",(()=>{e.closest(".wp-block-jetpack-slideshow")?.classList.add("active-in-lightbox"),t?.classList.add("active")}))})),t?.addEventListener("click",(()=>{document.querySelector(".active-in-lightbox")&&o()})),window.addEventListener("scroll",(()=>{document.querySelector(".active-in-lightbox")&&o()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&!(e.ctrlKey||e.altKey||e.shiftKey)&&document.querySelector(".active-in-lightbox")&&o()}));const o=()=>{document.querySelector(".active-in-lightbox")?.classList.remove("active-in-lightbox"),t?.classList.remove("active")}}(),767>window.innerWidth&&([...document.querySelectorAll("beebom-2023-glossary")].forEac
1h((e=>{e.addEventListener("mouseover",(()=>{e.classList.remove("remove-hover")})),e.addEventListener("click",(()=>{e.classList.remove("remove-hover")})),e.addEventListener("mouseout",(()=>{e.classList.add("remove-hover")}))})),window.addEventListener("scroll",(()=>{document.querySelector("beebom-2023-glossary:hover")&&document.querySelector("beebom-2023-glossary:hover").classList.add("remove-hover")}))),"boolean"==typeof viewedWithinApp()&&viewedWithinApp()?document.querySelectorAll(".adsbygoogle,.google-admanager-ads,.header-ad,.post-bottom-ad,.remove-on-pwa").forEach((e=>e.remove())):(function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.getElementsByTagName("ins");if(n.length>0)for(const e of n)(adsbygoogle=window.adsbygoogle||[]).push({});if(t.querySelectorAll("div[data-beebom-freestar-identifier]").length>0){!function(){const e=document.querySelectorAll(`div[data-beebom-freestar-identifier="${W}"][name*="_replacement"]:not([data-beebom-ad-registered])`);if(0===e.length)return;const t=[];let n=0;for(let o=0;o<e.length;o++){const i=e[o];for(;document.getElementById(`${W}_0_${n}`);)n++;i.removeAttribute("name"),i.setAttribute("data-beebom-ad-registered","1"),i.id=`${W}_0_${n}`;const r={placementName:W,slotId:i.id};t.push(r),freestar.config.enabled_slots.push(r)}"undefined"!=typeof freestar&&(freestar.queue=freestar.queue||[],freestar.queue.push((function(){"function"==typeof freestar.newAdSlots&&freestar.newAdSlots(t)})))}();const e=document.querySelectorAll(`div[data-beebom-freestar-identifier]:not([data-beebom-freestar-identifier="${W}"])[name*="_replacement"]`);for(let t=0;t<e.length;t++){const n=e[t],o=n.getAttribute("data-beebom-freestar-identifier"),i=document.querySelectorAll(`[data-beebom-freestar-identifier="${o}"]:not([name="${o}_replacement"])`).length;n.removeAttribute("name"),n.id=`${o}-${i+t}`,freestar.config.enabled_slots.push({placementName:o,slotId:n.id})}}}(t),function(e){if(!window.googletag||!window.googletag.apiReady)return;const t=document.createElement("div");t.innerHTML=e;const n=t.getElementsByTagName("article")[0].getAttribute("id"),o=n.replace(/^\D+/g,""),i=document.querySelectorAll("#"+n+" .google-admanager-ads");window.googletag=window.googletag||{cmd:[]},googletag.cmd.push((function(){for(let e=0;e<i.length;e++){const t=i[e].getAttribute("id")+o+(e+1);i[e].setAttribute("id",t),googletag.defineSlot("/52315147/Right_Sidebar",[300,250],t).addService(googletag.pubads())}})),googletag.pubads().enableSingleRequest(),googletag.enableServices();for(let e=0;e<i.length;e++){const t=i[e].getAttribute("id");googletag.cmd.push((function(){googletag.display(t)}))}googletag.pubads().refresh()}(t)),document.querySelectorAll('iframe[loading="lazy"]').forEach((e=>{e.src=e.dataset.src}))}))}setTimeout((()=>{window.twttr=function(e,t,n){let o;const i=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;const r=e.createElement(t);return r.id=n,r.src="https://platform.twitter.com/widgets.js",i.parentNode.insertBefore(r,i),window.twttr||(o={_e:[],ready(e){o._e.push(e)}})}(document,"script","twitter-wjs")}),1500),"boolean"!=typeof viewedWithinApp()||viewedWithinApp()||(window.loadCounter=1,document.defaultView.addEventListener("scroll",(()=>{const e=document.querySelectorAll("article.check-nav"),t=window.scrollY+window.innerHeight,n=window.scrollY,o=300;if(e.forEach((function(e){const i=e.firstChild.parentNode.id,r=document.getElementById(i),a=r.offsetTop,l=r.offsetTop+r.offsetHeight,s=r.getAttribute("data-uri"),c=r.getAttribute("data-title"),u=window.location.pathname.substr(1).replace(/\/+$/,"");if(t-o>=a&&l-o>=n&&s!==u)if(s&&c)window.history.replaceState("","Title",`/${s}/`),document.title=c;else{const e=r.getAttribute("data-uri");window.history.replaceState("","Title",`/${e}/`),document.title=r.querySelector("article.orig h1.entry-title").text}t-o>=a&&l-o>=n&&s!==u?document.querySelector("article[data-uri="+u+"]").classList.add("hidden-share"):document.querySelector("article[data-uri="+u+"]").classList.remove("hidden-share")})),window.innerHeight+window.scrollY+300>=document.body.offsetHeight&&(window.triggerLoadMore=!0,window.loadCounter<=10||"boolean"==typeof viewedWithinApp()&&viewedWithinApp())){const e=document.querySelectorAll(".single-article"),t=e.length;if(t){const n=e[t-1],o=n.getAttribute("data-next-id");n.removeAttribute("data-next-id"),null!==o&&""!==o&&D(o)}}}),{passive:!0}));const W="beebom_incontent_dynamic_AdSense";function P(e,t=void 0,n=void 0,o=void 0,i,r){if(!e)return;const a=window.gtag;"function"==typeof a?a("event",e,{post_tag:t,post_category:n,post_author:o,page_url:i,page_title:r}):setTimeout((()=>P(t)),1e3)}})();

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.