Current path: home/webdevt/www/wdp/wp-content/plugins/brizy/public/editor-build/276-wp/editor/js/
?? Go up: /home/webdevt/www/wdp/wp-content/plugins/brizy/public/editor-build/276-wp/editor
(()=>{var t={8337:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Motions:()=>Z});const n="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(window):function(){const t=new Error("Motion depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers");throw t.name="Motion Error",t};let o=0,i=!1,s=new Map;const a=()=>{o=window.scrollY,i||(n((()=>{s.forEach((t=>{t(o)})),i=!1})),i=!0)};const c=function(t){let e;return r=>{e||t((()=>{const t=e;e=void 0,null==t||t()})),e=r}}(n),l=new Map,u=({clientX:t,clientY:e})=>{c((()=>{l.forEach((r=>{r(t,e)}))}))},p=new Map;let h;const f=()=>{const{innerWidth:t}=window;p.forEach((e=>{e(t)}))},d=()=>{clearTimeout(h),h=setTimeout(f,250)},g=t=>Math.round(100*(t+Number.EPSILON))/100,v=(t,e)=>{const r=t-e;return r<-10||r>10?e:t},m=t=>t*(Math.PI/180);function y(t,e,r){return t<e?e:t>r?r:t}const b=(t,e,r,n,o=1)=>{const i=function(t=1,e,r){const n=[];let o=e;for(;o<r;)n.push(o),o+=t;return n.length}(o,r,n);return y(g(r+e*(i/t)),r,n)},w=t=>{const{bottom:e,viewport:r,top:n,wHeight:o,scroll:i}=t,s=e-n,a=o+s,c=a*r.top/100,l=a-a*r.bottom/100,u=a-(c+l);return{interval:u,offset:y(a-(n-(i-l)+s),0,u)}},x=t=>{switch(t.type){case"vertical":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,viewport:i,speed:s,direction:a}=t,c=50*s,{offset:l,interval:u}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:i}),p=b(u,l,-c,c);switch(a){case"up":return g(p);case"down":return g(-p)}})(t);case"horizontal":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,viewport:i,speed:s,direction:a}=t,c=50*s,{interval:l,offset:u}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:i}),p=b(l,u,-c,c);switch(a){case"left":return g(p);case"right":return g(-p)}})(t);case"scale":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,speed:i,direction:s,viewport:a}=t,c=(i+10)/10,l=Math.min(c,1),u=Math.max(c,1);switch(s){case"up":{const{interval:t,offset:s}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a}),c=isNaN(s/t)?0:s/t;return g(i<0?u-c*(-i/10):l+c*(i/10))}case"down":{const{interval:t,offset:s}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a}),c=isNaN(s/t)?0:s/t;if(i<0){const t=0===l?1:l;return g(u-(t-c*t))}return g(u-c*(i/10))}case"downUp":{const t=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),s=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),c=isNaN(t.offset/t.interval)?0:t.offset/t.interval,p=isNaN(s.offset/s.interval)?0:s.offset/s.interval;if(i<0){const t=0===l?1:l,e=u-c*t,r=u-(t-p*t);return g(Math.min(e,r))}const h=l+c*(i/10),f=u-p*(i/10);return g(Math.max(h,f))}case"upDown":{const t=i/10,s=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),c=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),p=isNaN(s.offset/s.interval)?0:s.offset/s.interval,h=y(c.offset,0,c.interval),f=isNaN(h/c.interval)?0:h/c.interval;if(i<0){const e=l-p*t,r=u+f*t;return g(Math.max(e,r))}const d=u-p*t,v=l+f*t;return g(Math.min(d,v))}}})(t);case"opacity":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,speed:i,direction:s,viewport:a}=t,c=i/10;switch(s){case"in":{const{interval:t,offset:i}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a});return g(y(1-c*((t-i)/t),0,1))}case"out":{const{interval:t,offset:i}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a});return g(y(1-c*(i/t),0,1))}case"outIn":{const t=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),i=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),s=y(t.offset,0,t.interval),l=1-(c-(isNaN(s/t.interval)?0:s/t.interval)*c),u=y(i.offset,0,i.interval),p=1-(isNaN(u/i.interval)?0:u/i.interval)*c,h=Math.max(l,p);return g(h)}case"inOut":{const t=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),i=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),s=y(t.offset,0,t.interval),l=1-(isNaN(s/t.interval)?0:s/t.interval)*c,u=y(i.offset,0,i.interval),p=1-(c-(isNaN(u/i.interval)?0:u/i.interval)*c),h=Math.min(l,p);return g(h)}}})(t);case"blur":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,speed:i,direction:s,viewport:a}=t,c=i;switch(s){case"in":{const{interval:t,offset:i}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a}),s=b(t,i,0,c);return g(y(c-s,0,c))}case"out":{const{interval:t,offset:i}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:a}),s=b(t,i,0,c);return g(y(s,0,c))}case"outIn":{const t=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),i=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),s=c-b(t.interval,t.offset,0,c),l=b(i.interval,i.offset,0,c),u=Math.min(s,l);return g(y(u,0,c))}case"inOut":{const t=w({viewport:{top:0,bottom:a.top},bottom:r,top:e,wHeight:o,scroll:n}),i=w({viewport:{top:a.bottom,bottom:100},bottom:r,top:e,wHeight:o,scroll:n}),s=b(t.interval,t.offset,0,c),l=c-b(i.interval,i.offset,0,c),u=Math.max(s,l);return g(y(u,0,c))}}})(t);case"rotate":return(t=>{const{top:e,bottom:r,scroll:n,wHeight:o,viewport:i,speed:s,direction:a}=t,c=50*s,{offset:l,interval:u}=w({top:e,bottom:r,scroll:n,wHeight:o,viewport:i}),p=b(u,l,-c,c);switch(a){case"left":return g(-p);case"right":return g(p)}})(t)}},S=t=>{switch(t.type){case"track":return(t=>{const{initialX:e,initialY:r,x:n,y:o,direction:i,distance:s}=t;let a,c;return"direct"===i?(a=s/10*(n-e),c=s/10*(o-r)):(a=-s/10*(n-e),c=-s/10*(o-r)),{x:a,y:c}})(t);case"3dfit":return(t=>{const{x:e,y:r,initialX:n,initialY:o,direction:i,distance:s}=t,a=s/100;let c,l;return"direct"===i?(c=-(r-o)*a,l=(e-n)*a):(c=(r-o)*a,l=-(e-n)*a),{x:c,y:l}})(t)}},M=(t,e)=>{t.style.transform=e},I=(t,e)=>{t.style.transformOrigin=e},E=(t,e)=>{t.style.opacity=e},O=(t,e)=>{t.style.filter=e},_=(t,e)=>{t.style.willChange=e},T=(t,e)=>{t.style.perspective=e},C=(t,e,r)=>{t.style.setProperty(`--m-${e}`,r)},k=(t,e)=>{t.style.removeProperty(`--m-${e}`)};new Map;let P;const j=new Map,z=new Set,L=t=>{for(let e of j){const[,r]=e;t.forEach((t=>{const{target:e}=t;if(e instanceof HTMLElement){const{scrollMotion:n}=e.dataset;n||r(t)}}))}},A=()=>null!=P?P:P=new MutationObserver(L);const R=(t,e,r)=>{const n=m(r),o=t/2,i=o-Math.cos(n)*o,s=Math.sin(-n)*o,a=Math.sqrt(Math.pow(o,2)+Math.pow(e,2)),c=Math.atan(e/o),l=o-Math.cos(c-n)*a,u=Math.sin(c-n)*a;return{tl:{x:i,y:s},tr:{x:o+Math.cos(n)*o,y:Math.sin(n)*o},bl:{x:l,y:u},br:{x:o+Math.cos(n+c)*a,y:Math.sin(n+c)*a}}},N=(t,e,r)=>{const n=m(r),o=Math.cos(n)*t,i=Math.sin(n)*t,s=m(90),a=Math.cos(n+s)*e,c=Math.sin(n+s)*e,l=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),u=Math.atan(e/t);return{tl:{x:0,y:0},tr:{x:o,y:i},bl:{x:a,y:c},br:{x:Math.cos(n+u)*l,y:Math.sin(n+u)*l}}},H=(t,e,r)=>{const n=m(r),o=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),i=Math.atan(e/t),s=t-Math.cos(i-n)*o,a=Math.sin(i-n)*o,c=t-Math.cos(-n)*t,l=Math.sin(-n)*t,u=m(90);return{tl:{x:c,y:l},tr:{x:t,y:0},bl:{x:s,y:a},br:{x:t+Math.cos(n+u)*e,y:Math.sin(u-n)*e}}},F=(t,e,r)=>{const n=m(r),o=m(90),i=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),s=Math.atan(e/t);return{tl:{x:-Math.cos(n+o)*e,y:e-Math.sin(n+o)*e},tr:{x:Math.cos(n-s)*i,y:e+Math.sin(n-s)*i},bl:{x:0,y:e},br:{x:Math.cos(n)*t,y:e+Math.sin(n)*t}}},B=(t,e,r)=>{const n=m(r),o=t/2,i=Math.sqrt(Math.pow(o,2)+Math.pow(e,2)),s=Math.atan(e/o),a=o-Math.cos(n+s)*i,c=e-Math.sin(n+s)*i,l=o-Math.cos(n)*o,u=e+Math.sin(-n)*o;return{tl:{x:a,y:c},tr:{x:o+Math.cos(s-n)*i,y:e-Math.sin(s-n)*i},bl:{x:l,y:u},br:{x:o+Math.cos(n)*o,y:e+Math.sin(n)*o}}},Y=(t,e,r)=>{const n=m(r),o=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),i=Math.atan(e/t),s=t-Math.cos(n)*t,a=e-Math.sin(n)*t,c=t-Math.cos(n+i)*o,l=e-Math.sin(n+i)*o,u=m(90);return{tl:{x:c,y:l},tr:{x:t-Math.cos(n+u)*e,y:e-Math.sin(n+u)*e},bl:{x:s,y:a},br:{x:t,y:e}}},D=(t,e,r,n,o)=>({x:t+n*Math.cos(r)-o*Math.sin(r),y:e+n*Math.sin(r)+o*Math.cos(r)}),X=(t,e,r)=>{const n=t/2,o=e/2,i=n,s=o,a=m(r);return{tl:D(i,s,a,-n,-o),tr:D(i,s,a,n,-o),bl:D(i,s,a,-n,o),br:D(i,s,a,n,o)}},U=t=>{const{originX:e,originY:r,width:n,height:o,rotate:i}=t,s=(a=e,"top"===(c=r)&&"left"===a?N:"top"===c&&"center"===a?R:"top"===c&&"right"===a?H:"bottom"===c&&"left"===a?F:"bottom"===c&&"center"===a?B:"bottom"===c&&"right"===a?Y:X);var a,c;const{tl:l,tr:u,bl:p,br:h}=s(n,o,i);return(t=>{var e,r;const{tl:n,tr:o,bl:i,br:s}=t,a=[n,o,s,i].reduce(((t,e)=>{const{x:r,y:n}=e,{top:o,left:i}=t;return(void 0===o||n<o)&&(t.top=n),(void 0===i||r<i)&&(t.left=r),t}),{top:void 0,left:void 0});return{top:null!==(e=a.top)&&void 0!==e?e:0,left:null!==(r=a.left)&&void 0!==r?r:0}})({tl:l,tr:u,bl:p,br:h})},W=(t,e)=>{const{top:r,left:n}=t,{rotate:o,scale:i,initialWidth:s,initialHeight:a,xPosition:c,yPosition:l}=e;let u=r,p=n;if(void 0!==i){const e=(t=>{const{originX:e,originY:r,scale:n,width:o,height:i}=t;let s=0,a=0;const c=g(i/n),l=g(o/n);"center"===r&&(s=c/2-i/2);"bottom"===r&&(s=2*(c/2-i/2));"center"===e&&(a=l/2-o/2);"right"===e&&(a=2*(l/2-o/2));return{top:s,left:a}})({scale:i,width:t.width,height:t.height,originX:c,originY:l});u=u=g(u-e.top),p=p=g(p-e.left)}if(void 0!==o){const t=U({rotate:o,width:s,height:a,originX:c,originY:l});u=Math.max(0,g(u-t.top)),p=Math.max(0,g(p-t.left))}return{top:u,left:p}},V=(t,e)=>{const{initialWidth:r,initialHeight:n,rotate:o,scale:i}=e,s=null!=o?o:0,a=null!=i?i:1,{width:c,height:l}=(t=>{const{width:e,height:r,angle:n}=t,o=m(n);return{height:r*Math.abs(Math.cos(o))+e*Math.abs(Math.sin(o)),width:e*Math.abs(Math.cos(o))+r*Math.abs(Math.sin(o))}})({angle:s,width:r*a,height:n*a}),u=c-r,p=l-n;return{width:g(t.width-u),height:g(t.height-p)}};let q=t=>crypto.getRandomValues(new Uint8Array(t)),$=(t,e=21)=>((t,e,r)=>{let n=(2<<Math.log(t.length-1)/Math.LN2)-1,o=-~(1.6*n*e/t.length);return(i=e)=>{let s="";for(;;){let e=r(o),a=o;for(;a--;)if(s+=t[e[a]&n]||"",s.length===i)return s}}})(t,e,q);const G=new Map;class Z{constructor(t,e,r){var o;this.isVisible=!1,this.ticking=!1,this.handleUpdate=t=>{this.checkViewport(t),this.scrollSettings.size&&this.handleScrollUpdate(t)},this.handleMutation=()=>{this.ticking||(n((()=>{var t;const e=null!==(t=this.getStyleSettings())&&void 0!==t?t:{},{top:r}=Z.getInitialXY(this.node,e);this.handleUpdateRect(r),this.ticking=!1})),this.ticking=!0)},this.handleResize=t=>{const e=this.getSettingsByDevice(t),r=e.breakpoint;r!==this.currentBreakpoint&&(this.detachEvents(),this.currentBreakpoint=r,r?this.handleUpdateResize(e):this.handleUpdateResize(this.initSettings),this.attachEvents())};const i=t.ownerDocument.body;this.node=t,this.parent=null!==(o=t.parentElement)&&void 0!==o?o:i,this.lastMouseX=0,this.lastMouseY=0,this.scrollSettings=new Map,this.mouseSettings=new Map,this.responsiveSettings=e.responsive,this.initSettings=e,this.windowSize=Z.getWindowSize(),this.uid=((t=36)=>$("abcdefghijklmnopqrstuvwxyz",t)(t))();const s={root:i};this.config=Object.assign(Object.assign({},s),r);const a=this.getSettingsByDevice(this.windowSize.width);this.currentBreakpoint=a.breakpoint,(t=>!!t.dataset.scrollMotion)(t)||(this.setInitialRect(),this.setSettings(a),this.handleInit())}static getInitialXY(t,e){const r=(t=>{const e=t.getBoundingClientRect(),r=e.top+window.pageYOffset,n=e.left+window.pageXOffset,o=e.bottom+window.pageYOffset;return{top:r,right:e.right+window.pageXOffset,bottom:o,left:n,width:e.width,height:e.height}})(t);let n=r.top,o=r.left,i=r.width,s=r.height;const a=e.rotateZ,c=e.scale,l=e.translateY,u=e.translateX;l&&(n=g(n-l)),u&&(o=g(o-u));const p=a||c;if(p){const{x:t,y:e,initialHeight:l,initialWidth:u,initialTop:h,initialLeft:f}=p,d=null==a?void 0:a.value,g=null==c?void 0:c.value,m=W(Object.assign(Object.assign({},r),{top:n,left:o}),{initialHeight:l,initialWidth:u,rotate:d,scale:g,xPosition:t,yPosition:e}),y=V(r,{scale:g,rotate:d,initialWidth:u,initialHeight:l});n=v(h,m.top),o=v(f,m.left),i=v(u,y.width),s=v(l,y.height)}return{left:o,top:n,height:s,width:i}}static getWindowSize(){return{width:window.innerWidth,height:window.innerHeight}}getSettingsByDevice(t){const e=this.responsiveSettings||[];let r;return e.forEach((e=>{t<=e.breakpoint&&(r=e)})),r?{responsive:e,breakpoint:r.breakpoint,scroll:r.settings.scroll,mouse:r.settings.mouse}:Object.assign(Object.assign({},this.initSettings),{breakpoint:void 0})}setSettings(t){const{mouse:e,scroll:r}=t;r&&(Array.isArray(r)?r.forEach((t=>{this.scrollSettings.set(t.type,t)})):this.scrollSettings.set(r.type,r)),e&&(Array.isArray(e)?e.forEach((t=>{this.mouseSettings.set(t.type,t)})):this.mouseSettings.set(e.type,e))}setInitProperties(){for(let t of this.scrollSettings.values())this.applyScrollProperty(t,0);for(let t of this.mouseSettings.keys())this.applyMouseProperty(t,{x:0,y:0}),T(this.parent,"1200px");this.applyStyles(),this.applyDataset()}setInitStyleSettings(){G.set(this.uid,{})}setStyleSettings(t,e){const r=G.get(this.uid);G.set(this.uid,Object.assign(Object.assign({},r),{[t]:e}))}getStyleSettings(){return G.get(this.uid)}setInitialRect(){const{left:t,top:e,width:r,height:n}=Z.getInitialXY(this.node,{});this.initialLeft=t,this.initialTop=e,this.width=r,this.height=n}removeInitProperties(){for(let t of this.scrollSettings.keys())switch(t){case"vertical":k(this.node,"translateY");break;case"horizontal":k(this.node,"translateX");break;case"rotate":k(this.node,"rotateZ");break;case"scale":k(this.node,"scale");break;case"transparency":k(this.node,"opacity");break;case"blur":k(this.node,"blur")}for(let t of this.mouseSettings.keys())switch(t){case"track":k(this.node,"translateY"),k(this.node,"translateX");break;case"3dfit":k(this.node,"rotateX"),k(this.node,"rotateY")}this.removeStyles(),this.removeDataset()}removeSettings(){this.scrollSettings.clear(),this.mouseSettings.clear()}removeStyleSettings(){G.delete(this.uid)}getScrollVertical(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"vertical",speed:s,top:this.initialTop,bottom:this.initialTop+this.height,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getScrollHorizontal(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"horizontal",speed:s,left:this.initialLeft,top:this.initialTop,bottom:this.initialTop+this.height,width:this.width,wWidth:this.windowSize.width,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getScrollTransparency(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"opacity",speed:s,top:this.initialTop,bottom:this.initialTop+this.height,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getScrollScale(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"scale",speed:s,top:this.initialTop,bottom:this.initialTop+this.height,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getScrollBlur(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"blur",speed:s,top:this.initialTop,bottom:this.initialTop+this.height,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getScrollRotate(t,e){var r,n;const{direction:o,viewport:i,scrollStep:s=1}=e;return x({scroll:t,direction:o,type:"rotate",speed:s,top:this.initialTop,bottom:this.initialTop+this.height,wHeight:this.windowSize.height,viewport:{top:null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0,bottom:null!==(n=null==i?void 0:i.bottom)&&void 0!==n?n:100}})}getMouseTrack(t,e,r){const{direction:n,distance:o}=r;return S({x:t,y:e,direction:n,distance:o,type:"track",initialX:this.windowSize.width/2,initialY:this.windowSize.height/2})}getMouse3dFit(t,e,r){const{direction:n,distance:o}=r;return S({x:t,y:e,direction:n,distance:o,type:"3dfit",initialX:this.windowSize.width/2,initialY:this.windowSize.height/2})}attachEvents(){var t,e,r,n;r=this.node,n=this.handleUpdate,s.size||document.addEventListener("scroll",a,!1),s.set(r,n),this.mouseSettings.size&&((t,e)=>{0===l.size&&document.addEventListener("mousemove",u),l.set(t,e)})(this.node,((t,e)=>{this.lastMouseX=t,this.lastMouseY=e,this.handleMouseUpdate(t,e)}));((t,e,r)=>{const{root:n,node:o}=t;z.has(n)||(A().observe(n,r),z.add(n));j.has(o)||j.set(o,e),A()})({root:null!==(t=this.config.root)&&void 0!==t?t:document.body,node:this.node},this.handleMutation,{attributes:!0,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0}),(null===(e=this.responsiveSettings)||void 0===e?void 0:e.length)&&((t,e)=>{0===p.size&&window.addEventListener("resize",d),p.set(t,e)})(this.node,this.handleResize)}detachEvents(){var t,e,r;this.mouseSettings.size&&(e=this.node,l.delete(e),0===l.size&&document.removeEventListener("mousemove",u)),(null===(t=this.responsiveSettings)||void 0===t?void 0:t.length)&&(t=>{p.delete(t),0===p.size&&window.removeEventListener("resize",d)})(this.node),r=this.node,s.delete(r),0===s.size&&document.removeEventListener("scroll",a),(t=>{j.delete(t),P&&0===j.size&&(P.disconnect(),P=void 0,z.clear())})(this.node)}handleInit(){this.setInitStyleSettings(),this.setInitProperties(),this.attachEvents(),this.handleUpdate(window.scrollY)}handleScrollUpdate(t){if(!this.isVisible)return;const e=this.scrollSettings.get("vertical"),r=this.scrollSettings.get("horizontal"),n=this.scrollSettings.get("rotate"),o=this.scrollSettings.get("transparency"),i=this.scrollSettings.get("scale"),s=this.scrollSettings.get("blur");if(e){const r=this.getScrollVertical(t,e);this.applyScrollProperty(e,r),this.setStyleSettings("translateY",r)}if(r){const e=this.getScrollHorizontal(t,r);this.applyScrollProperty(r,e),this.setStyleSettings("translateX",e)}if(n){const e=this.getScrollRotate(t,n);this.applyScrollProperty(n,e),this.setStyleSettings("rotateZ",{value:e,x:n.xPosition,y:n.yPosition,initialWidth:this.width,initialHeight:this.height,initialLeft:this.initialLeft,initialTop:this.initialTop})}if(o){const e=this.getScrollTransparency(t,o);this.applyScrollProperty(o,e),this.setStyleSettings("opacity",e)}if(i){const e=this.getScrollScale(t,i);this.applyScrollProperty(i,e),this.setStyleSettings("scale",{value:e,x:i.xPosition,y:i.yPosition,initialWidth:this.width,initialHeight:this.height,initialLeft:this.initialLeft,initialTop:this.initialTop})}if(s){const e=this.getScrollBlur(t,s);this.applyScrollProperty(s,e),this.setStyleSettings("blur",e)}}handleMouseUpdate(t,e){if(!this.isVisible)return;const r=this.mouseSettings.get("3dfit"),n=this.mouseSettings.get("track");if(r){const n=this.getMouse3dFit(t,e,r);this.applyMouseProperty("3dfit",n),this.setStyleSettings("rotateX",n.x),this.setStyleSettings("rotateY",n.y)}if(n){const r=this.getMouseTrack(t,e,n);this.applyMouseProperty("track",r),this.setStyleSettings("translateX",r.x),this.setStyleSettings("translateY",r.y)}}handleUpdateRect(t){this.initialTop=t,this.handleUpdate(window.scrollY)}checkViewport(t){const e=this.windowSize.height,r=(e-(this.initialTop-t))*(1/(e+this.height));this.isVisible=r>=0&&r<=1}applyScrollProperty(t,e){switch(t.type){case"vertical":C(this.node,"translateY",`${e}px`);break;case"horizontal":C(this.node,"translateX",`${e}px`);break;case"rotate":C(this.node,"rotateZ",`${e}deg`),C(this.node,"transform-origin-x",t.xPosition),C(this.node,"transform-origin-y",t.yPosition);break;case"scale":C(this.node,"scale",`${e}`),C(this.node,"transform-origin-x",t.xPosition),C(this.node,"transform-origin-y",t.yPosition);break;case"transparency":C(this.node,"opacity",`${e}`);break;case"blur":C(this.node,"blur",`${e}px`)}}applyMouseProperty(t,{x:e,y:r}){switch(t){case"track":C(this.node,"translateX",`${e}px`),C(this.node,"translateY",`${r}px`);break;case"3dfit":C(this.node,"rotateX",`${e}deg`),C(this.node,"rotateY",`${r}deg`)}}applyStyles(){const t=[...this.scrollSettings,...this.mouseSettings];let e="",r="",n="",o="",i="";t.forEach((([t])=>{var s,a,c,l,u,p,h,f,d,g,v,m,y,b,w,x,S,M,I,E,O,_,T,C;switch(t){case"vertical":{e+="translateY(var(--m-translateY))";const r=null!==(c=null===(a=(s=this.config).onBeforeAddStyle)||void 0===a?void 0:a.call(s,t,e))&&void 0!==c?c:"";e+=r,i="transform";break}case"horizontal":{e+="translateX(var(--m-translateX))";const r=null!==(p=null===(u=(l=this.config).onBeforeAddStyle)||void 0===u?void 0:u.call(l,t,e))&&void 0!==p?p:"";e+=r,i="transform";break}case"track":{e="translateY(var(--m-translateY)) translateX(var(--m-translateX))";const r=null!==(d=null===(f=(h=this.config).onBeforeAddStyle)||void 0===f?void 0:f.call(h,t,e))&&void 0!==d?d:"";e+=r,i="transform";break}case"3dfit":{e+="rotateX(var(--m-rotateX)) rotateY(var(--m-rotateY))";const r=null!==(m=null===(v=(g=this.config).onBeforeAddStyle)||void 0===v?void 0:v.call(g,t,e))&&void 0!==m?m:"";e+=r,i="transform";break}case"rotate":{e+="rotateZ(var(--m-rotateZ))",r="var(--m-transform-origin-x) var(--m-transform-origin-y)";const n=null!==(w=null===(b=(y=this.config).onBeforeAddStyle)||void 0===b?void 0:b.call(y,t,e))&&void 0!==w?w:"";e+=n,i="transform";break}case"scale":{e+="scale(var(--m-scale))",r="var(--m-transform-origin-x) var(--m-transform-origin-y)";const n=null!==(M=null===(S=(x=this.config).onBeforeAddStyle)||void 0===S?void 0:S.call(x,t,e))&&void 0!==M?M:"";e+=n,i="transform";break}case"transparency":{n+="var(--m-opacity)";const e=null!==(O=null===(E=(I=this.config).onBeforeAddStyle)||void 0===E?void 0:E.call(I,t,n))&&void 0!==O?O:"";n+=e,i+=" opacity";break}case"blur":{o+="blur(var(--m-blur))";const e=null!==(C=null===(T=(_=this.config).onBeforeAddStyle)||void 0===T?void 0:T.call(_,t,o))&&void 0!==C?C:"";o+=e,i+=" filter";break}}})),E(this.node,n),M(this.node,e),I(this.node,r),O(this.node,o),_(this.node,i)}removeStyles(){E(this.node,""),M(this.node,""),I(this.node,""),O(this.node,""),_(this.node,""),T(this.parent,"")}applyDataset(){this.node.dataset.scrollMotion="true"}removeDataset(){delete this.node.dataset.scrollMotion}handleUpdateResize(t){this.removeInitProperties(),this.removeSettings(),this.setInitialRect(),this.setInitStyleSettings(),this.setSettings(t),this.setInitProperties(),this.handleUpdate(window.scrollY),this.mouseSettings.size&&this.handleMouseUpdate(this.lastMouseX,this.lastMouseY)}destroy(){this.removeInitProperties(),this.detachEvents(),this.removeSettings(),this.removeStyleSettings()}update(t,e){const r=window.scrollY,n=this.currentBreakpoint||window.innerWidth;if(e){const t={root:this.node.ownerDocument.body};this.config=Object.assign(Object.assign({},t),e)}this.initSettings=t,this.responsiveSettings=t.responsive;const o=this.getSettingsByDevice(n);this.detachEvents(),this.removeInitProperties(),this.removeSettings(),this.removeStyleSettings(),this.setInitStyleSettings(),this.setSettings(o),this.setInitProperties(),this.attachEvents(),this.handleUpdate(r),this.mouseSettings.size&&this.handleMouseUpdate(this.lastMouseX,this.lastMouseY)}arrange(){this.removeInitProperties(),this.setInitialRect(),this.setInitProperties()}}},5089:(t,e,r)=>{var n=r(930),o=r(9268),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},1449:(t,e,r)=>{var n=r(1956),o=r(9268),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},1378:(t,e,r)=>{var n=r(930),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},9966:(t,e,r)=>{"use strict";var n=r(3448).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},6112:(t,e,r)=>{var n=r(8759),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},1984:(t,e,r)=>{"use strict";var n=r(8062).forEach,o=r(2802)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},6198:(t,e,r)=>{var n=r(4088),o=r(7740),i=r(2871),s=function(t){return function(e,r,s){var a,c=n(e),l=i(c),u=o(s,l);if(t&&r!=r){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===r)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},8062:(t,e,r)=>{var n=r(8516),o=r(8240),i=r(5974),s=r(3060),a=r(2871),c=r(5574),l=o([].push),u=function(t){var e=1==t,r=2==t,o=3==t,u=4==t,p=6==t,h=7==t,f=5==t||p;return function(d,g,v,m){for(var y,b,w=s(d),x=i(w),S=n(g,v),M=a(x),I=0,E=m||c,O=e?E(d,M):r||h?E(d,0):void 0;M>I;I++)if((f||I in x)&&(b=S(y=x[I],I,w),t))if(e)O[I]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return I;case 2:l(O,y)}else switch(t){case 4:return!1;case 7:l(O,y)}return p?-1:o||u?u:O}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9955:(t,e,r)=>{var n=r(3677),o=r(211),i=r(1448),s=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2802:(t,e,r)=>{"use strict";var n=r(3677);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},8839:(t,e,r)=>{"use strict";var n=r(5283),o=r(6526),i=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},3329:(t,e,r)=>{var n=r(7740),o=r(2871),i=r(9720),s=Array,a=Math.max;t.exports=function(t,e,r){for(var c=o(t),l=n(e,c),u=n(void 0===r?c:r,c),p=s(a(u-l,0)),h=0;l<u;l++,h++)i(p,h,t[l]);return p.length=h,p}},745:(t,e,r)=>{var n=r(8240);t.exports=n([].slice)},1147:(t,e,r)=>{var n=r(3329),o=Math.floor,i=function(t,e){var r=t.length,c=o(r/2);return r<8?s(t,e):a(t,i(n(t,0,c),e),i(n(t,c),e),e)},s=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},a=function(t,e,r,n){for(var o=e.length,i=r.length,s=0,a=0;s<o||a<i;)t[s+a]=s<o&&a<i?n(e[s],r[a])<=0?e[s++]:r[a++]:s<o?e[s++]:r[a++];return t};t.exports=i},8789:(t,e,r)=>{var n=r(6526),o=r(1956),i=r(8759),s=r(211)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},5574:(t,e,r)=>{var n=r(8789);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},2306:(t,e,r)=>{var n=r(8240),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},375:(t,e,r)=>{var n=r(2371),o=r(930),i=r(2306),s=r(211)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},8474:(t,e,r)=>{var n=r(9606),o=r(6095),i=r(4399),s=r(7826);t.exports=function(t,e,r){for(var a=o(e),c=s.f,l=i.f,u=0;u<a.length;u++){var p=a[u];n(t,p)||r&&n(r,p)||c(t,p,l(e,p))}}},2585:(t,e,r)=>{var n=r(5283),o=r(7826),i=r(5736);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5736:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9720:(t,e,r)=>{"use strict";var n=r(2258),o=r(7826),i=r(5736);t.exports=function(t,e,r){var s=n(e);s in t?o.f(t,s,i(0,r)):t[s]=r}},1343:(t,e,r)=>{var n=r(930),o=r(7826),i=r(3712),s=r(9444);t.exports=function(t,e,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;if(n(r)&&i(r,l,a),a.global)c?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},9444:(t,e,r)=>{var n=r(2086),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},8685:(t,e,r)=>{"use strict";var n=r(9268),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(t))}},5283:(t,e,r)=>{var n=r(3677);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7886:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},821:(t,e,r)=>{var n=r(2086),o=r(8759),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},7620:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},933:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3526:(t,e,r)=>{var n=r(821)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},1799:(t,e,r)=>{var n=r(4999).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},4172:(t,e,r)=>{var n=r(4999);t.exports=/MSIE|Trident/.test(n)},4999:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},1448:(t,e,r)=>{var n,o,i=r(2086),s=r(4999),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9804:(t,e,r)=>{var n=r(4999).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},8684:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1695:(t,e,r)=>{var n=r(2086),o=r(4399).f,i=r(2585),s=r(1343),a=r(9444),c=r(8474),l=r(7189);t.exports=function(t,e){var r,u,p,h,f,d=t.target,g=t.global,v=t.stat;if(r=g?n:v?n[d]||a(d,{}):(n[d]||{}).prototype)for(u in e){if(h=e[u],p=t.dontCallGetSet?(f=o(r,u))&&f.value:r[u],!l(g?u:d+(v?".":"#")+u,t.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(t.sham||p&&p.sham)&&i(h,"sham",!0),s(r,u,h,t)}}},3677:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},2331:(t,e,r)=>{"use strict";r(2077);var n=r(1175),o=r(1343),i=r(4861),s=r(3677),a=r(211),c=r(2585),l=a("species"),u=RegExp.prototype;t.exports=function(t,e,r,p){var h=a(t),f=!s((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),d=f&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return e=!0,null},r[h](""),!e}));if(!f||!d||r){var g=n(/./[h]),v=e(h,""[t],(function(t,e,r,o,s){var a=n(t),c=e.exec;return c===i||c===u.exec?f&&!s?{done:!0,value:g(e,r,o)}:{done:!0,value:a(r,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(u,h,v[1])}p&&c(u[h],"sham",!0)}},7258:(t,e,r)=>{var n=r(6059),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},8516:(t,e,r)=>{var n=r(1175),o=r(5089),i=r(6059),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},6059:(t,e,r)=>{var n=r(3677);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9413:(t,e,r)=>{var n=r(6059),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},4398:(t,e,r)=>{var n=r(5283),o=r(9606),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},1518:(t,e,r)=>{var n=r(8240),o=r(5089);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},1175:(t,e,r)=>{var n=r(2306),o=r(8240);t.exports=function(t){if("Function"===n(t))return o(t)}},8240:(t,e,r)=>{var n=r(6059),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},563:(t,e,r)=>{var n=r(2086),o=r(930);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},2964:(t,e,r)=>{var n=r(5089),o=r(1858);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},2086:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},9606:(t,e,r)=>{var n=r(8240),o=r(3060),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},7153:t=>{t.exports={}},5963:(t,e,r)=>{var n=r(563);t.exports=n("document","documentElement")},6761:(t,e,r)=>{var n=r(5283),o=r(3677),i=r(821);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5974:(t,e,r)=>{var n=r(8240),o=r(3677),i=r(2306),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},5070:(t,e,r)=>{var n=r(930),o=r(8759),i=r(7530);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},9277:(t,e,r)=>{var n=r(8240),o=r(930),i=r(4489),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},3278:(t,e,r)=>{var n,o,i,s=r(640),a=r(2086),c=r(8759),l=r(2585),u=r(9606),p=r(4489),h=r(8944),f=r(7153),d="Object already initialized",g=a.TypeError,v=a.WeakMap;if(s||p.state){var m=p.state||(p.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw g(d);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var y=h("state");f[y]=!0,n=function(t,e){if(u(t,y))throw g(d);return e.facade=t,l(t,y,e),e},o=function(t){return u(t,y)?t[y]:{}},i=function(t){return u(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return r}}}},6526:(t,e,r)=>{var n=r(2306);t.exports=Array.isArray||function(t){return"Array"==n(t)}},930:(t,e,r)=>{var n=r(7886),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},1956:(t,e,r)=>{var n=r(8240),o=r(3677),i=r(930),s=r(375),a=r(563),c=r(9277),l=function(){},u=[],p=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),d=!h.exec(l),g=function(t){if(!i(t))return!1;try{return p(l,u,t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,c(t))}catch(t){return!0}};v.sham=!0,t.exports=!p||o((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?v:g},7189:(t,e,r)=>{var n=r(3677),o=r(930),i=/#|\.prototype\./,s=function(t,e){var r=c[a(t)];return r==u||r!=l&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},1858:t=>{t.exports=function(t){return null==t}},8759:(t,e,r)=>{var n=r(930),o=r(7886),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},3296:t=>{t.exports=!1},7994:(t,e,r)=>{var n=r(8759),o=r(2306),i=r(211)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},2071:(t,e,r)=>{var n=r(563),o=r(930),i=r(5516),s=r(1876),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},2871:(t,e,r)=>{var n=r(4005);t.exports=function(t){return n(t.length)}},3712:(t,e,r)=>{var n=r(8240),o=r(3677),i=r(930),s=r(9606),a=r(5283),c=r(4398).CONFIGURABLE,l=r(9277),u=r(3278),p=u.enforce,h=u.get,f=String,d=Object.defineProperty,g=n("".slice),v=n("".replace),m=n([].join),y=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(f(e),0,7)&&(e="["+v(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&s(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=p(t);return s(n,"source")||(n.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&h(this).source||l(this)}),"toString")},5681:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},4710:(t,e,r)=>{var n,o=r(6112),i=r(7711),s=r(8684),a=r(7153),c=r(5963),l=r(821),u=r(8944),p="prototype",h="script",f=u("IE_PROTO"),d=function(){},g=function(t){return"<"+h+">"+t+"</"+h+">"},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;m="undefined"!=typeof document?document.domain&&n?v(n):(e=l("iframe"),r="java"+h+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(n);for(var o=s.length;o--;)delete m[p][s[o]];return m()};a[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[p]=o(t),r=new d,d[p]=null,r[f]=t):r=m(),void 0===e?r:i.f(r,e)}},7711:(t,e,r)=>{var n=r(5283),o=r(8202),i=r(7826),s=r(6112),a=r(4088),c=r(8779);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=c(e),l=o.length,u=0;l>u;)i.f(t,r=o[u++],n[r]);return t}},7826:(t,e,r)=>{var n=r(5283),o=r(6761),i=r(8202),s=r(6112),a=r(2258),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",f="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&f in r&&!r[f]){var n=u(t,e);n&&n[f]&&(t[e]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:p in r?r[p]:n[p],writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},4399:(t,e,r)=>{var n=r(5283),o=r(9413),i=r(7446),s=r(5736),a=r(4088),c=r(2258),l=r(9606),u=r(6761),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=a(t),e=c(e),u)try{return p(t,e)}catch(t){}if(l(t,e))return s(!o(i.f,t,e),t[e])}},62:(t,e,r)=>{var n=r(1352),o=r(8684).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},6952:(t,e)=>{e.f=Object.getOwnPropertySymbols},5516:(t,e,r)=>{var n=r(8240);t.exports=n({}.isPrototypeOf)},1352:(t,e,r)=>{var n=r(8240),o=r(9606),i=r(4088),s=r(6198).indexOf,a=r(7153),c=n([].push);t.exports=function(t,e){var r,n=i(t),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;e.length>l;)o(n,r=e[l++])&&(~s(u,r)||c(u,r));return u}},8779:(t,e,r)=>{var n=r(1352),o=r(8684);t.exports=Object.keys||function(t){return n(t,o)}},7446:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7530:(t,e,r)=>{var n=r(1518),o=r(6112),i=r(1378);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},999:(t,e,r)=>{"use strict";var n=r(2371),o=r(375);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},7999:(t,e,r)=>{var n=r(9413),o=r(930),i=r(8759),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw s("Can't convert object to primitive value")}},6095:(t,e,r)=>{var n=r(563),o=r(8240),i=r(62),s=r(6952),a=r(6112),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?c(e,r(t)):e}},9775:(t,e,r)=>{var n=r(2086);t.exports=n},1189:(t,e,r)=>{var n=r(9413),o=r(6112),i=r(930),s=r(2306),a=r(4861),c=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var l=n(r,t,e);return null!==l&&o(l),l}if("RegExp"===s(t))return n(a,t,e);throw c("RegExp#exec called on incompatible receiver")}},4861:(t,e,r)=>{"use strict";var n,o,i=r(9413),s=r(8240),a=r(4059),c=r(4276),l=r(4930),u=r(9197),p=r(4710),h=r(3278).get,f=r(2582),d=r(2910),g=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,y=s("".charAt),b=s("".indexOf),w=s("".replace),x=s("".slice),S=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),M=l.BROKEN_CARET,I=void 0!==/()??/.exec("")[1];(S||I||M||f||d)&&(m=function(t){var e,r,n,o,s,l,u,f=this,d=h(f),E=a(t),O=d.raw;if(O)return O.lastIndex=f.lastIndex,e=i(m,O,E),f.lastIndex=O.lastIndex,e;var _=d.groups,T=M&&f.sticky,C=i(c,f),k=f.source,P=0,j=E;if(T&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),j=x(E,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y(E,f.lastIndex-1))&&(k="(?: "+k+")",j=" "+j,P++),r=new RegExp("^(?:"+k+")",C)),I&&(r=new RegExp("^"+k+"$(?!\\s)",C)),S&&(n=f.lastIndex),o=i(v,T?r:f,j),T?o?(o.input=x(o.input,P),o[0]=x(o[0],P),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:S&&o&&(f.lastIndex=f.global?o.index+o[0].length:n),I&&o&&o.length>1&&i(g,o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&_)for(o.groups=l=p(null),s=0;s<_.length;s++)l[(u=_[s])[0]]=o[u[1]];return o}),t.exports=m},4276:(t,e,r)=>{"use strict";var n=r(6112);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4930:(t,e,r)=>{var n=r(3677),o=r(2086).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=i||n((function(){return!o("a","y").sticky})),a=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:i}},2582:(t,e,r)=>{var n=r(3677),o=r(2086).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},2910:(t,e,r)=>{var n=r(3677),o=r(2086).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},9586:(t,e,r)=>{var n=r(1858),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},8944:(t,e,r)=>{var n=r(9197),o=r(5422),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},4489:(t,e,r)=>{var n=r(2086),o=r(9444),i="__core-js_shared__",s=n[i]||o(i,{});t.exports=s},9197:(t,e,r)=>{var n=r(3296),o=r(4489);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8515:(t,e,r)=>{var n=r(6112),o=r(1449),i=r(1858),s=r(211)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||i(r=n(a)[s])?e:o(r)}},3448:(t,e,r)=>{var n=r(8240),o=r(9502),i=r(4059),s=r(9586),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(t){return function(e,r){var n,u,p=i(s(e)),h=o(r),f=p.length;return h<0||h>=f?t?"":void 0:(n=c(p,h))<55296||n>56319||h+1===f||(u=c(p,h+1))<56320||u>57343?t?a(p,h):n:t?l(p,h,h+2):u-56320+(n-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},8992:(t,e,r)=>{"use strict";var n=r(9502),o=r(4059),i=r(9586),s=RangeError;t.exports=function(t){var e=o(i(this)),r="",a=n(t);if(a<0||a==1/0)throw s("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(r+=e);return r}},4080:(t,e,r)=>{var n=r(8240),o=r(9586),i=r(4059),s=r(9439),a=n("".replace),c=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),u=function(t){return function(e){var r=i(o(e));return 1&t&&(r=a(r,c,"")),2&t&&(r=a(r,l,"$1")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},5558:(t,e,r)=>{var n=r(1448),o=r(3677);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5773:(t,e,r)=>{var n=r(8240);t.exports=n(1..valueOf)},7740:(t,e,r)=>{var n=r(9502),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},4088:(t,e,r)=>{var n=r(5974),o=r(9586);t.exports=function(t){return n(o(t))}},9502:(t,e,r)=>{var n=r(5681);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},4005:(t,e,r)=>{var n=r(9502),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},3060:(t,e,r)=>{var n=r(9586),o=Object;t.exports=function(t){return o(n(t))}},1288:(t,e,r)=>{var n=r(9413),o=r(8759),i=r(2071),s=r(2964),a=r(7999),c=r(211),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,u);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},2258:(t,e,r)=>{var n=r(1288),o=r(2071);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},2371:(t,e,r)=>{var n={};n[r(211)("toStringTag")]="z",t.exports="[object z]"===String(n)},4059:(t,e,r)=>{var n=r(375),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},9268:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},5422:(t,e,r)=>{var n=r(8240),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},1876:(t,e,r)=>{var n=r(5558);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8202:(t,e,r)=>{var n=r(5283),o=r(3677);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},640:(t,e,r)=>{var n=r(2086),o=r(930),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},211:(t,e,r)=>{var n=r(2086),o=r(9197),i=r(9606),s=r(5422),a=r(5558),c=r(1876),l=n.Symbol,u=o("wks"),p=c?l.for||l:l&&l.withoutSetter||s;t.exports=function(t){return i(u,t)||(u[t]=a&&i(l,t)?l[t]:p("Symbol."+t)),u[t]}},9439:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},8010:(t,e,r)=>{"use strict";var n=r(1695),o=r(8062).filter;n({target:"Array",proto:!0,forced:!r(9955)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5613:(t,e,r)=>{"use strict";var n=r(1695),o=r(8240),i=r(5974),s=r(4088),a=r(2802),c=o([].join);n({target:"Array",proto:!0,forced:i!=Object||!a("join",",")},{join:function(t){return c(s(this),void 0===t?",":t)}})},1013:(t,e,r)=>{"use strict";var n=r(1695),o=r(8062).map;n({target:"Array",proto:!0,forced:!r(9955)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2410:(t,e,r)=>{"use strict";var n=r(1695),o=r(6526),i=r(1956),s=r(8759),a=r(7740),c=r(2871),l=r(4088),u=r(9720),p=r(211),h=r(9955),f=r(745),d=h("slice"),g=p("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var r,n,p,h=l(this),d=c(h),y=a(t,d),b=a(void 0===e?d:e,d);if(o(h)&&(r=h.constructor,(i(r)&&(r===v||o(r.prototype))||s(r)&&null===(r=r[g]))&&(r=void 0),r===v||void 0===r))return f(h,y,b);for(n=new(void 0===r?v:r)(m(b-y,0)),p=0;y<b;y++,p++)y in h&&u(n,p,h[y]);return n.length=p,n}})},9217:(t,e,r)=>{"use strict";var n=r(1695),o=r(8240),i=r(5089),s=r(3060),a=r(2871),c=r(8685),l=r(4059),u=r(3677),p=r(1147),h=r(2802),f=r(1799),d=r(4172),g=r(1448),v=r(9804),m=[],y=o(m.sort),b=o(m.push),w=u((function(){m.sort(void 0)})),x=u((function(){m.sort(null)})),S=h("sort"),M=!u((function(){if(g)return g<70;if(!(f&&f>3)){if(d)return!0;if(v)return v<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:e+n,v:r})}for(m.sort((function(t,e){return e.v-t.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!x||!S||!M},{sort:function(t){void 0!==t&&i(t);var e=s(this);if(M)return void 0===t?y(e):y(e,t);var r,n,o=[],u=a(e);for(n=0;n<u;n++)n in e&&b(o,e[n]);for(p(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=a(o),n=0;n<r;)e[n]=o[n++];for(;n<u;)c(e,n++);return e}})},8217:(t,e,r)=>{"use strict";var n=r(1695),o=r(3060),i=r(7740),s=r(9502),a=r(2871),c=r(8839),l=r(7620),u=r(5574),p=r(9720),h=r(8685),f=r(9955)("splice"),d=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var r,n,f,v,m,y,b=o(this),w=a(b),x=i(t,w),S=arguments.length;for(0===S?r=n=0:1===S?(r=0,n=w-x):(r=S-2,n=g(d(s(e),0),w-x)),l(w+r-n),f=u(b,n),v=0;v<n;v++)(m=x+v)in b&&p(f,v,b[m]);if(f.length=n,r<n){for(v=x;v<w-n;v++)y=v+r,(m=v+n)in b?b[y]=b[m]:h(b,y);for(v=w;v>w-n+r;v--)h(b,v-1)}else if(r>n)for(v=w-n;v>x;v--)y=v+r-1,(m=v+n-1)in b?b[y]=b[m]:h(b,y);for(v=0;v<r;v++)b[v+x]=arguments[v+2];return c(b,w-n+r),f}})},5163:(t,e,r)=>{"use strict";var n=r(1695),o=r(3296),i=r(5283),s=r(2086),a=r(9775),c=r(8240),l=r(7189),u=r(9606),p=r(5070),h=r(5516),f=r(2071),d=r(1288),g=r(3677),v=r(62).f,m=r(4399).f,y=r(7826).f,b=r(5773),w=r(4080).trim,x="Number",S=s[x],M=a[x],I=S.prototype,E=s.TypeError,O=c("".slice),_=c("".charCodeAt),T=function(t){var e,r,n,o,i,s,a,c,l=d(t,"number");if(f(l))throw E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=_(l,0))||45===e){if(88===(r=_(l,2))||120===r)return NaN}else if(48===e){switch(_(l,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+l}for(s=(i=O(l,2)).length,a=0;a<s;a++)if((c=_(i,a))<48||c>o)return NaN;return parseInt(i,n)}return+l},C=l(x,!S(" 0o1")||!S("0b1")||S("+0x1")),k=function(t){var e,r=arguments.length<1?0:S(function(t){var e=d(t,"number");return"bigint"==typeof e?e:T(e)}(t));return h(I,e=this)&&g((function(){b(e)}))?p(Object(r),this,k):r};k.prototype=I,C&&!o&&(I.constructor=k),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:k});var P=function(t,e){for(var r,n=i?v(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)u(e,r=n[o])&&!u(t,r)&&y(t,r,m(e,r))};o&&M&&P(a[x],M),(C||o)&&P(a[x],S)},6056:(t,e,r)=>{"use strict";var n=r(1695),o=r(8240),i=r(9502),s=r(5773),a=r(8992),c=r(3677),l=RangeError,u=String,p=Math.floor,h=o(a),f=o("".slice),d=o(1..toFixed),g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)},v=function(t,e,r){for(var n=-1,o=r;++n<6;)o+=e*t[n],t[n]=o%1e7,o=p(o/1e7)},m=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=p(n/e),n=n%e*1e7},y=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=u(t[e]);r=""===r?n:r+h("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:c((function(){return"0.000"!==d(8e-5,3)||"1"!==d(.9,0)||"1.25"!==d(1.255,2)||"1000000000000000128"!==d(0xde0b6b3a7640080,0)}))||!c((function(){d({})}))},{toFixed:function(t){var e,r,n,o,a=s(this),c=i(t),p=[0,0,0,0,0,0],d="",b="0";if(c<0||c>20)throw l("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return u(a);if(a<0&&(d="-",a=-a),a>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(a*g(2,69,1))-69)<0?a*g(2,-e,1):a/g(2,e,1),r*=4503599627370496,(e=52-e)>0){for(v(p,0,r),n=c;n>=7;)v(p,1e7,0),n-=7;for(v(p,g(10,n,1),0),n=e-1;n>=23;)m(p,1<<23),n-=23;m(p,1<<n),v(p,1,1),m(p,2),b=y(p)}else v(p,0,r),v(p,1<<-e,0),b=y(p)+h("0",c);return b=c>0?d+((o=b.length)<=c?"0."+h("0",c-o)+b:f(b,0,o-c)+"."+f(b,o-c)):d+b}})},3238:(t,e,r)=>{var n=r(2371),o=r(1343),i=r(999);n||o(Object.prototype,"toString",i,{unsafe:!0})},2077:(t,e,r)=>{"use strict";var n=r(1695),o=r(4861);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},2482:(t,e,r)=>{"use strict";var n=r(7258),o=r(9413),i=r(8240),s=r(2331),a=r(6112),c=r(1858),l=r(7994),u=r(9586),p=r(8515),h=r(9966),f=r(4005),d=r(4059),g=r(2964),v=r(3329),m=r(1189),y=r(4861),b=r(4930),w=r(3677),x=b.UNSUPPORTED_Y,S=4294967295,M=Math.min,I=[].push,E=i(/./.exec),O=i(I),_=i("".slice);s("split",(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=d(u(this)),s=void 0===r?S:r>>>0;if(0===s)return[];if(void 0===t)return[i];if(!l(t))return o(e,i,t,s);for(var a,c,p,h=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,m=new RegExp(t.source,f+"g");(a=o(y,m,i))&&!((c=m.lastIndex)>g&&(O(h,_(i,g,a.index)),a.length>1&&a.index<i.length&&n(I,h,v(a,1)),p=a[0].length,g=c,h.length>=s));)m.lastIndex===a.index&&m.lastIndex++;return g===i.length?!p&&E(m,"")||O(h,""):O(h,_(i,g)),h.length>s?v(h,0,s):h}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:o(e,this,t,r)}:e,[function(e,r){var n=u(this),s=c(e)?void 0:g(e,t);return s?o(s,e,n,r):o(i,d(n),e,r)},function(t,n){var o=a(this),s=d(t),c=r(i,o,s,n,i!==e);if(c.done)return c.value;var l=p(o,RegExp),u=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(x?"g":"y"),v=new l(x?"^(?:"+o.source+")":o,g),y=void 0===n?S:n>>>0;if(0===y)return[];if(0===s.length)return null===m(v,s)?[s]:[];for(var b=0,w=0,I=[];w<s.length;){v.lastIndex=x?0:w;var E,T=m(v,x?_(s,w):s);if(null===T||(E=M(f(v.lastIndex+(x?w:0)),s.length))===b)w=h(s,w,u);else{if(O(I,_(s,b,w)),I.length===y)return I;for(var C=1;C<=T.length-1;C++)if(O(I,T[C]),I.length===y)return I;w=b=E}}return O(I,_(s,b)),I}]}),!!w((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),x)},5849:(t,e,r)=>{var n=r(2086),o=r(933),i=r(3526),s=r(1984),a=r(2585),c=function(t){if(t&&t.forEach!==s)try{a(t,"forEach",s)}catch(e){t.forEach=s}};for(var l in o)o[l]&&c(n[l]&&n[l].prototype);c(i)},3874:(t,e,r)=>{var n,o,i;o=[r(9567)],n=function(t){var e,r,n,o,i,s,a="Close",c="BeforeClose",l="AfterClose",u="BeforeAppend",p="MarkupParse",h="Open",f="Change",d="mfp",g="."+d,v="mfp-ready",m="mfp-removing",y="mfp-prevent-close",b=function(){},w=!!window.jQuery,x=t(window),S=function(t,r){e.ev.on(d+t+g,r)},M=function(e,r,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&&(i.innerHTML=n),o?r&&r.appendChild(i):(i=t(i),r&&i.appendTo(r)),i},I=function(r,n){e.ev.triggerHandler(d+r,n),e.st.callbacks&&(r=r.charAt(0).toLowerCase()+r.slice(1),e.st.callbacks[r]&&e.st.callbacks[r].apply(e,t.isArray(n)?n:[n]))},E=function(r){return r===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=r),e.currTemplate.closeBtn},O=function(){t.magnificPopup.instance||((e=new b).init(),t.magnificPopup.instance=e)},_=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};b.prototype={constructor:b,init:function(){var r=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(r),e.isIOS=/iphone|ipad|ipod/gi.test(r),e.supportsTransition=_(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(r){var o;if(!1===r.isObj){e.items=r.items.toArray(),e.index=0;var s,a=r.items;for(o=0;o<a.length;o++)if((s=a[o]).parsed&&(s=s.el[0]),s===r.el[0]){e.index=o;break}}else e.items=t.isArray(r.items)?r.items:[r.items],e.index=r.index||0;if(!e.isOpen){e.types=[],i="",r.mainEl&&r.mainEl.length?e.ev=r.mainEl.eq(0):e.ev=n,r.key?(e.popupsCache[r.key]||(e.popupsCache[r.key]={}),e.currTemplate=e.popupsCache[r.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,r),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=M("bg").on("click"+g,(function(){e.close()})),e.wrap=M("wrap").attr("tabindex",-1).on("click"+g,(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=M("container",e.wrap)),e.contentContainer=M("content"),e.st.preloader&&(e.preloader=M("preloader",e.container,e.st.tLoading));var c=t.magnificPopup.modules;for(o=0;o<c.length;o++){var l=c[o];l=l.charAt(0).toUpperCase()+l.slice(1),e["init"+l].call(e)}I("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(S(p,(function(t,e,r,n){r.close_replaceWith=E(n.type)})),i+=" mfp-close-btn-in"):e.wrap.append(E())),e.st.alignTop&&(i+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:x.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup"+g,(function(t){27===t.keyCode&&e.close()})),x.on("resize"+g,(function(){e.updateSize()})),e.st.closeOnContentClick||(i+=" mfp-auto-cursor"),i&&e.wrap.addClass(i);var u=e.wH=x.height(),f={};if(e.fixedContentPos&&e._hasScrollBar(u)){var d=e._getScrollbarSize();d&&(f.marginRight=d)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):f.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),I("BuildControls"),t("html").css(f),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout((function(){e.content?(e._addClassToMFP(v),e._setFocus()):e.bgOverlay.addClass(v),n.on("focusin"+g,e._onFocusIn)}),16),e.isOpen=!0,e.updateSize(u),I(h),r}e.updateItemHTML()},close:function(){e.isOpen&&(I(c),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(m),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){I(a);var r=m+" "+v+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(r+=e.st.mainClass+" "),e._removeClassFromMFP(r),e.fixedContentPos){var o={marginRight:""};e.isIE7?t("body, html").css("overflow",""):o.overflow="",t("html").css(o)}n.off("keyup"+g+" focusin"+g),e.ev.off(g),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,I(l)},updateSize:function(t){if(e.isIOS){var r=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*r;e.wrap.css("height",n),e.wH=n}else e.wH=t||x.height();e.fixedContentPos||e.wrap.css("height",e.wH),I("Resize")},updateItemHTML:function(){var r=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),r.parsed||(r=e.parseEl(e.index));var n=r.type;if(I("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=r,!e.currTemplate[n]){var i=!!e.st[n]&&e.st[n].markup;I("FirstMarkupParse",i),e.currTemplate[n]=!i||t(i)}o&&o!==r.type&&e.container.removeClass("mfp-"+o+"-holder");var s=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](r,e.currTemplate[n]);e.appendContent(s,n),r.preloaded=!0,I(f,r),o=r.type,e.container.prepend(e.contentContainer),I("AfterChange")},appendContent:function(t,r){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[r]?e.content.find(".mfp-close").length||e.content.append(E()):e.content=t:e.content="",I(u),e.container.addClass("mfp-"+r+"-holder"),e.contentContainer.append(e.content)},parseEl:function(r){var n,o=e.items[r];if(o.tagName?o={el:t(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var i=e.types,s=0;s<i.length;s++)if(o.el.hasClass("mfp-"+i[s])){n=i[s];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||e.st.type||"inline",o.index=r,o.parsed=!0,e.items[r]=o,I("ElementParse",o),e.items[r]},addGroup:function(t,r){var n=function(n){n.mfpEl=this,e._openClick(n,t,r)};r||(r={});var o="click.magnificPopup";r.mainEl=t,r.items?(r.isObj=!0,t.off(o).on(o,n)):(r.isObj=!1,r.delegate?t.off(o).on(o,r.delegate,n):(r.items=t,t.off(o).on(o,n)))},_openClick:function(r,n,o){if((void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick)||!(2===r.which||r.ctrlKey||r.metaKey||r.altKey||r.shiftKey)){var i=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(i)if(t.isFunction(i)){if(!i.call(e))return!0}else if(x.width()<i)return!0;r.type&&(r.preventDefault(),e.isOpen&&r.stopPropagation()),o.el=t(r.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.open(o)}},updateStatus:function(t,n){if(e.preloader){r!==t&&e.container.removeClass("mfp-s-"+r),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};I("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",(function(t){t.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+t),r=t}},_checkIfClose:function(r){if(!t(r).hasClass(y)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(r).hasClass("mfp-close")||e.preloader&&r===e.preloader[0])return!0;if(r===e.content[0]||t.contains(e.content[0],r)){if(n)return!0}else if(o&&t.contains(document,r))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||x.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(r){if(r.target!==e.wrap[0]&&!t.contains(e.wrap[0],r.target))return e._setFocus(),!1},_parseMarkup:function(e,r,n){var o;n.data&&(r=t.extend(n.data,r)),I(p,[e,r,n]),t.each(r,(function(r,n){if(void 0===n||!1===n)return!0;if((o=r.split("_")).length>1){var i=e.find(g+"-"+o[0]);if(i.length>0){var s=o[1];"replaceWith"===s?i[0]!==n[0]&&i.replaceWith(n):"img"===s?i.is("img")?i.attr("src",n):i.replaceWith(t("<img>").attr("src",n).attr("class",i.attr("class"))):i.attr(o[1],n)}}else e.find(g+"-"+r).html(n)}))},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:b.prototype,modules:[],open:function(e,r){return O(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=r||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,r){r.options&&(t.magnificPopup.defaults[e]=r.options),t.extend(this.proto,r.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(r){O();var n=t(this);if("string"==typeof r)if("open"===r){var o,i=w?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;i.items?o=i.items[s]:(o=n,i.delegate&&(o=o.find(i.delegate)),o=o.eq(s)),e._openClick({mfpEl:o},n,i)}else e.isOpen&&e[r].apply(e,Array.prototype.slice.call(arguments,1));else r=t.extend(!0,{},r),w?n.data("magnificPopup",r):n[0].magnificPopup=r,e.addGroup(n,r);return n};var T,C,k,P="inline",j=function(){k&&(C.after(k.addClass(T)).detach(),k=null)};t.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(P),S(a+"."+P,(function(){j()}))},getInline:function(r,n){if(j(),r.src){var o=e.st.inline,i=t(r.src);if(i.length){var s=i[0].parentNode;s&&s.tagName&&(C||(T=o.hiddenClass,C=M(T),T="mfp-"+T),k=i.after(C).detach().removeClass(T)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),i=t("<div>");return r.inlineElement=i,i}return e.updateStatus("ready"),e._parseMarkup(n,{},r),n}}});var z,L="ajax",A=function(){z&&t(document.body).removeClass(z)},R=function(){A(),e.req&&e.req.abort()};t.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(L),z=e.st.ajax.cursor,S(a+"."+L,R),S("BeforeChange."+L,R)},getAjax:function(r){z&&t(document.body).addClass(z),e.updateStatus("loading");var n=t.extend({url:r.src,success:function(n,o,i){var s={data:n,xhr:i};I("ParseAjax",s),e.appendContent(t(s.data),L),r.finished=!0,A(),e._setFocus(),setTimeout((function(){e.wrap.addClass(v)}),16),e.updateStatus("ready"),I("AjaxContentAdded")},error:function(){A(),r.finished=r.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",r.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var N,H=function(r){if(r.data&&void 0!==r.data.title)return r.data.title;var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,r);if(r.el)return r.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var r=e.st.image,n=".image";e.types.push("image"),S(h+n,(function(){"image"===e.currItem.type&&r.cursor&&t(document.body).addClass(r.cursor)})),S(a+n,(function(){r.cursor&&t(document.body).removeClass(r.cursor),x.off("resize"+g)})),S("Resize"+n,e.resizeImage),e.isLowIE&&S("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var r=0;e.isLowIE&&(r=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-r)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,N&&clearInterval(N),t.isCheckingImgSize=!1,I("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var r=0,n=t.img[0],o=function(i){N&&clearInterval(N),N=setInterval((function(){n.naturalWidth>0?e._onImageHasSize(t):(r>200&&clearInterval(N),3==++r?o(10):40===r?o(50):100===r&&o(500))}),i)};o(1)},getImage:function(r,n){var o=0,i=function(){r&&(r.img[0].complete?(r.img.off(".mfploader"),r===e.currItem&&(e._onImageHasSize(r),e.updateStatus("ready")),r.hasSize=!0,r.loaded=!0,I("ImageLoadComplete")):++o<200?setTimeout(i,100):s())},s=function(){r&&(r.img.off(".mfploader"),r===e.currItem&&(e._onImageHasSize(r),e.updateStatus("error",a.tError.replace("%url%",r.src))),r.hasSize=!0,r.loaded=!0,r.loadError=!0)},a=e.st.image,c=n.find(".mfp-img");if(c.length){var l=document.createElement("img");l.className="mfp-img",r.el&&r.el.find("img").length&&(l.alt=r.el.find("img").attr("alt")),r.img=t(l).on("load.mfploader",i).on("error.mfploader",s),l.src=r.src,c.is("img")&&(r.img=r.img.clone()),(l=r.img[0]).naturalWidth>0?r.hasSize=!0:l.width||(r.hasSize=!1)}return e._parseMarkup(n,{title:H(r),img_replaceWith:r.img},r),e.resizeImage(),r.hasSize?(N&&clearInterval(N),r.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",r.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),r.loading=!0,r.hasSize||(r.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(r)),n)}}});var F,B=function(){return void 0===F&&(F=void 0!==document.createElement("p").style.MozTransform),F};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,r=e.st.zoom,n=".zoom";if(r.enabled&&e.supportsTransition){var o,i,s=r.duration,l=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return o["-webkit-"+i]=o["-moz-"+i]=o["-o-"+i]=o[i]=n,e.css(o),e},u=function(){e.content.css("visibility","visible")};S("BuildControls"+n,(function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void u();(i=l(t)).css(e._getOffset()),e.wrap.append(i),o=setTimeout((function(){i.css(e._getOffset(!0)),o=setTimeout((function(){u(),setTimeout((function(){i.remove(),t=i=null,I("ZoomAnimationEnded")}),16)}),s)}),16)}})),S(c+n,(function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=s,!t){if(!(t=e._getItemToZoom()))return;i=l(t)}i.css(e._getOffset(!0)),e.wrap.append(i),e.content.css("visibility","hidden"),setTimeout((function(){i.css(e._getOffset())}),16)}})),S(a+n,(function(){e._allowZoom()&&(u(),i&&i.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(r){var n,o=(n=r?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),i=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-i;var a={width:n.width(),height:(w?n.innerHeight():n[0].offsetHeight)-s-i};return B()?a["-moz-transform"]=a.transform="translate("+o.left+"px,"+o.top+"px)":(a.left=o.left,a.top=o.top),a}}});var Y="iframe",D="//about:blank",X=function(t){if(e.currTemplate[Y]){var r=e.currTemplate[Y].find("iframe");r.length&&(t||(r[0].src=D),e.isIE8&&r.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(Y,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(Y),S("BeforeChange",(function(t,e,r){e!==r&&(e===Y?X():r===Y&&X(!0))})),S(a+"."+Y,(function(){X()}))},getIframe:function(r,n){var o=r.src,i=e.st.iframe;t.each(i.patterns,(function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1}));var s={};return i.srcAction&&(s[i.srcAction]=o),e._parseMarkup(n,s,r),e.updateStatus("ready"),n}}});var U=function(t){var r=e.items.length;return t>r-1?t-r:t<0?r+t:t},W=function(t,e,r){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,r)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=e.st.gallery,o=".mfp-gallery";if(e.direction=!0,!r||!r.enabled)return!1;i+=" mfp-gallery",S(h+o,(function(){r.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",(function(){if(e.items.length>1)return e.next(),!1})),n.on("keydown"+o,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),S("UpdateStatus"+o,(function(t,r){r.text&&(r.text=W(r.text,e.currItem.index,e.items.length))})),S(p+o,(function(t,n,o,i){var s=e.items.length;o.counter=s>1?W(r.tCounter,i.index,s):""})),S("BuildControls"+o,(function(){if(e.items.length>1&&r.arrows&&!e.arrowLeft){var n=r.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(y),i=e.arrowRight=t(n.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(y);o.click((function(){e.prev()})),i.click((function(){e.next()})),e.container.append(o.add(i))}})),S(f+o,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),S(a+o,(function(){n.off(o),e.wrap.off("click"+o),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=U(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=U(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,r=e.st.gallery.preload,n=Math.min(r[0],e.items.length),o=Math.min(r[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(r){if(r=U(r),!e.items[r].preloaded){var n=e.items[r];n.parsed||(n=e.parseEl(r)),I("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,I("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var V="retina";t.magnificPopup.registerModule(V,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,(function(t){return"@2x"+t}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,r=t.ratio;(r=isNaN(r)?r():r)>1&&(S("ImageHasSize."+V,(function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/r,width:"100%"})})),S("ElementParse."+V,(function(e,n){n.src=t.replaceSrc(n,r)})))}}}}),O()},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},4595:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Animation",{enumerable:!0,get:function(){return i}}),r(1013),r(5163),r(5849),r(3238),r(9458);var o,i=(o={root:null,rootMargin:"0px",threshold:[0],onFinish:function(){},onStart:function(){}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this;this.nodes="string"==typeof t?document.querySelectorAll(t):[t],this.settings=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),o.forEach((function(e){n(t,e,r[e])}))}return t}({},o,e);var i={root:this.settings.root,rootMargin:this.settings.rootMargin,threshold:this.settings.threshold},s=new IntersectionObserver((function(t){t.map((function(t){if(t.intersectionRatio>0){var e=t.target;r.settings.onStart();var n=Number(e.getAttribute("data-brz-iteration-count"))||1,o=Number(e.getAttribute("data-brz-iteration-completed"))||1;o>=n&&s.unobserve(e),e.classList.add("brz-animate"),e.classList.add("brz-animate-opacity"),e.setAttribute("data-brz-iteration-completed",o+1)}}))}),i),a=this.settings.onFinish;this.nodes.forEach((function(t){t.classList.add("brz-initialized"),s.observe(t),t.addEventListener("animationend",(function(t){t.target.classList.remove("brz-animate"),a()}))}))})},9458:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(5163),r(6056),r(1013),r(5613),r(3238),r(8010),r(2410),r(9217),r(2482),r(2077),r(5849),r(8217),function(t,e){var r=function(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||c(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,r=e.width*e.height,n=this.intersectionRect,o=n.width*n.height;this.intersectionRatio=r?Number((o/r).toFixed(4)):this.isIntersecting?1:0},n=function(t,e){var r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=o(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")},o=function(t,e){var r=null;return function(){r||(r=setTimeout((function(){t(),r=null}),e))}},i=function(t,e,r,n){"function"==typeof t.addEventListener?t.addEventListener(e,r,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,r)},s=function(t,e,r,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,r,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,r)},a=function(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):c()},c=function(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}},l=function(t,e){for(var r=e;r;){if(r==t)return!0;r=u(r)}return!1},u=function(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e};if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var p=[];n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,r){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==r[e-1]}))},n.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(t,"resize",this._checkForIntersections,!0),i(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():c();this._observationTargets.forEach((function(o){var i=o.element,s=a(i),c=this._rootContainsTarget(i),l=o.entry,u=e&&c&&this._computeTargetAndRootIntersection(i,n),p=o.entry=new r({time:t.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:n,intersectionRect:u});l?e&&c?this._hasCrossedThreshold(l,p)&&this._queuedEntries.push(p):l&&l.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(r,n){if("none"!=t.getComputedStyle(r).display){for(var o,i,s,c,l,p,h,f,d=a(r),g=u(r),v=!1;!v;){var m=null,y=1==g.nodeType?t.getComputedStyle(g):{};if("none"==y.display)return;if(g==this.root||g==e?(v=!0,m=n):g!=e.body&&g!=e.documentElement&&"visible"!=y.overflow&&(m=a(g)),m&&(o=m,i=d,s=void 0,c=void 0,l=void 0,p=void 0,h=void 0,f=void 0,s=Math.max(o.top,i.top),c=Math.min(o.bottom,i.bottom),l=Math.max(o.left,i.left),p=Math.min(o.right,i.right),f=c-s,!(d=(h=p-l)>=0&&f>=0&&{top:s,bottom:c,left:l,right:p,width:h,height:f})))break;g=u(g)}return d}},n.prototype._getRootRect=function(){var t;if(this.root)t=a(this.root);else{var r=e.documentElement,n=e.body;t={top:0,left:0,right:r.clientWidth||n.clientWidth,width:r.clientWidth||n.clientWidth,bottom:r.clientHeight||n.clientHeight,height:r.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,r){return"px"==e.unit?e.value:e.value*(r%2?t.width:t.height)/100})),r={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},n.prototype._hasCrossedThreshold=function(t,e){var r=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(r!==n)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==r||i==n||i<r!=i<n)return!0}},n.prototype._rootIsInDom=function(){return!this.root||l(e,this.root)},n.prototype._rootContainsTarget=function(t){return l(this.root||e,t)},n.prototype._registerInstance=function(){p.indexOf(this)<0&&p.push(this)},n.prototype._unregisterInstance=function(){var t=p.indexOf(this);-1!=t&&p.splice(t,1)},t.IntersectionObserver=n,t.IntersectionObserverEntry=r}}(window,document)},8670:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(5849),r(3238);var n=o(r(9567));function o(t){return t&&t.__esModule?t:{default:t}}if(window.jQuery){["scrollPane","backgroundVideo","parallax","brzSticky"].forEach((function(t){window.jQuery.fn[t]||(window.jQuery.fn[t]=n.default.fn[t])}))}else window.jQuery=n.default},529:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Motions",{enumerable:!0,get:function(){return s.Motions}}),r(5849),r(3238);var n=a(r(9567));r(8670),r(3874);var o,i,s=r(8337);function a(t){return t&&t.__esModule?t:{default:t}}if(o=r(4595),i=e,Object.keys(o).forEach((function(t){"default"===t||Object.prototype.hasOwnProperty.call(i,t)||Object.defineProperty(i,t,{enumerable:!0,get:function(){return o[t]}})})),window.jQuery){["magnificPopup"].forEach((function(t){window.jQuery.fn[t]||(window.jQuery.fn[t]=n.default.fn[t])}))}else window.jQuery=n.default},9567:t=>{"use strict";t.exports=window.jQuery}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n=r(529);window.BrizyLibs=n})();