1var Ii=Object.defineProperty;var Ai=(t,e)=>{for(var i in e)Ii(t,i,{get:e[i],enumerable:!0})};var Pe=null,At,Ft,Dt,Pt=65,rt,he,It=new Set,Nt=1111;Fi();function Fi(){if(!document.createElement("link").relList.supports("prefetch"))return;let e="instantVaryAccept"in document.body.dataset||"Shopify"in window,i=navigator.userAgent.indexOf("Chrome/");if(i>-1&&(Pe=parseInt(navigator.userAgent.substring(i+7))),e&&Pe&&Pe<110)return;let r="instantMousedownShortcut"in document.body.dataset;At="instantAllowQueryString"in document.body.dataset,Ft="instantAllowExternalLinks"in document.body.dataset,Dt="instantWhitelist"in document.body.dataset;let n={capture:!0,passive:!0},s=!1,o=!1,l=!1;if("instantIntensity"in document.body.dataset){let f=document.body.dataset.instantIntensity;if(f.startsWith("mousedown"))s=!0,f=="mousedown-only"&&(o=!0);else if(f.startsWith("viewport")){let u=navigator.connection&&navigator.connection.saveData,m=navigator.connection&&navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g");!u&&!m&&(f=="viewport"?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(l=!0):f=="viewport-all"&&(l=!0))}else{let u=parseInt(f);isNaN(u)||(Pt=u)}}if(o||document.addEventListener("touchstart",Di,n),s?r||document.addEventListener("mousedown",Ni,n):document.addEventListener("mouseover",Pi,n),r&&document.addEventListener("mousedown",Ci,n),l){let f=window.requestIdleCallback;f||(f=u=>{u()}),f(function(){let m=new IntersectionObserver(p=>{p.forEach(d=>{if(d.isIntersecting){let x=d.target;m.unobserve(x),Le(x.href)}})});document.querySelectorAll("a").forEach(p=>{Ne(p)&&m.observe(p)})},{timeout:1500})}}function Di(t){rt=performance.now();let e=t.target.closest("a");Ne(e)&&Le(e.href,"high")}function Pi(t){if(performance.now()-rt<Nt||!("closest"in t.target))return;let e=t.target.closest("a");Ne(e)&&(e.addEventListener("mouseout",Li,{passive:!0}),he=setTimeout(()=>{Le(e.href,"high"),he=void 0},Pt))}function Ni(t){let e=t.target.closest("a");Ne(e)&&Le(e.href,"high")}function Li(t){t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a")||he&&(clearTimeout(he),he=void 0)}function Ci(t){if(performance.now()-rt<Nt)return;let e=t.target.closest("a");if(t.which>1||t.metaKey||t.ctrlKey||!e)return;e.addEventListener("click",function(r){r.detail!=1337&&r.preventDefault()},{capture:!0,passive:!1,once:!0});let i=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});e.dispatchEvent(i)}function Ne(t){if(!(!t||!t.href)&&!(Dt&&!("instant"in t.dataset))&&!(t.origin!=location.origin&&(!(Ft||"instant"in t.dataset)||!Pe))&&["http:","https:"].includes(t.protocol)&&!(t.protocol=="http:"&&location.protocol=="https:")&&!(!At&&t.search&&!("instant"in t.dataset))&&!(t.hash&&t.pathname+t.search==location.pathname+location.search)&&!("noInstant"in t.dataset))return!0}function Le(t,e="auto"){if(It.has(t))return;let i=document.createElement("link");i.rel="prefetch",i.href=t,i.fetchPriority=e,i.as="document",document.head.appendChild(i),It.add(t)}var Ut={};Ai(Ut,{createFocusTrap:()=>cr});
vendor: 9,405 bytes, lines 1-2
1var Ct=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ce=Ct.join(","),Rt=typeof Element>"u",re=Rt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Re=!Rt&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},ke=function t(e,i){var r;i===void 0&&(i=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),s=n===""||n==="true",o=s||i&&e&&t(e.parentNode);return o},Ri=function(e){var i,r=e==null||(i=e.getAttribute)===null||i===void 0?void 0:i.call(e,"contenteditable");return r===""||r==="true"},kt=function(e,i,r){if(ke(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ce));return i&&re.call(e,Ce)&&n.unshift(e),n=n.filter(r),n},Mt=function t(e,i,r){for(var n=[],s=Array.from(e);s.length;){var o=s.shift();if(!ke(o,!1))if(o.tagName==="SLOT"){var l=o.assignedElements(),f=l.length?l:o.children,u=t(f,!0,r);r.flatten?n.push.apply(n,u):n.push({scopeParent:o,candidates:u})}else{var m=re.call(o,Ce);m&&r.filter(o)&&(i||!e.includes(o))&&n.push(o);var p=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),d=!ke(p,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(o));if(p&&d){var x=t(p===!0?o.children:p.children,!0,r);r.flatten?n.push.apply(n,x):n.push({scopeParent:o,candidates:x})}else s.unshift.apply(s,o.children)}}return n},zt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ri(e))&&!zt(e)?0:e.tabIndex},ki=function(e,i){var r=Z(e);return r<0&&i&&!zt(e)?0:r},Mi=function(e,i){return e.tabIndex===i.tabIndex?e.documentOrder-i.documentOrder:e.tabIndex-i.tabIndex},jt=function(e){return e.tagName==="INPUT"},zi=function(e){return jt(e)&&e.type==="hidden"},ji=function(e){var i=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return i},Wi=function(e,i){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===i)return e[r]},Bi=function(e){if(!e.name)return!0;var i=e.form||Re(e),r=function(l){return i.querySelectorAll('input[type="radio"][name="'+l+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=r(window.CSS.escape(e.name));else try{n=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var s=Wi(n,e.form);return!s||s===e},$i=function(e){return jt(e)&&e.type==="radio"},Vi=function(e){return $i(e)&&!Bi(e)},Ki=function(e){var i,r=e&&Re(e),n=(i=r)===null||i===void 0?void 0:i.host,s=!1;if(r&&r!==e){var o,l,f;for(s=!!((o=n)!==null&&o!==void 0&&(l=o.ownerDocument)!==null&&l!==void 0&&l.contains(n)||e!=null&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));!s&&n;){var u,m,p;r=Re(n),n=(u=r)===null||u===void 0?void 0:u.host,s=!!((m=n)!==null&&m!==void 0&&(p=m.ownerDocument)!==null&&p!==void 0&&p.contains(n))}}return s},Lt=function(e){var i=e.getBoundingClientRect(),r=i.width,n=i.height;return r===0&&n===0},Hi=function(e,i){var r=i.displayCheck,n=i.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=re.call(e,"details>summary:first-of-type"),o=s?e.parentElement:e;if(re.call(o,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var l=e;e;){var f=e.parentElement,u=Re(e);if(f&&!f.shadowRoot&&n(f)===!0)return Lt(e);e.assignedSlot?e=e.assignedSlot:!f&&u!==e.ownerDocument?e=u.host:e=f}e=l}if(Ki(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Lt(e);return!1},Ui=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var i=e.parentElement;i;){if(i.tagName==="FIELDSET"&&i.disabled){for(var r=0;r<i.children.length;r++){var n=i.children.item(r);if(n.tagName==="LEGEND")return re.call(i,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}i=i.parentElement}return!1},Me=function(e,i){return!(i.disabled||ke(i)||zi(i)||Hi(i,e)||ji(i)||Ui(i))},nt=function(e,i){return!(Vi(i)||Z(i)<0||!Me(e,i))},Gi=function(e){var i=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(i)||i>=0)},qi=function t(e){var i=[],r=[];return e.forEach(function(n,s){var o=!!n.scopeParent,l=o?n.scopeParent:n,f=ki(l,o),u=o?t(n.candidates):l;f===0?o?i.push.apply(i,u):i.push(l):r.push({documentOrder:s,tabIndex:f,item:n,isScope:o,content:u})}),r.sort(Mi).reduce(function(n,s){return s.isScope?n.push.apply(n,s.content):n.push(s.content),n},[]).concat(i)},Wt=function(e,i){i=i||{};var r;return i.getShadowRoot?r=Mt([e],i.includeContainer,{filter:nt.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:Gi}):r=kt(e,i.includeContainer,nt.bind(null,i)),qi(r)},Bt=function(e,i){i=i||{};var r;return i.getShadowRoot?r=Mt([e],i.includeContainer,{filter:Me.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):r=kt(e,i.includeContainer,Me.bind(null,i)),r},ne=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return re.call(e,Ce)===!1?!1:nt(i,e)},Zi=Ct.concat("iframe").join(","),ze=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return re.call(e,Zi)===!1?!1:Me(i,e)};function ot(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}function Xi(t){if(Array.isArray(t))return ot(t)}function Yi(t,e,i){return(e=ir(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Qi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ji(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Vt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?$t(Object(i),!0).forEach(function(r){Yi(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):$t(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function er(t){return Xi(t)||Qi(t)||rr(t)||Ji()}function tr(t,e){if(typeof t!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ir(t){var e=tr(t,"string");return typeof e=="symbol"?e:e+""}function rr(t,e){if(t){if(typeof t=="string")return ot(t,e);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ot(t,e):void 0}}var Kt={activateTrap:function(e,i){if(e.length>0){var r=e[e.length-1];r!==i&&r.pause()}var n=e.indexOf(i);n===-1||e.splice(n,1),e.push(i)},deactivateTrap:function(e,i){var r=e.indexOf(i);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},nr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},or=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},me=function(e){return e?.key==="Tab"||e?.keyCode===9},sr=function(e){return me(e)&&!e.shiftKey},ar=function(e){return me(e)&&e.shiftKey},Ht=function(e){return setTimeout(e,0)},pe=function(e){for(var i=arguments.length,r=new Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,r):e},je=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},lr=[],cr=function(e,i){var r=i?.document||document,n=i?.trapStack||lr,s=Vt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:sr,isKeyBackward:ar},i),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,f=function(a,c,h){return a&&a[c]!==void 0?a[c]:s[h||c]},u=function(a,c){var h=typeof c?.composedPath=="function"?c.composedPath():void 0;return o.containerGroups.findIndex(function(b){var w=b.container,I=b.tabbableNodes;return w.contains(a)||h?.includes(w)||I.find(function(g){return g===a})})},m=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=c.hasFallback,b=h===void 0?!1:h,w=c.params,I=w===void 0?[]:w,g=s[a];if(typeof g=="function"&&(g=g.apply(void 0,er(I))),g===!0&&(g=void 0),!g){if(g===void 0||g===!1)return g;throw new Error("`".concat(a,"` was specified but was not a node, or did not return a node"))}var F=g;if(typeof g=="string"){try{F=r.querySelector(g)}catch(P){throw new Error("`".concat(a,'` appears to be an invali
2d selector; error="').concat(P.message,'"'))}if(!F&&!b)throw new Error("`".concat(a,"` as selector refers to no known node"))}return F},p=function(){var a=m("initialFocus",{hasFallback:!0});if(a===!1)return!1;if(a===void 0||a&&!ze(a,s.tabbableOptions))if(u(r.activeElement)>=0)a=r.activeElement;else{var c=o.tabbableGroups[0],h=c&&c.firstTabbableNode;a=h||m("fallbackFocus")}else a===null&&(a=m("fallbackFocus"));if(!a)throw new Error("Your focus-trap needs to have at least one focusable element");return a},d=function(){if(o.containerGroups=o.containers.map(function(a){var c=Wt(a,s.tabbableOptions),h=Bt(a,s.tabbableOptions),b=c.length>0?c[0]:void 0,w=c.length>0?c[c.length-1]:void 0,I=h.find(function(P){return ne(P)}),g=h.slice().reverse().find(function(P){return ne(P)}),F=!!c.find(function(P){return Z(P)>0});return{container:a,tabbableNodes:c,focusableNodes:h,posTabIndexesFound:F,firstTabbableNode:b,lastTabbableNode:w,firstDomTabbableNode:I,lastDomTabbableNode:g,nextTabbableNode:function(ie){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,q=c.indexOf(ie);return q<0?fe?h.slice(h.indexOf(ie)+1).find(function(de){return ne(de)}):h.slice(0,h.indexOf(ie)).reverse().find(function(de){return ne(de)}):c[q+(fe?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(a){return a.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(a){return a.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},x=function(a){var c=a.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?x(c.shadowRoot):c},E=function(a){if(a!==!1&&a!==x(document)){if(!a||!a.focus){E(p());return}a.focus({preventScroll:!!s.preventScroll}),o.mostRecentlyFocusedNode=a,nr(a)&&a.select()}},T=function(a){var c=m("setReturnFocus",{params:[a]});return c||(c===!1?!1:a)},A=function(a){var c=a.target,h=a.event,b=a.isBackward,w=b===void 0?!1:b;c=c||je(h),d();var I=null;if(o.tabbableGroups.length>0){var g=u(c,h),F=g>=0?o.containerGroups[g]:void 0;if(g<0)w?I=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:I=o.tabbableGroups[0].firstTabbableNode;else if(w){var P=o.tabbableGroups.findIndex(function(tt){var it=tt.firstTabbableNode;return c===it});if(P<0&&(F.container===c||ze(c,s.tabbableOptions)&&!ne(c,s.tabbableOptions)&&!F.nextTabbableNode(c,!1))&&(P=g),P>=0){var ie=P===0?o.tabbableGroups.length-1:P-1,fe=o.tabbableGroups[ie];I=Z(c)>=0?fe.lastTabbableNode:fe.lastDomTabbableNode}else me(h)||(I=F.nextTabbableNode(c,!1))}else{var q=o.tabbableGroups.findIndex(function(tt){var it=tt.lastTabbableNode;return c===it});if(q<0&&(F.container===c||ze(c,s.tabbableOptions)&&!ne(c,s.tabbableOptions)&&!F.nextTabbableNode(c))&&(q=g),q>=0){var de=q===o.tabbableGroups.length-1?0:q+1,_t=o.tabbableGroups[de];I=Z(c)>=0?_t.firstTabbableNode:_t.firstDomTabbableNode}else me(h)||(I=F.nextTabbableNode(c))}}else I=m("fallbackFocus");return I},_=function(a){var c=je(a);if(!(u(c,a)>=0)){if(pe(s.clickOutsideDeactivates,a)){l.deactivate({returnFocus:s.returnFocusOnDeactivate});return}pe(s.allowOutsideClick,a)||a.preventDefault()}},k=function(a){var c=je(a),h=u(c,a)>=0;if(h||c instanceof Document)h&&(o.mostRecentlyFocusedNode=c);else{a.stopImmediatePropagation();var b,w=!0;if(o.mostRecentlyFocusedNode)if(Z(o.mostRecentlyFocusedNode)>0){var I=u(o.mostRecentlyFocusedNode),g=o.containerGroups[I].tabbableNodes;if(g.length>0){var F=g.findIndex(function(P){return P===o.mostRecentlyFocusedNode});F>=0&&(s.isKeyForward(o.recentNavEvent)?F+1<g.length&&(b=g[F+1],w=!1):F-1>=0&&(b=g[F-1],w=!1))}}else o.containerGroups.some(function(P){return P.tabbableNodes.some(function(ie){return Z(ie)>0})})||(w=!1);else w=!1;w&&(b=A({target:o.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(o.recentNavEvent)})),E(b||o.mostRecentlyFocusedNode||p())}o.recentNavEvent=void 0},M=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=a;var h=A({event:a,isBackward:c});h&&(me(a)&&a.preventDefault(),E(h))},j=function(a){(s.isKeyForward(a)||s.isKeyBackward(a))&&M(a,s.isKeyBackward(a))},D=function(a){or(a)&&pe(s.escapeDeactivates,a)!==!1&&(a.preventDefault(),l.deactivate())}
vendor: 7,339 bytes, line 2
2,z=function(a){var c=je(a);u(c,a)>=0||pe(s.clickOutsideDeactivates,a)||pe(s.allowOutsideClick,a)||(a.preventDefault(),a.stopImmediatePropagation())},W=function(){if(o.active)return Kt.activateTrap(n,l),o.delayInitialFocusTimer=s.delayInitialFocus?Ht(function(){E(p())}):E(p()),r.addEventListener("focusin",k,!0),r.addEventListener("mousedown",_,{capture:!0,passive:!1}),r.addEventListener("touchstart",_,{capture:!0,passive:!1}),r.addEventListener("click",z,{capture:!0,passive:!1}),r.addEventListener("keydown",j,{capture:!0,passive:!1}),r.addEventListener("keydown",D),l},L=function(){if(o.active)return r.removeEventListener("focusin",k,!0),r.removeEventListener("mousedown",_,!0),r.removeEventListener("touchstart",_,!0),r.removeEventListener("click",z,!0),r.removeEventListener("keydown",j,!0),r.removeEventListener("keydown",D),l},S=function(a){var c=a.some(function(h){var b=Array.from(h.removedNodes);return b.some(function(w){return w===o.mostRecentlyFocusedNode})});c&&E(p())},$=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(S):void 0,y=function(){$&&($.disconnect(),o.active&&!o.paused&&o.containers.map(function(a){$.observe(a,{subtree:!0,childList:!0})}))};return l={get active(){return o.active},get paused(){return o.paused},activate:function(a){if(o.active)return this;var c=f(a,"onActivate"),h=f(a,"onPostActivate"),b=f(a,"checkCanFocusTrap");b||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,c?.();var w=function(){b&&d(),W(),y(),h?.()};return b?(b(o.containers.concat()).then(w,w),this):(w(),this)},deactivate:function(a){if(!o.active)return this;var c=Vt({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},a);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,L(),o.active=!1,o.paused=!1,y(),Kt.deactivateTrap(n,l);var h=f(c,"onDeactivate"),b=f(c,"onPostDeactivate"),w=f(c,"checkCanReturnFocus"),I=f(c,"returnFocus","returnFocusOnDeactivate");h?.();var g=function(){Ht(function(){I&&E(T(o.nodeFocusedBeforeActivation)),b?.()})};return I&&w?(w(T(o.nodeFocusedBeforeActivation)).then(g,g),this):(g(),this)},pause:function(a){if(o.paused||!o.active)return this;var c=f(a,"onPause"),h=f(a,"onPostPause");return o.paused=!0,c?.(),L(),y(),h?.(),this},unpause:function(a){if(!o.paused||!o.active)return this;var c=f(a,"onUnpause"),h=f(a,"onPostUnpause");return o.paused=!1,c?.(),d(),W(),y(),h?.(),this},updateContainerElements:function(a){var c=[].concat(a).filter(Boolean);return o.containers=c.map(function(h){return typeof h=="string"?r.querySelector(h):h}),o.active&&d(),y(),this}},l.updateContainerElements(e),l};function st(t,e){t.indexOf(e)===-1&&t.push(e)}function at(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}var ve=(t,e,i)=>Math.min(Math.max(i,t),e);var O={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"};var R=t=>typeof t=="number";var K=t=>Array.isArray(t)&&!R(t[0]);var Gt=(t,e,i)=>{let r=e-t;return((i-t)%r+r)%r+t};function ge(t,e){return K(t)?t[Gt(0,t.length,e)]:t}var oe=(t,e,i)=>-i*t+i*e+t;var ye=()=>{},C=t=>t;var V=(t,e,i)=>e-t===0?1:(i-t)/(e-t);function ce(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=V(0,e,r);t.push(oe(i,1,n))}}function se(t){let e=[0];return ce(e,t-1),e}function be(t,e=se(t.length),i=C){let r=t.length,n=r-e.length;return n>0&&ce(e,n),s=>{let o=0;for(;o<r-2&&!(s<e[o+1]);o++);let l=ve(0,1,V(e[o],e[o+1],s));return l=ge(i,o)(l),oe(t[o],t[o+1],l)}}var we=t=>Array.isArray(t)&&R(t[0]);var X=t=>typeof t=="object"&&!!t.createAnimation;var N=t=>typeof t=="function";var H=t=>typeof t=="string";var Y={ms:t=>t*1e3,s:t=>t/1e3};function lt(t,e){return e?t*(1e3/e):0}var qt=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t,ur=1e-7,fr=12;function dr(t,e,i,r,n){let s,o,l=0;do o=e+(i-e)/2,s=qt(o,r,n)-t,s>0?i=o:e=o;while(Math.abs(s)>ur&&++l<fr);return o}function ae(t,e,i,r){if(t===e&&i===r)return C;let n=s=>dr(s,0,1,t,i);return s=>s===0||s===1?s:qt(n(s),e,r)}var ct=(t,e="end")=>i=>{i=e==="end"?Math.min(i,.999):Math.max(i,.001);let r=i*t,n=e==="end"?Math.floor(r):Math.ceil(r);return ve(0,1,n/t)};var hr={ease:ae(.25,.1,.25,1),"ease-in":ae(.42,0,1,1),"ease-in-out":ae(.42,0,.58,1),"ease-out":ae(0,0,.58,1)},pr=/\((.*?)\)/;function ue(t){if(N(t))return t;if(we(t))return ae(...t);let e=hr[t];if(e)return e;if(t.startsWith("steps")){let i=pr.exec(t);if(i){let r=i[1].split(",");return ct(parseFloat(r[0]),r[1].trim())}}return C}var U=class{constructor(e,i=[0,1],{easing:r,duration:n=O.duration,delay:s=O.delay,endDelay:o=O.endDelay,repeat:l=O.repeat,offset:f,direction:u="normal",autoplay:m=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=C,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((d,x)=>{this.resolve=d,this.reject=x}),r=r||O.easing,X(r)){let d=r.createAnimation(i);r=d.easing,i=d.keyframes||i,n=d.duration||n}this.repeat=l,this.easing=K(r)?C:ue(r),this.updateDuration(n);let p=be(i,f,K(r)?r.map(ue):C);this.tick=d=>{var x;s=s;let E=0;this.pauseTime!==void 0?E=this.pauseTime:E=(d-this.startTime)*this.rate,this.t=E,E/=1e3,E=Math.max(E-s,0),this.playState==="finished"&&this.pauseTime===void 0&&(E=this.totalDuration);let T=E/this.duration,A=Math.floor(T),_=T%1;!_&&T>=1&&(_=1),_===1&&A--;let k=A%2;(u==="reverse"||u==="alternate"&&k||u==="alternate-reverse"&&!k)&&(_=1-_);let M=E>=this.totalDuration?1:Math.min(_,1),j=p(this.easing(M));e(j),this.pauseTime===void 0&&(this.playState==="finished"||E>=this.totalDuration+o)?(this.playState="finished",(x=this.resolve)===null||x===void 0||x.call(this,j)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},m&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}};var Ee=function(){};var xe=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}};var ut=new WeakMap;function We(t){return ut.has(t)||ut.set(t,{transforms:[],values:new Map}),ut.get(t)}function Zt(t,e){return t.has(e)||t.set(e,new xe),t.get(e)}var mr=["","X","Y","Z"],vr=["translate","scale","rotate","skew"],Se={x:"translateX",y:"translateY",z:"translateZ"},Xt={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},gr={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:Xt,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:C},skew:Xt},Q=new Map,$e=t=>`--motion-${t}`,Be=["x","y","z"];vr.forEach(t=>
vendor: 3,890 bytes, line 2
2{mr.forEach(e=>{Be.push(t+e),Q.set($e(t+e),gr[t])})});var yr=(t,e)=>Be.indexOf(t)-Be.indexOf(e),br=new Set(Be),Ve=t=>br.has(t),Yt=(t,e)=>{Se[e]&&(e=Se[e]);let{transforms:i}=We(t);st(i,e),t.style.transform=wr(i)},wr=t=>t.sort(yr).reduce(Er,"").trim(),Er=(t,e)=>`${t} ${e}(var(${$e(e)}))`;var Oe=t=>t.startsWith("--"),Qt=new Set;function Jt(t){if(!Qt.has(t)){Qt.add(t);try{let{syntax:e,initialValue:i}=Q.has(t)?Q.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:i})}catch{}}}var ft=(t,e)=>document.createElement("div").animate(t,e),ei={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{ft({opacity:[1]})}catch{return!1}return!0},finished:()=>!!ft({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{ft({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},dt={},J={};for(let t in ei)J[t]=()=>(dt[t]===void 0&&(dt[t]=ei[t]()),dt[t]);var xr=.015,Sr=(t,e)=>{let i="",r=Math.round(e/xr);for(let n=0;n<r;n++)i+=t(V(0,r-1,n))+", ";return i.substring(0,i.length-2)},ht=(t,e)=>N(t)?J.linearEasing()?`linear(${Sr(t,e)})`:O.easing:we(t)?Or(t):t,Or=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`;function ti(t,e){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i?t[i-1]:e());return t}var Ke=t=>Array.isArray(t)?t:[t];function Te(t){return Se[t]&&(t=Se[t]),Ve(t)?$e(t):t}var _e={get:(t,e)=>{e=Te(e);let i=Oe(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!i&&i!==0){let r=Q.get(e);r&&(i=r.initialValue)}return i},set:(t,e,i)=>{e=Te(e),Oe(e)?t.style.setProperty(e,i):t.style[e]=i}};function He(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}function ii(t,e){var i;let r=e?.toDefaultUnit||C,n=t[t.length-1];if(H(n)){let s=((i=n.match(/(-?[\d.]+)([a-z%]*)/))===null||i===void 0?void 0:i[2])||"";s&&(r=o=>o+s)}return r}function Tr(){return window.__MOTION_DEV_TOOLS_RECORD}function Ue(t,e,i,r={},n){let s=Tr(),o=r.record!==!1&&s,l,{duration:f=O.duration,delay:u=O.delay,endDelay:m=O.endDelay,repeat:p=O.repeat,easing:d=O.easing,persist:x=!1,direction:E,offset:T,allowWebkitAcceleration:A=!1,autoplay:_=!0}=r,k=We(t),M=Ve(e),j=J.waapi();M&&Yt(t,e);let D=Te(e),z=Zt(k.values,D),W=Q.get(D);return He(z.animation,!(X(d)&&z.generator)&&r.record!==!1),()=>{let L=()=>{var y,v;return(v=(y=_e.get(t,D))!==null&&y!==void 0?y:W?.initialValue)!==null&&v!==void 0?v:0},S=ti(Ke(i),L),$=ii(S,W);if(X(d)){let y=d.createAnimation(S,e!=="opacity",L,D,z);d=y.easing,S=y.keyframes||S,f=y.duration||f}if(Oe(D)&&(J.cssRegisterProperty()?Jt(D):j=!1),M&&!J.linearEasing()&&(N(d)||K(d)&&d.some(N))&&(j=!1),j){W&&(S=S.map(a=>R(a)?W.toDefaultUnit(a):a)),S.length===1&&(!J.partialKeyframes()||o)&&S.unshift(L());let y={delay:Y.ms(u),duration:Y.ms(f),endDelay:Y.ms(m),easing:K(d)?void 0:ht(d,f),direction:E,iterations:p+1,fill:"both"};l=t.animate({[D]:S,offset:T,easing:K(d)?d.map(a=>ht(a,f)):void 0},y),l.finished||(l.finished=new Promise((a,c)=>{l.onfinish=a,l.oncancel=c}));let v=S[S.length-1];l.finished.then(()=>{x||(_e.set(t,D,v),l.cancel())}).catch(ye),A||(l.playbackRate=1.000001)}else if(n&&M)S=S.map(y=>typeof y=="string"?parseFloat(y):y),S.length===1&&S.unshift(parseFloat(L())),l=new n(y=>{_e.set(t,D,$?$(y):y)},S,Object.assign(Object.assign({},r),{duration:f,easing:d}));else{let y=S[S.length-1];_e.set(t,D,W&&R(y)?W.toDefaultUnit(y):y)}return o&&s(t,e,S,{duration:f,delay:u,easing:d,repeat:p,offset:T},"motion-one"),z.setAnimation(l),l&&!_&&l.pause(),l}}var Ge=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t);function ee(t,e){var i;return typeof t=="string"?e?((i=e[t])!==null&&i!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}var _r=t=>t(),le=(t,e,i=O.duration)=>
2new Proxy({animations:t.map(_r).filter(Boolean),duration:i,options:e},Ar),Ir=t=>t.animations[0],Ar={get:(t,e)=>{let i=Ir(t);switch(e){case"duration":return t.duration;case"currentTime":return Y.s(i?.[e]||0);case"playbackRate":case"playState":return i?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(Fr)).catch(ye)),t.finished;case"stop":return()=>{t.animations.forEach(r=>He(r))};case"forEachNative":return r=>{t.animations.forEach(n=>r(n,t))};default:return typeof i?.[e]>"u"?void 0:()=>t.animations.forEach(r=>r[e]())}},set:(t,e,i)=>{switch(e){case"currentTime":i=Y.ms(i);case"playbackRate":for(let r=0;r<t.animations.length;r++)t.animations[r][e]=i;return!0}return!1}},Fr=t=>t.finished;function ri(t=.1,{start:e=0,from:i=0,easing:r}={}){return(n,s)=>{let o=R(i)?i:Dr(i,s),l=Math.abs(o-n),f=t*l;if(r){let u=s*t;f=ue(r)(f/u)*u}return e+f}}function Dr(t,e){if(t==="first")return 0;{let i=e-1;return t==="last"?i:i/2}}function qe(t,e,i){return N(t)?t(e,i):t}function ni(t){return function(i,r,n={}){i=ee(i);let s=i.length;Ee(!!s,"No valid element provided."),Ee(!!r,"No keyframes defined.");let o=[];for(let l=0;l<s;l++){let f=i[l];for(let u in r){let m=Ge(n,u);m.delay=qe(m.delay,l,s);let p=Ue(f,u,r[u],m,t);o.push(p)}}return le(o,n,n.duration)}}var pt=ni(U);function Ze(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i}function mt(t,e,i,r){var n;return R(e)?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?i:(n=r.get(e))!==null&&n!==void 0?n:t}function Pr(t,e,i){for(let r=0;r<t.length;r++){let n=t[r];n.at>e&&n.at<i&&(at(t,n),r--)}}function oi(t,e,i,r,n,s){Pr(t,n,s);for(let o=0;o<e.length;o++)t.push({value:e[o],at:oe(n,s,r[o]),easing:ge(i,o)})}function si(t,e){return t.at===e.at?t.value===null?1:-1:t.at-e.at}function ai(t,e={}){var i;let r=Nr(t,e),n=r.map(s=>Ue(...s,U)).filter(Boolean);return le(n,e,(i=r[0])===null||i===void 0?void 0:i[3].duration)}function Nr(t,e={}){var{defaultOptions:i={}}=e,r=Ze(e,["defaultOptions"]);let n=[],s=new Map,o={},l=new Map,f=0,u=0,m=0;for(let p=0;p<t.length;p++){let d=t[p];if(H(d)){l.set(d,u);continue}else if(!Array.isArray(d)){l.set(d.name,mt(u,d.at,f,l));continue}let[x,E,T={}]=d;T.at!==void 0&&(u=mt(u,T.at,f,l));let A=0,_=ee(x,o),k=_.length;for(let M=0;M<k;M++){let j=_[M],D=Lr(j,s);for(let z in E){let W=Cr(z,D),L=Ke(E[z]),S=Ge(T,z),{duration:$=i.duration||O.duration,easing:y=i.easing||O.easing}=S;if(X(y)){Ee(z==="opacity"||L.length>1,"spring must be provided 2 keyframes within timeline()");let w=y.createAnimation(L,z!=="opacity",()=>0,z);y=w.easing,L=w.keyframes||L,$=w.duration||$}let v=qe(T.delay,M,k)||0,a=u+v,c=a+$,{offset:h=se(L.length)}=S;h.length===1&&h[0]===0&&(h[1]=1);let b=h.length-L.length;b>0&&ce(h,b),L.length===1&&L.unshift(null),oi(W,L,y,h,a,c),A=Math.max(v+$,A),m=Math.max(c,m)}}f=u,u+=A}return s.forEach((p,d)=>{for(let x in p){let E=p[x];E.sort(si);let T=[],A=[],_=[];for(let k=0;k<E.length;k++){let{at:M,value:j,easing:D}=E[k];T.push(j),A.push(V(0,m,M)),_.push(D||O.easing)}A[0]!==0&&(A.unshift(0),T.unshift(T[0]),_.unshift("linear")),A[A.length-1]!==1&&(A.push(1),T.push(null)),n.push([d,x,T,Object.assign(Object.assign(Object.assign({},i),{duration:m,easing:_,offset:A}),r)])}}),n}function Lr(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function Cr(t,e){return e[t]||(e[t]=[]),e[t]}var Rr={any:0,all:1};function li(t,e,{root:i,margin:r,amount:n="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let s=ee(t),o=new WeakMap,l=u=>{u.forEach(m=>{let p=o.get(m.target);if(m.isIntersecting!==!!p)if(m.isIntersecting){let d=e(m);N(d)?o.set(m.target,d):f.unobserve(m.target)}else p&&(p(m),o.delete(m.target))})},f=new IntersectionObserver(l,{root:i,rootMargin:r,threshold:typeof n=="number"?n:Rr[n]});return s.forEach(u=>f.observe(u)),()=>f.disconnect()}var Xe=new WeakMap,te;function kr(t,e){if(e){let{inlineSize:i,blockSize:r}=e[0];return{width:i,height:r}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function Mr({target:t,contentRect:e,borderBoxSize:i}){var r;(r=Xe.get(t))===null||r===void 0||r.forEach(n=>
2{n({target:t,contentSize:e,get size(){return kr(t,i)}})})}function zr(t){t.forEach(Mr)}function jr(){typeof ResizeObserver>"u"||(te=new ResizeObserver(zr))}function ci(t,e){te||jr();let i=ee(t);return i.forEach(r=>{let n=Xe.get(r);n||(n=new Set,Xe.set(r,n)),n.add(e),te?.observe(r)}),()=>{i.forEach(r=>{let n=Xe.get(r);n?.delete(e),n?.size||te?.unobserve(r)})}}var Ye=new Set,Ie;function Wr(){Ie=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};Ye.forEach(i=>i(e))},window.addEventListener("resize",Ie)}function ui(t){return Ye.add(t),Ie||Wr(),()=>{Ye.delete(t),!Ye.size&&Ie&&(Ie=void 0)}}function fi(t,e){return N(t)?ui(t):ci(t,e)}var Br=50,di=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),pi=()=>({time:0,x:di(),y:di()}),$r={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function hi(t,e,i,r){let n=i[e],{length:s,position:o}=$r[e],l=n.current,f=i.time;n.current=t[`scroll${o}`],n.scrollLength=t[`scroll${s}`]-t[`client${s}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=V(0,n.scrollLength,n.current);let u=r-f;n.velocity=u>Br?0:lt(n.current-l,u)}
2function mi(t,e,i){hi(t,"x",e,i),hi(t,"y",e,i),e.time=i}function vi(t,e){let i={x:0,y:0},r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)i.x+=r.offsetLeft,i.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){let{top:n,left:s}=r.getBBox();for(i.x+=s,i.y+=n;r&&r.tagName!=="svg";)r=r.parentNode}return i}var Qe={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var Je={start:0,center:.5,end:1};function vt(t,e,i=0){let r=0;if(Je[t]!==void 0&&(t=Je[t]),H(t)){let n=parseFloat(t);t.endsWith("px")?r=n:t.endsWith("%")?t=n/100:t.endsWith("vw")?r=n/100*document.documentElement.clientWidth:t.endsWith("vh")?r=n/100*document.documentElement.clientHeight:t=n}return R(t)&&(r=e*t),i+r}var Vr=[0,0];function gi(t,e,i,r){let n=Array.isArray(t)?t:Vr,s=0,o=0;return R(t)?n=[t,t]:H(t)&&(t=t.trim(),t.includes(" ")?n=t.split(" "):n=[t,Je[t]?t:"0"]),s=vt(n[0],i,r),o=vt(n[1],e),s-o}var Kr={x:0,y:0};function yi(t,e,i){let{offset:r=Qe.All}=i,{target:n=t,axis:s="y"}=i,o=s==="y"?"height":"width",l=n!==t?vi(n,t):Kr,f=n===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let m=!e[s].interpolate,p=r.length;for(let d=0;d<p;d++){let x=gi(r[d],u[o],f[o],l[s]);!m&&x!==e[s].interpolatorOffsets[d]&&(m=!0),e[s].offset[d]=x}m&&(e[s].interpolate=be(se(p),e[s].offset),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=e[s].interpolate(e[s].current)}function Hr(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let r=e;for(;r&&r!=t;)i.x.targetOffset+=r.offsetLeft,i.y.targetOffset+=r.offsetTop,r=r.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}function bi(t,e,i,r={}){let n=r.axis||"y";return{measure:()=>Hr(t,r.target,i),update:s=>{mi(t,i,s),(r.offset||r.target)&&yi(t,i,r)},notify:N(e)?()=>e(i):Ur(e,i[n])}}function Ur(t,e){return t.pause(),t.forEachNative((i,{easing:r})=>{var n,s;if(i.updateDuration)r||(i.easing=C),i.updateDuration(1);else{let o={duration:1e3};r||(o.easing="linear"),(s=(n=i.effect)===null||n===void 0?void 0:n.updateTiming)===null||s===void 0||s.call(n,o)}}),()=>{t.currentTime=e.progress}}var Ae=new WeakMap,wi=new WeakMap,gt=new WeakMap,Ei=t=>t===document.documentElement?window:t;function xi(t,e={}){var{container:i=document.documentElement}=e,r=Ze(e,["container"]);let n=gt.get(i);n||(n=new Set,gt.set(i,n));let s=pi(),o=bi(i,t,s,r);if(n.add(o),!Ae.has(i)){let u=()=>{let p=performance.now();for(let d of n)d.measure();for(let d of n)d.update(p);for(let d of n)d.notify()};Ae.set(i,u);let m=Ei(i);window.addEventListener("resize",u,{passive:!0}),i!==document.documentElement&&wi.set(i,fi(i,u)),m.addEventListener("scroll",u,{passive:!0})}let l=Ae.get(i),f=requestAnimationFrame(l);return()=>{var u;typeof t!="function"&&t.stop(),cancelAnimationFrame(f);let m=gt.get(i);if(!m||(m.delete(o),m.size))return;let p=Ae.get(i);Ae.delete(i),p&&(Ei(i).removeEventListener("scroll",p),(u=wi.get(i))===null||u===void 0||u(),window.removeEventListener("resize",p))}}function Gr(t,e={}){return le([()=>{let i=new U(t,[0,1],e);return i.finished.catch(()=>{}),i}],e,e.duration)}function Si(t,e,i){return(N(t)?Gr:pt)(t,e,i)}function G(t){this.listenerMap=[{},{}],t&&this.root(t),this.handle=G.prototype.handle.bind(this),this._removedListeners=[]}G.prototype.root=function(t){let e=this.listenerMap,i;if(this.rootElement){for(i in e[1])e[1].hasOwnProperty(i)&&this.rootElement.removeEventListener(i,this.handle,!0);for(i in e[0])e[0].hasOwnProperty(i)&&this.rootElement.removeEventListener(i,this.handle,!1)}if(!t||!t.addEventListener)return this.rootElement&&delete this.rootElement,this;this.rootElement=t;for(i in e[1])e[1].hasOwnProperty(i)&&this.rootElement.addEventListener(i,this.handle,!0);for(i in e[0])e[0].hasOwnProperty(i)&&this.rootElement.addEventListener(i,this.handle,!1);return this};G.prototype.captureForType=function(t){return["blur","error","focus","load","resize","scroll"].indexOf(t)!==-1};
2G.prototype.on=function(t,e,i,r){let n,s,o,l;if(!t)throw new TypeError("Invalid event type: "+t);if(typeof e=="function"&&(r=i,i=e,e=null),r===void 0&&(r=this.captureForType(t)),typeof i!="function")throw new TypeError("Handler must be a type of Function");return n=this.rootElement,s=this.listenerMap[r?1:0],s[t]||(n&&n.addEventListener(t,this.handle,r),s[t]=[]),e?/^[a-z]+$/i.test(e)?(l=e,o=qr):/^#[a-z0-9\-_]+$/i.test(e)?(l=e.slice(1),o=Xr):(l=e,o=Element.prototype.matches):(l=null,o=Zr.bind(this)),s[t].push({selector:e,handler:i,matcher:o,matcherParam:l}),this};G.prototype.off=function(t,e,i,r){let n,s,o,l,f;if(typeof e=="function"&&(r=i,i=e,e=null),r===void 0)return this.off(t,e,i,!0),this.off(t,e,i,!1),this;if(o=this.listenerMap[r?1:0],!t){for(f in o)o.hasOwnProperty(f)&&this.off(f,e,i);return this}if(l=o[t],!l||!l.length)return this;for(n=l.length-1;n>=0;n--)s=l[n],(!e||e===s.selector)&&(!i||i===s.handler)&&(this._removedListeners.push(s),l.splice(n,1));return l.length||(delete o[t],this.rootElement&&this.rootElement.removeEventListener(t,this.handle,r)),this};G.prototype.handle=function(t){let e,i,r=t.type,n,s,o,l,f=[],u,m="ftLabsDelegateIgnore";if(t[m]===!0)return;switch(u=t.target,u.nodeType===3&&(u=u.parentNode),u.correspondingUseElement&&(u=u.correspondingUseElement),n=this.rootElement,s=t.eventPhase||(t.target!==t.currentTarget?3:2),s){case 1:f=this.listenerMap[1][r];break;case 2:this.listenerMap[0]&&this.listenerMap[0][r]&&(f=f.concat(this.listenerMap[0][r])),this.listenerMap[1]&&this.listenerMap[1][r]&&(f=f.concat(this.listenerMap[1][r]));break;case 3:f=this.listenerMap[0][r];break}let p=[];for(i=f.length;u&&i;){for(e=0;e<i&&(o=f[e],!!o);e++)u.tagName&&["button","input","select","textarea"].indexOf(u.tagName.toLowerCase())>-1&&u.hasAttribute("disabled")?p=[]:o.matcher.call(u,o.matcherParam,u)&&p.push([t,u,o]);if(u===n||(i=f.length,u=u.parentElement||u.parentNode,u instanceof HTMLDocument))break}let d;for(e=0;e<p.length;e++)if(!(this._removedListeners.indexOf(p[e][2])>-1)&&(l=this.fire.apply(this,p[e]),l===!1)){p[e][0][m]=!0,p[e][0].preventDefault(),d=!1;break}return d};G.prototype.fire=function(t,e,i){return i.handler.call(e,t,e)};function qr(t,e){return t.toLowerCase()===e.tagName.toLowerCase()}function Zr(t,e){return this.rootElement===window?e===document||e===document.documentElement||e===window:this.rootElement===e}function Xr(t,e){return t===e.id}G.prototype.destroy=function(){this.off(),this.root()};var Yr=G;function Fe(t,e,i){let r=document.createElement(e);return t&&(r.className=t),i&&i.appendChild(r),r}function Qr(t,e,i){let r=`translate3d(${t}px,${e||0}px,0)`;return i!==void 0&&(r+=` scale3d(${i},${i},1)`),r}function yt(t,e,i){t.style.width=typeof e=="number"?`${e}px`:e,t.style.height=typeof i=="number"?`${i}px`:i}var B={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function Jr(t){return"button"in t&&t.button===1||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey}function De(t,e,i=document){let r=[];if(t instanceof Element)r=[t];else if(t instanceof NodeList||Array.isArray(t))r=Array.from(t);else{let n=typeof t=="string"?t:e;n&&(r=Array.from(i.querySelectorAll(n)))}return r}function en(t){return typeof t=="function"&&t.prototype&&t.prototype.goTo}function Oi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var bt=class{constructor(e,i){this.type=e,this.defaultPrevented=!1,i&&Object.assign(this,i)}preventDefault(){this.defaultPrevented=!0}},wt=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,i,r=100){var n,s,o;this._filters[e]||(this._filters[e]=[]),(n=this._filters[e])===null||n===void 0||n.push({fn:i,priority:r}),(s=this._filters[e])===null||s===void 0||s.sort((l,f)=>l.priority-f.priority),(o=this.pswp)===null||o===void 0||o.addFilter(e,i,r)}removeFilter(e,i){this._filters[e]&&(this._filters[e]=this._filters[e].filter(r=>r.fn!==i)),this.pswp&&this.pswp.removeFilter(e,i)}applyFilters(e,...i){var r;return(r=this._filters[e])===null||r===void 0||r.forEach(n=>{i[0]=n.fn.apply(this,i)}),i[0]}on(e,i){var r,n;this._listeners[e]||(this._listeners[e]=[]),(r=this._listeners[e])===null||r===void 0||r.push(i),(n=this.pswp)===null||n===void 0||n.on(e,i)}off(e,i){var r;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(n=>i!==n)),(r=this.pswp)===null||r===void 0||r.off(e,i)}dispatch(e,i){var r;if(this.pswp)return this.pswp.dispatch(e,i);let n=new bt(e,i);return(r=this._listeners[e])===null||r===void 0||r.forEach(s=>{s.call(this,n)}),n}},Et=class{constructor(e,i){if(this.element=Fe("pswp__img pswp__img--placeholder",e?"img":"div",i),e){let r=this.element;r.decoding="async",r.alt="",r.src=e,r.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,i){this.element&&(this.element.tagName==="IMG"?(yt(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=Qr(0,0,e/250)):yt(this.element,e,i))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},xt=class{constructor(e,i,r){this.instance=i,this.data=e,this.index=r,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=B.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.t
2ype="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,i){if(this.slide&&this.usePlaceholder())if(this.placeholder){let r=this.placeholder.element;r&&!r.parentElement&&this.slide.container.prepend(r)}else{let r=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new Et(r,this.slide.container)}this.element&&!i||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=Fe("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=Fe("pswp__content","div"),this.element.innerHTML=this.data.html||""),i&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var i,r;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;let n=this.element;this.updateSrcsetSizes(),this.data.srcset&&(n.srcset=this.data.srcset),n.src=(i=this.data.src)!==null&&i!==void 0?i:"",n.alt=(r=this.data.alt)!==null&&r!==void 0?r:"",this.state=B.LOADING,n.complete?this.onLoaded():(n.onload=()=>{this.onLoaded()},n.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=B.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===B.LOADED||this.state===B.ERROR)&&this.removePlaceholder())}onError(){this.state=B.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===B.LOADING,this)}isError(){return this.state===B.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,i){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,i),!this.instance.dispatch("contentResize",{content:this,width:e,height:i}).defaultPrevented&&(yt(this.element,e,i),this.isImageContent()&&!this.isError()))){let r=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=i,r?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:i,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==B.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let e=this.element,i=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||i>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=i+"px",e.dataset.largestUsedSize=String(i))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,i;let r=Fe("pswp__error-msg","div");r.innerText=(e=(i=this.instance.options)===null||i===void 0?void 0:i.errorMsg)!==null&&e!==void 0?e:"",r=this.instance.applyFilters("contentErrorElement",r,this),this.element=Fe("pswp__content pswp__error-msg-container","div"),this.element.appendChild(r),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===B.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||Oi())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!Oi()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===B.LOADED||this.state===B.ERROR)&&this.removePlaceholder()))}};function tn(t,e){if(t.getViewportSizeFn){let i=t.getViewportSizeFn(t,e);if(i)return i}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function et(t,e,i,r,n){let s=0;if(e.paddingFn)s=e.paddingFn(i,r,n)[t];else if(e.padding)s=e.padding[t];else{let o="padding"+t[0].toUpperCase()+t.slice(1);e[o]&&(s=e[o])}return Number(s)||0}function rn(t,e,i,r){return{x:e.x-et("left",t,e,i,r)-et("right",t,e,i,r),y:e.y-et("top",t,e,i,r)-et("bottom",t,e,i,r)}}var Ti=4e3,St=class{constructor(e,i,r,n){this.pswp=n,this.options=e,this.itemData=i,this.index=r,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,i,r){let n={x:e,y:i};this.elementSize=n,this.panAreaSize=r;let s=r.x/n.x,o=r.y/n.y;this.fit=Math.min(1,s<o?s:o),this.fill=Math.min(1,s>o?s:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){let i=e+"ZoomLevel",r=this.options[i];if(r)return typeof r=="function"?r(this):r==="fill"?this.fill:r==="fit"?this.fit:Number(r)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>Ti&&(e=Ti/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function _i(t,e,i){let r=e.createContentFromData(t,i),n,{options:s}=e;if(s){n=new St(s,t,-1);let o;
2e.pswp?o=e.pswp.viewportSize:o=tn(s,e);let l=rn(s,o,t,i);n.update(r.width,r.height,l)}return r.lazyLoad(),n&&r.setDisplayedSize(Math.ceil(r.width*n.initial),Math.ceil(r.height*n.initial)),r}function nn(t,e){let i=e.getItemData(t);if(!e.dispatch("lazyLoadSlide",{index:t,itemData:i}).defaultPrevented)return _i(i,e,t)}var Ot=class extends wt{getNumItems(){var e;let i=0,r=(e=this.options)===null||e===void 0?void 0:e.dataSource;r&&"length"in r?i=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(i=r.items.length));let n=this.dispatch("numItems",{dataSource:r,numItems:i});return this.applyFilters("numItems",n.numItems,r)}createContentFromData(e,i){return new xt(e,this,i)}getItemData(e){var i;let r=(i=this.options)===null||i===void 0?void 0:i.dataSource,n={};Array.isArray(r)?n=r[e]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),n=r.items[e]);let s=n;s instanceof Element&&(s=this._domElementToItemData(s));let o=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",o.itemData,e)}_getGalleryDOMElements(e){var i,r;return(i=this.options)!==null&&i!==void 0&&i.children||(r=this.options)!==null&&r!==void 0&&r.childSelector?De(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){let i={element:e},r=e.tagName==="A"?e:e.querySelector("a");if(r){i.src=r.dataset.pswpSrc||r.href,r.dataset.pswpSrcset&&(i.srcset=r.dataset.pswpSrcset),i.width=r.dataset.pswpWidth?parseInt(r.dataset.pswpWidth,10):0,i.height=r.dataset.pswpHeight?parseInt(r.dataset.pswpHeight,10):0,i.w=i.width,i.h=i.height,r.dataset.pswpType&&(i.type=r.dataset.pswpType);let s=e.querySelector("img");if(s){var n;i.msrc=s.currentSrc||s.src,i.alt=(n=s.getAttribute("alt"))!==null&&n!==void 0?n:""}(r.dataset.pswpCropped||r.dataset.cropped)&&(i.thumbCropped=!0)}return this.applyFilters("domItemData",i,e,r)}lazyLoadData(e,i){return _i(e,this,i)}},Tt=class extends Ot{constructor(e){super(),this.options=e||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){De(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(e){if(Jr(e)||window.pswp)return;let i={x:e.clientX,y:e.clientY};!i.x&&!i.y&&(i=null);let r=this.getClickedIndex(e);r=this.applyFilters("clickedIndex",r,e,this);let n={gallery:e.currentTarget};r>=0&&(e.preventDefault(),this.loadAndOpen(r,n,i))}getClickedIndex(e){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,e);let i=e.target,n=De(this.options.children,this.options.childSelector,e.currentTarget).findIndex(s=>s===i||s.contains(i));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(e,i,r){if(window.pswp||!this.options)return!1;if(!i&&this.options.gallery&&this.options.children){let n=De(this.options.gallery);n[0]&&(i={gallery:n[0]})}return this.options.index=e,this.options.initialPointerPos=r,this.shouldOpen=!0,this.preload(e,i),!0}preload(e,i){let{options:r}=this;i&&(r.dataSource=i);let n=[],s=typeof r.pswpModule;if(en(r.pswpModule))n.push(Promise.resolve(r.pswpModule));else{if(s==="string")throw new Error("pswpModule as string is no longer supported");if(s==="function")n.push(r.pswpModule());else throw new Error("pswpModule is not valid")}typeof r.openPromise=="function"&&n.push(r.openPromise()),r.preloadFirstSlide!==!1&&e>=0&&(this._preloadedContent=nn(e,this));let o=++this._uid;Promise.all(n).then(l=>{if(this.shouldOpen){let f=l[0];this._openPhotoswipe(f,o)}})}_openPhotoswipe(e,i){if(i!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let r=typeof e=="object"?new e.default(this.options):new e(this.options);this.pswp=r,window.pswp=r,Object.keys(this._listeners).forEach(n=>{var s;(s=this._listeners[n])===null||s===void 0||s.forEach(o=>{r.on(n,o)})}),Object.keys(this._filters).forEach(n=>{var s;(s=this._filters[n])===null||s===void 0||s.forEach(o=>{r.addFilter(n,o.fn,o.priority)})}),this._preloadedContent&&(r.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),r.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),r.init()}destroy(){var e;(e=this.pswp)===null||e===void 0||e.destroy(),this.shouldOpen=!1,this._listeners={},De(this.options.gallery,this.options.gallerySelector).forEach(i=>
2{i.removeEventListener("click",this.onThumbnailsClick,!1)})}};(function(){let t=!1;if(document.createElement("i").addEventListener("click",()=>{},{get signal(){t=!0}}),t||!window.AbortController)return;let e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(i,r,n){if(n&&n.signal){if(n.signal.aborted)return;n.signal.addEventListener("abort",()=>this.removeEventListener(i,r,{...n}))}return e.call(this,i,r,n)}})();export{Yr as Delegate,Ut as FocusTrap,Tt as PhotoSwipeLightbox,Qe as ScrollOffset,Si as animate,li as inView,xi as scroll,ri as stagger,ai as timeline}; 3/*! Bundled license information: 4 5instant.page/instantpage.js: 6 (*! instant.page v5.2.0 - (C) 2019-2023 Alexandre Dieulot - https://instant.page/license *) 7 8tabbable/dist/index.esm.js: 9 (*! 10 * tabbable 6.2.0 11 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 12 *) 13 14focus-trap/dist/focus-trap.esm.js: 15 (*! 16 * focus-trap 7.6.2 17 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 18 *) 19 20photoswipe/dist/photoswipe-lightbox.esm.js: 21 (*! 22 * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com 23 * (c) 2024 Dmytro Semenov 24 *) 25*/
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.