websiteComponents.loader.define("website.components.button.visitor",[],(()=>(()=>{"use strict";var t,e,r={35949:(t,e,r)=>{r.d(e,{T5:()=>l,Xw:()=>s,ws:()=>c});let n=!1,i=!1,o=!1,a=!1;"undefined"!=typeof window&&"CSS"in window&&"function"==typeof CSS.supports&&(n="Animation"in window,"ViewTimeline"in window&&CSS.supports("animation-range","entry 0% exit 100%"),o="registerProperty"in CSS,a=CSS.supports("animation-timing-function","linear(0, 0.25 75%, 1)"));const s=o,c=a,l=n&&o},19371:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(8154);function i(t,e,r){return(e=(0,n.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},92639:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(29476);function i(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=(0,n.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},8154:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(29476),i=r(92639);function o(t){var e=(0,i.A)(t,"string");return"symbol"==(0,n.A)(e)?e:e+""}},29476:(t,e,r)=>{function n(t){return n="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},n(t)}r.d(e,{A:()=>n})}},n={};function i(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}};return r[t].call(o.exports,o,o.exports,i),o.exports}i.m=r,i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.f={},i.e=t=>Promise.all(Object.keys(i.f).reduce(((e,r)=>(i.f[r](t,e),e)),[])),i.u=t=>(8563===t?"trigger-animation-runtime":t)+".js",i.miniCssF=t=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="website-component-definitions:",i.l=(r,n,o,a)=>{if(t[r])t[r].push(n);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u{s.onerror=s.onload=null,clearTimeout(h);var i=t[r];if(delete t[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((t=>t(n))),e)return e(n)},h=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;i.g.importScripts&&(t=i.g.location+"");var e=i.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t})(),(()=>{var t={5394:0};i.f.j=(e,r)=>{var n=i.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>n=t[e]=[r,i]));r.push(n[2]=o);var a=i.p+i.u(e),s=new Error;i.l(a,(r=>{if(i.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+e,e)}};var e=(e,r)=>{var n,o,[a,s,c]=r,l=0;if(a.some((e=>0!==t[e]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);c&&c(i)}for(e&&e(r);l{i.r(o),i.d(o,{Visitor:()=>l,default:()=>u});var t=i(19371),e=i(35949);class r{constructor(e){(0,t.A)(this,"runtime",null),e&&this.boot()}async boot(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const t=document.querySelectorAll("[data-has-block-animations]");t.length&&(await this.load(),t.forEach((t=>{var e;const r=t.querySelector("script[data-block-animations]");if(!r)return;const n=JSON.parse(String(r.textContent));null===(e=this.runtime)||void 0===e||e.createAnimationTriggers(n)})))}async load(){if(this.runtime)return;const{AnimationRuntime:t}=await Promise.all([i.e(8830),i.e(3196),i.e(8563)]).then(i.bind(i,24136));this.runtime=new t}async createAnimationTriggers(t){this.runtime||await this.load(),this.runtime.createAnimationTriggers(t)}async destroyAnimationTriggers(t){this.runtime||await this.load(),this.runtime.destroyAnimationTriggers(t)}}const n=function(){return function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e.T5)return window.__sqsAnimationRuntime||(window.__sqsAnimationRuntime=new r(t)),window.__sqsAnimationRuntime}(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},a=new class{async createAnimationTriggers(t){var e;null===(e=n())||void 0===e||e.createAnimationTriggers(t)}destroyAnimationTriggers(t){var e;null===(e=n())||void 0===e||e.destroyAnimationTriggers(t)}},s=window.matchMedia("(prefers-reduced-motion: reduce)");class c{constructor(r){var n;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,t.A)(this,"componentId",""),(0,t.A)(this,"handlePrefersReducedMotionChange",(t=>{t.matches?this.destroyAnimations():(this.parseBlockData(),this.createAnimations())})),this.root=r,this.root=r,e.T5?(this.componentId=(null===(n=this.root.closest("[data-block-id]"))||void 0===n?void 0:n.dataset.blockId)??"",i||s.addEventListener("change",this.handlePrefersReducedMotionChange)):this.removePrerender()}removePrerender(){var t;null===(t=this.root.querySelector("style[data-block-animations-prerender]"))||void 0===t||t.remove()}parseBlockData(){const t=this.root.querySelector("script[data-block-animations]");if(!t)return void(this.blockData={animations:[],transforms:{},componentId:this.componentId});const e=JSON.parse(String(t.textContent));this.blockData=e}createAnimations(){e.T5&&this.blockData&&a.createAnimationTriggers(this.blockData)}destroyAnimations(){s.removeEventListener("change",this.handlePrefersReducedMotionChange),this.blockData&&a.destroyAnimationTriggers(this.blockData)}updateBlockData(t){t&&(this.blockData||this.parseBlockData(),this.blockData={...this.blockData||{},...t})}getBlockData(){return this.blockData||this.parseBlockData(),this.blockData}}class l{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.root=t,this.root=t,this.animationVisitor=new c(t,e)}}const u=t=>new l(t)})(),o})()));