1/*! For license information please see app.56074e.js.LICENSE.txt */ 2(self.webpackChunksage=self.webpackChunksage||[]).push([[329],{689:function(t,e,n){"use strict";n.d(e,{KR:function(){return F}});const i=t=>"object"==typeof t&&null!==t&&t.constructor===Object&&"[object Object]"===Object.prototype.toString.call(t),s=(...t)=>{let e=!1;"boolean"==typeof t[0]&&(e=t.shift());let n=t[0];if(!n||"object"!=typeof n)throw new Error("extendee must be an object");const o=t.slice(1),r=o.length;for(let t=0;t<r;t++){const r=o[t];for(let t in r)if(r.hasOwnProperty(t)){const o=r[t];if(e&&(Array.isArray(o)||i(o))){const e=Array.isArray(o)?[]:{};n[t]=s(!0,n.hasOwnProperty(t)?n[t]:e,o)}else n[t]=o}}return n},o=(t,e=1e4)=>(t=parseFloat(t)||0,Math.round((t+Number.EPSILON)*e)/e),r=function(t){return!!(t&&"object"==typeof t&&t instanceof Element&&t!==document.body)&&!t.__Panzoom&&(function(t){const e=getComputedStyle(t)["overflow-y"],n=getComputedStyle(t)["overflow-x"],i=("scroll"===e||"auto"===e)&&Math.abs(t.scrollHeight-t.clientHeight)>1,s=("scroll"===n||"auto"===n)&&Math.abs(t.scrollWidth-t.clientWidth)>1;return i||s}(t)?t:r(t.parentNode))},a="undefined"!=typeof window&&window.ResizeObserver||class{constructor(t){this.observables=[],this.boundCheck=this.check.bind(this),this.boundCheck(),this.callback=t}observe(t){if(this.observables.some((e=>e.el===t)))return;const e={el:t,size:{height:t.clientHeight,width:t.clientWidth}};this.observables.push(e)}unobserve(t){this.observables=this.observables.filter((e=>e.el!==t))}disconnect(){this.observables=[]}check(){const t=this.observables.filter((t=>{const e=t.el.clientHeight,n=t.el.clientWidth;if(t.size.height!==e||t.size.width!==n)return t.size.height=e,t.size.width=n,!0})).map((t=>t.el));t.length>0&&this.callback(t),window.requestAnimationFrame(this.boundCheck)}};class l{constructor(t){this.id=self.Touch&&t instanceof Touch?t.identifier:-1,this.pageX=t.pageX,this.pageY=t.pageY,this.clientX=t.clientX,this.clientY=t.clientY}}const c=(t,e)=>e?Math.sqrt((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2):0,u=(t,e)=>e?{clientX:(t.clientX+e.clientX)/2,clientY:(t.clientY+e.clientY)/2}:t;class h{constructor(t,{start:e=(()=>!0),move:n=(()=>{}),end:i=(()=>{})}={}){this._element=t,this.startPointers=[],this.currentPointers=[],this._pointerStart=t=>{if(t.buttons>0&&0!==t.button)return;const e=new l(t);this.currentPointers.some((t=>t.id===e.id))||this._triggerPointerStart(e,t)&&(window.addEventListener("mousemove",this._move),window.addEventListener("mouseup",this._pointerEnd))},this._touchStart=t=>{for(const e of Array.from(t.changedTouches||[]))this._triggerPointerStart(new l(e),t)},this._move=t=>{const e=this.currentPointers.slice(),n=(t=>"changedTouches"in t)(t)?Array.from(t.changedTouches).map((t=>new l(t))):[new l(t)];for(const t of n){const e=this.currentPointers.findIndex((e=>e.id===t.id));e<0||(this.currentPointers[e]=t)}this._moveCallback(e,this.currentPointers.slice(),t)},this._triggerPointerEnd=(t,e)=>{const n=this.currentPointers.findIndex((e=>e.id===t.id));return!(n<0||(this.currentPointers.splice(n,1),this.startPointers.splice(n,1),this._endCallback(t,e),0))},this._pointerEnd=t=>{t.buttons>0&&0!==t.button||this._triggerPointerEnd(new l(t),t)&&(window.removeEventListener("mousemove",this._move,{passive:!1}),window.removeEventListener("mouseup",this._pointerEnd,{passive:!1}))},this._touchEnd=t=>{for(const e of Array.from(t.changedTouches||[]))this._triggerPointerEnd(new l(e),t)},this._startCallback=e,this._moveCallback=n,this._endCallback=i,this._element.addEventListener("mousedown",this._pointerStart,{passive:!1}),this._element.addEventListener("touchstart",this._touchStart,{passive:!1}),this._element.addEventListener("touchmove",this._move,{passive:!1}),this._element.addEventListener("touchend",this._touchEnd),this._element.addEventListener("touchcancel",this._touchEnd)}stop(){this._element.removeEventListener("mousedown",this._pointerStart,{passive:!1}),this._element.removeEventListener("touchstart",this._touchStart,{passive:!1}),this._element.removeEventListener("touchmove",this._move,{passive:!1}),this._element.removeEventListener("touchend",this._touchEnd),this._element.removeEventListener("touchcancel",this._touchEnd),window.removeEventListener("mousemove",this._move),window.removeEventListener("mouseup",this._pointerEnd)}_triggerPointerStart(t,e){return!!this._startCallback(t,e)&&(this.currentPointers.push(t),this.startPointers.push(t),!0)}}class d{constructor(t={}){this.options=s(!0,{},t),this.plugins=[],this.events={};for(const t of["on","once"])for(const e of Object.entries(this.options[t]||{}))this[t](...e)}option(t,e,...n){let i=(s=t=String(t),o=this.options,s.split(".").reduce((function(t,e){return t&&t[e]}
2),o));var s,o;return"function"==typeof i&&(i=i.call(this,this,...n)),void 0===i?e:i}localize(t,e=[]){return(t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,n,i)=>{let s="";i?s=this.option(`${n[0]+n.toLowerCase().substring(1)}.l10n.${i}`):n&&(s=this.option(`l10n.${n}`)),s||(s=t);for(let t=0;t<e.length;t++)s=s.split(e[t][0]).join(e[t][1]);return s}))).replace(/\{\{(.*)\}\}/,((t,e)=>e))}on(t,e){if(i(t)){for(const e of Object.entries(t))this.on(...e);return this}return String(t).split(" ").forEach((t=>{const n=this.events[t]=this.events[t]||[];-1==n.indexOf(e)&&n.push(e)})),this}once(t,e){if(i(t)){for(const e of Object.entries(t))this.once(...e);return this}return String(t).split(" ").forEach((t=>{const n=(...i)=>{this.off(t,n),e.call(this,this,...i)};n._=e,this.on(t,n)})),this}off(t,e){if(!i(t))return t.split(" ").forEach((t=>{const n=this.events[t];if(!n||!n.length)return this;let i=-1;for(let t=0,s=n.length;t<s;t++){const s=n[t];if(s&&(s===e||s._===e)){i=t;break}}-1!=i&&n.splice(i,1)})),this;for(const e of Object.entries(t))this.off(...e)}trigger(t,...e){for(const n of[...this.events[t]||[]].slice())if(n&&!1===n.call(this,this,...e))return!1;for(const n of[...this.events["*"]||[]].slice())if(n&&!1===n.call(this,t,this,...e))return!1;return!0}attachPlugins(t){const e={};for(const[n,i]of Object.entries(t||{}))!1===this.options[n]||this.plugins[n]||(this.options[n]=s({},i.defaults||{},this.options[n]),e[n]=new i(this));for(const[t,n]of Object.entries(e))n.attach(this);return this.plugins=Object.assign({},this.plugins,e),this}detachPlugins(){for(const t in this.plugins){let e;(e=this.plugins[t])&&"function"==typeof e.detach&&e.detach(this)}return this.plugins={},this}}const f={touch:!0,zoom:!0,pinchToZoom:!0,panOnlyZoomed:!1,lockAxis:!1,friction:.64,decelFriction:.88,zoomFriction:.74,bounceForce:.2,baseScale:1,minScale:1,maxScale:2,step:.5,textSelection:!1,click:"toggleZoom",wheel:"zoom",wheelFactor:42,wheelLimit:5,draggableClass:"is-draggable",draggingClass:"is-dragging",ratio:1};class p extends d{constructor(t,e={}){super(s(!0,{},f,e)),this.state="init",this.$container=t;for(const t of["onLoad","onWheel","onClick"])this[t]=this[t].bind(this);this.initLayout(),this.resetValues(),this.attachPlugins(p.Plugins),this.trigger("init"),this.updateMetrics(),this.attachEvents(),this.trigger("ready"),!1===this.option("centerOnStart")?this.state="ready":this.panTo({friction:0}),t.__Panzoom=this}initLayout(){const t=this.$container;if(!(t instanceof HTMLElement))throw new Error("Panzoom: Container not found");const e=this.option("content")||t.querySelector(".panzoom__content");if(!e)throw new Error("Panzoom: Content not found");this.$content=e;let n=this.option("viewport")||t.querySelector(".panzoom__viewport");n||!1===this.option("wrapInner")||(n=document.createElement("div"),n.classList.add("panzoom__viewport"),n.append(...t.childNodes),t.appendChild(n)),this.$viewport=n||e.parentNode}resetValues(){this.updateRate=this.option("updateRate",/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)?250:24),this.container={width:0,height:0},this.viewport={width:0,height:0},this.content={origWidth:0,origHeight:0,width:0,height:0,x:this.option("x",0),y:this.option("y",0),scale:this.option("baseScale")},this.transform={x:0,y:0,scale:1},this.resetDragPosition()}onLoad(t){this.updateMetrics(),this.panTo({scale:this.option("baseScale"),friction:0}),this.trigger("load",t)}onClick(t){if(t.defaultPrevented)return;if(this.option("textSelection")&&window.getSelection().toString().length)return void t.stopPropagation();const e=this.$content.getClientRects()[0];if("ready"!==this.state&&(this.dragPosition.midPoint||Math.abs(e.top-this.dragStart.rect.top)>1||Math.abs(e.left-this.dragStart.rect.left)>1))return t.preventDefault(),void t.stopPropagation();!1!==this.trigger("click",t)&&this.option("zoom")&&"toggleZoom"===this.option("click")&&(t.preventDefault(),t.stopPropagation(),this.zoomWithClick(t))}onWheel(t){!1!==this.trigger("wheel",t)&&this.option("zoom")&&this.option("wheel")&&this.zoomWithWheel(t)}zoomWithWheel(t){void 0===this.changedDelta&&(this.changedDelta=0);const e=Math.max(-1,Math.min(1,-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)),n=this.content.scale;let i=n*(100+e*this.option("wheelFactor"))/100;if(e<0&&Math.abs(n-this.option("minScale"))<.01||e>0&&Math.abs(n-this.option("maxScale"))<.01?(this.changedDelta+=Math.abs(e),i=n):(this.changedDelta=0,i=Math.max(Math.min(i,this.option("maxScale")),this.option("minScale"))),this.changedDelta>this.option("wheelLimit"))return;if(t.preventDefault(),i===n)return;const s=this.$content.getBoundingClientRect(),o=t.clientX-s.left,r=t.clientY-s.top;this.zoomTo(i,{x:o,y:r})}zoomWithClick(t){const e=this.$content.getClientRects()[0],n=t.clientX-e.left,i=t.clientY-e.top;this.toggleZoom({x:n,y:i})}attachEvents(){this.$content.addEventListener("load",this.onLoad),this.$container.addEventListener("wheel",this.onWheel,{passive:!1}),this.$container.addEventListener("click",this.onClick,{passive:!1}),this.initObserver();const t=new h(this.$container,{start:(e,n)=>{if(!this.option("touch"))return!1;if(this.velocity.scale<0)return!1;const i=n.composedPath()[0];if(!t.currentPointers.length){if(-1!==["BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(i.nodeName))return!1;if(this.option("textSelection")&&((t,e,n)=>{const i=t.childNodes,s=document.createRange();for(let t=0;t<i.length;t++){const o=i[t];if(o.nodeType!==Node.TEXT_NODE)continue;s.selectNodeContents(o);const r=s.getBoundingClientRect();if(e>=r.left&&n>=r.top&&e<=r.right&&n<=r.bottom)return o}return!1})(i,e.clientX,e.clientY))return!1}return!r(i)&&!1!==this.trigger("touchStart",n)&&("mousedown"===n.type&&n.preventDefault(),this.state="pointerdown",this.resetDragPosition(),this.dragPosition.midPoint=null,this.dragPosition.time=Date.now(),!0)},move:(e,n,i)=>{if("pointerdown"!==this.state)return;if(!1===this.trigger("touchMove",i))return void i.preventDefault();if(n.length<2&&!0===this.option("panOnlyZoomed")&&this.content.width<=this.viewport.width&&this.content.height<=this.viewport.height&&this.transform.scale<=this.option("baseScale"))return;if(n.length>1&&(!this.option("zoom")||!1===this.option("pinchToZoom")))return;const s=u(e[0],e[1]),o=u(n[0],n[1]),r=o.clientX-s.clientX,a=o.clientY-s.clientY,l=c(e[0],e[1]),h=c(n[0],n[1]),d=l&&h?h/l:1;this.dragOffset.x+=r,this.dragOffset.y+=a,this.dragOffset.scale*=d,this.dragOffset.time=Date.now()-this.dragPosition.time;const f=1===this.dragStart.scale&&this.option("lockAxis");if(f&&!this.lockAxis){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void i.preventDefault();const t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockAxis=t>45&&t<135?"y":"x"}if("xy"===f||"y"!==this.lockAxis){if(i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation(),this.lockAxis&&(this.dragOffset["x"===this.lockAxis?"y":"x"]=0),this.$container.classList.add(this.option("draggingClass")),this.transform.scale===this.option("baseScale")&&"y"===this.lockAxis||(this.dragPosition.x=this.dragStart.x+this.dragOffset.x),this.transform.scale===this.option("baseScale")&&"x"===this.lockAxis||(this.dragPosition.y=this.dragStart.y+this.dragOffset.y),this.dragPosition.scale=this.dragStart.scale*this.dragOffset.scale,n.length>1){const e=u(t.startPointers[0],t.startPointers[1]),n=e.clientX-this.dragStart.rect.x,i=e.clientY-this.dragStart.rect.y,{deltaX:s,deltaY:r}=this.getZoomDelta(this.content.scale*this.dragOffset.scale,n,i);this.dragPosition.x-=s,this.dragPosition.y-=r,this.dragPosition.midPoint=o}else this.setDragResistance();this.transform={x:this.dragPosition.x,y:this.dragPosition.y,scale:this.dragPosition.scale},this.startAnimation()}},end:(e,n)=>{if("pointerdown"!==this.state)return;if(this._dragOffset={...this.dragOffset},t.currentPointers.length)return void this.resetDragPosition();if(this.state="decel",this.friction=this.option("decelFriction"),this.recalculateTransform(),this.$container.classList.remove(this.option("draggingClass")),!1===this.trigger("touchEnd",n))return;if("decel"!==this.state)return;const i=this.option("minScale");if(this.transform.scale<i)return void this.zoomTo(i,{friction:.64});const s=this.option("maxScale");if(this.transform.scale-s>.01){const t=this.dragPosition.midPoint||e,n=this.$content.getClientRects()[0];this.zoomTo(s,{friction:.64,x:t.clientX-n.left,y:t.clientY-n.top})}}});this.pointerTracker=t}initObserver(){this.resizeObserver||(this.resizeObserver=new a((()=>{this.updateTimer||(this.updateTimer=setTimeout((()=>{const t=this.$container.getBoundingClientRect();t.width&&t.height?((Math.abs(t.width-this.container.width)>1||Math.abs(t.height-this.container.height)>1)&&(this.isAnimating()&&this.endAnimation(!0),this.updateMetrics(),this.panTo({x:this.content.x,y:this.content.y,scale:this.option("baseScale"),friction:0})),this.updateTimer=null):this.updateTimer=null}),this.updateRate))})),this.resizeObserver.observe(this.$container))}resetDragPosition(){this.lockAxis=null,this.friction=this.option("friction"),this.velocity={x:0,y:0,scale:0};const{x:t,y:e,scale:n}=this.content;
2this.dragStart={rect:this.$content.getBoundingClientRect(),x:t,y:e,scale:n},this.dragPosition={...this.dragPosition,x:t,y:e,scale:n},this.dragOffset={x:0,y:0,scale:1,time:0}}updateMetrics(t){!0!==t&&this.trigger("beforeUpdate");const e=this.$container,n=this.$content,i=this.$viewport,s=n instanceof HTMLImageElement,r=this.option("zoom"),a=this.option("resizeParent",r);let l=this.option("width"),c=this.option("height"),u=l||(h=n,Math.max(parseFloat(h.naturalWidth||0),parseFloat(h.width&&h.width.baseVal&&h.width.baseVal.value||0),parseFloat(h.offsetWidth||0),parseFloat(h.scrollWidth||0)));var h;let d=c||(t=>Math.max(parseFloat(t.naturalHeight||0),parseFloat(t.height&&t.height.baseVal&&t.height.baseVal.value||0),parseFloat(t.offsetHeight||0),parseFloat(t.scrollHeight||0)))(n);Object.assign(n.style,{width:l?`${l}px`:"",height:c?`${c}px`:"",maxWidth:"",maxHeight:""}),a&&Object.assign(i.style,{width:"",height:""});const f=this.option("ratio");u=o(u*f),d=o(d*f),l=u,c=d;const p=n.getBoundingClientRect(),m=i.getBoundingClientRect(),g=i==e?m:e.getBoundingClientRect();let v=Math.max(i.offsetWidth,o(m.width)),y=Math.max(i.offsetHeight,o(m.height)),b=window.getComputedStyle(i);if(v-=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight),y-=parseFloat(b.paddingTop)+parseFloat(b.paddingBottom),this.viewport.width=v,this.viewport.height=y,r){if(Math.abs(u-p.width)>.1||Math.abs(d-p.height)>.1){const t=((t,e,n,i)=>{const s=Math.min(n/t||0,i/e);return{width:t*s||0,height:e*s||0}})(u,d,Math.min(u,p.width),Math.min(d,p.height));l=o(t.width),c=o(t.height)}Object.assign(n.style,{width:`${l}px`,height:`${c}px`,transform:""})}if(a&&(Object.assign(i.style,{width:`${l}px`,height:`${c}px`}),this.viewport={...this.viewport,width:l,height:c}),s&&r&&"function"!=typeof this.options.maxScale){const t=this.option("maxScale");this.options.maxScale=function(){return this.content.origWidth>0&&this.content.fitWidth>0?this.content.origWidth/this.content.fitWidth:t}}this.content={...this.content,origWidth:u,origHeight:d,fitWidth:l,fitHeight:c,width:l,height:c,scale:1,isZoomable:r},this.container={width:g.width,height:g.height},!0!==t&&this.trigger("afterUpdate")}zoomIn(t){this.zoomTo(this.content.scale+(t||this.option("step")))}zoomOut(t){this.zoomTo(this.content.scale-(t||this.option("step")))}toggleZoom(t={}){const e=this.option("maxScale"),n=this.option("baseScale"),i=this.content.scale>n+.5*(e-n)?n:e;this.zoomTo(i,t)}zoomTo(t=this.option("baseScale"),{x:e=null,y:n=null}={}){t=Math.max(Math.min(t,this.option("maxScale")),this.option("minScale"));const i=o(this.content.scale/(this.content.width/this.content.fitWidth),1e7);null===e&&(e=this.content.width*i*.5),null===n&&(n=this.content.height*i*.5);const{deltaX:s,deltaY:r}=this.getZoomDelta(t,e,n);e=this.content.x-s,n=this.content.y-r,this.panTo({x:e,y:n,scale:t,friction:this.option("zoomFriction")})}getZoomDelta(t,e=0,n=0){const i=this.content.fitWidth*this.content.scale,s=this.content.fitHeight*this.content.scale,o=e>0&&i?e/i:0,r=n>0&&s?n/s:0;return{deltaX:(this.content.fitWidth*t-i)*o,deltaY:(this.content.fitHeight*t-s)*r}}panTo({x:t=this.content.x,y:e=this.content.y,scale:n,friction:i=this.option("friction"),ignoreBounds:s=!1}={}){if(n=n||this.content.scale||1,!s){const{boundX:i,boundY:s}=this.getBounds(n);i&&(t=Math.max(Math.min(t,i.to),i.from)),s&&(e=Math.max(Math.min(e,s.to),s.from))}this.friction=i,this.transform={...this.transform,x:t,y:e,scale:n},i?(this.state="panning",this.velocity={x:(1/this.friction-1)*(t-this.content.x),y:(1/this.friction-1)*(e-this.content.y),scale:(1/this.friction-1)*(n-this.content.scale)},this.startAnimation()):this.endAnimation()}startAnimation(){this.rAF?cancelAnimationFrame(this.rAF):this.trigger("startAnimation"),this.rAF=requestAnimationFrame((()=>this.animate()))}animate(){if(this.setEdgeForce(),this.setDragForce(),this.velocity.x*=this.friction,this.velocity.y*=this.friction,this.velocity.scale*=this.friction,this.content.x+=this.velocity.x,this.content.y+=this.velocity.y,this.content.scale+=this.velocity.scale,this.isAnimating())this.setTransform();else if("pointerdown"!==this.state)return void this.endAnimation();this.rAF=requestAnimationFrame((()=>this.animate()))}getBounds(t){let e=this.boundX,n=this.boundY;if(void 0!==e&&void 0!==n)return{boundX:e,boundY:n};e={from:0,to:0},n={from:0,to:0},t=t||this.transform.scale;const i=this.content.fitWidth*t,s=this.content.fitHeight*t,r=this.viewport.width,a=this.viewport.height;if(i<r){const t=o(.5*(r-i));e.from=t,e.to=t}else e.from=o(r-i);if(s<a){const t=.5*(a-s);n.from=t,n.to=t}else n.from=o(a-s);return{boundX:e,boundY:n}}setEdgeForce(){if("decel"!==this.state)return;const t=this.option("bounceForce"),{boundX:e,boundY:n}=this.getBounds(Math.max(this.transform.scale,this.content.scale));let i,s,o,r;if(e&&(i=this.content.x<e.from,s=this.content.x>e.to),n&&(o=this.content.y<n.from,r=this.content.y>n.to),i||s){let n=((i?e.from:e.to)-this.content.x)*t;const s=this.content.x+(this.velocity.x+n)/this.friction;s>=e.from&&s<=e.to&&(n+=this.velocity.x),this.velocity.x=n,this.recalculateTransform()}if(o||r){let e=((o?n.from:n.to)-this.content.y)*t;const i=this.content.y+(e+this.velocity.y)/this.friction;i>=n.from&&i<=n.to&&(e+=this.velocity.y),this.velocity.y=e,this.recalculateTransform()}}setDragResistance(){if("pointerdown"!==this.state)return;const{boundX:t,boundY:e}=this.getBounds(this.dragPosition.scale);let n,i,s,o;if(t&&(n=this.dragPosition.x<t.from,i=this.dragPosition.x>t.to),e&&(s=this.dragPosition.y<e.from,o=this.dragPosition.y>e.to),(n||i)&&(!n||!i)){const e=n?t.from:t.to,i=e-this.dragPosition.x;this.dragPosition.x=e-.3*i}if((s||o)&&(!s||!o)){const t=s?e.from:e.to,n=t-this.dragPosition.y;this.dragPosition.y=t-.3*n}}setDragForce(){"pointerdown"===this.state&&(this.velocity.x=this.dragPosition.x-this.content.x,this.velocity.y=this.dragPosition.y-this.content.y,this.velocity.scale=this.dragPosition.scale-this.content.scale)}recalculateTransform(){this.transform.x=this.content.x+this.velocity.x/(1/this.friction-1),this.transform.y=this.content.y+this.velocity.y/(1/this.friction-1),this.transform.scale=this.content.scale+this.velocity.scale/(1/this.friction-1)}isAnimating(){return!(!this.friction||!(Math.abs(this.velocity.x)>.05||Math.abs(this.velocity.y)>.05||Math.abs(this.velocity.scale)>.05))}setTransform(t){let e,n,i;if(t?(e=o(this.transform.x),n=o(this.transform.y),i=this.transform.scale,this.content={...this.content,x:e,y:n,scale:i}):(e=o(this.content.x),n=o(this.content.y),i=this.content.scale/(this.content.width/this.content.fitWidth),this.content={...this.content,x:e,y:n}),this.trigger("beforeTransform"),e=o(this.content.x),n=o(this.content.y),t&&this.option("zoom")){let t,s;t=o(this.content.fitWidth*i),s=o(this.content.fitHeight*i),this.content.width=t,this.content.height=s,this.transform={...this.transform,width:t,height:s,scale:i},Object.assign(this.$content.style,{width:`${t}px`,height:`${s}px`,maxWidth:"none",maxHeight:"none",transform:`translate3d(${e}px, ${n}px, 0) scale(1)`})}else this.$content.style.transform=`translate3d(${e}px, ${n}px, 0) scale(${i})`;this.trigger("afterTransform")}endAnimation(t){cancelAnimationFrame(this.rAF),this.rAF=null,this.velocity={x:0,y:0,scale:0}
2,this.setTransform(!0),this.state="ready",this.handleCursor(),!0!==t&&this.trigger("endAnimation")}handleCursor(){const t=this.option("draggableClass");t&&this.option("touch")&&(1==this.option("panOnlyZoomed")&&this.content.width<=this.viewport.width&&this.content.height<=this.viewport.height&&this.transform.scale<=this.option("baseScale")?this.$container.classList.remove(t):this.$container.classList.add(t))}detachEvents(){this.$content.removeEventListener("load",this.onLoad),this.$container.removeEventListener("wheel",this.onWheel,{passive:!1}),this.$container.removeEventListener("click",this.onClick,{passive:!1}),this.pointerTracker&&(this.pointerTracker.stop(),this.pointerTracker=null),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}destroy(){"destroy"!==this.state&&(this.state="destroy",clearTimeout(this.updateTimer),this.updateTimer=null,cancelAnimationFrame(this.rAF),this.rAF=null,this.detachEvents(),this.detachPlugins(),this.resetDragPosition())}}p.version="4.0.26",p.Plugins={};const m=(t,e)=>{let n=0;return function(...i){const s=(new Date).getTime();if(!(s-n<e))return n=s,t(...i)}};class g{constructor(t){this.$container=null,this.$prev=null,this.$next=null,this.carousel=t,this.onRefresh=this.onRefresh.bind(this)}option(t){return this.carousel.option(`Navigation.${t}`)}createButton(t){const e=document.createElement("button");e.setAttribute("title",this.carousel.localize(`{{${t.toUpperCase()}}}`));const n=this.option("classNames.button")+" "+this.option(`classNames.${t}`);return e.classList.add(...n.split(" ")),e.setAttribute("tabindex","0"),e.innerHTML=this.carousel.localize(this.option(`${t}Tpl`)),e.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),this.carousel["slide"+("next"===t?"Next":"Prev")]()})),e}build(){this.$container||(this.$container=document.createElement("div"),this.$container.classList.add(...this.option("classNames.main").split(" ")),this.carousel.$container.appendChild(this.$container)),this.$next||(this.$next=this.createButton("next"),this.$container.appendChild(this.$next)),this.$prev||(this.$prev=this.createButton("prev"),this.$container.appendChild(this.$prev))}onRefresh(){const t=this.carousel.pages.length;t<=1||t>1&&this.carousel.elemDimWidth<this.carousel.wrapDimWidth&&!Number.isInteger(this.carousel.option("slidesPerPage"))?this.cleanup():(this.build(),this.$prev.removeAttribute("disabled"),this.$next.removeAttribute("disabled"),this.carousel.option("infiniteX",this.carousel.option("infinite"))||(this.carousel.page<=0&&this.$prev.setAttribute("disabled",""),this.carousel.page>=t-1&&this.$next.setAttribute("disabled","")))}cleanup(){this.$prev&&this.$prev.remove(),this.$prev=null,this.$next&&this.$next.remove(),this.$next=null,this.$container&&this.$container.remove(),this.$container=null}attach(){this.carousel.on("refresh change",this.onRefresh)}detach(){this.carousel.off("refresh change",this.onRefresh),this.cleanup()}}g.defaults={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>',classNames:{main:"carousel__nav",button:"carousel__button",next:"is-next",prev:"is-prev"}};class v{constructor(t){this.carousel=t,this.selectedIndex=null,this.friction=0,this.onNavReady=this.onNavReady.bind(this),this.onNavClick=this.onNavClick.bind(this),this.onNavCreateSlide=this.onNavCreateSlide.bind(this),this.onTargetChange=this.onTargetChange.bind(this)}addAsTargetFor(t){this.target=this.carousel,this.nav=t,this.attachEvents()}addAsNavFor(t){this.target=t,this.nav=this.carousel,this.attachEvents()}attachEvents(){this.nav.options.initialSlide=this.target.options.initialPage,this.nav.on("ready",this.onNavReady),this.nav.on("createSlide",this.onNavCreateSlide),this.nav.on("Panzoom.click",this.onNavClick),this.target.on("change",this.onTargetChange),this.target.on("Panzoom.afterUpdate",this.onTargetChange)}onNavReady(){this.onTargetChange(!0)}onNavClick(t,e,n){const i=n.target.closest(".carousel__slide");if(!i)return;n.stopPropagation();const s=parseInt(i.dataset.index,10),o=this.target.findPageForSlide(s);this.target.page!==o&&this.target.slideTo(o,{friction:this.friction}),this.markSelectedSlide(s)}onNavCreateSlide(t,e){e.index===this.selectedIndex&&this.markSelectedSlide(e.index)}onTargetChange(){const t=this.target.pages[this.target.page].indexes[0],e=this.nav.findPageForSlide(t);this.nav.slideTo(e),this.markSelectedSlide(t)}markSelectedSlide(t){this.selectedIndex=t,[...this.nav.slides].filter((t=>t.$el&&t.$el.classList.remove("is-nav-selected")));const e=this.nav.slides[t];e&&e.$el&&e.$el.classList.add("is-nav-selected")}attach(t){const e=t.options.Sync;(e.target||e.nav)&&(e.target?this.addAsNavFor(e.target):e.nav&&this.addAsTargetFor(e.nav),this.friction=e.friction)}detach(){this.nav&&(this.nav.off("ready",this.onNavReady),this.nav.off("Panzoom.click",this.onNavClick),this.nav.off("createSlide",this.onNavCreateSlide)),this.target&&(this.target.off("Panzoom.afterUpdate",this.onTargetChange),this.target.off("change",this.onTargetChange))}}v.defaults={friction:.92};const y={Navigation:g,Dots:class{constructor(t){this.carousel=t,this.$list=null,this.events={change:this.onChange.bind(this),refresh:this.onRefresh.bind(this)}}buildList(){if(this.carousel.pages.length<this.carousel.option("Dots.minSlideCount"))return;const t=document.createElement("ol");return t.classList.add("carousel__dots"),t.addEventListener("click",(t=>{if(!("page"in t.target.dataset))return;t.preventDefault(),t.stopPropagation();const e=parseInt(t.target.dataset.page,10),n=this.carousel;e!==n.page&&(n.pages.length<3&&n.option("infinite")?n[0==e?"slidePrev":"slideNext"]():n.slideTo(e))})),this.$list=t,this.carousel.$container.appendChild(t),this.carousel.$container.classList.add("has-dots"),t}removeList(){this.$list&&(this.$list.parentNode.removeChild(this.$list),this.$list=null),this.carousel.$container.classList.remove("has-dots")}rebuildDots(){let t=this.$list;const e=!!t,n=this.carousel.pages.length;if(n<2)return void(e&&this.removeList());e||(t=this.buildList());const i=this.$list.children.length;if(i>n)for(let t=n;t<i;t++)this.$list.removeChild(this.$list.lastChild);else{for(let t=i;t<n;t++){const e=document.createElement("li");e.classList.add("carousel__dot"),e.dataset.page=t,e.setAttribute("role","button"),e.setAttribute("tabindex","0"),e.setAttribute("title",this.carousel.localize("{{GOTO}}",[["%d",t+1]])),e.addEventListener("keydown",(t=>{const n=t.code;let i;"Enter"===n||"NumpadEnter"===n?i=e:"ArrowRight"===n?i=e.nextSibling:"ArrowLeft"===n&&(i=e.previousSibling),i&&i.click()})),this.$list.appendChild(e)}this.setActiveDot()}}setActiveDot(){if(!this.$list)return;
2this.$list.childNodes.forEach((t=>{t.classList.remove("is-selected")}));const t=this.$list.childNodes[this.carousel.page];t&&t.classList.add("is-selected")}onChange(){this.setActiveDot()}onRefresh(){this.rebuildDots()}attach(){this.carousel.on(this.events)}detach(){this.removeList(),this.carousel.off(this.events),this.carousel=null}},Sync:v},b={slides:[],preload:0,slidesPerPage:"auto",initialPage:null,initialSlide:null,friction:.92,center:!0,infinite:!0,fill:!0,dragFree:!1,prefix:"",classNames:{viewport:"carousel__viewport",track:"carousel__track",slide:"carousel__slide",slideSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}};class _ extends d{constructor(t,e={}){if(super(e=s(!0,{},b,e)),this.state="init",this.$container=t,!(this.$container instanceof HTMLElement))throw new Error("No root element provided");this.slideNext=m(this.slideNext.bind(this),250),this.slidePrev=m(this.slidePrev.bind(this),250),this.init(),t.__Carousel=this}init(){this.pages=[],this.page=this.pageIndex=null,this.prevPage=this.prevPageIndex=null,this.attachPlugins(_.Plugins),this.trigger("init"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.$track&&this.pages.length&&(this.$track.style.transform=`translate3d(${-1*this.pages[this.page].left}px, 0px, 0) scale(1)`),this.manageSlideVisiblity(),this.initPanzoom(),this.state="ready",this.trigger("ready")}initLayout(){const t=this.option("prefix"),e=this.option("classNames");this.$viewport=this.option("viewport")||this.$container.querySelector(`.${t}${e.viewport}`),this.$viewport||(this.$viewport=document.createElement("div"),this.$viewport.classList.add(...(t+e.viewport).split(" ")),this.$viewport.append(...this.$container.childNodes),this.$container.appendChild(this.$viewport)),this.$track=this.option("track")||this.$container.querySelector(`.${t}${e.track}`),this.$track||(this.$track=document.createElement("div"),this.$track.classList.add(...(t+e.track).split(" ")),this.$track.append(...this.$viewport.childNodes),this.$viewport.appendChild(this.$track))}initSlides(){this.slides=[],this.$viewport.querySelectorAll(`.${this.option("prefix")}${this.option("classNames.slide")}`).forEach((t=>{const e={$el:t,isDom:!0};this.slides.push(e),this.trigger("createSlide",e,this.slides.length)})),Array.isArray(this.options.slides)&&(this.slides=s(!0,[...this.slides],this.options.slides))}updateMetrics(){let t,e=0,n=[];this.slides.forEach(((i,s)=>{const o=i.$el,r=i.isDom||!t?this.getSlideMetrics(o):t;i.index=s,i.width=r,i.left=e,t=r,e+=r,n.push(s)}));let i=Math.max(this.$track.offsetWidth,o(this.$track.getBoundingClientRect().width)),s=getComputedStyle(this.$track);i-=parseFloat(s.paddingLeft)+parseFloat(s.paddingRight),this.contentWidth=e,this.viewportWidth=i;const r=[],a=this.option("slidesPerPage");if(Number.isInteger(a)&&e>i)for(let t=0;t<this.slides.length;t+=a)r.push({indexes:n.slice(t,t+a),slides:this.slides.slice(t,t+a)});else{let t=0,e=0;for(let n=0;n<this.slides.length;n+=1){let s=this.slides[n];(!r.length||e+s.width>i)&&(r.push({indexes:[],slides:[]}),t=r.length-1,e=0),e+=s.width,r[t].indexes.push(n),r[t].slides.push(s)}}const l=this.option("center"),c=this.option("fill");r.forEach(((t,n)=>{t.index=n,t.width=t.slides.reduce(((t,e)=>t+e.width),0),t.left=t.slides[0].left,l&&(t.left+=.5*(i-t.width)*-1),c&&!this.option("infiniteX",this.option("infinite"))&&e>i&&(t.left=Math.max(t.left,0),t.left=Math.min(t.left,e-i))}));const u=[];let h;r.forEach((t=>{const e={...t};h&&e.left===h.left?(h.width+=e.width,h.slides=[...h.slides,...e.slides],h.indexes=[...h.indexes,...e.indexes]):(e.index=u.length,h=e,u.push(e))})),this.pages=u;let d=this.page;if(null===d){const t=this.option("initialSlide");d=null!==t?this.findPageForSlide(t):parseInt(this.option("initialPage",0),10)||0,u[d]||(d=u.length&&d>u.length?u[u.length-1].index:0),this.page=d,this.pageIndex=d}this.updatePanzoom(),this.trigger("refresh")}getSlideMetrics(t){if(!t){const e=this.slides[0];(t=document.createElement("div")).dataset.isTestEl=1,t.style.visibility="hidden",t.classList.add(...(this.option("prefix")+this.option("classNames.slide")).split(" ")),e.customClass&&t.classList.add(...e.customClass.split(" ")),this.$track.prepend(t)}let e=Math.max(t.offsetWidth,o(t.getBoundingClientRect().width));const n=t.currentStyle||window.getComputedStyle(t);return e=e+(parseFloat(n.marginLeft)||0)+(parseFloat(n.marginRight)||0),t.dataset.isTestEl&&t.remove(),e}findPageForSlide(t){t=parseInt(t,10)||0;const e=this.pages.find((e=>e.indexes.indexOf(t)>-1));return e?e.index:null}slideNext(){this.slideTo(this.pageIndex+1)}
2slidePrev(){this.slideTo(this.pageIndex-1)}slideTo(t,e={}){const{x:n=-1*this.setPage(t,!0),y:i=0,friction:s=this.option("friction")}=e;this.Panzoom.content.x===n&&!this.Panzoom.velocity.x&&s||(this.Panzoom.panTo({x:n,y:i,friction:s,ignoreBounds:!0}),"ready"===this.state&&"ready"===this.Panzoom.state&&this.trigger("settle"))}initPanzoom(){this.Panzoom&&this.Panzoom.destroy();const t=s(!0,{},{content:this.$track,wrapInner:!1,resizeParent:!1,zoom:!1,click:!1,lockAxis:"x",x:this.pages.length?-1*this.pages[this.page].left:0,centerOnStart:!1,textSelection:()=>this.option("textSelection",!1),panOnlyZoomed:function(){return this.content.width<=this.viewport.width}},this.option("Panzoom"));this.Panzoom=new p(this.$container,t),this.Panzoom.on({"*":(t,...e)=>this.trigger(`Panzoom.${t}`,...e),afterUpdate:()=>{this.updatePage()},beforeTransform:this.onBeforeTransform.bind(this),touchEnd:this.onTouchEnd.bind(this),endAnimation:()=>{this.trigger("settle")}}),this.updateMetrics(),this.manageSlideVisiblity()}updatePanzoom(){this.Panzoom&&(this.Panzoom.content={...this.Panzoom.content,fitWidth:this.contentWidth,origWidth:this.contentWidth,width:this.contentWidth},this.pages.length>1&&this.option("infiniteX",this.option("infinite"))?this.Panzoom.boundX=null:this.pages.length&&(this.Panzoom.boundX={from:-1*this.pages[this.pages.length-1].left,to:-1*this.pages[0].left}),this.option("infiniteY",this.option("infinite"))?this.Panzoom.boundY=null:this.Panzoom.boundY={from:0,to:0},this.Panzoom.handleCursor())}manageSlideVisiblity(){const t=this.contentWidth,e=this.viewportWidth;let n=this.Panzoom?-1*this.Panzoom.content.x:this.pages.length?this.pages[this.page].left:0;const i=this.option("preload"),s=this.option("infiniteX",this.option("infinite")),o=parseFloat(getComputedStyle(this.$viewport,null).getPropertyValue("padding-left")),r=parseFloat(getComputedStyle(this.$viewport,null).getPropertyValue("padding-right"));this.slides.forEach((a=>{let l,c,u=0;l=n-o,c=n+e+r,l-=i*(e+o+r),c+=i*(e+o+r);const h=a.left+a.width>l&&a.left<c;l=n+t-o,c=n+t+e+r,l-=i*(e+o+r);const d=s&&a.left+a.width>l&&a.left<c;l=n-t-o,c=n-t+e+r,l-=i*(e+o+r);const f=s&&a.left+a.width>l&&a.left<c;d||h||f?(this.createSlideEl(a),h&&(u=0),d&&(u=-1),f&&(u=1),a.left+a.width>n&&a.left<=n+e+r&&(u=0)):this.removeSlideEl(a),a.hasDiff=u}));let a=0,l=0;this.slides.forEach(((e,n)=>{let i=0;e.$el?(n!==a||e.hasDiff?i=l+e.hasDiff*t:l=0,e.$el.style.left=Math.abs(i)>.1?`${l+e.hasDiff*t}px`:"",a++):l+=e.width})),this.markSelectedSlides()}createSlideEl(t){if(!t)return;if(t.$el){let e=t.$el.dataset.index;if(!e||parseInt(e,10)!==t.index){let e;t.$el.dataset.index=t.index,t.$el.querySelectorAll("[data-lazy-srcset]").forEach((t=>{t.srcset=t.dataset.lazySrcset})),t.$el.querySelectorAll("[data-lazy-src]").forEach((t=>{let e=t.dataset.lazySrc;t instanceof HTMLImageElement?t.src=e:t.style.backgroundImage=`url('${e}')`})),(e=t.$el.dataset.lazySrc)&&(t.$el.style.backgroundImage=`url('${e}')`),t.state="ready"}return}const e=document.createElement("div");e.dataset.index=t.index,e.classList.add(...(this.option("prefix")+this.option("classNames.slide")).split(" ")),t.customClass&&e.classList.add(...t.customClass.split(" ")),t.html&&(e.innerHTML=t.html);const n=[];this.slides.forEach(((t,e)=>{t.$el&&n.push(e)}));const i=t.index;let s=null;if(n.length){let t=n.reduce(((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t));s=this.slides[t]}return this.$track.insertBefore(e,s&&s.$el?s.index<t.index?s.$el.nextSibling:s.$el:null),t.$el=e,this.trigger("createSlide",t,i),t}removeSlideEl(t){t.$el&&!t.isDom&&(this.trigger("removeSlide",t),t.$el.remove(),t.$el=null)}markSelectedSlides(){const t=this.option("classNames.slideSelected"),e="aria-hidden";this.slides.forEach(((n,i)=>{const s=n.$el;if(!s)return;const o=this.pages[this.page];o&&o.indexes&&o.indexes.indexOf(i)>-1?(t&&!s.classList.contains(t)&&(s.classList.add(t),this.trigger("selectSlide",n)),s.removeAttribute(e)):(t&&s.classList.contains(t)&&(s.classList.remove(t),this.trigger("unselectSlide",n)),s.setAttribute(e,!0))}))}updatePage(){this.updateMetrics(),this.slideTo(this.page,{friction:0})}onBeforeTransform(){this.option("infiniteX",this.option("infinite"))&&this.manageInfiniteTrack(),this.manageSlideVisiblity()}manageInfiniteTrack(){const t=this.contentWidth,e=this.viewportWidth;if(!this.option("infiniteX",this.option("infinite"))||this.pages.length<2||t<e)return;const n=this.Panzoom;let i=!1;return n.content.x<-1*(t-e)&&(n.content.x+=t,this.pageIndex=this.pageIndex-this.pages.length,i=!0),n.content.x>e&&(n.content.x-=t,this.pageIndex=this.pageIndex+this.pages.length,i=!0),i&&"pointerdown"===n.state&&n.resetDragPosition(),i}onTouchEnd(t,e){const n=this.option("dragFree");if(!n&&this.pages.length>1&&t.dragOffset.time<350&&Math.abs(t.dragOffset.y)<1&&Math.abs(t.dragOffset.x)>5)this[t.dragOffset.x<0?"slideNext":"slidePrev"]();else if(n){const[,e]=this.getPageFromPosition(-1*t.transform.x);this.setPage(e)}else this.slideToClosest()}slideToClosest(t={}){let[,e]=this.getPageFromPosition(-1*this.Panzoom.content.x);this.slideTo(e,t)}getPageFromPosition(t){const e=this.pages.length;this.option("center")&&(t+=.5*this.viewportWidth);const n=Math.floor(t/this.contentWidth);t-=n*this.contentWidth;let i=this.slides.find((e=>e.left<=t&&e.left+e.width>t));if(i){let t=this.findPageForSlide(i.index);return[t,t+n*e]}return[0,0]}setPage(t,e){let n=0,i=parseInt(t,10)||0;const s=this.page,o=this.pageIndex,r=this.pages.length,a=this.contentWidth,l=this.viewportWidth;if(t=(i%r+r)%r,this.option("infiniteX",this.option("infinite"))&&a>l){const s=Math.floor(i/r)||0,o=a;if(n=this.pages[t].left+s*o,!0===e&&r>2){let t=-1*this.Panzoom.content.x;const e=n-o,s=n+o,a=Math.abs(t-n),l=Math.abs(t-e),c=Math.abs(t-s);c<a&&c<=l?(n=s,i+=r):l<a&&l<c&&(n=e,i-=r)}}else t=i=Math.max(0,Math.min(i,r-1)),n=this.pages.length?this.pages[t].left:0;return this.page=t,this.pageIndex=i,null!==s&&t!==s&&(this.prevPage=s,this.prevPageIndex=o,this.trigger("change",t,s)),n}
2destroy(){this.state="destroy",this.slides.forEach((t=>{this.removeSlideEl(t)})),this.slides=[],this.Panzoom.destroy(),this.detachPlugins()}}_.version="4.0.26",_.Plugins=y;const w=!("undefined"==typeof window||!window.document||!window.document.createElement);let x=null;const S=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'],E=t=>{if(t&&w){null===x&&document.createElement("div").focus({get preventScroll(){return x=!0,!1}});try{if(t.setActive)t.setActive();else if(x)t.focus({preventScroll:!0});else{const e=window.pageXOffset||document.body.scrollTop,n=window.pageYOffset||document.body.scrollLeft;t.focus(),document.body.scrollTo({top:e,left:n,behavior:"auto"})}}catch(t){}}};class ${constructor(t){this.fancybox=t,this.$container=null,this.state="init";for(const t of["onPrepare","onClosing","onKeydown"])this[t]=this[t].bind(this);this.events={prepare:this.onPrepare,closing:this.onClosing,keydown:this.onKeydown}}onPrepare(){this.getSlides().length<this.fancybox.option("Thumbs.minSlideCount")?this.state="disabled":!0===this.fancybox.option("Thumbs.autoStart")&&this.fancybox.Carousel.Panzoom.content.height>=this.fancybox.option("Thumbs.minScreenHeight")&&this.build()}onClosing(){this.Carousel&&this.Carousel.Panzoom.detachEvents()}onKeydown(t,e){e===t.option("Thumbs.key")&&this.toggle()}build(){if(this.$container)return;const t=document.createElement("div");t.classList.add("fancybox__thumbs"),this.fancybox.$carousel.parentNode.insertBefore(t,this.fancybox.$carousel.nextSibling),this.Carousel=new _(t,s(!0,{Dots:!1,Navigation:!1,Sync:{friction:0},infinite:!1,center:!0,fill:!0,dragFree:!0,slidesPerPage:1,preload:1},this.fancybox.option("Thumbs.Carousel"),{Sync:{target:this.fancybox.Carousel},slides:this.getSlides()})),this.Carousel.Panzoom.on("wheel",((t,e)=>{e.preventDefault(),this.fancybox[e.deltaY<0?"prev":"next"]()})),this.$container=t,this.state="visible"}getSlides(){const t=[];for(const e of this.fancybox.items){const n=e.thumb;n&&t.push({html:`<div class="fancybox__thumb" style="background-image:url('${n}')"></div>`,customClass:`has-thumb has-${e.type||"image"}`})}return t}toggle(){"visible"===this.state?this.hide():"hidden"===this.state?this.show():this.build()}show(){"hidden"===this.state&&(this.$container.style.display="",this.Carousel.Panzoom.attachEvents(),this.state="visible")}hide(){"visible"===this.state&&(this.Carousel.Panzoom.detachEvents(),this.$container.style.display="none",this.state="hidden")}cleanup(){this.Carousel&&(this.Carousel.destroy(),this.Carousel=null),this.$container&&(this.$container.remove(),this.$container=null),this.state="init"}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events),this.cleanup()}}$.defaults={minSlideCount:2,minScreenHeight:500,autoStart:!0,key:"t",Carousel:{}};const C=(t,e)=>{const n=new URL(t),i=new URLSearchParams(n.search);let s=new URLSearchParams;for(const[t,n]of[...i,...Object.entries(e)])"t"===t?s.set("start",parseInt(n)):s.set(t,n);s=s.toString();let o=t.match(/#t=((.*)?\d+s)/);return o&&(s+=`#t=${o[1]}`),s},T={video:{autoplay:!0,ratio:16/9},youtube:{autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},vimeo:{hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},html5video:{tpl:'<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',format:""}};class L{constructor(t){this.fancybox=t;for(const t of["onInit","onReady","onCreateSlide","onRemoveSlide","onSelectSlide","onUnselectSlide","onRefresh","onMessage"])this[t]=this[t].bind(this);this.events={init:this.onInit,ready:this.onReady,"Carousel.createSlide":this.onCreateSlide,"Carousel.removeSlide":this.onRemoveSlide,"Carousel.selectSlide":this.onSelectSlide,"Carousel.unselectSlide":this.onUnselectSlide,"Carousel.refresh":this.onRefresh}}onInit(){for(const t of this.fancybox.items)this.processType(t)}processType(t){if(t.html)return t.src=t.html,t.type="html",void delete t.html;const e=t.src||"";let n=t.type||this.fancybox.options.type,i=null;if(!e||"string"==typeof e){if(i=e.match(/(?:youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const s=C(e,this.fancybox.option("Html.youtube")),o=encodeURIComponent(i[1]);t.videoId=o,t.src=`https://www.youtube-nocookie.com/embed/${o}?${s}`,t.thumb=t.thumb||`https://i.ytimg.com/vi/${o}/mqdefault.jpg`,t.vendor="youtube",n="video"}else if(i=e.match(/^.+vimeo.com\/(?:\/)?([\d]+)(.*)?/)){const s=C(e,this.fancybox.option("Html.vimeo")),o=encodeURIComponent(i[1]);t.videoId=o,t.src=`https://player.vimeo.com/video/${o}?${s}`,t.vendor="vimeo",n="video"}else(i=e.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(t.src=`//maps.google.${i[1]}
2/?ll=${(i[2]?i[2]+"&z="+Math.floor(i[3])+(i[4]?i[4].replace(/^\//,"&"):""):i[4]+"").replace(/\?/,"&")}&output=${i[4]&&i[4].indexOf("layer=c")>0?"svembed":"embed"}`,n="map"):(i=e.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(t.src=`//maps.google.${i[1]}/maps?q=${i[2].replace("query=","q=").replace("api=1","")}&output=embed`,n="map");n||("#"===e.charAt(0)?n="inline":(i=e.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(n="html5video",t.format=t.format||"video/"+("ogv"===i[1]?"ogg":i[1])):e.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n="image":e.match(/\.(pdf)((\?|#).*)?$/i)&&(n="pdf")),t.type=n||this.fancybox.option("defaultType","image"),"html5video"!==n&&"video"!==n||(t.video=s({},this.fancybox.option("Html.video"),t.video),t._width&&t._height?t.ratio=parseFloat(t._width)/parseFloat(t._height):t.ratio=t.ratio||t.video.ratio||T.video.ratio)}}onReady(){this.fancybox.Carousel.slides.forEach((t=>{t.$el&&(this.setContent(t),t.index===this.fancybox.getSlide().index&&this.playVideo(t))}))}onCreateSlide(t,e,n){"ready"===this.fancybox.state&&this.setContent(n)}loadInlineContent(t){let e;if(t.src instanceof HTMLElement)e=t.src;else if("string"==typeof t.src){const n=t.src.split("#",2),i=2===n.length&&""===n[0]?n[1]:n[0];e=document.getElementById(i)}if(e){if("clone"===t.type||e.$placeHolder){e=e.cloneNode(!0);let n=e.getAttribute("id");n=n?`${n}--clone`:`clone-${this.fancybox.id}-${t.index}`,e.setAttribute("id",n)}else{const t=document.createElement("div");t.classList.add("fancybox-placeholder"),e.parentNode.insertBefore(t,e),e.$placeHolder=t}this.fancybox.setContent(t,e)}else this.fancybox.setError(t,"{{ELEMENT_NOT_FOUND}}")}loadAjaxContent(t){const e=this.fancybox,n=new XMLHttpRequest;e.showLoading(t),n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&"ready"===e.state&&(e.hideLoading(t),200===n.status?e.setContent(t,n.responseText):e.setError(t,404===n.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))},n.open("GET",t.src),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(t.ajax||null),t.xhr=n}loadIframeContent(t){const e=this.fancybox,n=document.createElement("iframe");if(n.className="fancybox__iframe",n.setAttribute("id",`fancybox__iframe_${e.id}_${t.index}`),n.setAttribute("allow","autoplay; fullscreen"),n.setAttribute("scrolling","auto"),t.$iframe=n,"iframe"!==t.type||!1===t.preload)return n.setAttribute("src",t.src),this.fancybox.setContent(t,n),void this.resizeIframe(t);e.showLoading(t);const i=document.createElement("div");i.style.visibility="hidden",this.fancybox.setContent(t,i),i.appendChild(n),n.onerror=()=>{e.setError(t,"{{IFRAME_ERROR}}")},n.onload=()=>{e.hideLoading(t);let i=!1;n.isReady||(n.isReady=!0,i=!0),n.src.length&&(n.parentNode.style.visibility="",this.resizeIframe(t),i&&e.revealContent(t))},n.setAttribute("src",t.src)}setAspectRatio(t){const e=t.$content,n=t.ratio;if(!e)return;let i=t._width,s=t._height;if(n||i&&s){Object.assign(e.style,{width:i&&s?"100%":"",height:i&&s?"100%":"",maxWidth:"",maxHeight:""});let t=e.offsetWidth,o=e.offsetHeight;if(i=i||t,s=s||o,i>t||s>o){let e=Math.min(t/i,o/s);i*=e,s*=e}Math.abs(i/s-n)>.01&&(n<i/s?i=s*n:s=i/n),Object.assign(e.style,{width:`${i}px`,height:`${s}px`})}}resizeIframe(t){const e=t.$iframe;if(!e)return;let n=t._width||0,i=t._height||0;n&&i&&(t.autoSize=!1);const s=e.parentNode,o=s&&s.style;if(!1!==t.preload&&!1!==t.autoSize&&o)try{const t=window.getComputedStyle(s),r=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),a=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),l=e.contentWindow.document,c=l.getElementsByTagName("html")[0],u=l.body;o.width="",u.style.overflow="hidden",n=n||c.scrollWidth+r,o.width=`${n}px`,u.style.overflow="",o.flex="0 0 auto",o.height=`${u.scrollHeight}px`,i=c.scrollHeight+a}catch(t){}if(n||i){const t={flex:"0 1 auto"};n&&(t.width=`${n}px`),i&&(t.height=`${i}px`),Object.assign(o,t)}}onRefresh(t,e){e.slides.forEach((t=>{t.$el&&(t.$iframe&&this.resizeIframe(t),t.ratio&&this.setAspectRatio(t))}))}setContent(t){if(t&&!t.isDom){switch(t.type){case"html":this.fancybox.setContent(t,t.src);break;case"html5video":this.fancybox.setContent(t,this.fancybox.option("Html.html5video.tpl").replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.format||t.html5video&&t.html5video.format||"").replace("{{poster}}",t.poster||t.thumb||""));break;case"inline":case"clone":this.loadInlineContent(t);break;case"ajax":this.loadAjaxContent(t);break;case"pdf":case"video":case"map":t.preload=!1;case"iframe":this.loadIframeContent(t)}t.ratio&&this.setAspectRatio(t)}}onSelectSlide(t,e,n){"ready"===t.state&&this.playVideo(n)}playVideo(t){if("html5video"===t.type&&t.video.autoplay)try{const e=t.$el.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then((()=>{})).catch((t=>{e.muted=!0,e.play()}))}}catch(t){}if("video"!==t.type||!t.$iframe||!t.$iframe.contentWindow)return;const e=()=>{if("done"===t.state&&t.$iframe&&t.$iframe.contentWindow){let e;if(t.$iframe.isReady)return t.video&&t.video.autoplay&&(e="youtube"==t.vendor?{event:"command",func:"playVideo"}:{method:"play",value:"true"}),void(e&&t.$iframe.contentWindow.postMessage(JSON.stringify(e),"*"));"youtube"===t.vendor&&(e={event:"listening",id:t.$iframe.getAttribute("id")},t.$iframe.contentWindow.postMessage(JSON.stringify(e),"*"))}t.poller=setTimeout(e,250)};e()}onUnselectSlide(t,e,n){if("html5video"===n.type){try{n.$el.querySelector("video").pause()}catch(t){}return}let i=!1;"vimeo"==n.vendor?i={method:"pause",value:"true"}:"youtube"===n.vendor&&(i={event:"command",func:"pauseVideo"}),i&&n.$iframe&&n.$iframe.contentWindow&&n.$iframe.contentWindow.postMessage(JSON.stringify(i),"*"),clearTimeout(n.poller)}onRemoveSlide(t,e,n){n.xhr&&(n.xhr.abort(),n.xhr=null),n.$iframe&&(n.$iframe.onload=n.$iframe.onerror=null,n.$iframe.
2src="//about:blank",n.$iframe=null);const i=n.$content;"inline"===n.type&&i&&(i.classList.remove("fancybox__content"),"none"!==i.style.display&&(i.style.display="none")),n.$closeButton&&(n.$closeButton.remove(),n.$closeButton=null);const s=i&&i.$placeHolder;s&&(s.parentNode.insertBefore(i,s),s.remove(),i.$placeHolder=null)}onMessage(t){try{let e=JSON.parse(t.data);if("https://player.vimeo.com"===t.origin){if("ready"===e.event)for(let e of document.getElementsByClassName("fancybox__iframe"))e.contentWindow===t.source&&(e.isReady=1)}else"https://www.youtube-nocookie.com"===t.origin&&"onReady"===e.event&&(document.getElementById(e.id).isReady=1)}catch(t){}}attach(){this.fancybox.on(this.events),window.addEventListener("message",this.onMessage,!1)}detach(){this.fancybox.off(this.events),window.removeEventListener("message",this.onMessage,!1)}}L.defaults=T;class P{constructor(t){this.fancybox=t;for(const t of["onReady","onClosing","onDone","onPageChange","onCreateSlide","onRemoveSlide","onImageStatusChange"])this[t]=this[t].bind(this);this.events={ready:this.onReady,closing:this.onClosing,done:this.onDone,"Carousel.change":this.onPageChange,"Carousel.createSlide":this.onCreateSlide,"Carousel.removeSlide":this.onRemoveSlide}}onReady(){this.fancybox.Carousel.slides.forEach((t=>{t.$el&&this.setContent(t)}))}onDone(t,e){this.handleCursor(e)}onClosing(t){clearTimeout(this.clickTimer),this.clickTimer=null,t.Carousel.slides.forEach((t=>{t.$image&&(t.state="destroy"),t.Panzoom&&t.Panzoom.detachEvents()})),"closing"===this.fancybox.state&&this.canZoom(t.getSlide())&&this.zoomOut()}onCreateSlide(t,e,n){"ready"===this.fancybox.state&&this.setContent(n)}onRemoveSlide(t,e,n){n.$image&&(n.$el.classList.remove(t.option("Image.canZoomInClass")),n.$image.remove(),n.$image=null),n.Panzoom&&(n.Panzoom.destroy(),n.Panzoom=null),n.$el&&n.$el.dataset&&delete n.$el.dataset.imageFit}setContent(t){if(t.isDom||t.html||t.type&&"image"!==t.type)return;if(t.$image)return;t.type="image",t.state="loading";const e=document.createElement("div");e.style.visibility="hidden";const n=document.createElement("img");n.addEventListener("load",(e=>{e.stopImmediatePropagation(),this.onImageStatusChange(t)})),n.addEventListener("error",(()=>{this.onImageStatusChange(t)})),n.src=t.src,n.alt="",n.draggable=!1,n.classList.add("fancybox__image"),t.srcset&&n.setAttribute("srcset",t.srcset),t.sizes&&n.setAttribute("sizes",t.sizes),t.$image=n;const i=this.fancybox.option("Image.wrap");if(i){const s=document.createElement("div");s.classList.add("string"==typeof i?i:"fancybox__image-wrap"),s.appendChild(n),e.appendChild(s),t.$wrap=s}else e.appendChild(n);t.$el.dataset.imageFit=this.fancybox.option("Image.fit"),this.fancybox.setContent(t,e),n.complete||n.error?this.onImageStatusChange(t):this.fancybox.showLoading(t)}onImageStatusChange(t){const e=t.$image;e&&"loading"===t.state&&(e.complete&&e.naturalWidth&&e.naturalHeight?(this.fancybox.hideLoading(t),"contain"===this.fancybox.option("Image.fit")&&this.initSlidePanzoom(t),t.$el.addEventListener("wheel",(e=>this.onWheel(t,e)),{passive:!1}),t.$content.addEventListener("click",(e=>this.onClick(t,e)),{passive:!1}),this.revealContent(t)):this.fancybox.setError(t,"{{IMAGE_ERROR}}"))}initSlidePanzoom(t){t.Panzoom||(t.Panzoom=new p(t.$el,s(!0,this.fancybox.option("Image.Panzoom",{}),{viewport:t.$wrap,content:t.$image,width:t._width,height:t._height,wrapInner:!1,textSelection:!0,touch:this.fancybox.option("Image.touch"),panOnlyZoomed:!0,click:!1,wheel:!1})),t.Panzoom.on("startAnimation",(()=>{this.fancybox.trigger("Image.startAnimation",t)})),t.Panzoom.on("endAnimation",(()=>{"zoomIn"===t.state&&this.fancybox.done(t),this.handleCursor(t),this.fancybox.trigger("Image.endAnimation",t)})),t.Panzoom.on("afterUpdate",(()=>{this.handleCursor(t),this.fancybox.trigger("Image.afterUpdate",t)})))}revealContent(t){null===this.fancybox.Carousel.prevPage&&t.index===this.fancybox.options.startIndex&&this.canZoom(t)?this.zoomIn():this.fancybox.revealContent(t)}getZoomInfo(t){const e=t.$thumb.getBoundingClientRect(),n=e.width,i=e.height,s=t.$content.getBoundingClientRect(),o=s.width,r=s.height,a=s.top-e.top,l=s.left-e.left;let c=this.fancybox.option("Image.zoomOpacity");return"auto"===c&&(c=Math.abs(n/i-o/r)>.1),{top:a,left:l,scale:o&&n?n/o:1,opacity:c}}canZoom(t){const e=this.fancybox,n=e.$container;
2if(window.visualViewport&&1!==window.visualViewport.scale)return!1;if(t.Panzoom&&!t.Panzoom.content.width)return!1;if(!e.option("Image.zoom")||"contain"!==e.option("Image.fit"))return!1;const i=t.$thumb;if(!i||"loading"===t.state)return!1;n.classList.add("fancybox__no-click");const s=i.getBoundingClientRect();let o;if(this.fancybox.option("Image.ignoreCoveredThumbnail")){const t=document.elementFromPoint(s.left+1,s.top+1)===i,e=document.elementFromPoint(s.right-1,s.bottom-1)===i;o=t&&e}else o=document.elementFromPoint(s.left+.5*s.width,s.top+.5*s.height)===i;return n.classList.remove("fancybox__no-click"),o}zoomIn(){const t=this.fancybox,e=t.getSlide(),n=e.Panzoom,{top:i,left:s,scale:o,opacity:r}=this.getZoomInfo(e);t.trigger("reveal",e),n.panTo({x:-1*s,y:-1*i,scale:o,friction:0,ignoreBounds:!0}),e.$content.style.visibility="",e.state="zoomIn",!0===r&&n.on("afterTransform",(t=>{"zoomIn"!==e.state&&"zoomOut"!==e.state||(t.$content.style.opacity=Math.min(1,1-(1-t.content.scale)/(1-o)))})),n.panTo({x:0,y:0,scale:1,friction:this.fancybox.option("Image.zoomFriction")})}zoomOut(){const t=this.fancybox,e=t.getSlide(),n=e.Panzoom;if(!n)return;e.state="zoomOut",t.state="customClosing",e.$caption&&(e.$caption.style.visibility="hidden");let i=this.fancybox.option("Image.zoomFriction");const s=t=>{const{top:s,left:o,scale:r,opacity:a}=this.getZoomInfo(e);t||a||(i*=.82),n.panTo({x:-1*o,y:-1*s,scale:r,friction:i,ignoreBounds:!0}),i*=.98};window.addEventListener("scroll",s),n.once("endAnimation",(()=>{window.removeEventListener("scroll",s),t.destroy()})),s()}handleCursor(t){if("image"!==t.type||!t.$el)return;const e=t.Panzoom,n=this.fancybox.option("Image.click",!1,t),i=this.fancybox.option("Image.touch"),s=t.$el.classList,o=this.fancybox.option("Image.canZoomInClass"),r=this.fancybox.option("Image.canZoomOutClass");s.remove(r),s.remove(o),e&&"toggleZoom"===n?e&&1===e.content.scale&&e.option("maxScale")-e.content.scale>.01?s.add(o):e.content.scale>1&&!i&&s.add(r):"close"===n&&s.add(r)}onWheel(t,e){if("ready"===this.fancybox.state&&!1!==this.fancybox.trigger("Image.wheel",e))switch(this.fancybox.option("Image.wheel")){case"zoom":"done"===t.state&&t.Panzoom&&t.Panzoom.zoomWithWheel(e);break;case"close":this.fancybox.close();break;case"slide":this.fancybox[e.deltaY<0?"prev":"next"]()}}onClick(t,e){if("ready"!==this.fancybox.state)return;const n=t.Panzoom;if(n&&(n.dragPosition.midPoint||0!==n.dragOffset.x||0!==n.dragOffset.y||1!==n.dragOffset.scale))return;if(this.fancybox.Carousel.Panzoom.lockAxis)return!1;const i=n=>{switch(n){case"toggleZoom":e.stopPropagation(),t.Panzoom&&t.Panzoom.zoomWithClick(e);break;case"close":this.fancybox.close();break;case"next":e.stopPropagation(),this.fancybox.next()}},s=this.fancybox.option("Image.click"),o=this.fancybox.option("Image.doubleClick");o?this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null,i(o)):this.clickTimer=setTimeout((()=>{this.clickTimer=null,i(s)}),300):i(s)}onPageChange(t,e){const n=t.getSlide();e.slides.forEach((t=>{t.Panzoom&&"done"===t.state&&t.index!==n.index&&t.Panzoom.panTo({x:0,y:0,scale:1,friction:.8})}))}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events)}}P.defaults={canZoomInClass:"can-zoom_in",canZoomOutClass:"can-zoom_out",zoom:!0,zoomOpacity:"auto",zoomFriction:.82,ignoreCoveredThumbnail:!1,touch:!0,click:"toggleZoom",doubleClick:null,wheel:"zoom",fit:"contain",wrap:!1,Panzoom:{ratio:1}};class A{constructor(t){this.fancybox=t;for(const t of["onChange","onClosing"])this[t]=this[t].bind(this);this.events={initCarousel:this.onChange,"Carousel.change":this.onChange,closing:this.onClosing},this.hasCreatedHistory=!1,this.origHash="",this.timer=null}onChange(t){const e=t.Carousel;this.timer&&clearTimeout(this.timer);const n=null===e.prevPage,i=t.getSlide(),s=new URL(document.URL).hash;let o=!1;if(i.slug)o="#"+i.slug;else{const n=i.$trigger&&i.$trigger.dataset,s=t.option("slug")||n&&n.fancybox;s&&s.length&&"true"!==s&&(o="#"+s+(e.slides.length>1?"-"+(i.index+1):""))}n&&(this.origHash=s!==o?s:""),o&&s!==o&&(this.timer=setTimeout((()=>{try{window.history[n?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+o),n&&(this.hasCreatedHistory=!0)}catch(t){}}),300))}onClosing(){if(this.timer&&clearTimeout(this.timer),!0!==this.hasSilentClose)try{return void window.history.replaceState({},document.title,window.location.pathname+window.location.search+(this.origHash||""))}catch(t){}}attach(t){t.on(this.events)}detach(t){t.off(this.events)}static startFromUrl(){const t=A.Fancybox;if(!t||t.getInstance()||!1===t.defaults.Hash)return;const{hash:e,slug:n,index:i}=A.getParsedURL();if(!n)return;let s=document.querySelector(`[data-slug="${e}"]`);if(s&&s.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),t.getInstance())return;const o=document.querySelectorAll(`[data-fancybox="${n}"]`);o.length&&(null===i&&1===o.length?s=o[0]:i&&(s=o[i-1]),s&&s.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))}static onHashChange(){const{slug:t,index:e}=A.getParsedURL(),n=A.Fancybox,i=n&&n.getInstance();
2if(i&&i.plugins.Hash){if(t){const n=i.Carousel;if(t===i.option("slug"))return n.slideTo(e-1);for(let e of n.slides)if(e.slug&&e.slug===t)return n.slideTo(e.index);const s=i.getSlide(),o=s.$trigger&&s.$trigger.dataset;if(o&&o.fancybox===t)return n.slideTo(e-1)}i.plugins.Hash.hasSilentClose=!0,i.close()}A.startFromUrl()}static create(t){function e(){window.addEventListener("hashchange",A.onHashChange,!1),A.startFromUrl()}A.Fancybox=t,w&&window.requestAnimationFrame((()=>{/complete|interactive|loaded/.test(document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}))}static destroy(){window.removeEventListener("hashchange",A.onHashChange,!1)}static getParsedURL(){const t=window.location.hash.substr(1),e=t.split("-"),n=e.length>1&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||null;return{hash:t,slug:e.join("-"),index:n}}}const k={pageXOffset:0,pageYOffset:0,element:()=>document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,activate(t){k.pageXOffset=window.pageXOffset,k.pageYOffset=window.pageYOffset,t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},deactivate(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}};class O{constructor(t){this.fancybox=t,this.active=!1,this.handleVisibilityChange=this.handleVisibilityChange.bind(this)}isActive(){return this.active}setTimer(){if(!this.active||this.timer)return;const t=this.fancybox.option("slideshow.delay",3e3);this.timer=setTimeout((()=>{this.timer=null,this.fancybox.option("infinite")||this.fancybox.getSlide().index!==this.fancybox.Carousel.slides.length-1?this.fancybox.next():this.fancybox.jumpTo(0,{friction:0})}),t);let e=this.$progress;e||(e=document.createElement("div"),e.classList.add("fancybox__progress"),this.fancybox.$carousel.parentNode.insertBefore(e,this.fancybox.$carousel),this.$progress=e,e.offsetHeight),e.style.transitionDuration=`${t}ms`,e.style.transform="scaleX(1)"}clearTimer(){clearTimeout(this.timer),this.timer=null,this.$progress&&(this.$progress.style.transitionDuration="",this.$progress.style.transform="",this.$progress.offsetHeight)}activate(){this.active||(this.active=!0,this.fancybox.$container.classList.add("has-slideshow"),"done"===this.fancybox.getSlide().state&&this.setTimer(),document.addEventListener("visibilitychange",this.handleVisibilityChange,!1))}handleVisibilityChange(){this.deactivate()}deactivate(){this.active=!1,this.clearTimer(),this.fancybox.$container.classList.remove("has-slideshow"),document.removeEventListener("visibilitychange",this.handleVisibilityChange,!1)}toggle(){this.active?this.deactivate():this.fancybox.Carousel.slides.length>1&&this.activate()}}const M={display:["counter","zoom","slideshow","fullscreen","thumbs","close"],autoEnable:!0,items:{counter:{position:"left",type:"div",class:"fancybox__counter",html:'<span data-fancybox-index=""></span> / <span data-fancybox-count=""></span>',attr:{tabindex:-1}},prev:{type:"button",class:"fancybox__button--prev",label:"PREV",html:'<svg viewBox="0 0 24 24"><path d="M15 4l-8 8 8 8"/></svg>',attr:{"data-fancybox-prev":""}},next:{type:"button",class:"fancybox__button--next",label:"NEXT",html:'<svg viewBox="0 0 24 24"><path d="M8 4l8 8-8 8"/></svg>',attr:{"data-fancybox-next":""}},fullscreen:{type:"button",class:"fancybox__button--fullscreen",label:"TOGGLE_FULLSCREEN",html:'<svg viewBox="0 0 24 24">\n <g><path d="M3 8 V3h5"></path><path d="M21 8V3h-5"></path><path d="M8 21H3v-5"></path><path d="M16 21h5v-5"></path></g>\n <g><path d="M7 2v5H2M17 2v5h5M2 17h5v5M22 17h-5v5"/></g>\n </svg>',click:function(t){t.preventDefault(),k.element()?k.deactivate():k.activate(this.fancybox.$container)}},slideshow:{type:"button",class:"fancybox__button--slideshow",label:"TOGGLE_SLIDESHOW",html:'<svg viewBox="0 0 24 24">\n <g><path d="M6 4v16"/><path d="M20 12L6 20"/><path d="M20 12L6 4"/></g>\n <g>
2<path d="M7 4v15M17 4v15"/></g>\n </svg>',click:function(t){t.preventDefault(),this.Slideshow.toggle()}},zoom:{type:"button",class:"fancybox__button--zoom",label:"TOGGLE_ZOOM",html:'<svg viewBox="0 0 24 24"><circle cx="10" cy="10" r="7"></circle><path d="M16 16 L21 21"></svg>',click:function(t){t.preventDefault();const e=this.fancybox.getSlide().Panzoom;e&&e.toggleZoom()}},download:{type:"link",label:"DOWNLOAD",class:"fancybox__button--download",html:'<svg viewBox="0 0 24 24"><path d="M12 15V3m0 12l-4-4m4 4l4-4M2 17l.62 2.48A2 2 0 004.56 21h14.88a2 2 0 001.94-1.51L22 17"/></svg>',click:function(t){t.stopPropagation()}},thumbs:{type:"button",label:"TOGGLE_THUMBS",class:"fancybox__button--thumbs",html:'<svg viewBox="0 0 24 24"><circle cx="4" cy="4" r="1" /><circle cx="12" cy="4" r="1" transform="rotate(90 12 4)"/><circle cx="20" cy="4" r="1" transform="rotate(90 20 4)"/><circle cx="4" cy="12" r="1" transform="rotate(90 4 12)"/><circle cx="12" cy="12" r="1" transform="rotate(90 12 12)"/><circle cx="20" cy="12" r="1" transform="rotate(90 20 12)"/><circle cx="4" cy="20" r="1" transform="rotate(90 4 20)"/><circle cx="12" cy="20" r="1" transform="rotate(90 12 20)"/><circle cx="20" cy="20" r="1" transform="rotate(90 20 20)"/></svg>',click:function(t){t.stopPropagation();const e=this.fancybox.plugins.Thumbs;e&&e.toggle()}},close:{type:"button",label:"CLOSE",class:"fancybox__button--close",html:'<svg viewBox="0 0 24 24"><path d="M20 20L4 4m16 0L4 20"></path></svg>',attr:{"data-fancybox-close":"",tabindex:0}}}};class D{constructor(t){this.fancybox=t,this.$container=null,this.state="init";for(const t of["onInit","onPrepare","onDone","onKeydown","onClosing","onChange","onSettle","onRefresh"])this[t]=this[t].bind(this);this.events={init:this.onInit,prepare:this.onPrepare,done:this.onDone,keydown:this.onKeydown,closing:this.onClosing,"Carousel.change":this.onChange,"Carousel.settle":this.onSettle,"Carousel.Panzoom.touchStart":()=>this.onRefresh(),"Image.startAnimation":(t,e)=>this.onRefresh(e),"Image.afterUpdate":(t,e)=>this.onRefresh(e)}}onInit(){if(this.fancybox.option("Toolbar.autoEnable")){let t=!1;for(const e of this.fancybox.items)if("image"===e.type){t=!0;break}if(!t)return void(this.state="disabled")}for(const t of this.fancybox.option("Toolbar.display"))if("close"===(i(t)?t.id:t)){this.fancybox.options.closeButton=!1;break}}onPrepare(){const t=this.fancybox;if("init"===this.state&&(this.build(),this.update(),this.Slideshow=new O(t),!t.Carousel.prevPage&&(t.option("slideshow.autoStart")&&this.Slideshow.activate(),t.option("fullscreen.autoStart")&&!k.element())))try{k.activate(t.$container)}catch(t){}}onFsChange(){window.scrollTo(k.pageXOffset,k.pageYOffset)}onSettle(){const t=this.fancybox,e=this.Slideshow;e&&e.isActive()&&(t.getSlide().index!==t.Carousel.slides.length-1||t.option("infinite")?"done"===t.getSlide().state&&e.setTimer():e.deactivate())}onChange(){this.update(),this.Slideshow&&this.Slideshow.isActive()&&this.Slideshow.clearTimer()}onDone(t,e){const n=this.Slideshow;e.index===t.getSlide().index&&(this.update(),n&&n.isActive()&&(t.option("infinite")||e.index!==t.Carousel.slides.length-1?n.setTimer():n.deactivate()))}onRefresh(t){t&&t.index!==this.fancybox.getSlide().index||(this.update(),!this.Slideshow||!this.Slideshow.isActive()||t&&"done"!==t.state||this.Slideshow.deactivate())}onKeydown(t,e,n){" "===e&&this.Slideshow&&(this.Slideshow.toggle(),n.preventDefault())}onClosing(){this.Slideshow&&this.Slideshow.deactivate(),document.removeEventListener("fullscreenchange",this.onFsChange)}createElement(t){let e;"div"===t.type?e=document.createElement("div"):(e=document.createElement("link"===t.type?"a":"button"),e.classList.add("carousel__button")),e.innerHTML=t.html,e.setAttribute("tabindex",t.tabindex||0),t.class&&e.classList.add(...t.class.split(" "));for(const n in t.attr)e.setAttribute(n,t.attr[n]);t.label&&e.setAttribute("title",this.fancybox.localize(`{{${t.label}}}`)),t.click&&e.addEventListener("click",t.click.bind(this)),"prev"===t.id&&e.setAttribute("data-fancybox-prev",""),"next"===t.id&&e.setAttribute("data-fancybox-next","");const n=e.querySelector("svg");return n&&(n.setAttribute("role","img"),n.setAttribute("tabindex","-1"),n.setAttribute("xmlns","http://www.w3.org/2000/svg")),e}build(){this.cleanup();const t=this.fancybox.option("Toolbar.items"),e=[{position:"left",items:[]},{position:"center",items:[]},{position:"right",items:[]}],n=this.fancybox.plugins.Thumbs;for(const o of this.fancybox.option("Toolbar.display")){let r,a;
2if(i(o)?(r=o.id,a=s({},t[r],o)):(r=o,a=t[r]),["counter","next","prev","slideshow"].includes(r)&&this.fancybox.items.length<2)continue;if("fullscreen"===r){if(!document.fullscreenEnabled||window.fullScreen)continue;document.addEventListener("fullscreenchange",this.onFsChange)}if("thumbs"===r&&(!n||"disabled"===n.state))continue;if(!a)continue;let l=a.position||"right",c=e.find((t=>t.position===l));c&&c.items.push(a)}const o=document.createElement("div");o.classList.add("fancybox__toolbar");for(const t of e)if(t.items.length){const e=document.createElement("div");e.classList.add("fancybox__toolbar__items"),e.classList.add(`fancybox__toolbar__items--${t.position}`);for(const n of t.items)e.appendChild(this.createElement(n));o.appendChild(e)}this.fancybox.$carousel.parentNode.insertBefore(o,this.fancybox.$carousel),this.$container=o}update(){const t=this.fancybox.getSlide(),e=t.index,n=this.fancybox.items.length,i=t.downloadSrc||("image"!==t.type||t.error?null:t.src);for(const t of this.fancybox.$container.querySelectorAll("a.fancybox__button--download"))i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex"),t.setAttribute("href",i),t.setAttribute("download",i),t.setAttribute("target","_blank")):(t.setAttribute("disabled",""),t.setAttribute("tabindex",-1),t.removeAttribute("href"),t.removeAttribute("download"));const s=t.Panzoom,o=s&&s.option("maxScale")>s.option("baseScale");for(const t of this.fancybox.$container.querySelectorAll(".fancybox__button--zoom"))o?t.removeAttribute("disabled"):t.setAttribute("disabled","");for(const e of this.fancybox.$container.querySelectorAll("[data-fancybox-index]"))e.innerHTML=t.index+1;for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-count]"))t.innerHTML=n;if(!this.fancybox.option("infinite")){for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-prev]"))0===e?t.setAttribute("disabled",""):t.removeAttribute("disabled");for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-next]"))e===n-1?t.setAttribute("disabled",""):t.removeAttribute("disabled")}}cleanup(){this.Slideshow&&this.Slideshow.isActive()&&this.Slideshow.clearTimer(),this.$container&&this.$container.remove(),this.$container=null}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events),this.cleanup()}}D.defaults=M;const z={ScrollLock:class{constructor(t){this.fancybox=t,this.viewport=null,this.pendingUpdate=null;for(const t of["onReady","onResize","onTouchstart","onTouchmove"])this[t]=this[t].bind(this)}onReady(){const t=window.visualViewport;t&&(this.viewport=t,this.startY=0,t.addEventListener("resize",this.onResize),this.updateViewport()),window.addEventListener("touchstart",this.onTouchstart,{passive:!1}),window.addEventListener("touchmove",this.onTouchmove,{passive:!1}),window.addEventListener("wheel",this.onWheel,{passive:!1})}onResize(){this.updateViewport()}updateViewport(){const t=this.fancybox,e=this.viewport,n=e.scale||1,i=t.$container;if(!i)return;let s="",o="",r="";n-1>.1&&(s=e.width*n+"px",o=e.height*n+"px",r=`translate3d(${e.offsetLeft}px, ${e.offsetTop}px, 0) scale(${1/n})`),i.style.width=s,i.style.height=o,i.style.transform=r}onTouchstart(t){this.startY=t.touches?t.touches[0].screenY:t.screenY}onTouchmove(t){const e=this.startY,n=window.innerWidth/window.document.documentElement.clientWidth;if(!t.cancelable)return;if(t.touches.length>1||1!==n)return;const i=r(t.composedPath()[0]);if(!i)return void t.preventDefault();const s=window.getComputedStyle(i),o=parseInt(s.getPropertyValue("height"),10),a=t.touches?t.touches[0].screenY:t.screenY,l=e<=a&&0===i.scrollTop,c=e>=a&&i.scrollHeight-i.scrollTop===o;(l||c)&&t.preventDefault()}onWheel(t){r(t.composedPath()[0])||t.preventDefault()}cleanup(){this.pendingUpdate&&(cancelAnimationFrame(this.pendingUpdate),this.pendingUpdate=null);const t=this.viewport;t&&(t.removeEventListener("resize",this.onResize),this.viewport=null),window.removeEventListener("touchstart",this.onTouchstart,!1),window.removeEventListener("touchmove",this.onTouchmove,!1),window.removeEventListener("wheel",this.onWheel,{passive:!1})}attach(){this.fancybox.on("initLayout",this.onReady)}detach(){this.fancybox.off("initLayout",this.onReady),this.cleanup()}},Thumbs:$,Html:L,Toolbar:D,Image:P,Hash:A},R={startIndex:0,preload:1,infinite:!0,showClass:"fancybox-zoomInUp",hideClass:"fancybox-fadeOut",animated:!0,hideScrollbar:!0,parentEl:null,mainClass:null,autoFocus:!0,trapFocus:!0,placeFocusBack:!0,click:"close",closeButton:"inside",dragToClose:!0,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"next",ArrowDown:"prev",ArrowRight:"next",ArrowLeft:"prev"},template:{closeButton:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1">
2<path d="M20 20L4 4m16 0L4 20"/></svg>',spinner:'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="25 25 50 50" tabindex="-1"><circle cx="50" cy="50" r="20"/></svg>',main:null},l10n:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}},I=new Map;let N=0;class F extends d{constructor(t,e={}){t=t.map((t=>(t.width&&(t._width=t.width),t.height&&(t._height=t.height),t))),super(s(!0,{},R,e)),this.bindHandlers(),this.state="init",this.setItems(t),this.attachPlugins(F.Plugins),this.trigger("init"),!0===this.option("hideScrollbar")&&this.hideScrollbar(),this.initLayout(),this.initCarousel(),this.attachEvents(),I.set(this.id,this),this.trigger("prepare"),this.state="ready",this.trigger("ready"),this.$container.setAttribute("aria-hidden","false"),this.option("trapFocus")&&this.focus()}option(t,...e){const n=this.getSlide();let i=n?n[t]:void 0;return void 0!==i?("function"==typeof i&&(i=i.call(this,this,...e)),i):super.option(t,...e)}bindHandlers(){for(const t of["onMousedown","onKeydown","onClick","onFocus","onCreateSlide","onSettle","onTouchMove","onTouchEnd","onTransform"])this[t]=this[t].bind(this)}attachEvents(){document.addEventListener("mousedown",this.onMousedown),document.addEventListener("keydown",this.onKeydown,!0),this.option("trapFocus")&&document.addEventListener("focus",this.onFocus,!0),this.$container.addEventListener("click",this.onClick)}detachEvents(){document.removeEventListener("mousedown",this.onMousedown),document.removeEventListener("keydown",this.onKeydown,!0),document.removeEventListener("focus",this.onFocus,!0),this.$container.removeEventListener("click",this.onClick)}initLayout(){this.$root=this.option("parentEl")||document.body;let t=this.option("template.main");t&&(this.$root.insertAdjacentHTML("beforeend",this.localize(t)),this.$container=this.$root.querySelector(".fancybox__container")),this.$container||(this.$container=document.createElement("div"),this.$root.appendChild(this.$container)),this.$container.onscroll=()=>(this.$container.scrollLeft=0,!1),Object.entries({class:"fancybox__container",role:"dialog",tabIndex:"-1","aria-modal":"true","aria-hidden":"true","aria-label":this.localize("{{MODAL}}")}).forEach((t=>this.$container.setAttribute(...t))),this.option("animated")&&this.$container.classList.add("is-animated"),this.$backdrop=this.$container.querySelector(".fancybox__backdrop"),this.$backdrop||(this.$backdrop=document.createElement("div"),this.$backdrop.classList.add("fancybox__backdrop"),this.$container.appendChild(this.$backdrop)),this.$carousel=this.$container.querySelector(".fancybox__carousel"),this.$carousel||(this.$carousel=document.createElement("div"),this.$carousel.classList.add("fancybox__carousel"),this.$container.appendChild(this.$carousel)),this.$container.Fancybox=this,this.id=this.$container.getAttribute("id"),this.id||(this.id=this.options.id||++N,this.$container.setAttribute("id","fancybox-"+this.id));const e=this.option("mainClass");return e&&this.$container.classList.add(...e.split(" ")),document.documentElement.classList.add("with-fancybox"),this.trigger("initLayout"),this}setItems(t){const e=[];for(const n of t){const t=n.$trigger;if(t){const e=t.dataset||{};n.src=e.src||t.getAttribute("href")||n.src,n.type=e.type||n.type,!n.src&&t instanceof HTMLImageElement&&(n.src=t.currentSrc||n.$trigger.src)}let i=n.$thumb;if(!i){let t=n.$trigger&&n.$trigger.origTarget;t&&(i=t instanceof HTMLImageElement?t:t.querySelector("img:not([aria-hidden])")),!i&&n.$trigger&&(i=n.$trigger instanceof HTMLImageElement?n.$trigger:n.$trigger.querySelector("img:not([aria-hidden])"))}n.$thumb=i||null;let s=n.thumb;!s&&i&&(s=i.currentSrc||i.src,!s&&i.dataset&&(s=i.dataset.lazySrc||i.dataset.src)),s||"image"!==n.type||(s=n.src
2),n.thumb=s||null,n.caption=n.caption||"",e.push(n)}this.items=e}initCarousel(){return this.Carousel=new _(this.$carousel,s(!0,{},{prefix:"",classNames:{viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"},textSelection:!0,preload:this.option("preload"),friction:.88,slides:this.items,initialPage:this.options.startIndex,slidesPerPage:1,infiniteX:this.option("infinite"),infiniteY:!0,l10n:this.option("l10n"),Dots:!1,Navigation:{classNames:{main:"fancybox__nav",button:"carousel__button",next:"is-next",prev:"is-prev"}},Panzoom:{textSelection:!0,panOnlyZoomed:()=>this.Carousel&&this.Carousel.pages&&this.Carousel.pages.length<2&&!this.option("dragToClose"),lockAxis:()=>{if(this.Carousel){let t="x";return this.option("dragToClose")&&(t+="y"),t}}},on:{"*":(t,...e)=>this.trigger(`Carousel.${t}`,...e),init:t=>this.Carousel=t,createSlide:this.onCreateSlide,settle:this.onSettle}},this.option("Carousel"))),this.option("dragToClose")&&this.Carousel.Panzoom.on({touchMove:this.onTouchMove,afterTransform:this.onTransform,touchEnd:this.onTouchEnd}),this.trigger("initCarousel"),this}onCreateSlide(t,e){let n=e.caption||"";if("function"==typeof this.options.caption&&(n=this.options.caption.call(this,this,this.Carousel,e)),"string"==typeof n&&n.length){const t=document.createElement("div"),i=`fancybox__caption_${this.id}_${e.index}`;t.className="fancybox__caption",t.innerHTML=n,t.setAttribute("id",i),e.$caption=e.$el.appendChild(t),e.$el.classList.add("has-caption"),e.$el.setAttribute("aria-labelledby",i)}}onSettle(){this.option("autoFocus")&&this.focus()}onFocus(t){this.focus(t)}onClick(t){if(t.defaultPrevented)return;let e=t.composedPath()[0];if(e.matches("[data-fancybox-close]"))return t.preventDefault(),void F.close(!1,t);if(e.matches("[data-fancybox-next]"))return t.preventDefault(),void F.next();if(e.matches("[data-fancybox-prev]"))return t.preventDefault(),void F.prev();if(e.matches(S)||document.activeElement.blur(),!e.closest(".fancybox__content")&&!getSelection().toString().length&&!1!==this.trigger("click",t))switch(this.option("click")){case"close":this.close();break;case"next":this.next()}}onTouchMove(){const t=this.getSlide().Panzoom;return!t||1===t.content.scale}onTouchEnd(t){const e=t.dragOffset.y;Math.abs(e)>=150||Math.abs(e)>=35&&t.dragOffset.time<350?(this.option("hideClass")&&(this.getSlide().hideClass="fancybox-throwOut"+(t.content.y<0?"Up":"Down")),this.close()):"y"===t.lockAxis&&t.panTo({y:0})}onTransform(t){if(this.$backdrop){const e=Math.abs(t.content.y),n=e<1?"":Math.max(.33,Math.min(1,1-e/t.content.fitHeight*1.5));this.$container.style.setProperty("--fancybox-ts",n?"0s":""),this.$container.style.setProperty("--fancybox-opacity",n)}}onMousedown(){"ready"===this.state&&document.body.classList.add("is-using-mouse")}onKeydown(t){if(F.getInstance().id!==this.id)return;document.body.classList.remove("is-using-mouse");const e=t.key,n=this.option("keyboard");if(!n||t.ctrlKey||t.altKey||t.shiftKey)return;const i=t.composedPath()[0],s=document.activeElement&&document.activeElement.classList,o=s&&s.contains("carousel__button");if("Escape"!==e&&!o&&(t.target.isContentEditable||-1!==["BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(i.nodeName)))return;if(!1===this.trigger("keydown",e,t))return;const r=n[e];"function"==typeof this[r]&&this[r]()}getSlide(){const t=this.Carousel;if(!t)return null;const e=null===t.page?t.option("initialPage"):t.page,n=t.pages||[];return n.length&&n[e]?n[e].slides[0]:null}focus(t){if(F.ignoreFocusChange)return;if(["init","closing","customClosing","destroy"].indexOf(this.state)>-1)return;const e=this.$container,n=this.getSlide(),i="done"===n.state?n.$el:null;if(i&&i.contains(document.activeElement))return;t&&t.preventDefault(),F.ignoreFocusChange=!0;const s=Array.from(e.querySelectorAll(S));let o,r=[];for(let t of s){const e=t.offsetParent,n=i&&i.contains(t),s=!this.Carousel.$viewport.contains(t);e&&(n||s)?(r.push(t),void 0!==t.dataset.origTabindex&&(t.tabIndex=t.dataset.origTabindex,t.removeAttribute("data-orig-tabindex")),(t.hasAttribute("autoFocus")||!o&&n&&!t.classList.contains("carousel__button"))&&(o=t)):(t.dataset.origTabindex=void 0===t.dataset.origTabindex?t.getAttribute("tabindex"):t.dataset.origTabindex,t.tabIndex=-1)}t?r.indexOf(t.target)>-1?this.lastFocus=t.target:this.lastFocus===e?E(r[r.length-1]):E(e):this.option("autoFocus")&&o?E(o):r.indexOf(document.activeElement)<0&&E(e),this.lastFocus=document.activeElement,F.ignoreFocusChange=!1}hideScrollbar(){if(!w)return;const t=window.innerWidth-document.documentElement.getBoundingClientRect().width,e="fancybox-style-noscroll";let n=document.getElementById(e);n||t>0&&(n=document.createElement("style"),n.id=e,n.type="text/css",n.innerHTML=`.compensate-for-scrollbar {padding-right: ${t}px;}`,document.getElementsByTagName("head")[0].appendChild(n),document.body.classList.add("compensate-for-scrollbar"))}revealScrollbar(){document.body.classList.remove("compensate-for-scrollbar");const t=document.getElementById("fancybox-style-noscroll");t&&t.remove()}clearContent(t){this.Carousel.trigger("removeSlide",t),t.$content&&(t.$content.remove(),t.$content=null),t.$closeButton&&(t.$closeButton.remove(),t.$closeButton=null),t._className&&t.$el.classList.remove(t._className)}setContent(t,e,n={}){let i;const s=t.$el;if(e instanceof HTMLElement)["img","iframe","video","audio"].indexOf(e.nodeName.toLowerCase())>-1?(i=document.createElement("div"),i.appendChild(e)):i=e;else{const t=document.createRange().createContextualFragment(e);i=document.createElement("div"),i.appendChild(t)}if(t.filter&&!t.error&&(i=i.querySelector(t.filter)),i instanceof Element)return t._className=`has-${n.suffix||t.type||"unknown"}`,s.classList.add(t._className),i.classList.add("fancybox__content"),"none"!==i.style.display&&"none"!==getComputedStyle(i).getPropertyValue("display")||(i.style.display=t.display||this.option("defaultDisplay")||"flex"),t.id&&i.setAttribute("id",t.id),t.$content=i,s.prepend(i),this.manageCloseButton(t),"loading"!==t.state&&this.revealContent(t),i;this.setError(t,"{{ELEMENT_NOT_FOUND}}")}manageCloseButton(t){const e=void 0===t.closeButton?this.option("closeButton"):t.closeButton;if(!e||"top"===e&&this.$closeButton)return;const n=document.createElement("button");n.classList.add("carousel__button","is-close"),n.setAttribute("title",this.options.l10n.CLOSE),n.innerHTML=this.option("template.closeButton"),n.addEventListener("click",(t=>this.close(t))),"inside"===e?(t.$closeButton&&t.$closeButton.remove(),t.$closeButton=t.$content.appendChild(n)):this.$closeButton=this.$container.insertBefore(n,this.$container.firstChild)}revealContent(t){this.trigger("reveal",t),t.$content.style.visibility="";let e=!1;t.error||"loading"===t.state||null!==this.Carousel.prevPage||t.index!==this.options.startIndex||(e=void 0===t.showClass?this.option("showClass"):t.showClass),e?(t.state="animating",this.animateCSS(t.$content,e,(()=>{this.done(t)}))):this.done(t)}
2animateCSS(t,e,n){if(t&&t.dispatchEvent(new CustomEvent("animationend",{bubbles:!0,cancelable:!0})),!t||!e)return void("function"==typeof n&&n());const i=function(s){s.currentTarget===this&&(t.removeEventListener("animationend",i),n&&n(),t.classList.remove(e))};t.addEventListener("animationend",i),t.classList.add(e)}done(t){t.state="done",this.trigger("done",t);const e=this.getSlide();e&&t.index===e.index&&this.option("autoFocus")&&this.focus()}setError(t,e){t.error=e,this.hideLoading(t),this.clearContent(t);const n=document.createElement("div");n.classList.add("fancybox-error"),n.innerHTML=this.localize(e||"<p>{{ERROR}}</p>"),this.setContent(t,n,{suffix:"error"})}showLoading(t){t.state="loading",t.$el.classList.add("is-loading");let e=t.$el.querySelector(".fancybox__spinner");e||(e=document.createElement("div"),e.classList.add("fancybox__spinner"),e.innerHTML=this.option("template.spinner"),e.addEventListener("click",(()=>{this.Carousel.Panzoom.velocity||this.close()})),t.$el.prepend(e))}hideLoading(t){const e=t.$el&&t.$el.querySelector(".fancybox__spinner");e&&(e.remove(),t.$el.classList.remove("is-loading")),"loading"===t.state&&(this.trigger("load",t),t.state="ready")}next(){const t=this.Carousel;t&&t.pages.length>1&&t.slideNext()}prev(){const t=this.Carousel;t&&t.pages.length>1&&t.slidePrev()}jumpTo(...t){this.Carousel&&this.Carousel.slideTo(...t)}close(t){if(t&&t.preventDefault(),["closing","customClosing","destroy"].includes(this.state))return;if(!1===this.trigger("shouldClose",t))return;if(this.state="closing",this.Carousel.Panzoom.destroy(),this.detachEvents(),this.trigger("closing",t),"destroy"===this.state)return;this.$container.setAttribute("aria-hidden","true"),this.$container.classList.add("is-closing");const e=this.getSlide();if(this.Carousel.slides.forEach((t=>{t.$content&&t.index!==e.index&&this.Carousel.trigger("removeSlide",t)})),"closing"===this.state){const t=void 0===e.hideClass?this.option("hideClass"):e.hideClass;this.animateCSS(e.$content,t,(()=>{this.destroy()}),!0)}}destroy(){if("destroy"===this.state)return;this.state="destroy",this.trigger("destroy");const t=this.option("placeFocusBack")?this.getSlide().$trigger:null;this.Carousel.destroy(),this.detachPlugins(),this.Carousel=null,this.options={},this.events={},this.$container.remove(),this.$container=this.$backdrop=this.$carousel=null,t&&E(t),I.delete(this.id);const e=F.getInstance();e?e.focus():(document.documentElement.classList.remove("with-fancybox"),document.body.classList.remove("is-using-mouse"),this.revealScrollbar())}static show(t,e={}){return new F(t,e)}static fromEvent(t,e={}){if(t.defaultPrevented)return;if(t.button&&0!==t.button)return;if(t.ctrlKey||t.metaKey||t.shiftKey)return;const n=t.composedPath()[0];let i,s,o,r=n;if((r.matches("[data-fancybox-trigger]")||(r=r.closest("[data-fancybox-trigger]")))&&(i=r&&r.dataset&&r.dataset.fancyboxTrigger),i){const t=document.querySelectorAll(`[data-fancybox="${i}"]`),e=parseInt(r.dataset.fancyboxIndex,10)||0;r=t.length?t[e]:r}r||(r=n),Array.from(F.openers.keys()).reverse().some((e=>{o=r;let n=!1;try{o instanceof Element&&("string"==typeof e||e instanceof String)&&(n=o.matches(e)||(o=o.closest(e)))}catch(t){}return!!n&&(t.preventDefault(),s=e,!0)}));let a=!1;if(s){e.event=t,e.target=o,o.origTarget=n,a=F.fromOpener(s,e);const i=F.getInstance();i&&"ready"===i.state&&t.detail&&document.body.classList.add("is-using-mouse")}return a}static fromOpener(t,e={}
2){let n=[],i=e.startIndex||0,o=e.target||null;const r=void 0!==(e=s({},e,F.openers.get(t))).groupAll&&e.groupAll,a=void 0===e.groupAttr?"data-fancybox":e.groupAttr,l=a&&o?o.getAttribute(`${a}`):"";if(!o||l||r){const i=e.root||(o?o.getRootNode():document.body);n=[].slice.call(i.querySelectorAll(t))}if(o&&!r&&(n=l?n.filter((t=>t.getAttribute(`${a}`)===l)):[o]),!n.length)return!1;const c=F.getInstance();return!(c&&n.indexOf(c.options.$trigger)>-1)&&(i=o?n.indexOf(o):i,n=n.map((function(t){const e=["false","0","no","null","undefined"],n=["true","1","yes"],i=Object.assign({},t.dataset),s={};for(let[t,o]of Object.entries(i))if("fancybox"!==t)if("width"===t||"height"===t)s[`_${t}`]=o;else if("string"==typeof o||o instanceof String)if(e.indexOf(o)>-1)s[t]=!1;else if(n.indexOf(s[t])>-1)s[t]=!0;else try{s[t]=JSON.parse(o)}catch(e){s[t]=o}else s[t]=o;return t instanceof Element&&(s.$trigger=t),s})),new F(n,s({},e,{startIndex:i,$trigger:o})))}static bind(t,e={}){function n(){document.body.addEventListener("click",F.fromEvent,!1)}w&&(F.openers.size||(/complete|interactive|loaded/.test(document.readyState)?n():document.addEventListener("DOMContentLoaded",n)),F.openers.set(t,e))}static unbind(t){F.openers.delete(t),F.openers.size||F.destroy()}static destroy(){let t;for(;t=F.getInstance();)t.destroy();F.openers=new Map,document.body.removeEventListener("click",F.fromEvent,!1)}static getInstance(t){return t?I.get(t):Array.from(I.values()).reverse().find((t=>!["closing","customClosing","destroy"].includes(t.state)&&t))||null}static close(t=!0,e){if(t)for(const t of I.values())t.close(e);else{const t=F.getInstance();t&&t.close(e)}}static next(){const t=F.getInstance();t&&t.next()}static prev(){const t=F.getInstance();t&&t.prev()}}F.version="4.0.26",F.defaults=R,F.openers=new Map,F.Plugins=z,F.bind("[data-fancybox]");for(const[t,e]of Object.entries(F.Plugins||{}))"function"==typeof e.create&&e.create(F)},122:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function l(t,e){return l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},l(t,e)}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function h(){return h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=u(t,e);if(i){var s=Object.getOwnPropertyDescriptor(i,e);return s.get?s.get.call(arguments.length<3?t:n):s.value}},h.apply(this,arguments)}n.d(e,{Z:function(){return K}});var d={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function f(t){console.error("[Glide warn]: ".concat(t))}function p(t){return parseInt(t)}function m(t){return"string"==typeof t}function g(t){var e=i(t);return"function"===e||"object"===e&&!!t}function v(t){return"function"==typeof t}function y(t){return void 0===t}function b(t){return t.constructor===Array}function _(t,e,n){var i={};for(var s in e)v(e[s])?i[s]=e[s](t,i,n):f("Extension must be a function");for(var o in i)v(i[o].mount)&&i[o].mount();return i}function w(t,e,n){Object.defineProperty(t,e,n)}function x(t,e){var n=Object.assign({},t,e);return e.hasOwnProperty("classes")&&(n.classes=Object.assign({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=Object.assign({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(n.classes.type=Object.assign({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(n.classes.slide=Object.assign({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(n.classes.arrow=Object.assign({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(n.classes.nav=Object.assign({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var S=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this.events=e,this.hop=e.hasOwnProperty}return r(t,[{key:"on",value:function(t,e){if(!b(t)){this.hop.call(this.events,t)||(this.events[t]=[]);var n=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][n]}}}for(var i=0;i<t.length;i++)this.on(t[i],e)}},{key:"emit",value:function(t,e){if(b(t))for(var n=0;n<t.length;
vendor: 18,178 bytes, line 2
2n++)this.emit(t[n],e);else this.hop.call(this.events,t)&&this.events[t].forEach((function(t){t(e||{})}))}}]),t}(),E=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,t),this._c={},this._t=[],this._e=new S,this.disabled=!1,this.selector=e,this.settings=x(d,n),this.index=this.settings.startAt}return r(t,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),g(t)?this._c=_(this,t,this._e):f("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return b(t)?this._t=t:f("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=x(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){g(t)?this._o=t:f("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=p(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),t}();function $(){return(new Date).getTime()}function C(t,e,n){var i,s,o,r,a=0;n||(n={});var l=function(){a=!1===n.leading?0:$(),i=null,r=t.apply(s,o),i||(s=o=null)},c=function(){var c=$();a||!1!==n.leading||(a=c);var u=e-(c-a);return s=this,o=arguments,u<=0||u>e?(i&&(clearTimeout(i),i=null),a=c,r=t.apply(s,o),i||(s=o=null)):i||!1===n.trailing||(i=setTimeout(l,u)),r};return c.cancel=function(){clearTimeout(i),a=0,i=s=o=null},c}var T={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function L(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function P(t){return!!(t&&t instanceof window.HTMLElement)}var A='[data-glide-el="track"]',k=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this.listeners=e}return r(t,[{key:"on",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];m(t)&&(t=[t]);for(var s=0;s<t.length;s++)this.listeners[t[s]]=n,e.addEventListener(t[s],this.listeners[t[s]],i)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(t)&&(t=[t]);for(var i=0;i<t.length;i++)e.removeEventListener(t[i],this.listeners[t[i]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),t}(),O=["ltr","rtl"],M={">":"<","<":">","=":"="};function D(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function z(t,e){return{modify:function(t){var n=Math.floor(t/e.Sizes.slideWidth);return t+e.Gaps.value*n}}}function R(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function I(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var i=e.Peek.value;return g(i)?n-i.before:n-i}return n}}}function N(t,e){return{modify:function(n){var i=e.Gaps.value,s=e.Sizes.width,o=t.settings.focusAt,r=e.Sizes.slideWidth;return"center"===o?n-(s/2-r/2):n-r*o-i*o}}}var F=!1;try{var H=Object.defineProperty({},"passive",{get:function(){F=!0}});window.addEventListener("testPassive",null,H),window.removeEventListener("testPassive",null,H)}catch(t){}var B=F,j=["touchstart","mousedown"],q=["touchmove","mousemove"],W=["touchend","touchcancel","mouseup","mouseleave"],U=["mousedown","mousemove","mouseup","mouseleave"],Y='[data-glide-el^="controls"]',X="".concat(Y,' [data-glide-dir*="<"]'),G="".concat(Y,' [data-glide-dir*=">"]');function V(t){return g(t)?(e=t,Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t[n],t}),{})):(f("Breakpoints option must be an object"),{});var e}var Z={Html:function(t,e,n){var i={mount:function(){this.root=t.selector,this.track=this.root.querySelector(A),this.collectSlides()},collectSlides:function(){this.slides=Array.prototype.slice.call(this.wrapper.children).filter((function(e){return!e.classList.contains(t.settings.classes.slide.clone)}))}};return w(i,"root",{get:function(){return i._r},set:function(t){m(t)&&(t=document.querySelector(t)),P(t)?i._r=t:f("Root element must be a existing Html node")}}),w(i,"track",{get:function(){return i._t},set:function(t){P(t)?i._t=t:f("Could not find track element. Please use ".concat(A," attribute."))}}),w(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",(function(){i.collectSlides()})),i},Translate:function(t,e,n){var i={set:function(n){var i=function(t,e,n){var i=[z,R,I,N].concat(t._t,[D]);return{mutate:function(n){for(var s=0;s<i.length;s++){var o=i[s];v(o)&&v(o().modify)?n=o(t,e,undefined).modify(n):f("Transformer should be a function that returns an object with `modify()` method")}return n}}}(t,e).mutate(n),s="translate3d(".concat(-1*i,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=s,e.Html.wrapper.style.webkitTransform=s,e.Html.wrapper.style.transform=s},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var n=e.Sizes.length,i=t.index,s=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?n+(i-s):(i+s)%n},getTravelDistance:function(){var n=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?-1*n:n}};return n.on("move",(function(s){if(!t.isType("carousel")||!e.Run.isOffset())return i.set(s.movement);e.Transition.after((function(){n.emit("translate.jump"),i.set(e.Sizes.slideWidth*t.index)}));var o=e.Sizes.slideWidth*e.Translate.getStartIndex();return i.set(o-e.Translate.getTravelDistance())})),n.on("destroy",(function(){i.remove()})),i},Transition:function(t,e,n){var i=!1,s={compose:function(e){var n=t.settings;return i?"".concat(e," 0ms ").concat(n.animationTimingFunc):"".concat(e," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout((function(){t()}),this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return w(s,"duration",{get:function(){var n=t.settings;return t.isType("slider")&&e.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){s.set()})),n.on(["build.before","resize","translate.jump"],(function(){s.disable()})),n.on("run",(function(){s.enable()})),n.on("destroy",(function(){s.remove()})),s},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(M[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return w(i,"value",{get:function(){return i._v},set:function(t){O.indexOf(t)>-1?i._v=t:f("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){i.removeClass()})),n.on("update",(function(){i.mount()})),n.on(["build.before","update"],(function(){i.addClass()})),i},Peek:function(t,e,n){var i={mount:function(){this.value=t.settings.peek}};return w(i,"value",{get:function(){return i._v},set:function(t){g(t)?(t.before=p(t.before),t.after=p(t.after)):t=p(t),i._v=t}}),w(i,"reductor",{get:function(){var e=i.value,n=t.settings.perView;return g(e)?e.before/n+e.after/n:2*e/n}}),n.on(["resize","update"],(function(){i.mount()})),i},Sizes:function(t,e,n){var i={setupSlides:function(){for(var t="".concat(this.slideWidth,"px"),n=e.Html.slides,i=0;i<n.length;i++)n[i].style.width=t},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var t=e.Html.slides,n=0;n<t.length;n++)t[n].style.width="";e.Html.wrapper.style.width=""}};return w(i,"length",{get:function(){return e.Html.slides.length}}),w(i,"width",{get:function(){return e.Html.track.offsetWidth}}),w(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+e.Gaps.grow+e.Clones.grow}}),w(i,"slideWidth",{get:function(){return i.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){i.setupSlides(),i.setupWrapper()})),n.on("destroy",(function(){i.remove()})),i},Gaps:function(t,e,n){var i={apply:function(t){for(var n=0,i=t.length;n<i;n++){var s=t[n].style,o=e.Direction.value;s[T[o][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==t.length-1?s[T[o][1]]="".concat(this.value/2,"px"):s[T[o][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return w(i,"value",{get:function(){return p(t.settings.gap)}}),w(i,"grow",{get:function(){return i.value*e.Sizes.length}}),w(i,"reductor",{get:function(){var e=t.settings.perView;return i.value*(e-1)/e}}),n.on(["build.after","update"],C((function(){i.apply(e.Html.wrapper.children)}),30)),n.on("destroy",(function(){i.remove(e.Html.wrapper.children)})),i},Move:function(t,e,n){var i={mount:function(){this._o=0},make:function(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=i,n.emit("move",{movement:this.value}),e.Transition.after((function(){n.emit("move.after",{movement:t.value})}))}};return w(i,"offset",{get:function(){return i._o},set:function(t){i._o=y(t)?0:p(t)}}),w(i,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),w(i,"value",{get:function(){var t=this.offset,n=this.translate;return e.Direction.is("rtl")?n+t:n-t}}),n.on(["build.before","run"],(function(){i.make()})),i},Clones:function(t,e,n){var i={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=e.Html.slides,s=t.settings,o=s.perView,r=s.classes,a=s.cloningRatio;if(0!==i.length)for(var l=+!!t.settings.peek,c=o+l+Math.round(o/2),u=i.slice(0,c).reverse(),h=i.slice(-1*c),d=0;d<Math.max(a,Math.floor(o/i.length));d++){for(var f=0;f<u.length;f++){var p=u[f].cloneNode(!0);p.classList.add(r.slide.clone),n.push(p)}for(var m=0;m<h.length;m++){var g=h[m].cloneNode(!0);g.classList.add(r.slide.clone),n.unshift(g)}}return n},append:function(){for(var t=this.items,n=e.Html,i=n.wrapper,s=n.slides,o=Math.floor(t.length/2),r=t.slice(0,o).reverse(),a=t.slice(-1*o).reverse(),l="".concat(e.Sizes.slideWidth,"px"),c=0;c<a.length;c++)i.appendChild(a[c]);for(var u=0;u<r.length;u++)i.insertBefore(r[u],s[0]);for(var h=0;h<t.length;h++)t[h].style.width=l},remove:function(){for(var t=this.items,n=0;n<t.length;n++)e.Html.wrapper.removeChild(t[n])}};return w(i,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*i.items.length}}),n.on("update",(function(){i.remove(),i.mount(),i.append()})),n.on("build.before",(function(){t.isType("carousel")&&i.append()})),n.on("destroy",(function(){i.remove()})),i},Resize:function(t,e,n){var i=new k,s={mount:function(){this.bind()},bind:function(){i.on("resize",window,C((function(){n.emit("resize")}),t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",(function(){s.unbind(),i.destroy()})),s},Build:function(t,e,n){var i={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var n=t.settings.classes,i=e.Html.slides[t.index];i&&(i.classList.add(n.slide.active),L(i).forEach((function(t){t.classList.remove(n.slide.active)})))},removeClasses:function(){var n=t.settings.classes,i=n.type,s=n.slide;e.Html.root.classList.remove(i[t.settings.type]),e.Html.slides.forEach((function(t){t.classList.remove(s.active)}))}};return n.on(["destroy","update"],(function(){i.removeClasses()})),n.on(["resize","update"],(function(){i.mount()})),n.on("move.after",(function(){i.activeClass()})),i},Run:function(t,e,n){var i={mount:function(){this._o=!1},make:function(i){var s=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=i,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after((function(){s.isStart()&&n.emit("run.start",s.move),s.isEnd()&&n.emit("run.end",s.move),s.isOffset()&&(s._o=!1,n.emit("run.offset",s.move)),n.emit("run.after",s.move),t.enable()})))},calculate:function(){var e=this.move,n=this.length,s=e.steps,o=e.direction,r=1;if("="===o)return t.settings.bound&&p(s)>n?void(t.index=n):void(t.index=s);if(">"!==o||">"!==s)if("<"!==o||"<"!==s){if("|"===o&&(r=t.settings.perView||1),">"===o||"|"===o&&">"===s){var a=function(e){var n=t.index;return t.isType("carousel")?n+e:n+(e-n%e)}(r);return a>n&&(this._o=!0),void(t.index=function(e,n){var s=i.length;return e<=s?e:t.isType("carousel")?e-(s+1):t.settings.rewind?i.isBound()&&!i.isEnd()?s:0:i.isBound()?s:Math.floor(s/n)*n}(a,r))}if("<"===o||"|"===o&&"<"===s){var l=function(e){var n=t.index;return t.isType("carousel")?n-e:(Math.ceil(n/e)-1)*e}(r);return l<0&&(this._o=!0),void(t.index=function(e,n){var s=i.length;return e>=0?e:t.isType("carousel")?e+(s+1):t.settings.rewind?i.isBound()&&i.isStart()?s:Math.floor(s/n)*n:0}(l,r))}f("Invalid direction pattern [".concat(o).concat(s,"] has been used"))}else t.index=0;else t.index=n},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return w(i,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?p(e)?p(e):e:0}}}),w(i,"length",{get:function(){var n=t.settings,i=e.Html.slides.length;return this.isBound()?i-1-(p(n.perView)-1)+p(n.focusAt):i-1}}),w(i,"offset",{get:function(){return this._o}}),i},Swipe:function(t,e,n){var i=new k,s=0,o=0,r=0,a=!1,l=!!B&&{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(e){if(!a&&!t.disabled){this.disable();var i=this.touches(e);s=null,o=p(i.pageX),r=p(i.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(i){if(!t.disabled){var a=t.settings,l=a.touchAngle,c=a.touchRatio,u=a.classes,h=this.touches(i),d=p(h.pageX)-o,f=p(h.pageY)-r,m=Math.abs(d<<2),g=Math.abs(f<<2),v=Math.sqrt(m+g),y=Math.sqrt(g);if(!(180*(s=Math.asin(y/v))/Math.PI<l))return!1;i.stopPropagation(),e.Move.make(d*parseFloat(c)),e.Html.root.classList.add(u.dragging),n.emit("swipe.move")}},end:function(i){if(!t.disabled){var r=t.settings,a=r.perSwipe,l=r.touchAngle,c=r.classes,u=this.touches(i),h=this.threshold(i),d=u.pageX-o,f=180*s/Math.PI;this.enable(),d>h&&f<l?e.Run.make(e.Direction.resolve("".concat(a,"<"))):d<-h&&f<l?e.Run.make(e.Direction.resolve("".concat(a,">"))):e.Move.make(),e.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,s=t.settings,o=s.swipeThreshold,r=s.dragThreshold;o&&i.on(j[0],e.Html.wrapper,(function(t){n.start(t)}),l),r&&i.on(j[1],e.Html.wrapper,(function(t){n.start(t)}),l)},unbindSwipeStart:function(){i.off(j[0],e.Html.wrapper,l),i.off(j[1],e.Html.wrapper,l)},bindSwipeMove:function(){var n=this;i.on(q,e.Html.wrapper,C((function(t){n.move(t)}),t.settings.throttle),l)},unbindSwipeMove:function(){i.off(q,e.Html.wrapper,l)},bindSwipeEnd:function(){var t=this;i.on(W,e.Html.wrapper,(function(e){t.end(e)}))},unbindSwipeEnd:function(){i.off(W,e.Html.wrapper)},touches:function(t){return U.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var n=t.settings;return U.indexOf(e.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return n.on("build.after",(function(){e.Html.root.classList.add(t.settings.classes.swipeable)})),n.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),i.destroy()})),c},Images:function(t,e,n){var i=new k,s={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",(function(){s.unbind(),i.destroy()})),s},Anchors:function(t,e,n){var i=new k,s=!1,o=!1,r={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){o&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(o=!0,!s){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1;s=!0}return this},attach:function(){if(o=!1,s){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0;s=!1}return this}};return w(r,"items",{get:function(){return r._a}}),n.on("swipe.move",(function(){r.detach()})),n.on("swipe.end",(function(){e.Transition.after((function(){r.attach()}))})),n.on("destroy",(function(){r.attach(),r.unbind(),i.destroy()})),r},Controls:function(t,e,n){var i=new k,s=!!B&&{passive:!0},o={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="
2controls[nav]"]'),this._c=e.Html.root.querySelectorAll(Y),this._arrowControls={previous:e.Html.root.querySelectorAll(X),next:e.Html.root.querySelectorAll(G)},this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(e){var n=t.settings,i=e[t.index];i&&i&&(i.classList.add(n.classes.nav.active),L(i).forEach((function(t){t.classList.remove(n.classes.nav.active)})))},removeClass:function(e){var n=e[t.index];n&&n.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var n=o._arrowControls.next,i=o._arrowControls.previous;this.resetArrowState(n,i),0===t.index&&this.disableArrow(i),t.index===e.Run.length&&this.disableArrow(n)}},resetArrowState:function(){for(var e=t.settings,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];i.forEach((function(t){t.forEach((function(t){t.classList.remove(e.classes.arrow.disabled)}))}))},disableArrow:function(){for(var e=t.settings,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];i.forEach((function(t){t.forEach((function(t){t.classList.add(e.classes.arrow.disabled)}))}))},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)i.on("click",t[e],this.click),i.on("touchstart",t[e],this.click,s)},unbind:function(t){for(var e=0;e<t.length;e++)i.off(["click","touchstart"],t[e])},click:function(t){B||"touchstart"!==t.type||t.preventDefault();var n=t.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(n))}};return w(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],(function(){o.setActive()})),n.on(["mount.after","run"],(function(){o.setArrowState()})),n.on("destroy",(function(){o.removeBindings(),o.removeActive(),i.destroy()})),o},Keyboard:function(t,e,n){var i=new k,s={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(n){var i=t.settings.perSwipe;39===n.keyCode&&e.Run.make(e.Direction.resolve("".concat(i,">"))),37===n.keyCode&&e.Run.make(e.Direction.resolve("".concat(i,"<")))}};return n.on(["destroy","update"],(function(){s.unbind()})),n.on("update",(function(){s.mount()})),n.on("destroy",(function(){i.destroy()})),s},Autoplay:function(t,e,n){var i=new k,s={mount:function(){this.enable(),this.start(),t.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var i=this;this._e&&(this.enable(),t.settings.autoplay&&y(this._i)&&(this._i=setInterval((function(){i.stop(),e.Run.make(">"),i.start(),n.emit("autoplay")}),this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",e.Html.root,(function(){t._e&&t.stop()})),i.on("mouseout",e.Html.root,(function(){t._e&&t.start()}))},unbind:function(){i.off(["mouseover","mouseout"],e.Html.root)}};return w(s,"time",{get:function(){return p(e.Html.slides[t.index].getAttribute("data-glide-autoplay")||t.settings.autoplay)}}),n.on(["destroy","update"],(function(){s.unbind()})),n.on(["run.before","swipe.start","update"],(function(){s.stop()})),n.on(["pause","destroy"],(function(){s.disable(),s.stop()})),n.on(["run.after","swipe.end"],(function(){s.start()})),n.on(["play"],(function(){s.enable(),s.start()})),n.on("update",(function(){s.mount()})),n.on("destroy",(function(){i.destroy()})),s},Breakpoints:function(t,e,n){var i=new k,s=t.settings,o=V(s.breakpoints),r=Object.assign({},s),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: ".concat(e,"px)")).matches)return t[e];return r}};return Object.assign(s,a.match(o)),i.on("resize",window,C((function(){t.settings=x(s,a.match(o))}),t.settings.throttle)),n.on("update",(function(){o=V(o),r=Object.assign({},s)})),n.on("destroy",(function(){i.off("resize",window)})),a}},K=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(o,t);var e,n,i=(e=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,i=a(e);if(n){var s=a(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return c(this,t)});function o(){return s(this,o),i.apply(this,arguments)}return r(o,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(a(o.prototype),"mount",this).call(this,Object.assign({},Z,t))}}]),o}(E)},329:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=t=>{window.requestAnimationFrame((function e(){document.body?t():window.requestAnimationFrame(e)}))}},194:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.domReady=void 0;const s=i(n(329));e.domReady=s.default},595:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n.d(e,{ZP:function(){return Me}});var s="(prefers-reduced-motion: reduce)";function o(t){t.length=0}function r(t,e,n){return Array.prototype.slice.call(t,e,n)}function a(t){return t.bind.apply(t,[null].concat(r(arguments,1)))}var l=setTimeout,c=function(){};function u(t){return requestAnimationFrame(t)}function h(t,e){return typeof e===t}function d(t){return!v(t)&&h("object",t)}var f=Array.isArray,p=a(h,"function"),m=a(h,"string"),g=a(h,"undefined");function v(t){return null===t}function y(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function b(t){return f(t)?t:[t]}function _(t,e){b(t).forEach(e)}function w(t,e){return t.indexOf(e)>-1}function x(t,e){return t.push.apply(t,b(e)),t}function S(t,e,n){t&&_(e,(function(e){e&&t.classList[n?"add":"remove"](e)}))}function E(t,e){S(t,m(e)?e.split(" "):e,!0)}function $(t,e){_(e,t.appendChild.bind(t))}function C(t,e){_(t,(function(t){var n=(e||t).parentNode;n&&n.insertBefore(t,e)}))}
2function T(t,e){return y(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function L(t,e){var n=t?r(t.children):[];return e?n.filter((function(t){return T(t,e)})):n}function P(t,e){return e?L(t,e)[0]:t.firstElementChild}var A=Object.keys;function k(t,e,n){return t&&(n?A(t).reverse():A(t)).forEach((function(n){"__proto__"!==n&&e(t[n],n)})),t}function O(t){return r(arguments,1).forEach((function(e){k(e,(function(n,i){t[i]=e[i]}))})),t}function M(t){return r(arguments,1).forEach((function(e){k(e,(function(e,n){f(e)?t[n]=e.slice():d(e)?t[n]=M({},d(t[n])?t[n]:{},e):t[n]=e}))})),t}function D(t,e){_(e||A(t),(function(e){delete t[e]}))}function z(t,e){_(t,(function(t){_(e,(function(e){t&&t.removeAttribute(e)}))}))}function R(t,e,n){d(e)?k(e,(function(e,n){R(t,n,e)})):_(t,(function(t){v(n)||""===n?z(t,e):t.setAttribute(e,String(n))}))}function I(t,e,n){var i=document.createElement(t);return e&&(m(e)?E(i,e):R(i,e)),n&&$(n,i),i}function N(t,e,n){if(g(n))return getComputedStyle(t)[e];v(n)||(t.style[e]=""+n)}function F(t,e){N(t,"display",e)}function H(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function B(t,e){return t.getAttribute(e)}function j(t,e){return t&&t.classList.contains(e)}function q(t){return t.getBoundingClientRect()}function W(t){_(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function U(t){return P((new DOMParser).parseFromString(t,"text/html").body)}function Y(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function X(t,e){return t&&t.querySelector(e)}function G(t,e){return e?r(t.querySelectorAll(e)):[]}function V(t,e){S(t,e,!1)}function Z(t){return t.timeStamp}function K(t){return m(t)?t:t?t+"px":""}var J="splide";function Q(t,e){if(!t)throw new Error("[splide] "+(e||""))}var tt=Math.min,et=Math.max,nt=Math.floor,it=Math.ceil,st=Math.abs;function ot(t,e,n){return st(t-e)<n}function rt(t,e,n,i){var s=tt(e,n),o=et(e,n);return i?s<t&&t<o:s<=t&&t<=o}function at(t,e,n){var i=tt(e,n),s=et(e,n);return tt(et(i,t),s)}function lt(t){return+(t>0)-+(t<0)}function ct(t,e){return _(e,(function(e){t=t.replace("%s",""+e)})),t}function ut(t){return t<10?"0"+t:""+t}var ht={};function dt(){var t=[];function e(t,e,n){_(t,(function(t){t&&_(e,(function(e){e.split(" ").forEach((function(e){var i=e.split(".");n(t,i[0],i[1])}))}))}))}return{bind:function(n,i,s,o){e(n,i,(function(e,n,i){var r="addEventListener"in e,a=r?e.removeEventListener.bind(e,n,s,o):e.removeListener.bind(e,s);r?e.addEventListener(n,s,o):e.addListener(s),t.push([e,n,i,s,a])}))},unbind:function(n,i,s){e(n,i,(function(e,n,i){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==n||t[2]!==i||s&&t[3]!==s)||(t[4](),!1)}))}))},dispatch:function(t,e,n){var i;return"function"==typeof CustomEvent?i=new CustomEvent(e,{bubbles:!0,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!1,n),t.dispatchEvent(i),i},destroy:function(){t.forEach((function(t){t[4]()})),o(t)}}}var ft="mounted",pt="ready",mt="move",gt="moved",vt="click",yt="refresh",bt="updated",_t="resize",wt="resized",xt="scroll",St="scrolled",Et="destroy",$t="navigation:mounted",Ct="autoplay:play",Tt="autoplay:pause",Lt="lazyload:loaded",Pt="ei";function At(t){var e=t?t.event.bus:document.createDocumentFragment(),n=dt();return t&&t.event.on(Et,n.destroy),O(n,{bus:e,on:function(t,i){n.bind(e,b(t).join(" "),(function(t){i.apply(i,f(t.detail)?t.detail:[])}))},off:a(n.unbind,e),emit:function(t){n.dispatch(e,t,r(arguments,1))}})}function kt(t,e,n,i){var s,o,r=Date.now,a=0,l=!0,c=0;function h(){if(!l){if(a=t?tt((r()-s)/t,1):1,n&&n(a),a>=1&&(e(),s=r(),i&&++c>=i))return d();o=u(h)}}function d(){l=!0}function f(){o&&cancelAnimationFrame(o),a=0,o=0,l=!0}return{start:function(e){e||f(),s=r()-(e?a*t:0),l=!1,o=u(h)},rewind:function(){s=r(),a=0,n&&n(a)},pause:d,cancel:f,set:function(e){t=e},isPaused:function(){return l}}}var Ot="ArrowLeft",Mt="ArrowRight",Dt="ArrowUp",zt="ArrowDown",Rt="ttb",It={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Dt,Mt],ArrowRight:[zt,Ot]};var Nt="role",Ft="tabindex",Ht="aria-controls",Bt="aria-current",jt="aria-selected",qt="aria-label",Wt="aria-labelledby",Ut="aria-hidden",Yt="aria-orientation",Xt="aria-roledescription",Gt="aria-live",Vt="aria-busy",Zt="aria-atomic",Kt=[Nt,Ft,"disabled",Ht,Bt,qt,Wt,Ut,Yt,Xt],Jt=J,Qt="splide__track",te="splide__slide",ee=te+"--clone",ne="splide__arrows",ie="splide__arrow",se=ie+"--prev",oe=ie+"--next",re="splide__pagination",ae="is-active",le="is-prev",ce="is-next",ue="is-visible",he="is-loading",de="is-focus-in",fe="is-overflow",pe=[ae,ue,le,ce,he,de,fe],me={slide:te,clone:ee,arrows:ne,arrow:ie,prev:se,next:oe,pagination:re,page:"splide__pagination__page",spinner:"splide__spinner"},ge="touchmove mousemove",ve="touchend touchcancel mouseup click",ye="slide",be="loop",_e="fade";var we={passive:!1,capture:!0},xe={Spacebar:" ",Right:Mt,Left:Ot,Up:Dt,Down:zt};function Se(t){return t=m(t)?t:t.key,xe[t]||t}var Ee="keydown",$e="data-splide-lazy",Ce="data-splide-lazy-srcset",Te=[" ","Enter"],Le=Object.freeze({__proto__:null,Media:function(t,e,n){var i=t.state,o=n.breakpoints||{},r=n.reducedMotion||{},a=dt(),l=[];function c(t){t&&a.destroy()}function u(t,e){var n=matchMedia(e);a.bind(n,"change",h),l.push([t,n])}function h(){var e=i.is(7),s=n.direction,o=l.reduce((function(t,e){return M(t,e[1].matches?e[0]:{})}),{});D(n),d(o),n.destroy?t.destroy("completely"===n.destroy):e?(c(!0),t.mount()):s!==n.direction&&t.refresh()}function d(e,s,o){M(n,e),s&&M(Object.getPrototypeOf(n),e),!o&&i.is(1)||t.emit(bt,n)}return{setup:function(){var t="min"===n.mediaQuery;
2A(o).sort((function(e,n){return t?+e-+n:+n-+e})).forEach((function(e){u(o[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),u(r,s),h()},destroy:c,reduce:function(t){matchMedia(s).matches&&(t?M(n,r):D(n,A(r)))},set:d}},Direction:function(t,e,n){return{resolve:function(t,e,i){var s="rtl"!==(i=i||n.direction)||e?i===Rt?0:-1:1;return It[t]&&It[t][s]||t.replace(/width|left|right/i,(function(t,e){var n=It[t.toLowerCase()][s]||t;return e>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(t){return t*("rtl"===n.direction?1:-1)}}},Elements:function(t,e,n){var i,s,r,a=At(t),l=a.on,c=a.bind,u=t.root,h=n.i18n,d={},f=[],m=[],g=[];function v(){var t,e,o;i=_("."+Qt),s=P(i,".splide__list"),Q(i&&s,"A track/list element is missing."),x(f,L(s,".splide__slide:not(."+ee+")")),k({arrows:ne,pagination:re,prev:se,next:oe,bar:"splide__progress__bar",toggle:"splide__toggle"},(function(t,e){d[e]=_("."+t)})),O(d,{root:u,track:i,list:s,slides:f}),e=u.id||""+(t=J)+ut(ht[t]=(ht[t]||0)+1),o=n.role,u.id=e,i.id=i.id||e+"-track",s.id=s.id||e+"-list",!B(u,Nt)&&"SECTION"!==u.tagName&&o&&R(u,Nt,o),R(u,Xt,h.carousel),R(s,Nt,"presentation"),b()}function y(t){var e=Kt.concat("style");o(f),V(u,m),V(i,g),z([i,s],e),z(u,t?e:["style",Xt])}function b(){V(u,m),V(i,g),m=w(Jt),g=w(Qt),E(u,m),E(i,g),R(u,qt,n.label),R(u,Wt,n.labelledby)}function _(t){var e=X(u,t);return e&&function(t,e){if(p(t.closest))return t.closest(e);for(var n=t;n&&1===n.nodeType&&!T(n,e);)n=n.parentElement;return n}(e,".splide")===u?e:void 0}function w(t){return[t+"--"+n.type,t+"--"+n.direction,n.drag&&t+"--draggable",n.isNavigation&&t+"--nav",t===Jt&&ae]}return O(d,{setup:v,mount:function(){l(yt,y),l(yt,v),l(bt,b),c(document,"touchstart mousedown keydown",(function(t){r="keydown"===t.type}),{capture:!0}),c(u,"focusin",(function(){S(u,de,!!r)}))},destroy:y})},Slides:function(t,e,n){var i=At(t),s=i.on,r=i.emit,l=i.bind,c=e.Elements,u=c.slides,h=c.list,d=[];function f(){u.forEach((function(t,e){v(t,e,-1)}))}function g(){L((function(t){t.destroy()})),o(d)}function v(e,n,i){var s=function(t,e,n,i){var s,o=At(t),r=o.on,l=o.emit,c=o.bind,u=t.Components,h=t.root,d=t.options,f=d.isNavigation,p=d.updateOnMove,m=d.i18n,g=d.pagination,v=d.slideFocus,y=u.Direction.resolve,b=B(i,"style"),_=B(i,qt),w=n>-1,x=P(i,".splide__slide__container");function E(){var s=t.splides.map((function(t){var n=t.splide.Components.Slides.getAt(e);return n?n.slide.id:""})).join(" ");R(i,qt,ct(m.slideX,(w?n:e)+1)),R(i,Ht,s),R(i,Nt,v?"button":""),v&&z(i,Xt)}function $(){s||C()}function C(){if(!s){var n=t.index;(o=T())!==j(i,ae)&&(S(i,ae,o),R(i,Bt,f&&o||""),l(o?"active":"inactive",L)),function(){var e=function(){if(t.is(_e))return T();var e=q(u.Elements.track),n=q(i),s=y("left",!0),o=y("right",!0);return nt(e[s])<=it(n[s])&&nt(n[o])<=it(e[o])}(),n=!e&&(!T()||w);if(t.state.is([4,5])||R(i,Ut,n||""),R(G(i,d.focusableNodes||""),Ft,n?-1:""),v&&R(i,Ft,n?-1:0),e!==j(i,ue)&&(S(i,ue,e),l(e?"visible":"hidden",L)),!e&&document.activeElement===i){var s=u.Slides.getAt(t.index);s&&H(s.slide)}}(),S(i,le,e===n-1),S(i,ce,e===n+1)}var o}function T(){var i=t.index;return i===e||d.cloneStatus&&i===n}var L={index:e,slideIndex:n,slide:i,container:x,isClone:w,mount:function(){w||(i.id=h.id+"-slide"+ut(e+1),R(i,Nt,g?"tabpanel":"group"),R(i,Xt,m.slide),R(i,qt,_||ct(m.slideLabel,[e+1,t.length]))),c(i,"click",a(l,vt,L)),c(i,"keydown",a(l,"sk",L)),r([gt,"sh",St],C),r($t,E),p&&r(mt,$)},destroy:function(){s=!0,o.destroy(),V(i,pe),z(i,Kt),R(i,"style",b),R(i,qt,_||"")},update:C,style:function(t,e,n){N(n&&x||i,t,e)},isWithin:function(n,i){var s=st(n-e);return w||!d.rewind&&!t.is(be)||(s=tt(s,t.length-s)),s<=i}};return L}(t,n,i,e);s.mount(),d.push(s),d.sort((function(t,e){return t.index-e.index}))}function x(t){return t?A((function(t){return!t.isClone})):d}function L(t,e){x(e).forEach(t)}function A(t){return d.filter(p(t)?t:function(e){return m(t)?T(e.slide,t):w(b(t),e.index)})}return{mount:function(){f(),s(yt,g),s(yt,f)},destroy:g,update:function(){L((function(t){t.update()}))},register:v,get:x,getIn:function(t){var i=e.Controller,s=i.toIndex(t),o=i.hasFocus()?1:n.perPage;return A((function(t){return rt(t.index,s,s+o-1)}))},getAt:function(t){return A(t)[0]},add:function(t,e){_(t,(function(t){if(m(t)&&(t=U(t)),y(t)){var i=u[e];i?C(t,i):$(h,t),E(t,n.classes.slide),s=t,o=a(r,_t),c=G(s,"img"),(d=c.length)?c.forEac
vendor: 18,203 bytes, line 2
2h((function(t){l(t,"load error",(function(){--d||o()}))})):o()}var s,o,c,d})),r(yt)},remove:function(t){W(A(t).map((function(t){return t.slide}))),r(yt)},forEach:L,filter:A,style:function(t,e,n){L((function(i){i.style(t,e,n)}))},getLength:function(t){return t?u.length:d.length},isEnough:function(){return d.length>n.perPage}}},Layout:function(t,e,n){var i,s,o,r=At(t),l=r.on,c=r.bind,u=r.emit,h=e.Slides,f=e.Direction.resolve,p=e.Elements,m=p.root,g=p.track,v=p.list,y=h.getAt,b=h.style;function _(){i=n.direction===Rt,N(m,"maxWidth",K(n.width)),N(g,f("paddingLeft"),x(!1)),N(g,f("paddingRight"),x(!0)),w(!0)}function w(t){var e,r=q(m);(t||s.width!==r.width||s.height!==r.height)&&(N(g,"height",(e="",i&&(Q(e=E(),"height or heightRatio is missing."),e="calc("+e+" - "+x(!1)+" - "+x(!0)+")"),e)),b(f("marginRight"),K(n.gap)),b("width",n.autoWidth?null:K(n.fixedWidth)||(i?"":$())),b("height",K(n.fixedHeight)||(i?n.autoHeight?null:$():E()),!0),s=r,u(wt),o!==(o=k())&&(S(m,fe,o),u("overflow",o)))}function x(t){var e=n.padding,i=f(t?"right":"left");return e&&K(e[i]||(d(e)?0:e))||"0px"}function E(){return K(n.height||q(v).width*n.heightRatio)}function $(){var t=K(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function C(){return q(v)[f("width")]}function T(t,e){var n=y(t||0);return n?q(n.slide)[f("width")]+(e?0:A()):0}function L(t,e){var n=y(t);if(n){var i=q(n.slide)[f("right")],s=q(v)[f("left")];return st(i-s)+(e?0:A())}return 0}function P(e){return L(t.length-1)-L(0)+T(0,e)}function A(){var t=y(0);return t&&parseFloat(N(t.slide,f("marginRight")))||0}function k(){return t.is(_e)||P(!0)>C()}return{mount:function(){var t,e;_(),c(window,"resize load",(t=a(u,_t),e=kt(0,t,null,1),function(){e.isPaused()&&e.start()})),l([bt,yt],_),l(_t,w)},resize:w,listSize:C,slideSize:T,sliderSize:P,totalSize:L,getPadding:function(t){return parseFloat(N(g,f("padding"+(t?"Right":"Left"))))||0},isOverflow:k}},Clones:function(t,e,n){var i,s=At(t),r=s.on,a=e.Elements,l=e.Slides,c=e.Direction.resolve,u=[];function h(){r(yt,d),r([bt,_t],p),(i=m())&&(function(e){var i=l.get().slice(),s=i.length;if(s){for(;i.length<e;)x(i,i);x(i.slice(-e),i.slice(0,e)).forEach((function(o,r){var c=r<e,h=function(e,i){var s=e.cloneNode(!0);return E(s,n.classes.clone),s.id=t.root.id+"-clone"+ut(i+1),s}(o.slide,r);c?C(h,i[0].slide):$(a.list,h),x(u,h),l.register(h,r-e+(c?0:s),o.index)}))}}(i),e.Layout.resize(!0))}function d(){f(),h()}function f(){W(u),o(u),s.destroy()}function p(){var t=m();i!==t&&(i<t||!t)&&s.emit(yt)}function m(){var i=n.clones;if(t.is(be)){if(g(i)){var s=n[c("fixedWidth")]&&e.Layout.slideSize(0);i=s&&it(q(a.track)[c("width")]/s)||n[c("autoWidth")]&&t.length||2*n.perPage}}else i=0;return i}return{mount:h,destroy:f}},Move:function(t,e,n){var i,s=At(t),o=s.on,r=s.emit,a=t.state.set,l=e.Layout,c=l.slideSize,u=l.getPadding,h=l.totalSize,d=l.listSize,f=l.sliderSize,p=e.Direction,m=p.resolve,v=p.orient,y=e.Elements,b=y.list,_=y.track;function w(){e.Controller.isBusy()||(e.Scroll.cancel(),x(t.index),e.Slides.update())}function x(t){S(T(t,!0))}function S(n,i){if(!t.is(_e)){var s=i?n:function(n){if(t.is(be)){var i=C(n),s=i>e.Controller.getEnd();(i<0||s)&&(n=E(n,s))}return n}(n);N(b,"transform","translate"+m("X")+"("+s+"px)"),n!==s&&r("sh")}}function E(t,e){var n=t-P(e),i=f();return t-v(i*(it(st(n)/i)||1))*(e?1:-1)}function $(){S(L(),!0),i.cancel()}function C(t){for(var n=e.Slides.get(),i=0,s=1/0,o=0;o<n.length;o++){var r=n[o].index,a=st(T(r,!0)-t);if(!(a<=s))break;s=a,i=r}return i}function T(e,i){var s=v(h(e-1)-function(t){var e=n.focus;return"center"===e?(d()-c(t,!0))/2:+e*c(t)||0}(e));return i?function(e){return n.trimSpace&&t.is(ye)&&(e=at(e,0,v(f(!0)-d()))),e}(s):s}function L(){var t=m("left");return q(b)[t]-q(_)[t]+v(u(!1))}function P(t){return T(t?e.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=e.Transition,o([ft,wt,bt,yt],w)},move:function(t,e,n,s){var o,l;t!==e&&(o=t>n,l=v(E(L(),o)),o?l>=0:l<=b[m("scrollWidth")]-q(_)[m("width")])&&($(),S(E(L(),t>n),!0)),a(4),r(mt,e,n,t),i.start(e,(function(){a(3),r(gt,e,n,t),s&&s()}))},jump:x,translate:S,shift:E,cancel:$,toIndex:C,toPosition:T,getPosition:L,getLimit:P,exceededLimit:function(t,e){e=g(e)?L():e;var n=!0!==t&&v(e)<v(P(!1)),i=!1!==t&&v(e)>v(P(!0));return n||i},reposition:w}},Controller:function(t,e,n){var i,s,o,r,l=At(t),c=l.on,u=l.emit,h=e.Move,d=h.getPosition,f=h.getLimit,p=h.toPosition,v=e.Slides,y=v.isEnough,b=v.getLength,_=n.omitEnd,w=t.is(be),x=t.is(ye),S=a(P,!1),E=a(P,!0),$=n.start||0,C=$;function T(){s=b(!0),o=n.perMove,r=n.perPage,i=O();var t=at($,0,_?i:s-1);t!==$&&($=t,h.reposition())}function L(){i!==O()&&u(Pt)}function P(t,e){var n=o||(R()?1:r),s=A($+n*(t?-1:1),$,!(o||R()));return-1===s&&x&&!ot(d(),f(!t),1)?t?0:i:e?s:k(s)}function A(e,a,l){if(y()||R()){var c=function(e){if(x&&"move"===n.trimSpace&&e!==$)for(var i=d();i===p(e,!0)&&rt(e,0,t.length-1,!n.rewind);)e<$?--e:++e;return e}(e);c!==e&&(a=e,e=c,l=!1),e<0||e>i?e=o||!rt(0,e,a,!0)&&!rt(i,a,e,!0)?w?l?e<0?-(s%r||r):s:e:n.rewind?e<0?i:0:-1:M(D(e)):l&&e!==a&&(e=M(D(a)+(e<a?-1:1)))}else e=-1;return e}function k(t){return w?(t+s)%s||0:t}function O(){for(var t=s-(R()||w&&o?1:r);_&&t-- >0;)if(p(s-1,!0)!==p(t,!0)){t++;break}return at(t,0,s-1)}function M(t){return at(R()?t:r*t,0,i)}function D(t){return R()?tt(t,i):nt((t>=i?s-1:t)/r)}function z(t){t!==$&&(C=$,$=t)}function R(){return!g(n.focus)||n.isNavigation}function I(){return t.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){T(),c([bt,yt,Pt],T),c(wt,L)},go:function(t,e,n){if(!I()){var s=function(t){var e=$;if(m(t)){var n=t.match(/([+\-<>])(\d+)?/)||[],s=n[1],o=n[2];"+"===s||"-"===s?e=A($+ +(""+s+(+o||1)),$):">"===s?e=o?M(+o):S(!0):"<"===s&&(e=E(!0))}else e=w?t:at(t,0,i);return e}(t),o=k(s);o>-1&&(e||o!==$)&&(z(o),h.move(s,o,C,n))}},scroll:function(t,n,s,o){e.Scroll.scroll(t,n,s,(function(){var t=k(h.toIndex(d()));z(_?tt(t,i):t),o&&o()}))},getNext:S,getPrev:E,getAdjacent:P,getEnd:O,setIndex:z,getIndex:function(t){return t?C:$},toIndex:M,toPage:D,toDest:function(t){var e=h.toIndex(t);return x?at(e,0,i):e},hasFocus:R,isBusy:I}},Arrows:function(t,e,n){var i,s,o=At(t),r=o.on,l=o.bind,c=o.emit,u=n.classes,h=n.i18n,d=e.Elements,f=e.Controller,p=d.arrows,m=d.track,g=p,v=d.prev,y=d.next,b={};function _(){var t;!(t=n.arrows)||v&&y||(g=p||I("div",u.arrows),v=T(!0),y=T(!1),i=!0,$(g,[v,y]),!p&&C(g,m)),v&&y&&(O(b,{prev:v,next:y}),F(g,t?"":"none"),E(g,s=ne+"--"+n.direction),t&&(r([ft,gt,yt,St,Pt],L),l(y,"click",a(S,">")),l(v,"click",a(S,"<")),L(),R([v,y],Ht,m.id),c("arrows:mounted",v,y))),r(bt,w)}function w(){x(),_()}function x(){o.destroy(),V(g,s),i?(W(p?[v,y]:g),v=y=null):z([v,y],Kt)}function S(t){f.go(t,!0)}function T(t){return U('<button class="'+u.arrow+" "+(t?u.prev:u.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||"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")+'" />')}function L(){if(v&&y){var e=t.index,n=f.getPrev(),i=f.getNext(),s=n>-1&&e<n?h.last:h.prev,o=i>-1&&e>i?h.first:h.next;v.disabled=n<0,y.disabled=i<0,R(v,qt,s),R(y,qt,o),c("arrows:updated",v,y,n,i)}}return{arrows:b,mount:_,destroy:x,update:L}},Autoplay:function(t,e,n){var i,s,o=At(t),r=o.on,a=o.bind,l=o.emit,c=kt(n.interval,t.go.bind(t,">"),(function(t){var e=h.bar;e&&N(e,"width",100*t+"%"),l("autoplay:playing",t)})),u=c.isPaused,h=e.Elements,d=e.Elements,f=d.root,p=d.toggle,m=n.autoplay,g="pause"===m;function v(){u()&&e.Slides.isEnough()&&(c.start(!n.resetProgress),s=i=g=!1,_(),l(Ct))}function y(t){void 0===t&&(t=!0),g=!!t,_(),u()||(c.pause(),l(Tt))}function b(){g||(i||s?y(!1):v())}function _(){p&&(S(p,ae,!g),R(p,qt,n.i18n[g?"play":"pause"]))}function w(t){var i=e.Slides.getAt(t);c.set(i&&+B(i.slide,"data-splide-interval")||n.interval)}return{mount:function(){m&&(n.pauseOnHover&&a(f,"mouseenter mouseleave",(function(t){i="mouseenter"===t.type,b()})),n.pauseOnFocus&&a(f,"focusin focusout",(function(t){s="focusin"===t.type,b()})),p&&a(p,"click",(function(){g?v():y(!0)})),r([mt,xt,yt],c.rewind),r(mt,w),p&&R(p,Ht,h.track.id),g||v(),_())},destroy:c.cancel,play:v,pause:y,isPaused:u}},Cover:function(t,e,n){var i=At(t).on;function s(t){e.Slides.forEach((function(e){var n=P(e.container||e.slide,"img");n&&n.src&&o(t,n,e)}))}function o(t,e,n){n.style("background",t?'center/cover no-repeat url("'+e.src+'")':"",!0),F(e,t?"none":"")}return{mount:function(){n.cover&&(i(Lt,a(o,!0)),i([ft,bt,yt],a(s,!0)))},destroy:a(s,!1)}},Scroll:function(t,e,n){var i,s,o=At(t),r=o.on,l=o.emit,c=t.state.set,u=e.Move,h=u.getPosition,d=u.getLimit,f=u.exceededLimit,p=u.translate,m=t.is(ye),g=1;function v(t,n,o,r,d){var p=h();if(_(),o&&(!m||!f())){var v=e.Layout.sliderSize(),w=lt(t)*v*nt(st(t)/v)||0;t=u.toPosition(e.Controller.toDest(t%v))+w}var x=ot(p,t,1);g=1,n=x?0:n||et(st(t-p)/1.5,800),s=r,i=kt(n,y,a(b,p,t,d),1),c(5),l(xt),i.start()}function y(){c(3),s&&s(),l(St)}function b(t,e,i,o){var r,a,l=h(),c=(t+(e-t)*(r=o,(a=n.easingFunc)?a(r):1-Math.pow(1-r,4))-l)*g;p(l+c),m&&!i&&f()&&(g*=.6,st(c)<10&&v(d(f(!0)),600,!1,s,!0))}function _(){i&&i.cancel()}function w(){i&&!i.isPaused()&&(_(),y())}return{mount:function(){r(mt,_),r([bt,yt],w)},destroy:_,scroll:v,cancel:w}},Drag:function(t,e,n){var i,s,o,r,a,l,u,h,f=At(t),p=f.on,m=f.emit,g=f.bind,v=f.unbind,y=t.state,b=e.Move,_=e.Scroll,w=e.Controller,x=e.Elements.track,S=e.Media.reduce,E=e.Direction,$=E.resolve,C=E.orient,L=b.getPosition,P=b.exceededLimit,A=!1;function k(){var t=n.drag;j(!t),r="free"===t}function O(t){if(l=!1,!u){var e=B(t);i=t.target,s=n.noDrag,T(i,".splide__pagination__page, ."+ie)||s&&T(i,s)||!e&&t.button||(w.isBusy()?Y(t,!0):(h=e?x:window,a=y.is([4,5]),o=null,g(h,ge,M,we),g(h,ve,D,we),b.cancel(),_.cancel(),R(t)))}var i,s}function M(e){if(y.is(6)||(y.set(6),m("drag")),e.cancelable)if(a){b.translate(i+I(e)/(A&&t.is(ye)?5:1));var s=N(e)>200,o=A!==(A=P());(s||o)&&R(e),l=!0,m("dragging"),Y(e)}else(function(t){return st(I(t))>st(I(t,!0))})(e)&&(a=function(t){var e=n.dragMinThreshold,i=d(e),s=i&&e.mouse||0,o=(i?e.touch:+e)||10;return st(I(t))>(B(t)?o:s)}(e),Y(e))}function D(i){y.is(6)&&(y.set(3),m("dragged")),a&&(function(i){var s=function(e){if(t.is(be)||!A){var n=N(e);if(n&&n<200)return I(e)/n}return 0}(i),o=function(t){return L()+lt(t)*tt(st(t)*(n.flickPower||600),r?1/0:e.Layout.listSize()*(n.flickMaxPages||1))}(s),a=n.rewind&&n.rewindByDrag;S(!1),r?w.scroll(o,0,n.snap):t.is(_e)?w.go(C(lt(s))<0?a?"<":"-":a?">":"+"):t.is(ye)&&A&&a?w.go(P(!0)?">":"<"):w.go(w.toDest(o),!0),S(!0)}(i),Y(i)),v(h,ge,M),v(h,ve,D),a=!1}function z(t){!u&&l&&Y(t,!0)}function R(t){o=s,s=t,i=L()}function I(t,e){return H(t,e)-H(F(t),e)}function N(t){return Z(t)-Z(F(t))}function F(t){return s===t&&o||s}function H(t,e){return(B(t)?t.changedTouches[0]:t)["page"+$(e?"Y":"X")]}function B(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function j(t){u=t}return{mount:function(){g(x,ge,c,we),g(x,ve,c,we),g(x,"touchstart mousedown",O,we),g(x,"click",z,{capture:!0}),g(x,"dragstart",Y),p([ft,bt],k)},disable:j,isDragging:function(){return a}}},Keyboard:function(t,e,n){var i,s,o=At(t),r=o.on,a=o.bind,c=o.unbind,u=t.root,h=e.Direction.resolve;function d(){var t=n.keyboard;t&&(i="global"===t?window:u,a(i,Ee,m))}function f(){c(i,Ee)}function p(){var t=s;s=!0,l((function(){s=t}))}function m(e){if(!s){var n=Se(e);n===h(Ot)?t.go("<"):n===h(Mt)&&t.go(">")}}return{mount:function(){d(),r(bt,f),r(bt,d),r(mt,p)},destroy:f,disable:function(t){s=t}}},LazyLoad:function(t,e,n){var i=At(t),s=i.on,r=i.off,l=i.bind,c=i.emit,u="sequential"===n.lazyLoad,h=[gt,St],d=[];function f(){o(d),e.Slides.forEach((function(t){G(t.slide,"[data-splide-lazy], [data-splide-lazy-srcset]").forEach((function(e){var i=B(e,$e),s=B(e,Ce);if(i!==e.src||s!==e.srcset){var o=n.classes.spinner,r=e.parentElement,a=P(r,"."+o)||I("span",o,r);d.push([e,t,a]),e.src||F(e,"none")}}))})),u?v():(r(h),s(h,p),p())}function p(){(d=d.filter((function(e){var i=n.perPage*((n.preloadPages||1)+1)-1;return!e[1].isWithin(t.index,i)||m(e)}))).length||r(h)}function m(t){var e=t[0];E(t[1].slide,he),l(e,"load error",a(g,t)),R(e,"src",B(e,$e)),R(e,"srcset",B(e,Ce)),z(e,$e),z(e,Ce)}function g(t,e){var n=t[0],i=t[1];V(i.slide,he),"error"!==e.type&&(W(t[2]),F(n,""),c(Lt,n,i),c(_t)),u&&v()}function v(){d.length&&m(d.shift())}return{mount:function(){n.lazyLoad&&(f(),s(yt,f))},destroy:a(o,d),check:p}},Pagination:function(t,e,n){var i,s,l=At(t),c=l.on,u=l.emit,h=l.bind,d=e.Slides,f=e.Elements,p=e.Controller,m=p.hasFocus,g=p.getIndex,v=p.go,y=e.Direction.resolve,b=f.pagination,_=[];function w(){i&&(W(b?r(i.children):i),V(i,s),o(_),i=null),l.destroy()}function x(t){v(">"+t,!0)}function S(t,e){var n=_.length,i=Se(e),s=$(),o=-1;i===y(Mt,!1,s)?o=++t%n:i===y(Ot,!1,s)?o=(--t+n)%n:"Home"===i?o=0:"End"===i&&(o=n-1);var r=_[o];r&&(H(r.button),v(">"+o),Y(e,!0))}function $(){return n.paginationDirection||n.direction}function C(t){return _[p.toPage(t)]}function T(){var t=C(g(!0)),e=C(g());if(t){var n=t.button;V(n,ae),z(n,jt),R(n,Ft,-1)}if(e){var s=e.button;E(s,ae),R(s,jt,!0),R(s,Ft,"")}u("pagination:updated",{list:i,items:_},t,e)}return{items:_,mount:function e(){w(),c([bt,yt,Pt],e);var o=n.pagination;b&&F(b,o?"":"none"),o&&(c([mt,xt,St],T),function(){var e=t.length,o=n.classes,r=n.i18n,l=n.perPage,c=m()?p.getEnd()+1:it(e/l);E(i=b||I("ul",o.pagination,f.track.parentElement),s=re+"--"+$()),R(i,Nt,"tablist"),R(i,qt,r.select),R(i,Yt,$()===Rt?"vertical":"");for(var u=0;u<c;u++){var g=I("li",null,i),v=I("button",{class:o.page,type:"button"},g),y=d.getIn(u).map((function(t){return t.slide.id})),w=!m()&&l>1?r.pageX:r.slideX;h(v,"click",a(x,u)),n.paginationKeyboard&&h(v,"keydown",a(S,u)),R(g,Nt,"presentation"),R(v,Nt,"tab"),R(v,Ht,y.join(" ")),R(v,qt,ct(w,u+1)),R(v,Ft,-1),_.push({li:g,button:v,page:u})}}(),T(),u("pagination:mounted",{list:i,items:_},C(t.index)))},destroy:w,getAt:C,update:T}},Sync:function(t,e,n){var i=n.isNavigation,s=n.slideFocus,r=[];function l(){var e,n;t.splides.forEach((function(e){e.isParent||(u(t,e.splide),u(e.splide,t))})),i&&((n=(e=At(t)).on)(vt,d),n("sk",f),n([ft,bt],h),r.push(e),e.emit($t,t.splides))}function c(){r.forEach((function(t){t.destroy()})),o(r)}function u(t,e){var n=At(t);n.on(mt,(function(t,n,i){e.go(e.is(be)?i:t)})),r.push(n)}function h(){R(e.Elements.list,Yt,n.direction===Rt?"vertical":"")}function d(e){t.go(e.index)}function f(t,e){w(Te,Se(e))&&(d(t),Y(e))}return{setup:a(e.Media.set,{slideFocus:g(s)?i:s},!0),mount:l,destroy:c,remount:function(){c(),l()}}},Wheel:function(t,e,n){var i=At(t).bind,s=0;function o(i){if(i.cancelable){var o=i.deltaY,r=o<0,a=Z(i),l=n.wheelMinThreshold||0,c=n.wheelSleep||0;st(o)>l&&a-s>c&&(t.go(r?"<":">"),s=a),function(i){return!n.releaseWheel||t.state.is(4)||-1!==e.Controller.getAdjacent(i)}(r)&&Y(i)}}return{mount:function(){n.wheel&&i(e.Elements.track,"wheel",o,we)}}},Live:function(t,e,n){var i=At(t).on,s=e.Elements.track,o=n.live&&!n.isNavigation,r=I("span","splide__sr"),l=kt(90,a(c,!1));function c(t){R(s,Vt,t),t?($(s,r),l.start()):(W(r),l.cancel())}function u(t){o&&R(s,Gt,t?"off":"polite")}return{mount:function(){o&&(u(!e.Autoplay.isPaused()),R(s,Zt,!0),r.textContent="â¦",i(Ct,a(u,!0)),i(Tt,a(u,!1)),i([gt,St],a(c,!0)))},disable:u,destroy:function(){z(s,[Gt,Zt,Vt]),W(r)}}}}),Pe={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:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:me,i18n:{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"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ae(t,e,n){var i=e.Slides;function s(){i.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)")}))}return{mount:function(){At(t).on([ft,yt],s)},start:function(t,e){i.style("transition","opacity "+n.speed+"ms "+n.easing),l(e)},cancel:c}}function ke(t,e,n){var i,s=e.Move,o=e.Controller,r=e.Scroll,l=e.Elements.list,c=a(N,l,"transition");function u(){c(""),r.cancel()}return{mount:function(){At(t).bind(l,"transitionend",(function(t){t.target===l&&i&&(u(),i())}))},start:function(e,a){var l=s.toPosition(e,!0),u=s.getPosition(),h=function(e){var i=n.rewindSpeed;if(t.is(ye)&&i){var s=o.getIndex(!0),r=o.getEnd();if(0===s&&e>=r||s>=r&&0===e)return i}return n.speed}(e);st(l-u)>=1&&h>=1?n.useScroll?r.scroll(l,h,!1,a):(c("transform "+h+"ms "+n.easing),s.translate(l,!0),i=a):(s.jump(e),a())},cancel:u}}var Oe=function(){function t(e,n){var i;this.event=At(),this.Components={},this.state=(i=1,{set:function(t){i=t},is:function(t){return w(b(t),i)}}),this.splides=[],this._o={},this._E={};var s=m(e)?X(document,e):e;Q(s,s+" is invalid."),this.root=s,n=M({label:B(s,qt)||"",labelledby:B(s,Wt)||""},Pe,t.defaults,n||{});try{M(n,JSON.parse(B(s,"data-splide")))}catch(t){Q(!1,"Invalid JSON")}this._o=Object.create(M({},n))}var e,n,s=t.prototype;return s.mount=function(t,e){var n=this,i=this.state,s=this.Components;return Q(i.is([1,7]),"Already mounted!"),i.set(1),this._C=s,this._T=e||this._T||(this.is(_e)?Ae:ke),this._E=t||this._E,k(O({},Le,this._E,{Transition:this._T}),(function(t,e){var i=t(n,s,n._o);s[e]=i,i.setup&&i.setup()})),k(s,(function(t){t.mount&&t.mount()})),this.emit(ft),E(this.root,"is-initialized"),i.set(3),this.emit(pt),this},s.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this},s.go=function(t){return this._C.Controller.go(t),this},s.on=function(t,e){return this.event.on(t,e),this},s.off=function(t){return this.event.off(t),this},s.emit=function(t){var e;return(e=this.event).emit.apply(e,[t].concat(r(arguments,1))),this},s.add=function(t,e){return this._C.Slides.add(t,e),this},s.remove=function(t){return this._C.Slides.remove(t),this},s.is=function(t){return this._o.type===t}
2,s.refresh=function(){return this.emit(yt),this},s.destroy=function(t){void 0===t&&(t=!0);var e=this.event,n=this.state;return n.is(1)?At(this).on(pt,this.destroy.bind(this,t)):(k(this._C,(function(e){e.destroy&&e.destroy(t)}),!0),e.emit(Et),e.destroy(),t&&o(this.splides),n.set(7)),this},e=t,(n=[{key:"options",get:function(){return this._o},set:function(t){this._C.Media.set(t,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&i(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Me=Oe;Me.defaults={},Me.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7}},82:function(t,e,n){"use strict";n.d(e,{i:function(){return se}});var i,s,o,r,a,l,c,u,h,d,f,p,m,g,v,y,b,_,w,x,S,E,$,C,T,L,P=1,A=[],k=[],O=Date.now,M=O(),D=0,z=1,R=function(t){return t},I=function(t){return h(t)[0]||(X(t)&&!1!==i.config().nullTargetWarn?console.warn("Element not found:",t):null)},N=function(t){return Math.round(1e5*t)/1e5||0},F=function(){return"undefined"!=typeof window},H=function(){return i||F()&&(i=window.gsap)&&i.registerPlugin&&i},B=function(t){return!!~c.indexOf(t)},j=function(t,e){return~A.indexOf(t)&&A[A.indexOf(t)+1][e]},q=function(t,e){var n=e.s,i=e.sc,s=k.indexOf(t),o=i===dt.sc?1:2;return!~s&&(s=k.push(t)-1),k[s+o]||(k[s+o]=j(t,n)||(B(t)?i:function(e){return arguments.length?t[n]=e:t[n]}))},W=function(t){return j(t,"getBoundingClientRect")||(B(t)?function(){return Qt.width=o.innerWidth,Qt.height=o.innerHeight,Qt}:function(){return mt(t)})},U=function(t,e){var n=e.s,i=e.d2,s=e.d,r=e.a;return(n="scroll"+i)&&(r=j(t,n))?r()-W(t)()[s]:B(t)?(l[n]||a[n])-(o["inner"+i]||a["client"+i]||l["client"+i]):t[n]-t["offset"+i]},Y=function(t,e){for(var n=0;n<w.length;n+=3)(!e||~e.indexOf(w[n+1]))&&t(w[n],w[n+1],w[n+2])},X=function(t){return"string"==typeof t},G=function(t){return"function"==typeof t},V=function(t){return"number"==typeof t},Z=function(t){return"object"==typeof t},K=function(t){return G(t)&&t()},J=function(t,e){return function(){var n=K(t),i=K(e);return function(){K(n),K(i)}}},Q=function(t,e,n){return t&&t.progress(e?0:1)&&n&&t.pause()},tt=function(t,e){if(t.enabled){var n=e(t);n&&n.totalTime&&(t.callbackAnimation=n)}},et=Math.abs,nt="left",it="right",st="bottom",ot="width",rt="height",at="padding",lt="margin",ct="Width",ut="px",ht={s:"scrollLeft",p:nt,p2:"Left",os:it,os2:"Right",d:ot,d2:ct,a:"x",sc:function(t){return arguments.length?o.scrollTo(t,dt.sc()):o.pageXOffset||r.scrollLeft||a.scrollLeft||l.scrollLeft||0}},dt={s:"scrollTop",p:"top",p2:"Top",os:st,os2:"Bottom",d:rt,d2:"Height",a:"y",op:ht,sc:function(t){return arguments.length?o.scrollTo(ht.sc(),t):o.pageYOffset||r.scrollTop||a.scrollTop||l.scrollTop||0}},ft=function(t){return o.getComputedStyle(t)},pt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},mt=function(t,e){var n=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ft(t)[v]&&i.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),s=t.getBoundingClientRect();return n&&n.progress(0).kill(),s},gt=function(t,e){var n=e.d2;return t["offset"+n]||t["client"+n]||0},vt=function(t){var e,n=[],i=t.labels,s=t.duration();for(e in i)n.push(i[e]/s);return n},yt=function(t){var e=i.utils.snap(t),n=Array.isArray(t)&&t.slice(0).sort((function(t,e){return t-e}));return n?function(t,i,s){var o;if(void 0===s&&(s=.001),!i)return e(t);if(i>0){for(t-=s,o=0;o<n.length;o++)if(n[o]>=t)return n[o];return n[o-1]}for(o=n.length,t+=s;o--;)if(n[o]<=t)return n[o];return n[0]}:function(n,i,s){void 0===s&&(s=.001);var o=e(n);return!i||Math.abs(o-n)<s||o-n<0==i<0?o:e(i<0?n-t:n+t)}},bt=function(t,e,n,i){return n.split(",").forEach((function(n){return t(e,n,i)}))},_t=function(t,e,n){return t.addEventListener(e,n,{passive:!0})},wt=function(t,e,n){return t.removeEventListener(e,n)},xt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},St={toggleActions:"play",anticipatePin:0},Et={top:0,left:0,center:.5,bottom:1,right:1},$t=function(t,e){if(X(t)){var n=t.indexOf("="),i=~n?+(t.charAt(n-1)+1)*parseFloat(t.substr(n+1)):0;~n&&(t.indexOf("%")>n&&(i*=e/100),t=t.substr(0,n-1)),t=i+(t in Et?Et[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Ct=function(t,e,n,i,s,o,a,c){var u=s.startColor,h=s.endColor,d=s.fontSize,f=s.indent,p=s.fontWeight,m=r.createElement("div"),g=B(n)||"fixed"===j(n,"pinType"),v=-1!==t.indexOf("scroller"),y=g?l:n,b=-1!==t.indexOf("start"),_=b?u:h,w="border-color:"+_+";font-size:"+d+";color:"+_+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((v||c)&&g?"fixed;":"absolute;"),(v||c||!g)&&(w+=(i===dt?it:st)+":"+(o+parseFloat(f))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=b,m.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),m.style.cssText=w,m.innerText=e||0===e?t+"-"+e:t,y.children[0]?y.insertBefore(m,y.children[0]):y.appendChild(m),m._offset=m["offset"+i.op.d2],Tt(m,0,i,b),m},Tt=function(t,e,n,s){var o={display:"block"},r=n[s?"os2":"p2"],a=n[s?"p2":"os2"];t._isFlipped=s,o[n.a+"Percent"]=s?-100:0,o[n.a]=s?"1px":0,o["border"+r+ct]=1,o["border"+a+ct]=0,o[n.p]=e+"px",i.set(t,o)},Lt=[],Pt={},At=function(){return O()-D>34&&Yt()},kt=function(){Yt(),D||Nt("scrollStart"),D=O()},Ot=function(){return!m&&!E&&!r.fullscreenElement&&u.restart(!0)},Mt={},Dt=[],zt=[],Rt=function(t){var e,n=i.ticker.frame,r=[],a=0;if(T!==n||P){for(Bt();a<zt.length;a+=4)(e=o.matchMedia(zt[a]).matches)!==zt[a+3]&&(zt[a+3]=e,e?r.push(a):Bt(1,zt[a])||G(zt[a+2])&&zt[a+2]());for(Ht(),a=0;a<r.length;a++)e=r[a],C=zt[e],zt[e+2]=zt[e+1](t);C=0,s&&qt(0,1),T=n,Nt("matchMedia")}},It=function t(){return wt(se,"scrollEnd",t)||qt(!0)},Nt=function(t){return Mt[t]&&Mt[t].map((function(t){return t()}))||Dt},Ft=[],Ht=function(t){for(var e=0;e<Ft.length;e+=5)t&&Ft[e+4]!==t||(Ft[e].style.cssText=Ft[e+1],Ft[e].getBBox&&Ft[e].setAttribute("transform",Ft[e+2]||""),Ft[e+3].uncache=1)},Bt=function(t,e){var n;for(y=0;y<Lt.length;y++)n=Lt[y],e&&n.media!==e||(t?n.kill(1):n.revert());e&&Ht(e),e||Nt("revert")}
2,jt=function(){return k.forEach((function(t){return"function"==typeof t&&(t.rec=0)}))},qt=function(t,e){if(!D||t){L=!0;var n=Nt("refreshInit");x&&se.sort(),e||Bt(),Lt.forEach((function(t){return t.refresh()})),Lt.forEach((function(t){return"max"===t.vars.end&&t.setPositions(t.start,U(t.scroller,t._dir))})),n.forEach((function(t){return t&&t.render&&t.render(-1)})),jt(),u.pause(),L=!1,Nt("refresh")}else _t(se,"scrollEnd",It)},Wt=0,Ut=1,Yt=function(){if(!L){var t=Lt.length,e=O(),n=e-M>=50,i=t&&Lt[0].scroll();if(Ut=Wt>i?-1:1,Wt=i,n&&(D&&!g&&e-D>200&&(D=0,Nt("scrollEnd")),f=M,M=e),Ut<0){for(y=t;y-- >0;)Lt[y]&&Lt[y].update(0,n);Ut=1}else for(y=0;y<t;y++)Lt[y]&&Lt[y].update(0,n)}},Xt=[nt,"top",st,it,"marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Gt=Xt.concat([ot,rt,"boxSizing","maxWidth","maxHeight","position",lt,at,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),Vt=function(t,e,n,i){if(t.parentNode!==e){for(var s,o=Xt.length,r=e.style,a=t.style;o--;)r[s=Xt[o]]=n[s];r.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(r.display="inline-block"),a.bottom=a.right=r.flexBasis="auto",r.overflow="visible",r.boxSizing="border-box",r.width=gt(t,ht)+ut,r.height=gt(t,dt)+ut,r.padding=a.margin=a.top=a.left="0",Kt(i),a.width=a.maxWidth=n.width,a.height=a.maxHeight=n.height,a.padding=n.padding,t.parentNode.insertBefore(e,t),e.appendChild(t)}},Zt=/([A-Z])/g,Kt=function(t){if(t){var e,n,s=t.t.style,o=t.length,r=0;for((t.t._gsap||i.core.getCache(t.t)).uncache=1;r<o;r+=2)n=t[r+1],e=t[r],n?s[e]=n:s[e]&&s.removeProperty(e.replace(Zt,"-$1").toLowerCase())}},Jt=function(t){for(var e=Gt.length,n=t.style,i=[],s=0;s<e;s++)i.push(Gt[s],n[Gt[s]]);return i.t=t,i},Qt={left:0,top:0},te=function(t,e,n,i,s,o,r,c,u,h,d,f,p){G(t)&&(t=t(c)),X(t)&&"max"===t.substr(0,3)&&(t=f+("="===t.charAt(4)?$t("0"+t.substr(3),n):0));var m,g,v,y=p?p.time():0;if(p&&p.seek(0),V(t))r&&Tt(r,n,i,!0);else{G(e)&&(e=e(c));var b,_,w,x,S=t.split(" ");v=I(e)||l,(b=mt(v)||{})&&(b.left||b.top)||"none"!==ft(v).display||(x=v.style.display,v.style.display="block",b=mt(v),x?v.style.display=x:v.style.removeProperty("display")),_=$t(S[0],b[i.d]),w=$t(S[1]||"0",n),t=b[i.p]-u[i.p]-h+_+s-w,r&&Tt(r,w,i,n-w<20||r._isStart&&w>20),n-=n-w}if(o){var E=t+n,$=o._isStart;m="scroll"+i.d2,Tt(o,E,i,$&&E>20||!$&&(d?Math.max(l[m],a[m]):o.parentNode[m])<=E+1),d&&(u=mt(r),d&&(o.style[i.op.p]=u[i.op.p]-i.op.m-o._offset+ut))}return p&&v&&(m=mt(v),p.seek(f),g=mt(v),p._caScrollDist=m[i.p]-g[i.p],t=t/p._caScrollDist*f),p&&p.seek(y),p?t:Math.round(t)},ee=/(?:webkit|moz|length|cssText|inset)/i,ne=function(t,e,n,s){if(t.parentNode!==e){var o,r,a=t.style;if(e===l){for(o in t._stOrig=a.cssText,r=ft(t))+o||ee.test(o)||!r[o]||"string"!=typeof a[o]||"0"===o||(a[o]=r[o]);a.top=n,a.left=s}else a.cssText=t._stOrig;i.core.getCache(t).uncache=1,e.appendChild(t)}},ie=function(t,e){var n,s,o=q(t,e),r="_scroll"+e.p2,a=function e(a,l,c,u,h){var d=e.tween,f=l.onComplete,p={};return d&&d.kill(),n=Math.round(c),l[r]=a,l.modifiers=p,p[r]=function(t){return(t=N(o()))!==n&&t!==s&&Math.abs(t-n)>2&&Math.abs(t-s)>2?(d.kill(),e.tween=0):t=c+u*d.ratio+h*d.ratio*d.ratio,s=n,n=N(t)},l.onComplete=function(){e.tween=0,f&&f.call(d)},d=e.tween=i.to(t,l)};return t[r]=o,_t(t,"wheel",(function(){return a.tween&&a.tween.kill()&&(a.tween=0)})),a};ht.op=dt;var se=function(){function t(e,n){s||t.register(i)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,n)}return t.prototype.init=function(e,n){if(this.progress=this.start=0,this.vars&&this.kill(1),z){var s,c,u,p,v,b,_,w,E,T,L,k,M,N,F,H,Y,K,J,nt,it,st,ot,rt,bt,Et,Tt,At,Mt,Dt,zt,Rt,Nt,Ft,Ht,Bt,jt,qt,Wt,Yt,Xt=e=pt(X(e)||V(e)||e.nodeType?{trigger:e}:e,St),Gt=Xt.onUpdate,Zt=Xt.toggleClass,ee=Xt.id,se=Xt.onToggle,oe=Xt.onRefresh,re=Xt.scrub,ae=Xt.trigger,le=Xt.pin,ce=Xt.pinSpacing,ue=Xt.invali
2dateOnRefresh,he=Xt.anticipatePin,de=Xt.onScrubComplete,fe=Xt.onSnapComplete,pe=Xt.once,me=Xt.snap,ge=Xt.pinReparent,ve=Xt.pinSpacer,ye=Xt.containerAnimation,be=Xt.fastScrollEnd,_e=Xt.preventOverlaps,we=e.horizontal||e.containerAnimation&&!1!==e.horizontal?ht:dt,xe=!re&&0!==re,Se=I(e.scroller||o),Ee=i.core.getCache(Se),$e=B(Se),Ce="fixed"===("pinType"in e?e.pinType:j(Se,"pinType")||$e&&"fixed"),Te=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],Le=xe&&e.toggleActions.split(" "),Pe="markers"in e?e.markers:St.markers,Ae=$e?0:parseFloat(ft(Se)["border"+we.p2+ct])||0,ke=this,Oe=e.onRefreshInit&&function(){return e.onRefreshInit(ke)},Me=function(t,e,n){var i=n.d,s=n.d2,r=n.a;return(r=j(t,"getBoundingClientRect"))?function(){return r()[i]}:function(){return(e?o["inner"+s]:t["client"+s])||0}}(Se,$e,we),De=function(t,e){return!e||~A.indexOf(t)?W(t):function(){return Qt}}(Se,$e),ze=0,Re=q(Se,we);if(ke.media=C,ke._dir=we,he*=45,ke.scroller=Se,ke.scroll=ye?ye.time.bind(ye):Re,p=Re(),ke.vars=e,n=n||e.animation,"refreshPriority"in e&&(x=1),Ee.tweenScroll=Ee.tweenScroll||{top:ie(Se,dt),left:ie(Se,ht)},ke.tweenTo=s=Ee.tweenScroll[we.p],n&&(n.vars.lazy=!1,n._initted||!1!==n.vars.immediateRender&&!1!==e.immediateRender&&n.render(0,!0,!0),ke.animation=n.pause(),n.scrollTrigger=ke,(zt=V(re)&&re)&&(Dt=i.to(n,{ease:"power3",duration:zt,onComplete:function(){return de&&de(ke)}})),At=0,ee||(ee=n.vars.id)),Lt.push(ke),me&&(Z(me)&&!me.push||(me={snapTo:me}),"scrollBehavior"in l.style&&i.set($e?[l,a]:Se,{scrollBehavior:"auto"}),u=G(me.snapTo)?me.snapTo:"labels"===me.snapTo?function(t){return function(e){return i.utils.snap(vt(t),e)}}(n):"labelsDirectional"===me.snapTo?(qt=n,function(t,e){return yt(vt(qt))(t,e.direction)}):!1!==me.directional?function(t,e){return yt(me.snapTo)(t,e.direction)}:i.utils.snap(me.snapTo),Rt=me.duration||{min:.1,max:2},Rt=Z(Rt)?d(Rt.min,Rt.max):d(Rt,Rt),Nt=i.delayedCall(me.delay||zt/2||.1,(function(){if(Math.abs(ke.getVelocity())<10&&!g&&ze!==Re()){var t=n&&!xe?n.totalProgress():ke.progress,e=(t-Mt)/(O()-f)*1e3||0,o=i.utils.clamp(-ke.progress,1-ke.progress,et(e/2)*e/.185),r=ke.progress+(!1===me.inertia?0:o),a=d(0,1,u(r,ke)),l=Re(),c=Math.round(b+a*M),h=me,p=h.onStart,m=h.onInterrupt,v=h.onComplete,y=s.tween;if(l<=_&&l>=b&&c!==l){if(y&&!y._initted&&y.data<=et(c-l))return;!1===me.inertia&&(o=a-ke.progress),s(c,{duration:Rt(et(.185*Math.max(et(r-t),et(a-t))/e/.05||0)),ease:me.ease||"power3",data:et(c-l),onInterrupt:function(){return Nt.restart(!0)&&m&&m(ke)},onComplete:function(){ke.update(),ze=Re(),At=Mt=n&&!xe?n.totalProgress():ke.progress,fe&&fe(ke),v&&v(ke)}},l,o*M,c-l-o*M),p&&p(ke,s.tween)}}else ke.isActive&&Nt.restart(!0)})).pause()),ee&&(Pt[ee]=ke),ae=ke.trigger=I(ae||le),le=!0===le?ae:I(le),X(Zt)&&(Zt={targets:ae,className:Zt}),le&&(!1===ce||ce===lt||(ce=!(!ce&&"flex"===ft(le.parentNode).display)&&at),ke.pin=le,!1!==e.force3D&&i.set(le,{force3D:!0}),(c=i.core.getCache(le)).spacer?N=c.pinState:(ve&&((ve=I(ve))&&!ve.nodeType&&(ve=ve.current||ve.nativeElement),c.spacerIsNative=!!ve,ve&&(c.spacerState=Jt(ve))),c.spacer=Y=ve||r.createElement("div"),Y.classList.add("pin-spacer"),ee&&Y.classList.add("pin-spacer-"+ee),c.pinState=N=Jt(le)),ke.spacer=Y=c.spacer,Tt=ft(le),ot=Tt[ce+we.os2],J=i.getProperty(le),nt=i.quickSetter(le,we.a,ut),Vt(le,Y,Tt),H=Jt(le)),Pe&&(k=Z(Pe)?pt(Pe,xt):xt,T=Ct("scroller-start",ee,Se,we,k,0),L=Ct("scroller-end",ee,Se,we,k,0,T),K=T["offset"+we.op.d2],w=Ct("start",ee,Se,we,k,K,0,ye),E=Ct("end",ee,Se,we,k,K,0,ye),ye&&(jt=i.quickSetter([w,E],we.a,ut)),Ce||A.length&&!0===j(Se,"fixedMarkers")||(Yt=ft(Wt=$e?l:Se).position,Wt.style.position="absolute"===Yt||"fixed"===Yt?Yt:"relative",i.set([T,L],{force3D:!0}),bt=i.quickSetter(T,we.a,ut),Et=i.quickSetter(L,we.a,ut))),ye){var Ie=ye.vars.onUpdate,Ne=ye.vars.onUpdateParams;ye.eventCallback("onUpdate",(function(){ke.update(0,0,1),Ie&&Ie.apply(Ne||[])}))}ke.previous=function(){return Lt[Lt.indexOf(ke)-1]},ke.next=function(){return Lt[Lt.indexOf(ke)+1]},ke.revert=function(t){var e=!1!==t||!ke.enabled,i=m;e!==ke.isReverted&&(e&&(ke.scroll.rec||(ke.scroll.rec=Re()),Ht=Math.max(Re(),ke.scroll.rec||0),Ft=ke.progress,Bt=n&&n.progress()),w&&[w,E,T,
2L].forEach((function(t){return t.style.display=e?"none":"block"})),e&&(m=1),ke.update(e),m=i,le&&(e?function(t,e,n){Kt(n);var i=t._gsap;if(i.spacerIsNative)Kt(i.spacerState);else if(t.parentNode===e){var s=e.parentNode;s&&(s.insertBefore(t,e),s.removeChild(e))}}(le,Y,N):(!ge||!ke.isActive)&&Vt(le,Y,ft(le),rt)),ke.isReverted=e)},ke.refresh=function(s,o){if(!m&&ke.enabled||o)if(le&&s&&D)_t(t,"scrollEnd",It);else{m=1,Dt&&Dt.pause(),ue&&n&&n.time(-.01,!0).invalidate(),ke.isReverted||ke.revert();for(var r,a,c,u,h,d,f,g,y,x,$=Me(),C=De(),P=ye?ye.duration():U(Se,we),A=0,k=0,O=e.end,z=e.endTrigger||ae,R=e.start||(0!==e.start&&ae?le?"0 0":"0 100%":0),B=e.pinnedContainer&&I(e.pinnedContainer),j=ae&&Math.max(0,Lt.indexOf(ke))||0,W=j;W--;)(d=Lt[W]).end||d.refresh(0,1)||(m=1),!(f=d.pin)||f!==ae&&f!==le||d.isReverted||(x||(x=[]),x.unshift(d),d.revert());for(G(R)&&(R=R(ke)),b=te(R,ae,$,we,Re(),w,T,ke,C,Ae,Ce,P,ye)||(le?-.001:0),G(O)&&(O=O(ke)),X(O)&&!O.indexOf("+=")&&(~O.indexOf(" ")?O=(X(R)?R.split(" ")[0]:"")+O:(A=$t(O.substr(2),$),O=X(R)?R:b+A,z=ae)),_=Math.max(b,te(O||(z?"100% 0":P),z,$,we,Re()+A,E,L,ke,C,Ae,Ce,P,ye))||-.001,M=_-b||(b-=.01)&&.001,A=0,W=j;W--;)(f=(d=Lt[W]).pin)&&d.start-d._pinPush<b&&!ye&&(r=d.end-d.start,f!==ae&&f!==B||V(R)||(A+=r*(1-d.progress)),f===le&&(k+=r));if(b+=A,_+=A,ke._pinPush=k,w&&A&&((r={})[we.a]="+="+A,B&&(r[we.p]="-="+Re()),i.set([w,E],r)),le)r=ft(le),u=we===dt,c=Re(),it=parseFloat(J(we.a))+k,!P&&_>1&&(($e?l:Se).style["overflow-"+we.a]="scroll"),Vt(le,Y,r),H=Jt(le),a=mt(le,!0),g=Ce&&q(Se,u?ht:dt)(),ce&&((rt=[ce+we.os2,M+k+ut]).t=Y,(W=ce===at?gt(le,we)+M+k:0)&&rt.push(we.d,W+ut),Kt(rt),Ce&&Re(Ht)),Ce&&((h={top:a.top+(u?c-b:g)+ut,left:a.left+(u?g:c-b)+ut,boxSizing:"border-box",position:"fixed"}).width=h.maxWidth=Math.ceil(a.width)+ut,h.height=h.maxHeight=Math.ceil(a.height)+ut,h.margin=h.marginTop=h.marginRight=h.marginBottom=h.marginLeft="0",h.padding=r.padding,h.paddingTop=r.paddingTop,h.paddingRight=r.paddingRight,h.paddingBottom=r.paddingBottom,h.paddingLeft=r.paddingLeft,F=function(t,e,n){for(var i,s=[],o=t.length,r=n?8:0;r<o;r+=2)i=t[r],s.push(i,i in e?e[i]:t[r+1]);return s.t=t.t,s}(N,h,ge)),n?(y=n._initted,S(1),n.render(n.duration(),!0,!0),st=J(we.a)-it+M+k,M!==st&&F.splice(F.length-2,2),n.render(0,!0,!0),y||n.invalidate(),S(0)):st=M;else if(ae&&Re()&&!ye)for(a=ae.parentNode;a&&a!==l;)a._pinOffset&&(b-=a._pinOffset,_-=a._pinOffset),a=a.parentNode;x&&x.forEach((function(t){return t.revert(!1)})),ke.start=b,ke.end=_,p=v=Re(),ye||(p<Ht&&Re(Ht),ke.scroll.rec=0),ke.revert(!1),m=0,n&&xe&&n._initted&&n.progress()!==Bt&&n.progress(Bt,!0).render(n.time(),!0,!0),(Ft!==ke.progress||ye)&&(n&&!xe&&n.totalProgress(Ft,!0),ke.progress=Ft,ke.update(0,0,1)),le&&ce&&(Y._pinOffset=Math.round(ke.progress*st)),oe&&oe(ke)}},ke.getVelocity=function(){return(Re()-v)/(O()-f)*1e3||0},ke.endAnimation=function(){Q(ke.callbackAnimation),n&&(Dt?Dt.progress(1):n.paused()?xe||Q(n,ke.direction<0,1):Q(n,n.reversed()))},ke.labelToScroll=function(t){return n&&n.labels&&(b||ke.refresh()||b)+n.labels[t]/n.duration()*M||0},ke.getTrailing=function(t){var e=Lt.indexOf(ke),n=ke.direction>0?Lt.slice(0,e).reverse():Lt.slice(e+1);return X(t)?n.filter((function(e){return e.vars.preventOverlaps===t})):n},ke.update=function(t,e,i){if(!ye||i||t){var o,r,a,c,u,d,g,y=ke.scroll(),w=t?0:(y-b)/M,x=w<0?0:w>1?1:w||0,S=ke.progress;if(e&&(v=p,p=ye?Re():y,me&&(Mt=At,At=n&&!xe?n.totalProgress():x)),he&&!x&&le&&!m&&!P&&D&&b<y+(y-v)/(O()-f)*he&&(x=1e-4),x!==S&&ke.enabled){if(c=(u=(o=ke.isActive=!!x&&x<1)!=(!!S&&S<1))||!!x!=!!S,ke.direction=x>S?1:-1,ke.progress=x,c&&!m&&(r=x&&!S?0:1===x?1:1===S?2:3,xe&&(a=!u&&"none"!==Le[r+1]&&Le[r+1]||Le[r],g=n&&("complete"===a||"reset"===a||a in n))),_e&&u&&(g||re||!n)&&(G(_e)?_e(ke):ke.getTrailing(_e).forEach((function(t){return t.endAnimation()}))),xe||(!Dt||m||P?n&&n.totalProgress(x,!!m):(Dt.vars.totalProgress=x,Dt.invalidate().restart())),le)if(t&&ce&&(Y.style[ce+we.os2]=ot),Ce){if(c){if(d=!t&&x>S&&_+1>y&&y+1>=U(Se,we),ge)if(t||!o&&!d)ne(le,Y);else{var E=mt(le,!0),C=y-b;ne(le,l,E.top+(we===dt?C:0)+ut,E.left+(we===dt?0:C)+ut)}Kt(o||d?F:H),st!==M&&x<1&&o||nt(it+(1!==x||d?0:st))}}else nt(it+st*x);me&&!s.tween&&!m&&!P&&Nt.restart(!0),Zt&&(u||pe&&x&&(x<1||!$))&&h(Zt.targets).forEac
2h((function(t){return t.classList[o||pe?"add":"remove"](Zt.className)})),Gt&&!xe&&!t&&Gt(ke),c&&!m?(xe&&(g&&("complete"===a?n.pause().totalProgress(1):"reset"===a?n.restart(!0).pause():"restart"===a?n.restart(!0):n[a]()),Gt&&Gt(ke)),!u&&$||(se&&u&&tt(ke,se),Te[r]&&tt(ke,Te[r]),pe&&(1===x?ke.kill(!1,1):Te[r]=0),u||Te[r=1===x?1:3]&&tt(ke,Te[r])),be&&!o&&Math.abs(ke.getVelocity())>(V(be)?be:2500)&&(Q(ke.callbackAnimation),Dt?Dt.progress(1):Q(n,!x,1))):xe&&Gt&&!m&&Gt(ke)}if(Et){var L=ye?y/ye.duration()*(ye._caScrollDist||0):y;bt(L+(T._isFlipped?1:0)),Et(L)}jt&&jt(-y/ye.duration()*(ye._caScrollDist||0))}},ke.enable=function(e,n){ke.enabled||(ke.enabled=!0,_t(Se,"resize",Ot),_t(Se,"scroll",kt),Oe&&_t(t,"refreshInit",Oe),!1!==e&&(ke.progress=Ft=0,p=v=ze=Re()),!1!==n&&ke.refresh())},ke.getTween=function(t){return t&&s?s.tween:Dt},ke.setPositions=function(t,e){le&&(it+=t-b,st+=e-t-M),ke.start=b=t,ke.end=_=e,M=e-t,ke.update()},ke.disable=function(e,n){if(ke.enabled&&(!1!==e&&ke.revert(),ke.enabled=ke.isActive=!1,n||Dt&&Dt.pause(),Ht=0,c&&(c.uncache=1),Oe&&wt(t,"refreshInit",Oe),Nt&&(Nt.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!$e)){for(var i=Lt.length;i--;)if(Lt[i].scroller===Se&&Lt[i]!==ke)return;wt(Se,"resize",Ot),wt(Se,"scroll",kt)}},ke.kill=function(t,e){ke.disable(t,e),Dt&&Dt.kill(),ee&&delete Pt[ee];var i=Lt.indexOf(ke);i>=0&&Lt.splice(i,1),i===y&&Ut>0&&y--,i=0,Lt.forEach((function(t){return t.scroller===ke.scroller&&(i=1)})),i||(ke.scroll.rec=0),n&&(n.scrollTrigger=null,t&&n.render(-1),e||n.kill()),w&&[w,E,T,L].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),le&&(c&&(c.uncache=1),i=0,Lt.forEach((function(t){return t.pin===le&&i++})),i||(c.spacer=0))},ke.enable(!1,!1),n&&n.add&&!M?i.delayedCall(.01,(function(){return b||_||ke.refresh()}))&&(M=.01)&&(b=_=0):ke.refresh()}else this.update=this.refresh=this.kill=R},t.register=function(e){if(!s&&(i=e||H(),F()&&window.document&&(o=window,r=document,a=r.documentElement,l=r.body),i&&(h=i.utils.toArray,d=i.utils.clamp,S=i.core.suppressOverwrites||R,i.core.globals("ScrollTrigger",t),l))){_t(o,"wheel",kt),c=[o,r,a,l],_t(r,"scroll",kt);var n,f=l.style,m=f.borderTopStyle;f.borderTopStyle="solid",n=mt(l),dt.m=Math.round(n.top+dt.sc())||0,ht.m=Math.round(n.left+ht.sc())||0,m?f.borderTopStyle=m:f.removeProperty("border-top-style"),p=setInterval(At,200),i.delayedCall(.5,(function(){return P=0})),_t(r,"touchcancel",R),_t(l,"touchstart",R),bt(_t,r,"pointerdown,touchstart,mousedown",(function(){return g=1})),bt(_t,r,"pointerup,touchend,mouseup",(function(){return g=0})),v=i.utils.checkPrefix("transform"),Gt.push(v),s=O(),u=i.delayedCall(.2,qt).pause(),w=[r,"visibilitychange",function(){var t=o.innerWidth,e=o.innerHeight;r.hidden?(b=t,_=e):b===t&&_===e||Ot()},r,"DOMContentLoaded",qt,o,"load",function(){return D||qt()},o,"resize",Ot],Y(_t)}return s},t.defaults=function(t){if(t)for(var e in t)St[e]=t[e];return St},t.kill=function(){z=0,Lt.slice(0).forEach((function(t){return t.kill(1)}))},t.config=function(t){"limitCallbacks"in t&&($=!!t.limitCallbacks);var e=t.syncInterval;e&&clearInterval(p)||(p=e)&&setInterval(At,e),"autoRefreshEvents"in t&&(Y(wt)||Y(_t,t.autoRefreshEvents||"none"),E=-1===(t.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var n=I(t),i=k.indexOf(n),s=B(n);~i&&k.splice(i,s?6:2),e&&(s?A.unshift(o,e,l,e,a,e):A.unshift(n,e))},t.matchMedia=function(t){var e,n,i,s,r;for(n in t)i=zt.indexOf(n),s=t[n],C=n,"all"===n?s():(e=o.matchMedia(n))&&(e.matches&&(r=s()),~i?(zt[i+1]=J(zt[i+1],s),zt[i+2]=J(zt[i+2],r)):(i=zt.length,zt.push(n,s,r),e.addListener?e.addListener(Rt):e.addEventListener("change",Rt)),zt[i+3]=e.matches),C=0;return zt},t.clearMatchMedia=function(t){t||(zt.length=0),(t=zt.indexOf(t))>=0&&zt.splice(t,4)},t.isInViewport=function(t,e,n){var i=(X(t)?I(t):t).getBoundingClientRect(),s=i[n?ot:rt]*e||0;return n?i.right-s>0&&i.left+s<o.innerWidth:i.bottom-s>0&&i.top+s<o.innerHeight},t.positionInViewport=function(t,e,n){X(t)&&(t=I(t));var i=t.getBoundingClientRect(),s=i[n?ot:rt],r=null==e?s/2:e in Et?Et[e]*s:~e.indexOf("%")?parseFloat(e)*s/100:parseFloat(e)||0;return n?(i.left+r)/o.innerWidth:(i.top+r)/o.innerHeight},t}();se.version="3.9.1",se.saveStyles=function(t){return t?h(t).forEach((function(t){if(t&&t.style){var e=Ft.indexOf(t);e>=0&&Ft.splice(e,5),Ft.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),i.core.getCache(t),C)}})):Ft},se.revert=function(t,e){return Bt(!t,e)},se.create=function(t,e){return new se(t,e)},se.refresh=function(t){return t?Ot():(s||se.register())&&qt(!0)},se.update=Yt,se.clearScrollMemory=jt,se.maxScroll=function(t,e){return U(t,e?ht:dt)},se.getScrollFunc=function(t,e){return q(I(t),e?ht:dt)},se.getById=function(t){return Pt[t]},se.getAll=function(){return Lt.slice(0)},se.isScrolling=function(){return!!D},se.snapDirectional=yt,se.addEventListener=function(t,e){var n=Mt[t]||(Mt[t]=[]);~n.indexOf(e)||n.push(e)},se.removeEventListener=function(t,e){var n=Mt[t],i=n&&n.indexOf(e);i>=0&&n.splice(i,1)},se.batch=function(t,e){var n,s=[],o={},r=e.interval||.016,a=e.batchMax||1e9,l=function(t,e){var n=[],s=[],o=i.delayedCall(r,(function(){e(n,s),n=[],s=[]})).pause();return function(t){n.length||o.restart(!0),n.push(t.trigger),s.push(t),a<=n.length&&o.progress(1)}};for(n in e)o[n]="on"===n.substr(0,2)&&G(e[n])&&"onRefreshInit"!==n?l(0,e[n]):e[n];return G(a)&&(a=a(),_t(se,"refresh",(function(){return a=e.batchMax()}))),h(t).forEach((function(t){var e={};for(n in o)e[n]=o[n];e.trigger=t,s.push(se.create(e))})),s},se.sort=function(t){return Lt.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},H()&&i.registerPlugin(se)},358:function(t,e,n){"use strict";function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}n.d(e,{p8:function(){return Ri}});var o,r,a,l,c,u,h,d,f,p,m,g,v,y,b,_,w,x,S,E,$,C,T,L,P,A,k,O,M={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},D={duration:.5,overwrite:!1,delay:0},z=1e8,R=1e-8,I=2*Math.PI,N=I/4,F=0,H=Math.sqrt,B=Math.cos,j=Math.sin,q=function(t){return"string"==typeof t},W=function(t){return"function"==typeof t},U=function(t){return"number"==typeof t},Y=function(t){return void 0===t},X=function(t){return"object"==typeof t},G=function(t){return!1!==t},V=function(){return"undefined"!=typeof window},Z=function(t){return W(t)||q(t)},K="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},J=Array.isArray,Q=/(?:-?\.?\d|\.)+/gi,tt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,et=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,nt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,it=/[+-]=-?[.\d]+/,st=/[^,'"\[\]\s]+/gi,ot=/[\d.+\-=]+(?:e[-+]\d*)*/i,rt={},at={},lt=function(t){return(at=Mt(t,rt))&&wn},ct=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ut=function(t,e){return!e&&console.warn(t)},ht=function(t,e){return t&&(rt[t]=e)&&at&&(at[t]=e)||rt},dt=function(){return 0},ft={},pt=[],mt={},gt={},vt={},yt=30,bt=[],_t="",wt=function(t){var e,n,i=t[0];if(X(i)||W(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(n=bt.length;n--&&!bt[n].targetTest(i););e=bt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new We(t[n],e)))||t.splice(n,1);return t},xt=function(t){return t._gsap||wt(ce(t))[0]._gsap},St=function(t,e,n){return(n=t[e])&&W(n)?t[e]():Y(n)&&t.getAttribute&&t.getAttribute(e)||n}
vendor: 9,133 bytes, line 2
2,Et=function(t,e){return(t=t.split(",")).forEach(e)||t},$t=function(t){return Math.round(1e5*t)/1e5||0},Ct=function(t){return Math.round(1e7*t)/1e7||0},Tt=function(t,e){for(var n=e.length,i=0;t.indexOf(e[i])<0&&++i<n;);return i<n},Lt=function(){var t,e,n=pt.length,i=pt.slice(0);for(mt={},pt.length=0,t=0;t<n;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Pt=function(t,e,n,i){pt.length&&Lt(),t.render(e,n,i),pt.length&&Lt()},At=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(st).length<2?e:q(t)?t.trim():t},kt=function(t){return t},Ot=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Mt=function(t,e){for(var n in e)t[n]=e[n];return t},Dt=function t(e,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=X(n[i])?t(e[i]||(e[i]={}),n[i]):n[i]);return e},zt=function(t,e){var n,i={};for(n in t)n in e||(i[n]=t[n]);return i},Rt=function(t){var e,n=t.parent||r,i=t.keyframes?(e=J(t.keyframes),function(t,n){for(var i in n)i in t||"duration"===i&&e||"ease"===i||(t[i]=n[i])}):Ot;if(G(t.inherit))for(;n;)i(t,n.vars.defaults),n=n.parent||n._dp;return t},It=function(t,e,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var s=e._prev,o=e._next;s?s._next=o:t[n]===e&&(t[n]=o),o?o._prev=s:t[i]===e&&(t[i]=s),e._next=e._prev=e.parent=null},Nt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Ft=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Ht=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Bt=function t(e){return!e||e._ts&&t(e.parent)},jt=function(t){return t._repeat?qt(t._tTime,t=t.duration()+t._rDelay)*t:0},qt=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Wt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ut=function(t){return t._end=Ct(t._start+(t._tDur/Math.abs(t._ts||t._rts||R)||0))},Yt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Ct(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ut(t),n._dirty||Ft(n,t)),t},Xt=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=Wt(t.rawTime(),e),(!e._dur||oe(0,e.totalDuration(),n)-e._tTime>R)&&e.render(n,!0)),Ft(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},Gt=function(t,e,n,i){return e.parent&&Nt(e),e._start=Ct((U(n)?n:n||t!==r?ne(t,n,e):t._time)+e._delay),e._end=Ct(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,i,s){void 0===n&&(n="_first"),void 0===i&&(i="_last");var o,r=t[i];if(s)for(o=e[s];r&&r[s]>o;)r=r._prev;r?(e._next=r._next,r._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[i]=e,e._prev=r,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),Jt(e)||(t._recent=e),i||Xt(t,e),t},Vt=function(t,e){return(rt.ScrollTrigger||ct("scrollTrigger",e))&&rt.ScrollTrigger.create(e,t)},Zt=function(t,e,n,i){return Ke(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&h!==ke.frame?(pt.push(t),t._lazy=[e,i],1):void 0:1},Kt=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Jt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Qt=function(t,e,n,i){var s=t._repeat,o=Ct(e)||0,r=t._tTime/t._tDur;return r&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:Ct(o*(s+1)+t._rDelay*s):o,r>0&&!i?Yt(t,t._tTime=t._tDur*r):t.parent&&Ut(t),n||Ft(t.parent,t),t},te=function(t){return t instanceof Ye?Ft(t):Qt(t,t._dur)},ee={_start:0,endTime:dt,totalDuration:dt},ne=function t(e,n,i){var s,o,r,a=e.labels,l=e._recent||ee,c=e.duration()>=z?l.endTime(!1):e._dur;return q(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),r="%"===n.substr(-1),s=n.indexOf("="),"<"===o||">"===o?(s>=0&&(n=n.replace(/=/,"")),("<"===o?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(r?(s<0?l:i).totalDuration()/100:1)):s<0?(n in a||(a[n]=c),a[n]):(o=parseFloat(n.charAt(s-1)+n.substr(s+1)),r&&i&&(o=o/100*(J(i)?i[0]:i).totalDuration()),s>1?t(e,n.substr(0,s-1),i)+o:c+o)):null==n?c:+n},ie=function(t,e,n){var i,s,o=U(e[1]),r=(o?2:1)+(t<2?0:1),a=e[r];if(o&&(a.duration=e[1]),a.parent=n,t){for(i=a,s=n;s&&!("immediateRender"in i);)i=s.vars.defaults||{},s=G(s.vars.inherit)&&s.parent;a.immediateRender=G(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[r-1]}return new nn(e[0],a,e[r+1])},se=function(t,e){return t||0===t?e(t):e},oe=function(t,e,n){return n<t?t:n>e?e:n},re=function(t,e){return q(t)&&(e=ot.exec(t))?t.substr(e.index+e[0].length):""},ae=[].slice,le=function(t,e){return t&&X(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&X(t[0]))&&!t.nodeType&&t!==a},ce=function(t,e,n){return!q(t)||n||!l&&Oe()?J(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var i;return q(t)&&!e||le(t,1)?(i=n).push.apply(i,ce(t)):n.push(t)}))||n}(t,n):le(t)?ae.call(t,0):t?[t]:[]:ae.call((e||c).querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},he=function(t){if(W(t))return t;var e=X(t)?t:{each:t},n=Fe(e.ease),i=e.from||0,s=parseFloat(e.base)||0,o={},r=i>0&&i<1,a=isNaN(i)||r,l=e.axis,c=i,u=i;return q(i)?c=u={center:.5,edges:.5,end:1}[i]||0:!r&&a&&(c=i[0],u=i[1]),function(t,r,h){var d,f,p,m,g,v,y,b,_,w=(h||e).length,x=o[w];if(!x){if(!(_="auto"===e.grid?0:(e.grid||[1,z])[1])){for(y=-z;y<(y=h[_++].getBoundingClientRect().left)&&_<w;);_--}for(x=o[w]=[],d=a?Math.min(_,w)*c-.5:i%_,f=_===z?0:a?w*u/_-.5:i/_|0,y=0,b=z,v=0;v<w;v++)p=v%_-d,m=f-(v/_|0),x[v]=g=l?Math.abs("y"===l?m:p):H(p*p+m*m),g>y&&(y=g),g<b&&(b=g);"random"===i&&ue(x),x.max=y-b,x.min=b,x.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(_>w?w-1:l?"y"===l?w/_:_:Math.max(_,w/_))||0)*("edges"===i?-1:1),x.b=w<0?s-w:s,x.u=re(e.amount||e.each)||0,n=n&&w<0?Ie(n):n}return w=(x[t]-x.min)/x.max||0,Ct(x.b+(n?n(w):w)*x.v)+x.u}},de=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var i=Math.round(parseFloat(n)/t)*t*e;return(i-i%1)/e+(U(n)?0:re(n))}},fe=function(t,e){var n,i,s=J(t);return!s&&X(t)&&(n=s=t.radius||z,t.values?(t=ce(t.values),(i=!U(t[0]))&&(n*=n)):t=de(t.increment)),se(e,s?W(t)?function(e){return i=t(e),Math.abs(i-e)<=n?i:e}:function(e){for(var s,o,r=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=z,c=0,u=t.length;u--;)(s=i?(s=t[u].x-r)*s+(o=t[u].y-a)*o:Math.abs(t[u]-r))<l&&(l=s,c=u);return c=!n||l<=n?t[c]:e,i||c===e||U(e)?c:c+re(e)}:de(t))},pe=function(t,e,n,i){return se(J(t)?!e:!0===n?!!(n=0):!i,(function(){return J(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*i)/i}))},me=function(t,e,n){return se(n,(function(n){return t[~~e(n)]}))},ge=function(t){for(var e,n,i,s,o=0,r="";~(e=t.indexOf("random(",o));)i=t.indexOf(")",e),s="["===t.charAt(e+7),n=t.substr(e+7,i-e-7).match(s?st:Q),r+=t.substr(o,e-o)+pe(s?n:+n[0],s?0:+n[1],+n[2]||1e-5),o=i+1;return r+t.substr(o,t.length-o)},ve=function(t,e,n,i,s){var o=e-t,r=i-n;return se(s,(function(e){return n+((e-t)/o*r||0)}))},ye=function(t,e,n){var i,s,o,r=t.labels,a=z;for(i in r)(s=r[i]-e)<0==!!n&&s&&a>(s=Math.abs(s))&&(o=i,a=s);return o},be=function(t,e,n){var i,s,o=t.vars,r=o[e];if(r)return i=o[e+"Params"],s=o.callbackScope||t,n&&pt.length&&Lt(),i?r.apply(s,i):r.call(s)},_e=function(t){return Nt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&be(t,"onInterrupt"),t},we=function(t){var e=(t=!t.name&&t.default||t).name,n=W(t),i=e&&!n&&t.init?function(){this._props=[]}:t,s={init:dt,render:dn,add:Ve,kill:pn,modifier:fn,rawVars:0},o={targetTest:0,get:0,getSetter:ln,aliases:{},register:0};if(Oe(),t!==i){if(gt[e])return;Ot(i,Ot(zt(t,s),o)),Mt(i.prototype,Mt(s,zt(t,o))),gt[i.prop=e]=i,t.targetTest&&(bt.push(i),ft[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ht(e,i),t.register&&t.register(wn,i,vn)},xe=255,Se={aqua:[0,xe,xe],lime:[0,xe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,xe],navy:[0,0,128],white:[xe,xe,xe],olive:[128,128,0],yellow:[xe,xe,0],orange:[xe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[xe,0,0],pink:[xe,192,203],cyan:[0,xe,xe],transparent:[xe,xe,xe,0]},Ee=function(t,e,n){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*xe+.5|0},$e=function(t,e,n){var i,s,o,r,a,l,c,u,h,d,f=t?U(t)?[t>>16,t>>8&xe,t&xe]:0:Se.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Se[t])f=Se[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+i+i+s+s+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&xe,f&xe,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&xe,t&xe]}else if("hsl"===t.substr(0,3))if(f=d=t.match(Q),e){if(~t.indexOf("="))return f=t.match(tt),n&&f.length<4&&(f[3]=1),f}else r=+f[0]%360/360,a=+f[1]/100,i=2*(l=+f[2]/100)-(s=l<=.5?l*(a+1):l+a-l*a),f.length>3&&(f[3]*=1),f[0]=Ee(r+1/3,i,s),f[1]=Ee(r,i,s),f[2]=Ee(r-1/3,i,s);else f=t.match(Q)||Se.transparent;f=f.map(Number)}
vendor: 4,794 bytes, line 2
2return e&&!d&&(i=f[0]/xe,s=f[1]/xe,o=f[2]/xe,l=((c=Math.max(i,s,o))+(u=Math.min(i,s,o)))/2,c===u?r=a=0:(h=c-u,a=l>.5?h/(2-c-u):h/(c+u),r=c===i?(s-o)/h+(s<o?6:0):c===s?(o-i)/h+2:(i-s)/h+4,r*=60),f[0]=~~(r+.5),f[1]=~~(100*a+.5),f[2]=~~(100*l+.5)),n&&f.length<4&&(f[3]=1),f},Ce=function(t){var e=[],n=[],i=-1;return t.split(Le).forEach((function(t){var s=t.match(et)||[];e.push.apply(e,s),n.push(i+=s.length+1)})),e.c=n,e},Te=function(t,e,n){var i,s,o,r,a="",l=(t+a).match(Le),c=e?"hsla(":"rgba(",u=0;if(!l)return t;if(l=l.map((function(t){return(t=$e(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(o=Ce(t),(i=n.c).join(a)!==o.c.join(a)))for(r=(s=t.replace(Le,"1").split(et)).length-1;u<r;u++)a+=s[u]+(~i.indexOf(u)?l.shift()||c+"0,0,0,0)":(o.length?o:l.length?l:n).shift());if(!s)for(r=(s=t.split(Le)).length-1;u<r;u++)a+=s[u]+l[u];return a+s[r]},Le=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Se)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Pe=/hsl[a]?\(/,Ae=function(t){var e,n=t.join(" ");if(Le.lastIndex=0,Le.test(n))return e=Pe.test(n),t[1]=Te(t[1],e),t[0]=Te(t[0],e,Ce(t[1])),!0},ke=(_=Date.now,w=500,x=33,S=_(),E=S,C=$=1e3/240,L=function t(e){var n,i,s,o,r=_()-E,a=!0===e;if(r>w&&(S+=r-x),((n=(s=(E+=r)-S)-C)>0||a)&&(o=++v.frame,y=s-1e3*v.time,v.time=s/=1e3,C+=n+(n>=$?4:$-n),i=1),a||(p=m(t)),i)for(b=0;b<T.length;b++)T[b](s,y,o,e)},v={time:0,frame:0,tick:function(){L(!0)},deltaRatio:function(t){return y/(1e3/(t||60))},wake:function(){u&&(!l&&V()&&(a=l=window,c=a.document||{},rt.gsap=wn,(a.gsapVersions||(a.gsapVersions=[])).push(wn.version),lt(at||a.GreenSockGlobals||!a.gsap&&a||{}),g=a.requestAnimationFrame),p&&v.sleep(),m=g||function(t){return setTimeout(t,C-1e3*v.time+1|0)},f=1,L(2))},sleep:function(){(g?a.cancelAnimationFrame:clearTimeout)(p),f=0,m=dt},lagSmoothing:function(t,e){w=t||1e8,x=Math.min(e,w,0)},fps:function(t){$=1e3/(t||240),C=1e3*v.time+$},add:function(t){T.indexOf(t)<0&&T.push(t),Oe()},remove:function(t,e){~(e=T.indexOf(t))&&T.splice(e,1)&&b>=e&&b--},_listeners:T=[]}),Oe=function(){return!f&&ke.wake()},Me={},De=/^[\d.\-M][\d.\-,\s]/,ze=/["']/g,Re=function(t){for(var e,n,i,s={},o=t.substr(1,t.length-3).split(":"),r=o[0],a=1,l=o.length;a<l;a++)n=o[a],e=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,e),s[r]=isNaN(i)?i.replace(ze,"").trim():+i,r=n.substr(e+1).trim();return s},Ie=function(t){return function(e){return 1-t(1-e)}},Ne=function t(e,n){for(var i,s=e._first;s;)s instanceof Ye?t(s,n):!s.vars.yoyoEase||s._yoyo&&s._repeat||s._yoyo===n||(s.timeline?t(s.timeline,n):(i=s._ease,s._ease=s._yEase,s._yEase=i,s._yoyo=n)),s=s._next},Fe=function(t,e){return t&&(W(t)?t:Me[t]||function(t){var e,n,i,s,o=(t+"").split("("),r=Me[o[0]];return r&&o.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[Re(o[1])]:(e=t,n=e.indexOf("(")+1,i=e.indexOf(")"),s=e.indexOf("(",n),e.substring(n,~s&&s<i?e.indexOf(")",i+1):i)).split(",").map(At)):Me._CE&&De.test(t)?Me._CE("",t):r}(t))||e},He=function(t,e,n,i){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var s,o={easeIn:e,easeOut:n,easeInOut:i};return Et(t,(function(t){for(var e in Me[t]=rt[t]=o,Me[s=t.toLowerCase()]=n,o)Me[s+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Me[t+"."+e]=o[e]})),o},Be=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},je=function t(e,n,i){var s=n>=1?n:1,o=(i||(e?.3:.45))/(n<1?n:1),r=o/I*(Math.asin(1/s)||0),a=function(t){return 1===t?1:s*Math.pow(2,-10*t)*j((t-r)*o)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Be(a);return o=I/o,l.config=function(n,i){return t(e,n,i)},l},qe=function t(e,n){void 0===n&&(n=1.70158);var i=function(t){return t?--t*t*((n+1)*t+n)+1:0},s="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Be(i);return s.config=function(n){return t(e,n)},s};Et("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;He(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Me.Linear.easeNone=Me.none=Me.Linear.easeIn,He("Elastic",je("in"),je("out"),je()),P=7.5625,k=1/(A=2.75),He("Bounce",(function(t){return 1-O(1-t)}),O=function(t){return t<k?P*t*t:t<.7272727272727273?P*Math.pow(t-1.5/A,2)+.75:t<.9090909090909092?P*(t-=2.25/A)*t+.9375:P*Math.pow(t-2.625/A,2)+.984375}),He("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),He("Circ",(function(t){return-(H(1-t*t)-1)})),He("Sine",(function(t){return 1===t?1:1-B(t*N)})),He("Back",qe("in"),qe("out"),qe()),Me.SteppedEase=Me.steps=rt.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,i=t+(e?0:1),s=e?1:0;return function(t){return((i*oe(0,.99999999,t)|0)+s)*n}
vendor: 13,480 bytes, line 2
2}},D.ease=Me["quad.out"],Et("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return _t+=t+","+t+"Params,"}));var We=function(t,e){this.id=F++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:St,this.set=e?e.getSetter:ln},Ue=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Qt(this,+t.duration,1,1),this.data=t.data,f||ke.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Qt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Oe(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Yt(this,t),!n._dp||n.parent||Xt(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Gt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===R||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Pt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+jt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+jt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?qt(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Wt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,Ht(this.totalTime(oe(-this._delay,this._tDur,e),!0)),Ut(this),this},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Oe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==R&&(this._tTime-=R)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Gt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(G(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Wt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,te(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,te(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ne(this,t),G(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,G(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-R))},e.eventCallback=function(t,e,n){var i=this.vars;return arguments.length>1?(e?(i[t]=e,n&&(i[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(n){var i=W(t)?t:kt,s=function(){var t=e.then;e.then=null,W(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),n(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s}))},e.kill=function(){_e(this)},t}();Ot(Ue.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Ye=function(t){function e(e,n){var s;return void 0===e&&(e={}),(s=t.call(this,e)||this).labels={},s.smoothChildTiming=!!e.smoothChildTiming,s.autoRemoveChildren=!!e.autoRemoveChildren,s._sort=G(e.sortChildren),r&&Gt(e.parent||r,i(s),n),e.reversed&&s.reverse(),e.paused&&s.paused(!0),e.scrollTrigger&&Vt(i(s),e.scrollTrigger),s}s(e,t);var n=e.prototype;return n.to=function(t,e,n){return ie(0,arguments,this),this},n.from=function(t,e,n){return ie(1,arguments,this),this},n.fromTo=function(t,e,n,i){return ie(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Rt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new nn(t,e,ne(this,n),1),this},n.call=function(t,e,n){return Gt(this,nn.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,i,s,o,r){return n.duration=e,n.stagger=n.stagger||i,n.onComplete=o,n.onCompleteParams=r,n.parent=this,new nn(t,n,ne(this,s)),this},n.staggerFrom=function(t,e,n,i,s,o,r){return n.runBackwards=1,Rt(n).immediateRender=G(n.immediateRender),this.staggerTo(t,e,n,i,s,o,r)},n.staggerFromTo=function(t,e,n,i,s,o,r,a){return i.startAt=n,Rt(i).immediateRender=G(i.immediateRender),this.staggerTo(t,e,i,s,o,r,a)},n.render=function(t,e,n){var i,s,o,a,l,c,u,h,d,f,p,m,g=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,b=t<=0?0:Ct(t),_=this._zTime<0!=t<0&&(this._initted||!y);if(this!==r&&b>v&&t>=0&&(b=v),b!==this._tTime||n||_){if(g!==this._time&&y&&(b+=this._time-g,t+=this._time-g),i=b,d=this._start,c=!(h=this._ts),_&&(y||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,n);if(i=Ct(b%l),b===v?(a=this._repeat,i=y):((a=~~(b/l))&&a===b/l&&(i=y,a--),i>y&&(i=y)),f=qt(this._tTime,l),!g&&this._tTime&&f!==a&&(f=a),p&&1&a&&(i=y-i,m=1),a!==f&&!this._lock){var w=p&&1&f,x=w===(p&&1&a);if(a<f&&(w=!w),g=w?0:y,this._lock=1,this.render(g||(m?0:Ct(a*l)),e,!y)._lock=0,this._tTime=b,!e&&this.parent&&be(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),g&&g!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,v=this._tDur,x&&(this._lock=2,g=w?y:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Ne(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,n){var i;if(n>e)for(i=t._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,Ct(g),Ct(i)),u&&(b-=i-(i=u._start))),this._tTime=b,this._time=i,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,g=0),!g&&i&&!e&&(be(this,"onStart"),this._tTime!==b))return this;if(i>=g&&t>=0)for(s=this._first;s;){if(o=s._next,(s._act||i>=s._start)&&s._ts&&u!==s){if(s.parent!==this)return this.render(t,e,n);if(s.render(s._ts>0?(i-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(i-s._start)*s._ts,e,n),i!==this._time||!this._ts&&!c){u=0,o&&(b+=this._zTime=-1e-8);break}}s=o}else{s=this._last;for(var S=t<0?t:i;s;){if(o=s._prev,(s._act||S<=s._end)&&s._ts&&u!==s){if(s.parent!==this)return this.render(t,e,n);if(s.render(s._ts>0?(S-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(S-s._start)*s._ts,e,n),i!==this._time||!this._ts&&!c){u=0,o&&(b+=this._zTime=S?-1e-8:R);break}}s=o}}if(u&&!e&&(this.pause(),u.render(i>=g?0:-1e-8)._zTime=i>=g?1:-1,this._ts))return this._start=d,Ut(this),this.render(t,e,n);this._onUpdate&&!e&&be(this,"onUpdate",!0),(b===v&&v>=this.totalDuration()||!b&&g)&&(d!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(b===v&&this._ts>0||!b&&this._ts<0)&&Nt(this,1),e||t<0&&!g||!b&&!g&&v||(be(this,b===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b<v&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(U(e)||(e=ne(this,e,t)),!(t instanceof Ue)){if(J(t))return t.forEach((function(t){return n.add(t,e)})),this;if(q(t))return this.addLabel(t,e);if(!W(t))return this;t=nn.delayedCall(0,t)}return this!==t?Gt(this,t,e):this},n.getChildren=function(t,e,n,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===i&&(i=-z);for(var s=[],o=this._first;o;)o._start>=i&&(o instanceof nn?e&&s.push(o):(n&&s.push(o),t&&s.push.apply(s,o.getChildren(!0,e,n)))),o=o._next;return s},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return q(t)?this.removeLabel(t):W(t)?this.killTweensOf(t):(It(this,t),t===this._recent&&(this._recent=this._last),Ft(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ct(ke.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=ne(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var i=nn.delayedCall(0,e||dt,n);return i.data="isPause",this._hasPause=1,Gt(this,i,ne(this,t))},n.removePause=function(t){var e=this._first;for(t=ne(this,t);e;)e._start===t&&"isPause"===e.data&&Nt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var i=this.getTweensOf(t,n),s=i.length;s--;)Xe!==i[s]&&i[s].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,i=[],s=ce(t),o=this._first,r=U(e);o;)o instanceof nn?Tt(o._targets,s)&&(r?(!Xe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&i.push(o):(n=o.getTweensOf(s,e)).length&&i.push.apply(i,n),o=o._next;return i},n.tweenTo=function(t,e){e=e||{};var n,i=this,s=ne(i,t),o=e,r=o.startAt,a=o.onStart,l=o.onStartParams,c=o.immediateRender,u=nn.to(i,Ot({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:e.duration||Math.abs((s-(r&&"time"in r?r.time:i._time))/i.timeScale())||R,onStart:function(){if(i.pause(),!n){var t=e.duration||Math.abs((s-(r&&"time"in r?r.time:i._time))/i.timeScale());u._dur!==t&&Qt(u,t,0,1).render(u._time,!0,!0),n=1}a&&a.apply(u,l||[])}},e));return c?u.render(0):u},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Ot({startAt:{time:ne(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),ye(this,ne(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),ye(this,ne(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+R)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var i,s=this._first,o=this.labels;s;)s._start>=n&&(s._start+=t,s._end+=t),s=s._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return Ft(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ft(this)},n.totalDuration=function(t){var e,n,i,s=0,o=this,a=o._last,l=z;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(i=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Gt(o,a,n-a._delay,1)._lock=0):l=n,n<0&&a._ts&&(s-=n,(!i&&!o._dp||i&&i.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-Infinity),l=0),a._end>s&&a._ts&&(s=a._end),a=e;Qt(o,o===r&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(r._ts&&(Pt(r,Wt(t,r)),h=ke.frame),ke.frame>=yt){yt+=M.autoSleep||120;var e=r._first;if((!e||!e._ts)&&M.autoSleep&&ke._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ke.sleep()}}},e}(Ue);Ot(Ye.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ge=function(t,e,n,i,s,o,r){var a,l,c,u,h,d,f,p,m=new vn(this._pt,t,e,0,1,hn,null,s),g=0,v=0;for(m.b=n,m.e=i,n+="",(f=~(i+="").indexOf("random("))&&(i=ge(i)),o&&(o(p=[n,i],t,e),n=p[0],i=p[1]),l=n.match(nt)||[];a=nt.exec(i);
vendor: 4,404 bytes, line 2
2)u=a[0],h=i.substring(g,a.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),u!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:h||1===v?h:",",s:d,c:"="===u.charAt(1)?parseFloat(u.substr(2))*("-"===u.charAt(0)?-1:1):parseFloat(u)-d,m:c&&c<4?Math.round:0},g=nt.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=r,(it.test(i)||f)&&(m.e=0),this._pt=m,m},Ve=function(t,e,n,i,s,o,r,a,l){W(i)&&(i=i(s||0,t,o));var c,u=t[e],h="get"!==n?n:W(u)?l?t[e.indexOf("set")||!W(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():u,d=W(u)?l?rn:on:sn;if(q(i)&&(~i.indexOf("random(")&&(i=ge(i)),"="===i.charAt(1)&&((c=parseFloat(h)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(re(h)||0))||0===c)&&(i=c)),h!==i)return isNaN(h*i)||""===i?(!u&&!(e in t)&&ct(e,i),Ge.call(this,t,e,h,i,d,a||M.stringFilter,l)):(c=new vn(this._pt,t,e,+h||0,i-(h||0),"boolean"==typeof u?un:cn,0,d),l&&(c.fp=l),r&&c.modifier(r,this,t),this._pt=c)},Ze=function(t,e,n,i,s,o){var r,a,l,c;if(gt[t]&&!1!==(r=new gt[t]).init(s,r.rawVars?e[t]:function(t,e,n,i,s){if(W(t)&&(t=Qe(t,s,e,n,i)),!X(t)||t.style&&t.nodeType||J(t)||K(t))return q(t)?Qe(t,s,e,n,i):t;var o,r={};for(o in t)r[o]=Qe(t[o],s,e,n,i);return r}(e[t],i,s,o,n),n,i,o)&&(n._pt=a=new vn(n._pt,s,t,0,1,r.render,r,0,r.priority),n!==d))for(l=n._ptLookup[n._targets.indexOf(s)],c=r._props.length;c--;)l[r._props[c]]=a;return r},Ke=function t(e,n){var i,s,a,l,c,u,h,d,f,p,m,g,v,y=e.vars,b=y.ease,_=y.startAt,w=y.immediateRender,x=y.lazy,S=y.onUpdate,E=y.onUpdateParams,$=y.callbackScope,C=y.runBackwards,T=y.yoyoEase,L=y.keyframes,P=y.autoRevert,A=e._dur,k=e._startAt,O=e._targets,M=e.parent,I=M&&"nested"===M.data?M.parent._targets:O,N="auto"===e._overwrite&&!o,F=e.timeline;if(F&&(!L||!b)&&(b="none"),e._ease=Fe(b,D.ease),e._yEase=T?Ie(Fe(!0===T?b:T,D.ease)):0,T&&e._yoyo&&!e._repeat&&(T=e._yEase,e._yEase=e._ease,e._ease=T),e._from=!F&&!!y.runBackwards,!F||L&&!y.stagger){if(g=(d=O[0]?xt(O[0]).harness:0)&&y[d.prop],i=zt(y,ft),k&&Nt(k.render(-1,!0)),_)if(Nt(e._startAt=nn.set(O,Ot({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:G(x),startAt:null,delay:0,onUpdate:S,onUpdateParams:E,callbackScope:$,stagger:0},_))),n<0&&!w&&!P&&e._startAt.render(-1,!0),w){if(n>0&&!P&&(e._startAt=0),A&&n<=0)return void(n&&(e._zTime=n))}else!1===P&&(e._startAt=0);else if(C&&A)if(k)!P&&(e._startAt=0);else if(n&&(w=!1),a=Ot({overwrite:!1,data:"isFromStart",lazy:w&&G(x),immediateRender:w,stagger:0,parent:M},i),g&&(a[d.prop]=g),Nt(e._startAt=nn.set(O,a)),n<0&&e._startAt.render(-1,!0),e._zTime=n,w){if(!n)return}else t(e._startAt,R);for(e._pt=0,x=A&&G(x)||x&&!A,s=0;s<O.length;s++){if(h=(c=O[s])._gsap||wt(O)[s]._gsap,e._ptLookup[s]=p={},mt[h.id]&&pt.length&&Lt(),m=I===O?s:I.indexOf(c),d&&!1!==(f=new d).init(c,g||i,e,m,I)&&(e._pt=l=new vn(e._pt,c,f.name,0,1,f.render,f,0,f.priority),f._props.forEach((function(t){p[t]=l})),f.priority&&(u=1)),!d||g)for(a in i)gt[a]&&(f=Ze(a,i,e,m,c,I))?f.priority&&(u=1):p[a]=l=Ve.call(e,c,a,"get",i[a],m,I,0,y.stringFilter);e._op&&e._op[s]&&e.kill(c,e._op[s]),N&&e._pt&&(Xe=e,r.killTweensOf(c,p,e.globalTime(n)),v=!e.parent,Xe=0),e._pt&&x&&(mt[h.id]=1)}u&&gn(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!v,L&&n<=0&&F.render(z,!0,!0)},Je=function(t,e,n,i){var s,o,r=e.ease||i||"power1.inOut";if(J(e))o=n[t]||(n[t]=[]),e.forEach((function(t,n){return o.push({t:n/(e.length-1)*100,v:t,e:r})}));else for(s in e)o=n[s]||(n[s]=[]),"ease"===s||o.push({t:parseFloat(t),v:e[s],e:r})},Qe=function(t,e,n,i,s){return W(t)?t.call(e,n,i,s):q(t)&&~t.indexOf("random(")?ge(t):t},tn=_t+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",en={};Et(tn+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return en[t]=1}));var nn=function(t){function e(e,n,s,a){var l;"number"==typeof n&&(s.duration=n,n=s,s=null);var c,u,h,d,f,p,m,g,v=(l=t.call(this,a?n:Rt(n))||this).vars,y=v.duration,b=v.delay,_=v.immediateRender,w=v.stagger,x=v.overwrite,S=v.keyframes,E=v.defaults,$=v.scrollTrigger,C=v.yoyoEase,T=n.parent||r,L=(J(e)||K(e)?U(e[0]):"length"in n)?[e]:ce(e);if(l._targets=L.length?wt(L):ut("GSAP target "+e+" not found. https://greensock.com",!M.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=x,S||w||Z(y)||Z(b)){if(n=l.vars,(c=l.timeline=new Ye({data:"nested",defaults:E||{}})).kill(),c.parent=c._dp=i(l),c._start=0,w||Z(y)||Z(b)){if(d=L.length,m=w&&he(w),X(w))for(f in w)~tn.indexOf(f)&&(g||(g={}),g[f]=w[f]);for(u=0;
vendor: 7,765 bytes, line 2
2u<d;u++)(h=zt(n,en)).stagger=0,C&&(h.yoyoEase=C),g&&Mt(h,g),p=L[u],h.duration=+Qe(y,i(l),u,p,L),h.delay=(+Qe(b,i(l),u,p,L)||0)-l._delay,!w&&1===d&&h.delay&&(l._delay=b=h.delay,l._start+=b,h.delay=0),c.to(p,h,m?m(u,p,L):0),c._ease=Me.none;c.duration()?y=b=0:l.timeline=0}else if(S){Rt(Ot(c.vars.defaults,{ease:"none"})),c._ease=Fe(S.ease||n.ease||"none");var P,A,k,O=0;if(J(S))S.forEach((function(t){return c.to(L,t,">")}));else{for(f in h={},S)"ease"===f||"easeEach"===f||Je(f,S[f],h,S.easeEach);for(f in h)for(P=h[f].sort((function(t,e){return t.t-e.t})),O=0,u=0;u<P.length;u++)(k={ease:(A=P[u]).e,duration:(A.t-(u?P[u-1].t:0))/100*y})[f]=A.v,c.to(L,k,O),O+=k.duration;c.duration()<y&&c.to({},{duration:y-c.duration()})}}y||l.duration(y=c.duration())}else l.timeline=0;return!0!==x||o||(Xe=i(l),r.killTweensOf(L),Xe=0),Gt(T,i(l),s),n.reversed&&l.reverse(),n.paused&&l.paused(!0),(_||!y&&!S&&l._start===Ct(T._time)&&G(_)&&Bt(i(l))&&"nested"!==T.data)&&(l._tTime=-1e-8,l.render(Math.max(0,-b))),$&&Vt(i(l),$),l}s(e,t);var n=e.prototype;return n.render=function(t,e,n){var i,s,o,r,a,l,c,u,h,d=this._time,f=this._tDur,p=this._dur,m=t>f-R&&t>=0?f:t<R?0:t;if(p){if(m!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(i=m,u=this.timeline,this._repeat){if(r=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*r+t,e,n);if(i=Ct(m%r),m===f?(o=this._repeat,i=p):((o=~~(m/r))&&o===m/r&&(i=p,o--),i>p&&(i=p)),(l=this._yoyo&&1&o)&&(h=this._yEase,i=p-i),a=qt(this._tTime,r),i===d&&!n&&this._initted)return this;o!==a&&(u&&this._yEase&&Ne(u,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=n=1,this.render(Ct(r*o),!0).invalidate()._lock=0))}if(!this._initted){if(Zt(this,t<0?t:i,n,e))return this._tTime=0,this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(i/p),this._from&&(this.ratio=c=1-c),i&&!d&&!e&&(be(this,"onStart"),this._tTime!==m))return this;for(s=this._pt;s;)s.r(c,s.d),s=s._next;u&&u.render(t<0?t:!i&&l?-1e-8:u._dur*u._ease(i/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),be(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&be(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!p)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Nt(this,1),e||t<0&&!d||!m&&!d||(be(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,i){var s,o,r,a=t.ratio,l=e<0||!e&&(!t._start&&Kt(t)&&(t._initted||!Jt(t))||(t._ts<0||t._dp._ts<0)&&!Jt(t))?0:1,c=t._rDelay,u=0;if(c&&t._repeat&&(u=oe(0,t._tDur,e),o=qt(u,c),t._yoyo&&1&o&&(l=1-l),o!==qt(t._tTime,c)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||i||t._zTime===R||!e&&t._zTime){if(!t._initted&&Zt(t,e,i,n))return;for(r=t._zTime,t._zTime=e||(n?R:0),n||(n=e&&!r),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=u,s=t._pt;s;)s.r(l,s.d),s=s._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&be(t,"onUpdate"),u&&t._repeat&&!n&&t.parent&&be(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Nt(t,1),n||(be(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?_e(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||_e(this),this.parent&&n!==this.timeline.totalDuration()&&Qt(this,this._dur*this.timeline._tDur/n,0,1),this}var i,s,o,r,a,l,c,u=this._targets,h=t?ce(t):u,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,i=n===e.length;i&&n--&&t[n]===e[n];);return n<0}(u,h))return"all"===e&&(this._pt=0),_e(this);for(i=this._op=this._op||[],"all"!==e&&(q(e)&&(a={},Et(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,i,s,o,r=t[0]?xt(t[0]).harness:0,a=r&&r.aliases;if(!a)return e;for(i in n=Mt({},e),a)if(i in n)for(s=(o=a[i].split(",")).length;s--;)n[o[s]]=n[i];return n}(u,e)),c=u.length;c--;)if(~h.indexOf(u[c]))for(a in s=d[c],"all"===e?(i[c]=e,r=s,o={}):(o=i[c]=i[c]||{},r=e),r)(l=s&&s[a])&&("kill"in l.d&&!0!==l.d.kill(a)||It(this,l,"_pt"),delete s[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&_e(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return ie(1,arguments)},e.delayedCall=function(t,n,i,s){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:s})},e.fromTo=function(t,e,n){return ie(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return r.killTweensOf(t,e,n)},e}(Ue);Ot(nn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Et("staggerTo,staggerFrom,staggerFromTo",(function(t){nn[t]=function(){var e=new Ye,n=ae.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var sn=function(t,e,n){return t[e]=n},on=function(t,e,n){return t[e](n)},rn=function(t,e,n,i){return t[e](i.fp,n)},an=function(t,e,n){return t.setAttribute(e,n)},ln=function(t,e){return W(t[e])?on:Y(t[e])&&t.setAttribute?an:sn},cn=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},un=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},hn=function(t,e){var n=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+i,n=n._next;i+=e.c}e.set(e.t,e.p,i,e)},dn=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},fn=function(t,e,n,i){for(var s,o=this._pt;o;)s=o._next,o.p===i&&o.modifier(t,e,n),o=s},pn=function(t){for(var e,n,i=this._pt;i;)n=i._next,i.p===t&&!i.op||i.op===t?It(this,i,"_pt"):i.dep||(e=1),i=n;return!e},mn=function(t,e,n,i){i.mSet(t,e,i.m.call(i.tween,n,i.mt),i)},gn=function(t){for(var e,n,i,s,o=t._pt;o;){for(e=o._next,n=i;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:i=o,(o._next=n)?n._prev=o:s=o,o=e}t._pt=i},vn=function(){function t(t,e,n,i,s,o,r,a,l){this.t=e,this.s=i,this.c=s,this.p=n,this.r=o||cn,this.d=r||this,this.set=a||sn,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=mn,this.m=t,this.mt=n,this.tween=e},t}();Et(_t+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ft[t]=1})),rt.TweenMax=rt.TweenLite=nn,rt.TimelineLite=rt.TimelineMax=Ye,r=new Ye({sortChildren:!1,defaults:D,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),M.stringFilter=Ae;var yn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return we(t)}))},timeline:function(t){return new Ye(t)},getTweensOf:function(t,e){return r.getTweensOf(t,e)},getProperty:function(t,e,n,i){q(t)&&(t=ce(t)[0]);var s=xt(t||{}).get,o=n?kt:At;return"native"===n&&(n=""),t?e?o((gt[e]&>[e].get||s)(t,e,n,i)):function(e,n,i){return o((gt[e]&>[e].get||s)(t,e,n,i))}:t},quickSetter:function(t,e,n){if((t=ce(t)).length>1){var i=t.map((function(t){return wn.quickSetter(t,e,n)}
vendor: 14,383 bytes, line 2
2)),s=i.length;return function(t){for(var e=s;e--;)i[e](t)}}t=t[0]||{};var o=gt[e],r=xt(t),a=r.harness&&(r.harness.aliases||{})[e]||e,l=o?function(e){var i=new o;d._pt=0,i.init(t,n?e+n:e,d,0,[t]),i.render(1,i),d._pt&&dn(1,d)}:r.set(t,a);return o?l:function(e){return l(t,a,n?e+n:e,r,1)}},isTweening:function(t){return r.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Fe(t.ease,D.ease)),Dt(D,t||{})},config:function(t){return Dt(M,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,i=t.plugins,s=t.defaults,o=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!gt[t]&&!rt[t]&&ut(e+" effect requires "+t+" plugin.")})),vt[e]=function(t,e,i){return n(ce(t),Ot(e||{},s),i)},o&&(Ye.prototype[e]=function(t,n,i){return this.add(vt[e](t,X(n)?n:(i=n)&&{},this),i)})},registerEase:function(t,e){Me[t]=Fe(e)},parseEase:function(t,e){return arguments.length?Fe(t,e):Me},getById:function(t){return r.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,i,s=new Ye(t);for(s.smoothChildTiming=G(t.smoothChildTiming),r.remove(s),s._dp=0,s._time=s._tTime=r._time,n=r._first;n;)i=n._next,!e&&!n._dur&&n instanceof nn&&n.vars.onComplete===n._targets[0]||Gt(s,n,n._start-n._delay),n=i;return Gt(r,s,0),s},utils:{wrap:function t(e,n,i){var s=n-e;return J(e)?me(e,t(0,e.length),n):se(i,(function(t){return(s+(t-e)%s)%s+e}))},wrapYoyo:function t(e,n,i){var s=n-e,o=2*s;return J(e)?me(e,t(0,e.length-1),n):se(i,(function(t){return e+((t=(o+(t-e)%o)%o||0)>s?o-t:t)}))},distribute:he,random:pe,snap:fe,normalize:function(t,e,n){return ve(t,e,0,1,n)},getUnit:re,clamp:function(t,e,n){return se(n,(function(n){return oe(t,e,n)}))},splitColor:$e,toArray:ce,selector:function(t){return t=ce(t)[0]||ut("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return ce(e,n.querySelectorAll?n:n===t?ut("Invalid scope")||c.createElement("div"):t)}},mapRange:ve,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||re(n))}},interpolate:function t(e,n,i,s){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var r,a,l,c,u,h=q(e),d={};if(!0===i&&(s=1)&&(i=null),h)e={p:e},n={p:n};else if(J(e)&&!J(n)){for(l=[],c=e.length,u=c-2,a=1;a<c;a++)l.push(t(e[a-1],e[a]));c--,o=function(t){t*=c;var e=Math.min(u,~~t);return l[e](t-e)},i=n}else s||(e=Mt(J(e)?[]:{},e));if(!l){for(r in n)Ve.call(d,e,r,"get",n[r]);o=function(t){return dn(t,d)||(h?e.p:e)}}}return se(i,o)},shuffle:ue},install:lt,effects:vt,ticker:ke,updateRoot:Ye.updateRoot,plugins:gt,globalTimeline:r,core:{PropTween:vn,globals:ht,Tween:nn,Timeline:Ye,Animation:Ue,getCache:xt,_removeLinkedListItem:It,suppressOverwrites:function(t){return o=t}}};Et("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return yn[t]=nn[t]})),ke.add(Ye.updateRoot),d=yn.to({},{duration:0});var bn=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},_n=function(t,e){return{name:t,rawVars:1,init:function(t,n,i){i._onInit=function(t){var i,s;if(q(n)&&(i={},Et(n,(function(t){return i[t]=1})),n=i),e){for(s in i={},n)i[s]=e(n[s]);n=i}!function(t,e){var n,i,s,o=t._targets;for(n in e)for(i=o.length;i--;)(s=t._ptLookup[i][n])&&(s=s.d)&&(s._pt&&(s=bn(s,n)),s&&s.modifier&&s.modifier(e[n],t,o[i],n))}(t,n)}}}},wn=yn.registerPlugin({name:"attr",init:function(t,e,n,i,s){var o,r;for(o in e)(r=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],i,s,0,0,o))&&(r.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n])}},_n("roundProps",de),_n("modifiers"),_n("snap",fe))||yn;nn.version=Ye.version=wn.version="3.9.1",u=1,V()&&Oe(),Me.Power0,Me.Power1,Me.Power2,Me.Power3,Me.Power4,Me.Linear,Me.Quad,Me.Cubic,Me.Quart,Me.Quint,Me.Strong,Me.Elastic,Me.Back,Me.SteppedEase,Me.Bounce,Me.Sine,Me.Expo,Me.Circ;var xn,Sn,En,$n,Cn,Tn,Ln,Pn={},An=180/Math.PI,kn=Math.PI/180,On=Math.atan2,Mn=/([A-Z])/g,Dn=/(?:left|right|width|margin|padding|x)/i,zn=/[\s,\(]\S/,Rn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},In=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Nn=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Fn=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Hn=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Bn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},jn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},qn=function(t,e,n){return t.style[e]=n},Wn=function(t,e,n){return t.style.setProperty(e,n)},Un=function(t,e,n){return t._gsap[e]=n},Yn=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Xn=function(t,e,n,i,s){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},Gn=function(t,e,n,i,s){var o=t._gsap;o[e]=n,o.renderTransform(s,o)},Vn="transform",Zn=Vn+"Origin",Kn=function(t,e){var n=Sn.createElementNS?Sn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Sn.createElement(t);return n.style?n:Sn.createElement(t)},Jn=function t(e,n,i){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Mn,"-$1").toLowerCase())||s.getPropertyValue(n)||!i&&t(e,ti(n)||n,1)||""},Qn="O,Moz,ms,Ms,Webkit".split(","),ti=function(t,e,n){var i=(e||Cn).style,s=5;if(t in i&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Qn[s]+t in i););return s<0?null:(3===s?"ms":s>=0?Qn[s]:"")+t},ei=function(){"undefined"!=typeof window&&window.document&&(xn=window,Sn=xn.document,En=Sn.documentElement,Cn=Kn("div")||{style:{}},Kn("div"),Vn=ti(Vn),Zn=Vn+"Origin",Cn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ln=!!ti("perspective"),$n=1)},ni=function t(e){var n,i=Kn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=this.parentNode,o=this.nextSibling,r=this.style.cssText;if(En.appendChild(i),i.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return s&&(o?s.insertBefore(this,o):s.appendChild(this)),En.removeChild(i),this.style.cssText=r,n},ii=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},si=function(t){var e;try{e=t.getBBox()}catch(n){e=ni.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===ni||(e=ni.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+ii(t,["x","cx","x1"])||0,y:+ii(t,["y","cy","y1"])||0,width:0,height:0}},oi=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!si(t))},ri=function(t,e){if(e){var n=t.style;e in Pn&&e!==Zn&&(e=Vn),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(Mn,"-$1").toLowerCase())):n.removeAttribute(e)}},ai=function(t,e,n,i,s,o){var r=new vn(t._pt,e,n,0,1,o?jn:Bn);return t._pt=r,r.b=i,r.e=s,t._props.push(n),r},li={deg:1,rad:1,turn:1},ci=function t(e,n,i,s){var o,r,a,l,c=parseFloat(i)||0,u=(i+"").trim().substr((c+"").length)||"px",h=Cn.style,d=Dn.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===s,v="%"===s;return s===u||!c||li[s]||li[u]?c:("px"!==u&&!g&&(c=t(e,n,i,"px")),l=e.getCTM&&oi(e),!v&&"%"!==u||!Pn[n]&&!~n.indexOf("adius")?(h[d?"width":"height"]=m+(g?u:s),r=~n.indexOf("adius")||"em"===s&&e.appendChild&&!f?e:e.parentNode,l&&(r=(e.ownerSVGElement||{}).parentNode),r&&r!==Sn&&r.appendChild||(r=Sn.body),(a=r._gsap)&&v&&a.width&&d&&a.time===ke.time?$t(c/a.width*m):((v||"%"===u)&&(h.position=Jn(e,"position")),r===e&&(h.position="static"),r.appendChild(Cn),o=Cn[p],r.removeChild(Cn),h.position="absolute",d&&v&&((a=xt(r)).time=ke.time,a.width=r[p]),$t(g?o*c/m:o&&c?m/o*c:0))):(o=l?e.getBBox()[d?"width":"height"]:e[p],$t(v?c/o*m:c/100*o)))},ui=function(t,e,n,i){var s;return $n||ei(),e in Rn&&"transform"!==e&&~(e=Rn[e]).indexOf(",")&&(e=e.split(",")[0]),Pn[e]&&"transform"!==e?(s=wi(t,i),s="transformOrigin"!==e?s[e]:s.svg?s.origin:xi(Jn(t,Zn))+" "+s.zOrigin+"px"):(!(s=t.style[e])||"auto"===s||i||~(s+"").indexOf("calc("))&&(s=pi[e]&&pi[e](t,e,n)||Jn(t,e)||St(t,e)||("opacity"===e?1:0)),n&&!~(s+"").trim().indexOf(" ")?ci(t,e,s,n)+n:s},hi=function(t,e,n,i){if(!n||"none"===n){var s=ti(e,t,1),o=s&&Jn(t,s,1);o&&o!==n?(e=s,n=o):"borderColor"===e&&(n=Jn(t,"borderTopColor"))}var r,a,l,c,u,h,d,f,p,m,g,v,y=new vn(this._pt,t.style,e,0,1,hn),b=0,_=0;if(y.b=n,y.e=i,n+="","auto"==(i+="")&&(t.style[e]=i,i=Jn(t,e)||i,t.style[e]=n),Ae(r=[n,i]),i=r[1],l=(n=r[0]).match(et)||[],(i.match(et)||[]).length){for(;a=et.exec(i);)d=a[0],p=i.substring(b,a.index),u?u=(u+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(u=1),d!==(h=l[_++]||"")&&(c=parseFloat(h)||0,g=h.substr((c+"").length),(v="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),f=parseFloat(d),m=d.substr((f+"").length),b=et.lastIndex-m.length,m||(m=m||M.units[e]||g,b===i.length&&(i+=m,y.e+=m)),g!==m&&(c=ci(t,e,h,m)||0),y._pt={_next:y._pt,p:p||1===_?p:",",s:c,c:v?v*f:f-c,m:u&&u<4||"zIndex"===e?Math.round:0});y.c=b<i.length?i.substring(b,i.length):""}else y.r="display"===e&&"none"===i?jn:Bn;return it.test(i)&&(y.e=0),this._pt=y,y},di={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},fi=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,i,s,o=e.t,r=o.style,a=e.u,l=o._gsap;if("all"===a||!0===a)r.cssText="",i=1;else for(s=(a=a.split(",")).length;--s>-1;)n=a[s],Pn[n]&&(i=1,n="transformOrigin"===n?Zn:Vn),ri(o,n);i&&(ri(o,Vn),l&&(l.svg&&o.removeAttribute("transform"),wi(o,1),l.uncache=1))}},pi={clearProps:function(t,e,n,i,s){if("isFromStart"!==s.data){var o=t._pt=new vn(t._pt,e,n,0,0,fi);return o.u=i,o.pr=-10,o.tween=s,t._props.push(n),1}}},mi=[1,0,0,1,0,0],gi={},vi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},yi=function(t){var e=Jn(t,Vn);return vi(e)?mi:e.substr(7).match(tt).map($t)},bi=function(t,e){var n,i,s,o,r=t._gsap||xt(t),a=t.style,l=yi(t);return r.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(s=t.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?mi:l:(l!==mi||t.offsetParent||t===En||r.svg||(s=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,i=t.nextSibling,En.appendChild(t)),l=yi(t),s?a.display=s:ri(t,"display"),o&&(i?n.insertBefore(t,i):n?n.appendChild(t):En.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},_i=function(t,e,n,i,s,o){var r,a,l,c=t._gsap,u=s||bi(t,!0),h=c.xOrigin||0,d=c.yOrigin||0,f=c.xOffset||0,p=c.yOffset||0,m=u[0],g=u[1],v=u[2],y=u[3],b=u[4],_=u[5],w=e.split(" "),x=parseFloat(w[0])||0,S=parseFloat(w[1])||0;n?u!==mi&&(a=m*y-g*v)&&(l=x*(-g/a)+S*(m/a)-(m*_-g*b)/a,x=x*(y/a)+S*(-v/a)+(v*_-y*b)/a,S=l):(x=(r=si(t)).x+(~w[0].indexOf("%")?x/100*r.width:x),S=r.y+(~(w[1]||w[0]).indexOf("%")?S/100*r.height:S)),i||!1!==i&&c.smooth?(b=x-h,_=S-d,c.xOffset=f+(b*m+_*v)-b,c.yOffset=p+(b*g+_*y)-_):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=S,c.smooth=!!i,c.origin=e,c.originIsAbsolute=!!n,t.style[Zn]="0px 0px",o&&(ai(o,c,"xOrigin",h,x),ai(o,c,"yOrigin",d,S),ai(o,c,"xOffset",f,c.xOffset),ai(o,c,"yOffset",p,c.yOffset)),t.setAttribute("data-svg-origin",x+" "+S)},wi=function(t,e){var n=t._gsap||new We(t);if("x"in n&&!e&&!n.uncache)return n;var i,s,o,r,a,l,c,u,h,d,f,p,m,g,v,y,b,_,w,x,S,E,$,C,T,L,P,A,k,O,D,z,R=t.style,I=n.scaleX<0,N="px",F="deg",H=Jn(t,Zn)||"0";return i=s=o=l=c=u=h=d=f=0,r=a=1,n.svg=!(!t.getCTM||!oi(t)),g=bi(t,n.svg),n.svg&&(C=(!n.uncache||"0px 0px"===H)&&!e&&t.getAttribute("data-svg-origin"),_i(t,C||H,!!C||n.originIsAbsolute,!1!==n.smooth,g)),p=n.xOrigin||0,m=n.yOrigin||0,g!==mi&&(_=g[0],w=g[1],x=g[2],S=g[3],i=E=g[4],s=$=g[5],6===g.length?(r=Math.sqrt(_*_+w*w),a=Math.sqrt(S*S+x*x),l=_||w?On(w,_)*An:0,(h=x||S?On(x,S)*An+l:0)&&(a*=Math.abs(Math.cos(h*kn))),n.svg&&(i-=p-(p*_+m*x),s-=m-(p*w+m*S))):(z=g[6],O=g[7],P=g[8],A=g[9],k=g[10],D=g[11],i=g[12],s=g[13],o=g[14],c=(v=On(z,k))*An,v&&(C=E*(y=Math.cos(-v))+P*(b=Math.sin(-v)),T=$*y+A*b,L=z*y+k*b,P=E*-b+P*y,A=$*-b+A*y,k=z*-b+k*y,D=O*-b+D*y,E=C,$=T,z=L),u=(v=On(-x,k))*An,v&&(y=Math.cos(-v),D=S*(b=Math.sin(-v))+D*y,_=C=_*y-P*b,w=T=w*y-A*b,x=L=x*y-k*b),l=(v=On(w,_))*An,v&&(C=_*(y=Math.cos(v))+w*(b=Math.sin(v)),T=E*y+$*b,w=w*y-_*b,$=$*y-E*b,_=C,E=T),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),r=$t(Math.sqrt(_*_+w*w+x*x)),a=$t(Math.sqrt($*$+z*z)),v=On(E,$),h=Math.abs(v)>2e-4?v*An:0,f=D?1/(D<0?-D:D):0),n.svg&&(C=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!vi(Jn(t,Vn)),C&&t.setAttribute("transform",C))),Math.abs(h)>90&&Math.abs(h)<270&&(I?(r*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),n.x=i-((n.xPercent=i&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+N,n.y=s-((n.yPercent=s&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-s)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+N,n.z=o+N,n.scaleX=$t(r),n.scaleY=$t(a),n.rotation=$t(l)+F,n.rotationX=$t(c)+F,n.rotationY=$t(u)+F,n.skewX=h+F,n.skewY=d+F,n.transformPerspective=f+N,(n.zOrigin=parseFloat(H.split(" ")[2])||0)&&(R[Zn]=xi(H)),n.xOffset=n.yOffset=0,n.force3D=M.force3D,n.renderTransform=n.svg?Pi:Ln?Li:Ei,n.uncache=0,n},xi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Si=function(t,e,n){var i=re(e);return $t(parseFloat(e)+parseFloat(ci(t,"x",n+"px",i)))+i},Ei=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Li(t,e)},$i="0deg",Ci="0px",Ti=") ",Li=function(t,e){var n=e||this,i=n.xPercent,s=n.yPercent,o=n.x,r=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,h=n.skewX,d=n.skewY,f=n.scaleX,p=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,b="",_="auto"===g&&t&&1!==t||!0===g;if(y&&(u!==$i||c!==$i)){var w,x=parseFloat(c)*kn,S=Math.sin(x),E=Math.cos(x);x=parseFloat(u)*kn,w=Math.cos(x),o=Si(v,o,S*w*-y),r=Si(v,r,-Math.sin(x)*-y),a=Si(v,a,E*w*-y+y)}m!==Ci&&(b+="perspective("+m+Ti),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(_||o!==Ci||r!==Ci||a!==Ci)&&(b+=a!==Ci||_?"translate3d("+o+", "+r+", "+a+") ":"translate("+o+", "+r+Ti),l!==$i&&(b+="rotate("+l+Ti),c!==$i&&(b+="rotateY("+c+Ti),u!==$i&&(b+="rotateX("+u+Ti),h===$i&&d===$i||(b+="skew("+h+", "+d+Ti),1===f&&1===p||(b+="scale("+f+", "+p+Ti),v.style[Vn]=b||"translate(0, 0)"},Pi=function(t,e){var n,i,s,o,r,a=e||this,l=a.xPercent,c=a.yPercent,u=a.x,h=a.y,d=a.rotation,f=
2a.skewX,p=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,_=a.xOffset,w=a.yOffset,x=a.forceCSS,S=parseFloat(u),E=parseFloat(h);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=kn,f*=kn,n=Math.cos(d)*m,i=Math.sin(d)*m,s=Math.sin(d-f)*-g,o=Math.cos(d-f)*g,f&&(p*=kn,r=Math.tan(f-p),s*=r=Math.sqrt(1+r*r),o*=r,p&&(r=Math.tan(p),n*=r=Math.sqrt(1+r*r),i*=r)),n=$t(n),i=$t(i),s=$t(s),o=$t(o)):(n=m,o=g,i=s=0),(S&&!~(u+"").indexOf("px")||E&&!~(h+"").indexOf("px"))&&(S=ci(v,"x",u,"px"),E=ci(v,"y",h,"px")),(y||b||_||w)&&(S=$t(S+y-(y*n+b*s)+_),E=$t(E+b-(y*i+b*o)+w)),(l||c)&&(r=v.getBBox(),S=$t(S+l/100*r.width),E=$t(E+c/100*r.height)),r="matrix("+n+","+i+","+s+","+o+","+S+","+E+")",v.setAttribute("transform",r),x&&(v.style[Vn]=r)},Ai=function(t,e,n,i,s,o){var r,a,l=360,c=q(s),u=parseFloat(s)*(c&&~s.indexOf("rad")?An:1),h=o?u*o:u-i,d=i+h+"deg";return c&&("short"===(r=s.split("_")[1])&&(h%=l)!=h%180&&(h+=h<0?l:-360),"cw"===r&&h<0?h=(h+36e9)%l-~~(h/l)*l:"ccw"===r&&h>0&&(h=(h-36e9)%l-~~(h/l)*l)),t._pt=a=new vn(t._pt,e,n,i,h,Nn),a.e=d,a.u="deg",t._props.push(n),a},ki=function(t,e){for(var n in e)t[n]=e[n];return t},Oi=function(t,e,n){var i,s,o,r,a,l,c,u=ki({},n._gsap),h=n.style;for(s in u.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),h[Vn]=e,i=wi(n,1),ri(n,Vn),n.setAttribute("transform",o)):(o=getComputedStyle(n)[Vn],h[Vn]=e,i=wi(n,1),h[Vn]=o),Pn)(o=u[s])!==(r=i[s])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(s)<0&&(a=re(o)!==(c=re(r))?ci(n,s,o,c):parseFloat(o),l=parseFloat(r),t._pt=new vn(t._pt,i,s,a,l-a,In),t._pt.u=c||0,t._props.push(s));ki(i,u)};Et("padding,margin,Width,Radius",(function(t,e){var n="Top",i="Right",s="Bottom",o="Left",r=(e<3?[n,i,s,o]:[n+o,n+i,s+i,s+o]).map((function(n){return e<2?t+n:"border"+n+t}));pi[e>1?"border"+t:t]=function(t,e,n,i,s){var o,a;if(arguments.length<4)return o=r.map((function(e){return ui(t,e,n)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={},r.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,s)}}));var Mi,Di,zi={name:"css",register:ei,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,i,s){var o,r,a,l,c,u,h,d,f,p,m,g,v,y,b,_,w,x,S,E=this._props,$=t.style,C=n.vars.startAt;for(h in $n||ei(),e)if("autoRound"!==h&&(r=e[h],!gt[h]||!Ze(h,e,n,i,t,s)))if(c=typeof r,u=pi[h],"function"===c&&(c=typeof(r=r.call(n,i,t,s))),"string"===c&&~r.indexOf("random(")&&(r=ge(r)),u)u(this,t,h,r,n)&&(b=1);else if("--"===h.substr(0,2))o=(getComputedStyle(t).getPropertyValue(h)+"").trim(),r+="",Le.lastIndex=0,Le.test(o)||(d=re(o),f=re(r)),f?d!==f&&(o=ci(t,h,o,f)+f):d&&(r+=d),this.add($,"setProperty",o,r,i,s,0,0,h),E.push(h);else if("undefined"!==c){if(C&&h in C?(o="function"==typeof C[h]?C[h].call(n,i,t,s):C[h],q(o)&&~o.indexOf("random(")&&(o=ge(o)),re(o+"")||(o+=M.units[h]||re(ui(t,h))||""),"="===(o+"").charAt(1)&&(o=ui(t,h))):o=ui(t,h),l=parseFloat(o),(p="string"===c&&"="===r.charAt(1)?+(r.charAt(0)+"1"):0)&&(r=r.substr(2)),a=parseFloat(r),h in Rn&&("autoAlpha"===h&&(1===l&&"hidden"===ui(t,"visibility")&&a&&(l=0),ai(this,$,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=Rn[h]).indexOf(",")&&(h=h.split(",")[0])),m=h in Pn)if(g||((v=t._gsap).renderTransform&&!e.parseTransform||wi(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new vn(this._pt,$,Vn,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===h)this._pt=new vn(this._pt,v,"scaleY",v.scaleY,(p?p*a:a-v.scaleY)||0),E.push("scaleY",h),h+="X";else{if("transformOrigin"===h){w=void 0,x=void 0,S=void 0,x=(w=(_=r).split(" "))[0],S=w[1]||"50%","top"!==x&&"bottom"!==x&&"left"!==S&&"right"!==S||(_=x,x=S,S=_),w[0]=di[x]||x,w[1]=di[S]||S,r=w.join(" "),v.svg?_i(t,r,0,y,0,this):((f=parseFloat(r.split(" ")[2])||0)!==v.zOrigin&&ai(this,v,"zOrigin",v.zOrigin,f),ai(this,$,h,xi(o),xi(r)));continue}if("svgOrigin"===h){_i(t,r,1,y,0,this);continue}if(h in gi){Ai(this,v,h,l,r,p);continue}if("smoothOrigin"===h){ai(this,v,"smooth",v.smooth,r);continue}if("force3D"===h){v[h]=r;continue}if("transform"===h){Oi(this,r,t);continue}}else h in $||(h=ti(h)||h);if(m||(a||0===a)&&(l||0===l)&&!zn.test(r)&&h in $)a||(a=0),(d=(o+"").substr((l+"").length))!==(f=re(r)||(h in M.units?M.units[h]:d))&&(l=ci(t,h,o,f)),this._pt=new vn(this._pt,m?v:$,h,l,p?p*a:a-l,m||"px"!==f&&"zIndex"!==h||!1===e.autoRound?In:Hn),this._pt.u=f||0,d!==f&&"%"!==f&&(this._pt.b=o,this._pt.r=Fn);else if(h in $)hi.call(this,t,h,o,r);else{if(!(h in t)){ct(h,r);continue}this.add(t,h,o||t[h],r,i,s)}E.push(h)}b&&gn(this)},get:ui,aliases:Rn,getSetter:function(t,e,n){var i=Rn[e];return i&&i.indexOf(",")<0&&(e=i),e in Pn&&e!==Zn&&(t._gsap.x||ui(t,"x"))?n&&Tn===n?"scale"===e?Yn:Un:(Tn=n||{})&&("scale"===e?Xn:Gn):t.style&&!Y(t.style[e])?qn:~e.indexOf("-")?Wn:ln(t,e)},core:{_removeProperty:ri,_getMatrix:bi}};wn.utils.checkPrefix=ti,Di=Et("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Mi="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Pn[t]=1})),Et(Mi,(function(t){M.units[t]="deg",gi[t]=1})),Rn[Di[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Mi,Et("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Rn[e[1]]=Di[e[0]]})),Et("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){M.units[t]="px"})),wn.registerPlugin(zi);var Ri=wn.registerPlugin(zi)||wn;Ri.core.Tween},499:function(t,e,n){"use strict";n.d(e,{Z:function(){return tt}});var i={hooks:{},navbar:{add:!0,title:"Menu",titleLink:"parent"},slidingSubmenus:!0},s={classNames:{divider:"Divider",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,panelNodetype:["ul","ol","div"],screenReader:{closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}};const o=(t,e)=>{"object"!=r(t)&&(t={}),"object"!=r(e)&&(e={});for(let n in e)e.hasOwnProperty(n)&&(void 0===t[n]?t[n]=e[n]:"object"==r(t[n])&&o(t[n],e[n]));return t},r=t=>({}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()),a=()=>"mm-"+l++;let l=0;const c=t=>"mm-clone-"==t.slice(0,9)?t:`mm-clone-${t}`,u=t=>"mm-clone-"==t.slice(0,9)?t.slice(9):t,h={},d=(t,e)=>{void 0===h[e]&&(h[e]={}),o(h[e],t)};const f=t=>{const e=t.split("."),n=document.createElement(e.shift());return n.classList.add(...e),n},p=(t,e)=>e.length?[].slice.call(t.querySelectorAll(e)):[],m=(t,e)=>{const n=Array.prototype.slice.call(t.children);return e?n.filter((t=>t.matches(e))):n},g=t=>t.filter((t=>!t.matches(".mm-hidden"))),v=t=>{let e=[];return g(t).forEach((t=>{e.push(...m(t,"a.mm-listitem__text"))})),e.filter((t=>!t.matches(".mm-btn--next")))},y=(t,e,n)=>{t.matches("."+e)&&t.classList.add(n)};let b={};const _=(t,e,n)=>
vendor: 23,285 bytes, line 2
2{"number"==typeof t&&(t="(min-width: "+t+"px)"),b[t]=b[t]||[],b[t].push({yes:e,no:n})},w=(t,e)=>{var n=e.matches?"yes":"no";for(let e=0;e<b[t].length;e++)b[t][e][n]()};var x,S,E,$=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n},C=function(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)};d({"Close submenu":"Untermenü schlieÃen",Menu:"Menü","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},"de"),d({"Close submenu":"Ø¨Ø³ØªÙ Ø²ÛØ±Ù
ÙÙ",Menu:"Ù
ÙÙ","Open submenu":"Ø¨Ø§Ø²Ú©Ø±Ø¯Ù Ø²ÛØ±Ù
ÙÙ","Toggle submenu":"سÙÛÛÚ Ø²ÛØ±Ù
ÙÙ"},"fa"),d({"Close submenu":"Submenu sluiten",Menu:"Menu","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},"nl"),d({"Close submenu":"Fechar submenu",Menu:"Menu","Open submenu":"Abrir submenu","Toggle submenu":"Alternar submenu"},"pt_br"),d({"Close submenu":"ÐакÑÑÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ",Menu:"ÐенÑ","Open submenu":"ÐÑкÑÑÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ","Toggle submenu":"ÐеÑеклÑÑиÑÑ Ð¿Ð¾Ð´Ð¼ÐµÐ½Ñ"},"ru"),d({"Close submenu":"ZatvoriÅ¥ submenu",Menu:"Menu","Open submenu":"OtvoriÅ¥ submenu","Toggle submenu":"Prepnúť submenu"},"sk");class T{constructor(t,e,n){return x.set(this,void 0),S.set(this,void 0),E.set(this,void 0),this.opts=o(e,i),this.conf=o(n,s),this._api=["i18n","bind","openPanel","closePanel","setSelected"],this.node={},this.hook={},this.node.menu="string"==typeof t?document.querySelector(t):t,"function"==typeof this._deprecatedWarnings&&this._deprecatedWarnings(),this.trigger("init:before"),this._initObservers(),this._initAddons(),this._initHooks(),this._initAPI(),this._initMenu(),this._initPanels(),this._initOpened(),(()=>{for(let t in b){let e=window.matchMedia(t);w(t,e),e.onchange=n=>{w(t,e)}}})(),this.trigger("init:after"),this}openPanel(t,e=!0,n=!0){if(t){if(t.matches(".mm-panel")||(t=t.closest(".mm-panel")),this.trigger("openPanel:before",[t,{animation:e,setfocus:n}]),t.parentElement.matches(".mm-listitem--vertical"))t.parentElement.classList.add("mm-listitem--opened");else{const i=m(this.node.pnls,".mm-panel--opened")[0];t.matches(".mm-panel--parent")&&i&&i.classList.add("mm-panel--highest");const s=["mm-panel--opened","mm-panel--parent"],o=[];e?s.push("mm-panel--noanimation"):o.push("mm-panel--noanimation"),m(this.node.pnls,".mm-panel").forEach((t=>{t.classList.add(...o),t.classList.remove(...s),t!==i&&t.classList.remove("mm-panel--highest")})),t.classList.add("mm-panel--opened");let r=p(this.node.pnls,`#${t.dataset.mmParent}`)[0];for(;r;)r=r.closest(".mm-panel"),r.classList.add("mm-panel--parent"),r=p(this.node.pnls,`#${r.dataset.mmParent}`)[0];n&&this.node.pnls.focus()}this.trigger("openPanel:after",[t,{animation:e,setfocus:n}])}}closePanel(t,e=!0,n=!0){if(t&&t.matches(".mm-panel--opened")){if(this.trigger("closePanel:before",[t]),t.parentElement.matches(".mm-listitem--vertical"))t.parentElement.classList.remove("mm-listitem--opened");else if(t.dataset.mmParent){const i=p(this.node.pnls,`#${t.dataset.mmParent}`)[0];this.openPanel(i,e,n)}else{const i=m(this.node.pnls,".mm-panel--parent").pop();if(i&&i!==t)this.openPanel(i,e,n);else{const i=m(this.node.pnls,".mm-panel")[0];i&&i!==t&&this.openPanel(i,e,n)}}this.trigger("closePanel:after",[t])}}togglePanel(t){let e="openPanel";(t.parentElement.matches(".mm-listitem--opened")||t.matches(".mm-panel--opened"))&&(e="closePanel"),this[e](t)}setSelected(t){this.trigger("setSelected:before",[t]),p(this.node.menu,".mm-listitem--selected").forEach((t=>{t.classList.remove("mm-listitem--selected")})),t.classList.add("mm-listitem--selected"),this.trigger("setSelected:after",[t])}bind(t,e){this.hook[t]=this.hook[t]||[],this.hook[t].push(e)}trigger(t,e){if(this.hook[t])for(var n=0,i=this.hook[t].length;n<i;n++)this.hook[t][n].apply(this,e)}_initObservers(){$(this,x,new MutationObserver((t=>{t.forEach((t=>{t.addedNodes.forEach((t=>{t.matches(this.conf.panelNodetype.join(", "))&&this._initListview(t)}))}))}))),$(this,S,new MutationObserver((t=>{t.forEach((t=>{t.addedNodes.forEach((t=>{this._initListitem(t)}))}))}))),$(this,E,new MutationObserver((t=>{t.forEach((t=>{t.addedNodes.forEach((t=>{(null==t?void 0:t.matches(this.conf.panelNodetype.join(", ")))&&this._initSubPanel(t)}))}))})))}_initAPI(){const t=this;this.API={},this._api.forEach((e=>{this.API[e]=function(){return t[e].apply(t,arguments)}})),this.node.menu.mmApi=this.API}_initHooks(){for(let t in this.opts.hooks)this.bind(t,this.opts.hooks[t])}_initAddons(){this.trigger("initAddons:before");for(let t in T.addons)T.addons[t].call(this);this.trigger("initAddons:after")}_initMenu(){this.trigger("initMenu:before"),this.node.wrpr=this.node.wrpr||this.node.menu.parentElement,this.node.wrpr.classList.add("mm-wrapper"),this.node.menu.classList.add("mm-menu"),this.node.menu.id=this.node.menu.id||a(),this.node.menu.setAttribute("tabindex","-1");const t=m(this.node.menu).filter((t=>t.matches(this.conf.panelNodetype.join(", "))));this.node.pnls=f("div.mm-panels"),this.node.menu.append(this.node.pnls),this.node.pnls.setAttribute("tabindex","-1"),t.forEach((t=>{this._initPanel(t)})),this.trigger("initMenu:after")}_initPanels(){this.trigger("initPanels:before"),this.node.menu.addEventListener("click",(t=>{var e,n;const i=(null===(n=null===(e=t.target)||void 0===e?void 0:e.closest("a[href]"))||void 0===n?void 0:n.getAttribute("href"))||"";if("#"===i.slice(0,1))try{const e=p(this.node.menu,i)[0];e&&(t.preventDefault(),this.togglePanel(e))}catch(t){}}),{capture:!0}),this.trigger("initPanels:after")}_initPanel(t){var e;if(!t.matches(".mm-panel")&&(y(t,this.conf.classNames.panel,"mm-panel"),y(t,this.conf.classNames.nopanel,"mm-nopanel"),!t.matches(".mm-nopanel"))){if(this.trigger("initPanel:before",[t]),t.id=t.id||a(),t.matches("ul, ol")){const e=f("div");e.id=t.id,t.removeAttribute("id"),[].slice.call(t.classList).filter((t=>"mm-"===t.slice(0,3))).forEach((n=>{e.classList.add(n),t.classList.remove(n)})),Object.keys(t.dataset).filter((t=>"mm"===t.slice(0,2))).forEach((n=>{e.dataset[n]=t.dataset[n],delete t.dataset[n]})),t.before(e),e.append(t),t=e}return t.classList.add("mm-panel"),(null===(e=t.parentElement)||void 0===e?void 0:e.matches(".mm-listitem--vertical"))||this.node.pnls.append(t),this._initNavbar(t),m(t,"ul, ol").forEach((t=>{this._initListview(t)})),C(this,x).observe(t,{childList:!0}),this.trigger("initPanel:after",[t]),t}}_initNavbar(t){if(m(t,".mm-navbar").length)return;let e=null,n=null;if(t.dataset.mmParent)for(e=p(this.node.pnls,"#"+t.dataset.mmParent)[0],n=e.closest(".mm-panel");n.closest(".mm-listitem--vertical");)n=n.parentElement.closest(".mm-panel");if(null==e?void 0:e.matches(".mm-listitem--vertical"))return;this.trigger("initNavbar:before",[t]);const i=f("div.mm-navbar");if(this.opts.navbar.add||i.classList.add("mm-hidden"),n){const t=f("a.mm-btn.mm-btn--prev.mm-navbar__btn");t.href=`#${n.id}`,t.title=this.i18n(this.conf.screenReader.closeSubmenu),i.append(t)}let s=null;e?s=m(e,".mm-listitem__text")[0]:n&&(s=p(n,'a[href="#'+t.id+'"]')[0]);const o=f("a.mm-navbar__title");switch(o.tabIndex=-1,o.ariaHidden="true",this.opts.navbar.titleLink){case"anchor":s&&(o.href=s.getAttribute("href"));break;case"parent":n&&(o.href=`#${n.id}`)}const r=f("span");var a;r.innerHTML=t.dataset.mmTitle||((a=s)?[].slice.call(a.childNodes).filter((t=>t.nodeType===Node.TEXT_NODE)).map((t=>t.nodeValue.trim())).join(" "):"")||this.i18n(this.opts.navbar.title)||this.i18n("Menu"),t.prepend(i),i.append(o),o.append(r),this.trigger("initNavbar:after",[t])}_initListview(t){["htmlulistelement","htmlolistelement"].includes(r(t))&&(t.matches(".mm-listview")||(y(t,this.conf.classNames.nolistview,"mm-nolistview"),t.matches(".mm-nolistview")||(this.trigger("initListview:before",[t]),t.classList.add("mm-listview"),m(t).forEach((t=>{this._initListitem(t)})),C(this,S).observe(t,{childList:!0}),this.trigger("initListview:after",[t]))))}_initListitem(t){["htmllielement"].includes(r(t))&&(t.matches(".mm-listitem")||(y(t,this.conf.classNames.divider,"mm-divider"),t.matches(".mm-divider")||(this.trigger("initListitem:before",[t]),t.classList.add("mm-listitem"),y(t,this.conf.classNames.selected,"mm-listitem--selected"),m(t,"a, span").forEach((t=>{t.classList.add("mm-listitem__text")})),m(t,this.conf.panelNodetype.join(", ")).forEach((t=>{this._initSubPanel(t)})),C(this,E).observe(t,{childList:!0}),this.trigger("initListitem:after",[t]))))}_initSubPanel(t){if(t.matches(".mm-panel"))return;const e=t.parentElement;(t.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus)&&e.classList.add("mm-listitem--vertical"),e.id=e.id||a(),t.id=t.id||a(),e.dataset.mmChild=t.id,t.dataset.mmParent=e.id;let n=m(e,".mm-btn")[0];n||(n=f("a.mm-btn.mm-btn--next.mm-listitem__btn"),m(e,"a, span").forEach((t=>{t.matches("span")?(n.classList.add("mm-listitem__text"),n.innerHTML=t.innerHTML,e.insertBefore(n,t.nextElementSibling),t.remove()):e.insertBefore(n,t.nextElementSibling)})),n.title=this.i18n(this.conf.screenReader[e.matches(".mm-listitem--vertical")?"toggleSubmenu":"openSubmenu"])),n.href=`#${t.id}`,this._initPanel(t)}_initOpened(){this.trigger("initOpened:before");const t=p(this.node.pnls,".mm-listitem--selected").pop();let e=m(this.node.pnls,".mm-panel")[0];t&&(this.setSelected(t),e=t.closest(".mm-panel")),this.openPanel(e,!1,!1),this.trigger("initOpened:after")}i18n(t){return((t,e)=>"string"==typeof e&&void 0!==h[e]&&h[e][t]||t)(t,this.conf.language)}static i18n(t={},e=""){if(!t||!e)return h;d(t,e)}}x=new WeakMap,S=new WeakMap,E=new WeakMap,T.addons={},T.node={},T.vars={};var L={use:!0,position:"left"},P={clone:!1,menu:{insertMethod:"prepend",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]},screenReader:{closeMenu:"Close menu",openMenu:"Open menu"}};T.prototype.open=function(){this.node.menu.matches(".mm-menu--opened")||(this.trigger("open:before"),this.node.wrpr.classList.add("mm-wrapper--opened"),this.node.menu.classList.add("mm-menu--opened"),this.node.wrpr.classList.add("mm-wrapper--opened"),this.node.menu.focus(),this.trigger("open:after"))},T.prototype.close=function(){var t;this.node.menu.matches(".mm-menu--opened")&&(this.trigger("close:before"),this.node.menu.classList.remove("mm-menu--opened"),this.node.wrpr.classList.remove("mm-wrapper--opened"),null===(t=document.querySelector(`[href="#${this.node.menu.id}"]`)||this.node.page||null)||void 0===t||t.focus(),this.trigger("close:after"))},T.prototype.setPage=function(t){var e=this.conf.offCanvas;if(!t){let n="string"==typeof e.page.selector?p(document.body,e.page.selector):m(document.body,e.page.nodetype);if(n=n.filter((t=>!t.matches(".mm-menu, .mm-wrapper__blocker"))),e.page.noSelector.length&&(n=n.filter((t=>!t.matches(e.page.noSelector.join(", "))))),n.length>1){let t=f("div");n[0].before(t),n.forEach((e=>{t.append(e)})),n=[t]}t=n[0]}this.trigger("setPage:before",[t]),t.setAttribute("tabindex","-1"),t.classList.add("mm-page","mm-slideout"),t.id=t.id||a(),T.node.blck.setAttribute("href",`#${t.id}`),T.node.page=t,this.trigger("setPage:after",[t])};var A={fix:!0};const k="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1;var O={close:!1,open:!1},M={add:!1},D={use:!1,top:[],bottom:[],position:"left",type:"default"},z={add:!1,blockPanel:!0,visible:3},R={breadcrumbs:{separator:"/",removeFirst:!1}};function I(){this.opts.navbars=this.opts.navbars||[],this.conf.navbars=this.conf.navbars||{},o(this.conf.navbars,R);let t=this.opts.navbars;if(void 0!==t&&(t instanceof Array||(t=[t]),t.length)){var e={};t.forEach((t=>{if(!(t=function(t){return"boolean"==typeof t&&t&&(t={}),"object"!=typeof t&&(t={}),void 0===t.content&&(t.content=["prev","title"]),t.content instanceof Array||(t.content=[t.content]),void 0===t.use&&(t.use=!0),t}(t)).use)return;const n=f("div.mm-navbar");let{position:i}=t;"bottom"!==i&&(i="top"),e[i]||(e[i]=f("div.mm-navbars.mm-navbars--"+i)),e[i].append(n);for(let e=0,i=t.content.length;e<i;e++){const i=t.content[e];if("string"==typeof i){const t=I.navbarContents[i];if("function"==typeof t)t.call(this,n);else{let t=f("span");t.innerHTML=i;const e=m(t);1==e.length&&(t=e[0]),n.append(t)}}else n.append(i)}if("string"==typeof t.type){const e=I.navbarTypes[t.type];"function"==typeof e&&e.call(this,n)}let s=()=>{n.classList.remove("mm-hidden")};"boolean"==typeof t.use?this.bind("initMenu:after",s):_(t.use,s,(()=>{n.classList.add("mm-hidden")}))})),this.bind("initMenu:after",(()=>{for(let t in e)this.node.pnls["bottom"==t?"after":"before"](e[t])}))}}I.navbarContents={breadcrumbs:function(t){var e=f("div.mm-navbar__breadcrumbs");t.append(e),this.bind("initNavbar:after",(t=>{if(!t.querySelector(".mm-navbar__breadcrumbs")){m(t,".mm-navbar")[0].classList.add("mm-hidden");for(var e=[],n=f("span.mm-navbar__breadcrumbs"),i=t,s=!0;i;){if(!(i=i.closest(".mm-panel")).parentElement.matches(".mm-listitem--vertical")){let t=p(i,".mm-navbar__title span")[0];if(t){let n=t.textContent;n.length&&e.unshift(s?`<span>${n}</span>`:`<a \n href="#${i.id}" \n title="${this.i18n(this.conf.screenReader.openSubmenu)}"\n >${n}</a>`)}s=!1}i=p(this.node.pnls,`#${i.dataset.mmParent}`)[0]}this.conf.navbars.breadcrumbs.removeFirst&&e.shift(),n.innerHTML=e.join('<span class="mm-separator">'+this.conf.navbars.breadcrumbs.separator+"</span>"),m(t,".mm-navbar")[0].append(n)}})),this.bind("openPanel:before",(t=>{var n=t.querySelector(".mm-navbar__breadcrumbs");e.innerHTML=n?n.innerHTML:""}))},close:function(t){const e=f("a.mm-btn.mm-btn--close.mm-navbar__btn");e.title=this.i18n(this.conf.offCanvas.screenReader.closeMenu),t.append(e),this.bind("setPage:after",(t=>{e.href=`#${t.id}`}))},prev:function(t){let e=f("a.mm-btn.mm-hidden");t.append(e),this.bind("initNavbar:after",(t=>{m(t,".mm-navbar")[0].classList.add("mm-hidden")})),this.bind("openPanel:before",(t=>{if(t.parentElement.matches(".mm-listitem--vertical"))return;e.classList.add("mm-hidden");const n=t.querySelector(".mm-navbar__btn.mm-btn--prev");if(n){const t=n.cloneNode(!0);e.after(t),e.remove(),e=t}}))},searchfield:function(t){let e=f("div.mm-navbar__searchfield");e.id=a(),t.append(e),this.opts.searchfield=this.opts.searchfield||{},this.opts.searchfield.add=!0,this.opts.searchfield.addTo=`#${e.id}`},title:function(t){let e=f("a.mm-navbar__title");t.append(e),this.bind("openPanel:before",(t=>{if(t.parentElement.matches(".mm-listitem--vertical"))return;const n=t.querySelector(".mm-navbar__title");if(n){const t=n.cloneNode(!0);e.after(t),e.remove(),e=t}}))}},I.navbarTypes={tabs:function(t){function e(n){const i=m(t,`.mm-navbar__tab[href="#${n.id}"]`)[0];if(i)i.classList.add("mm-navbar__tab--selected"),i.ariaExpanded="true";else{const t=p(this.node.pnls,`#${n.dataset.mmParent}`)[0];t&&e.call(this,t.closest(".mm-panel"))}}t.classList.add("mm-navbar--tabs"),t.closest(".mm-navbars").classList.add("mm-navbars--has-tabs"),m(t,"a").forEach((t=>{t.classList.add("mm-navbar__tab")})),this.bind("openPanel:before",(n=>{m(t,"a").forEach((t=>{t.classList.remove("mm-navbar__tab--selected"),t.ariaExpanded="false"})),e.call(this,n)})),this.bind("initPanels:after",(()=>{t.addEventListener("click",(t=>{var e,n,i;const s=null===(n=null===(e=t.target)||void 0===e?void 0:e.closest(".mm-navbar__tab"))||void 0===n?void 0:n.getAttribute("href");try{null===(i=p(this.node.pnls,`${s}.mm-panel`)[0])||void 0===i||i.classList.add("mm-panel--noanimation")}catch(t){}}),{capture:!0})}))}};var N={scroll:!1,update:!1},F={scrollOffset:0,updateOffset:50},H={add:!1,addTo:"panels",noResults:"No results found.",placeholder:"Search",searchIn:"panels",splash:"",title:"Search"},B={cancel:!0,clear:!0,form:{},input:{},panel:{},submit:!1};d({cancel:"abbrechen","Cancel searching":"Suche abbrechen","Clear searchfield":"Suchfeld löschen","No results found.":"Keine Ergebnisse gefunden.",Search:"Suche"},"de"),d({cancel:"Ø§ÙØµØ±Ø§Ù","Cancel searching":"ÙØºÙ جستجÙ","Clear searchfield":"پاک کرد٠ÙÛÙØ¯ جستجÙ","No results found.":"ÙØªÛجÙâØ§Û ÛØ§Ùت ÙØ´Ø¯.",Search:"جستجÙ"},"fa"),d({cancel:"annuleren","Cancel searching":"Zoeken annuleren","Clear searchfield":"Zoekveld leeg maken","No results found.":"Geen resultaten gevonden.",Search:"Zoeken"},"nl"),d({cancel:"cancelar","Cancel searching":"Cancelar pesquisa","Clear searchfield":"Limpar campo de pesquisa","No results found.":"Nenhum resultado encontrado.",Search:"Buscar"},"pt_br"),d({cancel:"оÑмениÑÑ","Cancel searching":"ÐÑмениÑÑ Ð¿Ð¾Ð¸Ñк","Clear searchfield":"ÐÑиÑÑиÑÑ Ð¿Ð¾Ð»Ðµ поиÑка","No results found.":"ÐиÑего не найдено.",Search:"ÐайÑи"},"ru"),d({cancel:"zruÅ¡iÅ¥","Cancel searching":"ZruÅ¡iÅ¥ vyhľadávanie","Clear searchfield":"VymazaÅ¥ pole vyhľadávania","No results found.":"Neboli nájdené žiadne výsledky.",Search:"Vyhľadávanie"},"sk");const j=function(){const t=this.opts.searchfield,e=this.conf.searchfield;let n=m(this.node.pnls,".mm-panel--search")[0];return n||(n=f("div.mm-panel--search"),Z(n,e.panel),t.title.length&&(n.dataset.mmTitle=this.i18n(t.title)),n.append(f("ul")),this._initPanel(n),n)},q=function(t){const e=this.opts.searchfield;if(t.matches(e.addTo)){const e=t.matches(".mm-panel--search");if(!p(t,".mm-searchfield").length){const n=W.call(this,e);e&&n.classList.add("mm-searchfield--cancelable"),t.prepend(n),U.call(this,n)}}if(e.splash.length&&t.matches(".mm-panel--search")&&!p(t,".mm-panel__splash").length){const n=f("div.mm-panel__splash");n.innerHTML=e.splash,t.append(n)}if(e.noResults.length&&!p(t,".mm-panel__noresults").length){const n=f("div.mm-panel__noresults");n.innerHTML=this.i18n(e.noResults),t.append(n)}},W=function(t=!1){const e=this.opts.searchfield,n=this.conf.searchfield,i=f("form.mm-searchfield");Z(i,n.form);const s=f("div.mm-searchfield__input");i.append(s);const o=f("input");if(s.append(o),o.type="text",o.autocomplete="off",o.placeholder=this.i18n(e.placeholder),o.setAttribute("aria-label",this.i18n(e.placeholder)),Z(o,n.input),n.submit){const t=f("button.mm-btnreset.mm-btn.mm-btn--next.mm-searchfield__btn");t.type="submit",s.append(t)}else if(n.clear){const t=f("button.mm-btnreset.mm-btn.mm-btn--close.mm-searchfield__btn");t.type="reset",t.title=this.i18n("Clear searchfield"),s.append(t),i.addEventListener("reset",(()=>{window.requestAnimationFrame((()=>{o.dispatchEvent(new Event("input"))}))}))}if(n.cancel&&t){const t=f("a.mm-searchfield__cancel");t.href="#",t.title=this.i18n("Cancel searching"),t.textContent=this.i18n("cancel"),i.append(t),t.addEventListener("click",(()=>{this.closePanel(m(this.node.pnls,".mm-panel--search")[0],!1)}))}return i},U=function(t){const e=this.opts.searchfield,n=t.closest(".mm-panel")||p(this.node.pnls,".mm-panel--search")[0],i=p(t,"input")[0];let s=n.matches(".mm-panel--search")?p(this.node.pnls,e.searchIn):[n];s=s.filter((t=>!t.matches(".mm-panel--search")));const o=()=>{const o=i.value.toLowerCase().trim(),r=[];if(s.forEach((t=>{t.scrollTop=0,r.push(...p(t,".mm-listitem"))})),o.length){this.trigger("search:before"),t.classList.add("mm-searchfield--searching"),n.classList.add("mm-panel--searching"),r.forEach((t=>{const e=m(t,".mm-listitem__text")[0];var n;(!e||(n=e,Array.prototype.slice.call(n.childNodes).filter((t=>3==t.nodeType)).map((t=>t.textContent)).join(" ")).toLowerCase().indexOf(o)>-1)&&(t.dataset.mmSearchresult=o)}));let e=0;e=n.matches(".mm-panel--search")?Y(n,o,s):G(o,s),n.classList[0==e?"add":"remove"]("mm-panel--noresults"),this.trigger("search:after")}else this.trigger("clear:before"),t.classList.remove("mm-searchfield--searching"),n.classList.remove("mm-panel--searching","mm-panel--noresults"),n.matches(".mm-panel--search")?(X(n),e.splash||this.closePanel(n,!1,!1)):V(s),this.trigger("clear:after")};i.addEventListener("input",o),o()},Y=(t,e,n)=>{const i=p(t,".mm-listview")[0];i.innerHTML="";let s=0;return n.forEach((t=>{const n=p(t,`[data-mm-searchresult="${e}"]`);if(s+=n.length,n.length){const e=p(t,".mm-navbar__title")[0];if(e){const t=f("li.mm-divider");t.innerHTML=e.innerHTML,i.append(t)}n.forEach((t=>{i.append(t.cloneNode(!0))}))}})),s},X=t=>{p(t,".mm-listview")[0].innerHTML=""},G=(t,e)=>{let n=0;return e.forEach((e=>{const i=p(e,`[data-mm-searchresult="${t}"]`);n+=i.length,i.length&&i.forEach((e=>{const n=((t,e)=>{let n=[],i=t.previousElementSibling;for(;i;)!i.matches(e)||n.push(i),i=i.previousElementSibling;return n})(e,".mm-divider")[0];n&&(n.dataset.mmSearchresult=t)})),p(e,".mm-listitem, .mm-divider").forEach((e=>{e.classList[e.dataset.mmSearchresult===t?"remove":"add"]("mm-hidden")}))})),n},V=t=>{t.forEach((t=>{p(t,".mm-listitem, .mm-divider").forEach((t=>{t.classList.remove("mm-hidden")}))}))},Z=(t,e)=>{e&&Object.keys(e).forEach((n=>{t[n]=e[n]}))};var K={add:!1,addTo:"panels"},J={current:!0,hover:!1,parent:!1},Q={collapsed:{use:!1,blockMenu:!0},expanded:{use:!1,initial:"open"}};T.addons={offcanvas:function(){this.opts.offCanvas=this.opts.offCanvas||{},this.conf.offCanvas=this.conf.offCanvas||{};const t=o(this.opts.offCanvas,L),e=o(this.conf.offCanvas,P);if(!t.use)return;const n=["left","left-front","right","right-front","top","bottom"];n.includes(t.position)||(t.position=n[0]),this._api.push("open","close","setPage"),T.node.blck||this.bind("initMenu:before",(()=>{const t=f("a.mm-wrapper__blocker.mm-slideout");t.id=a(),t.title=this.i18n(e.screenReader.closeMenu),t.setAttribute("tabindex","-1"),document.querySelector(e.menu.insertSelector).append(t),T.node.blck=t})),this.bind("initMenu:before",(()=>{e.clone&&(this.node.menu=this.node.menu.cloneNode(!0),this.node.menu.id&&(this.node.menu.id=c(this.node.menu.id)),p(this.node.menu,"[id]").forEach((t=>{t.id=c(t.id)}))),this.node.wrpr=document.querySelector(e.menu.insertSelector),this.node.wrpr.classList.add(`mm-wrapper--position-${t.position}`),this.node.wrpr[e.menu.insertMethod](this.node.menu)})),this.bind("initMenu:after",(()=>{this.setPage(T.node.page),this.node.menu.classList.add("mm-menu--offcanvas",`mm-menu--position-${t.position}`);let e=window.location.hash;if(e){let t=u(this.node.menu.id);t&&t==e.slice(1)&&setTimeout((()=>{this.open()}),1e3)}})),document.addEventListener("click",(t=>{var e;switch(null===(e=t.target.closest("a"))||void 0===e?void 0:e.getAttribute("href")){case`#${u(this.node.menu.id)}`:t.preventDefault(),this.open();break;case`#${u(T.node.page.id)}`:t.preventDefault(),this.close()}})),document.addEventListener("keyup",(t=>{"Escape"==t.key&&this.close()})),document.addEventListener("keyup",(t=>{var e;"Tab"==t.key&&this.node.menu.matches(".mm-menu--opened")&&!(null===(e=document.activeElement)||void 0===e?void 0:e.closest(`#${this.node.menu.id}`))&&(console.log(document.activeElement),this.close())}))},scrollBugFix:function(){if(!k||!this.opts.offCanvas.use)return;if(this.opts.scrollBugFix=this.opts.scrollBugFix||{},!o(this.opts.scrollBugFix,A).fix)return;const t=(t=>{let e="",n=null;return t.addEventListener("touchstart",(t=>{1===t.touches.length&&(e="",n=t.touches[0].pageY)})),t.addEventListener("touchend",(t=>{0===t.touches.length&&(e="",n=null)})),t.addEventListener("touchmove",(t=>{if(e="",n&&1===t.touches.length){const i=t.changedTouches[0].pageY;i>n?e="down":i<n&&(e="up"),n=i}})),{get:()=>e}}
2)(this.node.menu);this.node.menu.addEventListener("scroll",(t=>{t.preventDefault(),t.stopPropagation()}),{passive:!1}),this.node.menu.addEventListener("touchmove",(e=>{let n=e.target.closest(".mm-panel, .mm-iconbar__top, .mm-iconbar__bottom");n&&n.closest(".mm-listitem--vertical")&&(n=((t,e)=>{let n=[],i=t.parentElement;for(;i;)n.push(i),i=i.parentElement;return n.filter((t=>t.matches(e)))})(n,".mm-panel").pop()),n?(n.scrollHeight===n.offsetHeight||0==n.scrollTop&&"down"==t.get()||n.scrollHeight==n.scrollTop+n.offsetHeight&&"up"==t.get())&&e.stopPropagation():e.stopPropagation()}),{passive:!1}),this.bind("open:after",(()=>{var t=m(this.node.pnls,".mm-panel--opened")[0];t&&(t.scrollTop=0)})),window.addEventListener("orientationchange",(t=>{var e=m(this.node.pnls,".mm-panel--opened")[0];e&&(e.scrollTop=0,e.style["-webkit-overflow-scrolling"]="auto",e.style["-webkit-overflow-scrolling"]="touch")}))},theme:function(){this.opts.theme=this.opts.theme||"light",this.bind("initMenu:after",(()=>{this.node.menu.classList.add(`mm-menu--theme-${this.opts.theme}`)}))},backButton:function(){if(this.opts.backButton=this.opts.backButton||{},!this.opts.offCanvas.use)return;const t=o(this.opts.backButton,O),e=`#${this.node.menu.id}`;if(t.close){var n=[];const t=()=>{n=[e],m(this.node.pnls,".mm-panel--opened, .mm-panel--parent").forEach((t=>{n.push("#"+t.id)}))};this.bind("open:after",(()=>{history.pushState(null,document.title,e)})),this.bind("open:after",t),this.bind("openPanel:after",t),this.bind("close:after",(()=>{n=[],history.back(),history.pushState(null,document.title,location.pathname+location.search)})),window.addEventListener("popstate",(t=>{if(this.node.menu.matches(".mm-menu--opened")&&n.length){var i=(n=n.slice(0,-1))[n.length-1];i==e?this.close():(this.openPanel(this.node.menu.querySelector(i)),history.pushState(null,document.title,e))}}))}t.open&&window.addEventListener("popstate",(t=>{this.node.menu.matches(".mm-menu--opened")||location.hash!=e||this.open()}))},counters:function(){if(this.opts.counters=this.opts.counters||{},!o(this.opts.counters,M).add)return;const t=t=>{const e=this.node.pnls.querySelector(`#${t.dataset.mmParent}`);if(!e)return;const n=e.querySelector(".mm-counter");if(!n)return;const i=[];m(t,".mm-listview").forEach((t=>{i.push(...m(t,".mm-listitem"))})),n.innerHTML=g(i).length.toString()},e=new MutationObserver((e=>{e.forEach((e=>{"class"==e.attributeName&&t(e.target.closest(".mm-panel"))}))}));this.bind("initListview:after",(e=>{const n=e.closest(".mm-panel"),i=this.node.pnls.querySelector(`#${n.dataset.mmParent}`);if(i){if(!p(i,".mm-counter").length){const t=m(i,".mm-btn")[0];null==t||t.prepend(f("span.mm-counter"))}t(n)}})),this.bind("initListitem:after",(t=>{const n=t.closest(".mm-panel");n&&this.node.pnls.querySelector(`#${n.dataset.mmParent}`)&&e.observe(t,{attributes:!0})}))},iconbar:function(){this.opts.iconbar=this.opts.iconbar||{};const t=o(this.opts.iconbar,D);if(!t.use)return;let e;if(["top","bottom"].forEach(((n,i)=>{let s=t[n];"array"!=r(s)&&(s=[s]);const o=f("div.mm-iconbar__"+n);for(let t=0,e=s.length;t<e;t++)"string"==typeof s[t]?o.innerHTML+=s[t]:o.append(s[t]);o.children.length&&(e||(e=f("div.mm-iconbar")),e.append(o))})),e){this.bind("initMenu:after",(()=>{this.node.menu.prepend(e)}));let n="mm-menu--iconbar-"+t.position,i=()=>{this.node.menu.classList.add(n)},s=()=>{this.node.menu.classList.remove(n)};if("boolean"==typeof t.use?this.bind("initMenu:after",i):_(t.use,i,s),"tabs"==t.type){e.classList.add("mm-iconbar--tabs"),e.addEventListener("click",(t=>{const e=t.target.closest(".mm-iconbar__tab");if(e)if(e.matches(".mm-iconbar__tab--selected"))t.stopImmediatePropagation();else try{const n=p(this.node.menu,`${e.getAttribute("href")}.mm-panel`)[0];n&&(t.preventDefault(),t.stopImmediatePropagation(),this.openPanel(n,!1))}catch(t){}}));const t=n=>{p(e,"a").forEach((t=>{t.classList.remove("mm-iconbar__tab--selected")}));const i=p(e,'[href="#'+n.id+'"]')[0];if(i)i.classList.add("mm-iconbar__tab--selected");else{const e=p(this.node.pnls,`#${n.dataset.mmParent}`)[0];e&&t(e.closest(".mm-panel"))}};this.bind("openPanel:before",t)}}},iconPanels:function(){this.opts.iconPanels=this.opts.iconPanels||{};const t=o(this.opts.iconPanels,z);let e=!1;if("first"==t.visible&&(e=!0,t.visible=1),t.visible=Math.min(3,Math.max(1,t.visible)),t.visible++,t.add){if(this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--iconpanel")})),this.bind("initPanel:after",(t=>{t.tabIndex=-1})),this.bind("initPanels:after",(()=>{document.addEventListener("keyup",(t=>{var e;if("Tab"===t.key&&(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".mm-menu"))===this.node.menu){const e=document.activeElement.closest(".mm-panel");!document.activeElement.matches(".mm-panel__blocker")&&(null==e?void 0:e.matches(".mm-panel--parent"))&&(t.shiftKey?m(e,".mm-panel__blocker")[0].focus():m(this.node.pnls,".mm-panel--opened")[0].focus())}}))})),e)this.bind("initMenu:after",(()=>{var t;null===(t=m(this.node.pnls,".mm-panel")[0])||void 0===t||t.classList.add("mm-panel--iconpanel-first")}));else{const e=["mm-panel--iconpanel-0","mm-panel--iconpanel-1","mm-panel--iconpanel-2","mm-panel--iconpanel-3"];this.bind("openPanel:after",(n=>{if(n.parentElement.matches(".mm-listitem--vertical"))return;let i=m(this.node.pnls,".mm-panel");i=i.filter((t=>t.matches(".mm-panel--parent"))),i.push(n),i=i.slice(-t.visible),i.forEac
2h(((t,n)=>{t.classList.remove(...e),t.classList.add("mm-panel--iconpanel-"+n)}))}))}this.bind("initPanel:after",(e=>{if(t.blockPanel&&!e.parentElement.matches(".mm-listitem--vertical")&&!m(e,".mm-panel__blocker")[0]){const t=f("a.mm-panel__blocker");t.href=`#${e.closest(".mm-panel").id}`,t.title=this.i18n(this.conf.screenReader.closeSubmenu),e.prepend(t)}}))}},navbars:I,pageScroll:function(){this.opts.pageScroll=this.opts.pageScroll||{},this.conf.pageScroll=this.conf.pageScroll||{};const t=o(this.opts.pageScroll,N),e=o(this.conf.pageScroll,F);var n;function i(){n&&window.scrollTo({top:n.getBoundingClientRect().top+document.scrollingElement.scrollTop-e.scrollOffset,behavior:"smooth"}),n=null}function s(t){try{if("#"==t.slice(0,1))return p(T.node.page,t)[0]}catch(t){}return null}if(this.opts.offCanvas.use&&t.scroll&&(this.bind("close:after",(()=>{i()})),this.node.menu.addEventListener("click",(t=>{var e,o;const r=(null===(o=null===(e=t.target)||void 0===e?void 0:e.closest("a[href]"))||void 0===o?void 0:o.getAttribute("href"))||"";(n=s(r))&&(t.preventDefault(),this.node.menu.matches(".mm-menu--sidebar-expanded")&&this.node.wrpr.matches(".mm-wrapper--sidebar-expanded")?i():this.close())}))),t.update){let t=[];this.bind("initListview:after",(e=>{const n=m(e,".mm-listitem");v(n).forEach((e=>{const n=s(e.getAttribute("href"));n&&t.unshift(n)}))}));let n=-1;window.addEventListener("scroll",(i=>{const s=window.scrollY;for(var o=0;o<t.length;o++)if(t[o].offsetTop<s+e.updateOffset){if(n!==o){n=o;let e=m(this.node.pnls,".mm-panel--opened")[0],i=p(e,".mm-listitem"),s=v(i);s=s.filter((e=>e.matches('[href="#'+t[o].id+'"]'))),s.length&&this.setSelected(s[0].parentElement)}break}}),{passive:!0})}},searchfield:function(){this.opts.searchfield=this.opts.searchfield||{},this.conf.searchfield=this.conf.searchfield||{};const t=o(this.opts.searchfield,H);if(o(this.conf.searchfield,B),t.add){switch(t.addTo){case"panels":t.addTo=".mm-panel";break;case"searchpanel":t.addTo=".mm-panel--search"}"panels"===t.searchIn&&(t.searchIn=".mm-panel"),this.bind("initPanel:after",(e=>{e.matches(t.addTo)&&!e.closest(".mm-listitem--vertical")&&q.call(this,e)})),this.bind("initMenu:after",(()=>{const e=j.call(this);q.call(this,e),p(this.node.menu,t.addTo).forEach((n=>{if(!n.matches(".mm-panel")){const i=W.call(this,!0);n.append(i);const s=p(i,"input")[0];t.splash.length?(s.addEventListener("focusin",(()=>{this.openPanel(e,!1,!1)})),this.bind("openPanel:after",(t=>{t.matches(".mm-panel--search")?i.classList.add("mm-searchfield--cancelable"):i.classList.remove("mm-searchfield--cancelable")}))):(this.bind("search:after",(()=>{this.openPanel(e,!1,!1)})),s.addEventListener("focusout",(()=>{s.value.length||this.closePanel(e,!1)}))),U.call(this,i)}}))})),this.bind("close:before",(()=>{p(this.node.menu,".mm-searchfield input").forEach((t=>{t.blur()}))}))}},sectionIndexer:function(){this.opts.sectionIndexer=this.opts.sectionIndexer||{},o(this.opts.sectionIndexer,K).add&&this.bind("initPanels:after",(()=>{if(!this.node.indx){let t="";"abcdefghijklmnopqrstuvwxyz".split("").forEach((e=>{t+='<a href="#">'+e+"</a>"}));let e=f("div.mm-sectionindexer");e.innerHTML=t,this.node.pnls.prepend(e),this.node.indx=e,this.node.indx.addEventListener("click",(t=>{t.target.matches("a")&&t.preventDefault()}));let n=t=>{if(!t.target.matches("a"))return;const e=t.target.textContent,n=m(this.node.pnls,".mm-panel--opened")[0];let i=-1,s=n.scrollTop;n.scrollTop=0,p(n,".mm-divider").filter((t=>!t.matches(".mm-hidden"))).forEach((t=>{i<0&&e==t.textContent.trim().slice(0,1).toLowerCase()&&(i=t.offsetTop)})),n.scrollTop=i>-1?i:s};k?(this.node.indx.addEventListener("touchstart",n),this.node.indx.addEventListener("touchmove",n)):this.node.indx.addEventListener("mouseover",n)}this.bind("openPanel:before",(t=>{const e=p(t,".mm-divider").filter((t=>!t.matches(".mm-hidden"))).length;this.node.indx.classList[e?"add":"remove"]("mm-sectionindexer--active")}))}))},setSelected:function(){this.opts.setSelected=this.opts.setSelected||{};const t=o(this.opts.setSelected,J);if("detect"==t.current){const t=e=>{e=e.split("?")[0].split("#")[0];const n=this.node.menu.querySelector('a[href="'+e+'"], a[href="'+e+'/"]');if(n)this.setSelected(n.parentElement);else{const n=e.split("/").slice(0,-1);n.length&&t(n.join("/"))}};this.bind("initMenu:after",(()=>{t.call(this,window.location.href)}))}else t.current||this.bind("initListview:after",(t=>{m(t,".mm-listitem--selected").forEach((t=>{t.classList.remove("mm-listitem--selected")}))}));t.hover&&this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--selected-hover")})),t.parent&&(this.bind("openPanel:after",(t=>{p(this.node.pnls,".mm-listitem--selected-parent").forEach((t=>{t.classList.remove("mm-listitem--selected-parent")}));let e=t;for(;e;){let t=p(this.node.pnls,`#${e.dataset.mmParent}`)[0];e=null==t?void 0:t.closest(".mm-panel"),t&&!t.matches(".mm-listitem--vertical")&&t.classList.add("mm-listitem--selected-parent")}})),this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--selected-parent")})))},sidebar:function(){if(!this.opts.offCanvas.use)return;this.opts.sidebar=this.opts.sidebar||{};const t=o(this.opts.sidebar,Q);if(t.collapsed.use){this.bind("initMenu:after",(()=>{if(this.node.menu.classList.add("mm-menu--sidebar-collapsed"),t.collapsed.blockMenu&&!m(this.node.menu,".mm-menu__blocker")[0]){const t=f("a.mm-menu__blocker");t.setAttribute("href",`#${this.node.menu.id}`),this.node.menu.prepend(t),t.title=this.i18n(this.conf.screenReader.openMenu)}}));let e=()=>{this.node.wrpr.classList.add("mm-wrapper--sidebar-collapsed")},n=()=>{this.node.wrpr.classList.remove("mm-wrapper--sidebar-collapsed")};"boolean"==typeof t.collapsed.use?this.bind("initMenu:after",e):_(t.collapsed.use,e,n)}if(t.expanded.use){this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--sidebar-expanded")}));let e=!1,n=()=>{e=!0,this.node.wrpr.classList.add("mm-wrapper--sidebar-expanded"),this.open()},i=()=>{e=!1,this.node.wrpr.classList.remove("mm-wrapper--sidebar-expanded"),this.close()};"boolean"==typeof t.expanded.use?this.bind("initMenu:after",n):_(t.expanded.use,n,i),this.bind("close:after",(()=>{e&&window.sessionStorage.setItem("mmenuExpandedState","closed")})),this.bind("open:after",(()=>{e&&window.sessionStorage.setItem("mmenuExpandedState","open")}));let s=t.expanded.initial;const o=window.sessionStorage.getItem("mmenuExpandedState");switch(o){case"open":case"closed":s=o}"closed"==s&&this.bind("init:after",(()=>{this.close()}))}}};var tt=T;window&&(window.Mmenu=T)},686:function(t,e,n){var i,s,o;s=[n(567)],i=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,i,s;return e&&e.requirejs||(e?i=e:e={},function(t){var e,o,r,a,l={},c={},u={},h={},d=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function m(t,e){return d.call(t,e)}function g(t,e){var n,i,s,o,r,a,l,c,h,d,f,m=e&&e.split("/"),g=u.map,v=g&&g["*"]||{};if(t){for(r=(t=t.split("/")).length-1,u.nodeIdCompat&&p.test(t[r])&&(t[r]=t[r].replace(p,"")),"."===t[0].charAt(0)&&m&&(t=m.slice(0,m.length-1).concat(t)),h=0;h<t.length;h++)if("."===(f=t[h]))t.splice(h,1),h-=1;else if(".."===f){if(0===h||1===h&&".."===t[2]||".."===t[h-1])continue;h>0&&(t.splice(h-1,2),h-=2)}t=t.join("/")}if((m||v)&&g){for(h=(n=t.split("/")).length;h>0;
vendor: 9,196 bytes, line 2
2h-=1){if(i=n.slice(0,h).join("/"),m)for(d=m.length;d>0;d-=1)if((s=g[m.slice(0,d).join("/")])&&(s=s[i])){o=s,a=h;break}if(o)break;!l&&v&&v[i]&&(l=v[i],c=h)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),t=n.join("/"))}return t}function v(e,n){return function(){var i=f.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),o.apply(t,i.concat([e,n]))}}function y(t){return function(e){l[t]=e}}function b(n){if(m(c,n)){var i=c[n];delete c[n],h[n]=!0,e.apply(t,i)}if(!m(l,n)&&!m(h,n))throw new Error("No "+n);return l[n]}function _(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function w(t){return t?_(t):[]}function x(t){return function(){return u&&u.config&&u.config[t]||{}}}r=function(t,e){var n,i,s=_(t),o=s[0],r=e[1];return t=s[1],o&&(n=b(o=g(o,r))),o?t=n&&n.normalize?n.normalize(t,(i=r,function(t){return g(t,i)})):g(t,r):(o=(s=_(t=g(t,r)))[0],t=s[1],o&&(n=b(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},a={require:function(t){return v(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:x(t)}}},e=function(e,n,i,s){var o,u,d,f,p,g,_,x=[],S=typeof i;if(g=w(s=s||e),"undefined"===S||"function"===S){for(n=!n.length&&i.length?["require","exports","module"]:n,p=0;p<n.length;p+=1)if("require"===(u=(f=r(n[p],g)).f))x[p]=a.require(e);else if("exports"===u)x[p]=a.exports(e),_=!0;else if("module"===u)o=x[p]=a.module(e);else if(m(l,u)||m(c,u)||m(h,u))x[p]=b(u);else{if(!f.p)throw new Error(e+" missing "+u);f.p.load(f.n,v(s,!0),y(u),{}),x[p]=l[u]}d=i?i.apply(l[e],x):void 0,e&&(o&&o.exports!==t&&o.exports!==l[e]?l[e]=o.exports:d===t&&_||(l[e]=d))}else e&&(l[e]=i)},n=i=o=function(n,i,s,l,c){if("string"==typeof n)return a[n]?a[n](i):b(r(n,w(i)).f);if(!n.splice){if((u=n).deps&&o(u.deps,u.callback),!i)return;i.splice?(n=i,i=s,s=null):n=t}return i=i||function(){},"function"==typeof s&&(s=l,l=c),l?e(t,n,i,s):setTimeout((function(){e(t,n,i,s)}),4),o},o.config=function(t){return o(t)},n._defined=l,(s=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),m(l,t)||m(c,t)||(c[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=i,e.define=s),e.define("almond",(function(){})),e.define("jquery",[],(function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e})),e.define("select2/utils",["jquery"],(function(t){var e={};function n(t){var e=t.prototype,n=[];for(var i in e)"function"==typeof e[i]&&"constructor"!==i&&n.push(i);return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function i(){this.constructor=t}for(var s in e)n.call(e,s)&&(t[s]=e[s]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},e.Decorate=function(t,e){var i=n(e),s=n(t);function o(){var n=Array.prototype.unshift,i=e.prototype.constructor.length,s=t.prototype.constructor;i>0&&(n.call(arguments,t.prototype.constructor),s=e.prototype.constructor),s.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var r=0;r<s.length;r++){var a=s[r];o.prototype[a]=t.prototype[a]}for(var l=function(t){var n=function(){};t in o.prototype&&(n=o.prototype[t]);var i=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,n),i.apply(this,arguments)}},c=0;c<i.length;c++){var u=i[c];o.prototype[u]=l(u)}return o};var i=function(){this.listeners={}};i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},e.Observable=i,e.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var s=0;s<n.length;s++){var o=n[s];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),s==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},e.hasScroll=function(e,n){var i=t(n),s=n.style.overflowX,o=n.style.overflowY;return(s!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===s||"scroll"===o||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},e.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))},e.__cache={};var s=0;return e.GetUniqueElementId=function(t){var n=t.getAttribute("data-select2-id");return null!=n||(n=t.id?"select2-data-"+t.id:"select2-data-"+(++s).toString()+"-"+e.generateChars(4),t.setAttribute("data-select2-id",n)),n},e.StoreData=function(t,n,i){var s=e.GetUniqueElementId(t);e.__cache[s]||(e.__cache[s]={}),e.__cache[s][n]=i},e.GetData=function(n,i){var s=e.GetUniqueElementId(n);return i?e.__cache[s]&&null!=e.__cache[s][i]?e.__cache[s][i]:t(n).data(i):e.__cache[s]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e.copyNonInternalCssClasses=function(t,e){var n=t.getAttribute("class").trim().split(/\s+/);n=n.filter((function(t){return 0===t.indexOf("select2-")}));var i=e.getAttribute("class").trim().split(/\s+/);i=i.filter((function(t){return 0!==t.indexOf("select2-")}));var s=n.concat(i);t.setAttribute("class",s.join(" "))},e})),e.define("select2/results",["jquery","./utils"],(function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),s=this.options.get("translations").get(e.message);i.append(n(s(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],s=this.option(i);e.push(s)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option--selectable"),e=t.filter(".select2-results__option--selected");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(i){var s=i.map((function(t){return t.id.toString()}));n.$results.find(".select2-results__option--selectable").each((function(){var n=t(this),i=e.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&s.indexOf(o)>-1?(this.classList.add("select2-results__option--selected"),n.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),n.attr("aria-selected","false"))}))}))},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.classList.add("select2-results__option"),i.classList.add("select2-results__option--selectable");var s={role:"option"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(s["aria-disabled"]="true",i.classList.remove("select2-results__option--selectable"),i.classList.add("select2-results__option--disabled")),null==n.id&&i.classList.remove("select2-results__option--selectable"),null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(s.role="group",s["aria-label"]=n.text,i.classList.remove("select2-results__option--selectable"),i.classList.add("select2-results__option--group")),s){var a=s[r];i.setAttribute(r,a)}
2if(n.children){var l=t(i),c=document.createElement("strong");c.className="select2-results__group",this.template(n,c);for(var u=[],h=0;h<n.children.length;h++){var d=n.children[h],f=this.option(d);u.push(f)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});p.append(u),l.append(c),l.append(p)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var s=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",(function(t){s.clear(),s.append(t.data),n.isOpen()&&(s.setClasses(),s.highlightFirstItem())})),n.on("results:append",(function(t){s.append(t.data),n.isOpen()&&s.setClasses()})),n.on("query",(function(t){s.hideMessages(),s.showLoading(t)})),n.on("select",(function(){n.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())})),n.on("open",(function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()})),n.on("close",(function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var t=s.getHighlightedResults();0!==t.length&&t.trigger("mouseup")})),n.on("results:select",(function(){var t=s.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");t.hasClass("select2-results__option--selected")?s.trigger("close",{}):s.trigger("select",{data:n})}})),n.on("results:previous",(function(){var t=s.getHighlightedResults(),e=s.$results.find(".select2-results__option--selectable"),n=e.index(t);if(!(n<=0)){var i=n-1;0===t.length&&(i=0);var o=e.eq(i);o.trigger("mouseenter");var r=s.$results.offset().top,a=o.offset().top,l=s.$results.scrollTop()+(a-r);0===i?s.$results.scrollTop(0):a-r<0&&s.$results.scrollTop(l)}})),n.on("results:next",(function(){var t=s.getHighlightedResults(),e=s.$results.find(".select2-results__option--selectable"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var o=s.$results.offset().top+s.$results.outerHeight(!1),r=i.offset().top+i.outerHeight(!1),a=s.$results.scrollTop()+r-o;0===n?s.$results.scrollTop(0):r>o&&s.$results.scrollTop(a)}})),n.on("results:focus",(function(t){t.element[0].classList.add("select2-results__option--highlighted"),t.element[0].setAttribute("aria-selected","true")})),n.on("results:message",(function(t){s.displayMessage(t)})),t.fn.mousewheel&&this.$results.on("mousewheel",(function(t){var e=s.$results.scrollTop(),n=s.$results.get(0).scrollHeight-e+t.deltaY,i=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=s.$results.height();i?(s.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),t.preventDefault(),t.stopPropagation())})),this.$results.on("mouseup",".select2-results__option--selectable",(function(n){var i=t(this),o=e.GetData(this,"data");i.hasClass("select2-results__option--selected")?s.options.get("multiple")?s.trigger("unselect",{originalEvent:n,data:o}):s.trigger("close",{}):s.trigger("select",{originalEvent:n,data:o})})),this.$results.on("mouseenter",".select2-results__option--selectable",(function(n){var i=e.GetData(this,"data");s.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),s.trigger("results:focus",{data:i,element:t(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find(".select2-results__option--selectable").index(t),n=this.$results.offset().top,i=t.offset().top,s=this.$results.scrollTop()+(i-n),o=i-n;s-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(s)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),o=i(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=s(o):t(n).append(o)},n})),e.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),e.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t,e){var i=this,s=t.id+"-results";this.container=t,this.$selection.on("focus",(function(t){i.trigger("focus",t)})),this.$selection.on("blur",(function(t){i._handleBlur(t)})),this.$selection.on("keydown",(function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()})),t.on("results:focus",(function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)})),t.on("selection:update",(function(t){i.update(t.data)})),t.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",s),i._attachCloseHandler(t)})),t.on("close",(function(){i.$selection.attr("aria-expanded","fal
2se"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)})),t.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")})),t.on("disable",(function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")}))},i.prototype._handleBlur=function(e){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)}),1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,(function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each((function(){this!=i[0]&&e.GetData(this,"element").select2("close")}))}))},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i})),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,n,i){function s(){s.__super__.constructor.apply(this,arguments)}return n.Extend(s,e),s.prototype.render=function(){var t=s.__super__.render.call(this);return t[0].classList.add("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},s.prototype.bind=function(t,e){var n=this;s.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.attr("aria-controls",i),this.$selection.on("mousedown",(function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})})),this.$selection.on("focus",(function(t){})),this.$selection.on("blur",(function(t){})),t.on("focus",(function(e){t.isOpen()||n.$selection.trigger("focus")}))},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},s.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},s.prototype.selectionContainer=function(){return t("<span></span>")},s.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var s=e.title||e.text;s?n.attr("title",s):n.removeAttr("title")}else this.clear()},s})),e.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t[0].classList.add("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,s){var o=this;i.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r),this.$selection.on("click",(function(t){o.trigger("toggle",{originalEvent:t})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!o.isDisabled()){var i=t(this).parent(),s=n.GetData(i[0],"data");o.trigger("unselect",{originalEvent:e,data:s})}})),this.$selection.on("keydown",".select2-selection__choice__remove",(function(t){o.isDisabled()||t.stopPropagation()}))},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",s=0;s<t.length;s++){var o=t[s],r=this.selectionContainer(),a=this.display(o,r),l=i+n.generateChars(4)+"-";
vendor: 6,841 bytes, line 2
2o.id?l+=o.id:l+=n.generateChars(4),r.find(".select2-selection__choice__display").append(a).attr("id",l);var c=o.title||o.text;c&&r.attr("title",c);var u=this.options.get("translations").get("removeItem"),h=r.find(".select2-selection__choice__remove");h.attr("title",u()),h.attr("aria-label",u()),h.attr("aria-describedby",l),n.StoreData(r[0],"data",o),e.push(r)}this.$selection.find(".select2-selection__rendered").append(e)}},i})),e.define("select2/selection/placeholder",[],(function(){function t(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();n.html(this.display(e)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice");var i=e.title||e.text||n.text();return this.$selection.find(".select2-selection__rendered").attr("title",i),n},t.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t})),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(t){i._handleClear(t)})),e.on("keypress",(function(t){i._handleKeyboardClear(t,e)}))},i.prototype._handleClear=function(t,e){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var s=n.GetData(i[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var r={data:s};if(this.trigger("clear",r),r.prevented)this.$element.val(o);else{for(var a=0;a<s.length;a++)if(r={data:s[a]},this.trigger("unselect",r),r.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},i.prototype.update=function(e,i){if(e.call(this,i),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var s=this.$selection.find(".select2-selection__rendered").attr("id"),o=this.options.get("translations").get("removeAllItems"),r=t('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>');r.attr("title",o()),r.attr("aria-label",o()),r.attr("aria-describedby",s),n.StoreData(r[0],"data",i),this.$selection.prepend(r),this.$selection[0].classList.add("select2-selection--clearable")}},i})),e.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=this.options.get("translations").get("search"),i=t('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');this.$searchContainer=i,this.$search=i.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n());var s=e.call(this);return this._transferTabIndex(),s.append(this.$searchContainer),s},i.prototype.bind=function(t,i,s){var o=this,r=i.id+"-results",a=i.id+"-container";t.call(this,i,s),o.$search.attr("aria-describedby",a),i.on("open",(function(){o.$search.attr("aria-controls",r),o.$search.trigger("focus")})),i.on("close",(function(){o.$search.val(""),o.resizeSearch(),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),i.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),i.on("disable",(function(){o.$search.prop("disabled",!0)})),i.on("focus",(function(t){o.$search.trigger("focus")})),i.on("results:focus",(function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(t){o.trigger("focus",t)})),this.$selection.on("focusout",".select2-search--inline",(function(t){o._handleBlur(t)})),this.$selection.on("keydown",".select2-search--inline",(function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var i=o.$selection.find(".select2-selection__choice").last();if(i.length>0){var s=e.GetData(i[0],"data");o.searchRemoveChoice(s),t.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(t){o.$search.val()&&t.stopPropagation()}));var l=document.documentMode,c=l&&l<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){c?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(c&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}}))},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="100%";""===this.$search.attr("placeholder")&&(t=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",t)},i})),e.define("select2/selection/selectionCss",["../utils"],(function(t){function e(){}return e.prototype.render=function(e){var n=e.call(this),i=this.options.get("selectionCssClass")||"";return-1!==i.indexOf(":all:")&&(i=i.replace(":all:",""),t.copyNonInternalCssClasse
2s(n[0],this.$element[0])),n.addClass(i),n},e})),e.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}return e.prototype.bind=function(e,n,i){var s=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",(function(e,n){if(-1!==o.indexOf(e)){n=n||{};var i=t.Event("select2:"+e,{params:n});s.$element.trigger(i),-1!==r.indexOf(e)&&(n.prevented=i.isDefaultPrevented())}}))},e})),e.define("select2/translation",["jquery","require"],(function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n})),e.define("select2/diacritics",[],(function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
2V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}})),e.define("select2/data/base",["../utils"],(function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e})),e.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=this;t(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),(function(t){return e.item(n(t))})))},i.prototype.select=function(t){var e=this;if(t.selected=!0,null!=t.element&&"option"===t.element.tagName.toLowerCase())return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var i=[];(t=[t]).push.apply(t,n);for(var s=0;s<t.length;s++){var o=t[s].id;-1===i.indexOf(o)&&i.push(o)}e.$element.val(i),e.$element.trigger("input").trigger("change")}));else{var n=t.id;this.$element.val(n),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,null!=t.element&&"option"===t.element.tagName.toLowerCase())return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(n){for(var i=[],s=0;s<n.length;s++){var o=n[s].id;o!==t.id&&-1===i.indexOf(o)&&i.push(o)}e.$element.val(i),e.$element.trigger("input").trigger("change")}))}},i.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",(function(t){n.select(t.data)})),t.on("unselect",(function(t){n.unselect(t.data)}))},i.prototype.destroy=function(){this.$element.find("*").each((function(){e.RemoveData(this)}))},i.prototype.query=function(t,e){var i=[],s=this;this.$element.children().each((function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var e=n(this),o=s.item(e),r=s.matches(t,o);null!==r&&i.push(r)}})),e({results:i})},i.prototype.addOptions=function(t){this.$element.append(t)},i.prototype.option=function(t){var i;t.children?(i=document.createElement("optgroup")).label=t.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=t.text:i.innerText=t.text,void 0!==t.id&&(i.value=t.id),t.disabled&&(i.disabled=!0),t.selected&&(i.selected=!0),t.title&&(i.title=t.title);var s=this._normalizeItem(t);return s.element=i,e.StoreData(i,"data",s),n(i)},i.prototype.item=function(t){var i={};if(null!=(i=e.GetData(t[0],"data")))return i;var s=t[0];if("option"===s.tagName.toLowerCase())i={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if("optgroup"===s.tagName.toLowerCase()){i={text:t.prop("label"),children:[],title:t.prop("title")};for(var o=t.children("option"),r=[],a=0;a<o.length;a++){var l=n(o[a]),c=this.item(l);r.push(c)}i.children=r}return(i=this._normalizeItem(i)).element=t[0],e.StoreData(t[0],"data",i),i},i.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i})),e.define("select2/data/array",["./select","../utils","jquery"],(function(t,e,n){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(t){var e=this.$element.find("option").filter((function(e,n){return n.value==t.id.toString()}));0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){var e=this,i=this.$element.find("option"),s=i.map((function(){return e.item(n(this)).id})).get(),o=[];function r(t){return function(){return n(this).val()==t.id}}for(var a=0;a<t.length;a++){var l=this._normalizeItem(t[a]);if(s.indexOf(l.id)>=0){var c=i.filter(r(l)),u=this.item(c),h=n.extend(!0,{},l,u),d=this.option(h);c.replaceWith(d)}else{var f=this.option(l);if(l.children){var p=this.convertToOptions(l.children);f.append(p)}o.push(f)}}return o},i})),e.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})}
2,transport:function(t,e,i){var s=n.ajax(t);return s.then(e),s.fail(i),s}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){var i=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var s=n.extend({type:"GET"},this.ajaxOptions);function o(){var n=s.transport(s,(function(n){var s=i.processResults(n,t);i.options.get("debug")&&window.console&&console.error&&(s&&s.results&&Array.isArray(s.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(s)}),(function(){(!("status"in n)||0!==n.status&&"0"!==n.status)&&i.trigger("results:message",{message:"errorLoading"})}));i._request=n}"function"==typeof s.url&&(s.url=s.url.call(this.$element,t)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},i})),e.define("select2/data/tags",["jquery"],(function(t){function e(t,e,n){var i=n.get("tags"),s=n.get("createTag");void 0!==s&&(this.createTag=s);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),t.call(this,e,n),Array.isArray(i))for(var r=0;r<i.length;r++){var a=i[r],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var i=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,(function t(s,o){for(var r=s.results,a=0;a<r.length;a++){var l=r[a],c=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||c)return!o&&(s.data=r,void n(s))}if(o)return!0;var u=i.createTag(e);if(null!=u){var h=i.option(u);h.attr("data-select2-tag","true"),i.addOptions([h]),i.insertTag(r,u)}s.results=r,n(s)})):t.call(this,e,n)},e.prototype.createTag=function(t,e){if(null==e.term)return null;var n=e.term.trim();return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each((function(){this.selected||t(this).remove()}))},e})),e.define("select2/data/tokenizer",["jquery"],(function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){var s=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,(function(e){var n=s._normalizeItem(e);if(!s.$element.find("option").filter((function(){return t(this).val()===n.id})).length){var i=s.option(n);i.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([i])}!function(t){s.trigger("select",{data:t})}(n)}));o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,s){for(var o=i.get("tokenSeparators")||[],r=n.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<r.length;){var c=r[a];if(-1!==o.indexOf(c)){var u=r.substr(0,a),h=l(t.extend({},n,{term:u}));null!=h?(s(h),r=r.substr(a+1)||"",a=0):a++}else a++}return{term:r}},e})),e.define("select2/data/minimumInputLength",[],(function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumInputLength",[],(function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",(function(){i._checkIfMaximumSelected()}))},t.prototype.query=function(t,e,n){var i=this;
2this._checkIfMaximumSelected((function(){t.call(i,e,n)}))},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current((function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()}))},t})),e.define("select2/dropdown",["jquery","./utils"],(function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),e.define("select2/dropdown/search",["jquery"],(function(t){function e(){}return e.prototype.render=function(e){var n=e.call(this),i=this.options.get("translations").get("search"),s=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=s,this.$search=s.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",i()),n.prepend(s),n},e.prototype.bind=function(e,n,i){var s=this,o=n.id+"-results";e.call(this,n,i),this.$search.on("keydown",(function(t){s.trigger("keypress",t),s._keyUpPrevented=t.isDefaultPrevented()})),this.$search.on("input",(function(e){t(this).off("keyup")})),this.$search.on("keyup input",(function(t){s.handleSearch(t)})),n.on("open",(function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",o),s.$search.trigger("focus"),window.setTimeout((function(){s.$search.trigger("focus")}),0)})),n.on("close",(function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||s.$search.trigger("focus")})),n.on("results:all",(function(t){null!=t.query.term&&""!==t.query.term||(s.showSearch(t)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))})),n.on("results:focus",(function(t){t.data._resultId?s.$search.attr("aria-activedescendant",t.data._resultId):s.$search.removeAttr("aria-activedescendant")}))},e.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e})),e.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var s=e[i];this.placeholder.id===s.id&&n.splice(i,1)}return n},t})),e.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",(function(t){i.lastParams=t,i.loading=!0})),e.on("query:append",(function(t){i.lastParams=t,i.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e})),e.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)})),e.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(e)})),this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e[0].classList.remove("select2"),e[0].classList.add("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var s=this,o="scroll.
2select2."+i.id,r="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})})),l.on(o,(function(n){var i=e.GetData(this,"select2-scroll-position");t(this).scrollTop(i.y)})),t(window).on(o+" "+r+" "+a,(function(t){s._positionDropdown(),s._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,i){var s="scroll.select2."+i.id,o="resize.select2."+i.id,r="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(s),t(window).off(s+" "+o+" "+r)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown[0].classList.contains("select2-dropdown--above"),i=this.$dropdown[0].classList.contains("select2-dropdown--below"),s=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=o.top,r.bottom=o.top+r.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=l<o.top-a,h=c>o.bottom+a,d={left:o.left,top:r.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(t.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),d.top-=p.top,d.left-=p.left,n||i||(s="below"),h||!u||n?!u&&h&&n&&(s="below"):s="above",("above"==s||n&&"below"!==s)&&(d.top=r.top-p.top-a),null!=s&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+s),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+s)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),e.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(e){for(var n=0,i=0;i<e.length;i++){var s=e[i];s.children?n+=t(s.children):n++}return n}function e(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e})),e.define("select2/dropdown/selectOnClose",["../utils"],(function(t){function e(){}return e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",(function(t){i._handleSelectOnClose(t)}))},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var s=this.getHighlightedResults();if(!(s.length<1)){var o=t.GetData(s[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e})),e.define("select2/dropdown/closeOnSelect",[],(function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",(function(t){i._selectTriggered(t)})),e.on("unselect",(function(t){i._selectTriggered(t)}))},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t})),e.define("select2/dropdown/dropdownCss",["../utils"],(function(t){function e(){}return e.prototype.render=function(e){var n=e.call(this),i=this.options.get("dropdownCssClass")||"";return-1!==i.indexOf(":all:")&&(i=i.replace(":all:",""),t.copyNonInternalCssClasses(n[0],this.$element[0])),n.addClass(i),n},e})),e.define("select2/dropdown/tagsSearchHighlight",["../utils"],(function(t){function e(){}return e.prototype.highlightFirstItem=function(e){var n=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(n.length>0){var i=n.first(),s=t.GetData(i[0],"data").element;if(s&&s.getAttribute&&"true"===s.getAttribute("data-select2-tag"))return void i.trigger("mouseenter")}e.call(this)},e})),e.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}})),e.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],(function(t,e,n,i,s,o,r,a,l,c,u,h,d,f,p,m,g,v,y,b,_,w,x,S,E,$,C,T,L,P,A){function k(){this.reset()}return k.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter&&(null!=u.ajax?u.dataAdapter=p:null!=u.data?u.dataAdapter=f:u.dataAdapter=d,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g))),null==u.resultsAdapter&&(u.resultsAdapter=e,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,S)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,C)),u.tags&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,P))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=_;else{var h=c.Decorate(_,w);u.dropdownAdapter=h}0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,$)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)),null!=u.dropdownCssClass&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,L)),u.dropdownAdapter=c.Decorate(u.dropdownAdapter,E)}null==u.selectionAdapter&&(u.multiple?u.selectionAdapter=i:u.selectionAdapter=n,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s
vendor: 10,017 bytes, line 2
2)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),null!=u.selectionCssClass&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),u.selectionAdapter=c.Decorate(u.selectionAdapter,l)),u.language=this._resolveLanguage(u.language),u.language.push("en");for(var A=[],k=0;k<u.language.length;k++){var O=u.language[k];-1===A.indexOf(O)&&A.push(O)}return u.language=A,u.translations=this._processTranslations(u.language,u.debug),u},k.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,(function(t){return h[t]||t}))}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(i,s){if(null==i.term||""===i.term.trim())return s;if(s.children&&s.children.length>0){for(var o=t.extend(!0,{},s),r=s.children.length-1;r>=0;r--)null==n(i,s.children[r])&&o.children.splice(r,1);return o.children.length>0?o:n(i,o)}var a=e(s.text).toUpperCase(),l=e(i.term).toUpperCase();return a.indexOf(l)>-1?s:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},k.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,s=e.prop("lang"),o=e.closest("[lang]").prop("lang"),r=Array.prototype.concat.call(this._resolveLanguage(s),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return t.language=r,t},k.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=Array.isArray(e)?e:[e];for(var i=[],s=0;s<n.length;s++)if(i.push(n[s]),"string"==typeof n[s]&&n[s].indexOf("-")>0){var o=n[s].split("-")[0];i.push(o)}return i},k.prototype._processTranslations=function(e,n){for(var i=new u,s=0;s<e.length;s++){var o=new u,r=e[s];if("string"==typeof r)try{o=u.loadPath(r)}catch(t){try{r=this.defaults.amdLanguageBase+r,o=u.loadPath(r)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+r+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(r)?new u(r):r;i.extend(o)}return i},k.prototype.set=function(e,n){var i={};i[t.camelCase(e)]=n;var s=c._convertData(i);t.extend(!0,this.defaults,s)},new k})),e.define("select2/options",["jquery","./defaults","./utils"],(function(t,e,n){function i(t,n){this.options=t,null!=n&&this.fromElement(n),null!=n&&(this.options=e.applyFromElement(this.options,n)),this.options=e.apply(this.options)}return i.prototype.fromElement=function(e){var i=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.autocomplete&&e.prop("autocomplete")&&(this.options.autocomplete=e.prop("autocomplete")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),n.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(e[0],"data",n.GetData(e[0],"select2Tags")),n.StoreData(e[0],"tags",!0)),n.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",n.GetData(e[0],"ajaxUrl")),n.StoreData(e[0],"ajax-Url",n.GetData(e[0],"ajaxUrl")));var s={};function o(t,e){return e.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var a=e[0].attributes[r].name,l="data-";if(a.substr(0,l.length)==l){var c=a.substring(l.length),u=n.GetData(e[0],c);s[c.replace(/-([a-z])/g,o)]=u}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(s=t.extend(!0,{},e[0].dataset,s));var h=t.extend(!0,{},n.GetData(e[0]),s);for(var d in h=n._convertData(h))i.indexOf(d)>-1||(t.isPlainObject(this.options[d])?t.extend(this.options[d],h[d]):this.options[d]=h[d]);return this},i.prototype.get=function(t){return this.options[t]},i.prototype.set=function(t,e){this.options[t]=e},i})),e.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,n,i){var s=function(t,i){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),s.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var h=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(t){h.trigger("selection:update",{data:t})})),t[0].classList.add("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(s,n.Observable),s.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},s.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},s.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var s=t.outerWidth(!1);return s<=0?"auto":s+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var r=o.split(";"),a=0,l=r.length;a<l;a+=1){var c=r[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.select2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this._observer=new window.MutationObserver((function(e){t._syncA(),t._syncS(e)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},s.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,n){t.trigger(e,n)}))},s.prototype._registerSelectionEvents=function(){var t=this,e=["toggle","focus"];this.selection.on("toggle",(function(){t.toggleDropdown()})),this.selection.on("focus",(function(e){t.focus(e)})),this.selection.on("*",(function(n,i){-1===e.indexOf(n)&&t.trigger(n,i)}))},s.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,n){t.trigger(e,n)}))},s.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,n){t.trigger(e,n)}))},s.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container[0].classList.add("select2-container--open")})),this.on("close",(function(){t.$container[0].classList.remove("select2-container--open")})),this.on("enable",(function(){t.$container[0].classList.remove("select2-container--disabled")})),this.on("disable",(function(){t.$container[0].classList.add("select2-container--disabled")})),this.on("blur",(function(){t.$container[0].classList.remove("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(n){t.trigger("results:all",{data:n,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(n){t.trigger("results:append",{data:n,query:e})}))})),this.on("keypress",(function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.UP&&e.altKey?(t.close(e),e.preventDefault()):n===i.ENTER||n===i.TAB?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())}))},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(t){var e=this;if(t.addedNodes&&t.addedNodes.length>0){for(var n=0;n<t.addedNodes.length;n++)if(t.addedNodes[n].selected)return!0}else{if(t.removedNodes&&t.removedNodes.length>0)return!0;
2if(Array.isArray(t))return t.some((function(t){return e._isChangeMutation(t)}))}return!1},s.prototype._syncSubtree=function(t){var e=this._isChangeMutation(t),n=this;e&&this.dataAdapter.current((function(t){n.trigger("selection:update",{data:t})}))},s.prototype.trigger=function(t,e){var n=s.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var o=i[t],r={prevented:!1,name:t,args:e};if(n.call(this,o,r),r.prevented)return void(e.prevented=!0)}n.call(this,t,e)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},s.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},s.prototype.focus=function(t){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},s.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current((function(e){t=e})),t},s.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var e=t[0];Array.isArray(e)&&(e=e.map((function(t){return t.toString()}))),this.$element.val(e).trigger("input").trigger("change")},s.prototype.destroy=function(){n.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},s})),e.define("jquery-mousewheel",["jquery"],(function(t){return t})),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,n,i,s){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each((function(){var i=t.extend(!0,{},e);new n(t(this),i)})),this;if("string"==typeof e){var i,r=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=s.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,r)})),o.indexOf(e)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n})),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},void 0===(o=i.apply(e,s))||(t.exports=o)},955:function(t,e,n){"use strict";function i(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}n.d(e,{Z:function(){return s}});
vendor: 1,277 bytes, line 2
2var s=function t(e,n){function s(t,s,o){if("undefined"!=typeof document){"number"==typeof(o=i({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var a in o)o[a]&&(r+="; "+a,!0!==o[a]&&(r+="="+o[a].split(";")[0]));return document.cookie=t+"="+e.write(s,t)+r}}return Object.create({set:s,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],i={},s=0;s<n.length;s++){var o=n[s].split("="),r=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(i[a]=e.read(r,a),t===a)break}catch(t){}}return t?i[t]:i}},remove:function(t,e){s(t,"",i({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,i({},this.attributes,e))},withConverter:function(e){return t(i({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);
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.