PageSourceSearch

https://unito.io/wp-content/themes/unito/assets/build/front-end-async.min.js?ver=2.2.1112

js unito.io collected 2026-10-01 10:45:49 UTC 170,661 bytes, 37 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/vimeo-modal-CLZOL_Di.js","chunks/he-Gecn6VcL.js","chunks/wait-for-Dr0AxHFr.js","chunks/cost-savings-calculator-BZrykcOj.js","chunks/background-to-video-player-DLCXrfC7.js"])))=>i.map(i=>d[i]);
2var No=Object.defineProperty;var Ro=(t,e,n)=>e in t?No(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var qt=(t,e,n)=>Ro(t,typeof e!="symbol"?e+"":e,n);import{C as ha,h as ci,c as Bo,i as Fo}from"./chunks/he-Gecn6VcL.js";import{w as Vo}from"./chunks/wait-for-Dr0AxHFr.js";const qo="modulepreload",$o=function(t){return"/wp-content/themes/unito/assets/build/"+t},li={},fe=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=$o(c),c in li)return;li[c]=!0;const d=c.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":qo,d||(g.as="script"),g.crossOrigin="",g.href=c,s&&g.setAttribute("nonce",s),document.head.appendChild(g),d)return new Promise((b,m)=>{g.addEventListener("load",b),g.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return e().catch(o)})};function jo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ho(t,e,n){return e&&jo(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}/*!
3 * Splide.js
4 * Version  : 4.1.4
5 * License  : MIT
6 * Copyright: 2022 Naotoshi Fujita
7 */var ui="(prefers-reduced-motion: reduce)",Tt=1,Uo=2,Ot=3,Nt=4,fn=5,Nn=6,$n=7,Wo={CREATED:Tt,MOUNTED:Uo,IDLE:Ot,MOVING:Nt,SCROLLING:fn,DRAGGING:Nn,DESTROYED:$n};function je(t){t.length=0}function Ze(t,e,n){return Array.prototype.slice.call(t,e,n)}function J(t){return t.bind.apply(t,[null].concat(Ze(arguments,1)))}var ma=setTimeout,wr=function(){};function di(t){return requestAnimationFrame(t)}function Kn(t,e){return typeof e===t}function en(t){return!Rr(t)&&Kn("object",t)}var Nr=Array.isArray,va=J(Kn,"function"),Xe=J(Kn,"string"),pn=J(Kn,"undefined");function Rr(t){return t===null}function ga(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function hn(t){return Nr(t)?t:[t]}function Ee(t,e){hn(t).forEach(e)}function Br(t,e){return t.indexOf(e)>-1}function Rn(t,e){return t.push.apply(t,hn(e)),t}function Be(t,e,n){t&&Ee(e,function(r){r&&t.classList[n?"add":"remove"](r)})}function xe(t,e){Be(t,Xe(e)?e.split(" "):e,!0)}function mn(t,e){Ee(e,t.appendChild.bind(t))}function Fr(t,e){Ee(t,function(n){var r=(e||n).parentNode;r&&r.insertBefore(n,e)})}
vendor: 3,039 bytes, line 7
7function tn(t,e){return ga(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function ya(t,e){var n=t?Ze(t.children):[];return e?n.filter(function(r){return tn(r,e)}):n}function vn(t,e){return e?ya(t,e)[0]:t.firstElementChild}var nn=Object.keys;function lt(t,e,n){return t&&(n?nn(t).reverse():nn(t)).forEach(function(r){r!=="__proto__"&&e(t[r],r)}),t}function rn(t){return Ze(arguments,1).forEach(function(e){lt(e,function(n,r){t[r]=e[r]})}),t}function Ke(t){return Ze(arguments,1).forEach(function(e){lt(e,function(n,r){Nr(n)?t[r]=n.slice():en(n)?t[r]=Ke({},en(t[r])?t[r]:{},n):t[r]=n})}),t}function fi(t,e){Ee(e||nn(t),function(n){delete t[n]})}function Ie(t,e){Ee(t,function(n){Ee(e,function(r){n&&n.removeAttribute(r)})})}function j(t,e,n){en(e)?lt(e,function(r,i){j(t,i,r)}):Ee(t,function(r){Rr(n)||n===""?Ie(r,e):r.setAttribute(e,String(n))})}function St(t,e,n){var r=document.createElement(t);return e&&(Xe(e)?xe(r,e):j(r,e)),n&&mn(n,r),r}function Se(t,e,n){if(pn(n))return getComputedStyle(t)[e];Rr(n)||(t.style[e]=""+n)}function an(t,e){Se(t,"display",e)}function ba(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function _e(t,e){return t.getAttribute(e)}function pi(t,e){return t&&t.classList.contains(e)}function ge(t){return t.getBoundingClientRect()}function ft(t){Ee(t,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function wa(t){return vn(new DOMParser().parseFromString(t,"text/html").body)}function Re(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ea(t,e){return t&&t.querySelector(e)}function Vr(t,e){return e?Ze(t.querySelectorAll(e)):[]}function Fe(t,e){Be(t,e,!1)}function Er(t){return t.timeStamp}function ot(t){return Xe(t)?t:t?t+"px":""}var gn="splide",qr="data-"+gn;function Gt(t,e){if(!t)throw new Error("["+gn+"] "+(e||""))}var Je=Math.min,jn=Math.max,Hn=Math.floor,on=Math.ceil,ce=Math.abs;function Aa(t,e,n){return ce(t-e)<n}function Bn(t,e,n,r){var i=Je(e,n),o=jn(e,n);return r?i<t&&t<o:i<=t&&t<=o}function wt(t,e,n){var r=Je(e,n),i=jn(e,n);return Je(jn(r,t),i)}function Ar(t){return+(t>0)-+(t<0)}function Tr(t,e){return Ee(e,function(n){t=t.replace("%s",""+n)}),t}function $r(t){return t<10?"0"+t:""+t}var hi={};function Go(t){return""+t+$r(hi[t]=(hi[t]||0)+1)}function Ta(){var t=[];function e(a,s,c,d){i(a,s,function(u,g,b){var m="addEventListener"in u,f=m?u.removeEventListener.bind(u,g,c,d):u.removeListener.bind(u,c);m?u.addEventListener(g,c,d):u.addListener(c),t.push([u,g,b,c,f])})}function n(a,s,c){i(a,s,function(d,u,g){t=t.filter(function(b){return b[0]===d&&b[1]===u&&b[2]===g&&(!c||b[3]===c)?(b[4](),!1):!0})})}function r(a,s,c){var d,u=!0;return typeof CustomEvent=="function"?d=new CustomEvent(s,{bubbles:u,detail:c}):(d=document.createEvent("CustomEvent"),d.initCustomEvent(s,u,!1,c)),a.dispatchEvent(d),d}function i(a,s,c){Ee(a,function(d){d&&Ee(s,function(u){u.split(" ").forEach(function(g){var b=g.split(".");c(d,b[0],b[1])})})})}function o(){t.forEach(function(a){a[4]()}),je(t)}return{bind:e,unbind:n,dispatch:r,destroy:o}}
vendor: 4,590 bytes, line 7
7var mt="mounted",mi="ready",Qe="move",yn="moved",Ca="click",zo="active",Yo="inactive",Ko="visible",Xo="hidden",re="refresh",de="updated",sn="resize",jr="resized",Jo="drag",Qo="dragging",Zo="dragged",Hr="scroll",Rt="scrolled",es="overflow",Sa="destroy",ts="arrows:mounted",ns="arrows:updated",rs="pagination:mounted",is="pagination:updated",_a="navigation:mounted",La="autoplay:play",as="autoplay:playing",ka="autoplay:pause",Oa="lazyload:loaded",Pa="sk",xa="sh",Un="ei";function te(t){var e=t?t.event.bus:document.createDocumentFragment(),n=Ta();function r(o,a){n.bind(e,hn(o).join(" "),function(s){a.apply(a,Nr(s.detail)?s.detail:[])})}function i(o){n.dispatch(e,o,Ze(arguments,1))}return t&&t.event.on(Sa,n.destroy),rn(n,{bus:e,on:r,off:J(n.unbind,e),emit:i})}function Xn(t,e,n,r){var i=Date.now,o,a=0,s,c=!0,d=0;function u(){if(!c){if(a=t?Je((i()-o)/t,1):1,n&&n(a),a>=1&&(e(),o=i(),r&&++d>=r))return b();s=di(u)}}function g(C){C||f(),o=i()-(C?a*t:0),c=!1,s=di(u)}function b(){c=!0}function m(){o=i(),a=0,n&&n(a)}function f(){s&&cancelAnimationFrame(s),a=0,s=0,c=!0}function p(C){t=C}function y(){return c}return{start:g,rewind:m,pause:b,cancel:f,set:p,isPaused:y}}function os(t){var e=t;function n(i){e=i}function r(i){return Br(hn(i),e)}return{set:n,is:r}}function ss(t,e){var n=Xn(0,t,null,1);return function(){n.isPaused()&&n.start()}}function cs(t,e,n){var r=t.state,i=n.breakpoints||{},o=n.reducedMotion||{},a=Ta(),s=[];function c(){var f=n.mediaQuery==="min";nn(i).sort(function(p,y){return f?+p-+y:+y-+p}).forEach(function(p){u(i[p],"("+(f?"min":"max")+"-width:"+p+"px)")}),u(o,ui),g()}function d(f){f&&a.destroy()}function u(f,p){var y=matchMedia(p);a.bind(y,"change",g),s.push([f,y])}function g(){var f=r.is($n),p=n.direction,y=s.reduce(function(C,v){return Ke(C,v[1].matches?v[0]:{})},{});fi(n),m(y),n.destroy?t.destroy(n.destroy==="completely"):f?(d(!0),t.mount()):p!==n.direction&&t.refresh()}function b(f){matchMedia(ui).matches&&(f?Ke(n,o):fi(n,nn(o)))}function m(f,p,y){Ke(n,f),p&&Ke(Object.getPrototypeOf(n),f),(y||!r.is(Tt))&&t.emit(de,n)}return{setup:c,destroy:d,reduce:b,set:m}}var Jn="Arrow",Qn=Jn+"Left",Zn=Jn+"Right",Ia=Jn+"Up",Ma=Jn+"Down",vi="rtl",er="ttb",ur={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ia,Zn],ArrowRight:[Ma,Qn]};function ls(t,e,n){function r(o,a,s){s=s||n.direction;var c=s===vi&&!a?1:s===er?0:-1;return ur[o]&&ur[o][c]||o.replace(/width|left|right/i,function(d,u){var g=ur[d.toLowerCase()][c]||d;return u>0?g.charAt(0).toUpperCase()+g.slice(1):g})}function i(o){return o*(n.direction===vi?1:-1)}return{resolve:r,orient:i}}var Ve="role",_t="tabindex",us="disabled",ke="aria-",bn=ke+"controls",Da=ke+"current",gi=ke+"selected",ye=ke+"label",Ur=ke+"labelledby",Na=ke+"hidden",Wr=ke+"orientation",cn=ke+"roledescription",yi=ke+"live",bi=ke+"busy",wi=ke+"atomic",Gr=[Ve,_t,us,bn,Da,ye,Ur,Na,Wr,cn],De=gn+"__",et="is-",dr=gn,Ei=De+"track",ds=De+"list",tr=De+"slide",Ra=tr+"--clone",fs=tr+"__container",zr=De+"arrows",nr=De+"arrow",Ba=nr+"--prev",Fa=nr+"--next",rr=De+"pagination",Va=rr+"__page",ps=De+"progress",hs=ps+"__bar",ms=De+"toggle",vs=De+"spinner",gs=De+"sr",ys=et+"initialized",pt=et+"active",qa=et+"prev",$a=et+"next",Cr=et+"visible",Sr=et+"loading",ja=et+"focus-in",Ha=et+"overflow",bs=[pt,Cr,qa,$a,Sr,ja,Ha],ws={slide:tr,clone:Ra,arrows:zr,arrow:nr,prev:Ba,next:Fa,pagination:rr,page:Va,spinner:vs};function Es(t,e){if(va(t.closest))return t.closest(e);for(var n=t;n&&n.nodeType===1&&!tn(n,e);)n=n.parentElement;return n}var As=5,Ai=200,Ua="touchstart mousedown",fr="touchmove mousemove",pr="touchend touchcancel mouseup click";function Ts(t,e,n){var r=te(t),i=r.on,o=r.bind,a=t.root,s=n.i18n,c={},d=[],u=[],g=[],b,m,f;function p(){h(),l(),v()}function y(){i(re,C),i(re,p),i(de,v),o(document,Ua+" keydown",function(T){f=T.type==="keydown"},{capture:!0}),o(a,"focusin",function(){Be(a,ja,!!f)})}function C(T){var S=Gr.concat("style");je(d),Fe(a,u),Fe(b,g),Ie([b,m],S),Ie(a,T?S:["style",cn])}function v(){Fe(a,u),Fe(b,g),u=w(dr),g=w(Ei),xe(a,u),xe(b,g),j(a,ye,n.label),j(a,Ur,n.labelledby)}function h(){b=E("."+Ei),m=vn(b,"."+ds),Gt(b&&m,"A track/list element is missing."),Rn(d,ya(m,"."+tr+":not(."+Ra+")")),lt({arrows:zr,pagination:rr,prev:Ba,next:Fa,bar:hs,toggle:ms},function(T,S){c[S]=E("."+T)}),rn(c,{root:a,track:b,list:m,slides:d})}function l(){var T=a.id||Go(gn),S=n.role;a.id=T,b.id=b.id||T+"-track",m.id=m.id||T+"-list",!_e(a,Ve)&&a.tagName!=="SECTION"&&S&&j(a,Ve,S),j(a,cn,s.carousel),j(m,Ve,"presentation")}function E(T){var S=Ea(a,T);return S&&Es(S,"."+dr)===a?S:void 0}
vendor: 13,587 bytes, line 7
7function w(T){return[T+"--"+n.type,T+"--"+n.direction,n.drag&&T+"--draggable",n.isNavigation&&T+"--nav",T===dr&&pt]}return rn(c,{setup:p,mount:y,destroy:C})}var Pt="slide",Bt="loop",wn="fade";function Cs(t,e,n,r){var i=te(t),o=i.on,a=i.emit,s=i.bind,c=t.Components,d=t.root,u=t.options,g=u.isNavigation,b=u.updateOnMove,m=u.i18n,f=u.pagination,p=u.slideFocus,y=c.Direction.resolve,C=_e(r,"style"),v=_e(r,ye),h=n>-1,l=vn(r,"."+fs),E;function w(){h||(r.id=d.id+"-slide"+$r(e+1),j(r,Ve,f?"tabpanel":"group"),j(r,cn,m.slide),j(r,ye,v||Tr(m.slideLabel,[e+1,t.length]))),T()}function T(){s(r,"click",J(a,Ca,D)),s(r,"keydown",J(a,Pa,D)),o([yn,xa,Rt],_),o(_a,I),b&&o(Qe,x)}function S(){E=!0,i.destroy(),Fe(r,bs),Ie(r,Gr),j(r,"style",C),j(r,ye,v||"")}function I(){var N=t.splides.map(function(O){var B=O.splide.Components.Slides.getAt(e);return B?B.slide.id:""}).join(" ");j(r,ye,Tr(m.slideX,(h?n:e)+1)),j(r,bn,N),j(r,Ve,p?"button":""),p&&Ie(r,cn)}function x(){E||_()}function _(){if(!E){var N=t.index;L(),k(),Be(r,qa,e===N-1),Be(r,$a,e===N+1)}}function L(){var N=V();N!==pi(r,pt)&&(Be(r,pt,N),j(r,Da,g&&N||""),a(N?zo:Yo,D))}function k(){var N=U(),O=!N&&(!V()||h);if(t.state.is([Nt,fn])||j(r,Na,O||""),j(Vr(r,u.focusableNodes||""),_t,O?-1:""),p&&j(r,_t,O?-1:0),N!==pi(r,Cr)&&(Be(r,Cr,N),a(N?Ko:Xo,D)),!N&&document.activeElement===r){var B=c.Slides.getAt(t.index);B&&ba(B.slide)}}function F(N,O,B){Se(B&&l||r,N,O)}function V(){var N=t.index;return N===e||u.cloneStatus&&N===n}function U(){if(t.is(wn))return V();var N=ge(c.Elements.track),O=ge(r),B=y("left",!0),$=y("right",!0);return Hn(N[B])<=on(O[B])&&Hn(O[$])<=on(N[$])}function H(N,O){var B=ce(N-e);return!h&&(u.rewind||t.is(Bt))&&(B=Je(B,t.length-B)),B<=O}var D={index:e,slideIndex:n,slide:r,container:l,isClone:h,mount:w,destroy:S,update:_,style:F,isWithin:H};return D}function Ss(t,e,n){var r=te(t),i=r.on,o=r.emit,a=r.bind,s=e.Elements,c=s.slides,d=s.list,u=[];function g(){b(),i(re,m),i(re,b)}function b(){c.forEach(function(_,L){p(_,L,-1)})}function m(){E(function(_){_.destroy()}),je(u)}function f(){E(function(_){_.update()})}function p(_,L,k){var F=Cs(t,L,k,_);F.mount(),u.push(F),u.sort(function(V,U){return V.index-U.index})}function y(_){return _?w(function(L){return!L.isClone}):u}function C(_){var L=e.Controller,k=L.toIndex(_),F=L.hasFocus()?1:n.perPage;return w(function(V){return Bn(V.index,k,k+F-1)})}function v(_){return w(_)[0]}function h(_,L){Ee(_,function(k){if(Xe(k)&&(k=wa(k)),ga(k)){var F=c[L];F?Fr(k,F):mn(d,k),xe(k,n.classes.slide),S(k,J(o,sn))}}),o(re)}function l(_){ft(w(_).map(function(L){return L.slide})),o(re)}function E(_,L){y(L).forEach(_)}function w(_){return u.filter(va(_)?_:function(L){return Xe(_)?tn(L.slide,_):Br(hn(_),L.index)})}function T(_,L,k){E(function(F){F.style(_,L,k)})}function S(_,L){var k=Vr(_,"img"),F=k.length;F?k.forEach(function(V){a(V,"load error",function(){--F||L()})}):L()}function I(_){return _?c.length:u.length}function x(){return u.length>n.perPage}return{mount:g,destroy:m,update:f,register:p,get:y,getIn:C,getAt:v,add:h,remove:l,forEach:E,filter:w,style:T,getLength:I,isEnough:x}}function _s(t,e,n){var r=te(t),i=r.on,o=r.bind,a=r.emit,s=e.Slides,c=e.Direction.resolve,d=e.Elements,u=d.root,g=d.track,b=d.list,m=s.getAt,f=s.style,p,y,C;function v(){h(),o(window,"resize load",ss(J(a,sn))),i([de,re],h),i(sn,l)}function h(){p=n.direction===er,Se(u,"maxWidth",ot(n.width)),Se(g,c("paddingLeft"),E(!1)),Se(g,c("paddingRight"),E(!0)),l(!0)}function l(D){var N=ge(u);(D||y.width!==N.width||y.height!==N.height)&&(Se(g,"height",w()),f(c("marginRight"),ot(n.gap)),f("width",S()),f("height",I(),!0),y=N,a(jr),C!==(C=H())&&(Be(u,Ha,C),a(es,C)))}function E(D){var N=n.padding,O=c(D?"right":"left");return N&&ot(N[O]||(en(N)?0:N))||"0px"}function w(){var D="";return p&&(D=T(),Gt(D,"height or heightRatio is missing."),D="calc("+D+" - "+E(!1)+" - "+E(!0)+")"),D}function T(){return ot(n.height||ge(b).width*n.heightRatio)}function S(){return n.autoWidth?null:ot(n.fixedWidth)||(p?"":x())}function I(){return ot(n.fixedHeight)||(p?n.autoHeight?null:x():T())}function x(){var D=ot(n.gap);return"calc((100%"+(D&&" + "+D)+")/"+(n.perPage||1)+(D&&" - "+D)+")"}function _(){return ge(b)[c("width")]}function L(D,N){var O=m(D||0);return O?ge(O.slide)[c("width")]+(N?0:V()):0}function k(D,N){var O=m(D);if(O){var B=ge(O.slide)[c("right")],$=ge(b)[c("left")];return ce(B-$)+(N?0:V())}return 0}function F(D){return k(t.length-1)-k(0)+L(0,D)}function V(){var D=m(0);return D&&parseFloat(Se(D.slide,c("marginRight")))||0}function U(D){return parseFloat(Se(g,c("padding"+(D?"Right":"Left"))))||0}function H(){return t.is(wn)||F(!0)>_()}return{mount:v,resize:l,listSize:_,slideSize:L,sliderSize:F,totalSize:k,getPadding:U,isOverflow:H}}var Ls=2;function ks(t,e,n){var r=te(t),i=r.on,o=e.Elements,a=e.Slides,s=e.Direction.resolve,c=[],d;function u(){i(re,g),i([de,sn],m),(d=y())&&(f(d),e.Layout.resize(!0))}function g(){b(),u()}function b(){ft(c),je(c),r.destroy()}function m(){var C=y();d!==C&&(d<C||!C)&&r.emit(re)}function f(C){var v=a.get().slice(),h=v.length;if(h){for(;v.length<C;)Rn(v,v);Rn(v.slice(-C),v.slice(0,C)).forEach(function(l,E){var w=E<C,T=p(l.slide,E);w?Fr(T,v[0].slide):mn(o.list,T),Rn(c,T),a.register(T,E-C+(w?0:h),l.index)})}}function p(C,v){var h=C.cloneNode(!0);return xe(h,n.classes.clone),h.id=t.root.id+"-clone"+$r(v+1),h}function y(){var C=n.clones;if(!t.is(Bt))C=0;else if(pn(C)){var v=n[s("fixedWidth")]&&e.Layout.slideSize(0),h=v&&on(ge(o.track)[s("width")]/v);C=h||n[s("autoWidth")]&&t.length||n.perPage*Ls}return C}return{mount:u,destroy:b}}function Os(t,e,n){var r=te(t),i=r.on,o=r.emit,a=t.state.set,s=e.Layout,c=s.slideSize,d=s.getPadding,u=s.totalSize,g=s.listSize,b=s.sliderSize,m=e.Direction,f=m.resolve,p=m.orient,y=e.Elements,C=y.list,v=y.track,h;function l(){h=e.Transition,i([mt,jr,de,re],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),T(t.index),e.Slides.update())}function w(O,B,$,Q){O!==B&&D(O>$)&&(_(),S(x(F(),O>$),!0)),a(Nt),o(Qe,B,$,O),h.start(B,function(){a(Ot),o(yn,B,$,O),Q&&Q()})}function T(O){S(k(O,!0))}function S(O,B){if(!t.is(wn)){var $=B?O:I(O);Se(C,"transform","translate"+f("X")+"("+$+"px)"),O!==$&&o(xa)}}function I(O){if(t.is(Bt)){var B=L(O),$=B>e.Controller.getEnd(),Q=B<0;(Q||$)&&(O=x(O,$))}return O}function x(O,B){var $=O-H(B),Q=b();return O-=p(Q*(on(ce($)/Q)||1))*(B?1:-1),O}function _(){S(F(),!0),h.cancel()}function L(O){for(var B=e.Slides.get(),$=0,Q=1/0,K=0;K<B.length;K++){var ne=B[K].index,P=ce(k(ne,!0)-O);if(P<=Q)Q=P,$=ne;else break}return $}function k(O,B){var $=p(u(O-1)-U(O));return B?V($):$}function F(){var O=f("left");return ge(C)[O]-ge(v)[O]+p(d(!1))}function V(O){return n.trimSpace&&t.is(Pt)&&(O=wt(O,0,p(b(!0)-g()))),O}function U(O){var B=n.focus;return B==="center"?(g()-c(O,!0))/2:+B*c(O)||0}function H(O){return k(O?e.Controller.getEnd():0,!!n.trimSpace)}function D(O){var B=p(x(F(),O));return O?B>=0:B<=C[f("scrollWidth")]-ge(v)[f("width")]}function N(O,B){B=pn(B)?F():B;var $=O!==!0&&p(B)<p(H(!1)),Q=O!==!1&&p(B)>p(H(!0));return $||Q}return{mount:l,move:w,jump:T,translate:S,shift:x,cancel:_,toIndex:L,toPosition:k,getPosition:F,getLimit:H,exceededLimit:N,reposition:E}}function Ps(t,e,n){var r=te(t),i=r.on,o=r.emit,a=e.Move,s=a.getPosition,c=a.getLimit,d=a.toPosition,u=e.Slides,g=u.isEnough,b=u.getLength,m=n.omitEnd,f=t.is(Bt),p=t.is(Pt),y=J(F,!1),C=J(F,!0),v=n.start||0,h,l=v,E,w,T;function S(){I(),i([de,re,Un],I),i(jr,x)}function I(){E=b(!0),w=n.perMove,T=n.perPage,h=D();var P=wt(v,0,m?h:E-1);P!==v&&(v=P,a.reposition())}function x(){h!==D()&&o(Un)}function _(P,W,Z){if(!ne()){var X=k(P),ee=H(X);ee>-1&&(W||ee!==v)&&($(ee),a.move(X,ee,l,Z))}}function L(P,W,Z,X){e.Scroll.scroll(P,W,Z,function(){var ee=H(a.toIndex(s()));$(m?Je(ee,h):ee),X&&X()})}function k(P){var W=v;if(Xe(P)){var Z=P.match(/([+\-<>])(\d+)?/)||[],X=Z[1],ee=Z[2];X==="+"||X==="-"?W=V(v+ +(""+X+(+ee||1)),v):X===">"?W=ee?N(+ee):y(!0):X==="<"&&(W=C(!0))}else W=f?P:wt(P,0,h);return W}function F(P,W){var Z=w||(K()?1:T),X=V(v+Z*(P?-1:1),v,!(w||K()));return X===-1&&p&&!Aa(s(),c(!P),1)?P?0:h:W?X:H(X)}function V(P,W,Z){if(g()||K()){var X=U(P);X!==P&&(W=P,P=X,Z=!1),P<0||P>h?!w&&(Bn(0,P,W,!0)||Bn(h,W,P,!0))?P=N(O(P)):f?P=Z?P<0?-(E%T||T):E:P:n.rewind?P=P<0?h:0:P=-1:Z&&P!==W&&(P=N(O(W)+(P<W?-1:1)))}else P=-1;return P}function U(P){if(p&&n.trimSpace==="move"&&P!==v)for(var W=s();W===d(P,!0)&&Bn(P,0,t.length-1,!n.rewind);)P<v?--P:++P;return P}function H(P){return f?(P+E)%E||0:P}function D(){for(var P=E-(K()||f&&w?1:T);m&&P-- >0;)if(d(E-1,!0)!==d(P,!0)){P++;break}return wt(P,0,E-1)}function N(P){return wt(K()?P:T*P,0,h)}function O(P){return K()?Je(P,h):Hn((P>=h?E-1:P)/T)}function B(P){var W=a.toIndex(P);return p?wt(W,0,h):W}function $(P){P!==v&&(l=v,v=P)}function Q(P){return P?l:v}function K(){return!pn(n.focus)||n.isNavigation}function ne(){return t.state.is([Nt,fn])&&!!n.waitForTransition}return{mount:S,go:_,scroll:L,getNext:y,getPrev:C,getAdjacent:F,getEnd:D,setIndex:$,getIndex:Q,toIndex:N,toPage:O,toDest:B,hasFocus:K,isBusy:ne}}var xs="http://www.w3.org/2000/svg",Is="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",In=40;function Ms(t,e,n){var r=te(t),i=r.on,o=r.bind,a=r.emit,s=n.classes,c=n.i18n,d=e.Elements,u=e.Controller,g=d.arrows,b=d.track,m=g,f=d.prev,p=d.next,y,C,v={};function h(){E(),i(de,l)}function l(){w(),h()}function E(){var L=n.arrows;L&&!(f&&p)&&I(),f&&p&&(rn(v,{prev:f,next:p}),an(m,L?"":"none"),xe(m,C=zr+"--"+n.direction),L&&(T(),_(),j([f,p],bn,b.id),a(ts,f,p)))}function w(){r.destroy(),Fe(m,C),y?(ft(g?[f,p]:m),f=p=null):Ie([f,p],Gr)}function T(){i([mt,yn,re,Rt,Un],_),o(p,"click",J(S,">")),o(f,"click",J(S,"<"))}function S(L){u.go(L,!0)}function I(){m=g||St("div",s.arrows),f=x(!0),p=x(!1),y=!0,mn(m,[f,p]),!g&&Fr(m,b)}function x(L){var k='<button class="'+s.arrow+" "+(L?s.prev:s.next)+'" type="button"><svg xmlns="'+xs+'" viewBox="0 0 '+In+" "+In+'" width="'+In+'" height="'+In+'" focusable="false"><path d="'+(n.arrowPath||Is)+'" />';return wa(k)}function _(){if(f&&p){var L=t.index,k=u.getPrev(),F=u.getNext(),V=k>-1&&L<k?c.last:c.prev,U=F>-1&&L>F?c.first:c.next;f.disabled=k<0,p.disabled=F<0,j(f,ye,V),j(p,ye,U),a(ns,f,p,k,F)}}return{arrows:v,mount:h,destroy:w,update:_}}var Ds=qr+"-interval";function Ns(t,e,n){var r=te(t),i=r.on,o=r.bind,a=r.emit,s=Xn(n.interval,t.go.bind(t,">"),T),c=s.isPaused,d=e.Elements,u=e.Elements,g=u.root,b=u.toggle,m=n.autoplay,f,p,y=m==="pause";function C(){m&&(v(),b&&j(b,bn,d.track.id),y||h(),w())}function v(){n.pauseOnHover&&o(g,"mouseenter mouseleave",function(I){f=I.type==="mouseenter",E()}),n.pauseOnFocus&&o(g,"focusin focusout",function(I){p=I.type==="focusin",E()}),b&&o(b,"click",function(){y?h():l(!0)}),i([Qe,Hr,re],s.rewind),i(Qe,S)}function h(){c()&&e.Slides.isEnough()&&(s.start(!n.resetProgress),p=f=y=!1,w(),a(La))}function l(I){I===void 0&&(I=!0),y=!!I,w(),c()||(s.pause(),a(ka))}function E(){y||(f||p?l(!1):h())}function w(){b&&(Be(b,pt,!y),j(b,ye,n.i18n[y?"play":"pause"]))}function T(I){var x=d.bar;x&&Se(x,"width",I*100+"%"),a(as,I)}function S(I){var x=e.Slides.getAt(I);s.set(x&&+_e(x.slide,Ds)||n.interval)}return{mount:C,destroy:s.cancel,play:h,pause:l,isPaused:c}}function Rs(t,e,n){var r=te(t),i=r.on;function o(){n.cover&&(i(Oa,J(s,!0)),i([mt,de,re],J(a,!0)))}function a(c){e.Slides.forEach(function(d){var u=vn(d.container||d.slide,"img");u&&u.src&&s(c,u,d)})}function s(c,d,u){u.style("background",c?'center/cover no-repeat url("'+d.src+'")':"",!0),an(d,c?"none":"")}return{mount:o,destroy:J(a,!1)}}var Bs=10,Fs=600,Vs=.6,qs=1.5,$s=800;function js(t,e,n){var r=te(t),i=r.on,o=r.emit,a=t.state.set,s=e.Move,c=s.getPosition,d=s.getLimit,u=s.exceededLimit,g=s.translate,b=t.is(Pt),m,f,p=1;function y(){i(Qe,l),i([de,re],E)}function C(T,S,I,x,_){var L=c();if(l(),I&&(!b||!u())){var k=e.Layout.sliderSize(),F=Ar(T)*k*Hn(ce(T)/k)||0;T=s.toPosition(e.Controller.toDest(T%k))+F}var V=Aa(L,T,1);p=1,S=V?0:S||jn(ce(T-L)/qs,$s),f=x,m=Xn(S,v,J(h,L,T,_),1),a(fn),o(Hr),m.start()}function v(){a(Ot),f&&f(),o(Rt)}function h(T,S,I,x){var _=c(),L=T+(S-T)*w(x),k=(L-_)*p;g(_+k),b&&!I&&u()&&(p*=Vs,ce(k)<Bs&&C(d(u(!0)),Fs,!1,f,!0))}function l(){m&&m.cancel()}function E(){m&&!m.isPaused()&&(l(),v())}function w(T){var S=n.easingFunc;return S?S(T):1-Math.pow(1-T,4)}return{mount:y,destroy:l,scroll:C,cancel:E}}var Et={passive:!1,capture:!0};function Hs(t,e,n){var r=te(t),i=r.on,o=r.emit,a=r.bind,s=r.unbind,c=t.state,d=e.Move,u=e.Scroll,g=e.Controller,b=e.Elements.track,m=e.Media.reduce,f=e.Direction,p=f.resolve,y=f.orient,C=d.getPosition,v=d.exceededLimit,h,l,E,w,T,S=!1,I,x,_;function L(){a(b,fr,wr,Et),a(b,pr,wr,Et),a(b,Ua,F,Et),a(b,"click",H,{capture:!0}),a(b,"dragstart",Re),i([mt,de],k)}function k(){var M=n.drag;nt(!M),w=M==="free"}function F(M){if(I=!1,!x){var z=ee(M);X(M.target)&&(z||!M.button)&&(g.isBusy()?Re(M,!0):(_=z?b:window,T=c.is([Nt,fn]),E=null,a(_,fr,V,Et),a(_,pr,U,Et),d.cancel(),u.cancel(),D(M)))}}function V(M){if(c.is(Nn)||(c.set(Nn),o(Jo)),M.cancelable)if(T){d.translate(h+Z(K(M)));var z=ne(M)>Ai,he=S!==(S=v());(z||he)&&D(M),I=!0,o(Qo),Re(M)}else B(M)&&(T=O(M),Re(M))}function U(M){c.is(Nn)&&(c.set(Ot),o(Zo)),T&&(N(M),Re(M)),s(_,fr,V),s(_,pr,U),T=!1}function H(M){!x&&I&&Re(M,!0)}function D(M){E=l,l=M,h=C()}function N(M){var z=$(M),he=Q(z),Ce=n.rewind&&n.rewindByDrag;m(!1),w?g.scroll(he,0,n.snap):t.is(wn)?g.go(y(Ar(z))<0?Ce?"<":"-":Ce?">":"+"):t.is(Pt)&&S&&Ce?g.go(v(!0)?">":"<"):g.go(g.toDest(he),!0),m(!0)}function O(M){var z=n.dragMinThreshold,he=en(z),Ce=he&&z.mouse||0,rt=(he?z.touch:+z)||10;return ce(K(M))>(ee(M)?rt:Ce)}function B(M){return ce(K(M))>ce(K(M,!0))}
vendor: 5,753 bytes, line 7
7function $(M){if(t.is(Bt)||!S){var z=ne(M);if(z&&z<Ai)return K(M)/z}return 0}function Q(M){return C()+Ar(M)*Je(ce(M)*(n.flickPower||600),w?1/0:e.Layout.listSize()*(n.flickMaxPages||1))}function K(M,z){return W(M,z)-W(P(M),z)}function ne(M){return Er(M)-Er(P(M))}function P(M){return l===M&&E||l}function W(M,z){return(ee(M)?M.changedTouches[0]:M)["page"+p(z?"Y":"X")]}function Z(M){return M/(S&&t.is(Pt)?As:1)}function X(M){var z=n.noDrag;return!tn(M,"."+Va+", ."+nr)&&(!z||!tn(M,z))}function ee(M){return typeof TouchEvent<"u"&&M instanceof TouchEvent}function Ge(){return T}function nt(M){x=M}return{mount:L,disable:nt,isDragging:Ge}}var Us={Spacebar:" ",Right:Zn,Left:Qn,Up:Ia,Down:Ma};function Yr(t){return t=Xe(t)?t:t.key,Us[t]||t}var Ti="keydown";function Ws(t,e,n){var r=te(t),i=r.on,o=r.bind,a=r.unbind,s=t.root,c=e.Direction.resolve,d,u;function g(){b(),i(de,m),i(de,b),i(Qe,p)}function b(){var C=n.keyboard;C&&(d=C==="global"?window:s,o(d,Ti,y))}function m(){a(d,Ti)}function f(C){u=C}function p(){var C=u;u=!0,ma(function(){u=C})}function y(C){if(!u){var v=Yr(C);v===c(Qn)?t.go("<"):v===c(Zn)&&t.go(">")}}return{mount:g,destroy:m,disable:f}}var zt=qr+"-lazy",Fn=zt+"-srcset",Gs="["+zt+"], ["+Fn+"]";function zs(t,e,n){var r=te(t),i=r.on,o=r.off,a=r.bind,s=r.emit,c=n.lazyLoad==="sequential",d=[yn,Rt],u=[];function g(){n.lazyLoad&&(b(),i(re,b))}function b(){je(u),m(),c?C():(o(d),i(d,f),f())}function m(){e.Slides.forEach(function(v){Vr(v.slide,Gs).forEach(function(h){var l=_e(h,zt),E=_e(h,Fn);if(l!==h.src||E!==h.srcset){var w=n.classes.spinner,T=h.parentElement,S=vn(T,"."+w)||St("span",w,T);u.push([h,v,S]),h.src||an(h,"none")}})})}function f(){u=u.filter(function(v){var h=n.perPage*((n.preloadPages||1)+1)-1;return v[1].isWithin(t.index,h)?p(v):!0}),u.length||o(d)}function p(v){var h=v[0];xe(v[1].slide,Sr),a(h,"load error",J(y,v)),j(h,"src",_e(h,zt)),j(h,"srcset",_e(h,Fn)),Ie(h,zt),Ie(h,Fn)}function y(v,h){var l=v[0],E=v[1];Fe(E.slide,Sr),h.type!=="error"&&(ft(v[2]),an(l,""),s(Oa,l,E),s(sn)),c&&C()}function C(){u.length&&p(u.shift())}return{mount:g,destroy:J(je,u),check:f}}function Ys(t,e,n){var r=te(t),i=r.on,o=r.emit,a=r.bind,s=e.Slides,c=e.Elements,d=e.Controller,u=d.hasFocus,g=d.getIndex,b=d.go,m=e.Direction.resolve,f=c.pagination,p=[],y,C;function v(){h(),i([de,re,Un],v);var x=n.pagination;f&&an(f,x?"":"none"),x&&(i([Qe,Hr,Rt],I),l(),I(),o(rs,{list:y,items:p},S(t.index)))}function h(){y&&(ft(f?Ze(y.children):y),Fe(y,C),je(p),y=null),r.destroy()}function l(){var x=t.length,_=n.classes,L=n.i18n,k=n.perPage,F=u()?d.getEnd()+1:on(x/k);y=f||St("ul",_.pagination,c.track.parentElement),xe(y,C=rr+"--"+T()),j(y,Ve,"tablist"),j(y,ye,L.select),j(y,Wr,T()===er?"vertical":"");for(var V=0;V<F;V++){var U=St("li",null,y),H=St("button",{class:_.page,type:"button"},U),D=s.getIn(V).map(function(O){return O.slide.id}),N=!u()&&k>1?L.pageX:L.slideX;a(H,"click",J(E,V)),n.paginationKeyboard&&a(H,"keydown",J(w,V)),j(U,Ve,"presentation"),j(H,Ve,"tab"),j(H,bn,D.join(" ")),j(H,ye,Tr(N,V+1)),j(H,_t,-1),p.push({li:U,button:H,page:V})}}function E(x){b(">"+x,!0)}function w(x,_){var L=p.length,k=Yr(_),F=T(),V=-1;k===m(Zn,!1,F)?V=++x%L:k===m(Qn,!1,F)?V=(--x+L)%L:k==="Home"?V=0:k==="End"&&(V=L-1);var U=p[V];U&&(ba(U.button),b(">"+V),Re(_,!0))}function T(){return n.paginationDirection||n.direction}function S(x){return p[d.toPage(x)]}function I(){var x=S(g(!0)),_=S(g());if(x){var L=x.button;Fe(L,pt),Ie(L,gi),j(L,_t,-1)}if(_){var k=_.button;xe(k,pt),j(k,gi,!0),j(k,_t,"")}o(is,{list:y,items:p},x,_)}return{items:p,mount:v,destroy:h,getAt:S,update:I}}var Ks=[" ","Enter"];function Xs(t,e,n){var r=n.isNavigation,i=n.slideFocus,o=[];function a(){t.splides.forEach(function(f){f.isParent||(d(t,f.splide),d(f.splide,t))}),r&&u()}function s(){o.forEach(function(f){f.destroy()}),je(o)}function c(){s(),a()}function d(f,p){var y=te(f);y.on(Qe,function(C,v,h){p.go(p.is(Bt)?h:C)}),o.push(y)}function u(){var f=te(t),p=f.on;p(Ca,b),p(Pa,m),p([mt,de],g),o.push(f),f.emit(_a,t.splides)}function g(){j(e.Elements.list,Wr,n.direction===er?"vertical":"")}function b(f){t.go(f.index)}function m(f,p){Br(Ks,Yr(p))&&(b(f),Re(p))}return{setup:J(e.Media.set,{slideFocus:pn(i)?r:i},!0),mount:a,destroy:s,remount:c}}function Js(t,e,n){var r=te(t),i=r.bind,o=0;function a(){n.wheel&&i(e.Elements.track,"wheel",s,Et)}function s(d){if(d.cancelable){var u=d.deltaY,g=u<0,b=Er(d),m=n.wheelMinThreshold||0,f=n.wheelSleep||0;ce(u)>m&&b-o>f&&(t.go(g?"<":">"),o=b),c(g)&&Re(d)}}function c(d){return!n.releaseWheel||t.state.is(Nt)||e.Controller.getAdjacent(d)!==-1}return{mount:a}}var Qs=90;function Zs(t,e,n){var r=te(t),i=r.on,o=e.Elements.track,a=n.live&&!n.isNavigation,s=St("span",gs),c=Xn(Qs,J(u,!1));function d(){a&&(b(!e.Autoplay.isPaused()),j(o,wi,!0),s.textContent="…",i(La,J(b,!0)),i(ka,J(b,!1)),i([yn,Rt],J(u,!0)))}function u(m){j(o,bi,m),m?(mn(o,s),c.start()):(ft(s),c.cancel())}function g(){Ie(o,[yi,wi,bi]),ft(s)}function b(m){a&&j(o,yi,m?"off":"polite")}return{mount:d,disable:b,destroy:g}}var ec=Object.freeze({__proto__:null,Media:cs,Direction:ls,Elements:Ts,Slides:Ss,Layout:_s,Clones:ks,Move:Os,Controller:Ps,Arrows:Ms,Autoplay:Ns,Cover:Rs,Scroll:js,Drag:Hs,Keyboard:Ws,LazyLoad:zs,Pagination:Ys,Sync:Xs,Wheel:Js,Live:Zs}),tc={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},nc={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
7:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:ws,i18n:tc,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function rc(t,e,n){var r=e.Slides;function i(){te(t).on([mt,re],o)}function o(){r.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}function a(s,c){r.style("transition","opacity "+n.speed+"ms "+n.easing),ma(c)}return{mount:i,start:a,cancel:wr}}function ic(t,e,n){var r=e.Move,i=e.Controller,o=e.Scroll,a=e.Elements.list,s=J(Se,a,"transition"),c;function d(){te(t).bind(a,"transitionend",function(m){m.target===a&&c&&(g(),c())})}function u(m,f){var p=r.toPosition(m,!0),y=r.getPosition(),C=b(m);ce(p-y)>=1&&C>=1?n.useScroll?o.scroll(p,C,!1,f):(s("transform "+C+"ms "+n.easing),r.translate(p,!0),c=f):(r.jump(m),f())}function g(){s(""),o.cancel()}function b(m){var f=n.rewindSpeed;if(t.is(Pt)&&f){var p=i.getIndex(!0),y=i.getEnd();if(p===0&&m>=y||p>=y&&m===0)return f}return n.speed}return{mount:d,start:u,cancel:g}}var ac=function(){function t(n,r){this.event=te(),this.Components={},this.state=os(Tt),this.splides=[],this._o={},this._E={};var i=Xe(n)?Ea(document,n):n;Gt(i,i+" is invalid."),this.root=i,r=Ke({label:_e(i,ye)||"",labelledby:_e(i,Ur)||""},nc,t.defaults,r||{});try{Ke(r,JSON.parse(_e(i,qr)))}catch{Gt(!1,"Invalid JSON")}this._o=Object.create(Ke({},r))}var e=t.prototype;return e.mount=function(r,i){var o=this,a=this.state,s=this.Components;Gt(a.is([Tt,$n]),"Already mounted!"),a.set(Tt),this._C=s,this._T=i||this._T||(this.is(wn)?rc:ic),this._E=r||this._E;var c=rn({},ec,this._E,{Transition:this._T});return lt(c,function(d,u){var g=d(o,s,o._o);s[u]=g,g.setup&&g.setup()}),lt(s,function(d){d.mount&&d.mount()}),this.emit(mt),xe(this.root,ys),a.set(Ot),this.emit(mi),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Ot)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,i){return this.event.on(r,i),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var i;return(i=this.event).emit.apply(i,[r].concat(Ze(arguments,1))),this},e.add=function(r,i){return this._C.Slides.add(r,i),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(re),this},e.destroy=function(r){r===void 0&&(r=!0);var i=this.event,o=this.state;return o.is(Tt)?te(this).on(mi,this.destroy.bind(this,r)):(lt(this._C,function(a){a.destroy&&a.destroy(r)},!0),i.emit(Sa),i.destroy(),r&&je(this.splides),o.set($n)),this},Ho(t,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),t}(),ln=ac;ln.defaults={};ln.STATES=Wo;class oc{constructor(){this.initAccordionSets(),this.initStandaloneAccordions(),this.initImageAccordionSets()}initAccordionSets(){Array.from(document.querySelectorAll("[data-accordion-set]")).forEach(n=>{if(n.hasAttribute("data-image-swap"))return;const r=Array.from(n.querySelectorAll("[data-accordion]"));let i=0,o,a=!1,s=!1;const c=4e3,d=n.hasAttribute("data-auto-switch"),u=m=>{if(m<0||m>=r.length)return;const f=r[m],y=f.querySelector("[data-accordion-header]").nextElementSibling;r.forEach(C=>{if(C!==f){C.classList.remove("accordion--active");const v=C.querySelector("[data-accordion-header]").nextElementSibling;v.style.maxHeight=null}}),f.classList.add("accordion--active"),y.style.maxHeight=y.scrollHeight+"px",i=m},g=()=>{a||s||r.length<=1||!d||(o=setInterval(()=>{if(!a&&!s){const m=(i+1)%r.length;u(m)}},c))},b=()=>{o&&(clearInterval(o),o=null)};if(r.length>0){const m=r[0],f=m.querySelector("[data-accordion-header]").nextElementSibling;m.classList.add("accordion--active"),f.style.maxHeight=f.scrollHeight+"px"}r.forEach((m,f)=>{const p=m.querySelector("[data-accordion-header]");p&&p.addEventListener("click",y=>{a=!0,b(),u(f)})}),d&&(n.addEventListener("mouseenter",()=>{s=!0,b()}),n.addEventListener("mouseleave",()=>{s=!1,a||g()})),d&&setTimeout(()=>{!a&&!s&&r.length>1&&g()},2e3)})}initStandaloneAccordions(){Array.from(document.querySelectorAll("[data-accordion]")).filter(r=>
7!r.closest("[data-accordion-set]")).forEach(r=>{const i=r.querySelector("[data-accordion-header]");i&&i.addEventListener("click",o=>{const a=o.currentTarget.closest("[data-accordion]");a.classList.toggle("accordion--active");const s=i.nextElementSibling;a.classList.contains("accordion--active")?s.style.maxHeight=s.scrollHeight+"px":s.style.maxHeight=null})})}initImageAccordionSets(){Array.from(document.querySelectorAll("[data-accordion-set][data-image-swap]")).forEach(n=>{const r=Array.from(n.querySelectorAll("[data-accordion]")),i=n.closest(".v2-block-features-ping-pong__row"),o=i?i.querySelector("[data-image-container]"):null;if(!o)return;let a=0,s,c=!1,d=!1;const u=4e3,g=n.hasAttribute("data-auto-switch"),b=p=>{if(p<0||p>=r.length)return;const y=r[p],v=y.querySelector("[data-accordion-header]").nextElementSibling;r.forEach(h=>{if(h!==y){h.classList.remove("accordion--active");const l=h.querySelector("[data-accordion-header]").nextElementSibling;l.style.maxHeight=null}}),y.classList.add("accordion--active"),v.style.maxHeight=v.scrollHeight+"px",this.swapImage(y,o),a=p},m=()=>{c||d||r.length<=1||!g||(s=setInterval(()=>{if(!c&&!d){const p=(a+1)%r.length;b(p)}},u))},f=()=>{s&&(clearInterval(s),s=null)};if(r.length>0){const p=r[0],y=p.querySelector("[data-accordion-header]").nextElementSibling;p.classList.add("accordion--active"),y.style.maxHeight=y.scrollHeight+"px",this.swapImage(p,o)}r.forEach((p,y)=>{const C=p.querySelector("[data-accordion-header]");C&&C.addEventListener("click",v=>{c=!0,f(),b(y)})}),i&&g&&(i.addEventListener("mouseenter",()=>{d=!0,f()}),i.addEventListener("mouseleave",()=>{d=!1,c||m()})),g&&setTimeout(()=>{!c&&!d&&r.length>1&&m()},2e3)})}swapImage(e,n){const r=e.getAttribute("data-image-id"),i=e.getAttribute("data-image-url"),o=e.getAttribute("data-image-alt");if(!r||!i)return;let a=n.querySelector("img");a||(a=document.createElement("img"),a.style.transition="opacity 0.3s ease-in-out",a.style.opacity="1",n.appendChild(a)),a.getAttribute("data-accordion-image")!==r&&(a.style.opacity="0",setTimeout(()=>{a.src=i,a.alt=o||"",a.setAttribute("data-accordion-image",r),a.style.opacity="1"},150))}}if(typeof window<"u"){var Ci={get passive(){}};window.addEventListener("testPassive",null,Ci),window.removeEventListener("testPassive",null,Ci)}var Wa=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Yt=[],sc=function(){Wa&&Yt.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),Yt=[]},cc=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}Yt=Yt.filter(function(n){return n.targetElement!==e}),Wa?(e.ontouchstart=null,e.ontouchmove=null):Yt.length};class lc{constructor(){if(this.mobileMenuToggle=document.getElementById("menuToggle"),this.navContainer=document.getElementById("siteNavigationContainer"),!(!this.navContainer||typeof this.mobileMenuToggle>"u")){if(this.submenuToggles=Array.from(this.navContainer.querySelectorAll(".main-menu__item--depth-0.menu-item-has-children > .menu-item__interior")),this.submenuOpenClass="submenu-open",this.dropdownMenuClass="main-menu__dropdown",this.menuOpenclass="nav-open",this.menuEvents={submenuExpand:new Event("submenu-expand",{bubbles:!0}),submenuCollapse:new Event("submenu-collapse",{bubbles:!0}),mobileMenuOpen:new Event("mobile-menu-open",{bubbles:!0}),mobileMenuClose:new Event("mobile-menu-closed",{bubbles:!0})},this.menuItemDescriptions=Array.from(this.navContainer.querySelectorAll(".menu-item__description")),typeof this.navContainer>"u"){this.mobileMenuToggle.style.display="none";return}this.mobileMenuToggle.classList.remove("visually-hidden"),this.mobileMenuToggle.onclick=()=>{this.toggleMobileMenu(this.mobileMenuToggle)},this.submenuToggles.forEach(e=>{e.addEventListener("click",this,!1);const n=e.querySelector(`.${this.dropdownMenuClass}`);n&&n.setAttribute("aria-expanded","false")}),this.isDesktopMediaQuery=window.matchMedia("(min-width: 1200px)"),this.isDesktopMediaQuery.addEventListener("change",this,!1),this.ariaExpandedManager(this.isDesktopMediaQuery),this.menuItemDescriptions.forEach(e
7=>{e.addEventListener("click",this.checkForSiblingLinks,!1)})}}checkForSiblingLinks(e){Array.from(e.target.parentNode.children).forEach(r=>{r.classList.contains("menu-item__interior")&&r.hasAttribute("href")&&r.click()})}ariaExpandedManager(e){this.navContainer.setAttribute("aria-expanded",e.matches.toString())}handleEvent(e){switch(e.type){case"change":this.ariaExpandedManager(e);break;case"click":this.submenuControl(e);break;case"keydown":this.keyPressed(e);break;case"resize":this.calculateCssVarForVh(),this.closeAllSubmenus(),this.closeMobileMenu();break}}submenuControl(e){const n=document.querySelector(`.${this.submenuOpenClass}`);if(window===e.currentTarget){n.contains(e.target)||this.closeAllSubmenus();return}const r=e.currentTarget.parentNode;if(n){r===n?this.closeAllSubmenus():(this.closeAllSubmenus(),this.openSubmenu(r));return}this.openSubmenu(r)}openSubmenu(e=null){if(!e)return;e.classList.add(this.submenuOpenClass),e.dispatchEvent(this.menuEvents.submenuExpand),window.addEventListener("resize",this,!0),window.addEventListener("click",this,!0),window.addEventListener("keydown",this,!0);const n=e.querySelector(`.${this.dropdownMenuClass}`);n&&n.setAttribute("aria-expanded","true")}closeAllSubmenus(e=null){this.submenuToggles.forEach(n=>{const r=n.parentNode;if(e!==r&&r.classList.contains(this.submenuOpenClass)){r.dispatchEvent(this.menuEvents.submenuCollapse),r.classList.remove(this.submenuOpenClass);const i=r.querySelector(`.${this.dropdownMenuClass}`);i&&i.setAttribute("aria-expanded","false")}}),window.removeEventListener("resize",this,!0),window.removeEventListener("click",this,!0),window.removeEventListener("keydown",this,!0)}toggleMobileMenu(e){document.body.classList.contains(this.menuOpenclass)?(this.closeMobileMenu(),e.dispatchEvent(this.menuEvents.mobileMenuClose)):(this.openMobileMenu(),e.dispatchEvent(this.menuEvents.mobileMenuOpen))}keyPressed(e){e.key==="Escape"&&(this.toggleMobileMenu(e.currentTarget),this.closeAllSubmenus())}closeMobileMenu(){document.body.classList.remove(this.menuOpenclass),this.mobileMenuToggle.setAttribute("aria-expanded","false"),this.navContainer.setAttribute("aria-expanded","false"),this.closeAllSubmenus(),document.removeEventListener("keydown",this,!0),window.removeEventListener("resize",this,!0),window.focus(),sc()}openMobileMenu(){cc(this.navContainer),this.calculateCssVarForVh(),this.navContainer.scrollTop=0,document.body.classList.add(this.menuOpenclass),this.mobileMenuToggle.setAttribute("aria-expanded","true"),this.navContainer.setAttribute("aria-expanded","true"),document.addEventListener("keydown",this,!0),window.addEventListener("resize",this,!0),this.navContainer.focus()}calculateCssVarForVh(){const e=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${e}px`)}}function uc(){const t=(e="")=>`
8    <div class="hbspt-form__skeleton-field">
9      <span class="hbspt-form__skeleton-bar hbspt-form__skeleton-label"></span>
10      <span class="hbspt-form__skeleton-bar hbspt-form__skeleton-input${e}"></span>
11    </div>`;return`
12    <div class="hbspt-form__skeleton" aria-hidden="true">
13      <span class="hbspt-form__skeleton-bar hbspt-form__skeleton-heading"></span>
14      <div class="hbspt-form__skeleton-row">${t()}${t()}</div>
15      <div class="hbspt-form__skeleton-row">${t()}${t()}</div>
16      ${t(" hbspt-form__skeleton-input--textarea")}
17      <span class="hbspt-form__skeleton-bar hbspt-form__skeleton-legal"></span>
18      <span class="hbspt-form__skeleton-bar hbspt-form__skeleton-button"></span>
19    </div>
20  `}class dc{constructor(){this.overlay=document.querySelector("#modalOverlay"),this.cookieManager=new ha,this.modalTriggers=Array.from(document.querySelectorAll(".modal__trigger")),this.closeTriggers=null,this.modalCTA=null,this.modalVideo=null,this.modalAudio=null,this.modalForm=null,this.modal=null,this.urlParams=new URLSearchParams(window.location.search),this.modalIsOpen=null,this.modalWillOpen=null}init(){this.overlay&&this.modalTriggers.forEach(e=>{const n=e.getAttribute("data-modal"),r=document.querySelector("#"+n);r&&(e.addEventListener("click",()=>{this.openModal(r)}
20),this.modalWillOpen||this.urlParams.has("modal-open")&&this.urlParams.getAll("modal-open").map(o=>o.toLowerCase()).indexOf(r.id.toLowerCase())>=0&&(this.modalWillOpen=r,r.dataset.trackNonInteraction=1,this.openModal(r)))})}handleEvent(e){switch(e.type){case"keydown":e.key==="Escape"&&this.closeModal();break;case"ended":this.closeModal();break;case"touchstart":case"click":e.currentTarget.target!=="_blank"&&e.preventDefault(),this.closeModal();break}}setModalOpts(e){this.modal=e,this.closeTriggers=this.modal.querySelectorAll("[data-modal-close]"),this.modalCTA=this.modal.querySelector(".modal__single-cta"),this.modalVideo=this.modal.getElementsByTagName("video")[0],this.modalForm=this.modal.querySelector(".hbspt-form"),this.modalIsOpen=!0}clearModalOpts(){this.modal=null,this.closeTriggers=null,this.modalCTA=null,this.modalVideo=null,this.modalForm=null,this.modalIsOpen=null}modalOpenSegmentEvent(){analytics.ready(()=>{const e=this.modal.dataset,n=e.trackAction.toUpperCase(),r=Object.assign({},trackingDetails.trackCategory?{category:trackingDetails.trackCategory.toLowerCase()}:null,e.trackLabel?{label:e.trackLabel.toLowerCase()}:null,e.trackValue?{value:e.trackValue.toLowerCase()}:null,e.trackNonInteraction?{nonInteraction:1}:null);analytics.track(n,r)})}handleForm(){const e=this.modalForm.dataset.hsformPortalId,n=this.modalForm.dataset.hsformFormId;if(!e||!n)return;const r=this.modalForm.dataset.hsformInlineMessage,i=this.modalForm.dataset.hsformHeaderContent,o=this.modalForm.dataset.hsformClass,a=this.modal.getAttribute("data-track-label"),s="WEBSITE_LAUNCH-CAMPAIGN",c=this.modalForm.dataset.hsformSubmitEvent,d=this.modalForm.dataset.hsformHideFields,u=this.modalForm.dataset.hsformPrefillFields,g=u?JSON.parse(u):null,b=Object.assign({},{portalId:e},{formId:n},{target:`#hsFormInner-${this.modal.id}`},r?{inlineMessage:ci.decode(r)}:null,o?{cssClass:ci.decode(o)}:null,{eventLabel:a},{eventAction:s},{eventExtraAction:c},i?{title:i}:null,d?{hideFields:JSON.parse(d)}:null,g?{prefillFields:g}:null);this.modalForm.innerHTML=uc(),Bo(b)}openModal(e){this.modalIsOpen!==!0&&(this.setModalOpts(e),this.modal.classList.add("modal-visible"),document.body.classList.add("modal-opened"),document.body.addEventListener("keydown",this,!1),this.overlay.classList.add("modal-overlay-visible"),this.overlay.addEventListener("click",this,!1),this.closeTriggers.forEach(n=>{n.addEventListener("click",this,!1)}),this.modalVideo&&(this.modalVideo.play(),this.modalVideo.addEventListener("ended",this,!1)),this.modal.hasAttribute("data-track-action")&&this.modalOpenSegmentEvent(),this.modalForm&&this.handleForm())}closeModal(){this.modal.classList.remove("modal-visible"),document.body.classList.remove("modal-opened"),document.body.removeEventListener("keydown",this,!1),this.overlay.classList.remove("modal-overlay-visible"),this.overlay.removeEventListener("click",this,!1),this.closeTriggers.forEach(e=>{e.removeEventListener("click",this,!1)}),this.modalVideo&&(this.modalVideo.pause(),this.modalVideo.currentTime=0,this.modalVideo.removeEventListener("ended",this,!1)),this.modal.classList.contains("modal-dismissable")&&this.cookieManager.setCookie(this.modal.id,"dismissed",5),this.modalForm&&(this.modalForm.innerHTML=""),this.clearModalOpts()}}function Si(t,e,n){const r=t.currentTarget,i=t.type==="click"&&r.hasAttribute("href")&&!("popup"in r.dataset)&&r.getAttribute("target")!=="_blank"&&!(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey);i&&t.preventDefault(),analytics.track(e,n),i&&setTimeout(()=>{window.location=r.href,document.activeElement.blur()},300)}/*! @vimeo/player v2.30.4 | (c) 2026 Vimeo | MIT License | https://github.com/vimeo/player.js */const fc=typeof global<"u"&&{}.toString.call(global)==="[object global]",pc=typeof Bun<"u",hc=typeof Deno<"u",mc=typeof WebSocketPair=="function"&&typeof(caches==null?void 0:caches.default)<"u",Ga=fc||pc||hc||mc;function _i(t,e){return t.indexOf(e.toLowerCase())===0?t:`${e.toLowerCase()}${t.substr(0,1).toUpperCase()}${t.substr(1)}`}function vc(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function gc(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function qe(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function za(t){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(t)}function yc(t){const e=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(e&&e[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const i of r)if(n.endsWith(i))return n;return"vimeo.com"}function Ya(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=t.id,n=t.url,r=e||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(gc(r))return`https://vimeo.com/${r}`;if(qe(r))return r.replace("http:","https:");throw e?new TypeError(`“${e}” is not a valid video id.`):new TypeError(`“${r}” is not a vimeo.com url.`)}const Li=function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener";const o=typeof e=="string"?[e]:e;return o.forEach(a=>{t[r](a,n)}),{cancel:()=>
20o.forEach(a=>t[i](a,n))}};function ir(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!t||!e||typeof e.querySelectorAll!="function")return null;const n=e.querySelectorAll("iframe");for(let r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===t)return n[r];return null}const bc=typeof Array.prototype.indexOf<"u",wc=typeof window<"u"&&typeof window.postMessage<"u";if(!Ga&&(!bc||!wc))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ec(t,e){return e={exports:{}},t(e,e.exports),e.exports}/*!
21 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
22 * https://github.com/polygonplanet/weakmap-polyfill
23 * Copyright (c) 2015-2021 polygonplanet <[email protected]>
24 * @license MIT
25 */(function(t){if(t.WeakMap)return;var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(o,a,s){n?Object.defineProperty(o,a,{configurable:!0,writable:!0,value:s}):o[a]=s};t.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(o.prototype,"delete",function(d){if(a(this,"delete"),!i(d))return!1;var u=d[this._id];return u&&u[0]===d?(delete d[this._id],!0):!1}),r(o.prototype,"get",function(d){if(a(this,"get"),!!i(d)){var u=d[this._id];if(u&&u[0]===d)return u[1]}}),r(o.prototype,"has",function(d){if(a(this,"has"),!i(d))return!1;var u=d[this._id];return!!(u&&u[0]===d)}),r(o.prototype,"set",function(d,u){if(a(this,"set"),!i(d))throw new TypeError("Invalid value used as weak map key");var g=d[this._id];return g&&g[0]===d?(g[1]=u,this):(r(d,this._id,[d,u]),this)});function a(d,u){if(!i(d)||!e.call(d,"_id"))throw new TypeError(u+" method called on incompatible receiver "+typeof d)}function s(d){return d+"_"+c()+"."+c()}function c(){return Math.random().toString().substring(2)}return r(o,"_polyfill",!0),o}();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Lt);var ve=Ec(function(t){/*! Native Promise Only
26    v0.8.1 (c) Kyle Simpson
27    MIT License: http://getify.mit-license.org
28*/(function(n,r,i){r[n]=r[n]||i(),t.exports&&(t.exports=r[n])})("Promise",Lt,function(){var n,r,i,o=Object.prototype.toString,a=typeof setImmediate<"u"?function(h){return setImmediate(h)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(h,l,E,w){return Object.defineProperty(h,l,{value:E,writable:!0,configurable:w!==!1})}}catch{n=function(l,E,w){return l[E]=w,l}}i=function(){var h,l,E;function w(T,S){this.fn=T,this.self=S,this.next=void 0}return{add:function(S,I){E=new w(S,I),l?l.next=E:h=E,l=E,E=void 0},drain:function(){var S=h;for(h=l=r=void 0;S;)S.fn.call(S.self),S=S.next}}}();function s(v,h){i.add(v,h),r||(r=a(i.drain))}function c(v){var h,l=typeof v;return v!=null&&(l=="object"||l=="function")&&(h=v.then),typeof h=="function"?h:!1}function d(){for(var v=0;v<this.chain.length;v++)u(this,this.state===1?this.chain[v].success:this.chain[v].failure,this.chain[v]);this.chain.length=0}function u(v,h,l){var E,w;try{h===!1?l.reject(v.msg):(h===!0?E=v.msg:E=h.call(void 0,v.msg),E===l.promise?l.reject(TypeError("Promise-chain cycle")):(w=c(E))?w.call(E,l.resolve,l.reject):l.resolve(E))}catch(T){l.reject(T)}}function g(v){var h,l=this;if(!l.triggered){l.triggered=!0,l.def&&(l=l.def);try{(h=c(v))?s(function(){var E=new f(l);try{h.call(v,function(){g.apply(E,arguments)},function(){b.apply(E,arguments)})}catch(w){b.call(E,w)}}):(l.msg=v,l.state=1,l.chain.length>0&&s(d,l))}catch(E){b.call(new f(l),E)}}}function b(v){var h=this;h.triggered||(h.triggered=!0,h.def&&(h=h.def),h.msg=v,h.state=2,h.chain.length>0&&s(d,h))}function m(v,h,l,E){for(var w=0;w<h.length;w++)(function(S){v.resolve(h[S]).then(function(x){l(S,x)},E)})(w)}function f(v){this.def=v,this.triggered=!1}function p(v){this.promise=v,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function y(v){if(typeof v!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var h=new p(this);this.then=function(E,w){var T={success:typeof E=="function"?E:!0,failure:typeof w=="function"?w:!1};return T.promise=new this.constructor(function(I,x){if(typeof I!="function"||typeof x!="function")throw TypeError("Not a function");T.resolve=I,T.reject=x}),h.chain.push(T),h.state!==0&&s(d,h),T.promise},this.catch=function(E){return this.then(void 0,E)};try{v.call(void 0,function(E){g.call(h,E)},function(E){b.call(h,E)})}catch(l){b.call(h,l)}}var C=n({},"constructor",y,!1);return y.prototype=C,n(C,"__NPO__",0,!1),n(y,"resolve",function(h){var l=this;return h&&typeof h=="object"&&h.__NPO__===1?h:new l(function(w,T){if(typeof w!="function"||typeof T!="function")throw TypeError("Not a function");w(h)})}
28),n(y,"reject",function(h){return new this(function(E,w){if(typeof E!="function"||typeof w!="function")throw TypeError("Not a function");w(h)})}),n(y,"all",function(h){var l=this;return o.call(h)!="[object Array]"?l.reject(TypeError("Not an array")):h.length===0?l.resolve([]):new l(function(w,T){if(typeof w!="function"||typeof T!="function")throw TypeError("Not a function");var S=h.length,I=Array(S),x=0;m(l,h,function(L,k){I[L]=k,++x===S&&w(I)},T)})}),n(y,"race",function(h){var l=this;return o.call(h)!="[object Array]"?l.reject(TypeError("Not an array")):new l(function(w,T){if(typeof w!="function"||typeof T!="function")throw TypeError("Not a function");m(l,h,function(I,x){w(x)},T)})}),y})});const $e=new WeakMap;function $t(t,e,n){const r=$e.get(t.element)||{};e in r||(r[e]=[]),r[e].push(n),$e.set(t.element,r)}function Wn(t,e){return($e.get(t.element)||{})[e]||[]}function Gn(t,e,n){const r=$e.get(t.element)||{};if(!r[e])return!0;if(!n)return r[e]=[],$e.set(t.element,r),!0;const i=r[e].indexOf(n);return i!==-1&&r[e].splice(i,1),$e.set(t.element,r),r[e]&&r[e].length===0}function Ac(t,e){const n=Wn(t,e);if(n.length<1)return!1;const r=n.shift();return Gn(t,e,r),r}function Tc(t,e){const n=$e.get(t);$e.set(e,n),$e.delete(t)}function En(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(e){return console.warn(e),{}}return t}function st(t,e,n){if(!t.element.contentWindow||!t.element.contentWindow.postMessage)return;let r={method:e};n!==void 0&&(r.value=n);const i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),t.element.contentWindow.postMessage(r,t.origin)}function Cc(t,e){e=En(e);let n=[],r;if(e.event)e.event==="error"&&Wn(t,e.data.method).forEach(o=>{const a=new Error(e.data.message);a.name=e.data.name,o.reject(a),Gn(t,e.data.method,o)}),n=Wn(t,`event:${e.event}`),r=e.data;else if(e.method){const i=Ac(t,e.method);i&&(n.push(i),r=e.value)}n.forEach(i=>{try{if(typeof i=="function"){i.call(t,r);return}i.resolve(r)}catch{}})}const Sc=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Ka(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Sc.reduce((n,r)=>{const i=t.getAttribute(`data-vimeo-${r}`);return(i||i==="")&&(n[r]=i===""?1:i),n},e)}function Kr(t,e){let{html:n}=t;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Xa(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!qe(t))throw new TypeError(`“${t}” is not a vimeo.com url.`);let a=`https://${yc(t)}/api/oembed.json?url=${encodeURIComponent(t)}`;for(const c in e)e.hasOwnProperty(c)&&(a+=`&${c}=${encodeURIComponent(e[c])}`);const s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(s.status===404){i(new Error(`“${t}” was not found.`));return}if(s.status===403){i(new Error(`“${t}” is not embeddable.`));return}try{const c=JSON.parse(s.responseText);if(c.domain_status_code===403){Kr(c,n),i(new Error(`“${t}” is not embeddable.`));return}r(c)}catch(c){i(c)}},s.onerror=function(){const c=s.status?` (${s.status})`:"";i(new Error(`There was an error fetching the embed code from Vimeo${c}.`))},s.send()})}function _c(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=r=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${r}`)};e.forEach(r=>{try{if(r.getAttribute("data-vimeo-defer")!==null)return;const i=Ka(r),o=Ya(i);Xa(o,i,r).then(a=>Kr(a,r)).catch(n)}catch(i){n(i)}})}function Lc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;const e=n=>{if(!qe(n.origin)||!n.data||n.data.event!=="spacechange")return;const r=n.source?ir(n.source,t):null;if(r){const i=r.parentElement;i.style.paddingBottom=`${n.data.data[0].bottom}px`}};window.addEventListener("message",e)}function kc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;const e=n=>{if(!qe(n.origin))return;const r=En(n.data);if(!r||r.event!=="ready")return;const i=n.source?ir(n.source,t):null;i&&za(i.src)&&new Xr(i).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",e)}function Oc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;
28window.VimeoCheckedUrlTimeParam=!0;const e=r=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${r}`)},n=r=>{if(!qe(r.origin))return;const i=En(r.data);if(!i||i.event!=="ready")return;const o=r.source?ir(r.source,t):null;if(o&&za(o.src)){const a=new Xr(o);a.getVideoId().then(s=>{const c=new RegExp(`[?&]vimeo_t_${s}=([^&#]*)`).exec(window.location.href);if(c&&c[1]){const d=decodeURI(c[1]);a.setCurrentTime(d)}}).catch(e)}};window.addEventListener("message",n)}function Pc(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;const t=e=>{if(!qe(e.origin))return;const n=En(e.data);if(!n||n.event!=="drminitfailed")return;const r=e.source?ir(e.source):null;if(!r)return;const i=r.getAttribute("allow")||"";if(!i.includes("encrypted-media")){r.setAttribute("allow",`${i}; encrypted-media`);const a=new URL(r.getAttribute("src"));a.searchParams.set("forcereload","drm"),r.setAttribute("src",a.toString());return}};window.addEventListener("message",t)}function xc(){const t=function(){let r;const i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let o=0;const a=i.length,s={};for(;o<a;o++)if(r=i[o],r&&r[1]in document){for(o=0;o<r.length;o++)s[i[0][o]]=r[o];return s}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request(r){return new Promise((i,o)=>{const a=function(){n.off("fullscreenchange",a),i()};n.on("fullscreenchange",a),r=r||document.documentElement;const s=r[t.requestFullscreen]();s instanceof Promise&&s.then(a).catch(o)})},exit(){return new Promise((r,i)=>{if(!n.isFullscreen){r();return}const o=function(){n.off("fullscreenchange",o),r()};n.on("fullscreenchange",o);const a=document[t.exitFullscreen]();a instanceof Promise&&a.then(o).catch(i)})},on(r,i){const o=e[r];o&&document.addEventListener(o,i)},off(r,i){const o=e[r];o&&document.removeEventListener(o,i)}};return Object.defineProperties(n,{isFullscreen:{get(){return!!document[t.fullscreenElement]}},element:{enumerable:!0,get(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[t.fullscreenEnabled]}}}),n}const Ic={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class Mc extends EventTarget{constructor(n,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;super();qt(this,"logger");qt(this,"speedAdjustment",0);qt(this,"adjustSpeed",async(n,r)=>{if(this.speedAdjustment===r)return;const i=await n.getPlaybackRate()-this.speedAdjustment+r;this.log(`New playbackRate:  ${i}`),await n.setPlaybackRate(i),this.speedAdjustment=r});this.logger=o,this.init(r,n,{...Ic,...i})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(n,r,i){if(await this.waitForTOReadyState(n,"open"),i.role==="viewer"){await this.updatePlayer(n,r,i);const o=Li(n,"change",()=>this.updatePlayer(n,r,i)),a=this.maintainPlaybackPosition(n,r,i);this.addEventListener("disconnect",()=>{a.cancel(),o.cancel()})}else{await this.updateTimingObject(n,r);const o=Li(r,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(n,r),"on","off");this.addEventListener("disconnect",()=>o.cancel())}}async updateTimingObject(n,r){const[i,o,a]=await Promise.all([r.getCurrentTime(),r.getPaused(),r.getPlaybackRate()]);n.update({position:i,velocity:o?0:a})}async updatePlayer(n,r,i){const{position:o,velocity:a}=n.query();typeof o=="number"&&r.setCurrentTime(o),typeof a=="number"&&(a===0?await r.getPaused()===!1&&r.pause():a>0&&(await r.getPaused()===!0&&(await r.play().catch(async s=>{s.name==="NotAllowedError"&&i.autoPlayMuted&&(await r.setMuted(!0),await r.play().catch(c=>console.error("Couldn't play the video from TimingSrcConnector. Error:",c)))}),this.updatePlayer(n,r,i)),await r.getPlaybackRate()!==a&&r.setPlaybackRate(a)))}maintainPlaybackPosition(n,r,i){const{allowedDrift:o,maxAllowedDrift:a,minCheckInterval:s,maxRateAdjustment:c,maxTimeToCatchUp:d}=i,u=Math.min(d,Math.max(s,a))*1e3,g=async()=>
28{if(n.query().velocity===0||await r.getPaused()===!0)return;const m=n.query().position-await r.getCurrentTime(),f=Math.abs(m);if(this.log(`Drift: ${m}`),f>a)await this.adjustSpeed(r,0),r.setCurrentTime(n.query().position),this.log("Resync by currentTime");else if(f>o){const p=f/d,y=c,C=p<y?(y-p)/2:y;await this.adjustSpeed(r,C*Math.sign(m)),this.log("Resync by playbackRate")}},b=setInterval(()=>g(),u);return{cancel:()=>clearInterval(b)}}log(n){var r;(r=this.logger)==null||r.call(this,`TimingSrcConnector: ${n}`)}waitForTOReadyState(n,r){return new Promise(i=>{const o=()=>{n.readyState===r?i():n.addEventListener("readystatechange",o,{once:!0})};o()})}}const bt=new WeakMap,hr=new WeakMap;let se={};class Xr{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!vc(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){const i=e.querySelector("iframe");
28i&&(e=i)}if(e.nodeName==="IFRAME"&&!qe(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(bt.has(e))return bt.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const r=new ve((i,o)=>{if(this._onMessage=a=>{if(!qe(a.origin)||this.element.contentWindow!==a.source)return;this.origin==="*"&&(this.origin=a.origin);const s=En(a.data);if(s&&s.event==="error"&&s.data&&s.data.method==="ready"){const b=new Error(s.data.message);b.name=s.data.name,o(b);return}const u=s&&s.event==="ready",g=s&&s.method==="ping";if(u||g){this.element.setAttribute("data-ready","true"),i();return}Cc(this,s)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const a=Ka(e,n),s=Ya(a);Xa(s,a,e).then(c=>{const d=Kr(c,e);return this.element=d,this._originalElement=e,Tc(e,d),bt.set(this.element,this),c}).catch(o)}});if(hr.set(this,r),bt.set(this.element,this),this.element.nodeName==="IFRAME"&&st(this,"ping"),se.isEnabled){const i=()=>se.exit();this.fullscreenchangeHandler=()=>{se.isFullscreen?$t(this,"event:exitFullscreen",i):Gn(this,"event:exitFullscreen",i),this.ready().then(()=>{st(this,"fullscreenchange",se.isFullscreen)})},se.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return qe(e)}callMethod(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(e==null)throw new TypeError("You must pass a method name.");return new ve((o,a)=>this.ready().then(()=>{$t(this,e,{resolve:o,reject:a}),r.length===0?r={}:r.length===1&&(r=r[0]),st(this,e,r)}).catch(a))}get(e){return new ve((n,r)=>(e=_i(e,"get"),this.ready().then(()=>{$t(this,e,{resolve:n,reject:r}),st(this,e)}).catch(r)))}set(e,n){return new ve((r,i)=>{if(e=_i(e,"set"),n==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{$t(this,e,{resolve:r,reject:i}),st(this,e,n)}).catch(i)})}on(e,n){if(!e)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");Wn(this,`event:${e}`).length===0&&this.callMethod("addEventListener",e).catch(()=>{}),$t(this,`event:${e}`,n)}off(e,n){if(!e)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");Gn(this,`event:${e}`,n)&&this.callMethod("removeEventListener",e).catch(i=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=hr.get(this)||new ve((n,r)=>{r(new Error("Unknown player. Probably unloaded."))});return ve.resolve(e)}addCuePoint(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:n})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:n,showing:r})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,n){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:n})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return se.isEnabled?se.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return se.isEnabled?se.exit():this.callMethod("exitFullscreen")}getFullscreen(){return se.isEnabled?ve.resolve(se.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new ve(e=>{if(hr.delete(this),bt.delete(this.element),this._originalElement&&(bt.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&this.element.nodeName==="IFRAME"&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName==="DIV"&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const n=this.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&this._originalElement&&this._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}this._window.removeEventListener("message",this._onMessage),se.isEnabled&&se.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return ve.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new ve((i,o)=>o(new TypeError("Argument must be an array.")));const n=new ve(i=>i(null)),r=[e[0]?this.set("colorOne",e[0]):n,e[1]?this.set("colorTwo",e[1]):n,e[2]?this.set("colorThree",e[2]):n,e[3]?this.set("colorFour",e[3]):n];return ve.all(r)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}
28getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,n){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const r=new Mc(this,e,n);return st(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>st(this,"notifyTimingObjectDisconnect")),r}}Ga||(se=xc(),_c(),Lc(),kc(),Oc(),Pc());class Dc{constructor(){this.divisor=20,this.mediaStatus={},Array.from(document.getElementsByTagName("audio")).forEach(i=>{i.hasAttribute("data-media-no-tracking")||this.setupMedia(i)}),Array.from(document.getElementsByTagName("video")).forEach(i=>{i.hasAttribute("data-media-no-tracking")||this.setupMedia(i)}),Array.from(document.querySelectorAll('iframe[src*="vimeo"]')).forEach(i=>{i.hasAttribute("data-media-no-tracking")||this.setupVimeoElement(i)})}initTrackingForElement(e){e.hasAttribute("data-media-no-tracking")||(e.tagName.toLowerCase()==="iframe"&&e.src.includes("vimeo")?this.setupVimeoElement(e):e.tagName.toLowerCase()==="video"?this.setupMedia(e):e.tagName.toLowerCase()==="audio"&&this.setupMedia(e))}setupMedia(e){this.setUniqueId(e),this.intializemediaStatus(e.id),e.addEventListener("play",this,!1),e.addEventListener("pause",this,!1),e.addEventListener("ended",this,!1),e.addEventListener("timeupdate",this,!1)}createEventPayload(e){return{label:e??"media label not set",category:trackingDetails.trackCategory.toLowerCase()}}trackEvent(e,n,r=null){const i=`WEBSITE_MEDIA-${e.toUpperCase()}`;r!==null?analytics.track(`${i}-${r}`,n):analytics.track(i,n)}handleProgress(e,n,r,i){this.mediaStatus[e].current=Math.round(n);const o=this.divisor*Math.floor(100*this.mediaStatus[e].current/r/this.divisor);for(const a in this.mediaStatus[e]._progress_markers)o>=a&&a>this.mediaStatus[e].greatest_marker&&(this.mediaStatus[e].greatest_marker=a);this.mediaStatus[e].greatest_marker&&!this.mediaStatus[e]._progress_markers[this.mediaStatus[e].greatest_marker]&&(this.mediaStatus[e]._progress_markers[this.mediaStatus[e].greatest_marker]=!0,this.trackEvent("WATCHED-PROGRESS",i,this.mediaStatus[e].greatest_marker))}setupVimeoElement(e){const n=new Xr(e);let r=null;const i=e.closest("[data-video-embed-event-label]");this.setUniqueId(e),this.intializemediaStatus(e.id),n.getVideoId().then(o=>{var s;const a=this.createEventPayload(((s=i==null?void 0:i.dataset)==null?void 0:s.videoEmbedEventLabel)??`vimeo-${o}`);n.on("play",(function(){r||(this.trackEvent("PLAY",a),r=!0)}).bind(this)),n.on("timeupdate",(function(c){this.handleProgress(e.id,c.seconds,c.duration,a)}).bind(this)),n.on("ended",()=>this.trackEvent("ENDED",a)),n.on("error",()=>this.trackEvent("ERROR",a))}).catch(o=>{var s;console.error("Error getting Vimeo video ID:",o);const a=this.createEventPayload(((s=i==null?void 0:i.dataset)==null?void 0:s.videoEmbedEventLabel)??"unknown-vimeo-video");this.setupVimeoEventListeners(n,e,a)})}setupVimeoEventListeners(e,n,r){let i=null;e.on("play",(function(){i||(this.trackEvent("PLAY",r),i=!0)}).bind(this)),e.on("timeupdate",(function(o){this.handleProgress(n.id,o.seconds,o.duration,r)}).bind(this)),e.on("ended",()=>this.trackEvent("ENDED",r)),e.on("error",()=>this.trackEvent("ERROR",r))}setUniqueId(e){if(!e.id)for(;this.mediaStatus[e.id];)e.id=`html5_audio_${Math.random().toString(36).slice(2)}`}intializemediaStatus(e){this.mediaStatus[e]={current:0,greatest_marker:0,_progress_markers:{}};for(let n=0;n<100;n++){const r=this.divisor*Math.floor(n/this.divisor);this.mediaStatus[e]._progress_markers[r]=!1}}handleEvent(e){const n=e.target.currentSrc.split("/"),r=this.createEventPayload(decodeURIComponent(n[n.length-1]));switch(e.type){case"timeupdate":this.handleProgress(e.target.id,e.target.currentTime,e.target.duration,r);break;case"error":case"seeked":case"play":case"pause":case"ended":this.trackEvent(e.type,r);break}}}class Nc{constructor(){this.filterWrappers=document.querySelectorAll(".filters, [data-filters]"),this.filterWrappers.forEac
28h((e,n)=>{const r=e.querySelectorAll("[data-filter-value]"),i=e.id.length<=0?"filterList_"+n:e.id;r.forEach(o=>{o.addEventListener("change",a=>{const c=a.target.dataset.filterValue;let d="";o.checked?d="filter added : "+i+" "+c:d="filter removed : "+i+" "+c;const u={label:d,category:trackingDetails.trackCategory.toLowerCase()};analytics.track("WEBSITE_LEARN-MORE",u)})})})}}var Rc=Object.prototype.hasOwnProperty,Bc=String.prototype.charAt,Fc=Object.prototype.toString,Vc=function(t,e){return Bc.call(t,e)},Jr=function(e,n){return Rc.call(e,n)},qc=function(e){return Fc.call(e)==="[object String]"},$c=function(e){return e!=null&&typeof e!="function"&&typeof e.length=="number"},ki=function(e,n){n=n||Jr;for(var r=[],i=0,o=e.length;i<o;i+=1)n(e,i)&&r.push(String(i));return r},jc=function(e,n){n=n||Jr;var r=[];for(var i in e)n(e,i)&&r.push(String(i));return r},Hc=function(e){return e==null?[]:qc(e)?ki(e,Vc):$c(e)?ki(e,Jr):jc(e)},Uc=Hc,Wc=Uc,Ja=Object.prototype.toString,Gc=function(e){var n=typeof e;return n==="number"||n==="object"&&Ja.call(e)==="[object Number]"},zc=typeof Array.isArray=="function"?Array.isArray:function(e){return Ja.call(e)==="[object Array]"},Yc=function(e){return e!=null&&(zc(e)||e!=="function"&&Gc(e.length))},Kc=function(e,n){for(var r=0;r<n.length&&e(n[r],r,n)!==!1;r+=1);},Xc=function(e,n){for(var r=Wc(n),i=0;i<r.length&&e(n[r[i]],r[i],n)!==!1;i+=1);},Jc=function(e,n){return(Yc(n)?Kc:Xc).call(this,e,n)},Qc=Jc,Zc=Qc,el=function(e,n){if(typeof e!="function")throw new TypeError("Expected a function but received a "+typeof e);var r=[];return Zc(function(i,o,a){r.push(e(i,o,a))},n),r},tl=el,nl=function(t){var e,n="";return n+='!function(){var i="'+((e=t.globalAnalyticsKey)==null?"":e)+`",analytics=window[i]=window[i]||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","screen","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"];analytics.factory=function(e){return function(){if(window[i].initialized)return window[i][e].apply(window[i],arguments);var n=Array.prototype.slice.call(arguments);if(["track","screen","alias","group","page","identify"].indexOf(e)>-1){var c=document.querySelector("link[rel='canonical']");n.push({__t:"bpc",c:c&&c.getAttribute("href")||void 0,p:location.pathname,u:location.href,s:location.search,t:document.title,r:document.referrer})}n.unshift(e);analytics.push(n);return analytics}};for(var n=0;n<analytics.methods.length;n++){var key=analytics.methods[n];analytics[key]=analytics.factory(key)}analytics.load=function(key,n){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.setAttribute("data-global-segment-analytics-key",i);t.src="https://`+((e=t.host)==null?"":e)+((e=t.ajsPath)==null?"":e)+'";var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r);analytics._loadOptions=n};analytics._writeKey="'+((e=t.apiKey)==null?"":e)+'";'+((e=t.optionalCDN)==null?"":e)+`;analytics.SNIPPET_VERSION="5.2.0";
29`+((e=t.load)==null?"":e)+`
30`+((e=t.page)==null?"":e)+`
31}}();`,n},rl=tl,il=nl,Oi=Object.prototype.hasOwnProperty,al=function(t){var e=ol(t);return e.load=cl(e),e.page=sl(e.page),e.optionalCDN=ll(e),il(e)};function ol(t){return t||(t={}),t.globalAnalyticsKey||(t.globalAnalyticsKey="analytics"),t.apiKey||(t.apiKey="YOUR_API_KEY"),t.host||(t.host="cdn.segment.com"),t.ajsPath||(t.ajsPath='/analytics.js/v1/" + key + "/analytics.min.js'),t.useHostForBundles||(t.useHostForBundles=!1),Oi.call(t,"page")||(t.page=!0),Oi.call(t,"load")||(t.load=!0),t}function sl(t){if(!t)return"";var e=[];t.category&&e.push(t.category),t.name&&e.push(t.name),t.properties&&e.push(t.properties);var n="analytics.page("+rl(JSON.stringify,e).join(", ")+");";return n}function cl(t){if(!t.load)return"";if(typeof t.load!="boolean"){var e=JSON.stringify(t.load);return'analytics.load("'+t.apiKey+'", '+e+");"}return'analytics.load("'+t.apiKey+'");'}function ll(t){return t&&typeof t.useHostForBundles=="boolean"&&t.useHostForBundles?'analytics._cdn = "https://'+t.host+'"':""}
31class ul extends Error{constructor(e,n){super(n),this.name=e}}class vt extends ul{constructor(e,n){arguments.length===2&&(e+=` (Received: ${JSON.stringify(n)})`),super("ValidationError",`[Validation] ${e}`)}}function jt(t,e){if(typeof t!="function")throw new vt(`${e} is not a function`,t)}function Qa(t,e){if(t===null||typeof t!="object")throw new vt(`${e} is not an object`,t)}function Pi(t){let e=!0;if(t&&typeof t=="object"&&!Array.isArray(t)){e=!1;for(const n in t)if(typeof t[n]!="boolean"){e=!0;break}}if(e)throw new vt("Consent Categories should be {[categoryName: string]: boolean}",t)}function dl(t){if(typeof t!="object"||!t)throw new vt("Options should be an object",t);jt(t.getCategories,"getCategories"),t.shouldLoadSegment&&jt(t.shouldLoadSegment,"shouldLoadSegment"),t.shouldEnableIntegration&&jt(t.shouldEnableIntegration,"shouldEnableIntegration"),t.shouldDisableSegment&&jt(t.shouldDisableSegment,"shouldDisableSegment"),t.integrationCategoryMappings&&Qa(t.integrationCategoryMappings,"integrationCategoryMappings"),t.registerOnConsentChanged&&jt(t.registerOnConsentChanged,"registerOnConsentChanged")}function fl(t){if(Qa(t,"analytics"),!("load"in t&&"addSourceMiddleware"in t&&"addDestinationMiddleware"in t&&"track"in t))throw new vt("analytics is not an Analytics instance",t)}const xi=(t,...e)=>{const n=e.reduce((r,i)=>o=>i(r(o)),r=>r);return(...r)=>n(t(...r))};async function Ii(t,e){return new Promise((n,r)=>{if(t()){n();return}const i=()=>setTimeout(()=>{t()?n():i()},e);i()})}const pl=t=>Array.from(new Set(t)),hl=(t,e)=>e.reduce((n,r)=>(r in t&&(n[r]=t[r]),n),{});function ml(t){throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)}class vl{get debugLoggingEnabled(){return window.SEGMENT_CONSENT_WRAPPER_DEBUG_MODE===!0}enableDebugLogging(){window.SEGMENT_CONSENT_WRAPPER_DEBUG_MODE=!0}debug(...e){this.debugLoggingEnabled&&console.log("[consent wrapper debug]",...e)}}const He=new vl;class gl{constructor(){this.isAbortCalled=!1,this.isLoadCalled=!1,this.abortLoadOptions={loadSegmentNormally:!0},this.loadOptions={consentModel:"opt-in"}}load(e){this.isLoadCalled=!0,this.loadOptions={...this.loadOptions,...e},He.debug("ctx.load called",this.loadOptions)}abort(e){this.isAbortCalled=!0,this.abortLoadOptions={...this.abortLoadOptions,...e},He.debug("Abort consent wrapper",this.loadOptions)}validate(){if(this.isAbortCalled&&this.isLoadCalled)throw new vt("both abort and load should not be called")}}const yl=t=>async()=>{const e=new gl;return await(t==null?void 0:t(e)),e.validate(),e};var bl=function(){var t,e,n=!1,r=new Promise(function(i,o){t=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];n=!0,i.apply(void 0,a)},e=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];n=!0,o.apply(void 0,a)}});return{resolve:t,reject:e,promise:r,isSettled:function(){return n}}};const wl=t=>{if(t&&typeof t=="object"&&"consentSettings"in t&&typeof t.consentSettings=="object"&&t.consentSettings&&"categories"in t.consentSettings&&Array.isArray(t.consentSettings.categories))return t.consentSettings.categories||void 0},Za=t=>pl(Object.values(t).reduce((e,n)=>e.concat(n))),eo=(t,e)=>!e||e.hasUnmappedDestinations?!1:Object.keys(t).filter(n=>t[n]).every(n=>!e.allCategories.includes(n)),El=(t,e)=>!t||!t.length?!0:t.every(i=>e[i]),to=(t,e,n,r={})=>{const{integrationCategoryMappings:i,shouldEnableIntegration:o}=r,a=(i?i[t]:wl(e.integrations[t]))??[];return o?o(a,n,{creationName:t}):El(a,n)},Al=(t,e,n)=>{var d;const{remotePlugins:r,integrations:i}=t,{integrationCategoryMappings:o,shouldEnableIntegration:a}=n,s={...t,remotePlugins:[...r||[]],integrations:{...i}},c=u=>to(u,t,e,{integrationCategoryMappings:o,shouldEnableIntegration:a});for(const u in i)c(u)?He.debug(`Enabled (opt-in): ${u}`):(He.debug(`Disabled (opt-in): ${u}`),s.remotePlugins=(d=s.remotePlugins)==null?void 0:d.filter(g=>g.creationName!==u),delete s.integrations[u]);return s},Tl=(t,e,n)=>{const r=async({integration:o,payload:a,next:s})=>{const c=await t,d=a.obj.context.consent.categoryPreferences,u=!to(o,c,d,n);if(He.debug(`Destination middleware called: ${o}`,{DROPPED:u,categoryPreferences:d,payload:a.obj,filterSettings:n}),u)return null;s(a)};e.addDestinationMiddleware("*",r);const i=async({payload:o,next:a})=>{const s=await t,c=o.obj.context.consent.categoryPreferences,d=n.integrationCategoryMappings?{hasUnmappedDestinations:!1,allCategories:Za(n.integrationCategoryMappings)}:s.consentSettings,u=eo(c,d);if(He.debug("Source middleware called",{DROPPED:u,categoryPreferences:c,payload:o.obj,filterSettings:n,consentSettings:d}),u)return null;a(o)};e.addSourceMiddleware(i)},Cl=t=>async({payload:n,next:r})=>{n.obj.context.consent={...n.obj.context.consent,categoryPreferences:await t()},r(n)},Sl=(t,e)=>{if(!e.length)throw new vt("Invariant: No consent categories defined in Segment",[]);return hl(t,e)};class _l{get analytics(){return Ll(this.uninitializedAnalytics)}get cdnSettings(){return this.cdnSettingsDeferred.promise}async getAllCategories(){var n;return(this.settings.integrationCategoryMappings?Za(this.settings.integrationCategoryMappings):(n=(await this.cdnSettings).consentSettings)==null?void 0:n.allCategories)??[]}async getCategories(){const e=await this.settings.getCategories();return Pi(e),e}constructor(e,n){this.cdnSettingsDeferred=bl(),this.createDisableOption=(r,i)=>i===!0?!0:o=>eo(r,o.consentSettings)||(typeof i=="function"?i(o):!1),fl(e),this.settings=n,this.uninitializedAnalytics=e,this.ogAnalyticsLoad=e.load.bind(e)}async loadWithFilteredDeviceModeDestinations(...[e,n]){const r=await this.getCategories(),i=o=>Al(o,r,{shouldEnableIntegration:this.settings.shouldEnableIntegration,integrationCategoryMappings:this.settings.integrationCategoryMappings});return this.load(e,{...n,updateCDNSettings:xi(i,(n==null?void 0:n.updateCDNSettings)??(o=>o)),disable:this.createDisableOption(r,n==null?void 0:n.disable)})}load(...[e,n]){return this.ogAnalyticsLoad(e,{...n,updateCDNSettings:xi((n==null?void 0:n.updateCDNSettings)||(r=>r),r=>(He.debug("CDN settings loaded",r),this.cdnSettingsDeferred.resolve(r),r))})}replaceLoadMethod(e){this.analytics.load=e}page(){this.analytics.page()}configureBlockingMiddlewareForOptOut(){Tl(this.cdnSettings,this.analytics,{integrationCategoryMappings:this.settings.integrationCategoryMappings,shouldEnableIntegration:this.settings.shouldEnableIntegration})}configureConsentStampingMiddleware(){const{pruneUnmappedCategories:e}=this.settings,r=Cl(async()=>{const i=await this.getCategories();return e?Sl(i,await this.getAllCategories()):i});this.analytics.addSourceMiddleware(r)}consentChange(e){He.debug("Consent change",e);try{Pi(e)}catch(r){return console.error(r)}this.analytics.track("Segment Consent Preference Updated",void 0,{consent:{categoryPreferences:e}})}}const Ll=t=>{if(Array.isArray(t)){const n=t._loadOptions??{}
31,r=window[(n==null?void 0:n.globalAnalyticsKey)??"analytics"];if(r!=null&&r.initialized)return r}return t},kl=(...[t])=>{dl(t);const{shouldDisableSegment:e,getCategories:n,shouldLoadSegment:r,integrationCategoryMappings:i,shouldEnableIntegration:o,registerOnConsentChanged:a,shouldLoadWrapper:s,enableDebugLogging:c}=t;return d=>{const u=new _l(d,{integrationCategoryMappings:i,shouldEnableIntegration:o,getCategories:n});c&&He.enableDebugLogging();const g=(s==null?void 0:s())||Promise.resolve();g.then(()=>{a==null||a(m=>u.consentChange(m))});const b=async(m,f)=>{var y;if(f!=null&&f.initialPageview&&(u.page(),f={...f,initialPageview:!1}),await(e==null?void 0:e()))return;await g;const p=await yl(r)();if(p.isAbortCalled){((y=p.abortLoadOptions)==null?void 0:y.loadSegmentNormally)===!0&&u.load(m,f);return}if(u.configureConsentStampingMiddleware(),p.loadOptions.consentModel==="opt-in"){await u.loadWithFilteredDeviceModeDestinations(m,f);return}else if(p.loadOptions.consentModel==="opt-out"){u.configureBlockingMiddlewareForOptOut(),u.load(m,f);return}else ml(p.loadOptions.consentModel)};return u.replaceLoadMethod(b),d}};class Ol extends Error{constructor(e,n){super(`Invariant: ${e} (Received: ${JSON.stringify(n)})`),this.name="OtConsentWrapperValidationError"}}const Pl=t=>t.trim().split(",").filter(Boolean);var Kt;(function(t){t.optIn="opt-in",t.optOut="opt-out",t.implicit="implied consent"})(Kt||(Kt={}));const Vn=()=>{const t=window.OneTrust;if(t&&typeof t=="object"&&"OnConsentChanged"in t&&"IsAlertBoxClosed"in t&&"GetDomainData"in t)return t},xl=()=>{const t=window.OnetrustActiveGroups;if(t){if(typeof t!="string")throw new Ol("window.OnetrustActiveGroups is not a string",t);return t}},no=(t=xl())=>t?Pl(t||""):[],Il=t=>({groupId:t.CustomGroupId.trim()}),Ml=()=>{const t=Vn();return t?t.GetDomainData().Groups.map(Il):[]},Mi=(t=no())=>Ml().reduce((e,n)=>({...e,[n.groupId]:t.includes(n.groupId)}),{}),Dl=t=>{switch(t){case Kt.optIn:case Kt.implicit:return"opt-in";case Kt.optOut:return"opt-out";default:return"opt-out"}},Nl=(t,e={})=>kl({shouldLoadWrapper:async()=>{await Ii(()=>Vn()!==void 0,500)},shouldLoadSegment:async n=>{var o;const r=Vn();return(((o=e.consentModel)==null?void 0:o.call(e))||Dl(r.GetDomainData().ConsentModel.Name))==="opt-out"?n.load({consentModel:"opt-out"}):(await Ii(()=>!!no().length&&(r.GetDomainData().ShowAlertNotice===!1||r.IsAlertBoxClosed()),500),n.load({consentModel:"opt-in"}))},getCategories:()=>Mi(),registerOnConsentChanged:e.disableConsentChangedEvent?void 0:n=>{Vn().OnConsentChanged(r=>{const i=Mi(r.detail);n(i)})},integrationCategoryMappings:e.integrationCategoryMappings,enableDebugLogging:e.enableDebugLogging})(t);function Rl(){const t=document.createElement("script"),e=al({host:"segment-cdn.unito.io",apiKey:segmentGlobals.api,load:!1});t.appendChild(document.createTextNode(e)),t.async=!0,document.body.appendChild(t),Nl(window.analytics).load(segmentGlobals.api)}const ro={"blog-archive":"cold","blog-article":"cold","blog-article-how-to":"warm","blog-home":"cold","case-studies-archive":"warm","case-study-page":"warm","competitor-page":"cold","connectors-archive":"warm","connectors-page":"warm",demo:"hot","events-archive":"cold","events-page":"cold","help-center-home":"cold","help-center-page":"cold",home:"cold","integrations-archive":"warm","integrations-page":"warm",other:"cold","partner-program":"cold","pricing-page":"warm","product-page":"warm","resources-archive":"cold","savings-calculator":"warm","use-case-page":"warm"},Bl=["login","log in","sign in","#/login"],Fl=["signup","sign up","try it free","start free","get started","#/signup"],Vl=[{pattern:/\/blog\/(guide-)?how-to-/i,group:"blog-article-how-to"},{pattern:/\/blog\/[^/]+\/?$/i,group:"blog-article"},{pattern:/\/blog\/?$/i,group:"blog-archive"},{pattern:/\/blog\/(category|tag|author|page)\//i,group:"blog-archive"},{pattern:/\/case-studies\/[^/]+/i,group:"case-study-page"},{pattern:/\/case-studies\/?$/i,group:"case-studies-archive"},{pattern:/\/connectors\/[^/]+/i,group:"connectors-page"},{pattern:/\/connectors\/?$/i,group:"connectors-archive"},{pattern:/\/integrations\/[^/]+/i,group:"integrations-page"},{pattern:/\/integrations\/?$/i,group:"integrations-archive"},{pattern:/\/use-cases\/[^/]+/i,group:"use-case-page"},{pattern:/\/events\/[^/]+/i,group:"events-page"},{pattern:/\/events\/?$/i,group:"events-archive"},{pattern:/\/resources/i,group:"resources-archive"},{pattern:/\/compare\//i,group:"competitor-page"},{pattern:/\/partner-program/i,group:"partner-program"},{pattern:/\/demo/i,group:"demo"},{pattern:/\/(pricing|plans-and-features)/i,group:"pricing-page"},{pattern:/\/savings-calculator/i,group:"savings-calculator"},{pattern:/\/(platform|two-way-sync|discover-two-way-sync|mirror|enterprise|integrations-platform|security|unito-sync-embed|enterprise-savings-calculator)/i,group:"product-page"},{pattern:/\/(help|docs|documentation)/i,group:"help-center-page"},{pattern:/^\/$/i,group:"home"}];function Wt(t){var i;if(!t)return"other";const e=((i=window.trackingDetails)==null?void 0:i.urlContentGroups)||{};if(e[t])return e[t];const n=t.endsWith("/")?t:t+"/",r=t.endsWith("/")?t.slice(0,-1):t;if(e[n])return e[n];if(e[r])return e[r];try{const o=new URL(t,window.location.origin),a=o.pathname,s=o.hostname;if(s.includes("app.unito.io"))return t.includes("#/signup")||t.includes("signup")?"signup":t.includes("#/login")||t.includes("login")?"login":"app";if(s.includes("guide.unito.io"))return a==="/"||a===""||/^\/[a-z]{2}\/?$/.test(a)?"help-center-home":"help-center-page";if(!s.includes("unito.io")&&!s.includes("unitostaging.wpengine.com")&&!s.includes("unitodev.wpengine.com"))return"external";for(const{pattern:c,group:d}of Vl)if(c.test(a))return d;return"other"}catch{return"other"}}function ql(t,e){const n=t.toLowerCase(),r=e.toLowerCase().trim();
31return Bl.some(i=>n.includes(i)||r.includes(i))?"login":Fl.some(i=>n.includes(i)||r.includes(i))?"signup":null}function $l(t,e,n=""){const r=ql(n,e);if(r==="login")return"cold";if(r==="signup")return"hot";const i=Wt(n);return i==="signup"?"hot":i==="login"||i==="external"?"cold":ro[i]||"cold"}function jl(t){return t.dataset.ctaLocation?t.dataset.ctaLocation.toLowerCase():t.closest("header")||t.closest("#mainMenu")||t.closest(".site-header")?"header":t.closest("footer")||t.closest(".site-footer")?"footer":t.closest(".hero")||t.closest('[class*="hero"]')||t.closest(".banner")||t.closest('[class*="banner"]')?"top":t.closest(".request-a-demo")||t.closest(".book-a-demo")||t.closest('[class*="cta-block"]')||t.closest('[class*="bottom-cta"]')?"bottom":"middle"}function Hl(t){try{return new URL(t,window.location.origin).hostname}catch{return""}}function ar(){return typeof analytics<"u"&&analytics.user&&analytics.user().anonymousId()||""}const Ul=["hot","warm","cold"];function Wl(t){if(!t)return null;const e=String(t).toLowerCase().trim();return Ul.includes(e)?e:null}function Di(){try{const t=window.location.hostname;return t!=="unito.io"&&t!=="www.unito.io"}catch{return!1}}function Gl(t){var r;const e=(r=t.dataset)==null?void 0:r.modal;if(!e)return!1;const n=document.getElementById(e);return n?n.classList.contains("hs-form-modal")||n.querySelector(".hbspt-form, [data-hsform-form-id], .demo-form-card")!==null:!1}function zl(t,e,n,r){var a,s;const i=Wl((a=t.dataset)==null?void 0:a.ctaTemperature),o=(s=t.dataset)==null?void 0:s.ctaContentGroup;if(i||o){const c=o||Wt(r);return{temperature:i||(c==="signup"?"hot":ro[c]||"cold"),contentGroup:c}}return r?{temperature:$l(e,n,r),contentGroup:Wt(r)}:Gl(t)?(Di()&&console.warn('[cta-tracking] Form-opening CTA has no explicit data-cta-temperature; defaulting to "hot" (opens a lead-gen form modal). Add data-cta-temperature (and data-cta-content-group) to declare its intent deliberately.',t),{temperature:"hot",contentGroup:Wt(r)}):(Di()&&console.warn('[cta-tracking] CTA has no destination URL and no explicit data-cta-temperature; reporting "cold". Add data-cta-temperature if this should not be cold.',t),{temperature:"cold",contentGroup:Wt(r)})}function Yl(t){var s,c;const e=t.href||"",n=(((s=t.innerText)==null?void 0:s.trim())||((c=t.textContent)==null?void 0:c.trim())||"").replace(/\s+/g," "),r=jl(t),{temperature:i,contentGroup:o}=zl(t,r,n,e),a=Hl(e);return{cta:{temperature:i,location:r,content_group:o,link_url:e,link_text:n,link_domain:a},user_id:ar()}}function Kl(t){const e=Yl(t);typeof analytics<"u"&&typeof analytics.track=="function"&&analytics.track("cta_clicks",e)}let _r=null;function Xl(t){_r=t,typeof analytics<"u"&&analytics.track&&analytics.track("hs_chatbot_conversation_started",{hs_conversation_id:String(t),user_id:ar()})}function Jl(){_r&&typeof analytics<"u"&&analytics.track&&analytics.track("hs_chatbot_conversation_closed",{hs_conversation_id:String(_r),user_id:ar()})}function Ni(){typeof window.HubSpotConversations>"u"||(window.HubSpotConversations.on("conversationStarted",t=>{Xl(t.conversation.conversationId)}),window.HubSpotConversations.on("widgetClosed",()=>{Jl()}))}function Ql(){if(typeof window.HubSpotConversations<"u"){Ni();return}window.hsConversationsOnReady=window.hsConversationsOnReady||[],window.hsConversationsOnReady.push(()=>{Ni()})}const Zt=class Zt{constructor(){Rl(),this.initCtaTracking(),analytics.ready(()=>{this.initEventTracking(),this.initNavTracking(),this.initTabbedContentTracking(),Ql(),Zt.trackingMedia=new Dc,new Nc})}static getTrackingMedia(){return Zt.trackingMedia}handleEvent(e){const r=e.currentTarget.dataset,i=r.trackAction.toUpperCase(),o=Object.assign({},trackingDetails.trackCategory?{category:trackingDetails.trackCategory.toLowerCase()}:null,r.trackLabel?{label:r.trackLabel.toLowerCase()}:null,r.trackValue?{value:r.trackValue.toLowerCase()}:null,r.trackNonInteraction?{nonInteraction:1}:null,r.trackPlan_name?{plan_name:r.trackPlan_name.toLowerCase()}:null,r.trackPlan_period?{plan_period:r.trackPlan_period.toLowerCase()}:null,r.trackPlan_value_metric?{plan_value_metric:r.trackPlan_value_metric.toLowerCase()}:null);Si(e,i,o),r.trackExtraAction&&analytics.track(r.trackExtraAction.toUpperCase(),o)}initEventTracking(){Array.from(document.querySelectorAll("[data-track-event]")).forEac
31h(n=>{const r=n.dataset,i=r.trackEvent.toLowerCase();!i||!("trackAction"in r)||n.addEventListener(i,this,!1)})}initNavTracking(){const e=document.getElementById("mainMenu");if(!e)return;Array.from(e.querySelectorAll("a")).forEach(o=>{o.addEventListener("click",a=>{const s=a.currentTarget.querySelector("[data-menu-item-name]").dataset.menuItemName,c={category:trackingDetails.trackCategory.toLowerCase(),label:`menu-item-clicked: ${s.toLowerCase()}`};Si(a,"WEBSITE_NAV-INTERACTION",c)},!1)}),["submenu-expand","submenu-collapse"].forEach(o=>{document.addEventListener(o,a=>{const s=a.target.querySelector("[data-menu-item-name]").dataset.menuItemName;s&&analytics.track("WEBSITE_NAV-INTERACTION",{category:trackingDetails.trackCategory.toLowerCase(),label:`${a.type}: ${s.toLowerCase()}`})},!1)}),["mobile-menu-open","mobile-menu-closed"].forEach(o=>{document.addEventListener(o,a=>{analytics.track("WEBSITE_NAV-INTERACTION",{category:trackingDetails.trackCategory.toLowerCase(),label:a.type})},!1)})}initTabbedContentTracking(){Array.from(document.querySelectorAll("[data-tabs-trigger]")).forEach(n=>{n.addEventListener("click",r=>{const i=r.currentTarget.dataset.tabsTrigger.trim().replace(/\s+/g,"-"),o={category:trackingDetails.trackCategory.toLowerCase(),label:`tabbed content navigate: ${i.toLowerCase()}`};analytics.track("WEBSITE_LEARN-MORE",o),analytics.track(`WEBSITE_HSEVENT_TABBED-CONTENT-${i.toUpperCase()}`,o)},!1)})}initCtaTracking(){const e=["a.btn","a.button","a.cta",'a[class*="cta"]',"button.btn","button.button","button.cta","a.v2-button","button.v2-button",'a[data-track-event="click"]','button[data-track-event="click"]',".hero a.btn",".hero a.button","header a.btn","header a.button",".modal a.btn",".modal a.button",".nav-button__try-free",".nav-button__talk-sales",".nav-button__login","a.site-logo","#mainMenu a.menu-item__interior",".footer-menu a",".footer-links a"],n=Array.from(document.querySelectorAll(e.join(", ")));
31[...new Set(n)].forEach(i=>{i.tagName==="A"&&!i.href||i.addEventListener("click",()=>{Kl(i)},!0)})}};qt(Zt,"trackingMedia",null);let Lr=Zt;class Zl{constructor(){this.buttonCTAClass=".pricing-plan-cta",this.toggleID="pricingToggle",this.singlePlanClass=".single-plan",this.container=document.getElementById("pricingModule"),this.toggle=document.getElementById(this.toggleID),this.pricingGrid=document.getElementById("pricingGrid"),this.plans=this.pricingGrid?Array.from(this.pricingGrid.querySelectorAll(this.singlePlanClass)):null,this.alternateToggles=this.pricingGrid?Array.from(this.pricingGrid.querySelectorAll(".value-metric-select")):null,this.planButtons=this.pricingGrid?Array.from(this.pricingGrid.querySelectorAll(this.buttonCTAClass)):null,this.cookieManager=new ha}init(){!this.container||!this.pricingGrid||!this.toggle||!this.plans||(this.setPriceContainerClass(),this.toggle.addEventListener("change",this,!1),this.alternateToggles&&this.alternateToggles.forEach(e=>{e.addEventListener("change",this,!1)}),this.planButtons&&this.planButtons.forEach(e=>{e.addEventListener("click",this,!1)}),this.setToggleWidth())}setToggleWidth(){const n=document.querySelector(".pricing-toggle__left").getBoundingClientRect().width,r=document.querySelector(".pricing-toggle__right"),i=r.getBoundingClientRect().width;this.toggle.checked===!0?r.style.setProperty("--dynamic-width",i+"px"):r.style.setProperty("--dynamic-width",n+"px")}handleEvent(e){switch(e.type){case"click":e.currentTarget.classList.contains(this.buttonCTAClass.replace(".",""))&&this.generatePlanCookie(e);break;case"change":if(this.toggleID===e.currentTarget.id){this.checked=e.currentTarget.checked,this.setPriceContainerClass(),this.updatePlanButtons(),this.setToggleWidth();break}if(e.currentTarget.classList.contains("value-metric-select")){this.updateSinglePlan(e.currentTarget);break}break}}generatePlanCookie(e){const n=e.currentTarget,r=n.dataset.trackPlan_name,i=n.dataset.trackPlan_period,o=n.dataset.trackPlan_value_metric;r&&i&&o&&(this.cookieManager.setCookie("UNITO_TRACKING_PROFILE_signupIntentPlanTier",r,1),this.cookieManager.setCookie("UNITO_TRACKING_PROFILE_signupIntentPlanPeriod",i,1),this.cookieManager.setCookie("UNITO_TRACKING_PROFILE_signupIntentPlanValueMetric",o,1))}updateSinglePlan(e){const n=e[e.selectedIndex],r=e.closest(this.singlePlanClass);if(!r)return;const i=r.querySelector(".plan-price--monthly");i&&(i.querySelector(".plan-price__cost").innerHTML=n.dataset.planPriceMonthly);const o=r.querySelector(".plan-price--yearly");o&&(o.querySelector(".plan-price__cost").innerHTML=n.dataset.planPriceYearly);const a=r.querySelector(".pricing-plan-cta");a&&(a.dataset.trackPlan_value_metric=n.dataset.planValueMetric)}getQueryParam(e,n){const r=n,o=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(r);return o?o[1]:null}updatePlanButtons(){this.planButtons&&this.planButtons.forEach(e=>{const n=e.href;if(n===void 0)return;const r=e.dataset.trackLabel;this.toggle.checked?(e.href=n.replace("month","year"),e.dataset.trackLabel=r.replace("month","year"),e.dataset.trackPlan_period="year"):(e.href=n.replace("year","month"),e.dataset.trackLabel=r.replace("year","month"),e.dataset.trackPlan_period="month")})}setPriceContainerClass(){this.toggle.checked?this.pricingGrid.classList.add("pricing-table--show-yearly"):this.pricingGrid.classList.remove("pricing-table--show-yearly")}}class eu{constructor(){this.scrollBarState=!0}init(){window.innerWidth>document.documentElement.clientWidth&&!document.body.classList.contains("has-scrollbar")&&document.body.classList.add("has-scrollbar")}}var le="top",Ae="bottom",Te="right",ue="left",Qr="auto",An=[le,Ae,Te,ue],xt="start",un="end",tu="clippingParents",io="viewport",Ht="popper",nu="reference",Ri=An.reduce(function(t,e){return t.concat([e+"-"+xt,e+"-"+un])},[]),ao=[].concat(An,[Qr]).reduce(function(t,e){return t.concat([e,e+"-"+xt,e+"-"+un])},[]),ru="beforeRead",iu="read",au="afterRead",ou="beforeMain",su="main",cu="afterMain",lu="beforeWrite",uu="write",du="afterWrite",fu=[ru,iu,au,ou,su,cu,lu,uu,du];function Me(t){return t?(t.nodeName||"").toLowerCase():null}function pe(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ht(t){var e=pe(t).Element;return t instanceof e||t instanceof Element}function be(t){var e=pe(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Zr(t){if(typeof ShadowRoot>"u")return!1;var e=pe(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function pu(t){var e=t.state;
vendor: 21,516 bytes, line 31
31Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!be(o)||!Me(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function hu(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(c,d){return c[d]="",c},{});!be(i)||!Me(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const oo={name:"applyStyles",enabled:!0,phase:"write",fn:pu,effect:hu,requires:["computeStyles"]};function Pe(t){return t.split("-")[0]}var ut=Math.max,zn=Math.min,It=Math.round;function kr(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function so(){return!/^((?!chrome|android).)*safari/i.test(kr())}function Mt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&be(t)&&(i=t.offsetWidth>0&&It(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&It(r.height)/t.offsetHeight||1);var a=ht(t)?pe(t):window,s=a.visualViewport,c=!so()&&n,d=(r.left+(c&&s?s.offsetLeft:0))/i,u=(r.top+(c&&s?s.offsetTop:0))/o,g=r.width/i,b=r.height/o;return{width:g,height:b,top:u,right:d+g,bottom:u+b,left:d,x:d,y:u}}function ei(t){var e=Mt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function co(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Zr(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ue(t){return pe(t).getComputedStyle(t)}function mu(t){return["table","td","th"].indexOf(Me(t))>=0}function tt(t){return((ht(t)?t.ownerDocument:t.document)||window.document).documentElement}function or(t){return Me(t)==="html"?t:t.assignedSlot||t.parentNode||(Zr(t)?t.host:null)||tt(t)}function Bi(t){return!be(t)||Ue(t).position==="fixed"?null:t.offsetParent}function vu(t){var e=/firefox/i.test(kr()),n=/Trident/i.test(kr());if(n&&be(t)){var r=Ue(t);if(r.position==="fixed")return null}var i=or(t);for(Zr(i)&&(i=i.host);be(i)&&["html","body"].indexOf(Me(i))<0;){var o=Ue(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Tn(t){for(var e=pe(t),n=Bi(t);n&&mu(n)&&Ue(n).position==="static";)n=Bi(n);return n&&(Me(n)==="html"||Me(n)==="body"&&Ue(n).position==="static")?e:n||vu(t)||e}function ti(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Xt(t,e,n){return ut(t,zn(e,n))}function gu(t,e,n){var r=Xt(t,e,n);return r>n?n:r}function lo(){return{top:0,right:0,bottom:0,left:0}}function uo(t){return Object.assign({},lo(),t)}function fo(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var yu=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,uo(typeof e!="number"?e:fo(e,An))};function bu(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Pe(n.placement),c=ti(s),d=[ue,Te].indexOf(s)>=0,u=d?"height":"width";if(!(!o||!a)){var g=yu(i.padding,n),b=ei(o),m=c==="y"?le:ue,f=c==="y"?Ae:Te,p=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],y=a[c]-n.rects.reference[c],C=Tn(o),v=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,h=p/2-y/2,l=g[m],E=v-b[u]-g[f],w=v/2-b[u]/2+h,T=Xt(l,w,E),S=c;n.modifiersData[r]=(e={},e[S]=T,e.centerOffset=T-w,e)}}function wu(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||co(e.elements.popper,i)&&(e.elements.arrow=i))}const Eu={name:"arrow",enabled:!0,phase:"main",fn:bu,effect:wu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dt(t){return t.split("-")[1]}var Au={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Tu(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:It(n*i)/i||0,y:It(r*i)/i||0}}function Fi(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,g=t.isFixed,b=a.x,m=b===void 0?0:b,f=a.y,p=f===void 0?0:f,y=typeof u=="function"?u({x:m,y:p}):{x:m,y:p};m=y.x,p=y.y;var C=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),h=ue,l=le,E=window;if(d){var w=Tn(n),T="clientHeight",S="clientWidth";if(w===pe(n)&&(w=tt(n),Ue(w).position!=="static"&&s==="absolute"&&(T="scrollHeight",S="scrollWidth")),w=w,i===le||(i===ue||i===Te)&&o===un){l=Ae;var I=g&&w===E&&E.visualViewport?E.visualViewport.height:w[T];p-=I-r.height,p*=c?1:-1}if(i===ue||(i===le||i===Ae)&&o===un){h=Te;var x=g&&w===E&&E.visualViewport?E.visualViewport.width:w[S];m-=x-r.width,m*=c?1:-1}}var _=Object.assign({position:s},d&&Au),L=u===!0?Tu({x:m,y:p},pe(n)):{x:m,y:p};if(m=L.x,p=L.y,c){var k;return Object.assign({},_,(k={},k[l]=v?"0":"",k[h]=C?"0":"",k.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+p+"px)":"translate3d("+m+"px, "+p+"px, 0)",k))}return Object.assign({},_,(e={},e[l]=v?p+"px":"",e[h]=C?m+"px":"",e.transform="",e))}function Cu(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,c=s===void 0?!0:s,d={placement:Pe(e.placement),variation:Dt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Fi(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Fi(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Su={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cu,data:{}};var Mn={passive:!0};function _u(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,c=pe(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(u){u.addEventListener("scroll",n.update,Mn)}),s&&c.addEventListener("resize",n.update,Mn),function(){o&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Mn)}),s&&c.removeEventListener("resize",n.update,Mn)}}const Lu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_u,data:{}};var ku={left:"right",right:"left",bottom:"top",top:"bottom"};function qn(t){return t.replace(/left|right|bottom|top/g,function(e){return ku[e]})}var Ou={start:"end",end:"start"};function Vi(t){return t.replace(/start|end/g,function(e){return Ou[e]})}function ni(t){var e=pe(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ri(t){return Mt(tt(t)).left+ni(t).scrollLeft}function Pu(t,e){var n=pe(t),r=tt(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var d=so();(d||!d&&e==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+ri(t),y:c}}function xu(t){var e,n=tt(t),r=ni(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ut(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ut(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+ri(t),c=-r.scrollTop;return Ue(i||n).direction==="rtl"&&(s+=ut(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}function ii(t){var e=Ue(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function po(t){return["html","body","#document"].indexOf(Me(t))>=0?t.ownerDocument.body:be(t)&&ii(t)?t:po(or(t))}function Jt(t,e){var n;e===void 0&&(e=[]);var r=po(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=pe(r),a=i?[o].concat(o.visualViewport||[],ii(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(Jt(or(a)))}function Or(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Iu(t,e){var n=Mt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function qi(t,e,n){return e===io?Or(Pu(t,n)):ht(e)?Iu(e,n):Or(xu(tt(t)))}function Mu(t){var e=Jt(or(t)),n=["absolute","fixed"].indexOf(Ue(t).position)>=0,r=n&&be(t)?Tn(t):t;return ht(r)?e.filter(function(i){return ht(i)&&co(i,r)&&Me(i)!=="body"}):[]}function Du(t,e,n,r){var i=e==="clippingParents"?Mu(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(c,d){var u=qi(t,d,r);return c.top=ut(u.top,c.top),c.right=zn(u.right,c.right),c.bottom=zn(u.bottom,c.bottom),c.left=ut(u.left,c.left),c},qi(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ho(t){var e=t.reference,n=t.element,r=t.placement,i=r?Pe(r):null,o=r?Dt(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,c;switch(i){case le:c={x:a,y:e.y-n.height};break;case Ae:c={x:a,y:e.y+e.height};break;case Te:c={x:e.x+e.width,y:s};break;case ue:c={x:e.x-n.width,y:s};break;default:c={x:e.x,y:e.y}}var d=i?ti(i):null;if(d!=null){var u=d==="y"?"height":"width";switch(o){case xt:c[d]=c[d]-(e[u]/2-n[u]/2);break;case un:c[d]=c[d]+(e[u]/2-n[u]/2);break}}return c}function dn(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,c=s===void 0?tu:s,d=n.rootBoundary,u=d===void 0?io:d,g=n.elementContext,b=g===void 0?Ht:g,m=n.altBoundary,f=m===void 0?!1:m,p=n.padding,y=p===void 0?0:p,C=uo(typeof y!="number"?y:fo(y,An)),v=b===Ht?nu:Ht,h=t.rects.popper,l=t.elements[f?v:b],E=Du(ht(l)?l:l.contextElement||tt(t.elements.popper),c,u,a),w=Mt(t.elements.reference),T=ho({reference:w,element:h,placement:i}),S=Or(Object.assign({},h,T)),I=b===Ht?S:w,x={top:E.top-I.top+C.top,bottom:I.bottom-E.bottom+C.bottom,left:E.left-I.left+C.left,right:I.right-E.right+C.right},_=t.modifiersData.offset;if(b===Ht&&_){var L=_[i];Object.keys(x).forEach(function(k){var F=[Te,Ae].indexOf(k)>=0?1:-1,V=[le,Ae].indexOf(k)>=0?"y":"x";x[k]+=L[V]*F})}return x}function Nu(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?ao:c,u=Dt(r),g=u?s?Ri:Ri.filter(function(f){return Dt(f)===u}):An,b=g.filter(function(f){return d.indexOf(f)>=0});b.length===0&&(b=g);var m=b.reduce(function(f,p){return f[p]=dn(t,{placement:p,boundary:i,rootBoundary:o,padding:a})[Pe(p)],f},{});return Object.keys(m).sort(function(f,p){return m[f]-m[p]})}function Ru(t){if(Pe(t)===Qr)return[];var e=qn(t);return[Vi(t),e,Vi(e)]}function Bu(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,u=n.boundary,g=n.rootBoundary,b=n.altBoundary,m=n.flipVariations,f=m===void 0?!0:m,p=n.allowedAutoPlacements,y=e.options.placement,C=Pe(y),v=C===y,h=c||(v||!f?[qn(y)]:Ru(y)),l=[y].concat(h).reduce(function(K,ne){return K.concat(Pe(ne)===Qr?Nu(e,{placement:ne,boundary:u,rootBoundary:g,padding:d,flipVariations:f,allowedAutoPlacements:p}):ne)},[]),E=e.rects.reference,w=e.rects.popper,T=new Map,S=!0,I=l[0],x=0;x<l.length;x++){var _=l[x],L=Pe(_),k=Dt(_)===xt,F=[le,Ae].indexOf(L)>=0,V=F?"width":"height",U=dn(e,{placement:_,boundary:u,rootBoundary:g,altBoundary:b,padding:d}),H=F?k?Te:ue:k?Ae:le;E[V]>w[V]&&(H=qn(H));var D=qn(H),N=[];if(o&&N.push(U[L]<=0),s&&N.push(U[H]<=0,U[D]<=0),N.every(function(K){return K})){I=_,S=!1;break}T.set(_,N)}if(S)for(var O=f?3:1,B=function(ne){var P=l.find(function(W){var Z=T.get(W);if(Z)return Z.slice(0,ne).every(function(X){return X})});if(P)return I=P,"break"},$=O;$>0;$--){var Q=B($);if(Q==="break")break}e.placement!==I&&(e.modifiersData[r]._skip=!0,e.placement=I,e.reset=!0)}}const Fu={name:"flip",enabled:!0,phase:"main",fn:Bu,requiresIfExists:["offset"],data:{_skip:!1}};function $i(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ji(t){return[le,Te,Ae,ue].some(function(e){return t[e]>=0})}function Vu(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=dn(e,{elementContext:"reference"}),s=dn(e,{altBoundary:!0}),c=$i(a,r),d=$i(s,i,o),u=ji(c),g=ji(d);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:g},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":g})}const qu={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vu};function $u(t,e,n){var r=Pe(t),i=[ue,le].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[ue,Te].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function ju(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=ao.reduce(function(u,g){return u[g]=$u(g,e.rects,o),u},{}),s=a[e.placement],c=s.x,d=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}const Hu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ju};function Uu(t){var e=t.state,n=t.name;e.modifiersData[n]=ho({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Wu={name:"popperOffsets",enabled:!0,phase:"read",fn:Uu,data:{}};function Gu(t){return t==="x"?"y":"x"}function zu(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,u=n.altBoundary,g=n.padding,b=n.tether,m=b===void 0?!0:b,f=n.tetherOffset,p=f===void 0?0:f,y=dn(e,{boundary:c,rootBoundary:d,padding:g,altBoundary:u}),C=Pe(e.placement),v=Dt(e.placement),h=!v,l=ti(C),E=Gu(l),w=e.modifiersData.popperOffsets,T=e.rects.reference,S=e.rects.popper,I=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,x=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),_=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(w){if(o){var k,F=l==="y"?le:ue,V=l==="y"?Ae:Te,U=l==="y"?"height":"width",H=w[l],D=H+y[F],N=H-y[V],O=m?-S[U]/2:0,B=v===xt?T[U]:S[U],$=v===xt?-S[U]:-T[U],Q=e.elements.arrow,K=m&&Q?ei(Q):{width:0,height:0},ne=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:lo(),P=ne[F],W=ne[V],Z=Xt(0,T[U],K[U]),X=h?T[U]/2-O-Z-P-x.mainAxis:B-Z-P-x.mainAxis,ee=h?-T[U]/2+O+Z+W+x.mainAxis:$+Z+W+x.mainAxis,Ge=e.elements.arrow&&Tn(e.elements.arrow),nt=Ge?l==="y"?Ge.clientTop||0:Ge.clientLeft||0:0,M=(k=_==null?void 0:_[l])!=null?k:0,z=H+X-M-nt,he=H+ee-M,Ce=Xt(m?zn(D,z):D,H,m?ut(N,he):N);w[l]=Ce,L[l]=Ce-H}if(s){var rt,Cn=l==="x"?le:ue,Sn=l==="x"?Ae:Te,Ne=w[E],ze=E==="y"?"height":"width",Ft=Ne+y[Cn],it=Ne-y[Sn],Vt=[le,ue].indexOf(C)!==-1,_n=(rt=_==null?void 0:_[E])!=null?rt:0,Ln=Vt?Ft:Ne-T[ze]-S[ze]-_n+x.altAxis,kn=Vt?Ne+T[ze]+S[ze]-_n-x.altAxis:it,On=m&&Vt?gu(Ln,Ne,kn):Xt(m?Ln:Ft,Ne,m?kn:it);w[E]=On,L[E]=On-Ne}e.modifiersData[r]=L}}const Yu={name:"preventOverflow",enabled:!0,phase:"main",fn:zu,requiresIfExists:["offset"]};function Ku(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Xu(t){return t===pe(t)||!be(t)?ni(t):Ku(t)}function Ju(t){var e=t.getBoundingClientRect(),n=It(e.width)/t.offsetWidth||1,r=It(e.height)/t.offsetHeight||1;return n!==1||r!==1}function Qu(t,e,n){n===void 0&&(n=!1);var r=be(e),i=be(e)&&Ju(e),o=tt(e),a=Mt(t,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Me(e)!=="body"||ii(o))&&(s=Xu(e)),be(e)?(c=Mt(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=ri(o))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Zu(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=e.get(s);c&&i(c)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function ed(t){var e=Zu(t);return fu.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function td(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function nd(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Hi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ui(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function rd(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,o=i===void 0?Hi:i;return function(s,c,d){d===void 0&&(d=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hi,o),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},g=[],b=!1,m={state:u,setOptions:function(C){var v=typeof C=="function"?C(u.options):C;p(),u.options=Object.assign({},o,u.options,v),u.scrollParents={reference:ht(s)?Jt(s):s.contextElement?Jt(s.contextElement):[],popper:Jt(c)};var h=ed(nd([].concat(r,u.options.modifiers)));return u.orderedModifiers=h.filter(function(l){return l.enabled}),f(),m.update()},forceUpdate:function(){if(!b){var C=u.elements,v=C.reference,h=C.popper;if(Ui(v,h)){u.rects={reference:Qu(v,Tn(h),u.options.strategy==="fixed"),popper:ei(h)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(x){return u.modifiersData[x.name]=Object.assign({},x.data)});for(var l=0;l<u.orderedModifiers.length;l++){if(u.reset===!0){u.reset=!1,l=-1;continue}var E=u.orderedModifiers[l],w=E.fn,T=E.options,S=T===void 0?{}:T,I=E.name;typeof w=="function"&&(u=w({state:u,options:S,name:I,instance:m})||u)}}}},update:td(function(){return new Promise(function(y){m.forceUpdate(),y(u)})}),destroy:function(){p(),b=!0}};if(!Ui(s,c))return m;m.setOptions(d).then(function(y){!b&&d.onFirstUpdate&&d.onFirstUpdate(y)});function f(){u.orderedModifiers.forEach(function(y){var C=y.name,v=y.options,h=v===void 0?{}:v,l=y.effect;if(typeof l=="function"){var E=l({state:u,name:C,instance:m,options:h}),w=function(){};g.push(E||w)}})}function p(){g.forEach(function(y){return y()}),g=[]}return m}}var id=[Lu,Wu,Su,oo,Hu,Fu,Yu,Eu,qu],ad=rd({defaultModifiers:id}),od="tippy-box",mo="tippy-content",sd="tippy-backdrop",vo="tippy-arrow",go="tippy-svg-arrow",ct={passive:!0,capture:!0},yo=function(){return document.body};function mr(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function ai(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function bo(t,e){return typeof t=="function"?t.apply(void 0,e):t}function Wi(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function cd(t){return t.split(/\s+/).filter(Boolean)}function At(t){return[].concat(t)}function Gi(t,e){t.indexOf(e)===-1&&t.push(e)}function ld(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function ud(t){return t.split("-")[0]}function Yn(t){return[].slice.call(t)}function zi(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Qt(){return document.createElement("div")}function sr(t){return["Element","Fragment"].some(function(e){return ai(t,e)})}function dd(t){return ai(t,"NodeList")}function fd(t){return ai(t,"MouseEvent")}function pd(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function hd(t){return sr(t)?[t]:dd(t)?Yn(t):Array.isArray(t)?t:Yn(document.querySelectorAll(t))}function vr(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function Yi(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function md(t){var e,n=At(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function vd(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,c=s.interactiveBorder,d=ud(a.placement),u=a.modifiersData.offset;if(!u)return!0;var g=d==="bottom"?u.top.y:0,b=d==="top"?u.bottom.y:0,m=d==="right"?u.left.x:0,f=d==="left"?u.right.x:0,p=o.top-r+g>c,y=r-o.bottom-b>c,C=o.left-n+m>c,v=n-o.right-f>c;return p||y||C||v})}function gr(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function Ki(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Oe={isTouch:!1},Xi=0;function gd(){Oe.isTouch||(Oe.isTouch=!0,window.performance&&document.addEventListener("mousemove",wo))}function wo(){var t=performance.now();
vendor: 3,049 bytes, line 31
31t-Xi<20&&(Oe.isTouch=!1,document.removeEventListener("mousemove",wo)),Xi=t}function yd(){var t=document.activeElement;if(pd(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function bd(){document.addEventListener("touchstart",gd,ct),window.addEventListener("blur",yd)}var wd=typeof window<"u"&&typeof document<"u",Ed=wd?!!window.msCrypto:!1,Ad={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Td={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Le=Object.assign({appendTo:yo,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ad,Td),Cd=Object.keys(Le),Sd=function(e){var n=Object.keys(e);n.forEach(function(r){Le[r]=e[r]})};function Eo(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=t[o]!==void 0?t[o]:(s=Le[o])!=null?s:a}return r},{});return Object.assign({},t,n)}function _d(t,e){var n=e?Object.keys(Eo(Object.assign({},Le,{plugins:e}))):Cd,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function Ji(t,e){var n=Object.assign({},e,{content:bo(e.content,[t])},e.ignoreAttributes?{}:_d(t,e.plugins));return n.aria=Object.assign({},Le.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var Ld=function(){return"innerHTML"};function Pr(t,e){t[Ld()]=e}function Qi(t){var e=Qt();return t===!0?e.className=vo:(e.className=go,sr(t)?e.appendChild(t):Pr(e,t)),e}function Zi(t,e){sr(e.content)?(Pr(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Pr(t,e.content):t.textContent=e.content)}function xr(t){var e=t.firstElementChild,n=Yn(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(mo)}),arrow:n.find(function(r){return r.classList.contains(vo)||r.classList.contains(go)}),backdrop:n.find(function(r){return r.classList.contains(sd)})}}function Ao(t){var e=Qt(),n=Qt();n.className=od,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Qt();r.className=mo,r.setAttribute("data-state","hidden"),Zi(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var s=xr(e),c=s.box,d=s.content,u=s.arrow;a.theme?c.setAttribute("data-theme",a.theme):c.removeAttribute("data-theme"),typeof a.animation=="str
31ing"?c.setAttribute("data-animation",a.animation):c.removeAttribute("data-animation"),a.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?c.setAttribute("role",a.role):c.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Zi(d,t.props),a.arrow?u?o.arrow!==a.arrow&&(c.removeChild(u),c.appendChild(Qi(a.arrow))):c.appendChild(Qi(a.arrow)):u&&c.removeChild(u)}return{popper:e,onUpdate:i}}Ao.$$tippy=!0;var kd=1,Dn=[],yr=[];function Od(t,e){var n=Ji(t,Object.assign({},Le,Eo(zi(e)))),r,i,o,a=!1,s=!1,c=!1,d=!1,u,g,b,m=[],f=Wi(z,n.interactiveDebounce),p,y=kd++,C=null,v=ld(n.plugins),h={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},l={id:y,reference:t,popper:Qt(),popperInstance:C,props:n,state:h,plugins:v,clearDelayTimeouts:Ln,setProps:kn,setContent:On,show:Oo,hide:Po,hideWithInteractivity:xo,enable:Vt,disable:_n,unmount:Io,destroy:Mo};if(!n.render)return l;var E=n.render(l),w=E.popper,T=E.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+l.id,l.popper=w,t._tippy=l,w._tippy=l;var S=v.map(function(A){return A.fn(l)}),I=t.hasAttribute("aria-expanded");return Ge(),O(),H(),D("onCreate",[l]),n.showOnCreate&&Ft(),w.addEventListener("mouseenter",function(){l.props.interactive&&l.state.isVisible&&l.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){l.props.interactive&&l.props.trigger.indexOf("mouseenter")>=0&&F().addEventListener("mousemove",f)}),l;function x(){var A=l.props.touch;return Array.isArray(A)?A:[A,0]}function _(){return x()[0]==="hold"}function L(){var A;return!!((A=l.props.render)!=null&&A.$$tippy)}function k(){return p||t}function F(){var A=k().parentNode;return A?md(A):document}function V(){return xr(w)}function U(A){return l.state.isMounted&&!l.state.isVisible||Oe.isTouch||u&&u.type==="focus"?0:mr(l.props.delay,A?0:1,Le.delay)}function H(A){A===void 0&&(A=!1),w.style.pointerEvents=l.props.interactive&&!A?"":"none",w.style.zIndex=""+l.props.zIndex}function D(A,R,q){if(q===void 0&&(q=!0),S.forEach(function(G){G[A]&&G[A].apply(G,R)}),q){var Y;(Y=l.props)[A].apply(Y,R)}}function N(){var A=l.props.aria;if(A.content){var R="aria-"+A.content,q=w.id,Y=At(l.props.triggerTarget||t);Y.forEach(function(G){var oe=G.getAttribute(R);if(l.state.isVisible)G.setAttribute(R,oe?oe+" "+q:q);else{var me=oe&&oe.replace(q,"").trim();me?G.setAttribute(R,me):G.removeAttribute(R)}})}}function O(){if(!(I||!l.props.aria.expanded)){var A=At(l.props.triggerTarget||t);A.forEach(function(R){l.props.interactive?R.setAttribute("aria-expanded",l.state.isVisible&&R===k()?"true":"false"):R.removeAttribute("aria-expanded")})}}function B(){F().removeEventListener("mousemove",f),Dn=Dn.filter(function(A){return A!==f})}function $(A){if(!(Oe.isTouch&&(c||A.type==="mousedown"))){var R=A.composedPath&&A.composedPath()[0]||A.target;if(!(l.props.interactive&&Ki(w,R))){if(At(l.props.triggerTarget||t).some(function(q){return Ki(q,R)})){if(Oe.isTouch||l.state.isVisible&&l.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[l,A]);l.props.hideOnClick===!0&&(l.clearDelayTimeouts(),l.hide(),s=!0,setTimeout(function(){s=!1}),l.state.isMounted||P())}}}function Q(){c=!0}function K(){c=!1}function ne(){var A=F();A.addEventListener("mousedown",$,!0),A.addEventListener("touchend",$,ct),A.addEventListener("touchstart",K,ct),A.addEventListener("touchmove",Q,ct)}function P(){var A=F();A.removeEventListener("mousedown",$,!0),A.removeEventListener("touchend",$,ct),A.removeEventListener("touchstart",K,ct),A.removeEventListener("touchmove",Q,ct)}function W(A,R){X(A,function(){!l.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&R()})}function Z(A,R){X(A,R)}function X(A,R){var q=V().box;function Y(G){G.target===q&&(gr(q,"remove",Y),R())}if(A===0)return R();gr(q,"remove",g),gr(q,"add",Y),g=Y}function ee(A,R,q){q===void 0&&(q=!1);var Y=At(l.props.triggerTarget||t);Y.forEach(function(G){G.addEventListener(A,R,q),m.push({node:G,eventType:A,handler:R,options:q})})}
vendor: 4,279 bytes, line 31
31function Ge(){_()&&(ee("touchstart",M,{passive:!0}),ee("touchend",he,{passive:!0})),cd(l.props.trigger).forEach(function(A){if(A!=="manual")switch(ee(A,M),A){case"mouseenter":ee("mouseleave",he);break;case"focus":ee(Ed?"focusout":"blur",Ce);break;case"focusin":ee("focusout",Ce);break}})}function nt(){m.forEach(function(A){var R=A.node,q=A.eventType,Y=A.handler,G=A.options;R.removeEventListener(q,Y,G)}),m=[]}function M(A){var R,q=!1;if(!(!l.state.isEnabled||rt(A)||s)){var Y=((R=u)==null?void 0:R.type)==="focus";u=A,p=A.currentTarget,O(),!l.state.isVisible&&fd(A)&&Dn.forEach(function(G){return G(A)}),A.type==="click"&&(l.props.trigger.indexOf("mouseenter")<0||a)&&l.props.hideOnClick!==!1&&l.state.isVisible?q=!0:Ft(A),A.type==="click"&&(a=!q),q&&!Y&&it(A)}}function z(A){var R=A.target,q=k().contains(R)||w.contains(R);if(!(A.type==="mousemove"&&q)){var Y=ze().concat(w).map(function(G){var oe,me=G._tippy,gt=(oe=me.popperInstance)==null?void 0:oe.state;return gt?{popperRect:G.getBoundingClientRect(),popperState:gt,props:n}:null}).filter(Boolean);vd(Y,A)&&(B(),it(A))}}function he(A){var R=rt(A)||l.props.trigger.indexOf("click")>=0&&a;if(!R){if(l.props.interactive){l.hideWithInteractivity(A);return}it(A)}}function Ce(A){l.props.trigger.indexOf("focusin")<0&&A.target!==k()||l.props.interactive&&A.relatedTarget&&w.contains(A.relatedTarget)||it(A)}function rt(A){return Oe.isTouch?_()!==A.type.indexOf("touch")>=0:!1}function Cn(){Sn();var A=l.props,R=A.popperOptions,q=A.placement,Y=A.offset,G=A.getReferenceClientRect,oe=A.moveTransition,me=L()?xr(w).arrow:null,gt=G?{getBoundingClientRect:G,contextElement:G.contextElement||k()}:t,si={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Pn){var yt=Pn.state;if(L()){var Do=V(),lr=Do.box;["placement","reference-hidden","escaped"].forEach(function(xn){xn==="placement"?lr.setAttribute("data-placement",yt.placement):yt.attributes.popper["data-popper-"+xn]?lr.setAttribute("data-"+xn,""):lr.removeAttribute("data-"+xn)}),yt.attributes.popper={}}}},at=[{name:"offset",options:{offset:Y}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!oe}},si];L()&&me&&at.push({name:"arrow",options:{element:me,padding:3}}),at.push.apply(at,(R==null?void 0:R.modifiers)||[]),l.popperInstance=ad(gt,w,Object.assign({},R,{placement:q,onFirstUpdate:b,modifiers:at}))}function Sn(){l.popperInstance&&(l.popperInstance.destroy(),l.popperInstance=null)}function Ne(){var A=l.props.appendTo,R,q=k();l.props.interactive&&A===yo||A==="parent"?R=q.parentNode:R=bo(A,[q]),R.contains(w)||R.appendChild(w),l.state.isMounted=!0,Cn()}function ze(){return Yn(w.querySelectorAll("[data-tippy-root]"))}function Ft(A){l.clearDelayTimeouts(),A&&D("onTrigger",[l,A]),ne();var R=U(!0),q=x(),Y=q[0],G=q[1];Oe.isTouch&&Y==="hold"&&G&&(R=G),R?r=setTimeout(function(){l.show()},R):l.show()}function it(A){if(l.clearDelayTimeouts(),D("onUntrigger",[l,A]),!l.state.isVisible){P();return}if(!(l.props.trigger.indexOf("mouseenter")>=0&&l.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(A.type)>=0&&a)){var R=U(!1);R?i=setTimeout(function(){l.state.isVisible&&l.hide()},R):o=requestAnimationFrame(function(){l.hide()})}}function Vt(){l.state.isEnabled=!0}function _n(){l.hide(),l.state.isEnabled=!1}function Ln(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function kn(A){if(!l.state.isDestroyed){D("onBeforeUpdate",[l,A]),nt();var R=l.props,q=Ji(t,Object.assign({},R,zi(A),{ignoreAttributes:!0}));l.props=q,Ge(),R.interactiveDebounce!==q.interactiveDebounce&&(B(),f=Wi(z,q.interactiveDebounce)),R.triggerTarget&&!q.triggerTarget?At(R.triggerTarget).forEach(function(Y){Y.removeAttribute("aria-expanded")}):q.triggerTarget&&t.removeAttribute("aria-expanded"),O(),H(),T&&T(R,q),l.popperInstance&&(Cn(),ze().forEach(function(Y){requestAnimationFrame(Y._tippy.popperInstance.forceUpdate)})),D("onAfterUpdate",[l,A])}}function On(A){l.setProps({content:A})}function Oo(){var A=l.state.isVisible,R=l.state.isDestroyed,q=!l.state.isEnabled,Y=Oe.isTouch&&!l.props.touch,G=mr(l.props.duration,0,Le.duration);if(!(A||R||q||Y)&&!k().hasAttribute("disabled")&&(D("onShow",[l],!1),l.props.onShow(l)!==!1)){if
31(l.state.isVisible=!0,L()&&(w.style.visibility="visible"),H(),ne(),l.state.isMounted||(w.style.transition="none"),L()){var oe=V(),me=oe.box,gt=oe.content;vr([me,gt],0)}b=function(){var at;if(!(!l.state.isVisible||d)){if(d=!0,w.offsetHeight,w.style.transition=l.props.moveTransition,L()&&l.props.animation){var cr=V(),Pn=cr.box,yt=cr.content;vr([Pn,yt],G),Yi([Pn,yt],"visible")}N(),O(),Gi(yr,l),(at=l.popperInstance)==null||at.forceUpdate(),D("onMount",[l]),l.props.animation&&L()&&Z(G,function(){l.state.isShown=!0,D("onShown",[l])})}},Ne()}}function Po(){var A=!l.state.isVisible,R=l.state.isDestroyed,q=!l.state.isEnabled,Y=mr(l.props.duration,1,Le.duration);if(!(A||R||q)&&(D("onHide",[l],!1),l.props.onHide(l)!==!1)){if(l.state.isVisible=!1,l.state.isShown=!1,d=!1,a=!1,L()&&(w.style.visibility="hidden"),B(),P(),H(!0),L()){var G=V(),oe=G.box,me=G.content;l.props.animation&&(vr([oe,me],Y),Yi([oe,me],"hidden"))}N(),O(),l.props.animation?L()&&W(Y,l.unmount):l.unmount()}}function xo(A){F().addEventListener("mousemove",f),Gi(Dn,f),f(A)}function Io(){l.state.isVisible&&l.hide(),l.state.isMounted&&(Sn(),ze().forEach(function(A){A._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),yr=yr.filter(function(A){return A!==l}),l.state.isMounted=!1,D("onHidden",[l]))}function Mo(){l.state.isDestroyed||(l.clearDelayTimeouts(),l.unmount(),nt(),delete t._tippy,l.state.isDestroyed=!0,D("onDestroy",[l]))}}function dt(t,e){e===void 0&&(e={});var n=Le.plugins.concat(e.plugins||[]);bd();var r=Object.assign({},e,{plugins:n}),i=hd(t),o=i.reduce(function(a,s){var c=s&&Od(s,r);return c&&a.push(c),a},[]);return sr(t)?o[0]:o}dt.defaultProps=Le;dt.setDefaultProps=Sd;dt.currentInput=Oe;Object.assign({},oo,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});dt.setDefaultProps({render:Ao});class Pd{constructor(){dt(document.querySelectorAll(".has-tooltip"),{content(e){return e.getAttribute("data-tooltip")},allowHTML:!0}),dt(document.querySelectorAll(".has-tooltip-items-in-sync"),{content(e){return e.getAttribute("data-tooltip")},placement:"right",allowHTML:!0,interactive:!0}),dt(document.querySelectorAll(".has-tooltip-interactive"),{content(e){return e.getAttribute("data-tooltip")},allowHTML:!0,interactive:!0})}}class xd{constructor(){this.timeoutId=null,this.init()}init(){document.addEventListener("click",n=>{n.target.matches(".has-tooltip-interactive a")&&this.tooltipOnClick()}),document.querySelectorAll(".has-tooltip-interactive").forEach(n=>{n.addEventListener("mouseover",()=>this.disclaimerOnMouseOver()),n.addEventListener("mouseout",()=>this.disclaimerOnMouseOut())})}tooltipOnClick(){var n,r;const e={...(n=window.trackingDetails)!=null&&n.trackCategory?{category:window.trackingDetails.trackCategory.toLowerCase()}:{},label:"price-table: disclaimer tooltip learn more"};(r=window.analytics)==null||r.track("WEBSITE_LEARN-MORE",e)}disclaimerOnMouseOver(){this.timeoutId=window.setTimeout(()=>{var n,r;const e={...(n=window.trackingDetails)!=null&&n.trackCategory?{category:window.trackingDetails.trackCategory.toLowerCase()}:{},label:"price-table: disclaimer hover"};(r=window.analytics)==null||r.track("WEBSITE_LEARN-MORE",e)},400)}disclaimerOnMouseOut(){window.clearTimeout(this.timeoutId)}}class Id{constructor(){this.activeClass="active",this.tabsAttr="[data-tabs]",this.triggers="[data-tabs-trigger]",this.singles="[data-tabs-inside]",this.tabs=document.querySelectorAll(this.tabsAttr)}init(){const e=this;if(e.tabs)for(const n of e.tabs){const r=n.querySelectorAll(e.triggers);e.setFirstActive(n);for(const i of r)i.addEventListener("click",function(o){const a=i.getAttribute("data-tabs-trigger");o.preventDefault(),e.resetActiveTabs(n),i.classList.add(e.activeClass),n.querySelector(`[data-tabs-inside="${a}"]`).classList.add(e.activeClass)})}}setFirstActive(e){e.querySelectorAll(this.triggers)[0].classList.add(this.activeClass),e.querySelectorAll(this.singles)[0].classList.add(this.activeClass)}
31resetActiveTabs(e){const n=this,r=e.querySelectorAll(n.triggers),i=e.querySelectorAll(n.singles);for(const o of r)o.classList.remove(n.activeClass);for(const o of i)o.classList.remove(n.activeClass)}}var kt="text/plain",Md="text/html";function Dd(){(console.warn||console.log).apply(console,arguments)}Dd.bind("[clipboard-polyfill]");var oi=typeof window>"u"?void 0:window,Nd=typeof globalThis>"u"?void 0:globalThis,ea,ta,na,ra=(na=(ea=oi)==null?void 0:ea.Promise)!=null?na:(ta=Nd)==null?void 0:ta.Promise;function Rd(){if(!ra)throw new Error("No `Promise` implementation available for `clipboard-polyfill`. Consider using: https://github.com/lgarron/clipboard-polyfill#flat-file-version-with-promise-included");return ra}var ia=typeof navigator>"u"?void 0:navigator,we=ia==null?void 0:ia.clipboard,aa;(aa=we==null?void 0:we.read)==null||aa.bind(we);var oa;(oa=we==null?void 0:we.readText)==null||oa.bind(we);var sa,ca=(sa=we==null?void 0:we.write)==null?void 0:sa.bind(we),la;(la=we==null?void 0:we.writeText)==null||la.bind(we);var ua,Ir=(ua=oi)==null?void 0:ua.ClipboardItem,We=Rd(),Ct=oi;function Bd(){return typeof ClipboardEvent>"u"&&typeof(Ct==null?void 0:Ct.clipboardData)<"u"&&typeof(Ct==null?void 0:Ct.clipboardData.setData)<"u"}function Fd(t){if(!Ct.clipboardData)return!1;var e=Ct.clipboardData.setData("Text",t);return e}function Vd(t,e,n){t.success=!0;for(var r in e){var i=e[r],o=n.clipboardData;o.setData(r,i),r===kt&&o.getData(r)!==i&&(t.success=!1)}n.preventDefault()}function To(t){var e={success:!1},n=Vd.bind(this,e,t);document.addEventListener("copy",n);try{document.execCommand("copy")}finally{document.removeEventListener("copy",n)}return e.success}function Co(t,e){So(t);var n=To(e);return _o(),n}function qd(t){var e=document.createElement("div");e.setAttribute("style","-webkit-user-select: text !important"),e.textContent="temporary element",document.body.appendChild(e);var n=Co(e,t);return document.body.removeChild(e),n}function $d(t){var e=document.createElement("div");e.setAttribute("style","-webkit-user-select: text !important");var n=e;e.attachShadow&&(n=e.attachShadow({mode:"open"}));var r=document.createElement("span");r.innerText=t,n.appendChild(r),document.body.appendChild(e),So(r);var i=document.execCommand("copy");return _o(),document.body.removeChild(e),i}function So(t){var e=document.getSelection();if(e){var n=document.createRange();n.selectNodeContents(t),e.removeAllRanges(),e.addRange(n)}}function _o(){var t=document.getSelection();t&&t.removeAllRanges()}function jd(t){var e=kt in t;if(Bd()){if(!e)throw new Error("No `text/plain` value was specified.");if(Fd(t[kt]))return!0;throw new Error("Copying failed, possibly because the user rejected it.")}return!!(To(t)||navigator.userAgent.indexOf("Edge")>-1||Co(document.body,t)||qd(t)||$d(t[kt]))}function Lo(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r];n.push(e(i))}return We.all(n).then(o=>{for(var a={},s=0;s<t.length;s++)a[t[s]]=o[s];return a})}var Hd=We.resolve(),Ud=()=>We.resolve(!0),da=We.resolve(!1);function Wd(t){return new We((e,n)=>{try{e(t())}catch(r){n(r)}})}function br(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.types.indexOf(e)!==-1)return!0}return!1}function Gd(t,e){var n,r=Object.keys(t),i={};for(var o in t){var a=t[o];typeof a=="string"?i[o]=Yd(o,a):i[o]=a}var s=(n=e==null?void 0:e.presentationStyle)!=null?n:"unspecified";function c(d){return We.resolve(i[d])}return{types:r,presentationStyle:s,getType:c}}var zd=Gd;function Yd(t,e){return new Blob([e],{type:t})}function Kd(t){return new We((e,n)=>{var r=new FileReader;r.addEventListener("load",()=>{var i=r.result;typeof i=="string"?e(i):n("could not convert blob to string")}),r.readAsText(t)})}function Xd(t){return Lo(t.types,function(e){return t.getType(e)}).then(e=>new We((n,r)=>{var i={};t.presentationStyle&&(i.presentationStyle=t.presentationStyle),Ir?n(new Ir(e,i)):r("window.ClipboardItem is not defined")}))}function Jd(t,e){return t.getType(e).then(n=>Kd(n))}function Qd(t){return Lo(t.types,function(e){return Jd(t,e)})}function Zd(t){return Wd(()=>{if(ca&&Ir){var e=ca;return We.all(t.map(Xd)).then(n=>e(n).then(Ud).catch(r=>{if(!br(t,kt)&&!br(t,Md))throw r;return da}))}return da}).then(e=>e?Hd:(br(t,kt),Qd(t[0]).then(n=>{if(!jd(n))throw new Error("write() failed")})))}class ef{constructor(){Array.from(document.querySelectorAll("[data-copy-on-cl
31ick]")).forEach(n=>{n.addEventListener("click",this,!1)})}async handleEvent(e){const n=e.target.innerHTML,r=document.getElementById(e.target.dataset.copyOnClick),i=new zd({"text/html":new Blob([r.innerHTML],{type:"text/html"}),"text/plain":new Blob([r.innerText],{type:"text/plain"})});try{await Zd([i]),e.target.innerHTML="Copied to clipboard!",setTimeout(()=>{e.target.innerHTML=n},1500)}catch(o){e.target.innerHTML=`Could not copy text: ${o}`}}}const tf={"b5c292f4-2da3-442d-b1cf-8320fce5c610":"demo_form_submission","80b367b0-89b9-4383-bead-c183962dd9cf":"demo_form_submission","8d005528-779a-4990-9962-f86801ac70cf":"contact_form_submission","cc8447a5-5e80-496e-9a3e-d822b0534a7a":"partner_form_submission","e17fb924-06e1-447d-a90c-6de0a77abe50":"pre_discovery_form_submission"},nf={"I want to see how Unito works":"demo_request","I need help choosing a Unito plan":"plan_selection","I need help getting started with Unito":"getting_started","I am looking to learn about alternative payment options":"payment_options","I am already a customer and need help with my flows":"customer_support","I am experiencing technical issues":"technical_issues","I am interested in partnering with Unito":"partnership_inquiry","Other Inquiry":"other_inquiry"},rf={"1-149":"SMB","150-1000":"MM","1000+":"ENT"},af={"This month":1,"2–3 months":2,"4–6 months":4,"6+ months":6,"Not sure yet":0},of={"Fewer than 1,000":1,"1,000–5,000":1e3,"5,000–25,000":5e3,"25,000+":25e3,"Not sure yet":0},sf={"1–100":1,"100–1,000":100,"1,000+":1e3,"Not sure yet":0};function Ye(t){return typeof t!="string"?t:t.toLowerCase().trim()}function Ut(t,e){if(!t||!e)return t;const n=e[t];return n!==void 0?n:t}const ie={email:["email","email_address","work_email"],phone:["phone","phone_number","mobilephone"],firstName:["firstname","first_name"],lastName:["lastname","last_name"],city:["city"],region:["state","region","province"],postalCode:["zip","postal_code","postalcode"],country:["country"],company:["company","company_name"],numEmployees:["employee_count","numemployees","number_of_employees","company_size","0-2/numberofemployees"],subject:["TICKET.what_can_we_help_you_with_","TICKET.content","website_contact_form_message","TICKET.subject","subject","message","how_can_we_help_"],primaryTool:["primary_tool__form_fills_"],projectTimeline:["predisco_call_project_timeline"],expectedVolume:["predisco_call_expected_monthly_sync_volume"],licenseCount:["predisco_call_approximate_license_count"]};function ae(t,e){for(const n of e){const r=n.toLowerCase();for(const i in t)if(i.toLowerCase()===r&&t[i]){const o=t[i];return Array.isArray(o)?o.join("; "):o}}return""}function cf(t){return tf[t]||null}function lf(t){const e={},n=ae(t,ie.email);n&&(e.email_address=Ye(n));const r=ae(t,ie.phone);r&&(e.phone_number=Ye(r));const i={},o=ae(t,ie.firstName);o&&(i.first_name=Ye(o));const a=ae(t,ie.lastName);a&&(i.last_name=Ye(a));const s=ae(t,ie.city);s&&(i.city=Ye(s));const c=ae(t,ie.region);c&&(i.region=Ye(c));const d=ae(t,ie.postalCode);d&&(i.postal_code=Ye(d));const u=ae(t,ie.country);return u&&(i.country=Ye(u)),Object.keys(i).length>0&&(e.address=i),e}function uf(t,e){const n=cf(t),r={user_id:ar()},i=lf(e);if(Object.keys(i).length>0&&(r.user_data=i),n==="contact_form_submission"){const o=ae(e,ie.subject);o&&(r.subject=Ut(o,nf))}if(n==="demo_form_submission"||n==="contact_form_submission"){const o=ae(e,ie.numEmployees);o&&(r.number_employee=Ut(o,rf))}if(n==="pre_discovery_form_submission"){const o=ae(e,ie.company);o&&(r.company=o);const a=ae(e,ie.projectTimeline);a&&(r.project_launch_month=Ut(a,af));const s=ae(e,ie.expectedVolume);s&&(r.items_sync_month=Ut(s,of));const c=ae(e,ie.licenseCount);c&&(r.licenses_tools_connect=Ut(c,sf))}if(n==="partner_form_submission"){const o=ae(e,ie.primaryTool);o&&(r.primary_tool=o);const a=ae(e,ie.numEmployees);a&&(r.number_employee=a)}return{eventName:n,payload:r}}function df(t,e){const{eventName:n,payload:r}=uf(t,e);typeof analytics<"u"&&analytics.track&&analytics.track(n,r)}const fa=[],ko={};function ff(t){if(!t)return null;const e=document.querySelector(`[data-hubspot-form-id="${t}"]`);if(!e)return null;const n=e.querySelectorAll("input[name], select[name], textarea[name]"),r={};
31return n.forEach(i=>{const o=i.name;if(o){if(i.type==="checkbox"||i.type==="radio"){i.checked&&(Array.isArray(r[o])?r[o].push(i.value):o in r?r[o]=[r[o],i.value]:r[o]=i.value);return}r[o]=i.value}}),r}document.addEventListener("submit",t=>{const e=t.target;if(!e||e.tagName!=="FORM")return;const n=e.closest("[data-hubspot-form-id]");if(!n)return;const r=n.getAttribute("data-hubspot-form-id"),i=ff(r);i&&(ko[r]=i)},!0);function pf(){window.addEventListener("message",t=>{if(t.data.type==="hsFormCallback"&&t.data.eventName==="onFormSubmitted"&&!fa.includes(t.data.data.conversionId)){fa.push(t.data.data.conversionId);const e=t.data.data.conversionId,n=t.data.data.formGuid,r=t.data.data.submissionValues,i={};for(const a in r)a!=="hs_context"&&a!=="g-recaptcha-response"&&(i[a]=r[a]);const o=ko[n]||{};for(const a in o)o[a]&&!i[a]&&(i[a]=o[a]);df(n,i),_hsq.push(["trackCustomBehavioralEvent",{name:"pe2694792_form_submission_v2",properties:{form_id:n,conversion_id:e,fields_values_submitted:JSON.stringify(i)}}])}})}function hf(){const t=document.querySelectorAll("[data-plyr-video]");t.length!==0&&(Fo("https://cdn.plyr.io/3.6.8/plyr.js","plyrScriptEmbed",!0,"body"),Vo("Plyr").then(()=>{Array.from(t).map(e=>new Plyr(e))}))}class mf{constructor(){this.postHeaderSticky=document.getElementById("stickyHeader"),this.postHeaderSticky&&(this.postTitle=document.getElementsByClassName("article-title-wrap")[0],this.postTitle&&window.addEventListener("scroll",this,!1))}handleEvent(){this.postTitle.getBoundingClientRect().top<0?this.postHeaderSticky.classList.add("show"):this.postHeaderSticky.classList.remove("show")}}/**
32  reframe.js - Reframe.js: responsive iframes for embedded content
33  @version v4.0.2
34  @link https://github.com/yowainwright/reframe.ts#readme
35  @author Jeff Wainwright <[email protected]> (http://jeffry.in)
36  @license MIT
37**/function vf(t,e){var n,r,i=typeof t=="string"?document.querySelectorAll(t):t,o="js-reframe";"length"in i||(i=[i]);for(var a=0;a<i.length;a+=1){var s=i[a],c=s.className.split(" ").indexOf(o)!==-1;if(c||s.style.width.indexOf("%")>-1)return;var d=s.getAttribute("height")||s.offsetHeight,u=s.getAttribute("width")||s.offsetWidth,g=typeof d=="string"?parseInt(d):d,b=typeof u=="string"?parseInt(u):u,m=g/b*100,f=document.createElement("div");f.className=o;var p=f.style;p.position="relative",p.width="100%",p.paddingTop="".concat(m,"%");var y=s.style;y.position="absolute",y.width="100%",y.height="100%",y.left="0",y.top="0",(n=s.parentNode)===null||n===void 0||n.insertBefore(f,s),(r=s.parentNode)===null||r===void 0||r.removeChild(s),f.appendChild(s)}}class gf{constructor(){const e=document.querySelector(".site-content article:not(.type-post)");if(!e)return;const n=e.querySelectorAll('iframe[src*="loom.com"], iframe[src*="youtube.com"], iframe[src*="youtube-nocookie.com"], iframe[src*="vimeo.com"]'),r=Array.from(n).filter(i=>!i.hasAttribute("data-defer-until-visible"));r.length!==0&&vf(r)}}class yf{constructor(){this.dropdownButtons=Array.from(document.querySelectorAll(".dropdown")),this.dropdownButtons.forEach(e=>{this.controller=new bf(e)})}}class bf{constructor(e){this.model=new wf,this.view=new Ef(e),this.addEventListeners(),this.view.init(this.model)}addEventListeners(){this.view.dropdownButton.addEventListener("click",this.view.toggleDropdown.bind(this.view,this.model)),document.addEventListener("click",this.view.handleClickOut.bind(this.view,this.model)),this.view.inputs.length>0&&this.view.inputs.forEach(e=>{const n=e.parentElement;n&&n.addEventListener("click",r=>{r.target===n&&e.click()}),e.addEventListener("change",this.view.updateDropdown.bind(this.view,this.model))}),this.view.dropdownButton.addEventListener("updatelabelvalue",this.model.updateDropdownLabelValue.bind(this.model,this.view)),this.view.dropdownButton.addEventListener("updatelabel",this.view.updateDropdownLabel.bind(this.view,this.model)),this.view.dropdownButton.addEventListener("updatedropdown",this.view.updateDropdown.bind(this.view,this.model))}}class wf{updateDropdownLabelValue(e){this.isClosed?this.isDefaultValue&&this.dropdownType!=="radio"?this.currentLabel=this.defaultName:this.currentName!==void 0&&this.currentName.length>0&&this.dropdownType==="radio"?this.currentLabel=this.currentName:this.hasCounter?this.currentLabel=this.name+" ("+this.activeInputs+")":this.currentLabel=this.activeLabel:this.currentLabel=this.activeLabel,e.dropdownButton.dispatchEvent(new Event("updatelabel"))}}class Ef{constructor(e){this.dropdownButton=e,this.target=this.getTarget(),this.inputs=this.getInputs()}init(e){if(e.hasCounter=this.getHasCounter(),e.name=this.getName(),e.activePrefix=this.getActivePrefix(),e.activePrefix.length<=0?e.activeLabel=e.name:e.name.length<=0?e.activeLabel=e.activePrefix:e.activeLabel=e.activePrefix+" "+e.name,this.inputs.length>0){e.dropdownType=this.getDropdownType(),e.defaultName=this.getDefaultName();const n=this.getActiveInputs();e.activeInputs=n.length,e.isDefaultValue=n[0]===this.inputs[0],n.length>=1&&!e.isDefaultValue&&this.dropdownButton.classList.add("dropdown-selected")}e.isClosed=this.isDropdownClosed(),this.dropdownButton.dispatchEvent(new Event("updatedropdown"))}getInputs(){return this.target.querySelectorAll('input[type="checkbox"], input[type="radio"]')}getActiveInputs(){return this.target.querySelectorAll("input:checked")}getTarget(){let e=this.dropdownButton.dataset.target;return e!==void 0&&(e=document.getElementById(e)),e}isDropdownClosed(){return!this.dropdownButton.classList.contains("dropdown-opened")}updateDropdown(e){const n=this.getActiveInputs();n.length>0&&(n[0]!==this.inputs[0]||e.dropdownType==="radio")?(e.isDefaultValue=!1,e.dropdownType==="radio"?(e.currentName=this.getRadioOptionName(),this.closeDropdown(e)):e.activeInputs=n.length,this.dropdownButton.classList.add("dropdown-selected")):(e.isDefaultValue=!0,this.dropdownButton.classList.remove("dropdown-selected"));const r=[];n.forEach(i=>{const o=i.parentElement;(o&&o.hasAttribute("data-item-id")||i.hasAttribute("data-item-id"))&&r.push(o.dataset.itemId)}),this.dropdownButton.setAttribute("data-selected-id",r.join(",")),this.dropdownButton.dispatchEvent(new Event("updatelabelvalue"))}updateDropdownLabel(e){const n=this.dropdownButton.querySelector("label");n.innerText=e.currentLabel}getHasCounter(){return this.dropdownButton.hasAttribute("data-dropdown-counter")}getName(){return this.dropdownButton.dataset.dropdownName??""}getActivePrefix(){return this.dropdownButton.dataset.dropdownActivePrefix??""}getDropdownType(){return this.target.querySelector('input[type="checkbox"], input[type="radio"]').type??"checkbox"}getDefaultName(){const e=this.target.querySelector('input[type="checkbox"], input[type="radio"]');return this.target.querySelector('label[for="'+e.id+'"]').innerText.replace(/[\t\n\r]/gm,"")??""}getRadioOptionName(){let e="";const n=this.target.querySelector('input[type="radio"]:checked');if(n){const r=this.target.querySelector('label[for="'+n.id+'"]');r&&(e=r.innerText.replace(/[\t\n\r]/gm,""))}return e}handleClickOut(e,n){!n.target.closest("#"+this.target.id)&&!n.target.closest('[data-target="'+this.target.id+'"]')&&this.closeDropdown(e)}toggleDropdown(e){this.target.classList.contains("listbox-closed")?this.openDropdown(e):this.closeDropdown(e)}closeDropdown(e){if(this.target){if(this.target.classList.contains("scrollable-filter-list")){const r=this.target.querySelector(".searchbar-filters");r&&r.scrollTo(0,0)}this.target.classList.add("listbox-closed"),this.dropdownButton.classList.remove("dropdown-opened"),e.isClosed=!0;const n=this.target.querySelector('input[type="text"]');
37n&&(n.value="",n.dispatchEvent(new Event("input"))),this.dropdownButton.dispatchEvent(new Event("updatelabelvalue"))}}openDropdown(e){this.target&&(this.target.classList.remove("listbox-closed"),this.dropdownButton.classList.add("dropdown-opened"),e.isClosed=!1,this.dropdownButton.dispatchEvent(new Event("updatelabelvalue")))}}class Af{constructor(){this.model=new Tf,this.view=new Cf,this.controller=new Sf(this.model,this.view)}}class Tf{constructor(){this.isBubbleVisible=!0}toggleVisibility(){this.isBubbleVisible=!this.isBubbleVisible}isVisible(){return this.isBubbleVisible}}class Cf{constructor(){this.createChatBubble(),this.createModal()}createChatBubble(){this.bubbleElement=document.createElement("div"),this.bubbleElement.style.position="fixed",this.bubbleElement.style.bottom="16px",this.bubbleElement.style.right="16px",this.bubbleElement.style.width="60px",this.bubbleElement.style.height="60px",this.bubbleElement.style.borderRadius="50%",this.bubbleElement.style.backgroundColor="rgb( 58, 175, 169 )",this.bubbleElement.style.display="flex",this.bubbleElement.style.justifyContent="center",this.bubbleElement.style.alignItems="center",this.bubbleElement.style.cursor="pointer",this.bubbleElement.style.transition="transform 100ms ease-in-out 0s",this.bubbleElement.style.backgroundImage="url( '/wp-content/themes/unito/assets/build/images/chat-icon.svg' )",this.bubbleElement.style.boxShadow="rgba( 0, 0, 0, 0.1 ) 0px 1px 4px, rgba( 0, 0, 0, 0.2 ) 0px 2px 12px",this.bubbleElement.style.backgroundRepeat="no-repeat",this.bubbleElement.style.backgroundPosition="center",this.bubbleElement.style.backgroundSize="32px",this.bubbleElement.style.zIndex="9999",this.bubbleElement.addEventListener("mouseover",()=>{this.bubbleElement.style.boxShadow="rgba( 0, 0, 0, 0.1 ) 0px 2px 6px, rgba( 0, 0, 0, 0.2 ) 0px 4px 16px",this.bubbleElement.style.transform="scale( 1.1 )"}),this.bubbleElement.addEventListener("mouseout",()=>{this.bubbleElement.style.boxShadow="none",this.bubbleElement.style.transform="scale( 1 )"}),this.bubbleElement.addEventListener("mousedown",()=>{this.bubbleElement.style.boxShadow="rgba( 0, 0, 0, 0.1 ) 0px 1px 4px, rgba( 0, 0, 0, 0.1 ) 0px 2px 8px",this.bubbleElement.style.transform="scale( 0.9 )"}),this.bubbleElement.addEventListener("mouseup",()=>{this.bubbleElement.dispatchEvent(new Event("mouseover"))}),this.bubbleElement.addEventListener("mouseleave",()=>{this.bubbleElement.dispatchEvent(new Event("mouseout"))}),document.body.appendChild(this.bubbleElement)}createModal(){this.modalOverlay=document.createElement("div"),this.modalOverlay.style.position="fixed",this.modalOverlay.style.top="0",this.modalOverlay.style.left="0",this.modalOverlay.style.width="100%",this.modalOverlay.style.height="100%",this.modalOverlay.style.backgroundColor="rgba( 0,0,0,0.7 )",this.modalOverlay.style.zIndex="1000",this.modalOverlay.style.display="none",this.modalOverlay.style.justifyContent="center",this.modalOverlay.style.alignItems="center";const e=document.createElement("div");e.style.backgroundColor="#fff",e.style.padding="2rem",e.style.border="1px solid black",e.style.borderRadius="16px",e.style.width="80%",e.style.maxWidth="500px";const n=document.createElement("h2");n.textContent="Chat with our team",n.style.margin="0",e.appendChild(n);const r=document.createElement("p");r.textContent="To enable our live chat feature, please allow cookies on this website. Click 'Manage preferences' to manage your cookie preferences.",r.style.marginBottom="1.5rem",e.appendChild(r);const i=document.createElement("p");i.textContent="For a seamless live chat experience, please ensure your AdBlocker is turned off, as it may prevent third-party chat tools from functioning.",i.style.marginBottom="1.5rem",e.appendChild(i),this.managePreferencesBtn=document.createElement("button"),this.managePreferencesBtn.textContent="Manage preferences",this.managePreferencesBtn.classList.add("button","button--primary"),this.managePreferencesBtn.style.marginRight="4%",this.managePreferencesBtn.style.maxWidth="52%",this.managePreferencesBtn.style.padding="0.5rem",e.appendChild(this.managePreferencesBtn),this.cancelBtn=document.createElement("button"),this.cancelBtn.textContent="Cancel",this.cancelBtn.classList.add("button","button--w
37hite"),this.cancelBtn.style.maxWidth="44%",this.cancelBtn.style.padding="0.5rem",e.appendChild(this.cancelBtn),this.modalOverlay.appendChild(e),document.body.appendChild(this.modalOverlay)}openModal(){this.modalOverlay.style.display="flex"}closeModal(){this.modalOverlay.style.display="none"}toggle(){this.bubbleElement.style.display==="none"?this.bubbleElement.style.display="block":this.bubbleElement.style.display="none"}getElement(){return this.bubbleElement}}class Sf{constructor(e,n){this.model=e,this.view=n,this.isHubSpotAndAnalyticsReady()?(this.view.bubbleElement.remove(),this.view.modalOverlay.remove()):(this.view.getElement().addEventListener("click",()=>this.handleClick()),this.view.managePreferencesBtn.addEventListener("click",()=>{this.handleManagePreferencesClick()}),this.view.cancelBtn.addEventListener("click",()=>{this.handleCancelClick()}),this.view.modalOverlay.addEventListener("click",r=>{r.target===r.currentTarget&&this.handleCancelClick()}))}handleClick(){this.isHubSpotAndAnalyticsReady()?(this.view.bubbleElement.remove(),this.view.modalOverlay.remove(),window.HubSpotConversations.widget.open()):this.view.openModal()}handleManagePreferencesClick(){typeof OneTrust<"u"&&OneTrust.ToggleInfoDisplay(),this.view.closeModal()}handleCancelClick(){this.view.closeModal()}isHubSpotAndAnalyticsReady(){return typeof window.HubSpotConversations<"u"&&window.analytics&&window.analytics.initialized===!0}}const _f=3*60*60*1e3;function Lf(){const t=window.location.pathname,e=kf(t);e&&Pf(e)}function kf(t){const e=t.match(/\/(?:connectors|integrations)\/([^\/?#]+)/);return e?e[1]:null}function Of(t){return Date.now()-t>_f}function Pf(t){const e=Date.now(),n=localStorage.getItem("intentFirstTouchData");if(n)try{const r=JSON.parse(n);Of(r.timestamp)&&(localStorage.setItem("intentFirstTouchData",JSON.stringify({value:t,timestamp:e})),localStorage.setItem("intentFirstTouch",t))}catch(r){console.error("Failed to parse intentFirstTouchData from localStorage:",n,r),localStorage.setItem("intentFirstTouchData",JSON.stringify({value:t,timestamp:e})),localStorage.setItem("intentFirstTouch",t)}else localStorage.setItem("intentFirstTouchData",JSON.stringify({value:t,timestamp:e})),localStorage.setItem("intentFirstTouch",t);localStorage.setItem("intentLastTouchData",JSON.stringify({value:t,timestamp:e})),localStorage.setItem("intentLastTouch",t)}const xf=["group","tabpanel"];function Mr(t){const e=t.getAttribute("role");if(!xf.includes(e))return;const n=t.getAttribute("aria-roledescription"),r=t.getAttribute("aria-label");let i=t.firstElementChild;if(!i||i.dataset.ariaGroupWrapper!=="true"){for(i=document.createElement("div"),i.dataset.ariaGroupWrapper="true";t.firstChild;)i.appendChild(t.firstChild);t.appendChild(i)}i.setAttribute("role",e),n?i.setAttribute("aria-roledescription",n):i.removeAttribute("aria-roledescription"),r?i.setAttribute("aria-label",r):i.removeAttribute("aria-label"),t.removeAttribute("role"),t.removeAttribute("aria-roledescription"),t.removeAttribute("aria-label")}function pa(t){t.nodeType===1&&(t.classList&&t.classList.contains("splide__slide")&&Mr(t),typeof t.querySelectorAll=="function"&&t.querySelectorAll(".splide__slide").forEach(Mr))}function Dr(t){if(!t)return null;t.querySelectorAll(".splide__slide").forEach(Mr);const e=new MutationObserver(n=>{n.forEach(r=>{r.type==="attributes"?pa(r.target):r.type==="childList"&&r.addedNodes.forEach(pa)})});return e.observe(t,{attributes:!0,attributeFilter:["role"],childList:!0,subtree:!0}),e}class If{constructor(){this.init()}init(){this.initDataAttributeSliders(),this.initLegacySliders()}initDataAttributeSliders(){const e=document.querySelectorAll("[data-splide]");e.length&&e.forEach(n=>{this.initializeSlider(n)})}initLegacySliders(){const e=document.querySelectorAll(".splide:not([data-splide])");e.length&&e.forEach(n=>{if(!n.id||n.id.trim()===""){console.warn("Legacy Splide slider found without ID. Please add an ID or use data-splide attribute.");return}try{new ln(n).mount(),Dr(n)}catch(r){console.error(`Error initializing Splide slider with ID ${n.id}:`,r)}})}getConfig(e){const n={perPage:3,perMove:1,gap:"23px",pagination:!1,arrows:!1,breakpoints:{1200:{perPage:3},900:{perPage:2},600:{perPage:1}}};if(typeof e.dataset.splide=="string"&&e.dataset.splide.trim()!=="")try{return JSON.parse(e.dataset.splide)}catch(r){return console.warn("Invalid JSON in data-splide attribute:",r),n}return n}initializeSlider(e){try{const n=this.getConfig(e),r=new ln(e,n);r.mount(),Dr(e),this.setupCustomNavigation(e,r)}catch(n){console.error("Error initializing Splide slider:",n)}}setupCustomNavigation(e,n){const r=e.closest(".block-case-study-gallery")||e.parentElement;if(!r)return;const i=r.querySelector(".js-splide-prev"),o=r.querySelector(".js-splide-next");!i&&!o||(i&&i.addEventListener("click",()=>{n.go("<")}),o&&o.addEventListener("click",()=>{n.go(">")}),n.on("moved",()=>{i&&(i.disabled=n.index===0),o&&(o.disabled=n.index===n.length-n.options.perPage)}),i&&(i.disabled=n.index===0),o&&(o.disabled=n.length<=n.options.perPage))}}class Mf{constructor(){this.init()}init(){const e=document.getElementById("case-study-gallery-slider");e&&this.initializeSlider(e)}initializeSlider(e){const n=e.classList.contains("splide--case-study-enhanced"),r=!!e.closest(".ppc-workflow-integration, .ppc-servicenow-jira-integration"),i=n?{perPage:1,perMove:1,gap:"23px",pagination:!1,arrows:!1,padding:{right:"80px"}}:{type:r?"loop":"slide",perPage:3,perMove:1,gap:"23px",pagination:!1,arrows:!1,padding:{right:"80px"},breakpoints:{1200:{perPage:3},900:{perPage:2},600:{perPage:1}}};try{const o=new ln(e,i),a=e.closest(".block-case-study-gallery")||document,s=a.querySelector(".js-splide-prev"),c=a.querySelector(".js-splide-next");s&&c&&this.setupNavigationButtons(o,s,c),o.mount(),Dr(e)}catch(o){console.error("Error initializing case study gallery slider:",o)}}setupNavigationButtons(e,n,r){n.addEventListener("click",()=>{e.go("<")}),r.addEventListener("click",()=>{e.go(">")});const i=()=>
37{if(e.options.type==="loop"){n.disabled=!1,r.disabled=!1;return}n.disabled=e.index===0,r.disabled=e.index>=e.length-e.options.perPage};e.on("mounted move",i)}}class Df{constructor(){this.controllers=[],this.footerMenus=document.querySelectorAll(".footer-menu"),!(this.footerMenus.length<=0)&&this.footerMenus.forEach(e=>{this.controllers.push(new Nf(e))})}}class Nf{constructor(e){this.menu=e,this.showMoreButton=this.menu.querySelector(".show-more-button"),this.showMoreButton&&this.init()}init(){this.showMoreButton.addEventListener("click",()=>{const e=this.menu.classList.contains("menu-items--expanded");this.menu.classList.toggle("menu-items--expanded"),this.showMoreButton.setAttribute("aria-expanded",!e),this.showMoreButton.textContent=e?"Show more":"Show less"})}}document.addEventListener("DOMContentLoaded",()=>{Lf(),new If,new Mf,hf(),new lc,new Lr,new eu().init(),new dc().init(),new Zl().init(),new Id().init(),new yf,new Pd,new xd,new ef,new mf,new gf,new oc,new Af,new Df,pf();const i=[],o=(a,s)=>a.catch(c=>{console.error(`Error initializing ${s}:`,c)});if(document.querySelector(".sort, [data-sorts]")&&i.push(o(fe(async()=>{const{default:a}=await import("./chunks/sort-Bw7IscgZ.js");return{default:a}},[]).then(({default:a})=>{window._sortSetup=new a}),"sort")),document.getElementById("stickyToc")&&fe(async()=>{const{default:a}=await import("./chunks/sticky-toc-CGH7ymfL.js");return{default:a}},[]).then(({default:a})=>new a),document.getElementById("fieldsTable")&&fe(async()=>{const{default:a}=await import("./chunks/fields-table-CUhWKoqK.js");return{default:a}},[]).then(({default:a})=>new a),document.querySelector(".load-more-btn")&&fe(async()=>{const{default:a}=await import("./chunks/load-more-DJ5dID7j.js");return{default:a}},[]).then(({default:a})=>new a),document.querySelector(".combo-cta")&&fe(async()=>{const{default:a}=await import("./chunks/combo-cta-BI07zxc8.js");return{default:a}},[]).then(({default:a})=>new a),document.querySelector(".v2-modal.modal-video")&&fe(async()=>{const{default:a}=await import("./chunks/vimeo-modal-CLZOL_Di.js");return{default:a}},__vite__mapDeps([0,1,2])).then(({default:a})=>new a),document.querySelector(".filters, [data-filters]")&&i.push(o(fe(async()=>{const{default:a}=await import("./chunks/filters-D7Du3vtV.js");return{default:a}},[]).then(({default:a})=>{window._filterSetup=new a}),"filters")),document.querySelector(".searchbar")&&i.push(o(fe(async()=>{const{default:a}=await import("./chunks/search-C5BggNPE.js");return{default:a}},[]).then(({default:a})=>{window._searchSetup=new a}),"search")),document.querySelector(".pagination:not([data-resource-pagination])")){const a=fe(()=>import("./chunks/pagination-Bo0v1gsg.js"),[]);Promise.allSettled(i).then(()=>a).then(({default:s})=>{window._paginationSetup=new s}).catch(s=>{console.error("Error initializing pagination:",s)})}document.querySelector(".cost-savings-calculator")&&fe(async()=>{const{default:a}=await import("./chunks/cost-savings-calculator-BZrykcOj.js");return{default:a}},__vite__mapDeps([3,1,2])).then(({default:a})=>new a),document.querySelector("[data-video-player]")&&fe(async()=>{const{default:a}=await import("./chunks/background-to-video-player-DLCXrfC7.js");return{default:a}},__vite__mapDeps([4,1,2])).then(({default:a})=>new a),document.querySelector("span[data-typed]")&&fe(async()=>{const{default:a}=await import("./chunks/plugin--typed-C5QbT3kM.js");return{default:a}},[]).then(({default:a})=>a()),document.querySelector(".block-scrollable-content-visuals")&&fe(async()=>{const{default:a}=await import("./chunks/scrollable-visuals-Bfj48uSo.js");return{default:a}},[]).then(({default:a})=>new a)});export{Xr as P,Lr as S,ar as g};

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.